Skip to content

Conversation

@will-lol
Copy link

@will-lol will-lol commented Feb 5, 2023

Add theme option

I added an option that uses the theme.getCurrent() API to match the background of the tab before loading to that of the current theme.

Prevent flash of wrong system theme

When the system was in dark mode, the previous behavior would flash a white page before loading the page. Now the body color matches that of the default Firefox light and dark themes depending on the prefers-color-scheme media query. This does not override a custom color that may be set, it only applies to the 'none' setting.

Additional changes

I changed the light and dark colors to match that of the default Firefox light and dark themes.

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

Successfully merging this pull request may close these issues.

1 participant