feat(vercel): theme select for light/dark mode (#211)

Co-authored-by: Ryan Cao <70191398+ryanccn@users.noreply.github.com>
This commit is contained in:
uncenter 2023-09-21 10:59:01 -04:00 committed by GitHub
parent 2dce514fea
commit b231a14431
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,17 +1,23 @@
/* ==UserStyle==
@name Vercel Catppuccin
@namespace github.com/catppuccin/userstyles/styles/vercel
@version 0.0.4
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/vercel
@version 0.0.5
@description Soothing pastel theme for Vercel
@author Catppuccin
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/vercel/catppuccin.user.css
@license MIT
@preprocessor less
@var select flavor "Flavor" ["latte:Latte", "frappe:Frappe", "macchiato:Macchiato", "mocha:Mocha*"]
@var select lightFlavor "Light Flavor" ["latte:Latte*", "frappe:Frappe", "macchiato:Macchiato", "mocha:Mocha"]
@var select darkFlavor "Dark Flavor" ["latte:Latte", "frappe:Frappe", "macchiato:Macchiato", "mocha:Mocha*"]
==/UserStyle== */
@-moz-document domain("vercel.com") {
:root {
#catppuccin(@flavor);
:root.dark-theme {
#catppuccin(@darkFlavor);
}
:root.light-theme {
#catppuccin(@lightFlavor);
}
@catppuccin: {