Comments (2)
Implemented both suggestions (dark/light scrollbars & unhiding them) on commits above.
Like you, I opted not to modify the logic of the JS theme switcher to have the scrollbars instantly react to the theme changes (https://stackoverflow.com/a/66097469); it feels kind of dirty forcing a reflow and adding JS complexity (and bytes) for this minor benefit.
from tabi.
Hey Jake!
Thanks for your kind comments. You already know Abridge has been a source of inspiration for this theme as well. I'm glad we can both help each other :)
You're right about the horizontal scrolling not being too obvious. It should be possible with Shift + Scroll, though. It's standard OS behaviour in Windows and macOS, but not many know about this.
I hid the scrollbars because I don't like them for codeblocks, but I think this is something that should follow user preference, so I'll add them back (and hide them for myself through the OS settings).
Regarding the button to expand codeblocks, I think it'll be hard without JavaScript, unless you use a shortcode to build the codeblock. That way you can create a switcher for it and change its display through CSS when activated (I use this toggle function for the multilingual quote, image toggler and the spoiler shortcodes).
Thanks for sharing the Chrome styling info! I will definitely look into it!
from tabi.
Related Issues (20)
- Example website images leak into generated output HOT 4
- list_posts should show draft status HOT 1
- Regression in RSS feed styles HOT 1
- How to contribute back from a fork HOT 2
- Nested lists have too much whitespace between items HOT 5
- Isso moderation comments have broken links when `page_id_is_slug = true` HOT 1
- Incorrect handling of external URLs in `footer_menu` HOT 4
- Keep copyright translations in config.toml HOT 9
- Apply XML styling to the sitemap
- Comply with the default_theme value for the first load of the website (when theme_switcher = true) HOT 2
- Hrefs at the start of new lines highlight in incorrect places HOT 2
- Is it possible to center-align text? HOT 2
- Default taxonomies HOT 6
- Compact tags option HOT 5
- TailwindCSS vs Plain CSS HOT 3
- Enable discussion page HOT 1
- Support Webmentions for comments HOT 1
- tag list date not localized HOT 1
- previos and next link in page HOT 2
- How to archived more than one directory in content? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tabi.