feat(less): add accents mixins (#47)
* mixins and accents and flavors Co-authored-by: Andreas Grafen <andreas@grafen.info>
This commit is contained in:
parent
e78e016e01
commit
baa0469b86
2 changed files with 45 additions and 3 deletions
45
less/catppuccin-accents.less
Normal file
45
less/catppuccin-accents.less
Normal file
|
@ -0,0 +1,45 @@
|
|||
#accent(@accent) when (@accent = rosewater) {
|
||||
@accent-colour: @rosewater;
|
||||
}
|
||||
#accent(@accent) when (@accent = flamingo) {
|
||||
@accent-colour: @flamingo;
|
||||
}
|
||||
#accent(@accent) when (@accent = pink) {
|
||||
@accent-colour: @pink;
|
||||
}
|
||||
#accent(@accent) when (@accent = mauve) {
|
||||
@accent-colour: @mauve;
|
||||
}
|
||||
#accent(@accent) when (@accent = red) {
|
||||
@accent-colour: @red;
|
||||
}
|
||||
#accent(@accent) when (@accent = maroon) {
|
||||
@accent-colour: @maroon;
|
||||
}
|
||||
#accent(@accent) when (@accent = peach) {
|
||||
@accent-colour: @peach;
|
||||
}
|
||||
#accent(@accent) when (@accent = yellow) {
|
||||
@accent-colour: @yellow;
|
||||
}
|
||||
#accent(@accent) when (@accent = green) {
|
||||
@accent-colour: @green;
|
||||
}
|
||||
#accent(@accent) when (@accent = teal) {
|
||||
@accent-colour: @teal;
|
||||
}
|
||||
#accent(@accent) when (@accent = blue) {
|
||||
@accent-colour: @blue;
|
||||
}
|
||||
#accent(@accent) when (@accent = sapphire) {
|
||||
@accent-colour: @sapphire;
|
||||
}
|
||||
#accent(@accent) when (@accent = sky) {
|
||||
@accent-colour: @sky;
|
||||
}
|
||||
#accent(@accent) when (@accent = lavender) {
|
||||
@accent-colour: @lavender;
|
||||
}
|
||||
#accent(@accent) when (@accent = subtext0) {
|
||||
@accent-colour: @subtext0;
|
||||
}
|
|
@ -54,7 +54,6 @@
|
|||
@base: #303446;
|
||||
@mantle: #292c3c;
|
||||
@crust: #232634;
|
||||
|
||||
}
|
||||
|
||||
#catppuccin(@flavour) when (@flavour = macchiato) {
|
||||
|
@ -84,7 +83,6 @@
|
|||
@base: #24273a;
|
||||
@mantle: #1e2030;
|
||||
@crust: #181926;
|
||||
|
||||
}
|
||||
|
||||
#catppuccin(@flavour) when (@flavour = mocha) {
|
||||
|
@ -114,5 +112,4 @@
|
|||
@base: #1e1e2e;
|
||||
@mantle: #181825;
|
||||
@crust: #11111b;
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue