diff --git a/.stylelintrc.js b/.stylelintrc.js
index 0f0d54b8..f0f92128 100644
--- a/.stylelintrc.js
+++ b/.stylelintrc.js
@@ -183,5 +183,7 @@ export default {
"no-descending-specificity": null,
"selector-not-notation": null,
+
+ "import-notation": null,
},
};
diff --git a/docs/deno.json b/docs/deno.json
new file mode 100644
index 00000000..6f04c6ab
--- /dev/null
+++ b/docs/deno.json
@@ -0,0 +1,7 @@
+{
+ "fmt": {
+ "indentWidth": 2,
+ "proseWrap": "never",
+ "exclude": ["pnpm-lock.yaml"]
+ }
+}
diff --git a/docs/src/content/docs/contributing/guides/images-and-svgs.md b/docs/src/content/docs/contributing/guides/images-and-svgs.md
index 29599e21..4adea851 100644
--- a/docs/src/content/docs/contributing/guides/images-and-svgs.md
+++ b/docs/src/content/docs/contributing/guides/images-and-svgs.md
@@ -68,46 +68,12 @@ img.twitter-icon {
## Non-SVG images or many `
` elements with external SVGs
-If you encounter non-SVG images, or many `
` elements with external SVGs, the best approach is to apply a CSS color filter to the images. Start by adding the following specially generated filters palette block to the bottom of the userstyle, below the existing `@catppuccin` palette block.
+If you encounter non-SVG images, or many `
` elements that are single-colored, the best approach is to apply a CSS color filter to the images. You can use the `@-filter` variables provided out of the box.
+
+For example:
```css
-/* deno-fmt-ignore */
-@catppuccin-filters: {
- @latte: { @rosewater: brightness(0) saturate(100%) invert(65%) sepia(18%) saturate(1048%) hue-rotate(323deg) brightness(92%) contrast(86%); @flamingo: brightness(0) saturate(100%) invert(84%) sepia(44%) saturate(4533%) hue-rotate(310deg) brightness(98%) contrast(75%); @pink: brightness(0) saturate(100%) invert(60%) sepia(32%) saturate(775%) hue-rotate(266deg) brightness(93%) contrast(97%); @mauve: brightness(0) saturate(100%) invert(26%) sepia(59%) saturate(3315%) hue-rotate(255deg) brightness(94%) contrast(100%); @red: brightness(0) saturate(100%) invert(16%) sepia(78%) saturate(7275%) hue-rotate(342deg) brightness(84%) contrast(94%); @maroon: brightness(0) saturate(100%) invert(31%) sepia(56%) saturate(2395%) hue-rotate(331deg) brightness(99%) contrast(82%); @peach: brightness(0) saturate(100%) invert(38%) sepia(81%) saturate(1292%) hue-rotate(356deg) brightness(103%) contrast(99%); @yellow: brightness(0) saturate(100%) invert(74%) sepia(47%) saturate(4570%) hue-rotate(354deg) brightness(95%) contrast(83%); @green: brightness(0) saturate(100%) invert(51%) sepia(25%) saturate(4134%) hue-rotate(76deg) brightness(95%) contrast(66%); @teal: brightness(0) saturate(100%) invert(41%) sepia(45%) saturate(1101%) hue-rotate(139deg) brightness(100%) contrast(82%); @sky: brightness(0) saturate(100%) invert(47%) sepia(76%) saturate(2427%) hue-rotate(166deg) brightness(99%) contrast(97%); @sapphire: brightness(0) saturate(100%) invert(52%) sepia(41%) saturate(6982%) hue-rotate(160deg) brightness(102%) contrast(75%); @blue: brightness(0) saturate(100%) invert(30%) sepia(80%) saturate(1850%) hue-rotate(209deg) brightness(94%) contrast(105%); @lavender: brightness(0) saturate(100%) invert(48%) sepia(61%) saturate(538%) hue-rotate(194deg) brightness(102%) contrast(98%); @text: brightness(0) saturate(100%) invert(30%) sepia(10%) saturate(1259%) hue-rotate(196deg) brightness(97%) contrast(91%); @subtext1: brightness(0) saturate(100%) invert(36%) sepia(10%) saturate(890%) hue-rotate(196deg) brightness(98%) contrast(90%); @subtext0: brightness(0) saturate(100%) invert(47%) sepia(6%) saturate(1263%) hue-rotate(195deg) brightness(90%) contrast(81%); @overlay2: brightness(0) saturate(100%) invert(59%) sepia(7%) saturate(825%) hue-rotate(195deg) brightness(83%) contrast(91%); @overlay1: brightness(0) saturate(100%) invert(59%) sepia(14%) saturate(333%) hue-rotate(194deg) brightness(95%) contrast(89%); @overlay0: brightness(0) saturate(100%) invert(85%) sepia(7%) saturate(595%) hue-rotate(191deg) brightness(77%) contrast(81%); @surface2: brightness(0) saturate(100%) invert(86%) sepia(6%) saturate(482%) hue-rotate(189deg) brightness(82%) contrast(88%); @surface1: brightness(0) saturate(100%) invert(85%) sepia(8%) saturate(281%) hue-rotate(187deg) brightness(92%) contrast(88%); @surface0: brightness(0) saturate(100%) invert(96%) sepia(1%) saturate(5123%) hue-rotate(185deg) brightness(93%) contrast(83%); @base: brightness(0) saturate(100%) invert(89%) sepia(5%) saturate(140%) hue-rotate(182deg) brightness(109%) contrast(94%); @mantle: brightness(0) saturate(100%) invert(93%) sepia(19%) saturate(55%) hue-rotate(182deg) brightness(98%) contrast(92%); @crust: brightness(0) saturate(100%) invert(91%) sepia(1%) saturate(4489%) hue-rotate(196deg) brightness(106%) contrast(82%); };
- @frappe: { @rosewater: brightness(0) saturate(100%) invert(90%) sepia(6%) saturate(734%) hue-rotate(321deg) brightness(95%) contrast(99%); @flamingo: brightness(0) saturate(100%) invert(88%) sepia(52%) saturate(817%) hue-rotate(293deg) brightness(113%) contrast(84%); @pink: brightness(0) saturate(100%) invert(76%) sepia(15%) saturate(844%) hue-rotate(280deg) brightness(107%) contrast(91%); @mauve: brightness(0) saturate(100%) invert(71%) sepia(25%) saturate(725%) hue-rotate(225deg) brightness(94%) contrast(91%); @red: brightness(0) saturate(100%) invert(67%) sepia(3%) saturate(7209%) hue-rotate(305deg) brightness(91%) contrast(99%); @maroon: brightness(0) saturate(100%) invert(61%) sepia(14%) saturate(957%) hue-rotate(307deg) brightness(109%) contrast(90%); @peach: brightness(0) saturate(100%) invert(68%) sepia(28%) saturate(662%) hue-rotate(335deg) brightness(96%) contrast(94%); @yellow: brightness(0) saturate(100%) invert(94%) sepia(88%) saturate(684%) hue-rotate(309deg) brightness(105%) contrast(80%); @green: brightness(0) saturate(100%) invert(89%) sepia(23%) saturate(582%) hue-rotate(42deg) brightness(87%) contrast(89%); @teal: brightness(0) saturate(100%) invert(91%) sepia(13%) saturate(986%) hue-rotate(110deg) brightness(85%) contrast(81%); @sky: brightness(0) saturate(100%) invert(75%) sepia(15%) saturate(623%) hue-rotate(141deg) brightness(109%) contrast(81%); @sapphire: brightness(0) saturate(100%) invert(77%) sepia(20%) saturate(730%) hue-rotate(157deg) brightness(97%) contrast(76%); @blue: brightness(0) saturate(100%) invert(68%) sepia(16%) saturate(1070%) hue-rotate(185deg) brightness(96%) contrast(95%); @lavender: brightness(0) saturate(100%) invert(75%) sepia(20%) saturate(626%) hue-rotate(201deg) brightness(101%) contrast(89%); @text: brightness(0) saturate(100%) invert(83%) sepia(12%) saturate(582%) hue-rotate(191deg) brightness(98%) contrast(96%); @subtext1: brightness(0) saturate(100%) invert(80%) sepia(18%) saturate(411%) hue-rotate(190deg) brightness(96%) contrast(84%); @subtext0: brightness(0) saturate(100%) invert(82%) sepia(6%) saturate(1287%) hue-rotate(192deg) brightness(86%) contrast(85%); @overlay2: brightness(0) saturate(100%) invert(65%) sepia(36%) saturate(230%) hue-rotate(190deg) brightness(92%) contrast(82%); @overlay1: brightness(0) saturate(100%) invert(55%) sepia(12%) saturate(638%) hue-rotate(189deg) brightness(98%) contrast(87%); @overlay0: brightness(0) saturate(100%) invert(49%) sepia(13%) saturate(662%) hue-rotate(192deg) brightness(94%) contrast(84%); @surface2: brightness(0) saturate(100%) invert(41%) sepia(20%) saturate(469%) hue-rotate(191deg) brightness(93%) contrast(86%); @surface1: brightness(0) saturate(100%) invert(34%) sepia(14%) saturate(771%) hue-rotate(190deg) brightness(89%) contrast(85%); @surface0: brightness(0) saturate(100%) invert(28%) sepia(7%) saturate(1468%) hue-rotate(193deg) brightness(92%) contrast(95%); @base: brightness(0) saturate(100%) invert(20%) sepia(17%) saturate(747%) hue-rotate(192deg) brightness(96%) contrast(97%); @mantle: brightness(0) saturate(100%) invert(8%) sepia(7%) saturate(7271%) hue-rotate(198deg) brightness(88%) contrast(75%); @crust: brightness(0) saturate(100%) invert(7%) sepia(7%) saturate(7415%) hue-rotate(197deg) brightness(86%) contrast(79%); };
- @macchiato: { @rosewater: brightness(0) saturate(100%) invert(88%) sepia(13%) saturate(322%) hue-rotate(321deg) brightness(102%) contrast(91%); @flamingo: brightness(0) saturate(100%) invert(82%) sepia(3%) saturate(3070%) hue-rotate(314deg) brightness(107%) contrast(88%); @pink: brightness(0) saturate(100%) invert(80%) sepia(23%) saturate(509%) hue-rotate(280deg) brightness(102%) contrast(92%); @mauve: brightness(0) saturate(100%) invert(65%) sepia(18%) saturate(903%) hue-rotate(222deg) brightness(104%) contrast(93%); @red: brightness(0) saturate(100%) invert(61%) sepia(19%) saturate(1541%) hue-rotate(305deg) brightness(110%) contrast(86%); @maroon: brightness(0) saturate(100%) invert(71%) sepia(10%) saturate(1331%) hue-rotate(306deg) brightness(93%) contrast(101%); @peach: brightness(0) saturate(100%) invert(73%) sepia(13%) saturate(1676%) hue-rotate(330deg) brightness(103%) contrast(92%); @yellow: brightness(0) saturate(100%) invert(87%) sepia(89%) saturate(321%) hue-rotate(314deg) brightness(101%) contrast(87%); @green: brightness(0) saturate(100%) invert(93%) sepia(12%) saturate(1128%) hue-rotate(48deg) brightness(92%) contrast(85%); @teal: brightness(0) saturate(100%) invert(92%) sepia(10%) saturate(1176%) hue-rotate(110deg) brightness(87%) contrast(90%); @sky: brightness(0) saturate(100%) invert(78%) sepia(57%) saturate(230%) hue-rotate(142deg) brightness(96%) contrast(84%); @sapphire: brightness(0) saturate(100%) invert(74%) sepia(35%) saturate(438%) hue-rotate(156deg) brightness(92%) contrast(93%); @blue: brightness(0) saturate(100%) invert(67%) sepia(17%) saturate(1007%) hue-rotate(183deg) brightness(99%) contrast(94%); @lavender: brightness(0) saturate(100%) invert(74%) sepia(6%) saturate(2559%) hue-rotate(198deg) brightness(103%) contrast(94%); @text: brightness(0) saturate(100%) invert(81%) sepia(9%) saturate(726%) hue-rotate(192deg) brightness(104%) contrast(92%); @subtext1: brightness(0) saturate(100%) invert(84%) sepia(5%) saturate(1453%) hue-rotate(193deg) brightness(94%) contrast(86%); @subtext0: brightness(0) saturate(100%) invert(75%) sepia(18%) saturate(361%) hue-rotate(190deg) brightness(91%) contrast(86%); @overlay2: brightness(0) saturate(100%) invert(67%) sepia(9%) saturate(814%) hue-rotate(191deg) brightness(92%) contrast(88%); @overlay1: brightness(0) saturate(100%) invert(49%) sepia(38%) saturate(203%) hue-rotate(190deg) brightness(101%) contrast(93%); @overlay0: brightness(0) saturate(100%) invert(46%) sepia(16%) saturate(552%) hue-rotate(193deg) brightness(93%) contrast(84%); @surface2: brightness(0) saturate(100%) invert(34%) sepia(16%) saturate(611%) hue-rotate(192deg) brightness(101%) contrast(87%); @surface1: brightness(0) saturate(100%) invert(30%) sepia(11%) saturate(1085%) hue-rotate(194deg) brightness(92%) contrast(89%); @surface0: brightness(0) saturate(100%) invert(18%) sepia(21%) saturate(880%) hue-rotate(193deg) brightness(97%) contrast(84%); @base: brightness(0) saturate(100%) invert(12%) sepia(42%) saturate(570%) hue-rotate(194deg) brightness(90%) contrast(90%); @mantle: brightness(0) saturate(100%) invert(6%) sepia(6%) saturate(7499%) hue-rotate(200deg) brightness(93%) contrast(85%); @crust: brightness(0) saturate(100%) invert(5%) sepia(8%) saturate(5346%) hue-rotate(202deg) brightness(98%) contrast(88%); };
- @mocha: { @rosewater: brightness(0) saturate(100%) invert(92%) sepia(5%) saturate(704%) hue-rotate(320deg) brightness(99%) contrast(93%); @flamingo: brightness(0) saturate(100%) invert(81%) sepia(5%) saturate(987%) hue-rotate(315deg) brightness(107%) contrast(90%); @pink: brightness(0) saturate(100%) invert(86%) sepia(11%) saturate(1177%) hue-rotate(283deg) brightness(101%) contrast(92%); @mauve: brightness(0) saturate(100%) invert(65%) sepia(58%) saturate(255%) hue-rotate(224deg) brightness(96%) contrast(102%); @red: brightness(0) saturate(100%) invert(61%) sepia(19%) saturate(997%) hue-rotate(294deg) brightness(104%) contrast(91%); @maroon: brightness(0) saturate(100%) invert(66%) sepia(16%) saturate(1301%) hue-rotate(306deg) brightness(116%) contrast(84%); @peach: brightness(0) saturate(100%) invert(68%) sepia(57%) saturate(278%) hue-rotate(338deg) brightness(98%) contrast(101%); @yellow: brightness(0) saturate(100%) invert(90%) sepia(70%) saturate(380%) hue-rotate(313deg) brightness(102%) contrast(95%); @green: brightness(0) saturate(100%) invert(88%) sepia(6%) saturate(2015%) hue-rotate(63deg) brightness(104%) contrast(78%); @teal: brightness(0) saturate(100%) invert(92%) sepia(12%) saturate(991%) hue-rotate(108deg) brightness(93%) contrast(90%); @sky: brightness(0) saturate(100%) invert(84%) sepia(21%) saturate(1302%) hue-rotate(164deg) brightness(106%) contrast(84%); @sapphire: brightness(0) saturate(100%) invert(74%) sepia(20%) saturate(876%) hue-rotate(156deg) brightness(96%) contrast(93%); @blue: brightness(0) saturate(100%) invert(68%) sepia(18%) saturate(951%) hue-rotate(180deg) brightness(98%) contrast(100%); @lavender: brightness(0) saturate(100%) invert(73%) sepia(7%) saturate(1670%) hue-rotate(195deg) brightness(102%) contrast(99%); @text: brightness(0) saturate(100%) invert(86%) sepia(6%) saturate(879%) hue-rotate(190deg) brightness(100%) contrast(93%); @subtext1: brightness(0) saturate(100%) invert(84%) sepia(19%) saturate(381%) hue-rotate(193deg) brightness(91%) contrast(89%); @subtext0: brightness(0) saturate(100%) invert(84%) sepia(9%) saturate(767%) hue-rotate(192deg) brightness(84%) contrast(84%); @overlay2: brightness(0) saturate(100%) invert(63%) sepia(15%) saturate(428%) hue-rotate(191deg) brightness(96%) contrast(84%); @overlay1: brightness(0) saturate(100%) invert(56%) sepia(15%) saturate(455%) hue-rotate(192deg) brightness(90%) contrast(88%); @overlay0: brightness(0) saturate(100%) invert(44%) sepia(6%) saturate(1275%) hue-rotate(194deg) brightness(97%) contrast(88%); @surface2: brightness(0) saturate(100%) invert(34%) sepia(8%) saturate(1015%) hue-rotate(195deg) brightness(99%) contrast(89%); @surface1: brightness(0) saturate(100%) invert(25%) sepia(6%) saturate(1950%) hue-rotate(197deg) brightness(99%) contrast(86%); @surface0: brightness(0) saturate(100%) invert(19%) sepia(5%) saturate(2844%) hue-rotate(199deg) brightness(91%) contrast(93%); @base: brightness(0) saturate(100%) invert(7%) sepia(4%) saturate(7496%) hue-rotate(202deg) brightness(93%) contrast(87%); @mantle: brightness(0) saturate(100%) invert(6%) sepia(4%) saturate(7465%) hue-rotate(202deg) brightness(95%) contrast(90%); @crust: brightness(0) saturate(100%) invert(3%) sepia(13%) saturate(6863%) hue-rotate(220deg) brightness(95%) contrast(91%); };
+img.twitter-icon {
+ filter: @blue-filter;
}
```
-
-Select the filter definitions from below that you plan to use and insert them near the top of the `#catppuccin` mixin, below the `@: @catppuccin[@@flavor][@];` color definitions.
-
-```css
-@rosewater-filter: @catppuccin-filters[@@flavor][@rosewater];
-@flamingo-filter: @catppuccin-filters[@@flavor][@flamingo];
-@pink-filter: @catppuccin-filters[@@flavor][@pink];
-@mauve-filter: @catppuccin-filters[@@flavor][@mauve];
-@red-filter: @catppuccin-filters[@@flavor][@red];
-@maroon-filter: @catppuccin-filters[@@flavor][@maroon];
-@peach-filter: @catppuccin-filters[@@flavor][@peach];
-@yellow-filter: @catppuccin-filters[@@flavor][@yellow];
-@green-filter: @catppuccin-filters[@@flavor][@green];
-@teal-filter: @catppuccin-filters[@@flavor][@teal];
-@sky-filter: @catppuccin-filters[@@flavor][@sky];
-@sapphire-filter: @catppuccin-filters[@@flavor][@sapphire];
-@blue-filter: @catppuccin-filters[@@flavor][@blue];
-@lavender-filter: @catppuccin-filters[@@flavor][@lavender];
-@text-filter: @catppuccin-filters[@@flavor][@text];
-@subtext1-filter: @catppuccin-filters[@@flavor][@subtext1];
-@subtext0-filter: @catppuccin-filters[@@flavor][@subtext0];
-@overlay2-filter: @catppuccin-filters[@@flavor][@overlay2];
-@overlay1-filter: @catppuccin-filters[@@flavor][@overlay1];
-@overlay0-filter: @catppuccin-filters[@@flavor][@overlay0];
-@surface2-filter: @catppuccin-filters[@@flavor][@surface2];
-@surface1-filter: @catppuccin-filters[@@flavor][@surface1];
-@surface0-filter: @catppuccin-filters[@@flavor][@surface0];
-@base-filter: @catppuccin-filters[@@flavor][@base];
-@mantle-filter: @catppuccin-filters[@@flavor][@mantle];
-@crust-filter: @catppuccin-filters[@@flavor][@crust];
-@accent-filter: @catppuccin-filters[@@flavor][@@accentColor];
-```
diff --git a/docs/src/content/docs/contributing/guides/raw-color-values.md b/docs/src/content/docs/contributing/guides/raw-color-values.md
index d0a42a76..7926cd83 100644
--- a/docs/src/content/docs/contributing/guides/raw-color-values.md
+++ b/docs/src/content/docs/contributing/guides/raw-color-values.md
@@ -7,30 +7,16 @@ sidebar:
## Obtaining RGB values
-You can use the following snippet to get the raw RGB values from a color.
+You can use the `#lib.rgbify()` utility mixin to get the raw RGB values from a color.
```less
-#rgbify(@color) {
- @rgb: red(@color), green(@color), blue(@color);
-}
-```
-
-```less
---ctp-base: #rgbify(@base) []; // -> 30, 30, 46
+--ctp-base: #lib.rgbify(@base) []; // -> 30, 30, 46
```
## Obtaining HSL values
-You can use the following snippet to get the raw HSL values from a color.
+You can use the `#lib.hslify()` utility mixin to get the raw HSL values from a color.
```less
-#hslify(@color) {
- @raw: e(
- %("%s, %s%, %s%", hue(@color), saturation(@color), lightness(@color))
- );
-}
-```
-
-```less
---ctp-base: #hslify(@base) []; // -> 240, 21.052631578947366%, 14.901960784313726%
+--ctp-base: #lib.hslify(@base) []; // -> 240, 21.052631578947366%, 14.901960784313726%
```
diff --git a/docs/src/content/docs/contributing/guides/syntax-highlighting.md b/docs/src/content/docs/contributing/guides/syntax-highlighting.md
index 3567a126..f45c2e12 100644
--- a/docs/src/content/docs/contributing/guides/syntax-highlighting.md
+++ b/docs/src/content/docs/contributing/guides/syntax-highlighting.md
@@ -5,40 +5,15 @@ sidebar:
order: 3
---
-If a website uses [highlight.js](https://highlightjs.org/), [Pygments](https://pygments.org/), or [Prism.js](https://prismjs.com/) for syntax highlighting, follow the steps for the syntax higlighter in use below. First though, you'll need to add the following lines beneath the color definition section (`@: @catppuccin[@@lookup][@];`) in the `#catppuccin` mixin:
+If a website uses [highlight.js](https://highlightjs.org/), [Pygments](https://pygments.org/), [Prism.js](https://prismjs.com/), or [Chroma](https://github.com/alecthomas/chroma) for syntax highlighting, follow the steps for the syntax higlighter in use below. First though, you'll need to add the following line near the top of the `#catppuccin` mixin, under `#lib.palette();`/`#lib.defaults();`, to include the necessary CSS variables:
```css
---ctp-rosewater: @rosewater;
---ctp-flamingo: @flamingo;
---ctp-pink: @pink;
---ctp-mauve: @mauve;
---ctp-red: @red;
---ctp-maroon: @maroon;
---ctp-peach: @peach;
---ctp-yellow: @yellow;
---ctp-green: @green;
---ctp-teal: @teal;
---ctp-sky: @sky;
---ctp-sapphire: @sapphire;
---ctp-blue: @blue;
---ctp-lavender: @lavender;
---ctp-text: @text;
---ctp-subtext1: @subtext1;
---ctp-subtext0: @subtext0;
---ctp-overlay2: @overlay2;
---ctp-overlay1: @overlay1;
---ctp-overlay0: @overlay0;
---ctp-surface2: @surface2;
---ctp-surface1: @surface1;
---ctp-surface0: @surface0;
---ctp-base: @base;
---ctp-mantle: @mantle;
---ctp-crust: @crust;
+#lib.css-variables();
```
## highlight.js
-Add the following line at the top of the userstyle, beneath the `@-moz-document` line.
+After including the CSS variables with the mixin specified above, add the following line at the top of the userstyle, beneath the `@-moz-document` line.
```css
@import url("https://unpkg.com/@catppuccin/highlightjs@1.0.0/css/catppuccin-variables.important.css");
@@ -46,7 +21,7 @@ Add the following line at the top of the userstyle, beneath the `@-moz-document`
## Pygments
-Add the following line at the top of the userstyle, beneath the `@-moz-document` line.
+After including the CSS variables with the mixin specified above, add the following line at the top of the userstyle, beneath the `@-moz-document` line.
```css
@import url("https://python.catppuccin.com/pygments/catppuccin-variables.important.css");
@@ -54,7 +29,7 @@ Add the following line at the top of the userstyle, beneath the `@-moz-document`
## Prism.js
-Add the following line at the top of the userstyle, beneath the `@-moz-document` line.
+After including the CSS variables with the mixin specified above, add the following line at the top of the userstyle, beneath the `@-moz-document` line.
```css
@import url("https://prismjs.catppuccin.com/variables.css");
@@ -62,7 +37,7 @@ Add the following line at the top of the userstyle, beneath the `@-moz-document`
## Chroma
-Add the following lines to the top of the userstyle, beneath the `@-moz-document` line.
+After including the CSS variables with the mixin specified above, add the following lines at the top of the userstyle, beneath the `@-moz-document` line.
```css
@import (css)
@@ -74,4 +49,4 @@ Add the following lines to the top of the userstyle, beneath the `@-moz-document
```
> [!IMPORTANT]
-> The above snippet only works properly for userstyles that use browser/system media queries to apply the `#catppuccin` mixin. If a userstyle targets a specific attribute/element on the website to apply the mixin, this will not work all of the time.
+> The above snippet for Chroma only works properly for userstyles that use browser/system media queries to apply the `#catppuccin` mixin. If a userstyle targets a specific attribute/element on the website to apply the mixin, this will not work all of the time.
diff --git a/docs/src/content/docs/contributing/tutorials/writing-a-userstyle.md b/docs/src/content/docs/contributing/tutorials/writing-a-userstyle.md
index 76479bb2..458308b9 100644
--- a/docs/src/content/docs/contributing/tutorials/writing-a-userstyle.md
+++ b/docs/src/content/docs/contributing/tutorials/writing-a-userstyle.md
@@ -75,26 +75,19 @@ This section of the template is about applying the user's light/dark flavors. Re
> [!TIP]
> For more on how Less mixins work, see ["Mixins" - lesscss.org](https://lesscss.org/features/#mixins-feature) and ["A Comprehensive Introduction to Less: Mixins" - SitePoint](https://www.sitepoint.com/a-comprehensive-introduction-to-less-mixins/).
-We'll refer to this next section of the template as the "`#catppuccin` mixin". You can ignore the first half of this section with all of the `@: @catppuccin[@@flavor][@];` lines and skip to the comment where it says `// Start styling your website here:`. As the comment suggests, you will write the CSS rules for your port here. Here is what it looks like for our `example.org` port:
+We'll refer to this next section of the template as the "`#catppuccin` mixin". The first part contains a series of mixin calls to include the Catppuccin palette and style defaults from the standard library:
+
+```less
+#lib.palette();
+#lib.defaults();
+```
+
+Following that, you will write the CSS rules for your port. Here is what it looks like for our `example.org` port:
```less
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- /* ... */
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
body {
background-color: @base;
@@ -147,46 +140,8 @@ Combining all of the previous steps, we have a working userstyle!
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
body {
background-color: @base;
@@ -203,14 +158,6 @@ Combining all of the previous steps, we have a working userstyle!
}
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
```
| Original | Themed |
diff --git a/styles/advent-of-code/catppuccin.user.less b/styles/advent-of-code/catppuccin.user.less
index e58a307a..90a4d5a7 100644
--- a/styles/advent-of-code/catppuccin.user.less
+++ b/styles/advent-of-code/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("adventofcode.com") {
:root {
@media (prefers-color-scheme: light) {
@@ -26,46 +28,8 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
body {
background: @base;
@@ -243,11 +207,3 @@
}
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/alternativeto/catppuccin.user.less b/styles/alternativeto/catppuccin.user.less
index 026f7774..29a6fdd9 100644
--- a/styles/alternativeto/catppuccin.user.less
+++ b/styles/alternativeto/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("alternativeto.net") {
:root[data-theme="dark"] {
#catppuccin(@darkFlavor);
@@ -24,46 +26,8 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
--mainBrand: @accent;
--topBrand: @accent;
@@ -398,46 +362,8 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
--widget-background-color: @base;
--input-background-color: @base;
@@ -503,11 +429,3 @@
);
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/amplenote/catppuccin.user.less b/styles/amplenote/catppuccin.user.less
index b7b5ad22..12b014e8 100644
--- a/styles/amplenote/catppuccin.user.less
+++ b/styles/amplenote/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("amplenote.com") {
body:not(.theme-light) {
#catppuccin(@darkFlavor);
@@ -25,50 +27,12 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
&.themeable {
--color-background-primary: @base;
- --color-background-primary-rgb: #rgbify(@base)[];
+ --color-background-primary-rgb: #lib.rgbify(@base)[];
--color-background-secondary: @mantle;
--color-background-tertiary: @mantle;
@@ -98,7 +62,7 @@
--color-background-action-low-contrast: fade(@accent, 50%);
--color-background-action-medium-contrast: fade(@accent, 60%);
--color-background-action-high-contrast: @accent;
- --color-background-action-high-contrast-rgb: #rgbify(@accent)[];
+ --color-background-action-high-contrast-rgb: #lib.rgbify(@accent)[];
--color-background-action-high-contrast-alt: fade(@accent, 75%);
--color-background-error-high-contrast: @red;
@@ -120,7 +84,7 @@
--color-text-nav-lower-contrast: @surface2;
--color-text-error-low-contrast: @peach;
- --color-text-error-low-contrast-rgb: #rgbify(@peach)[];
+ --color-text-error-low-contrast-rgb: #lib.rgbify(@peach)[];
--color-text-error-medium-contrast: @red;
--color-text-error-high-contrast: @red;
@@ -233,15 +197,3 @@
}
}
}
-
-#rgbify(@color) {
- @rgb: red(@color), green(@color), blue(@color);
-}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/anilist/catppuccin.user.less b/styles/anilist/catppuccin.user.less
index bc075749..87808294 100644
--- a/styles/anilist/catppuccin.user.less
+++ b/styles/anilist/catppuccin.user.less
@@ -17,6 +17,8 @@
@var select contrastColor "Contrast Color" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve", "red:Red*", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("anilist.co"), domain("anichart.net") {
body:not(.site-theme-dark) {
#catppuccin(@lightFlavor);
@@ -26,51 +28,14 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
+ #lib.palette();
@contrast: @catppuccin[@@flavor][@@contrastColor];
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.defaults();
& when (@flavor = latte) {
- --color-blue-dim: #rgbify(desaturate(lighten(@accent, 10%), 10%))[];
+ --color-blue-dim: #lib.rgbify(desaturate(lighten(@accent, 10%), 10%))[];
.nav[data-v-62eacfff],
.solid[data-v-62eacfff],
@@ -84,117 +49,117 @@
}
}
- --color-background: #rgbify(@crust)[];
- --color-foreground: #rgbify(@base)[];
- --color-foreground-grey: #rgbify(@surface0)[];
- --color-foreground-grey-dark: #rgbify(darken(@surface0, 5%))[];
- --color-foreground-blue: #rgbify(@mantle)[];
- --color-foreground-blue-dark: #rgbify(@mantle)[];
- --color-background-blue-dark: #rgbify(@subtext1)[];
- --color-overlay: #rgbify(@surface0)[];
- --color-shadow: #rgbify(@mantle)[];
- --color-shadow-dark: #rgbify(darken(@text, 10%))[];
- --color-shadow-blue: #rgbify(@blue)[];
- --color-text: #rgbify(@text)[];
- --color-text-light: #rgbify(@subtext1)[];
- --color-text-lighter: #rgbify(@subtext0)[];
- --color-text-bright: #rgbify(if(@flavor = latte, @crust, @text))[];
- --color-blue: #rgbify(@accent)[];
+ --color-background: #lib.rgbify(@crust)[];
+ --color-foreground: #lib.rgbify(@base)[];
+ --color-foreground-grey: #lib.rgbify(@surface0)[];
+ --color-foreground-grey-dark: #lib.rgbify(darken(@surface0, 5%))[];
+ --color-foreground-blue: #lib.rgbify(@mantle)[];
+ --color-foreground-blue-dark: #lib.rgbify(@mantle)[];
+ --color-background-blue-dark: #lib.rgbify(@subtext1)[];
+ --color-overlay: #lib.rgbify(@surface0)[];
+ --color-shadow: #lib.rgbify(@mantle)[];
+ --color-shadow-dark: #lib.rgbify(darken(@text, 10%))[];
+ --color-shadow-blue: #lib.rgbify(@blue)[];
+ --color-text: #lib.rgbify(@text)[];
+ --color-text-light: #lib.rgbify(@subtext1)[];
+ --color-text-lighter: #lib.rgbify(@subtext0)[];
+ --color-text-bright: #lib.rgbify(if(@flavor = latte, @crust, @text))[];
+ --color-blue: #lib.rgbify(@accent)[];
--color-white: 255, 255, 255;
--color-black: 0, 0, 0;
- --color-red: #rgbify(@contrast)[];
- --color-peach: #rgbify(@maroon)[];
- --color-orange: #rgbify(@peach)[];
- --color-yellow: #rgbify(@yellow)[];
- --color-green: #rgbify(@green)[];
- --color-background-1200: #rgbify(@text)[];
- --color-background-1100: #rgbify(@text)[];
- --color-background-1000: #rgbify(@text)[];
- --color-background-900: #rgbify(@subtext1)[];
- --color-background-800: #rgbify(@subtext0)[];
- --color-background-700: #rgbify(@surface1)[];
- --color-background-600: #rgbify(@surface0)[];
- --color-background-500: #rgbify(@surface0)[];
- --color-background-400: #rgbify(@surface0)[];
- --color-background-300: #rgbify(@base)[];
- --color-background-200: #rgbify(@mantle)[];
- --color-background-100: #rgbify(@crust)[];
- --color-gray-1200: #rgbify(@text)[];
- --color-gray-1100: #rgbify(@text)[];
- --color-gray-1000: #rgbify(@text)[];
- --color-gray-900: #rgbify(@text)[];
- --color-gray-800: #rgbify(@overlay2)[];
- --color-gray-700: #rgbify(@overlay1)[];
- --color-gray-600: #rgbify(@overlay0)[];
- --color-gray-500: #rgbify(@surface2)[];
- --color-gray-400: #rgbify(@surface1)[];
- --color-gray-300: #rgbify(@surface0)[];
- --color-gray-200: #rgbify(@mantle)[];
- --color-gray-100: #rgbify(@crust)[];
- --color-blue-100: #rgbify(@text)[];
- --color-blue-200: #rgbify(@text)[];
- --color-blue-300: #rgbify(@text)[];
- --color-blue-400: #rgbify(@sapphire)[];
- --color-blue-500: #rgbify(@sapphire)[];
- --color-blue-600: #rgbify(@blue)[];
- --color-blue-700: #rgbify(@blue)[];
- --color-blue-800: #rgbify(@blue)[];
- --color-blue-900: #rgbify(@blue)[];
- --color-blue-1000: #rgbify(@blue)[];
- --color-green-100: #rgbify(@teal)[];
- --color-green-200: #rgbify(@green)[];
- --color-green-300: #rgbify(@green)[];
- --color-green-400: #rgbify(@green)[];
- --color-green-500: #rgbify(@green)[];
- --color-green-600: #rgbify(@green)[];
- --color-green-700: #rgbify(@green)[];
- --color-green-800: #rgbify(@green)[];
- --color-red-100: #rgbify(@text)[];
- --color-red-200: #rgbify(@flamingo)[];
- --color-red-300: #rgbify(@maroon)[];
- --color-red-400: #rgbify(@red)[];
- --color-red-500: #rgbify(@red)[];
- --color-red-600: #rgbify(@red)[];
- --color-red-700: #rgbify(@red)[];
+ --color-red: #lib.rgbify(@contrast)[];
+ --color-peach: #lib.rgbify(@maroon)[];
+ --color-orange: #lib.rgbify(@peach)[];
+ --color-yellow: #lib.rgbify(@yellow)[];
+ --color-green: #lib.rgbify(@green)[];
+ --color-background-1200: #lib.rgbify(@text)[];
+ --color-background-1100: #lib.rgbify(@text)[];
+ --color-background-1000: #lib.rgbify(@text)[];
+ --color-background-900: #lib.rgbify(@subtext1)[];
+ --color-background-800: #lib.rgbify(@subtext0)[];
+ --color-background-700: #lib.rgbify(@surface1)[];
+ --color-background-600: #lib.rgbify(@surface0)[];
+ --color-background-500: #lib.rgbify(@surface0)[];
+ --color-background-400: #lib.rgbify(@surface0)[];
+ --color-background-300: #lib.rgbify(@base)[];
+ --color-background-200: #lib.rgbify(@mantle)[];
+ --color-background-100: #lib.rgbify(@crust)[];
+ --color-gray-1200: #lib.rgbify(@text)[];
+ --color-gray-1100: #lib.rgbify(@text)[];
+ --color-gray-1000: #lib.rgbify(@text)[];
+ --color-gray-900: #lib.rgbify(@text)[];
+ --color-gray-800: #lib.rgbify(@overlay2)[];
+ --color-gray-700: #lib.rgbify(@overlay1)[];
+ --color-gray-600: #lib.rgbify(@overlay0)[];
+ --color-gray-500: #lib.rgbify(@surface2)[];
+ --color-gray-400: #lib.rgbify(@surface1)[];
+ --color-gray-300: #lib.rgbify(@surface0)[];
+ --color-gray-200: #lib.rgbify(@mantle)[];
+ --color-gray-100: #lib.rgbify(@crust)[];
+ --color-blue-100: #lib.rgbify(@text)[];
+ --color-blue-200: #lib.rgbify(@text)[];
+ --color-blue-300: #lib.rgbify(@text)[];
+ --color-blue-400: #lib.rgbify(@sapphire)[];
+ --color-blue-500: #lib.rgbify(@sapphire)[];
+ --color-blue-600: #lib.rgbify(@blue)[];
+ --color-blue-700: #lib.rgbify(@blue)[];
+ --color-blue-800: #lib.rgbify(@blue)[];
+ --color-blue-900: #lib.rgbify(@blue)[];
+ --color-blue-1000: #lib.rgbify(@blue)[];
+ --color-green-100: #lib.rgbify(@teal)[];
+ --color-green-200: #lib.rgbify(@green)[];
+ --color-green-300: #lib.rgbify(@green)[];
+ --color-green-400: #lib.rgbify(@green)[];
+ --color-green-500: #lib.rgbify(@green)[];
+ --color-green-600: #lib.rgbify(@green)[];
+ --color-green-700: #lib.rgbify(@green)[];
+ --color-green-800: #lib.rgbify(@green)[];
+ --color-red-100: #lib.rgbify(@text)[];
+ --color-red-200: #lib.rgbify(@flamingo)[];
+ --color-red-300: #lib.rgbify(@maroon)[];
+ --color-red-400: #lib.rgbify(@red)[];
+ --color-red-500: #lib.rgbify(@red)[];
+ --color-red-600: #lib.rgbify(@red)[];
+ --color-red-700: #lib.rgbify(@red)[];
& when not(@flavor = latte) {
- --color-background: #rgbify(@crust)[];
- --color-foreground: #rgbify(@base)[];
- --color-foreground-grey: #rgbify(@surface0)[];
- --color-foreground-grey-dark: #rgbify(darken(@surface0, 5%))[];
- --color-foreground-blue: #rgbify(@mantle)[];
- --color-foreground-blue-dark: #rgbify(@mantle)[];
- --color-text: #rgbify(@text)[];
- --color-text-light: #rgbify(@subtext0)[];
- --color-text-lighter: #rgbify(@subtext1)[];
- --color-shadow-dark: #rgbify(@crust)[];
- --color-shadow-blue: #rgbify(@crust)[];
- --color-background-1200: #rgbify(@text)[];
- --color-background-1100: #rgbify(@text)[];
- --color-background-1000: #rgbify(@text)[];
- --color-background-900: #rgbify(@subtext1)[];
- --color-background-800: #rgbify(@subtext0)[];
- --color-background-700: #rgbify(@surface1)[];
- --color-background-600: #rgbify(@surface0)[];
- --color-background-500: #rgbify(@surface0)[];
- --color-background-400: #rgbify(@surface0)[];
- --color-background-300: #rgbify(@base)[];
- --color-background-200: #rgbify(@mantle)[];
- --color-background-100: #rgbify(@crust)[];
- --color-gray-1200: #rgbify(@text)[];
- --color-gray-1100: #rgbify(@text)[];
- --color-gray-1000: #rgbify(@text)[];
- --color-gray-900: #rgbify(@text)[];
- --color-gray-800: #rgbify(@overlay2)[];
- --color-gray-700: #rgbify(@overlay1)[];
- --color-gray-600: #rgbify(@overlay0)[];
- --color-gray-500: #rgbify(@surface2)[];
- --color-gray-400: #rgbify(@surface1)[];
- --color-gray-300: #rgbify(@surface0)[];
- --color-gray-200: #rgbify(@mantle)[];
- --color-gray-100: #rgbify(@crust)[];
+ --color-background: #lib.rgbify(@crust)[];
+ --color-foreground: #lib.rgbify(@base)[];
+ --color-foreground-grey: #lib.rgbify(@surface0)[];
+ --color-foreground-grey-dark: #lib.rgbify(darken(@surface0, 5%))[];
+ --color-foreground-blue: #lib.rgbify(@mantle)[];
+ --color-foreground-blue-dark: #lib.rgbify(@mantle)[];
+ --color-text: #lib.rgbify(@text)[];
+ --color-text-light: #lib.rgbify(@subtext0)[];
+ --color-text-lighter: #lib.rgbify(@subtext1)[];
+ --color-shadow-dark: #lib.rgbify(@crust)[];
+ --color-shadow-blue: #lib.rgbify(@crust)[];
+ --color-background-1200: #lib.rgbify(@text)[];
+ --color-background-1100: #lib.rgbify(@text)[];
+ --color-background-1000: #lib.rgbify(@text)[];
+ --color-background-900: #lib.rgbify(@subtext1)[];
+ --color-background-800: #lib.rgbify(@subtext0)[];
+ --color-background-700: #lib.rgbify(@surface1)[];
+ --color-background-600: #lib.rgbify(@surface0)[];
+ --color-background-500: #lib.rgbify(@surface0)[];
+ --color-background-400: #lib.rgbify(@surface0)[];
+ --color-background-300: #lib.rgbify(@base)[];
+ --color-background-200: #lib.rgbify(@mantle)[];
+ --color-background-100: #lib.rgbify(@crust)[];
+ --color-gray-1200: #lib.rgbify(@text)[];
+ --color-gray-1100: #lib.rgbify(@text)[];
+ --color-gray-1000: #lib.rgbify(@text)[];
+ --color-gray-900: #lib.rgbify(@text)[];
+ --color-gray-800: #lib.rgbify(@overlay2)[];
+ --color-gray-700: #lib.rgbify(@overlay1)[];
+ --color-gray-600: #lib.rgbify(@overlay0)[];
+ --color-gray-500: #lib.rgbify(@surface2)[];
+ --color-gray-400: #lib.rgbify(@surface1)[];
+ --color-gray-300: #lib.rgbify(@surface0)[];
+ --color-gray-200: #lib.rgbify(@mantle)[];
+ --color-gray-100: #lib.rgbify(@crust)[];
- --color-blue-dim: #rgbify(desaturate(darken(@accent, 10%), 10%))[];
+ --color-blue-dim: #lib.rgbify(desaturate(darken(@accent, 10%), 10%))[];
}
/* DARK THEME NAV BAR */
@@ -211,12 +176,12 @@
/* -----------------PROFILE FIXES----------------- */
#profileColor(@color) {
- --color-blue: #rgbify(@color)[];
+ --color-blue: #lib.rgbify(@color)[];
& when (@flavor = latte) {
- --color-blue-dim: #rgbify(lighten(@color, 10%))[];
+ --color-blue-dim: #lib.rgbify(lighten(@color, 10%))[];
}
& when not(@flavor = latte) {
- --color-blue-dim: #rgbify(darken(@color, 10%))[];
+ --color-blue-dim: #lib.rgbify(darken(@color, 10%))[];
}
.progress .bar {
background: linear-gradient(270deg, darken(@color, 10%), @color);
@@ -244,10 +209,10 @@
#profileColor(@overlay1);
}
.history-day {
- --color-foreground-grey-dark: #rgbify(@crust)[];
+ --color-foreground-grey-dark: #lib.rgbify(@crust)[];
}
.x-axis {
- --color-background-300: #rgbify(@surface0)[];
+ --color-background-300: #lib.rgbify(@surface0)[];
}
/* Fixes gap between stats */
@media (max-width: 1540px) {
@@ -307,15 +272,15 @@
color: @text;
}
.tooltip > div {
- --color-white: #rgbify(@text)[];
+ --color-white: #lib.rgbify(@text)[];
}
.dropdown {
- --color-gray-100: #rgbify(@base)[];
- --color-background-100: #rgbify(@base)[];
- --color-background-200: #rgbify(@mantle)[];
+ --color-gray-100: #lib.rgbify(@base)[];
+ --color-background-100: #lib.rgbify(@base)[];
+ --color-background-200: #lib.rgbify(@mantle)[];
}
.medialist .notes {
- --color-overlay: #rgbify(@surface0)[];
+ --color-overlay: #lib.rgbify(@surface0)[];
}
.el-input__inner::placeholder,
.el-input__prefix {
@@ -371,7 +336,7 @@
}
& when (@flavor = latte) {
- --color-blue: #rgbify(lighten(@accent, 30%))[];
+ --color-blue: #lib.rgbify(lighten(@accent, 30%))[];
}
& when not(@flavor = latte) {
@@ -384,17 +349,17 @@
.search,
.expand-description,
.studio {
- --color-background-200: #rgbify(@crust)[];
+ --color-background-200: #lib.rgbify(@crust)[];
}
.search-wrap,
.filters,
.extra-filters-wrap,
.select,
.options {
- --color-background-100: #rgbify(@base)[];
+ --color-background-100: #lib.rgbify(@base)[];
}
.filter.select-wrap .options {
- --color-background-100: #rgbify(@mantle)[];
+ --color-background-100: #lib.rgbify(@mantle)[];
}
/* ------------------MISC EDITS-------------------- */
@@ -402,7 +367,7 @@
background: fade(@mantle, 50%);
}
.filter.clear-all {
- --color-background-500: #rgbify(@overlay1)[];
+ --color-background-500: #lib.rgbify(@overlay1)[];
}
/* --Reset button in notifications----- */
.reset-btn {
@@ -438,7 +403,7 @@
}
/* Accent Text */
.input .hint {
- --color-white: #rgbify(@text)[];
+ --color-white: #lib.rgbify(@text)[];
}
.el-checkbox__input.is-checked + .el-checkbox__label {
color: @accent;
@@ -472,7 +437,7 @@
.open-user-search,
.save-btn {
& when not(@flavor = latte) {
- --color-white: #rgbify(@crust)[];
+ --color-white: #lib.rgbify(@crust)[];
}
}
.submit-btn,
@@ -495,7 +460,7 @@
.icon,
.check {
& when not(@flavor = latte) {
- --color-blue-300: #rgbify(@crust)[];
+ --color-blue-300: #lib.rgbify(@crust)[];
}
}
/* ------------IMAGE COVER------------ */
@@ -620,7 +585,7 @@
.actions .favourite.isFavourite .fa-heart,
.actions .favourite {
& when not(@flavor = latte) {
- --color-white: #rgbify(@crust)[];
+ --color-white: #lib.rgbify(@crust)[];
}
}
}
@@ -635,46 +600,8 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
.login[data-v-0d5bfbcd],
.login[data-v-0d5bfbcd]:hover {
@@ -700,7 +627,7 @@
.external-link .icon,
.dropdown-menu:hover {
- --color-white: #rgbify(@crust)[];
+ --color-white: #lib.rgbify(@crust)[];
}
[fill="#fff" i] {
@@ -709,7 +636,7 @@
}
& when (@flavor = latte) {
- --color-overlay: #rgbify(@text)[];
+ --color-overlay: #lib.rgbify(@text)[];
.external-link {
background: @subtext0;
@@ -720,20 +647,8 @@
}
a.title {
- --color-white: #rgbify(@base)[];
+ --color-white: #lib.rgbify(@base)[];
}
}
}
}
-
-#rgbify(@color) {
- @rgb: red(@color), green(@color), blue(@color);
-}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/arch-wiki/catppuccin.user.less b/styles/arch-wiki/catppuccin.user.less
index d1361cc0..3486f5ad 100644
--- a/styles/arch-wiki/catppuccin.user.less
+++ b/styles/arch-wiki/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("wiki.archlinux.org") {
:root.skin-theme-clientpref-os,
.vector-feature-night-mode-enabled,
@@ -37,46 +39,8 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
#content table,
#content h1,
@@ -529,11 +493,3 @@
}
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/boringproxy/catppuccin.user.less b/styles/boringproxy/catppuccin.user.less
index 4f28a1bf..8595d523 100644
--- a/styles/boringproxy/catppuccin.user.less
+++ b/styles/boringproxy/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("boring.example.com") {
:root {
@media (prefers-color-scheme: light) {
@@ -26,46 +28,8 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
body {
background: @base;
@@ -195,11 +159,3 @@
}
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/brave-search/catppuccin.user.less b/styles/brave-search/catppuccin.user.less
index 6c712966..25bfd7af 100644
--- a/styles/brave-search/catppuccin.user.less
+++ b/styles/brave-search/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("search.brave.com") {
:root.light {
#catppuccin(@lightFlavor);
@@ -32,46 +34,8 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
&, .is-serp {
--color-page-background: @base;
@@ -215,11 +179,3 @@
}
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/bsky/catppuccin.user.less b/styles/bsky/catppuccin.user.less
index a298fe95..a846f9cf 100644
--- a/styles/bsky/catppuccin.user.less
+++ b/styles/bsky/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("bsky.app") {
html.colorMode--system {
@media (prefers-color-scheme: light) {
@@ -34,46 +36,8 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
// fix general site background - this applies to the element
background-color: @base;
@@ -683,11 +647,3 @@
}
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/bstats/catppuccin.user.less b/styles/bstats/catppuccin.user.less
index 36d2b0f7..719f12b1 100644
--- a/styles/bstats/catppuccin.user.less
+++ b/styles/bstats/catppuccin.user.less
@@ -17,6 +17,8 @@
@var checkbox graphUseAccentColor "Graphs Use Accent" 0
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("bstats.org") {
:root {
@media (prefers-color-scheme: light) {
@@ -28,46 +30,8 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
body,
.collection-header,
@@ -801,11 +765,3 @@
}
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/canvas-lms/catppuccin.user.less b/styles/canvas-lms/catppuccin.user.less
index 95a23d90..24929d3f 100644
--- a/styles/canvas-lms/catppuccin.user.less
+++ b/styles/canvas-lms/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("instructure.com"), domain("instructuremedia.com") {
:root {
@media (prefers-color-scheme: light) {
@@ -26,53 +28,8 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- @text-filter: @catppuccin-filters[@@flavor][@text];
- @red-filter: @catppuccin-filters[@@flavor][@red];
- @blue-filter: @catppuccin-filters[@@flavor][@blue];
- @green-filter: @catppuccin-filters[@@flavor][@green];
- @yellow-filter: @catppuccin-filters[@@flavor][@yellow];
- @surface1-filter: @catppuccin-filters[@@flavor][@surface1];
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
/* GLOBALS/VARIABLES */
--ic-brand-primary: @accent;
@@ -2536,19 +2493,3 @@
}
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
-
-/* deno-fmt-ignore */
-@catppuccin-filters: {
- @latte: { @rosewater: brightness(0) saturate(100%) invert(65%) sepia(18%) saturate(1048%) hue-rotate(323deg) brightness(92%) contrast(86%); @flamingo: brightness(0) saturate(100%) invert(84%) sepia(44%) saturate(4533%) hue-rotate(310deg) brightness(98%) contrast(75%); @pink: brightness(0) saturate(100%) invert(60%) sepia(32%) saturate(775%) hue-rotate(266deg) brightness(93%) contrast(97%); @mauve: brightness(0) saturate(100%) invert(26%) sepia(59%) saturate(3315%) hue-rotate(255deg) brightness(94%) contrast(100%); @red: brightness(0) saturate(100%) invert(16%) sepia(78%) saturate(7275%) hue-rotate(342deg) brightness(84%) contrast(94%); @maroon: brightness(0) saturate(100%) invert(31%) sepia(56%) saturate(2395%) hue-rotate(331deg) brightness(99%) contrast(82%); @peach: brightness(0) saturate(100%) invert(38%) sepia(81%) saturate(1292%) hue-rotate(356deg) brightness(103%) contrast(99%); @yellow: brightness(0) saturate(100%) invert(74%) sepia(47%) saturate(4570%) hue-rotate(354deg) brightness(95%) contrast(83%); @green: brightness(0) saturate(100%) invert(51%) sepia(25%) saturate(4134%) hue-rotate(76deg) brightness(95%) contrast(66%); @teal: brightness(0) saturate(100%) invert(41%) sepia(45%) saturate(1101%) hue-rotate(139deg) brightness(100%) contrast(82%); @sky: brightness(0) saturate(100%) invert(47%) sepia(76%) saturate(2427%) hue-rotate(166deg) brightness(99%) contrast(97%); @sapphire: brightness(0) saturate(100%) invert(52%) sepia(41%) saturate(6982%) hue-rotate(160deg) brightness(102%) contrast(75%); @blue: brightness(0) saturate(100%) invert(30%) sepia(80%) saturate(1850%) hue-rotate(209deg) brightness(94%) contrast(105%); @lavender: brightness(0) saturate(100%) invert(48%) sepia(61%) saturate(538%) hue-rotate(194deg) brightness(102%) contrast(98%); @text: brightness(0) saturate(100%) invert(30%) sepia(10%) saturate(1259%) hue-rotate(196deg) brightness(97%) contrast(91%); @subtext1: brightness(0) saturate(100%) invert(36%) sepia(10%) saturate(890%) hue-rotate(196deg) brightness(98%) contrast(90%); @subtext0: brightness(0) saturate(100%) invert(47%) sepia(6%) saturate(1263%) hue-rotate(195deg) brightness(90%) contrast(81%); @overlay2: brightness(0) saturate(100%) invert(59%) sepia(7%) saturate(825%) hue-rotate(195deg) brightness(83%) contrast(91%); @overlay1: brightness(0) saturate(100%) invert(59%) sepia(14%) saturate(333%) hue-rotate(194deg) brightness(95%) contrast(89%); @overlay0: brightness(0) saturate(100%) invert(85%) sepia(7%) saturate(595%) hue-rotate(191deg) brightness(77%) contrast(81%); @surface2: brightness(0) saturate(100%) invert(86%) sepia(6%) saturate(482%) hue-rotate(189deg) brightness(82%) contrast(88%); @surface1: brightness(0) saturate(100%) invert(85%) sepia(8%) saturate(281%) hue-rotate(187deg) brightness(92%) contrast(88%); @surface0: brightness(0) saturate(100%) invert(96%) sepia(1%) saturate(5123%) hue-rotate(185deg) brightness(93%) contrast(83%); @base: brightness(0) saturate(100%) invert(89%) sepia(5%) saturate(140%) hue-rotate(182deg) brightness(109%) contrast(94%); @mantle: brightness(0) saturate(100%) invert(93%) sepia(19%) saturate(55%) hue-rotate(182deg) brightness(98%) contrast(92%); @crust: brightness(0) saturate(100%) invert(91%) sepia(1%) saturate(4489%) hue-rotate(196deg) brightness(106%) contrast(82%); };
- @frappe: { @rosewater: brightness(0) saturate(100%) invert(90%) sepia(6%) saturate(734%) hue-rotate(321deg) brightness(95%) contrast(99%); @flamingo: brightness(0) saturate(100%) invert(88%) sepia(52%) saturate(817%) hue-rotate(293deg) brightness(113%) contrast(84%); @pink: brightness(0) saturate(100%) invert(76%) sepia(15%) saturate(844%) hue-rotate(280deg) brightness(107%) contrast(91%); @mauve: brightness(0) saturate(100%) invert(71%) sepia(25%) saturate(725%) hue-rotate(225deg) brightness(94%) contrast(91%); @red: brightness(0) saturate(100%) invert(67%) sepia(3%) saturate(7209%) hue-rotate(305deg) brightness(91%) contrast(99%); @maroon: brightness(0) saturate(100%) invert(61%) sepia(14%) saturate(957%) hue-rotate(307deg) brightness(109%) contrast(90%); @peach: brightness(0) saturate(100%) invert(68%) sepia(28%) saturate(662%) hue-rotate(335deg) brightness(96%) contrast(94%); @yellow: brightness(0) saturate(100%) invert(94%) sepia(88%) saturate(684%) hue-rotate(309deg) brightness(105%) contrast(80%); @green: brightness(0) saturate(100%) invert(89%) sepia(23%) saturate(582%) hue-rotate(42deg) brightness(87%) contrast(89%); @teal: brightness(0) saturate(100%) invert(91%) sepia(13%) saturate(986%) hue-rotate(110deg) brightness(85%) contrast(81%); @sky: brightness(0) saturate(100%) invert(75%) sepia(15%) saturate(623%) hue-rotate(141deg) brightness(109%) contrast(81%); @sapphire: brightness(0) saturate(100%) invert(77%) sepia(20%) saturate(730%) hue-rotate(157deg) brightness(97%) contrast(76%); @blue: brightness(0) saturate(100%) invert(68%) sepia(16%) saturate(1070%) hue-rotate(185deg) brightness(96%) contrast(95%); @lavender: brightness(0) saturate(100%) invert(75%) sepia(20%) saturate(626%) hue-rotate(201deg) brightness(101%) contrast(89%); @text: brightness(0) saturate(100%) invert(83%) sepia(12%) saturate(582%) hue-rotate(191deg) brightness(98%) contrast(96%); @subtext1: brightness(0) saturate(100%) invert(80%) sepia(18%) saturate(411%) hue-rotate(190deg) brightness(96%) contrast(84%); @subtext0: brightness(0) saturate(100%) invert(82%) sepia(6%) saturate(1287%) hue-rotate(192deg) brightness(86%) contrast(85%); @overlay2: brightness(0) saturate(100%) invert(65%) sepia(36%) saturate(230%) hue-rotate(190deg) brightness(92%) contrast(82%); @overlay1: brightness(0) saturate(100%) invert(55%) sepia(12%) saturate(638%) hue-rotate(189deg) brightness(98%) contrast(87%); @overlay0: brightness(0) saturate(100%) invert(49%) sepia(13%) saturate(662%) hue-rotate(192deg) brightness(94%) contrast(84%); @surface2: brightness(0) saturate(100%) invert(41%) sepia(20%) saturate(469%) hue-rotate(191deg) brightness(93%) contrast(86%); @surface1: brightness(0) saturate(100%) invert(34%) sepia(14%) saturate(771%) hue-rotate(190deg) brightness(89%) contrast(85%); @surface0: brightness(0) saturate(100%) invert(28%) sepia(7%) saturate(1468%) hue-rotate(193deg) brightness(92%) contrast(95%); @base: brightness(0) saturate(100%) invert(20%) sepia(17%) saturate(747%) hue-rotate(192deg) brightness(96%) contrast(97%); @mantle: brightness(0) saturate(100%) invert(8%) sepia(7%) saturate(7271%) hue-rotate(198deg) brightness(88%) contrast(75%); @crust: brightness(0) saturate(100%) invert(7%) sepia(7%) saturate(7415%) hue-rotate(197deg) brightness(86%) contrast(79%); };
- @macchiato: { @rosewater: brightness(0) saturate(100%) invert(88%) sepia(13%) saturate(322%) hue-rotate(321deg) brightness(102%) contrast(91%); @flamingo: brightness(0) saturate(100%) invert(82%) sepia(3%) saturate(3070%) hue-rotate(314deg) brightness(107%) contrast(88%); @pink: brightness(0) saturate(100%) invert(80%) sepia(23%) saturate(509%) hue-rotate(280deg) brightness(102%) contrast(92%); @mauve: brightness(0) saturate(100%) invert(65%) sepia(18%) saturate(903%) hue-rotate(222deg) brightness(104%) contrast(93%); @red: brightness(0) saturate(100%) invert(61%) sepia(19%) saturate(1541%) hue-rotate(305deg) brightness(110%) contrast(86%); @maroon: brightness(0) saturate(100%) invert(71%) sepia(10%) saturate(1331%) hue-rotate(306deg) brightness(93%) contrast(101%); @peach: brightness(0) saturate(100%) invert(73%) sepia(13%) saturate(1676%) hue-rotate(330deg) brightness(103%) contrast(92%); @yellow: brightness(0) saturate(100%) invert(87%) sepia(89%) saturate(321%) hue-rotate(314deg) brightness(101%) contrast(87%); @green: brightness(0) saturate(100%) invert(93%) sepia(12%) saturate(1128%) hue-rotate(48deg) brightness(92%) contrast(85%); @teal: brightness(0) saturate(100%) invert(92%) sepia(10%) saturate(1176%) hue-rotate(110deg) brightness(87%) contrast(90%); @sky: brightness(0) saturate(100%) invert(78%) sepia(57%) saturate(230%) hue-rotate(142deg) brightness(96%) contrast(84%); @sapphire: brightness(0) saturate(100%) invert(74%) sepia(35%) saturate(438%) hue-rotate(156deg) brightness(92%) contrast(93%); @blue: brightness(0) saturate(100%) invert(67%) sepia(17%) saturate(1007%) hue-rotate(183deg) brightness(99%) contrast(94%); @lavender: brightness(0) saturate(100%) invert(74%) sepia(6%) saturate(2559%) hue-rotate(198deg) brightness(103%) contrast(94%); @text: brightness(0) saturate(100%) invert(81%) sepia(9%) saturate(726%) hue-rotate(192deg) brightness(104%) contrast(92%); @subtext1: brightness(0) saturate(100%) invert(84%) sepia(5%) saturate(1453%) hue-rotate(193deg) brightness(94%) contrast(86%); @subtext0: brightness(0) saturate(100%) invert(75%) sepia(18%) saturate(361%) hue-rotate(190deg) brightness(91%) contrast(86%); @overlay2: brightness(0) saturate(100%) invert(67%) sepia(9%) saturate(814%) hue-rotate(191deg) brightness(92%) contrast(88%); @overlay1: brightness(0) saturate(100%) invert(49%) sepia(38%) saturate(203%) hue-rotate(190deg) brightness(101%) contrast(93%); @overlay0: brightness(0) saturate(100%) invert(46%) sepia(16%) saturate(552%) hue-rotate(193deg) brightness(93%) contrast(84%); @surface2: brightness(0) saturate(100%) invert(34%) sepia(16%) saturate(611%) hue-rotate(192deg) brightness(101%) contrast(87%); @surface1: brightness(0) saturate(100%) invert(30%) sepia(11%) saturate(1085%) hue-rotate(194deg) brightness(92%) contrast(89%); @surface0: brightness(0) saturate(100%) invert(18%) sepia(21%) saturate(880%) hue-rotate(193deg) brightness(97%) contrast(84%); @base: brightness(0) saturate(100%) invert(12%) sepia(42%) saturate(570%) hue-rotate(194deg) brightness(90%) contrast(90%); @mantle: brightness(0) saturate(100%) invert(6%) sepia(6%) saturate(7499%) hue-rotate(200deg) brightness(93%) contrast(85%); @crust: brightness(0) saturate(100%) invert(5%) sepia(8%) saturate(5346%) hue-rotate(202deg) brightness(98%) contrast(88%); };
- @mocha: { @rosewater: brightness(0) saturate(100%) invert(92%) sepia(5%) saturate(704%) hue-rotate(320deg) brightness(99%) contrast(93%); @flamingo: brightness(0) saturate(100%) invert(81%) sepia(5%) saturate(987%) hue-rotate(315deg) brightness(107%) contrast(90%); @pink: brightness(0) saturate(100%) invert(86%) sepia(11%) saturate(1177%) hue-rotate(283deg) brightness(101%) contrast(92%); @mauve: brightness(0) saturate(100%) invert(65%) sepia(58%) saturate(255%) hue-rotate(224deg) brightness(96%) contrast(102%); @red: brightness(0) saturate(100%) invert(61%) sepia(19%) saturate(997%) hue-rotate(294deg) brightness(104%) contrast(91%); @maroon: brightness(0) saturate(100%) invert(66%) sepia(16%) saturate(1301%) hue-rotate(306deg) brightness(116%) contrast(84%); @peach: brightness(0) saturate(100%) invert(68%) sepia(57%) saturate(278%) hue-rotate(338deg) brightness(98%) contrast(101%); @yellow: brightness(0) saturate(100%) invert(90%) sepia(70%) saturate(380%) hue-rotate(313deg) brightness(102%) contrast(95%); @green: brightness(0) saturate(100%) invert(88%) sepia(6%) saturate(2015%) hue-rotate(63deg) brightness(104%) contrast(78%); @teal: brightness(0) saturate(100%) invert(92%) sepia(12%) saturate(991%) hue-rotate(108deg) brightness(93%) contrast(90%); @sky: brightness(0) saturate(100%) invert(84%) sepia(21%) saturate(1302%) hue-rotate(164deg) brightness(106%) contrast(84%); @sapphire: brightness(0) saturate(100%) invert(74%) sepia(20%) saturate(876%) hue-rotate(156deg) brightness(96%) contrast(93%); @blue: brightness(0) saturate(100%) invert(68%) sepia(18%) saturate(951%) hue-rotate(180deg) brightness(98%) contrast(100%); @lavender: brightness(0) saturate(100%) invert(73%) sepia(7%) saturate(1670%) hue-rotate(195deg) brightness(102%) contrast(99%); @text: brightness(0) saturate(100%) invert(86%) sepia(6%) saturate(879%) hue-rotate(190deg) brightness(100%) contrast(93%); @subtext1: brightness(0) saturate(100%) invert(84%) sepia(19%) saturate(381%) hue-rotate(193deg) brightness(91%) contrast(89%); @subtext0: brightness(0) saturate(100%) invert(84%) sepia(9%) saturate(767%) hue-rotate(192deg) brightness(84%) contrast(84%); @overlay2: brightness(0) saturate(100%) invert(63%) sepia(15%) saturate(428%) hue-rotate(191deg) brightness(96%) contrast(84%); @overlay1: brightness(0) saturate(100%) invert(56%) sepia(15%) saturate(455%) hue-rotate(192deg) brightness(90%) contrast(88%); @overlay0: brightness(0) saturate(100%) invert(44%) sepia(6%) saturate(1275%) hue-rotate(194deg) brightness(97%) contrast(88%); @surface2: brightness(0) saturate(100%) invert(34%) sepia(8%) saturate(1015%) hue-rotate(195deg) brightness(99%) contrast(89%); @surface1: brightness(0) saturate(100%) invert(25%) sepia(6%) saturate(1950%) hue-rotate(197deg) brightness(99%) contrast(86%); @surface0: brightness(0) saturate(100%) invert(19%) sepia(5%) saturate(2844%) hue-rotate(199deg) brightness(91%) contrast(93%); @base: brightness(0) saturate(100%) invert(7%) sepia(4%) saturate(7496%) hue-rotate(202deg) brightness(93%) contrast(87%); @mantle: brightness(0) saturate(100%) invert(6%) sepia(4%) saturate(7465%) hue-rotate(202deg) brightness(95%) contrast(90%); @crust: brightness(0) saturate(100%) invert(3%) sepia(13%) saturate(6863%) hue-rotate(220deg) brightness(95%) contrast(91%); };
-};
diff --git a/styles/chatgpt/catppuccin.user.less b/styles/chatgpt/catppuccin.user.less
index 27a00f69..40ee7039 100644
--- a/styles/chatgpt/catppuccin.user.less
+++ b/styles/chatgpt/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("chatgpt.com") {
@import url("https://unpkg.com/@catppuccin/highlightjs@1.0.0/css/catppuccin-variables.important.css");
@@ -27,73 +29,9 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- --ctp-rosewater: @rosewater;
- --ctp-flamingo: @flamingo;
- --ctp-pink: @pink;
- --ctp-mauve: @mauve;
- --ctp-red: @red;
- --ctp-maroon: @maroon;
- --ctp-peach: @peach;
- --ctp-yellow: @yellow;
- --ctp-green: @green;
- --ctp-teal: @teal;
- --ctp-sky: @sky;
- --ctp-sapphire: @sapphire;
- --ctp-blue: @blue;
- --ctp-lavender: @lavender;
- --ctp-text: @text;
- --ctp-subtext1: @subtext1;
- --ctp-subtext0: @subtext0;
- --ctp-overlay2: @overlay2;
- --ctp-overlay1: @overlay1;
- --ctp-overlay0: @overlay0;
- --ctp-surface2: @surface2;
- --ctp-surface1: @surface1;
- --ctp-surface0: @surface0;
- --ctp-base: @base;
- --ctp-mantle: @mantle;
- --ctp-crust: @crust;
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
+ #lib.css-variables();
code.hljs {
background: none !important;
@@ -1007,46 +945,8 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
color: @text;
background-color: @base;
@@ -1152,34 +1052,9 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
+ #lib.palette();
+ // TODO: Can we replace this with defaults? Why is input/textarea placeholder left out?
color-scheme: if(@flavor = latte, light, dark);
::selection {
@@ -1249,15 +1124,3 @@
}
}
}
-
-#rgbify(@color) {
- @rgb: red(@color), green(@color), blue(@color);
-}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/chatreplay/catppuccin.user.less b/styles/chatreplay/catppuccin.user.less
index 90e19f9b..32fa7c19 100644
--- a/styles/chatreplay/catppuccin.user.less
+++ b/styles/chatreplay/catppuccin.user.less
@@ -18,6 +18,8 @@
@var range bg-blur "Background Blur" [20, 0, 100, 1, 'px']
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("chatreplay.stream") {
:root[dark] #chat-container {
#catppuccin(@darkFlavor, chat);
@@ -35,46 +37,8 @@
}
#catppuccin(@flavor, @platform) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
& when (@platform = chat) {
a:not(.username),
@@ -205,11 +169,3 @@
}
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/chess.com/catppuccin.user.less b/styles/chess.com/catppuccin.user.less
index 76ca8f6d..4c6cbb15 100644
--- a/styles/chess.com/catppuccin.user.less
+++ b/styles/chess.com/catppuccin.user.less
@@ -21,6 +21,8 @@
@var checkbox styleBoardAndPieces "Style Board & Pieces" 1
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("chess.com") {
:root {
#catppuccin(@lightFlavor);
@@ -31,52 +33,14 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
+ #lib.palette();
+ #lib.defaults();
@highlight1: @catppuccin[@@flavor][@@highlightColor1];
@highlight2: @catppuccin[@@flavor][@@highlightColor2];
@highlight3: @catppuccin[@@flavor][@@highlightColor3];
@highlight4: @catppuccin[@@flavor][@@highlightColor4];
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
-
--color-bg-opaque: @mantle;
--color-bg-opaque-lighter: @base;
--color-bg-subtle: @surface1;
@@ -779,11 +743,3 @@
}
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/cinny/catppuccin.user.less b/styles/cinny/catppuccin.user.less
index e27725c7..27bd21a3 100644
--- a/styles/cinny/catppuccin.user.less
+++ b/styles/cinny/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("cinny.in") {
@import url("https://prismjs.catppuccin.com/variables.important.css");
code .token {
@@ -32,73 +34,9 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- --ctp-rosewater: @rosewater;
- --ctp-flamingo: @flamingo;
- --ctp-pink: @pink;
- --ctp-mauve: @mauve;
- --ctp-red: @red;
- --ctp-maroon: @maroon;
- --ctp-peach: @peach;
- --ctp-yellow: @yellow;
- --ctp-green: @green;
- --ctp-teal: @teal;
- --ctp-sky: @sky;
- --ctp-sapphire: @sapphire;
- --ctp-blue: @blue;
- --ctp-lavender: @lavender;
- --ctp-text: @text;
- --ctp-subtext1: @subtext1;
- --ctp-subtext0: @subtext0;
- --ctp-overlay2: @overlay2;
- --ctp-overlay1: @overlay1;
- --ctp-overlay0: @overlay0;
- --ctp-surface2: @surface2;
- --ctp-surface1: @surface1;
- --ctp-surface0: @surface0;
- --ctp-base: @base;
- --ctp-mantle: @mantle;
- --ctp-crust: @crust;
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
+ #lib.css-variables();
/* Legacy user colors */
--mx-uc-1: @blue;
@@ -289,11 +227,3 @@
--ic-danger-normal: @maroon;
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/claude/catppuccin.user.less b/styles/claude/catppuccin.user.less
index ac1b0f2c..fcf7ebf1 100644
--- a/styles/claude/catppuccin.user.less
+++ b/styles/claude/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("claude.ai") {
:root[data-mode="dark"] {
#catppuccin(@darkFlavor);
@@ -26,46 +28,8 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
--accent-brand: #hslify(@accent)[];
--accent-main-000: #hslify(@accent)[];
@@ -244,11 +208,3 @@
#hslify(@color) {
@raw: e(%("%s %s% %s%", hue(@color), saturation(@color), lightness(@color)));
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/cobalt/catppuccin.user.less b/styles/cobalt/catppuccin.user.less
index 50059513..acbbf1d3 100644
--- a/styles/cobalt/catppuccin.user.less
+++ b/styles/cobalt/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("cobalt.tools") {
[data-theme="dark"] {
#catppuccin(@darkFlavor);
@@ -24,46 +26,8 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
--primary: @base;
--secondary: @text;
@@ -139,11 +103,3 @@
}
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/codeberg/catppuccin.user.less b/styles/codeberg/catppuccin.user.less
index db92741b..11a40881 100644
--- a/styles/codeberg/catppuccin.user.less
+++ b/styles/codeberg/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("codeberg.org") {
@import (css)
url("https://catppuccin.github.io/gitea/theme-catppuccin-@{lightFlavor}-@{accentColor}.css")
@@ -37,35 +39,8 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- /* Base styles not needed, themed in upstream Gitea port. */
+ #lib.palette();
+ // #lib.defaults(); // Not needed, themed in upstream Gitea port.
--color-body: @base;
--color-nav-text: @crust;
@@ -117,11 +92,3 @@
}
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/crates.io/catppuccin.user.less b/styles/crates.io/catppuccin.user.less
index e3566bb7..51ffd895 100644
--- a/styles/crates.io/catppuccin.user.less
+++ b/styles/crates.io/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("crates.io") {
@import url("https://unpkg.com/@catppuccin/highlightjs@1.0.0/css/catppuccin-variables.important.css");
@@ -39,73 +41,9 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- --ctp-rosewater: @rosewater;
- --ctp-flamingo: @flamingo;
- --ctp-pink: @pink;
- --ctp-mauve: @mauve;
- --ctp-red: @red;
- --ctp-maroon: @maroon;
- --ctp-peach: @peach;
- --ctp-yellow: @yellow;
- --ctp-green: @green;
- --ctp-teal: @teal;
- --ctp-sky: @sky;
- --ctp-sapphire: @sapphire;
- --ctp-blue: @blue;
- --ctp-lavender: @lavender;
- --ctp-text: @text;
- --ctp-subtext1: @subtext1;
- --ctp-subtext0: @subtext0;
- --ctp-overlay2: @overlay2;
- --ctp-overlay1: @overlay1;
- --ctp-overlay0: @overlay0;
- --ctp-surface2: @surface2;
- --ctp-surface1: @surface1;
- --ctp-surface0: @surface0;
- --ctp-base: @base;
- --ctp-mantle: @mantle;
- --ctp-crust: @crust;
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
+ #lib.css-variables();
&,
* {
@@ -320,15 +258,3 @@
}
}
}
-
-#rgbify(@color) {
- @rgb: red(@color), green(@color), blue(@color);
-}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/crowdin/catppuccin.user.less b/styles/crowdin/catppuccin.user.less
index 241ad7df..8cc83609 100644
--- a/styles/crowdin/catppuccin.user.less
+++ b/styles/crowdin/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document regexp("https://crowdin.com(?!/translate).*") {
:root {
@media (prefers-color-scheme: light) {
@@ -26,46 +28,8 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
:root:root:root:root:root {
--app-bg: @mantle;
@@ -108,46 +72,8 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
body {
background-color: @mantle !important;
@@ -192,11 +118,3 @@
}
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/deepl/catppuccin.user.less b/styles/deepl/catppuccin.user.less
index 33280d9d..8b9692aa 100644
--- a/styles/deepl/catppuccin.user.less
+++ b/styles/deepl/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document regexp("https:\\/\\/www.deepl.com\\/?(.*\\/)translator.*$") {
:root {
@media (prefers-color-scheme: light) {
@@ -26,49 +28,8 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- @text-filter: @catppuccin-filters[@@flavor][@text];
- @blue-filter: @catppuccin-filters[@@flavor][@blue];
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
/* header */
.BasePageHeader-module--container--d81cb {
@@ -332,19 +293,3 @@
}
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
-
-/* deno-fmt-ignore */
-@catppuccin-filters: {
- @latte: { @rosewater: brightness(0) saturate(100%) invert(65%) sepia(18%) saturate(1048%) hue-rotate(323deg) brightness(92%) contrast(86%); @flamingo: brightness(0) saturate(100%) invert(84%) sepia(44%) saturate(4533%) hue-rotate(310deg) brightness(98%) contrast(75%); @pink: brightness(0) saturate(100%) invert(60%) sepia(32%) saturate(775%) hue-rotate(266deg) brightness(93%) contrast(97%); @mauve: brightness(0) saturate(100%) invert(26%) sepia(59%) saturate(3315%) hue-rotate(255deg) brightness(94%) contrast(100%); @red: brightness(0) saturate(100%) invert(16%) sepia(78%) saturate(7275%) hue-rotate(342deg) brightness(84%) contrast(94%); @maroon: brightness(0) saturate(100%) invert(31%) sepia(56%) saturate(2395%) hue-rotate(331deg) brightness(99%) contrast(82%); @peach: brightness(0) saturate(100%) invert(38%) sepia(81%) saturate(1292%) hue-rotate(356deg) brightness(103%) contrast(99%); @yellow: brightness(0) saturate(100%) invert(74%) sepia(47%) saturate(4570%) hue-rotate(354deg) brightness(95%) contrast(83%); @green: brightness(0) saturate(100%) invert(51%) sepia(25%) saturate(4134%) hue-rotate(76deg) brightness(95%) contrast(66%); @teal: brightness(0) saturate(100%) invert(41%) sepia(45%) saturate(1101%) hue-rotate(139deg) brightness(100%) contrast(82%); @sky: brightness(0) saturate(100%) invert(47%) sepia(76%) saturate(2427%) hue-rotate(166deg) brightness(99%) contrast(97%); @sapphire: brightness(0) saturate(100%) invert(52%) sepia(41%) saturate(6982%) hue-rotate(160deg) brightness(102%) contrast(75%); @blue: brightness(0) saturate(100%) invert(30%) sepia(80%) saturate(1850%) hue-rotate(209deg) brightness(94%) contrast(105%); @lavender: brightness(0) saturate(100%) invert(48%) sepia(61%) saturate(538%) hue-rotate(194deg) brightness(102%) contrast(98%); @text: brightness(0) saturate(100%) invert(30%) sepia(10%) saturate(1259%) hue-rotate(196deg) brightness(97%) contrast(91%); @subtext1: brightness(0) saturate(100%) invert(36%) sepia(10%) saturate(890%) hue-rotate(196deg) brightness(98%) contrast(90%); @subtext0: brightness(0) saturate(100%) invert(47%) sepia(6%) saturate(1263%) hue-rotate(195deg) brightness(90%) contrast(81%); @overlay2: brightness(0) saturate(100%) invert(59%) sepia(7%) saturate(825%) hue-rotate(195deg) brightness(83%) contrast(91%); @overlay1: brightness(0) saturate(100%) invert(59%) sepia(14%) saturate(333%) hue-rotate(194deg) brightness(95%) contrast(89%); @overlay0: brightness(0) saturate(100%) invert(85%) sepia(7%) saturate(595%) hue-rotate(191deg) brightness(77%) contrast(81%); @surface2: brightness(0) saturate(100%) invert(86%) sepia(6%) saturate(482%) hue-rotate(189deg) brightness(82%) contrast(88%); @surface1: brightness(0) saturate(100%) invert(85%) sepia(8%) saturate(281%) hue-rotate(187deg) brightness(92%) contrast(88%); @surface0: brightness(0) saturate(100%) invert(96%) sepia(1%) saturate(5123%) hue-rotate(185deg) brightness(93%) contrast(83%); @base: brightness(0) saturate(100%) invert(89%) sepia(5%) saturate(140%) hue-rotate(182deg) brightness(109%) contrast(94%); @mantle: brightness(0) saturate(100%) invert(93%) sepia(19%) saturate(55%) hue-rotate(182deg) brightness(98%) contrast(92%); @crust: brightness(0) saturate(100%) invert(91%) sepia(1%) saturate(4489%) hue-rotate(196deg) brightness(106%) contrast(82%); };
- @frappe: { @rosewater: brightness(0) saturate(100%) invert(90%) sepia(6%) saturate(734%) hue-rotate(321deg) brightness(95%) contrast(99%); @flamingo: brightness(0) saturate(100%) invert(88%) sepia(52%) saturate(817%) hue-rotate(293deg) brightness(113%) contrast(84%); @pink: brightness(0) saturate(100%) invert(76%) sepia(15%) saturate(844%) hue-rotate(280deg) brightness(107%) contrast(91%); @mauve: brightness(0) saturate(100%) invert(71%) sepia(25%) saturate(725%) hue-rotate(225deg) brightness(94%) contrast(91%); @red: brightness(0) saturate(100%) invert(67%) sepia(3%) saturate(7209%) hue-rotate(305deg) brightness(91%) contrast(99%); @maroon: brightness(0) saturate(100%) invert(61%) sepia(14%) saturate(957%) hue-rotate(307deg) brightness(109%) contrast(90%); @peach: brightness(0) saturate(100%) invert(68%) sepia(28%) saturate(662%) hue-rotate(335deg) brightness(96%) contrast(94%); @yellow: brightness(0) saturate(100%) invert(94%) sepia(88%) saturate(684%) hue-rotate(309deg) brightness(105%) contrast(80%); @green: brightness(0) saturate(100%) invert(89%) sepia(23%) saturate(582%) hue-rotate(42deg) brightness(87%) contrast(89%); @teal: brightness(0) saturate(100%) invert(91%) sepia(13%) saturate(986%) hue-rotate(110deg) brightness(85%) contrast(81%); @sky: brightness(0) saturate(100%) invert(75%) sepia(15%) saturate(623%) hue-rotate(141deg) brightness(109%) contrast(81%); @sapphire: brightness(0) saturate(100%) invert(77%) sepia(20%) saturate(730%) hue-rotate(157deg) brightness(97%) contrast(76%); @blue: brightness(0) saturate(100%) invert(68%) sepia(16%) saturate(1070%) hue-rotate(185deg) brightness(96%) contrast(95%); @lavender: brightness(0) saturate(100%) invert(75%) sepia(20%) saturate(626%) hue-rotate(201deg) brightness(101%) contrast(89%); @text: brightness(0) saturate(100%) invert(83%) sepia(12%) saturate(582%) hue-rotate(191deg) brightness(98%) contrast(96%); @subtext1: brightness(0) saturate(100%) invert(80%) sepia(18%) saturate(411%) hue-rotate(190deg) brightness(96%) contrast(84%); @subtext0: brightness(0) saturate(100%) invert(82%) sepia(6%) saturate(1287%) hue-rotate(192deg) brightness(86%) contrast(85%); @overlay2: brightness(0) saturate(100%) invert(65%) sepia(36%) saturate(230%) hue-rotate(190deg) brightness(92%) contrast(82%); @overlay1: brightness(0) saturate(100%) invert(55%) sepia(12%) saturate(638%) hue-rotate(189deg) brightness(98%) contrast(87%); @overlay0: brightness(0) saturate(100%) invert(49%) sepia(13%) saturate(662%) hue-rotate(192deg) brightness(94%) contrast(84%); @surface2: brightness(0) saturate(100%) invert(41%) sepia(20%) saturate(469%) hue-rotate(191deg) brightness(93%) contrast(86%); @surface1: brightness(0) saturate(100%) invert(34%) sepia(14%) saturate(771%) hue-rotate(190deg) brightness(89%) contrast(85%); @surface0: brightness(0) saturate(100%) invert(28%) sepia(7%) saturate(1468%) hue-rotate(193deg) brightness(92%) contrast(95%); @base: brightness(0) saturate(100%) invert(20%) sepia(17%) saturate(747%) hue-rotate(192deg) brightness(96%) contrast(97%); @mantle: brightness(0) saturate(100%) invert(8%) sepia(7%) saturate(7271%) hue-rotate(198deg) brightness(88%) contrast(75%); @crust: brightness(0) saturate(100%) invert(7%) sepia(7%) saturate(7415%) hue-rotate(197deg) brightness(86%) contrast(79%); };
- @macchiato: { @rosewater: brightness(0) saturate(100%) invert(88%) sepia(13%) saturate(322%) hue-rotate(321deg) brightness(102%) contrast(91%); @flamingo: brightness(0) saturate(100%) invert(82%) sepia(3%) saturate(3070%) hue-rotate(314deg) brightness(107%) contrast(88%); @pink: brightness(0) saturate(100%) invert(80%) sepia(23%) saturate(509%) hue-rotate(280deg) brightness(102%) contrast(92%); @mauve: brightness(0) saturate(100%) invert(65%) sepia(18%) saturate(903%) hue-rotate(222deg) brightness(104%) contrast(93%); @red: brightness(0) saturate(100%) invert(61%) sepia(19%) saturate(1541%) hue-rotate(305deg) brightness(110%) contrast(86%); @maroon: brightness(0) saturate(100%) invert(71%) sepia(10%) saturate(1331%) hue-rotate(306deg) brightness(93%) contrast(101%); @peach: brightness(0) saturate(100%) invert(73%) sepia(13%) saturate(1676%) hue-rotate(330deg) brightness(103%) contrast(92%); @yellow: brightness(0) saturate(100%) invert(87%) sepia(89%) saturate(321%) hue-rotate(314deg) brightness(101%) contrast(87%); @green: brightness(0) saturate(100%) invert(93%) sepia(12%) saturate(1128%) hue-rotate(48deg) brightness(92%) contrast(85%); @teal: brightness(0) saturate(100%) invert(92%) sepia(10%) saturate(1176%) hue-rotate(110deg) brightness(87%) contrast(90%); @sky: brightness(0) saturate(100%) invert(78%) sepia(57%) saturate(230%) hue-rotate(142deg) brightness(96%) contrast(84%); @sapphire: brightness(0) saturate(100%) invert(74%) sepia(35%) saturate(438%) hue-rotate(156deg) brightness(92%) contrast(93%); @blue: brightness(0) saturate(100%) invert(67%) sepia(17%) saturate(1007%) hue-rotate(183deg) brightness(99%) contrast(94%); @lavender: brightness(0) saturate(100%) invert(74%) sepia(6%) saturate(2559%) hue-rotate(198deg) brightness(103%) contrast(94%); @text: brightness(0) saturate(100%) invert(81%) sepia(9%) saturate(726%) hue-rotate(192deg) brightness(104%) contrast(92%); @subtext1: brightness(0) saturate(100%) invert(84%) sepia(5%) saturate(1453%) hue-rotate(193deg) brightness(94%) contrast(86%); @subtext0: brightness(0) saturate(100%) invert(75%) sepia(18%) saturate(361%) hue-rotate(190deg) brightness(91%) contrast(86%); @overlay2: brightness(0) saturate(100%) invert(67%) sepia(9%) saturate(814%) hue-rotate(191deg) brightness(92%) contrast(88%); @overlay1: brightness(0) saturate(100%) invert(49%) sepia(38%) saturate(203%) hue-rotate(190deg) brightness(101%) contrast(93%); @overlay0: brightness(0) saturate(100%) invert(46%) sepia(16%) saturate(552%) hue-rotate(193deg) brightness(93%) contrast(84%); @surface2: brightness(0) saturate(100%) invert(34%) sepia(16%) saturate(611%) hue-rotate(192deg) brightness(101%) contrast(87%); @surface1: brightness(0) saturate(100%) invert(30%) sepia(11%) saturate(1085%) hue-rotate(194deg) brightness(92%) contrast(89%); @surface0: brightness(0) saturate(100%) invert(18%) sepia(21%) saturate(880%) hue-rotate(193deg) brightness(97%) contrast(84%); @base: brightness(0) saturate(100%) invert(12%) sepia(42%) saturate(570%) hue-rotate(194deg) brightness(90%) contrast(90%); @mantle: brightness(0) saturate(100%) invert(6%) sepia(6%) saturate(7499%) hue-rotate(200deg) brightness(93%) contrast(85%); @crust: brightness(0) saturate(100%) invert(5%) sepia(8%) saturate(5346%) hue-rotate(202deg) brightness(98%) contrast(88%); };
- @mocha: { @rosewater: brightness(0) saturate(100%) invert(92%) sepia(5%) saturate(704%) hue-rotate(320deg) brightness(99%) contrast(93%); @flamingo: brightness(0) saturate(100%) invert(81%) sepia(5%) saturate(987%) hue-rotate(315deg) brightness(107%) contrast(90%); @pink: brightness(0) saturate(100%) invert(86%) sepia(11%) saturate(1177%) hue-rotate(283deg) brightness(101%) contrast(92%); @mauve: brightness(0) saturate(100%) invert(65%) sepia(58%) saturate(255%) hue-rotate(224deg) brightness(96%) contrast(102%); @red: brightness(0) saturate(100%) invert(61%) sepia(19%) saturate(997%) hue-rotate(294deg) brightness(104%) contrast(91%); @maroon: brightness(0) saturate(100%) invert(66%) sepia(16%) saturate(1301%) hue-rotate(306deg) brightness(116%) contrast(84%); @peach: brightness(0) saturate(100%) invert(68%) sepia(57%) saturate(278%) hue-rotate(338deg) brightness(98%) contrast(101%); @yellow: brightness(0) saturate(100%) invert(90%) sepia(70%) saturate(380%) hue-rotate(313deg) brightness(102%) contrast(95%); @green: brightness(0) saturate(100%) invert(88%) sepia(6%) saturate(2015%) hue-rotate(63deg) brightness(104%) contrast(78%); @teal: brightness(0) saturate(100%) invert(92%) sepia(12%) saturate(991%) hue-rotate(108deg) brightness(93%) contrast(90%); @sky: brightness(0) saturate(100%) invert(84%) sepia(21%) saturate(1302%) hue-rotate(164deg) brightness(106%) contrast(84%); @sapphire: brightness(0) saturate(100%) invert(74%) sepia(20%) saturate(876%) hue-rotate(156deg) brightness(96%) contrast(93%); @blue: brightness(0) saturate(100%) invert(68%) sepia(18%) saturate(951%) hue-rotate(180deg) brightness(98%) contrast(100%); @lavender: brightness(0) saturate(100%) invert(73%) sepia(7%) saturate(1670%) hue-rotate(195deg) brightness(102%) contrast(99%); @text: brightness(0) saturate(100%) invert(86%) sepia(6%) saturate(879%) hue-rotate(190deg) brightness(100%) contrast(93%); @subtext1: brightness(0) saturate(100%) invert(84%) sepia(19%) saturate(381%) hue-rotate(193deg) brightness(91%) contrast(89%); @subtext0: brightness(0) saturate(100%) invert(84%) sepia(9%) saturate(767%) hue-rotate(192deg) brightness(84%) contrast(84%); @overlay2: brightness(0) saturate(100%) invert(63%) sepia(15%) saturate(428%) hue-rotate(191deg) brightness(96%) contrast(84%); @overlay1: brightness(0) saturate(100%) invert(56%) sepia(15%) saturate(455%) hue-rotate(192deg) brightness(90%) contrast(88%); @overlay0: brightness(0) saturate(100%) invert(44%) sepia(6%) saturate(1275%) hue-rotate(194deg) brightness(97%) contrast(88%); @surface2: brightness(0) saturate(100%) invert(34%) sepia(8%) saturate(1015%) hue-rotate(195deg) brightness(99%) contrast(89%); @surface1: brightness(0) saturate(100%) invert(25%) sepia(6%) saturate(1950%) hue-rotate(197deg) brightness(99%) contrast(86%); @surface0: brightness(0) saturate(100%) invert(19%) sepia(5%) saturate(2844%) hue-rotate(199deg) brightness(91%) contrast(93%); @base: brightness(0) saturate(100%) invert(7%) sepia(4%) saturate(7496%) hue-rotate(202deg) brightness(93%) contrast(87%); @mantle: brightness(0) saturate(100%) invert(6%) sepia(4%) saturate(7465%) hue-rotate(202deg) brightness(95%) contrast(90%); @crust: brightness(0) saturate(100%) invert(3%) sepia(13%) saturate(6863%) hue-rotate(220deg) brightness(95%) contrast(91%); };
-};
diff --git a/styles/desmos/catppuccin.user.less b/styles/desmos/catppuccin.user.less
index a49a4939..ec79df0e 100644
--- a/styles/desmos/catppuccin.user.less
+++ b/styles/desmos/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document regexp(
"^(https?:\/\/)(?!(cl|teacher|student)\.desmos\.com)([a-zA-Z0-9-]+\.)?desmos\.com(\/.*)?$"
) {
@@ -31,76 +33,9 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- --ctp-rosewater: @rosewater;
- --ctp-flamingo: @flamingo;
- --ctp-pink: @pink;
- --ctp-mauve: @mauve;
- --ctp-red: @red;
- --ctp-maroon: @maroon;
- --ctp-peach: @peach;
- --ctp-yellow: @yellow;
- --ctp-green: @green;
- --ctp-teal: @teal;
- --ctp-sky: @sky;
- --ctp-sapphire: @sapphire;
- --ctp-blue: @blue;
- --ctp-lavender: @lavender;
- --ctp-text: @text;
- --ctp-subtext1: @subtext1;
- --ctp-subtext0: @subtext0;
- --ctp-overlay2: @overlay2;
- --ctp-overlay1: @overlay1;
- --ctp-overlay0: @overlay0;
- --ctp-surface2: @surface2;
- --ctp-surface1: @surface1;
- --ctp-surface0: @surface0;
- --ctp-base: @base;
- --ctp-mantle: @mantle;
- --ctp-crust: @crust;
-
- @text-filter: @catppuccin-filters[@@flavor][@text];
- @accent-filter: @catppuccin-filters[@@flavor][@@accentColor];
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
+ #lib.css-variables();
.dcg-desmos-svg-logo g {
fill: @text;
@@ -1222,19 +1157,3 @@
}
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
-
-/* deno-fmt-ignore */
-@catppuccin-filters: {
- @latte: { @rosewater: brightness(0) saturate(100%) invert(65%) sepia(18%) saturate(1048%) hue-rotate(323deg) brightness(92%) contrast(86%); @flamingo: brightness(0) saturate(100%) invert(84%) sepia(44%) saturate(4533%) hue-rotate(310deg) brightness(98%) contrast(75%); @pink: brightness(0) saturate(100%) invert(60%) sepia(32%) saturate(775%) hue-rotate(266deg) brightness(93%) contrast(97%); @mauve: brightness(0) saturate(100%) invert(26%) sepia(59%) saturate(3315%) hue-rotate(255deg) brightness(94%) contrast(100%); @red: brightness(0) saturate(100%) invert(16%) sepia(78%) saturate(7275%) hue-rotate(342deg) brightness(84%) contrast(94%); @maroon: brightness(0) saturate(100%) invert(31%) sepia(56%) saturate(2395%) hue-rotate(331deg) brightness(99%) contrast(82%); @peach: brightness(0) saturate(100%) invert(38%) sepia(81%) saturate(1292%) hue-rotate(356deg) brightness(103%) contrast(99%); @yellow: brightness(0) saturate(100%) invert(74%) sepia(47%) saturate(4570%) hue-rotate(354deg) brightness(95%) contrast(83%); @green: brightness(0) saturate(100%) invert(51%) sepia(25%) saturate(4134%) hue-rotate(76deg) brightness(95%) contrast(66%); @teal: brightness(0) saturate(100%) invert(41%) sepia(45%) saturate(1101%) hue-rotate(139deg) brightness(100%) contrast(82%); @sky: brightness(0) saturate(100%) invert(47%) sepia(76%) saturate(2427%) hue-rotate(166deg) brightness(99%) contrast(97%); @sapphire: brightness(0) saturate(100%) invert(52%) sepia(41%) saturate(6982%) hue-rotate(160deg) brightness(102%) contrast(75%); @blue: brightness(0) saturate(100%) invert(30%) sepia(80%) saturate(1850%) hue-rotate(209deg) brightness(94%) contrast(105%); @lavender: brightness(0) saturate(100%) invert(48%) sepia(61%) saturate(538%) hue-rotate(194deg) brightness(102%) contrast(98%); @text: brightness(0) saturate(100%) invert(30%) sepia(10%) saturate(1259%) hue-rotate(196deg) brightness(97%) contrast(91%); @subtext1: brightness(0) saturate(100%) invert(36%) sepia(10%) saturate(890%) hue-rotate(196deg) brightness(98%) contrast(90%); @subtext0: brightness(0) saturate(100%) invert(47%) sepia(6%) saturate(1263%) hue-rotate(195deg) brightness(90%) contrast(81%); @overlay2: brightness(0) saturate(100%) invert(59%) sepia(7%) saturate(825%) hue-rotate(195deg) brightness(83%) contrast(91%); @overlay1: brightness(0) saturate(100%) invert(59%) sepia(14%) saturate(333%) hue-rotate(194deg) brightness(95%) contrast(89%); @overlay0: brightness(0) saturate(100%) invert(85%) sepia(7%) saturate(595%) hue-rotate(191deg) brightness(77%) contrast(81%); @surface2: brightness(0) saturate(100%) invert(86%) sepia(6%) saturate(482%) hue-rotate(189deg) brightness(82%) contrast(88%); @surface1: brightness(0) saturate(100%) invert(85%) sepia(8%) saturate(281%) hue-rotate(187deg) brightness(92%) contrast(88%); @surface0: brightness(0) saturate(100%) invert(96%) sepia(1%) saturate(5123%) hue-rotate(185deg) brightness(93%) contrast(83%); @base: brightness(0) saturate(100%) invert(89%) sepia(5%) saturate(140%) hue-rotate(182deg) brightness(109%) contrast(94%); @mantle: brightness(0) saturate(100%) invert(93%) sepia(19%) saturate(55%) hue-rotate(182deg) brightness(98%) contrast(92%); @crust: brightness(0) saturate(100%) invert(91%) sepia(1%) saturate(4489%) hue-rotate(196deg) brightness(106%) contrast(82%); };
- @frappe: { @rosewater: brightness(0) saturate(100%) invert(90%) sepia(6%) saturate(734%) hue-rotate(321deg) brightness(95%) contrast(99%); @flamingo: brightness(0) saturate(100%) invert(88%) sepia(52%) saturate(817%) hue-rotate(293deg) brightness(113%) contrast(84%); @pink: brightness(0) saturate(100%) invert(76%) sepia(15%) saturate(844%) hue-rotate(280deg) brightness(107%) contrast(91%); @mauve: brightness(0) saturate(100%) invert(71%) sepia(25%) saturate(725%) hue-rotate(225deg) brightness(94%) contrast(91%); @red: brightness(0) saturate(100%) invert(67%) sepia(3%) saturate(7209%) hue-rotate(305deg) brightness(91%) contrast(99%); @maroon: brightness(0) saturate(100%) invert(61%) sepia(14%) saturate(957%) hue-rotate(307deg) brightness(109%) contrast(90%); @peach: brightness(0) saturate(100%) invert(68%) sepia(28%) saturate(662%) hue-rotate(335deg) brightness(96%) contrast(94%); @yellow: brightness(0) saturate(100%) invert(94%) sepia(88%) saturate(684%) hue-rotate(309deg) brightness(105%) contrast(80%); @green: brightness(0) saturate(100%) invert(89%) sepia(23%) saturate(582%) hue-rotate(42deg) brightness(87%) contrast(89%); @teal: brightness(0) saturate(100%) invert(91%) sepia(13%) saturate(986%) hue-rotate(110deg) brightness(85%) contrast(81%); @sky: brightness(0) saturate(100%) invert(75%) sepia(15%) saturate(623%) hue-rotate(141deg) brightness(109%) contrast(81%); @sapphire: brightness(0) saturate(100%) invert(77%) sepia(20%) saturate(730%) hue-rotate(157deg) brightness(97%) contrast(76%); @blue: brightness(0) saturate(100%) invert(68%) sepia(16%) saturate(1070%) hue-rotate(185deg) brightness(96%) contrast(95%); @lavender: brightness(0) saturate(100%) invert(75%) sepia(20%) saturate(626%) hue-rotate(201deg) brightness(101%) contrast(89%); @text: brightness(0) saturate(100%) invert(83%) sepia(12%) saturate(582%) hue-rotate(191deg) brightness(98%) contrast(96%); @subtext1: brightness(0) saturate(100%) invert(80%) sepia(18%) saturate(411%) hue-rotate(190deg) brightness(96%) contrast(84%); @subtext0: brightness(0) saturate(100%) invert(82%) sepia(6%) saturate(1287%) hue-rotate(192deg) brightness(86%) contrast(85%); @overlay2: brightness(0) saturate(100%) invert(65%) sepia(36%) saturate(230%) hue-rotate(190deg) brightness(92%) contrast(82%); @overlay1: brightness(0) saturate(100%) invert(55%) sepia(12%) saturate(638%) hue-rotate(189deg) brightness(98%) contrast(87%); @overlay0: brightness(0) saturate(100%) invert(49%) sepia(13%) saturate(662%) hue-rotate(192deg) brightness(94%) contrast(84%); @surface2: brightness(0) saturate(100%) invert(41%) sepia(20%) saturate(469%) hue-rotate(191deg) brightness(93%) contrast(86%); @surface1: brightness(0) saturate(100%) invert(34%) sepia(14%) saturate(771%) hue-rotate(190deg) brightness(89%) contrast(85%); @surface0: brightness(0) saturate(100%) invert(28%) sepia(7%) saturate(1468%) hue-rotate(193deg) brightness(92%) contrast(95%); @base: brightness(0) saturate(100%) invert(20%) sepia(17%) saturate(747%) hue-rotate(192deg) brightness(96%) contrast(97%); @mantle: brightness(0) saturate(100%) invert(8%) sepia(7%) saturate(7271%) hue-rotate(198deg) brightness(88%) contrast(75%); @crust: brightness(0) saturate(100%) invert(7%) sepia(7%) saturate(7415%) hue-rotate(197deg) brightness(86%) contrast(79%); };
- @macchiato: { @rosewater: brightness(0) saturate(100%) invert(88%) sepia(13%) saturate(322%) hue-rotate(321deg) brightness(102%) contrast(91%); @flamingo: brightness(0) saturate(100%) invert(82%) sepia(3%) saturate(3070%) hue-rotate(314deg) brightness(107%) contrast(88%); @pink: brightness(0) saturate(100%) invert(80%) sepia(23%) saturate(509%) hue-rotate(280deg) brightness(102%) contrast(92%); @mauve: brightness(0) saturate(100%) invert(65%) sepia(18%) saturate(903%) hue-rotate(222deg) brightness(104%) contrast(93%); @red: brightness(0) saturate(100%) invert(61%) sepia(19%) saturate(1541%) hue-rotate(305deg) brightness(110%) contrast(86%); @maroon: brightness(0) saturate(100%) invert(71%) sepia(10%) saturate(1331%) hue-rotate(306deg) brightness(93%) contrast(101%); @peach: brightness(0) saturate(100%) invert(73%) sepia(13%) saturate(1676%) hue-rotate(330deg) brightness(103%) contrast(92%); @yellow: brightness(0) saturate(100%) invert(87%) sepia(89%) saturate(321%) hue-rotate(314deg) brightness(101%) contrast(87%); @green: brightness(0) saturate(100%) invert(93%) sepia(12%) saturate(1128%) hue-rotate(48deg) brightness(92%) contrast(85%); @teal: brightness(0) saturate(100%) invert(92%) sepia(10%) saturate(1176%) hue-rotate(110deg) brightness(87%) contrast(90%); @sky: brightness(0) saturate(100%) invert(78%) sepia(57%) saturate(230%) hue-rotate(142deg) brightness(96%) contrast(84%); @sapphire: brightness(0) saturate(100%) invert(74%) sepia(35%) saturate(438%) hue-rotate(156deg) brightness(92%) contrast(93%); @blue: brightness(0) saturate(100%) invert(67%) sepia(17%) saturate(1007%) hue-rotate(183deg) brightness(99%) contrast(94%); @lavender: brightness(0) saturate(100%) invert(74%) sepia(6%) saturate(2559%) hue-rotate(198deg) brightness(103%) contrast(94%); @text: brightness(0) saturate(100%) invert(81%) sepia(9%) saturate(726%) hue-rotate(192deg) brightness(104%) contrast(92%); @subtext1: brightness(0) saturate(100%) invert(84%) sepia(5%) saturate(1453%) hue-rotate(193deg) brightness(94%) contrast(86%); @subtext0: brightness(0) saturate(100%) invert(75%) sepia(18%) saturate(361%) hue-rotate(190deg) brightness(91%) contrast(86%); @overlay2: brightness(0) saturate(100%) invert(67%) sepia(9%) saturate(814%) hue-rotate(191deg) brightness(92%) contrast(88%); @overlay1: brightness(0) saturate(100%) invert(49%) sepia(38%) saturate(203%) hue-rotate(190deg) brightness(101%) contrast(93%); @overlay0: brightness(0) saturate(100%) invert(46%) sepia(16%) saturate(552%) hue-rotate(193deg) brightness(93%) contrast(84%); @surface2: brightness(0) saturate(100%) invert(34%) sepia(16%) saturate(611%) hue-rotate(192deg) brightness(101%) contrast(87%); @surface1: brightness(0) saturate(100%) invert(30%) sepia(11%) saturate(1085%) hue-rotate(194deg) brightness(92%) contrast(89%); @surface0: brightness(0) saturate(100%) invert(18%) sepia(21%) saturate(880%) hue-rotate(193deg) brightness(97%) contrast(84%); @base: brightness(0) saturate(100%) invert(12%) sepia(42%) saturate(570%) hue-rotate(194deg) brightness(90%) contrast(90%); @mantle: brightness(0) saturate(100%) invert(6%) sepia(6%) saturate(7499%) hue-rotate(200deg) brightness(93%) contrast(85%); @crust: brightness(0) saturate(100%) invert(5%) sepia(8%) saturate(5346%) hue-rotate(202deg) brightness(98%) contrast(88%); };
- @mocha: { @rosewater: brightness(0) saturate(100%) invert(92%) sepia(5%) saturate(704%) hue-rotate(320deg) brightness(99%) contrast(93%); @flamingo: brightness(0) saturate(100%) invert(81%) sepia(5%) saturate(987%) hue-rotate(315deg) brightness(107%) contrast(90%); @pink: brightness(0) saturate(100%) invert(86%) sepia(11%) saturate(1177%) hue-rotate(283deg) brightness(101%) contrast(92%); @mauve: brightness(0) saturate(100%) invert(65%) sepia(58%) saturate(255%) hue-rotate(224deg) brightness(96%) contrast(102%); @red: brightness(0) saturate(100%) invert(61%) sepia(19%) saturate(997%) hue-rotate(294deg) brightness(104%) contrast(91%); @maroon: brightness(0) saturate(100%) invert(66%) sepia(16%) saturate(1301%) hue-rotate(306deg) brightness(116%) contrast(84%); @peach: brightness(0) saturate(100%) invert(68%) sepia(57%) saturate(278%) hue-rotate(338deg) brightness(98%) contrast(101%); @yellow: brightness(0) saturate(100%) invert(90%) sepia(70%) saturate(380%) hue-rotate(313deg) brightness(102%) contrast(95%); @green: brightness(0) saturate(100%) invert(88%) sepia(6%) saturate(2015%) hue-rotate(63deg) brightness(104%) contrast(78%); @teal: brightness(0) saturate(100%) invert(92%) sepia(12%) saturate(991%) hue-rotate(108deg) brightness(93%) contrast(90%); @sky: brightness(0) saturate(100%) invert(84%) sepia(21%) saturate(1302%) hue-rotate(164deg) brightness(106%) contrast(84%); @sapphire: brightness(0) saturate(100%) invert(74%) sepia(20%) saturate(876%) hue-rotate(156deg) brightness(96%) contrast(93%); @blue: brightness(0) saturate(100%) invert(68%) sepia(18%) saturate(951%) hue-rotate(180deg) brightness(98%) contrast(100%); @lavender: brightness(0) saturate(100%) invert(73%) sepia(7%) saturate(1670%) hue-rotate(195deg) brightness(102%) contrast(99%); @text: brightness(0) saturate(100%) invert(86%) sepia(6%) saturate(879%) hue-rotate(190deg) brightness(100%) contrast(93%); @subtext1: brightness(0) saturate(100%) invert(84%) sepia(19%) saturate(381%) hue-rotate(193deg) brightness(91%) contrast(89%); @subtext0: brightness(0) saturate(100%) invert(84%) sepia(9%) saturate(767%) hue-rotate(192deg) brightness(84%) contrast(84%); @overlay2: brightness(0) saturate(100%) invert(63%) sepia(15%) saturate(428%) hue-rotate(191deg) brightness(96%) contrast(84%); @overlay1: brightness(0) saturate(100%) invert(56%) sepia(15%) saturate(455%) hue-rotate(192deg) brightness(90%) contrast(88%); @overlay0: brightness(0) saturate(100%) invert(44%) sepia(6%) saturate(1275%) hue-rotate(194deg) brightness(97%) contrast(88%); @surface2: brightness(0) saturate(100%) invert(34%) sepia(8%) saturate(1015%) hue-rotate(195deg) brightness(99%) contrast(89%); @surface1: brightness(0) saturate(100%) invert(25%) sepia(6%) saturate(1950%) hue-rotate(197deg) brightness(99%) contrast(86%); @surface0: brightness(0) saturate(100%) invert(19%) sepia(5%) saturate(2844%) hue-rotate(199deg) brightness(91%) contrast(93%); @base: brightness(0) saturate(100%) invert(7%) sepia(4%) saturate(7496%) hue-rotate(202deg) brightness(93%) contrast(87%); @mantle: brightness(0) saturate(100%) invert(6%) sepia(4%) saturate(7465%) hue-rotate(202deg) brightness(95%) contrast(90%); @crust: brightness(0) saturate(100%) invert(3%) sepia(13%) saturate(6863%) hue-rotate(220deg) brightness(95%) contrast(91%); };
-};
diff --git a/styles/dev.to/catppuccin.user.less b/styles/dev.to/catppuccin.user.less
index 0a925a66..8dc38b01 100644
--- a/styles/dev.to/catppuccin.user.less
+++ b/styles/dev.to/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("dev.to") {
@import url("https://python.catppuccin.com/pygments/catppuccin-variables.important.css");
@@ -26,73 +28,9 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- --ctp-rosewater: @rosewater;
- --ctp-flamingo: @flamingo;
- --ctp-pink: @pink;
- --ctp-mauve: @mauve;
- --ctp-red: @red;
- --ctp-maroon: @maroon;
- --ctp-peach: @peach;
- --ctp-yellow: @yellow;
- --ctp-green: @green;
- --ctp-teal: @teal;
- --ctp-sky: @sky;
- --ctp-sapphire: @sapphire;
- --ctp-blue: @blue;
- --ctp-lavender: @lavender;
- --ctp-text: @text;
- --ctp-subtext1: @subtext1;
- --ctp-subtext0: @subtext0;
- --ctp-overlay2: @overlay2;
- --ctp-overlay1: @overlay1;
- --ctp-overlay0: @overlay0;
- --ctp-surface2: @surface2;
- --ctp-surface1: @surface1;
- --ctp-surface0: @surface0;
- --ctp-base: @base;
- --ctp-mantle: @mantle;
- --ctp-crust: @crust;
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
+ #lib.css-variables();
--body-bg: @mantle;
--black: if(@flavor = latte, @text, @crust);
@@ -310,11 +248,3 @@
}
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/devdocs/catppuccin.user.less b/styles/devdocs/catppuccin.user.less
index 4237e954..46fef258 100644
--- a/styles/devdocs/catppuccin.user.less
+++ b/styles/devdocs/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("devdocs.io") {
@import url("https://prismjs.catppuccin.com/variables.important.css");
@@ -26,73 +28,9 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- --ctp-rosewater: @rosewater;
- --ctp-flamingo: @flamingo;
- --ctp-pink: @pink;
- --ctp-mauve: @mauve;
- --ctp-red: @red;
- --ctp-maroon: @maroon;
- --ctp-peach: @peach;
- --ctp-yellow: @yellow;
- --ctp-green: @green;
- --ctp-teal: @teal;
- --ctp-sky: @sky;
- --ctp-sapphire: @sapphire;
- --ctp-blue: @blue;
- --ctp-lavender: @lavender;
- --ctp-text: @text;
- --ctp-subtext1: @subtext1;
- --ctp-subtext0: @subtext0;
- --ctp-overlay2: @overlay2;
- --ctp-overlay1: @overlay1;
- --ctp-overlay0: @overlay0;
- --ctp-surface2: @surface2;
- --ctp-surface1: @surface1;
- --ctp-surface0: @surface0;
- --ctp-base: @base;
- --ctp-mantle: @mantle;
- --ctp-crust: @crust;
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
+ #lib.css-variables();
--documentBackground: @base;
--contentBackground: @base;
@@ -166,11 +104,3 @@
}
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/docs.deno.com/catppuccin.user.less b/styles/docs.deno.com/catppuccin.user.less
index 8dafee55..03782892 100644
--- a/styles/docs.deno.com/catppuccin.user.less
+++ b/styles/docs.deno.com/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("docs.deno.com") {
@import url("https://prismjs.catppuccin.com/variables.important.css");
@@ -26,73 +28,9 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- --ctp-rosewater: @rosewater;
- --ctp-flamingo: @flamingo;
- --ctp-pink: @pink;
- --ctp-mauve: @mauve;
- --ctp-red: @red;
- --ctp-maroon: @maroon;
- --ctp-peach: @peach;
- --ctp-yellow: @yellow;
- --ctp-green: @green;
- --ctp-teal: @teal;
- --ctp-sky: @sky;
- --ctp-sapphire: @sapphire;
- --ctp-blue: @blue;
- --ctp-lavender: @lavender;
- --ctp-text: @text;
- --ctp-subtext1: @subtext1;
- --ctp-subtext0: @subtext0;
- --ctp-overlay2: @overlay2;
- --ctp-overlay1: @overlay1;
- --ctp-overlay0: @overlay0;
- --ctp-surface2: @surface2;
- --ctp-surface1: @surface1;
- --ctp-surface0: @surface0;
- --ctp-base: @base;
- --ctp-mantle: @mantle;
- --ctp-crust: @crust;
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
+ #lib.css-variables();
--primary: #hsla(@accent)[];
--background-primary: #hsla(@base)[];
@@ -363,11 +301,3 @@
%("%s, %s%, %s%", hue(@color), saturation(@color), lightness(@color))
);
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/docs.rs/catppuccin.user.less b/styles/docs.rs/catppuccin.user.less
index 9d90dc2d..af999b2d 100644
--- a/styles/docs.rs/catppuccin.user.less
+++ b/styles/docs.rs/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("docs.rs"), domain("doc.rust-lang.org") {
:root:not([data-docs-rs-theme]) {
@media (prefers-color-scheme: light) {
@@ -32,46 +34,8 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
--color-background-code: @mantle;
--color-background: @base;
@@ -325,11 +289,3 @@
}
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/duckduckgo/catppuccin.user.less b/styles/duckduckgo/catppuccin.user.less
index 5c06ae77..229cbfd1 100644
--- a/styles/duckduckgo/catppuccin.user.less
+++ b/styles/duckduckgo/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("duckduckgo.com") {
:root:not(.dark-bg, .no-theme) {
#catppuccin(@lightFlavor);
@@ -34,46 +36,8 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
--sds-color-text-02: @text !important;
--sds-color-text-disabled: @overlay0 !important;
@@ -1159,33 +1123,7 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
+ #lib.palette();
color-scheme: if(@flavor = latte, light, dark);
@@ -1193,11 +1131,13 @@
background-color: fade(@accent, 30%);
}
+ // TODO: Why does this ::placeholder from defaults explicitly not apply to ?
textarea {
&::placeholder {
color: @subtext0 !important;
}
}
+
input {
background-color: @surface0 !important;
color: @text !important;
@@ -1258,11 +1198,3 @@
}
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/ecosia/catppuccin.user.less b/styles/ecosia/catppuccin.user.less
index e4f70337..6fa18e9c 100644
--- a/styles/ecosia/catppuccin.user.less
+++ b/styles/ecosia/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("ecosia.org") {
:root.light {
#catppuccin(@lightFlavor);
@@ -25,46 +27,8 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
--color-brand-primary: @accent !important;
--color-brand-secondary: @crust !important;
@@ -138,11 +102,3 @@
}
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/elk/catppuccin.user.less b/styles/elk/catppuccin.user.less
index 86593515..fb677b11 100644
--- a/styles/elk/catppuccin.user.less
+++ b/styles/elk/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("elk.zone") {
:root.dark {
#catppuccin(@darkFlavor);
@@ -24,46 +26,8 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
--c-primary: @accent !important;
--c-primary-active: lighten(@accent, 10%) !important;
@@ -71,7 +35,7 @@
--c-border: @surface0 !important;
--c-border-dark: @surface1 !important;
--c-bg-base: @base !important;
- --rgb-bg-base: #rgbify(@mantle)[] !important;
+ --rgb-bg-base: #lib.rgbify(@mantle)[] !important;
--c-bg-active: @surface0 !important;
--c-bg-code: @surface0 !important;
--c-bg-selection: @accent !important;
@@ -106,27 +70,27 @@
[text-red],
[text-red-600],
[hover^="text-red"]:hover {
- color: rgba(#rgbify(@red)[], var(--un-text-opacity));
+ color: rgba(#lib.rgbify(@red)[], var(--un-text-opacity));
}
[text-blue],
[hover^="text-blue"]:hover {
- color: rgba(#rgbify(@blue)[], var(--un-text-opacity));
+ color: rgba(#lib.rgbify(@blue)[], var(--un-text-opacity));
}
[text-green],
[hover^="text-green"]:hover {
- color: rgba(#rgbify(@green)[], var(--un-text-opacity));
+ color: rgba(#lib.rgbify(@green)[], var(--un-text-opacity));
}
[text-yellow],
[hover^="text-yellow"]:hover {
- color: rgba(#rgbify(@yellow)[], var(--un-text-opacity));
+ color: rgba(#lib.rgbify(@yellow)[], var(--un-text-opacity));
}
[text-purple],
[hover^="text-purple"]:hover {
- color: rgba(#rgbify(@lavender)[], var(--un-text-opacity));
+ color: rgba(#lib.rgbify(@lavender)[], var(--un-text-opacity));
}
[group-hover^="bg-purple/10"]:hover {
@@ -139,15 +103,3 @@
}
}
}
-
-#rgbify(@color) {
- @rgb: red(@color), green(@color), blue(@color);
-}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/formative/catppuccin.user.less b/styles/formative/catppuccin.user.less
index 07b30dfe..9d656192 100644
--- a/styles/formative/catppuccin.user.less
+++ b/styles/formative/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("app.formative.com"), domain("goformative.com") {
:root {
@media (prefers-color-scheme: light) {
@@ -26,47 +28,13 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
+ #lib.palette();
+ #lib.defaults();
@contrast: if(@flavor = latte, @text, @base);
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
input,
textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
border-color: @overlay0;
color: @text;
}
@@ -1646,11 +1614,3 @@
}
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/freedesktop/catppuccin.user.less b/styles/freedesktop/catppuccin.user.less
index 6bcac01b..f6d6bf36 100644
--- a/styles/freedesktop/catppuccin.user.less
+++ b/styles/freedesktop/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("www.freedesktop.org"),
domain("specifications.freedesktop.org") {
:root {
@@ -27,46 +29,8 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
body {
background-color: @base;
@@ -144,11 +108,3 @@
}
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/ghostty.org/catppuccin.user.less b/styles/ghostty.org/catppuccin.user.less
index f454fc75..de8d1e72 100644
--- a/styles/ghostty.org/catppuccin.user.less
+++ b/styles/ghostty.org/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("ghostty.org") {
@import url("https://unpkg.com/@catppuccin/highlightjs@1.0.0/css/catppuccin-variables.important.css");
@@ -28,73 +30,9 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- --ctp-rosewater: @rosewater;
- --ctp-flamingo: @flamingo;
- --ctp-pink: @pink;
- --ctp-mauve: @mauve;
- --ctp-red: @red;
- --ctp-maroon: @maroon;
- --ctp-peach: @peach;
- --ctp-yellow: @yellow;
- --ctp-green: @green;
- --ctp-teal: @teal;
- --ctp-sky: @sky;
- --ctp-sapphire: @sapphire;
- --ctp-blue: @blue;
- --ctp-lavender: @lavender;
- --ctp-text: @text;
- --ctp-subtext1: @subtext1;
- --ctp-subtext0: @subtext0;
- --ctp-overlay2: @overlay2;
- --ctp-overlay1: @overlay1;
- --ctp-overlay0: @overlay0;
- --ctp-surface2: @surface2;
- --ctp-surface1: @surface1;
- --ctp-surface0: @surface0;
- --ctp-base: @base;
- --ctp-mantle: @mantle;
- --ctp-crust: @crust;
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
+ #lib.css-variables();
--brand-color: @accent;
--brand-color-hsl: #hslify(@accent)[];
@@ -162,11 +100,3 @@
%("%s, %s%, %s%", hue(@color), saturation(@color), lightness(@color))
);
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/github/catppuccin.user.less b/styles/github/catppuccin.user.less
index ee2d9648..5310fb74 100644
--- a/styles/github/catppuccin.user.less
+++ b/styles/github/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document /* Match every page on GitHub except github.com/home, github.com/features/*, and github.com/organizations/plan. */
regexp(
"https:\/\/github\.com(?!(\/home$|\/features($|\/.*)|\/organizations\/plan)).*$"
@@ -51,46 +53,8 @@ regexp(
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
.cm-placeholder {
color: @subtext0;
}
@@ -667,33 +631,7 @@ regexp(
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
+ #lib.palette();
::selection {
background-color: fade(@accent, 30%);
@@ -774,46 +712,8 @@ regexp(
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
--jp-border-color0: var(--color-scale-gray-7);
--jp-border-color1: var(--color-scale-gray-7);
@@ -916,11 +816,3 @@ regexp(
--jp-icon-contrast-color3: var(--color-scale-blue-6);
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/gleam.run/catppuccin.user.less b/styles/gleam.run/catppuccin.user.less
index 5061fd80..16d2b8b4 100644
--- a/styles/gleam.run/catppuccin.user.less
+++ b/styles/gleam.run/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("gleam.run") {
@import url("https://prismjs.catppuccin.com/variables.important.css");
@import url("https://unpkg.com/@catppuccin/highlightjs@1.0.0/css/catppuccin-variables.important.css");
@@ -40,76 +42,9 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- @crust-filter: @catppuccin-filters[@@flavor][@crust];
- @accent-filter: @catppuccin-filters[@@flavor][@@accentColor];
-
- --ctp-rosewater: @rosewater;
- --ctp-flamingo: @flamingo;
- --ctp-pink: @pink;
- --ctp-mauve: @mauve;
- --ctp-red: @red;
- --ctp-maroon: @maroon;
- --ctp-peach: @peach;
- --ctp-yellow: @yellow;
- --ctp-green: @green;
- --ctp-teal: @teal;
- --ctp-sky: @sky;
- --ctp-sapphire: @sapphire;
- --ctp-blue: @blue;
- --ctp-lavender: @lavender;
- --ctp-text: @text;
- --ctp-subtext1: @subtext1;
- --ctp-subtext0: @subtext0;
- --ctp-overlay2: @overlay2;
- --ctp-overlay1: @overlay1;
- --ctp-overlay0: @overlay0;
- --ctp-surface2: @surface2;
- --ctp-surface1: @surface1;
- --ctp-surface0: @surface0;
- --ctp-base: @base;
- --ctp-mantle: @mantle;
- --ctp-crust: @crust;
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
+ #lib.css-variables();
--color-text-main: @text;
@@ -236,19 +171,3 @@
}
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
-
-/* deno-fmt-ignore */
-@catppuccin-filters: {
- @latte: { @rosewater: brightness(0) saturate(100%) invert(65%) sepia(18%) saturate(1048%) hue-rotate(323deg) brightness(92%) contrast(86%); @flamingo: brightness(0) saturate(100%) invert(84%) sepia(44%) saturate(4533%) hue-rotate(310deg) brightness(98%) contrast(75%); @pink: brightness(0) saturate(100%) invert(60%) sepia(32%) saturate(775%) hue-rotate(266deg) brightness(93%) contrast(97%); @mauve: brightness(0) saturate(100%) invert(26%) sepia(59%) saturate(3315%) hue-rotate(255deg) brightness(94%) contrast(100%); @red: brightness(0) saturate(100%) invert(16%) sepia(78%) saturate(7275%) hue-rotate(342deg) brightness(84%) contrast(94%); @maroon: brightness(0) saturate(100%) invert(31%) sepia(56%) saturate(2395%) hue-rotate(331deg) brightness(99%) contrast(82%); @peach: brightness(0) saturate(100%) invert(38%) sepia(81%) saturate(1292%) hue-rotate(356deg) brightness(103%) contrast(99%); @yellow: brightness(0) saturate(100%) invert(74%) sepia(47%) saturate(4570%) hue-rotate(354deg) brightness(95%) contrast(83%); @green: brightness(0) saturate(100%) invert(51%) sepia(25%) saturate(4134%) hue-rotate(76deg) brightness(95%) contrast(66%); @teal: brightness(0) saturate(100%) invert(41%) sepia(45%) saturate(1101%) hue-rotate(139deg) brightness(100%) contrast(82%); @sky: brightness(0) saturate(100%) invert(47%) sepia(76%) saturate(2427%) hue-rotate(166deg) brightness(99%) contrast(97%); @sapphire: brightness(0) saturate(100%) invert(52%) sepia(41%) saturate(6982%) hue-rotate(160deg) brightness(102%) contrast(75%); @blue: brightness(0) saturate(100%) invert(30%) sepia(80%) saturate(1850%) hue-rotate(209deg) brightness(94%) contrast(105%); @lavender: brightness(0) saturate(100%) invert(48%) sepia(61%) saturate(538%) hue-rotate(194deg) brightness(102%) contrast(98%); @text: brightness(0) saturate(100%) invert(30%) sepia(10%) saturate(1259%) hue-rotate(196deg) brightness(97%) contrast(91%); @subtext1: brightness(0) saturate(100%) invert(36%) sepia(10%) saturate(890%) hue-rotate(196deg) brightness(98%) contrast(90%); @subtext0: brightness(0) saturate(100%) invert(47%) sepia(6%) saturate(1263%) hue-rotate(195deg) brightness(90%) contrast(81%); @overlay2: brightness(0) saturate(100%) invert(59%) sepia(7%) saturate(825%) hue-rotate(195deg) brightness(83%) contrast(91%); @overlay1: brightness(0) saturate(100%) invert(59%) sepia(14%) saturate(333%) hue-rotate(194deg) brightness(95%) contrast(89%); @overlay0: brightness(0) saturate(100%) invert(85%) sepia(7%) saturate(595%) hue-rotate(191deg) brightness(77%) contrast(81%); @surface2: brightness(0) saturate(100%) invert(86%) sepia(6%) saturate(482%) hue-rotate(189deg) brightness(82%) contrast(88%); @surface1: brightness(0) saturate(100%) invert(85%) sepia(8%) saturate(281%) hue-rotate(187deg) brightness(92%) contrast(88%); @surface0: brightness(0) saturate(100%) invert(96%) sepia(1%) saturate(5123%) hue-rotate(185deg) brightness(93%) contrast(83%); @base: brightness(0) saturate(100%) invert(89%) sepia(5%) saturate(140%) hue-rotate(182deg) brightness(109%) contrast(94%); @mantle: brightness(0) saturate(100%) invert(93%) sepia(19%) saturate(55%) hue-rotate(182deg) brightness(98%) contrast(92%); @crust: brightness(0) saturate(100%) invert(91%) sepia(1%) saturate(4489%) hue-rotate(196deg) brightness(106%) contrast(82%); };
- @frappe: { @rosewater: brightness(0) saturate(100%) invert(90%) sepia(6%) saturate(734%) hue-rotate(321deg) brightness(95%) contrast(99%); @flamingo: brightness(0) saturate(100%) invert(88%) sepia(52%) saturate(817%) hue-rotate(293deg) brightness(113%) contrast(84%); @pink: brightness(0) saturate(100%) invert(76%) sepia(15%) saturate(844%) hue-rotate(280deg) brightness(107%) contrast(91%); @mauve: brightness(0) saturate(100%) invert(71%) sepia(25%) saturate(725%) hue-rotate(225deg) brightness(94%) contrast(91%); @red: brightness(0) saturate(100%) invert(67%) sepia(3%) saturate(7209%) hue-rotate(305deg) brightness(91%) contrast(99%); @maroon: brightness(0) saturate(100%) invert(61%) sepia(14%) saturate(957%) hue-rotate(307deg) brightness(109%) contrast(90%); @peach: brightness(0) saturate(100%) invert(68%) sepia(28%) saturate(662%) hue-rotate(335deg) brightness(96%) contrast(94%); @yellow: brightness(0) saturate(100%) invert(94%) sepia(88%) saturate(684%) hue-rotate(309deg) brightness(105%) contrast(80%); @green: brightness(0) saturate(100%) invert(89%) sepia(23%) saturate(582%) hue-rotate(42deg) brightness(87%) contrast(89%); @teal: brightness(0) saturate(100%) invert(91%) sepia(13%) saturate(986%) hue-rotate(110deg) brightness(85%) contrast(81%); @sky: brightness(0) saturate(100%) invert(75%) sepia(15%) saturate(623%) hue-rotate(141deg) brightness(109%) contrast(81%); @sapphire: brightness(0) saturate(100%) invert(77%) sepia(20%) saturate(730%) hue-rotate(157deg) brightness(97%) contrast(76%); @blue: brightness(0) saturate(100%) invert(68%) sepia(16%) saturate(1070%) hue-rotate(185deg) brightness(96%) contrast(95%); @lavender: brightness(0) saturate(100%) invert(75%) sepia(20%) saturate(626%) hue-rotate(201deg) brightness(101%) contrast(89%); @text: brightness(0) saturate(100%) invert(83%) sepia(12%) saturate(582%) hue-rotate(191deg) brightness(98%) contrast(96%); @subtext1: brightness(0) saturate(100%) invert(80%) sepia(18%) saturate(411%) hue-rotate(190deg) brightness(96%) contrast(84%); @subtext0: brightness(0) saturate(100%) invert(82%) sepia(6%) saturate(1287%) hue-rotate(192deg) brightness(86%) contrast(85%); @overlay2: brightness(0) saturate(100%) invert(65%) sepia(36%) saturate(230%) hue-rotate(190deg) brightness(92%) contrast(82%); @overlay1: brightness(0) saturate(100%) invert(55%) sepia(12%) saturate(638%) hue-rotate(189deg) brightness(98%) contrast(87%); @overlay0: brightness(0) saturate(100%) invert(49%) sepia(13%) saturate(662%) hue-rotate(192deg) brightness(94%) contrast(84%); @surface2: brightness(0) saturate(100%) invert(41%) sepia(20%) saturate(469%) hue-rotate(191deg) brightness(93%) contrast(86%); @surface1: brightness(0) saturate(100%) invert(34%) sepia(14%) saturate(771%) hue-rotate(190deg) brightness(89%) contrast(85%); @surface0: brightness(0) saturate(100%) invert(28%) sepia(7%) saturate(1468%) hue-rotate(193deg) brightness(92%) contrast(95%); @base: brightness(0) saturate(100%) invert(20%) sepia(17%) saturate(747%) hue-rotate(192deg) brightness(96%) contrast(97%); @mantle: brightness(0) saturate(100%) invert(8%) sepia(7%) saturate(7271%) hue-rotate(198deg) brightness(88%) contrast(75%); @crust: brightness(0) saturate(100%) invert(7%) sepia(7%) saturate(7415%) hue-rotate(197deg) brightness(86%) contrast(79%); };
- @macchiato: { @rosewater: brightness(0) saturate(100%) invert(88%) sepia(13%) saturate(322%) hue-rotate(321deg) brightness(102%) contrast(91%); @flamingo: brightness(0) saturate(100%) invert(82%) sepia(3%) saturate(3070%) hue-rotate(314deg) brightness(107%) contrast(88%); @pink: brightness(0) saturate(100%) invert(80%) sepia(23%) saturate(509%) hue-rotate(280deg) brightness(102%) contrast(92%); @mauve: brightness(0) saturate(100%) invert(65%) sepia(18%) saturate(903%) hue-rotate(222deg) brightness(104%) contrast(93%); @red: brightness(0) saturate(100%) invert(61%) sepia(19%) saturate(1541%) hue-rotate(305deg) brightness(110%) contrast(86%); @maroon: brightness(0) saturate(100%) invert(71%) sepia(10%) saturate(1331%) hue-rotate(306deg) brightness(93%) contrast(101%); @peach: brightness(0) saturate(100%) invert(73%) sepia(13%) saturate(1676%) hue-rotate(330deg) brightness(103%) contrast(92%); @yellow: brightness(0) saturate(100%) invert(87%) sepia(89%) saturate(321%) hue-rotate(314deg) brightness(101%) contrast(87%); @green: brightness(0) saturate(100%) invert(93%) sepia(12%) saturate(1128%) hue-rotate(48deg) brightness(92%) contrast(85%); @teal: brightness(0) saturate(100%) invert(92%) sepia(10%) saturate(1176%) hue-rotate(110deg) brightness(87%) contrast(90%); @sky: brightness(0) saturate(100%) invert(78%) sepia(57%) saturate(230%) hue-rotate(142deg) brightness(96%) contrast(84%); @sapphire: brightness(0) saturate(100%) invert(74%) sepia(35%) saturate(438%) hue-rotate(156deg) brightness(92%) contrast(93%); @blue: brightness(0) saturate(100%) invert(67%) sepia(17%) saturate(1007%) hue-rotate(183deg) brightness(99%) contrast(94%); @lavender: brightness(0) saturate(100%) invert(74%) sepia(6%) saturate(2559%) hue-rotate(198deg) brightness(103%) contrast(94%); @text: brightness(0) saturate(100%) invert(81%) sepia(9%) saturate(726%) hue-rotate(192deg) brightness(104%) contrast(92%); @subtext1: brightness(0) saturate(100%) invert(84%) sepia(5%) saturate(1453%) hue-rotate(193deg) brightness(94%) contrast(86%); @subtext0: brightness(0) saturate(100%) invert(75%) sepia(18%) saturate(361%) hue-rotate(190deg) brightness(91%) contrast(86%); @overlay2: brightness(0) saturate(100%) invert(67%) sepia(9%) saturate(814%) hue-rotate(191deg) brightness(92%) contrast(88%); @overlay1: brightness(0) saturate(100%) invert(49%) sepia(38%) saturate(203%) hue-rotate(190deg) brightness(101%) contrast(93%); @overlay0: brightness(0) saturate(100%) invert(46%) sepia(16%) saturate(552%) hue-rotate(193deg) brightness(93%) contrast(84%); @surface2: brightness(0) saturate(100%) invert(34%) sepia(16%) saturate(611%) hue-rotate(192deg) brightness(101%) contrast(87%); @surface1: brightness(0) saturate(100%) invert(30%) sepia(11%) saturate(1085%) hue-rotate(194deg) brightness(92%) contrast(89%); @surface0: brightness(0) saturate(100%) invert(18%) sepia(21%) saturate(880%) hue-rotate(193deg) brightness(97%) contrast(84%); @base: brightness(0) saturate(100%) invert(12%) sepia(42%) saturate(570%) hue-rotate(194deg) brightness(90%) contrast(90%); @mantle: brightness(0) saturate(100%) invert(6%) sepia(6%) saturate(7499%) hue-rotate(200deg) brightness(93%) contrast(85%); @crust: brightness(0) saturate(100%) invert(5%) sepia(8%) saturate(5346%) hue-rotate(202deg) brightness(98%) contrast(88%); };
- @mocha: { @rosewater: brightness(0) saturate(100%) invert(92%) sepia(5%) saturate(704%) hue-rotate(320deg) brightness(99%) contrast(93%); @flamingo: brightness(0) saturate(100%) invert(81%) sepia(5%) saturate(987%) hue-rotate(315deg) brightness(107%) contrast(90%); @pink: brightness(0) saturate(100%) invert(86%) sepia(11%) saturate(1177%) hue-rotate(283deg) brightness(101%) contrast(92%); @mauve: brightness(0) saturate(100%) invert(65%) sepia(58%) saturate(255%) hue-rotate(224deg) brightness(96%) contrast(102%); @red: brightness(0) saturate(100%) invert(61%) sepia(19%) saturate(997%) hue-rotate(294deg) brightness(104%) contrast(91%); @maroon: brightness(0) saturate(100%) invert(66%) sepia(16%) saturate(1301%) hue-rotate(306deg) brightness(116%) contrast(84%); @peach: brightness(0) saturate(100%) invert(68%) sepia(57%) saturate(278%) hue-rotate(338deg) brightness(98%) contrast(101%); @yellow: brightness(0) saturate(100%) invert(90%) sepia(70%) saturate(380%) hue-rotate(313deg) brightness(102%) contrast(95%); @green: brightness(0) saturate(100%) invert(88%) sepia(6%) saturate(2015%) hue-rotate(63deg) brightness(104%) contrast(78%); @teal: brightness(0) saturate(100%) invert(92%) sepia(12%) saturate(991%) hue-rotate(108deg) brightness(93%) contrast(90%); @sky: brightness(0) saturate(100%) invert(84%) sepia(21%) saturate(1302%) hue-rotate(164deg) brightness(106%) contrast(84%); @sapphire: brightness(0) saturate(100%) invert(74%) sepia(20%) saturate(876%) hue-rotate(156deg) brightness(96%) contrast(93%); @blue: brightness(0) saturate(100%) invert(68%) sepia(18%) saturate(951%) hue-rotate(180deg) brightness(98%) contrast(100%); @lavender: brightness(0) saturate(100%) invert(73%) sepia(7%) saturate(1670%) hue-rotate(195deg) brightness(102%) contrast(99%); @text: brightness(0) saturate(100%) invert(86%) sepia(6%) saturate(879%) hue-rotate(190deg) brightness(100%) contrast(93%); @subtext1: brightness(0) saturate(100%) invert(84%) sepia(19%) saturate(381%) hue-rotate(193deg) brightness(91%) contrast(89%); @subtext0: brightness(0) saturate(100%) invert(84%) sepia(9%) saturate(767%) hue-rotate(192deg) brightness(84%) contrast(84%); @overlay2: brightness(0) saturate(100%) invert(63%) sepia(15%) saturate(428%) hue-rotate(191deg) brightness(96%) contrast(84%); @overlay1: brightness(0) saturate(100%) invert(56%) sepia(15%) saturate(455%) hue-rotate(192deg) brightness(90%) contrast(88%); @overlay0: brightness(0) saturate(100%) invert(44%) sepia(6%) saturate(1275%) hue-rotate(194deg) brightness(97%) contrast(88%); @surface2: brightness(0) saturate(100%) invert(34%) sepia(8%) saturate(1015%) hue-rotate(195deg) brightness(99%) contrast(89%); @surface1: brightness(0) saturate(100%) invert(25%) sepia(6%) saturate(1950%) hue-rotate(197deg) brightness(99%) contrast(86%); @surface0: brightness(0) saturate(100%) invert(19%) sepia(5%) saturate(2844%) hue-rotate(199deg) brightness(91%) contrast(93%); @base: brightness(0) saturate(100%) invert(7%) sepia(4%) saturate(7496%) hue-rotate(202deg) brightness(93%) contrast(87%); @mantle: brightness(0) saturate(100%) invert(6%) sepia(4%) saturate(7465%) hue-rotate(202deg) brightness(95%) contrast(90%); @crust: brightness(0) saturate(100%) invert(3%) sepia(13%) saturate(6863%) hue-rotate(220deg) brightness(95%) contrast(91%); };
-};
diff --git a/styles/gmail/catppuccin.user.less b/styles/gmail/catppuccin.user.less
index ac8a4d0e..952f63bd 100644
--- a/styles/gmail/catppuccin.user.less
+++ b/styles/gmail/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("mail.google.com") {
:root {
@media (prefers-color-scheme: light) {
@@ -26,50 +28,11 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- @crust-filter: @catppuccin-filters[@@flavor][@crust];
- @text-filter: @catppuccin-filters[@@flavor][@text];
- @yellow-filter: @catppuccin-filters[@@flavor][@yellow];
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
+ #lib.palette();
+ #lib.defaults();
input,
textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
-
caret-color: @text;
}
@@ -982,19 +945,3 @@
}
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
-
-/* deno-fmt-ignore */
-@catppuccin-filters: {
- @latte: { @rosewater: brightness(0) saturate(100%) invert(65%) sepia(18%) saturate(1048%) hue-rotate(323deg) brightness(92%) contrast(86%); @flamingo: brightness(0) saturate(100%) invert(84%) sepia(44%) saturate(4533%) hue-rotate(310deg) brightness(98%) contrast(75%); @pink: brightness(0) saturate(100%) invert(60%) sepia(32%) saturate(775%) hue-rotate(266deg) brightness(93%) contrast(97%); @mauve: brightness(0) saturate(100%) invert(26%) sepia(59%) saturate(3315%) hue-rotate(255deg) brightness(94%) contrast(100%); @red: brightness(0) saturate(100%) invert(16%) sepia(78%) saturate(7275%) hue-rotate(342deg) brightness(84%) contrast(94%); @maroon: brightness(0) saturate(100%) invert(31%) sepia(56%) saturate(2395%) hue-rotate(331deg) brightness(99%) contrast(82%); @peach: brightness(0) saturate(100%) invert(38%) sepia(81%) saturate(1292%) hue-rotate(356deg) brightness(103%) contrast(99%); @yellow: brightness(0) saturate(100%) invert(74%) sepia(47%) saturate(4570%) hue-rotate(354deg) brightness(95%) contrast(83%); @green: brightness(0) saturate(100%) invert(51%) sepia(25%) saturate(4134%) hue-rotate(76deg) brightness(95%) contrast(66%); @teal: brightness(0) saturate(100%) invert(41%) sepia(45%) saturate(1101%) hue-rotate(139deg) brightness(100%) contrast(82%); @sky: brightness(0) saturate(100%) invert(47%) sepia(76%) saturate(2427%) hue-rotate(166deg) brightness(99%) contrast(97%); @sapphire: brightness(0) saturate(100%) invert(52%) sepia(41%) saturate(6982%) hue-rotate(160deg) brightness(102%) contrast(75%); @blue: brightness(0) saturate(100%) invert(30%) sepia(80%) saturate(1850%) hue-rotate(209deg) brightness(94%) contrast(105%); @lavender: brightness(0) saturate(100%) invert(48%) sepia(61%) saturate(538%) hue-rotate(194deg) brightness(102%) contrast(98%); @text: brightness(0) saturate(100%) invert(30%) sepia(10%) saturate(1259%) hue-rotate(196deg) brightness(97%) contrast(91%); @subtext1: brightness(0) saturate(100%) invert(36%) sepia(10%) saturate(890%) hue-rotate(196deg) brightness(98%) contrast(90%); @subtext0: brightness(0) saturate(100%) invert(47%) sepia(6%) saturate(1263%) hue-rotate(195deg) brightness(90%) contrast(81%); @overlay2: brightness(0) saturate(100%) invert(59%) sepia(7%) saturate(825%) hue-rotate(195deg) brightness(83%) contrast(91%); @overlay1: brightness(0) saturate(100%) invert(59%) sepia(14%) saturate(333%) hue-rotate(194deg) brightness(95%) contrast(89%); @overlay0: brightness(0) saturate(100%) invert(85%) sepia(7%) saturate(595%) hue-rotate(191deg) brightness(77%) contrast(81%); @surface2: brightness(0) saturate(100%) invert(86%) sepia(6%) saturate(482%) hue-rotate(189deg) brightness(82%) contrast(88%); @surface1: brightness(0) saturate(100%) invert(85%) sepia(8%) saturate(281%) hue-rotate(187deg) brightness(92%) contrast(88%); @surface0: brightness(0) saturate(100%) invert(96%) sepia(1%) saturate(5123%) hue-rotate(185deg) brightness(93%) contrast(83%); @base: brightness(0) saturate(100%) invert(89%) sepia(5%) saturate(140%) hue-rotate(182deg) brightness(109%) contrast(94%); @mantle: brightness(0) saturate(100%) invert(93%) sepia(19%) saturate(55%) hue-rotate(182deg) brightness(98%) contrast(92%); @crust: brightness(0) saturate(100%) invert(91%) sepia(1%) saturate(4489%) hue-rotate(196deg) brightness(106%) contrast(82%); };
- @frappe: { @rosewater: brightness(0) saturate(100%) invert(90%) sepia(6%) saturate(734%) hue-rotate(321deg) brightness(95%) contrast(99%); @flamingo: brightness(0) saturate(100%) invert(88%) sepia(52%) saturate(817%) hue-rotate(293deg) brightness(113%) contrast(84%); @pink: brightness(0) saturate(100%) invert(76%) sepia(15%) saturate(844%) hue-rotate(280deg) brightness(107%) contrast(91%); @mauve: brightness(0) saturate(100%) invert(71%) sepia(25%) saturate(725%) hue-rotate(225deg) brightness(94%) contrast(91%); @red: brightness(0) saturate(100%) invert(67%) sepia(3%) saturate(7209%) hue-rotate(305deg) brightness(91%) contrast(99%); @maroon: brightness(0) saturate(100%) invert(61%) sepia(14%) saturate(957%) hue-rotate(307deg) brightness(109%) contrast(90%); @peach: brightness(0) saturate(100%) invert(68%) sepia(28%) saturate(662%) hue-rotate(335deg) brightness(96%) contrast(94%); @yellow: brightness(0) saturate(100%) invert(94%) sepia(88%) saturate(684%) hue-rotate(309deg) brightness(105%) contrast(80%); @green: brightness(0) saturate(100%) invert(89%) sepia(23%) saturate(582%) hue-rotate(42deg) brightness(87%) contrast(89%); @teal: brightness(0) saturate(100%) invert(91%) sepia(13%) saturate(986%) hue-rotate(110deg) brightness(85%) contrast(81%); @sky: brightness(0) saturate(100%) invert(75%) sepia(15%) saturate(623%) hue-rotate(141deg) brightness(109%) contrast(81%); @sapphire: brightness(0) saturate(100%) invert(77%) sepia(20%) saturate(730%) hue-rotate(157deg) brightness(97%) contrast(76%); @blue: brightness(0) saturate(100%) invert(68%) sepia(16%) saturate(1070%) hue-rotate(185deg) brightness(96%) contrast(95%); @lavender: brightness(0) saturate(100%) invert(75%) sepia(20%) saturate(626%) hue-rotate(201deg) brightness(101%) contrast(89%); @text: brightness(0) saturate(100%) invert(83%) sepia(12%) saturate(582%) hue-rotate(191deg) brightness(98%) contrast(96%); @subtext1: brightness(0) saturate(100%) invert(80%) sepia(18%) saturate(411%) hue-rotate(190deg) brightness(96%) contrast(84%); @subtext0: brightness(0) saturate(100%) invert(82%) sepia(6%) saturate(1287%) hue-rotate(192deg) brightness(86%) contrast(85%); @overlay2: brightness(0) saturate(100%) invert(65%) sepia(36%) saturate(230%) hue-rotate(190deg) brightness(92%) contrast(82%); @overlay1: brightness(0) saturate(100%) invert(55%) sepia(12%) saturate(638%) hue-rotate(189deg) brightness(98%) contrast(87%); @overlay0: brightness(0) saturate(100%) invert(49%) sepia(13%) saturate(662%) hue-rotate(192deg) brightness(94%) contrast(84%); @surface2: brightness(0) saturate(100%) invert(41%) sepia(20%) saturate(469%) hue-rotate(191deg) brightness(93%) contrast(86%); @surface1: brightness(0) saturate(100%) invert(34%) sepia(14%) saturate(771%) hue-rotate(190deg) brightness(89%) contrast(85%); @surface0: brightness(0) saturate(100%) invert(28%) sepia(7%) saturate(1468%) hue-rotate(193deg) brightness(92%) contrast(95%); @base: brightness(0) saturate(100%) invert(20%) sepia(17%) saturate(747%) hue-rotate(192deg) brightness(96%) contrast(97%); @mantle: brightness(0) saturate(100%) invert(8%) sepia(7%) saturate(7271%) hue-rotate(198deg) brightness(88%) contrast(75%); @crust: brightness(0) saturate(100%) invert(7%) sepia(7%) saturate(7415%) hue-rotate(197deg) brightness(86%) contrast(79%); };
- @macchiato: { @rosewater: brightness(0) saturate(100%) invert(88%) sepia(13%) saturate(322%) hue-rotate(321deg) brightness(102%) contrast(91%); @flamingo: brightness(0) saturate(100%) invert(82%) sepia(3%) saturate(3070%) hue-rotate(314deg) brightness(107%) contrast(88%); @pink: brightness(0) saturate(100%) invert(80%) sepia(23%) saturate(509%) hue-rotate(280deg) brightness(102%) contrast(92%); @mauve: brightness(0) saturate(100%) invert(65%) sepia(18%) saturate(903%) hue-rotate(222deg) brightness(104%) contrast(93%); @red: brightness(0) saturate(100%) invert(61%) sepia(19%) saturate(1541%) hue-rotate(305deg) brightness(110%) contrast(86%); @maroon: brightness(0) saturate(100%) invert(71%) sepia(10%) saturate(1331%) hue-rotate(306deg) brightness(93%) contrast(101%); @peach: brightness(0) saturate(100%) invert(73%) sepia(13%) saturate(1676%) hue-rotate(330deg) brightness(103%) contrast(92%); @yellow: brightness(0) saturate(100%) invert(87%) sepia(89%) saturate(321%) hue-rotate(314deg) brightness(101%) contrast(87%); @green: brightness(0) saturate(100%) invert(93%) sepia(12%) saturate(1128%) hue-rotate(48deg) brightness(92%) contrast(85%); @teal: brightness(0) saturate(100%) invert(92%) sepia(10%) saturate(1176%) hue-rotate(110deg) brightness(87%) contrast(90%); @sky: brightness(0) saturate(100%) invert(78%) sepia(57%) saturate(230%) hue-rotate(142deg) brightness(96%) contrast(84%); @sapphire: brightness(0) saturate(100%) invert(74%) sepia(35%) saturate(438%) hue-rotate(156deg) brightness(92%) contrast(93%); @blue: brightness(0) saturate(100%) invert(67%) sepia(17%) saturate(1007%) hue-rotate(183deg) brightness(99%) contrast(94%); @lavender: brightness(0) saturate(100%) invert(74%) sepia(6%) saturate(2559%) hue-rotate(198deg) brightness(103%) contrast(94%); @text: brightness(0) saturate(100%) invert(81%) sepia(9%) saturate(726%) hue-rotate(192deg) brightness(104%) contrast(92%); @subtext1: brightness(0) saturate(100%) invert(84%) sepia(5%) saturate(1453%) hue-rotate(193deg) brightness(94%) contrast(86%); @subtext0: brightness(0) saturate(100%) invert(75%) sepia(18%) saturate(361%) hue-rotate(190deg) brightness(91%) contrast(86%); @overlay2: brightness(0) saturate(100%) invert(67%) sepia(9%) saturate(814%) hue-rotate(191deg) brightness(92%) contrast(88%); @overlay1: brightness(0) saturate(100%) invert(49%) sepia(38%) saturate(203%) hue-rotate(190deg) brightness(101%) contrast(93%); @overlay0: brightness(0) saturate(100%) invert(46%) sepia(16%) saturate(552%) hue-rotate(193deg) brightness(93%) contrast(84%); @surface2: brightness(0) saturate(100%) invert(34%) sepia(16%) saturate(611%) hue-rotate(192deg) brightness(101%) contrast(87%); @surface1: brightness(0) saturate(100%) invert(30%) sepia(11%) saturate(1085%) hue-rotate(194deg) brightness(92%) contrast(89%); @surface0: brightness(0) saturate(100%) invert(18%) sepia(21%) saturate(880%) hue-rotate(193deg) brightness(97%) contrast(84%); @base: brightness(0) saturate(100%) invert(12%) sepia(42%) saturate(570%) hue-rotate(194deg) brightness(90%) contrast(90%); @mantle: brightness(0) saturate(100%) invert(6%) sepia(6%) saturate(7499%) hue-rotate(200deg) brightness(93%) contrast(85%); @crust: brightness(0) saturate(100%) invert(5%) sepia(8%) saturate(5346%) hue-rotate(202deg) brightness(98%) contrast(88%); };
- @mocha: { @rosewater: brightness(0) saturate(100%) invert(92%) sepia(5%) saturate(704%) hue-rotate(320deg) brightness(99%) contrast(93%); @flamingo: brightness(0) saturate(100%) invert(81%) sepia(5%) saturate(987%) hue-rotate(315deg) brightness(107%) contrast(90%); @pink: brightness(0) saturate(100%) invert(86%) sepia(11%) saturate(1177%) hue-rotate(283deg) brightness(101%) contrast(92%); @mauve: brightness(0) saturate(100%) invert(65%) sepia(58%) saturate(255%) hue-rotate(224deg) brightness(96%) contrast(102%); @red: brightness(0) saturate(100%) invert(61%) sepia(19%) saturate(997%) hue-rotate(294deg) brightness(104%) contrast(91%); @maroon: brightness(0) saturate(100%) invert(66%) sepia(16%) saturate(1301%) hue-rotate(306deg) brightness(116%) contrast(84%); @peach: brightness(0) saturate(100%) invert(68%) sepia(57%) saturate(278%) hue-rotate(338deg) brightness(98%) contrast(101%); @yellow: brightness(0) saturate(100%) invert(90%) sepia(70%) saturate(380%) hue-rotate(313deg) brightness(102%) contrast(95%); @green: brightness(0) saturate(100%) invert(88%) sepia(6%) saturate(2015%) hue-rotate(63deg) brightness(104%) contrast(78%); @teal: brightness(0) saturate(100%) invert(92%) sepia(12%) saturate(991%) hue-rotate(108deg) brightness(93%) contrast(90%); @sky: brightness(0) saturate(100%) invert(84%) sepia(21%) saturate(1302%) hue-rotate(164deg) brightness(106%) contrast(84%); @sapphire: brightness(0) saturate(100%) invert(74%) sepia(20%) saturate(876%) hue-rotate(156deg) brightness(96%) contrast(93%); @blue: brightness(0) saturate(100%) invert(68%) sepia(18%) saturate(951%) hue-rotate(180deg) brightness(98%) contrast(100%); @lavender: brightness(0) saturate(100%) invert(73%) sepia(7%) saturate(1670%) hue-rotate(195deg) brightness(102%) contrast(99%); @text: brightness(0) saturate(100%) invert(86%) sepia(6%) saturate(879%) hue-rotate(190deg) brightness(100%) contrast(93%); @subtext1: brightness(0) saturate(100%) invert(84%) sepia(19%) saturate(381%) hue-rotate(193deg) brightness(91%) contrast(89%); @subtext0: brightness(0) saturate(100%) invert(84%) sepia(9%) saturate(767%) hue-rotate(192deg) brightness(84%) contrast(84%); @overlay2: brightness(0) saturate(100%) invert(63%) sepia(15%) saturate(428%) hue-rotate(191deg) brightness(96%) contrast(84%); @overlay1: brightness(0) saturate(100%) invert(56%) sepia(15%) saturate(455%) hue-rotate(192deg) brightness(90%) contrast(88%); @overlay0: brightness(0) saturate(100%) invert(44%) sepia(6%) saturate(1275%) hue-rotate(194deg) brightness(97%) contrast(88%); @surface2: brightness(0) saturate(100%) invert(34%) sepia(8%) saturate(1015%) hue-rotate(195deg) brightness(99%) contrast(89%); @surface1: brightness(0) saturate(100%) invert(25%) sepia(6%) saturate(1950%) hue-rotate(197deg) brightness(99%) contrast(86%); @surface0: brightness(0) saturate(100%) invert(19%) sepia(5%) saturate(2844%) hue-rotate(199deg) brightness(91%) contrast(93%); @base: brightness(0) saturate(100%) invert(7%) sepia(4%) saturate(7496%) hue-rotate(202deg) brightness(93%) contrast(87%); @mantle: brightness(0) saturate(100%) invert(6%) sepia(4%) saturate(7465%) hue-rotate(202deg) brightness(95%) contrast(90%); @crust: brightness(0) saturate(100%) invert(3%) sepia(13%) saturate(6863%) hue-rotate(220deg) brightness(95%) contrast(91%); };
-};
diff --git a/styles/go.dev/catppuccin.user.less b/styles/go.dev/catppuccin.user.less
index bb8c4209..213fd982 100644
--- a/styles/go.dev/catppuccin.user.less
+++ b/styles/go.dev/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("go.dev") {
:root[data-theme="auto"],
:root:not([data-theme]) {
@@ -34,46 +36,8 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
background-color: @base;
@@ -396,33 +360,7 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
+ #lib.palette();
// Pkg.go Carousel
.go-Carousel {
@@ -717,33 +655,7 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
+ #lib.palette();
#editor-container {
#left-side {
@@ -923,11 +835,3 @@
}
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/google-drive/catppuccin.user.less b/styles/google-drive/catppuccin.user.less
index 178fd5c3..6623ba8b 100644
--- a/styles/google-drive/catppuccin.user.less
+++ b/styles/google-drive/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("drive.google.com") {
.vhoiae {
&.KkxPLb {
@@ -27,35 +29,10 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
+ #lib.palette();
- // Color scheme is already set by Google Drive; setting it here causes bugs, and there are no known side effects as Google does not use native UI elements (which would reflect `color-scheme` state and cause potential issues).
+ // TODO: Try to make use `#lib.defaults()` here, but it causes issues with the color scheme (see below).
+ // #lib.defaults(); // Color scheme is already set by Google Drive; setting it here causes bugs, and there are no known side effects as Google does not use native UI elements (which would reflect `color-scheme` state and cause potential issues).
::selection {
background-color: fade(@accent, 30%);
@@ -192,116 +169,116 @@
--dt-light-error-banner-button: @red;
--gm3-sys-color-background: @base;
- --gm3-sys-color-background-rgb: #rgbify(@base)[];
+ --gm3-sys-color-background-rgb: #lib.rgbify(@base)[];
--gm3-sys-color-error: @red;
- --gm3-sys-color-error-rgb: #rgbify(@red)[];
+ --gm3-sys-color-error-rgb: #lib.rgbify(@red)[];
--gm3-sys-color-error-container: @surface2;
- --gm3-sys-color-error-container-rgb: #rgbify(@surface2)[];
+ --gm3-sys-color-error-container-rgb: #lib.rgbify(@surface2)[];
--gm3-sys-color-inverse-on-surface: @surface0;
- --gm3-sys-color-inverse-on-surface-rgb: #rgbify(@surface0)[];
+ --gm3-sys-color-inverse-on-surface-rgb: #lib.rgbify(@surface0)[];
--gm3-sys-color-inverse-primary: red;
--gm3-sys-color-inverse-primary-rgb: 255, 0, 0;
--gm3-sys-color-inverse-surface: @text;
- --gm3-sys-color-inverse-surface-rgb: #rgbify(@text)[];
+ --gm3-sys-color-inverse-surface-rgb: #lib.rgbify(@text)[];
--gm3-sys-color-on-background: @text;
- --gm3-sys-color-on-background-rgb: #rgbify(@text)[];
+ --gm3-sys-color-on-background-rgb: #lib.rgbify(@text)[];
--gm3-sys-color-on-error: @base;
- --gm3-sys-color-on-error-rgb: #rgbify(@base)[];
+ --gm3-sys-color-on-error-rgb: #lib.rgbify(@base)[];
--gm3-sys-color-on-error-container: @red;
- --gm3-sys-color-on-error-container-rgb: #rgbify(@red)[];
+ --gm3-sys-color-on-error-container-rgb: #lib.rgbify(@red)[];
--gm3-sys-color-on-primary: @base;
- --gm3-sys-color-on-primary-rgb: #rgbify(@base)[];
+ --gm3-sys-color-on-primary-rgb: #lib.rgbify(@base)[];
--gm3-sys-color-on-primary-container: @text;
- --gm3-sys-color-on-primary-container-rgb: #rgbify(@text)[];
+ --gm3-sys-color-on-primary-container-rgb: #lib.rgbify(@text)[];
--gm3-sys-color-on-primary-fixed: @base;
- --gm3-sys-color-on-primary-fixed-rgb: #rgbify(@base);
+ --gm3-sys-color-on-primary-fixed-rgb: #lib.rgbify(@base);
--gm3-sys-color-on-primary-fixed-variant: @base;
- --gm3-sys-color-on-primary-fixed-variant-rgb: #rgbify(@base);
+ --gm3-sys-color-on-primary-fixed-variant-rgb: #lib.rgbify(@base);
--gm3-sys-color-on-secondary: @base;
- --gm3-sys-color-on-secondary-rgb: #rgbify(@base)[];
+ --gm3-sys-color-on-secondary-rgb: #lib.rgbify(@base)[];
--gm3-sys-color-on-secondary-container: @text;
- --gm3-sys-color-on-secondary-container-rgb: #rgbify(@text)[];
+ --gm3-sys-color-on-secondary-container-rgb: #lib.rgbify(@text)[];
--gm3-sys-color-on-secondary-fixed: @base;
- --gm3-sys-color-on-secondary-fixed-rgb: #rgbify(@base)[];
+ --gm3-sys-color-on-secondary-fixed-rgb: #lib.rgbify(@base)[];
--gm3-sys-color-on-secondary-fixed-variant: @base;
- --gm3-sys-color-on-secondary-fixed-variant-rgb: #rgbify(@base)[];
+ --gm3-sys-color-on-secondary-fixed-variant-rgb: #lib.rgbify(@base)[];
--gm3-sys-color-on-surface: @text;
- --gm3-sys-color-on-surface-rgb: #rgbify(@text)[];
+ --gm3-sys-color-on-surface-rgb: #lib.rgbify(@text)[];
--gm3-sys-color-on-surface-variant: @text;
- --gm3-sys-color-on-surface-variant-rgb: #rgbify(@text)[];
+ --gm3-sys-color-on-surface-variant-rgb: #lib.rgbify(@text)[];
--gm3-sys-color-on-tertiary: @base;
- --gm3-sys-color-on-tertiary-rgb: #rgbify(@base)[];
+ --gm3-sys-color-on-tertiary-rgb: #lib.rgbify(@base)[];
--gm3-sys-color-on-tertiary-container: @text;
- --gm3-sys-color-on-tertiary-container-rgb: #rgbify(@text)[];
+ --gm3-sys-color-on-tertiary-container-rgb: #lib.rgbify(@text)[];
--gm3-sys-color-on-tertiary-fixed: @base;
- --gm3-sys-color-on-tertiary-fixed-rgb: #rgbify(@base)[];
+ --gm3-sys-color-on-tertiary-fixed-rgb: #lib.rgbify(@base)[];
--gm3-sys-color-on-tertiary-fixed-variant: @base;
- --gm3-sys-color-on-tertiary-fixed-variant-rgb: #rgbify(@base)[];
+ --gm3-sys-color-on-tertiary-fixed-variant-rgb: #lib.rgbify(@base)[];
--gm3-sys-color-outline: @overlay0;
- --gm3-sys-color-outline-rgb: #rgbify(@overlay0)[];
+ --gm3-sys-color-outline-rgb: #lib.rgbify(@overlay0)[];
--gm3-sys-color-outline-variant: @surface2;
- --gm3-sys-color-outline-variant-rgb: #rgbify(@surface2)[];
+ --gm3-sys-color-outline-variant-rgb: #lib.rgbify(@surface2)[];
--gm3-sys-color-primary: @accent;
- --gm3-sys-color-primary-rgb: #rgbify(@accent)[];
+ --gm3-sys-color-primary-rgb: #lib.rgbify(@accent)[];
--gm3-sys-color-primary-container: @surface0;
- --gm3-sys-color-primary-container-rgb: #rgbify(@surface0)[];
+ --gm3-sys-color-primary-container-rgb: #lib.rgbify(@surface0)[];
--gm3-sys-color-primary-fixed: @accent;
- --gm3-sys-color-primary-fixed-rgb: #rgbify(@accent)[];
+ --gm3-sys-color-primary-fixed-rgb: #lib.rgbify(@accent)[];
--gm3-sys-color-primary-fixed-dim: @accent;
- --gm3-sys-color-primary-fixed-dim-rgb: #rgbify(@accent)[];
+ --gm3-sys-color-primary-fixed-dim-rgb: #lib.rgbify(@accent)[];
--gm3-sys-color-secondary: @accent;
- --gm3-sys-color-secondary-rgb: #rgbify(@accent);
+ --gm3-sys-color-secondary-rgb: #lib.rgbify(@accent);
--gm3-sys-color-secondary-container: @surface0;
- --gm3-sys-color-secondary-container-rgb: #rgbify(@surface0)[];
+ --gm3-sys-color-secondary-container-rgb: #lib.rgbify(@surface0)[];
--gm3-sys-color-secondary-fixed: #c2e7ff;
--gm3-sys-color-secondary-fixed-rgb: 194, 231, 255;
--gm3-sys-color-secondary-fixed-dim: #7fcfff;
--gm3-sys-color-secondary-fixed-dim-rgb: 127, 207, 255;
--gm3-sys-color-surface: @base;
- --gm3-sys-color-surface-rgb: #rgbify(@base)[];
+ --gm3-sys-color-surface-rgb: #lib.rgbify(@base)[];
--gm3-sys-color-surface-bright: @base;
- --gm3-sys-color-surface-bright-rgb: #rgbify(@base)[];
+ --gm3-sys-color-surface-bright-rgb: #lib.rgbify(@base)[];
--gm3-sys-color-surface-container: @surface0;
- --gm3-sys-color-surface-container-rgb: #rgbify(@surface0)[];
+ --gm3-sys-color-surface-container-rgb: #lib.rgbify(@surface0)[];
--gm3-sys-color-surface-container-high: @surface1;
- --gm3-sys-color-surface-container-high-rgb: #rgbify(@surface1)[];
+ --gm3-sys-color-surface-container-high-rgb: #lib.rgbify(@surface1)[];
--gm3-sys-color-surface-container-highest: @surface2;
- --gm3-sys-color-surface-container-highest-rgb: #rgbify(@surface2)[];
+ --gm3-sys-color-surface-container-highest-rgb: #lib.rgbify(@surface2)[];
--gm3-sys-color-surface-container-low: @mantle;
- --gm3-sys-color-surface-container-low-rgb: #rgbify(@mantle)[];
+ --gm3-sys-color-surface-container-low-rgb: #lib.rgbify(@mantle)[];
--gm3-sys-color-surface-container-lowest: @crust;
- --gm3-sys-color-surface-container-lowest-rgb: #rgbify(@crust)[];
+ --gm3-sys-color-surface-container-lowest-rgb: #lib.rgbify(@crust)[];
--gm3-sys-color-surface-dim: @crust;
- --gm3-sys-color-surface-dim-rgb: #rgbify(@crust)[];
+ --gm3-sys-color-surface-dim-rgb: #lib.rgbify(@crust)[];
--gm3-sys-color-surface-tint: @accent;
- --gm3-sys-color-surface-tint-rgb: #rgbify(@accent)[];
+ --gm3-sys-color-surface-tint-rgb: #lib.rgbify(@accent)[];
--gm3-sys-color-surface-variant: @surface0;
- --gm3-sys-color-surface-variant-rgb: #rgbify(@surface0)[];
+ --gm3-sys-color-surface-variant-rgb: #lib.rgbify(@surface0)[];
--gm3-sys-color-tertiary: @accent;
- --gm3-sys-color-tertiary-rgb: #rgbify(@accent)[];
+ --gm3-sys-color-tertiary-rgb: #lib.rgbify(@accent)[];
--gm3-sys-color-tertiary-container: @surface0;
- --gm3-sys-color-tertiary-container-rgb: #rgbify(@surface0);
+ --gm3-sys-color-tertiary-container-rgb: #lib.rgbify(@surface0);
--gm3-sys-color-tertiary-fixed: @accent;
- --gm3-sys-color-tertiary-fixed-rgb: #rgbify(@accent)[];
+ --gm3-sys-color-tertiary-fixed-rgb: #lib.rgbify(@accent)[];
--gm3-sys-color-tertiary-fixed-dim: @accent;
- --gm3-sys-color-tertiary-fixed-dim-rgb: #rgbify(@accent)[];
+ --gm3-sys-color-tertiary-fixed-dim-rgb: #lib.rgbify(@accent)[];
& when (@flavor = latte) {
--dt-scrim: fade(@text, 50%);
--dt-scrim-2x: fade(@text, 50%);
--gm3-sys-color-scrim: @text;
- --gm3-sys-color-scrim-rgb: #rgbify(@text)[];
+ --gm3-sys-color-scrim-rgb: #lib.rgbify(@text)[];
--gm3-sys-color-shadow: @text;
- --gm3-sys-color-shadow-rgb: #rgbify(@text)[];
+ --gm3-sys-color-shadow-rgb: #lib.rgbify(@text)[];
}
& when not(@flavor = latte) {
--dt-scrim: fade(@base, 50%);
--dt-scrim-2x: fade(@base, 50%);
--gm3-sys-color-scrim: @base;
- --gm3-sys-color-scrim-rgb: #rgbify(@base)[];
+ --gm3-sys-color-scrim-rgb: #lib.rgbify(@base)[];
--gm3-sys-color-shadow: @base;
- --gm3-sys-color-shadow-rgb: #rgbify(@base)[];
+ --gm3-sys-color-shadow-rgb: #lib.rgbify(@base)[];
}
/* Settings menu title & back button */
@@ -697,15 +674,3 @@
}
}
}
-
-#rgbify(@color) {
- @rgb: red(@color), green(@color), blue(@color);
-}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/google-gemini/catppuccin.user.less b/styles/google-gemini/catppuccin.user.less
index e4c52649..8fbc8996 100644
--- a/styles/google-gemini/catppuccin.user.less
+++ b/styles/google-gemini/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("gemini.google.com") {
@import url("https://unpkg.com/@catppuccin/highlightjs@1.0.0/css/catppuccin-variables.important.css");
@@ -27,73 +29,9 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- --ctp-rosewater: @rosewater;
- --ctp-flamingo: @flamingo;
- --ctp-pink: @pink;
- --ctp-mauve: @mauve;
- --ctp-red: @red;
- --ctp-maroon: @maroon;
- --ctp-peach: @peach;
- --ctp-yellow: @yellow;
- --ctp-green: @green;
- --ctp-teal: @teal;
- --ctp-sky: @sky;
- --ctp-sapphire: @sapphire;
- --ctp-blue: @blue;
- --ctp-lavender: @lavender;
- --ctp-text: @text;
- --ctp-subtext1: @subtext1;
- --ctp-subtext0: @subtext0;
- --ctp-overlay2: @overlay2;
- --ctp-overlay1: @overlay1;
- --ctp-overlay0: @overlay0;
- --ctp-surface2: @surface2;
- --ctp-surface1: @surface1;
- --ctp-surface0: @surface0;
- --ctp-base: @base;
- --ctp-mantle: @mantle;
- --ctp-crust: @crust;
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
+ #lib.css-variables();
--bard-color-neutral-90: @mantle;
--bard-color-on-selected-conversation-metadata-v2: @text;
@@ -104,10 +42,10 @@
--bard-color-inverse-on-surface: darken(@mantle, 1%);
--bard-color-sidenav-mobile-controls: @text;
--bard-color-main-container-background: @base;
- --bard-color-main-container-background-rgb: #rgbify(@base)[];
+ --bard-color-main-container-background-rgb: #lib.rgbify(@base)[];
--bard-color-window-container-background: @base;
--bard-color-response-container-background: @base;
- --bard-color-response-container-background-rgb: #rgbify(@base)[];
+ --bard-color-response-container-background-rgb: #lib.rgbify(@base)[];
--bard-color-onhover-conversation-metadata-button-v2: @surface1;
--bard-color-selected-conversation-metadata-button-v2: fade(
@accent,
@@ -135,9 +73,9 @@
--bard-color-zero-state-prompt-chip-text: lighten(@accent, 5%);
--bard-color-regular-banner: @accent;
--bard-color-regular-banner-text: @crust;
- --bard-color-skeleton-loader-background-1-rgb: #rgbify(@mantle)[];
- --bard-color-skeleton-loader-background-2-rgb: #rgbify(@accent)[];
- --bard-color-skeleton-loader-background-3-rgb: #rgbify(@accent)[];
+ --bard-color-skeleton-loader-background-1-rgb: #lib.rgbify(@mantle)[];
+ --bard-color-skeleton-loader-background-2-rgb: #lib.rgbify(@accent)[];
+ --bard-color-skeleton-loader-background-3-rgb: #lib.rgbify(@accent)[];
--bard-color-brand-text-gradient-stop-1: @blue;
--bard-color-brand-text-gradient-stop-2: @sapphire;
--bard-color-brand-text-gradient-stop-3: @peach;
@@ -233,7 +171,7 @@
--gem-sys-color--surface: @base;
--gem-sys-color--surface-container: @mantle;
- --gem-sys-color--surface--rgb: #rgbify(@base)[];
+ --gem-sys-color--surface--rgb: #lib.rgbify(@base)[];
--gem-sys-color--on-surface: @text;
--gem-sys-color--on-surface-variant: @subtext1;
--gem-sys-color--outline-variant: @surface1;
@@ -245,8 +183,8 @@
--gem-sys-color--on-primary: darken(@accent, 60%);
--gem-sys-color--primary: @accent;
--gem-sys-color--primary-container: fade(@accent, 60%);
- --gem-sys-color--on-surface--rgb: #rgbify(@subtext0)[];
- --gem-sys-color--surface-dim--rgb: #rgbify(@crust)[];
+ --gem-sys-color--on-surface--rgb: #lib.rgbify(@subtext0)[];
+ --gem-sys-color--surface-dim--rgb: #lib.rgbify(@crust)[];
--gem-sys-color--surface-container-highest: @surface0;
--gem-sys-color--primary-fixed: @text;
--gem-sys-color--on-secondary: fade(@accent, 30%);
@@ -418,15 +356,3 @@
}
}
}
-
-#rgbify(@color) {
- @rgb: red(@color), green(@color), blue(@color);
-}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/google-photos/catppuccin.user.less b/styles/google-photos/catppuccin.user.less
index d0b7bacc..e5fa59e2 100644
--- a/styles/google-photos/catppuccin.user.less
+++ b/styles/google-photos/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("photos.google.com") {
body {
@media (prefers-color-scheme: light) {
@@ -34,58 +36,22 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
+ #lib.palette();
+ #lib.defaults();
@inverse-theme: if(@flavor = latte, mocha, latte);
@inverse-accent: @catppuccin[@@inverse-theme][@@accentColor];
- @color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ // @color-scheme: if(@flavor = latte, light, dark); // Seems like a bug, this should be `color-scheme` not `@color-scheme`? This variable is not used anywhere else.
// GM3 base
@gm3-sys-color-error: @red;
- @gm3-sys-color-error-rgb: #rgbify(@gm3-sys-color-error)[];
+ @gm3-sys-color-error-rgb: #lib.rgbify(@gm3-sys-color-error)[];
@gm3-sys-color-error-container: saturate(
mix(@gm3-sys-color-error, @mantle, 30%),
20%
);
- @gm3-sys-color-error-container-rgb: #rgbify(
+ @gm3-sys-color-error-container-rgb: #lib.rgbify(
@gm3-sys-color-error-container,
)[];
@@ -93,21 +59,23 @@
mix(@gm3-sys-color-error, @base, 20%),
25%
);
- @gm3-sys-color-on-error-rgb: #rgbify(@gm3-sys-color-on-error)[];
+ @gm3-sys-color-on-error-rgb: #lib.rgbify(@gm3-sys-color-on-error)[];
@gm3-sys-color-on-error-container: saturate(
mix(@gm3-sys-color-error-container, @text, 20%),
25%
);
- @gm3-sys-color-on-error-container-rgb: #rgbify(
+ @gm3-sys-color-on-error-container-rgb: #lib.rgbify(
@gm3-sys-color-on-error-container,
)[];
@gm3-sys-color-primary: @accent;
- @gm3-sys-color-primary-rgb: #rgbify(@gm3-sys-color-primary)[];
+ @gm3-sys-color-primary-rgb: #lib.rgbify(@gm3-sys-color-primary)[];
@gm3-sys-color-primary-fixed: lighten(@accent, 5%);
- @gm3-sys-color-primary-fixed-rgb: #rgbify(@gm3-sys-color-primary-fixed)[];
+ @gm3-sys-color-primary-fixed-rgb: #lib.rgbify(
+ @gm3-sys-color-primary-fixed,
+ )[];
@gm3-sys-color-primary-fixed-dim: darken(@accent, 5%);
- @gm3-sys-color-primary-fixed-dim-rgb: #rgbify(
+ @gm3-sys-color-primary-fixed-dim-rgb: #lib.rgbify(
@gm3-sys-color-primary-fixed-dim,
)[];
@@ -115,16 +83,16 @@
mix(@gm3-sys-color-primary, @base, 20%),
25%
);
- @gm3-sys-color-on-primary-rgb: #rgbify(@gm3-sys-color-on-primary)[];
+ @gm3-sys-color-on-primary-rgb: #lib.rgbify(@gm3-sys-color-on-primary)[];
@gm3-sys-color-on-primary-fixed: darken(@gm3-sys-color-on-primary, 5%);
- @gm3-sys-color-on-primary-fixed-rgb: #rgbify(
+ @gm3-sys-color-on-primary-fixed-rgb: #lib.rgbify(
@gm3-sys-color-on-primary-fixed,
)[];
@gm3-sys-color-on-primary-fixed-variant: lighten(
@gm3-sys-color-on-primary,
5%
);
- @gm3-sys-color-on-primary-fixed-variant-rgb: #rgbify(
+ @gm3-sys-color-on-primary-fixed-variant-rgb: #lib.rgbify(
@gm3-sys-color-on-primary-fixed-variant,
)[];
@@ -132,25 +100,25 @@
mix(@gm3-sys-color-primary, @mantle, 30%),
20%
);
- @gm3-sys-color-primary-container-rgb: #rgbify(
+ @gm3-sys-color-primary-container-rgb: #lib.rgbify(
@gm3-sys-color-primary-container,
)[];
@gm3-sys-color-on-primary-container: saturate(
mix(@gm3-sys-color-primary, @text, 20%),
25%
);
- @gm3-sys-color-on-primary-container-rgb: #rgbify(
+ @gm3-sys-color-on-primary-container-rgb: #lib.rgbify(
@gm3-sys-color-on-primary-container,
)[];
@gm3-sys-color-secondary: desaturate(@accent, 20%);
- @gm3-sys-color-secondary-rgb: #rgbify(@gm3-sys-color-secondary)[];
+ @gm3-sys-color-secondary-rgb: #lib.rgbify(@gm3-sys-color-secondary)[];
@gm3-sys-color-secondary-fixed: lighten(@gm3-sys-color-secondary, 5%);
- @gm3-sys-color-secondary-fixed-rgb: #rgbify(
+ @gm3-sys-color-secondary-fixed-rgb: #lib.rgbify(
@gm3-sys-color-secondary-fixed,
)[];
@gm3-sys-color-secondary-fixed-dim: darken(@gm3-sys-color-secondary, 5%);
- @gm3-sys-color-secondary-fixed-dim-rgb: #rgbify(
+ @gm3-sys-color-secondary-fixed-dim-rgb: #lib.rgbify(
@gm3-sys-color-secondary-fixed-dim,
)[];
@@ -158,19 +126,19 @@
mix(@gm3-sys-color-secondary, @base, 20%),
25%
);
- @gm3-sys-color-on-secondary-rgb: #rgbify(@gm3-sys-color-on-secondary)[];
+ @gm3-sys-color-on-secondary-rgb: #lib.rgbify(@gm3-sys-color-on-secondary)[];
@gm3-sys-color-on-secondary-fixed: darken(
@gm3-sys-color-on-secondary,
5%
);
- @gm3-sys-color-on-secondary-fixed-rgb: #rgbify(
+ @gm3-sys-color-on-secondary-fixed-rgb: #lib.rgbify(
@gm3-sys-color-on-secondary-fixed,
)[];
@gm3-sys-color-on-secondary-fixed-variant: lighten(
@gm3-sys-color-on-primary,
5%
);
- @gm3-sys-color-on-secondary-fixed-variant-rgb: #rgbify(
+ @gm3-sys-color-on-secondary-fixed-variant-rgb: #lib.rgbify(
@gm3-sys-color-on-secondary-fixed-variant,
)[];
@@ -178,23 +146,25 @@
mix(@gm3-sys-color-secondary, @mantle, 35%),
10%
);
- @gm3-sys-color-secondary-container-rgb: #rgbify(
+ @gm3-sys-color-secondary-container-rgb: #lib.rgbify(
@gm3-sys-color-secondary-container,
)[];
@gm3-sys-color-on-secondary-container: saturate(
mix(@gm3-sys-color-secondary, @text, 75%),
25%
);
- @gm3-sys-color-on-secondary-container-rgb: #rgbify(
+ @gm3-sys-color-on-secondary-container-rgb: #lib.rgbify(
@gm3-sys-color-on-secondary-container,
)[];
@gm3-sys-color-tertiary: @accent;
- @gm3-sys-color-tertiary-rgb: #rgbify(@gm3-sys-color-tertiary)[];
+ @gm3-sys-color-tertiary-rgb: #lib.rgbify(@gm3-sys-color-tertiary)[];
@gm3-sys-color-tertiary-fixed: lighten(@gm3-sys-color-tertiary, 5%);
- @gm3-sys-color-tertiary-fixed-rgb: #rgbify(@gm3-sys-color-tertiary-fixed)[];
+ @gm3-sys-color-tertiary-fixed-rgb: #lib.rgbify(
+ @gm3-sys-color-tertiary-fixed,
+ )[];
@gm3-sys-color-tertiary-fixed-dim: darken(@gm3-sys-color-tertiary, 5%);
- @gm3-sys-color-tertiary-fixed-dim-rgb: #rgbify(
+ @gm3-sys-color-tertiary-fixed-dim-rgb: #lib.rgbify(
@gm3-sys-color-tertiary-fixed-dim,
)[];
@@ -202,16 +172,16 @@
mix(@gm3-sys-color-tertiary, @base, 20%),
25%
);
- @gm3-sys-color-on-tertiary-rgb: #rgbify(@gm3-sys-color-on-tertiary)[];
+ @gm3-sys-color-on-tertiary-rgb: #lib.rgbify(@gm3-sys-color-on-tertiary)[];
@gm3-sys-color-on-tertiary-fixed: darken(@gm3-sys-color-on-tertiary, 5%);
- @gm3-sys-color-on-tertiary-fixed-rgb: #rgbify(
+ @gm3-sys-color-on-tertiary-fixed-rgb: #lib.rgbify(
@gm3-sys-color-on-tertiary-fixed,
)[];
@gm3-sys-color-on-tertiary-fixed-variant: lighten(
@gm3-sys-color-on-tertiary,
5%
);
- @gm3-sys-color-on-tertiary-fixed-variant-rgb: #rgbify(
+ @gm3-sys-color-on-tertiary-fixed-variant-rgb: #lib.rgbify(
@gm3-sys-color-on-tertiary-fixed-variant,
)[];
@@ -219,87 +189,91 @@
mix(@gm3-sys-color-tertiary, @mantle, 20%),
0%
);
- @gm3-sys-color-tertiary-container-rgb: #rgbify(
+ @gm3-sys-color-tertiary-container-rgb: #lib.rgbify(
@gm3-sys-color-tertiary-container,
)[];
@gm3-sys-color-on-tertiary-container: saturate(
mix(@gm3-sys-color-tertiary-container, @text, 20%),
25%
);
- @gm3-sys-color-on-tertiary-container-rgb: #rgbify(
+ @gm3-sys-color-on-tertiary-container-rgb: #lib.rgbify(
@gm3-sys-color-on-tertiary-container,
)[];
@gm3-sys-color-background: @base;
- @gm3-sys-color-background-rgb: #rgbify(@gm3-sys-color-background)[];
+ @gm3-sys-color-background-rgb: #lib.rgbify(@gm3-sys-color-background)[];
@gm3-sys-color-on-background: @text;
- @gm3-sys-color-on-background-rgb: #rgbify(@gm3-sys-color-on-background)[];
+ @gm3-sys-color-on-background-rgb: #lib.rgbify(
+ @gm3-sys-color-on-background,
+ )[];
@gm3-sys-color-surface: @base;
- @gm3-sys-color-surface-rgb: #rgbify(@gm3-sys-color-surface)[];
+ @gm3-sys-color-surface-rgb: #lib.rgbify(@gm3-sys-color-surface)[];
@gm3-sys-color-surface-bright: @surface0;
- @gm3-sys-color-surface-bright-rgb: #rgbify(@gm3-sys-color-surface-bright)[];
+ @gm3-sys-color-surface-bright-rgb: #lib.rgbify(
+ @gm3-sys-color-surface-bright,
+ )[];
@gm3-sys-color-surface-dim: @crust;
- @gm3-sys-color-surface-dim-rgb: #rgbify(@gm3-sys-color-surface-dim)[];
+ @gm3-sys-color-surface-dim-rgb: #lib.rgbify(@gm3-sys-color-surface-dim)[];
@gm3-sys-color-surface-variant: mix(@mantle, @accent, 87.5%);
- @gm3-sys-color-surface-variant-rgb: #rgbify(
+ @gm3-sys-color-surface-variant-rgb: #lib.rgbify(
@gm3-sys-color-surface-variant,
)[];
@gm3-sys-color-surface-tint: @accent;
- @gm3-sys-color-surface-tint-rgb: #rgbify(@gm3-sys-color-surface-tint)[];
+ @gm3-sys-color-surface-tint-rgb: #lib.rgbify(@gm3-sys-color-surface-tint)[];
@gm3-sys-color-on-surface: @text;
- @gm3-sys-color-on-surface-rgb: #rgbify(@gm3-sys-color-on-surface)[];
+ @gm3-sys-color-on-surface-rgb: #lib.rgbify(@gm3-sys-color-on-surface)[];
@gm3-sys-color-on-surface-variant: @subtext0;
- @gm3-sys-color-on-surface-variant-rgb: #rgbify(
+ @gm3-sys-color-on-surface-variant-rgb: #lib.rgbify(
@gm3-sys-color-on-surface-variant,
)[];
@gm3-sys-color-inverse-surface: @text;
- @gm3-sys-color-inverse-surface-rgb: #rgbify(
+ @gm3-sys-color-inverse-surface-rgb: #lib.rgbify(
@gm3-sys-color-inverse-surface,
)[];
@gm3-sys-color-inverse-on-surface: @mantle;
- @gm3-sys-color-inverse-on-surface-rgb: #rgbify(
+ @gm3-sys-color-inverse-on-surface-rgb: #lib.rgbify(
@gm3-sys-color-inverse-on-surface,
)[];
@gm3-sys-color-inverse-primary: @inverse-accent;
- @gm3-sys-color-inverse-primary-rgb: #rgbify(
+ @gm3-sys-color-inverse-primary-rgb: #lib.rgbify(
@gm3-sys-color-inverse-primary,
)[];
@gm3-sys-color-surface-container-highest: @surface1;
- @gm3-sys-color-surface-container-highest-rgb: #rgbify(
+ @gm3-sys-color-surface-container-highest-rgb: #lib.rgbify(
@gm3-sys-color-surface-container-highest,
)[];
@gm3-sys-color-surface-container-high: @surface0;
- @gm3-sys-color-surface-container-high-rgb: #rgbify(
+ @gm3-sys-color-surface-container-high-rgb: #lib.rgbify(
@gm3-sys-color-surface-container-high,
)[];
@gm3-sys-color-surface-container: @surface0;
- @gm3-sys-color-surface-container-rgb: #rgbify(
+ @gm3-sys-color-surface-container-rgb: #lib.rgbify(
@gm3-sys-color-surface-container,
)[];
@gm3-sys-color-surface-container-low: @mantle;
- @gm3-sys-color-surface-container-low-rgb: #rgbify(
+ @gm3-sys-color-surface-container-low-rgb: #lib.rgbify(
@gm3-sys-color-surface-container-low,
)[];
@gm3-sys-color-surface-container-lowest: @crust;
- @gm3-sys-color-surface-container-lowest-rgb: #rgbify(
+ @gm3-sys-color-surface-container-lowest-rgb: #lib.rgbify(
@gm3-sys-color-surface-container-lowest,
)[];
@gm3-sys-color-outline: @overlay2;
- @gm3-sys-color-outline-rgb: #rgbify(@gm3-sys-color-outline)[];
+ @gm3-sys-color-outline-rgb: #lib.rgbify(@gm3-sys-color-outline)[];
@gm3-sys-color-outline-variant: @overlay0;
- @gm3-sys-color-outline-variant-rgb: #rgbify(
+ @gm3-sys-color-outline-variant-rgb: #lib.rgbify(
@gm3-sys-color-outline-variant,
)[];
@gm3-sys-color-scrim: #000;
- @gm3-sys-color-scrim-rgb: #rgbify(@gm3-sys-color-scrim)[];
+ @gm3-sys-color-scrim-rgb: #lib.rgbify(@gm3-sys-color-scrim)[];
@gm3-sys-color-shadow: #000;
- @gm3-sys-color-shadow-rgb: #rgbify(@gm3-sys-color-shadow)[];
+ @gm3-sys-color-shadow-rgb: #lib.rgbify(@gm3-sys-color-shadow)[];
--gm3-sys-color-background: @gm3-sys-color-background;
--gm3-sys-color-background-rgb: @gm3-sys-color-background-rgb;
@@ -404,77 +378,77 @@
// GM3 Photos
@gm3-sys-color-caution: @yellow;
- @gm3-sys-color-caution-rgb: #rgbify(@gm3-sys-color-caution)[];
+ @gm3-sys-color-caution-rgb: #lib.rgbify(@gm3-sys-color-caution)[];
@gm3-sys-color-on-caution: saturate(
mix(@gm3-sys-color-caution, @base, 20%),
25%
);
- @gm3-sys-color-on-caution-rgb: #rgbify(@gm3-sys-color-on-caution)[];
+ @gm3-sys-color-on-caution-rgb: #lib.rgbify(@gm3-sys-color-on-caution)[];
@gm3-sys-color-caution-container: saturate(
mix(@gm3-sys-color-caution, @mantle, 30%),
20%
);
- @gm3-sys-color-caution-container-rgb: #rgbify(
+ @gm3-sys-color-caution-container-rgb: #lib.rgbify(
@gm3-sys-color-caution-container,
)[];
@gm3-sys-color-on-caution-container: saturate(
mix(@gm3-sys-color-caution-container, @text, 20%),
25%
);
- @gm3-sys-color-on-caution-container-rgb: #rgbify(
+ @gm3-sys-color-on-caution-container-rgb: #lib.rgbify(
@gm3-sys-color-on-caution-container,
)[];
@gm3-sys-color-storage-meter-normal-primary: @blue;
- @gm3-sys-color-storage-meter-normal-primary-rgb: #rgbify(
+ @gm3-sys-color-storage-meter-normal-primary-rgb: #lib.rgbify(
@gm3-sys-color-storage-meter-normal-primary,
)[];
@gm3-sys-color-storage-meter-normal-secondary: lighten(
spin(@blue, -20deg),
10%
);
- @gm3-sys-color-storage-meter-normal-secondary-rgb: #rgbify(
+ @gm3-sys-color-storage-meter-normal-secondary-rgb: #lib.rgbify(
@gm3-sys-color-storage-meter-normal-secondary,
)[];
@gm3-sys-color-storage-meter-caution-primary: saturate(
darken(@yellow, 10%),
10%
);
- @gm3-sys-color-storage-meter-caution-primary-rgb: #rgbify(
+ @gm3-sys-color-storage-meter-caution-primary-rgb: #lib.rgbify(
@gm3-sys-color-storage-meter-caution-primary,
)[];
@gm3-sys-color-storage-meter-caution-secondary: @yellow;
- @gm3-sys-color-storage-meter-caution-secondary-rgb: #rgbify(
+ @gm3-sys-color-storage-meter-caution-secondary-rgb: #lib.rgbify(
@gm3-sys-color-storage-meter-caution-secondary,
)[];
@gm3-sys-color-storage-meter-warning-primary: saturate(
darken(@red, 10%),
10%
);
- @gm3-sys-color-storage-meter-warning-primary-rgb: #rgbify(
+ @gm3-sys-color-storage-meter-warning-primary-rgb: #lib.rgbify(
@gm3-sys-color-storage-meter-warning-primary,
)[];
@gm3-sys-color-storage-meter-warning-secondary: @red;
- @gm3-sys-color-storage-meter-warning-secondary-rgb: #rgbify(
+ @gm3-sys-color-storage-meter-warning-secondary-rgb: #lib.rgbify(
@gm3-sys-color-storage-meter-warning-secondary,
)[];
@gm3-sys-color-on-scrim: #fff;
- @gm3-sys-color-on-scrim-rgb: #rgbify(@gm3-sys-color-on-scrim)[];
+ @gm3-sys-color-on-scrim-rgb: #lib.rgbify(@gm3-sys-color-on-scrim)[];
@gm3-sys-color-lights-out-background: #000;
- @gm3-sys-color-lights-out-background-rgb: #rgbify(
+ @gm3-sys-color-lights-out-background-rgb: #lib.rgbify(
@gm3-sys-color-lights-out-background,
)[];
@gm3-sys-color-gems-main: @blue;
- @gm3-sys-color-gems-main-rgb: #rgbify(@gm3-sys-color-gems-main)[];
+ @gm3-sys-color-gems-main-rgb: #lib.rgbify(@gm3-sys-color-gems-main)[];
@gm3-sys-color-gems-muted: @sapphire;
- @gm3-sys-color-gems-muted-rgb: #rgbify(@gm3-sys-color-gems-muted)[];
+ @gm3-sys-color-gems-muted-rgb: #lib.rgbify(@gm3-sys-color-gems-muted)[];
@gm3-sys-color-gems-analog: @lavender;
- @gm3-sys-color-gems-analog-rgb: #rgbify(@gm3-sys-color-gems-analog)[];
+ @gm3-sys-color-gems-analog-rgb: #lib.rgbify(@gm3-sys-color-gems-analog)[];
@gm3-sys-color-gems-complement: @peach;
- @gm3-sys-color-gems-complement-rgb: #rgbify(
+ @gm3-sys-color-gems-complement-rgb: #lib.rgbify(
@gm3-sys-color-gems-complement,
)[];
@gm3-sys-color-twitter: @text;
- @gm3-sys-color-twitter-rgb: #rgbify(@gm3-sys-color-twitter)[];
+ @gm3-sys-color-twitter-rgb: #lib.rgbify(@gm3-sys-color-twitter)[];
--gm3-sys-color-caution: @gm3-sys-color-caution;
--gm3-sys-color-caution-rgb: @gm3-sys-color-caution-rgb;
@@ -687,15 +661,3 @@
color: var(--gm3-sys-color-primary);
}
}
-
-#rgbify(@color) {
- @rgb: red(@color), green(@color), blue(@color);
-}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/google/catppuccin.user.less b/styles/google/catppuccin.user.less
index 44b978a9..e2e8b044 100644
--- a/styles/google/catppuccin.user.less
+++ b/styles/google/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document regexp("^https?://(www\\.|images\\.)?google\\..*") {
:root {
@media (prefers-color-scheme: light) {
@@ -26,51 +28,14 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- color-scheme: if(@flavor = latte, light, dark);
+ #lib.palette();
+ #lib.defaults();
+ // Unset color-scheme from `#lib.defaults()`.
iframe {
color-scheme: none !important;
}
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
-
&,
body {
background: @base !important;
@@ -2347,33 +2312,7 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
+ #lib.palette();
.aRDKUe {
.rRF0wd {
@@ -2491,15 +2430,3 @@
}
}
}
-
-#rgbify(@color) {
- @rgb: red(@color), green(@color), blue(@color);
-}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/grabify/catppuccin.user.less b/styles/grabify/catppuccin.user.less
index 85c9fd69..c9d81d21 100644
--- a/styles/grabify/catppuccin.user.less
+++ b/styles/grabify/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("grabify.link") {
:root {
@media (prefers-color-scheme: light) {
@@ -26,46 +28,8 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
background-color: @base;
@@ -559,11 +523,3 @@
}
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/graphite/catppuccin.user.less b/styles/graphite/catppuccin.user.less
index 5477ef28..16df8ee0 100644
--- a/styles/graphite/catppuccin.user.less
+++ b/styles/graphite/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("app.graphite.dev") {
:root[data-theme="light"] {
#catppuccin(@lightFlavor);
@@ -32,46 +34,8 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
--color-bg-light: @base;
--color-bg-med: @mantle;
@@ -100,11 +64,3 @@
#createset(@mauve, action);
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/hackage/catppuccin.user.less b/styles/hackage/catppuccin.user.less
index cadfefe4..353e4cc0 100644
--- a/styles/hackage/catppuccin.user.less
+++ b/styles/hackage/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("hackage.haskell.org"),
domain("hackage-content.haskell.org") {
:root {
@@ -27,48 +29,8 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- @text-filter: @catppuccin-filters[@@flavor][@text];
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
&,
body {
@@ -813,19 +775,3 @@
}
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
-
-/* deno-fmt-ignore */
-@catppuccin-filters: {
- @latte: { @rosewater: brightness(0) saturate(100%) invert(65%) sepia(18%) saturate(1048%) hue-rotate(323deg) brightness(92%) contrast(86%); @flamingo: brightness(0) saturate(100%) invert(84%) sepia(44%) saturate(4533%) hue-rotate(310deg) brightness(98%) contrast(75%); @pink: brightness(0) saturate(100%) invert(60%) sepia(32%) saturate(775%) hue-rotate(266deg) brightness(93%) contrast(97%); @mauve: brightness(0) saturate(100%) invert(26%) sepia(59%) saturate(3315%) hue-rotate(255deg) brightness(94%) contrast(100%); @red: brightness(0) saturate(100%) invert(16%) sepia(78%) saturate(7275%) hue-rotate(342deg) brightness(84%) contrast(94%); @maroon: brightness(0) saturate(100%) invert(31%) sepia(56%) saturate(2395%) hue-rotate(331deg) brightness(99%) contrast(82%); @peach: brightness(0) saturate(100%) invert(38%) sepia(81%) saturate(1292%) hue-rotate(356deg) brightness(103%) contrast(99%); @yellow: brightness(0) saturate(100%) invert(74%) sepia(47%) saturate(4570%) hue-rotate(354deg) brightness(95%) contrast(83%); @green: brightness(0) saturate(100%) invert(51%) sepia(25%) saturate(4134%) hue-rotate(76deg) brightness(95%) contrast(66%); @teal: brightness(0) saturate(100%) invert(41%) sepia(45%) saturate(1101%) hue-rotate(139deg) brightness(100%) contrast(82%); @sky: brightness(0) saturate(100%) invert(47%) sepia(76%) saturate(2427%) hue-rotate(166deg) brightness(99%) contrast(97%); @sapphire: brightness(0) saturate(100%) invert(52%) sepia(41%) saturate(6982%) hue-rotate(160deg) brightness(102%) contrast(75%); @blue: brightness(0) saturate(100%) invert(30%) sepia(80%) saturate(1850%) hue-rotate(209deg) brightness(94%) contrast(105%); @lavender: brightness(0) saturate(100%) invert(48%) sepia(61%) saturate(538%) hue-rotate(194deg) brightness(102%) contrast(98%); @text: brightness(0) saturate(100%) invert(30%) sepia(10%) saturate(1259%) hue-rotate(196deg) brightness(97%) contrast(91%); @subtext1: brightness(0) saturate(100%) invert(36%) sepia(10%) saturate(890%) hue-rotate(196deg) brightness(98%) contrast(90%); @subtext0: brightness(0) saturate(100%) invert(47%) sepia(6%) saturate(1263%) hue-rotate(195deg) brightness(90%) contrast(81%); @overlay2: brightness(0) saturate(100%) invert(59%) sepia(7%) saturate(825%) hue-rotate(195deg) brightness(83%) contrast(91%); @overlay1: brightness(0) saturate(100%) invert(59%) sepia(14%) saturate(333%) hue-rotate(194deg) brightness(95%) contrast(89%); @overlay0: brightness(0) saturate(100%) invert(85%) sepia(7%) saturate(595%) hue-rotate(191deg) brightness(77%) contrast(81%); @surface2: brightness(0) saturate(100%) invert(86%) sepia(6%) saturate(482%) hue-rotate(189deg) brightness(82%) contrast(88%); @surface1: brightness(0) saturate(100%) invert(85%) sepia(8%) saturate(281%) hue-rotate(187deg) brightness(92%) contrast(88%); @surface0: brightness(0) saturate(100%) invert(96%) sepia(1%) saturate(5123%) hue-rotate(185deg) brightness(93%) contrast(83%); @base: brightness(0) saturate(100%) invert(89%) sepia(5%) saturate(140%) hue-rotate(182deg) brightness(109%) contrast(94%); @mantle: brightness(0) saturate(100%) invert(93%) sepia(19%) saturate(55%) hue-rotate(182deg) brightness(98%) contrast(92%); @crust: brightness(0) saturate(100%) invert(91%) sepia(1%) saturate(4489%) hue-rotate(196deg) brightness(106%) contrast(82%); };
- @frappe: { @rosewater: brightness(0) saturate(100%) invert(90%) sepia(6%) saturate(734%) hue-rotate(321deg) brightness(95%) contrast(99%); @flamingo: brightness(0) saturate(100%) invert(88%) sepia(52%) saturate(817%) hue-rotate(293deg) brightness(113%) contrast(84%); @pink: brightness(0) saturate(100%) invert(76%) sepia(15%) saturate(844%) hue-rotate(280deg) brightness(107%) contrast(91%); @mauve: brightness(0) saturate(100%) invert(71%) sepia(25%) saturate(725%) hue-rotate(225deg) brightness(94%) contrast(91%); @red: brightness(0) saturate(100%) invert(67%) sepia(3%) saturate(7209%) hue-rotate(305deg) brightness(91%) contrast(99%); @maroon: brightness(0) saturate(100%) invert(61%) sepia(14%) saturate(957%) hue-rotate(307deg) brightness(109%) contrast(90%); @peach: brightness(0) saturate(100%) invert(68%) sepia(28%) saturate(662%) hue-rotate(335deg) brightness(96%) contrast(94%); @yellow: brightness(0) saturate(100%) invert(94%) sepia(88%) saturate(684%) hue-rotate(309deg) brightness(105%) contrast(80%); @green: brightness(0) saturate(100%) invert(89%) sepia(23%) saturate(582%) hue-rotate(42deg) brightness(87%) contrast(89%); @teal: brightness(0) saturate(100%) invert(91%) sepia(13%) saturate(986%) hue-rotate(110deg) brightness(85%) contrast(81%); @sky: brightness(0) saturate(100%) invert(75%) sepia(15%) saturate(623%) hue-rotate(141deg) brightness(109%) contrast(81%); @sapphire: brightness(0) saturate(100%) invert(77%) sepia(20%) saturate(730%) hue-rotate(157deg) brightness(97%) contrast(76%); @blue: brightness(0) saturate(100%) invert(68%) sepia(16%) saturate(1070%) hue-rotate(185deg) brightness(96%) contrast(95%); @lavender: brightness(0) saturate(100%) invert(75%) sepia(20%) saturate(626%) hue-rotate(201deg) brightness(101%) contrast(89%); @text: brightness(0) saturate(100%) invert(83%) sepia(12%) saturate(582%) hue-rotate(191deg) brightness(98%) contrast(96%); @subtext1: brightness(0) saturate(100%) invert(80%) sepia(18%) saturate(411%) hue-rotate(190deg) brightness(96%) contrast(84%); @subtext0: brightness(0) saturate(100%) invert(82%) sepia(6%) saturate(1287%) hue-rotate(192deg) brightness(86%) contrast(85%); @overlay2: brightness(0) saturate(100%) invert(65%) sepia(36%) saturate(230%) hue-rotate(190deg) brightness(92%) contrast(82%); @overlay1: brightness(0) saturate(100%) invert(55%) sepia(12%) saturate(638%) hue-rotate(189deg) brightness(98%) contrast(87%); @overlay0: brightness(0) saturate(100%) invert(49%) sepia(13%) saturate(662%) hue-rotate(192deg) brightness(94%) contrast(84%); @surface2: brightness(0) saturate(100%) invert(41%) sepia(20%) saturate(469%) hue-rotate(191deg) brightness(93%) contrast(86%); @surface1: brightness(0) saturate(100%) invert(34%) sepia(14%) saturate(771%) hue-rotate(190deg) brightness(89%) contrast(85%); @surface0: brightness(0) saturate(100%) invert(28%) sepia(7%) saturate(1468%) hue-rotate(193deg) brightness(92%) contrast(95%); @base: brightness(0) saturate(100%) invert(20%) sepia(17%) saturate(747%) hue-rotate(192deg) brightness(96%) contrast(97%); @mantle: brightness(0) saturate(100%) invert(8%) sepia(7%) saturate(7271%) hue-rotate(198deg) brightness(88%) contrast(75%); @crust: brightness(0) saturate(100%) invert(7%) sepia(7%) saturate(7415%) hue-rotate(197deg) brightness(86%) contrast(79%); };
- @macchiato: { @rosewater: brightness(0) saturate(100%) invert(88%) sepia(13%) saturate(322%) hue-rotate(321deg) brightness(102%) contrast(91%); @flamingo: brightness(0) saturate(100%) invert(82%) sepia(3%) saturate(3070%) hue-rotate(314deg) brightness(107%) contrast(88%); @pink: brightness(0) saturate(100%) invert(80%) sepia(23%) saturate(509%) hue-rotate(280deg) brightness(102%) contrast(92%); @mauve: brightness(0) saturate(100%) invert(65%) sepia(18%) saturate(903%) hue-rotate(222deg) brightness(104%) contrast(93%); @red: brightness(0) saturate(100%) invert(61%) sepia(19%) saturate(1541%) hue-rotate(305deg) brightness(110%) contrast(86%); @maroon: brightness(0) saturate(100%) invert(71%) sepia(10%) saturate(1331%) hue-rotate(306deg) brightness(93%) contrast(101%); @peach: brightness(0) saturate(100%) invert(73%) sepia(13%) saturate(1676%) hue-rotate(330deg) brightness(103%) contrast(92%); @yellow: brightness(0) saturate(100%) invert(87%) sepia(89%) saturate(321%) hue-rotate(314deg) brightness(101%) contrast(87%); @green: brightness(0) saturate(100%) invert(93%) sepia(12%) saturate(1128%) hue-rotate(48deg) brightness(92%) contrast(85%); @teal: brightness(0) saturate(100%) invert(92%) sepia(10%) saturate(1176%) hue-rotate(110deg) brightness(87%) contrast(90%); @sky: brightness(0) saturate(100%) invert(78%) sepia(57%) saturate(230%) hue-rotate(142deg) brightness(96%) contrast(84%); @sapphire: brightness(0) saturate(100%) invert(74%) sepia(35%) saturate(438%) hue-rotate(156deg) brightness(92%) contrast(93%); @blue: brightness(0) saturate(100%) invert(67%) sepia(17%) saturate(1007%) hue-rotate(183deg) brightness(99%) contrast(94%); @lavender: brightness(0) saturate(100%) invert(74%) sepia(6%) saturate(2559%) hue-rotate(198deg) brightness(103%) contrast(94%); @text: brightness(0) saturate(100%) invert(81%) sepia(9%) saturate(726%) hue-rotate(192deg) brightness(104%) contrast(92%); @subtext1: brightness(0) saturate(100%) invert(84%) sepia(5%) saturate(1453%) hue-rotate(193deg) brightness(94%) contrast(86%); @subtext0: brightness(0) saturate(100%) invert(75%) sepia(18%) saturate(361%) hue-rotate(190deg) brightness(91%) contrast(86%); @overlay2: brightness(0) saturate(100%) invert(67%) sepia(9%) saturate(814%) hue-rotate(191deg) brightness(92%) contrast(88%); @overlay1: brightness(0) saturate(100%) invert(49%) sepia(38%) saturate(203%) hue-rotate(190deg) brightness(101%) contrast(93%); @overlay0: brightness(0) saturate(100%) invert(46%) sepia(16%) saturate(552%) hue-rotate(193deg) brightness(93%) contrast(84%); @surface2: brightness(0) saturate(100%) invert(34%) sepia(16%) saturate(611%) hue-rotate(192deg) brightness(101%) contrast(87%); @surface1: brightness(0) saturate(100%) invert(30%) sepia(11%) saturate(1085%) hue-rotate(194deg) brightness(92%) contrast(89%); @surface0: brightness(0) saturate(100%) invert(18%) sepia(21%) saturate(880%) hue-rotate(193deg) brightness(97%) contrast(84%); @base: brightness(0) saturate(100%) invert(12%) sepia(42%) saturate(570%) hue-rotate(194deg) brightness(90%) contrast(90%); @mantle: brightness(0) saturate(100%) invert(6%) sepia(6%) saturate(7499%) hue-rotate(200deg) brightness(93%) contrast(85%); @crust: brightness(0) saturate(100%) invert(5%) sepia(8%) saturate(5346%) hue-rotate(202deg) brightness(98%) contrast(88%); };
- @mocha: { @rosewater: brightness(0) saturate(100%) invert(92%) sepia(5%) saturate(704%) hue-rotate(320deg) brightness(99%) contrast(93%); @flamingo: brightness(0) saturate(100%) invert(81%) sepia(5%) saturate(987%) hue-rotate(315deg) brightness(107%) contrast(90%); @pink: brightness(0) saturate(100%) invert(86%) sepia(11%) saturate(1177%) hue-rotate(283deg) brightness(101%) contrast(92%); @mauve: brightness(0) saturate(100%) invert(65%) sepia(58%) saturate(255%) hue-rotate(224deg) brightness(96%) contrast(102%); @red: brightness(0) saturate(100%) invert(61%) sepia(19%) saturate(997%) hue-rotate(294deg) brightness(104%) contrast(91%); @maroon: brightness(0) saturate(100%) invert(66%) sepia(16%) saturate(1301%) hue-rotate(306deg) brightness(116%) contrast(84%); @peach: brightness(0) saturate(100%) invert(68%) sepia(57%) saturate(278%) hue-rotate(338deg) brightness(98%) contrast(101%); @yellow: brightness(0) saturate(100%) invert(90%) sepia(70%) saturate(380%) hue-rotate(313deg) brightness(102%) contrast(95%); @green: brightness(0) saturate(100%) invert(88%) sepia(6%) saturate(2015%) hue-rotate(63deg) brightness(104%) contrast(78%); @teal: brightness(0) saturate(100%) invert(92%) sepia(12%) saturate(991%) hue-rotate(108deg) brightness(93%) contrast(90%); @sky: brightness(0) saturate(100%) invert(84%) sepia(21%) saturate(1302%) hue-rotate(164deg) brightness(106%) contrast(84%); @sapphire: brightness(0) saturate(100%) invert(74%) sepia(20%) saturate(876%) hue-rotate(156deg) brightness(96%) contrast(93%); @blue: brightness(0) saturate(100%) invert(68%) sepia(18%) saturate(951%) hue-rotate(180deg) brightness(98%) contrast(100%); @lavender: brightness(0) saturate(100%) invert(73%) sepia(7%) saturate(1670%) hue-rotate(195deg) brightness(102%) contrast(99%); @text: brightness(0) saturate(100%) invert(86%) sepia(6%) saturate(879%) hue-rotate(190deg) brightness(100%) contrast(93%); @subtext1: brightness(0) saturate(100%) invert(84%) sepia(19%) saturate(381%) hue-rotate(193deg) brightness(91%) contrast(89%); @subtext0: brightness(0) saturate(100%) invert(84%) sepia(9%) saturate(767%) hue-rotate(192deg) brightness(84%) contrast(84%); @overlay2: brightness(0) saturate(100%) invert(63%) sepia(15%) saturate(428%) hue-rotate(191deg) brightness(96%) contrast(84%); @overlay1: brightness(0) saturate(100%) invert(56%) sepia(15%) saturate(455%) hue-rotate(192deg) brightness(90%) contrast(88%); @overlay0: brightness(0) saturate(100%) invert(44%) sepia(6%) saturate(1275%) hue-rotate(194deg) brightness(97%) contrast(88%); @surface2: brightness(0) saturate(100%) invert(34%) sepia(8%) saturate(1015%) hue-rotate(195deg) brightness(99%) contrast(89%); @surface1: brightness(0) saturate(100%) invert(25%) sepia(6%) saturate(1950%) hue-rotate(197deg) brightness(99%) contrast(86%); @surface0: brightness(0) saturate(100%) invert(19%) sepia(5%) saturate(2844%) hue-rotate(199deg) brightness(91%) contrast(93%); @base: brightness(0) saturate(100%) invert(7%) sepia(4%) saturate(7496%) hue-rotate(202deg) brightness(93%) contrast(87%); @mantle: brightness(0) saturate(100%) invert(6%) sepia(4%) saturate(7465%) hue-rotate(202deg) brightness(95%) contrast(90%); @crust: brightness(0) saturate(100%) invert(3%) sepia(13%) saturate(6863%) hue-rotate(220deg) brightness(95%) contrast(91%); };
-};
diff --git a/styles/hacker-news/catppuccin.user.less b/styles/hacker-news/catppuccin.user.less
index 6a80eeb9..bbced6b5 100644
--- a/styles/hacker-news/catppuccin.user.less
+++ b/styles/hacker-news/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("news.ycombinator.com") {
:root {
@media (prefers-color-scheme: light) {
@@ -26,46 +28,8 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
[bgcolor="#fafaf0"],
[bgcolor="#f6f6ef"] {
@@ -196,11 +160,3 @@
}
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/have-i-been-pwned/catppuccin.user.less b/styles/have-i-been-pwned/catppuccin.user.less
index d48fe167..b2604df7 100644
--- a/styles/have-i-been-pwned/catppuccin.user.less
+++ b/styles/have-i-been-pwned/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("haveibeenpwned.com") {
:root {
@media (prefers-color-scheme: light) {
@@ -26,48 +28,8 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- @text-filter: @catppuccin-filters[@@flavor][@text];
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
body {
background-color: @base;
@@ -450,19 +412,3 @@
}
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
-
-/* deno-fmt-ignore */
-@catppuccin-filters: {
- @latte: { @rosewater: brightness(0) saturate(100%) invert(65%) sepia(18%) saturate(1048%) hue-rotate(323deg) brightness(92%) contrast(86%); @flamingo: brightness(0) saturate(100%) invert(84%) sepia(44%) saturate(4533%) hue-rotate(310deg) brightness(98%) contrast(75%); @pink: brightness(0) saturate(100%) invert(60%) sepia(32%) saturate(775%) hue-rotate(266deg) brightness(93%) contrast(97%); @mauve: brightness(0) saturate(100%) invert(26%) sepia(59%) saturate(3315%) hue-rotate(255deg) brightness(94%) contrast(100%); @red: brightness(0) saturate(100%) invert(16%) sepia(78%) saturate(7275%) hue-rotate(342deg) brightness(84%) contrast(94%); @maroon: brightness(0) saturate(100%) invert(31%) sepia(56%) saturate(2395%) hue-rotate(331deg) brightness(99%) contrast(82%); @peach: brightness(0) saturate(100%) invert(38%) sepia(81%) saturate(1292%) hue-rotate(356deg) brightness(103%) contrast(99%); @yellow: brightness(0) saturate(100%) invert(74%) sepia(47%) saturate(4570%) hue-rotate(354deg) brightness(95%) contrast(83%); @green: brightness(0) saturate(100%) invert(51%) sepia(25%) saturate(4134%) hue-rotate(76deg) brightness(95%) contrast(66%); @teal: brightness(0) saturate(100%) invert(41%) sepia(45%) saturate(1101%) hue-rotate(139deg) brightness(100%) contrast(82%); @sky: brightness(0) saturate(100%) invert(47%) sepia(76%) saturate(2427%) hue-rotate(166deg) brightness(99%) contrast(97%); @sapphire: brightness(0) saturate(100%) invert(52%) sepia(41%) saturate(6982%) hue-rotate(160deg) brightness(102%) contrast(75%); @blue: brightness(0) saturate(100%) invert(30%) sepia(80%) saturate(1850%) hue-rotate(209deg) brightness(94%) contrast(105%); @lavender: brightness(0) saturate(100%) invert(48%) sepia(61%) saturate(538%) hue-rotate(194deg) brightness(102%) contrast(98%); @text: brightness(0) saturate(100%) invert(30%) sepia(10%) saturate(1259%) hue-rotate(196deg) brightness(97%) contrast(91%); @subtext1: brightness(0) saturate(100%) invert(36%) sepia(10%) saturate(890%) hue-rotate(196deg) brightness(98%) contrast(90%); @subtext0: brightness(0) saturate(100%) invert(47%) sepia(6%) saturate(1263%) hue-rotate(195deg) brightness(90%) contrast(81%); @overlay2: brightness(0) saturate(100%) invert(59%) sepia(7%) saturate(825%) hue-rotate(195deg) brightness(83%) contrast(91%); @overlay1: brightness(0) saturate(100%) invert(59%) sepia(14%) saturate(333%) hue-rotate(194deg) brightness(95%) contrast(89%); @overlay0: brightness(0) saturate(100%) invert(85%) sepia(7%) saturate(595%) hue-rotate(191deg) brightness(77%) contrast(81%); @surface2: brightness(0) saturate(100%) invert(86%) sepia(6%) saturate(482%) hue-rotate(189deg) brightness(82%) contrast(88%); @surface1: brightness(0) saturate(100%) invert(85%) sepia(8%) saturate(281%) hue-rotate(187deg) brightness(92%) contrast(88%); @surface0: brightness(0) saturate(100%) invert(96%) sepia(1%) saturate(5123%) hue-rotate(185deg) brightness(93%) contrast(83%); @base: brightness(0) saturate(100%) invert(89%) sepia(5%) saturate(140%) hue-rotate(182deg) brightness(109%) contrast(94%); @mantle: brightness(0) saturate(100%) invert(93%) sepia(19%) saturate(55%) hue-rotate(182deg) brightness(98%) contrast(92%); @crust: brightness(0) saturate(100%) invert(91%) sepia(1%) saturate(4489%) hue-rotate(196deg) brightness(106%) contrast(82%); };
- @frappe: { @rosewater: brightness(0) saturate(100%) invert(90%) sepia(6%) saturate(734%) hue-rotate(321deg) brightness(95%) contrast(99%); @flamingo: brightness(0) saturate(100%) invert(88%) sepia(52%) saturate(817%) hue-rotate(293deg) brightness(113%) contrast(84%); @pink: brightness(0) saturate(100%) invert(76%) sepia(15%) saturate(844%) hue-rotate(280deg) brightness(107%) contrast(91%); @mauve: brightness(0) saturate(100%) invert(71%) sepia(25%) saturate(725%) hue-rotate(225deg) brightness(94%) contrast(91%); @red: brightness(0) saturate(100%) invert(67%) sepia(3%) saturate(7209%) hue-rotate(305deg) brightness(91%) contrast(99%); @maroon: brightness(0) saturate(100%) invert(61%) sepia(14%) saturate(957%) hue-rotate(307deg) brightness(109%) contrast(90%); @peach: brightness(0) saturate(100%) invert(68%) sepia(28%) saturate(662%) hue-rotate(335deg) brightness(96%) contrast(94%); @yellow: brightness(0) saturate(100%) invert(94%) sepia(88%) saturate(684%) hue-rotate(309deg) brightness(105%) contrast(80%); @green: brightness(0) saturate(100%) invert(89%) sepia(23%) saturate(582%) hue-rotate(42deg) brightness(87%) contrast(89%); @teal: brightness(0) saturate(100%) invert(91%) sepia(13%) saturate(986%) hue-rotate(110deg) brightness(85%) contrast(81%); @sky: brightness(0) saturate(100%) invert(75%) sepia(15%) saturate(623%) hue-rotate(141deg) brightness(109%) contrast(81%); @sapphire: brightness(0) saturate(100%) invert(77%) sepia(20%) saturate(730%) hue-rotate(157deg) brightness(97%) contrast(76%); @blue: brightness(0) saturate(100%) invert(68%) sepia(16%) saturate(1070%) hue-rotate(185deg) brightness(96%) contrast(95%); @lavender: brightness(0) saturate(100%) invert(75%) sepia(20%) saturate(626%) hue-rotate(201deg) brightness(101%) contrast(89%); @text: brightness(0) saturate(100%) invert(83%) sepia(12%) saturate(582%) hue-rotate(191deg) brightness(98%) contrast(96%); @subtext1: brightness(0) saturate(100%) invert(80%) sepia(18%) saturate(411%) hue-rotate(190deg) brightness(96%) contrast(84%); @subtext0: brightness(0) saturate(100%) invert(82%) sepia(6%) saturate(1287%) hue-rotate(192deg) brightness(86%) contrast(85%); @overlay2: brightness(0) saturate(100%) invert(65%) sepia(36%) saturate(230%) hue-rotate(190deg) brightness(92%) contrast(82%); @overlay1: brightness(0) saturate(100%) invert(55%) sepia(12%) saturate(638%) hue-rotate(189deg) brightness(98%) contrast(87%); @overlay0: brightness(0) saturate(100%) invert(49%) sepia(13%) saturate(662%) hue-rotate(192deg) brightness(94%) contrast(84%); @surface2: brightness(0) saturate(100%) invert(41%) sepia(20%) saturate(469%) hue-rotate(191deg) brightness(93%) contrast(86%); @surface1: brightness(0) saturate(100%) invert(34%) sepia(14%) saturate(771%) hue-rotate(190deg) brightness(89%) contrast(85%); @surface0: brightness(0) saturate(100%) invert(28%) sepia(7%) saturate(1468%) hue-rotate(193deg) brightness(92%) contrast(95%); @base: brightness(0) saturate(100%) invert(20%) sepia(17%) saturate(747%) hue-rotate(192deg) brightness(96%) contrast(97%); @mantle: brightness(0) saturate(100%) invert(8%) sepia(7%) saturate(7271%) hue-rotate(198deg) brightness(88%) contrast(75%); @crust: brightness(0) saturate(100%) invert(7%) sepia(7%) saturate(7415%) hue-rotate(197deg) brightness(86%) contrast(79%); };
- @macchiato: { @rosewater: brightness(0) saturate(100%) invert(88%) sepia(13%) saturate(322%) hue-rotate(321deg) brightness(102%) contrast(91%); @flamingo: brightness(0) saturate(100%) invert(82%) sepia(3%) saturate(3070%) hue-rotate(314deg) brightness(107%) contrast(88%); @pink: brightness(0) saturate(100%) invert(80%) sepia(23%) saturate(509%) hue-rotate(280deg) brightness(102%) contrast(92%); @mauve: brightness(0) saturate(100%) invert(65%) sepia(18%) saturate(903%) hue-rotate(222deg) brightness(104%) contrast(93%); @red: brightness(0) saturate(100%) invert(61%) sepia(19%) saturate(1541%) hue-rotate(305deg) brightness(110%) contrast(86%); @maroon: brightness(0) saturate(100%) invert(71%) sepia(10%) saturate(1331%) hue-rotate(306deg) brightness(93%) contrast(101%); @peach: brightness(0) saturate(100%) invert(73%) sepia(13%) saturate(1676%) hue-rotate(330deg) brightness(103%) contrast(92%); @yellow: brightness(0) saturate(100%) invert(87%) sepia(89%) saturate(321%) hue-rotate(314deg) brightness(101%) contrast(87%); @green: brightness(0) saturate(100%) invert(93%) sepia(12%) saturate(1128%) hue-rotate(48deg) brightness(92%) contrast(85%); @teal: brightness(0) saturate(100%) invert(92%) sepia(10%) saturate(1176%) hue-rotate(110deg) brightness(87%) contrast(90%); @sky: brightness(0) saturate(100%) invert(78%) sepia(57%) saturate(230%) hue-rotate(142deg) brightness(96%) contrast(84%); @sapphire: brightness(0) saturate(100%) invert(74%) sepia(35%) saturate(438%) hue-rotate(156deg) brightness(92%) contrast(93%); @blue: brightness(0) saturate(100%) invert(67%) sepia(17%) saturate(1007%) hue-rotate(183deg) brightness(99%) contrast(94%); @lavender: brightness(0) saturate(100%) invert(74%) sepia(6%) saturate(2559%) hue-rotate(198deg) brightness(103%) contrast(94%); @text: brightness(0) saturate(100%) invert(81%) sepia(9%) saturate(726%) hue-rotate(192deg) brightness(104%) contrast(92%); @subtext1: brightness(0) saturate(100%) invert(84%) sepia(5%) saturate(1453%) hue-rotate(193deg) brightness(94%) contrast(86%); @subtext0: brightness(0) saturate(100%) invert(75%) sepia(18%) saturate(361%) hue-rotate(190deg) brightness(91%) contrast(86%); @overlay2: brightness(0) saturate(100%) invert(67%) sepia(9%) saturate(814%) hue-rotate(191deg) brightness(92%) contrast(88%); @overlay1: brightness(0) saturate(100%) invert(49%) sepia(38%) saturate(203%) hue-rotate(190deg) brightness(101%) contrast(93%); @overlay0: brightness(0) saturate(100%) invert(46%) sepia(16%) saturate(552%) hue-rotate(193deg) brightness(93%) contrast(84%); @surface2: brightness(0) saturate(100%) invert(34%) sepia(16%) saturate(611%) hue-rotate(192deg) brightness(101%) contrast(87%); @surface1: brightness(0) saturate(100%) invert(30%) sepia(11%) saturate(1085%) hue-rotate(194deg) brightness(92%) contrast(89%); @surface0: brightness(0) saturate(100%) invert(18%) sepia(21%) saturate(880%) hue-rotate(193deg) brightness(97%) contrast(84%); @base: brightness(0) saturate(100%) invert(12%) sepia(42%) saturate(570%) hue-rotate(194deg) brightness(90%) contrast(90%); @mantle: brightness(0) saturate(100%) invert(6%) sepia(6%) saturate(7499%) hue-rotate(200deg) brightness(93%) contrast(85%); @crust: brightness(0) saturate(100%) invert(5%) sepia(8%) saturate(5346%) hue-rotate(202deg) brightness(98%) contrast(88%); };
- @mocha: { @rosewater: brightness(0) saturate(100%) invert(92%) sepia(5%) saturate(704%) hue-rotate(320deg) brightness(99%) contrast(93%); @flamingo: brightness(0) saturate(100%) invert(81%) sepia(5%) saturate(987%) hue-rotate(315deg) brightness(107%) contrast(90%); @pink: brightness(0) saturate(100%) invert(86%) sepia(11%) saturate(1177%) hue-rotate(283deg) brightness(101%) contrast(92%); @mauve: brightness(0) saturate(100%) invert(65%) sepia(58%) saturate(255%) hue-rotate(224deg) brightness(96%) contrast(102%); @red: brightness(0) saturate(100%) invert(61%) sepia(19%) saturate(997%) hue-rotate(294deg) brightness(104%) contrast(91%); @maroon: brightness(0) saturate(100%) invert(66%) sepia(16%) saturate(1301%) hue-rotate(306deg) brightness(116%) contrast(84%); @peach: brightness(0) saturate(100%) invert(68%) sepia(57%) saturate(278%) hue-rotate(338deg) brightness(98%) contrast(101%); @yellow: brightness(0) saturate(100%) invert(90%) sepia(70%) saturate(380%) hue-rotate(313deg) brightness(102%) contrast(95%); @green: brightness(0) saturate(100%) invert(88%) sepia(6%) saturate(2015%) hue-rotate(63deg) brightness(104%) contrast(78%); @teal: brightness(0) saturate(100%) invert(92%) sepia(12%) saturate(991%) hue-rotate(108deg) brightness(93%) contrast(90%); @sky: brightness(0) saturate(100%) invert(84%) sepia(21%) saturate(1302%) hue-rotate(164deg) brightness(106%) contrast(84%); @sapphire: brightness(0) saturate(100%) invert(74%) sepia(20%) saturate(876%) hue-rotate(156deg) brightness(96%) contrast(93%); @blue: brightness(0) saturate(100%) invert(68%) sepia(18%) saturate(951%) hue-rotate(180deg) brightness(98%) contrast(100%); @lavender: brightness(0) saturate(100%) invert(73%) sepia(7%) saturate(1670%) hue-rotate(195deg) brightness(102%) contrast(99%); @text: brightness(0) saturate(100%) invert(86%) sepia(6%) saturate(879%) hue-rotate(190deg) brightness(100%) contrast(93%); @subtext1: brightness(0) saturate(100%) invert(84%) sepia(19%) saturate(381%) hue-rotate(193deg) brightness(91%) contrast(89%); @subtext0: brightness(0) saturate(100%) invert(84%) sepia(9%) saturate(767%) hue-rotate(192deg) brightness(84%) contrast(84%); @overlay2: brightness(0) saturate(100%) invert(63%) sepia(15%) saturate(428%) hue-rotate(191deg) brightness(96%) contrast(84%); @overlay1: brightness(0) saturate(100%) invert(56%) sepia(15%) saturate(455%) hue-rotate(192deg) brightness(90%) contrast(88%); @overlay0: brightness(0) saturate(100%) invert(44%) sepia(6%) saturate(1275%) hue-rotate(194deg) brightness(97%) contrast(88%); @surface2: brightness(0) saturate(100%) invert(34%) sepia(8%) saturate(1015%) hue-rotate(195deg) brightness(99%) contrast(89%); @surface1: brightness(0) saturate(100%) invert(25%) sepia(6%) saturate(1950%) hue-rotate(197deg) brightness(99%) contrast(86%); @surface0: brightness(0) saturate(100%) invert(19%) sepia(5%) saturate(2844%) hue-rotate(199deg) brightness(91%) contrast(93%); @base: brightness(0) saturate(100%) invert(7%) sepia(4%) saturate(7496%) hue-rotate(202deg) brightness(93%) contrast(87%); @mantle: brightness(0) saturate(100%) invert(6%) sepia(4%) saturate(7465%) hue-rotate(202deg) brightness(95%) contrast(90%); @crust: brightness(0) saturate(100%) invert(3%) sepia(13%) saturate(6863%) hue-rotate(220deg) brightness(95%) contrast(91%); };
-};
diff --git a/styles/holodex/catppuccin.user.less b/styles/holodex/catppuccin.user.less
index 057137c7..5c5034a7 100644
--- a/styles/holodex/catppuccin.user.less
+++ b/styles/holodex/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("holodex.net") {
:root:has(.theme--dark) {
#catppuccin(@darkFlavor);
@@ -25,46 +27,8 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
--v-anchor-base: @accent;
--v-primary-base: @accent;
@@ -263,11 +227,3 @@
}
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/home-manager-options-search/catppuccin.user.less b/styles/home-manager-options-search/catppuccin.user.less
index 431aba06..d7e8ba9c 100644
--- a/styles/home-manager-options-search/catppuccin.user.less
+++ b/styles/home-manager-options-search/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("home-manager-options.extranix.com") {
:root {
@media (prefers-color-scheme: light) {
@@ -26,46 +28,8 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
body {
background-color: @base;
@@ -182,11 +146,3 @@
}
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/homepage/catppuccin.user.less b/styles/homepage/catppuccin.user.less
index c7a90ba3..3fb8e84d 100644
--- a/styles/homepage/catppuccin.user.less
+++ b/styles/homepage/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("homepage.example.com"),
regexp("https?://homepage\\..*") {
:root {
@@ -27,46 +29,8 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
//Page Level Features
@@ -186,11 +150,3 @@
}
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/hoogle/catppuccin.user.less b/styles/hoogle/catppuccin.user.less
index 6cc9c5b2..51fd4285 100644
--- a/styles/hoogle/catppuccin.user.less
+++ b/styles/hoogle/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("hoogle.haskell.org") {
:root {
@media (prefers-color-scheme: light) {
@@ -26,46 +28,8 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
a {
color: @accent;
@@ -288,11 +252,3 @@
}
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/hoppscotch/catppuccin.user.less b/styles/hoppscotch/catppuccin.user.less
index 477a8cbc..286be96c 100644
--- a/styles/hoppscotch/catppuccin.user.less
+++ b/styles/hoppscotch/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("hoppscotch.io") {
:root.dark {
#catppuccin(@darkFlavor);
@@ -25,33 +27,12 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
+ #lib.palette();
+ #lib.defaults();
+ // TODO: Do we need to set the selection color in the defaults? Why is it necessary here but not elsewhere?
+ ::selection {
+ color: @text !important;
+ }
@accent-light-alpha: 1.1;
@accent-dark-alpha: 0.9;
@@ -59,20 +40,6 @@
@accent-gradient-via-color: 1.2;
@accent-gradient-to-color: 0.85;
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- color: @text !important;
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
-
--primary-color: @base;
--primary-light-color: @surface1;
--primary-dark-color: @crust;
@@ -120,11 +87,3 @@
}
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/hyperpipe/catppuccin.user.less b/styles/hyperpipe/catppuccin.user.less
index e001f6be..7dfe6c04 100644
--- a/styles/hyperpipe/catppuccin.user.less
+++ b/styles/hyperpipe/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("hyperpipe.surge.sh"),
domain("hyperpipe.esmailelbob.xyz"),
domain("listen.whatever.social"),
@@ -50,46 +52,8 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
--color-foreground: @accent !important;
--color-background: @base !important;
@@ -109,11 +73,3 @@
--color-text: @text !important;
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/ichi.moe/catppuccin.user.less b/styles/ichi.moe/catppuccin.user.less
index 10944c52..1da1f226 100644
--- a/styles/ichi.moe/catppuccin.user.less
+++ b/styles/ichi.moe/catppuccin.user.less
@@ -17,6 +17,8 @@
@var checkbox zen "Zen Mode" 0
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("ichi.moe") {
:root {
@media (prefers-color-scheme: light) {
@@ -28,46 +30,8 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
html,
body {
@@ -355,11 +319,3 @@
}
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/indie-wiki-buddy/catppuccin.user.less b/styles/indie-wiki-buddy/catppuccin.user.less
index b03edc77..c4f55ca7 100644
--- a/styles/indie-wiki-buddy/catppuccin.user.less
+++ b/styles/indie-wiki-buddy/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
/*
To get a list of supported search engines, run the following command:
curl -s https://raw.githubusercontent.com/KevinPayravi/indie-wiki-buddy/main/manifest-firefox.json | python -c "import sys, json;print(*json.loads(sys.stdin.read())['content_scripts'][2]['matches'], sep='\n')"
@@ -40,33 +42,7 @@ curl -s https://raw.githubusercontent.com/KevinPayravi/indie-wiki-buddy/main/man
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
+ #lib.palette();
.iwb-new-link button {
color: @base;
@@ -113,33 +89,7 @@ curl -s https://raw.githubusercontent.com/KevinPayravi/indie-wiki-buddy/main/man
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
+ #lib.palette();
.indie-wiki-banner {
background: @mantle;
@@ -163,11 +113,3 @@ curl -s https://raw.githubusercontent.com/KevinPayravi/indie-wiki-buddy/main/man
}
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/inoreader/catppuccin.user.less b/styles/inoreader/catppuccin.user.less
index b0deb44d..93750428 100644
--- a/styles/inoreader/catppuccin.user.less
+++ b/styles/inoreader/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("inoreader.com") {
:root {
@media (prefers-color-scheme: light) {
@@ -26,46 +28,8 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
body,
.inno_dialog,
@@ -616,11 +580,3 @@
}
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/instagram/catppuccin.user.less b/styles/instagram/catppuccin.user.less
index 909a2d23..744103f8 100644
--- a/styles/instagram/catppuccin.user.less
+++ b/styles/instagram/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("instagram.com") {
._aa4d {
#catppuccin(@darkFlavor);
@@ -24,51 +26,12 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
+ #lib.palette();
+ #lib.defaults();
- @text-filter: @catppuccin-filters[@@flavor][@text];
@dark-color: if(@flavor = latte, @text, @crust);
@light-color: if(@flavor = latte, @crust, @text);
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
-
&,
.x1qjc9v5,
.x9f619,
@@ -76,50 +39,50 @@
.xdt5ytf,
.x1iyjqo2,
.xl56j7k {
- --web-always-black: #rgbify(@dark-color)[];
- --ig-primary-icon: #rgbify(@text)[];
- --web-always-white: #rgbify(@light-color)[];
- --always-white: #rgbify(@light-color)[];
+ --web-always-black: #lib.rgbify(@dark-color)[];
+ --ig-primary-icon: #lib.rgbify(@text)[];
+ --web-always-white: #lib.rgbify(@light-color)[];
+ --always-white: #lib.rgbify(@light-color)[];
--overlay-alpha-80: fade(@dark-color, 50%);
- --grey-9: #rgbify(@crust)[];
- --ig-primary-background: #rgbify(@base)[];
- --ig-secondary-background: #rgbify(@surface0)[];
- --ig-banner-background: #rgbify(@crust)[];
- --ig-highlight-background: #rgbify(@surface0)[];
- --ig-elevated-background: #rgbify(@crust)[];
- --ig-elevated-highlight-background: #rgbify(@surface0)[];
- --ig-hover-overlay: #rgbify(@text)[], 0.1;
+ --grey-9: #lib.rgbify(@crust)[];
+ --ig-primary-background: #lib.rgbify(@base)[];
+ --ig-secondary-background: #lib.rgbify(@surface0)[];
+ --ig-banner-background: #lib.rgbify(@crust)[];
+ --ig-highlight-background: #lib.rgbify(@surface0)[];
+ --ig-elevated-background: #lib.rgbify(@crust)[];
+ --ig-elevated-highlight-background: #lib.rgbify(@surface0)[];
+ --ig-hover-overlay: #lib.rgbify(@text)[], 0.1;
--hover-overlay: fade(@surface0, 20%);
- --ig-text-on-color: #rgbify(@crust)[];
- --ig-badge: #rgbify(@accent)[];
- --ig-primary-button: #rgbify(@accent)[];
+ --ig-text-on-color: #lib.rgbify(@crust)[];
+ --ig-badge: #lib.rgbify(@accent)[];
+ --ig-primary-button: #lib.rgbify(@accent)[];
--ig-primary-button-hover: fade(@accent, 80%);
- --ig-secondary-button-background: #rgbify(@surface0)[];
- --ig-secondary-button-hover: #rgbify(@surface1)[];
- --ig-secondary-button: #rgbify(@text)[];
- --ig-primary-text: #rgbify(@text)[];
- --ig-secondary-text: #rgbify(@subtext0)[];
- --ig-tertiary-text: #rgbify(@subtext0)[];
+ --ig-secondary-button-background: #lib.rgbify(@surface0)[];
+ --ig-secondary-button-hover: #lib.rgbify(@surface1)[];
+ --ig-secondary-button: #lib.rgbify(@text)[];
+ --ig-primary-text: #lib.rgbify(@text)[];
+ --ig-secondary-text: #lib.rgbify(@subtext0)[];
+ --ig-tertiary-text: #lib.rgbify(@subtext0)[];
--wbloks-primary-text: @text;
- --ig-text-on-media: #rgbify(@text)[];
- --ig-separator: #rgbify(@surface0)[];
- --chat-admin-text-color: #rgbify(@subtext0)[];
- --ig-elevated-separator: #rgbify(@surface0)[];
- --post-separator: #rgbify(@overlay0)[];
- --ig-stroke: #rgbify(@overlay0)[];
- --grey-2: #rgbify(@overlay0)[];
- --ig-link: #rgbify(@accent)[];
- --ig-error-or-destructive: #rgbify(@red)[];
- --ig-success: #rgbify(@green)[];
- --blue-2: #rgbify(@blue)[];
- --ig-close-friends-refreshed: #rgbify(@green)[];
- --ig-text-input-border-hover-prism: #rgbify(@surface1)[];
- --ig-toggle-outline-prism: #rgbify(@text)[];
- --ig-toggle-background-on-prism: #rgbify(@text)[];
- --ig-stroke-prism: #rgbify(@crust)[];
- --barcelona-logo: #rgbify(@text)[];
- --ig-bubble-background: #rgbify(@surface1)[];
- --ig-tertiary-icon: #rgbify(@accent)[];
+ --ig-text-on-media: #lib.rgbify(@text)[];
+ --ig-separator: #lib.rgbify(@surface0)[];
+ --chat-admin-text-color: #lib.rgbify(@subtext0)[];
+ --ig-elevated-separator: #lib.rgbify(@surface0)[];
+ --post-separator: #lib.rgbify(@overlay0)[];
+ --ig-stroke: #lib.rgbify(@overlay0)[];
+ --grey-2: #lib.rgbify(@overlay0)[];
+ --ig-link: #lib.rgbify(@accent)[];
+ --ig-error-or-destructive: #lib.rgbify(@red)[];
+ --ig-success: #lib.rgbify(@green)[];
+ --blue-2: #lib.rgbify(@blue)[];
+ --ig-close-friends-refreshed: #lib.rgbify(@green)[];
+ --ig-text-input-border-hover-prism: #lib.rgbify(@surface1)[];
+ --ig-toggle-outline-prism: #lib.rgbify(@text)[];
+ --ig-toggle-background-on-prism: #lib.rgbify(@text)[];
+ --ig-stroke-prism: #lib.rgbify(@crust)[];
+ --barcelona-logo: #lib.rgbify(@text)[];
+ --ig-bubble-background: #lib.rgbify(@surface1)[];
+ --ig-tertiary-icon: #lib.rgbify(@accent)[];
--always-dark-overlay: @accent;
--secondary-text: @subtext0;
--primary-text: @text;
@@ -763,33 +726,7 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
+ #lib.palette();
.x11jlvup {
--chat-outgoing-message-bubble-background-color: fade(@blue, 80%);
@@ -895,23 +832,3 @@
}
}
}
-
-#rgbify(@color) {
- @rgb: red(@color), green(@color), blue(@color);
-}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
-
-/* deno-fmt-ignore */
-@catppuccin-filters: {
- @latte: { @rosewater: brightness(0) saturate(100%) invert(65%) sepia(18%) saturate(1048%) hue-rotate(323deg) brightness(92%) contrast(86%); @flamingo: brightness(0) saturate(100%) invert(84%) sepia(44%) saturate(4533%) hue-rotate(310deg) brightness(98%) contrast(75%); @pink: brightness(0) saturate(100%) invert(60%) sepia(32%) saturate(775%) hue-rotate(266deg) brightness(93%) contrast(97%); @mauve: brightness(0) saturate(100%) invert(26%) sepia(59%) saturate(3315%) hue-rotate(255deg) brightness(94%) contrast(100%); @red: brightness(0) saturate(100%) invert(16%) sepia(78%) saturate(7275%) hue-rotate(342deg) brightness(84%) contrast(94%); @maroon: brightness(0) saturate(100%) invert(31%) sepia(56%) saturate(2395%) hue-rotate(331deg) brightness(99%) contrast(82%); @peach: brightness(0) saturate(100%) invert(38%) sepia(81%) saturate(1292%) hue-rotate(356deg) brightness(103%) contrast(99%); @yellow: brightness(0) saturate(100%) invert(74%) sepia(47%) saturate(4570%) hue-rotate(354deg) brightness(95%) contrast(83%); @green: brightness(0) saturate(100%) invert(51%) sepia(25%) saturate(4134%) hue-rotate(76deg) brightness(95%) contrast(66%); @teal: brightness(0) saturate(100%) invert(41%) sepia(45%) saturate(1101%) hue-rotate(139deg) brightness(100%) contrast(82%); @sky: brightness(0) saturate(100%) invert(47%) sepia(76%) saturate(2427%) hue-rotate(166deg) brightness(99%) contrast(97%); @sapphire: brightness(0) saturate(100%) invert(52%) sepia(41%) saturate(6982%) hue-rotate(160deg) brightness(102%) contrast(75%); @blue: brightness(0) saturate(100%) invert(30%) sepia(80%) saturate(1850%) hue-rotate(209deg) brightness(94%) contrast(105%); @lavender: brightness(0) saturate(100%) invert(48%) sepia(61%) saturate(538%) hue-rotate(194deg) brightness(102%) contrast(98%); @text: brightness(0) saturate(100%) invert(30%) sepia(10%) saturate(1259%) hue-rotate(196deg) brightness(97%) contrast(91%); @subtext1: brightness(0) saturate(100%) invert(36%) sepia(10%) saturate(890%) hue-rotate(196deg) brightness(98%) contrast(90%); @subtext0: brightness(0) saturate(100%) invert(47%) sepia(6%) saturate(1263%) hue-rotate(195deg) brightness(90%) contrast(81%); @overlay2: brightness(0) saturate(100%) invert(59%) sepia(7%) saturate(825%) hue-rotate(195deg) brightness(83%) contrast(91%); @overlay1: brightness(0) saturate(100%) invert(59%) sepia(14%) saturate(333%) hue-rotate(194deg) brightness(95%) contrast(89%); @overlay0: brightness(0) saturate(100%) invert(85%) sepia(7%) saturate(595%) hue-rotate(191deg) brightness(77%) contrast(81%); @surface2: brightness(0) saturate(100%) invert(86%) sepia(6%) saturate(482%) hue-rotate(189deg) brightness(82%) contrast(88%); @surface1: brightness(0) saturate(100%) invert(85%) sepia(8%) saturate(281%) hue-rotate(187deg) brightness(92%) contrast(88%); @surface0: brightness(0) saturate(100%) invert(96%) sepia(1%) saturate(5123%) hue-rotate(185deg) brightness(93%) contrast(83%); @base: brightness(0) saturate(100%) invert(89%) sepia(5%) saturate(140%) hue-rotate(182deg) brightness(109%) contrast(94%); @mantle: brightness(0) saturate(100%) invert(93%) sepia(19%) saturate(55%) hue-rotate(182deg) brightness(98%) contrast(92%); @crust: brightness(0) saturate(100%) invert(91%) sepia(1%) saturate(4489%) hue-rotate(196deg) brightness(106%) contrast(82%); };
- @frappe: { @rosewater: brightness(0) saturate(100%) invert(90%) sepia(6%) saturate(734%) hue-rotate(321deg) brightness(95%) contrast(99%); @flamingo: brightness(0) saturate(100%) invert(88%) sepia(52%) saturate(817%) hue-rotate(293deg) brightness(113%) contrast(84%); @pink: brightness(0) saturate(100%) invert(76%) sepia(15%) saturate(844%) hue-rotate(280deg) brightness(107%) contrast(91%); @mauve: brightness(0) saturate(100%) invert(71%) sepia(25%) saturate(725%) hue-rotate(225deg) brightness(94%) contrast(91%); @red: brightness(0) saturate(100%) invert(67%) sepia(3%) saturate(7209%) hue-rotate(305deg) brightness(91%) contrast(99%); @maroon: brightness(0) saturate(100%) invert(61%) sepia(14%) saturate(957%) hue-rotate(307deg) brightness(109%) contrast(90%); @peach: brightness(0) saturate(100%) invert(68%) sepia(28%) saturate(662%) hue-rotate(335deg) brightness(96%) contrast(94%); @yellow: brightness(0) saturate(100%) invert(94%) sepia(88%) saturate(684%) hue-rotate(309deg) brightness(105%) contrast(80%); @green: brightness(0) saturate(100%) invert(89%) sepia(23%) saturate(582%) hue-rotate(42deg) brightness(87%) contrast(89%); @teal: brightness(0) saturate(100%) invert(91%) sepia(13%) saturate(986%) hue-rotate(110deg) brightness(85%) contrast(81%); @sky: brightness(0) saturate(100%) invert(75%) sepia(15%) saturate(623%) hue-rotate(141deg) brightness(109%) contrast(81%); @sapphire: brightness(0) saturate(100%) invert(77%) sepia(20%) saturate(730%) hue-rotate(157deg) brightness(97%) contrast(76%); @blue: brightness(0) saturate(100%) invert(68%) sepia(16%) saturate(1070%) hue-rotate(185deg) brightness(96%) contrast(95%); @lavender: brightness(0) saturate(100%) invert(75%) sepia(20%) saturate(626%) hue-rotate(201deg) brightness(101%) contrast(89%); @text: brightness(0) saturate(100%) invert(83%) sepia(12%) saturate(582%) hue-rotate(191deg) brightness(98%) contrast(96%); @subtext1: brightness(0) saturate(100%) invert(80%) sepia(18%) saturate(411%) hue-rotate(190deg) brightness(96%) contrast(84%); @subtext0: brightness(0) saturate(100%) invert(82%) sepia(6%) saturate(1287%) hue-rotate(192deg) brightness(86%) contrast(85%); @overlay2: brightness(0) saturate(100%) invert(65%) sepia(36%) saturate(230%) hue-rotate(190deg) brightness(92%) contrast(82%); @overlay1: brightness(0) saturate(100%) invert(55%) sepia(12%) saturate(638%) hue-rotate(189deg) brightness(98%) contrast(87%); @overlay0: brightness(0) saturate(100%) invert(49%) sepia(13%) saturate(662%) hue-rotate(192deg) brightness(94%) contrast(84%); @surface2: brightness(0) saturate(100%) invert(41%) sepia(20%) saturate(469%) hue-rotate(191deg) brightness(93%) contrast(86%); @surface1: brightness(0) saturate(100%) invert(34%) sepia(14%) saturate(771%) hue-rotate(190deg) brightness(89%) contrast(85%); @surface0: brightness(0) saturate(100%) invert(28%) sepia(7%) saturate(1468%) hue-rotate(193deg) brightness(92%) contrast(95%); @base: brightness(0) saturate(100%) invert(20%) sepia(17%) saturate(747%) hue-rotate(192deg) brightness(96%) contrast(97%); @mantle: brightness(0) saturate(100%) invert(8%) sepia(7%) saturate(7271%) hue-rotate(198deg) brightness(88%) contrast(75%); @crust: brightness(0) saturate(100%) invert(7%) sepia(7%) saturate(7415%) hue-rotate(197deg) brightness(86%) contrast(79%); };
- @macchiato: { @rosewater: brightness(0) saturate(100%) invert(88%) sepia(13%) saturate(322%) hue-rotate(321deg) brightness(102%) contrast(91%); @flamingo: brightness(0) saturate(100%) invert(82%) sepia(3%) saturate(3070%) hue-rotate(314deg) brightness(107%) contrast(88%); @pink: brightness(0) saturate(100%) invert(80%) sepia(23%) saturate(509%) hue-rotate(280deg) brightness(102%) contrast(92%); @mauve: brightness(0) saturate(100%) invert(65%) sepia(18%) saturate(903%) hue-rotate(222deg) brightness(104%) contrast(93%); @red: brightness(0) saturate(100%) invert(61%) sepia(19%) saturate(1541%) hue-rotate(305deg) brightness(110%) contrast(86%); @maroon: brightness(0) saturate(100%) invert(71%) sepia(10%) saturate(1331%) hue-rotate(306deg) brightness(93%) contrast(101%); @peach: brightness(0) saturate(100%) invert(73%) sepia(13%) saturate(1676%) hue-rotate(330deg) brightness(103%) contrast(92%); @yellow: brightness(0) saturate(100%) invert(87%) sepia(89%) saturate(321%) hue-rotate(314deg) brightness(101%) contrast(87%); @green: brightness(0) saturate(100%) invert(93%) sepia(12%) saturate(1128%) hue-rotate(48deg) brightness(92%) contrast(85%); @teal: brightness(0) saturate(100%) invert(92%) sepia(10%) saturate(1176%) hue-rotate(110deg) brightness(87%) contrast(90%); @sky: brightness(0) saturate(100%) invert(78%) sepia(57%) saturate(230%) hue-rotate(142deg) brightness(96%) contrast(84%); @sapphire: brightness(0) saturate(100%) invert(74%) sepia(35%) saturate(438%) hue-rotate(156deg) brightness(92%) contrast(93%); @blue: brightness(0) saturate(100%) invert(67%) sepia(17%) saturate(1007%) hue-rotate(183deg) brightness(99%) contrast(94%); @lavender: brightness(0) saturate(100%) invert(74%) sepia(6%) saturate(2559%) hue-rotate(198deg) brightness(103%) contrast(94%); @text: brightness(0) saturate(100%) invert(81%) sepia(9%) saturate(726%) hue-rotate(192deg) brightness(104%) contrast(92%); @subtext1: brightness(0) saturate(100%) invert(84%) sepia(5%) saturate(1453%) hue-rotate(193deg) brightness(94%) contrast(86%); @subtext0: brightness(0) saturate(100%) invert(75%) sepia(18%) saturate(361%) hue-rotate(190deg) brightness(91%) contrast(86%); @overlay2: brightness(0) saturate(100%) invert(67%) sepia(9%) saturate(814%) hue-rotate(191deg) brightness(92%) contrast(88%); @overlay1: brightness(0) saturate(100%) invert(49%) sepia(38%) saturate(203%) hue-rotate(190deg) brightness(101%) contrast(93%); @overlay0: brightness(0) saturate(100%) invert(46%) sepia(16%) saturate(552%) hue-rotate(193deg) brightness(93%) contrast(84%); @surface2: brightness(0) saturate(100%) invert(34%) sepia(16%) saturate(611%) hue-rotate(192deg) brightness(101%) contrast(87%); @surface1: brightness(0) saturate(100%) invert(30%) sepia(11%) saturate(1085%) hue-rotate(194deg) brightness(92%) contrast(89%); @surface0: brightness(0) saturate(100%) invert(18%) sepia(21%) saturate(880%) hue-rotate(193deg) brightness(97%) contrast(84%); @base: brightness(0) saturate(100%) invert(12%) sepia(42%) saturate(570%) hue-rotate(194deg) brightness(90%) contrast(90%); @mantle: brightness(0) saturate(100%) invert(6%) sepia(6%) saturate(7499%) hue-rotate(200deg) brightness(93%) contrast(85%); @crust: brightness(0) saturate(100%) invert(5%) sepia(8%) saturate(5346%) hue-rotate(202deg) brightness(98%) contrast(88%); };
- @mocha: { @rosewater: brightness(0) saturate(100%) invert(92%) sepia(5%) saturate(704%) hue-rotate(320deg) brightness(99%) contrast(93%); @flamingo: brightness(0) saturate(100%) invert(81%) sepia(5%) saturate(987%) hue-rotate(315deg) brightness(107%) contrast(90%); @pink: brightness(0) saturate(100%) invert(86%) sepia(11%) saturate(1177%) hue-rotate(283deg) brightness(101%) contrast(92%); @mauve: brightness(0) saturate(100%) invert(65%) sepia(58%) saturate(255%) hue-rotate(224deg) brightness(96%) contrast(102%); @red: brightness(0) saturate(100%) invert(61%) sepia(19%) saturate(997%) hue-rotate(294deg) brightness(104%) contrast(91%); @maroon: brightness(0) saturate(100%) invert(66%) sepia(16%) saturate(1301%) hue-rotate(306deg) brightness(116%) contrast(84%); @peach: brightness(0) saturate(100%) invert(68%) sepia(57%) saturate(278%) hue-rotate(338deg) brightness(98%) contrast(101%); @yellow: brightness(0) saturate(100%) invert(90%) sepia(70%) saturate(380%) hue-rotate(313deg) brightness(102%) contrast(95%); @green: brightness(0) saturate(100%) invert(88%) sepia(6%) saturate(2015%) hue-rotate(63deg) brightness(104%) contrast(78%); @teal: brightness(0) saturate(100%) invert(92%) sepia(12%) saturate(991%) hue-rotate(108deg) brightness(93%) contrast(90%); @sky: brightness(0) saturate(100%) invert(84%) sepia(21%) saturate(1302%) hue-rotate(164deg) brightness(106%) contrast(84%); @sapphire: brightness(0) saturate(100%) invert(74%) sepia(20%) saturate(876%) hue-rotate(156deg) brightness(96%) contrast(93%); @blue: brightness(0) saturate(100%) invert(68%) sepia(18%) saturate(951%) hue-rotate(180deg) brightness(98%) contrast(100%); @lavender: brightness(0) saturate(100%) invert(73%) sepia(7%) saturate(1670%) hue-rotate(195deg) brightness(102%) contrast(99%); @text: brightness(0) saturate(100%) invert(86%) sepia(6%) saturate(879%) hue-rotate(190deg) brightness(100%) contrast(93%); @subtext1: brightness(0) saturate(100%) invert(84%) sepia(19%) saturate(381%) hue-rotate(193deg) brightness(91%) contrast(89%); @subtext0: brightness(0) saturate(100%) invert(84%) sepia(9%) saturate(767%) hue-rotate(192deg) brightness(84%) contrast(84%); @overlay2: brightness(0) saturate(100%) invert(63%) sepia(15%) saturate(428%) hue-rotate(191deg) brightness(96%) contrast(84%); @overlay1: brightness(0) saturate(100%) invert(56%) sepia(15%) saturate(455%) hue-rotate(192deg) brightness(90%) contrast(88%); @overlay0: brightness(0) saturate(100%) invert(44%) sepia(6%) saturate(1275%) hue-rotate(194deg) brightness(97%) contrast(88%); @surface2: brightness(0) saturate(100%) invert(34%) sepia(8%) saturate(1015%) hue-rotate(195deg) brightness(99%) contrast(89%); @surface1: brightness(0) saturate(100%) invert(25%) sepia(6%) saturate(1950%) hue-rotate(197deg) brightness(99%) contrast(86%); @surface0: brightness(0) saturate(100%) invert(19%) sepia(5%) saturate(2844%) hue-rotate(199deg) brightness(91%) contrast(93%); @base: brightness(0) saturate(100%) invert(7%) sepia(4%) saturate(7496%) hue-rotate(202deg) brightness(93%) contrast(87%); @mantle: brightness(0) saturate(100%) invert(6%) sepia(4%) saturate(7465%) hue-rotate(202deg) brightness(95%) contrast(90%); @crust: brightness(0) saturate(100%) invert(3%) sepia(13%) saturate(6863%) hue-rotate(220deg) brightness(95%) contrast(91%); };
-};
diff --git a/styles/invidious/catppuccin.user.less b/styles/invidious/catppuccin.user.less
index f433aa05..e10b9e62 100644
--- a/styles/invidious/catppuccin.user.less
+++ b/styles/invidious/catppuccin.user.less
@@ -17,6 +17,8 @@
@var checkbox styleVideoPlayer "Style Video Player" 1
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
/**
* kept up-to-date with
* `curl https://api.invidious.io/instances.json | jq '.[] | select(.[1].type=="https") | .[0]'`
@@ -71,34 +73,10 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
+ #lib.palette();
+ #lib.defaults();
+ // TODO: Can we remove lightenOrDarken in favor of shades/tints? Should we add it to the shared lib for now?
#lightenOrDarken(@color, @value) {
@result: if(
@flavor = latte,
@@ -110,19 +88,6 @@
@link-color: @accent;
@link-hover: #lightenOrDarken(@accent, 5%)[@result];
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
-
background-color: @base !important;
color: @text !important;
@@ -330,11 +295,3 @@
}
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; }
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; }
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; }
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; }
-};
diff --git a/styles/invokeai/catppuccin.user.less b/styles/invokeai/catppuccin.user.less
index e4897ee8..e75a0396 100644
--- a/styles/invokeai/catppuccin.user.less
+++ b/styles/invokeai/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document regexp("http:\\/\\/(127\\.0\\.0\\.1|localhost):9090(.*)") {
:root {
@media (prefers-color-scheme: light) {
@@ -26,46 +28,8 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
:root,
[data-theme]:root {
@@ -128,11 +92,3 @@
}
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/jisho/catppuccin.user.less b/styles/jisho/catppuccin.user.less
index 6c416b16..e4a4a07a 100644
--- a/styles/jisho/catppuccin.user.less
+++ b/styles/jisho/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("jisho.org") {
:root[data-color-theme="auto"] {
@media (prefers-color-scheme: light) {
@@ -33,33 +35,8 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
+ #lib.palette();
+ #lib.defaults();
@accent-dim: if(
@flavor = latte,
@@ -67,19 +44,6 @@
desaturate(darken(@accent, 8%), 10%)
);
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
-
body {
background-color: @base !important;
color: @text;
@@ -487,11 +451,3 @@
}
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/keybr.com/catppuccin.user.less b/styles/keybr.com/catppuccin.user.less
index 9365c31b..d065a389 100644
--- a/styles/keybr.com/catppuccin.user.less
+++ b/styles/keybr.com/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("keybr.com") {
html[data-color="dark"] {
#catppuccin(@darkFlavor);
@@ -32,46 +34,8 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
--primary-d2: @overlay0;
--primary-d1: @overlay0;
@@ -142,11 +106,3 @@
--effort-color: @accent;
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/keyoxide/catppuccin.user.less b/styles/keyoxide/catppuccin.user.less
index 41c1ec4a..9f1ff36d 100644
--- a/styles/keyoxide/catppuccin.user.less
+++ b/styles/keyoxide/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document url-prefix("https://keyoxide.org") {
:root {
@media (prefers-color-scheme: light) {
@@ -26,48 +28,8 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- @text-filter: @catppuccin-filters[@@flavor][@text];
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
--primary-color: @accent;
--primary-color-subtle: lighten(@accent, 5%);
@@ -135,48 +97,11 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
+ #lib.palette();
@text-filter: @catppuccin-filters[@@flavor][@text];
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.defaults();
background-color: @base;
@@ -289,19 +214,3 @@
}
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
-
-/* deno-fmt-ignore */
-@catppuccin-filters: {
- @latte: { @rosewater: brightness(0) saturate(100%) invert(65%) sepia(18%) saturate(1048%) hue-rotate(323deg) brightness(92%) contrast(86%); @flamingo: brightness(0) saturate(100%) invert(84%) sepia(44%) saturate(4533%) hue-rotate(310deg) brightness(98%) contrast(75%); @pink: brightness(0) saturate(100%) invert(60%) sepia(32%) saturate(775%) hue-rotate(266deg) brightness(93%) contrast(97%); @mauve: brightness(0) saturate(100%) invert(26%) sepia(59%) saturate(3315%) hue-rotate(255deg) brightness(94%) contrast(100%); @red: brightness(0) saturate(100%) invert(16%) sepia(78%) saturate(7275%) hue-rotate(342deg) brightness(84%) contrast(94%); @maroon: brightness(0) saturate(100%) invert(31%) sepia(56%) saturate(2395%) hue-rotate(331deg) brightness(99%) contrast(82%); @peach: brightness(0) saturate(100%) invert(38%) sepia(81%) saturate(1292%) hue-rotate(356deg) brightness(103%) contrast(99%); @yellow: brightness(0) saturate(100%) invert(74%) sepia(47%) saturate(4570%) hue-rotate(354deg) brightness(95%) contrast(83%); @green: brightness(0) saturate(100%) invert(51%) sepia(25%) saturate(4134%) hue-rotate(76deg) brightness(95%) contrast(66%); @teal: brightness(0) saturate(100%) invert(41%) sepia(45%) saturate(1101%) hue-rotate(139deg) brightness(100%) contrast(82%); @sky: brightness(0) saturate(100%) invert(47%) sepia(76%) saturate(2427%) hue-rotate(166deg) brightness(99%) contrast(97%); @sapphire: brightness(0) saturate(100%) invert(52%) sepia(41%) saturate(6982%) hue-rotate(160deg) brightness(102%) contrast(75%); @blue: brightness(0) saturate(100%) invert(30%) sepia(80%) saturate(1850%) hue-rotate(209deg) brightness(94%) contrast(105%); @lavender: brightness(0) saturate(100%) invert(48%) sepia(61%) saturate(538%) hue-rotate(194deg) brightness(102%) contrast(98%); @text: brightness(0) saturate(100%) invert(30%) sepia(10%) saturate(1259%) hue-rotate(196deg) brightness(97%) contrast(91%); @subtext1: brightness(0) saturate(100%) invert(36%) sepia(10%) saturate(890%) hue-rotate(196deg) brightness(98%) contrast(90%); @subtext0: brightness(0) saturate(100%) invert(47%) sepia(6%) saturate(1263%) hue-rotate(195deg) brightness(90%) contrast(81%); @overlay2: brightness(0) saturate(100%) invert(59%) sepia(7%) saturate(825%) hue-rotate(195deg) brightness(83%) contrast(91%); @overlay1: brightness(0) saturate(100%) invert(59%) sepia(14%) saturate(333%) hue-rotate(194deg) brightness(95%) contrast(89%); @overlay0: brightness(0) saturate(100%) invert(85%) sepia(7%) saturate(595%) hue-rotate(191deg) brightness(77%) contrast(81%); @surface2: brightness(0) saturate(100%) invert(86%) sepia(6%) saturate(482%) hue-rotate(189deg) brightness(82%) contrast(88%); @surface1: brightness(0) saturate(100%) invert(85%) sepia(8%) saturate(281%) hue-rotate(187deg) brightness(92%) contrast(88%); @surface0: brightness(0) saturate(100%) invert(96%) sepia(1%) saturate(5123%) hue-rotate(185deg) brightness(93%) contrast(83%); @base: brightness(0) saturate(100%) invert(89%) sepia(5%) saturate(140%) hue-rotate(182deg) brightness(109%) contrast(94%); @mantle: brightness(0) saturate(100%) invert(93%) sepia(19%) saturate(55%) hue-rotate(182deg) brightness(98%) contrast(92%); @crust: brightness(0) saturate(100%) invert(91%) sepia(1%) saturate(4489%) hue-rotate(196deg) brightness(106%) contrast(82%); };
- @frappe: { @rosewater: brightness(0) saturate(100%) invert(90%) sepia(6%) saturate(734%) hue-rotate(321deg) brightness(95%) contrast(99%); @flamingo: brightness(0) saturate(100%) invert(88%) sepia(52%) saturate(817%) hue-rotate(293deg) brightness(113%) contrast(84%); @pink: brightness(0) saturate(100%) invert(76%) sepia(15%) saturate(844%) hue-rotate(280deg) brightness(107%) contrast(91%); @mauve: brightness(0) saturate(100%) invert(71%) sepia(25%) saturate(725%) hue-rotate(225deg) brightness(94%) contrast(91%); @red: brightness(0) saturate(100%) invert(67%) sepia(3%) saturate(7209%) hue-rotate(305deg) brightness(91%) contrast(99%); @maroon: brightness(0) saturate(100%) invert(61%) sepia(14%) saturate(957%) hue-rotate(307deg) brightness(109%) contrast(90%); @peach: brightness(0) saturate(100%) invert(68%) sepia(28%) saturate(662%) hue-rotate(335deg) brightness(96%) contrast(94%); @yellow: brightness(0) saturate(100%) invert(94%) sepia(88%) saturate(684%) hue-rotate(309deg) brightness(105%) contrast(80%); @green: brightness(0) saturate(100%) invert(89%) sepia(23%) saturate(582%) hue-rotate(42deg) brightness(87%) contrast(89%); @teal: brightness(0) saturate(100%) invert(91%) sepia(13%) saturate(986%) hue-rotate(110deg) brightness(85%) contrast(81%); @sky: brightness(0) saturate(100%) invert(75%) sepia(15%) saturate(623%) hue-rotate(141deg) brightness(109%) contrast(81%); @sapphire: brightness(0) saturate(100%) invert(77%) sepia(20%) saturate(730%) hue-rotate(157deg) brightness(97%) contrast(76%); @blue: brightness(0) saturate(100%) invert(68%) sepia(16%) saturate(1070%) hue-rotate(185deg) brightness(96%) contrast(95%); @lavender: brightness(0) saturate(100%) invert(75%) sepia(20%) saturate(626%) hue-rotate(201deg) brightness(101%) contrast(89%); @text: brightness(0) saturate(100%) invert(83%) sepia(12%) saturate(582%) hue-rotate(191deg) brightness(98%) contrast(96%); @subtext1: brightness(0) saturate(100%) invert(80%) sepia(18%) saturate(411%) hue-rotate(190deg) brightness(96%) contrast(84%); @subtext0: brightness(0) saturate(100%) invert(82%) sepia(6%) saturate(1287%) hue-rotate(192deg) brightness(86%) contrast(85%); @overlay2: brightness(0) saturate(100%) invert(65%) sepia(36%) saturate(230%) hue-rotate(190deg) brightness(92%) contrast(82%); @overlay1: brightness(0) saturate(100%) invert(55%) sepia(12%) saturate(638%) hue-rotate(189deg) brightness(98%) contrast(87%); @overlay0: brightness(0) saturate(100%) invert(49%) sepia(13%) saturate(662%) hue-rotate(192deg) brightness(94%) contrast(84%); @surface2: brightness(0) saturate(100%) invert(41%) sepia(20%) saturate(469%) hue-rotate(191deg) brightness(93%) contrast(86%); @surface1: brightness(0) saturate(100%) invert(34%) sepia(14%) saturate(771%) hue-rotate(190deg) brightness(89%) contrast(85%); @surface0: brightness(0) saturate(100%) invert(28%) sepia(7%) saturate(1468%) hue-rotate(193deg) brightness(92%) contrast(95%); @base: brightness(0) saturate(100%) invert(20%) sepia(17%) saturate(747%) hue-rotate(192deg) brightness(96%) contrast(97%); @mantle: brightness(0) saturate(100%) invert(8%) sepia(7%) saturate(7271%) hue-rotate(198deg) brightness(88%) contrast(75%); @crust: brightness(0) saturate(100%) invert(7%) sepia(7%) saturate(7415%) hue-rotate(197deg) brightness(86%) contrast(79%); };
- @macchiato: { @rosewater: brightness(0) saturate(100%) invert(88%) sepia(13%) saturate(322%) hue-rotate(321deg) brightness(102%) contrast(91%); @flamingo: brightness(0) saturate(100%) invert(82%) sepia(3%) saturate(3070%) hue-rotate(314deg) brightness(107%) contrast(88%); @pink: brightness(0) saturate(100%) invert(80%) sepia(23%) saturate(509%) hue-rotate(280deg) brightness(102%) contrast(92%); @mauve: brightness(0) saturate(100%) invert(65%) sepia(18%) saturate(903%) hue-rotate(222deg) brightness(104%) contrast(93%); @red: brightness(0) saturate(100%) invert(61%) sepia(19%) saturate(1541%) hue-rotate(305deg) brightness(110%) contrast(86%); @maroon: brightness(0) saturate(100%) invert(71%) sepia(10%) saturate(1331%) hue-rotate(306deg) brightness(93%) contrast(101%); @peach: brightness(0) saturate(100%) invert(73%) sepia(13%) saturate(1676%) hue-rotate(330deg) brightness(103%) contrast(92%); @yellow: brightness(0) saturate(100%) invert(87%) sepia(89%) saturate(321%) hue-rotate(314deg) brightness(101%) contrast(87%); @green: brightness(0) saturate(100%) invert(93%) sepia(12%) saturate(1128%) hue-rotate(48deg) brightness(92%) contrast(85%); @teal: brightness(0) saturate(100%) invert(92%) sepia(10%) saturate(1176%) hue-rotate(110deg) brightness(87%) contrast(90%); @sky: brightness(0) saturate(100%) invert(78%) sepia(57%) saturate(230%) hue-rotate(142deg) brightness(96%) contrast(84%); @sapphire: brightness(0) saturate(100%) invert(74%) sepia(35%) saturate(438%) hue-rotate(156deg) brightness(92%) contrast(93%); @blue: brightness(0) saturate(100%) invert(67%) sepia(17%) saturate(1007%) hue-rotate(183deg) brightness(99%) contrast(94%); @lavender: brightness(0) saturate(100%) invert(74%) sepia(6%) saturate(2559%) hue-rotate(198deg) brightness(103%) contrast(94%); @text: brightness(0) saturate(100%) invert(81%) sepia(9%) saturate(726%) hue-rotate(192deg) brightness(104%) contrast(92%); @subtext1: brightness(0) saturate(100%) invert(84%) sepia(5%) saturate(1453%) hue-rotate(193deg) brightness(94%) contrast(86%); @subtext0: brightness(0) saturate(100%) invert(75%) sepia(18%) saturate(361%) hue-rotate(190deg) brightness(91%) contrast(86%); @overlay2: brightness(0) saturate(100%) invert(67%) sepia(9%) saturate(814%) hue-rotate(191deg) brightness(92%) contrast(88%); @overlay1: brightness(0) saturate(100%) invert(49%) sepia(38%) saturate(203%) hue-rotate(190deg) brightness(101%) contrast(93%); @overlay0: brightness(0) saturate(100%) invert(46%) sepia(16%) saturate(552%) hue-rotate(193deg) brightness(93%) contrast(84%); @surface2: brightness(0) saturate(100%) invert(34%) sepia(16%) saturate(611%) hue-rotate(192deg) brightness(101%) contrast(87%); @surface1: brightness(0) saturate(100%) invert(30%) sepia(11%) saturate(1085%) hue-rotate(194deg) brightness(92%) contrast(89%); @surface0: brightness(0) saturate(100%) invert(18%) sepia(21%) saturate(880%) hue-rotate(193deg) brightness(97%) contrast(84%); @base: brightness(0) saturate(100%) invert(12%) sepia(42%) saturate(570%) hue-rotate(194deg) brightness(90%) contrast(90%); @mantle: brightness(0) saturate(100%) invert(6%) sepia(6%) saturate(7499%) hue-rotate(200deg) brightness(93%) contrast(85%); @crust: brightness(0) saturate(100%) invert(5%) sepia(8%) saturate(5346%) hue-rotate(202deg) brightness(98%) contrast(88%); };
- @mocha: { @rosewater: brightness(0) saturate(100%) invert(92%) sepia(5%) saturate(704%) hue-rotate(320deg) brightness(99%) contrast(93%); @flamingo: brightness(0) saturate(100%) invert(81%) sepia(5%) saturate(987%) hue-rotate(315deg) brightness(107%) contrast(90%); @pink: brightness(0) saturate(100%) invert(86%) sepia(11%) saturate(1177%) hue-rotate(283deg) brightness(101%) contrast(92%); @mauve: brightness(0) saturate(100%) invert(65%) sepia(58%) saturate(255%) hue-rotate(224deg) brightness(96%) contrast(102%); @red: brightness(0) saturate(100%) invert(61%) sepia(19%) saturate(997%) hue-rotate(294deg) brightness(104%) contrast(91%); @maroon: brightness(0) saturate(100%) invert(66%) sepia(16%) saturate(1301%) hue-rotate(306deg) brightness(116%) contrast(84%); @peach: brightness(0) saturate(100%) invert(68%) sepia(57%) saturate(278%) hue-rotate(338deg) brightness(98%) contrast(101%); @yellow: brightness(0) saturate(100%) invert(90%) sepia(70%) saturate(380%) hue-rotate(313deg) brightness(102%) contrast(95%); @green: brightness(0) saturate(100%) invert(88%) sepia(6%) saturate(2015%) hue-rotate(63deg) brightness(104%) contrast(78%); @teal: brightness(0) saturate(100%) invert(92%) sepia(12%) saturate(991%) hue-rotate(108deg) brightness(93%) contrast(90%); @sky: brightness(0) saturate(100%) invert(84%) sepia(21%) saturate(1302%) hue-rotate(164deg) brightness(106%) contrast(84%); @sapphire: brightness(0) saturate(100%) invert(74%) sepia(20%) saturate(876%) hue-rotate(156deg) brightness(96%) contrast(93%); @blue: brightness(0) saturate(100%) invert(68%) sepia(18%) saturate(951%) hue-rotate(180deg) brightness(98%) contrast(100%); @lavender: brightness(0) saturate(100%) invert(73%) sepia(7%) saturate(1670%) hue-rotate(195deg) brightness(102%) contrast(99%); @text: brightness(0) saturate(100%) invert(86%) sepia(6%) saturate(879%) hue-rotate(190deg) brightness(100%) contrast(93%); @subtext1: brightness(0) saturate(100%) invert(84%) sepia(19%) saturate(381%) hue-rotate(193deg) brightness(91%) contrast(89%); @subtext0: brightness(0) saturate(100%) invert(84%) sepia(9%) saturate(767%) hue-rotate(192deg) brightness(84%) contrast(84%); @overlay2: brightness(0) saturate(100%) invert(63%) sepia(15%) saturate(428%) hue-rotate(191deg) brightness(96%) contrast(84%); @overlay1: brightness(0) saturate(100%) invert(56%) sepia(15%) saturate(455%) hue-rotate(192deg) brightness(90%) contrast(88%); @overlay0: brightness(0) saturate(100%) invert(44%) sepia(6%) saturate(1275%) hue-rotate(194deg) brightness(97%) contrast(88%); @surface2: brightness(0) saturate(100%) invert(34%) sepia(8%) saturate(1015%) hue-rotate(195deg) brightness(99%) contrast(89%); @surface1: brightness(0) saturate(100%) invert(25%) sepia(6%) saturate(1950%) hue-rotate(197deg) brightness(99%) contrast(86%); @surface0: brightness(0) saturate(100%) invert(19%) sepia(5%) saturate(2844%) hue-rotate(199deg) brightness(91%) contrast(93%); @base: brightness(0) saturate(100%) invert(7%) sepia(4%) saturate(7496%) hue-rotate(202deg) brightness(93%) contrast(87%); @mantle: brightness(0) saturate(100%) invert(6%) sepia(4%) saturate(7465%) hue-rotate(202deg) brightness(95%) contrast(90%); @crust: brightness(0) saturate(100%) invert(3%) sepia(13%) saturate(6863%) hue-rotate(220deg) brightness(95%) contrast(91%); };
-};
diff --git a/styles/lastfm/catppuccin.user.less b/styles/lastfm/catppuccin.user.less
index 8e5c30af..ee1be3a5 100644
--- a/styles/lastfm/catppuccin.user.less
+++ b/styles/lastfm/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("last.fm") {
:root {
@media (prefers-color-scheme: light) {
@@ -26,49 +28,11 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
+ #lib.palette();
+ #lib.defaults();
@accent-dim: darken(@accent, 3%);
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
-
& when not(@flavor = latte) {
@accent-dim: fade(@accent, 50%);
.layout-image {
@@ -1832,11 +1796,3 @@
#rgbify(@color) {
@rgb: red(@color) green(@color) blue(@color);
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/learn-x-in-y-minutes/catppuccin.user.less b/styles/learn-x-in-y-minutes/catppuccin.user.less
index 8e28a0c6..4150ba94 100644
--- a/styles/learn-x-in-y-minutes/catppuccin.user.less
+++ b/styles/learn-x-in-y-minutes/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("learnxinyminutes.com") {
@import url("https://python.catppuccin.com/pygments/catppuccin-variables.important.css");
@@ -36,73 +38,9 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- --ctp-rosewater: @rosewater;
- --ctp-flamingo: @flamingo;
- --ctp-pink: @pink;
- --ctp-mauve: @mauve;
- --ctp-red: @red;
- --ctp-maroon: @maroon;
- --ctp-peach: @peach;
- --ctp-yellow: @yellow;
- --ctp-green: @green;
- --ctp-teal: @teal;
- --ctp-sky: @sky;
- --ctp-sapphire: @sapphire;
- --ctp-blue: @blue;
- --ctp-lavender: @lavender;
- --ctp-text: @text;
- --ctp-subtext1: @subtext1;
- --ctp-subtext0: @subtext0;
- --ctp-overlay2: @overlay2;
- --ctp-overlay1: @overlay1;
- --ctp-overlay0: @overlay0;
- --ctp-surface2: @surface2;
- --ctp-surface1: @surface1;
- --ctp-surface0: @surface0;
- --ctp-base: @base;
- --ctp-mantle: @mantle;
- --ctp-crust: @crust;
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
+ #lib.css-variables();
.highlight {
background-color: @mantle;
@@ -211,11 +149,3 @@
}
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/lemmy/catppuccin.user.less b/styles/lemmy/catppuccin.user.less
index 5ed94257..73a0e9e5 100644
--- a/styles/lemmy/catppuccin.user.less
+++ b/styles/lemmy/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("lemmy.ml"), domain("lemmy.world") {
:root {
@media (prefers-color-scheme: light) {
@@ -26,46 +28,8 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
[data-bs-theme="dark"] {
--bs-body-color: @text;
@@ -234,7 +198,7 @@
}
.text-bg-light {
color: @text !important;
- background-color: rgba(#rgbify(@mantle)[], 1) !important;
+ background-color: rgba(#lib.rgbify(@mantle)[], 1) !important;
}
.alert-info,
.alert-warning {
@@ -244,15 +208,3 @@
}
}
}
-
-#rgbify(@color) {
- @rgb: red(@color), green(@color), blue(@color);
-}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/libreddit/catppuccin.user.less b/styles/libreddit/catppuccin.user.less
index af067ece..7392bb00 100644
--- a/styles/libreddit/catppuccin.user.less
+++ b/styles/libreddit/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("libredd.it"),
domain("libreddit.spike.codes"),
domain("libreddit.dothq.co"),
@@ -116,46 +118,8 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
--accent: @accent !important;
--green: @green !important;
@@ -179,11 +143,3 @@
}
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/lichess/catppuccin.user.less b/styles/lichess/catppuccin.user.less
index a61ecf14..4c638482 100644
--- a/styles/lichess/catppuccin.user.less
+++ b/styles/lichess/catppuccin.user.less
@@ -16,6 +16,8 @@
@var checkbox stylePieces "Style Pieces" 1
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("lichess.org") {
:root:has(body[data-theme="light"]) {
#catppuccin(@lightFlavor);
@@ -33,50 +35,8 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- @green-filter: @catppuccin-filters[@@flavor][@green];
- @sky-filter: @catppuccin-filters[@@flavor][@sky];
- @red-filter: @catppuccin-filters[@@flavor][@red];
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
&,
body {
@@ -616,19 +576,3 @@
}
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
-
-/* deno-fmt-ignore */
-@catppuccin-filters: {
- @latte: { @rosewater: brightness(0) saturate(100%) invert(65%) sepia(18%) saturate(1048%) hue-rotate(323deg) brightness(92%) contrast(86%); @flamingo: brightness(0) saturate(100%) invert(84%) sepia(44%) saturate(4533%) hue-rotate(310deg) brightness(98%) contrast(75%); @pink: brightness(0) saturate(100%) invert(60%) sepia(32%) saturate(775%) hue-rotate(266deg) brightness(93%) contrast(97%); @mauve: brightness(0) saturate(100%) invert(26%) sepia(59%) saturate(3315%) hue-rotate(255deg) brightness(94%) contrast(100%); @red: brightness(0) saturate(100%) invert(16%) sepia(78%) saturate(7275%) hue-rotate(342deg) brightness(84%) contrast(94%); @maroon: brightness(0) saturate(100%) invert(31%) sepia(56%) saturate(2395%) hue-rotate(331deg) brightness(99%) contrast(82%); @peach: brightness(0) saturate(100%) invert(38%) sepia(81%) saturate(1292%) hue-rotate(356deg) brightness(103%) contrast(99%); @yellow: brightness(0) saturate(100%) invert(74%) sepia(47%) saturate(4570%) hue-rotate(354deg) brightness(95%) contrast(83%); @green: brightness(0) saturate(100%) invert(51%) sepia(25%) saturate(4134%) hue-rotate(76deg) brightness(95%) contrast(66%); @teal: brightness(0) saturate(100%) invert(41%) sepia(45%) saturate(1101%) hue-rotate(139deg) brightness(100%) contrast(82%); @sky: brightness(0) saturate(100%) invert(47%) sepia(76%) saturate(2427%) hue-rotate(166deg) brightness(99%) contrast(97%); @sapphire: brightness(0) saturate(100%) invert(52%) sepia(41%) saturate(6982%) hue-rotate(160deg) brightness(102%) contrast(75%); @blue: brightness(0) saturate(100%) invert(30%) sepia(80%) saturate(1850%) hue-rotate(209deg) brightness(94%) contrast(105%); @lavender: brightness(0) saturate(100%) invert(48%) sepia(61%) saturate(538%) hue-rotate(194deg) brightness(102%) contrast(98%); @text: brightness(0) saturate(100%) invert(30%) sepia(10%) saturate(1259%) hue-rotate(196deg) brightness(97%) contrast(91%); @subtext1: brightness(0) saturate(100%) invert(36%) sepia(10%) saturate(890%) hue-rotate(196deg) brightness(98%) contrast(90%); @subtext0: brightness(0) saturate(100%) invert(47%) sepia(6%) saturate(1263%) hue-rotate(195deg) brightness(90%) contrast(81%); @overlay2: brightness(0) saturate(100%) invert(59%) sepia(7%) saturate(825%) hue-rotate(195deg) brightness(83%) contrast(91%); @overlay1: brightness(0) saturate(100%) invert(59%) sepia(14%) saturate(333%) hue-rotate(194deg) brightness(95%) contrast(89%); @overlay0: brightness(0) saturate(100%) invert(85%) sepia(7%) saturate(595%) hue-rotate(191deg) brightness(77%) contrast(81%); @surface2: brightness(0) saturate(100%) invert(86%) sepia(6%) saturate(482%) hue-rotate(189deg) brightness(82%) contrast(88%); @surface1: brightness(0) saturate(100%) invert(85%) sepia(8%) saturate(281%) hue-rotate(187deg) brightness(92%) contrast(88%); @surface0: brightness(0) saturate(100%) invert(96%) sepia(1%) saturate(5123%) hue-rotate(185deg) brightness(93%) contrast(83%); @base: brightness(0) saturate(100%) invert(89%) sepia(5%) saturate(140%) hue-rotate(182deg) brightness(109%) contrast(94%); @mantle: brightness(0) saturate(100%) invert(93%) sepia(19%) saturate(55%) hue-rotate(182deg) brightness(98%) contrast(92%); @crust: brightness(0) saturate(100%) invert(91%) sepia(1%) saturate(4489%) hue-rotate(196deg) brightness(106%) contrast(82%); };
- @frappe: { @rosewater: brightness(0) saturate(100%) invert(90%) sepia(6%) saturate(734%) hue-rotate(321deg) brightness(95%) contrast(99%); @flamingo: brightness(0) saturate(100%) invert(88%) sepia(52%) saturate(817%) hue-rotate(293deg) brightness(113%) contrast(84%); @pink: brightness(0) saturate(100%) invert(76%) sepia(15%) saturate(844%) hue-rotate(280deg) brightness(107%) contrast(91%); @mauve: brightness(0) saturate(100%) invert(71%) sepia(25%) saturate(725%) hue-rotate(225deg) brightness(94%) contrast(91%); @red: brightness(0) saturate(100%) invert(67%) sepia(3%) saturate(7209%) hue-rotate(305deg) brightness(91%) contrast(99%); @maroon: brightness(0) saturate(100%) invert(61%) sepia(14%) saturate(957%) hue-rotate(307deg) brightness(109%) contrast(90%); @peach: brightness(0) saturate(100%) invert(68%) sepia(28%) saturate(662%) hue-rotate(335deg) brightness(96%) contrast(94%); @yellow: brightness(0) saturate(100%) invert(94%) sepia(88%) saturate(684%) hue-rotate(309deg) brightness(105%) contrast(80%); @green: brightness(0) saturate(100%) invert(89%) sepia(23%) saturate(582%) hue-rotate(42deg) brightness(87%) contrast(89%); @teal: brightness(0) saturate(100%) invert(91%) sepia(13%) saturate(986%) hue-rotate(110deg) brightness(85%) contrast(81%); @sky: brightness(0) saturate(100%) invert(75%) sepia(15%) saturate(623%) hue-rotate(141deg) brightness(109%) contrast(81%); @sapphire: brightness(0) saturate(100%) invert(77%) sepia(20%) saturate(730%) hue-rotate(157deg) brightness(97%) contrast(76%); @blue: brightness(0) saturate(100%) invert(68%) sepia(16%) saturate(1070%) hue-rotate(185deg) brightness(96%) contrast(95%); @lavender: brightness(0) saturate(100%) invert(75%) sepia(20%) saturate(626%) hue-rotate(201deg) brightness(101%) contrast(89%); @text: brightness(0) saturate(100%) invert(83%) sepia(12%) saturate(582%) hue-rotate(191deg) brightness(98%) contrast(96%); @subtext1: brightness(0) saturate(100%) invert(80%) sepia(18%) saturate(411%) hue-rotate(190deg) brightness(96%) contrast(84%); @subtext0: brightness(0) saturate(100%) invert(82%) sepia(6%) saturate(1287%) hue-rotate(192deg) brightness(86%) contrast(85%); @overlay2: brightness(0) saturate(100%) invert(65%) sepia(36%) saturate(230%) hue-rotate(190deg) brightness(92%) contrast(82%); @overlay1: brightness(0) saturate(100%) invert(55%) sepia(12%) saturate(638%) hue-rotate(189deg) brightness(98%) contrast(87%); @overlay0: brightness(0) saturate(100%) invert(49%) sepia(13%) saturate(662%) hue-rotate(192deg) brightness(94%) contrast(84%); @surface2: brightness(0) saturate(100%) invert(41%) sepia(20%) saturate(469%) hue-rotate(191deg) brightness(93%) contrast(86%); @surface1: brightness(0) saturate(100%) invert(34%) sepia(14%) saturate(771%) hue-rotate(190deg) brightness(89%) contrast(85%); @surface0: brightness(0) saturate(100%) invert(28%) sepia(7%) saturate(1468%) hue-rotate(193deg) brightness(92%) contrast(95%); @base: brightness(0) saturate(100%) invert(20%) sepia(17%) saturate(747%) hue-rotate(192deg) brightness(96%) contrast(97%); @mantle: brightness(0) saturate(100%) invert(8%) sepia(7%) saturate(7271%) hue-rotate(198deg) brightness(88%) contrast(75%); @crust: brightness(0) saturate(100%) invert(7%) sepia(7%) saturate(7415%) hue-rotate(197deg) brightness(86%) contrast(79%); };
- @macchiato: { @rosewater: brightness(0) saturate(100%) invert(88%) sepia(13%) saturate(322%) hue-rotate(321deg) brightness(102%) contrast(91%); @flamingo: brightness(0) saturate(100%) invert(82%) sepia(3%) saturate(3070%) hue-rotate(314deg) brightness(107%) contrast(88%); @pink: brightness(0) saturate(100%) invert(80%) sepia(23%) saturate(509%) hue-rotate(280deg) brightness(102%) contrast(92%); @mauve: brightness(0) saturate(100%) invert(65%) sepia(18%) saturate(903%) hue-rotate(222deg) brightness(104%) contrast(93%); @red: brightness(0) saturate(100%) invert(61%) sepia(19%) saturate(1541%) hue-rotate(305deg) brightness(110%) contrast(86%); @maroon: brightness(0) saturate(100%) invert(71%) sepia(10%) saturate(1331%) hue-rotate(306deg) brightness(93%) contrast(101%); @peach: brightness(0) saturate(100%) invert(73%) sepia(13%) saturate(1676%) hue-rotate(330deg) brightness(103%) contrast(92%); @yellow: brightness(0) saturate(100%) invert(87%) sepia(89%) saturate(321%) hue-rotate(314deg) brightness(101%) contrast(87%); @green: brightness(0) saturate(100%) invert(93%) sepia(12%) saturate(1128%) hue-rotate(48deg) brightness(92%) contrast(85%); @teal: brightness(0) saturate(100%) invert(92%) sepia(10%) saturate(1176%) hue-rotate(110deg) brightness(87%) contrast(90%); @sky: brightness(0) saturate(100%) invert(78%) sepia(57%) saturate(230%) hue-rotate(142deg) brightness(96%) contrast(84%); @sapphire: brightness(0) saturate(100%) invert(74%) sepia(35%) saturate(438%) hue-rotate(156deg) brightness(92%) contrast(93%); @blue: brightness(0) saturate(100%) invert(67%) sepia(17%) saturate(1007%) hue-rotate(183deg) brightness(99%) contrast(94%); @lavender: brightness(0) saturate(100%) invert(74%) sepia(6%) saturate(2559%) hue-rotate(198deg) brightness(103%) contrast(94%); @text: brightness(0) saturate(100%) invert(81%) sepia(9%) saturate(726%) hue-rotate(192deg) brightness(104%) contrast(92%); @subtext1: brightness(0) saturate(100%) invert(84%) sepia(5%) saturate(1453%) hue-rotate(193deg) brightness(94%) contrast(86%); @subtext0: brightness(0) saturate(100%) invert(75%) sepia(18%) saturate(361%) hue-rotate(190deg) brightness(91%) contrast(86%); @overlay2: brightness(0) saturate(100%) invert(67%) sepia(9%) saturate(814%) hue-rotate(191deg) brightness(92%) contrast(88%); @overlay1: brightness(0) saturate(100%) invert(49%) sepia(38%) saturate(203%) hue-rotate(190deg) brightness(101%) contrast(93%); @overlay0: brightness(0) saturate(100%) invert(46%) sepia(16%) saturate(552%) hue-rotate(193deg) brightness(93%) contrast(84%); @surface2: brightness(0) saturate(100%) invert(34%) sepia(16%) saturate(611%) hue-rotate(192deg) brightness(101%) contrast(87%); @surface1: brightness(0) saturate(100%) invert(30%) sepia(11%) saturate(1085%) hue-rotate(194deg) brightness(92%) contrast(89%); @surface0: brightness(0) saturate(100%) invert(18%) sepia(21%) saturate(880%) hue-rotate(193deg) brightness(97%) contrast(84%); @base: brightness(0) saturate(100%) invert(12%) sepia(42%) saturate(570%) hue-rotate(194deg) brightness(90%) contrast(90%); @mantle: brightness(0) saturate(100%) invert(6%) sepia(6%) saturate(7499%) hue-rotate(200deg) brightness(93%) contrast(85%); @crust: brightness(0) saturate(100%) invert(5%) sepia(8%) saturate(5346%) hue-rotate(202deg) brightness(98%) contrast(88%); };
- @mocha: { @rosewater: brightness(0) saturate(100%) invert(92%) sepia(5%) saturate(704%) hue-rotate(320deg) brightness(99%) contrast(93%); @flamingo: brightness(0) saturate(100%) invert(81%) sepia(5%) saturate(987%) hue-rotate(315deg) brightness(107%) contrast(90%); @pink: brightness(0) saturate(100%) invert(86%) sepia(11%) saturate(1177%) hue-rotate(283deg) brightness(101%) contrast(92%); @mauve: brightness(0) saturate(100%) invert(65%) sepia(58%) saturate(255%) hue-rotate(224deg) brightness(96%) contrast(102%); @red: brightness(0) saturate(100%) invert(61%) sepia(19%) saturate(997%) hue-rotate(294deg) brightness(104%) contrast(91%); @maroon: brightness(0) saturate(100%) invert(66%) sepia(16%) saturate(1301%) hue-rotate(306deg) brightness(116%) contrast(84%); @peach: brightness(0) saturate(100%) invert(68%) sepia(57%) saturate(278%) hue-rotate(338deg) brightness(98%) contrast(101%); @yellow: brightness(0) saturate(100%) invert(90%) sepia(70%) saturate(380%) hue-rotate(313deg) brightness(102%) contrast(95%); @green: brightness(0) saturate(100%) invert(88%) sepia(6%) saturate(2015%) hue-rotate(63deg) brightness(104%) contrast(78%); @teal: brightness(0) saturate(100%) invert(92%) sepia(12%) saturate(991%) hue-rotate(108deg) brightness(93%) contrast(90%); @sky: brightness(0) saturate(100%) invert(84%) sepia(21%) saturate(1302%) hue-rotate(164deg) brightness(106%) contrast(84%); @sapphire: brightness(0) saturate(100%) invert(74%) sepia(20%) saturate(876%) hue-rotate(156deg) brightness(96%) contrast(93%); @blue: brightness(0) saturate(100%) invert(68%) sepia(18%) saturate(951%) hue-rotate(180deg) brightness(98%) contrast(100%); @lavender: brightness(0) saturate(100%) invert(73%) sepia(7%) saturate(1670%) hue-rotate(195deg) brightness(102%) contrast(99%); @text: brightness(0) saturate(100%) invert(86%) sepia(6%) saturate(879%) hue-rotate(190deg) brightness(100%) contrast(93%); @subtext1: brightness(0) saturate(100%) invert(84%) sepia(19%) saturate(381%) hue-rotate(193deg) brightness(91%) contrast(89%); @subtext0: brightness(0) saturate(100%) invert(84%) sepia(9%) saturate(767%) hue-rotate(192deg) brightness(84%) contrast(84%); @overlay2: brightness(0) saturate(100%) invert(63%) sepia(15%) saturate(428%) hue-rotate(191deg) brightness(96%) contrast(84%); @overlay1: brightness(0) saturate(100%) invert(56%) sepia(15%) saturate(455%) hue-rotate(192deg) brightness(90%) contrast(88%); @overlay0: brightness(0) saturate(100%) invert(44%) sepia(6%) saturate(1275%) hue-rotate(194deg) brightness(97%) contrast(88%); @surface2: brightness(0) saturate(100%) invert(34%) sepia(8%) saturate(1015%) hue-rotate(195deg) brightness(99%) contrast(89%); @surface1: brightness(0) saturate(100%) invert(25%) sepia(6%) saturate(1950%) hue-rotate(197deg) brightness(99%) contrast(86%); @surface0: brightness(0) saturate(100%) invert(19%) sepia(5%) saturate(2844%) hue-rotate(199deg) brightness(91%) contrast(93%); @base: brightness(0) saturate(100%) invert(7%) sepia(4%) saturate(7496%) hue-rotate(202deg) brightness(93%) contrast(87%); @mantle: brightness(0) saturate(100%) invert(6%) sepia(4%) saturate(7465%) hue-rotate(202deg) brightness(95%) contrast(90%); @crust: brightness(0) saturate(100%) invert(3%) sepia(13%) saturate(6863%) hue-rotate(220deg) brightness(95%) contrast(91%); };
-};
diff --git a/styles/lingva/catppuccin.user.less b/styles/lingva/catppuccin.user.less
index 99d86fa1..0111f88b 100644
--- a/styles/lingva/catppuccin.user.less
+++ b/styles/lingva/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("lingva.ml"),
domain("translate.plausibility.cloud"),
domain("lingva.lunar.icu"),
@@ -28,46 +30,8 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
body {
background: @base;
@@ -135,11 +99,3 @@
}
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/linkedin/catppuccin.user.less b/styles/linkedin/catppuccin.user.less
index 00ccee50..ae1a61c4 100644
--- a/styles/linkedin/catppuccin.user.less
+++ b/styles/linkedin/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("www.linkedin.com") {
:root:not(.theme--dark, .theme--mercado-dark) {
#catppuccin(@lightFlavor);
@@ -25,46 +27,8 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
--black: @crust;
--black-a90: @crust;
@@ -533,11 +497,3 @@
}
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/listenbrainz/catppuccin.user.less b/styles/listenbrainz/catppuccin.user.less
index fbd63b0c..69ccc2c3 100644
--- a/styles/listenbrainz/catppuccin.user.less
+++ b/styles/listenbrainz/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("listenbrainz.org") {
:root {
@media (prefers-color-scheme: light) {
@@ -26,46 +28,8 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
// We can't control which theme is passed to Toastify's props from CSS, but
// we can replace the default theme with whatever colours we want.
@@ -728,11 +692,3 @@
}
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/lobste.rs/catppuccin.user.less b/styles/lobste.rs/catppuccin.user.less
index 7870083d..98e6bc27 100644
--- a/styles/lobste.rs/catppuccin.user.less
+++ b/styles/lobste.rs/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("lobste.rs") {
html:has(head > link[rel="stylesheet"][href^="/assets/system-"]) {
@media (prefers-color-scheme: light) {
@@ -34,46 +36,8 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
--color-bg: @base;
@@ -146,11 +110,3 @@
}
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/mastodon/catppuccin.user.less b/styles/mastodon/catppuccin.user.less
index 21c54775..f6e419cc 100644
--- a/styles/mastodon/catppuccin.user.less
+++ b/styles/mastodon/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("mastodon.social"),
domain("social.catppuccin.com"),
domain("fosstodon.org") {
@@ -43,46 +45,8 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
--background-color: @base;
--background-color-alt: @base;
@@ -786,11 +750,3 @@
}
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/mdbook/catppuccin.user.less b/styles/mdbook/catppuccin.user.less
index fe33f5e0..b0dba85a 100644
--- a/styles/mdbook/catppuccin.user.less
+++ b/styles/mdbook/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document url-prefix("https://rust-lang.github.io/mdBook/"),
domain("doc.rust-lang.org"),
domain("rust-book.cs.brown.edu") {
@@ -30,73 +32,9 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- --ctp-rosewater: @rosewater;
- --ctp-flamingo: @flamingo;
- --ctp-pink: @pink;
- --ctp-mauve: @mauve;
- --ctp-red: @red;
- --ctp-maroon: @maroon;
- --ctp-peach: @peach;
- --ctp-yellow: @yellow;
- --ctp-green: @green;
- --ctp-teal: @teal;
- --ctp-sky: @sky;
- --ctp-sapphire: @sapphire;
- --ctp-blue: @blue;
- --ctp-lavender: @lavender;
- --ctp-text: @text;
- --ctp-subtext1: @subtext1;
- --ctp-subtext0: @subtext0;
- --ctp-overlay2: @overlay2;
- --ctp-overlay1: @overlay1;
- --ctp-overlay0: @overlay0;
- --ctp-surface2: @surface2;
- --ctp-surface1: @surface1;
- --ctp-surface0: @surface0;
- --ctp-base: @base;
- --ctp-mantle: @mantle;
- --ctp-crust: @crust;
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
+ #lib.css-variables();
--bg: @base;
--fg: @text;
@@ -152,15 +90,3 @@
}
}
}
-
-#rgbify(@color) {
- @rgb: red(@color), green(@color), blue(@color);
-}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/mdn/catppuccin.user.less b/styles/mdn/catppuccin.user.less
index 04aa8476..2e363dab 100644
--- a/styles/mdn/catppuccin.user.less
+++ b/styles/mdn/catppuccin.user.less
@@ -15,74 +15,12 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- --ctp-rosewater: @rosewater;
- --ctp-flamingo: @flamingo;
- --ctp-pink: @pink;
- --ctp-mauve: @mauve;
- --ctp-red: @red;
- --ctp-maroon: @maroon;
- --ctp-peach: @peach;
- --ctp-yellow: @yellow;
- --ctp-green: @green;
- --ctp-teal: @teal;
- --ctp-sky: @sky;
- --ctp-sapphire: @sapphire;
- --ctp-blue: @blue;
- --ctp-lavender: @lavender;
- --ctp-text: @text;
- --ctp-subtext1: @subtext1;
- --ctp-subtext0: @subtext0;
- --ctp-overlay2: @overlay2;
- --ctp-overlay1: @overlay1;
- --ctp-overlay0: @overlay0;
- --ctp-surface2: @surface2;
- --ctp-surface1: @surface1;
- --ctp-surface0: @surface0;
- --ctp-base: @base;
- --ctp-mantle: @mantle;
- --ctp-crust: @crust;
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
+ #lib.css-variables();
--text-primary: @text;
--text-secondary: @subtext0;
@@ -261,11 +199,3 @@
}
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/microsoft-word/catppuccin.user.less b/styles/microsoft-word/catppuccin.user.less
index 44703d24..f372cc8f 100644
--- a/styles/microsoft-word/catppuccin.user.less
+++ b/styles/microsoft-word/catppuccin.user.less
@@ -17,6 +17,8 @@
@var checkbox applyToDocument "Apply Theme to Document" 0
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("live.com") {
#catppuccin(@lightFlavor);
@@ -25,46 +27,8 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
.fui-FluentProvider2,
.fui-FluentProvider86,
@@ -433,11 +397,3 @@
}
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/migadu-webmail/catppuccin.user.less b/styles/migadu-webmail/catppuccin.user.less
index 0d8f9ca3..695b17b9 100644
--- a/styles/migadu-webmail/catppuccin.user.less
+++ b/styles/migadu-webmail/catppuccin.user.less
@@ -17,6 +17,8 @@
@var checkbox hideProfilePictures "Hide Profile Pictures" 0
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("webmail.migadu.com") {
:root {
@media (prefers-color-scheme: light) {
@@ -28,49 +30,11 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
+ #lib.palette();
+ #lib.defaults();
@orange: mix(@peach, @yellow);
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
-
--main-color: @text;
--main-bg-color: @base;
--border-color: @surface0;
@@ -482,11 +446,3 @@
}
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/minesweeper/catppuccin.user.less b/styles/minesweeper/catppuccin.user.less
index a071908b..5ed3a877 100644
--- a/styles/minesweeper/catppuccin.user.less
+++ b/styles/minesweeper/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("minesweeper.online") {
:root {
@media (prefers-color-scheme: light) {
@@ -26,46 +28,8 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
--b0: @crust;
--b1: @base;
@@ -498,11 +462,3 @@
}
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/modrinth/catppuccin.user.less b/styles/modrinth/catppuccin.user.less
index b3a01565..ea847ae2 100644
--- a/styles/modrinth/catppuccin.user.less
+++ b/styles/modrinth/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("modrinth.com") {
.light-mode {
#catppuccin(@lightFlavor);
@@ -26,49 +28,12 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
+ #lib.palette();
+ #lib.defaults();
+ // TODO: Use Catppuccin palette colors? `fade()`-ed?
@shadow: if(@flavor = latte, #dbdfef, #010409);
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
-
* {
--text-color: @text;
--color-base: @text;
@@ -197,11 +162,3 @@
}
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/mullvad-leta/catppuccin.user.less b/styles/mullvad-leta/catppuccin.user.less
index 49699987..cb7df63a 100644
--- a/styles/mullvad-leta/catppuccin.user.less
+++ b/styles/mullvad-leta/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("leta.mullvad.net") {
:root {
@media (prefers-color-scheme: light) {
@@ -26,46 +28,8 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
&, svelte-css-wrapper > * {
--blue: @base;
@@ -159,11 +123,3 @@
}
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/namemc/catppuccin.user.less b/styles/namemc/catppuccin.user.less
index 8f901714..24731b36 100644
--- a/styles/namemc/catppuccin.user.less
+++ b/styles/namemc/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("namemc.com") {
:root[data-bs-theme="dark"] {
#catppuccin(@darkFlavor);
@@ -24,46 +26,8 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
#bsButton(@col, @bgCol) {
--bs-btn-color: @col;
@@ -96,11 +60,11 @@
}
--bs-body-color: @text;
- --bs-body-color-rgb: #rgbify(@text)[];
+ --bs-body-color-rgb: #lib.rgbify(@text)[];
--bs-body-bg: @base;
- --bs-body-bg-rgb: #rgbify(@base)[];
+ --bs-body-bg-rgb: #lib.rgbify(@base)[];
--bs-emphasis-color: @text;
- --bs-emphasis-color-rgb: #rgbify(@text)[];
+ --bs-emphasis-color-rgb: #lib.rgbify(@text)[];
--bs-blue: @blue;
--bs-indigo: @mauve;
--bs-purple: @mauve;
@@ -112,29 +76,29 @@
--bs-teal: @teal;
--bs-cyan: @sapphire;
--bs-secondary-color: @subtext0;
- --bs-secondary-color-rgb: #rgbify(@subtext0)[];
+ --bs-secondary-color-rgb: #lib.rgbify(@subtext0)[];
--bs-tertiary-color: @subtext1;
- --bs-tertiary-color-rgb: #rgbify(@subtext1)[];
+ --bs-tertiary-color-rgb: #lib.rgbify(@subtext1)[];
--bs-tertiary-bg: @base;
- --bs-tertiary-bg-rgb: #rgbify(@base)[];
+ --bs-tertiary-bg-rgb: #lib.rgbify(@base)[];
--bs-secondary-text-emphasis: @subtext0;
--bs-success-text-emphasis: @green;
--bs-primary: @accent;
- --bs-primary-rgb: #rgbify(@accent)[];
+ --bs-primary-rgb: #lib.rgbify(@accent)[];
--bs-secondary: @subtext0;
- --bs-secondary-rgb: #rgbify(@subtext0)[];
+ --bs-secondary-rgb: #lib.rgbify(@subtext0)[];
--bs-success: @green;
- --bs-success-rgb: #rgbify(@green)[];
+ --bs-success-rgb: #lib.rgbify(@green)[];
--bs-info: @sky;
- --bs-info-rgb: #rgbify(@sky)[];
+ --bs-info-rgb: #lib.rgbify(@sky)[];
--bs-warning: @yellow;
- --bs-warning-rgb: #rgbify(@yellow)[];
+ --bs-warning-rgb: #lib.rgbify(@yellow)[];
--bs-danger: @red;
- --bs-danger-rgb: #rgbify(@red)[];
+ --bs-danger-rgb: #lib.rgbify(@red)[];
--bs-light: @base;
- --bs-light-rgb: #rgbify(@base)[];
+ --bs-light-rgb: #lib.rgbify(@base)[];
--bs-dark: @text;
- --bs-dark-rgb: #rgbify(@text)[];
+ --bs-dark-rgb: #lib.rgbify(@text)[];
--bs-dark-text-emphasis: @text;
--bs-primary-bg-subtle: @crust;
--bs-secondary-bg-subtle: @mantle;
@@ -147,7 +111,7 @@
--bs-warning-border-subtle: @yellow;
--bs-danger-border-subtle: @red;
--bs-link-color: @accent;
- --bs-link-color-rgb: #rgbify(@accent)[];
+ --bs-link-color-rgb: #lib.rgbify(@accent)[];
--bs-code-color: @accent;
--bs-highlight-bg: @base;
--bs-form-valid-color: @green;
@@ -213,7 +177,7 @@
.btn-link {
--bs-btn-disabled-color: @overlay0;
--bs-btn-disabled-border-color: transparent;
- --bs-btn-focus-shadow-rgb: #rgbify(@blue)[];
+ --bs-btn-focus-shadow-rgb: #lib.rgbify(@blue)[];
}
/* i hate that this is necessary */
@@ -478,9 +442,9 @@
& when (@flavor = latte) {
--bs-black: @text;
- --bs-black-rgb: #rgbify(@text)[];
+ --bs-black-rgb: #lib.rgbify(@text)[];
--bs-white: @crust;
- --bs-white-rgb: #rgbify(@crust)[];
+ --bs-white-rgb: #lib.rgbify(@crust)[];
--bs-gray: @subtext0;
--bs-gray-dark: @text;
--bs-gray-100: @base;
@@ -493,7 +457,7 @@
--bs-gray-800: @subtext1;
--bs-gray-900: @text;
--bs-secondary-bg: @mantle;
- --bs-secondary-bg-rgb: #rgbify(@mantle)[];
+ --bs-secondary-bg-rgb: #lib.rgbify(@mantle)[];
--bs-primary-text-emphasis: @text;
--bs-info-text-emphasis: @text;
--bs-warning-text-emphasis: @text;
@@ -506,7 +470,7 @@
--bs-light-border-subtle: @mantle;
--bs-dark-border-subtle: @surface2;
--bs-link-hover-color: @accent;
- --bs-link-hover-color-rgb: #rgbify(@accent)[];
+ --bs-link-hover-color-rgb: #lib.rgbify(@accent)[];
--bs-border-color: @crust;
.mc-black {
@@ -530,7 +494,7 @@
--bs-gray: @overlay2;
--bs-gray-dark: @surface2;
--bs-secondary-bg: @surface0;
- --bs-secondary-bg-rgb: #rgbify(@surface0)[];
+ --bs-secondary-bg-rgb: #lib.rgbify(@surface0)[];
--bs-primary-text-emphasis: @sapphire;
--bs-info-text-emphasis: @sky;
--bs-warning-text-emphasis: @yellow;
@@ -543,7 +507,7 @@
--bs-light-border-subtle: @surface1;
--bs-dark-border-subtle: @surface0;
--bs-link-hover-color: @text;
- --bs-link-hover-color-rgb: #rgbify(@text)[];
+ --bs-link-hover-color-rgb: #lib.rgbify(@text)[];
--bs-border-color: @surface1;
.mc-black {
@@ -562,15 +526,3 @@
}
}
}
-
-#rgbify(@color) {
- @rgb: red(@color), green(@color), blue(@color);
-}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/nitter/catppuccin.user.less b/styles/nitter/catppuccin.user.less
index 822e19c3..b6968bdc 100644
--- a/styles/nitter/catppuccin.user.less
+++ b/styles/nitter/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("nitter.net"),
domain("nitter.unixfox.eu"),
domain("nitter.42l.fr"),
@@ -63,46 +65,8 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
body {
--bg_color: @mantle;
@@ -187,11 +151,3 @@
#rgbify(@color) {
@rgb: red(@color) green(@color) blue(@color);
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/nixos-manual/catppuccin.user.less b/styles/nixos-manual/catppuccin.user.less
index 4b602650..6e2a5bde 100644
--- a/styles/nixos-manual/catppuccin.user.less
+++ b/styles/nixos-manual/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document url-prefix("https://nixos.org/manual/"),
url-prefix("https://nix-darwin.github.io/nix-darwin/manual/") {
@import url("https://unpkg.com/@catppuccin/highlightjs@1.0.0/css/catppuccin-variables.important.css");
@@ -29,73 +31,9 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- --ctp-rosewater: @rosewater;
- --ctp-flamingo: @flamingo;
- --ctp-pink: @pink;
- --ctp-mauve: @mauve;
- --ctp-red: @red;
- --ctp-maroon: @maroon;
- --ctp-peach: @peach;
- --ctp-yellow: @yellow;
- --ctp-green: @green;
- --ctp-teal: @teal;
- --ctp-sky: @sky;
- --ctp-sapphire: @sapphire;
- --ctp-blue: @blue;
- --ctp-lavender: @lavender;
- --ctp-text: @text;
- --ctp-subtext1: @subtext1;
- --ctp-subtext0: @subtext0;
- --ctp-overlay2: @overlay2;
- --ctp-overlay1: @overlay1;
- --ctp-overlay0: @overlay0;
- --ctp-surface2: @surface2;
- --ctp-surface1: @surface1;
- --ctp-surface0: @surface0;
- --ctp-base: @base;
- --ctp-mantle: @mantle;
- --ctp-crust: @crust;
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
+ #lib.css-variables();
--background: @base;
--main-text-color: @text;
@@ -135,11 +73,3 @@
}
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/nixos-search/catppuccin.user.less b/styles/nixos-search/catppuccin.user.less
index e2c03fff..566f8254 100644
--- a/styles/nixos-search/catppuccin.user.less
+++ b/styles/nixos-search/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("search.nixos.org") {
:root {
@media (prefers-color-scheme: light) {
@@ -26,46 +28,8 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
--background-color: @base;
--badge-background: @accent;
@@ -108,11 +72,3 @@
}
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/npm/catppuccin.user.less b/styles/npm/catppuccin.user.less
index 33419a04..57709d58 100644
--- a/styles/npm/catppuccin.user.less
+++ b/styles/npm/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("www.npmjs.com") {
:root {
@media (prefers-color-scheme: light) {
@@ -26,41 +28,8 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- @red-filter: @catppuccin-filters[@@flavor][@red];
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
+ #lib.palette();
+ #lib.defaults();
input,
textarea {
@@ -69,12 +38,9 @@
&:focus {
box-shadow: 0 0 0 2px @accent;
}
-
- &::placeholder {
- color: @subtext0 !important;
- }
}
+ // TODO: Should accent-color be set in defaults?
accent-color: @accent;
@npmGradient: linear-gradient(139deg, @peach, @maroon, @red, @pink);
@@ -1166,19 +1132,3 @@
/* stylelint-enable declaration-block-single-line-max-declarations */
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @red_filter: brightness(0) saturate(100%) invert(13%) sepia(93%) saturate(6590%) hue-rotate(343deg) brightness(85%) contrast(92%); @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @red_filter: brightness(0) saturate(100%) invert(79%) sepia(26%) saturate(3775%) hue-rotate(304deg) brightness(96%) contrast(88%); @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @red_filter: brightness(0) saturate(100%) invert(62%) sepia(22%) saturate(880%) hue-rotate(302deg) brightness(98%) contrast(90%); @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @red_filter: brightness(0) saturate(100%) invert(87%) sepia(37%) saturate(4988%) hue-rotate(296deg) brightness(105%) contrast(91%); @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
-
-/* deno-fmt-ignore */
-@catppuccin-filters: {
- @latte: { @rosewater: brightness(0) saturate(100%) invert(65%) sepia(18%) saturate(1048%) hue-rotate(323deg) brightness(92%) contrast(86%); @flamingo: brightness(0) saturate(100%) invert(84%) sepia(44%) saturate(4533%) hue-rotate(310deg) brightness(98%) contrast(75%); @pink: brightness(0) saturate(100%) invert(60%) sepia(32%) saturate(775%) hue-rotate(266deg) brightness(93%) contrast(97%); @mauve: brightness(0) saturate(100%) invert(26%) sepia(59%) saturate(3315%) hue-rotate(255deg) brightness(94%) contrast(100%); @red: brightness(0) saturate(100%) invert(16%) sepia(78%) saturate(7275%) hue-rotate(342deg) brightness(84%) contrast(94%); @maroon: brightness(0) saturate(100%) invert(31%) sepia(56%) saturate(2395%) hue-rotate(331deg) brightness(99%) contrast(82%); @peach: brightness(0) saturate(100%) invert(38%) sepia(81%) saturate(1292%) hue-rotate(356deg) brightness(103%) contrast(99%); @yellow: brightness(0) saturate(100%) invert(74%) sepia(47%) saturate(4570%) hue-rotate(354deg) brightness(95%) contrast(83%); @green: brightness(0) saturate(100%) invert(51%) sepia(25%) saturate(4134%) hue-rotate(76deg) brightness(95%) contrast(66%); @teal: brightness(0) saturate(100%) invert(41%) sepia(45%) saturate(1101%) hue-rotate(139deg) brightness(100%) contrast(82%); @sky: brightness(0) saturate(100%) invert(47%) sepia(76%) saturate(2427%) hue-rotate(166deg) brightness(99%) contrast(97%); @sapphire: brightness(0) saturate(100%) invert(52%) sepia(41%) saturate(6982%) hue-rotate(160deg) brightness(102%) contrast(75%); @blue: brightness(0) saturate(100%) invert(30%) sepia(80%) saturate(1850%) hue-rotate(209deg) brightness(94%) contrast(105%); @lavender: brightness(0) saturate(100%) invert(48%) sepia(61%) saturate(538%) hue-rotate(194deg) brightness(102%) contrast(98%); @text: brightness(0) saturate(100%) invert(30%) sepia(10%) saturate(1259%) hue-rotate(196deg) brightness(97%) contrast(91%); @subtext1: brightness(0) saturate(100%) invert(36%) sepia(10%) saturate(890%) hue-rotate(196deg) brightness(98%) contrast(90%); @subtext0: brightness(0) saturate(100%) invert(47%) sepia(6%) saturate(1263%) hue-rotate(195deg) brightness(90%) contrast(81%); @overlay2: brightness(0) saturate(100%) invert(59%) sepia(7%) saturate(825%) hue-rotate(195deg) brightness(83%) contrast(91%); @overlay1: brightness(0) saturate(100%) invert(59%) sepia(14%) saturate(333%) hue-rotate(194deg) brightness(95%) contrast(89%); @overlay0: brightness(0) saturate(100%) invert(85%) sepia(7%) saturate(595%) hue-rotate(191deg) brightness(77%) contrast(81%); @surface2: brightness(0) saturate(100%) invert(86%) sepia(6%) saturate(482%) hue-rotate(189deg) brightness(82%) contrast(88%); @surface1: brightness(0) saturate(100%) invert(85%) sepia(8%) saturate(281%) hue-rotate(187deg) brightness(92%) contrast(88%); @surface0: brightness(0) saturate(100%) invert(96%) sepia(1%) saturate(5123%) hue-rotate(185deg) brightness(93%) contrast(83%); @base: brightness(0) saturate(100%) invert(89%) sepia(5%) saturate(140%) hue-rotate(182deg) brightness(109%) contrast(94%); @mantle: brightness(0) saturate(100%) invert(93%) sepia(19%) saturate(55%) hue-rotate(182deg) brightness(98%) contrast(92%); @crust: brightness(0) saturate(100%) invert(91%) sepia(1%) saturate(4489%) hue-rotate(196deg) brightness(106%) contrast(82%); };
- @frappe: { @rosewater: brightness(0) saturate(100%) invert(90%) sepia(6%) saturate(734%) hue-rotate(321deg) brightness(95%) contrast(99%); @flamingo: brightness(0) saturate(100%) invert(88%) sepia(52%) saturate(817%) hue-rotate(293deg) brightness(113%) contrast(84%); @pink: brightness(0) saturate(100%) invert(76%) sepia(15%) saturate(844%) hue-rotate(280deg) brightness(107%) contrast(91%); @mauve: brightness(0) saturate(100%) invert(71%) sepia(25%) saturate(725%) hue-rotate(225deg) brightness(94%) contrast(91%); @red: brightness(0) saturate(100%) invert(67%) sepia(3%) saturate(7209%) hue-rotate(305deg) brightness(91%) contrast(99%); @maroon: brightness(0) saturate(100%) invert(61%) sepia(14%) saturate(957%) hue-rotate(307deg) brightness(109%) contrast(90%); @peach: brightness(0) saturate(100%) invert(68%) sepia(28%) saturate(662%) hue-rotate(335deg) brightness(96%) contrast(94%); @yellow: brightness(0) saturate(100%) invert(94%) sepia(88%) saturate(684%) hue-rotate(309deg) brightness(105%) contrast(80%); @green: brightness(0) saturate(100%) invert(89%) sepia(23%) saturate(582%) hue-rotate(42deg) brightness(87%) contrast(89%); @teal: brightness(0) saturate(100%) invert(91%) sepia(13%) saturate(986%) hue-rotate(110deg) brightness(85%) contrast(81%); @sky: brightness(0) saturate(100%) invert(75%) sepia(15%) saturate(623%) hue-rotate(141deg) brightness(109%) contrast(81%); @sapphire: brightness(0) saturate(100%) invert(77%) sepia(20%) saturate(730%) hue-rotate(157deg) brightness(97%) contrast(76%); @blue: brightness(0) saturate(100%) invert(68%) sepia(16%) saturate(1070%) hue-rotate(185deg) brightness(96%) contrast(95%); @lavender: brightness(0) saturate(100%) invert(75%) sepia(20%) saturate(626%) hue-rotate(201deg) brightness(101%) contrast(89%); @text: brightness(0) saturate(100%) invert(83%) sepia(12%) saturate(582%) hue-rotate(191deg) brightness(98%) contrast(96%); @subtext1: brightness(0) saturate(100%) invert(80%) sepia(18%) saturate(411%) hue-rotate(190deg) brightness(96%) contrast(84%); @subtext0: brightness(0) saturate(100%) invert(82%) sepia(6%) saturate(1287%) hue-rotate(192deg) brightness(86%) contrast(85%); @overlay2: brightness(0) saturate(100%) invert(65%) sepia(36%) saturate(230%) hue-rotate(190deg) brightness(92%) contrast(82%); @overlay1: brightness(0) saturate(100%) invert(55%) sepia(12%) saturate(638%) hue-rotate(189deg) brightness(98%) contrast(87%); @overlay0: brightness(0) saturate(100%) invert(49%) sepia(13%) saturate(662%) hue-rotate(192deg) brightness(94%) contrast(84%); @surface2: brightness(0) saturate(100%) invert(41%) sepia(20%) saturate(469%) hue-rotate(191deg) brightness(93%) contrast(86%); @surface1: brightness(0) saturate(100%) invert(34%) sepia(14%) saturate(771%) hue-rotate(190deg) brightness(89%) contrast(85%); @surface0: brightness(0) saturate(100%) invert(28%) sepia(7%) saturate(1468%) hue-rotate(193deg) brightness(92%) contrast(95%); @base: brightness(0) saturate(100%) invert(20%) sepia(17%) saturate(747%) hue-rotate(192deg) brightness(96%) contrast(97%); @mantle: brightness(0) saturate(100%) invert(8%) sepia(7%) saturate(7271%) hue-rotate(198deg) brightness(88%) contrast(75%); @crust: brightness(0) saturate(100%) invert(7%) sepia(7%) saturate(7415%) hue-rotate(197deg) brightness(86%) contrast(79%); };
- @macchiato: { @rosewater: brightness(0) saturate(100%) invert(88%) sepia(13%) saturate(322%) hue-rotate(321deg) brightness(102%) contrast(91%); @flamingo: brightness(0) saturate(100%) invert(82%) sepia(3%) saturate(3070%) hue-rotate(314deg) brightness(107%) contrast(88%); @pink: brightness(0) saturate(100%) invert(80%) sepia(23%) saturate(509%) hue-rotate(280deg) brightness(102%) contrast(92%); @mauve: brightness(0) saturate(100%) invert(65%) sepia(18%) saturate(903%) hue-rotate(222deg) brightness(104%) contrast(93%); @red: brightness(0) saturate(100%) invert(61%) sepia(19%) saturate(1541%) hue-rotate(305deg) brightness(110%) contrast(86%); @maroon: brightness(0) saturate(100%) invert(71%) sepia(10%) saturate(1331%) hue-rotate(306deg) brightness(93%) contrast(101%); @peach: brightness(0) saturate(100%) invert(73%) sepia(13%) saturate(1676%) hue-rotate(330deg) brightness(103%) contrast(92%); @yellow: brightness(0) saturate(100%) invert(87%) sepia(89%) saturate(321%) hue-rotate(314deg) brightness(101%) contrast(87%); @green: brightness(0) saturate(100%) invert(93%) sepia(12%) saturate(1128%) hue-rotate(48deg) brightness(92%) contrast(85%); @teal: brightness(0) saturate(100%) invert(92%) sepia(10%) saturate(1176%) hue-rotate(110deg) brightness(87%) contrast(90%); @sky: brightness(0) saturate(100%) invert(78%) sepia(57%) saturate(230%) hue-rotate(142deg) brightness(96%) contrast(84%); @sapphire: brightness(0) saturate(100%) invert(74%) sepia(35%) saturate(438%) hue-rotate(156deg) brightness(92%) contrast(93%); @blue: brightness(0) saturate(100%) invert(67%) sepia(17%) saturate(1007%) hue-rotate(183deg) brightness(99%) contrast(94%); @lavender: brightness(0) saturate(100%) invert(74%) sepia(6%) saturate(2559%) hue-rotate(198deg) brightness(103%) contrast(94%); @text: brightness(0) saturate(100%) invert(81%) sepia(9%) saturate(726%) hue-rotate(192deg) brightness(104%) contrast(92%); @subtext1: brightness(0) saturate(100%) invert(84%) sepia(5%) saturate(1453%) hue-rotate(193deg) brightness(94%) contrast(86%); @subtext0: brightness(0) saturate(100%) invert(75%) sepia(18%) saturate(361%) hue-rotate(190deg) brightness(91%) contrast(86%); @overlay2: brightness(0) saturate(100%) invert(67%) sepia(9%) saturate(814%) hue-rotate(191deg) brightness(92%) contrast(88%); @overlay1: brightness(0) saturate(100%) invert(49%) sepia(38%) saturate(203%) hue-rotate(190deg) brightness(101%) contrast(93%); @overlay0: brightness(0) saturate(100%) invert(46%) sepia(16%) saturate(552%) hue-rotate(193deg) brightness(93%) contrast(84%); @surface2: brightness(0) saturate(100%) invert(34%) sepia(16%) saturate(611%) hue-rotate(192deg) brightness(101%) contrast(87%); @surface1: brightness(0) saturate(100%) invert(30%) sepia(11%) saturate(1085%) hue-rotate(194deg) brightness(92%) contrast(89%); @surface0: brightness(0) saturate(100%) invert(18%) sepia(21%) saturate(880%) hue-rotate(193deg) brightness(97%) contrast(84%); @base: brightness(0) saturate(100%) invert(12%) sepia(42%) saturate(570%) hue-rotate(194deg) brightness(90%) contrast(90%); @mantle: brightness(0) saturate(100%) invert(6%) sepia(6%) saturate(7499%) hue-rotate(200deg) brightness(93%) contrast(85%); @crust: brightness(0) saturate(100%) invert(5%) sepia(8%) saturate(5346%) hue-rotate(202deg) brightness(98%) contrast(88%); };
- @mocha: { @rosewater: brightness(0) saturate(100%) invert(92%) sepia(5%) saturate(704%) hue-rotate(320deg) brightness(99%) contrast(93%); @flamingo: brightness(0) saturate(100%) invert(81%) sepia(5%) saturate(987%) hue-rotate(315deg) brightness(107%) contrast(90%); @pink: brightness(0) saturate(100%) invert(86%) sepia(11%) saturate(1177%) hue-rotate(283deg) brightness(101%) contrast(92%); @mauve: brightness(0) saturate(100%) invert(65%) sepia(58%) saturate(255%) hue-rotate(224deg) brightness(96%) contrast(102%); @red: brightness(0) saturate(100%) invert(61%) sepia(19%) saturate(997%) hue-rotate(294deg) brightness(104%) contrast(91%); @maroon: brightness(0) saturate(100%) invert(66%) sepia(16%) saturate(1301%) hue-rotate(306deg) brightness(116%) contrast(84%); @peach: brightness(0) saturate(100%) invert(68%) sepia(57%) saturate(278%) hue-rotate(338deg) brightness(98%) contrast(101%); @yellow: brightness(0) saturate(100%) invert(90%) sepia(70%) saturate(380%) hue-rotate(313deg) brightness(102%) contrast(95%); @green: brightness(0) saturate(100%) invert(88%) sepia(6%) saturate(2015%) hue-rotate(63deg) brightness(104%) contrast(78%); @teal: brightness(0) saturate(100%) invert(92%) sepia(12%) saturate(991%) hue-rotate(108deg) brightness(93%) contrast(90%); @sky: brightness(0) saturate(100%) invert(84%) sepia(21%) saturate(1302%) hue-rotate(164deg) brightness(106%) contrast(84%); @sapphire: brightness(0) saturate(100%) invert(74%) sepia(20%) saturate(876%) hue-rotate(156deg) brightness(96%) contrast(93%); @blue: brightness(0) saturate(100%) invert(68%) sepia(18%) saturate(951%) hue-rotate(180deg) brightness(98%) contrast(100%); @lavender: brightness(0) saturate(100%) invert(73%) sepia(7%) saturate(1670%) hue-rotate(195deg) brightness(102%) contrast(99%); @text: brightness(0) saturate(100%) invert(86%) sepia(6%) saturate(879%) hue-rotate(190deg) brightness(100%) contrast(93%); @subtext1: brightness(0) saturate(100%) invert(84%) sepia(19%) saturate(381%) hue-rotate(193deg) brightness(91%) contrast(89%); @subtext0: brightness(0) saturate(100%) invert(84%) sepia(9%) saturate(767%) hue-rotate(192deg) brightness(84%) contrast(84%); @overlay2: brightness(0) saturate(100%) invert(63%) sepia(15%) saturate(428%) hue-rotate(191deg) brightness(96%) contrast(84%); @overlay1: brightness(0) saturate(100%) invert(56%) sepia(15%) saturate(455%) hue-rotate(192deg) brightness(90%) contrast(88%); @overlay0: brightness(0) saturate(100%) invert(44%) sepia(6%) saturate(1275%) hue-rotate(194deg) brightness(97%) contrast(88%); @surface2: brightness(0) saturate(100%) invert(34%) sepia(8%) saturate(1015%) hue-rotate(195deg) brightness(99%) contrast(89%); @surface1: brightness(0) saturate(100%) invert(25%) sepia(6%) saturate(1950%) hue-rotate(197deg) brightness(99%) contrast(86%); @surface0: brightness(0) saturate(100%) invert(19%) sepia(5%) saturate(2844%) hue-rotate(199deg) brightness(91%) contrast(93%); @base: brightness(0) saturate(100%) invert(7%) sepia(4%) saturate(7496%) hue-rotate(202deg) brightness(93%) contrast(87%); @mantle: brightness(0) saturate(100%) invert(6%) sepia(4%) saturate(7465%) hue-rotate(202deg) brightness(95%) contrast(90%); @crust: brightness(0) saturate(100%) invert(3%) sepia(13%) saturate(6863%) hue-rotate(220deg) brightness(95%) contrast(91%); };
-};
diff --git a/styles/ollama/catppuccin.user.less b/styles/ollama/catppuccin.user.less
index 43fa42d3..61dac8f8 100644
--- a/styles/ollama/catppuccin.user.less
+++ b/styles/ollama/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("ollama.com") {
@import url("https://unpkg.com/@catppuccin/highlightjs@1.0.0/css/catppuccin-variables.css");
@@ -28,75 +30,9 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- @text-filter: @catppuccin-filters[@@flavor][@text];
-
- --ctp-rosewater: @rosewater;
- --ctp-flamingo: @flamingo;
- --ctp-pink: @pink;
- --ctp-mauve: @mauve;
- --ctp-red: @red;
- --ctp-maroon: @maroon;
- --ctp-peach: @peach;
- --ctp-yellow: @yellow;
- --ctp-green: @green;
- --ctp-teal: @teal;
- --ctp-sky: @sky;
- --ctp-sapphire: @sapphire;
- --ctp-blue: @blue;
- --ctp-lavender: @lavender;
- --ctp-text: @text;
- --ctp-subtext1: @subtext1;
- --ctp-subtext0: @subtext0;
- --ctp-overlay2: @overlay2;
- --ctp-overlay1: @overlay1;
- --ctp-overlay0: @overlay0;
- --ctp-surface2: @surface2;
- --ctp-surface1: @surface1;
- --ctp-surface0: @surface0;
- --ctp-base: @base;
- --ctp-mantle: @mantle;
- --ctp-crust: @crust;
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
+ #lib.css-variables();
background-color: @base;
color: @text;
@@ -266,30 +202,10 @@
select:focus,
.ring-blue-300,
.focus\:ring-blue-300:focus {
- --tw-ring-color: rgba(#rgbify(@accent)[], var(--tw-ring-opacity));
+ --tw-ring-color: rgba(#lib.rgbify(@accent)[], var(--tw-ring-opacity));
}
.focus\:ring-red-300:focus {
- --tw-ring-color: rgba(#rgbify(@red)[], var(--tw-ring-opacity));
+ --tw-ring-color: rgba(#lib.rgbify(@red)[], var(--tw-ring-opacity));
}
}
}
-
-#rgbify(@color) {
- @rgb: red(@color), green(@color), blue(@color);
-}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @text-filter: brightness(0) saturate(100%) invert(32%) sepia(14%) saturate(808%) hue-rotate(196deg) brightness(92%) contrast(95%); @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @text-filter: brightness(0) saturate(100%) invert(82%) sepia(17%) saturate(401%) hue-rotate(191deg) brightness(97%) contrast(98%); @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @text-filter: brightness(0) saturate(100%) invert(72%) sepia(78%) saturate(147%) hue-rotate(195deg) brightness(103%) contrast(92%); @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @text-filter: brightness(0) saturate(100%) invert(94%) sepia(11%) saturate(2056%) hue-rotate(182deg) brightness(96%) contrast(99%); @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
-
-/* deno-fmt-ignore */
-@catppuccin-filters: {
- @latte: { @rosewater: brightness(0) saturate(100%) invert(65%) sepia(18%) saturate(1048%) hue-rotate(323deg) brightness(92%) contrast(86%); @flamingo: brightness(0) saturate(100%) invert(84%) sepia(44%) saturate(4533%) hue-rotate(310deg) brightness(98%) contrast(75%); @pink: brightness(0) saturate(100%) invert(60%) sepia(32%) saturate(775%) hue-rotate(266deg) brightness(93%) contrast(97%); @mauve: brightness(0) saturate(100%) invert(26%) sepia(59%) saturate(3315%) hue-rotate(255deg) brightness(94%) contrast(100%); @red: brightness(0) saturate(100%) invert(16%) sepia(78%) saturate(7275%) hue-rotate(342deg) brightness(84%) contrast(94%); @maroon: brightness(0) saturate(100%) invert(31%) sepia(56%) saturate(2395%) hue-rotate(331deg) brightness(99%) contrast(82%); @peach: brightness(0) saturate(100%) invert(38%) sepia(81%) saturate(1292%) hue-rotate(356deg) brightness(103%) contrast(99%); @yellow: brightness(0) saturate(100%) invert(74%) sepia(47%) saturate(4570%) hue-rotate(354deg) brightness(95%) contrast(83%); @green: brightness(0) saturate(100%) invert(51%) sepia(25%) saturate(4134%) hue-rotate(76deg) brightness(95%) contrast(66%); @teal: brightness(0) saturate(100%) invert(41%) sepia(45%) saturate(1101%) hue-rotate(139deg) brightness(100%) contrast(82%); @sky: brightness(0) saturate(100%) invert(47%) sepia(76%) saturate(2427%) hue-rotate(166deg) brightness(99%) contrast(97%); @sapphire: brightness(0) saturate(100%) invert(52%) sepia(41%) saturate(6982%) hue-rotate(160deg) brightness(102%) contrast(75%); @blue: brightness(0) saturate(100%) invert(30%) sepia(80%) saturate(1850%) hue-rotate(209deg) brightness(94%) contrast(105%); @lavender: brightness(0) saturate(100%) invert(48%) sepia(61%) saturate(538%) hue-rotate(194deg) brightness(102%) contrast(98%); @text: brightness(0) saturate(100%) invert(30%) sepia(10%) saturate(1259%) hue-rotate(196deg) brightness(97%) contrast(91%); @subtext1: brightness(0) saturate(100%) invert(36%) sepia(10%) saturate(890%) hue-rotate(196deg) brightness(98%) contrast(90%); @subtext0: brightness(0) saturate(100%) invert(47%) sepia(6%) saturate(1263%) hue-rotate(195deg) brightness(90%) contrast(81%); @overlay2: brightness(0) saturate(100%) invert(59%) sepia(7%) saturate(825%) hue-rotate(195deg) brightness(83%) contrast(91%); @overlay1: brightness(0) saturate(100%) invert(59%) sepia(14%) saturate(333%) hue-rotate(194deg) brightness(95%) contrast(89%); @overlay0: brightness(0) saturate(100%) invert(85%) sepia(7%) saturate(595%) hue-rotate(191deg) brightness(77%) contrast(81%); @surface2: brightness(0) saturate(100%) invert(86%) sepia(6%) saturate(482%) hue-rotate(189deg) brightness(82%) contrast(88%); @surface1: brightness(0) saturate(100%) invert(85%) sepia(8%) saturate(281%) hue-rotate(187deg) brightness(92%) contrast(88%); @surface0: brightness(0) saturate(100%) invert(96%) sepia(1%) saturate(5123%) hue-rotate(185deg) brightness(93%) contrast(83%); @base: brightness(0) saturate(100%) invert(89%) sepia(5%) saturate(140%) hue-rotate(182deg) brightness(109%) contrast(94%); @mantle: brightness(0) saturate(100%) invert(93%) sepia(19%) saturate(55%) hue-rotate(182deg) brightness(98%) contrast(92%); @crust: brightness(0) saturate(100%) invert(91%) sepia(1%) saturate(4489%) hue-rotate(196deg) brightness(106%) contrast(82%); };
- @frappe: { @rosewater: brightness(0) saturate(100%) invert(90%) sepia(6%) saturate(734%) hue-rotate(321deg) brightness(95%) contrast(99%); @flamingo: brightness(0) saturate(100%) invert(88%) sepia(52%) saturate(817%) hue-rotate(293deg) brightness(113%) contrast(84%); @pink: brightness(0) saturate(100%) invert(76%) sepia(15%) saturate(844%) hue-rotate(280deg) brightness(107%) contrast(91%); @mauve: brightness(0) saturate(100%) invert(71%) sepia(25%) saturate(725%) hue-rotate(225deg) brightness(94%) contrast(91%); @red: brightness(0) saturate(100%) invert(67%) sepia(3%) saturate(7209%) hue-rotate(305deg) brightness(91%) contrast(99%); @maroon: brightness(0) saturate(100%) invert(61%) sepia(14%) saturate(957%) hue-rotate(307deg) brightness(109%) contrast(90%); @peach: brightness(0) saturate(100%) invert(68%) sepia(28%) saturate(662%) hue-rotate(335deg) brightness(96%) contrast(94%); @yellow: brightness(0) saturate(100%) invert(94%) sepia(88%) saturate(684%) hue-rotate(309deg) brightness(105%) contrast(80%); @green: brightness(0) saturate(100%) invert(89%) sepia(23%) saturate(582%) hue-rotate(42deg) brightness(87%) contrast(89%); @teal: brightness(0) saturate(100%) invert(91%) sepia(13%) saturate(986%) hue-rotate(110deg) brightness(85%) contrast(81%); @sky: brightness(0) saturate(100%) invert(75%) sepia(15%) saturate(623%) hue-rotate(141deg) brightness(109%) contrast(81%); @sapphire: brightness(0) saturate(100%) invert(77%) sepia(20%) saturate(730%) hue-rotate(157deg) brightness(97%) contrast(76%); @blue: brightness(0) saturate(100%) invert(68%) sepia(16%) saturate(1070%) hue-rotate(185deg) brightness(96%) contrast(95%); @lavender: brightness(0) saturate(100%) invert(75%) sepia(20%) saturate(626%) hue-rotate(201deg) brightness(101%) contrast(89%); @text: brightness(0) saturate(100%) invert(83%) sepia(12%) saturate(582%) hue-rotate(191deg) brightness(98%) contrast(96%); @subtext1: brightness(0) saturate(100%) invert(80%) sepia(18%) saturate(411%) hue-rotate(190deg) brightness(96%) contrast(84%); @subtext0: brightness(0) saturate(100%) invert(82%) sepia(6%) saturate(1287%) hue-rotate(192deg) brightness(86%) contrast(85%); @overlay2: brightness(0) saturate(100%) invert(65%) sepia(36%) saturate(230%) hue-rotate(190deg) brightness(92%) contrast(82%); @overlay1: brightness(0) saturate(100%) invert(55%) sepia(12%) saturate(638%) hue-rotate(189deg) brightness(98%) contrast(87%); @overlay0: brightness(0) saturate(100%) invert(49%) sepia(13%) saturate(662%) hue-rotate(192deg) brightness(94%) contrast(84%); @surface2: brightness(0) saturate(100%) invert(41%) sepia(20%) saturate(469%) hue-rotate(191deg) brightness(93%) contrast(86%); @surface1: brightness(0) saturate(100%) invert(34%) sepia(14%) saturate(771%) hue-rotate(190deg) brightness(89%) contrast(85%); @surface0: brightness(0) saturate(100%) invert(28%) sepia(7%) saturate(1468%) hue-rotate(193deg) brightness(92%) contrast(95%); @base: brightness(0) saturate(100%) invert(20%) sepia(17%) saturate(747%) hue-rotate(192deg) brightness(96%) contrast(97%); @mantle: brightness(0) saturate(100%) invert(8%) sepia(7%) saturate(7271%) hue-rotate(198deg) brightness(88%) contrast(75%); @crust: brightness(0) saturate(100%) invert(7%) sepia(7%) saturate(7415%) hue-rotate(197deg) brightness(86%) contrast(79%); };
- @macchiato: { @rosewater: brightness(0) saturate(100%) invert(88%) sepia(13%) saturate(322%) hue-rotate(321deg) brightness(102%) contrast(91%); @flamingo: brightness(0) saturate(100%) invert(82%) sepia(3%) saturate(3070%) hue-rotate(314deg) brightness(107%) contrast(88%); @pink: brightness(0) saturate(100%) invert(80%) sepia(23%) saturate(509%) hue-rotate(280deg) brightness(102%) contrast(92%); @mauve: brightness(0) saturate(100%) invert(65%) sepia(18%) saturate(903%) hue-rotate(222deg) brightness(104%) contrast(93%); @red: brightness(0) saturate(100%) invert(61%) sepia(19%) saturate(1541%) hue-rotate(305deg) brightness(110%) contrast(86%); @maroon: brightness(0) saturate(100%) invert(71%) sepia(10%) saturate(1331%) hue-rotate(306deg) brightness(93%) contrast(101%); @peach: brightness(0) saturate(100%) invert(73%) sepia(13%) saturate(1676%) hue-rotate(330deg) brightness(103%) contrast(92%); @yellow: brightness(0) saturate(100%) invert(87%) sepia(89%) saturate(321%) hue-rotate(314deg) brightness(101%) contrast(87%); @green: brightness(0) saturate(100%) invert(93%) sepia(12%) saturate(1128%) hue-rotate(48deg) brightness(92%) contrast(85%); @teal: brightness(0) saturate(100%) invert(92%) sepia(10%) saturate(1176%) hue-rotate(110deg) brightness(87%) contrast(90%); @sky: brightness(0) saturate(100%) invert(78%) sepia(57%) saturate(230%) hue-rotate(142deg) brightness(96%) contrast(84%); @sapphire: brightness(0) saturate(100%) invert(74%) sepia(35%) saturate(438%) hue-rotate(156deg) brightness(92%) contrast(93%); @blue: brightness(0) saturate(100%) invert(67%) sepia(17%) saturate(1007%) hue-rotate(183deg) brightness(99%) contrast(94%); @lavender: brightness(0) saturate(100%) invert(74%) sepia(6%) saturate(2559%) hue-rotate(198deg) brightness(103%) contrast(94%); @text: brightness(0) saturate(100%) invert(81%) sepia(9%) saturate(726%) hue-rotate(192deg) brightness(104%) contrast(92%); @subtext1: brightness(0) saturate(100%) invert(84%) sepia(5%) saturate(1453%) hue-rotate(193deg) brightness(94%) contrast(86%); @subtext0: brightness(0) saturate(100%) invert(75%) sepia(18%) saturate(361%) hue-rotate(190deg) brightness(91%) contrast(86%); @overlay2: brightness(0) saturate(100%) invert(67%) sepia(9%) saturate(814%) hue-rotate(191deg) brightness(92%) contrast(88%); @overlay1: brightness(0) saturate(100%) invert(49%) sepia(38%) saturate(203%) hue-rotate(190deg) brightness(101%) contrast(93%); @overlay0: brightness(0) saturate(100%) invert(46%) sepia(16%) saturate(552%) hue-rotate(193deg) brightness(93%) contrast(84%); @surface2: brightness(0) saturate(100%) invert(34%) sepia(16%) saturate(611%) hue-rotate(192deg) brightness(101%) contrast(87%); @surface1: brightness(0) saturate(100%) invert(30%) sepia(11%) saturate(1085%) hue-rotate(194deg) brightness(92%) contrast(89%); @surface0: brightness(0) saturate(100%) invert(18%) sepia(21%) saturate(880%) hue-rotate(193deg) brightness(97%) contrast(84%); @base: brightness(0) saturate(100%) invert(12%) sepia(42%) saturate(570%) hue-rotate(194deg) brightness(90%) contrast(90%); @mantle: brightness(0) saturate(100%) invert(6%) sepia(6%) saturate(7499%) hue-rotate(200deg) brightness(93%) contrast(85%); @crust: brightness(0) saturate(100%) invert(5%) sepia(8%) saturate(5346%) hue-rotate(202deg) brightness(98%) contrast(88%); };
- @mocha: { @rosewater: brightness(0) saturate(100%) invert(92%) sepia(5%) saturate(704%) hue-rotate(320deg) brightness(99%) contrast(93%); @flamingo: brightness(0) saturate(100%) invert(81%) sepia(5%) saturate(987%) hue-rotate(315deg) brightness(107%) contrast(90%); @pink: brightness(0) saturate(100%) invert(86%) sepia(11%) saturate(1177%) hue-rotate(283deg) brightness(101%) contrast(92%); @mauve: brightness(0) saturate(100%) invert(65%) sepia(58%) saturate(255%) hue-rotate(224deg) brightness(96%) contrast(102%); @red: brightness(0) saturate(100%) invert(61%) sepia(19%) saturate(997%) hue-rotate(294deg) brightness(104%) contrast(91%); @maroon: brightness(0) saturate(100%) invert(66%) sepia(16%) saturate(1301%) hue-rotate(306deg) brightness(116%) contrast(84%); @peach: brightness(0) saturate(100%) invert(68%) sepia(57%) saturate(278%) hue-rotate(338deg) brightness(98%) contrast(101%); @yellow: brightness(0) saturate(100%) invert(90%) sepia(70%) saturate(380%) hue-rotate(313deg) brightness(102%) contrast(95%); @green: brightness(0) saturate(100%) invert(88%) sepia(6%) saturate(2015%) hue-rotate(63deg) brightness(104%) contrast(78%); @teal: brightness(0) saturate(100%) invert(92%) sepia(12%) saturate(991%) hue-rotate(108deg) brightness(93%) contrast(90%); @sky: brightness(0) saturate(100%) invert(84%) sepia(21%) saturate(1302%) hue-rotate(164deg) brightness(106%) contrast(84%); @sapphire: brightness(0) saturate(100%) invert(74%) sepia(20%) saturate(876%) hue-rotate(156deg) brightness(96%) contrast(93%); @blue: brightness(0) saturate(100%) invert(68%) sepia(18%) saturate(951%) hue-rotate(180deg) brightness(98%) contrast(100%); @lavender: brightness(0) saturate(100%) invert(73%) sepia(7%) saturate(1670%) hue-rotate(195deg) brightness(102%) contrast(99%); @text: brightness(0) saturate(100%) invert(86%) sepia(6%) saturate(879%) hue-rotate(190deg) brightness(100%) contrast(93%); @subtext1: brightness(0) saturate(100%) invert(84%) sepia(19%) saturate(381%) hue-rotate(193deg) brightness(91%) contrast(89%); @subtext0: brightness(0) saturate(100%) invert(84%) sepia(9%) saturate(767%) hue-rotate(192deg) brightness(84%) contrast(84%); @overlay2: brightness(0) saturate(100%) invert(63%) sepia(15%) saturate(428%) hue-rotate(191deg) brightness(96%) contrast(84%); @overlay1: brightness(0) saturate(100%) invert(56%) sepia(15%) saturate(455%) hue-rotate(192deg) brightness(90%) contrast(88%); @overlay0: brightness(0) saturate(100%) invert(44%) sepia(6%) saturate(1275%) hue-rotate(194deg) brightness(97%) contrast(88%); @surface2: brightness(0) saturate(100%) invert(34%) sepia(8%) saturate(1015%) hue-rotate(195deg) brightness(99%) contrast(89%); @surface1: brightness(0) saturate(100%) invert(25%) sepia(6%) saturate(1950%) hue-rotate(197deg) brightness(99%) contrast(86%); @surface0: brightness(0) saturate(100%) invert(19%) sepia(5%) saturate(2844%) hue-rotate(199deg) brightness(91%) contrast(93%); @base: brightness(0) saturate(100%) invert(7%) sepia(4%) saturate(7496%) hue-rotate(202deg) brightness(93%) contrast(87%); @mantle: brightness(0) saturate(100%) invert(6%) sepia(4%) saturate(7465%) hue-rotate(202deg) brightness(95%) contrast(90%); @crust: brightness(0) saturate(100%) invert(3%) sepia(13%) saturate(6863%) hue-rotate(220deg) brightness(95%) contrast(91%); };
-};
diff --git a/styles/openmediavault/catppuccin.user.less b/styles/openmediavault/catppuccin.user.less
index 912000b1..fce7999b 100644
--- a/styles/openmediavault/catppuccin.user.less
+++ b/styles/openmediavault/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("openmediavault.example.com") {
:root {
@media (prefers-color-scheme: light) {
@@ -26,46 +28,8 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
.omv-dark-theme {
--mat-color-text: @text;
@@ -261,11 +225,3 @@
}
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/paste.rs/catppuccin.user.less b/styles/paste.rs/catppuccin.user.less
index 4faf9b85..026de49d 100644
--- a/styles/paste.rs/catppuccin.user.less
+++ b/styles/paste.rs/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("paste.rs") {
:root {
@media (prefers-color-scheme: light) {
@@ -26,46 +28,8 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
body {
background-color: @base;
@@ -205,11 +169,3 @@
}
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/perplexity/catppuccin.user.less b/styles/perplexity/catppuccin.user.less
index 007210d5..f5e1c726 100644
--- a/styles/perplexity/catppuccin.user.less
+++ b/styles/perplexity/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("perplexity.ai") {
:root:not([data-color-scheme="dark"]) {
#catppuccin(@lightFlavor);
@@ -25,46 +27,14 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- color-scheme: if(@flavor = latte, light, dark);
+ #lib.palette();
+ #lib.defaults();
::selection {
- background-color: fade(@accent, 30%) !important;
- color: @text !important;
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
+ background-color: fade(@accent, 30%)
+ !important; // TODO: Has !important unlike the defaults. Add !important to defaults?
+ color: @text
+ !important; // TODO: Another case of setting the text color in the selection.
}
body {
@@ -478,11 +448,3 @@
#rgbify(@color) {
@rgb: red(@color) green(@color) blue(@color);
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/phanpy/catppuccin.user.less b/styles/phanpy/catppuccin.user.less
index ebb3746f..61492f67 100644
--- a/styles/phanpy/catppuccin.user.less
+++ b/styles/phanpy/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("phanpy.social") {
:root:not(:has(.is-light)) {
#catppuccin(@darkFlavor);
@@ -24,46 +26,8 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
--text-color: @text;
--text-insignificant-color: @subtext0;
@@ -122,11 +86,3 @@
}
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/picrew/catppuccin.user.less b/styles/picrew/catppuccin.user.less
index f43c4238..2041669c 100644
--- a/styles/picrew/catppuccin.user.less
+++ b/styles/picrew/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("picrew.me") {
:root {
@media (prefers-color-scheme: light) {
@@ -26,46 +28,8 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
body {
background-color: @base !important;
@@ -1491,11 +1455,3 @@
}
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/pinterest/catppuccin.user.less b/styles/pinterest/catppuccin.user.less
index 533d03f5..62953f5a 100644
--- a/styles/pinterest/catppuccin.user.less
+++ b/styles/pinterest/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document regexp(
"^https?:\\/\\/(www|[a-z]{2}).pinterest.(com(.(au|mx))?|co(.(uk|kr))?|at|ca|ch|cl|de|dk|es|fr|ie|it|jp|nz|ph|pt|ru|se)\\/.*"
) {
@@ -28,46 +30,8 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
--color-text-light: @mantle;
--color-text-dark: @text;
@@ -1164,11 +1128,3 @@
}
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/planet-minecraft/catppuccin.user.less b/styles/planet-minecraft/catppuccin.user.less
index 4057589b..3a2df72d 100644
--- a/styles/planet-minecraft/catppuccin.user.less
+++ b/styles/planet-minecraft/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("planetminecraft.com") {
[data-theme="light"] {
#catppuccin(@lightFlavor);
@@ -24,46 +26,8 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
--body-bg: @crust;
--header-bg: @base;
@@ -377,11 +341,3 @@
}
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/porkbun/catppuccin.user.less b/styles/porkbun/catppuccin.user.less
index b19a17a6..2e99ea4b 100644
--- a/styles/porkbun/catppuccin.user.less
+++ b/styles/porkbun/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("porkbun.com") {
:root {
@media (prefers-color-scheme: light) {
@@ -26,46 +28,8 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
&,
body {
@@ -388,11 +352,3 @@
}
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/pronouns.cc/catppuccin.user.less b/styles/pronouns.cc/catppuccin.user.less
index da2d3b11..2efec87a 100644
--- a/styles/pronouns.cc/catppuccin.user.less
+++ b/styles/pronouns.cc/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("pronouns.cc") {
:root[data-bs-theme="dark"] {
#catppuccin(@darkFlavor);
@@ -38,46 +40,9 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
+ #lib.palette();
+ #lib.defaults();
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
.form-floating input::placeholder {
color: transparent !important;
}
@@ -110,20 +75,20 @@
}
--bs-badge-color: @text;
--bs-body-color: @text;
- --bs-body-color-rgb: #rgbify(@text)[];
+ --bs-body-color-rgb: #lib.rgbify(@text)[];
--bs-body-bg: @crust;
- --bs-darkk-rgb: #rgbify(@base);
- --bs-lightt-rgb: #rgbify(@base);
+ --bs-darkk-rgb: #lib.rgbify(@base);
+ --bs-lightt-rgb: #lib.rgbify(@base);
--bs-emphasis-color: @accent;
- --bs-emphasis-color-rgb: #rgbify(@accent)[];
+ --bs-emphasis-color-rgb: #lib.rgbify(@accent)[];
--bs-secondary-color: @subtext0;
--bs-secondary-color-rgb: @subtext0;
--bs-secondary-bg: @base;
- --bs-secondary-bg-rgb: #rgbify(@base)[];
+ --bs-secondary-bg-rgb: #lib.rgbify(@base)[];
--bs-tertiary-color: @subtext1;
--bs-tertiary-color-rgb: @subtext1;
--bs-tertiary-bg: @surface0;
- --bs-tertiary-bg-rgb: #rgbify(@surface0)[];
+ --bs-tertiary-bg-rgb: #lib.rgbify(@surface0)[];
--bs-primary-text-emphasis: @accent;
--bs-secondary-text-emphasis: @subtext1;
--bs-success-text-emphasis: @green;
@@ -143,9 +108,9 @@
--bs-dark-border-subtle: @surface1;
--bs-heading-color: inherit;
--bs-link-color: @accent;
- --bs-link-color-rgb: #rgbify(@accent)[];
+ --bs-link-color-rgb: #lib.rgbify(@accent)[];
--bs-link-hover-color: @accent;
- --bs-link-hover-color-rgb: #rgbify(@accent)[];
+ --bs-link-hover-color-rgb: #lib.rgbify(@accent)[];
--bs-code-color: @pink;
--bs-highlight-color: @rosewater;
@@ -194,7 +159,7 @@
--bs-btn-active-bg: @hv-bg;
--bs-btn-active-border-color: @hv-border;
- --bs-btn-focus-shadow-rgb: #rgbify(@bg)[];
+ --bs-btn-focus-shadow-rgb: #lib.rgbify(@bg)[];
--bs-btn-disabled-color: @color;
--bs-btn-disabled-bg: @bg;
--bs-btn-disabled-border-color: @border;
@@ -263,15 +228,3 @@
}
}
}
-
-#rgbify(@color) {
- @rgb: red(@color), green(@color), blue(@color);
-}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/pronouns.page/catppuccin.user.less b/styles/pronouns.page/catppuccin.user.less
index 25bad1c4..0f3ada92 100644
--- a/styles/pronouns.page/catppuccin.user.less
+++ b/styles/pronouns.page/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("pronouns.page") {
body:not([data-theme="dark"]) {
#catppuccin(@lightFlavor);
@@ -26,63 +28,25 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
background: @base;
color: @text !important;
--bs-body-color: @text;
--bs-body-bg: @base;
- --bs-white-rgb: #rgbify(@crust)[];
- --bs-primary-rgb: #rgbify(@accent)[];
- --bs-secondary-rgb: #rgbify(@overlay0)[];
+ --bs-white-rgb: #lib.rgbify(@crust)[];
+ --bs-primary-rgb: #lib.rgbify(@accent)[];
+ --bs-secondary-rgb: #lib.rgbify(@overlay0)[];
--bs-secondary-color: @subtext0;
--bs-tertiary-bg: @crust;
--bs-success-text-emphasis: @green;
- --bs-success-rgb: #rgbify(@green)[];
+ --bs-success-rgb: #lib.rgbify(@green)[];
--bs-info-text-emphasis: @sapphire;
--bs-warning-text-emphasis: @yellow;
--bs-danger-text-emphasis: @red;
- --bs-danger-rgb: #rgbify(@red)[];
+ --bs-danger-rgb: #lib.rgbify(@red)[];
--bs-light-text-emphasis: @text;
--bs-dark-text-emphasis: @subtext1;
--bs-heading-color: @text;
@@ -454,15 +418,3 @@
}
}
}
-
-#rgbify(@color) {
- @rgb: red(@color), green(@color), blue(@color);
-}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/proton/catppuccin.user.less b/styles/proton/catppuccin.user.less
index 8e6444a2..fc611b16 100644
--- a/styles/proton/catppuccin.user.less
+++ b/styles/proton/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document regexp("https://(account|mail|drive|calendar).proton.me/.*$") {
:root {
@media (prefers-color-scheme: light) {
@@ -26,46 +28,8 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
svg.logo {
@accentH: hue(@accent);
@@ -271,11 +235,3 @@
}
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/pypi/catppuccin.user.less b/styles/pypi/catppuccin.user.less
index 5e6dbb11..7cb78fa4 100644
--- a/styles/pypi/catppuccin.user.less
+++ b/styles/pypi/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("pypi.org") {
@import url("https://python.catppuccin.com/pygments/catppuccin-variables.important.css");
@@ -28,73 +30,12 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- --ctp-rosewater: @rosewater;
- --ctp-flamingo: @flamingo;
- --ctp-pink: @pink;
- --ctp-mauve: @mauve;
- --ctp-red: @red;
- --ctp-maroon: @maroon;
- --ctp-peach: @peach;
- --ctp-yellow: @yellow;
- --ctp-green: @green;
- --ctp-teal: @teal;
- --ctp-sky: @sky;
- --ctp-sapphire: @sapphire;
- --ctp-blue: @blue;
- --ctp-lavender: @lavender;
- --ctp-text: @text;
- --ctp-subtext1: @subtext1;
- --ctp-subtext0: @subtext0;
- --ctp-overlay2: @overlay2;
- --ctp-overlay1: @overlay1;
- --ctp-overlay0: @overlay0;
- --ctp-surface2: @surface2;
- --ctp-surface1: @surface1;
- --ctp-surface0: @surface0;
- --ctp-base: @base;
- --ctp-mantle: @mantle;
- --ctp-crust: @crust;
-
- color-scheme: if(@flavor = latte, light, dark);
+ #lib.palette();
+ #lib.defaults();
+ #lib.css-variables();
::selection {
- background-color: fade(@accent, 30%);
- color: unset;
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
+ color: unset; // TODO: Basically another case of setting the text color in the selection, but unsetting it here.
}
body {
@@ -985,11 +926,3 @@
}
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/pythonanywhere/catppuccin.user.less b/styles/pythonanywhere/catppuccin.user.less
index d2076e2e..0ae61fb6 100644
--- a/styles/pythonanywhere/catppuccin.user.less
+++ b/styles/pythonanywhere/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("www.pythonanywhere.com"),
domain("eu.pythonanywhere.com"),
domain("blog.pythonanywhere.com") {
@@ -37,64 +39,8 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- @text-filter: @catppuccin-filters[@@flavor][@text];
- @red-filter: @catppuccin-filters[@@flavor][@red];
- @green-filter: @catppuccin-filters[@@flavor][@green];
-
- --ctp-rosewater: @rosewater;
- --ctp-flamingo: @flamingo;
- --ctp-pink: @pink;
- --ctp-mauve: @mauve;
- --ctp-red: @red;
- --ctp-maroon: @maroon;
- --ctp-peach: @peach;
- --ctp-yellow: @yellow;
- --ctp-green: @green;
- --ctp-teal: @teal;
- --ctp-sky: @sky;
- --ctp-sapphire: @sapphire;
- --ctp-blue: @blue;
- --ctp-lavender: @lavender;
- --ctp-text: @text;
- --ctp-subtext1: @subtext1;
- --ctp-subtext0: @subtext0;
- --ctp-overlay2: @overlay2;
- --ctp-overlay1: @overlay1;
- --ctp-overlay0: @overlay0;
- --ctp-surface2: @surface2;
- --ctp-surface1: @surface1;
- --ctp-surface0: @surface0;
- --ctp-base: @base;
- --ctp-mantle: @mantle;
- --ctp-crust: @crust;
+ #lib.palette();
+ #lib.css-variables();
color-scheme: if(@flavor = latte, light, dark);
@@ -105,7 +51,7 @@
input,
textarea {
&::placeholder {
- color: @subtext0;
+ color: @subtext0; // TODO: For some reason this (explicitly?) doesn't set !important like our template defaults do/did.
}
}
@@ -1469,19 +1415,3 @@
}
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
-
-/* deno-fmt-ignore */
-@catppuccin-filters: {
- @latte: { @rosewater: brightness(0) saturate(100%) invert(65%) sepia(18%) saturate(1048%) hue-rotate(323deg) brightness(92%) contrast(86%); @flamingo: brightness(0) saturate(100%) invert(84%) sepia(44%) saturate(4533%) hue-rotate(310deg) brightness(98%) contrast(75%); @pink: brightness(0) saturate(100%) invert(60%) sepia(32%) saturate(775%) hue-rotate(266deg) brightness(93%) contrast(97%); @mauve: brightness(0) saturate(100%) invert(26%) sepia(59%) saturate(3315%) hue-rotate(255deg) brightness(94%) contrast(100%); @red: brightness(0) saturate(100%) invert(16%) sepia(78%) saturate(7275%) hue-rotate(342deg) brightness(84%) contrast(94%); @maroon: brightness(0) saturate(100%) invert(31%) sepia(56%) saturate(2395%) hue-rotate(331deg) brightness(99%) contrast(82%); @peach: brightness(0) saturate(100%) invert(38%) sepia(81%) saturate(1292%) hue-rotate(356deg) brightness(103%) contrast(99%); @yellow: brightness(0) saturate(100%) invert(74%) sepia(47%) saturate(4570%) hue-rotate(354deg) brightness(95%) contrast(83%); @green: brightness(0) saturate(100%) invert(51%) sepia(25%) saturate(4134%) hue-rotate(76deg) brightness(95%) contrast(66%); @teal: brightness(0) saturate(100%) invert(41%) sepia(45%) saturate(1101%) hue-rotate(139deg) brightness(100%) contrast(82%); @sky: brightness(0) saturate(100%) invert(47%) sepia(76%) saturate(2427%) hue-rotate(166deg) brightness(99%) contrast(97%); @sapphire: brightness(0) saturate(100%) invert(52%) sepia(41%) saturate(6982%) hue-rotate(160deg) brightness(102%) contrast(75%); @blue: brightness(0) saturate(100%) invert(30%) sepia(80%) saturate(1850%) hue-rotate(209deg) brightness(94%) contrast(105%); @lavender: brightness(0) saturate(100%) invert(48%) sepia(61%) saturate(538%) hue-rotate(194deg) brightness(102%) contrast(98%); @text: brightness(0) saturate(100%) invert(30%) sepia(10%) saturate(1259%) hue-rotate(196deg) brightness(97%) contrast(91%); @subtext1: brightness(0) saturate(100%) invert(36%) sepia(10%) saturate(890%) hue-rotate(196deg) brightness(98%) contrast(90%); @subtext0: brightness(0) saturate(100%) invert(47%) sepia(6%) saturate(1263%) hue-rotate(195deg) brightness(90%) contrast(81%); @overlay2: brightness(0) saturate(100%) invert(59%) sepia(7%) saturate(825%) hue-rotate(195deg) brightness(83%) contrast(91%); @overlay1: brightness(0) saturate(100%) invert(59%) sepia(14%) saturate(333%) hue-rotate(194deg) brightness(95%) contrast(89%); @overlay0: brightness(0) saturate(100%) invert(85%) sepia(7%) saturate(595%) hue-rotate(191deg) brightness(77%) contrast(81%); @surface2: brightness(0) saturate(100%) invert(86%) sepia(6%) saturate(482%) hue-rotate(189deg) brightness(82%) contrast(88%); @surface1: brightness(0) saturate(100%) invert(85%) sepia(8%) saturate(281%) hue-rotate(187deg) brightness(92%) contrast(88%); @surface0: brightness(0) saturate(100%) invert(96%) sepia(1%) saturate(5123%) hue-rotate(185deg) brightness(93%) contrast(83%); @base: brightness(0) saturate(100%) invert(89%) sepia(5%) saturate(140%) hue-rotate(182deg) brightness(109%) contrast(94%); @mantle: brightness(0) saturate(100%) invert(93%) sepia(19%) saturate(55%) hue-rotate(182deg) brightness(98%) contrast(92%); @crust: brightness(0) saturate(100%) invert(91%) sepia(1%) saturate(4489%) hue-rotate(196deg) brightness(106%) contrast(82%); };
- @frappe: { @rosewater: brightness(0) saturate(100%) invert(90%) sepia(6%) saturate(734%) hue-rotate(321deg) brightness(95%) contrast(99%); @flamingo: brightness(0) saturate(100%) invert(88%) sepia(52%) saturate(817%) hue-rotate(293deg) brightness(113%) contrast(84%); @pink: brightness(0) saturate(100%) invert(76%) sepia(15%) saturate(844%) hue-rotate(280deg) brightness(107%) contrast(91%); @mauve: brightness(0) saturate(100%) invert(71%) sepia(25%) saturate(725%) hue-rotate(225deg) brightness(94%) contrast(91%); @red: brightness(0) saturate(100%) invert(67%) sepia(3%) saturate(7209%) hue-rotate(305deg) brightness(91%) contrast(99%); @maroon: brightness(0) saturate(100%) invert(61%) sepia(14%) saturate(957%) hue-rotate(307deg) brightness(109%) contrast(90%); @peach: brightness(0) saturate(100%) invert(68%) sepia(28%) saturate(662%) hue-rotate(335deg) brightness(96%) contrast(94%); @yellow: brightness(0) saturate(100%) invert(94%) sepia(88%) saturate(684%) hue-rotate(309deg) brightness(105%) contrast(80%); @green: brightness(0) saturate(100%) invert(89%) sepia(23%) saturate(582%) hue-rotate(42deg) brightness(87%) contrast(89%); @teal: brightness(0) saturate(100%) invert(91%) sepia(13%) saturate(986%) hue-rotate(110deg) brightness(85%) contrast(81%); @sky: brightness(0) saturate(100%) invert(75%) sepia(15%) saturate(623%) hue-rotate(141deg) brightness(109%) contrast(81%); @sapphire: brightness(0) saturate(100%) invert(77%) sepia(20%) saturate(730%) hue-rotate(157deg) brightness(97%) contrast(76%); @blue: brightness(0) saturate(100%) invert(68%) sepia(16%) saturate(1070%) hue-rotate(185deg) brightness(96%) contrast(95%); @lavender: brightness(0) saturate(100%) invert(75%) sepia(20%) saturate(626%) hue-rotate(201deg) brightness(101%) contrast(89%); @text: brightness(0) saturate(100%) invert(83%) sepia(12%) saturate(582%) hue-rotate(191deg) brightness(98%) contrast(96%); @subtext1: brightness(0) saturate(100%) invert(80%) sepia(18%) saturate(411%) hue-rotate(190deg) brightness(96%) contrast(84%); @subtext0: brightness(0) saturate(100%) invert(82%) sepia(6%) saturate(1287%) hue-rotate(192deg) brightness(86%) contrast(85%); @overlay2: brightness(0) saturate(100%) invert(65%) sepia(36%) saturate(230%) hue-rotate(190deg) brightness(92%) contrast(82%); @overlay1: brightness(0) saturate(100%) invert(55%) sepia(12%) saturate(638%) hue-rotate(189deg) brightness(98%) contrast(87%); @overlay0: brightness(0) saturate(100%) invert(49%) sepia(13%) saturate(662%) hue-rotate(192deg) brightness(94%) contrast(84%); @surface2: brightness(0) saturate(100%) invert(41%) sepia(20%) saturate(469%) hue-rotate(191deg) brightness(93%) contrast(86%); @surface1: brightness(0) saturate(100%) invert(34%) sepia(14%) saturate(771%) hue-rotate(190deg) brightness(89%) contrast(85%); @surface0: brightness(0) saturate(100%) invert(28%) sepia(7%) saturate(1468%) hue-rotate(193deg) brightness(92%) contrast(95%); @base: brightness(0) saturate(100%) invert(20%) sepia(17%) saturate(747%) hue-rotate(192deg) brightness(96%) contrast(97%); @mantle: brightness(0) saturate(100%) invert(8%) sepia(7%) saturate(7271%) hue-rotate(198deg) brightness(88%) contrast(75%); @crust: brightness(0) saturate(100%) invert(7%) sepia(7%) saturate(7415%) hue-rotate(197deg) brightness(86%) contrast(79%); };
- @macchiato: { @rosewater: brightness(0) saturate(100%) invert(88%) sepia(13%) saturate(322%) hue-rotate(321deg) brightness(102%) contrast(91%); @flamingo: brightness(0) saturate(100%) invert(82%) sepia(3%) saturate(3070%) hue-rotate(314deg) brightness(107%) contrast(88%); @pink: brightness(0) saturate(100%) invert(80%) sepia(23%) saturate(509%) hue-rotate(280deg) brightness(102%) contrast(92%); @mauve: brightness(0) saturate(100%) invert(65%) sepia(18%) saturate(903%) hue-rotate(222deg) brightness(104%) contrast(93%); @red: brightness(0) saturate(100%) invert(61%) sepia(19%) saturate(1541%) hue-rotate(305deg) brightness(110%) contrast(86%); @maroon: brightness(0) saturate(100%) invert(71%) sepia(10%) saturate(1331%) hue-rotate(306deg) brightness(93%) contrast(101%); @peach: brightness(0) saturate(100%) invert(73%) sepia(13%) saturate(1676%) hue-rotate(330deg) brightness(103%) contrast(92%); @yellow: brightness(0) saturate(100%) invert(87%) sepia(89%) saturate(321%) hue-rotate(314deg) brightness(101%) contrast(87%); @green: brightness(0) saturate(100%) invert(93%) sepia(12%) saturate(1128%) hue-rotate(48deg) brightness(92%) contrast(85%); @teal: brightness(0) saturate(100%) invert(92%) sepia(10%) saturate(1176%) hue-rotate(110deg) brightness(87%) contrast(90%); @sky: brightness(0) saturate(100%) invert(78%) sepia(57%) saturate(230%) hue-rotate(142deg) brightness(96%) contrast(84%); @sapphire: brightness(0) saturate(100%) invert(74%) sepia(35%) saturate(438%) hue-rotate(156deg) brightness(92%) contrast(93%); @blue: brightness(0) saturate(100%) invert(67%) sepia(17%) saturate(1007%) hue-rotate(183deg) brightness(99%) contrast(94%); @lavender: brightness(0) saturate(100%) invert(74%) sepia(6%) saturate(2559%) hue-rotate(198deg) brightness(103%) contrast(94%); @text: brightness(0) saturate(100%) invert(81%) sepia(9%) saturate(726%) hue-rotate(192deg) brightness(104%) contrast(92%); @subtext1: brightness(0) saturate(100%) invert(84%) sepia(5%) saturate(1453%) hue-rotate(193deg) brightness(94%) contrast(86%); @subtext0: brightness(0) saturate(100%) invert(75%) sepia(18%) saturate(361%) hue-rotate(190deg) brightness(91%) contrast(86%); @overlay2: brightness(0) saturate(100%) invert(67%) sepia(9%) saturate(814%) hue-rotate(191deg) brightness(92%) contrast(88%); @overlay1: brightness(0) saturate(100%) invert(49%) sepia(38%) saturate(203%) hue-rotate(190deg) brightness(101%) contrast(93%); @overlay0: brightness(0) saturate(100%) invert(46%) sepia(16%) saturate(552%) hue-rotate(193deg) brightness(93%) contrast(84%); @surface2: brightness(0) saturate(100%) invert(34%) sepia(16%) saturate(611%) hue-rotate(192deg) brightness(101%) contrast(87%); @surface1: brightness(0) saturate(100%) invert(30%) sepia(11%) saturate(1085%) hue-rotate(194deg) brightness(92%) contrast(89%); @surface0: brightness(0) saturate(100%) invert(18%) sepia(21%) saturate(880%) hue-rotate(193deg) brightness(97%) contrast(84%); @base: brightness(0) saturate(100%) invert(12%) sepia(42%) saturate(570%) hue-rotate(194deg) brightness(90%) contrast(90%); @mantle: brightness(0) saturate(100%) invert(6%) sepia(6%) saturate(7499%) hue-rotate(200deg) brightness(93%) contrast(85%); @crust: brightness(0) saturate(100%) invert(5%) sepia(8%) saturate(5346%) hue-rotate(202deg) brightness(98%) contrast(88%); };
- @mocha: { @rosewater: brightness(0) saturate(100%) invert(92%) sepia(5%) saturate(704%) hue-rotate(320deg) brightness(99%) contrast(93%); @flamingo: brightness(0) saturate(100%) invert(81%) sepia(5%) saturate(987%) hue-rotate(315deg) brightness(107%) contrast(90%); @pink: brightness(0) saturate(100%) invert(86%) sepia(11%) saturate(1177%) hue-rotate(283deg) brightness(101%) contrast(92%); @mauve: brightness(0) saturate(100%) invert(65%) sepia(58%) saturate(255%) hue-rotate(224deg) brightness(96%) contrast(102%); @red: brightness(0) saturate(100%) invert(61%) sepia(19%) saturate(997%) hue-rotate(294deg) brightness(104%) contrast(91%); @maroon: brightness(0) saturate(100%) invert(66%) sepia(16%) saturate(1301%) hue-rotate(306deg) brightness(116%) contrast(84%); @peach: brightness(0) saturate(100%) invert(68%) sepia(57%) saturate(278%) hue-rotate(338deg) brightness(98%) contrast(101%); @yellow: brightness(0) saturate(100%) invert(90%) sepia(70%) saturate(380%) hue-rotate(313deg) brightness(102%) contrast(95%); @green: brightness(0) saturate(100%) invert(88%) sepia(6%) saturate(2015%) hue-rotate(63deg) brightness(104%) contrast(78%); @teal: brightness(0) saturate(100%) invert(92%) sepia(12%) saturate(991%) hue-rotate(108deg) brightness(93%) contrast(90%); @sky: brightness(0) saturate(100%) invert(84%) sepia(21%) saturate(1302%) hue-rotate(164deg) brightness(106%) contrast(84%); @sapphire: brightness(0) saturate(100%) invert(74%) sepia(20%) saturate(876%) hue-rotate(156deg) brightness(96%) contrast(93%); @blue: brightness(0) saturate(100%) invert(68%) sepia(18%) saturate(951%) hue-rotate(180deg) brightness(98%) contrast(100%); @lavender: brightness(0) saturate(100%) invert(73%) sepia(7%) saturate(1670%) hue-rotate(195deg) brightness(102%) contrast(99%); @text: brightness(0) saturate(100%) invert(86%) sepia(6%) saturate(879%) hue-rotate(190deg) brightness(100%) contrast(93%); @subtext1: brightness(0) saturate(100%) invert(84%) sepia(19%) saturate(381%) hue-rotate(193deg) brightness(91%) contrast(89%); @subtext0: brightness(0) saturate(100%) invert(84%) sepia(9%) saturate(767%) hue-rotate(192deg) brightness(84%) contrast(84%); @overlay2: brightness(0) saturate(100%) invert(63%) sepia(15%) saturate(428%) hue-rotate(191deg) brightness(96%) contrast(84%); @overlay1: brightness(0) saturate(100%) invert(56%) sepia(15%) saturate(455%) hue-rotate(192deg) brightness(90%) contrast(88%); @overlay0: brightness(0) saturate(100%) invert(44%) sepia(6%) saturate(1275%) hue-rotate(194deg) brightness(97%) contrast(88%); @surface2: brightness(0) saturate(100%) invert(34%) sepia(8%) saturate(1015%) hue-rotate(195deg) brightness(99%) contrast(89%); @surface1: brightness(0) saturate(100%) invert(25%) sepia(6%) saturate(1950%) hue-rotate(197deg) brightness(99%) contrast(86%); @surface0: brightness(0) saturate(100%) invert(19%) sepia(5%) saturate(2844%) hue-rotate(199deg) brightness(91%) contrast(93%); @base: brightness(0) saturate(100%) invert(7%) sepia(4%) saturate(7496%) hue-rotate(202deg) brightness(93%) contrast(87%); @mantle: brightness(0) saturate(100%) invert(6%) sepia(4%) saturate(7465%) hue-rotate(202deg) brightness(95%) contrast(90%); @crust: brightness(0) saturate(100%) invert(3%) sepia(13%) saturate(6863%) hue-rotate(220deg) brightness(95%) contrast(91%); };
-};
diff --git a/styles/quizlet/catppuccin.user.less b/styles/quizlet/catppuccin.user.less
index 53eaa120..74dbaf1b 100644
--- a/styles/quizlet/catppuccin.user.less
+++ b/styles/quizlet/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("quizlet.com") {
:root {
@media (prefers-color-scheme: light) {
@@ -26,46 +28,8 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
:root body {
color: @text;
@@ -2353,11 +2317,3 @@
}
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/raindrop/catppuccin.user.less b/styles/raindrop/catppuccin.user.less
index 69fde34c..d949c748 100644
--- a/styles/raindrop/catppuccin.user.less
+++ b/styles/raindrop/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("app.raindrop.io") {
[data-theme="night"] {
#catppuccin(@darkFlavor) !important;
@@ -38,46 +40,8 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
&,
[data-theme] {
@@ -154,11 +118,3 @@
// todo: recolor "Colors circle" icons using custom images (like the chess.com theme)
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/react.dev/catppuccin.user.less b/styles/react.dev/catppuccin.user.less
index 14c5585d..216f84c5 100644
--- a/styles/react.dev/catppuccin.user.less
+++ b/styles/react.dev/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("react.dev") {
html.dark {
#catppuccin(@darkFlavor);
@@ -24,46 +26,8 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
//svg styling
@@ -459,11 +423,3 @@
}
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/reddit/catppuccin.user.less b/styles/reddit/catppuccin.user.less
index f4ee7a1c..4dd88b06 100644
--- a/styles/reddit/catppuccin.user.less
+++ b/styles/reddit/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("reddit.com") {
:root:not(.theme-dark) .theme-rpl,
:root:not(.theme-dark).theme-rpl,
@@ -33,46 +35,8 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
/* BETA */
--color-pizzaRed: @red !important;
@@ -1149,11 +1113,3 @@
}
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/rentry.co/catppuccin.user.less b/styles/rentry.co/catppuccin.user.less
index 7d6840cb..4c08f6e9 100644
--- a/styles/rentry.co/catppuccin.user.less
+++ b/styles/rentry.co/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("rentry.org"), domain("rentry.co") {
@import url("https://python.catppuccin.com/pygments/catppuccin-variables.important.css");
@@ -38,73 +40,9 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- --ctp-rosewater: @rosewater;
- --ctp-flamingo: @flamingo;
- --ctp-pink: @pink;
- --ctp-mauve: @mauve;
- --ctp-red: @red;
- --ctp-maroon: @maroon;
- --ctp-peach: @peach;
- --ctp-yellow: @yellow;
- --ctp-green: @green;
- --ctp-teal: @teal;
- --ctp-sky: @sky;
- --ctp-sapphire: @sapphire;
- --ctp-blue: @blue;
- --ctp-lavender: @lavender;
- --ctp-text: @text;
- --ctp-subtext1: @subtext1;
- --ctp-subtext0: @subtext0;
- --ctp-overlay2: @overlay2;
- --ctp-overlay1: @overlay1;
- --ctp-overlay0: @overlay0;
- --ctp-surface2: @surface2;
- --ctp-surface1: @surface1;
- --ctp-surface0: @surface0;
- --ctp-base: @base;
- --ctp-mantle: @mantle;
- --ctp-crust: @crust;
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
+ #lib.css-variables();
body {
background: @crust;
@@ -434,34 +372,9 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
+ #lib.palette();
+ // TODO: Can we use defaults? Currently doesn't have input/textarea placeholder styling.
color-scheme: if(@flavor = latte, light, dark);
::selection {
@@ -474,11 +387,3 @@
}
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/searxng/catppuccin.user.less b/styles/searxng/catppuccin.user.less
index 366ffd0b..51d79c2c 100644
--- a/styles/searxng/catppuccin.user.less
+++ b/styles/searxng/catppuccin.user.less
@@ -17,6 +17,8 @@
@var checkbox additions "Additional Tweaks" 0
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
/* Domains picked from https://searx.space/. */
@-moz-document domain("search.bus-hit.me"), domain("search.inetol.net") {
:root.theme-auto {
@@ -36,46 +38,8 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
--color-base-font: @text;
--color-base-background: @base;
@@ -190,11 +154,3 @@
}
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/seventv/catppuccin.user.less b/styles/seventv/catppuccin.user.less
index c6ea31a2..b8f92c85 100644
--- a/styles/seventv/catppuccin.user.less
+++ b/styles/seventv/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("7tv.app") {
.light-theme {
#catppuccin(@lightFlavor);
@@ -33,46 +35,8 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
background-color: @base;
@@ -408,33 +372,7 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
+ #lib.palette();
--seventv-text-color-normal: @text;
--seventv-text-color-secondary: @subtext0;
@@ -574,11 +512,3 @@
}
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/shinigami-eyes/catppuccin.user.less b/styles/shinigami-eyes/catppuccin.user.less
index 8f64daac..23e24629 100644
--- a/styles/shinigami-eyes/catppuccin.user.less
+++ b/styles/shinigami-eyes/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
/*
These are the domains for the sites that Shinigami Eyes works with.
The list can be found at https://github.com/shinigami-eyes/shinigami-eyes/blob/b66e9ad41fa4daef31886b139d8af6f852efcaaa/extension/manifest.json#L15-L96.
@@ -103,33 +105,7 @@ The list can be found at https://github.com/shinigami-eyes/shinigami-eyes/blob/b
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
+ #lib.palette();
body {
--ShinigamiEyesTFriendly: @green !important;
@@ -147,11 +123,3 @@ The list can be found at https://github.com/shinigami-eyes/shinigami-eyes/blob/b
}
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/snapchat-web/catppuccin.user.less b/styles/snapchat-web/catppuccin.user.less
index 5c893346..f94a63ee 100644
--- a/styles/snapchat-web/catppuccin.user.less
+++ b/styles/snapchat-web/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document url-prefix("https://www.snapchat.com/web") {
:root[theme="dark"] {
#catppuccin(@darkFlavor);
@@ -24,46 +26,8 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
/* Snapchat applies the variables (overrides?) to specific elements so we need to apply to every element (with high specificity) to override those. */
&,
@@ -167,11 +131,3 @@
}
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/spotify-web/catppuccin.user.less b/styles/spotify-web/catppuccin.user.less
index 5c791cb6..8deae411 100644
--- a/styles/spotify-web/catppuccin.user.less
+++ b/styles/spotify-web/catppuccin.user.less
@@ -14,6 +14,8 @@
@var select darkFlavor "Dark Flavor" ["latte:Latte", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha*"]
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+
+@import "https://userstyles.catppuccin.com/lib/lib.less";
@-moz-document domain("open.spotify.com") {
:root {
@media (prefers-color-scheme: light) {
@@ -25,46 +27,8 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
.encore-dark-theme,
.encore-dark-theme .encore-base-set,
@@ -613,11 +577,3 @@
}
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/stack-overflow/catppuccin.user.less b/styles/stack-overflow/catppuccin.user.less
index 8612875a..6789c529 100644
--- a/styles/stack-overflow/catppuccin.user.less
+++ b/styles/stack-overflow/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("stackoverflow.com"),
domain("stackexchange.com"),
domain("serverfault.com"),
@@ -50,73 +52,9 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- --ctp-rosewater: @rosewater;
- --ctp-flamingo: @flamingo;
- --ctp-pink: @pink;
- --ctp-mauve: @mauve;
- --ctp-red: @red;
- --ctp-maroon: @maroon;
- --ctp-peach: @peach;
- --ctp-yellow: @yellow;
- --ctp-green: @green;
- --ctp-teal: @teal;
- --ctp-sky: @sky;
- --ctp-sapphire: @sapphire;
- --ctp-blue: @blue;
- --ctp-lavender: @lavender;
- --ctp-text: @text;
- --ctp-subtext1: @subtext1;
- --ctp-subtext0: @subtext0;
- --ctp-overlay2: @overlay2;
- --ctp-overlay1: @overlay1;
- --ctp-overlay0: @overlay0;
- --ctp-surface2: @surface2;
- --ctp-surface1: @surface1;
- --ctp-surface0: @surface0;
- --ctp-base: @base;
- --ctp-mantle: @mantle;
- --ctp-crust: @crust;
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
+ #lib.css-variables();
&,
* {
@@ -513,15 +451,3 @@
}
}
}
-
-#rgbify(@color) {
- @rgb: red(@color), green(@color), blue(@color);
-}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/startpage/catppuccin.user.less b/styles/startpage/catppuccin.user.less
index c197b691..4a3fc9d3 100644
--- a/styles/startpage/catppuccin.user.less
+++ b/styles/startpage/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("startpage.com") {
:root {
@media (prefers-color-scheme: light) {
@@ -26,46 +28,8 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
&,
body {
@@ -174,11 +138,3 @@
}
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/status.cafe/catppuccin.user.less b/styles/status.cafe/catppuccin.user.less
index 85ba2b6b..2128fa8c 100644
--- a/styles/status.cafe/catppuccin.user.less
+++ b/styles/status.cafe/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document regexp("https://status\\.cafe/(?!users).*"),
domain("forum.status.cafe") {
:root {
@@ -27,46 +29,8 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
background-color: @base;
@@ -162,11 +126,3 @@
}
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/stylus/catppuccin.user.less b/styles/stylus/catppuccin.user.less
index 1637cd55..7175d855 100644
--- a/styles/stylus/catppuccin.user.less
+++ b/styles/stylus/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document url-prefix("moz-extension://"),
url-prefix("chrome-extension://") {
:root {
@@ -27,46 +29,8 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
--bg: @base;
--fg: @text;
@@ -306,11 +270,3 @@
}
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/substack/catppuccin.user.less b/styles/substack/catppuccin.user.less
index f6827bd0..38a0b496 100644
--- a/styles/substack/catppuccin.user.less
+++ b/styles/substack/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("substack.com") {
:root {
@media (prefers-color-scheme: light) {
@@ -26,46 +28,8 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
color: @text;
background-color: @base !important;
@@ -75,8 +39,8 @@
.dark-theme,
[class*="_pubTheme_"] {
--color-bg-primary: @base;
- --color-bg-primary-rgb: #rgbify(@base)[];
- --color-bg-primary-raw: #rgbify(@base)[];
+ --color-bg-primary-rgb: #lib.rgbify(@base)[];
+ --color-bg-primary-raw: #lib.rgbify(@base)[];
--color-bg-primary-hover: @surface0;
--color-bg-secondary: @surface0;
--color-bg-tertiary: @surface1;
@@ -168,7 +132,7 @@
/* Copy (heading link) to clipboard notification */
--material-dark-thick: @crust;
/* Button hover, faded to 0.1 */
- --color-primitive-white-rgb: #rgbify(@text)[];
+ --color-primitive-white-rgb: #lib.rgbify(@text)[];
/* Various full screen modals for singing up, subscribing etc */
--cover_print_primary: @text;
@@ -295,15 +259,3 @@
}
}
}
-
-#rgbify(@color) {
- @rgb: red(@color), green(@color), blue(@color);
-}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/syncthing/catppuccin.user.less b/styles/syncthing/catppuccin.user.less
index de6aab59..63921eae 100644
--- a/styles/syncthing/catppuccin.user.less
+++ b/styles/syncthing/catppuccin.user.less
@@ -17,6 +17,8 @@
@var text urls "URL(s) for Syncthing" "127\.0\.0\.1\:8384,0\.0\.0\.0\:8384,localhost\:8384"
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
/*
`replace( ," ", "", "g")` is here to remove extra spaces (if any)
*/
@@ -41,46 +43,8 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
body {
color: @text !important;
@@ -331,11 +295,3 @@
}
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/tabnews/catppuccin.user.less b/styles/tabnews/catppuccin.user.less
index beef5284..ec4dd578 100644
--- a/styles/tabnews/catppuccin.user.less
+++ b/styles/tabnews/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("tabnews.com.br") {
:root:has(div[data-color-mode="dark"]) {
#catppuccin(@darkFlavor);
@@ -24,46 +26,8 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
--bgColor-default: @base;
--bgColor-emphasis: @crust;
@@ -268,11 +232,3 @@
}
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/tldraw/catppuccin.user.less b/styles/tldraw/catppuccin.user.less
index 15340e63..a47893d7 100644
--- a/styles/tldraw/catppuccin.user.less
+++ b/styles/tldraw/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("tldraw.com") {
.tl-theme__dark {
#catppuccin(@darkFlavor);
@@ -24,46 +26,8 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
--color-accent: @accent !important;
--color-background: @base !important;
@@ -422,11 +386,3 @@
}
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/trinket/catppuccin.user.less b/styles/trinket/catppuccin.user.less
index c24170f8..bbea4258 100644
--- a/styles/trinket/catppuccin.user.less
+++ b/styles/trinket/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("trinket.io") {
@import url("https://unpkg.com/@catppuccin/highlightjs@1.0.0/css/catppuccin-variables.important.css");
@@ -28,66 +30,9 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- --ctp-rosewater: @rosewater;
- --ctp-flamingo: @flamingo;
- --ctp-pink: @pink;
- --ctp-mauve: @mauve;
- --ctp-red: @red;
- --ctp-maroon: @maroon;
- --ctp-peach: @peach;
- --ctp-yellow: @yellow;
- --ctp-green: @green;
- --ctp-teal: @teal;
- --ctp-sky: @sky;
- --ctp-sapphire: @sapphire;
- --ctp-blue: @blue;
- --ctp-lavender: @lavender;
- --ctp-text: @text;
- --ctp-subtext1: @subtext1;
- --ctp-subtext0: @subtext0;
- --ctp-overlay2: @overlay2;
- --ctp-overlay1: @overlay1;
- --ctp-overlay0: @overlay0;
- --ctp-surface2: @surface2;
- --ctp-surface1: @surface1;
- --ctp-surface0: @surface0;
- --ctp-base: @base;
- --ctp-mantle: @mantle;
- --ctp-crust: @crust;
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
+ #lib.palette();
+ #lib.defaults();
+ #lib.css-variables();
.ace_editor {
background-color: @crust;
@@ -251,10 +196,6 @@
background-color: @crust !important;
color: @text !important;
border-color: @surface0 !important;
-
- &::placeholder {
- color: @subtext0 !important;
- }
}
textarea.lined {
@@ -1312,15 +1253,3 @@
}
}
}
-
-#rgbify(@color) {
- @rgb: red(@color), green(@color), blue(@color);
-}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/tuta/catppuccin.user.less b/styles/tuta/catppuccin.user.less
index 6f0c933e..74d35110 100644
--- a/styles/tuta/catppuccin.user.less
+++ b/styles/tuta/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("app.tuta.com"), domain("mail.tutanota.com") {
:root {
@media (prefers-color-scheme: light) {
@@ -26,46 +28,8 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
body,
drawer-menu,
@@ -212,11 +176,3 @@
}
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/twitch/catppuccin.user.less b/styles/twitch/catppuccin.user.less
index 579bed90..81937230 100644
--- a/styles/twitch/catppuccin.user.less
+++ b/styles/twitch/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("twitch.tv") {
@import url("https://python.catppuccin.com/pygments/catppuccin-variables.important.css");
@@ -26,46 +28,8 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
body {
background-color: @base;
@@ -1304,33 +1268,7 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
+ #lib.palette();
.edit-video-properties-modal__content {
--color-background-float: @base;
@@ -1571,60 +1509,8 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- --ctp-rosewater: @rosewater;
- --ctp-flamingo: @flamingo;
- --ctp-pink: @pink;
- --ctp-mauve: @mauve;
- --ctp-red: @red;
- --ctp-maroon: @maroon;
- --ctp-peach: @peach;
- --ctp-yellow: @yellow;
- --ctp-green: @green;
- --ctp-teal: @teal;
- --ctp-sky: @sky;
- --ctp-sapphire: @sapphire;
- --ctp-blue: @blue;
- --ctp-lavender: @lavender;
- --ctp-text: @text;
- --ctp-subtext1: @subtext1;
- --ctp-subtext0: @subtext0;
- --ctp-overlay2: @overlay2;
- --ctp-overlay1: @overlay1;
- --ctp-overlay0: @overlay0;
- --ctp-surface2: @surface2;
- --ctp-surface1: @surface1;
- --ctp-surface0: @surface0;
- --ctp-base: @base;
- --ctp-mantle: @mantle;
- --ctp-crust: @crust;
+ #lib.palette();
+ #lib.css-variables();
&,
body {
@@ -1933,11 +1819,3 @@
}
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/twitter/catppuccin.user.less b/styles/twitter/catppuccin.user.less
index f5b15e24..2717aedc 100644
--- a/styles/twitter/catppuccin.user.less
+++ b/styles/twitter/catppuccin.user.less
@@ -18,6 +18,8 @@
@var checkbox darkenShadows "Darken Shadows on Dark Themes" 1
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("twitter.com"), domain("x.com") {
:root {
@media (prefers-color-scheme: light) {
@@ -29,46 +31,8 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
body.LightsOut {
--border-color: @surface0;
@@ -778,33 +742,7 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
+ #lib.palette();
html {
background: @mantle;
@@ -897,33 +835,7 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
+ #lib.palette();
#session a,
#session input,
@@ -1020,11 +932,3 @@
}
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/vercel/catppuccin.user.less b/styles/vercel/catppuccin.user.less
index e72a16b1..5bb6bcf4 100644
--- a/styles/vercel/catppuccin.user.less
+++ b/styles/vercel/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("vercel.com"), domain("nextjs.org") {
:root.dark-theme {
#catppuccin(@darkFlavor);
@@ -24,46 +26,8 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
--geist-foreground: @text;
--geist-background: @mantle;
@@ -94,9 +58,9 @@
--ds-gray-700: @subtext1;
--ds-gray-800: @subtext1;
--ds-gray-900: @subtext0;
- --ds-gray-900-value: #rgbify(@subtext0)[];
+ --ds-gray-900-value: #lib.rgbify(@subtext0)[];
--ds-gray-1000: @text;
- --ds-gray-1000-value: #rgbify(@text)[];
+ --ds-gray-1000-value: #lib.rgbify(@text)[];
--ds-gray-alpha-100: fade(@text, 6%);
--ds-gray-alpha-200: fade(@text, 9%);
--ds-gray-alpha-400: @surface0;
@@ -163,33 +127,7 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
+ #lib.palette();
article {
:not(h1, h2, h3, h4) > a {
@@ -317,15 +255,3 @@
}
}
}
-
-#rgbify(@color) {
- @rgb: red(@color), green(@color), blue(@color);
-}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/vikunja/catppuccin.user.less b/styles/vikunja/catppuccin.user.less
index bcef221b..b026f7a8 100644
--- a/styles/vikunja/catppuccin.user.less
+++ b/styles/vikunja/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("try.vikunja.io") {
:root.dark {
#catppuccin(@darkFlavor);
@@ -24,46 +26,8 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
#hslbreakdown(@color, @item) {
--@{item}-h: hue(@color) !important;
@@ -374,11 +338,3 @@
}
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/web.dev/catppuccin.user.less b/styles/web.dev/catppuccin.user.less
index 131fafb3..55be43bf 100644
--- a/styles/web.dev/catppuccin.user.less
+++ b/styles/web.dev/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("web.dev") {
:root {
@media (prefers-color-scheme: light) {
@@ -26,46 +28,8 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
:focus-visible {
outline-color: @accent;
@@ -190,11 +154,3 @@
}
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/whatsapp-web/catppuccin.user.less b/styles/whatsapp-web/catppuccin.user.less
index 34c374df..66fcc1be 100644
--- a/styles/whatsapp-web/catppuccin.user.less
+++ b/styles/whatsapp-web/catppuccin.user.less
@@ -17,6 +17,8 @@
@var checkbox lighterMessages "Elevated incoming messages" 0
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("web.whatsapp.com") {
/* Note: Some variables appear to be applied on :root,
but without using :has there doesn't seem to be a good
@@ -68,49 +70,11 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
+ #lib.palette();
+ #lib.defaults();
@accentContent: if(@flavor = latte, @base, @crust);
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
-
@emphasize: 10%;
@deemphasize: if(@flavor = latte, 15%, 30%);
@@ -274,24 +238,11 @@
#WDS(@id, @color) {
--WDS-@{id}: @color;
- --WDS-@{id}-RGB: #rgbify(@color)[];
- --WDS-@{id}-rgb: #rgbify(@color)[];
+ --WDS-@{id}-RGB: #lib.rgbify(@color)[];
+ --WDS-@{id}-rgb: #lib.rgbify(@color)[];
}
#RGB(@id, @color) {
--@{id}: @color;
- --@{id}-rgb: #rgbify(@color)[];
+ --@{id}-rgb: #lib.rgbify(@color)[];
}
-
-// Commas are added to fit WhatsApp's variable schema.
-#rgbify(@color) {
- @rgb: red(@color), green(@color), blue(@color);
-}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/wiki.nixos.org/catppuccin.user.less b/styles/wiki.nixos.org/catppuccin.user.less
index de0ace6f..2b6e4209 100644
--- a/styles/wiki.nixos.org/catppuccin.user.less
+++ b/styles/wiki.nixos.org/catppuccin.user.less
@@ -16,6 +16,8 @@
@var checkbox highlight-redirect "Highlight redirect links" 0
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("wiki.nixos.org") {
@import url("https://python.catppuccin.com/pygments/catppuccin-variables.important.css");
@@ -29,73 +31,9 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- --ctp-rosewater: @rosewater;
- --ctp-flamingo: @flamingo;
- --ctp-pink: @pink;
- --ctp-mauve: @mauve;
- --ctp-red: @red;
- --ctp-maroon: @maroon;
- --ctp-peach: @peach;
- --ctp-yellow: @yellow;
- --ctp-green: @green;
- --ctp-teal: @teal;
- --ctp-sky: @sky;
- --ctp-sapphire: @sapphire;
- --ctp-blue: @blue;
- --ctp-lavender: @lavender;
- --ctp-text: @text;
- --ctp-subtext1: @subtext1;
- --ctp-subtext0: @subtext0;
- --ctp-overlay2: @overlay2;
- --ctp-overlay1: @overlay1;
- --ctp-overlay0: @overlay0;
- --ctp-surface2: @surface2;
- --ctp-surface1: @surface1;
- --ctp-surface0: @surface0;
- --ctp-base: @base;
- --ctp-mantle: @mantle;
- --ctp-crust: @crust;
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
+ #lib.css-variables();
--background-color-base: @base;
--home-panel-heading-background: @mantle;
@@ -1498,11 +1436,3 @@
}
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/wikipedia/catppuccin.user.less b/styles/wikipedia/catppuccin.user.less
index e7fa0f7a..8dae3af4 100644
--- a/styles/wikipedia/catppuccin.user.less
+++ b/styles/wikipedia/catppuccin.user.less
@@ -16,6 +16,8 @@
@var checkbox highlight-redirect "Highlight redirect links" 0
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("wikipedia.org"),
domain("wiktionary.org"),
domain("www.mediawiki.org"),
@@ -113,79 +115,9 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- @yellow-filter: @catppuccin-filters[@@flavor][@yellow];
- @blue-filter: @catppuccin-filters[@@flavor][@blue];
- @text-filter: @catppuccin-filters[@@flavor][@text];
- @crust-filter: @catppuccin-filters[@@flavor][@crust];
- @accent-filter: @catppuccin-filters[@@flavor][@@accentColor];
-
- --ctp-rosewater: @rosewater;
- --ctp-flamingo: @flamingo;
- --ctp-pink: @pink;
- --ctp-mauve: @mauve;
- --ctp-red: @red;
- --ctp-maroon: @maroon;
- --ctp-peach: @peach;
- --ctp-yellow: @yellow;
- --ctp-green: @green;
- --ctp-teal: @teal;
- --ctp-sky: @sky;
- --ctp-sapphire: @sapphire;
- --ctp-blue: @blue;
- --ctp-lavender: @lavender;
- --ctp-text: @text;
- --ctp-subtext1: @subtext1;
- --ctp-subtext0: @subtext0;
- --ctp-overlay2: @overlay2;
- --ctp-overlay1: @overlay1;
- --ctp-overlay0: @overlay0;
- --ctp-surface2: @surface2;
- --ctp-surface1: @surface1;
- --ctp-surface0: @surface0;
- --ctp-base: @base;
- --ctp-mantle: @mantle;
- --ctp-crust: @crust;
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
+ #lib.css-variables();
--color-base: @text;
--color-base--hover: @text;
@@ -862,19 +794,3 @@
}
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
-
-/* deno-fmt-ignore */
-@catppuccin-filters: {
- @latte: { @rosewater: brightness(0) saturate(100%) invert(65%) sepia(18%) saturate(1048%) hue-rotate(323deg) brightness(92%) contrast(86%); @flamingo: brightness(0) saturate(100%) invert(84%) sepia(44%) saturate(4533%) hue-rotate(310deg) brightness(98%) contrast(75%); @pink: brightness(0) saturate(100%) invert(60%) sepia(32%) saturate(775%) hue-rotate(266deg) brightness(93%) contrast(97%); @mauve: brightness(0) saturate(100%) invert(26%) sepia(59%) saturate(3315%) hue-rotate(255deg) brightness(94%) contrast(100%); @red: brightness(0) saturate(100%) invert(16%) sepia(78%) saturate(7275%) hue-rotate(342deg) brightness(84%) contrast(94%); @maroon: brightness(0) saturate(100%) invert(31%) sepia(56%) saturate(2395%) hue-rotate(331deg) brightness(99%) contrast(82%); @peach: brightness(0) saturate(100%) invert(38%) sepia(81%) saturate(1292%) hue-rotate(356deg) brightness(103%) contrast(99%); @yellow: brightness(0) saturate(100%) invert(74%) sepia(47%) saturate(4570%) hue-rotate(354deg) brightness(95%) contrast(83%); @green: brightness(0) saturate(100%) invert(51%) sepia(25%) saturate(4134%) hue-rotate(76deg) brightness(95%) contrast(66%); @teal: brightness(0) saturate(100%) invert(41%) sepia(45%) saturate(1101%) hue-rotate(139deg) brightness(100%) contrast(82%); @sky: brightness(0) saturate(100%) invert(47%) sepia(76%) saturate(2427%) hue-rotate(166deg) brightness(99%) contrast(97%); @sapphire: brightness(0) saturate(100%) invert(52%) sepia(41%) saturate(6982%) hue-rotate(160deg) brightness(102%) contrast(75%); @blue: brightness(0) saturate(100%) invert(30%) sepia(80%) saturate(1850%) hue-rotate(209deg) brightness(94%) contrast(105%); @lavender: brightness(0) saturate(100%) invert(48%) sepia(61%) saturate(538%) hue-rotate(194deg) brightness(102%) contrast(98%); @text: brightness(0) saturate(100%) invert(30%) sepia(10%) saturate(1259%) hue-rotate(196deg) brightness(97%) contrast(91%); @subtext1: brightness(0) saturate(100%) invert(36%) sepia(10%) saturate(890%) hue-rotate(196deg) brightness(98%) contrast(90%); @subtext0: brightness(0) saturate(100%) invert(47%) sepia(6%) saturate(1263%) hue-rotate(195deg) brightness(90%) contrast(81%); @overlay2: brightness(0) saturate(100%) invert(59%) sepia(7%) saturate(825%) hue-rotate(195deg) brightness(83%) contrast(91%); @overlay1: brightness(0) saturate(100%) invert(59%) sepia(14%) saturate(333%) hue-rotate(194deg) brightness(95%) contrast(89%); @overlay0: brightness(0) saturate(100%) invert(85%) sepia(7%) saturate(595%) hue-rotate(191deg) brightness(77%) contrast(81%); @surface2: brightness(0) saturate(100%) invert(86%) sepia(6%) saturate(482%) hue-rotate(189deg) brightness(82%) contrast(88%); @surface1: brightness(0) saturate(100%) invert(85%) sepia(8%) saturate(281%) hue-rotate(187deg) brightness(92%) contrast(88%); @surface0: brightness(0) saturate(100%) invert(96%) sepia(1%) saturate(5123%) hue-rotate(185deg) brightness(93%) contrast(83%); @base: brightness(0) saturate(100%) invert(89%) sepia(5%) saturate(140%) hue-rotate(182deg) brightness(109%) contrast(94%); @mantle: brightness(0) saturate(100%) invert(93%) sepia(19%) saturate(55%) hue-rotate(182deg) brightness(98%) contrast(92%); @crust: brightness(0) saturate(100%) invert(91%) sepia(1%) saturate(4489%) hue-rotate(196deg) brightness(106%) contrast(82%); };
- @frappe: { @rosewater: brightness(0) saturate(100%) invert(90%) sepia(6%) saturate(734%) hue-rotate(321deg) brightness(95%) contrast(99%); @flamingo: brightness(0) saturate(100%) invert(88%) sepia(52%) saturate(817%) hue-rotate(293deg) brightness(113%) contrast(84%); @pink: brightness(0) saturate(100%) invert(76%) sepia(15%) saturate(844%) hue-rotate(280deg) brightness(107%) contrast(91%); @mauve: brightness(0) saturate(100%) invert(71%) sepia(25%) saturate(725%) hue-rotate(225deg) brightness(94%) contrast(91%); @red: brightness(0) saturate(100%) invert(67%) sepia(3%) saturate(7209%) hue-rotate(305deg) brightness(91%) contrast(99%); @maroon: brightness(0) saturate(100%) invert(61%) sepia(14%) saturate(957%) hue-rotate(307deg) brightness(109%) contrast(90%); @peach: brightness(0) saturate(100%) invert(68%) sepia(28%) saturate(662%) hue-rotate(335deg) brightness(96%) contrast(94%); @yellow: brightness(0) saturate(100%) invert(94%) sepia(88%) saturate(684%) hue-rotate(309deg) brightness(105%) contrast(80%); @green: brightness(0) saturate(100%) invert(89%) sepia(23%) saturate(582%) hue-rotate(42deg) brightness(87%) contrast(89%); @teal: brightness(0) saturate(100%) invert(91%) sepia(13%) saturate(986%) hue-rotate(110deg) brightness(85%) contrast(81%); @sky: brightness(0) saturate(100%) invert(75%) sepia(15%) saturate(623%) hue-rotate(141deg) brightness(109%) contrast(81%); @sapphire: brightness(0) saturate(100%) invert(77%) sepia(20%) saturate(730%) hue-rotate(157deg) brightness(97%) contrast(76%); @blue: brightness(0) saturate(100%) invert(68%) sepia(16%) saturate(1070%) hue-rotate(185deg) brightness(96%) contrast(95%); @lavender: brightness(0) saturate(100%) invert(75%) sepia(20%) saturate(626%) hue-rotate(201deg) brightness(101%) contrast(89%); @text: brightness(0) saturate(100%) invert(83%) sepia(12%) saturate(582%) hue-rotate(191deg) brightness(98%) contrast(96%); @subtext1: brightness(0) saturate(100%) invert(80%) sepia(18%) saturate(411%) hue-rotate(190deg) brightness(96%) contrast(84%); @subtext0: brightness(0) saturate(100%) invert(82%) sepia(6%) saturate(1287%) hue-rotate(192deg) brightness(86%) contrast(85%); @overlay2: brightness(0) saturate(100%) invert(65%) sepia(36%) saturate(230%) hue-rotate(190deg) brightness(92%) contrast(82%); @overlay1: brightness(0) saturate(100%) invert(55%) sepia(12%) saturate(638%) hue-rotate(189deg) brightness(98%) contrast(87%); @overlay0: brightness(0) saturate(100%) invert(49%) sepia(13%) saturate(662%) hue-rotate(192deg) brightness(94%) contrast(84%); @surface2: brightness(0) saturate(100%) invert(41%) sepia(20%) saturate(469%) hue-rotate(191deg) brightness(93%) contrast(86%); @surface1: brightness(0) saturate(100%) invert(34%) sepia(14%) saturate(771%) hue-rotate(190deg) brightness(89%) contrast(85%); @surface0: brightness(0) saturate(100%) invert(28%) sepia(7%) saturate(1468%) hue-rotate(193deg) brightness(92%) contrast(95%); @base: brightness(0) saturate(100%) invert(20%) sepia(17%) saturate(747%) hue-rotate(192deg) brightness(96%) contrast(97%); @mantle: brightness(0) saturate(100%) invert(8%) sepia(7%) saturate(7271%) hue-rotate(198deg) brightness(88%) contrast(75%); @crust: brightness(0) saturate(100%) invert(7%) sepia(7%) saturate(7415%) hue-rotate(197deg) brightness(86%) contrast(79%); };
- @macchiato: { @rosewater: brightness(0) saturate(100%) invert(88%) sepia(13%) saturate(322%) hue-rotate(321deg) brightness(102%) contrast(91%); @flamingo: brightness(0) saturate(100%) invert(82%) sepia(3%) saturate(3070%) hue-rotate(314deg) brightness(107%) contrast(88%); @pink: brightness(0) saturate(100%) invert(80%) sepia(23%) saturate(509%) hue-rotate(280deg) brightness(102%) contrast(92%); @mauve: brightness(0) saturate(100%) invert(65%) sepia(18%) saturate(903%) hue-rotate(222deg) brightness(104%) contrast(93%); @red: brightness(0) saturate(100%) invert(61%) sepia(19%) saturate(1541%) hue-rotate(305deg) brightness(110%) contrast(86%); @maroon: brightness(0) saturate(100%) invert(71%) sepia(10%) saturate(1331%) hue-rotate(306deg) brightness(93%) contrast(101%); @peach: brightness(0) saturate(100%) invert(73%) sepia(13%) saturate(1676%) hue-rotate(330deg) brightness(103%) contrast(92%); @yellow: brightness(0) saturate(100%) invert(87%) sepia(89%) saturate(321%) hue-rotate(314deg) brightness(101%) contrast(87%); @green: brightness(0) saturate(100%) invert(93%) sepia(12%) saturate(1128%) hue-rotate(48deg) brightness(92%) contrast(85%); @teal: brightness(0) saturate(100%) invert(92%) sepia(10%) saturate(1176%) hue-rotate(110deg) brightness(87%) contrast(90%); @sky: brightness(0) saturate(100%) invert(78%) sepia(57%) saturate(230%) hue-rotate(142deg) brightness(96%) contrast(84%); @sapphire: brightness(0) saturate(100%) invert(74%) sepia(35%) saturate(438%) hue-rotate(156deg) brightness(92%) contrast(93%); @blue: brightness(0) saturate(100%) invert(67%) sepia(17%) saturate(1007%) hue-rotate(183deg) brightness(99%) contrast(94%); @lavender: brightness(0) saturate(100%) invert(74%) sepia(6%) saturate(2559%) hue-rotate(198deg) brightness(103%) contrast(94%); @text: brightness(0) saturate(100%) invert(81%) sepia(9%) saturate(726%) hue-rotate(192deg) brightness(104%) contrast(92%); @subtext1: brightness(0) saturate(100%) invert(84%) sepia(5%) saturate(1453%) hue-rotate(193deg) brightness(94%) contrast(86%); @subtext0: brightness(0) saturate(100%) invert(75%) sepia(18%) saturate(361%) hue-rotate(190deg) brightness(91%) contrast(86%); @overlay2: brightness(0) saturate(100%) invert(67%) sepia(9%) saturate(814%) hue-rotate(191deg) brightness(92%) contrast(88%); @overlay1: brightness(0) saturate(100%) invert(49%) sepia(38%) saturate(203%) hue-rotate(190deg) brightness(101%) contrast(93%); @overlay0: brightness(0) saturate(100%) invert(46%) sepia(16%) saturate(552%) hue-rotate(193deg) brightness(93%) contrast(84%); @surface2: brightness(0) saturate(100%) invert(34%) sepia(16%) saturate(611%) hue-rotate(192deg) brightness(101%) contrast(87%); @surface1: brightness(0) saturate(100%) invert(30%) sepia(11%) saturate(1085%) hue-rotate(194deg) brightness(92%) contrast(89%); @surface0: brightness(0) saturate(100%) invert(18%) sepia(21%) saturate(880%) hue-rotate(193deg) brightness(97%) contrast(84%); @base: brightness(0) saturate(100%) invert(12%) sepia(42%) saturate(570%) hue-rotate(194deg) brightness(90%) contrast(90%); @mantle: brightness(0) saturate(100%) invert(6%) sepia(6%) saturate(7499%) hue-rotate(200deg) brightness(93%) contrast(85%); @crust: brightness(0) saturate(100%) invert(5%) sepia(8%) saturate(5346%) hue-rotate(202deg) brightness(98%) contrast(88%); };
- @mocha: { @rosewater: brightness(0) saturate(100%) invert(92%) sepia(5%) saturate(704%) hue-rotate(320deg) brightness(99%) contrast(93%); @flamingo: brightness(0) saturate(100%) invert(81%) sepia(5%) saturate(987%) hue-rotate(315deg) brightness(107%) contrast(90%); @pink: brightness(0) saturate(100%) invert(86%) sepia(11%) saturate(1177%) hue-rotate(283deg) brightness(101%) contrast(92%); @mauve: brightness(0) saturate(100%) invert(65%) sepia(58%) saturate(255%) hue-rotate(224deg) brightness(96%) contrast(102%); @red: brightness(0) saturate(100%) invert(61%) sepia(19%) saturate(997%) hue-rotate(294deg) brightness(104%) contrast(91%); @maroon: brightness(0) saturate(100%) invert(66%) sepia(16%) saturate(1301%) hue-rotate(306deg) brightness(116%) contrast(84%); @peach: brightness(0) saturate(100%) invert(68%) sepia(57%) saturate(278%) hue-rotate(338deg) brightness(98%) contrast(101%); @yellow: brightness(0) saturate(100%) invert(90%) sepia(70%) saturate(380%) hue-rotate(313deg) brightness(102%) contrast(95%); @green: brightness(0) saturate(100%) invert(88%) sepia(6%) saturate(2015%) hue-rotate(63deg) brightness(104%) contrast(78%); @teal: brightness(0) saturate(100%) invert(92%) sepia(12%) saturate(991%) hue-rotate(108deg) brightness(93%) contrast(90%); @sky: brightness(0) saturate(100%) invert(84%) sepia(21%) saturate(1302%) hue-rotate(164deg) brightness(106%) contrast(84%); @sapphire: brightness(0) saturate(100%) invert(74%) sepia(20%) saturate(876%) hue-rotate(156deg) brightness(96%) contrast(93%); @blue: brightness(0) saturate(100%) invert(68%) sepia(18%) saturate(951%) hue-rotate(180deg) brightness(98%) contrast(100%); @lavender: brightness(0) saturate(100%) invert(73%) sepia(7%) saturate(1670%) hue-rotate(195deg) brightness(102%) contrast(99%); @text: brightness(0) saturate(100%) invert(86%) sepia(6%) saturate(879%) hue-rotate(190deg) brightness(100%) contrast(93%); @subtext1: brightness(0) saturate(100%) invert(84%) sepia(19%) saturate(381%) hue-rotate(193deg) brightness(91%) contrast(89%); @subtext0: brightness(0) saturate(100%) invert(84%) sepia(9%) saturate(767%) hue-rotate(192deg) brightness(84%) contrast(84%); @overlay2: brightness(0) saturate(100%) invert(63%) sepia(15%) saturate(428%) hue-rotate(191deg) brightness(96%) contrast(84%); @overlay1: brightness(0) saturate(100%) invert(56%) sepia(15%) saturate(455%) hue-rotate(192deg) brightness(90%) contrast(88%); @overlay0: brightness(0) saturate(100%) invert(44%) sepia(6%) saturate(1275%) hue-rotate(194deg) brightness(97%) contrast(88%); @surface2: brightness(0) saturate(100%) invert(34%) sepia(8%) saturate(1015%) hue-rotate(195deg) brightness(99%) contrast(89%); @surface1: brightness(0) saturate(100%) invert(25%) sepia(6%) saturate(1950%) hue-rotate(197deg) brightness(99%) contrast(86%); @surface0: brightness(0) saturate(100%) invert(19%) sepia(5%) saturate(2844%) hue-rotate(199deg) brightness(91%) contrast(93%); @base: brightness(0) saturate(100%) invert(7%) sepia(4%) saturate(7496%) hue-rotate(202deg) brightness(93%) contrast(87%); @mantle: brightness(0) saturate(100%) invert(6%) sepia(4%) saturate(7465%) hue-rotate(202deg) brightness(95%) contrast(90%); @crust: brightness(0) saturate(100%) invert(3%) sepia(13%) saturate(6863%) hue-rotate(220deg) brightness(95%) contrast(91%); };
-};
diff --git a/styles/wikiwand/catppuccin.user.less b/styles/wikiwand/catppuccin.user.less
index 60c265b9..41d3e7ba 100644
--- a/styles/wikiwand/catppuccin.user.less
+++ b/styles/wikiwand/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("wikiwand.com") {
@import url("https://python.catppuccin.com/pygments/catppuccin-variables.important.css");
@@ -40,73 +42,9 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- --ctp-rosewater: @rosewater;
- --ctp-flamingo: @flamingo;
- --ctp-pink: @pink;
- --ctp-mauve: @mauve;
- --ctp-red: @red;
- --ctp-maroon: @maroon;
- --ctp-peach: @peach;
- --ctp-yellow: @yellow;
- --ctp-green: @green;
- --ctp-teal: @teal;
- --ctp-sky: @sky;
- --ctp-sapphire: @sapphire;
- --ctp-blue: @blue;
- --ctp-lavender: @lavender;
- --ctp-text: @text;
- --ctp-subtext1: @subtext1;
- --ctp-subtext0: @subtext0;
- --ctp-overlay2: @overlay2;
- --ctp-overlay1: @overlay1;
- --ctp-overlay0: @overlay0;
- --ctp-surface2: @surface2;
- --ctp-surface1: @surface1;
- --ctp-surface0: @surface0;
- --ctp-base: @base;
- --ctp-mantle: @mantle;
- --ctp-crust: @crust;
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette();
+ #lib.defaults();
+ #lib.css-variables();
--color-bg: @base !important;
--color-text: @text !important;
@@ -148,11 +86,3 @@
}
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/styles/youtube/catppuccin.user.less b/styles/youtube/catppuccin.user.less
index 8395f54f..a14fa265 100644
--- a/styles/youtube/catppuccin.user.less
+++ b/styles/youtube/catppuccin.user.less
@@ -19,6 +19,8 @@
@var checkbox sponsorBlock "Enable SponsorBlock segments" 1
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("youtube.com") {
:root[dark] {
#catppuccin(@darkFlavor);
@@ -28,52 +30,12 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- @text-filter: @catppuccin-filters[@@flavor][@text];
+ #lib.palette();
+ #lib.defaults();
@white: if(@flavor = latte, @base, @text);
@black: if(@flavor = latte, @text, @base);
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
-
color: @text;
background: @base !important;
@@ -1274,33 +1236,7 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
+ #lib.palette();
[src="https://www.gstatic.com/youtube/img/creator/yt_studio_logo_white.svg"] {
@svg: escape(
@@ -1440,33 +1376,7 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
+ #lib.palette();
background-color: @base !important;
color: @text !important;
@@ -1551,19 +1461,3 @@
}
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
-
-/* deno-fmt-ignore */
-@catppuccin-filters: {
- @latte: { @rosewater: brightness(0) saturate(100%) invert(65%) sepia(18%) saturate(1048%) hue-rotate(323deg) brightness(92%) contrast(86%); @flamingo: brightness(0) saturate(100%) invert(84%) sepia(44%) saturate(4533%) hue-rotate(310deg) brightness(98%) contrast(75%); @pink: brightness(0) saturate(100%) invert(60%) sepia(32%) saturate(775%) hue-rotate(266deg) brightness(93%) contrast(97%); @mauve: brightness(0) saturate(100%) invert(26%) sepia(59%) saturate(3315%) hue-rotate(255deg) brightness(94%) contrast(100%); @red: brightness(0) saturate(100%) invert(16%) sepia(78%) saturate(7275%) hue-rotate(342deg) brightness(84%) contrast(94%); @maroon: brightness(0) saturate(100%) invert(31%) sepia(56%) saturate(2395%) hue-rotate(331deg) brightness(99%) contrast(82%); @peach: brightness(0) saturate(100%) invert(38%) sepia(81%) saturate(1292%) hue-rotate(356deg) brightness(103%) contrast(99%); @yellow: brightness(0) saturate(100%) invert(74%) sepia(47%) saturate(4570%) hue-rotate(354deg) brightness(95%) contrast(83%); @green: brightness(0) saturate(100%) invert(51%) sepia(25%) saturate(4134%) hue-rotate(76deg) brightness(95%) contrast(66%); @teal: brightness(0) saturate(100%) invert(41%) sepia(45%) saturate(1101%) hue-rotate(139deg) brightness(100%) contrast(82%); @sky: brightness(0) saturate(100%) invert(47%) sepia(76%) saturate(2427%) hue-rotate(166deg) brightness(99%) contrast(97%); @sapphire: brightness(0) saturate(100%) invert(52%) sepia(41%) saturate(6982%) hue-rotate(160deg) brightness(102%) contrast(75%); @blue: brightness(0) saturate(100%) invert(30%) sepia(80%) saturate(1850%) hue-rotate(209deg) brightness(94%) contrast(105%); @lavender: brightness(0) saturate(100%) invert(48%) sepia(61%) saturate(538%) hue-rotate(194deg) brightness(102%) contrast(98%); @text: brightness(0) saturate(100%) invert(30%) sepia(10%) saturate(1259%) hue-rotate(196deg) brightness(97%) contrast(91%); @subtext1: brightness(0) saturate(100%) invert(36%) sepia(10%) saturate(890%) hue-rotate(196deg) brightness(98%) contrast(90%); @subtext0: brightness(0) saturate(100%) invert(47%) sepia(6%) saturate(1263%) hue-rotate(195deg) brightness(90%) contrast(81%); @overlay2: brightness(0) saturate(100%) invert(59%) sepia(7%) saturate(825%) hue-rotate(195deg) brightness(83%) contrast(91%); @overlay1: brightness(0) saturate(100%) invert(59%) sepia(14%) saturate(333%) hue-rotate(194deg) brightness(95%) contrast(89%); @overlay0: brightness(0) saturate(100%) invert(85%) sepia(7%) saturate(595%) hue-rotate(191deg) brightness(77%) contrast(81%); @surface2: brightness(0) saturate(100%) invert(86%) sepia(6%) saturate(482%) hue-rotate(189deg) brightness(82%) contrast(88%); @surface1: brightness(0) saturate(100%) invert(85%) sepia(8%) saturate(281%) hue-rotate(187deg) brightness(92%) contrast(88%); @surface0: brightness(0) saturate(100%) invert(96%) sepia(1%) saturate(5123%) hue-rotate(185deg) brightness(93%) contrast(83%); @base: brightness(0) saturate(100%) invert(89%) sepia(5%) saturate(140%) hue-rotate(182deg) brightness(109%) contrast(94%); @mantle: brightness(0) saturate(100%) invert(93%) sepia(19%) saturate(55%) hue-rotate(182deg) brightness(98%) contrast(92%); @crust: brightness(0) saturate(100%) invert(91%) sepia(1%) saturate(4489%) hue-rotate(196deg) brightness(106%) contrast(82%); };
- @frappe: { @rosewater: brightness(0) saturate(100%) invert(90%) sepia(6%) saturate(734%) hue-rotate(321deg) brightness(95%) contrast(99%); @flamingo: brightness(0) saturate(100%) invert(88%) sepia(52%) saturate(817%) hue-rotate(293deg) brightness(113%) contrast(84%); @pink: brightness(0) saturate(100%) invert(76%) sepia(15%) saturate(844%) hue-rotate(280deg) brightness(107%) contrast(91%); @mauve: brightness(0) saturate(100%) invert(71%) sepia(25%) saturate(725%) hue-rotate(225deg) brightness(94%) contrast(91%); @red: brightness(0) saturate(100%) invert(67%) sepia(3%) saturate(7209%) hue-rotate(305deg) brightness(91%) contrast(99%); @maroon: brightness(0) saturate(100%) invert(61%) sepia(14%) saturate(957%) hue-rotate(307deg) brightness(109%) contrast(90%); @peach: brightness(0) saturate(100%) invert(68%) sepia(28%) saturate(662%) hue-rotate(335deg) brightness(96%) contrast(94%); @yellow: brightness(0) saturate(100%) invert(94%) sepia(88%) saturate(684%) hue-rotate(309deg) brightness(105%) contrast(80%); @green: brightness(0) saturate(100%) invert(89%) sepia(23%) saturate(582%) hue-rotate(42deg) brightness(87%) contrast(89%); @teal: brightness(0) saturate(100%) invert(91%) sepia(13%) saturate(986%) hue-rotate(110deg) brightness(85%) contrast(81%); @sky: brightness(0) saturate(100%) invert(75%) sepia(15%) saturate(623%) hue-rotate(141deg) brightness(109%) contrast(81%); @sapphire: brightness(0) saturate(100%) invert(77%) sepia(20%) saturate(730%) hue-rotate(157deg) brightness(97%) contrast(76%); @blue: brightness(0) saturate(100%) invert(68%) sepia(16%) saturate(1070%) hue-rotate(185deg) brightness(96%) contrast(95%); @lavender: brightness(0) saturate(100%) invert(75%) sepia(20%) saturate(626%) hue-rotate(201deg) brightness(101%) contrast(89%); @text: brightness(0) saturate(100%) invert(83%) sepia(12%) saturate(582%) hue-rotate(191deg) brightness(98%) contrast(96%); @subtext1: brightness(0) saturate(100%) invert(80%) sepia(18%) saturate(411%) hue-rotate(190deg) brightness(96%) contrast(84%); @subtext0: brightness(0) saturate(100%) invert(82%) sepia(6%) saturate(1287%) hue-rotate(192deg) brightness(86%) contrast(85%); @overlay2: brightness(0) saturate(100%) invert(65%) sepia(36%) saturate(230%) hue-rotate(190deg) brightness(92%) contrast(82%); @overlay1: brightness(0) saturate(100%) invert(55%) sepia(12%) saturate(638%) hue-rotate(189deg) brightness(98%) contrast(87%); @overlay0: brightness(0) saturate(100%) invert(49%) sepia(13%) saturate(662%) hue-rotate(192deg) brightness(94%) contrast(84%); @surface2: brightness(0) saturate(100%) invert(41%) sepia(20%) saturate(469%) hue-rotate(191deg) brightness(93%) contrast(86%); @surface1: brightness(0) saturate(100%) invert(34%) sepia(14%) saturate(771%) hue-rotate(190deg) brightness(89%) contrast(85%); @surface0: brightness(0) saturate(100%) invert(28%) sepia(7%) saturate(1468%) hue-rotate(193deg) brightness(92%) contrast(95%); @base: brightness(0) saturate(100%) invert(20%) sepia(17%) saturate(747%) hue-rotate(192deg) brightness(96%) contrast(97%); @mantle: brightness(0) saturate(100%) invert(8%) sepia(7%) saturate(7271%) hue-rotate(198deg) brightness(88%) contrast(75%); @crust: brightness(0) saturate(100%) invert(7%) sepia(7%) saturate(7415%) hue-rotate(197deg) brightness(86%) contrast(79%); };
- @macchiato: { @rosewater: brightness(0) saturate(100%) invert(88%) sepia(13%) saturate(322%) hue-rotate(321deg) brightness(102%) contrast(91%); @flamingo: brightness(0) saturate(100%) invert(82%) sepia(3%) saturate(3070%) hue-rotate(314deg) brightness(107%) contrast(88%); @pink: brightness(0) saturate(100%) invert(80%) sepia(23%) saturate(509%) hue-rotate(280deg) brightness(102%) contrast(92%); @mauve: brightness(0) saturate(100%) invert(65%) sepia(18%) saturate(903%) hue-rotate(222deg) brightness(104%) contrast(93%); @red: brightness(0) saturate(100%) invert(61%) sepia(19%) saturate(1541%) hue-rotate(305deg) brightness(110%) contrast(86%); @maroon: brightness(0) saturate(100%) invert(71%) sepia(10%) saturate(1331%) hue-rotate(306deg) brightness(93%) contrast(101%); @peach: brightness(0) saturate(100%) invert(73%) sepia(13%) saturate(1676%) hue-rotate(330deg) brightness(103%) contrast(92%); @yellow: brightness(0) saturate(100%) invert(87%) sepia(89%) saturate(321%) hue-rotate(314deg) brightness(101%) contrast(87%); @green: brightness(0) saturate(100%) invert(93%) sepia(12%) saturate(1128%) hue-rotate(48deg) brightness(92%) contrast(85%); @teal: brightness(0) saturate(100%) invert(92%) sepia(10%) saturate(1176%) hue-rotate(110deg) brightness(87%) contrast(90%); @sky: brightness(0) saturate(100%) invert(78%) sepia(57%) saturate(230%) hue-rotate(142deg) brightness(96%) contrast(84%); @sapphire: brightness(0) saturate(100%) invert(74%) sepia(35%) saturate(438%) hue-rotate(156deg) brightness(92%) contrast(93%); @blue: brightness(0) saturate(100%) invert(67%) sepia(17%) saturate(1007%) hue-rotate(183deg) brightness(99%) contrast(94%); @lavender: brightness(0) saturate(100%) invert(74%) sepia(6%) saturate(2559%) hue-rotate(198deg) brightness(103%) contrast(94%); @text: brightness(0) saturate(100%) invert(81%) sepia(9%) saturate(726%) hue-rotate(192deg) brightness(104%) contrast(92%); @subtext1: brightness(0) saturate(100%) invert(84%) sepia(5%) saturate(1453%) hue-rotate(193deg) brightness(94%) contrast(86%); @subtext0: brightness(0) saturate(100%) invert(75%) sepia(18%) saturate(361%) hue-rotate(190deg) brightness(91%) contrast(86%); @overlay2: brightness(0) saturate(100%) invert(67%) sepia(9%) saturate(814%) hue-rotate(191deg) brightness(92%) contrast(88%); @overlay1: brightness(0) saturate(100%) invert(49%) sepia(38%) saturate(203%) hue-rotate(190deg) brightness(101%) contrast(93%); @overlay0: brightness(0) saturate(100%) invert(46%) sepia(16%) saturate(552%) hue-rotate(193deg) brightness(93%) contrast(84%); @surface2: brightness(0) saturate(100%) invert(34%) sepia(16%) saturate(611%) hue-rotate(192deg) brightness(101%) contrast(87%); @surface1: brightness(0) saturate(100%) invert(30%) sepia(11%) saturate(1085%) hue-rotate(194deg) brightness(92%) contrast(89%); @surface0: brightness(0) saturate(100%) invert(18%) sepia(21%) saturate(880%) hue-rotate(193deg) brightness(97%) contrast(84%); @base: brightness(0) saturate(100%) invert(12%) sepia(42%) saturate(570%) hue-rotate(194deg) brightness(90%) contrast(90%); @mantle: brightness(0) saturate(100%) invert(6%) sepia(6%) saturate(7499%) hue-rotate(200deg) brightness(93%) contrast(85%); @crust: brightness(0) saturate(100%) invert(5%) sepia(8%) saturate(5346%) hue-rotate(202deg) brightness(98%) contrast(88%); };
- @mocha: { @rosewater: brightness(0) saturate(100%) invert(92%) sepia(5%) saturate(704%) hue-rotate(320deg) brightness(99%) contrast(93%); @flamingo: brightness(0) saturate(100%) invert(81%) sepia(5%) saturate(987%) hue-rotate(315deg) brightness(107%) contrast(90%); @pink: brightness(0) saturate(100%) invert(86%) sepia(11%) saturate(1177%) hue-rotate(283deg) brightness(101%) contrast(92%); @mauve: brightness(0) saturate(100%) invert(65%) sepia(58%) saturate(255%) hue-rotate(224deg) brightness(96%) contrast(102%); @red: brightness(0) saturate(100%) invert(61%) sepia(19%) saturate(997%) hue-rotate(294deg) brightness(104%) contrast(91%); @maroon: brightness(0) saturate(100%) invert(66%) sepia(16%) saturate(1301%) hue-rotate(306deg) brightness(116%) contrast(84%); @peach: brightness(0) saturate(100%) invert(68%) sepia(57%) saturate(278%) hue-rotate(338deg) brightness(98%) contrast(101%); @yellow: brightness(0) saturate(100%) invert(90%) sepia(70%) saturate(380%) hue-rotate(313deg) brightness(102%) contrast(95%); @green: brightness(0) saturate(100%) invert(88%) sepia(6%) saturate(2015%) hue-rotate(63deg) brightness(104%) contrast(78%); @teal: brightness(0) saturate(100%) invert(92%) sepia(12%) saturate(991%) hue-rotate(108deg) brightness(93%) contrast(90%); @sky: brightness(0) saturate(100%) invert(84%) sepia(21%) saturate(1302%) hue-rotate(164deg) brightness(106%) contrast(84%); @sapphire: brightness(0) saturate(100%) invert(74%) sepia(20%) saturate(876%) hue-rotate(156deg) brightness(96%) contrast(93%); @blue: brightness(0) saturate(100%) invert(68%) sepia(18%) saturate(951%) hue-rotate(180deg) brightness(98%) contrast(100%); @lavender: brightness(0) saturate(100%) invert(73%) sepia(7%) saturate(1670%) hue-rotate(195deg) brightness(102%) contrast(99%); @text: brightness(0) saturate(100%) invert(86%) sepia(6%) saturate(879%) hue-rotate(190deg) brightness(100%) contrast(93%); @subtext1: brightness(0) saturate(100%) invert(84%) sepia(19%) saturate(381%) hue-rotate(193deg) brightness(91%) contrast(89%); @subtext0: brightness(0) saturate(100%) invert(84%) sepia(9%) saturate(767%) hue-rotate(192deg) brightness(84%) contrast(84%); @overlay2: brightness(0) saturate(100%) invert(63%) sepia(15%) saturate(428%) hue-rotate(191deg) brightness(96%) contrast(84%); @overlay1: brightness(0) saturate(100%) invert(56%) sepia(15%) saturate(455%) hue-rotate(192deg) brightness(90%) contrast(88%); @overlay0: brightness(0) saturate(100%) invert(44%) sepia(6%) saturate(1275%) hue-rotate(194deg) brightness(97%) contrast(88%); @surface2: brightness(0) saturate(100%) invert(34%) sepia(8%) saturate(1015%) hue-rotate(195deg) brightness(99%) contrast(89%); @surface1: brightness(0) saturate(100%) invert(25%) sepia(6%) saturate(1950%) hue-rotate(197deg) brightness(99%) contrast(86%); @surface0: brightness(0) saturate(100%) invert(19%) sepia(5%) saturate(2844%) hue-rotate(199deg) brightness(91%) contrast(93%); @base: brightness(0) saturate(100%) invert(7%) sepia(4%) saturate(7496%) hue-rotate(202deg) brightness(93%) contrast(87%); @mantle: brightness(0) saturate(100%) invert(6%) sepia(4%) saturate(7465%) hue-rotate(202deg) brightness(95%) contrast(90%); @crust: brightness(0) saturate(100%) invert(3%) sepia(13%) saturate(6863%) hue-rotate(220deg) brightness(95%) contrast(91%); };
-};
diff --git a/styles/zen-browser-docs/catppuccin.user.less b/styles/zen-browser-docs/catppuccin.user.less
index ca20054d..265e641d 100644
--- a/styles/zen-browser-docs/catppuccin.user.less
+++ b/styles/zen-browser-docs/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("zen-browser.app") {
:root[data-theme="light"],
.light {
@@ -27,46 +29,8 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0;
- }
- }
+ #lib.palette();
+ #lib.defaults();
--zen-paper: @mantle;
--zen-dark: @subtext1;
@@ -132,11 +96,3 @@
}
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};
diff --git a/template/catppuccin.user.less b/template/catppuccin.user.less
index 2bfba32d..511fc31a 100644
--- a/template/catppuccin.user.less
+++ b/template/catppuccin.user.less
@@ -15,6 +15,8 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
+@import "https://userstyles.catppuccin.com/lib/lib.less";
+
@-moz-document domain("") {
/* This section applies the light/dark themes automatically based on the user's system theme.
Use the below example CSS to start if the website you are theming doesn't have a light/dark mode toggle.
@@ -45,46 +47,8 @@
}
#catppuccin(@flavor) {
- @rosewater: @catppuccin[@@flavor][@rosewater];
- @flamingo: @catppuccin[@@flavor][@flamingo];
- @pink: @catppuccin[@@flavor][@pink];
- @mauve: @catppuccin[@@flavor][@mauve];
- @red: @catppuccin[@@flavor][@red];
- @maroon: @catppuccin[@@flavor][@maroon];
- @peach: @catppuccin[@@flavor][@peach];
- @yellow: @catppuccin[@@flavor][@yellow];
- @green: @catppuccin[@@flavor][@green];
- @teal: @catppuccin[@@flavor][@teal];
- @sky: @catppuccin[@@flavor][@sky];
- @sapphire: @catppuccin[@@flavor][@sapphire];
- @blue: @catppuccin[@@flavor][@blue];
- @lavender: @catppuccin[@@flavor][@lavender];
- @text: @catppuccin[@@flavor][@text];
- @subtext1: @catppuccin[@@flavor][@subtext1];
- @subtext0: @catppuccin[@@flavor][@subtext0];
- @overlay2: @catppuccin[@@flavor][@overlay2];
- @overlay1: @catppuccin[@@flavor][@overlay1];
- @overlay0: @catppuccin[@@flavor][@overlay0];
- @surface2: @catppuccin[@@flavor][@surface2];
- @surface1: @catppuccin[@@flavor][@surface1];
- @surface0: @catppuccin[@@flavor][@surface0];
- @base: @catppuccin[@@flavor][@base];
- @mantle: @catppuccin[@@flavor][@mantle];
- @crust: @catppuccin[@@flavor][@crust];
- @accent: @catppuccin[@@flavor][@@accentColor];
-
- color-scheme: if(@flavor = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #lib.palette(@flavor);
+ #lib.defaults();
/* Start styling your website here: */
background-color: @base;
@@ -101,11 +65,3 @@
}
}
}
-
-/* deno-fmt-ignore */
-@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
-};