refactor(tree-wide): add/update base styles (#767)

Co-authored-by: Isabel <[email protected]>
This commit is contained in:
uncenterandIsabel authored and GitHub committed 2024-04-07 17:13:34 -04:00
1 parent a81b5cfb08
commit 63ac4b191e
81 files changed
+2903 -1891

No files matched your search

+19 -16
View File
@@ -16,15 +16,13 @@
==/UserStyle== */
@-moz-document domain('instagram.com') {
#rgbify(@color) {
@rgb-raw: red(@color), green(@color), blue(@color);
}
._aa4d {
#catppuccin(@darkFlavor, @accentColor);
}
._aa4c {
#catppuccin(@lightFlavor, @accentColor);
}
#catppuccin(@lookup, @accent) {
@rosewater: @catppuccin[@@lookup][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo];
@@ -53,10 +51,24 @@
@mantle: @catppuccin[@@lookup][@mantle];
@crust: @catppuccin[@@lookup][@crust];
@accent-color: @catppuccin[@@lookup][@@accent];
@text-filter: @catppuccin[@@lookup][@text-filter];
@dark-color: if(@lookup = latte, @text, @crust);
@light-color: if(@lookup = latte, @crust, @text);
color-scheme: if(@lookup = latte, light, dark);
::selection {
background-color: fade(@accent-color, 30%);
}
input,
textarea {
&::placeholder {
color: @subtext0 !important;
}
}
&,
.x1qjc9v5,
.x9f619,
@@ -112,11 +124,6 @@
background-color: @base !important;
}
::selection {
color: @dark-color;
background-color: @accent-color;
}
/* Sidebar */
.x1xgvd2v {
background-color: @crust !important;
@@ -636,14 +643,6 @@
box-shadow: 0 5px 10px 0 fadeout(@dark-color, 0.5);
}
/* Input placeholders */
input,
textarea {
&::placeholder {
color: @subtext0 !important;
}
}
/* Settings */
._ab81 {
background-color: @mantle;
@@ -807,6 +806,10 @@
}
}
#rgbify(@color) {
@rgb-raw: red(@color), green(@color), blue(@color);
}
/* prettier-ignore */
@catppuccin: {
@latte: {