Closed uncenter closed 3 days ago
Sometimes the data-theme attribute doesn't exist, like if it is your first time visiting the website. This adjusts the theme application selectors to use prefers-color-scheme if there is no attribute set, as if data-theme="auto".
data-theme
prefers-color-scheme
data-theme="auto"
==UserStyle==
catppuccin.user.css
FYI for userstyles you maintain, you have the responsibility of merging PRs once you've approved them (see https://github.com/catppuccin/userstyles/blob/main/docs/CONTRIBUTING.md#pull-request-review-process) :)
🔧 What does this fix? 🔧
Sometimes the
data-theme
attribute doesn't exist, like if it is your first time visiting the website. This adjusts the theme application selectors to useprefers-color-scheme
if there is no attribute set, as ifdata-theme="auto"
.🗒 Checklist 🗒
==UserStyle==
header of thecatppuccin.user.css
file.