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:
parent
2dce514fea
commit
b231a14431
@ -1,17 +1,23 @@
|
|||||||
/* ==UserStyle==
|
/* ==UserStyle==
|
||||||
@name Vercel Catppuccin
|
@name Vercel Catppuccin
|
||||||
@namespace github.com/catppuccin/userstyles/styles/vercel
|
@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
|
@description Soothing pastel theme for Vercel
|
||||||
@author Catppuccin
|
@author Catppuccin
|
||||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/vercel/catppuccin.user.css
|
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/vercel/catppuccin.user.css
|
||||||
@license MIT
|
@license MIT
|
||||||
|
|
||||||
@preprocessor less
|
@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== */
|
==/UserStyle== */
|
||||||
@-moz-document domain("vercel.com") {
|
@-moz-document domain("vercel.com") {
|
||||||
:root {
|
:root.dark-theme {
|
||||||
#catppuccin(@flavor);
|
#catppuccin(@darkFlavor);
|
||||||
|
}
|
||||||
|
:root.light-theme {
|
||||||
|
#catppuccin(@lightFlavor);
|
||||||
}
|
}
|
||||||
|
|
||||||
@catppuccin: {
|
@catppuccin: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user