Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion to further improve dark mode + appreciation post #136

Closed
IngrownMink4 opened this issue Aug 23, 2023 · 5 comments
Closed

Suggestion to further improve dark mode + appreciation post #136

IngrownMink4 opened this issue Aug 23, 2023 · 5 comments

Comments

@IngrownMink4
Copy link
Contributor

IngrownMink4 commented Aug 23, 2023

First of all, I would like to thank you for the great work you have done with Abridge! It is the theme for Zola that I like the most by far. In fact, I'm seriously thinking about using it for my next website :) That said, thank you very much for working on this and for making it open source!

The suggestion

So, Abridge currently respects the user's preference of dark and light appearance when visiting the web page, and even provides a switch to force one appearance or the other (that's cool).

However, the dark mode could be further extended. Web forms and scrollbars in Chromium-based browsers still look light and are very out of place with the dark look (in Firefox the scrollbars automatically adapt to the look of the page, so only web forms are affected). This could be solved by using the CSS color-scheme property. This post explains it in detail.

I attach images of what it looks like now and what it would look like with the CSS property enabled. Thank you <3.

Captura desde 2023-08-23 17-51-13
Captura desde 2023-08-23 17-52-28

@Jieiku
Copy link
Owner

Jieiku commented Aug 23, 2023

Excellent, will do this for sure. Currently working on another batch of commits as well, more updates coming very soon.

@Jieiku
Copy link
Owner

Jieiku commented Aug 23, 2023

This is now completed in a local commit, you will see it sometime today or tomorrow.

I tested it thoroughly, works great! Thanks very much for the suggestion!

@Jieiku
Copy link
Owner

Jieiku commented Aug 23, 2023

On a side note I also made some improvements to the table of contents spacing, it now makes more efficient use of the space and should allow more items before overflowing into adding a scrollbar

@Jieiku
Copy link
Owner

Jieiku commented Aug 23, 2023

completed: c04ff0a

PS: If your using the new PWA feature, don't forget to either increment the version in sw_load.js or clear your cache. (otherwise the PWA cache TTL should expire for the page in a day, then you will see the changes)

My next commit has the version incremented, but it may be a bit before I commit again, trying to wrap up some things.

@Jieiku Jieiku closed this as completed Aug 23, 2023
@IngrownMink4
Copy link
Contributor Author

Wow, that was really fast! Thanks again :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants