diff --git a/.github/workflows/deno-check.yml b/.github/workflows/deno-check.yml
index 2daa2f61..38bd9475 100644
--- a/.github/workflows/deno-check.yml
+++ b/.github/workflows/deno-check.yml
@@ -25,4 +25,3 @@ jobs:
run: |
deno lint
deno check **/*.ts
- deno fmt --check **/*.ts
diff --git a/.stylelintrc.js b/.stylelintrc.js
index cf31e72e..c3440eac 100644
--- a/.stylelintrc.js
+++ b/.stylelintrc.js
@@ -6,13 +6,13 @@
export default {
extends: "stylelint-config-standard",
plugins: [
- "./scripts/lint/stylelint-custom/optimized-svgs.js",
- "./scripts/lint/stylelint-custom/color-op-func-percentage.js",
+ "./scripts/lint/stylelint-custom/index.js",
],
customSyntax: "postcss-less",
rules: {
"catppuccin/optimized-svgs": true,
- "catppuccin/require-color-op-func-percentage": true,
+ "catppuccin/color-operations": true,
+ "catppuccin/no-redundant-parent-selector": true,
"selector-class-pattern": null,
"custom-property-pattern": null,
diff --git a/docs/guide/images-and-svgs.md b/docs/guide/images-and-svgs.md
index 87704299..7719d089 100644
--- a/docs/guide/images-and-svgs.md
+++ b/docs/guide/images-and-svgs.md
@@ -73,34 +73,34 @@ If you encounter non-SVG images, or many `
` elements with external SVGs, th
}
```
-Select the filter definitions from below that you plan to use and insert them near the top of the `#catppuccin` mixin, below the `@: @catppuccin[@@lookup][@];` color definitions.
+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[@@lookup][@rosewater];
-@flamingo-filter: @catppuccin-filters[@@lookup][@flamingo];
-@pink-filter: @catppuccin-filters[@@lookup][@pink];
-@mauve-filter: @catppuccin-filters[@@lookup][@mauve];
-@red-filter: @catppuccin-filters[@@lookup][@red];
-@maroon-filter: @catppuccin-filters[@@lookup][@maroon];
-@peach-filter: @catppuccin-filters[@@lookup][@peach];
-@yellow-filter: @catppuccin-filters[@@lookup][@yellow];
-@green-filter: @catppuccin-filters[@@lookup][@green];
-@teal-filter: @catppuccin-filters[@@lookup][@teal];
-@sky-filter: @catppuccin-filters[@@lookup][@sky];
-@sapphire-filter: @catppuccin-filters[@@lookup][@sapphire];
-@blue-filter: @catppuccin-filters[@@lookup][@blue];
-@lavender-filter: @catppuccin-filters[@@lookup][@lavender];
-@text-filter: @catppuccin-filters[@@lookup][@text];
-@subtext1-filter: @catppuccin-filters[@@lookup][@subtext1];
-@subtext0-filter: @catppuccin-filters[@@lookup][@subtext0];
-@overlay2-filter: @catppuccin-filters[@@lookup][@overlay2];
-@overlay1-filter: @catppuccin-filters[@@lookup][@overlay1];
-@overlay0-filter: @catppuccin-filters[@@lookup][@overlay0];
-@surface2-filter: @catppuccin-filters[@@lookup][@surface2];
-@surface1-filter: @catppuccin-filters[@@lookup][@surface1];
-@surface0-filter: @catppuccin-filters[@@lookup][@surface0];
-@base-filter: @catppuccin-filters[@@lookup][@base];
-@mantle-filter: @catppuccin-filters[@@lookup][@mantle];
-@crust-filter: @catppuccin-filters[@@lookup][@crust];
-@accent-color-filter: @catppuccin-filters[@@lookup][@@accent];
+@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/tutorials/writing-a-userstyle.md b/docs/tutorials/writing-a-userstyle.md
index 89608973..f469b48b 100644
--- a/docs/tutorials/writing-a-userstyle.md
+++ b/docs/tutorials/writing-a-userstyle.md
@@ -46,14 +46,14 @@ The rest of the metadata block details the preprocessor and the options of the u
To tell Stylus which website(s) to apply this userstyle on, replace `` with the domain of your port. For `example.org`, it looks like this:
```less
-@-moz-document domain('example.org') {
+@-moz-document domain("example.org") {
```
> [!NOTE]
> While `domain()` works for most cases, you may need to use [`regexp()`](https://github.com/openstyles/stylus/wiki/Writing-styles#regexp) for websites with more complex URLs. For example:
>
> ```less
-> @-moz-document regexp('http://example.(com|net|org|edu)/') {
+> @-moz-document regexp("http://example.(com|net|org|edu)/") {
> ```
## Applying the theme
@@ -61,14 +61,12 @@ To tell Stylus which website(s) to apply this userstyle on, replace ` [!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[@@lookup][@];` 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". 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:
```less
-#catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
+#catppuccin(@flavor) {
+ @rosewater: @catppuccin[@@flavor][@rosewater];
/* ... */
- @accent-color: @catppuccin[@@lookup][@@accent];
+ @accent: @catppuccin[@@flavor][@@accentColor];
- color-scheme: if(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -113,7 +111,7 @@ We'll refer to this next section of the template as the "`#catppuccin` mixin". Y
a:link,
a:visited {
- color: @accent-color;
+ color: @accent;
}
/* ... */
@@ -143,50 +141,48 @@ Combining all of the previous steps, we have a working userstyle!
==/UserStyle== */
@-moz-document domain("example.org") {
- @media (prefers-color-scheme: light) {
- :root {
- #catppuccin(@lightFlavor, @accentColor);
+ :root {
+ @media (prefers-color-scheme: light) {
+ #catppuccin(@lightFlavor);
}
- }
- @media (prefers-color-scheme: dark) {
- :root {
- #catppuccin(@darkFlavor, @accentColor);
+ @media (prefers-color-scheme: dark) {
+ #catppuccin(@darkFlavor);
}
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -207,7 +203,7 @@ Combining all of the previous steps, we have a working userstyle!
a:link,
a:visited {
- color: @accent-color;
+ color: @accent;
}
}
}
diff --git a/scripts/lint/stylelint-custom/color-op-func-percentage.js b/scripts/lint/stylelint-custom/color-op-func-percentage.js
deleted file mode 100644
index 7603bf73..00000000
--- a/scripts/lint/stylelint-custom/color-op-func-percentage.js
+++ /dev/null
@@ -1,85 +0,0 @@
-import stylelint from "stylelint";
-import valueParser from "postcss-value-parser";
-
-const {
- createPlugin,
- utils: { report, ruleMessages, validateOptions },
-} = stylelint;
-
-const ruleName = "catppuccin/require-color-op-func-percentage";
-
-const meta = {
- fixable: true,
-};
-
-const messages = ruleMessages(ruleName, {
- rejected: () =>
- `Color operation function amount arguments must be percentages`,
-});
-
-/** @type {import('npm:stylelint').Rule} */
-const ruleFunction = (primary, _secondary, context) => {
- return (root, result) => {
- const validOptions = validateOptions(result, ruleName, {
- actual: primary,
- possible: [true],
- });
-
- if (!validOptions) return;
-
- root.walkDecls((decl) => {
- const parsed = valueParser(decl.value);
-
- if (
- parsed.nodes.length === 1 &&
- parsed.nodes[0].type === "function" &&
- [
- "saturate",
- "desaturate",
- "lighten",
- "darken",
- "fadein",
- "fadeout",
- "fade",
- "mix",
- "tint",
- "shade",
- ].includes(parsed.nodes[0].value)
- ) {
- const func = parsed.nodes[0];
-
- const numArgLoc = parsed.nodes[0].value === "mix" ? 4 : 2;
-
- if (
- func.nodes.length === numArgLoc + 1 &&
- !func.nodes[numArgLoc].value.endsWith("%")
- ) {
- let value = func.nodes[numArgLoc].value;
- if (!/^[\d.]+$/.test(value)) return;
- if (value.includes(".")) {
- value = Number.parseFloat(value);
- if (value < 1) value *= 100;
- }
-
- if (context.fix) {
- func.nodes[numArgLoc].value = value + "%";
- decl.value = parsed.toString();
- } else {
- report({
- result,
- ruleName,
- message: messages.rejected(),
- node: decl,
- });
- }
- }
- }
- });
- };
-};
-
-ruleFunction.ruleName = ruleName;
-ruleFunction.messages = messages;
-ruleFunction.meta = meta;
-
-export default createPlugin(ruleName, ruleFunction);
diff --git a/scripts/lint/stylelint-custom/color-operation.js b/scripts/lint/stylelint-custom/color-operation.js
new file mode 100644
index 00000000..e028616c
--- /dev/null
+++ b/scripts/lint/stylelint-custom/color-operation.js
@@ -0,0 +1,181 @@
+// @ts-check
+
+import stylelint from "stylelint";
+import valueParser from "postcss-value-parser";
+import { flavors } from "@catppuccin/palette";
+
+const LESS_COLOR_OP_FUNCTIONS = [
+ "saturate",
+ "desaturate",
+ "lighten",
+ "darken",
+ "fadein",
+ "fadeout",
+ "fade",
+ "mix",
+ "tint",
+ "shade",
+];
+const NUMERICAL_VALUE_REGEX = /^[\d.]+$/;
+const VALID_COLOR_VARIABLES = [
+ ...Object.keys(flavors.latte.colors).map((color) => "@" + color),
+ "@accent",
+];
+
+/**
+ * Accepts a color operation amount and normalizes it by multiplying it by 100 if it is less than 1.
+ * @param {string} amount
+ * @returns {number}
+ *
+ * @example
+ * normalizeColorOperationAmount("0.3") // 30
+ * normalizeColorOperationAmount("30") // 30
+ */
+function normalizeColorOperationAmount(amount) {
+ let value = Number.parseFloat(amount);
+ if (value < 1) value *= 100;
+ return value;
+}
+
+const {
+ createPlugin,
+ utils: { report, ruleMessages, validateOptions },
+} = stylelint;
+
+const ruleName = "catppuccin/color-operations";
+
+const meta = {
+ fixable: true,
+};
+
+const messages = ruleMessages(ruleName, {
+ amount_not_percentage: () => `Function amount argument must be percentage`,
+ rgba_used_with_variable: () => `Use 'fade' instead of 'rgba' on variables`,
+ fadeout_used: () => `Use 'fade' instead of 'fadeout'`,
+ fadein_used: () => `Use 'fade' instead of 'fadein'`,
+});
+
+/** @type {import('npm:stylelint').Rule} */
+const ruleFunction = (primary, _secondary, context) => {
+ return (root, result) => {
+ const validOptions = validateOptions(result, ruleName, {
+ actual: primary,
+ possible: [true],
+ });
+
+ if (!validOptions) return;
+
+ root.walkDecls((decl) => {
+ const parsed = valueParser(decl.value);
+
+ parsed.walk((node) => {
+ if (node.type !== "function") return;
+
+ const pre = decl.prop.length +
+ (decl.raws.between?.length || 0);
+ const startIndex = pre + node.sourceIndex;
+ const endIndex = pre + node.sourceEndIndex - 1;
+
+ // Prevent using `rgba` with variables to change the alpha value.
+ if (
+ node.value === "rgba" &&
+ node.nodes.length === 3 &&
+ node.nodes[0].value.startsWith("@") &&
+ NUMERICAL_VALUE_REGEX.test(node.nodes[2].value)
+ ) {
+ if (context.fix) {
+ node.value = "fade";
+ node.nodes[2].value = normalizeColorOperationAmount(
+ node.nodes[2].value,
+ ) + "%";
+ } else {
+ report({
+ result,
+ ruleName,
+ message: messages.rgba_used_with_variable(),
+ node: decl,
+ index: startIndex,
+ endIndex: endIndex,
+ });
+ }
+ }
+
+ // Use `fade` instead of `fadeout`.
+ if (
+ node.value === "fadeout"
+ ) {
+ if (
+ context.fix &&
+ // Only autofixable if it follows the pattern of `fadeout(@, %)`. Otherwise, it's ambiguous.
+ node.nodes.length === 3 &&
+ VALID_COLOR_VARIABLES.includes(node.nodes[0].value)
+ ) {
+ node.value = "fade";
+ const value = node.nodes[2].value.replace("%", "");
+ // Invert the value to get the fade amount. E.g. `fadeout(@color, 30%)` becomes `fade(@color, 70%)`.
+ node.nodes[2].value = (100 - normalizeColorOperationAmount(value)) +
+ "%";
+ } else {
+ report({
+ result,
+ ruleName,
+ message: messages.fadeout_used(),
+ node: decl,
+ index: startIndex,
+ endIndex: endIndex,
+ });
+ }
+ }
+
+ // Use `fade` instead of `fadein`. Not autofixable because a) on palette variables, it has no effect (increasing opaqueness on a fully opaque color) and b) it's ambiguous otherwise.
+ if (node.value === "fadein") {
+ report({
+ result,
+ ruleName,
+ message: messages.fadein_used(),
+ node: decl,
+ index: startIndex,
+ endIndex: endIndex,
+ });
+ }
+
+ // Use percentage amount values for Less color operation functions.
+
+ if (!LESS_COLOR_OP_FUNCTIONS.includes(node.value)) return;
+
+ const amountArgIndex = node.value === "mix" ? 4 : 2;
+
+ if (
+ node.nodes.length === amountArgIndex + 1 &&
+ !node.nodes[amountArgIndex].value.endsWith("%")
+ ) {
+ const value = node.nodes[amountArgIndex].value;
+ if (!NUMERICAL_VALUE_REGEX.test(value)) return;
+
+ if (context.fix) {
+ node.nodes[amountArgIndex].value = normalizeColorOperationAmount(
+ value,
+ ) + "%";
+ } else {
+ report({
+ result,
+ ruleName,
+ message: messages.amount_not_percentage(),
+ node: decl,
+ index: startIndex + node.nodes[amountArgIndex].sourceIndex,
+ endIndex: startIndex + node.nodes[amountArgIndex].sourceEndIndex -
+ 1,
+ });
+ }
+ }
+ });
+ decl.value = parsed.toString();
+ });
+ };
+};
+
+ruleFunction.ruleName = ruleName;
+ruleFunction.messages = messages;
+ruleFunction.meta = meta;
+
+export default createPlugin(ruleName, ruleFunction);
diff --git a/scripts/lint/stylelint-custom/index.js b/scripts/lint/stylelint-custom/index.js
new file mode 100644
index 00000000..91278615
--- /dev/null
+++ b/scripts/lint/stylelint-custom/index.js
@@ -0,0 +1,9 @@
+import colorOperation from "@/lint/stylelint-custom/color-operation.js";
+import optimizedSvgs from "@/lint/stylelint-custom/optimized-svgs.js";
+import redundantParentSelector from "@/lint/stylelint-custom/redundant-parent-selector.js";
+
+export default [
+ colorOperation,
+ optimizedSvgs,
+ redundantParentSelector,
+];
diff --git a/scripts/lint/stylelint-custom/redundant-parent-selector.js b/scripts/lint/stylelint-custom/redundant-parent-selector.js
new file mode 100644
index 00000000..36133065
--- /dev/null
+++ b/scripts/lint/stylelint-custom/redundant-parent-selector.js
@@ -0,0 +1,99 @@
+// @ts-check
+
+import stylelint from "stylelint";
+import { assert } from "@std/assert";
+
+const {
+ createPlugin,
+ utils: { report, ruleMessages, validateOptions },
+} = stylelint;
+
+const ruleName = "catppuccin/no-redundant-parent-selector";
+
+const meta = {
+ fixable: true,
+};
+
+const messages = ruleMessages(ruleName, {
+ rejected: () => `Redundant parent selector is not allowed`,
+});
+
+/** @type {import('npm:stylelint').Rule} */
+const ruleFunction = (primary, _secondary, context) => {
+ return (root, result) => {
+ const validOptions = validateOptions(result, ruleName, {
+ actual: primary,
+ possible: [true],
+ });
+
+ if (!validOptions) return;
+
+ root.walkRules((rule) => {
+ if (rule.selectors.length === 1 && rule.selector === "&") {
+ if (context.fix) {
+ // Moves the rule's properties to the parent rule *in place* of the parent selector.
+ // & {
+ // color: red;
+ // }
+ // becomes
+ // color: red;
+
+ const parent = rule.parent;
+
+ if (parent) {
+ let idx = parent.index(rule);
+ assert(idx !== -1);
+
+ rule.each((node) => {
+ if (node.type === "decl") {
+ parent.insertAfter(
+ parent.nodes[idx],
+ node.clone(),
+ );
+ idx++;
+ }
+ });
+
+ rule.remove();
+ }
+ } else {
+ report({
+ result,
+ ruleName,
+ message: messages.rejected(),
+ node: rule,
+ });
+ }
+ }
+
+ rule.selector = rule.selector.replace(
+ // Match "& ", at the start or after a comma and optional whitespace, but not when followed by "when".
+ /(^|,\s*)&\s+(?!when\b)/g,
+ (match, prefix, offset) => {
+ const matchIndex = offset + prefix.length;
+ const matchEndIndex = matchIndex + 1; // `&` is one character long.
+
+ if (context.fix) {
+ return prefix; // Remove '& ' but keep the "prefix" (start or comma and whitespace).
+ } else {
+ report({
+ result,
+ ruleName,
+ message: messages.rejected(),
+ node: rule,
+ index: matchIndex,
+ endIndex: matchEndIndex,
+ });
+ }
+ return match;
+ },
+ );
+ });
+ };
+};
+
+ruleFunction.ruleName = ruleName;
+ruleFunction.messages = messages;
+ruleFunction.meta = meta;
+
+export default createPlugin(ruleName, ruleFunction);
diff --git a/scripts/lint/stylelint.ts b/scripts/lint/stylelint.ts
index 41ed2314..fbe61867 100644
--- a/scripts/lint/stylelint.ts
+++ b/scripts/lint/stylelint.ts
@@ -1,7 +1,4 @@
-import { REPO_ROOT } from "@/constants.ts";
-
import * as color from "@std/fmt/colors";
-import * as path from "@std/path";
import "postcss-less";
import stylelint from "stylelint";
@@ -23,7 +20,7 @@ export async function runStylelint(
});
if (code) {
- Deno.writeTextFileSync(path.join(REPO_ROOT, file), code);
+ Deno.writeTextFileSync(file, code);
}
for (const result of results) {
diff --git a/styles/advent-of-code/catppuccin.user.less b/styles/advent-of-code/catppuccin.user.less
index 4b69bb5a..e47d6bf1 100644
--- a/styles/advent-of-code/catppuccin.user.less
+++ b/styles/advent-of-code/catppuccin.user.less
@@ -16,50 +16,48 @@
==/UserStyle== */
@-moz-document domain("adventofcode.com") {
- @media (prefers-color-scheme: light) {
- :root {
- #catppuccin(@lightFlavor, @accentColor);
+ :root {
+ @media (prefers-color-scheme: light) {
+ #catppuccin(@lightFlavor);
}
- }
- @media (prefers-color-scheme: dark) {
- :root {
- #catppuccin(@darkFlavor, @accentColor);
+ @media (prefers-color-scheme: dark) {
+ #catppuccin(@darkFlavor);
}
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
diff --git a/styles/alternativeto/catppuccin.user.less b/styles/alternativeto/catppuccin.user.less
index 2c16d60e..75c1e522 100644
--- a/styles/alternativeto/catppuccin.user.less
+++ b/styles/alternativeto/catppuccin.user.less
@@ -17,45 +17,45 @@
@-moz-document domain("alternativeto.net") {
:root[data-theme="dark"] {
- #catppuccin(@darkFlavor, @accentColor);
+ #catppuccin(@darkFlavor);
}
:root[data-theme="light"] {
- #catppuccin(@lightFlavor, @accentColor);
+ #catppuccin(@lightFlavor);
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -65,12 +65,12 @@
}
}
- --mainBrand: @accent-color;
- --topBrand: @accent-color;
+ --mainBrand: @accent;
+ --topBrand: @accent;
--footer: @mantle;
--mainBg: @base;
--mainFg: @text;
- --popBrand: @accent-color;
+ --popBrand: @accent;
--introBoxText: @text;
--introBoxLink: @text;
--introBoxMeta: @subtext0;
@@ -93,7 +93,7 @@
--gray250: @surface1;
--gray300: @surface1;
--gray500: @overlay0;
- --headingButton: @accent-color;
+ --headingButton: @accent;
--positiveGreener: @green;
--positiveGreenerLight: fade(@green, 10%);
--positiveGreenerDark: @green;
@@ -128,8 +128,8 @@
// footer
[class^="Footer_footer"] {
&,
- & p a,
- & [class^="Footer_footerMenu"] li a {
+ p a,
+ [class^="Footer_footerMenu"] li a {
color: @text;
}
}
@@ -197,7 +197,7 @@
// main page header
img[class*="PageIntroImage_a2-header-"] {
@svg: escape(
- ''
+ ''
);
content: url("data:image/svg+xml,@{svg}");
// flipped/mirrored/right variation of the a2 robot svg (found in /about and /about/privacy)
@@ -221,25 +221,25 @@
// news page header
[src^="/static/a2-screen"] {
@svg: escape(
- ''
+ ''
);
content: url("data:image/svg+xml,@{svg}");
}
// new app releases page header
[src^="/static/a2-drop"] {
@svg: escape(
- ''
+ ''
);
content: url("data:image/svg+xml,@{svg}");
}
// bottom right loading spinner icon
#nprogress .spinner-icon {
- border-top-color: @accent-color;
- border-left-color: @accent-color;
+ border-top-color: @accent;
+ border-left-color: @accent;
}
// top progress bar when loading a new page
#nprogress .peg {
- box-shadow: 0 0 10px @accent-color, 0 0 5px @accent-color;
+ box-shadow: 0 0 10px @accent, 0 0 5px @accent;
}
// toast
.Toastify__close-button {
@@ -250,8 +250,8 @@
}
// remove filter badge
li[class^="AppFilterBarCommon_current"]:hover {
- & a::after,
- & > span::after {
+ a::after,
+ > span::after {
color: darken(@red, 25%);
}
}
@@ -279,7 +279,7 @@
svg {
color: @crust !important;
}
- & when (@lookup = latte) {
+ & when (@flavor = latte) {
background: fade(@crust, 80%) !important;
svg {
color: @text !important;
@@ -388,50 +388,48 @@
}
@-moz-document domain("auth.alternativeto.net") {
- @media (prefers-color-scheme: light) {
- :root {
- #catppuccin(@lightFlavor, @accentColor);
+ :root {
+ @media (prefers-color-scheme: light) {
+ #catppuccin(@lightFlavor);
}
- }
- @media (prefers-color-scheme: dark) {
- :root {
- #catppuccin(@darkFlavor, @accentColor);
+ @media (prefers-color-scheme: dark) {
+ #catppuccin(@darkFlavor);
}
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -445,9 +443,9 @@
--input-background-color: @base;
--input-border-color: @surface1;
--input-text-color: @text;
- --base-focus-color: @accent-color;
- --link-color: @accent-color;
- --primary-color: @accent-color;
+ --base-focus-color: @accent;
+ --link-color: @accent;
+ --primary-color: @accent;
--button-font-color: @crust;
--title-font-color: @text;
--font-default-color: @text;
@@ -455,7 +453,7 @@
--border-default-color: @surface1;
--social-button-border-color: @surface1;
--secondary-button-text-color: @text;
- --transparency-focus-color: fade(@accent-color, 15%);
+ --transparency-focus-color: fade(@accent, 15%);
--icon-default-color: @overlay1;
--gray-lightest: @text;
--error-color: @red;
@@ -476,7 +474,7 @@
}
#prompt-logo-center {
@svg: escape(
- ''
+ ''
);
content: url("data:image/svg+xml,@{svg}");
}
diff --git a/styles/amplenote/catppuccin.user.less b/styles/amplenote/catppuccin.user.less
index a656de81..cd2b0d2b 100644
--- a/styles/amplenote/catppuccin.user.less
+++ b/styles/amplenote/catppuccin.user.less
@@ -17,46 +17,46 @@
@-moz-document domain("amplenote.com") {
body:not(.theme-light) {
- #catppuccin(@darkFlavor, @accentColor);
+ #catppuccin(@darkFlavor);
}
body.theme-light {
- #catppuccin(@lightFlavor, @accentColor);
+ #catppuccin(@lightFlavor);
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -86,8 +86,8 @@
--color-background-reversed-secondary: @surface2;
--color-background-element-high-contrast: fade(@overlay2, 40%);
- --color-background-element-medium-contrast: fade(@accent-color, 40%);
- --color-background-element-medium-contrast-rgb: fade(@accent-color. 40%);
+ --color-background-element-medium-contrast: fade(@accent, 40%);
+ --color-background-element-medium-contrast-rgb: fade(@accent. 40%);
--color-background-element-low-contrast: @crust;
--color-background-note-menu-button: @surface0;
@@ -95,11 +95,11 @@
--color-background-banner-alt: @base;
--color-background-nav-divider: @surface0;
- --color-background-action-low-contrast: fade(@accent-color, 50%);
- --color-background-action-medium-contrast: fade(@accent-color, 60%);
- --color-background-action-high-contrast: @accent-color;
- --color-background-action-high-contrast-rgb: #rgbify(@accent-color)[];
- --color-background-action-high-contrast-alt: fade(@accent-color, 75%);
+ --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-alt: fade(@accent, 75%);
--color-background-error-high-contrast: @red;
--color-background-error-medium-contrast: fade(@red, 50%);
@@ -125,13 +125,13 @@
--color-text-error-high-contrast: @red;
--color-text-status: @green;
- --color-text-link: @accent-color;
+ --color-text-link: @accent;
--color-text-button: @crust;
--color-background-task-value: @surface1;
--color-background-sidebar-task: @surface0;
- --color-overlay-low-contrast: @accent-color;
+ --color-overlay-low-contrast: @accent;
--mdc-theme-surface: @base;
}
@@ -200,15 +200,15 @@
.calendar-pane .fc {
.fc-timegrid-now-indicator-arrow {
.line {
- border-bottom-color: @accent-color;
+ border-bottom-color: @accent;
}
.material-icons {
- color: @accent-color;
+ color: @accent;
}
}
.fc-timegrid-now-indicator-line {
- border-color: darken(@accent-color, 10%);
+ border-color: darken(@accent, 10%);
}
.fc-timegrid .fc-daygrid-day-events,
diff --git a/styles/anilist/catppuccin.user.less b/styles/anilist/catppuccin.user.less
index 80540959..2630c693 100644
--- a/styles/anilist/catppuccin.user.less
+++ b/styles/anilist/catppuccin.user.less
@@ -19,47 +19,47 @@
@-moz-document domain("anilist.co"), domain("anichart.net") {
body:not(.site-theme-dark) {
- #catppuccin(@lightFlavor, @accentColor);
+ #catppuccin(@lightFlavor);
}
.site-theme-dark {
- #catppuccin(@darkFlavor, @accentColor);
+ #catppuccin(@darkFlavor);
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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];
- @contrast-color: @catppuccin[@@lookup][@@contrastColor];
+ @contrast: @catppuccin[@@flavor][@@contrastColor];
- color-scheme: if(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -69,8 +69,8 @@
}
}
- & when (@lookup = latte) {
- --color-blue-dim: #rgbify(desaturate(lighten(@accent-color, 10%), 10%))[];
+ & when (@flavor = latte) {
+ --color-blue-dim: #rgbify(desaturate(lighten(@accent, 10%), 10%))[];
.nav[data-v-62eacfff],
.solid[data-v-62eacfff],
@@ -103,10 +103,10 @@
--color-text-light: #rgbify(@subtext1)[];
--color-text-lighter: #rgbify(@subtext0)[];
--color-text-bright: #rgbify(@text)[];
- --color-blue: #rgbify(@accent-color)[];
+ --color-blue: #rgbify(@accent)[];
--color-white: 255, 255, 255;
--color-black: 0, 0, 0;
- --color-red: #rgbify(@contrast-color)[];
+ --color-red: #rgbify(@contrast)[];
--color-peach: #rgbify(@maroon)[];
--color-orange: #rgbify(@peach)[];
--color-yellow: #rgbify(@yellow)[];
@@ -161,7 +161,7 @@
--color-red-600: #rgbify(@red)[];
--color-red-700: #rgbify(@red)[];
- & when not(@lookup = latte) {
+ & when not(@flavor = latte) {
--color-background: #rgbify(@crust)[];
--color-foreground: #rgbify(@base)[];
--color-foreground-grey: #rgbify(@surface0)[];
@@ -198,17 +198,17 @@
--color-gray-200: #rgbify(@mantle)[];
--color-gray-100: #rgbify(@crust)[];
- --color-blue-dim: #rgbify(desaturate(darken(@accent-color, 10%), 10%))[];
+ --color-blue-dim: #rgbify(desaturate(darken(@accent, 10%), 10%))[];
}
/* DARK THEME NAV BAR */
- .nav-unscoped when not(@lookup = latte) {
+ .nav-unscoped when not(@flavor = latte) {
background-color: @mantle;
}
- .nav-unscoped.transparent when not(@lookup = latte) {
+ .nav-unscoped.transparent when not(@flavor = latte) {
background-color: fade(@mantle, 50%);
}
- .nav-unscoped.transparent:hover when not(@lookup = latte) {
+ .nav-unscoped.transparent:hover when not(@flavor = latte) {
background-color: @mantle;
color: @subtext0;
}
@@ -216,10 +216,10 @@
/* -----------------PROFILE FIXES----------------- */
#profileColor(@color) {
--color-blue: #rgbify(@color)[];
- & when (@lookup = latte) {
+ & when (@flavor = latte) {
--color-blue-dim: #rgbify(lighten(@color, 10%))[];
}
- & when not(@lookup = latte) {
+ & when not(@flavor = latte) {
--color-blue-dim: #rgbify(darken(@color, 10%))[];
}
.progress .bar {
@@ -296,7 +296,7 @@
.el-dropdown-menu {
border-color: @text !important;
}
- .el-dropdown-menu__item--divided when not(@lookup = latte) {
+ .el-dropdown-menu__item--divided when not(@flavor = latte) {
border-top-color: @surface1;
}
.el-select-dropdown__item.hover,
@@ -304,7 +304,7 @@
background-color: @base;
}
.el-select-dropdown__item.selected {
- color: @accent-color;
+ color: @accent;
}
.el-tooltip__popper.is-dark {
background: @surface0;
@@ -338,22 +338,22 @@
color: @subtext0;
&:hover {
- color: @accent-color;
+ color: @accent;
}
}
.el-picker-panel__icon-btn {
color: @overlay1;
&:hover {
- color: @accent-color;
+ color: @accent;
}
}
.el-date-table td.available:hover {
- color: @accent-color;
+ color: @accent;
}
.el-date-table td.current:not(.disabled) span {
color: @crust;
- background-color: @accent-color;
+ background-color: @accent;
}
.el-date-table td.next-month,
.el-date-table td.prev-month {
@@ -374,11 +374,11 @@
color: rgb(var(--color-blue));
}
- & when (@lookup = latte) {
- --color-blue: #rgbify(lighten(@accent-color, 30%))[];
+ & when (@flavor = latte) {
+ --color-blue: #rgbify(lighten(@accent, 30%))[];
}
- & when not(@lookup = latte) {
+ & when not(@flavor = latte) {
background: @mantle;
color: @subtext0;
}
@@ -421,7 +421,7 @@
}
/* Mod Stuff */
.el-color-dropdown__link-btn {
- color: @accent-color;
+ color: @accent;
}
.el-color-picker__color {
border-color: @surface1;
@@ -436,8 +436,8 @@
&:hover {
background-color: transparent;
- border-color: @accent-color;
- color: @accent-color;
+ border-color: @accent;
+ color: @accent;
}
}
/* Accent Text */
@@ -445,7 +445,7 @@
--color-white: #rgbify(@text)[];
}
.el-checkbox__input.is-checked + .el-checkbox__label {
- color: @accent-color;
+ color: @accent;
}
.button,
.option.active,
@@ -475,7 +475,7 @@
.list-editor-wrap .list-editor .body .delete-btn,
.open-user-search,
.save-btn {
- & when not(@lookup = latte) {
+ & when not(@flavor = latte) {
--color-white: #rgbify(@crust)[];
}
}
@@ -484,35 +484,35 @@
.el-message-box .el-button--primary,
.mod-badge-wrap,
.medialist.cards .entry-card .edit {
- & when not(@lookup = latte) {
+ & when not(@flavor = latte) {
--color-text-bright: #rgbify(@crust)[];
}
}
.submit-btn,
.random-btn {
- & when not(@lookup = latte) {
+ & when not(@flavor = latte) {
color: @crust;
}
}
.user .notification-dot,
.create-btn {
- & when not(@lookup = latte) {
+ & when not(@flavor = latte) {
color: @crust !important;
}
}
.el-radio__inner::after {
- & when not(@lookup = latte) {
+ & when not(@flavor = latte) {
background-color: @crust;
}
}
.icon,
.check {
- & when not(@lookup = latte) {
+ & when not(@flavor = latte) {
--color-blue-300: #rgbify(@crust)[];
}
}
.settings .button {
- & when (@lookup = latte) {
+ & when (@flavor = latte) {
--color-text-bright: #rgbify(#fff)[];
}
}
@@ -527,13 +527,13 @@
color: @base !important;
}
/* --------SETTINGS-------- */
- .el-radio__inner when not(@lookup = latte) {
+ .el-radio__inner when not(@flavor = latte) {
background-color: @text;
}
.el-checkbox__input.is-checked .el-checkbox__inner,
.el-radio__input.is-checked .el-radio__inner {
- background-color: @accent-color;
- border-color: @accent-color;
+ background-color: @accent;
+ border-color: @accent;
}
.el-checkbox__inner::after {
border-color: @crust;
@@ -541,7 +541,7 @@
left: 3px;
}
.el-radio__input.is-checked + .el-radio__label {
- color: @accent-color;
+ color: @accent;
}
/* --------HIDE SCROLLBAR IN BIO----- */
.section::-webkit-scrollbar {
@@ -570,7 +570,7 @@
border-radius: 10px;
margin-left: 0;
background-color: @base;
- color: @accent-color;
+ color: @accent;
}
.activity-feed .hohNoteSuffix:not(:empty),
.activity-feed .hohRewatchSuffix:not(:empty),
@@ -597,10 +597,10 @@
}
.hohButton,
.hohCheckbox input:checked + .el-checkbox__inner {
- background-color: @accent-color;
+ background-color: @accent;
}
.hohCheckbox input:checked + .el-checkbox__inner {
- border-color: @accent-color;
+ border-color: @accent;
}
.medialist.table .entry:hover,
.medialist.table .entry .title a:hover,
@@ -637,7 +637,7 @@
.like-wrap.thread .button.isFavourite .fa-heart,
.actions .favourite.isFavourite .fa-heart,
.actions .favourite {
- & when not(@lookup = latte) {
+ & when not(@flavor = latte) {
--color-white: #rgbify(@crust)[];
}
}
@@ -646,46 +646,45 @@
@-moz-document domain("anichart.net") {
body:not(.site-theme-dark) {
- #catppuccin(@lightFlavor, @accentColor);
+ #catppuccin(@lightFlavor);
}
.site-theme-dark {
- #catppuccin(@darkFlavor, @accentColor);
+ #catppuccin(@darkFlavor);
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accentColor];
- @contrast-color: @catppuccin[@@lookup][@@contrastColor];
+ #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(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -704,7 +703,7 @@
fill: @accent !important;
}
- & when not(@lookup = latte) {
+ & when not(@flavor = latte) {
.nav {
background: @mantle;
}
@@ -727,7 +726,7 @@
}
}
- & when (@lookup = latte) {
+ & when (@flavor = latte) {
--color-overlay: #rgbify(@text)[];
.external-link {
diff --git a/styles/arch-wiki/catppuccin.user.less b/styles/arch-wiki/catppuccin.user.less
index c169c197..ce255b65 100644
--- a/styles/arch-wiki/catppuccin.user.less
+++ b/styles/arch-wiki/catppuccin.user.less
@@ -16,50 +16,48 @@
==/UserStyle== */
@-moz-document domain("wiki.archlinux.org") {
- @media (prefers-color-scheme: dark) {
- :root {
- #catppuccin(@darkFlavor, @accentColor);
+ :root {
+ @media (prefers-color-scheme: light) {
+ #catppuccin(@lightFlavor);
}
- }
- @media (prefers-color-scheme: light) {
- :root {
- #catppuccin(@lightFlavor, @accentColor);
+ @media (prefers-color-scheme: dark) {
+ #catppuccin(@darkFlavor);
}
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -192,25 +190,25 @@
}
.archwiki-template-box-tip {
- background-color: fadeout(hsla(90, 90%, 65%, 0.3), 10%) !important;
- border-color: fadeout(hsla(90, 90%, 75%, 0.3), 10%);
+ background-color: hsla(90, 90%, 65%, 0.2) !important;
+ border-color: hsla(90, 90%, 75%, 0.2);
color: @subtext1;
}
.archwiki-template-box-note {
- background-color: fadeout(hsla(208, 100%, 61%, 0.3), 5%) !important;
- border-color: fadeout(hsla(208, 100%, 81%, 0.3), 5%) !important;
+ background-color: hsla(208, 100%, 61%, 0.25) !important;
+ border-color: hsla(208, 100%, 81%, 0.25) !important;
color: @subtext1;
}
.archwiki-template-box-warning {
- background-color: fadeout(hsla(7, 99%, 60%, 0.3), 5%) !important;
- border-color: fadeout(hsla(7, 99%, 80%, 0.3), 05%) !important;
+ background-color: hsla(7, 99%, 60%, 0.25) !important;
+ border-color: hsla(7, 99%, 80%, 0.25) !important;
color: @subtext1;
}
.firstHeading {
- color: @accent-color !important;
+ color: @accent !important;
}
#content {
@@ -236,7 +234,7 @@
.vector-pinnable-header-toggle-button,
.vector-pinnable-header-unpin-button {
color: @mantle;
- background-color: @accent-color;
+ background-color: @accent;
border-color: @base;
}
@@ -336,7 +334,7 @@
}
#archnavbar ul li.anb-selected a {
- color: @accent-color !important;
+ color: @accent !important;
}
.archwiki-template-message {
@@ -461,7 +459,7 @@
.cdx-button:enabled,
.cdx-button.cdxbutton--fake-button--enabled {
color: @mantle;
- background-color: @accent-color;
+ background-color: @accent;
border-color: @base;
}
@@ -482,7 +480,7 @@
}
.mw-headline::before {
- color: @accent-color !important;
+ color: @accent !important;
}
.cdx-button {
diff --git a/styles/boringproxy/catppuccin.user.less b/styles/boringproxy/catppuccin.user.less
index f567bc3b..0a5dffd2 100644
--- a/styles/boringproxy/catppuccin.user.less
+++ b/styles/boringproxy/catppuccin.user.less
@@ -16,50 +16,48 @@
==/UserStyle== */
@-moz-document domain("boring.example.com") {
- @media (prefers-color-scheme: light) {
- :root {
- #catppuccin(@lightFlavor, @accentColor);
+ :root {
+ @media (prefers-color-scheme: light) {
+ #catppuccin(@lightFlavor);
}
- }
- @media (prefers-color-scheme: dark) {
- :root {
- #catppuccin(@darkFlavor, @accentColor);
+ @media (prefers-color-scheme: dark) {
+ #catppuccin(@darkFlavor);
}
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -88,7 +86,7 @@
}
.menu-item:hover {
background: @surface2;
- color: @accent-color;
+ color: @accent;
}
.menu-item:any-link {
color: @text;
@@ -96,13 +94,13 @@
// Right SIde Button
.button {
- border-color: @accent-color;
+ border-color: @accent;
background-color: @crust;
color: @subtext1;
}
.button:hover {
color: @surface0;
- background-color: @accent-color;
+ background-color: @accent;
border-color: @crust;
}
@@ -112,7 +110,7 @@
}
.list-item {
- color: @accent-color;
+ color: @accent;
}
// Tunnel Table
.tn-tunnel-link {
@@ -127,7 +125,7 @@
color: @text;
}
body a:visited {
- color: @accent-color;
+ color: @accent;
}
.tn-attribute__name {
@@ -147,13 +145,13 @@
.input input {
background-color: @crust;
color: @subtext0;
- border-color: @accent-color;
+ border-color: @accent;
}
.input select {
background-color: @crust;
color: @subtext0;
- border-color: @accent-color;
+ border-color: @accent;
}
// Token Adding
@@ -163,7 +161,7 @@
.token-adder select {
background-color: @crust;
color: @subtext0;
- border-color: @accent-color;
+ border-color: @accent;
}
// Client Adding
@@ -173,12 +171,12 @@
.client-adder select {
background-color: @crust;
color: @subtext0;
- border-color: @accent-color;
+ border-color: @accent;
}
.client-adder input {
background-color: @crust;
color: @subtext0;
- border-color: @accent-color;
+ border-color: @accent;
}
// User Adding
@@ -188,7 +186,7 @@
.user-adder input {
background-color: @crust;
color: @subtext0;
- border-color: @accent-color;
+ border-color: @accent;
}
// dialog
.dialog__content {
diff --git a/styles/brave-search/catppuccin.user.less b/styles/brave-search/catppuccin.user.less
index 39d02824..26e0dbc2 100644
--- a/styles/brave-search/catppuccin.user.less
+++ b/styles/brave-search/catppuccin.user.less
@@ -17,53 +17,53 @@
@-moz-document domain("search.brave.com") {
:root.light {
- #catppuccin(@lightFlavor, @accentColor);
+ #catppuccin(@lightFlavor);
}
:root.dark {
- #catppuccin(@darkFlavor, @accentColor);
+ #catppuccin(@darkFlavor);
}
:root:not(.light, .dark) {
@media (prefers-color-scheme: light) {
- #catppuccin(@lightFlavor, @accentColor);
+ #catppuccin(@lightFlavor);
}
@media (prefers-color-scheme: dark) {
- #catppuccin(@darkFlavor, @accentColor);
+ #catppuccin(@darkFlavor);
}
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -77,9 +77,9 @@
--color-container-background: @crust;
--color-container-highlight: @mantle;
--color-serp-header-background: @crust;
- --color-text-interactive: @accent-color;
+ --color-text-interactive: @accent;
--color-divider-subtle: @surface0;
- --color-divider-interactive: @accent-color;
+ --color-divider-interactive: @accent;
--color-text-primary: @text;
--color-serp-bar-bg: @mantle;
--color-serp-divider-subtle-container: @surface0;
@@ -91,12 +91,12 @@
--color-serp-snippet-background: @base;
--color-link-default: @blue;
--color-link-visited: @mauve;
- --color-tabs-search-text-default: @accent-color;
- --color-primary-50: @accent-color;
- --color-primitive-primary-60: @accent-color;
- --color-primitive-primary-70: darken(@accent-color, 5%);
+ --color-tabs-search-text-default: @accent;
+ --color-primary-50: @accent;
+ --color-primitive-primary-60: @accent;
+ --color-primitive-primary-70: darken(@accent, 5%);
--color-container-interactive: transparent;
- --color-button-background: @accent-color;
+ --color-button-background: @accent;
--color-button-disabled: fade(@surface2, 30%);
--color-serp-settings-background: @mantle;
@@ -140,34 +140,34 @@
}
}
.button.type--outlined.theme--default:hover {
- background-color: @accent-color;
- border-color: @accent-color !important;
+ background-color: @accent;
+ border-color: @accent !important;
color: @base !important;
}
.tab-item.active .icon {
- fill: @accent-color !important;
+ fill: @accent !important;
}
.tab-item.active ::after {
- background: @accent-color !important;
+ background: @accent !important;
}
.logo-img {
@svg: escape(
- ''
+ ''
);
content: url("data:image/svg+xml,@{svg}");
}
.nav-logo .logo-large {
@svg: escape(
- ''
+ ''
);
content: url("data:image/svg+xml,@{svg}");
}
.nav-logo .logo-small {
@svg: escape(
- ''
+ ''
);
content: url("data:image/svg+xml,@{svg}");
}
@@ -187,13 +187,13 @@
}
input[type="radio"]:checked::after {
- background-color: @accent-color;
+ background-color: @accent;
}
.feedback-footer {
#logo {
@svg: escape(
- ''
+ ''
);
content: url("data:image/svg+xml,@{svg}");
height: 48px;
diff --git a/styles/bsky/catppuccin.user.less b/styles/bsky/catppuccin.user.less
index f2f614be..0f31ed32 100644
--- a/styles/bsky/catppuccin.user.less
+++ b/styles/bsky/catppuccin.user.less
@@ -16,61 +16,56 @@
==/UserStyle== */
@-moz-document domain("bsky.app") {
- @media (prefers-color-scheme: light) {
- html.colorMode--system {
- #catppuccin(@lightFlavor, @accentColor);
+ html.colorMode--system {
+ @media (prefers-color-scheme: light) {
+ #catppuccin(@lightFlavor);
}
- }
- @media (prefers-color-scheme: dark) {
- html.colorMode--system {
- #catppuccin(@darkFlavor, @accentColor);
+ @media (prefers-color-scheme: dark) {
+ #catppuccin(@darkFlavor);
}
}
html.theme--light {
- #catppuccin(@lightFlavor, @accentColor);
+ #catppuccin(@lightFlavor);
}
html.theme--dim,
html.theme--dark {
- #catppuccin(@darkFlavor, @accentColor);
+ #catppuccin(@darkFlavor);
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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(@lookup = latte, light, dark);
-
- // fix general site background - this applies to the element
- background-color: @base;
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -80,6 +75,9 @@
}
}
+ // fix general site background - this applies to the element
+ background-color: @base;
+
--text: @text;
--background: @base;
--backgroundLight: @base;
@@ -88,20 +86,16 @@
[style*="color: rgb(255, 255, 255)"],
[style*="color: rgb(241, 243, 245)"] //,
/* [style*="color: rgb(11, 15, 20)"] this breas on dark */ {
- color: @text !important;
- & when (@lookup = latte) {
- /* fix button text in latte */
- color: @base !important;
- }
+ color: if(@flavor = latte, @base, @text) !important;
}
/* some background color of follow button + hover */
[style*="background-color: rgb(241, 243, 245)"] {
- background-color: if(@lookup = latte, @crust, @text) !important;
+ background-color: if(@flavor = latte, @crust, @text) !important;
}
[style*="color: rgb(11, 15, 20)"] {
- color: if(@lookup = latte, @text, @crust) !important;
+ color: if(@flavor = latte, @text, @crust) !important;
}
/* secondary text */
@@ -127,20 +121,20 @@
[style*="color: rgb(16, 131, 254)"], // dark
[style*="color: rgb(32, 139, 254)"] // dim
{
- color: @accent-color !important;
+ color: @accent !important;
}
/* generic blue inline underline (links) */
[style*="text-decoration-color: rgb(16, 131, 254)"], // dark
[style*="text-decoration-color: rgb(32, 139, 254)"] // dim
{
- text-decoration-color: @accent-color !important;
+ text-decoration-color: @accent !important;
}
/* generic blue inline bg color (e.g. notification count) */
[style*="background-color: rgb(16, 131, 254)"], // dark
[style*="background-color: rgb(32, 139, 254)"] // dim
{
- background-color: @accent-color !important;
+ background-color: @accent !important;
/* notification count contrast fix, also chat message contrast fix (> div) */
&[style*="color: rgb(241, 243, 245)"],
@@ -158,25 +152,25 @@
/* sending/pending/failed direct message */
[style*="background-color: rgb(1, 64, 132)"] {
- background-color: fadeout(@accent-color, 70%) !important;
+ background-color: fade(@accent, 30%) !important;
}
/* blue svg inline */
[stroke="hsl(211, 99%, 53%)"],
[stroke="#0085ff"] {
- stroke: @accent-color;
+ stroke: @accent;
}
[fill="hsl(211, 99%, 53%)"],
[fill="hsl(211, 99%, 56%)"],
[fill="#0085ff"] {
- fill: @accent-color;
+ fill: @accent;
}
/* a lot of blue things (buttons etc) */
.r-wzwllv,
div[style*="background-color: rgb(0, 133, 255)"] {
- background-color: @accent-color !important;
+ background-color: @accent !important;
/* notification count contrast fix, also chat message contrast fix (> div) */
&[style*="color: rgb(241, 243, 245)"],
@@ -237,7 +231,7 @@
[style*="background-color: rgb(22, 30, 39)"] {
background-color: @base !important;
- & when (@lookup = latte) {
+ & when (@flavor = latte) {
/* fix button colors in latte */
[style*="background-color: rgb(0, 0, 0)"] {
background-color: @text !important;
@@ -261,12 +255,12 @@
/* some sort of tertiary background color with a slight accent */
[style*="background-color: rgb(0, 25, 51)"] {
- background-color: fadeout(@accent-color, 70%) !important;
+ background-color: fade(@accent, 30%) !important;
}
/* loading circle */
circle[style^="stroke: rgb(25, 118, 210)"] {
- stroke: @accent-color !important;
+ stroke: @accent !important;
}
/* wide site: new post button (w text) */
@@ -275,9 +269,9 @@
button[style*="background-color: rgb(32, 139, 254)"], // dim
button[style*="background-color: rgb(76, 162, 254)"] // dim (hover)
{
- background-color: @accent-color !important;
+ background-color: @accent !important;
&:hover {
- background-color: fade(@accent-color, 70%) !important;
+ background-color: fade(@accent, 70%) !important;
}
> div {
@@ -295,7 +289,7 @@
/* fix selected tab bottom border issue caused by selector above */
.css-175oi2r[style*="border-bottom-color: rgb(16, 131, 254)"] {
- border-bottom-color: @accent-color !important;
+ border-bottom-color: @accent !important;
}
/* fixes the bottom border on tabs (timeline) having a darker color */
@@ -305,7 +299,7 @@
/* current selected tab (acc page) !! KEEP THIS BELOW ABOVE DEFINITION !! */
[style*="border-color: rgb(255, 255, 255)"] {
- border-color: @accent-color !important;
+ border-color: @accent !important;
}
/* settings highlight thing */
@@ -352,7 +346,7 @@
/* "save changes" button in edit profile */
> div[style*="background-image: linear-gradient(94.0544deg, rgb(90, 113, 250), rgb(0, 133, 255))"] {
- background: @accent-color !important;
+ background: @accent !important;
}
/* fix contrast issues */
@@ -365,7 +359,7 @@
[data-testid="saveBtn"] {
> div[style*="background-image: linear-gradient"] {
background: unset !important;
- background-color: @accent-color !important;
+ background-color: @accent !important;
> div {
color: @crust !important;
}
@@ -392,7 +386,7 @@
/* the round gradient post button in the bottom right when the page is thinner than usual */
[data-testid="composeFAB"] > div {
background: unset !important;
- background-color: @accent-color !important;
+ background-color: @accent !important;
// fix contrast (inner symbol)
.r-jwli3a {
@@ -403,7 +397,7 @@
/* blue text only button (e.g. cancel post button) */
div[style*="color: rgb(52, 150, 254)"],
div[style*="color: rgb(76, 162, 254)"] {
- color: @accent-color !important;
+ color: @accent !important;
}
/* text color when writing a post */
@@ -415,12 +409,12 @@
/* some button background color (when hovering) */
[style*="background-color: rgb(0, 44, 91)"],
[style*="background-color: rgb(19, 63, 109)"] {
- background-color: fade(@accent-color, 30%) !important;
+ background-color: fade(@accent, 30%) !important;
}
/* several white buttons */
button[style*="background-color: rgb(255, 255, 255)"] when not(
- @lookup = latte
+ @flavor = latte
) {
background-color: @text !important;
}
@@ -463,7 +457,7 @@
path[fill="hsl(211, 20%, 95.3%)"] {
fill: @text;
- & when (@lookup = latte) {
+ & when (@flavor = latte) {
fill: @base;
}
}
@@ -482,9 +476,9 @@
/* x invite codes available icon */
div[style*="background-color: rgb(191, 225, 255)"],
div[style*="background-color: rgb(1, 37, 97)"] {
- background-color: fadeout(@accent-color, 70%) !important;
+ background-color: fade(@accent, 30%) !important;
> svg > path[fill="#52acfe"] {
- fill: @accent-color;
+ fill: @accent;
}
}
@@ -526,7 +520,7 @@
/* onboarding: continue/next button */
[data-testid="continueBtn"] {
- background-color: @accent-color !important;
+ background-color: @accent !important;
}
[data-testid="continueBtn"] > div > div {
color: @base !important;
@@ -537,7 +531,7 @@
/* pretty self explanatory, user mentions in the post create modal */
.mention {
- color: @accent-color;
+ color: @accent;
}
/* mentions in the notification tab (highlighted notifications) */
@@ -545,7 +539,7 @@
div[style*="background-color: rgb(21, 41, 63)"], // dim
div[style*="background-color: rgb(240, 247, 255)"] // light
{
- background-color: fadeout(@accent-color, 70%) !important;
+ background-color: fade(@accent, 30%) !important;
.css-175oi2r:not([role="checkbox"] *) {
background-color: transparent !important;
}
@@ -553,7 +547,7 @@
/* generic blue background color inline (used for buttons in notifications tab) */
button[style*="background-color: rgb(0, 133, 255)"] {
- background-color: @accent-color !important;
+ background-color: @accent !important;
}
/* contrast fix for above */
button[style*="background-color: rgb(0, 133, 255)"] > div > div {
@@ -562,7 +556,7 @@
/* other button in notifications tab, inner text */
div[style*="color: rgb(82, 172, 254)"] {
- color: @accent-color !important;
+ color: @accent !important;
}
/* "No notifications yet!" text in the notifications tab */
diff --git a/styles/bstats/catppuccin.user.less b/styles/bstats/catppuccin.user.less
index e1d7927a..0c6d445f 100644
--- a/styles/bstats/catppuccin.user.less
+++ b/styles/bstats/catppuccin.user.less
@@ -18,50 +18,48 @@
==/UserStyle== */
@-moz-document domain("bstats.org") {
- @media (prefers-color-scheme: light) {
- :root {
- #catppuccin(@lightFlavor, @accentColor);
+ :root {
+ @media (prefers-color-scheme: light) {
+ #catppuccin(@lightFlavor);
}
- }
- @media (prefers-color-scheme: dark) {
- :root {
- #catppuccin(@darkFlavor, @accentColor);
+ @media (prefers-color-scheme: dark) {
+ #catppuccin(@darkFlavor);
}
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -199,18 +197,18 @@
}
/* discord logo on homepage */
- img[src="/images/discord.svg"] when (@lookup = latte) {
+ img[src="/images/discord.svg"] when (@flavor = latte) {
filter: saturate(210%) hue-rotate(-20deg) brightness(82%);
}
- img[src="/images/discord.svg"] when (@lookup = frappe) {
+ img[src="/images/discord.svg"] when (@flavor = frappe) {
filter: saturate(53%) hue-rotate(-10deg) brightness(147%) contrast(90%)
sepia(15%) invert(2%);
}
- img[src="/images/discord.svg"] when (@lookup = macchiato) {
+ img[src="/images/discord.svg"] when (@flavor = macchiato) {
filter: saturate(52%) hue-rotate(-15deg) brightness(157%) contrast(90%)
sepia(10%);
}
- img[src="/images/discord.svg"] when (@lookup = mocha) {
+ img[src="/images/discord.svg"] when (@flavor = mocha) {
filter: saturate(38%) hue-rotate(-25deg) brightness(153%) sepia(6%);
}
@@ -240,7 +238,7 @@
}
.input-field label {
- color: @accent-color !important;
+ color: @accent !important;
}
/* search unfocused */
input:not([type]),
@@ -273,8 +271,8 @@
input[type="number"]:focus:not([readonly]),
input[type="search"]:focus:not([readonly]),
textarea.materialize-textarea:focus:not([readonly]) {
- border-bottom-color: @accent-color;
- box-shadow: 0 1px 0 0 @accent-color;
+ border-bottom-color: @accent;
+ box-shadow: 0 1px 0 0 @accent;
}
/* valid input */
input:not([type]).valid,
@@ -311,7 +309,7 @@
.teal-text.text-darken-2,
.teal-text.text-lighten-3,
a {
- color: @accent-color !important;
+ color: @accent !important;
}
.btn,
@@ -376,7 +374,7 @@
}
.dropdown-content li > a,
.dropdown-content li > span {
- color: @accent-color;
+ color: @accent;
}
.divider {
@@ -394,12 +392,12 @@
}
}
.switch label input[type="checkbox"]:checked + .lever {
- background-color: desaturate(darken(@accent-color, 25%), 50%);
- & when (@lookup = latte) {
- background-color: desaturate(lighten(@accent-color, 12%), 30%);
+ background-color: desaturate(darken(@accent, 25%), 50%);
+ & when (@flavor = latte) {
+ background-color: desaturate(lighten(@accent, 12%), 30%);
}
&::after {
- background-color: @accent-color;
+ background-color: @accent;
}
}
@@ -409,12 +407,12 @@
background-color: @surface1;
}
.chips .chip.selected {
- background-color: @accent-color;
+ background-color: @accent;
color: @base;
}
.chips.focus {
- border-bottom-color: @accent-color;
- box-shadow: 0 1px 0 0 @accent-color;
+ border-bottom-color: @accent;
+ box-shadow: 0 1px 0 0 @accent;
}
.chips .input {
color: @text;
@@ -426,7 +424,7 @@
/* HIGHCHARTS "let's hope this does'nt break"-section */
/* all the charts */
.highcharts-graph when (@graphUseAccentColor = 1) {
- stroke: @accent-color;
+ stroke: @accent;
}
.highcharts-graph when (@graphUseAccentColor = 0) {
stroke: @red;
@@ -435,7 +433,7 @@
.highcharts-area {
fill: fade(@red, 5%) !important;
& when (@graphUseAccentColor = 1) {
- fill: fade(@accent-color, 5%) !important;
+ fill: fade(@accent, 5%) !important;
}
}
@@ -446,7 +444,7 @@
/* map blends in with background on latte flavor */
.highcharts-map-series .highcharts-point {
stroke: @base !important;
- & when (@lookup = latte) {
+ & when (@flavor = latte) {
stroke: @overlay0 !important;
}
}
@@ -475,14 +473,14 @@
fill: @red !important;
stroke: none !important;
& when (@graphUseAccentColor = 1) {
- fill: @accent-color !important;
+ fill: @accent !important;
}
}
.highcharts-markers path {
fill: @red !important;
stroke: @base !important;
& when (@graphUseAccentColor = 1) {
- fill: @accent-color !important;
+ fill: @accent !important;
}
}
@@ -587,7 +585,7 @@
color: @text !important;
&:hover {
color: @base !important;
- background: @accent-color !important;
+ background: @accent !important;
}
}
/* pie text "shadow" */
@@ -626,7 +624,7 @@
.highcharts-label.highcharts-tooltip-box tspan[style="fill:#F44336"] {
fill: @red !important;
& when (@graphUseAccentColor = 1) {
- fill: @accent-color !important;
+ fill: @accent !important;
}
}
/* map hover text */
diff --git a/styles/canvas-lms/catppuccin.user.less b/styles/canvas-lms/catppuccin.user.less
index 556a1299..46275904 100644
--- a/styles/canvas-lms/catppuccin.user.less
+++ b/styles/canvas-lms/catppuccin.user.less
@@ -16,50 +16,48 @@
==/UserStyle== */
@-moz-document domain("instructure.com") {
- @media (prefers-color-scheme: light) {
- :root {
- #catppuccin(@lightFlavor, @accentColor);
+ :root {
+ @media (prefers-color-scheme: light) {
+ #catppuccin(@lightFlavor);
}
- }
- @media (prefers-color-scheme: dark) {
- :root {
- #catppuccin(@darkFlavor, @accentColor);
+ @media (prefers-color-scheme: dark) {
+ #catppuccin(@darkFlavor);
}
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -82,7 +80,7 @@
.panel,
span {
background-color: @base;
- color: @accent-color;
+ color: @accent;
}
#application,
@@ -92,12 +90,12 @@
.context_modules {
background: @base !important;
background-color: @base !important;
- color: @accent-color !important;
+ color: @accent !important;
}
a,
.page-title {
- color: fadeout(@text, 80%) !important;
+ color: fade(@text, 20%) !important;
}
* {
@@ -120,7 +118,7 @@
.ic-app-header__menu-list-item.ic-app-header__menu-list-item--active
.ic-app-header__menu-list-link {
- background-color: fadeout(@crust, 80%);
+ background-color: fade(@crust, 20%);
}
body {
@@ -145,10 +143,10 @@
}
:root {
- --ic-brand-global-nav-avatar-border: @accent-color;
- --ic-brand-font-color-dark: fadeout(@accent-color, 80%);
- --ic-brand-primary: @accent-color;
- --ic-brand-global-nav-ic-icon-svg-fill: fadeout(@accent-color, 50%);
+ --ic-brand-global-nav-avatar-border: @accent;
+ --ic-brand-font-color-dark: fade(@accent, 20%);
+ --ic-brand-primary: @accent;
+ --ic-brand-global-nav-ic-icon-svg-fill: fade(@accent, 50%);
--eMdva-color: @base !important;
--ccWIh-color: @crust;
}
@@ -156,7 +154,7 @@
.menu-item-icon-container,
.menu-item__badge,
.nav-badge {
- color: fadeout(@text, 80%);
+ color: fade(@text, 20%);
}
.list-view a.active {
diff --git a/styles/chatgpt/catppuccin.user.less b/styles/chatgpt/catppuccin.user.less
index 8ba355b4..67fd3fc1 100644
--- a/styles/chatgpt/catppuccin.user.less
+++ b/styles/chatgpt/catppuccin.user.less
@@ -19,41 +19,41 @@
@import url("https://unpkg.com/@catppuccin/highlightjs@1.0.0/css/catppuccin-variables.important.css");
:root.light {
- #catppuccin(@lightFlavor, @accentColor);
+ #catppuccin(@lightFlavor);
}
:root.dark {
- #catppuccin(@darkFlavor, @accentColor);
+ #catppuccin(@darkFlavor);
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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;
@@ -82,10 +82,10 @@
--ctp-mantle: @mantle;
--ctp-crust: @crust;
- color-scheme: if(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -116,12 +116,12 @@
color: @text;
- @white: if(@lookup = latte, @crust, @text);
- @black: if(@lookup = latte, @text, @crust);
+ @white: if(@flavor = latte, @crust, @text);
+ @black: if(@flavor = latte, @text, @crust);
--white: @white;
--black: @black;
- & when not(@lookup = latte) {
+ & when not(@flavor = latte) {
--gray-50: lighten(mix(@text, @subtext0), 5%);
--gray-100: @text;
--gray-200: @subtext1;
@@ -134,7 +134,7 @@
--gray-800: @base;
--gray-900: @mantle;
--gray-950: @crust;
- --brand-purple: @accent-color;
+ --brand-purple: @accent;
--text-primary: var(--gray-100) !important;
--text-secondary: var(--gray-200) !important;
--text-tertiary: var(--gray-300) !important;
@@ -158,7 +158,7 @@
--text-tertiary: var(--gray-300) !important;
}
}
- & when (@lookup = latte) {
+ & when (@flavor = latte) {
--gray-50: @crust;
--gray-100: @mantle;
--gray-200: @base;
@@ -170,7 +170,7 @@
--gray-800: @subtext0;
--gray-900: @subtext1;
--gray-950: @text;
- --brand-purple: @accent-color;
+ --brand-purple: @accent;
--text-primary: var(--gray-950);
--text-secondary: var(--gray-600);
--text-tertiary: var(--gray-400);
@@ -199,16 +199,16 @@
--border-medium: fade(@text, 15%);
--border-heavy: fade(@text, 20%);
--border-xheavy: fade(@text, 25%);
- --link: @accent-color;
+ --link: @accent;
--link-hover: if(
- @lookup = latte,
- lighten(@accent-color, 10%),
- darken(@accent-color, 10%)
+ @flavor = latte,
+ lighten(@accent, 10%),
+ darken(@accent, 10%)
);
*:focus {
--tw-ring-offset-color: @base;
- --tw-ring-color: @accent-color;
+ --tw-ring-color: @accent;
}
/* ChatGPT logo */
@@ -249,7 +249,7 @@
[type="radio"] {
background-color: @base;
border-color: @overlay2;
- color: @accent-color;
+ color: @accent;
}
.form-input,
@@ -264,7 +264,7 @@
.form-multiselect:focus,
.form-select:focus,
.form-textarea:focus {
- border-color: @accent-color;
+ border-color: @accent;
}
.form-input::placeholder,
@@ -276,15 +276,15 @@
.btn-primary,
.btn-green {
- background-color: @accent-color;
+ background-color: @accent;
color: @base;
&:hover {
- background-color: darken(@accent-color, 10%);
+ background-color: darken(@accent, 10%);
}
&:focus-visible {
- --tw-ring-color: darken(@accent-color, 10%) !important;
+ --tw-ring-color: darken(@accent, 10%) !important;
}
}
@@ -419,7 +419,7 @@
}
.\!bg-brand-purple {
- background-color: @accent-color !important;
+ background-color: @accent !important;
}
.\!bg-gray-200 {
@@ -451,7 +451,7 @@
}
.bg-[\#B161FD] {
- background-color: @accent-color;
+ background-color: @accent;
}
.bg-[\#F8CA27] {
@@ -538,7 +538,7 @@
}
.checked\:bg-blue-600:checked {
- background-color: @accent-color;
+ background-color: @accent;
}
.bg-brand-green {
@@ -554,7 +554,7 @@
}
.bg-brand-purple {
- background-color: @accent-color;
+ background-color: @accent;
}
.bg-gray-100 {
@@ -674,13 +674,13 @@
}
.radix-state-checked\:\!bg-green-600[data-state="checked"] {
- background-color: @accent-color !important;
+ background-color: @accent !important;
}
.dark\:radix-state-checked\:border-green-600[data-state="checked"]:is(
.dark *
) {
- border-color: @accent-color;
+ border-color: @accent;
}
[class*="bg-transparent"] {
@@ -704,7 +704,7 @@
}
.stroke-brand-purple\/25 {
- stroke: fade(@accent-color, 25%);
+ stroke: fade(@accent, 25%);
}
.stroke-gray-400 {
@@ -750,7 +750,7 @@
}
.text-brand-purple {
- color: @accent-color;
+ color: @accent;
}
.text-gray-100 {
@@ -871,7 +871,7 @@
/* Dark mode overrides */
/* stylelint-disable-next-line no-duplicate-selectors */
- & when not(@lookup = latte) {
+ & when not(@flavor = latte) {
.dark\:bg-black {
background-color: @black;
}
@@ -977,51 +977,48 @@
}
@-moz-document domain("auth.openai.com") {
- @media (prefers-color-scheme: light) {
- :root {
- #catppuccin(@lightFlavor, @accentColor);
+ :root {
+ @media (prefers-color-scheme: light) {
+ #catppuccin(@lightFlavor);
+ }
+ @media (prefers-color-scheme: dark) {
+ #catppuccin(@darkFlavor);
}
}
- @media (prefers-color-scheme: dark) {
- :root {
- #catppuccin(@darkFlavor, @accentColor);
- }
- }
+ #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];
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
-
- color-scheme: if(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -1036,7 +1033,7 @@
caret-color: @text;
a {
- color: @accent-color;
+ color: @accent;
}
body,
@@ -1066,10 +1063,10 @@
&:focus,
&:valid {
- border-color: @accent-color;
+ border-color: @accent;
+ .email-label {
- color: @accent-color;
+ color: @accent;
background-color: @base;
}
}
@@ -1080,7 +1077,7 @@
}
.continue-btn {
- background-color: @accent-color;
+ background-color: @accent;
color: @base;
}
@@ -1124,49 +1121,55 @@
@-moz-document domain("auth0.openai.com") {
@media (prefers-color-scheme: light) {
:root {
- #catppuccin(@lightFlavor, @accentColor);
+ #catppuccin(@lightFlavor);
}
}
@media (prefers-color-scheme: dark) {
:root {
- #catppuccin(@darkFlavor, @accentColor);
+ #catppuccin(@darkFlavor);
}
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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];
- --primary-color: @accent-color;
- --primary-color-no-override: @accent-color;
- --action-primary-color: @accent-color;
- --link-color: @accent-color;
+ color-scheme: if(@flavor = latte, light, dark);
+
+ ::selection {
+ background-color: fade(@accent, 30%);
+ }
+
+ --primary-color: @accent;
+ --primary-color-no-override: @accent;
+ --action-primary-color: @accent;
+ --link-color: @accent;
--page-background-color: @base;
--info-color: @blue;
--success-color: @green;
@@ -1186,7 +1189,7 @@
._button-login-password,
._button-login-id {
- background-color: @accent-color;
+ background-color: @accent;
color: @base;
}
diff --git a/styles/chatreplay/catppuccin.user.less b/styles/chatreplay/catppuccin.user.less
index a0a6b94c..c68ac5dd 100644
--- a/styles/chatreplay/catppuccin.user.less
+++ b/styles/chatreplay/catppuccin.user.less
@@ -20,63 +20,53 @@
@-moz-document domain("chatreplay.stream") {
:root[dark] #chat-container {
- #catppuccin(@darkFlavor, @accentColor, chat);
+ #catppuccin(@darkFlavor, chat);
}
:root #chat-container {
- #catppuccin(@lightFlavor, @accentColor, chat);
+ #catppuccin(@lightFlavor, chat);
}
- @media (prefers-color-scheme: light) {
- :root {
- #catppuccin(@lightFlavor, @accentColor, base);
+ :root {
+ @media (prefers-color-scheme: light) {
+ #catppuccin(@lightFlavor, base);
}
- }
- @media (prefers-color-scheme: dark) {
- :root {
- #catppuccin(@darkFlavor, @accentColor, base);
+ @media (prefers-color-scheme: dark) {
+ #catppuccin(@darkFlavor, base);
}
}
- /* 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; };
- };
+ #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];
- #catppuccin(@lookup, @accent, @platform) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
-
- color-scheme: if(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -89,7 +79,7 @@
& when (@platform = chat) {
a:not(.username),
i {
- color: @accent-color;
+ color: @accent;
}
color: @text;
--text-color: @text;
@@ -101,18 +91,18 @@
--bg-color-highlight: @surface0;
--scrollbar-thumb: @surface0;
--btn-hover-bg: @surface1;
- --link-color: @accent-color;
+ --link-color: @accent;
--border-color: @surface0;
- --settings-shadow: 0 4px 8px rgba(@crust, 0.4), 0 0 4px rgba(@crust, 0.4);
+ --settings-shadow: 0 4px 8px fade(@crust, 40%), 0 0 4px fade(@crust, 40%);
.message-notice {
- border-left-color: @accent-color;
+ border-left-color: @accent;
}
.message--highlighted a {
- color: @accent-color;
+ color: @accent;
}
.message--highlighted {
- background: @accent-color;
- border-color: @accent-color;
+ background: @accent;
+ border-color: @accent;
color: @base;
text-shadow: none;
}
@@ -162,14 +152,14 @@
}
a,
i {
- color: @accent-color;
+ color: @accent;
}
button.gradient,
.btn.gradient {
background: linear-gradient(
45deg,
- @accent-color,
- spin(@accent-color, 45)
+ @accent,
+ spin(@accent, 45)
);
color: @base;
text-shadow: none;
@@ -190,7 +180,7 @@
}
[d="M 4,0 1,3 v 10 h 4 v 3 l 3,-3 h 2 L 15,8 V 0 Z m 10,7 -3,3 H 9 L 7,12 V 10 H 5 V 1 h 9 z"],
[d="m 8.5,3 3,2 -3,2 z"] {
- fill: @accent-color;
+ fill: @accent;
}
[d="m 4,1 h 10 v 7 l -4,4 H 4 Z"] {
fill: @base;
@@ -199,7 +189,7 @@
border-color: @red;
}
.mark.z8oy0d.z8oy0d {
- background: @accent-color;
+ background: @accent;
color: @base;
}
.bg.c1ejz165.c1ejz165 {
@@ -215,3 +205,11 @@
}
}
}
+
+/* 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 d2c557ba..d10c98e5 100644
--- a/styles/chess.com/catppuccin.user.less
+++ b/styles/chess.com/catppuccin.user.less
@@ -19,48 +19,48 @@
@-moz-document domain("chess.com") {
:root {
- #catppuccin(@lightFlavor, @accentColor);
+ #catppuccin(@lightFlavor);
}
:root.dark-mode {
- #catppuccin(@darkFlavor, @accentColor);
+ #catppuccin(@darkFlavor);
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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];
- @highlight-color: @catppuccin[@@lookup][@@highlightColor];
+ @highlight: @catppuccin[@@flavor][@@highlightColor];
- color-scheme: if(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -99,9 +99,9 @@
--color-border-default: @surface1;
--color-border-subtle: @overlay2;
- --color-border-selected: @accent-color;
+ --color-border-selected: @accent;
- --color-green-300: @accent-color;
+ --color-green-300: @accent;
--color-red-300: @red; /* Danger */
--color-red-400: @red; /* Danger */
--color-green-400: @green; /* Success */
@@ -143,7 +143,7 @@
--globalBackgroundOpaque: @mantle !important;
--globalSecondaryBackground: @crust !important;
--globalTertiaryBackground: @surface0 !important;
- --globalAccentBackground: @accent-color !important;
+ --globalAccentBackground: @accent !important;
--globalSecondaryAccentBackground: @surface0 !important;
--globalSiteBackground: @base !important;
--globalBorder: @surface0 !important;
@@ -156,11 +156,11 @@
--globalColorThemeBlueToMid: @text;
--globalOverlayBackground: @base !important;
--globalColorWin: @green !important;
- --globalColorDraw: @accent-color !important;
+ --globalColorDraw: @accent !important;
--globalColorLoss: @red !important;
--labelBgColor: @surface1;
- --activeLabelColor: @accent-color;
+ --activeLabelColor: @accent;
--buttonBgColor: @text;
--nodeColor: @text;
@@ -262,10 +262,10 @@
&.ui_v5-button-primary {
color: @crust !important;
- background-color: @accent-color;
+ background-color: @accent;
&:hover {
- background-color: darken(@accent-color, 5%);
+ background-color: darken(@accent, 5%);
box-shadow: none;
}
}
@@ -383,8 +383,8 @@
.cc-button-component,
.cc-button-primary {
- --bgColor: @accent-color;
- --bgColorHover: darken(@accent-color, 5%);
+ --bgColor: @accent;
+ --bgColorHover: darken(@accent, 5%);
--textColor: @crust;
--textColorHover: @crust;
box-shadow: none;
@@ -392,8 +392,8 @@
.cc-button-primary,
.cc-button-monetization {
- --borderBottomLine: darken(@accent-color, 2%);
- --borderBottomLineHover: darken(@accent-color, 4%);
+ --borderBottomLine: darken(@accent, 2%);
+ --borderBottomLineHover: darken(@accent, 4%);
}
.cc-button-secondary {
@@ -438,7 +438,7 @@
}
.highlight {
- background: @highlight-color !important;
+ background: @highlight !important;
opacity: 1 !important;
}
.hover-square rect {
@@ -510,7 +510,7 @@
/* Ads */
.placeholder-ad-upgrade {
- background-color: @accent-color;
+ background-color: @accent;
}
.placeholder-ad-link {
color: @crust;
@@ -518,7 +518,7 @@
.modal-trial-component.modal-trial-special-offer {
.modal-trial-header-background {
- background-color: @accent-color;
+ background-color: @accent;
}
}
@@ -542,7 +542,7 @@
/* Misc */
/* GM/IM/etc badge */
- --color-bg-chesstitle: @accent-color;
+ --color-bg-chesstitle: @accent;
.course-author-title,
.course-header-author-title,
.form-dropdown-short-title,
@@ -589,7 +589,7 @@
}
.status-component {
- background-color: @accent-color;
+ background-color: @accent;
color: @crust;
}
@@ -609,7 +609,7 @@
/* Board */
@board: escape(
- ''
+ ''
);
#board-play-computer,
@@ -618,7 +618,7 @@
}
.coordinate-light {
- fill: @accent-color;
+ fill: @accent;
}
.coordinate-dark {
fill: @surface0;
@@ -666,7 +666,7 @@
}
--theme-board-style-image: url("data:image/svg+xml,@{board}");
- --theme-board-style-highlight-color: @highlight-color;
+ --theme-board-style-highlight-color: @highlight;
--theme-piece-set-wp: #piece(@pawn, "white")[];
--theme-piece-set-wn: #piece(@knight, "white")[];
diff --git a/styles/cinny/catppuccin.user.less b/styles/cinny/catppuccin.user.less
index 173a1556..a81afbc1 100644
--- a/styles/cinny/catppuccin.user.less
+++ b/styles/cinny/catppuccin.user.less
@@ -16,40 +16,49 @@
==/UserStyle== */
@-moz-document domain("cinny.in") {
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ :root,
+ .silver-theme {
+ #catppuccin(@lightFlavor);
+ }
- color-scheme: if(@lookup = latte, light, dark);
+ .dark-theme,
+ .butter-theme {
+ #catppuccin(@darkFlavor);
+ }
+
+ #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-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -71,10 +80,10 @@
--bg-surface-active: @surface1;
--bg-overlay: fade(@crust, 60%);
--bg-overlay-low: fade(@crust, 80%);
- --bg-primary: @accent-color;
- --bg-primary-hover: fade(@accent-color, 80%);
- --bg-primary-active: fade(@accent-color, 70%);
- --bg-primary-border: fade(@accent-color, 38%);
+ --bg-primary: @accent;
+ --bg-primary-hover: fade(@accent, 80%);
+ --bg-primary-active: fade(@accent, 70%);
+ --bg-primary-border: fade(@accent, 38%);
--bg-tooltip: @surface0;
--bg-badge: @lavender;
--bg-positive: @green;
@@ -165,10 +174,10 @@
--oq6d07j: @base;
- --oq6d07k: fade(@accent-color, 50%);
- --oq6d07l: fade(@accent-color, 40%);
- --oq6d07m: fade(@accent-color, 30%);
- --oq6d07n: fade(@accent-color, 20%);
+ --oq6d07k: fade(@accent, 50%);
+ --oq6d07l: fade(@accent, 40%);
+ --oq6d07m: fade(@accent, 30%);
+ --oq6d07n: fade(@accent, 20%);
--oq6d07o: @text;
--oq6d07p: @subtext1;
@@ -239,7 +248,7 @@
/* Search results */
._1m2qi7rn {
- background-color: @accent-color;
+ background-color: @accent;
color: @base;
}
@@ -259,16 +268,6 @@
background-color: @base;
}
}
-
- :root,
- .silver-theme {
- #catppuccin(@lightFlavor, @accentColor);
- }
-
- .dark-theme,
- .butter-theme {
- #catppuccin(@darkFlavor, @accentColor);
- }
}
/* deno-fmt-ignore */
diff --git a/styles/cobalt/catppuccin.user.less b/styles/cobalt/catppuccin.user.less
index 3de1cb09..52608404 100644
--- a/styles/cobalt/catppuccin.user.less
+++ b/styles/cobalt/catppuccin.user.less
@@ -17,45 +17,45 @@
@-moz-document domain("cobalt.tools") {
[data-theme="dark"] {
- #catppuccin(@darkFlavor, @accentColor);
+ #catppuccin(@darkFlavor);
}
[data-theme="light"] {
- #catppuccin(@lightFlavor, @accentColor);
+ #catppuccin(@lightFlavor);
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -84,7 +84,7 @@
--sidebar-highlight: @text;
--input-border: @surface2;
--popup-bg: @mantle;
- --toggle-bg-enabled: @accent-color;
+ --toggle-bg-enabled: @accent;
#donate-page {
--donate-gradient-start: @surface1 !important;
diff --git a/styles/codeberg/catppuccin.user.less b/styles/codeberg/catppuccin.user.less
index ee9f3395..84c3e733 100644
--- a/styles/codeberg/catppuccin.user.less
+++ b/styles/codeberg/catppuccin.user.less
@@ -25,40 +25,51 @@
}
@-moz-document domain("codeberg.org") {
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ [data-theme="codeberg-dark"],
+ [data-theme="codeberg-light"],
+ [data-theme="codeberg-auto"] {
+ @media (prefers-color-scheme: light) {
+ #catppuccin(@lightFlavor);
+ }
+ @media (prefers-color-scheme: dark) {
+ #catppuccin(@darkFlavor);
+ }
+ }
+
+ #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. */
--color-body: @base;
--color-nav-text: @crust;
- --color-nav-hover-bg: darken(@accent-color, 5%);
+ --color-nav-hover-bg: darken(@accent, 5%);
--color-secondary-nav-bg: @surface0;
--color-link: @blue;
--color-footer-text: @text;
@@ -96,7 +107,7 @@
footer {
.button:hover {
- background-color: @accent-color;
+ background-color: @accent;
color: @crust;
}
@@ -105,22 +116,6 @@
}
}
}
-
- @media (prefers-color-scheme: light) {
- [data-theme="codeberg-dark"],
- [data-theme="codeberg-light"],
- [data-theme="codeberg-auto"] {
- #catppuccin(@lightFlavor, @accentColor);
- }
- }
-
- @media (prefers-color-scheme: dark) {
- [data-theme="codeberg-dark"],
- [data-theme="codeberg-light"],
- [data-theme="codeberg-auto"] {
- #catppuccin(@darkFlavor, @accentColor);
- }
- }
}
/* deno-fmt-ignore */
diff --git a/styles/crates.io/catppuccin.user.less b/styles/crates.io/catppuccin.user.less
index aae31839..496d374d 100644
--- a/styles/crates.io/catppuccin.user.less
+++ b/styles/crates.io/catppuccin.user.less
@@ -22,52 +22,50 @@
background: none !important;
}
- @media (prefers-color-scheme: light) {
- :root[data-color-scheme="system"] {
- #catppuccin(@lightFlavor, @accentColor);
+ :root[data-color-scheme="system"] {
+ @media (prefers-color-scheme: light) {
+ #catppuccin(@lightFlavor);
}
- }
- @media (prefers-color-scheme: dark) {
- :root[data-color-scheme="system"] {
- #catppuccin(@darkFlavor, @accentColor);
+ @media (prefers-color-scheme: dark) {
+ #catppuccin(@darkFlavor);
}
}
:root[data-color-scheme="dark"] {
- #catppuccin(@darkFlavor, @accentColor);
+ #catppuccin(@darkFlavor);
}
:root[data-color-scheme="light"] {
- #catppuccin(@lightFlavor, @accentColor);
+ #catppuccin(@lightFlavor);
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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;
@@ -96,10 +94,10 @@
--ctp-mantle: @mantle;
--ctp-crust: @crust;
- color-scheme: if(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -121,8 +119,8 @@
--main-bg: @mantle;
--main-bg-dark: @base;
--gray-border: @surface0;
- --link-color: @accent-color;
- --link-hover-color: darken(@accent-color, 5%);
+ --link-color: @accent;
+ --link-hover-color: darken(@accent, 5%);
--footer-header-color: @text;
/* Main article/readme background */
@@ -159,8 +157,8 @@
/* Header search bar */
--csstools-light-dark-toggle--33: @crust;
- --yellow500: @accent-color;
- --yellow700: darken(@accent-color, 5%);
+ --yellow500: @accent;
+ --yellow700: darken(@accent, 5%);
/* Dropdown */
--csstools-light-dark-toggle--20: @mantle;
@@ -206,10 +204,10 @@
[fill="#B13B89"],
[fill="#B84D94"],
svg[class*="_download-icon"] {
- fill: @accent-color !important;
+ fill: @accent !important;
}
[stroke="#B84D94"] {
- stroke: @accent-color !important;
+ stroke: @accent !important;
}
/* Footer links */
@@ -219,10 +217,10 @@
}
a {
- color: @accent-color;
+ color: @accent;
&:hover {
- color: darken(@accent-color, 5%);
+ color: darken(@accent, 5%);
text-shadow: none;
}
}
@@ -243,17 +241,17 @@
/* Sort by search results */
._icon_xsqxju {
- color: @accent-color;
+ color: @accent;
}
/* Primary buttons */
[class*="_tan-button_"],
[class*="_yellow-button_"] {
color: @crust;
- background: @accent-color;
+ background: @accent;
&:hover {
- background-color: darken(@accent-color, 5%);
+ background-color: darken(@accent, 5%);
}
}
diff --git a/styles/crowdin/catppuccin.user.less b/styles/crowdin/catppuccin.user.less
index dd576ad6..c734806d 100644
--- a/styles/crowdin/catppuccin.user.less
+++ b/styles/crowdin/catppuccin.user.less
@@ -16,50 +16,48 @@
==/UserStyle== */
@-moz-document regexp("https://crowdin.com(?!/translate).*") {
- @media (prefers-color-scheme: light) {
- :root {
- #catppuccin(@lightFlavor, @accentColor);
+ :root {
+ @media (prefers-color-scheme: light) {
+ #catppuccin(@lightFlavor);
}
- }
- @media (prefers-color-scheme: dark) {
- :root {
- #catppuccin(@darkFlavor, @accentColor);
+ @media (prefers-color-scheme: dark) {
+ #catppuccin(@darkFlavor);
}
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -103,45 +101,45 @@
@-moz-document regexp("https://crowdin.com/translate/.*") {
@media (prefers-color-scheme: light) {
- #catppuccin(@lightFlavor, @accentColor);
+ #catppuccin(@lightFlavor);
}
@media (prefers-color-scheme: dark) {
- #catppuccin(@darkFlavor, @accentColor);
+ #catppuccin(@darkFlavor);
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
diff --git a/styles/deepl/catppuccin.user.less b/styles/deepl/catppuccin.user.less
index ff948d7f..82423884 100644
--- a/styles/deepl/catppuccin.user.less
+++ b/styles/deepl/catppuccin.user.less
@@ -16,53 +16,51 @@
==/UserStyle== */
@-moz-document regexp("https:\\/\\/www.deepl.com\\/?(.*\\/)translator.*$") {
- @media (prefers-color-scheme: light) {
- :root {
- #catppuccin(@lightFlavor, @accentColor);
+ :root {
+ @media (prefers-color-scheme: light) {
+ #catppuccin(@lightFlavor);
}
- }
- @media (prefers-color-scheme: dark) {
- :root {
- #catppuccin(@darkFlavor, @accentColor);
+ @media (prefers-color-scheme: dark) {
+ #catppuccin(@darkFlavor);
}
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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[@@lookup][@text_filter];
- @blue-filter: @catppuccin[@@lookup][@blue_filter];
+ @text-filter: @catppuccin-filters[@@flavor][@text];
+ @blue-filter: @catppuccin-filters[@@flavor][@blue];
- color-scheme: if(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -152,7 +150,7 @@
.TranslatorTab-module--active--0b6ea
.TranslatorTab-module--innerLower--8a080 {
- background-color: @accent-color !important;
+ background-color: @accent !important;
}
.ring-neutral-next-900 {
@@ -184,14 +182,14 @@
[class*="SourceTranslatorArea-module--focusBorder--"]:has(
div[contenteditable="true"]:focus
) {
- border-color: @accent-color;
+ border-color: @accent;
}
[class*="PageHeaderLink-module--pageHeaderLink--"]:not(
[class*="PageHeaderLink-module--nohover--"]
):hover {
- color: @accent-color;
- border-color: @accent-color;
+ color: @accent;
+ border-color: @accent;
}
.hover\:bg-\[\#B4DAE8\]:hover {
@@ -337,8 +335,16 @@
/* 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; @blue_filter: brightness(0) saturate(100%) invert(26%) sepia(100%) saturate(1906%) hue-rotate(213deg) brightness(97%) contrast(97%); @lavender: #7287fd; @text: #4c4f69; @text_filter: brightness(0) saturate(100%) invert(31%) sepia(12%) saturate(1015%) hue-rotate(196deg) brightness(94%) contrast(91%); @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; @blue_filter: brightness(0) saturate(100%) invert(68%) sepia(9%) saturate(1948%) hue-rotate(186deg) brightness(98%) contrast(90%); @lavender: #babbf1; @text: #c6d0f5; @text_filter: brightness(0) saturate(100%) invert(80%) sepia(11%) saturate(726%) hue-rotate(192deg) brightness(104%) contrast(92%); @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; @blue_filter: brightness(0) saturate(100%) invert(65%) sepia(13%) saturate(1397%) hue-rotate(184deg) brightness(103%) contrast(91%); @lavender: #b7bdf8; @text: #cad3f5; @text_filter: brightness(0) saturate(100%) invert(84%) sepia(5%) saturate(1385%) hue-rotate(192deg) brightness(101%) 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; @blue_filter: brightness(0) saturate(100%) invert(65%) sepia(51%) saturate(534%) hue-rotate(188deg) brightness(98%) contrast(101%); @lavender: #b4befe; @text: #cdd6f4; @text_filter: brightness(0) saturate(100%) invert(87%) sepia(6%) saturate(985%) hue-rotate(191deg) 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; };
+ @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/docs.rs/catppuccin.user.less b/styles/docs.rs/catppuccin.user.less
index 83e9aa8f..fb0098fd 100644
--- a/styles/docs.rs/catppuccin.user.less
+++ b/styles/docs.rs/catppuccin.user.less
@@ -16,57 +16,54 @@
==/UserStyle== */
@-moz-document domain("docs.rs"), domain("doc.rust-lang.org") {
- @media (prefers-color-scheme: light) {
- :root:not([data-docs-rs-theme]) {
- #catppuccin(@lightFlavor, @accentColor);
+ :root:not([data-docs-rs-theme]) {
+ @media (prefers-color-scheme: light) {
+ #catppuccin(@lightFlavor);
+ }
+ @media (prefers-color-scheme: dark) {
+ #catppuccin(@darkFlavor);
}
}
- @media (prefers-color-scheme: dark) {
- :root:not([data-docs-rs-theme]) {
- #catppuccin(@darkFlavor, @accentColor);
- }
- }
-
:root[data-docs-rs-theme="dark"] {
- #catppuccin(@darkFlavor, @accentColor);
+ #catppuccin(@darkFlavor);
}
:root[data-docs-rs-theme="light"] {
- #catppuccin(@lightFlavor, @accentColor);
+ #catppuccin(@lightFlavor);
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -79,11 +76,11 @@
--color-background-code: @mantle;
--color-background: @base;
--input-color: @text;
- --input-box-shadow-focus: 0 0 8px 4px @accent-color;
+ --input-box-shadow-focus: 0 0 8px 4px @accent;
--color-border-light: @surface2;
--color-border: @surface0;
- --color-doc-link-background: @accent-color;
- --color-doc-link-hover: @accent-color;
+ --color-doc-link-background: @accent;
+ --color-doc-link-hover: @accent;
--color-error-hover: red;
--color-error: red;
--color-macro: red;
@@ -94,7 +91,7 @@
--color-brand: @text;
--color-struct: red;
--color-type: @peach;
- --color-url: @accent-color;
+ --color-url: @accent;
--color-warn-background: @peach;
--color-warn-msg: @crust;
--color-warn-hover: red;
@@ -108,10 +105,10 @@
--main-background-color: @base;
--main-color: @text;
- --settings-input-color: @accent-color;
+ --settings-input-color: @accent;
--settings-input-border-color: @surface0;
--settings-button-color: @text;
- --settings-button-border-focus: @accent-color;
+ --settings-button-border-focus: @accent;
--sidebar-background-color: @mantle;
--sidebar-background-color-hover: @crust;
--source-sidebar-background-selected: @surface0;
@@ -123,7 +120,7 @@
--right-side-color: @surface2;
--code-attribute-color: @yellow;
--toggles-color: @subtext1;
- --search-input-focused-border-color: @accent-color;
+ --search-input-focused-border-color: @accent;
--copy-path-button-color: @text;
--codeblock-error-hover-color: @red;
--codeblock-error-color: fade(@red, 70%);
@@ -136,11 +133,11 @@
--function-link-color: @green;
--macro-link-color: @green;
--keyword-link-color: @yellow;
- --mod-link-color: @accent-color;
- --link-color: @accent-color;
- --sidebar-link-color: @accent-color;
+ --mod-link-color: @accent;
+ --link-color: @accent;
+ --sidebar-link-color: @accent;
--sidebar-current-link-background-color: @surface0;
- --search-result-link-focus-background-color: fade(@accent-color, 20%);
+ --search-result-link-focus-background-color: fade(@accent, 20%);
--search-result-border-color: @surface0;
--search-color: @text;
--search-error-code-background-color: red;
@@ -149,10 +146,10 @@
--search-tab-title-count-color: @subtext0;
--search-tab-button-not-selected-border-top-color: @crust;
--search-tab-button-not-selected-background: @crust;
- --search-tab-button-selected-border-top-color: @accent-color;
+ --search-tab-button-selected-border-top-color: @accent;
--search-tab-button-selected-background: @base;
--stab-background-color: @surface0;
- --stab-code-color: @accent-color;
+ --stab-code-color: @accent;
--code-highlight-kw-color: @mauve;
--code-highlight-kw-2-color: @mauve;
--code-highlight-lifetime-color: @blue;
@@ -183,14 +180,14 @@
--color-syntax-question-mark: @teal;
--color-syntax-self: @red;
--color-syntax-string: @green;
- --src-line-numbers-span-color: @accent-color;
- --src-line-number-highlighted-background-color: fade(@accent-color, 30%);
+ --src-line-numbers-span-color: @accent;
+ --src-line-number-highlighted-background-color: fade(@accent, 30%);
--test-arrow-color: #dedede;
--test-arrow-background-color: red;
--test-arrow-hover-color: #dedede;
--test-arrow-hover-background-color: red;
- --target-background-color: fade(@accent-color, 10%);
- --target-border-color: @accent-color;
+ --target-background-color: fade(@accent, 10%);
+ --target-border-color: @accent;
--kbd-color: @text;
--kbd-background: @mantle;
--kbd-box-shadow-color: @surface1;
@@ -201,8 +198,8 @@
--codeblock-link-background: fade(@surface0, 50%);
--scrape-example-toggle-line-background: red;
--scrape-example-toggle-line-hover-background: red;
- --scrape-example-code-line-highlight: fade(@accent-color, 40%);
- --scrape-example-code-line-highlight-focus: fade(@accent-color, 40%);
+ --scrape-example-code-line-highlight: fade(@accent, 40%);
+ --scrape-example-code-line-highlight-focus: fade(@accent, 40%);
--scrape-example-help-border-color: @subtext0;
--scrape-example-help-color: @subtext1;
--scrape-example-help-hover-border-color: @text;
diff --git a/styles/duckduckgo/catppuccin.user.less b/styles/duckduckgo/catppuccin.user.less
index 6e3b5dd8..97a7563d 100644
--- a/styles/duckduckgo/catppuccin.user.less
+++ b/styles/duckduckgo/catppuccin.user.less
@@ -15,59 +15,57 @@
@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== */
-@-moz-document domain(duckduckgo.com) {
- :root {
- &:not(.dark-bg, .no-theme) {
- #catppuccin(@lightFlavor, @accentColor);
- }
+@-moz-document domain("duckduckgo.com") {
+ :root:not(.dark-bg, .no-theme) {
+ #catppuccin(@lightFlavor);
+ }
- &.dark-bg {
- #catppuccin(@darkFlavor, @accentColor);
- }
+ :root.dark-bg {
+ #catppuccin(@darkFlavor);
+ }
- &.no-theme {
- @media (prefers-color-scheme: light) {
- #catppuccin(@lightFlavor, @accentColor);
- }
- @media (prefers-color-scheme: dark) {
- #catppuccin(@darkFlavor, @accentColor);
- }
+ :root.no-theme {
+ @media (prefers-color-scheme: light) {
+ #catppuccin(@lightFlavor);
+ }
+ @media (prefers-color-scheme: dark) {
+ #catppuccin(@darkFlavor);
}
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -91,8 +89,8 @@
--theme-col-about-link: @blue;
--theme-col-border-ui: @surface1 !important;
--theme-col-bg-expandcollapse: @surface0 !important;
- --sds-color-palette-gray-60: @accent-color !important;
- --sds-color-text-accent-01: @accent-color !important;
+ --sds-color-palette-gray-60: @accent !important;
+ --sds-color-text-accent-01: @accent !important;
--theme-col-txt-msg: @text !important;
--theme-col-txt-url-path: @subtext0 !important;
--theme-col-border-expandcollapse: @surface1;
@@ -101,7 +99,7 @@
--theme-col-bg-page: @base !important;
--sds-color-text-01: @text !important;
--sds-color-text-on-color: @base !important;
- --theme-spp-high-contrast-text-secondary: @accent-color !important;
+ --theme-spp-high-contrast-text-secondary: @accent !important;
--theme-spp-high-contrast-card-indicator-color: @surface0 !important;
--theme-spp-high-contrast-title-span-text: @text !important;
--theme-spp-high-contrast-bg: @surface0 !important;
@@ -113,7 +111,7 @@
--sds-color-text-03: @subtext0 !important;
--col-slate-light: @subtext0;
--col-silver-dark: @overlay1;
- --theme-col-txt-button-secondary: @accent-color !important;
+ --theme-col-txt-button-secondary: @accent !important;
--theme-bg-legacy-home: @base !important;
--theme-bg-cta-cards: @surface0 !important;
--theme-button-primary-bg: @blue !important;
@@ -179,11 +177,11 @@
--sds-color-text-success: @green !important;
--sds-color-text-link-01: @blue !important;
--sds-color-background-container-01: @surface0 !important;
- --sds-color-border-accent-01: @accent-color !important;
+ --sds-color-border-accent-01: @accent !important;
--theme-dc-color-container-message: @surface0 !important;
--sds-color-palette-gray-85: @surface1 !important;
--sds-color-palette-white: @crust !important;
- --sds-color-background-accent-01: @accent-color !important;
+ --sds-color-background-accent-01: @accent !important;
--theme-col-txt-card-body-light: @text !important;
--theme-col-bg-page-alt-2: @surface0 !important;
--theme-col-bg-ui-active: @surface1 !important;
@@ -324,7 +322,7 @@
}
.calendar__today {
color: @mantle;
- background-color: @accent-color;
+ background-color: @accent;
}
.zci.is-active {
@@ -360,7 +358,7 @@
}
.stocks-module__timePeriod.selected {
color: @mantle;
- background-color: @accent-color;
+ background-color: @accent;
}
.ia-module--stocks.increase .color-coded {
color: @green !important;
@@ -443,7 +441,7 @@
border-color: @surface2;
}
.module__inner-toggle--chevron {
- color: @accent-color !important;
+ color: @accent !important;
background-color: @surface1 !important;
border-color: @surface2;
}
@@ -551,7 +549,7 @@
}
.module--definitions__group ol li::before {
- color: @accent-color !important;
+ color: @accent !important;
}
.module--definitions__usage {
@@ -563,10 +561,10 @@
}
.play-btn__icn_hollow {
- fill: @accent-color !important;
+ fill: @accent !important;
}
.module__toggle {
- color: @accent-color !important;
+ color: @accent !important;
}
// weather info box
@@ -588,7 +586,7 @@
}
.module__temperature-unit,
.module__temperature-unit:hover {
- color: @accent-color !important;
+ color: @accent !important;
}
.module__detail__precip-label,
.module__items-precip-label,
@@ -607,7 +605,7 @@
border-color: @surface2 !important;
}
.module__weatherkit-logo {
- fill: @accent-color;
+ fill: @accent;
}
.module__warnings,
.module__temperature-unit--on {
@@ -685,7 +683,7 @@
color: @subtext0 !important;
}
.tile__option--active {
- color: @accent-color !important;
+ color: @accent !important;
}
.bg-delayed-color {
@@ -853,17 +851,17 @@
border-color: @surface2 !important;
}
.is-checked .frm__switch__label.btn {
- background-color: @accent-color !important;
+ background-color: @accent !important;
color: @mantle !important;
}
.js-set-exit {
- background-color: @accent-color !important;
- border-color: @accent-color !important;
+ background-color: @accent !important;
+ border-color: @accent !important;
color: @base !important;
}
.js-set-exit:hover {
- background-color: fade(@accent-color, 80%) !important;
- border-color: fade(@accent-color, 80%) !important;
+ background-color: fade(@accent, 80%) !important;
+ border-color: fade(@accent, 80%) !important;
color: @base !important;
}
.set-bookmarklet__data {
@@ -915,7 +913,7 @@
#duckbar,
.zcm__link:not(.dropdown__button).is-active,
.set-main-footer {
- border-color: @accent-color !important;
+ border-color: @accent !important;
}
#more-results {
@@ -1031,12 +1029,12 @@
.detail--xd .tile-nav--sm,
.detail__close,
.module--definitions__collapsed-group ol li::before {
- color: @accent-color !important;
+ color: @accent !important;
}
.search__button:hover,
.search--header.has-text.search--hover .search__button {
- background-color: @accent-color !important;
+ background-color: @accent !important;
color: @base !important;
}
@@ -1061,7 +1059,7 @@
color: @text !important;
}
.frm__select::after {
- color: @accent-color !important;
+ color: @accent !important;
}
.switch,
@@ -1086,7 +1084,7 @@
}
.switch.is-on {
- background-color: @accent-color !important;
+ background-color: @accent !important;
}
.dropdown__switch.is-on::before {
@@ -1151,48 +1149,48 @@
}
}
-@-moz-document domain(start.duckduckgo.com) {
+@-moz-document domain("start.duckduckgo.com") {
:root:not(.theme-dark) {
- #catppuccin(@lightFlavor, @accentColor);
+ #catppuccin(@lightFlavor);
}
:root.theme-dark {
- #catppuccin(@darkFlavor, @accentColor);
+ #catppuccin(@darkFlavor);
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
textarea {
@@ -1224,7 +1222,7 @@
--color-yellow60: @yellow !important;
--theme-button-primary-bg: @blue !important;
- --theme-searchbox-caret-bg: @accent-color !important;
+ --theme-searchbox-caret-bg: @accent !important;
.home_root__naJUp {
--theme-bg-home: @base !important;
@@ -1256,7 +1254,7 @@
.searchbox_searchButton__F5Bwq:not(:disabled),
.searchbox_hasQuery__j8_VE:focus-within {
color: @mantle !important;
- background-color: @accent-color !important;
+ background-color: @accent !important;
}
}
}
diff --git a/styles/ecosia/catppuccin.user.less b/styles/ecosia/catppuccin.user.less
index 0fedce08..76c59dcf 100644
--- a/styles/ecosia/catppuccin.user.less
+++ b/styles/ecosia/catppuccin.user.less
@@ -17,46 +17,46 @@
@-moz-document domain("ecosia.org") {
:root.light {
- #catppuccin(@lightFlavor, @accentColor);
+ #catppuccin(@lightFlavor);
}
:root.dark {
- #catppuccin(@darkFlavor, @accentColor);
+ #catppuccin(@darkFlavor);
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -66,20 +66,20 @@
}
}
- --color-brand-primary: @accent-color !important;
+ --color-brand-primary: @accent !important;
--color-brand-secondary: @crust !important;
--color-error: @red !important;
--color-success: @green !important;
--color-disabled: @overlay1 !important;
- --color-button-background-primary: @accent-color !important;
- --color-button-background-primary-active: @accent-color !important;
- --color-button-background-primary-hover: @accent-color;
+ --color-button-background-primary: @accent !important;
+ --color-button-background-primary-active: @accent !important;
+ --color-button-background-primary-hover: @accent;
--color-button-background-secondary: @surface0 !important;
--color-button-background-secondary-active: @surface2 !important;
--color-button-background-secondary-hover: @surface1 !important;
--color-button-content-primary: @base !important;
--color-button-content-secondary: @text !important;
- --color-button-content-tertiary: @accent-color !important;
+ --color-button-content-tertiary: @accent !important;
--color-button-border: @surface0 !important;
--color-button-background-transparent-hover: @surface1;
--color-button-background-transparent-active: @surface2;
@@ -100,14 +100,14 @@
--color-url: @sapphire !important;
--color-link-results-default: @sapphire !important;
--color-link-results-visited: @teal !important;
- --color-decorative-icon: @accent-color !important;
+ --color-decorative-icon: @accent !important;
--color-elevation-layer-1: @surface1;
--color-elevation-layer-2: @surface2;
--color-decorative-border-1: @surface1 !important;
- --color-focused: @accent-color !important;
+ --color-focused: @accent !important;
--color-form-border-default: @surface0 !important;
--color-form-border-hover: @surface1 !important;
- --color-form-border-primary-active: @accent-color !important;
+ --color-form-border-primary-active: @accent !important;
--color-tripadvisor-rating: @subtext0 !important;
--color-tree-counter-tree-tall: @yellow !important;
--color-green-leaf-icon-color-top: @green !important;
diff --git a/styles/elk/catppuccin.user.less b/styles/elk/catppuccin.user.less
index 928f4d07..0fe660e7 100644
--- a/styles/elk/catppuccin.user.less
+++ b/styles/elk/catppuccin.user.less
@@ -17,45 +17,45 @@
@-moz-document domain("elk.zone") {
:root.dark {
- #catppuccin(@darkFlavor, @accentColor);
+ #catppuccin(@darkFlavor);
}
:root.light {
- #catppuccin(@lightFlavor, @accentColor);
+ #catppuccin(@lightFlavor);
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -65,8 +65,8 @@
}
}
- --c-primary: @accent-color !important;
- --c-primary-active: lighten(@accent-color, 10%) !important;
+ --c-primary: @accent !important;
+ --c-primary-active: lighten(@accent, 10%) !important;
--c-primary-light: @surface0 !important;
--c-border: @surface0 !important;
--c-border-dark: @surface1 !important;
@@ -74,7 +74,7 @@
--rgb-bg-base: #rgbify(@mantle)[] !important;
--c-bg-active: @surface0 !important;
--c-bg-code: @surface0 !important;
- --c-bg-selection: @accent-color !important;
+ --c-bg-selection: @accent !important;
--c-bg-fade: @surface0 !important;
--c-text-base: @text !important;
--c-text-code: @rosewater !important;
diff --git a/styles/formative/catppuccin.user.less b/styles/formative/catppuccin.user.less
index e959ab31..50d96550 100644
--- a/styles/formative/catppuccin.user.less
+++ b/styles/formative/catppuccin.user.less
@@ -16,52 +16,50 @@
==/UserStyle== */
@-moz-document domain("app.formative.com"), domain("goformative.com") {
- @media (prefers-color-scheme: light) {
- :root {
- #catppuccin(@lightFlavor, @accentColor);
+ :root {
+ @media (prefers-color-scheme: light) {
+ #catppuccin(@lightFlavor);
}
- }
- @media (prefers-color-scheme: dark) {
- :root {
- #catppuccin(@darkFlavor, @accentColor);
+ @media (prefers-color-scheme: dark) {
+ #catppuccin(@darkFlavor);
}
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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];
- @contrast-accent-color: if(@lookup = latte, @text, @base);
+ @contrast: if(@flavor = latte, @text, @base);
- color-scheme: if(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -114,21 +112,21 @@
background: @surface0;
.SideTabItem__RootButton-sc-vtkzgr-0 {
&.selected {
- background: fade(@accent-color, 50%);
+ background: fade(@accent, 50%);
&::after {
- background: @accent-color;
+ background: @accent;
}
}
&:hover {
.avatar {
- box-shadow: @accent-color 0 0 0 1px;
+ box-shadow: @accent 0 0 0 1px;
}
}
&:not(.selected):hover {
.side-tab-item-label-div,
.material-icons-outlined,
.svg-icons svg {
- color: @accent-color;
+ color: @accent;
}
}
}
@@ -139,8 +137,8 @@
}
}
.notifications-count {
- background: @accent-color;
- color: @contrast-accent-color;
+ background: @accent;
+ color: @contrast;
}
.NotificationCenterAlert__TriggerDiv-sc-165xmi4-0 {
background-color: @surface0;
@@ -149,7 +147,7 @@
}
}
.avatar:hover {
- box-shadow: @accent-color 0 0 0 1px;
+ box-shadow: @accent 0 0 0 1px;
}
.MainAppHeader__RootDiv-sc-1gw0bt9-0 {
background-color: @surface0;
@@ -162,10 +160,10 @@
color: @text;
}
.TabsItem__RootDiv-sc-tj1og8-0:hover > a {
- color: @accent-color;
+ color: @accent;
}
.TabsItem__SelectedLineDiv-sc-tj1og8-1 {
- background: @accent-color !important;
+ background: @accent !important;
}
.TabsItem__TabLink-sc-tj1og8-3:focus-visible {
background: transparent !important;
@@ -242,13 +240,13 @@
.TabsItem__TabDiv-sc-tj1og8-4:hover,
.RespondusTroubleshootLink__TroubleshootingAnchor-sc-17na5u4-7,
.Summary__RawButtonLink-sc-1ofq6fd-2 {
- color: @accent-color;
+ color: @accent;
}
.FormativesShelf__StyledSecondaryHeader-sc-1pswvpk-4 {
border-color: @overlay0;
}
.TabsItem__SelectedLineDiv-sc-tj1og8-1 {
- background: @accent-color !important;
+ background: @accent !important;
}
.Pill__RootDiv-sc-4b6mpn-0,
.ItemInfoPill-sc-ecx83e-0,
@@ -275,8 +273,8 @@
background: @surface0;
border-color: @overlay0;
&.selected {
- border-color: @accent-color;
- outline-color: @accent-color;
+ border-color: @accent;
+ outline-color: @accent;
}
.material-icons-outlined {
color: @text;
@@ -284,14 +282,14 @@
&:hover {
.FormativeCard__TitleOverflowEllipsis-sc-tkxjaz-7,
.SectionCard__SectionTitleOverflowEllipsis-sc-ir1v2v-4 {
- color: @accent-color;
+ color: @accent;
}
}
}
.ClassAvatar__RootDiv-sc-i7tto7-0,
.avatar > div {
- background: @accent-color;
- color: @contrast-accent-color;
+ background: @accent;
+ color: @contrast;
}
.ReactSelect__control {
background: @surface0;
@@ -305,7 +303,7 @@
color: @text;
}
&:focus-within {
- border-color: @accent-color !important;
+ border-color: @accent !important;
}
}
.react-select-icon {
@@ -316,14 +314,14 @@
color: @text;
.SearchBarOption__RootLink-sc-191bb28-1:hover
.SearchBarOption__TitleOverflowEllipsis-sc-191bb28-0 {
- color: @accent-color;
+ color: @accent;
}
.ReactSelect__option--is-focused {
background: @overlay0;
}
.ReactSelect__option--is-selected {
- background: @accent-color;
- color: @contrast-accent-color;
+ background: @accent;
+ color: @contrast;
}
.ReactSelect__menu-notice {
color: @subtext0;
@@ -340,19 +338,19 @@
background: @surface0 !important;
&,
.material-icons-outlined {
- color: @accent-color !important;
+ color: @accent !important;
border-color: @overlay0;
}
&:hover,
&:enabled:focus {
background: @surface1;
- border-color: @accent-color;
+ border-color: @accent;
}
}
.Switch__RootButton-sc-1ss5zxi-0 {
background: @surface0;
&[aria-checked="true"] {
- background: @accent-color;
+ background: @accent;
}
.Switch__BallDiv-sc-1ss5zxi-1 {
background: @overlay0;
@@ -411,7 +409,7 @@
}
.DropdownList__TriggerButton-sc-1hvvmg1-0,
.EmptyExplainer__StyledMaterialIcon-sc-1ixiesy-4 {
- color: @accent-color;
+ color: @accent;
}
.ProfileAccountInfo__DashedGroup-sc-1nbrrm9-2 {
@@ -423,10 +421,10 @@
&:focus,
&.selected {
.BadgeCard__BadgeLabelDiv-sc-13976oo-8 {
- color: @accent-color;
+ color: @accent;
}
.Card__RootDiv-sc-4gt2nj-0 {
- border-color: @accent-color;
+ border-color: @accent;
}
}
.BadgeCard__ProgressPercentSpan-sc-13976oo-7 {
@@ -465,13 +463,13 @@
.ProgressBar__ProgressDiv-sc-4qm1te-0 {
background: @overlay0;
.ProgressBar__ProgressBarDiv-sc-4qm1te-2 {
- background: @accent-color;
+ background: @accent;
}
}
.notification {
&.notification-success {
background: @green !important;
- color: @contrast-accent-color !important;
+ color: @contrast !important;
}
}
.Tooltip__Content-sc-1k6bq57-0 {
@@ -502,7 +500,7 @@
background: @surface0;
&:enabled:hover {
background: @surface1 !important;
- border-color: @accent-color;
+ border-color: @accent;
}
}
.CopyablePracticeSetInfo__LinkText-sc-14zdsnw-3,
@@ -514,7 +512,7 @@
outline-color: @text !important;
}
&[style*="outline: rgb(13, 100, 242)"] {
- outline-color: @accent-color !important;
+ outline-color: @accent !important;
}
}
}
@@ -539,7 +537,7 @@
color: @overlay2 !important;
}
&:focus {
- border-color: @accent-color;
+ border-color: @accent;
}
}
&.CookiePolicyModal__AccordionDiv-sc-dpnzx7-0
@@ -554,14 +552,14 @@
color: @text;
}
.CookiePolicyModal__BlueAlertText-sc-dpnzx7-5 {
- color: @accent-color;
+ color: @accent;
}
}
}
.ModalBody-sc-1lg094f-0:has(.Submit__ContentTitleH3-sc-1vceatk-1)
svg
path {
- fill: @accent-color;
+ fill: @accent;
}
.ModalTitle {
background: @base;
@@ -577,7 +575,7 @@
}
&[src*="match-preview"] {
@svg: escape(
- ''
+ ''
);
content: url("data:image/svg+xml,@{svg}");
}
@@ -611,7 +609,7 @@
.material-icons-outlined {
color: @text;
&:hover {
- color: @accent-color;
+ color: @accent;
}
}
}
@@ -652,7 +650,7 @@
background: @mantle;
border-color: @overlay0;
.selectedSection {
- border-color: @accent-color;
+ border-color: @accent;
}
.formative-nav-item {
&,
@@ -660,13 +658,13 @@
color: @text;
}
.FormativeStudentNavItem__StyledMessageIcon-sc-i1u5ts-4 {
- color: @accent-color;
+ color: @accent;
}
&:hover,
&:focus {
background: @surface1;
- color: @accent-color;
- border-color: @accent-color;
+ color: @accent;
+ border-color: @accent;
}
.fxpwVv {
background-color: @green;
@@ -693,21 +691,21 @@
.checkbox-root {
button {
background: @surface0;
- border-color: @accent-color !important;
+ border-color: @accent !important;
box-shadow: none !important;
}
&.checked button {
- background: @accent-color !important;
+ background: @accent !important;
}
.Checkbox__RadioCircleDiv-sc-1oy0ey9-3 {
- background: @contrast-accent-color !important;
+ background: @contrast !important;
}
.Checkbox__IndicatorIcon-sc-1oy0ey9-5 {
- color: @contrast-accent-color;
+ color: @contrast;
}
}
.FormativeUnavailableMessage__InnerDiv-sc-14kxg7t-1 {
- border-color: @accent-color;
+ border-color: @accent;
background-color: @surface0;
}
.FormativeItemViewable__RootDiv-sc-m0kwch-0,
@@ -733,7 +731,7 @@
&[style*="rgb(32, 213, 171)"] {
background-color: @green !important;
.material-icons-outlined {
- color: @contrast-accent-color !important;
+ color: @contrast !important;
}
}
&[style*="rgb(255, 222, 51)"] {
@@ -745,14 +743,14 @@
&[style*="rgb(255, 76, 77)"] {
background-color: @red !important;
.material-icons-outlined {
- color: @contrast-accent-color !important;
+ color: @contrast !important;
}
}
border-color: @overlay2 !important;
}
.BlankOutput__FillableEntity-sc-15mzaww-3,
.BlankOutput__FillableNumericDiv-sc-15mzaww-2 {
- outline-color: @accent-color;
+ outline-color: @accent;
color: @text;
background: @surface0;
.KatexOutput__RootDiv-sc-gu2jna-0 {
@@ -774,14 +772,14 @@
}
.TargetElementViewable__BoxDiv-sc-1cp2mml-1 {
background: @surface0;
- border-color: @accent-color;
+ border-color: @accent;
.TargetChoiceViewable__ContentDiv-sc-6nylj9-1 {
background: @surface1;
border-color: @overlay0;
}
.TargetElementViewable__AddSelectedChoiceButton-sc-1cp2mml-6 i {
- background: @accent-color;
- color: @contrast-accent-color;
+ background: @accent;
+ color: @contrast;
}
}
.MatchingTable__Table-sc-1rhxmvo-1 {
@@ -791,7 +789,7 @@
border-color: @overlay0;
}
tr.isOver {
- outline-color: @accent-color;
+ outline-color: @accent;
}
}
.ChoiceElementViewable__RootDiv-sc-viwu2x-0 {
@@ -799,7 +797,7 @@
border-color: @overlay0;
&:hover,
&.highlight {
- border-color: @accent-color;
+ border-color: @accent;
background: @surface1;
}
.ChoiceElementViewable__LabelRichText-sc-viwu2x-4 {
@@ -834,7 +832,7 @@
}
.InlineChoiceOutput__InlineChoiceOutputDiv-sc-1694w84-2 {
background: @surface0;
- border-color: @accent-color;
+ border-color: @accent;
}
.DrawingCardButton__RootButton-sc-u2qprg-1 {
border-color: @overlay0;
@@ -853,12 +851,12 @@
.DrawingCardButton__IncompleteIndicatorDiv-sc-u2qprg-4 {
background: @yellow;
svg path {
- fill: @contrast-accent-color;
+ fill: @contrast;
}
}
&:hover .DrawingCardButton__ShowYourWorkPseudoButtonDiv-sc-u2qprg-0 {
background: @surface2;
- border-color: @accent-color;
+ border-color: @accent;
}
}
.DragAndDropImageDropLocation__DropLocationContainerDiv-sc-oq3fcx-1 {
@@ -892,7 +890,7 @@
background: @surface2 !important;
}
}
- border-color: @accent-color !important;
+ border-color: @accent !important;
background: @surface0;
.dropzone-number {
background: @surface1;
@@ -912,7 +910,7 @@
}
.DragAndDropDropzoneOutput__RootDiv-sc-1is7exh-0 {
background: @surface0;
- border-color: @accent-color;
+ border-color: @accent;
&.hasAnswer {
border-color: @overlay0;
}
@@ -922,7 +920,7 @@
background: @green;
}
.material-icons-outlined {
- color: @contrast-accent-color;
+ color: @contrast;
}
}
.ShortAnswerViewableDetails__InputAutosizeTextarea-sc-1ugk4gk-0 {
@@ -947,7 +945,7 @@
background: @surface0;
}
span {
- color: @accent-color;
+ color: @accent;
}
}
}
@@ -993,7 +991,7 @@
color: @text;
}
.Thumb__RootSpan-sc-yv6w5k-0 {
- background: @accent-color;
+ background: @accent;
z-index: 2;
}
.Segment__SegmentSpan-sc-r0cy9o-0 {
@@ -1022,14 +1020,14 @@
&,
.svg-icons,
.material-icons-outlined {
- color: @accent-color;
+ color: @accent;
}
}
.selected {
&::after {
- background: @accent-color;
+ background: @accent;
}
- color: @accent-color;
+ color: @accent;
}
}
.DrawingSidebar__ExpandedAnswerDiv-sc-1hvcy70-0 {
@@ -1050,21 +1048,21 @@
}
.MathLiveInput__RootDiv-sc-tki2b-0 {
.keyboard-button-wrapper .svg-icons svg path {
- fill: @accent-color !important;
+ fill: @accent !important;
}
color: @text;
border-color: @overlay0;
background: @surface0;
&:focus-within,
&:hover {
- border-color: @accent-color;
+ border-color: @accent;
}
&.invalid {
color: @red;
}
math-field {
- --caret-color: @accent-color;
- --selection-background-color: fade(@accent-color, 50%);
+ --caret-color: @accent;
+ --selection-background-color: fade(@accent, 50%);
--selection-color: @text;
--correct-color: @text;
--incorrect-color: @red;
@@ -1073,7 +1071,7 @@
}
.ML__keyboard--plate {
--keyboard-text: @text;
- --keyboard-text-active: @accent-color;
+ --keyboard-text-active: @accent;
--keyboard-background: @surface0;
--keycap-background: @surface1;
--keycap-background-active: @surface2;
@@ -1081,7 +1079,7 @@
--keycap-background-border-bottom: @overlay0;
--keycap-text: @text;
--keycap-secondary-text: @subtext0;
- --keycap-text-active: @accent-color;
+ --keycap-text-active: @accent;
--keycap-modifier-background: @surface2;
--keycap-modifier-background-active: @overlay0;
--keycap-modifier-border: @overlay1;
@@ -1140,7 +1138,7 @@
}
path[fill="rgb(255,255,255)"],
path[fill="rgb(242,242,242)"] {
- fill: @contrast-accent-color !important;
+ fill: @contrast !important;
}
path[stroke="rgb(32,213,171)"],
@@ -1165,7 +1163,7 @@
}
path[stroke="rgb(255,255,255)"],
path[stroke="rgb(242,242,242)"] {
- stroke: @contrast-accent-color !important;
+ stroke: @contrast !important;
}
}
}
@@ -1189,25 +1187,25 @@
color: @text;
}
.NewselaServiceLoginButton__ActionDiv-sc-mk13mj-2 {
- color: @accent-color;
+ color: @accent;
}
}
}
.JoinQuickCode__StyledLink-sc-1uhfett-2,
.CallToActionLink__StyledLink-sc-yuiy65-0,
.Login__ForgotLink-sc-5w2jun-1 {
- color: @accent-color;
+ color: @accent;
}
.react-code-input {
input {
background: @surface1;
border-color: @overlay0;
&:focus-within {
- border-color: @accent-color;
+ border-color: @accent;
}
}
&:not(:focus-within).empty [data-id="0"] {
- border-color: @accent-color;
+ border-color: @accent;
}
}
.JoinQuickCode__StyledPrimaryButton-sc-1uhfett-5 {
@@ -1231,7 +1229,7 @@
}
&,
.material-icons-outlined {
- color: @contrast-accent-color;
+ color: @contrast;
}
}
.FloatingToolButton__FloatingButton-sc-1gy4xsl-0 {
@@ -1243,7 +1241,7 @@
background: @overlay1;
}
.material-icons-outlined {
- color: @accent-color;
+ color: @accent;
}
}
.PracticeSet__StyledHeader-sc-1wup6tb-6 {
@@ -1259,7 +1257,7 @@
.HeaderBackLink__TertiaryButtonLink-sc-1vx1tro-0,
.Button__StyledButton-sc-aum9f1-1 {
background: @surface1 !important;
- color: @accent-color !important;
+ color: @accent !important;
&:not([disabled]):hover {
background: @surface2;
}
@@ -1299,7 +1297,7 @@
color: @text;
&:hover {
background: @surface2;
- color: @accent-color;
+ color: @accent;
}
}
}
@@ -1316,9 +1314,9 @@
}
.FileUploadButton__DropZoneDiv-sc-88u8tg-2 {
background: @surface0;
- border-color: @accent-color;
+ border-color: @accent;
.material-icons-outlined {
- color: @accent-color;
+ color: @accent;
}
}
.DividerWord__LineDiv-sc-59xl7-1 {
@@ -1382,9 +1380,9 @@
background: @overlay0;
}
&.active {
- color: @accent-color;
+ color: @accent;
svg {
- fill: @accent-color;
+ fill: @accent;
}
}
svg {
@@ -1402,7 +1400,7 @@
}
.CookiePolicyBanner__ContainerDiv-sc-1p3fxjn-1 {
background: @surface0;
- border-color: @accent-color;
+ border-color: @accent;
.Button__StyledButton-sc-aum9f1-1 {
background: @surface1;
&:hover {
@@ -1425,7 +1423,7 @@
.HeaderBackLink__TertiaryButtonLink-sc-1vx1tro-0,
.Button__StyledButton-sc-aum9f1-1 {
background: @surface1;
- color: @accent-color;
+ color: @accent;
&:hover {
background: @surface2;
}
@@ -1437,11 +1435,11 @@
}
&[aria-checked="true"],
&[aria-checked="true"] div {
- outline-color: @accent-color !important;
+ outline-color: @accent !important;
}
}
.TitleCard__StartButton-sc-xz0ejb-1 {
- background: @accent-color;
+ background: @accent;
color: @base;
}
.QuizSession__BodyDiv-sc-4aco0-0 {
@@ -1465,13 +1463,13 @@
background: @green;
i,
span {
- color: @contrast-accent-color;
+ color: @contrast;
}
}
background: @red;
i,
span {
- color: @contrast-accent-color;
+ color: @contrast;
}
}
.AnswerChoiceCard__CorrectnessOverlay-sc-lns4c-3 {
@@ -1479,7 +1477,7 @@
background: @green;
}
i {
- color: @contrast-accent-color !important;
+ color: @contrast !important;
}
background: @red;
}
@@ -1489,8 +1487,8 @@
.MatchingSessionSummary__CheckmarkOverlayDiv-sc-d3unim-1 {
background: @base;
.Glow__RootDiv-sc-1c8wp5s-0 {
- background: @accent-color !important;
- color: @contrast-accent-color;
+ background: @accent !important;
+ color: @contrast;
}
.MatchingSessionSummary__SessionDiv-sc-d3unim-13 {
border-color: @overlay0;
@@ -1517,7 +1515,7 @@
background: @surface0;
border-color: @overlay0;
.Glow__RootDiv-sc-1c8wp5s-0 {
- background: @accent-color !important;
+ background: @accent !important;
}
}
}
@@ -1533,13 +1531,13 @@
.StreakProgressBar__Progress-sc-1b8tyg3-2 {
background: @surface0;
.StreakProgressBar__ProgressBarDiv-sc-1b8tyg3-3 {
- background: @accent-color;
+ background: @accent;
}
}
.StreakProgressBar__StyledSvgIcon-sc-1b8tyg3-4 {
svg path {
fill: @yellow;
- stroke: @contrast-accent-color;
+ stroke: @contrast;
}
&.visible {
animation: 0.5s ease 0s 1 normal none running
@@ -1547,7 +1545,7 @@
}
}
.PracticeSession__AnswerButton-sc-1t2vn9a-3 {
- color: @contrast-accent-color;
+ color: @contrast;
&.red {
background: @red;
}
@@ -1559,7 +1557,7 @@
.PillToggleGroup__Item-sc-12fkyq8-1 {
&[aria-checked="true"] {
background: @surface0;
- color: @accent-color;
+ color: @accent;
}
&:hover {
background: @surface0;
@@ -1597,15 +1595,15 @@
}
@keyframes catppuccin-formative-practiceset-quiz-streak {
0% {
- filter: drop-shadow(fade(@yellow, 80) 0 0 0);
+ filter: drop-shadow(fade(@yellow, 80%) 0 0 0);
transform: scale(0.8);
}
50% {
- filter: drop-shadow(fade(@yellow, 80) 0 0 12px);
+ filter: drop-shadow(fade(@yellow, 80%) 0 0 12px);
transform: scale(1.3);
}
100% {
- filter: drop-shadow(fade(@yellow, 80) 0 0 0);
+ filter: drop-shadow(fade(@yellow, 80%) 0 0 0);
transform: scale(1);
}
}
@@ -1615,15 +1613,15 @@
background: @surface1;
&:hover {
background: @surface2;
- box-shadow: @accent-color 0 0 0 1px;
+ box-shadow: @accent 0 0 0 1px;
.label {
- color: @accent-color;
+ color: @accent;
}
}
.ShelfTile__IconDiv-sc-1oc4c00-1 {
- background: @accent-color !important;
+ background: @accent !important;
i {
- color: @contrast-accent-color;
+ color: @contrast;
}
}
}
diff --git a/styles/freedesktop/catppuccin.user.less b/styles/freedesktop/catppuccin.user.less
index 3ef98e90..adfb02b8 100644
--- a/styles/freedesktop/catppuccin.user.less
+++ b/styles/freedesktop/catppuccin.user.less
@@ -17,50 +17,48 @@
@-moz-document domain("www.freedesktop.org"),
domain("specifications.freedesktop.org") {
- @media (prefers-color-scheme: light) {
- :root {
- #catppuccin(@lightFlavor, @accentColor);
+ :root {
+ @media (prefers-color-scheme: light) {
+ #catppuccin(@lightFlavor);
}
- }
- @media (prefers-color-scheme: dark) {
- :root {
- #catppuccin(@darkFlavor, @accentColor);
+ @media (prefers-color-scheme: dark) {
+ #catppuccin(@darkFlavor);
}
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -78,7 +76,7 @@
#content h1,
#content h2,
#content h3 {
- color: @accent-color;
+ color: @accent;
}
.pageheader {
@@ -90,8 +88,8 @@
.pageheader .actions ul li a,
input[type="submit"] {
background-color: transparent;
- color: @accent-color;
- border-color: @accent-color;
+ color: @accent;
+ border-color: @accent;
}
input#searchbox {
@@ -100,7 +98,7 @@
border-color: @overlay1;
box-shadow: none;
&:focus {
- border-color: @accent-color;
+ border-color: @accent;
outline-color: none;
outline-style: none;
}
diff --git a/styles/ghostty.org/catppuccin.user.less b/styles/ghostty.org/catppuccin.user.less
index 651abb0a..781269d8 100644
--- a/styles/ghostty.org/catppuccin.user.less
+++ b/styles/ghostty.org/catppuccin.user.less
@@ -18,47 +18,43 @@
@-moz-document domain("ghostty.org") {
@import url("https://unpkg.com/@catppuccin/highlightjs@1.0.0/css/catppuccin-variables.important.css");
- @media (prefers-color-scheme: light) {
- :root,
- body {
- #catppuccin(@lightFlavor, @accentColor);
+ html, body {
+ @media (prefers-color-scheme: light) {
+ #catppuccin(@lightFlavor);
}
- }
- @media (prefers-color-scheme: dark) {
- :root,
- body {
- #catppuccin(@darkFlavor, @accentColor);
+ @media (prefers-color-scheme: dark) {
+ #catppuccin(@darkFlavor);
}
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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;
@@ -87,10 +83,10 @@
--ctp-mantle: @mantle;
--ctp-crust: @crust;
- color-scheme: if(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -100,8 +96,8 @@
}
}
- --brand-color: @accent-color;
- --brand-color-hsl: #hslify(@accent-color)[];
+ --brand-color: @accent;
+ --brand-color-hsl: #hslify(@accent)[];
--gray-0: @base;
--gray-1: @surface0;
--gray-2: @surface1;
@@ -128,7 +124,7 @@
img[alt="Ghostty"] {
@svg: escape(
- ''
+ ''
);
content: url("data:image/svg+xml,@{svg}");
}
diff --git a/styles/github/catppuccin.user.less b/styles/github/catppuccin.user.less
index 60a14c5c..8dcafeec 100644
--- a/styles/github/catppuccin.user.less
+++ b/styles/github/catppuccin.user.less
@@ -22,29 +22,29 @@
[data-color-mode="auto"] {
@media (prefers-color-scheme: light) {
&[data-light-theme="light"] {
- #catppuccin(@lightFlavor, @accentColor);
+ #catppuccin(@lightFlavor);
}
&[data-light-theme="dark"] {
- #catppuccin(@darkFlavor, @accentColor);
+ #catppuccin(@darkFlavor);
}
}
@media (prefers-color-scheme: dark) {
&[data-dark-theme="light"] {
- #catppuccin(@lightFlavor, @accentColor);
+ #catppuccin(@lightFlavor);
}
&[data-dark-theme="dark"] {
- #catppuccin(@darkFlavor, @accentColor);
+ #catppuccin(@darkFlavor);
}
}
}
[data-color-mode="light"][data-light-theme="dark"],
[data-color-mode="dark"][data-dark-theme="dark"] {
- #catppuccin(@darkFlavor, @accentColor);
+ #catppuccin(@darkFlavor);
}
[data-color-mode="light"][data-light-theme="light"],
[data-color-mode="dark"][data-dark-theme="light"] {
- #catppuccin(@lightFlavor, @accentColor);
+ #catppuccin(@lightFlavor);
}
html:not([data-light-theme="light"], [data-light-theme="dark"])
@@ -64,39 +64,39 @@
z-index: 9999;
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -109,50 +109,50 @@
color: @subtext0;
}
- accent-color: @accent-color;
+ accent-color: @accent;
color: @text;
- --color-social-reaction-bg-reacted-hover: fade(@accent-color, 30%);
- --color-notifications-button-hover-bg: fade(@accent-color, 60%);
+ --color-social-reaction-bg-reacted-hover: fade(@accent, 30%);
+ --color-notifications-button-hover-bg: fade(@accent, 60%);
--color-workflow-card-header-shadow: rgba(27, 31, 35, 0.04);
--color-icon-directory: var(--fgColor-muted, var(--color-fg-muted));
- --color-calendar-halloween-graph-day-L1-bg: fadeout(
- @accent-color,
- 60%
- ) !important;
- --color-calendar-halloween-graph-day-L2-bg: fadeout(
- @accent-color,
+ --color-calendar-halloween-graph-day-L1-bg: fade(
+ @accent,
40%
) !important;
- --color-calendar-halloween-graph-day-L3-bg: fadeout(
- @accent-color,
- 20%
- ) !important;
- --color-calendar-halloween-graph-day-L4-bg: @accent-color !important;
- --color-calendar-winter-graph-day-L1-bg: fadeout(
- @accent-color,
+ --color-calendar-halloween-graph-day-L2-bg: fade(
+ @accent,
60%
) !important;
- --color-calendar-winter-graph-day-L2-bg: fadeout(
- @accent-color,
+ --color-calendar-halloween-graph-day-L3-bg: fade(
+ @accent,
+ 80%
+ ) !important;
+ --color-calendar-halloween-graph-day-L4-bg: @accent !important;
+ --color-calendar-winter-graph-day-L1-bg: fade(
+ @accent,
40%
) !important;
- --color-calendar-winter-graph-day-L3-bg: fadeout(
- @accent-color,
- 20%
+ --color-calendar-winter-graph-day-L2-bg: fade(
+ @accent,
+ 60%
) !important;
- --color-calendar-winter-graph-day-L4-bg: @accent-color !important;
+ --color-calendar-winter-graph-day-L3-bg: fade(
+ @accent,
+ 80%
+ ) !important;
+ --color-calendar-winter-graph-day-L4-bg: @accent !important;
--color-calendar-graph-day-bg: @surface0 !important;
--color-calendar-graph-day-border: transparent !important;
- --color-calendar-graph-day-L1-bg: fadeout(@accent-color, 60%) !important;
- --color-calendar-graph-day-L2-bg: fadeout(@accent-color, 40%) !important;
- --color-calendar-graph-day-L3-bg: fadeout(@accent-color, 20%) !important;
- --color-calendar-graph-day-L4-bg: @accent-color !important;
+ --color-calendar-graph-day-L1-bg: fade(@accent, 40%) !important;
+ --color-calendar-graph-day-L2-bg: fade(@accent, 60%) !important;
+ --color-calendar-graph-day-L3-bg: fade(@accent, 80%) !important;
+ --color-calendar-graph-day-L4-bg: @accent !important;
--color-calendar-graph-day-L2-border: transparent !important;
--color-calendar-graph-day-L3-border: transparent !important;
--color-calendar-graph-day-L4-border: transparent !important;
- --color-user-mention-fg: @accent-color;
- --color-user-mention-bg: fade(@accent-color, 30%);
+ --color-user-mention-fg: @accent;
+ --color-user-mention-bg: fade(@accent, 30%);
--color-dashboard-feed-bg: var(--color-scale-gray-9);
--color-mktg-btn-shadow-outline: rgba(255, 255, 255, 0.25) 0 0 0 1px inset;
--color-marketing-icon-secondary: var(--color-scale-blue-5);
@@ -164,19 +164,19 @@
--topicTag-borderColor: #0000;
--highlight-neutral-bgColor: fade(@yellow, 30%);
--page-header-bgColor: @crust;
- --diffBlob-additionNum-bgColor: fadeout(@green, 70%);
+ --diffBlob-additionNum-bgColor: fade(@green, 30%);
--diffBlob-additionNum-fgColor: @text;
- --diffBlob-additionLine-bgColor: fadeout(@green, 85%);
- --diffBlob-additionWord-bgColor: fadeout(@green, 70%);
+ --diffBlob-additionLine-bgColor: fade(@green, 15%);
+ --diffBlob-additionWord-bgColor: fade(@green, 30%);
--diffBlob-additionWord-fgColor: @text;
- --diffBlob-deletionNum-bgColor: fadeout(@red, 70%);
+ --diffBlob-deletionNum-bgColor: fade(@red, 30%);
--diffBlob-deletionNum-fgColor: @text;
- --diffBlob-deletionLine-bgColor: fadeout(@red, 85%);
- --diffBlob-deletionWord-bgColor: fadeout(@red, 70%);
+ --diffBlob-deletionLine-bgColor: fade(@red, 15%);
+ --diffBlob-deletionWord-bgColor: fade(@red, 30%);
--diffBlob-deletionWord-fgColor: @text;
- --diffBlob-hunkNum-bgColor-rest: fadeout(@accent-color, 60%);
- --diffBlob-hunkNum-bgColor-hover: fade(@accent-color, 75%);
- --diffBlob-hunkLine-bgColor: fadeout(@accent-color, 75%);
+ --diffBlob-hunkNum-bgColor-rest: fade(@accent, 40%);
+ --diffBlob-hunkNum-bgColor-hover: fade(@accent, 75%);
+ --diffBlob-hunkLine-bgColor: fade(@accent, 25%);
--diffBlob-expander-iconColor: @subtext0;
--diffBlob-emptyNum-bgColor: @mantle;
--diffBlob-emptyLine-bgColor: @mantle;
@@ -238,15 +238,15 @@
--control-danger-fgColor-hover: @crust;
--control-danger-bgColor-hover: fade(@red, 80%);
--control-danger-bgColor-active: @red;
- --control-checked-bgColor-rest: @accent-color;
- --control-checked-bgColor-hover: lighten(@accent-color, 5%);
- --control-checked-bgColor-active: lighten(@accent-color, 5%);
+ --control-checked-bgColor-rest: @accent;
+ --control-checked-bgColor-hover: lighten(@accent, 5%);
+ --control-checked-bgColor-active: lighten(@accent, 5%);
--control-checked-bgColor-disabled: #6e7681;
--control-checked-fgColor-rest: @crust;
--control-checked-fgColor-disabled: #010409;
- --control-checked-borderColor-rest: @accent-color;
- --control-checked-borderColor-hover: @accent-color;
- --control-checked-borderColor-active: @accent-color;
+ --control-checked-borderColor-rest: @accent;
+ --control-checked-borderColor-hover: @accent;
+ --control-checked-borderColor-active: @accent;
--control-checked-borderColor-disabled: @surface0;
--controlTrack-bgColor-rest: @surface0;
--controlTrack-bgColor-hover: @surface1;
@@ -286,7 +286,7 @@
--button-primary-borderColor-disabled: fade(@green, 70%);
--button-primary-shadow-selected: 0px 0px 0px 0px #000;
--button-invisible-fgColor-rest: @text;
- --button-invisible-fgColor-hover: lighten(@accent-color, 10%);
+ --button-invisible-fgColor-hover: lighten(@accent, 10%);
--button-invisible-fgColor-disabled: #6e7681;
--button-invisible-iconColor-rest: @overlay2;
--button-invisible-iconColor-hover: #e6edf3;
@@ -341,7 +341,7 @@
--buttonCounter-danger-fgColor-rest: @red;
--buttonCounter-danger-fgColor-hover: @text;
--buttonCounter-danger-fgColor-disabled: fade(@red, 50%);
- --focus-outlineColor: @accent-color;
+ --focus-outlineColor: @accent;
--menu-bgColor-active: @mantle;
--overlay-bgColor: @base;
--overlay-borderColor: @surface0;
@@ -352,22 +352,22 @@
--skeletonLoader-bgColor: #161b22;
--timelineBadge-bgColor: @mantle;
--treeViewItem-leadingVisual-iconColor-rest: @subtext0;
- --underlineNav-borderColor-active: @accent-color;
+ --underlineNav-borderColor-active: @accent;
--underlineNav-borderColor-hover: #6e768166;
--underlineNav-iconColor-rest: #848d97;
- --selection-bgColor: fade(@accent-color, 30%);
- --reactionButton-selected-bgColor-rest: fade(@accent-color, 20%);
- --reactionButton-selected-bgColor-hover: fade(@accent-color, 35%);
- --reactionButton-selected-fgColor-rest: @accent-color;
- --reactionButton-selected-fgColor-hover: @accent-color;
+ --selection-bgColor: fade(@accent, 30%);
+ --reactionButton-selected-bgColor-rest: fade(@accent, 20%);
+ --reactionButton-selected-bgColor-hover: fade(@accent, 35%);
+ --reactionButton-selected-fgColor-rest: @accent;
+ --reactionButton-selected-fgColor-hover: @accent;
--fgColor-default: @text;
--fgColor-muted: @subtext1;
--fgColor-onEmphasis: @base;
- --fgColor-white: if(@lookup = latte, @crust, @text);
+ --fgColor-white: if(@flavor = latte, @crust, @text);
--fgColor-disabled: @surface2;
- --fgColor-link: @accent-color;
+ --fgColor-link: @accent;
--fgColor-neutral: @subtext1;
- --fgColor-accent: @accent-color;
+ --fgColor-accent: @accent;
--fgColor-success: @green;
--fgColor-attention: @yellow;
--fgColor-severe: @peach;
@@ -385,8 +385,8 @@
--bgColor-transparent: #0000;
--bgColor-neutral-muted: fade(@surface0, 40%);
--bgColor-neutral-emphasis: @subtext0;
- --bgColor-accent-muted: fade(@accent-color, 20%);
- --bgColor-accent-emphasis: @accent-color;
+ --bgColor-accent-muted: fade(@accent, 20%);
+ --bgColor-accent-emphasis: @accent;
--bgColor-success-muted: #2ea04326;
--bgColor-success-emphasis: @green;
--bgColor-attention-muted: fade(@yellow, 15%);
@@ -410,8 +410,8 @@
--borderColor-transparent: #0000;
--borderColor-neutral-muted: #6e768166;
--borderColor-neutral-emphasis: #6e7681;
- --borderColor-accent-muted: fade(@accent-color, 50%);
- --borderColor-accent-emphasis: @accent-color;
+ --borderColor-accent-muted: fade(@accent, 50%);
+ --borderColor-accent-emphasis: @accent;
--borderColor-success-muted: darken(@green, 5%);
--borderColor-success-emphasis: @green;
--borderColor-attention-muted: fade(@flamingo, 30%);
@@ -428,14 +428,14 @@
--borderColor-done-emphasis: @mauve;
--borderColor-sponsors-muted: #db61a266;
--borderColor-sponsors-emphasis: @pink;
- & when (@lookup = latte) {
+ & when (@flavor = latte) {
--color-ansi-black: @subtext1;
--color-ansi-black-bright: @subtext0;
--color-ansi-gray: @subtext0;
--color-ansi-white: @surface2;
--color-ansi-white-bright: @surface1;
}
- & when not(@lookup = latte) {
+ & when not(@flavor = latte) {
--color-ansi-black: @surface1;
--color-ansi-black-bright: @surface2;
--color-ansi-gray: @surface2;
@@ -464,16 +464,16 @@
--color-prettylights-syntax-string: @green;
--color-prettylights-syntax-variable: @peach;
--color-prettylights-syntax-invalid-illegal-text: @red;
- --color-prettylights-syntax-invalid-illegal-bg: fadeout(@red, 85%);
+ --color-prettylights-syntax-invalid-illegal-bg: fade(@red, 15%);
--color-prettylights-syntax-markup-heading: @red;
--color-prettylights-syntax-markup-italic: @yellow;
--color-prettylights-syntax-markup-bold: @yellow;
--color-prettylights-syntax-markup-deleted-text: @text;
- --color-prettylights-syntax-markup-deleted-bg: fadeout(@red, 60%);
+ --color-prettylights-syntax-markup-deleted-bg: fade(@red, 40%);
--color-prettylights-syntax-markup-inserted-text: @text;
- --color-prettylights-syntax-markup-inserted-bg: fadeout(@green, 60%);
+ --color-prettylights-syntax-markup-inserted-bg: fade(@green, 40%);
--color-prettylights-syntax-markup-changed-text: @text;
- --color-prettylights-syntax-markup-changed-bg: fadeout(@yellow, 60%);
+ --color-prettylights-syntax-markup-changed-bg: fade(@yellow, 40%);
--color-prettylights-syntax-markup-ignored-text: @text;
--bgColor-white: @base;
--color-scale-white: @base;
@@ -511,13 +511,13 @@
&:hover {
.octicon,
h3 {
- color: @accent-color !important;
+ color: @accent !important;
}
}
}
/* Enhanced Repo Insights Views - https://github.com/orgs/community/discussions/135572 */
- --data-blue-color-emphasis: @accent-color;
+ --data-blue-color-emphasis: @accent;
--data-red-color-emphasis: @red;
--data-green-color-emphasis: @green;
@@ -542,7 +542,7 @@
--rgh-heat-color: @peach;
.turbo-progress-bar {
- background-color: @accent-color;
+ background-color: @accent;
}
.form-select {
@@ -578,8 +578,8 @@
}
.notification-indicator .mail-status {
background-image: linear-gradient(
- @accent-color,
- darken(@accent-color, 5%)
+ @accent,
+ darken(@accent, 5%)
);
}
@@ -608,12 +608,12 @@
}
.js-activity-overview-graph .js-highlight-blob {
- fill: @accent-color;
- stroke: @accent-color;
+ fill: @accent;
+ stroke: @accent;
}
.subnav-link.selected {
- border-bottom-color: @accent-color;
+ border-bottom-color: @accent;
}
/* Pull request check in progress indicator */
@@ -632,62 +632,62 @@
[data-color-mode="auto"] {
@media (prefers-color-scheme: light) {
&[data-light-theme="light"] {
- #catppuccin(@lightFlavor, @accentColor);
+ #catppuccin(@lightFlavor);
}
&[data-light-theme="dark"] {
- #catppuccin(@darkFlavor, @accentColor);
+ #catppuccin(@darkFlavor);
}
}
@media (prefers-color-scheme: dark) {
&[data-dark-theme="light"] {
- #catppuccin(@lightFlavor, @accentColor);
+ #catppuccin(@lightFlavor);
}
&[data-dark-theme="dark"] {
- #catppuccin(@darkFlavor, @accentColor);
+ #catppuccin(@darkFlavor);
}
}
}
[data-color-mode="light"][data-light-theme="dark"],
[data-color-mode="dark"][data-dark-theme="dark"] {
- #catppuccin(@darkFlavor, @accentColor);
+ #catppuccin(@darkFlavor);
}
[data-color-mode="light"][data-light-theme="light"],
[data-color-mode="dark"][data-dark-theme="light"] {
- #catppuccin(@lightFlavor, @accentColor);
+ #catppuccin(@lightFlavor);
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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];
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
background-color: @base;
@@ -700,7 +700,7 @@
--color-btn-active-bg: @surface2;
--color-btn-selected-bg: @surface2;
--color-btn-counter-bg: @surface2;
- --color-btn-outline-text: @accent-color;
+ --color-btn-outline-text: @accent;
--color-fg-muted: @subtext1;
--button-default-fgColor-rest: @text;
--button-default-bgColor-rest: @surface0;
@@ -719,8 +719,8 @@
.node ellipse,
.node polygon,
.node path {
- fill: fade(@accent-color, 10%);
- stroke: @accent-color;
+ fill: fade(@accent, 10%);
+ stroke: @accent;
}
.cluster rect {
@@ -761,42 +761,42 @@
"https:\/\/notebooks\.githubusercontent\.com\/view\/ipynb.*"
) {
:root {
- #catppuccin(@darkFlavor, @accentColor);
+ #catppuccin(@darkFlavor);
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -811,17 +811,17 @@
--jp-border-color2: var(--color-scale-gray-8);
--jp-border-color3: var(--color-scale-gray-9);
--jp-ui-font-color0: @text;
- --jp-ui-font-color1: fadeout(@text, 13%);
- --jp-ui-font-color2: fadeout(@text, 46%);
- --jp-ui-font-color3: fadeout(@text, 72%);
+ --jp-ui-font-color1: fade(@text, 87%);
+ --jp-ui-font-color2: fade(@text, 54%);
+ --jp-ui-font-color3: fade(@text, 28%);
--jp-ui-inverse-font-color0: @crust;
- --jp-ui-inverse-font-color1: fadeout(@crust, 20%);
- --jp-ui-inverse-font-color2: fadeout(@crust, 50%);
- --jp-ui-inverse-font-color3: fadeout(@crust, 70%);
+ --jp-ui-inverse-font-color1: fade(@crust, 80%);
+ --jp-ui-inverse-font-color2: fade(@crust, 50%);
+ --jp-ui-inverse-font-color3: fade(@crust, 30%);
--jp-content-font-color0: @text;
--jp-content-font-color1: @text;
- --jp-content-font-color2: fadeout(@text, 30%);
- --jp-content-font-color3: fadeout(@text, 50%);
+ --jp-content-font-color2: fade(@text, 70%);
+ --jp-content-font-color3: fade(@text, 50%);
--jp-content-link-color: @sapphire;
--jp-layout-color0: @base !important;
--jp-layout-color1: var(--color-scale-gray-9);
@@ -861,19 +861,19 @@
--jp-cell-editor-background: @mantle;
--jp-cell-editor-border-color: var(--color-scale-gray-7);
--jp-cell-editor-box-shadow: inset 0 0 2px var(--color-scale-blue-3);
- --jp-cell-prompt-not-active-font-color: fadeout(@text, 50%);
+ --jp-cell-prompt-not-active-font-color: fade(@text, 50%);
--jp-cell-inprompt-font-color: var(--color-scale-blue-6);
--jp-cell-outprompt-font-color: var(--color-scale-coral-6);
- --jp-notebook-multiselected-color: fadeout(@overlay2, 86%);
- --jp-rendermime-error-background: fadeout(@red, 82%);
+ --jp-notebook-multiselected-color: fade(@overlay2, 14%);
+ --jp-rendermime-error-background: fade(@red, 18%);
--jp-rendermime-table-row-background: var(--color-scale-gray-9);
- --jp-rendermime-table-row-hover-background: fadeout(@surface2, 86%);
- --jp-dialog-background: fadeout(@crust, 40%);
- --jp-toolbar-box-shadow: 0px 0px 2px 0px fadeout(@crust, 20%);
+ --jp-rendermime-table-row-hover-background: fade(@surface2, 14%);
+ --jp-dialog-background: fade(@crust, 60%);
+ --jp-toolbar-box-shadow: 0px 0px 2px 0px fade(@crust, 80%);
--jp-input-box-shadow: inset 0 0 2px var(--color-scale-blue-3);
--jp-input-background: var(--color-scale-gray-8);
- --jp-input-active-box-shadow-color: fadeout(@blue, 70%);
- --jp-editor-selected-focused-background: fadeout(@blue, 86%);
+ --jp-input-active-box-shadow-color: fade(@blue, 30%);
+ --jp-editor-selected-focused-background: fade(@blue, 14%);
--jp-mirror-editor-keyword-color: var(--color-scale-green-5);
--jp-mirror-editor-atom-color: var(--color-scale-blue-3);
--jp-mirror-editor-number-color: var(--color-scale-green-4);
diff --git a/styles/gmail/catppuccin.user.less b/styles/gmail/catppuccin.user.less
index 33e372b4..04a9d9f5 100644
--- a/styles/gmail/catppuccin.user.less
+++ b/styles/gmail/catppuccin.user.less
@@ -16,54 +16,52 @@
==/UserStyle== */
@-moz-document domain("mail.google.com") {
- @media (prefers-color-scheme: light) {
- :root {
- #catppuccin(@lightFlavor, @accentColor);
+ :root {
+ @media (prefers-color-scheme: light) {
+ #catppuccin(@lightFlavor);
}
- }
- @media (prefers-color-scheme: dark) {
- :root {
- #catppuccin(@darkFlavor, @accentColor);
+ @media (prefers-color-scheme: dark) {
+ #catppuccin(@darkFlavor);
}
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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[@@lookup][@crust_filter];
- @text-filter: @catppuccin[@@lookup][@text_filter];
- @yellow-filter: @catppuccin[@@lookup][@yellow_filter];
+ @crust-filter: @catppuccin-filters[@@flavor][@crust];
+ @text-filter: @catppuccin-filters[@@flavor][@text];
+ @yellow-filter: @catppuccin-filters[@@flavor][@yellow];
- color-scheme: if(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -114,7 +112,7 @@
/* Solid primary */
.T-I-atl {
- background-color: @accent-color;
+ background-color: @accent;
color: @crust;
}
@@ -122,10 +120,10 @@
.l0,
div.b8 .a8k,
.bAo > .ad {
- color: @accent-color;
+ color: @accent;
&::before {
- background-color: @accent-color;
+ background-color: @accent;
}
}
@@ -192,7 +190,7 @@
background-color: @surface0;
> .gssb_a {
- border-left-color: @accent-color;
+ border-left-color: @accent;
}
/* X icon */
@@ -237,7 +235,7 @@
}
&.bws {
- background-color: @accent-color;
+ background-color: @accent;
color: @crust;
fill: @crust;
@@ -246,7 +244,7 @@
}
&:hover .H1 {
- background-color: darken(@accent-color, 5%);
+ background-color: darken(@accent, 5%);
}
}
}
@@ -285,7 +283,7 @@
color: @text;
&:focus {
- box-shadow: inset 0 -1px 0 0 @accent-color;
+ box-shadow: inset 0 -1px 0 0 @accent;
}
}
@@ -317,7 +315,7 @@
color: @crust;
&::before {
- background-color: fade(@accent-color, 70%);
+ background-color: fade(@accent, 70%);
}
}
@@ -326,7 +324,7 @@
color: @crust;
&::before {
- background-color: @accent-color;
+ background-color: @accent;
}
}
@@ -419,7 +417,7 @@
/* Compose email button */
.z0 > .L3 {
- background-color: @accent-color;
+ background-color: @accent;
color: @crust;
&:focus {
@@ -544,7 +542,7 @@
}
/* Selected unread emails */
.x7 {
- background-color: @accent-color;
+ background-color: @accent;
color: @mantle;
/* Dates */
@@ -589,7 +587,7 @@
color: @text;
}
.aRq {
- color: @accent-color;
+ color: @accent;
}
}
/* You could lose access banner */
@@ -615,10 +613,10 @@
}
/* Add recovery info button */
.GV {
- color: @accent-color;
+ color: @accent;
&::before {
- background-color: @accent-color;
+ background-color: @accent;
}
}
}
@@ -700,7 +698,7 @@
box-shadow: inset 0 -2px 0 0 @surface2;
&:focus {
- box-shadow: inset 0 -2px 0 0 @accent-color;
+ box-shadow: inset 0 -2px 0 0 @accent;
}
}
/* Magnifying glass icon */
@@ -737,7 +735,7 @@
/* Save button */
div.Kj-JD-Jl > button.J-at1-atl,
div.Kj-JD-Jl > button.J-at1-auR {
- background-color: @accent-color;
+ background-color: @accent;
color: @crust;
}
}
@@ -821,7 +819,7 @@
/* Send button */
.gU .v7.T-I:not(.btz),
.gU .hG:not(.v6) {
- background-color: @accent-color;
+ background-color: @accent;
color: @crust;
}
.hG > .G-asx,
@@ -884,7 +882,7 @@
/* Currently selected tab */
.fZ {
- box-shadow: inset 0 -2px 0 0 @accent-color;
+ box-shadow: inset 0 -2px 0 0 @accent;
}
}
/* Main panel */
@@ -903,7 +901,7 @@
.sA,
.r4 .e,
.el {
- color: @accent-color;
+ color: @accent;
}
#input-styling();
@@ -920,7 +918,7 @@
/* Some buttons */
.Uu {
box-shadow: inset 0 0 0 1px @surface0;
- color: @accent-color;
+ color: @accent;
}
}
/* Labels page */
@@ -939,7 +937,7 @@
/* Links */
.alP {
- color: @accent-color;
+ color: @accent;
}
/* Dividers */
@@ -956,7 +954,7 @@
/* Buttons */
[data-mdc-dialog-action="ok"] {
- background-color: @accent-color;
+ background-color: @accent;
--gm3-button-text-label-text-color: @crust;
--gm3-button-text-hover-label-text-color: @crust;
--gm3-button-text-pressed-label-text-color: @crust;
@@ -980,8 +978,16 @@
/* deno-fmt-ignore */
@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @yellow_filter: brightness(0) saturate(100%) invert(84%) sepia(47%) saturate(5389%) hue-rotate(348deg) brightness(92%) contrast(90%);; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @text_filter: brightness(0) saturate(100%) invert(31%) sepia(12%) saturate(1015%) hue-rotate(196deg) brightness(94%) contrast(91%); @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; @crust_filter: brightness(0) saturate(100%) invert(96%) sepia(3%) saturate(583%) hue-rotate(187deg) brightness(92%) contrast(97%); };
- @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @yellow_filter: brightness(0) saturate(100%) invert(79%) sepia(20%) saturate(586%) hue-rotate(1deg) brightness(103%) contrast(84%); @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @text_filter: brightness(0) saturate(100%) invert(80%) sepia(11%) saturate(726%) hue-rotate(192deg) brightness(104%) contrast(92%); @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; @crust_filter: brightness(0) saturate(100%) invert(11%) sepia(6%) saturate(3257%) hue-rotate(192deg) brightness(93%) contrast(88%); };
- @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @yellow_filter: brightness(0) saturate(100%) invert(87%) sepia(24%) saturate(488%) hue-rotate(350deg) brightness(97%) contrast(93%); @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @text_filter: brightness(0) saturate(100%) invert(84%) sepia(5%) saturate(1385%) hue-rotate(192deg) brightness(101%) contrast(92%); @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; @crust_filter: brightness(0) saturate(100%) invert(9%) sepia(7%) saturate(2560%) hue-rotate(198deg) brightness(95%) contrast(97%); };
- @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @yellow_filter: brightness(0) saturate(100%) invert(83%) sepia(35%) saturate(324%) hue-rotate(347deg) brightness(105%) contrast(95%); @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @text_filter: brightness(0) saturate(100%) invert(87%) sepia(6%) saturate(985%) hue-rotate(191deg) 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; @crust_filter: brightness(0) saturate(100%) invert(3%) sepia(12%) saturate(3951%) hue-rotate(206deg) brightness(96%) contrast(92%); };
+ @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 23912e42..b643ad7b 100644
--- a/styles/go.dev/catppuccin.user.less
+++ b/styles/go.dev/catppuccin.user.less
@@ -16,58 +16,56 @@
==/UserStyle== */
@-moz-document domain("go.dev") {
- @media (prefers-color-scheme: light) {
- :root[data-theme="auto"],
- :root:not([data-theme]) {
- #catppuccin(@lightFlavor, @accentColor);
+ :root[data-theme="auto"],
+ :root:not([data-theme]) {
+ @media (prefers-color-scheme: light) {
+ #catppuccin(@lightFlavor);
}
- }
- @media (prefers-color-scheme: dark) {
- :root[data-theme="auto"],
- :root:not([data-theme]) {
- #catppuccin(@darkFlavor, @accentColor);
+ @media (prefers-color-scheme: dark) {
+ #catppuccin(@darkFlavor);
}
}
+
:root[data-theme="dark"] {
- #catppuccin(@darkFlavor, @accentColor);
+ #catppuccin(@darkFlavor);
}
:root[data-theme="light"] {
- #catppuccin(@lightFlavor, @accentColor);
+ #catppuccin(@lightFlavor);
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -91,27 +89,26 @@
--color-background-inverted: @crust;
--color-background-logo: @text;
--color-background-playground-input: @mantle;
- --color-brand-primary: @accent-color; // Affects most Go-Color Elements
- --color-button: @accent-color;
- --color-button-accented: @accent-color;
+ --color-brand-primary: @accent; // Affects most Go-Color Elements
+ --color-button: @accent;
+ --color-button-accented: @accent;
--color-button-text: @crust;
--color-button-text-disabled: @subtext0;
- --color-bright-text-link: @accent-color;
+ --color-bright-text-link: @accent;
--color-text: @text;
- --color-text-link: @accent-color;
+ --color-text-link: @accent;
--color-text-subtle: @subtext1;
- --focus-box-shadow: 0 0 0.0625rem 0.0625rem
- @accent-color; // Only modifies color;
+ --focus-box-shadow: 0 0 0.0625rem 0.0625rem @accent; // Only modifies color;
--gray-2: @surface0;
--gray-3: @text;
--gray-6: @crust;
--pink: @red;
- --turq-dark: @accent-color;
+ --turq-dark: @accent;
--white: @text;
--border-code: 0.0625rem @surface2 solid;
.btn {
- background: @accent-color;
+ background: @accent;
color: @crust;
}
// /dl page in go.dev
@@ -168,7 +165,7 @@
}
// Download button in /learn
.Learn-heroAction {
- background-color: @accent-color;
+ background-color: @accent;
.js-downloadBtn {
color: @crust;
@@ -176,16 +173,16 @@
}
// Active indicator in /learn
.LearnNav .active svg circle {
- fill: @accent-color;
+ fill: @accent;
}
.LeftNav a.active,
.LeftNav a:hover {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
img {
@svg: escape(
- ''
+ ''
);
content: url("data:image/svg+xml,@{svg}");
}
@@ -238,7 +235,7 @@
// Drawer Selection
.NavigationDrawer-listItem--active {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
}
// /play
@@ -249,7 +246,7 @@
}
// Run Button for Code Snippet
.Playground-runButton {
- border-color: @accent-color;
+ border-color: @accent;
}
// Go Main Header
.Site-header,
@@ -258,7 +255,7 @@
.Header-menuItem--active a,
.go-Header-menuItem--active a {
- border-bottom-color: @accent-color;
+ border-bottom-color: @accent;
}
// Mobile Burger Icon
button.Header-navOpen--white,
@@ -274,7 +271,7 @@
.WhyGo-reasons {
.WhyGo-reasonPackagesHeader img {
@svg: escape(
- ''
+ ''
);
content: url("data:image/svg+xml,@{svg}");
}
@@ -323,7 +320,7 @@
// Right Arrow Icons
.go-NavigationDrawer-listItem a[href="#"] img.go-Icon {
@svg: escape(
- ''
+ ''
);
content: url("data:image/svg+xml,@{svg}");
filter: none;
@@ -358,7 +355,7 @@
// Menu Active Selector
img.TabSection-underline {
@svg: escape(
- ''
+ ''
);
content: url("data:image/svg+xml,@{svg}");
}
@@ -372,7 +369,7 @@
}
}
// Companies in Main Page Contrast
- & when (@lookup = latte) {
+ & when (@flavor = latte) {
.WhoUsesCaseStudyList-caseStudyLink {
background-color: @surface0;
}
@@ -381,53 +378,51 @@
}
@-moz-document domain("pkg.go.dev") {
- @media (prefers-color-scheme: light) {
- :root[data-theme="auto"],
- :root:not([data-theme]) {
- #catppuccin(@lightFlavor, @accentColor);
+ :root[data-theme="auto"],
+ :root:not([data-theme]) {
+ @media (prefers-color-scheme: light) {
+ #catppuccin(@lightFlavor);
}
- }
- @media (prefers-color-scheme: dark) {
- :root[data-theme="auto"],
- :root:not([data-theme]) {
- #catppuccin(@darkFlavor, @accentColor);
+ @media (prefers-color-scheme: dark) {
+ #catppuccin(@darkFlavor);
}
}
- :root[data-theme="dark"] {
- #catppuccin(@darkFlavor, @accentColor);
- }
- :root[data-theme="light"] {
- #catppuccin(@lightFlavor, @accentColor);
- }
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ :root[data-theme="dark"] {
+ #catppuccin(@darkFlavor);
+ }
+ :root[data-theme="light"] {
+ #catppuccin(@lightFlavor);
+ }
+
+ #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];
// Pkg.go Carousel
.go-Carousel {
@@ -454,7 +449,7 @@
// Pkg.go Clipboard Icon
.go-Clipboard img.go-Icon {
@svg: escape(
- ''
+ ''
);
content: url("data:image/svg+xml,@{svg}");
filter: none;
@@ -462,7 +457,7 @@
// Pkg.go Header
.go-Header {
.go-Header-submenu {
- border-color: @accent-color;
+ border-color: @accent;
}
// Triangle Icon Accented
@@ -470,7 +465,7 @@
.go-Header-menuItem:focus-within
img.go-Icon[alt="submenu dropdown icon"] {
@svg: escape(
- ''
+ ''
);
content: url("data:image/svg+xml,@{svg}");
filter: none;
@@ -522,7 +517,7 @@
}
.go-NavigationDrawer-listItem--active {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
}
//Pkg.go Search Bar
@@ -545,7 +540,7 @@
a[href="https://www.meetup.com/pro/go"],
a[href="https://github.com/golang/go/wiki/Conferences"] {
@svg: escape(
- ''
+ ''
);
img,
@@ -593,7 +588,7 @@
// Search Icon in pkg.go - Accented
form.Homepage-search--symbol::before {
@svg: escape(
- ''
+ ''
);
background-image: url("data:image/svg+xml,@{svg}");
}
@@ -663,7 +658,7 @@
img.go-Icon.go-Icon--accented[alt="checked"] {
@svg: escape(
- ''
+ ''
);
content: url("data:image/svg+xml,@{svg}");
filter: none;
@@ -704,53 +699,51 @@
}
@-moz-document url-prefix("https://go.dev/tour") {
- @media (prefers-color-scheme: light) {
- :root[data-theme="auto"],
- :root:not([data-theme]) {
- #catppuccin(@lightFlavor, @accentColor);
+ :root[data-theme="auto"],
+ :root:not([data-theme]) {
+ @media (prefers-color-scheme: light) {
+ #catppuccin(@lightFlavor);
}
- }
- @media (prefers-color-scheme: dark) {
- :root[data-theme="auto"],
- :root:not([data-theme]) {
- #catppuccin(@darkFlavor, @accentColor);
+ @media (prefers-color-scheme: dark) {
+ #catppuccin(@darkFlavor);
}
}
- :root[data-theme="dark"] {
- #catppuccin(@darkFlavor, @accentColor);
- }
- :root[data-theme="light"] {
- #catppuccin(@lightFlavor, @accentColor);
- }
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ :root[data-theme="dark"] {
+ #catppuccin(@darkFlavor);
+ }
+ :root[data-theme="light"] {
+ #catppuccin(@lightFlavor);
+ }
+
+ #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];
#editor-container {
#left-side {
@@ -758,11 +751,11 @@
background-color: @base;
a {
- color: @accent-color;
+ color: @accent;
}
code {
- background-color: @accent-color !important;
+ background-color: @accent !important;
color: @crust;
}
@@ -783,7 +776,7 @@
color: @text;
a {
- color: @accent-color;
+ color: @accent;
}
}
}
@@ -861,7 +854,7 @@
}
a#run {
- background-color: @accent-color;
+ background-color: @accent;
}
pre.info {
@@ -887,7 +880,7 @@
background-color: @mantle;
span.ng-binding {
background-color: @base;
- color: @accent-color;
+ color: @accent;
}
.toc-lesson span.ng-binding {
@@ -924,7 +917,7 @@
}
a {
- color: @accent-color;
+ color: @accent;
}
}
}
diff --git a/styles/google-drive/catppuccin.user.less b/styles/google-drive/catppuccin.user.less
index dc38367f..67c3caab 100644
--- a/styles/google-drive/catppuccin.user.less
+++ b/styles/google-drive/catppuccin.user.less
@@ -19,49 +19,49 @@
:root:has(.KkxPLb) {
.vhoiae.vhoiae.vhoiae,
& {
- #catppuccin(@lightFlavor, @accentColor);
+ #catppuccin(@lightFlavor);
}
}
:root:has(.LgGVmb) {
.vhoiae.vhoiae.vhoiae,
& {
- #catppuccin(@darkFlavor, @accentColor);
+ #catppuccin(@darkFlavor);
}
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -81,7 +81,7 @@
--dt-surface-variant: @surface0;
--dt-inverse-on-surface: @surface0;
--dt-surface: @base;
- --dt-surface-tint: @accent-color;
+ --dt-surface-tint: @accent;
--dt-shadow-elevation-1:
0px 3px 1px -2px fade(@base, 20%), 0px 2px 2px 0px fade(@base, 14%), 0px
1px 5px 0px fade(@base, 12%);
@@ -107,11 +107,11 @@
--dt-on-primary-container: @text;
--dt-primary-container-icon: @text;
--dt-primary-container-link: @text;
- --dt-primary: @accent-color;
- --dt-primary-action: @accent-color;
- --dt-primary-action-stateful: @accent-color;
- --dt-primary-outline: @accent-color;
- --dt-primary-action-state-layer: @accent-color;
+ --dt-primary: @accent;
+ --dt-primary-action: @accent;
+ --dt-primary-action-stateful: @accent;
+ --dt-primary-outline: @accent;
+ --dt-primary-action-state-layer: @accent;
--dt-primary-container: @surface0;
--dt-on-primary: @base;
--dt-primary-icon: @base;
@@ -119,11 +119,11 @@
--dt-on-secondary-container: @text;
--dt-secondary-container-icon: @text;
--dt-secondary-container-link: @text;
- --dt-secondary: @accent-color;
- --dt-secondary-action: @accent-color;
- --dt-secondary-action-stateful: @accent-color;
- --dt-secondary-outline: @accent-color;
- --dt-secondary-action-state-layer: @accent-color;
+ --dt-secondary: @accent;
+ --dt-secondary-action: @accent;
+ --dt-secondary-action-stateful: @accent;
+ --dt-secondary-outline: @accent;
+ --dt-secondary-action-state-layer: @accent;
--dt-secondary-container: @surface0;
--dt-on-secondary: @base;
--dt-secondary-icon: @base;
@@ -131,11 +131,11 @@
--dt-on-tertiary-container: @text;
--dt-tertiary-container-icon: @text;
--dt-tertiary-container-link: @text;
- --dt-tertiary: @accent-color;
- --dt-tertiary-action: @accent-color;
- --dt-tertiary-action-stateful: @accent-color;
- --dt-tertiary-outline: @accent-color;
- --dt-tertiary-action-state-layer: @accent-color;
+ --dt-tertiary: @accent;
+ --dt-tertiary-action: @accent;
+ --dt-tertiary-action-stateful: @accent;
+ --dt-tertiary-outline: @accent;
+ --dt-tertiary-action-state-layer: @accent;
--dt-tertiary-container: @surface0;
--dt-on-tertiary: @base;
--dt-tertiary-icon: @base;
@@ -244,16 +244,16 @@
--gm3-sys-color-outline-rgb: #rgbify(@overlay0)[];
--gm3-sys-color-outline-variant: @surface2;
--gm3-sys-color-outline-variant-rgb: #rgbify(@surface2)[];
- --gm3-sys-color-primary: @accent-color;
- --gm3-sys-color-primary-rgb: #rgbify(@accent-color)[];
+ --gm3-sys-color-primary: @accent;
+ --gm3-sys-color-primary-rgb: #rgbify(@accent)[];
--gm3-sys-color-primary-container: @surface0;
--gm3-sys-color-primary-container-rgb: #rgbify(@surface0)[];
- --gm3-sys-color-primary-fixed: @accent-color;
- --gm3-sys-color-primary-fixed-rgb: #rgbify(@accent-color)[];
- --gm3-sys-color-primary-fixed-dim: @accent-color;
- --gm3-sys-color-primary-fixed-dim-rgb: #rgbify(@accent-color)[];
- --gm3-sys-color-secondary: @accent-color;
- --gm3-sys-color-secondary-rgb: #rgbify(@accent-color);
+ --gm3-sys-color-primary-fixed: @accent;
+ --gm3-sys-color-primary-fixed-rgb: #rgbify(@accent)[];
+ --gm3-sys-color-primary-fixed-dim: @accent;
+ --gm3-sys-color-primary-fixed-dim-rgb: #rgbify(@accent)[];
+ --gm3-sys-color-secondary: @accent;
+ --gm3-sys-color-secondary-rgb: #rgbify(@accent);
--gm3-sys-color-secondary-container: @surface0;
--gm3-sys-color-secondary-container-rgb: #rgbify(@surface0)[];
--gm3-sys-color-secondary-fixed: #c2e7ff;
@@ -276,20 +276,20 @@
--gm3-sys-color-surface-container-lowest-rgb: #rgbify(@crust)[];
--gm3-sys-color-surface-dim: @crust;
--gm3-sys-color-surface-dim-rgb: #rgbify(@crust)[];
- --gm3-sys-color-surface-tint: @accent-color;
- --gm3-sys-color-surface-tint-rgb: #rgbify(@accent-color)[];
+ --gm3-sys-color-surface-tint: @accent;
+ --gm3-sys-color-surface-tint-rgb: #rgbify(@accent)[];
--gm3-sys-color-surface-variant: @surface0;
--gm3-sys-color-surface-variant-rgb: #rgbify(@surface0)[];
- --gm3-sys-color-tertiary: @accent-color;
- --gm3-sys-color-tertiary-rgb: #rgbify(@accent-color)[];
+ --gm3-sys-color-tertiary: @accent;
+ --gm3-sys-color-tertiary-rgb: #rgbify(@accent)[];
--gm3-sys-color-tertiary-container: @surface0;
--gm3-sys-color-tertiary-container-rgb: #rgbify(@surface0);
- --gm3-sys-color-tertiary-fixed: @accent-color;
- --gm3-sys-color-tertiary-fixed-rgb: #rgbify(@accent-color)[];
- --gm3-sys-color-tertiary-fixed-dim: @accent-color;
- --gm3-sys-color-tertiary-fixed-dim-rgb: #rgbify(@accent-color)[];
+ --gm3-sys-color-tertiary-fixed: @accent;
+ --gm3-sys-color-tertiary-fixed-rgb: #rgbify(@accent)[];
+ --gm3-sys-color-tertiary-fixed-dim: @accent;
+ --gm3-sys-color-tertiary-fixed-dim-rgb: #rgbify(@accent)[];
- & when (@lookup = latte) {
+ & when (@flavor = latte) {
--dt-scrim: fade(@text, 50%);
--dt-scrim-2x: fade(@text, 50%);
--gm3-sys-color-scrim: @text;
@@ -298,7 +298,7 @@
--gm3-sys-color-shadow-rgb: #rgbify(@text)[];
}
- & when not(@lookup = latte) {
+ & when not(@flavor = latte) {
--dt-scrim: fade(@base, 50%);
--dt-scrim-2x: fade(@base, 50%);
--gm3-sys-color-scrim: @base;
@@ -400,25 +400,25 @@
.a-b-uoC0bf .ae-uoC0bf .g-d,
.a-b-uoC0bf
.ae-mAKE4e-Hc-w-d.h-R-w-d /* File preview (in Drive) share button */ {
- background-color: @accent-color;
+ background-color: @accent;
color: @base;
/* File preview (separate tab) share icon */
.IyROMc-euCgFf-LJSvSb,
.ae-c /* File preview (in Drive) share icon */ {
- & when (@lookup = latte) {
+ & when (@flavor = latte) {
filter: brightness(0) invert(97%) sepia(4%) saturate(152%) hue-rotate(
183deg
) brightness(94%) contrast(106%);
}
- & when (@lookup = frappe) {
+ & when (@flavor = frappe) {
filter: brightness(0) invert(15%) sepia(8%) saturate(2252%)
hue-rotate(192deg) brightness(98%) contrast(85%);
}
- & when (@lookup = macchiato) {
+ & when (@flavor = macchiato) {
filter: brightness(0) invert(13%) sepia(26%) saturate(823%)
hue-rotate(195deg) brightness(90%) contrast(92%);
}
- & when (@lookup = mocha) {
+ & when (@flavor = mocha) {
filter: brightness(0) invert(10%) sepia(36%) saturate(650%)
hue-rotate(201deg) brightness(90%) contrast(93%);
}
@@ -453,19 +453,19 @@
/* File preview (separate tab) share Quick options row icon */
.IyROMc-euCgFf-LJSvSb,
.ba-ea-i /* File preview (in Drive) share Quick options row icon */ {
- & when (@lookup = latte) {
+ & when (@flavor = latte) {
filter: brightness(0) invert(31%) sepia(10%) saturate(1268%)
hue-rotate(196deg) brightness(90%) contrast(86%);
}
- & when (@lookup = frappe) {
+ & when (@flavor = frappe) {
filter: brightness(0) invert(80%) sepia(7%) saturate(1070%)
hue-rotate(192deg) brightness(104%) contrast(92%);
}
- & when (@lookup = macchiato) {
+ & when (@flavor = macchiato) {
filter: brightness(0) invert(84%) sepia(13%) saturate(579%)
hue-rotate(193deg) brightness(99%) contrast(94%);
}
- & when (@lookup = mocha) {
+ & when (@flavor = mocha) {
filter: brightness(0) invert(84%) sepia(19%) saturate(370%)
hue-rotate(192deg) brightness(98%) contrast(95%);
}
@@ -485,22 +485,22 @@
.a-b-c[style="user-select: none;"],
.a-b-K-zc-Eb-bg-a-c /* File preview (in Drive) Save to drive */,
.a-b-K-X-c /* File preview (in Drive) Save to drive (clicked) */ {
- & when (@lookup = latte) {
+ & when (@flavor = latte) {
filter: brightness(0) invert(31%) sepia(10%) saturate(1268%) hue-rotate(
196deg
) brightness(90%) contrast(86%);
}
- & when (@lookup = frappe) {
+ & when (@flavor = frappe) {
filter: brightness(0) invert(80%) sepia(7%) saturate(1070%) hue-rotate(
192deg
) brightness(104%) contrast(92%);
}
- & when (@lookup = macchiato) {
+ & when (@flavor = macchiato) {
filter: brightness(0) invert(84%) sepia(13%) saturate(579%) hue-rotate(
193deg
) brightness(99%) contrast(94%);
}
- & when (@lookup = mocha) {
+ & when (@flavor = mocha) {
filter: brightness(0) invert(84%) sepia(19%) saturate(370%) hue-rotate(
192deg
) brightness(98%) contrast(95%);
@@ -537,19 +537,19 @@
.ndfHFb-c4YZDc-bN97Pc-nupQLb-LgbsSe-Bz112c,
.a-b-x-rb-d-c /* File preview (in Drive) No preview available Download icon */
{
- & when (@lookup = latte) {
+ & when (@flavor = latte) {
filter: brightness(0) invert(31%) sepia(10%) saturate(1268%)
hue-rotate(196deg) brightness(90%) contrast(86%);
}
- & when (@lookup = frappe) {
+ & when (@flavor = frappe) {
filter: brightness(0) invert(80%) sepia(7%) saturate(1070%)
hue-rotate(192deg) brightness(104%) contrast(92%);
}
- & when (@lookup = macchiato) {
+ & when (@flavor = macchiato) {
filter: brightness(0) invert(84%) sepia(13%) saturate(579%)
hue-rotate(193deg) brightness(99%) contrast(94%);
}
- & when (@lookup = mocha) {
+ & when (@flavor = mocha) {
filter: brightness(0) invert(84%) sepia(19%) saturate(370%)
hue-rotate(192deg) brightness(98%) contrast(95%);
}
@@ -613,7 +613,7 @@
/* Drive sharing window material icon */
.SbpzSe .VfPpkd-StrnGf-rymPhb-f7MjDc {
- color: @accent-color;
+ color: @accent;
}
/* Drive sharing window access hover */
@@ -657,22 +657,22 @@
}
/* Drive applications sidebar get addons */
.Yb-Il-d#qJTzr .Yb-Il-d-c-j {
- & when (@lookup = latte) {
+ & when (@flavor = latte) {
filter: brightness(0) invert(31%) sepia(10%) saturate(1268%) hue-rotate(
196deg
) brightness(90%) contrast(86%);
}
- & when (@lookup = frappe) {
+ & when (@flavor = frappe) {
filter: brightness(0) invert(80%) sepia(7%) saturate(1070%) hue-rotate(
192deg
) brightness(104%) contrast(92%);
}
- & when (@lookup = macchiato) {
+ & when (@flavor = macchiato) {
filter: brightness(0) invert(84%) sepia(13%) saturate(579%) hue-rotate(
193deg
) brightness(99%) contrast(94%);
}
- & when (@lookup = mocha) {
+ & when (@flavor = mocha) {
filter: brightness(0) invert(84%) sepia(19%) saturate(370%) hue-rotate(
192deg
) brightness(98%) contrast(95%);
diff --git a/styles/google-gemini/catppuccin.user.less b/styles/google-gemini/catppuccin.user.less
index 66329212..aa0e0d0a 100644
--- a/styles/google-gemini/catppuccin.user.less
+++ b/styles/google-gemini/catppuccin.user.less
@@ -19,41 +19,41 @@
@import url("https://unpkg.com/@catppuccin/highlightjs@1.0.0/css/catppuccin-variables.important.css");
:root .dark-theme {
- #catppuccin(@darkFlavor, @accentColor);
+ #catppuccin(@darkFlavor);
}
:root .light-theme {
- #catppuccin(@lightFlavor, @accentColor);
+ #catppuccin(@lightFlavor);
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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;
@@ -82,10 +82,10 @@
--ctp-mantle: @mantle;
--ctp-crust: @crust;
- color-scheme: if(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -110,7 +110,7 @@
--bard-color-response-container-background-rgb: #rgbify(@base)[];
--bard-color-onhover-conversation-metadata-button-v2: @surface1;
--bard-color-selected-conversation-metadata-button-v2: fade(
- @accent-color,
+ @accent,
40%
);
--bard-color-new-conversation-button: @surface0;
@@ -119,7 +119,7 @@
--bard-color-sidenav-upgrade-button: @surface0;
--bard-color-form-field-placeholder: @subtext0;
--bard-color-discovery-carousel-background: @mantle;
- --bard-color-discovery-carousel-icon: @accent-color;
+ --bard-color-discovery-carousel-icon: @accent;
--bard-color-example-prompt-background: @crust;
--bard-color-bard-mode-logo-prefix: @subtext1;
--bard-color-neutral-96: @crust;
@@ -127,17 +127,17 @@
--bard-color-adv-marketing-product-background: @surface0;
--bard-color-adv-marketing-disclaimer: @subtext0;
--bard-color-input-area-buttons-selected-background: fade(
- @accent-color,
+ @accent,
70%
);
- --bard-color-zero-state-card-selected: fade(@accent-color, 30%);
- --bard-color-zero-state-prompt-chip-background: fade(@accent-color, 50%);
- --bard-color-zero-state-prompt-chip-text: lighten(@accent-color, 5%);
- --bard-color-regular-banner: @accent-color;
+ --bard-color-zero-state-card-selected: fade(@accent, 30%);
+ --bard-color-zero-state-prompt-chip-background: fade(@accent, 50%);
+ --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-color)[];
- --bard-color-skeleton-loader-background-3-rgb: #rgbify(@accent-color)[];
+ --bard-color-skeleton-loader-background-2-rgb: #rgbify(@accent)[];
+ --bard-color-skeleton-loader-background-3-rgb: #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;
@@ -159,18 +159,18 @@
--bard-color-tunable-selection-menu-text: @text;
--bard-color-tunable-selection-menu-background: @mantle;
--bard-color-tunable-selection-textarea-background: @base;
- --bard-color-tunable-selection-shimmer-non-advanced: @accent-color;
+ --bard-color-tunable-selection-shimmer-non-advanced: @accent;
--bard-color-onegooglebar-product-controls: @text;
--bard-color-adv-marketing-check: @text;
- --mdc-switch-selected-hover-handle-color: lighten(@accent-color, 10%);
- --mdc-switch-selected-focus-handle-color: lighten(@accent-color, 10%);
- --mdc-switch-selected-pressed-handle-color: lighten(@accent-color, 15%);
- --mdc-switch-selected-track-color: fade(@accent-color, 50%);
- --mdc-switch-selected-hover-track-color: fade(@accent-color, 50%);
- --mdc-switch-selected-focus-track-color: fade(@accent-color, 50%);
- --mdc-switch-selected-pressed-track-color: fade(@accent-color, 50%);
- --mdc-switch-selected-handle-color: @accent-color;
+ --mdc-switch-selected-hover-handle-color: lighten(@accent, 10%);
+ --mdc-switch-selected-focus-handle-color: lighten(@accent, 10%);
+ --mdc-switch-selected-pressed-handle-color: lighten(@accent, 15%);
+ --mdc-switch-selected-track-color: fade(@accent, 50%);
+ --mdc-switch-selected-hover-track-color: fade(@accent, 50%);
+ --mdc-switch-selected-focus-track-color: fade(@accent, 50%);
+ --mdc-switch-selected-pressed-track-color: fade(@accent, 50%);
+ --mdc-switch-selected-handle-color: @accent;
--mdc-switch-unselected-handle-color: @subtext0;
--mdc-switch-unselected-hover-handle-color: @subtext1;
--mdc-switch-unselected-focus-handle-color: @text;
@@ -179,15 +179,15 @@
--mdc-switch-unselected-hover-track-color: @surface2;
--mdc-switch-unselected-pressed-track-color: @surface2;
--mdc-switch-unselected-focus-track-color: @surface2;
- --mdc-checkbox-selected-icon-color: @accent-color;
+ --mdc-checkbox-selected-icon-color: @accent;
--mdc-checkbox-selected-checkmark-color: var(--gem-sys-color--on-primary);
- --mdc-checkbox-selected-hover-icon-color: @accent-color;
- --mdc-checkbox-selected-pressed-icon-color: @accent-color;
- --mdc-checkbox-selected-focus-icon-color: @accent-color;
- --mdc-checkbox-selected-focus-state-layer-color: @accent-color;
- --mdc-checkbox-selected-hover-state-layer-color: @accent-color;
+ --mdc-checkbox-selected-hover-icon-color: @accent;
+ --mdc-checkbox-selected-pressed-icon-color: @accent;
+ --mdc-checkbox-selected-focus-icon-color: @accent;
+ --mdc-checkbox-selected-focus-state-layer-color: @accent;
+ --mdc-checkbox-selected-hover-state-layer-color: @accent;
--mdc-checkbox-selected-pressed-state-layer-color: @text;
- --mdc-checkbox-unselected-pressed-state-layer-color: @accent-color;
+ --mdc-checkbox-unselected-pressed-state-layer-color: @accent;
--mdc-checkbox-unselected-focus-state-layer-color: @text;
--mdc-checkbox-unselected-hover-state-layer-color: @text;
--mdc-checkbox-unselected-focus-icon-color: @text;
@@ -197,13 +197,13 @@
--mdc-text-button-hover-label-text-color: @overlay2;
--mdc-list-list-item-hover-label-text-color: @text;
--mdc-filled-button-label-text-color: @crust;
- --mdc-circular-progress-active-indicator-color: @accent-color;
+ --mdc-circular-progress-active-indicator-color: @accent;
--mdc-outlined-button-focus-outline-color: @text;
--mdc-outlined-button-hover-label-text-color: @subtext1;
--mdc-list-list-item-focus-label-text-color: @text;
--mdc-icon-button-disabled-icon-color: @surface2;
--mdc-outlined-text-field-input-text-color: @text;
- --mdc-outlined-text-field-focus-outline-color: @accent-color;
+ --mdc-outlined-text-field-focus-outline-color: @accent;
--mdc-outlined-text-field-outline-color: @overlay1;
--mat-app-text-color: @text;
@@ -221,12 +221,12 @@
--mat-menu-container-color: @base;
--mat-menu-item-icon-color: @text;
--mat-filled-button-state-layer-color: @overlay2;
- --mat-focus-indicator-border-color: @accent-color;
+ --mat-focus-indicator-border-color: @accent;
--mat-fab-small-hover-state-layer-opacity: 1;
--mat-divider-color: @overlay2;
--gm-outlinedtextfield-outline-color: @subtext0;
- --gm-outlinedtextfield-outline-color--stateful: @accent-color;
+ --gm-outlinedtextfield-outline-color--stateful: @accent;
--gm-outlinedtextfield-ink-color: @text;
--gm3-sys-color-on-secondary-container: @crust;
--gm3-sys-color-secondary-container: @text;
@@ -241,21 +241,21 @@
--gem-sys-color--surface-container-low: lighten(@mantle, 2%);
--gem-sys-color--outline: @subtext0;
--gem-sys-color--on-primary-container: @text;
- --gem-sys-color--on-primary-fixed: darken(@accent-color, 40%);
- --gem-sys-color--on-primary: darken(@accent-color, 60%);
- --gem-sys-color--primary: @accent-color;
- --gem-sys-color--primary-container: fade(@accent-color, 60%);
+ --gem-sys-color--on-primary-fixed: darken(@accent, 40%);
+ --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--surface-container-highest: @surface0;
--gem-sys-color--primary-fixed: @text;
- --gem-sys-color--on-secondary: fade(@accent-color, 30%);
+ --gem-sys-color--on-secondary: fade(@accent, 30%);
--gem-sys-color--surface-variant: @surface0;
--og-theme-color: @text;
.action-icon {
- --gem-sys-color--on-primary: @accent-color;
+ --gem-sys-color--on-primary: @accent;
--gem-sys-color--on-surface-variant: @mantle;
}
.draft-preview-label-chip.selected {
@@ -268,8 +268,8 @@
.mdc-text-field--disabled,
.mdc-text-field--focused
) {
- & .mdc-notched-outline__leading,
- & .mdc-notched-outline__trailing {
+ .mdc-notched-outline__leading,
+ .mdc-notched-outline__trailing {
border-color: @text !important;
}
}
@@ -331,8 +331,8 @@
color: rgba(var(--gem-sys-color--on-surface--rgb), 0.38);
}
.mat-mdc-progress-bar {
- --mdc-linear-progress-active-indicator-color: @accent-color;
- --mdc-linear-progress-track-color: fade(@accent-color, 50%);
+ --mdc-linear-progress-active-indicator-color: @accent;
+ --mdc-linear-progress-track-color: fade(@accent, 50%);
}
.mdc-list-item,
.gmat-mdc-list {
@@ -342,9 +342,9 @@
--mdc-list-list-item-focus-state-layer-color: @overlay2;
}
.gmat-mdc-button.mat-mdc-button.mat-primary {
- --mdc-text-button-label-text-color: @accent-color;
- --mdc-text-button-hover-label-text-color: lighten(@accent-color, 5%);
- --mdc-text-button-focus-label-text-color: lighten(@accent-color, 8%);
+ --mdc-text-button-label-text-color: @accent;
+ --mdc-text-button-hover-label-text-color: lighten(@accent, 5%);
+ --mdc-text-button-focus-label-text-color: lighten(@accent, 8%);
}
.gmat-mdc-button.mat-mdc-button.mat-unthemed {
--mat-text-button-state-layer-color: @overlay2;
@@ -355,7 +355,7 @@
.gmat-mdc-button.mat-mdc-fab:not(
.mat-mdc-button-disabled
).mat-primary.gmat-mdc-fab-fill {
- --mdc-fab-container-color: @accent-color;
+ --mdc-fab-container-color: @accent;
--mat-fab-foreground-color: @crust;
}
.gmat-mdc-button.mat-mdc-mini-fab:not(
@@ -376,8 +376,8 @@
.xap-count-badge-dot {
background-color: @red;
}
- & when (@lookup = latte) {
- --gem-sys-color--on-primary-fixed: @accent-color;
+ & when (@flavor = latte) {
+ --gem-sys-color--on-primary-fixed: @accent;
--gem-sys-color--on-primary: @mantle;
--gem-sys-color--primary-fixed: @crust;
}
diff --git a/styles/google-photos/catppuccin.user.less b/styles/google-photos/catppuccin.user.less
index 25c3cae1..1e8304e7 100644
--- a/styles/google-photos/catppuccin.user.less
+++ b/styles/google-photos/catppuccin.user.less
@@ -16,51 +16,48 @@
==/UserStyle== */
@-moz-document domain("photos.google.com") {
- @media (prefers-color-scheme: light) {
- :root {
- #catppuccin(@lightFlavor, @accentColor);
+ :root {
+ @media (prefers-color-scheme: light) {
+ #catppuccin(@lightFlavor);
+ }
+ @media (prefers-color-scheme: dark) {
+ #catppuccin(@darkFlavor);
}
}
- @media (prefers-color-scheme: dark) {
- :root {
- #catppuccin(@darkFlavor, @accentColor);
- }
- }
+ #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];
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
-
- color-scheme: if(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -83,43 +80,43 @@
}
.hIolmc {
--gm3-chip-assist-flat-label-text-color: @text;
- --gm3-chip-assist-flat-hover-label-text-color: @accent-color;
+ --gm3-chip-assist-flat-hover-label-text-color: @accent;
--gm3-chip-assist-flat-outline-color: @surface2;
--gm3-sys-color-outline: @surface2;
}
.I2nt9 {
--gm3-text-field-filled-container-color: @surface2;
--gm3-text-field-filled-input-text-color: @text;
- --gm3-sys-color-primary: @accent-color;
+ --gm3-sys-color-primary: @accent;
--gm3-sys-color-on-surface: @text;
- --gm3-text-field-filled-caret-color: @accent-color;
+ --gm3-text-field-filled-caret-color: @accent;
--gm3-text-field-filled-label-text-color: @text;
}
/* checkbox */
- --mdc-checkbox-selected-icon-color: @accent-color;
+ --mdc-checkbox-selected-icon-color: @accent;
--mdc-checkbox-selected-checkmark-color: @mantle;
--mdc-checkbox-unselected-icon-color: @surface0;
/* radio checkbox/switches */
.bEtrNb {
- --gm3-radio-selected-focus-icon-color: @accent-color;
- --gm3-radio-selected-hover-icon-color: @accent-color;
- --gm3-radio-selected-icon-color: @accent-color;
- --gm3-radio-selected-pressed-icon-color: @accent-color;
- --gm3-radio-selected-hover-state-layer-color: @accent-color;
+ --gm3-radio-selected-focus-icon-color: @accent;
+ --gm3-radio-selected-hover-icon-color: @accent;
+ --gm3-radio-selected-icon-color: @accent;
+ --gm3-radio-selected-pressed-icon-color: @accent;
+ --gm3-radio-selected-hover-state-layer-color: @accent;
--gm3-radio-unselected-icon-color: @surface0;
--gm3-radio-unselected-hover-icon-color: @surface2;
}
.OKFoxe {
- --gm3-switch-selected-focus-track-color: @accent-color;
- --gm3-switch-selected-hover-state-layer-color: @accent-color;
- --gm3-switch-selected-track-color: @accent-color;
- --gm3-switch-selected-hover-track-color: @accent-color;
- --gm3-switch-selected-pressed-state-layer-color: @accent-color;
- --gm3-switch-selected-pressed-track-color: @accent-color;
- --gm3-switch-selected-hover-handle-color: darken(@accent-color, 20%);
- --gm3-switch-selected-pressed-handle-color: darken(@accent-color, 15%);
- --gm3-switch-selected-handle-color: darken(@accent-color, 10%);
+ --gm3-switch-selected-focus-track-color: @accent;
+ --gm3-switch-selected-hover-state-layer-color: @accent;
+ --gm3-switch-selected-track-color: @accent;
+ --gm3-switch-selected-hover-track-color: @accent;
+ --gm3-switch-selected-pressed-state-layer-color: @accent;
+ --gm3-switch-selected-pressed-track-color: @accent;
+ --gm3-switch-selected-hover-handle-color: darken(@accent, 20%);
+ --gm3-switch-selected-pressed-handle-color: darken(@accent, 15%);
+ --gm3-switch-selected-handle-color: darken(@accent, 10%);
--gm3-switch-selected-icon-color: @base;
}
/* uploading photo popups */
@@ -134,7 +131,7 @@
/* loading circle */
.DMuDh {
- --gm3-circular-progress-active-indicator-color: @accent-color;
+ --gm3-circular-progress-active-indicator-color: @accent;
}
/* main background */
@@ -262,14 +259,14 @@
}
.uprWmb:hover,
.uprWmb {
- background: @accent-color !important;
+ background: @accent !important;
}
.HksvWb,
.HEHjMc {
color: @text;
}
.HEHjMc:hover {
- color: @accent-color;
+ color: @accent;
}
.uprWmb .HksvWb {
@@ -283,13 +280,13 @@
}
.Olf00,
.J0dufb {
- background-color: @accent-color !important;
+ background-color: @accent !important;
color: @mantle;
}
/* sidebar slider */
.bButFf {
background-color: @surface0;
- border-bottom-color: @accent-color;
+ border-bottom-color: @accent;
color: @text;
}
/* year when scrolling */
@@ -299,7 +296,7 @@
}
/* unlock storage discount button */
.z3RRjd:not(:disabled) {
- color: @accent-color;
+ color: @accent;
border-color: @surface0;
}
/* locked photo dialog */
@@ -315,8 +312,8 @@
}
/* storage used bar */
.XCxRFf {
- background-color: @accent-color;
- box-shadow: 2px 0 0 lighten(@accent-color, 10%);
+ background-color: @accent;
+ box-shadow: 2px 0 0 lighten(@accent, 10%);
}
.DFG23b {
background-color: @overlay0;
@@ -386,7 +383,7 @@
background-color: @base;
}
.Pk50Ic {
- background: @accent-color;
+ background: @accent;
}
/* underline on album title */
.kmqzh .cXrdqd::before,
@@ -456,7 +453,7 @@
}
/* rety button */
.RSxr8 {
- background-color: darken(@accent-color, 15%);
+ background-color: darken(@accent, 15%);
}
/* sharing page */
@@ -499,7 +496,7 @@
/* the small arrow in the dropdown box */
.hqBSCb:not(.VfPpkd-O1htCb-OWXEXe-OWB6Me).VfPpkd-O1htCb-OWXEXe-XpnDCe
.VfPpkd-t08AT-Bz112c {
- fill: @accent-color;
+ fill: @accent;
}
/* sharing via links subpage */
@@ -562,7 +559,7 @@
}
/* automatic album label */
.ecTDsc {
- background-color: @accent-color;
+ background-color: @accent;
color: @crust;
}
/* subtext */
@@ -581,7 +578,7 @@
}
/* "view" button links */
.oFJeZc:not(:disabled) {
- color: @accent-color;
+ color: @accent;
}
/* sectional borders */
.X0f2Ie,
@@ -590,7 +587,7 @@
}
/* storage discount button */
.kDryjd:not(:disabled) {
- background-color: @accent-color;
+ background-color: @accent;
color: @crust;
}
/* selected radial selector */
@@ -599,7 +596,7 @@
+ .VfPpkd-RsCWK
.VfPpkd-wVo5xe-LkdAo,
.bEtrNb .VfPpkd-gBXA9-bMcfAe:enabled + .VfPpkd-RsCWK .VfPpkd-Z5TpLc-LkdAo {
- border-color: @accent-color;
+ border-color: @accent;
}
/* unselected radial selector */
.bEtrNb
@@ -616,11 +613,11 @@
background-color: @surface1 !important;
}
.OKFoxe.VfPpkd-scr2fc-OWXEXe-uqeOfd:disabled .VfPpkd-pafCAf {
- fill: @accent-color;
+ fill: @accent;
}
/* switch that is in the on position */
.OKFoxe.VfPpkd-scr2fc-OWXEXe-gk6SMd:enabled .VfPpkd-uMhiad::after {
- background-color: @accent-color;
+ background-color: @accent;
}
.OKFoxe.VfPpkd-scr2fc-OWXEXe-gk6SMd:enabled .VfPpkd-pafCAf {
fill: @mantle;
@@ -631,7 +628,7 @@
/* partner sharing */
.QYw5Ld {
- background-color: @accent-color;
+ background-color: @accent;
border-color: @surface0;
}
@@ -702,7 +699,7 @@
/* "new" pill thingy idk what to call this lol */
.Li8WFe {
color: @mantle;
- background-color: @accent-color;
+ background-color: @accent;
}
/* create highlight video subpage */
.a4dmPd {
@@ -742,11 +739,11 @@
/* how much storage is used bar */
.O4tDGf:nth-of-type(1),
.vN9JEc:nth-of-type(1) > .ZbKZ3d {
- background-color: @accent-color;
+ background-color: @accent;
}
.O4tDGf:nth-of-type(2),
.vN9JEc:nth-of-type(2) > .ZbKZ3d {
- background-color: lighten(@accent-color, 15%);
+ background-color: lighten(@accent, 15%);
}
.yVr0Vb {
background-color: @overlay0;
@@ -817,7 +814,7 @@
.dm7YTc .fEUJ5b.qs41qe .dCWhBf,
.dm7YTc .fEUJ5b.qs41qe .R4GWv,
.dm7YTc .fEUJ5b .bBKqme {
- background-color: @accent-color;
+ background-color: @accent;
}
/* filters tool */
.XlI4Ne {
@@ -865,10 +862,10 @@
color: @text;
}
.osOuXd:not(.VfPpkd-O1htCb-OWXEXe-OWB6Me) .VfPpkd-RWgCYc-ksKsZd::after {
- border-color: @accent-color;
+ border-color: @accent;
}
.ddaf0 .qggZ5d .d1dlne::after {
- background-color: @accent-color;
+ background-color: @accent;
}
.pRVpNc {
color: @subtext0;
@@ -887,7 +884,7 @@
}
/* selected video backgrounc */
.s67Ibf.UYcdu {
- background: fade(@accent-color, 40%);
+ background: fade(@accent, 40%);
}
/* skipped suggestions page */
@@ -933,7 +930,7 @@
);
background-image: url("data:image/svg+xml,@{svg}") !important;
- & when (@lookup = latte) {
+ & when (@flavor = latte) {
@svg: escape(
''
);
@@ -948,7 +945,7 @@
);
background-image: url("data:image/svg+xml,@{svg}") !important;
- & when (@lookup = latte) {
+ & when (@flavor = latte) {
@svg: escape(
''
);
@@ -967,7 +964,7 @@
// favorites image
.ryy2Zd {
@svg: escape(
- ''
+ ''
);
background-image: url("data:image/svg+xml,@{svg}") !important;
}
@@ -995,7 +992,7 @@
);
background-image: url("data:image/svg+xml,@{svg}") !important;
- & when (@lookup = latte) {
+ & when (@flavor = latte) {
@svg: escape(
''
);
@@ -1010,7 +1007,7 @@
);
background-image: url("data:image/svg+xml,@{svg}") !important;
- & when (@lookup = latte) {
+ & when (@flavor = latte) {
@svg: escape(
''
);
@@ -1024,7 +1021,7 @@
''
);
background-image: url("data:image/svg+xml,@{svg}") !important;
- & when (@lookup = latte) {
+ & when (@flavor = latte) {
@svg: escape(
''
);
diff --git a/styles/google/catppuccin.user.less b/styles/google/catppuccin.user.less
index f19efa96..a1d3e881 100644
--- a/styles/google/catppuccin.user.less
+++ b/styles/google/catppuccin.user.less
@@ -16,52 +16,52 @@
==/UserStyle== */
@-moz-document regexp("^https?://(www\\.|images\\.)?google\\..*") {
- @media (prefers-color-scheme: light) {
- :root {
- #catppuccin(@lightFlavor, @accentColor);
+ :root {
+ @media (prefers-color-scheme: light) {
+ #catppuccin(@lightFlavor);
}
- }
- @media (prefers-color-scheme: dark) {
- :root {
- #catppuccin(@darkFlavor, @accentColor);
+ @media (prefers-color-scheme: dark) {
+ #catppuccin(@darkFlavor);
}
}
- #catppuccin(@lookup, @accent) {
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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);
- color-scheme: if(@lookup = latte, light, dark);
iframe {
color-scheme: none !important;
}
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -108,7 +108,7 @@
--t7d1a3050c2c1c0a5: @text !important;
--t6a0469853a1a02c1: @text !important;
--t5feec22832a0fdd6: @surface0 !important;
- --t342c96645d13ae13: @accent-color !important;
+ --t342c96645d13ae13: @accent !important;
--t6c7325fca9d536d4: @text !important;
--tf7148cf5018d5074: @text !important;
--t9ab8d922307d428d: @text;
@@ -151,10 +151,10 @@
}
.VfPpkd-StrnGf-rymPhb-f7MjDc,
.VfPpkd-qPzbhe-JNdkSc-Bz112c {
- color: @accent-color !important;
+ color: @accent !important;
}
.EL3pcf {
- color: @accent-color !important;
+ color: @accent !important;
}
.bVfPpkd-StrnGf-rymPhb,
.DMZ54e {
@@ -180,7 +180,7 @@
background-color: @mantle !important;
}
.VfPpkd-cTi5dd {
- color: @accent-color !important;
+ color: @accent !important;
}
/* news column thingymaboober idk what it's actually called, but it's like these columns of news headlines so yeah */
.nEklgc {
@@ -289,13 +289,13 @@
}
.YbqTTb:focus {
- border-color: @accent-color;
+ border-color: @accent;
}
/* some play buttons on games */
.fxvhbc,
.pGGGle {
- background-color: @accent-color;
+ background-color: @accent;
color: @crust;
}
@@ -373,7 +373,7 @@
.ofy7ae,
.PPjCfd,
.lr-imso-fix {
- background-color: @accent-color !important;
+ background-color: @accent !important;
color: @crust !important;
}
@@ -445,7 +445,7 @@
}
.PGbOqf {
- background-color: @accent-color;
+ background-color: @accent;
}
.yAbdSd {
@@ -719,7 +719,7 @@
.c2xzTb .ILfuVd b {
background: linear-gradient(
90deg,
- fade(@accent-color, 30%) 50%,
+ fade(@accent, 30%) 50%,
#0000 50%
) no-repeat 75% 0;
background-size: 200% 100%;
@@ -1882,7 +1882,7 @@
}
.NQyKp {
color: @surface0 !important;
- background: @accent-color !important;
+ background: @accent !important;
}
.b0Xfjd {
color: @base !important;
@@ -2183,7 +2183,7 @@
// tweets horizontal list
g-right-button,
g-left-button {
- & > g-fab {
+ > g-fab {
background: @crust !important;
border-color: @surface0;
}
@@ -2250,54 +2250,54 @@
}
@media (prefers-color-scheme: light) {
body {
- #catppuccin(@lightFlavor, @accentColor);
+ #catppuccin(@lightFlavor);
}
}
@media (prefers-color-scheme: dark) {
body {
- #catppuccin(@darkFlavor, @accentColor);
+ #catppuccin(@darkFlavor);
}
}
}
@-moz-document regexp("^https?://(ogs\\.)?google\\..*") {
- @media (prefers-color-scheme: light) {
- body {
- #catppuccin(@lightFlavor, @accentColor);
+ body {
+ @media (prefers-color-scheme: light) {
+ #catppuccin(@lightFlavor);
+ }
+ @media (prefers-color-scheme: dark) {
+ #catppuccin(@darkFlavor);
}
}
- @media (prefers-color-scheme: dark) {
- body {
- #catppuccin(@darkFlavor, @accentColor);
- }
- }
- #catppuccin(@lookup, @accent) {
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+
+ #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];
.aRDKUe {
.rRF0wd {
diff --git a/styles/grabify/catppuccin.user.less b/styles/grabify/catppuccin.user.less
index 2129e1c1..7a07ee96 100644
--- a/styles/grabify/catppuccin.user.less
+++ b/styles/grabify/catppuccin.user.less
@@ -16,50 +16,48 @@
==/UserStyle== */
@-moz-document domain("grabify.link") {
- @media (prefers-color-scheme: light) {
- :root {
- #catppuccin(@lightFlavor, @accentColor);
+ :root {
+ @media (prefers-color-scheme: light) {
+ #catppuccin(@lightFlavor);
}
- }
- @media (prefers-color-scheme: dark) {
- :root {
- #catppuccin(@darkFlavor, @accentColor);
+ @media (prefers-color-scheme: dark) {
+ #catppuccin(@darkFlavor);
}
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -72,19 +70,19 @@
background-color: @base;
a {
- color: @accent-color;
+ color: @accent;
&:hover,
&:focus {
- color: darken(@accent-color, 5%);
+ color: darken(@accent, 5%);
}
&[style*="color: "] {
- color: @accent-color !important;
+ color: @accent !important;
&:hover,
&:focus {
- color: darken(@accent-color, 5%) !important;
+ color: darken(@accent, 5%) !important;
}
}
}
@@ -139,12 +137,12 @@
&:hover,
&:focus {
- color: @accent-color !important;
+ color: @accent !important;
}
}
.navbar-link:not(.is-arrowless)::after {
- border-color: @accent-color;
+ border-color: @accent;
}
.navbar-dropdown {
@@ -170,7 +168,7 @@
[style*="color: rgb(224, 36, 36);"],
[style*="color: rgb(224, 185, 36);"],
[style="color: rgb(33, 150, 243);"] {
- color: @accent-color !important;
+ color: @accent !important;
}
[style="color: rgb(44, 62, 80);"],
@@ -258,7 +256,7 @@
&:checked + label {
&::before {
- background-color: @accent-color;
+ background-color: @accent;
}
&::after {
@@ -301,7 +299,7 @@
&.is-primary,
&.is-info,
&.is-link {
- background-color: @accent-color;
+ background-color: @accent;
&,
strong {
@@ -310,12 +308,12 @@
&:hover,
&.is-hovered {
- background-color: darken(@accent-color, 5%);
+ background-color: darken(@accent, 5%);
}
}
&.is-info.is-outlined {
- border-color: @accent-color;
+ border-color: @accent;
background: transparent;
&,
@@ -325,7 +323,7 @@
&:hover,
&.is-hovered {
- color: @accent-color;
+ color: @accent;
}
}
@@ -473,10 +471,10 @@
}
.btn {
- background-color: @accent-color;
+ background-color: @accent;
&[style="background-color: rgb(23, 188, 156);"] {
- background-color: @accent-color !important;
+ background-color: @accent !important;
}
[style="color: rgb(255, 255, 255);"] {
@@ -534,21 +532,21 @@
img[src$="images/homepage/2.svg"] {
@svg: escape(
- ''
+ ''
);
content: url("data:image/svg+xml,@{svg}");
}
img[src$="images/homepage/4.svg"] {
@svg: escape(
- ''
+ ''
);
content: url("data:image/svg+xml,@{svg}");
}
img[src$="images/homepage/5.svg"] {
@svg: escape(
- ''
+ ''
);
content: url("data:image/svg+xml,@{svg}");
}
diff --git a/styles/graphite/catppuccin.user.less b/styles/graphite/catppuccin.user.less
index 1718e467..93d2740b 100644
--- a/styles/graphite/catppuccin.user.less
+++ b/styles/graphite/catppuccin.user.less
@@ -17,10 +17,10 @@
@-moz-document domain("app.graphite.dev") {
:root[data-theme="light"] {
- #catppuccin(@lightFlavor, @accentColor);
+ #catppuccin(@lightFlavor);
}
:root[data-theme="dark"] {
- #catppuccin(@darkFlavor, @accentColor);
+ #catppuccin(@darkFlavor);
}
#createset(@color, @type) {
@@ -31,39 +31,39 @@
--color-@{type}-highest-contrast: lighten(@color, 10%);
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -93,7 +93,7 @@
--color-gray-60: @surface0;
- #createset(@accent-color, emphasis);
+ #createset(@accent, emphasis);
#createset(@green, positive);
#createset(@peach, caution);
#createset(@red, negative);
diff --git a/styles/hackage/catppuccin.user.less b/styles/hackage/catppuccin.user.less
index 6690e8a0..eb286515 100644
--- a/styles/hackage/catppuccin.user.less
+++ b/styles/hackage/catppuccin.user.less
@@ -16,52 +16,51 @@
==/UserStyle== */
@-moz-document domain("hackage.haskell.org") {
- @media (prefers-color-scheme: light) {
- :root {
- #catppuccin(@lightFlavor, @accentColor);
+ :root {
+ @media (prefers-color-scheme: light) {
+ #catppuccin(@lightFlavor);
}
- }
- @media (prefers-color-scheme: dark) {
- :root {
- #catppuccin(@darkFlavor, @accentColor);
+ @media (prefers-color-scheme: dark) {
+ #catppuccin(@darkFlavor);
}
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
- @text-filter: @catppuccin[@@lookup][@text-filter];
- @synopsis-filter: @catppuccin[@@lookup][@synopsis-filter];
+ #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(@lookup = latte, light, dark);
+ @text-filter: @catppuccin-filters[@@flavor][@text];
+ @surface0-filter: @catppuccin-filters[@@flavor][@surface0];
+
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -82,10 +81,10 @@
}
a[href]:link {
- color: @accent-color;
+ color: @accent;
}
a[href]:visited {
- color: average(@overlay2, @accent-color);
+ color: average(@overlay2, @accent);
}
a[href].def:link,
@@ -110,14 +109,14 @@
.section4,
.section5,
.section6 {
- color: overlay(@accent-color, @surface0);
+ color: overlay(@accent, @surface0);
filter: none;
}
.collapser::before,
.expander::before,
.noexpander::before {
- color: @accent-color;
+ color: @accent;
}
pre {
@@ -127,7 +126,7 @@
blockquote {
background-color: @surface0;
- border-color: @accent-color;
+ border-color: @accent;
}
.src,
@@ -153,9 +152,9 @@
#page-header,
#package-header {
- background-color: @accent-color;
+ background-color: @accent;
color: @surface1;
- border-color: shade(@accent-color, 25%);
+ border-color: shade(@accent, 25%);
}
#page-header .caption,
@@ -167,7 +166,7 @@
#module-header .caption,
.modulebar {
- color: @accent-color;
+ color: @accent;
border-color: @surface1;
}
@@ -204,7 +203,7 @@
}
.topbar {
- background-color: @accent-color;
+ background-color: @accent;
.topbut {
border-color: @overlay0;
@@ -268,7 +267,7 @@
*/
.embedded-author-content {
- border-color: @accent-color;
+ border-color: @accent;
}
/*
@@ -287,7 +286,7 @@
#synopsis {
summary,
#control\.syn {
- filter: @synopsis-filter;
+ filter: @surface0-filter;
}
ul {
@@ -313,14 +312,14 @@
#search-form {
input {
- border-color: @accent-color;
+ border-color: @accent;
}
}
#search-results {
- border-color: @accent-color;
+ border-color: @accent;
- & > ul > li {
+ > ul > li {
border-bottom-color: @overlay0;
}
}
@@ -339,7 +338,7 @@
}
.keyboard-shortcuts th {
- color: @accent-color;
+ color: @accent;
}
.key {
@@ -357,13 +356,13 @@
border-color: @surface0;
button {
- background-color: @accent-color;
+ background-color: @accent;
color: @mantle;
border-color: @surface2;
&:hover,
&:active {
- background-color: @accent-color;
+ background-color: @accent;
color: @mantle;
}
}
@@ -472,11 +471,11 @@
&[href]:link,
&:link:hover {
- color: @accent-color;
+ color: @accent;
}
&:visited,
&:visited:hover {
- color: average(@overlay2, @accent-color);
+ color: average(@overlay2, @accent);
}
&:link:hover,
&:visited:hover {
@@ -490,7 +489,7 @@
.current:hover {
background-image: none;
background-color: @surface0;
- color: @accent-color;
+ color: @accent;
border-color: transparent;
}
}
@@ -596,11 +595,11 @@
}
.text-button {
- color: @accent-color;
+ color: @accent;
}
p.registration-email {
- border-color: @accent-color;
+ border-color: @accent;
}
:target {
@@ -641,7 +640,7 @@
.MathJax_Menu {
background-color: @surface0;
color: @text;
- border-color: @accent-color;
+ border-color: @accent;
box-shadow: 0 10px 20px @mantle;
-webkit-box-shadow: 0 10px 20px @mantle;
-moz-box-shadow: 0 10px 20px @mantle;
@@ -774,7 +773,7 @@
span.annottext {
background-color: @surface0;
- border-color: @accent-color;
+ border-color: @accent;
}
}
}
@@ -782,24 +781,16 @@
/* 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;
- @text-filter: brightness(0) saturate(100%) invert(30%) sepia(10%) saturate(1259%) hue-rotate(196deg) brightness(97%) contrast(91%);
- @synopsis-filter: sepia(100%) invert(100%) saturate(0) invert(94%) sepia(7%) saturate(345%) hue-rotate(188deg) brightness(91%) contrast(87%);
- };
- @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;
- @text-filter: brightness(0) saturate(100%) invert(84%) sepia(5%) saturate(1519%) hue-rotate(192deg) brightness(100%) contrast(93%);
- @synopsis-filter: sepia(100%) invert(100%) saturate(0) invert(25%) sepia(25%) saturate(486%) hue-rotate(193deg) brightness(90%) contrast(89%);
- };
- @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;
- @text-filter: brightness(0) saturate(100%) invert(81%) sepia(9%) saturate(726%) hue-rotate(192deg) brightness(104%) contrast(92%);
- @synopsis-filter: sepia(100%) invert(100%) saturate(0) invert(19%) sepia(15%) saturate(979%) hue-rotate(193deg) brightness(101%) contrast(90%);
- };
- @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;
- @text-filter: brightness(0) saturate(100%) invert(85%) sepia(6%) saturate(1356%) hue-rotate(194deg) brightness(103%) contrast(91%);
- @synopsis-filter: sepia(100%) invert(100%) saturate(0) invert(17%) sepia(17%) saturate(874%) hue-rotate(198deg) brightness(90%) contrast(89%);
- };
+ @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 8e6aaa59..3db66756 100644
--- a/styles/hacker-news/catppuccin.user.less
+++ b/styles/hacker-news/catppuccin.user.less
@@ -16,50 +16,48 @@
==/UserStyle== */
@-moz-document domain("news.ycombinator.com") {
- @media (prefers-color-scheme: light) {
- :root {
- #catppuccin(@lightFlavor, @accentColor);
+ :root {
+ @media (prefers-color-scheme: light) {
+ #catppuccin(@lightFlavor);
}
- }
- @media (prefers-color-scheme: dark) {
- :root {
- #catppuccin(@darkFlavor, @accentColor);
+ @media (prefers-color-scheme: dark) {
+ #catppuccin(@darkFlavor);
}
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -84,7 +82,7 @@
/* Header */
td[bgcolor="#ff6600"] {
- background-color: @accent-color;
+ background-color: @accent;
.pagetop,
.pagetop a {
@@ -93,7 +91,7 @@
img[src="y18.svg"] {
@svg: escape(
- ''
+ ''
);
content: url("data:image/svg+xml,@{svg}");
border-color: @crust !important;
@@ -194,7 +192,7 @@
}
table[bgcolor="#ff6600"] {
- background-color: @accent-color;
+ background-color: @accent;
}
}
}
diff --git a/styles/have-i-been-pwned/catppuccin.user.less b/styles/have-i-been-pwned/catppuccin.user.less
index dd5227ca..68d231a9 100644
--- a/styles/have-i-been-pwned/catppuccin.user.less
+++ b/styles/have-i-been-pwned/catppuccin.user.less
@@ -16,51 +16,50 @@
==/UserStyle== */
@-moz-document domain("haveibeenpwned.com") {
- @media (prefers-color-scheme: light) {
- :root {
- #catppuccin(@lightFlavor, @accentColor);
+ :root {
+ @media (prefers-color-scheme: light) {
+ #catppuccin(@lightFlavor);
}
- }
- @media (prefers-color-scheme: dark) {
- :root {
- #catppuccin(@darkFlavor, @accentColor);
+ @media (prefers-color-scheme: dark) {
+ #catppuccin(@darkFlavor);
}
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @text_filter: @catppuccin[@@lookup][@text_filter];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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(@lookup = latte, light, dark);
+ @text-filter: @catppuccin-filters[@@flavor][@text];
+
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -88,12 +87,12 @@
}
&:hover {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
}
img.pwnLogo.large.modalLogo {
- filter: @text_filter;
+ filter: @text-filter;
}
.bodyGradient {
@@ -139,8 +138,8 @@
}
.main-logo .logo {
- border-color: @accent-color;
- background-color: fade(@accent-color, 30%);
+ border-color: @accent;
+ background-color: fade(@accent, 30%);
}
.pwnedCompanyList {
@@ -214,7 +213,7 @@
img.pwnLogo {
&[src$="/List.png"],
&[src$="/Email.png"] {
- filter: @text_filter;
+ filter: @text-filter;
}
}
@@ -224,7 +223,7 @@
border-color: @surface0 !important;
&:focus {
- box-shadow: 0 0 8px fade(@accent-color, 30%);
+ box-shadow: 0 0 8px fade(@accent, 30%);
}
}
@@ -234,7 +233,7 @@
border-color: @surface0 !important;
&:hover {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
}
@@ -245,7 +244,7 @@
}
.progress-bar {
- background-color: @accent-color;
+ background-color: @accent;
}
.form-group .termsOfUse {
@@ -277,8 +276,8 @@
.panel-primary {
border-color: @surface0;
- & > .panel-heading,
- & > .panel-footer {
+ > .panel-heading,
+ > .panel-footer {
color: @text;
border-color: @surface0;
background-color: @mantle;
@@ -302,7 +301,7 @@
border-color: @surface0;
}
- & > .pwnedRow {
+ > .pwnedRow {
background: @red;
.pwnedWebsite {
@@ -430,7 +429,7 @@
.dropdown-menu {
background-color: @base;
- & > li > a {
+ > li > a {
&:hover,
&:focus {
background-color: @mantle;
@@ -454,8 +453,16 @@
/* 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(30%) sepia(7%) saturate(1674%) hue-rotate(196deg) brightness(97%) contrast(91%); @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(74%) sepia(16%) saturate(454%) hue-rotate(192deg) brightness(110%) contrast(92%); @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(82%) sepia(77%) saturate(662%) hue-rotate(181deg) 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(88%) sepia(10%) saturate(1247%) hue-rotate(191deg) brightness(99%) contrast(93%); @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
+ @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 cb1ddbbc..9ad2ade7 100644
--- a/styles/holodex/catppuccin.user.less
+++ b/styles/holodex/catppuccin.user.less
@@ -17,46 +17,46 @@
@-moz-document domain("holodex.net") {
:root:has(.theme--dark) {
- #catppuccin(@darkFlavor, @accentColor);
+ #catppuccin(@darkFlavor);
}
:root:has(.theme--light) {
- #catppuccin(@lightFlavor, @accentColor);
+ #catppuccin(@lightFlavor);
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -66,39 +66,39 @@
}
}
- --v-anchor-base: @accent-color;
- --v-primary-base: @accent-color;
- --v-primary-lighten1: lighten(@accent-color, 4%);
- --v-primary-lighten2: lighten(@accent-color, 8%);
- --v-primary-lighten3: lighten(@accent-color, 9%);
- --v-primary-lighten4: lighten(@accent-color, 18%);
- --v-primary-lighten5: lighten(@accent-color, 19%);
- --v-primary-darken1: darken(@accent-color, 14%);
- --v-primary-darken2: darken(@accent-color, 31%);
- --v-primary-darken3: darken(@accent-color, 35%);
- --v-primary-darken4: darken(@accent-color, 43%);
+ --v-anchor-base: @accent;
+ --v-primary-base: @accent;
+ --v-primary-lighten1: lighten(@accent, 4%);
+ --v-primary-lighten2: lighten(@accent, 8%);
+ --v-primary-lighten3: lighten(@accent, 9%);
+ --v-primary-lighten4: lighten(@accent, 18%);
+ --v-primary-lighten5: lighten(@accent, 19%);
+ --v-primary-darken1: darken(@accent, 14%);
+ --v-primary-darken2: darken(@accent, 31%);
+ --v-primary-darken3: darken(@accent, 35%);
+ --v-primary-darken4: darken(@accent, 43%);
- --v-accent-base: @accent-color;
- --v-accent-lighten1: lighten(@accent-color, 4%);
- --v-accent-lighten2: lighten(@accent-color, 8%);
- --v-accent-lighten3: lighten(@accent-color, 9%);
- --v-accent-lighten4: lighten(@accent-color, 18%);
- --v-accent-lighten5: lighten(@accent-color, 19%);
- --v-accent-darken1: darken(@accent-color, 14%);
- --v-accent-darken2: darken(@accent-color, 31%);
- --v-accent-darken3: darken(@accent-color, 35%);
- --v-accent-darken4: darken(@accent-color, 43%);
+ --v-accent-base: @accent;
+ --v-accent-lighten1: lighten(@accent, 4%);
+ --v-accent-lighten2: lighten(@accent, 8%);
+ --v-accent-lighten3: lighten(@accent, 9%);
+ --v-accent-lighten4: lighten(@accent, 18%);
+ --v-accent-lighten5: lighten(@accent, 19%);
+ --v-accent-darken1: darken(@accent, 14%);
+ --v-accent-darken2: darken(@accent, 31%);
+ --v-accent-darken3: darken(@accent, 35%);
+ --v-accent-darken4: darken(@accent, 43%);
- --v-secondary-base: @accent-color;
- --v-secondary-lighten1: lighten(@accent-color, 4%);
- --v-secondary-lighten2: lighten(@accent-color, 8%);
- --v-secondary-lighten3: lighten(@accent-color, 9%);
- --v-secondary-lighten4: lighten(@accent-color, 18%);
- --v-secondary-lighten5: lighten(@accent-color, 19%);
- --v-secondary-darken1: darken(@accent-color, 14%);
- --v-secondary-darken2: darken(@accent-color, 31%);
- --v-secondary-darken3: darken(@accent-color, 35%);
- --v-secondary-darken4: darken(@accent-color, 43%);
+ --v-secondary-base: @accent;
+ --v-secondary-lighten1: lighten(@accent, 4%);
+ --v-secondary-lighten2: lighten(@accent, 8%);
+ --v-secondary-lighten3: lighten(@accent, 9%);
+ --v-secondary-lighten4: lighten(@accent, 18%);
+ --v-secondary-lighten5: lighten(@accent, 19%);
+ --v-secondary-darken1: darken(@accent, 14%);
+ --v-secondary-darken2: darken(@accent, 31%);
+ --v-secondary-darken3: darken(@accent, 35%);
+ --v-secondary-darken4: darken(@accent, 43%);
--v-error-base: @red;
--v-error-lighten1: lighten(@red, 4%);
@@ -203,7 +203,7 @@
}
svg.logo path {
- fill: darken(@accent-color, 2%) !important;
+ fill: darken(@accent, 2%) !important;
&:last-child {
fill: darken(@blue, 8%) !important;
@@ -216,7 +216,7 @@
.primary--text,
.name-vtuber {
- color: @accent-color !important;
+ color: @accent !important;
}
.text-live {
@@ -228,7 +228,7 @@
}
.nav-btn.v-btn--active {
- color: @accent-color !important;
+ color: @accent !important;
}
div.v-sheet.v-alert {
@@ -257,7 +257,7 @@
}
button.v-btn--is-elevated.v-btn--has-bg {
- background: @accent-color !important;
+ background: @accent !important;
color: @base;
}
}
diff --git a/styles/home-manager-options-search/catppuccin.user.less b/styles/home-manager-options-search/catppuccin.user.less
index bcfaaeef..28e4313b 100644
--- a/styles/home-manager-options-search/catppuccin.user.less
+++ b/styles/home-manager-options-search/catppuccin.user.less
@@ -16,50 +16,48 @@
==/UserStyle== */
@-moz-document domain("home-manager-options.extranix.com") {
- @media (prefers-color-scheme: light) {
- :root {
- #catppuccin(@lightFlavor, @accentColor);
+ :root {
+ @media (prefers-color-scheme: light) {
+ #catppuccin(@lightFlavor);
}
- }
- @media (prefers-color-scheme: dark) {
- :root {
- #catppuccin(@darkFlavor, @accentColor);
+ @media (prefers-color-scheme: dark) {
+ #catppuccin(@darkFlavor);
}
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -93,7 +91,7 @@
a,
a:visited {
- color: @accent-color;
+ color: @accent;
}
input,
@@ -116,13 +114,13 @@
transparent 75%,
transparent
);
- background-color: @accent-color;
+ background-color: @accent;
color: @crust;
}
.form-control:focus {
- border-color: @accent-color;
- box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px @accent-color;
+ border-color: @accent;
+ box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px @accent;
}
.table-striped > tbody > tr:nth-of-type(2n+1) {
diff --git a/styles/homepage/catppuccin.user.less b/styles/homepage/catppuccin.user.less
index b0dab4e8..42a96ea8 100644
--- a/styles/homepage/catppuccin.user.less
+++ b/styles/homepage/catppuccin.user.less
@@ -17,50 +17,48 @@
@-moz-document domain("homepage.example.com"),
regexp("https?://homepage\\..*") {
- @media (prefers-color-scheme: light) {
- :root {
- #catppuccin(@lightFlavor, @accentColor);
+ :root {
+ @media (prefers-color-scheme: light) {
+ #catppuccin(@lightFlavor);
}
- }
- @media (prefers-color-scheme: dark) {
- :root {
- #catppuccin(@darkFlavor, @accentColor);
+ @media (prefers-color-scheme: dark) {
+ #catppuccin(@darkFlavor);
}
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -79,7 +77,7 @@
.dark {
--bg-color: @base;
- --scrollbar-thumb: @accent-color; //ScrollBar
+ --scrollbar-thumb: @accent; //ScrollBar
--scrollbar-track: @mantle; //Scrollbar base
}
@@ -105,7 +103,7 @@
:is(.dark .dark\:text-white) {
--tw-text-opacity: 1;
- color: @accent-color; //Search bar Text
+ color: @accent; //Search bar Text
}
// Services Level Features
@@ -130,7 +128,7 @@
}
:is(.dark .dark\:bg-theme-900\/40) {
- background-color: @accent-color; //Progress Bar
+ background-color: @accent; //Progress Bar
}
:is(.dark .dark\:text-theme-300) {
color: @text; //Section Names + Container Description
@@ -165,7 +163,7 @@
:is(.dark .dark\:hover\:text-theme-300:hover) {
--tw-text-opacity: 1;
color: darken(
- @accent-color,
+ @accent,
10%
); //Section Names + Container Description Hover Color
}
diff --git a/styles/hoogle/catppuccin.user.less b/styles/hoogle/catppuccin.user.less
index ac8e0968..9c3625cc 100644
--- a/styles/hoogle/catppuccin.user.less
+++ b/styles/hoogle/catppuccin.user.less
@@ -16,54 +16,59 @@
==/UserStyle== */
@-moz-document domain("hoogle.haskell.org") {
- @media (prefers-color-scheme: light) {
- :root {
- #catppuccin(@lightFlavor, @accentColor);
+ :root {
+ @media (prefers-color-scheme: light) {
+ #catppuccin(@lightFlavor);
}
- }
- @media (prefers-color-scheme: dark) {
- :root {
- #catppuccin(@darkFlavor, @accentColor);
+ @media (prefers-color-scheme: dark) {
+ #catppuccin(@darkFlavor);
}
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
+ }
+
+ input,
+ textarea {
+ &::placeholder {
+ color: @subtext0 !important;
+ }
}
a {
- color: @accent-color;
+ color: @accent;
&:hover {
background-color: @surface0;
@@ -80,9 +85,9 @@
*/
#links {
- background-color: @accent-color;
+ background-color: @accent;
color: @surface1;
- border-color: shade(@accent-color, 25%);
+ border-color: shade(@accent, 25%);
}
#top-menu li {
@@ -101,7 +106,7 @@
#logo {
img {
@svg: escape(
- ''
+ ''
);
content: url("data:image/svg+xml,@{svg}");
}
@@ -156,7 +161,7 @@
li.highlighted {
background-image: none;
- background-color: @accent-color;
+ background-color: @accent;
color: @base;
}
@@ -173,7 +178,7 @@
#left {
a {
- color: @accent-color;
+ color: @accent;
}
.plus {
@svg: escape(
@@ -231,7 +236,7 @@
color: @subtext1;
}
.name {
- color: @accent-color;
+ color: @accent;
}
}
diff --git a/styles/hoppscotch/catppuccin.user.less b/styles/hoppscotch/catppuccin.user.less
index 5b9e4642..c4c122e0 100644
--- a/styles/hoppscotch/catppuccin.user.less
+++ b/styles/hoppscotch/catppuccin.user.less
@@ -17,52 +17,52 @@
@-moz-document domain("hoppscotch.io") {
:root.dark {
- #catppuccin(@darkFlavor, @accentColor);
+ #catppuccin(@darkFlavor);
}
:root.light {
- #catppuccin(@lightFlavor, @accentColor);
+ #catppuccin(@lightFlavor);
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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];
- @accent-color-light-alpha: 1.1;
- @accent-color-dark-alpha: 0.9;
+ @accent-light-alpha: 1.1;
+ @accent-dark-alpha: 0.9;
@accent-gradient-from-color: 1.05;
@accent-gradient-via-color: 1.2;
@accent-gradient-to-color: 0.85;
- color-scheme: if(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -96,13 +96,13 @@
--editor-link-color: @sapphire;
--editor-constant-color: fade(@lavender, 1.2%);
--editor-keyword-color: @red;
- --accent-color: @accent-color;
- --accent-light-color: fade(@accent-color, @accent-color-light-alpha);
- --accent-dark-color: fade(@accent-color, @accent-color-dark-alpha);
+ --accent-color: @accent;
+ --accent-light-color: fade(@accent, @accent-light-alpha);
+ --accent-dark-color: fade(@accent, @accent-dark-alpha);
--accent-contrast-color: @crust;
- --gradient-from-color: fade(@accent-color, @accent-gradient-from-color);
- --gradient-via-color: fade(@accent-color, @accent-gradient-via-color);
- --gradient-to-color: fade(@accent-color, @accent-gradient-to-color);
+ --gradient-from-color: fade(@accent, @accent-gradient-from-color);
+ --gradient-via-color: fade(@accent, @accent-gradient-via-color);
+ --gradient-to-color: fade(@accent, @accent-gradient-to-color);
--editor-process-color: @text;
diff --git a/styles/hyperpipe/catppuccin.user.less b/styles/hyperpipe/catppuccin.user.less
index b72300b7..6aebeba5 100644
--- a/styles/hyperpipe/catppuccin.user.less
+++ b/styles/hyperpipe/catppuccin.user.less
@@ -29,62 +29,59 @@
domain("hp.iqbalrifai.eu.org"),
domain("hp.ngn.tf"),
domain("hyperpipe.ducks.party") {
- @media (prefers-color-scheme: light) {
- body {
- #catppuccin(@lightFlavor, @accentColor);
+ body {
+ @media (prefers-color-scheme: light) {
+ #catppuccin(@lightFlavor);
}
- }
-
- @media (prefers-color-scheme: dark) {
- body {
- #catppuccin(@darkFlavor, @accentColor);
+ @media (prefers-color-scheme: dark) {
+ #catppuccin(@darkFlavor);
}
}
body[data-theme^="light"] {
- #catppuccin(@lightFlavor, @accentColor);
+ #catppuccin(@lightFlavor);
}
body[data-theme^="dark"],
body[data-theme^="black"],
body[data-theme^="dracula"],
body[data-theme^="nord"] {
- #catppuccin(@darkFlavor, @accentColor);
+ #catppuccin(@darkFlavor);
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -94,7 +91,7 @@
}
}
- --color-foreground: @accent-color !important;
+ --color-foreground: @accent !important;
--color-background: @base !important;
--color-background-soft: @surface0 !important;
--color-background-mute: @surface1 !important;
@@ -104,10 +101,10 @@
--color-blur: fade(@mantle, 45%) !important;
--color-gradient: linear-gradient(
45deg,
- @accent-color,
- fade(@accent-color, 45%)
+ @accent,
+ fade(@accent, 45%)
);
- --color-scrollbar: @accent-color !important;
+ --color-scrollbar: @accent !important;
--color-heading: @text !important;
--color-text: @text !important;
}
diff --git a/styles/ichi.moe/catppuccin.user.less b/styles/ichi.moe/catppuccin.user.less
index 6904a7dc..6028bb8f 100644
--- a/styles/ichi.moe/catppuccin.user.less
+++ b/styles/ichi.moe/catppuccin.user.less
@@ -18,50 +18,48 @@
==/UserStyle== */
@-moz-document domain("ichi.moe") {
- @media (prefers-color-scheme: light) {
- :root {
- #catppuccin(@lightFlavor, @accentColor);
+ :root {
+ @media (prefers-color-scheme: light) {
+ #catppuccin(@lightFlavor);
}
- }
- @media (prefers-color-scheme: dark) {
- :root {
- #catppuccin(@darkFlavor, @accentColor);
+ @media (prefers-color-scheme: dark) {
+ #catppuccin(@darkFlavor);
}
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -86,31 +84,24 @@
}
.panel-error {
- background-color: fadeout(@red, 20%);
+ background-color: fade(@red, 80%);
}
.highlight {
- background-color: fadeout(@yellow, 20%);
+ background-color: fade(@yellow, 80%);
}
.gloss {
- & when (@lookup = "latte") {
- background-color: @base;
- border-color: @surface2;
- }
- background-color: @surface0;
- border-color: @overlay0;
+ background-color: if(@flavor = "latte", @base, @surface0);
}
+ .gloss,
.gloss-rtext {
- & when (@lookup = "latte") {
- border-color: @surface2;
- }
- border-color: @overlay0;
+ border-color: if(@flavor = "latte", @surface2, @overlay0);
}
.gloss:target {
- & when (@lookup = "latte") {
+ & when (@flavor = "latte") {
box-shadow: 0 0 5px @surface2;
-webkit-box-shadow: 0 0 5px @surface2;
-moz-box-shadow: 0 0 5px @surface2;
@@ -145,10 +136,7 @@
}
.jspDrag {
- & when (@lookup = "latte") {
- background-color: @surface1;
- }
- background-color: @surface2;
+ background-color: if(@flavor = "latte", @surface1, @surface2);
}
.conj-negative {
@@ -163,18 +151,9 @@
color: @green;
}
- .reading-table tr:nth-of-type(2n) {
- & when (@lookup = "latte") {
- background: fadeout(@surface0, 50%);
- }
- background: fadeout(@surface1, 50%);
- }
-
+ .reading-table tr:nth-of-type(2n),
table.kanji-match tr:nth-of-type(2n) {
- & when (@lookup = "latte") {
- background: fadeout(@surface0, 50%);
- }
- background: fadeout(@surface1, 50%);
+ background: fade(if(@flavor = "latte", @surface0, @surface1), 50%);
}
.kanji-big a {
@@ -182,19 +161,12 @@
}
.autocomplete-suggestions {
- & when (@lookup = "latte") {
- background: @base;
- border-color: @surface2;
- }
- background: @surface0;
- border-color: @overlay0;
+ border-color: if(@flavor = "latte", @surface2, @overlay0);
}
+ .autocomplete-suggestions,
.autocomplete-selected {
- & when (@lookup = "latte") {
- background: @base;
- }
- background: @surface0;
+ background: if(@flavor = "latte", @base, @surface0);
}
.autocomplete-suggestions strong {
@@ -266,7 +238,7 @@
input[type="checkbox"]:focus,
input[type="radio"]:focus,
select:focus {
- & when (@lookup = "latte") {
+ & when (@flavor = "latte") {
background-color: @base;
border-color: @surface0;
}
@@ -284,17 +256,11 @@
}
.jspTrack {
- & when (@lookup = "latte") {
- background: @surface0;
- }
- background: @surface1;
+ background: if(@flavor = "latte", @surface0, @surface1);
}
.f-dropdown {
- & when (@lookup = "latte") {
- background-color: @base;
- }
- background-color: @surface0;
+ background-color: if(@flavor = "latte", @base, @surface0);
border-color: @subtext1;
}
@@ -323,10 +289,7 @@
table {
background: @base;
- & when (@lookup = "latte") {
- background-color: @surface0;
- }
- background-color: @surface1;
+ background-color: if(@flavor = "latte", @surface0, @surface1);
}
table tr th,
@@ -334,42 +297,18 @@
color: @subtext1;
}
- .kanji-table td {
- & when (@lookup = "latte") {
- border-color: @surface0;
- }
- border-color: @surface1;
- }
-
table tr.even,
table tr.alt,
table tr:nth-of-type(2n) {
- & when (@lookup = "latte") {
- background: fadeout(@surface0, 50%);
- }
- background: fadeout(@surface1, 50%);
- }
-
- .reading-table tr ~ tr > td {
- & when (@lookup = "latte") {
- border-color: @surface0;
- }
- border-color: @surface1;
- }
-
- table.kanji-match td {
- & when (@lookup = "latte") {
- border-color: @surface0;
- }
- border-color: @surface1;
+ background: fade(if(@flavor = "latte", @surface0, @surface1), 50%);
}
+ .kanji-table td,
+ .reading-table tr ~ tr > td,
+ table.kanji-match td,
tr.match-row-kanji,
tr.match-row-reading {
- & when (@lookup = "latte") {
- border-color: @surface0;
- }
- border-color: @surface1;
+ border-color: if(@flavor = "latte", @surface0, @surface1);
}
img {
diff --git a/styles/indie-wiki-buddy/catppuccin.user.less b/styles/indie-wiki-buddy/catppuccin.user.less
index d21b6843..fc433c29 100644
--- a/styles/indie-wiki-buddy/catppuccin.user.less
+++ b/styles/indie-wiki-buddy/catppuccin.user.less
@@ -30,45 +30,43 @@ curl -s https://raw.githubusercontent.com/KevinPayravi/indie-wiki-buddy/main/man
domain("ya.ru"),
regexp("^https?://(www\\.)?google\\..*"),
regexp("^https?://(www\\.)?yandex\\..*") {
- @media (prefers-color-scheme: light) {
- :root {
- #catppuccin(@lightFlavor, @accentColor);
+ :root {
+ @media (prefers-color-scheme: light) {
+ #catppuccin(@lightFlavor);
}
- }
- @media (prefers-color-scheme: dark) {
- :root {
- #catppuccin(@darkFlavor, @accentColor);
+ @media (prefers-color-scheme: dark) {
+ #catppuccin(@darkFlavor);
}
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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];
.iwb-new-link button {
color: @base;
@@ -105,51 +103,49 @@ curl -s https://raw.githubusercontent.com/KevinPayravi/indie-wiki-buddy/main/man
domain("bw.vern.cc"),
domain("breeze.whateveritworks.org"),
domain("breezewiki.woodland.cafe") {
- @media (prefers-color-scheme: light) {
- :root {
- #catppuccin(@lightFlavor, @accentColor);
+ :root {
+ @media (prefers-color-scheme: light) {
+ #catppuccin(@lightFlavor);
}
- }
- @media (prefers-color-scheme: dark) {
- :root {
- #catppuccin(@darkFlavor, @accentColor);
+ @media (prefers-color-scheme: dark) {
+ #catppuccin(@darkFlavor);
}
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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];
.indie-wiki-banner {
background: @mantle;
color: @text;
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
}
.indie-wiki-banner-exit {
diff --git a/styles/inoreader/catppuccin.user.less b/styles/inoreader/catppuccin.user.less
index fce853ca..3f1d52c5 100644
--- a/styles/inoreader/catppuccin.user.less
+++ b/styles/inoreader/catppuccin.user.less
@@ -16,50 +16,48 @@
==/UserStyle== */
@-moz-document domain("inoreader.com") {
- @media (prefers-color-scheme: light) {
- :root {
- #catppuccin(@lightFlavor, @accentColor);
+ :root {
+ @media (prefers-color-scheme: light) {
+ #catppuccin(@lightFlavor);
}
- }
- @media (prefers-color-scheme: dark) {
- :root {
- #catppuccin(@darkFlavor, @accentColor);
+ @media (prefers-color-scheme: dark) {
+ #catppuccin(@darkFlavor);
}
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -134,8 +132,8 @@
}
.progress {
- --bs-progress-bar-color: @accent-color;
- --bs-progress-bar-bg: @accent-color;
+ --bs-progress-bar-color: @accent;
+ --bs-progress-bar-bg: @accent;
--bs-bar-bg: @overlay1;
}
@@ -167,21 +165,21 @@
.st_usage_slider_inner,
#text-menu .dropdown-menu,
.article_unreaded .article_unread_dot .article_unread_dot_internal {
- background-color: @accent-color;
+ background-color: @accent;
}
.bg-primary {
- background-color: @accent-color !important;
+ background-color: @accent !important;
}
#tree_pane .parent_div_inner_selected .plus_img {
- color: @accent-color;
+ color: @accent;
}
.active-url .item-name,
.active-url span[class^="icon-"].h4,
.active-url i[class^="icon-"].h4 {
- color: @accent-color !important;
+ color: @accent !important;
}
.icon-logo_circle {
@@ -201,7 +199,7 @@
}
#hint-pref {
- fill: @accent-color;
+ fill: @accent;
}
.article_footer_buttons.icon-article_topbar_read_later_full,
@@ -234,8 +232,8 @@
}
.tabs-counter {
- background-color: @accent-color !important;
- outline-color: @accent-color !important;
+ background-color: @accent !important;
+ outline-color: @accent !important;
color: @mantle;
}
@@ -314,7 +312,7 @@
.dropdown-menu .dropdown-item:active {
background-color: @surface0;
- color: @accent-color;
+ color: @accent;
}
.dropdown-menu .dropdown-item.active,
@@ -325,7 +323,7 @@
.nav.nav-hover .active-url,
.lang_bubble.lang_bubble_current {
background-color: @surface1;
- color: @accent-color;
+ color: @accent;
}
.btn.btn-outline-text {
@@ -336,8 +334,8 @@
.btn.btn-primary,
.btn.btn-primary:hover {
color: @text;
- background-color: @accent-color;
- border-color: @accent-color;
+ background-color: @accent;
+ border-color: @accent;
}
.dropdown-menu-active,
@@ -357,8 +355,8 @@
button:focus,
input[type="password"]:focus,
input[type="email"]:focus {
- box-shadow: 0 0 3px @accent-color !important;
- border-color: @accent-color !important;
+ box-shadow: 0 0 3px @accent !important;
+ border-color: @accent !important;
}
input[type="text"],
@@ -381,16 +379,14 @@
box-shadow: 0 0 0 1px @subtext0;
}
.view_style_3 #reader_pane .ar.article_current .article_tile_picture {
- box-shadow:
- inset 3px 3px 0 -2px @accent-color,
- inset -3px 2px 0 -2px @accent-color;
+ box-shadow: inset 3px 3px 0 -2px @accent, inset -3px 2px 0 -2px @accent;
}
.view_style_3 #reader_pane .ar.article_current {
- box-shadow: inset 0 0 0 1px @accent-color;
+ box-shadow: inset 0 0 0 1px @accent;
}
.view_style_4 #reader_pane .ar.article_current {
- box-shadow: 0 0 0 1px @accent-color;
+ box-shadow: 0 0 0 1px @accent;
}
.view_style_2 #reader_pane .ar.article_current_3way,
.view_style_2 #reader_pane .ar.article_expanded {
@@ -432,22 +428,22 @@
.inno_tabs_header
.inno_tabs_tab.inno_tabs_tab_current
a:visited {
- color: @accent-color !important;
+ color: @accent !important;
}
#new_articles_overlay {
- color: @accent-color;
+ color: @accent;
background-color: @base;
}
input.apple-switch:checked {
- background-color: @accent-color;
- border-color: @accent-color;
+ background-color: @accent;
+ border-color: @accent;
}
.add_content_simulated_button.expanded {
background-color: @surface0;
- box-shadow: inset 0 -1px 0 0 @accent-color;
+ box-shadow: inset 0 -1px 0 0 @accent;
}
.inno_toolbar_button_menu,
@@ -476,14 +472,14 @@
.bluebutton,
.inno_dialog .inno_dialog_buttonbar_button:nth-child(1) {
- background-color: @accent-color;
+ background-color: @accent;
color: @crust;
border-style: none;
}
.inno_dialog .inno_dialog_buttonbar_button:nth-child(1):hover:enabled {
- background-color: @accent-color;
- border-color: @accent-color;
+ background-color: @accent;
+ border-color: @accent;
}
.inno_dialog_buttonbar_button {
@@ -559,8 +555,8 @@
input[type="checkbox"].form-check-input:checked,
input[type="radio"].form-check-input:checked {
- background-color: @accent-color;
- border-color: @accent-color;
+ background-color: @accent;
+ border-color: @accent;
}
.normal_dim {
@@ -571,7 +567,7 @@
#preferences_header,
#tabs_pane,
.add_content_simulated_button_menu_line_item:hover {
- background-color: @accent-color;
+ background-color: @accent;
color: @mantle;
}
@@ -586,7 +582,7 @@
}
div.article_current_3way {
- box-shadow: inset 0 0 0 1 @accent-color, inset 5px 0 0 0 @accent-color;
+ box-shadow: inset 0 0 0 1 @accent, inset 5px 0 0 0 @accent;
}
div.article_tile.article_expanded {
@@ -601,14 +597,14 @@
.inno_toolbar_switcher:hover .inno_toolbar_switcher_button_active,
.inno_toolbar_switcher:hover .inno_toolbar_switcher_button_active:hover {
- color: @accent-color;
+ color: @accent;
background-color: @base;
- border-color: @accent-color;
+ border-color: @accent;
}
.inno_tabs_tab:hover {
- color: @accent-color;
- border-color: @accent-color;
+ color: @accent;
+ border-color: @accent;
}
#audio_player_nav.is-overlay .tab-content,
diff --git a/styles/instagram/catppuccin.user.less b/styles/instagram/catppuccin.user.less
index 42d6f40e..f134c8d8 100644
--- a/styles/instagram/catppuccin.user.less
+++ b/styles/instagram/catppuccin.user.less
@@ -17,49 +17,49 @@
@-moz-document domain("instagram.com") {
._aa4d {
- #catppuccin(@darkFlavor, @accentColor);
+ #catppuccin(@darkFlavor);
}
._aa4c {
- #catppuccin(@lightFlavor, @accentColor);
+ #catppuccin(@lightFlavor);
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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[@@lookup][@text-filter];
- @dark-color: if(@lookup = latte, @text, @crust);
- @light-color: if(@lookup = latte, @crust, @text);
+ @text-filter: @catppuccin-filters[@@flavor][@text];
+ @dark-color: if(@flavor = latte, @text, @crust);
+ @light-color: if(@flavor = latte, @crust, @text);
- color-scheme: if(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -80,7 +80,7 @@
--ig-primary-icon: #rgbify(@text)[];
--web-always-white: #rgbify(@light-color)[];
--always-white: #rgbify(@light-color)[];
- --overlay-alpha-80: fadeout(@dark-color, 50%);
+ --overlay-alpha-80: fade(@dark-color, 50%);
--grey-9: #rgbify(@crust)[];
--ig-primary-background: #rgbify(@base)[];
--ig-secondary-background: #rgbify(@surface0)[];
@@ -89,11 +89,11 @@
--ig-elevated-background: #rgbify(@crust)[];
--ig-elevated-highlight-background: #rgbify(@surface0)[];
--ig-hover-overlay: #rgbify(@text)[], 0.1;
- --hover-overlay: fadeout(@surface0, 80%);
+ --hover-overlay: fade(@surface0, 20%);
--ig-text-on-color: #rgbify(@crust)[];
- --ig-badge: #rgbify(@accent-color)[];
- --ig-primary-button: #rgbify(@accent-color)[];
- --ig-primary-button-hover: fadeout(@accent-color, 20%);
+ --ig-badge: #rgbify(@accent)[];
+ --ig-primary-button: #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)[];
@@ -108,7 +108,7 @@
--post-separator: #rgbify(@overlay0)[];
--ig-stroke: #rgbify(@overlay0)[];
--grey-2: #rgbify(@overlay0)[];
- --ig-link: #rgbify(@accent-color)[];
+ --ig-link: #rgbify(@accent)[];
--ig-error-or-destructive: #rgbify(@red)[];
--ig-success: #rgbify(@green)[];
--blue-2: #rgbify(@blue)[];
@@ -119,14 +119,14 @@
--ig-stroke-prism: #rgbify(@crust)[];
--barcelona-logo: #rgbify(@text)[];
--ig-bubble-background: #rgbify(@surface1)[];
- --ig-tertiary-icon: #rgbify(@accent-color)[];
- --always-dark-overlay: @accent-color;
+ --ig-tertiary-icon: #rgbify(@accent)[];
+ --always-dark-overlay: @accent;
--secondary-text: @subtext0;
--primary-text: @text;
- --primary-icon: @accent-color;
+ --primary-icon: @accent;
--primary-button-text: @mantle !important;
--primary-button: @blue !important;
- scrollbar-color: @accent-color @crust;
+ scrollbar-color: @accent @crust;
}
#splash-screen {
background-color: @base !important;
@@ -153,7 +153,7 @@
/* Story progress bar */
._ac3p {
- background-color: @accent-color !important;
+ background-color: @accent !important;
}
/* close friends story things */
@@ -173,7 +173,7 @@
}
&[aria-label^="Story by"][aria-label$="not seen"] span {
- outline-color: @accent-color;
+ outline-color: @accent;
outline-width: 0.2rem;
}
&[aria-label^="Story by"]:not([aria-label$="not seen"]) span {
@@ -187,7 +187,7 @@
background-color: @mantle;
border-color: @overlay0 !important;
border-radius: var(--modal-border-radius);
- box-shadow: 0 3px 5px -1px fadeout(@dark-color, 20);
+ box-shadow: 0 3px 5px -1px fade(@dark-color, 80%);
box-sizing: border-box;
}
._aatc ._aasi,
@@ -198,13 +198,13 @@
/* Icons */
svg[aria-label="Unlike"] {
- fill: @accent-color;
+ fill: @accent;
}
svg[aria-label="Close"] {
color: @text;
}
svg[aria-label="Verified"] {
- fill: @accent-color;
+ fill: @accent;
}
/* new post thingy */
@@ -224,13 +224,13 @@
color: @text !important;
&:hover {
color: @mantle !important;
- background-color: @accent-color !important;
+ background-color: @accent !important;
}
}
.xk5f4mz {
background-color: @mantle;
&:hover {
- background-color: @accent-color;
+ background-color: @accent;
}
}
.x3nfvp2 {
@@ -242,12 +242,12 @@
/* reel icon */
.xq3z1fi {
- color: @accent-color !important;
+ color: @accent !important;
}
/* Toggle sliders */
.x1r7x56h {
- background-color: @accent-color;
+ background-color: @accent;
}
.x100vrsf {
background-color: @surface0;
@@ -257,7 +257,7 @@
background-color: @mantle;
}
span[data-bloks-name="bk.components.TextSpan"] {
- color: @accent-color !important;
+ color: @accent !important;
}
.xs7f9wi {
background-color: @mantle !important;
@@ -582,7 +582,7 @@
/* "All caught up" icon */
img[src="/images/instagram/xig/web/illo-confirm-refresh-light.png"] {
@svg: escape(
- ''
+ ''
);
content: url("data:image/svg+xml,@{svg}");
}
@@ -631,7 +631,7 @@
}
._acas:not(._acao):hover {
background-color: @surface0 !important;
- color: @accent-color !important;
+ color: @accent !important;
}
/* Secondary buttons */
@@ -651,12 +651,12 @@
div:has(> .x1mu97ne) {
background-color: @crust;
border-color: @overlay0;
- box-shadow: 0 10px 35px 2px fadeout(@dark-color, 0.7);
+ box-shadow: 0 10px 35px 2px fade(@dark-color, 30%);
}
/* Dialog overlay */
.x7r02ix[role="dialog"] {
- box-shadow: 0 5px 10px 0 fadeout(@dark-color, 0.5);
+ box-shadow: 0 5px 10px 0 fade(@dark-color, 50%);
}
/* Settings */
@@ -695,7 +695,7 @@
&[style*="border-radius: 4px"] {
/* Selected radio */
&[style*="background: rgb(0\, 149\, 246)"] {
- background-color: @accent-color !important;
+ background-color: @accent !important;
}
/* Not selected radio */
@@ -731,7 +731,7 @@
.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
background-color: @mantle;
- box-shadow: 0 5px 15px fadeout(@dark-color, 0.4);
+ box-shadow: 0 5px 15px fade(@dark-color, 60%);
* {
color: @text !important;
@@ -744,7 +744,7 @@
}
::-webkit-scrollbar-thumb {
- background-color: @accent-color;
+ background-color: @accent;
border-radius: 10px;
}
}
@@ -752,39 +752,40 @@
@-moz-document regexp("^.*instagram.com/direct.*") {
._aa4d {
- #catppuccin(@darkFlavor, @accentColor);
+ #catppuccin(@darkFlavor);
}
._aa4c {
- #catppuccin(@lightFlavor, @accentColor);
+ #catppuccin(@lightFlavor);
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+
+ #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];
.x11jlvup {
--chat-outgoing-message-bubble-background-color: fade(@blue, 80%);
@@ -824,7 +825,7 @@
color: @crust;
}
.x1bvjpef:hover {
- color: lighten(@accent-color, 5%);
+ color: lighten(@accent, 5%);
}
/* notes */
@@ -854,20 +855,16 @@
/* 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;
- @text-filter: brightness(0) saturate(100%) invert(28%) sepia(17%) saturate(835%) hue-rotate(196deg) brightness(97%) contrast(85%);
- };
- @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;
- @text-filter: brightness(0) saturate(100%) invert(84%) sepia(5%) saturate(1519%) hue-rotate(192deg) brightness(100%) contrast(93%);
- };
- @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;
- @text-filter: brightness(0) saturate(100%) invert(80%) sepia(18%) saturate(377%) hue-rotate(192deg) brightness(103%) contrast(92%);
- };
- @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;
- @text-filter: brightness(0) saturate(100%) invert(85%) sepia(6%) saturate(1356%) hue-rotate(194deg) brightness(103%) contrast(91%);
- };
+ @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 bb7aa93d..350e6faa 100644
--- a/styles/invidious/catppuccin.user.less
+++ b/styles/invidious/catppuccin.user.less
@@ -54,68 +54,66 @@
domain("yt.cdaut.de"),
domain("yt.drgnz.club"),
domain("yt.oelrichsgarcia.de") {
- @media (prefers-color-scheme: light) {
- .no-theme {
- #catppuccin(@lightFlavor, @accentColor);
+ .no-theme {
+ @media (prefers-color-scheme: light) {
+ #catppuccin(@lightFlavor);
}
- }
- @media (prefers-color-scheme: dark) {
- .no-theme {
- #catppuccin(@darkFlavor, @accentColor);
+ @media (prefers-color-scheme: dark) {
+ #catppuccin(@darkFlavor);
}
}
.light-theme {
- #catppuccin(@lightFlavor, @accentColor);
+ #catppuccin(@lightFlavor);
}
.dark-theme {
- #catppuccin(@darkFlavor, @accentColor);
+ #catppuccin(@darkFlavor);
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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];
#lightenOrDarken(@color, @value) {
@result: if(
- @lookup = latte,
+ @flavor = latte,
darken(@color, @value),
lighten(@color, @value)
);
}
- @link-color: @accent-color;
- @link-hover: #lightenOrDarken(@accent-color, 5%)[@result];
+ @link-color: @accent;
+ @link-hover: #lightenOrDarken(@accent, 5%)[@result];
- color-scheme: if(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -147,7 +145,7 @@
}
legend {
- color: @accent-color !important;
+ color: @accent !important;
}
.pure-button-primary {
@@ -162,13 +160,12 @@
}
}
.pure-button-secondary {
- background-color: @accent-color !important;
+ background-color: @accent !important;
color: @crust !important;
border-color: @surface1 !important;
&:hover,
&:focus {
- background-color: #lightenOrDarken(@accent-color, 2%)[@result]
- !important;
+ background-color: #lightenOrDarken(@accent, 2%)[@result] !important;
color: @crust !important;
border-color: @surface1 !important;
}
@@ -200,7 +197,7 @@
.video-js .vjs-slider:hover,
.video-js button:hover {
- color: @accent-color !important;
+ color: @accent !important;
}
.video-js .vjs-slider {
@@ -213,7 +210,7 @@
}
.video-js.player-style-invidious .vjs-play-progress {
- background-color: @accent-color !important;
+ background-color: @accent !important;
}
.vjs-menu li.vjs-menu-item:focus,
@@ -269,7 +266,7 @@
footer span a,
footer span:has(i) {
&:hover {
- color: @accent-color !important;
+ color: @accent !important;
}
}
@@ -306,7 +303,7 @@
cursor: pointer;
&:checked {
@svg: escape(
- ''
+ ''
);
background-image: url("data:image/svg+xml,@{svg}");
}
@@ -329,7 +326,7 @@
/* Channel owner comments */
a.channel-owner {
color: @crust;
- background-color: @accent-color;
+ background-color: @accent;
}
}
}
diff --git a/styles/invokeai/catppuccin.user.less b/styles/invokeai/catppuccin.user.less
index 56e73267..02109922 100644
--- a/styles/invokeai/catppuccin.user.less
+++ b/styles/invokeai/catppuccin.user.less
@@ -16,50 +16,48 @@
==/UserStyle== */
@-moz-document regexp("http:\\/\\/(127\\.0\\.0\\.1|localhost):9090(.*)") {
- @media (prefers-color-scheme: light) {
- :root {
- #catppuccin(@lightFlavor, @accentColor);
+ :root {
+ @media (prefers-color-scheme: light) {
+ #catppuccin(@lightFlavor);
}
- }
- @media (prefers-color-scheme: dark) {
- :root {
- #catppuccin(@darkFlavor, @accentColor);
+ @media (prefers-color-scheme: dark) {
+ #catppuccin(@darkFlavor);
}
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -71,9 +69,9 @@
:root,
[data-theme]:root {
- --accent-color-dim: lighten(@accent-color, -10%);
- --accent-color: @accent-color;
- --accent-color-bright: lighten(@accent-color, 10%);
+ --accent-color-dim: lighten(@accent, -10%);
+ --accent-color: @accent;
+ --accent-color-bright: lighten(@accent, 10%);
--accent-color-hover: var(--accent-color-bright);
--root-bg-color: @mantle;
--background-color: @base;
@@ -85,8 +83,8 @@
--subtext-color-bright: @subtext0;
--border-color: @surface1;
--border-color-light: @surface2;
- --tab-color: @accent-color;
- --tab-list-bg: @accent-color;
+ --tab-color: @accent;
+ --tab-list-bg: @accent;
--btn-delete-image: @red;
--status-good-color: @green;
--status-good-color-glow: lighten(@green, 10%);
diff --git a/styles/jisho/catppuccin.user.less b/styles/jisho/catppuccin.user.less
index 84d09217..3a23b9fb 100644
--- a/styles/jisho/catppuccin.user.less
+++ b/styles/jisho/catppuccin.user.less
@@ -16,63 +16,61 @@
==/UserStyle== */
@-moz-document domain("jisho.org") {
- @media (prefers-color-scheme: light) {
- :root[data-color-theme="auto"] {
- #catppuccin(@lightFlavor, @accentColor);
+ :root[data-color-theme="auto"] {
+ @media (prefers-color-scheme: light) {
+ #catppuccin(@lightFlavor);
}
- }
- @media (prefers-color-scheme: dark) {
- :root[data-color-theme="auto"] {
- #catppuccin(@darkFlavor, @accentColor);
+ @media (prefers-color-scheme: dark) {
+ #catppuccin(@darkFlavor);
}
}
:root[data-color-theme="dark"] {
- #catppuccin(@darkFlavor, @accentColor);
+ #catppuccin(@darkFlavor);
}
:root[data-color-theme="light"] {
- #catppuccin(@lightFlavor, @accentColor);
+ #catppuccin(@lightFlavor);
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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];
@accent-dim: if(
- (@lookup = latte),
- desaturate(lighten(@accent-color, 8%), 10%),
- desaturate(darken(@accent-color, 8%), 10%)
+ @flavor = latte,
+ desaturate(lighten(@accent, 8%), 10%),
+ desaturate(darken(@accent, 8%), 10%)
);
- color-scheme: if(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -87,7 +85,7 @@
color: @text;
a {
- color: @accent-color;
+ color: @accent;
&:hover {
color: @accent-dim;
@@ -149,7 +147,7 @@
h1.logo a {
background-image: if(
- @lookup = latte,
+ @flavor = latte,
url("//assets.jisho.org/assets/jisho-logo-v4@2x-7330091c079b9dd59601401b052b52e103978221c8fb6f5e22406d871fcc746a.png"),
url("//assets.jisho.org/assets/jisho-logo-v4-dark@2x-e676613b426d34187b61928823730a225b52165aaef99f948bd3dc5fc16fa787.png")
);
@@ -290,7 +288,7 @@
.speech_area_active #speech_button,
.radical_area_active #radical_button,
.handwriting_area_active #handwriting_button {
- border-bottom-color: @accent-color;
+ border-bottom-color: @accent;
}
#what_is_this {
@@ -400,7 +398,7 @@
.noUi-target {
.noUi-background {
- background-color: @accent-color;
+ background-color: @accent;
}
.noUi-base {
@@ -484,7 +482,7 @@
footer {
.ornament {
background-color: @red;
- box-shadow: 0 0 10px 5px if(@lookup = latte, @base, @overlay0);
+ box-shadow: 0 0 10px 5px if(@flavor = latte, @base, @overlay0);
}
}
}
diff --git a/styles/keybr.com/catppuccin.user.less b/styles/keybr.com/catppuccin.user.less
index 3b036d33..fedb3d33 100644
--- a/styles/keybr.com/catppuccin.user.less
+++ b/styles/keybr.com/catppuccin.user.less
@@ -17,53 +17,53 @@
@-moz-document domain("keybr.com") {
html[data-color="dark"] {
- #catppuccin(@darkFlavor, @accentColor);
+ #catppuccin(@darkFlavor);
}
html[data-color="light"] {
- #catppuccin(@lightFlavor, @accentColor);
+ #catppuccin(@lightFlavor);
}
html[data-color="system"] {
@media (prefers-color-scheme: light) {
- #catppuccin(@lightFlavor, @accentColor);
+ #catppuccin(@lightFlavor);
}
@media (prefers-color-scheme: dark) {
- #catppuccin(@darkFlavor, @accentColor);
+ #catppuccin(@darkFlavor);
}
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -81,14 +81,14 @@
--secondary-d1: @subtext0;
--secondary: @text;
--secondary-l1: @subtext0;
- --secondary-l2: @accent-color;
+ --secondary-l2: @accent;
--secondary-f1: @subtext0;
--secondary-f2: @subtext0;
- --accent-d2: @accent-color;
- --accent-d1: @accent-color;
- --accent: @accent-color;
- --accent-l1: @accent-color;
- --accent-l2: @accent-color;
+ --accent-d2: @accent;
+ --accent-d1: @accent;
+ --accent: @accent;
+ --accent-l1: @accent;
+ --accent-l2: @accent;
--error-d1: @red;
--error: @red;
--error-l1: @red;
@@ -102,7 +102,7 @@
--Chart-hist-h__color: @lavender;
--Chart-hist-m__color: @maroon;
--Chart-hist-r__color: @mauve;
- --KeyboardKey-pointer__color: @accent-color;
+ --KeyboardKey-pointer__color: @accent;
--KeyboardKey-symbol__color: @crust;
--pinky-zone-color: @green;
--ring-zone-color: @teal;
@@ -112,17 +112,17 @@
--thumb-zone-color: @mauve;
--effort-0-color: @crust;
--effort-1-color: @crust;
- --effort-2-color: @accent-color;
- --effort-3-color: @accent-color;
+ --effort-2-color: @accent;
+ --effort-3-color: @accent;
--Value--more__color: @green;
--Value--less__color: @red;
- --KeyboardKey-button--depressed__color: @accent-color;
+ --KeyboardKey-button--depressed__color: @accent;
--LessonKey--included__color: @crust;
--LessonKey--uncalibrated__background-color: @surface0;
--LessonKey--excluded__background-color: @surface0;
--LessonKey--excluded__color: @overlay0;
- --DailyGoal-bar__color: @accent-color;
- --KeyboardKey-button__color: @accent-color;
+ --DailyGoal-bar__color: @accent;
+ --KeyboardKey-button__color: @accent;
--textinput__color: @text;
--textinput--special__color: @subtext1;
--textinput--hit__color: @subtext0;
diff --git a/styles/keyoxide/catppuccin.user.less b/styles/keyoxide/catppuccin.user.less
index 643f2681..91eafe3b 100644
--- a/styles/keyoxide/catppuccin.user.less
+++ b/styles/keyoxide/catppuccin.user.less
@@ -16,52 +16,50 @@
==/UserStyle== */
@-moz-document url-prefix("https://keyoxide.org") {
- @media (prefers-color-scheme: light) {
- :root {
- #catppuccin(@lightFlavor, @accentColor);
+ :root {
+ @media (prefers-color-scheme: light) {
+ #catppuccin(@lightFlavor);
}
- }
- @media (prefers-color-scheme: dark) {
- :root {
- #catppuccin(@darkFlavor, @accentColor);
+ @media (prefers-color-scheme: dark) {
+ #catppuccin(@darkFlavor);
}
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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[@@lookup][@text-filter];
+ @text-filter: @catppuccin-filters[@@flavor][@text];
- color-scheme: if(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -71,8 +69,8 @@
}
}
- --primary-color: @accent-color;
- --primary-color-subtle: lighten(@accent-color, 5%);
+ --primary-color: @accent;
+ --primary-color-subtle: lighten(@accent, 5%);
--body-background-color: @mantle;
--section-background-color: @base;
--text-color: @text;
@@ -127,52 +125,50 @@
}
@-moz-document domain("docs.keyoxide.org"), domain("blog.keyoxide.org") {
- @media (prefers-color-scheme: light) {
- :root {
- #catppuccin(@lightFlavor, @accentColor);
+ :root {
+ @media (prefers-color-scheme: light) {
+ #catppuccin(@lightFlavor);
}
- }
- @media (prefers-color-scheme: dark) {
- :root {
- #catppuccin(@darkFlavor, @accentColor);
+ @media (prefers-color-scheme: dark) {
+ #catppuccin(@darkFlavor);
}
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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[@@lookup][@text-filter];
+ @text-filter: @catppuccin-filters[@@flavor][@text];
- color-scheme: if(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -188,19 +184,19 @@
--clr-primary-99: @crust;
--clr-primary-98: @mantle;
--clr-primary-95: @base;
- --clr-primary-90: lighten(@accent-color, 30%);
- --clr-primary-80: lighten(@accent-color, 20%);
- --clr-primary-70: lighten(@accent-color, 10%);
- --clr-primary-60: @accent-color;
- --clr-primary-50: darken(@accent-color, 5%);
- --clr-primary-40: darken(@accent-color, 10%);
- --clr-primary-35: darken(@accent-color, 15%);
- --clr-primary-30: darken(@accent-color, 20%);
- --clr-primary-25: darken(@accent-color, 25%);
- --clr-primary-20: darken(@accent-color, 30%);
- --clr-primary-10: darken(@accent-color, 35%);
+ --clr-primary-90: lighten(@accent, 30%);
+ --clr-primary-80: lighten(@accent, 20%);
+ --clr-primary-70: lighten(@accent, 10%);
+ --clr-primary-60: @accent;
+ --clr-primary-50: darken(@accent, 5%);
+ --clr-primary-40: darken(@accent, 10%);
+ --clr-primary-35: darken(@accent, 15%);
+ --clr-primary-30: darken(@accent, 20%);
+ --clr-primary-25: darken(@accent, 25%);
+ --clr-primary-20: darken(@accent, 30%);
+ --clr-primary-10: darken(@accent, 35%);
--clr-primary-0: @text;
- --clr-primary: @accent-color;
+ --clr-primary: @accent;
--clr-header: @text;
--clr-header-subtle: @subtext1;
--clr-text: @text;
@@ -223,7 +219,7 @@
}
img[title="Keyoxide logo"] {
@svg: escape(
- ''
+ ''
);
content: url("data:image/svg+xml,@{svg}");
}
@@ -279,8 +275,8 @@
}
.widget {
- background-color: fade(@accent-color, 60%);
- border-color: @accent-color;
+ background-color: fade(@accent, 60%);
+ border-color: @accent;
.title {
color: @text;
@@ -296,8 +292,16 @@
/* 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; };
+ @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 6b9e6a5d..f2f5b8f8 100644
--- a/styles/lastfm/catppuccin.user.less
+++ b/styles/lastfm/catppuccin.user.less
@@ -16,52 +16,50 @@
==/UserStyle== */
@-moz-document domain("last.fm") {
- @media (prefers-color-scheme: light) {
- :root {
- #catppuccin(@lightFlavor, @accentColor);
+ :root {
+ @media (prefers-color-scheme: light) {
+ #catppuccin(@lightFlavor);
}
- }
- @media (prefers-color-scheme: dark) {
- :root {
- #catppuccin(@darkFlavor, @accentColor);
+ @media (prefers-color-scheme: dark) {
+ #catppuccin(@darkFlavor);
}
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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];
- @accent-color-dim: darken(@accent-color, 3%);
+ @accent-dim: darken(@accent, 3%);
- color-scheme: if(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -71,8 +69,8 @@
}
}
- & when not(@lookup = latte) {
- @accent-color-dim: fadeout(@accent-color, 50);
+ & when not(@flavor = latte) {
+ @accent-dim: fade(@accent, 50%);
.layout-image {
background: @base;
.layout-image-image {
@@ -107,7 +105,7 @@
background: @base;
}
h1 {
- color: @accent-color;
+ color: @accent;
}
.mimic-link {
color: @sapphire;
@@ -116,9 +114,9 @@
border-color: @overlay1;
}
a {
- color: @accent-color;
+ color: @accent;
&:hover {
- color: @accent-color-dim;
+ color: @accent-dim;
}
}
@@ -190,8 +188,8 @@
}
/* -----------CHECKBOXES, DROPDOWNS AND RADIOS---------- */
.lfm-form-radio input[type="radio"]:checked + label::before {
- border-color: @accent-color;
- box-shadow: inset 0 0 0 4px @accent-color;
+ border-color: @accent;
+ box-shadow: inset 0 0 0 4px @accent;
background-color: @base;
}
.lfm-form-radio input[type="radio"] + label::before {
@@ -212,7 +210,7 @@
.content-top-has-nav .content-top::after,
.two-column-layout .content-top::after {
- border-top-color: @accent-color-dim;
+ border-top-color: @accent-dim;
}
.homefeed .content-top .secondary-nav-item-link--active,
@@ -238,7 +236,7 @@
&--tracks,
&--events {
.secondary-nav-item-link:hover::after {
- background-color: @accent-color-dim;
+ background-color: @accent-dim;
}
}
}
@@ -247,7 +245,7 @@
&--tracks,
&--events {
.content-top .secondary-nav-item-link--active::after {
- background-color: @accent-color-dim;
+ background-color: @accent-dim;
}
}
}
@@ -257,9 +255,9 @@
background-image: linear-gradient(
180deg,
transparent 0,
- rgba(@mantle, 0.4) 50%,
- rgba(@mantle, 0.7) 50%,
- rgba(@mantle, 0.7) 100%
+ fade(@mantle, 40%) 50%,
+ fade(@mantle, 70%) 50%,
+ fade(@mantle, 70%) 100%
);
}
}
@@ -285,10 +283,10 @@
}
}
&::after {
- border-bottom-color: @accent-color-dim;
+ border-bottom-color: @accent-dim;
}
&::before {
- background-color: @accent-color;
+ background-color: @accent;
-webkit-filter: invert(0%);
filter: invert(0%);
}
@@ -303,7 +301,7 @@
background-color: transparent;
}
.join-cta h3 {
- color: @accent-color;
+ color: @accent;
}
.lazy-features-footer {
@@ -322,7 +320,7 @@
/* LIVE */
/* MUSIC */
.content-top-header {
- color: @accent-color;
+ color: @accent;
}
.minimal-navigation-item-link {
@@ -368,15 +366,8 @@
}
/* RECOMMENDATIONS */
- & when not(@lookup = "latte") {
- .recs-feed-title a {
- color: @text !important;
- }
- }
- & when (@lookup = "latte") {
- .recs-feed-title a {
- color: @crust !important;
- }
+ .recs-feed-title a {
+ color: if(@flavor = "latte", @crust, @text) !important;
}
.recs-feed-item,
.recs-feed .recs-feed-item {
@@ -424,7 +415,7 @@
);
}
.secondary-nav {
- box-shadow: inset 0 -1px @accent-color;
+ box-shadow: inset 0 -1px @accent;
}
.music-recommended-artists-artist-name,
.music-recommended-artists-context,
@@ -454,11 +445,11 @@
/* RECAP PROMOS */
.promo-v3 .listening-report-promo {
background: @mantle;
- border-color: rgba(@mantle, 0.5);
+ border-color: fade(@mantle, 50%);
&:hover,
&:focus {
background: @crust;
- border-color: rgba(@crust, 0.5);
+ border-color: fade(@crust, 50%);
}
&-date::after {
.mask-image(
@@ -488,7 +479,7 @@
._buffer-reset,
.sidebar-heading {
- color: @accent-color;
+ color: @accent;
}
.sidebar-group-heading {
@@ -521,7 +512,7 @@
}
.events-filters {
- border-bottom-color: @accent-color;
+ border-bottom-color: @accent;
}
.events-list-item-venue--address,
@@ -554,7 +545,7 @@
}
.features-post-header-title {
- color: @accent-color;
+ color: @accent;
}
.features-post-artist {
@@ -570,7 +561,7 @@
&,
&:not(.cta--inactive):focus,
&:not(.cta--inactive):hover {
- background-color: @accent-color-dim;
+ background-color: @accent-dim;
}
}
.dropdown-menu-clickable,
@@ -589,7 +580,7 @@
color: @subtext1;
}
.chartlist-play-button::before {
- background-color: @accent-color;
+ background-color: @accent;
-webkit-filter: invert(0%);
filter: invert(0%);
}
@@ -604,14 +595,14 @@
.text-Color-link,
h2,
.dropdown-menu-clickable-button.disclose-active {
- color: @accent-color;
+ color: @accent;
}
.dropdown-menu-clickable-button,
.dropdown-menu-clickable-item--selected {
&,
&:focus,
&:hover {
- color: @accent-color;
+ color: @accent;
}
}
.dropdown-menu-clickable-item,
@@ -621,7 +612,7 @@
color: @text;
}
.btn-secondary {
- background-color: @accent-color-dim;
+ background-color: @accent-dim;
color: @crust;
}
@@ -630,7 +621,7 @@
.btn-secondary:focus,
body:not([data-whatinput="touch"]) .btn-secondary .focus-visible,
body:not([data-whatinput="touch"]) .btn-secondary:hover {
- background-color: @accent-color;
+ background-color: @accent;
color: @crust;
}
input[type="password"] {
@@ -675,7 +666,7 @@
.chartlist-row--highlight,
.chartlist-row--now-scrobbling {
/* background-color: #5a1717; */
- background: linear-gradient(270deg, @base 60%, rgba(@accent-color, 0.2));
+ background: linear-gradient(270deg, @base 60%, fade(@accent, 20%));
background-size: 200% 200%;
-webkit-animation: chartlist-anim 10s ease infinite;
-moz-animation: chartlist-anim 10s ease infinite;
@@ -698,7 +689,7 @@
.chartlist-count-bar-slug {
background-color: transparent !important;
- background-image: linear-gradient(to right, @accent-color, @accent-color);
+ background-image: linear-gradient(to right, @accent, @accent);
color: @crust;
}
.chartlist-count-bar-value {
@@ -706,7 +697,7 @@
}
a:focus .chartlist-count-bar-slug,
a:hover .chartlist-count-bar-slug {
- background-color: @accent-color-dim;
+ background-color: @accent-dim;
}
.chartlist-count-bar-link {
@@ -726,7 +717,7 @@
}
.chartlist tr:nth-child(1) td.chartlist-index {
- color: @accent-color;
+ color: @accent;
}
/* LISTENING REPORT */
@@ -741,7 +732,7 @@
// Topmost report box
.report-box-container--overview {
- background: @accent-color;
+ background: @accent;
color: @base;
// Top border design (////)
.report-headline-border {
@@ -767,10 +758,10 @@
.report-headline__chart {
.highcharts-series-0 .highcharts-point {
fill: @base;
- stroke: rgba(@base, 0.5);
+ stroke: fade(@base, 50%);
}
.highcharts-series-1 .highcharts-point {
- fill: rgba(@base, 0.5);
+ fill: fade(@base, 50%);
stroke: transparent;
}
.highcharts-axis-labels {
@@ -785,7 +776,7 @@
background: @base;
.listening-report-row {
// Header divider colors follow accent
- border-bottom-color: @accent-color;
+ border-bottom-color: @accent;
}
.top-item-overview {
// Style category boxes
@@ -851,8 +842,8 @@
.tag-label {
background: linear-gradient(
90deg,
- darken(@accent-color, 5%),
- @accent-color
+ darken(@accent, 5%),
+ @accent
);
// Total scrobbles header
&--total-scrobbles::before {
@@ -888,15 +879,15 @@
// Highlight self for higher or lower position on chart
&-inner--highlight {
&.listening-report-highlight--down {
- background: rgba(@red, 0.1);
+ background: fade(@red, 10%);
&:hover {
- background: rgba(@red, 0.15);
+ background: fade(@red, 15%);
}
}
&.listening-report-highlight--up {
- background: rgba(@green, 0.1);
+ background: fade(@green, 10%);
&:hover {
- background: rgba(@green, 0.15);
+ background: fade(@green, 15%);
}
}
}
@@ -958,7 +949,7 @@
.music-decades-chart-container {
.highcharts-series-1 .highcharts-point {
- fill: rgba(@accent-color, 0.5);
+ fill: fade(@accent, 50%);
}
}
@@ -966,7 +957,7 @@
.shout {
&--active {
- background-color: fadeout(@surface1, 30%);
+ background-color: fade(@surface1, 70%);
}
&,
@@ -1031,9 +1022,9 @@
}
.highcharts-point {
- fill: @accent-color-dim;
+ fill: @accent-dim;
&-select {
- fill: @accent-color;
+ fill: @accent;
}
}
@@ -1046,7 +1037,7 @@
fill: @base;
}
.highcharts-point {
- fill: rgba(@accent-color, 0.2);
+ fill: fade(@accent, 20%);
}
.highcharts-xaxis .highcharts-axis-line,
.highcharts-yaxis-grid .highcharts-grid-line {
@@ -1064,7 +1055,7 @@
}
.user-follow,
.user-follow::after {
- color: @accent-color;
+ color: @accent;
background-color: @surface0;
}
@@ -1085,7 +1076,7 @@
}
.header-follower-btn {
- color: @accent-color;
+ color: @accent;
}
/* BOOKMARKS */
@@ -1130,7 +1121,7 @@
body .header-new-love-button,
body .header-new-more-button {
color: @base;
- background-color: @accent-color;
+ background-color: @accent;
}
body:not([data-whatinput="touch"]) {
.header-new-bookmark-button,
@@ -1140,7 +1131,7 @@
.focus-visible,
&:hover {
color: @base;
- background-color: @accent-color;
+ background-color: @accent;
}
}
}
@@ -1152,7 +1143,7 @@
}
.text-18 {
- color: @accent-color;
+ color: @accent;
}
.artist-similar-artists-sidebar-item-name,
@@ -1195,7 +1186,7 @@
}
.header-metadata .header-metadata-display a {
- color: @accent-color;
+ color: @accent;
}
.big-artist-list-title a {
@@ -1215,7 +1206,7 @@
}
.section-playlink::before {
- background-color: @accent-color;
+ background-color: @accent;
-webkit-filter: invert(0%);
filter: invert(0%);
}
@@ -1230,7 +1221,7 @@
}
.stationlink::before {
- background-color: @accent-color;
+ background-color: @accent;
-webkit-filter: invert(0%);
filter: invert(0%);
}
@@ -1243,7 +1234,7 @@
.video-preview-upload-cta {
background-color: @crust;
- box-shadow: 0 0 0 2px @accent-color-dim;
+ box-shadow: 0 0 0 2px @accent-dim;
}
.video-preview-upload-cta:not(.cta--inactive):focus,
@@ -1256,7 +1247,7 @@
}
.listener-trend .highcharts-area {
- fill: fadeout(@red, 10%);
+ fill: fade(@red, 90%);
}
.listener-trend .highcharts-graph {
@@ -1264,11 +1255,11 @@
}
.Colored-cta {
- background-color: fadeout(@surface2, 30%);
+ background-color: fade(@surface2, 70%);
}
.Colored-cta:not(.cta--inactive):focus,
.Colored-cta:not(.cta--inactive):hover {
- background-color: fadeout(@surface2, 70%);
+ background-color: fade(@surface2, 30%);
}
.similar-items-sidebar-item-name {
color: @text;
@@ -1291,7 +1282,7 @@
}
.factbox-item > h4 {
- color: @accent-color;
+ color: @accent;
}
.alert-warning {
@@ -1323,7 +1314,7 @@
}
}
.control-label {
- color: @accent-color;
+ color: @accent;
}
.join-form .form-row-help-text {
color: @text;
@@ -1336,7 +1327,7 @@
.secondary-nav-item-link--active::after,
a.secondary-nav-item-link:focus::after,
a.secondary-nav-item-link:hover::after {
- background-color: @accent-color;
+ background-color: @accent;
}
/* DOCUMENTATION/API SECTION */
@@ -1348,24 +1339,24 @@
a.sidebar-link {
color: @text;
&:hover {
- color: @accent-color;
+ color: @accent;
}
}
.sidebar-heading {
color: @subtext1;
}
a.sidebar-link.active {
- color: @accent-color;
- border-left-color: @accent-color;
+ color: @accent;
+ border-left-color: @accent;
}
a {
- color: @accent-color;
+ color: @accent;
}
}
/* OBSESSIONS */
.obsession-history-play-all::before {
- background-color: @accent-color;
+ background-color: @accent;
-webkit-filter: invert(0%);
filter: invert(0%);
color: @text;
@@ -1381,7 +1372,7 @@
}
.obsession-search-result-header {
- color: @accent-color;
+ color: @accent;
}
.obsession-candidate-heading {
@@ -1404,7 +1395,7 @@
}
.content-form textarea:hover:not([disabled]) {
- border-color: @accent-color;
+ border-color: @accent;
}
/* MESSAGES */
@@ -1423,7 +1414,7 @@
}
.inbox-message-subject {
- color: @accent-color;
+ color: @accent;
}
.inbox-message-message {
@@ -1432,7 +1423,7 @@
.inbox-message-view .inbox-message-message blockquote {
background: @crust;
- border-color: @accent-color;
+ border-color: @accent;
}
body:not([data-whatinput="touch"])
@@ -1450,7 +1441,7 @@
}
.inbox .inbox-message--unviewed .inbox-message-status::after {
- background-color: @accent-color;
+ background-color: @accent;
}
/* ADS */
@@ -1470,7 +1461,7 @@
.btn-subscribe,
.btn-subscribe:hover,
.btn-subscribe:active {
- background-color: @accent-color !important;
+ background-color: @accent !important;
}
.listening-report-brick--upsell {
display: none;
@@ -1503,18 +1494,18 @@
.clipboard-button:focus,
body:not([data-whatinput="touch"]) .clipboard-button .focus-visible,
body:not([data-whatinput="touch"]) .clipboard-button:hover {
- background-color: @accent-color !important;
+ background-color: @accent !important;
color: @base !important;
}
.api-session-disconnect {
- background-color: @accent-color-dim !important;
+ background-color: @accent-dim !important;
color: @base !important;
}
/* -----Shortcut Button------ */
.btn-shortcut,
.btn-shortcut:hover,
.btn-shortcut:active {
- background-color: @accent-color-dim !important;
+ background-color: @accent-dim !important;
color: @text !important;
}
/* ------HEADER----- */
@@ -1558,7 +1549,7 @@
color: @text !important;
}
.player-bar .player-bar-progress-slug {
- background: @accent-color;
+ background: @accent;
}
.masthead-nav-control,
.site-auth-control,
@@ -1567,7 +1558,7 @@
color: @text !important;
}
.masthead-nav .masthead-nav-control::after {
- background: @accent-color;
+ background: @accent;
}
.auth-dropdown-menu {
background-color: @base !important;
@@ -1599,7 +1590,7 @@
&:focus,
&:hover {
background-color: transparent;
- color: @accent-color !important;
+ color: @accent !important;
}
}
.site-auth-control.btn-secondary {
@@ -1609,7 +1600,7 @@
background-color: @mantle;
}
.masthead-search-submit {
- background-color: @accent-color;
+ background-color: @accent;
color: @base;
}
body:not(.js-focus-visible)
@@ -1617,7 +1608,7 @@
.masthead-search-submit:focus,
body:not([data-whatinput="touch"]) .masthead-search-submit .focus-visible,
body:not([data-whatinput="touch"]) .masthead-search-submit:hover {
- background-color: @accent-color;
+ background-color: @accent;
color: @base;
}
.masthead-search-field {
@@ -1638,15 +1629,15 @@
.library-controls .secondary-nav .secondary-nav-item-link--active:focus,
.library-controls .secondary-nav .secondary-nav-item-link--active:hover,
body:not([data-whatinput="touch"]) .catalogue-tags .tag a:hover {
- color: @accent-color !important;
+ color: @accent !important;
}
/* ------ARTIST TAGS----- */
.catalogue-tags .tag a,
.catalogue-tags .tags-add,
.catalogue-tags .tags-add-cta,
body:not([data-whatinput="touch"]) .catalogue-tags .tag a:hover {
- color: @accent-color;
- box-shadow: inset 0 0 0 1px @accent-color-dim;
+ color: @accent;
+ box-shadow: inset 0 0 0 1px @accent-dim;
}
/* -----HIDE PLAY BUTTON ON TOP TRACK------ */
.image-overlay-playlink-link::before {
@@ -1654,10 +1645,10 @@
}
/* ---------CHARTS FIX--------- */
.globalchart .globalchart-item:first-child {
- background-color: fadeout(@mantle, 80%);
+ background-color: fade(@mantle, 20%);
}
.globalchart-item:first-child .globalchart-rank {
- color: @accent-color !important;
+ color: @accent !important;
}
.globalchart-item .globalchart-rank {
color: @text;
@@ -1670,7 +1661,7 @@
display: none !important;
}
h1.text-24 {
- color: @accent-color;
+ color: @accent;
}
.checkbox {
color: @text;
@@ -1751,7 +1742,7 @@
.more-link-fullwidth-right ::before {
.mask-image(
url("/static/images/icons/arrow_small_right_005399_12.8f025ef116be.png"),
- @accent-color,
+ @accent,
);
}
@@ -1808,7 +1799,7 @@
.js .date-range-picker-button::before {
.mask-image(
url("/static/images/icons/date_picker_icon.1d7b21ee3a36.svg"),
- @accent-color,
+ @accent,
0 0,
14px 24px,
no-repeat,
@@ -1825,7 +1816,7 @@
.catalogue-tags .tags-add::before {
.mask-image(
url("/static/images/icons/add_link_16.637996ed0e2f.png"),
- @accent-color,
+ @accent,
);
}
diff --git a/styles/learn-x-in-y-minutes/catppuccin.user.less b/styles/learn-x-in-y-minutes/catppuccin.user.less
index 8108b85f..3a7d1d8e 100644
--- a/styles/learn-x-in-y-minutes/catppuccin.user.less
+++ b/styles/learn-x-in-y-minutes/catppuccin.user.less
@@ -19,50 +19,50 @@
@import url("https://python.catppuccin.com/pygments/catppuccin-variables.important.css");
html.light {
- #catppuccin(@lightFlavor, @accentColor);
+ #catppuccin(@lightFlavor);
}
html.dark {
- #catppuccin(@darkFlavor, @accentColor);
+ #catppuccin(@darkFlavor);
}
html:not(.dark, .light) {
@media (prefers-color-scheme: light) {
- #catppuccin(@lightFlavor, @accentColor);
+ #catppuccin(@lightFlavor);
}
@media (prefers-color-scheme: dark) {
- #catppuccin(@darkFlavor, @accentColor);
+ #catppuccin(@darkFlavor);
}
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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;
@@ -91,10 +91,10 @@
--ctp-mantle: @mantle;
--ctp-crust: @crust;
- color-scheme: if(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -178,25 +178,25 @@
}
a {
- color: @accent-color !important;
+ color: @accent !important;
code {
- color: @accent-color !important;
+ color: @accent !important;
}
&:visited {
- color: darken(@accent-color, 5%) !important;
+ color: darken(@accent, 5%) !important;
}
&.active {
color: @base !important;
- background-color: @accent-color !important;
- border-color: darken(@accent-color, 15%) !important;
+ background-color: @accent !important;
+ border-color: darken(@accent, 15%) !important;
&:visited {
- background-color: darken(@accent-color, 5%) !important;
+ background-color: darken(@accent, 5%) !important;
color: @base !important;
- border-color: darken(@accent-color, 10%) !important;
+ border-color: darken(@accent, 10%) !important;
}
}
}
diff --git a/styles/lemmy/catppuccin.user.less b/styles/lemmy/catppuccin.user.less
index 9552ce09..a432da72 100644
--- a/styles/lemmy/catppuccin.user.less
+++ b/styles/lemmy/catppuccin.user.less
@@ -16,50 +16,48 @@
==/UserStyle== */
@-moz-document domain("lemmy.ml"), domain("lemmy.world") {
- @media (prefers-color-scheme: light) {
- :root {
- #catppuccin(@lightFlavor, @accentColor);
+ :root {
+ @media (prefers-color-scheme: light) {
+ #catppuccin(@lightFlavor);
}
- }
- @media (prefers-color-scheme: dark) {
- :root {
- #catppuccin(@darkFlavor, @accentColor);
+ @media (prefers-color-scheme: dark) {
+ #catppuccin(@darkFlavor);
}
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -88,15 +86,15 @@
--bs-primary-bg-subtle: @base;
--bs-secondary-bg-subtle: @mantle;
--bs-success-bg-subtle: @green;
- --bs-info-bg-subtle: @accent-color;
+ --bs-info-bg-subtle: @accent;
--bs-warning-bg-subtle: @yellow;
--bs-danger-bg-subtle: @red;
--bs-light-bg-subtle: @base;
--bs-dark-bg-subtle: @base;
- --bs-primary-border-subtle: @accent-color;
- --bs-secondary-border-subtle: @accent-color;
+ --bs-primary-border-subtle: @accent;
+ --bs-secondary-border-subtle: @accent;
--bs-success-border-subtle: @green;
- --bs-info-border-subtle: @accent-color;
+ --bs-info-border-subtle: @accent;
--bs-warning-border-subtle: @yellow;
--bs-danger-border-subtle: @red;
--bs-light-border-subtle: @crust;
@@ -106,14 +104,14 @@
--bs-link-color: @blue;
--bs-link-hover-color: @maroon;
--bs-code-color: @lavender;
- --bs-highlight-color: @accent-color;
+ --bs-highlight-color: @accent;
--bs-highlight-bg: @mantle;
--bs-border-color: @crust;
--bs-form-valid-color: @green;
--bs-form-valid-border-color: @green;
--bs-form-invalid-color: @red;
--bs-form-invalid-border-color: @red;
- --bs-dark-rgb: @accent-color;
+ --bs-dark-rgb: @accent;
--bs-btn-bg: @base;
}
@@ -123,7 +121,7 @@
}
.nav-link {
- color: @accent-color;
+ color: @accent;
}
.card {
--bs-card-cap-bg: @mantle;
@@ -144,11 +142,11 @@
--bs-btn-color: @text;
--bs-btn-bg: @base;
--bs-btn-border-color: @overlay1;
- --bs-btn-hover-color: @accent-color;
+ --bs-btn-hover-color: @accent;
--bs-btn-hover-bg: @crust;
--bs-btn-hover-border-color: @overlay2;
--bs-btn-active-color: @text;
- --bs-btn-active-bg: @accent-color;
+ --bs-btn-active-bg: @accent;
--bs-btn-active-border-color: @crust;
--bs-btn-active-shadow: inset 0 3px 5px @crust;
--bs-btn-disabled-color: @red;
@@ -167,10 +165,10 @@
--bs-dropdown-border-color: @mantle;
--bs-dropdown-box-shadow: @mantle;
--bs-dropdown-link-color: @blue;
- --bs-dropdown-link-hover-color: @accent-color;
+ --bs-dropdown-link-hover-color: @accent;
--bs-dropdown-divider-bg: @overlay0;
--bs-dropdown-link-hover-bg: @crust;
- --bs-dropdown-link-active-color: @accent-color;
+ --bs-dropdown-link-active-color: @accent;
--bs-dropdown-link-active-bg: @mantle;
--bs-dropdown-link-disabled-color: @red;
--bs-dropdown-header-color: @text;
@@ -185,10 +183,10 @@
.btn-outline-secondary {
--bs-btn-color: @text;
--bs-btn-border-color: @mantle;
- --bs-btn-hover-color: @accent-color;
+ --bs-btn-hover-color: @accent;
--bs-btn-hover-bg: @crust;
--bs-btn-hover-border-color: @overlay0;
- --bs-btn-active-color: @accent-color;
+ --bs-btn-active-color: @accent;
--bs-btn-active-bg: @crust;
--bs-btn-active-border-color: @crust;
--bs-btn-active-shadow: inset 0 3px 5px @crust;
@@ -198,7 +196,7 @@
.nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link {
- color: @accent-color;
+ color: @accent;
background-color: @crust;
border-color: @mantle;
}
@@ -214,17 +212,17 @@
--bs-dropdown-border-color: @mantle;
--bs-dropdown-box-shadow: @mantle;
--bs-dropdown-link-color: @blue;
- --bs-dropdown-link-hover-color: @accent-color;
+ --bs-dropdown-link-hover-color: @accent;
--bs-dropdown-divider-bg: @overlay0;
--bs-dropdown-link-hover-bg: @crust;
- --bs-dropdown-link-active-color: @accent-color;
+ --bs-dropdown-link-active-color: @accent;
--bs-dropdown-link-active-bg: @mantle;
--bs-dropdown-link-disabled-color: @red;
--bs-dropdown-header-color: @text;
}
a {
- color: @accent-color;
+ color: @accent;
}
.text-bg-primary {
@@ -232,7 +230,7 @@
}
.text-muted {
- color: @accent-color;
+ color: @accent;
}
.text-bg-light {
color: @text !important;
diff --git a/styles/libreddit/catppuccin.user.less b/styles/libreddit/catppuccin.user.less
index d85a42f4..1287c0bc 100644
--- a/styles/libreddit/catppuccin.user.less
+++ b/styles/libreddit/catppuccin.user.less
@@ -98,7 +98,7 @@
domain("redlib.privacyredirect.com") {
.light,
.gruvboxlight {
- #catppuccin(@lightFlavor, @accentColor);
+ #catppuccin(@lightFlavor);
}
.dark,
@@ -112,42 +112,42 @@
.rosebox,
.violet,
:root {
- #catppuccin(@darkFlavor, @accentColor);
+ #catppuccin(@darkFlavor);
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -157,7 +157,7 @@
}
}
- --accent: @accent-color !important;
+ --accent: @accent !important;
--green: @green !important;
--text: @text !important;
--foreground: @crust !important;
diff --git a/styles/lichess/catppuccin.user.less b/styles/lichess/catppuccin.user.less
index 0dd17cea..6ff12ba8 100644
--- a/styles/lichess/catppuccin.user.less
+++ b/styles/lichess/catppuccin.user.less
@@ -18,53 +18,53 @@
@-moz-document domain("lichess.org") {
:root:has(body[data-theme="light"]) {
- #catppuccin(@lightFlavor, @accentColor);
+ #catppuccin(@lightFlavor);
}
:root:has(body[data-theme="dark"]) {
- #catppuccin(@darkFlavor, @accentColor);
+ #catppuccin(@darkFlavor);
}
:root:has(body[data-theme="system"]) {
@media (prefers-color-scheme: light) {
- #catppuccin(@lightFlavor, @accentColor);
+ #catppuccin(@lightFlavor);
}
@media (prefers-color-scheme: dark) {
- #catppuccin(@darkFlavor, @accentColor);
+ #catppuccin(@darkFlavor);
}
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -74,7 +74,7 @@
}
}
- html,
+ &,
body {
background: @base linear-gradient(to bottom, @crust, @base 116px)
no-repeat;
@@ -83,7 +83,7 @@
/* Button */
.site-title a {
- color: @accent-color;
+ color: @accent;
}
.site-title span {
color: @text;
@@ -94,7 +94,7 @@
background-color: fade(@overlay0, 50%);
}
.hooks__list tr.join:hover td {
- background-color: fade(@accent-color, 50%);
+ background-color: fade(@accent, 50%);
}
/* Topbar */
@@ -125,7 +125,7 @@
#topnav.hover section:hover > a,
#topnav section:active > a,
#topnav div {
- border-left-color: @accent-color;
+ border-left-color: @accent;
}
signal > i {
background-color: @green;
@@ -209,7 +209,7 @@
a:hover,
a:active,
a:focus {
- color: @accent-color;
+ color: @accent;
}
/* Homepage cards */
@@ -221,7 +221,7 @@
background: fade(@crust, 20%);
border-color: @surface0;
&:hover {
- background-color: fade(@accent-color, 20%);
+ background-color: fade(@accent, 20%);
}
}
.hook__filters {
@@ -386,15 +386,15 @@
}
square.move-dest {
background: radial-gradient(
- fade(@accent-color, 50%) 19%,
+ fade(@accent, 50%) 19%,
rgba(0, 0, 0, 0) 20%
);
}
square.selected {
- background: fade(@accent-color, 50%);
+ background: fade(@accent, 50%);
}
square.last-move {
- background: fade(@accent-color, 40%);
+ background: fade(@accent, 40%);
}
.rclock .time {
background: @mantle;
@@ -404,7 +404,7 @@
background: #384722; /* putting it back to default so that the time on the clock is readable */
}
.rclock .bar {
- background: @accent-color;
+ background: @accent;
}
/* Game Cards */
@@ -513,13 +513,13 @@
background: @mantle;
}
.ceval .settings-gear.active {
- background-color: @accent-color;
+ background-color: @accent;
}
#ceval-settings {
- border-top-color: @accent-color;
+ border-top-color: @accent;
}
.mchat__tab:hover {
- background: fade(@accent-color, 50%);
+ background: fade(@accent, 50%);
}
/* Openings */
.opening__config,
@@ -530,13 +530,13 @@
outline-color: @base;
}
.opening__next:hover {
- outline-color: @accent-color;
+ outline-color: @accent;
}
.opening__next__popularity span {
- background: @accent-color;
+ background: @accent;
}
.opening__next__title {
- color: @accent-color;
+ color: @accent;
}
/* Puzzles */
diff --git a/styles/lingva/catppuccin.user.less b/styles/lingva/catppuccin.user.less
index 8761a663..b87c1547 100644
--- a/styles/lingva/catppuccin.user.less
+++ b/styles/lingva/catppuccin.user.less
@@ -21,45 +21,45 @@
domain("translate.projectsegfau.lt"),
domain("lingva.garudalinux.org") {
.chakra-ui-light {
- #catppuccin(@lightFlavor, @accentColor);
+ #catppuccin(@lightFlavor);
}
.chakra-ui-dark {
- #catppuccin(@darkFlavor, @accentColor);
+ #catppuccin(@darkFlavor);
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -75,20 +75,20 @@
}
header {
- background-color: @accent-color;
+ background-color: @accent;
.chakra-button {
- color: darken(@accent-color, 50%);
- background: lighten(@accent-color, 5%);
+ color: darken(@accent, 50%);
+ background: lighten(@accent, 5%);
&:hover {
- background: darken(@accent-color, 5%);
+ background: darken(@accent, 5%);
}
}
}
footer {
- background-color: @accent-color;
- color: darken(@accent-color, 50%);
+ background-color: @accent;
+ color: darken(@accent, 50%);
}
#__next > div {
@@ -100,29 +100,29 @@
color: @text;
select {
- border-color: @accent-color;
+ border-color: @accent;
color: @text;
}
.chakra-select__icon {
color: @text;
}
.chakra-button {
- color: @accent-color;
- border-color: @accent-color;
+ color: @accent;
+ border-color: @accent;
&:hover:not(:disabled) {
- background-color: rgba(@accent-color, 0.12);
+ background-color: fade(@accent, 12%);
}
// Auto translate button (clicked) (Dark and Light classes)
&.css-1huvcr7,
&.css-q22xb2 {
- background: @accent-color;
+ background: @accent;
color: @crust;
}
}
.chakra-stack {
- border-color: @accent-color;
+ border-color: @accent;
}
textarea {
diff --git a/styles/linkedin/catppuccin.user.less b/styles/linkedin/catppuccin.user.less
index 46d844a7..eead68ab 100644
--- a/styles/linkedin/catppuccin.user.less
+++ b/styles/linkedin/catppuccin.user.less
@@ -17,46 +17,46 @@
@-moz-document domain("www.linkedin.com") {
:root:not(.theme--dark, .theme--mercado-dark) {
- #catppuccin(@lightFlavor, @accentColor);
+ #catppuccin(@lightFlavor);
}
:root.theme--dark,
:root.theme--mercado-dark {
- #catppuccin(@darkFlavor, @accentColor);
+ #catppuccin(@darkFlavor);
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -69,7 +69,7 @@
--black: @crust;
--black-a90: @crust;
--black-a75: @crust;
- --black-a60: fadeout(@crust, 40%);
+ --black-a60: fade(@crust, 60%);
--black-a45: @crust;
--black-a30: @crust;
--black-a15: @crust;
@@ -104,21 +104,21 @@
--blue-80: @blue;
--blue-90: @blue;
--blue-100: @blue;
- --blue-50-a20: fadeout(@blue, 80%);
- --blue-50-a25: fadeout(@blue, 75%);
- --blue-50-a30: fadeout(@blue, 70%);
- --blue-50-a40: fadeout(@blue, 60%);
- --blue-60-a10: fadeout(@blue, 90%);
- --blue-60-a15: fadeout(@blue, 15%);
- --blue-60-a20: fadeout(@blue, 80%);
- --blue-60-a25: fadeout(@blue, 75%);
- --blue-60-a30: fadeout(@blue, 70%);
- --blue-60-a35: fadeout(@blue, 65%);
- --blue-60-a40: fadeout(@blue, 60%);
- --blue-60-a45: fadeout(@blue, 55%);
- --blue-70-a30: fadeout(@sapphire, 70%);
- --blue-70-a40: fadeout(@sapphire, 60%);
- --blue-70-a50: fadeout(@sapphire, 50%);
+ --blue-50-a20: fade(@blue, 20%);
+ --blue-50-a25: fade(@blue, 25%);
+ --blue-50-a30: fade(@blue, 30%);
+ --blue-50-a40: fade(@blue, 40%);
+ --blue-60-a10: fade(@blue, 10%);
+ --blue-60-a15: fade(@blue, 85%);
+ --blue-60-a20: fade(@blue, 20%);
+ --blue-60-a25: fade(@blue, 25%);
+ --blue-60-a30: fade(@blue, 30%);
+ --blue-60-a35: fade(@blue, 35%);
+ --blue-60-a40: fade(@blue, 40%);
+ --blue-60-a45: fade(@blue, 45%);
+ --blue-70-a30: fade(@sapphire, 30%);
+ --blue-70-a40: fade(@sapphire, 40%);
+ --blue-70-a50: fade(@sapphire, 50%);
--cool-gray-10: @mantle;
--cool-gray-20: @surface0;
@@ -131,12 +131,12 @@
--cool-gray-85: @mantle;
--cool-gray-90: @mantle;
--cool-gray-100: @mantle;
- --cool-gray-60-a10: fadeout(@mantle, 90%);
- --cool-gray-60-a15: fadeout(@mantle, 85%);
- --cool-gray-60-a20: fadeout(@mantle, 80%);
- --cool-gray-60-a25: fadeout(@mantle, 75%);
- --cool-gray-60-a30: fadeout(@mantle, 70%);
- --cool-gray-60-a35: fadeout(@mantle, 65%);
+ --cool-gray-60-a10: fade(@mantle, 10%);
+ --cool-gray-60-a15: fade(@mantle, 15%);
+ --cool-gray-60-a20: fade(@mantle, 20%);
+ --cool-gray-60-a25: fade(@mantle, 25%);
+ --cool-gray-60-a30: fade(@mantle, 30%);
+ --cool-gray-60-a35: fade(@mantle, 35%);
--warm-gray-10: @overlay1;
--warm-gray-20: @overlay1;
@@ -148,12 +148,12 @@
--warm-gray-80: @overlay1;
--warm-gray-90: @overlay1;
--warm-gray-100: @overlay1;
- --warm-gray-60-a10: fadeout(@overlay1, 90%);
- --warm-gray-60-a15: fadeout(@overlay1, 85%);
- --warm-gray-60-a20: fadeout(@overlay1, 80%);
- --warm-gray-60-a25: fadeout(@overlay1, 75%);
- --warm-gray-60-a30: fadeout(@overlay1, 70%);
- --warm-gray-60-a35: fadeout(@overlay1, 65%);
+ --warm-gray-60-a10: fade(@overlay1, 10%);
+ --warm-gray-60-a15: fade(@overlay1, 15%);
+ --warm-gray-60-a20: fade(@overlay1, 20%);
+ --warm-gray-60-a25: fade(@overlay1, 25%);
+ --warm-gray-60-a30: fade(@overlay1, 30%);
+ --warm-gray-60-a35: fade(@overlay1, 35%);
--warm-red-10: @maroon;
--warm-red-20: @maroon;
@@ -165,12 +165,12 @@
--warm-red-80: @maroon;
--warm-red-90: @maroon;
--warm-red-100: @maroon;
- --warm-red-60-a10: fadeout(@maroon, 90%);
- --warm-red-60-a15: fadeout(@maroon, 85%);
- --warm-red-60-a20: fadeout(@maroon, 80%);
- --warm-red-60-a25: fadeout(@maroon, 75%);
- --warm-red-60-a30: fadeout(@maroon, 70%);
- --warm-red-60-a35: fadeout(@maroon, 65%);
+ --warm-red-60-a10: fade(@maroon, 10%);
+ --warm-red-60-a15: fade(@maroon, 15%);
+ --warm-red-60-a20: fade(@maroon, 20%);
+ --warm-red-60-a25: fade(@maroon, 25%);
+ --warm-red-60-a30: fade(@maroon, 30%);
+ --warm-red-60-a35: fade(@maroon, 35%);
--teal-10: @teal;
--teal-20: @teal;
@@ -182,13 +182,13 @@
--teal-80: @teal;
--teal-90: @teal;
--teal-100: @teal;
- --teal-50-a30: fadein(@teal, 70%);
- --teal-60-a10: fadeout(@teal, 90%);
- --teal-60-a15: fadeout(@teal, 85%);
- --teal-60-a20: fadeout(@teal, 80%);
- --teal-60-a25: fadeout(@teal, 75%);
- --teal-60-a30: fadeout(@teal, 70%);
- --teal-60-a35: fadeout(@teal, 65%);
+ --teal-50-a30: fade(@teal, 30%);
+ --teal-60-a10: fade(@teal, 10%);
+ --teal-60-a15: fade(@teal, 15%);
+ --teal-60-a20: fade(@teal, 20%);
+ --teal-60-a25: fade(@teal, 25%);
+ --teal-60-a30: fade(@teal, 30%);
+ --teal-60-a35: fade(@teal, 35%);
--purple-10: @lavender;
--purple-20: @lavender;
@@ -200,14 +200,14 @@
--purple-80: @lavender;
--purple-90: @lavender;
--purple-100: @lavender;
- --purple-40-a15: fadeout(@lavender, 85%);
- --purple-60-a10: fadeout(@lavender, 90%);
- --purple-60-a15: fadeout(@lavender, 85%);
- --purple-60-a20: fadeout(@lavender, 80%);
- --purple-60-a25: fadeout(@lavender, 75%);
- --purple-60-a30: fadeout(@lavender, 70%);
- --purple-60-a35: fadeout(@lavender, 65%);
- --purple-70-a15: fadeout(@lavender, 85%);
+ --purple-40-a15: fade(@lavender, 15%);
+ --purple-60-a10: fade(@lavender, 10%);
+ --purple-60-a15: fade(@lavender, 15%);
+ --purple-60-a20: fade(@lavender, 20%);
+ --purple-60-a25: fade(@lavender, 25%);
+ --purple-60-a30: fade(@lavender, 30%);
+ --purple-60-a35: fade(@lavender, 35%);
+ --purple-70-a15: fade(@lavender, 15%);
--system-red-10: @red;
--system-red-20: @red;
@@ -219,12 +219,12 @@
--system-red-80: @red;
--system-red-90: @red;
--system-red-100: @red;
- --system-red-60-a10: fadeout(@red, 90%);
- --system-red-60-a15: fadeout(@red, 85%);
- --system-red-60-a20: fadeout(@red, 80%);
- --system-red-60-a25: fadeout(@red, 75%);
- --system-red-60-a30: fadeout(@red, 70%);
- --system-red-60-a35: fadeout(@red, 65%);
+ --system-red-60-a10: fade(@red, 10%);
+ --system-red-60-a15: fade(@red, 15%);
+ --system-red-60-a20: fade(@red, 20%);
+ --system-red-60-a25: fade(@red, 25%);
+ --system-red-60-a30: fade(@red, 30%);
+ --system-red-60-a35: fade(@red, 35%);
--system-green-10: darken(@green, 20%);
--system-green-20: darken(@green, 20%);
@@ -236,12 +236,12 @@
--system-green-80: darken(@green, 20%);
--system-green-90: darken(@green, 20%);
--system-green-100: darken(@green, 20%);
- --system-green-60-a10: fadeout(darken(@green, 20), 90%);
- --system-green-60-a15: fadeout(darken(@green, 20), 85%);
- --system-green-60-a20: fadeout(darken(@green, 20), 80%);
- --system-green-60-a25: fadeout(darken(@green, 20), 75%);
- --system-green-60-a30: fadeout(darken(@green, 20), 70%);
- --system-green-60-a35: fadeout(darken(@green, 20), 65%);
+ --system-green-60-a10: fade(darken(@green, 20%), 10%);
+ --system-green-60-a15: fade(darken(@green, 20%), 15%);
+ --system-green-60-a20: fade(darken(@green, 20%), 20%);
+ --system-green-60-a25: fade(darken(@green, 20%), 25%);
+ --system-green-60-a30: fade(darken(@green, 20%), 30%);
+ --system-green-60-a35: fade(darken(@green, 20%), 35%);
--pink-10: @pink;
--pink-20: @pink;
@@ -253,12 +253,12 @@
--pink-80: @pink;
--pink-90: @pink;
--pink-100: @pink;
- --pink-60-a10: fadeout(@pink, 90%);
- --pink-60-a15: fadeout(@pink, 85%);
- --pink-60-a20: fadeout(@pink, 80%);
- --pink-60-a25: fadeout(@pink, 75%);
- --pink-60-a30: fadeout(@pink, 70%);
- --pink-60-a35: fadeout(@pink, 65%);
+ --pink-60-a10: fade(@pink, 10%);
+ --pink-60-a15: fade(@pink, 15%);
+ --pink-60-a20: fade(@pink, 20%);
+ --pink-60-a25: fade(@pink, 25%);
+ --pink-60-a30: fade(@pink, 30%);
+ --pink-60-a35: fade(@pink, 35%);
--amber-10: @yellow;
--amber-20: @yellow;
@@ -270,13 +270,13 @@
--amber-80: @yellow;
--amber-90: @yellow;
--amber-100: @yellow;
- --amber-30-a50: fadein(@yellow, 50%);
- --amber-60-a10: fadeout(@yellow, 90%);
- --amber-60-a15: fadeout(@yellow, 85%);
- --amber-60-a20: fadeout(@yellow, 80%);
- --amber-60-a25: fadeout(@yellow, 75%);
- --amber-60-a30: fadeout(@yellow, 70%);
- --amber-60-a35: fadeout(@yellow, 65%);
+ --amber-30-a50: fade(@yellow, 50%);
+ --amber-60-a10: fade(@yellow, 10%);
+ --amber-60-a15: fade(@yellow, 15%);
+ --amber-60-a20: fade(@yellow, 20%);
+ --amber-60-a25: fade(@yellow, 25%);
+ --amber-60-a30: fade(@yellow, 30%);
+ --amber-60-a35: fade(@yellow, 35%);
--copper-10: @rosewater;
--copper-20: @rosewater;
@@ -288,12 +288,12 @@
--copper-80: @rosewater;
--copper-90: @rosewater;
--copper-100: @rosewater;
- --copper-60-a10: fadeout(@rosewater, 90%);
- --copper-60-a15: fadeout(@rosewater, 85%);
- --copper-60-a20: fadeout(@rosewater, 80%);
- --copper-60-a25: fadeout(@rosewater, 75%);
- --copper-60-a30: fadeout(@rosewater, 70%);
- --copper-60-a35: fadeout(@rosewater, 65%);
+ --copper-60-a10: fade(@rosewater, 10%);
+ --copper-60-a15: fade(@rosewater, 15%);
+ --copper-60-a20: fade(@rosewater, 20%);
+ --copper-60-a25: fade(@rosewater, 25%);
+ --copper-60-a30: fade(@rosewater, 30%);
+ --copper-60-a35: fade(@rosewater, 35%);
--green-10: @green;
--green-20: @green;
@@ -305,12 +305,12 @@
--green-80: @green;
--green-90: @green;
--green-100: @green;
- --green-60-a10: fadeout(@green, 90%);
- --green-60-a15: fadeout(@green, 85%);
- --green-60-a20: fadeout(@green, 80%);
- --green-60-a25: fadeout(@green, 75%);
- --green-60-a30: fadeout(@green, 70%);
- --green-60-a35: fadeout(@green, 65%);
+ --green-60-a10: fade(@green, 10%);
+ --green-60-a15: fade(@green, 15%);
+ --green-60-a20: fade(@green, 20%);
+ --green-60-a25: fade(@green, 25%);
+ --green-60-a30: fade(@green, 30%);
+ --green-60-a35: fade(@green, 35%);
--sage-10: darken(@green, 40%);
--sage-20: darken(@green, 40%);
@@ -322,12 +322,12 @@
--sage-80: darken(@green, 40%);
--sage-90: darken(@green, 40%);
--sage-100: darken(@green, 40%);
- --sage-60-a10: fadeout(darken(@green, 40), 90%);
- --sage-60-a15: fadeout(darken(@green, 40), 85%);
- --sage-60-a20: fadeout(darken(@green, 40), 80%);
- --sage-60-a25: fadeout(darken(@green, 40), 75%);
- --sage-60-a30: fadeout(darken(@green, 40), 70%);
- --sage-60-a35: fadeout(darken(@green, 40), 65%);
+ --sage-60-a10: fade(darken(@green, 40%), 10%);
+ --sage-60-a15: fade(darken(@green, 40%), 15%);
+ --sage-60-a20: fade(darken(@green, 40%), 20%);
+ --sage-60-a25: fade(darken(@green, 40%), 25%);
+ --sage-60-a30: fade(darken(@green, 40%), 30%);
+ --sage-60-a35: fade(darken(@green, 40%), 35%);
--lime-10: lighten(@green, 20%);
--lime-20: lighten(@green, 20%);
@@ -339,29 +339,29 @@
--lime-80: lighten(@green, 20%);
--lime-90: lighten(@green, 20%);
--lime-100: lighten(@green, 20%);
- --lime-60-a10: fadeout(lighten(@green, 20), 90%);
- --lime-60-a15: fadeout(lighten(@green, 20), 85%);
- --lime-60-a20: fadeout(lighten(@green, 20), 80%);
- --lime-60-a25: fadeout(lighten(@green, 20), 75%);
- --lime-60-a30: fadeout(lighten(@green, 20), 70%);
- --lime-60-a35: fadeout(lighten(@green, 20), 65%);
+ --lime-60-a10: fade(lighten(@green, 20%), 10%);
+ --lime-60-a15: fade(lighten(@green, 20%), 15%);
+ --lime-60-a20: fade(lighten(@green, 20%), 20%);
+ --lime-60-a25: fade(lighten(@green, 20%), 25%);
+ --lime-60-a30: fade(lighten(@green, 20%), 30%);
+ --lime-60-a35: fade(lighten(@green, 20%), 35%);
- --camo-10: @accent-color;
- --camo-20: @accent-color;
- --camo-30: @accent-color;
- --camo-40: @accent-color;
- --camo-50: @accent-color;
- --camo-60: @accent-color;
- --camo-70: @accent-color;
- --camo-80: @accent-color;
- --camo-90: @accent-color;
- --camo-100: @accent-color;
- --camo-60-a10: fadeout(@accent-color, 90%);
- --camo-60-a15: fadeout(@accent-color, 85%);
- --camo-60-a20: fadeout(@accent-color, 80%);
- --camo-60-a25: fadeout(@accent-color, 75%);
- --camo-60-a30: fadeout(@accent-color, 70%);
- --camo-60-a35: fadeout(@accent-color, 65%);
+ --camo-10: @accent;
+ --camo-20: @accent;
+ --camo-30: @accent;
+ --camo-40: @accent;
+ --camo-50: @accent;
+ --camo-60: @accent;
+ --camo-70: @accent;
+ --camo-80: @accent;
+ --camo-90: @accent;
+ --camo-100: @accent;
+ --camo-60-a10: fade(@accent, 10%);
+ --camo-60-a15: fade(@accent, 15%);
+ --camo-60-a20: fade(@accent, 20%);
+ --camo-60-a25: fade(@accent, 25%);
+ --camo-60-a30: fade(@accent, 30%);
+ --camo-60-a35: fade(@accent, 35%);
--smoke-10: @surface1;
--smoke-20: @surface1;
@@ -373,12 +373,12 @@
--smoke-80: @surface1;
--smoke-90: @surface1;
--smoke-100: @surface1;
- --smoke-60-a10: fadeout(@surface1, 90%);
- --smoke-60-a15: fadeout(@surface1, 85%);
- --smoke-60-a20: fadeout(@surface1, 80%);
- --smoke-60-a25: fadeout(@surface1, 75%);
- --smoke-60-a30: fadeout(@surface1, 70%);
- --smoke-60-a35: fadeout(@surface1, 65%);
+ --smoke-60-a10: fade(@surface1, 10%);
+ --smoke-60-a15: fade(@surface1, 15%);
+ --smoke-60-a20: fade(@surface1, 20%);
+ --smoke-60-a25: fade(@surface1, 25%);
+ --smoke-60-a30: fade(@surface1, 30%);
+ --smoke-60-a35: fade(@surface1, 35%);
--lavender-10: @lavender;
--lavender-20: @lavender;
@@ -390,12 +390,12 @@
--lavender-80: @lavender;
--lavender-90: @lavender;
--lavender-100: @lavender;
- --lavender-60-a10: fadeout(@lavender, 90%);
- --lavender-60-a15: fadeout(@lavender, 85%);
- --lavender-60-a20: fadeout(@lavender, 80%);
- --lavender-60-a25: fadeout(@lavender, 75%);
- --lavender-60-a30: fadeout(@lavender, 70%);
- --lavender-60-a35: fadeout(@lavender, 65%);
+ --lavender-60-a10: fade(@lavender, 10%);
+ --lavender-60-a15: fade(@lavender, 15%);
+ --lavender-60-a20: fade(@lavender, 20%);
+ --lavender-60-a25: fade(@lavender, 25%);
+ --lavender-60-a30: fade(@lavender, 30%);
+ --lavender-60-a35: fade(@lavender, 35%);
--mauve-10: @mauve;
--mauve-20: @mauve;
@@ -407,13 +407,13 @@
--mauve-80: @mauve;
--mauve-90: @mauve;
--mauve-100: @mauve;
- --mauve-60-a10: fadeout(@mauve, 90%);
- --mauve-60-a15: fadeout(@mauve, 85%);
- --mauve-60-a20: fadeout(@mauve, 80%);
- --mauve-60-a25: fadeout(@mauve, 75%);
- --mauve-60-a30: fadeout(@mauve, 70%);
- --mauve-60-a35: fadeout(@mauve, 65%);
- --mauve-80-a50: fadeout(@mauve, 50%);
+ --mauve-60-a10: fade(@mauve, 10%);
+ --mauve-60-a15: fade(@mauve, 15%);
+ --mauve-60-a20: fade(@mauve, 20%);
+ --mauve-60-a25: fade(@mauve, 25%);
+ --mauve-60-a30: fade(@mauve, 30%);
+ --mauve-60-a35: fade(@mauve, 35%);
+ --mauve-80-a50: fade(@mauve, 50%);
--system-gray-10: @surface0;
--system-gray-20: @surface0;
@@ -425,14 +425,14 @@
--system-gray-80: @surface0;
--system-gray-90: @surface0;
--system-gray-100: @surface0;
- --system-gray-60-a10: fadeout(@surface0, 90%);
- --system-gray-60-a15: fadeout(@surface0, 85%);
- --system-gray-60-a20: fadeout(@surface0, 80%);
- --system-gray-60-a25: fadeout(@surface0, 75%);
- --system-gray-60-a30: fadeout(@surface0, 70%);
- --system-gray-60-a35: fadeout(@surface0, 65%);
- --system-gray-60-a40: fadeout(@surface0, 60%);
- --system-gray-60-a45: fadeout(@surface0, 55%);
+ --system-gray-60-a10: fade(@surface0, 10%);
+ --system-gray-60-a15: fade(@surface0, 15%);
+ --system-gray-60-a20: fade(@surface0, 20%);
+ --system-gray-60-a25: fade(@surface0, 25%);
+ --system-gray-60-a30: fade(@surface0, 30%);
+ --system-gray-60-a35: fade(@surface0, 35%);
+ --system-gray-60-a40: fade(@surface0, 40%);
+ --system-gray-60-a45: fade(@surface0, 45%);
--system-orange-10: @peach;
--system-orange-20: @peach;
@@ -444,12 +444,12 @@
--system-orange-80: @peach;
--system-orange-90: @peach;
--system-orange-100: @peach;
- --system-orange-60-a10: fadeout(@peach, 90%);
- --system-orange-60-a15: fadeout(@peach, 85%);
- --system-orange-60-a20: fadeout(@peach, 80%);
- --system-orange-60-a25: fadeout(@peach, 75%);
- --system-orange-60-a30: fadeout(@peach, 70%);
- --system-orange-60-a35: fadeout(@peach, 65%);
+ --system-orange-60-a10: fade(@peach, 10%);
+ --system-orange-60-a15: fade(@peach, 15%);
+ --system-orange-60-a20: fade(@peach, 20%);
+ --system-orange-60-a25: fade(@peach, 25%);
+ --system-orange-60-a30: fade(@peach, 30%);
+ --system-orange-60-a35: fade(@peach, 35%);
/* quality of life changes */
--color-border-low-emphasis: @surface0;
@@ -461,26 +461,26 @@
}
/* more accent */
- --voyager-color-background-badge-notification: @accent-color;
- --color-signal-positive: @accent-color;
- --color-checked: @accent-color;
- --color-checked-hover: @accent-color;
- --color-checked-active: @accent-color;
+ --voyager-color-background-badge-notification: @accent;
+ --color-signal-positive: @accent;
+ --color-checked: @accent;
+ --color-checked-hover: @accent;
+ --color-checked-active: @accent;
/* fix for hover buttons */
- --artdeco-button-secondary-default-hover-background-color: fadeout(
+ --artdeco-button-secondary-default-hover-background-color: fade(
@blue,
- 80%
+ 20%
);
/* text on dark */
--color-text-on-dark: @text;
- & when not(@lookup = latte) {
+ & when not(@flavor = latte) {
--color-element: @crust;
}
- & when (@lookup = latte) {
+ & when (@flavor = latte) {
--black: @text;
--black-a90: @text;
--black-a75: @text;
@@ -491,7 +491,7 @@
--black-a04: @text;
--black-a100: @text;
- --color-scrim: fadeout(@crust, 60%);
+ --color-scrim: fade(@crust, 40%);
--color-icon-on-dark: @text;
--white: @mantle;
@@ -520,16 +520,16 @@
--warm-gray-80: @base;
--warm-gray-90: @base;
--warm-gray-100: @base;
- --warm-gray-60-a10: fadeout(@base, 90%);
- --warm-gray-60-a15: fadeout(@base, 85%);
- --warm-gray-60-a20: fadeout(@base, 80%);
- --warm-gray-60-a25: fadeout(@base, 75%);
- --warm-gray-60-a30: fadeout(@base, 70%);
- --warm-gray-60-a35: fadeout(@base, 65%);
+ --warm-gray-60-a10: fade(@base, 10%);
+ --warm-gray-60-a15: fade(@base, 15%);
+ --warm-gray-60-a20: fade(@base, 20%);
+ --warm-gray-60-a25: fade(@base, 25%);
+ --warm-gray-60-a30: fade(@base, 30%);
+ --warm-gray-60-a35: fade(@base, 35%);
}
.share-promoted-detour-button-legacy {
- background-color: @accent-color !important;
+ background-color: @accent !important;
}
}
}
diff --git a/styles/listenbrainz/catppuccin.user.less b/styles/listenbrainz/catppuccin.user.less
index 1500d20d..053b92de 100644
--- a/styles/listenbrainz/catppuccin.user.less
+++ b/styles/listenbrainz/catppuccin.user.less
@@ -16,50 +16,48 @@
==/UserStyle== */
@-moz-document domain("listenbrainz.org") {
- @media (prefers-color-scheme: light) {
- :root {
- #catppuccin(@lightFlavor, @accentColor);
+ :root {
+ @media (prefers-color-scheme: light) {
+ #catppuccin(@lightFlavor);
}
- }
- @media (prefers-color-scheme: dark) {
- :root {
- #catppuccin(@darkFlavor, @accentColor);
+ @media (prefers-color-scheme: dark) {
+ #catppuccin(@darkFlavor);
}
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -84,9 +82,9 @@
nav[role="navigation"] {
.navbar-header .navbar-toggle {
- border-color: @accent-color;
+ border-color: @accent;
.icon-bar {
- background-color: @accent-color;
+ background-color: @accent;
}
}
@@ -199,7 +197,7 @@
.toggle-checkbox:checked + .toggle-switch {
background-color: @surface1;
&::before {
- background-color: @accent-color;
+ background-color: @accent;
}
}
@@ -244,18 +242,18 @@
.lb-follow-button.block,
.pill.secondary.active {
color: @crust;
- background-color: @accent-color;
+ background-color: @accent;
border-color: transparent;
&:hover {
color: @crust;
- background-color: darken(@accent-color, 5%);
+ background-color: darken(@accent, 5%);
}
}
.open > .dropdown-toggle.btn-info {
color: @crust;
- background-color: darken(@accent-color, 10%);
+ background-color: darken(@accent, 10%);
}
.secondary-nav > ol.breadcrumb {
@@ -353,7 +351,7 @@
&.listen-card {
.listen-thumbnail > div {
- color: @accent-color;
+ color: @accent;
background-color: @surface1;
border-top-left-radius: 7px;
border-bottom-left-radius: 7px;
@@ -369,7 +367,7 @@
color: @text;
&:hover,
&.playing {
- color: @accent-color;
+ color: @accent;
}
}
@@ -427,7 +425,7 @@
color: @text !important;
}
&:hover {
- background-color: fade(@accent-color, 30%) !important;
+ background-color: fade(@accent, 30%) !important;
}
}
}
@@ -502,9 +500,9 @@
.react-calendar__tile--hasActive,
.react-calendar__tile--active {
color: @text;
- background-color: fade(@accent-color, 40%);
+ background-color: fade(@accent, 40%);
&:enabled:hover {
- background-color: fade(@accent-color, 50%);
+ background-color: fade(@accent, 50%);
}
}
}
@@ -593,10 +591,10 @@
background-color: @surface1;
}
.rc-slider-handle {
- background-color: @accent-color;
+ background-color: @accent;
&.rc-slider-handle-dragging {
- background-color: @accent-color;
- border-color: @accent-color;
+ background-color: @accent;
+ border-color: @accent;
}
}
.rc-slider-mark-text {
@@ -613,12 +611,12 @@
#homepage-container {
@homepage-bg: linear-gradient(288deg, @peach 16.96%, @mauve 98.91%);
@flipped-blue: if(
- @lookup = latte,
+ @flavor = latte,
@catppuccin[@mocha][@blue],
@catppuccin[@latte][@blue]
);
@flipped-sky: if(
- @lookup = latte,
+ @flavor = latte,
@catppuccin[@mocha][@sky],
@catppuccin[@latte][@sky]
);
@@ -675,10 +673,10 @@
.homepage-info {
color: @text;
.create-account-button {
- background-color: @accent-color;
+ background-color: @accent;
color: @crust;
&:hover {
- background-color: darken(@accent-color, 5%);
+ background-color: darken(@accent, 5%);
}
}
}
@@ -691,7 +689,7 @@
.progress {
background-color: @surface1;
> .progress-bar {
- background-color: @accent-color;
+ background-color: @accent;
}
}
@@ -701,14 +699,14 @@
.controls > .btn-link,
.actions > a {
- color: @accent-color;
+ color: @accent;
}
.actions {
.heart-actions();
.fa-ellipsis-vertical {
- stroke: @accent-color;
+ stroke: @accent;
}
}
diff --git a/styles/lobste.rs/catppuccin.user.less b/styles/lobste.rs/catppuccin.user.less
index e8f34cbb..3250b0a9 100644
--- a/styles/lobste.rs/catppuccin.user.less
+++ b/styles/lobste.rs/catppuccin.user.less
@@ -16,58 +16,56 @@
==/UserStyle== */
@-moz-document domain("lobste.rs") {
- @media (prefers-color-scheme: dark) {
- html.color-scheme-system {
- #catppuccin(@darkFlavor, @accentColor);
+ html.color-scheme-system {
+ @media (prefers-color-scheme: light) {
+ #catppuccin(@lightFlavor);
}
- }
- @media (prefers-color-scheme: light) {
- html.color-scheme-system {
- #catppuccin(@lightFlavor, @accentColor);
+ @media (prefers-color-scheme: dark) {
+ #catppuccin(@darkFlavor);
}
}
html.color-scheme-light {
- #catppuccin(@lightFlavor, @accentColor);
+ #catppuccin(@lightFlavor);
}
html.color-scheme-dark {
- #catppuccin(@darkFlavor, @accentColor);
+ #catppuccin(@darkFlavor);
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -97,10 +95,10 @@
--color-tag-meta-bg: @surface0;
--color-tag-meta-border: @surface2;
- --color-bg-target: fade(@accent-color, 20%);
+ --color-bg-target: fade(@accent, 20%);
--color-fg-affirmative: @green;
- --color-fg-accent: @accent-color;
+ --color-fg-accent: @accent;
--color-fg-author: @blue;
--color-fg-contrast-7-5: @blue;
@@ -116,7 +114,7 @@
--color-button-bg: @mantle;
--color-button-bg-shaded: @surface0;
--color-box-border: @surface0;
- --color-box-border-focus: @accent-color;
+ --color-box-border-focus: @accent;
--color-box-bg-shaded: @mantle;
--color-mobile-story-liner-bg: @base;
@@ -139,7 +137,7 @@
#logo {
@svg: escape(
- ''
+ ''
);
background-image: url("data:image/svg+xml,@{svg}");
background-color: transparent !important;
diff --git a/styles/mastodon/catppuccin.user.less b/styles/mastodon/catppuccin.user.less
index 5f8a4112..809e6795 100644
--- a/styles/mastodon/catppuccin.user.less
+++ b/styles/mastodon/catppuccin.user.less
@@ -21,66 +21,60 @@
.theme-mastodon-light,
.skin-modern-light,
.skin-mastodon-light {
- #catppuccin(@lightFlavor, @accentColor);
+ #catppuccin(@lightFlavor);
}
.theme-contrast,
.skin-modern-dark,
.skin-contrast {
- #catppuccin(@darkFlavor, @accentColor);
+ #catppuccin(@darkFlavor);
}
- @media (prefers-color-scheme: light) {
- .theme-default,
- .theme-system,
- .skin-default,
- .skin-system {
- #catppuccin(@lightFlavor, @accentColor);
+ .theme-default,
+ .theme-system,
+ .skin-default,
+ .skin-system {
+ @media (prefers-color-scheme: light) {
+ #catppuccin(@lightFlavor);
+ }
+ @media (prefers-color-scheme: dark) {
+ #catppuccin(@darkFlavor);
}
}
- @media (prefers-color-scheme: dark) {
- .theme-default,
- .theme-system,
- .skin-default,
- .skin-system {
- #catppuccin(@darkFlavor, @accentColor);
- }
- }
+ #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];
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
-
- color-scheme: if(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -195,12 +189,12 @@
.reactions-bar__item.active .reactions-bar__item__count,
.column-header.active .column-header__icon,
.about__section__title {
- color: @accent-color;
+ color: @accent;
}
button.icon-button i.fa-retweet {
@svg: escape(
- ''
+ ''
);
background-image: url("data:image/svg+xml,@{svg}");
}
@@ -219,7 +213,7 @@
.rules-list {
color: @text;
li::before {
- background-color: @accent-color;
+ background-color: @accent;
color: @crust;
}
}
@@ -245,7 +239,7 @@
.emoji-mart-anchor-selected,
.reply-indicator__content a {
- color: @accent-color !important;
+ color: @accent !important;
}
.confirmation-modal {
@@ -267,7 +261,7 @@
&:hover,
&.active {
- background: @accent-color !important;
+ background: @accent !important;
.privacy-dropdown__option__content,
strong,
@@ -278,7 +272,7 @@
}
.privacy-dropdown.active .privacy-dropdown__value {
- background: @accent-color !important;
+ background: @accent !important;
}
.privacy-dropdown.active .privacy-dropdown__value > button,
@@ -306,7 +300,7 @@
&:hover,
&.active {
- background: @accent-color;
+ background: @accent;
> span {
color: @crust;
@@ -323,18 +317,18 @@
.pillbar-button:not([disabled]).active:focus,
.pillbar-button:not([disabled]).active:hover,
.radio-button__input.checked {
- background-color: @accent-color;
+ background-color: @accent;
}
.reactions-bar__item.active {
- background-color: rgba(@accent-color, 0.25);
+ background-color: fade(@accent, 25%);
}
.trends__item__sparkline path:last-child {
- stroke: @accent-color !important;
+ stroke: @accent !important;
}
.trends__item__sparkline path:first-child {
- fill: rgba(@accent-color, 0.25) !important;
+ fill: fade(@accent, 25%) !important;
}
.icon-button,
@@ -350,12 +344,12 @@
.text-icon-button:focus,
.text-icon-button:hover,
.public-layout .public-account-bio .account__header__fields a:hover {
- color: @accent-color;
+ color: @accent;
}
.account__domain-pill {
- color: @accent-color;
- background: fadeout(@accent-color, 80%);
+ color: @accent;
+ background: fade(@accent, 20%);
}
.drawer__header,
@@ -404,12 +398,12 @@
}
.column-header__wrapper.active {
- box-shadow: 0 1px 0 rgba(@accent-color, 0.3);
+ box-shadow: 0 1px 0 fade(@accent, 30%);
}
.column-header__wrapper.active::before {
background: radial-gradient(
ellipse,
- rgba(@accent-color, 0.23) 0,
+ fade(@accent, 23%) 0,
rgba(99, 100, 255, 0) 60%
);
}
@@ -429,8 +423,8 @@
}
.dropdown-button {
- border-color: @accent-color;
- color: @accent-color;
+ border-color: @accent;
+ color: @accent;
}
.public-layout .public-account-header__tabs__tabs .counter::after,
@@ -438,7 +432,7 @@
.react-toggle--checked .react-toggle-thumb,
.radio-button__input.checked,
.account__action-bar__tab.active {
- border-color: @accent-color;
+ border-color: @accent;
}
.account,
@@ -459,7 +453,7 @@
.poll__chart {
background: @overlay0;
&.leading {
- background: @accent-color;
+ background: @accent;
}
}
@@ -487,11 +481,11 @@
.column-link:focus,
.column-link--transparent:hover,
.column-link:hover {
- color: @accent-color;
+ color: @accent;
}
.status.collapsed .status__content::after {
- background: linear-gradient(fadeout(@base, 100), @base);
+ background: linear-gradient(fade(@base, 0%), @base);
}
.button.button-tertiary:focus,
@@ -501,14 +495,14 @@
}
.button.button-tertiary {
- border-color: @accent-color;
+ border-color: @accent;
}
.button,
.button.button-tertiary,
.button.logo-button,
.icon-with-badge__badge {
- background: @accent-color;
+ background: @accent;
color: @base;
}
@@ -527,12 +521,12 @@
.button.button-secondary {
background-color: transparent;
color: @text;
- border-color: @accent-color;
+ border-color: @accent;
}
.button.button-secondary:active,
.button.button-secondary:focus,
.button.button-secondary:hover {
- border-color: @accent-color;
+ border-color: @accent;
color: @base;
transition: 0.2s;
}
@@ -547,7 +541,7 @@
.button.logo-button:focus,
.button.logo-button:hover,
.announcements__item__unread {
- background: @accent-color;
+ background: @accent;
}
select {
@@ -705,7 +699,7 @@
.simple_form input[type="url"]:focus,
.simple_form textarea:active,
.simple_form textarea:focus {
- border-color: @accent-color !important;
+ border-color: @accent !important;
background: @mantle !important;
color: @text !important;
}
@@ -713,7 +707,7 @@
.table > thead > tr > th,
.setting-text:active,
.setting-text:focus {
- border-color: @accent-color !important;
+ border-color: @accent !important;
}
.batch-table__toolbar,
@@ -730,7 +724,7 @@
.simple_form input[type="url"]:hover,
.simple_form textarea:hover {
background: @mantle !important;
- border-color: @accent-color !important;
+ border-color: @accent !important;
transition: 0.4s;
}
@@ -773,7 +767,7 @@
color: @text;
&:hover {
- color: @accent-color;
+ color: @accent;
}
}
diff --git a/styles/mdbook/catppuccin.user.less b/styles/mdbook/catppuccin.user.less
index b968a089..5bea2f49 100644
--- a/styles/mdbook/catppuccin.user.less
+++ b/styles/mdbook/catppuccin.user.less
@@ -20,45 +20,43 @@
domain("rust-book.cs.brown.edu") {
@import url("https://unpkg.com/@catppuccin/highlightjs@1.0.0/css/catppuccin-variables.css");
- @media (prefers-color-scheme: light) {
- :root {
- #catppuccin(@lightFlavor, @accentColor);
+ :root {
+ @media (prefers-color-scheme: light) {
+ #catppuccin(@lightFlavor);
}
- }
- @media (prefers-color-scheme: dark) {
- :root {
- #catppuccin(@darkFlavor, @accentColor);
+ @media (prefers-color-scheme: dark) {
+ #catppuccin(@darkFlavor);
}
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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;
@@ -87,10 +85,10 @@
--ctp-mantle: @mantle;
--ctp-crust: @crust;
- color-scheme: if(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
diff --git a/styles/mdn/catppuccin.user.less b/styles/mdn/catppuccin.user.less
index 92476396..3a257b39 100644
--- a/styles/mdn/catppuccin.user.less
+++ b/styles/mdn/catppuccin.user.less
@@ -15,39 +15,39 @@
@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== */
-#catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+#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(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -60,20 +60,20 @@
--text-primary: @text;
--text-secondary: @subtext0;
--text-active: @overlay1;
- --text-inactive: fadeout(@subtext0, 40%);
- --text-link: @accent-color;
- --text-visited: lighten(saturate(@accent-color, -20%), -20%);
+ --text-inactive: fade(@subtext0, 60%);
+ --text-link: @accent;
+ --text-visited: lighten(saturate(@accent, -20%), -20%);
--text-invert: @base;
--background-primary: @base;
--background-secondary: @crust;
--background-tertiary: @mantle;
--background-toc-active: @crust;
- --background-mark-yellow: fadeout(@yellow, 60%);
- --background-mark-green: fadeout(@green, 60%);
- --background-information: fadeout(@blue, 90%);
- --background-warning: fadeout(@maroon, 90%);
- --background-critical: fadeout(@red, 90%);
- --background-success: fadeout(@green, 90%);
+ --background-mark-yellow: fade(@yellow, 40%);
+ --background-mark-green: fade(@green, 40%);
+ --background-information: fade(@blue, 10%);
+ --background-warning: fade(@maroon, 10%);
+ --background-critical: fade(@red, 10%);
+ --background-success: fade(@green, 10%);
--border-primary: @surface2;
--border-secondary: @surface1;
--button-primary-default: @text;
@@ -93,13 +93,13 @@
--icon-warning: @peach;
--icon-critical: @maroon;
--icon-success: @green;
- --accent-primary: @accent-color;
- --accent-primary-engage: fadeout(@accent-color, 90%);
- --accent-secondary: @accent-color;
- --accent-tertiary: fadeout(saturate(@accent-color, 10%), 90%);
- --shadow-01: 0 1px 2px fadeout(@text, 80%);
- --shadow-02: 0 1px 6px fadeout(@text, 80%);
- --focus-01: 0 0 0 3px fadeout(@text, 50%);
+ --accent-primary: @accent;
+ --accent-primary-engage: fade(@accent, 10%);
+ --accent-secondary: @accent;
+ --accent-tertiary: fade(saturate(@accent, 10%), 10%);
+ --shadow-01: 0 1px 2px fade(@text, 20%);
+ --shadow-02: 0 1px 6px fade(@text, 20%);
+ --focus-01: 0 0 0 3px fade(@text, 50%);
--field-focus-border: @text;
--code-token-tag: @mauve;
--code-token-punctuation: @overlay2;
@@ -119,7 +119,7 @@
--scrollbar-bg: transparent;
--scrollbar-color: hsla(0, 0%, 100%, 0.25);
--category-color: @sky;
- --category-color-background: fadeout(@sky, 60%);
+ --category-color-background: fade(@sky, 40%);
--code-color: lighten(@sky, 10%);
--mark-color: darken(@sky, 30%);
--plus-accent-color: @maroon;
@@ -143,22 +143,22 @@
--http-mark-color: darken(@green, 30%);
--apis-mark-color: darken(@mauve, 30%);
--learn-mark-color: darken(@pink, 30%);
- --plus-accent-background-color: fadeout(@maroon, 70%);
- --html-accent-background-color: fadeout(@red, 70%);
- --css-accent-background-color: fadeout(@sapphire, 70%);
- --js-accent-background-color: fadeout(@yellow, 70%);
- --http-accent-background-color: fadeout(@green, 70%);
- --apis-accent-background-color: fadeout(@mauve, 70%);
- --learn-accent-background-color: fadeout(@pink, 70%);
- --plus-accent-engage: fadeout(@maroon, 30%);
- --html-accent-engage: fadeout(@red, 30%);
- --css-accent-engage: fadeout(@sapphire, 30%);
- --js-accent-engage: fadeout(@yellow, 30%);
- --http-accent-engage: fadeout(@green, 30%);
- --apis-accent-engage: fadeout(@mauve, 30%);
- --learn-accent-engage: fadeout(@pink, 30%);
- --modal-backdrop-color: fadeout(@mantle, 30%);
- --selection-background-color: fadeout(@surface2, 40%);
+ --plus-accent-background-color: fade(@maroon, 30%);
+ --html-accent-background-color: fade(@red, 30%);
+ --css-accent-background-color: fade(@sapphire, 30%);
+ --js-accent-background-color: fade(@yellow, 30%);
+ --http-accent-background-color: fade(@green, 30%);
+ --apis-accent-background-color: fade(@mauve, 30%);
+ --learn-accent-background-color: fade(@pink, 30%);
+ --plus-accent-engage: fade(@maroon, 70%);
+ --html-accent-engage: fade(@red, 70%);
+ --css-accent-engage: fade(@sapphire, 70%);
+ --js-accent-engage: fade(@yellow, 70%);
+ --http-accent-engage: fade(@green, 70%);
+ --apis-accent-engage: fade(@mauve, 70%);
+ --learn-accent-engage: fade(@pink, 70%);
+ --modal-backdrop-color: fade(@mantle, 70%);
+ --selection-background-color: fade(@surface2, 60%);
--text-primary-red: @red;
--text-primary-green: @green;
--text-primary-blue: @blue;
@@ -179,7 +179,7 @@
--form-limit-color-emphasis: @overlay1;
--form-invalid-color: @red;
--form-invalid-focus-color: @flamingo;
- --form-invalid-focus-effect-color: fadeout(@flamingo, 80%);
+ --form-invalid-focus-effect-color: fade(@flamingo, 20%);
--baseline-high-bg: hsl(
hue(@green),
saturation(@green),
@@ -208,23 +208,20 @@
@-moz-document domain("developer.mozilla.org") {
.light {
- #catppuccin(@lightFlavor, @accentColor);
+ #catppuccin(@lightFlavor);
}
.dark {
- #catppuccin(@darkFlavor, @accentColor);
+ #catppuccin(@darkFlavor);
}
/* stylelint-disable selector-not-notation */
- @media (prefers-color-scheme: light) {
- :root:not(.light):not(.dark) {
- #catppuccin(@lightFlavor, @accentColor);
+ :root:not(.light):not(.dark) {
+ @media (prefers-color-scheme: light) {
+ #catppuccin(@lightFlavor);
}
- }
-
- @media (prefers-color-scheme: dark) {
- :root:not(.light):not(.dark) {
- #catppuccin(@darkFlavor, @accentColor);
+ @media (prefers-color-scheme: dark) {
+ #catppuccin(@darkFlavor);
}
}
/* stylelint-enable selector-not-notation */
@@ -232,21 +229,18 @@
@-moz-document domain("interactive-examples.mdn.mozilla.net") {
.theme-light {
- #catppuccin(@lightFlavor, @accentColor);
+ #catppuccin(@lightFlavor);
}
.theme-dark {
- #catppuccin(@darkFlavor, @accentColor);
+ #catppuccin(@darkFlavor);
}
- @media (prefers-color-scheme: light) {
- :root {
- #catppuccin(@lightFlavor, @accentColor);
+ :root {
+ @media (prefers-color-scheme: light) {
+ #catppuccin(@lightFlavor);
}
- }
-
- @media (prefers-color-scheme: dark) {
- :root {
- #catppuccin(@darkFlavor, @accentColor);
+ @media (prefers-color-scheme: dark) {
+ #catppuccin(@darkFlavor);
}
}
}
diff --git a/styles/microsoft-word/catppuccin.user.less b/styles/microsoft-word/catppuccin.user.less
index 5dceb875..565049f8 100644
--- a/styles/microsoft-word/catppuccin.user.less
+++ b/styles/microsoft-word/catppuccin.user.less
@@ -16,39 +16,45 @@
==/UserStyle== */
@-moz-document domain("live.com") {
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #catppuccin(@lightFlavor);
- color-scheme: if(@lookup = latte, light, dark);
+ .UxDarkMode {
+ #catppuccin(@darkFlavor);
+ }
+
+ #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-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -62,7 +68,7 @@
.fui-FluentProvider86,
.fui-FluentProvider102 {
--colorNeutralStroke1: @surface1;
- --colorBrandForeground1: @accent-color;
+ --colorBrandForeground1: @accent;
--colorNeutralForeground1: @text;
--colorNeutralBackground1: @surface0;
--colorNeutralForeground2: @text;
@@ -116,7 +122,7 @@
}
#ShareMenu {
- background-color: @accent-color;
+ background-color: @accent;
color: @base;
}
@@ -216,7 +222,7 @@
> div:nth-child(2)
> div:nth-child(1) {
> div:nth-child(1) > span:nth-child(1) {
- background: @accent-color !important;
+ background: @accent !important;
}
}
div:nth-child(1) {
@@ -252,7 +258,7 @@
> div:nth-child(2) {
background-color: @surface2 !important;
> div:nth-child(1) {
- background: @accent-color;
+ background: @accent;
}
}
}
@@ -262,7 +268,7 @@
color: @text;
}
> span:nth-child(2) {
- color: @accent-color;
+ color: @accent;
}
> span:nth-child(3) {
color: @text;
@@ -282,20 +288,20 @@
}
}
> a:nth-child(2) {
- color: @accent-color;
+ color: @accent;
}
}
#allAppsLink {
- color: @accent-color;
+ color: @accent;
}
#ProgressCardScore {
> div:nth-child(1) {
- color: @accent-color;
+ color: @accent;
}
> div:nth-child(2) {
- color: @accent-color;
+ color: @accent;
}
}
@@ -388,7 +394,7 @@
path.OfficeIconColors_m25,
path.OfficeIconColors_m26,
path.OfficeIconColors_m2262 {
- fill: @accent-color;
+ fill: @accent;
}
path.OfficeIconColors_m27 {
fill: @green;
@@ -423,11 +429,6 @@
}
}
}
-
- .UxDarkMode {
- #catppuccin(@darkFlavor, @accentColor);
- }
- #catppuccin(@lightFlavor, @accentColor);
}
/* deno-fmt-ignore */
diff --git a/styles/migadu-webmail/catppuccin.user.less b/styles/migadu-webmail/catppuccin.user.less
index e29fe203..e8388eb2 100644
--- a/styles/migadu-webmail/catppuccin.user.less
+++ b/styles/migadu-webmail/catppuccin.user.less
@@ -18,52 +18,50 @@
==/UserStyle== */
@-moz-document domain("webmail.migadu.com") {
- @media (prefers-color-scheme: light) {
- :root {
- #catppuccin(@lightFlavor, @accentColor);
+ :root {
+ @media (prefers-color-scheme: light) {
+ #catppuccin(@lightFlavor);
}
- }
- @media (prefers-color-scheme: dark) {
- :root {
- #catppuccin(@darkFlavor, @accentColor);
+ @media (prefers-color-scheme: dark) {
+ #catppuccin(@darkFlavor);
}
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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];
@orange: mix(@peach, @yellow);
- color-scheme: if(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -432,16 +430,16 @@
}
&.checked {
- border-left-color: lighten(@accent-color, 10%);
+ border-left-color: lighten(@accent, 10%);
}
&.checked.focused,
&.selected {
- border-left-color: @accent-color;
+ border-left-color: @accent;
}
&.selected {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
}
diff --git a/styles/minesweeper/catppuccin.user.less b/styles/minesweeper/catppuccin.user.less
index a6e8058f..e15a7a34 100644
--- a/styles/minesweeper/catppuccin.user.less
+++ b/styles/minesweeper/catppuccin.user.less
@@ -16,50 +16,48 @@
==/UserStyle== */
@-moz-document domain("minesweeper.online") {
- @media (prefers-color-scheme: light) {
- :root {
- #catppuccin(@lightFlavor, @accentColor);
+ :root {
+ @media (prefers-color-scheme: light) {
+ #catppuccin(@lightFlavor);
}
- }
- @media (prefers-color-scheme: dark) {
- :root {
- #catppuccin(@darkFlavor, @accentColor);
+ @media (prefers-color-scheme: dark) {
+ #catppuccin(@darkFlavor);
}
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -137,13 +135,13 @@
a.homepage-level.active,
a.homepage-level:focus,
a.homepage-level:hover {
- border-color: @accent-color;
+ border-color: @accent;
}
a,
a:hover,
.text-primary {
- color: @accent-color;
+ color: @accent;
}
.text-success,
@@ -291,8 +289,8 @@
.btn-primary:hover,
.btn-primary:active:hover,
.btn-primary:active {
- border-color: @accent-color;
- background-color: @accent-color;
+ border-color: @accent;
+ background-color: @accent;
color: @mantle;
}
@@ -388,7 +386,7 @@
.pagination > li > span {
background-color: @mantle;
border-color: @surface0 !important;
- color: @accent-color;
+ color: @accent;
}
.pagination > .disabled > a {
@@ -399,7 +397,7 @@
.pagination > li > a:hover {
background-color: @base;
- color: @accent-color;
+ color: @accent;
}
.pagination-sm > li:first-child > a,
@@ -411,7 +409,7 @@
.pagination > .active > a,
.pagination > .active > a:hover {
- background-color: @accent-color;
+ background-color: @accent;
color: @mantle;
}
diff --git a/styles/modrinth/catppuccin.user.less b/styles/modrinth/catppuccin.user.less
index b2e7fa4f..46cec84a 100644
--- a/styles/modrinth/catppuccin.user.less
+++ b/styles/modrinth/catppuccin.user.less
@@ -17,49 +17,49 @@
@-moz-document domain("modrinth.com") {
.light-mode {
- #catppuccin(@lightFlavor, @accentColor);
+ #catppuccin(@lightFlavor);
}
.dark-mode,
.oled-mode {
- #catppuccin(@darkFlavor, @accentColor);
+ #catppuccin(@darkFlavor);
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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];
- @shadow: if(@lookup = latte, #dbdfef, #010409);
+ @shadow: if(@flavor = latte, #dbdfef, #010409);
- color-scheme: if(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -68,6 +68,7 @@
color: @subtext0 !important;
}
}
+
* {
--text-color: @text;
--color-base: @text;
@@ -76,7 +77,7 @@
--color-ad-raised: @surface2;
--color-ad: @surface1;
--color-ad-highlight: @teal;
- --color-brand: @accent-color;
+ --color-brand: @accent;
--color-brand-green: @green;
--color-button-bg-active: @overlay0;
--color-button-bg-hover: @surface1;
@@ -110,7 +111,7 @@
--color-table-border: @overlay0;
--color-contrast: @text;
--color-accent-contrast: @mantle;
- --color-brand-shadow: @accent-color;
+ --color-brand-shadow: @accent;
--color-warning-banner-side: @red;
--color-warning-banner-bg: fade(@red, 10%);
--color-warning-banner-text: @text;
@@ -131,8 +132,8 @@
--color-button-border: fade(@crust, 20%);
--color-tooltip-bg: @surface1;
--color-tooltip-text: @subtext1;
- --landing-green-label: @accent-color;
- --landing-green-label-bg: fade(@accent-color, 10%);
+ --landing-green-label: @accent;
+ --landing-green-label-bg: fade(@accent, 10%);
--landing-blue-label: @blue;
--landing-color-heading: @text;
--landing-color-subheading: @subtext0;
@@ -149,12 +150,12 @@
.blob-demonstration::after {
background: linear-gradient(
0deg,
- fade(@accent-color, 20%),
+ fade(@accent, 20%),
fade(@base, 10%)
) !important;
}
.logo-banner path {
- fill: @accent-color !important;
+ fill: @accent !important;
}
.logo-banner > svg > g > rect {
display: none;
@@ -163,12 +164,12 @@
[tabindex="0"]:focus-visible,
a:focus-visible,
button:focus-visible {
- outline-color: @accent-color;
+ outline-color: @accent;
}
.BDVE3s9MFQttmbMUeYup-2 a b,
.BDVE3s9MFQttmbMUeYup-2 a strong {
- color: @accent-color;
+ color: @accent;
}
// dropdown icon
@@ -184,7 +185,7 @@
}
}
.nuxt-loading-indicator {
- background: @accent-color !important;
+ background: @accent !important;
}
}
}
diff --git a/styles/namemc/catppuccin.user.less b/styles/namemc/catppuccin.user.less
index 4061df05..d6620b01 100644
--- a/styles/namemc/catppuccin.user.less
+++ b/styles/namemc/catppuccin.user.less
@@ -17,45 +17,45 @@
@-moz-document domain("namemc.com") {
:root[data-bs-theme="dark"] {
- #catppuccin(@darkFlavor, @accentColor);
+ #catppuccin(@darkFlavor);
}
:root[data-bs-theme="light"] {
- #catppuccin(@lightFlavor, @accentColor);
+ #catppuccin(@lightFlavor);
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -119,8 +119,8 @@
--bs-tertiary-bg-rgb: #rgbify(@base)[];
--bs-secondary-text-emphasis: @subtext0;
--bs-success-text-emphasis: @green;
- --bs-primary: @accent-color;
- --bs-primary-rgb: #rgbify(@accent-color)[];
+ --bs-primary: @accent;
+ --bs-primary-rgb: #rgbify(@accent)[];
--bs-secondary: @subtext0;
--bs-secondary-rgb: #rgbify(@subtext0)[];
--bs-success: @green;
@@ -146,18 +146,18 @@
--bs-info-border-subtle: @sky;
--bs-warning-border-subtle: @yellow;
--bs-danger-border-subtle: @red;
- --bs-link-color: @accent-color;
- --bs-link-color-rgb: #rgbify(@accent-color)[];
- --bs-code-color: @accent-color;
+ --bs-link-color: @accent;
+ --bs-link-color-rgb: #rgbify(@accent)[];
+ --bs-code-color: @accent;
--bs-highlight-bg: @base;
--bs-form-valid-color: @green;
- --bs-focus-ring-color: @accent-color;
+ --bs-focus-ring-color: @accent;
--bs-form-valid-border-color: @green;
--bs-form-invalid-color: @red;
--bs-form-invalid-border-color: @red;
.btn-primary {
- #bsButton(@crust, @accent-color);
+ #bsButton(@crust, @accent);
}
.btn-secondary {
#bsButton(@text, @overlay0);
@@ -182,7 +182,7 @@
}
.btn-outline-primary {
- #bsButtonOutline(@accent-color, @text);
+ #bsButtonOutline(@accent, @text);
}
.btn-outline-secondary {
#bsButtonOutline(@overlay0, @text);
@@ -229,7 +229,7 @@
background-color: @surface0 !important;
&:focus {
- border-color: @accent-color;
+ border-color: @accent;
box-shadow: none;
}
}
@@ -268,12 +268,12 @@
color: @text;
&:hover {
- color: @accent-color !important;
+ color: @accent !important;
}
}
strong a {
- color: @accent-color !important;
+ color: @accent !important;
}
}
@@ -293,7 +293,7 @@
color: @text !important;
}
.nav-link.active {
- background-color: @accent-color !important;
+ background-color: @accent !important;
color: @crust !important;
}
}
@@ -304,26 +304,26 @@
color: @text;
&.active {
- background-color: @accent-color !important;
+ background-color: @accent !important;
}
&:focus,
&:hover {
box-shadow: none !important;
- color: @accent-color !important;
+ color: @accent !important;
}
}
.page-item.active .page-link {
- background-color: @accent-color !important;
- border-color: @accent-color !important;
+ background-color: @accent !important;
+ border-color: @accent !important;
color: @crust !important;
}
/* single skin page */
a.badge,
span.badge {
- background-color: @accent-color !important;
+ background-color: @accent !important;
color: @crust !important;
}
@@ -353,8 +353,8 @@
color: @subtext1 !important;
&:focus {
- border-color: @accent-color !important;
- box-shadow: 0 0 0 0.25rem fade(@accent-color, 25%);
+ border-color: @accent !important;
+ box-shadow: 0 0 0 0.25rem fade(@accent, 25%);
}
}
@@ -411,7 +411,7 @@
}
.card.mb-3 .card-header a {
- color: @accent-color !important;
+ color: @accent !important;
}
.skin-button-selected {
@@ -431,7 +431,7 @@
background-color: @base !important;
&:focus {
- border-color: @accent-color !important;
+ border-color: @accent !important;
box-shadow: none !important;
}
}
@@ -476,7 +476,7 @@
}
}
- & when (@lookup = latte) {
+ & when (@flavor = latte) {
--bs-black: @text;
--bs-black-rgb: #rgbify(@text)[];
--bs-white: @crust;
@@ -505,8 +505,8 @@
--bs-primary-border-subtle: @surface2;
--bs-light-border-subtle: @mantle;
--bs-dark-border-subtle: @surface2;
- --bs-link-hover-color: @accent-color;
- --bs-link-hover-color-rgb: #rgbify(@accent-color)[];
+ --bs-link-hover-color: @accent;
+ --bs-link-hover-color-rgb: #rgbify(@accent)[];
--bs-border-color: @crust;
.mc-black {
@@ -524,7 +524,7 @@
}
}
- & when not(@lookup = latte) {
+ & when not(@flavor = latte) {
--bs-black: @crust;
--bs-white: @text;
--bs-gray: @overlay2;
diff --git a/styles/nitter/catppuccin.user.less b/styles/nitter/catppuccin.user.less
index 1b8daeca..0eb3f080 100644
--- a/styles/nitter/catppuccin.user.less
+++ b/styles/nitter/catppuccin.user.less
@@ -53,50 +53,48 @@
domain("t.com.sb"),
domain("xcancel.com"),
domain("nitter.poast.org") {
- @media (prefers-color-scheme: light) {
- :root {
- #catppuccin(@lightFlavor, @accentColor);
+ :root {
+ @media (prefers-color-scheme: light) {
+ #catppuccin(@lightFlavor);
}
- }
- @media (prefers-color-scheme: dark) {
- :root {
- #catppuccin(@darkFlavor, @accentColor);
+ @media (prefers-color-scheme: dark) {
+ #catppuccin(@darkFlavor);
}
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -110,8 +108,8 @@
--bg_color: @mantle;
--fg_color: @text;
--fg_faded: @subtext1;
- --fg_dark: @accent-color;
- --fg_nav: @accent-color;
+ --fg_dark: @accent;
+ --fg_nav: @accent;
--bg_panel: @crust;
--bg_elements: @base;
--bg_overlays: @base;
@@ -121,18 +119,18 @@
--darker_grey: @base;
--darkest_grey: @mantle;
--border_grey: @base;
- --accent: @accent-color;
- --accent_light: lighten(@accent-color, 10%);
- --accent_dark: darken(@accent-color, 10%);
- --accent_border: darken(@accent-color, 10%);
- --play_button: @accent-color;
- --play_button_hover: @accent-color;
- --more_replies_dots: darken(@accent-color, 10%);
+ --accent: @accent;
+ --accent_light: lighten(@accent, 10%);
+ --accent_dark: darken(@accent, 10%);
+ --accent_border: darken(@accent, 10%);
+ --play_button: @accent;
+ --play_button_hover: @accent;
+ --more_replies_dots: darken(@accent, 10%);
--error_red: @red;
--verified_blue: @blue;
--icon_text: @text;
--tab: @text;
- --tab_selected: @accent-color;
+ --tab_selected: @accent;
--profile_stat: @text;
--verified_government: @subtext0;
--verified_business: @yellow;
@@ -145,7 +143,7 @@
/* logo */
img.site-logo {
@svg: escape(
- ''
+ ''
);
content: url("data:image/svg+xml,@{svg}");
}
@@ -162,11 +160,11 @@
h2,
p,
#status {
- color: @accent-color !important;
+ color: @accent !important;
}
[style="width:auto;margin:16px auto;border:1px solid #FF6C60;background-color:#1f1f1f;border-radius:3px 3px 3px 3px;padding:10px;"] {
background: @base !important;
- border-color: @accent-color !important;
+ border-color: @accent !important;
}
}
diff --git a/styles/nixos-manual/catppuccin.user.less b/styles/nixos-manual/catppuccin.user.less
index 40e80346..ef7d6e76 100644
--- a/styles/nixos-manual/catppuccin.user.less
+++ b/styles/nixos-manual/catppuccin.user.less
@@ -19,45 +19,43 @@
url-prefix("https://daiderd.com/nix-darwin/manual/") {
@import url("https://unpkg.com/@catppuccin/highlightjs@1.0.0/css/catppuccin-variables.important.css");
- @media (prefers-color-scheme: light) {
- :root {
- #catppuccin(@lightFlavor, @accentColor);
+ :root {
+ @media (prefers-color-scheme: light) {
+ #catppuccin(@lightFlavor);
}
- }
- @media (prefers-color-scheme: dark) {
- :root {
- #catppuccin(@darkFlavor, @accentColor);
+ @media (prefers-color-scheme: dark) {
+ #catppuccin(@darkFlavor);
}
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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;
@@ -86,10 +84,17 @@
--ctp-mantle: @mantle;
--ctp-crust: @crust;
- color-scheme: if(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
+ }
+
+ input,
+ textarea {
+ &::placeholder {
+ color: @subtext0 !important;
+ }
}
body {
@@ -104,18 +109,18 @@
}
a {
- border-bottom-color: @accent-color !important;
- color: @accent-color;
+ border-bottom-color: @accent !important;
+ color: @accent;
}
h1,
h2,
h3,
h4 {
- color: @accent-color;
+ color: @accent;
}
h5 {
- color: fade(@accent-color, 85%);
+ color: fade(@accent, 85%);
}
hr,
@@ -187,7 +192,7 @@
color: @text !important;
}
a {
- color: @accent-color !important;
+ color: @accent !important;
}
}
}
diff --git a/styles/nixos-search/catppuccin.user.less b/styles/nixos-search/catppuccin.user.less
index 2b197a4a..d77ef21e 100644
--- a/styles/nixos-search/catppuccin.user.less
+++ b/styles/nixos-search/catppuccin.user.less
@@ -16,51 +16,48 @@
==/UserStyle== */
@-moz-document domain("search.nixos.org") {
- @media (prefers-color-scheme: light) {
- :root {
- #catppuccin(@lightFlavor, @accentColor);
+ :root {
+ @media (prefers-color-scheme: light) {
+ #catppuccin(@lightFlavor);
+ }
+ @media (prefers-color-scheme: dark) {
+ #catppuccin(@darkFlavor);
}
}
- @media (prefers-color-scheme: dark) {
- :root {
- #catppuccin(@darkFlavor, @accentColor);
- }
- }
+ #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];
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
-
- color-scheme: if(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -71,7 +68,7 @@
}
--background-color: @base;
- --badge-background: @accent-color;
+ --badge-background: @accent;
--button-active-background: @surface1;
--button-active-hover-background: @surface2;
--button-background: @surface0;
@@ -81,16 +78,16 @@
--color-hover-tab: @surface1;
--headerbar-background-color: @mantle;
--hover-background: @surface0;
- --link-color: @accent-color;
- --info-label-background: @accent-color;
- --dark-blue: @accent-color;
- --light-blue: @accent-color; // used by focus outline
+ --link-color: @accent;
+ --info-label-background: @accent;
+ --dark-blue: @accent;
+ --light-blue: @accent; // used by focus outline
--line-color: @surface0;
--search-result-short-details-color: @subtext1;
--search-result-divider-line-color: @surface0;
- --search-result-title-color: @accent-color;
+ --search-result-title-color: @accent;
--search-sidebar-link-color: @text;
- --search-sidebar-selected-link-background: @accent-color;
+ --search-sidebar-selected-link-background: @accent;
--search-sidebar-selected-link-color: @crust;
--terminal-background: @surface0;
--terminal-color: @red;
diff --git a/styles/npm/catppuccin.user.less b/styles/npm/catppuccin.user.less
index a9e08508..dab4c063 100644
--- a/styles/npm/catppuccin.user.less
+++ b/styles/npm/catppuccin.user.less
@@ -16,53 +16,50 @@
==/UserStyle== */
@-moz-document domain("www.npmjs.com") {
- @media (prefers-color-scheme: light) {
- :root {
- #catppuccin(@lightFlavor, @accentColor);
+ :root {
+ @media (prefers-color-scheme: light) {
+ #catppuccin(@lightFlavor);
}
- }
- @media (prefers-color-scheme: dark) {
- :root {
- #catppuccin(@darkFlavor, @accentColor);
+ @media (prefers-color-scheme: dark) {
+ #catppuccin(@darkFlavor);
}
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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[@@lookup][@red_filter];
+ @red-filter: @catppuccin-filters[@@flavor][@red];
- color-scheme: if(@lookup = latte, light, dark);
- accent-color: @accent-color;
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -70,7 +67,7 @@
background-color: transparent;
&:focus {
- box-shadow: 0 0 0 2px @accent-color;
+ box-shadow: 0 0 0 2px @accent;
}
&::placeholder {
@@ -78,13 +75,15 @@
}
}
+ accent-color: @accent;
+
@npmGradient: linear-gradient(139deg, @peach, @maroon, @red, @pink);
--color-fg-default: @text;
--color-fg-muted: @subtext1;
--color-fg-subtle: @subtext0;
--color-fg-on-emphasis: @base;
- --color-fg-brand: @accent-color;
+ --color-fg-brand: @accent;
--color-fg-accent: @blue;
--color-fg-success: @green;
--color-fg-attention: @yellow;
@@ -150,7 +149,7 @@
/* Top loading bar */
div.fixed.top-0.left-0.z-999 {
- background-color: @accent-color;
+ background-color: @accent;
}
/* Magnifying glass icon (search box, discover packages) */
@@ -171,7 +170,7 @@
/* --- HEADER --- */
[data-test-id="notification-banner"] {
background-color: if(
- @lookup = latte,
+ @flavor = latte,
desaturate(lighten(@green, 30%), 5%),
desaturate(darken(@green, 5%), 5%)
);
@@ -179,7 +178,7 @@
#notification,
button[aria-label="Close notification"] {
- color: if(@lookup = latte, @text, @base);
+ color: if(@flavor = latte, @text, @base);
}
}
header {
@@ -291,9 +290,9 @@
/* Red "Add Organization" button */
&[href="/org/create"] {
border-color: @surface0;
- color: @accent-color;
+ color: @accent;
svg {
- fill: @accent-color;
+ fill: @accent;
}
}
}
@@ -332,7 +331,7 @@
/* Popular libraries section */
#popular-libraries-header + hr {
- border-color: @accent-color;
+ border-color: @accent;
}
ul[aria-labelledby="popular-libraries-header"] {
li a {
@@ -382,7 +381,7 @@
/* Recently updated packages section */
#recently-updated-packages-header + hr {
- border-color: @accent-color;
+ border-color: @accent;
}
/* --- PACKAGE PAGES --- */
@@ -473,11 +472,11 @@
}
/* Weekly downloads chart */
div:has(> svg > [class^="sparkline--"]) {
- border-bottom-color: fade(@accent-color, 20%);
+ border-bottom-color: fade(@accent, 20%);
svg {
- stroke: @accent-color;
- fill: fade(@accent-color, 20%);
+ stroke: @accent;
+ fill: fade(@accent, 20%);
}
}
@@ -645,7 +644,7 @@
#tabpanel-readme #readme {
color: @text;
a {
- color: @accent-color;
+ color: @accent;
}
h1,
h2,
@@ -728,7 +727,7 @@
color: @text;
+ ul a {
- color: @accent-color;
+ color: @accent;
&:hover {
color: @text;
@@ -826,8 +825,8 @@
}
}
._305a9f55 ._038c0473 {
- border-color: @accent-color;
- background-color: fade(@accent-color, 20%);
+ border-color: @accent;
+ background-color: fade(@accent, 20%);
}
button[aria-label^="Delete token ending in"] {
._305a9f55 ._038c0473 & {
@@ -918,7 +917,7 @@
.bg-washed-green {
background-color: fade(
lighten(@teal, 10%),
- if(@lookup = latte, 50%, 100%)
+ if(@flavor = latte, 50%, 100%)
);
}
.b--light-green {
@@ -936,7 +935,7 @@
}
.npm-red {
- color: @accent-color;
+ color: @accent;
}
.a11y-light-gray,
@@ -1007,7 +1006,7 @@
/* Danger */
&._4a3f8f21 {
- & when (@lookup = latte) {
+ & when (@flavor = latte) {
background-color: lighten(@red, 30%);
&:hover {
@@ -1015,7 +1014,7 @@
}
}
- & when not(@lookup = latte) {
+ & when not(@flavor = latte) {
background-color: @red;
color: @surface1;
@@ -1027,7 +1026,7 @@
/* Success */
&.c37751f6 {
- & when (@lookup = latte) {
+ & when (@flavor = latte) {
background-color: lighten(@green, 30%);
&:hover {
@@ -1035,7 +1034,7 @@
}
}
- & when not(@lookup = latte) {
+ & when not(@flavor = latte) {
background-color: @green;
color: @surface1;
@@ -1106,12 +1105,12 @@
}
#pkg-list-exact-match {
color: @base;
- background-color: @accent-color;
+ background-color: @accent;
}
/* Username links */
a[aria-label^="publisher"]:hover {
- color: @accent-color;
+ color: @accent;
}
/* --- FOOTER --- */
@@ -1121,7 +1120,7 @@
color: @text;
}
ul a:hover {
- color: @accent-color;
+ color: @accent;
}
a[href="https://github.com/npm"] svg {
> polygon {
@@ -1149,16 +1148,16 @@
--color-prettylights-syntax-string: @green;
--color-prettylights-syntax-variable: @peach;
--color-prettylights-syntax-invalid-illegal-text: @red;
- --color-prettylights-syntax-invalid-illegal-bg: fadeout(@red, 85%);
+ --color-prettylights-syntax-invalid-illegal-bg: fade(@red, 15%);
--color-prettylights-syntax-markup-heading: @teal;
--color-prettylights-syntax-markup-italic: @yellow;
--color-prettylights-syntax-markup-bold: @yellow;
--color-prettylights-syntax-markup-deleted-text: @text;
- --color-prettylights-syntax-markup-deleted-bg: fadeout(@red, 60%);
+ --color-prettylights-syntax-markup-deleted-bg: fade(@red, 40%);
--color-prettylights-syntax-markup-inserted-text: @text;
- --color-prettylights-syntax-markup-inserted-bg: fadeout(@green, 60%);
+ --color-prettylights-syntax-markup-inserted-bg: fade(@green, 40%);
--color-prettylights-syntax-markup-changed-text: @text;
- --color-prettylights-syntax-markup-changed-bg: fadeout(@yellow, 60%);
+ --color-prettylights-syntax-markup-changed-bg: fade(@yellow, 40%);
--color-prettylights-syntax-markup-ignored-text: @text;
/* stylelint-disable declaration-block-single-line-max-declarations */
@@ -1175,3 +1174,11 @@
@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 03c4351a..ab086ce5 100644
--- a/styles/ollama/catppuccin.user.less
+++ b/styles/ollama/catppuccin.user.less
@@ -18,47 +18,45 @@
@-moz-document domain("ollama.com") {
@import url("https://unpkg.com/@catppuccin/highlightjs@1.0.0/css/catppuccin-variables.css");
- @media (prefers-color-scheme: light) {
- :root {
- #catppuccin(@lightFlavor, @accentColor);
+ :root {
+ @media (prefers-color-scheme: light) {
+ #catppuccin(@lightFlavor);
}
- }
- @media (prefers-color-scheme: dark) {
- :root {
- #catppuccin(@darkFlavor, @accentColor);
+ @media (prefers-color-scheme: dark) {
+ #catppuccin(@darkFlavor);
}
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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[@@lookup][@text-filter];
+ @text-filter: @catppuccin-filters[@@flavor][@text];
--ctp-rosewater: @rosewater;
--ctp-flamingo: @flamingo;
@@ -87,10 +85,10 @@
--ctp-mantle: @mantle;
--ctp-crust: @crust;
- color-scheme: if(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -165,7 +163,7 @@
.prose {
--tw-prose-headings: @text;
- --tw-prose-links: @accent-color;
+ --tw-prose-links: @accent;
}
.text-white,
@@ -198,7 +196,7 @@
}
.text-blue-500,
.text-blue-600 {
- color: @accent-color;
+ color: @accent;
}
/* Models page, color for non-weight pills/tags. Background color is solid from `.bg-indigo-50`. */
.text-indigo-600 {
@@ -234,14 +232,14 @@
background-color: fade(@yellow, 10%);
}
.bg-indigo-50 {
- background-color: @accent-color;
+ background-color: @accent;
}
.bg-\[\#ddf4ff\] {
- background-color: fade(@accent-color, 10%);
+ background-color: fade(@accent, 10%);
}
.border {
- border-color: @accent-color;
+ border-color: @accent;
}
.border-neutral-200,
.border-neutral-300,
@@ -250,7 +248,7 @@
border-color: @surface1;
}
.focus\:border-blue-400:focus {
- border-color: @accent-color;
+ border-color: @accent;
}
.focus\:border-red-400:focus {
border-color: @red;
@@ -268,7 +266,7 @@
select:focus,
.ring-blue-300,
.focus\:ring-blue-300:focus {
- --tw-ring-color: rgba(#rgbify(@accent-color)[], var(--tw-ring-opacity));
+ --tw-ring-color: rgba(#rgbify(@accent)[], var(--tw-ring-opacity));
}
.focus\:ring-red-300:focus {
--tw-ring-color: rgba(#rgbify(@red)[], var(--tw-ring-opacity));
@@ -287,3 +285,11 @@
@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 f57e1d0e..4cfe5568 100644
--- a/styles/openmediavault/catppuccin.user.less
+++ b/styles/openmediavault/catppuccin.user.less
@@ -16,50 +16,48 @@
==/UserStyle== */
@-moz-document domain("openmediavault.example.com") {
- @media (prefers-color-scheme: light) {
- :root {
- #catppuccin(@lightFlavor, @accentColor);
+ :root {
+ @media (prefers-color-scheme: light) {
+ #catppuccin(@lightFlavor);
}
- }
- @media (prefers-color-scheme: dark) {
- :root {
- #catppuccin(@darkFlavor, @accentColor);
+ @media (prefers-color-scheme: dark) {
+ #catppuccin(@darkFlavor);
}
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -74,15 +72,15 @@
--mat-color-secondary-text: @subtext0;
--mat-color-disabled-text: @red;
--mat-color-hint-text: @blue;
- --mat-background-color-hover: @accent-color;
- --mat-background-color-selected-button: @accent-color;
+ --mat-background-color-hover: @accent;
+ --mat-background-color-selected-button: @accent;
--mat-background-color-card: @crust;
--mat-background-color-background: @crust;
- --mat-primary-color-text: @accent-color;
+ --mat-primary-color-text: @accent;
--mat-background-color-body: @base;
}
.omv-dark-theme .mat-toolbar.mat-primary {
- background: @accent-color;
+ background: @accent;
color: @text;
}
.omv-dark-theme .mat-drawer-container {
@@ -113,7 +111,7 @@
}
.omv-dark-theme .mat-form-field-appearance-legacy .mat-form-field-label,
.omv-dark-theme .mat-form-field-appearance-legacy .mat-hint {
- color: @accent-color;
+ color: @accent;
}
.omv-dark-theme .mat-toolbar {
background: @crust;
@@ -138,15 +136,15 @@
.omv-scrollable-xy,
.omv-scrollable-y {
- scrollbar-color: @accent-color transparent;
- --scrollbar-thumb-color: @accent-color !important;
- --scrollbar-thumb-hover-color: @accent-color;
+ scrollbar-color: @accent transparent;
+ --scrollbar-thumb-color: @accent !important;
+ --scrollbar-thumb-hover-color: @accent;
}
.omv-dark-theme .mat-button,
.omv-dark-theme .mat-icon-button,
.omv-dark-theme .mat-stroked-button {
- color: @accent-color;
+ color: @accent;
background: inherit;
}
@@ -154,29 +152,29 @@
.omv-dark-theme .mat-pseudo-checkbox-indeterminate,
.omv-dark-theme .mat-accent .mat-pseudo-checkbox-checked,
.omv-dark-theme .mat-accent .mat-pseudo-checkbox-indeterminate {
- background: @accent-color;
+ background: @accent;
}
.omv-dark-theme
.mat-checkbox-indeterminate.mat-accent
.mat-checkbox-background,
.omv-dark-theme .mat-checkbox-checked.mat-accent .mat-checkbox-background {
- background-color: @accent-color;
+ background-color: @accent;
}
.omv-dark-theme .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb {
- background-color: @accent-color;
+ background-color: @accent;
}
.omv-dark-theme .mat-slide-toggle.mat-checked .mat-slide-toggle-bar {
- background-color: @accent-color;
+ background-color: @accent;
}
.omv-dark-theme .mat-badge-accent .mat-badge-content {
background: @crust;
- color: @accent-color;
+ color: @accent;
}
.omv-dark-theme .mat-select-panel {
- scrollbar-color: @accent-color transparent;
- --scrollbar-thumb-color: @accent-color !important;
- --scrollbar-thumb-hover-color: @accent-color !important;
+ scrollbar-color: @accent transparent;
+ --scrollbar-thumb-color: @accent !important;
+ --scrollbar-thumb-hover-color: @accent !important;
background: @crust;
}
@@ -187,7 +185,7 @@
.omv-dark-theme
.mat-primary
.mat-option.mat-selected:not(.mat-option-disabled) {
- color: @accent-color;
+ color: @accent;
}
.ngx-datatable.single-selection .datatable-body-row.active,
@@ -202,7 +200,7 @@
.ngx-datatable.multi-click-selection
.datatable-body-row.active
.datatable-row-group {
- color: @accent-color;
+ color: @accent;
background-color: @crust;
}
diff --git a/styles/paste.rs/catppuccin.user.less b/styles/paste.rs/catppuccin.user.less
index 18954013..34eec20f 100644
--- a/styles/paste.rs/catppuccin.user.less
+++ b/styles/paste.rs/catppuccin.user.less
@@ -16,50 +16,48 @@
==/UserStyle== */
@-moz-document domain("paste.rs") {
- @media (prefers-color-scheme: light) {
- :root {
- #catppuccin(@lightFlavor, @accentColor);
+ :root {
+ @media (prefers-color-scheme: light) {
+ #catppuccin(@lightFlavor);
}
- }
- @media (prefers-color-scheme: dark) {
- :root {
- #catppuccin(@darkFlavor, @accentColor);
+ @media (prefers-color-scheme: dark) {
+ #catppuccin(@darkFlavor);
}
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -75,7 +73,7 @@
}
a {
- color: @accent-color;
+ color: @accent;
}
/* Web UI */
@@ -90,7 +88,7 @@
textarea:focus,
select:focus,
input[type="submit"]:focus {
- border-color: @accent-color;
+ border-color: @accent;
outline-color: @overlay0;
}
input[type="submit"]:hover {
@@ -118,7 +116,7 @@
}
a {
- color: @accent-color;
+ color: @accent;
}
img {
diff --git a/styles/perplexity/catppuccin.user.less b/styles/perplexity/catppuccin.user.less
index 4d3cd719..7150c65a 100644
--- a/styles/perplexity/catppuccin.user.less
+++ b/styles/perplexity/catppuccin.user.less
@@ -17,46 +17,46 @@
@-moz-document domain("perplexity.ai") {
:root:not([data-color-scheme="dark"]) {
- #catppuccin(@lightFlavor, @accentColor);
+ #catppuccin(@lightFlavor);
}
:root,
:root:not([data-color-scheme="light"]) {
- #catppuccin(@darkFlavor, @accentColor);
+ #catppuccin(@darkFlavor);
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -94,7 +94,7 @@
}
.bg-background-super-alt {
- background-color: @accent-color !important;
+ background-color: @accent !important;
}
.bg-backgroundDark {
@@ -144,11 +144,11 @@
.bg-superDark,
.bg-superDark\/100,
.bg-super\/100 {
- background-color: @accent-color !important;
+ background-color: @accent !important;
}
.bg-super\/10,
.bg-superDark\/10 {
- background-color: fade(@accent-color, 10%) !important;
+ background-color: fade(@accent, 10%) !important;
}
.bg-textMain {
@@ -196,7 +196,7 @@
.text-superAlt,
.text-superDark,
.text-superDuper {
- color: @accent-color !important;
+ color: @accent !important;
}
.text-textMain {
@@ -239,7 +239,7 @@
.stroke-super,
.stroke-superAlt,
.stroke-superDark {
- stroke: @accent-color !important;
+ stroke: @accent !important;
}
.stroke-textMain {
@@ -262,7 +262,7 @@
.fill-super,
.fill-superAlt,
.fill-superDark {
- fill: @accent-color !important;
+ fill: @accent !important;
}
.fill-textMain,
@@ -309,7 +309,7 @@
.border-super,
.border-super\/10,
.border-super\/100 {
- border-color: @accent-color !important;
+ border-color: @accent !important;
}
.border-textMain\/0 {
@@ -328,11 +328,11 @@
border-bottom-color: @subtext0 !important;
}
.group:hover [class*="group-hover:text-superDark"] {
- color: @accent-color !important;
+ color: @accent !important;
}
[class*="hover:!bg-superAlt/20"]:hover {
- background-color: @accent-color !important;
+ background-color: @accent !important;
}
[class*="hover:bg-offset"]:hover {
@@ -344,12 +344,12 @@
}
[class*="hover:bg-super"]:hover {
- background-color: @accent-color !important;
+ background-color: @accent !important;
}
[class*="hover:text-super"]:hover,
[class*="hover:text-superAlt"]:hover {
- color: @accent-color !important;
+ color: @accent !important;
}
[class*="hover:text-textMain"]:hover {
@@ -383,7 +383,7 @@
}
.focus\:text-super:focus {
- color: @accent-color !important;
+ color: @accent !important;
}
*[class*="ring"] {
@@ -399,7 +399,7 @@
}
/* switch knob in settings */
.data-\[state\=checked\]\:before\:\!bg-super[data-state="checked"]::before {
- background-color: @accent-color !important;
+ background-color: @accent !important;
}
/* switch in main input */
#copilot-toggle > div::before {
diff --git a/styles/phanpy/catppuccin.user.less b/styles/phanpy/catppuccin.user.less
index d4bac4be..f25c399c 100644
--- a/styles/phanpy/catppuccin.user.less
+++ b/styles/phanpy/catppuccin.user.less
@@ -17,45 +17,45 @@
@-moz-document domain("phanpy.social") {
:root:not(:has(.is-light)) {
- #catppuccin(@darkFlavor, @accentColor);
+ #catppuccin(@darkFlavor);
}
:root.is-light {
- #catppuccin(@lightFlavor, @accentColor);
+ #catppuccin(@lightFlavor);
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -67,12 +67,12 @@
--text-color: @text;
--text-insignificant-color: @subtext0;
- --link-color: @accent-color;
- --link-text-color: @accent-color;
- --link-faded-color: @accent-color;
- --link-light-color: @accent-color;
- --button-bg-blur-color: @accent-color;
- --button-bg-color: @accent-color;
+ --link-color: @accent;
+ --link-text-color: @accent;
+ --link-faded-color: @accent;
+ --link-light-color: @accent;
+ --button-bg-blur-color: @accent;
+ --button-bg-color: @accent;
--button-text-color: @base;
--bg-faded-color: @base;
--bg-faded-blur-color: @mantle;
diff --git a/styles/picrew/catppuccin.user.less b/styles/picrew/catppuccin.user.less
index 4903745f..9c39b0d5 100644
--- a/styles/picrew/catppuccin.user.less
+++ b/styles/picrew/catppuccin.user.less
@@ -16,39 +16,48 @@
==/UserStyle== */
@-moz-document domain("picrew.me") {
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ :root {
+ @media (prefers-color-scheme: light) {
+ #catppuccin(@lightFlavor);
+ }
+ @media (prefers-color-scheme: dark) {
+ #catppuccin(@darkFlavor);
+ }
+ }
- color-scheme: if(@lookup = latte, light, dark);
+ #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-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -119,7 +128,7 @@
background: @overlay1 !important;
&.is-active {
- background: @accent-color !important;
+ background: @accent !important;
}
}
#home {
@@ -132,7 +141,7 @@
}
.sp_title a,
.page-info a {
- color: @accent-color !important;
+ color: @accent !important;
}
.rankA::before {
color: @text !important;
@@ -146,7 +155,7 @@
background: @mantle !important;
.sitetop-appDL_Header .sitetop-appDL_Title .fa {
- color: @accent-color !important;
+ color: @accent !important;
}
}
/* "Featured Tags" section - directly above Discovery */
@@ -154,14 +163,14 @@
background: @mantle !important;
.sitetop-tags_Header .sitetop-tags_Title .fa {
- color: @accent-color !important;
+ color: @accent !important;
}
.recommended-tag-list .recommended-tag-list-item a {
- border-color: @accent-color !important;
+ border-color: @accent !important;
/* tag icon before tag name */
&::before {
- color: @accent-color !important;
+ color: @accent !important;
}
}
}
@@ -171,16 +180,16 @@
.sitetop-Discovery_Header {
.sitetop-Discovery_Title .fa {
- color: @accent-color !important;
+ color: @accent !important;
}
.sitetop-DiscoveryList_More a {
- background-color: @accent-color !important;
+ background-color: @accent !important;
color: @base !important;
}
.sitetop-Discovery_More {
- color: @accent-color !important;
+ color: @accent !important;
}
}
}
@@ -189,7 +198,7 @@
}
/* "Hot Now" section (image is a graph) */
.sitetop-Hot_Title .fa {
- color: @accent-color !important;
+ color: @accent !important;
}
.sitetop-Hot_CountrySwitch {
background-color: @base !important;
@@ -199,12 +208,12 @@
}
.sitetop-Hot_CountrySwitch_all span::after {
- color: @accent-color !important;
+ color: @accent !important;
}
input:last-of-type + label span {
filter: brightness(-20%) !important;
- color: @accent-color !important;
+ color: @accent !important;
}
}
/* "Updated Image Makers (image (.fa) is bullhorn) */
@@ -212,7 +221,7 @@
background: @mantle !important;
}
.sitetop-ImagemakerList_Title .fa {
- color: @accent-color !important;
+ color: @accent !important;
}
.c_btn {
background: @surface1 !important;
@@ -225,7 +234,7 @@
border-color: @surface2 !important;
}
&:focus {
- box-shadow: 0 0 0 1px @accent-color !important;
+ box-shadow: 0 0 0 1px @accent !important;
}
}
.sitetop-info {
@@ -255,12 +264,12 @@
color: @text !important;
}
.st-Terms {
- border-color: @accent-color !important;
+ border-color: @accent !important;
border-radius: 2px !important;
}
.st-Terms_Wrapper .st-Terms a,
.st-Terms_Wrapper .st-Terms .st-Terms_Body strong {
- color: @accent-color !important;
+ color: @accent !important;
}
.c_select select {
background: @mantle !important;
@@ -289,17 +298,17 @@
}
.popup {
background-color: @base !important;
- border-color: @accent-color !important;
+ border-color: @accent !important;
}
.popup-header {
background-color: @mantle !important;
}
.popup-body .content a {
- color: @accent-color !important;
+ color: @accent !important;
}
.bellicon {
- color: @accent-color !important;
- border-color: @accent-color !important;
+ color: @accent !important;
+ border-color: @accent !important;
}
.close-btn {
border-color: @overlay0 !important;
@@ -341,10 +350,10 @@
.login-container {
.login-form-container {
.c_text_right a {
- color: @accent-color !important;
+ color: @accent !important;
}
.login-form input:focus {
- box-shadow: 0 0 0 1px @accent-color !important;
+ box-shadow: 0 0 0 1px @accent !important;
}
}
hr.sw_hr01 {
@@ -369,7 +378,7 @@
background: @base !important;
.search-Form_Keyword .search-Form_KeywordInput:focus {
- box-shadow: 0 0 0 1px @accent-color !important;
+ box-shadow: 0 0 0 1px @accent !important;
}
}
.search-Form_Keyword {
@@ -427,7 +436,7 @@
background-color: @base !important;
.radioBox_label::before {
- background: @accent-color !important;
+ background: @accent !important;
}
.radioBox_label::after {
border-color: @overlay1 !important;
@@ -447,7 +456,7 @@
background: @base !important;
}
.c_pagination_num.is_current span {
- background: @accent-color !important;
+ background: @accent !important;
color: @base !important;
}
/* creator registration page */
@@ -455,7 +464,7 @@
.email-register-container
.email-register-form
input:not([type="checkbox"], [type="radio"]):focus {
- box-shadow: 0 0 0 1px @accent-color !important;
+ box-shadow: 0 0 0 1px @accent !important;
}
.creator-content
.email-register-container
@@ -509,16 +518,16 @@
.creator-content {
.success {
background: @surface0 !important;
- border-color: @accent-color !important;
+ border-color: @accent !important;
&::after {
- border-left-color: @accent-color !important;
- border-bottom-color: @accent-color !important;
+ border-left-color: @accent !important;
+ border-bottom-color: @accent !important;
}
}
/* "Terms of Use" and "Privacy Policy" links */
.email-register-container .email-register-form fieldset a {
- color: @accent-color !important;
+ color: @accent !important;
}
}
/* creator page */
@@ -581,7 +590,7 @@
border-top-color: @surface2 !important;
}
.small > a {
- color: @accent-color !important;
+ color: @accent !important;
}
/* "Creator Informations" pages (creator/info page) */
.card-header {
@@ -632,7 +641,7 @@
color: @text !important;
&:focus {
- border-color: @accent-color !important;
+ border-color: @accent !important;
}
}
.tc_canvas-square,
@@ -641,8 +650,8 @@
}
/* image maker "type" (creator) */
.tc_imagemaker_register_type li :checked + label {
- border-color: @accent-color !important;
- box-shadow: 0 0 0 2px @accent-color !important;
+ border-color: @accent !important;
+ box-shadow: 0 0 0 2px @accent !important;
color: @surface1 !important;
}
.tc_imagemaker_register_type
@@ -650,8 +659,8 @@
:checked
+ label
.tc_imagemaker_register_type_name {
- background-color: @accent-color !important;
- border-bottom-color: @accent-color !important;
+ background-color: @accent !important;
+ border-bottom-color: @accent !important;
color: @surface1 !important;
}
.tc_imagemaker_register_type li label {
@@ -678,8 +687,8 @@
}
.btn-primary,
.btn-primary:hover {
- background-color: @accent-color !important;
- border-color: @accent-color !important;
+ background-color: @accent !important;
+ border-color: @accent !important;
color: @surface1 !important;
}
/* image maker list (creator) */
@@ -713,7 +722,7 @@
}
}
.btn-info:focus {
- box-shadow: 0 0 0 0.1rem @accent-color !important;
+ box-shadow: 0 0 0 0.1rem @accent !important;
}
.badge-default,
.tc_badge_default {
@@ -728,12 +737,12 @@
color: @text !important;
}
.btn-warning {
- background-color: @accent-color !important;
- border-color: @accent-color !important;
+ background-color: @accent !important;
+ border-color: @accent !important;
color: @base !important;
&:focus {
- box-shadow: 0 0 0 0.1rem @accent-color !important;
+ box-shadow: 0 0 0 0.1rem @accent !important;
}
}
.tc_im_parts_eye .tc_im_parts_eye_icon {
@@ -769,7 +778,7 @@
color: @subtext0 !important;
}
.tc_c_textmenu li a {
- color: @accent-color !important;
+ color: @accent !important;
}
.btn:disabled,
.btn:disabled:hover {
@@ -791,10 +800,10 @@
/* "bulk upload" (creator) */
.tc_bulkupload_type_select .tc_bulkupload_type_tab label {
background-color: @surface0 !important;
- border-color: @accent-color !important;
+ border-color: @accent !important;
}
.tc_bulkupload_color_select li input[type="radio"]:checked + label {
- box-shadow: inset 0 0 0 2px @accent-color;
+ box-shadow: inset 0 0 0 2px @accent;
}
.tc_color_chip,
.tc_bulkupload_option h4 {
@@ -815,16 +824,16 @@
color: @subtext1 !important;
}
.tc_radio_switch label:first-child input[type="radio"] + span {
- background-color: @accent-color !important;
+ background-color: @accent !important;
color: @base !important;
&::before {
- box-shadow: inset 0 0 0 1px @accent-color, -2px 0 1px @crust !important;
+ box-shadow: inset 0 0 0 1px @accent, -2px 0 1px @crust !important;
}
}
/* image maker "rules" (creator) */
.text-info {
- color: @accent-color !important;
+ color: @accent !important;
}
/* image maker "color palette" (creator) */
.tc_colorgp_detail_parts_deselect li {
@@ -871,8 +880,8 @@
color: @text !important;
}
.page-item.active .page-link {
- background: @accent-color !important;
- border-color: @accent-color !important;
+ background: @accent !important;
+ border-color: @accent !important;
color: @surface0 !important;
}
.tc_items_itemlist.is_style_detail
@@ -910,8 +919,8 @@
border-color: @subtext0 !important;
}
input[type="radio"]:checked + .tc_radio_label {
- border-color: @accent-color !important;
- color: @accent-color !important;
+ border-color: @accent !important;
+ color: @accent !important;
}
}
/* image maker publication (creator) */
@@ -925,7 +934,7 @@
color: @red !important;
}
.text-navy {
- color: @accent-color !important;
+ color: @accent !important;
}
/* discovery page */
.discovery_header .discovery_description {
@@ -958,16 +967,16 @@
}
/* "play" button (outer image maker) */
.imagemaker_info_btn_start {
- background: @accent-color !important;
- border-color: @accent-color !important;
- box-shadow: 0 4px 0 @accent-color !important;
+ background: @accent !important;
+ border-color: @accent !important;
+ box-shadow: 0 4px 0 @accent !important;
color: @base !important;
}
.imagemaker_info_creator a {
- color: @accent-color !important;
+ color: @accent !important;
}
.imagemaker_info_description a {
- color: @accent-color !important;
+ color: @accent !important;
}
/* tags (outer image maker) */
.imagemaker_info_use_range li.is_can > div {
@@ -986,11 +995,11 @@
}
/* tag icon (outer image maker) */
.imagemaker_info_use_range li.is_can > div::before {
- color: @accent-color !important;
+ color: @accent !important;
}
}
.is_info_show .imagemaker_info_show_btn {
- background: @accent-color !important;
+ background: @accent !important;
color: @overlay0 !important;
}
/* outer bookmark button (outer image maker) */
@@ -1020,25 +1029,25 @@
background-color: @surface0 !important;
&::before {
- box-shadow: inset 0 -5px 0 -1px @accent-color !important;
+ box-shadow: inset 0 -5px 0 -1px @accent !important;
}
}
li.selected::after {
- box-shadow: inset 0 0 0 3px @accent-color !important;
+ box-shadow: inset 0 0 0 3px @accent !important;
}
/* switch to outer image maker (inner image maker) */
.imagemaker_info_show_btn {
- background-color: @accent-color !important;
- border-color: @accent-color !important;
+ background-color: @accent !important;
+ border-color: @accent !important;
color: @overlay0 !important;
}
/* bookmark button (inner image maker) */
.play-Imagemaker .bookmark {
- background-color: @accent-color !important;
- border-color: @accent-color !important;
+ background-color: @accent !important;
+ border-color: @accent !important;
}
.imagemaker_ctrl_btns .btn_show_itemlist.selected {
- background-color: @accent-color !important;
+ background-color: @accent !important;
color: @overlay0 !important;
}
/* move image element (background) (inner image maker) */
@@ -1049,7 +1058,7 @@
.ctrlbtn-rotate_left,
.ctrlbtn-rotate_right {
background: @surface0 !important;
- color: @accent-color !important;
+ color: @accent !important;
}
/* move image element (buttons) (inner image maker) */
.control_position_wrapper .ctrlbtn_position_inner::before,
@@ -1060,7 +1069,7 @@
.ctrlbtn-move_down,
.ctrlbtn-move_right,
.ctrlbtn-move_left {
- color: @accent-color !important;
+ color: @accent !important;
}
.imagemaker_controller_reset,
.imagemaker_controller_reset:hover {
@@ -1070,7 +1079,7 @@
/* "Done" button (inner image maker) */
.imagemaker_complete_btn,
.imagemaker_complete_btn:hover {
- background: @accent-color !important;
+ background: @accent !important;
color: @surface0 !important;
}
/* load screen after clicking "Done" (image complete) */
@@ -1084,9 +1093,9 @@
/* download button (image complete) */
.complete-Download_Btn,
.complete-Download_Btn:hover {
- background: @accent-color !important;
- border-color: @accent-color !important;
- box-shadow: 0 4px 0 @accent-color !important;
+ background: @accent !important;
+ border-color: @accent !important;
+ box-shadow: 0 4px 0 @accent !important;
color: @surface1 !important;
}
/* "add to bookmarks" area (image complete) */
@@ -1139,17 +1148,17 @@
/* "Search by tag" (image complete) */
.st-Related_Tags .st-Related_Tag a {
background: @surface0 !important;
- border-color: @accent-color !important;
+ border-color: @accent !important;
color: @text !important;
}
/* "Copied to clipboard" popup (image complete) */
.toasted.sw-Toast.bubble {
- background-color: @accent-color !important;
+ background-color: @accent !important;
color: @surface0 !important;
}
/* fix for bookmark icon (bookmarks page) */
.bookmark-inner h2 .fa {
- color: @accent-color !important;
+ color: @accent !important;
}
/* support.picrew.me page */
.site-branding {
@@ -1170,7 +1179,7 @@
color: @text !important;
}
.bogo-language-name a {
- color: @accent-color !important;
+ color: @accent !important;
}
.main-navigation {
background-color: @mantle !important;
@@ -1181,16 +1190,16 @@
}
a:hover,
ul > :hover > a {
- color: @accent-color !important;
+ color: @accent !important;
}
/* "what is picrew?" page (support) */
li.current_page_item > a::before,
li.current-menu-item > a::before {
- border-bottom-color: @accent-color !important;
+ border-bottom-color: @accent !important;
}
.nav-menu > li > a::after,
.menu > li > a::after {
- color: @accent-color !important;
+ color: @accent !important;
}
}
.picrew_front-page-content-area.content-area
@@ -1199,19 +1208,19 @@
background-color: @mantle !important;
}
.widget_linkblock {
- border-color: @accent-color !important;
- box-shadow: 0 0 0 0 @accent-color inset !important;
+ border-color: @accent !important;
+ box-shadow: 0 0 0 0 @accent inset !important;
color: @text !important;
.widget_linkblock_title {
- color: @accent-color !important;
+ color: @accent !important;
}
.widget_linkblock_text {
color: @subtext1 !important;
}
&:hover {
- border-color: @accent-color !important;
- box-shadow: 0 0 0 4px @accent-color inset !important;
+ border-color: @accent !important;
+ box-shadow: 0 0 0 4px @accent inset !important;
color: @text !important;
}
}
@@ -1234,7 +1243,7 @@
}
.widget-title,
a:hover {
- color: @accent-color !important;
+ color: @accent !important;
}
}
/* aaaaaaaaaaaaaa */
@@ -1244,7 +1253,7 @@
color: @text !important;
&:focus {
- border-color: @accent-color !important;
+ border-color: @accent !important;
}
}
#searchsubmit > button,
@@ -1271,12 +1280,12 @@
color: @text !important;
&::after {
- background: @accent-color !important;
+ background: @accent !important;
}
}
.entry-content h2 {
background: @surface0 !important;
- border-bottom-color: @accent-color !important;
+ border-bottom-color: @accent !important;
color: @text !important;
}
.content-wrapper.full-width .hentry::after {
@@ -1288,7 +1297,7 @@
border-color: @surface2 !important;
a {
- color: @accent-color !important;
+ color: @accent !important;
}
p.toc_title {
color: @text !important;
@@ -1301,7 +1310,7 @@
}
h3 {
border-bottom-color: @surface2 !important;
- border-left-color: @accent-color !important;
+ border-left-color: @accent !important;
color: @text !important;
}
h4 {
@@ -1309,7 +1318,7 @@
}
h4::before,
a {
- color: @accent-color !important;
+ color: @accent !important;
}
}
/* "Create your image maker" page (support) */
@@ -1320,7 +1329,7 @@
border-top-color: @overlay2 !important;
> a {
- color: @accent-color !important;
+ color: @accent !important;
}
}
/* "list of creator functions" page (support) */
@@ -1332,7 +1341,7 @@
}
.blog {
.entry-title a {
- color: @accent-color !important;
+ color: @accent !important;
}
.entry-body {
color: @subtext1 !important;
@@ -1340,17 +1349,17 @@
}
.wp-pagenavi {
span.current {
- background: @accent-color !important;
- border-color: @accent-color !important;
+ background: @accent !important;
+ border-color: @accent !important;
color: @surface1 !important;
}
a {
background-color: @base !important;
- border-color: @accent-color !important;
+ border-color: @accent !important;
color: @text !important;
&:hover {
- background-color: @accent-color !important;
+ background-color: @accent !important;
color: @surface1 !important;
}
}
@@ -1361,23 +1370,13 @@
color: @text !important;
}
.entry-title a {
- color: @accent-color !important;
+ color: @accent !important;
}
.entry-body {
color: @text !important;
}
}
}
- @media (prefers-color-scheme: light) {
- :root {
- #catppuccin(@lightFlavor, @accentColor);
- }
- }
- @media (prefers-color-scheme: dark) {
- :root {
- #catppuccin(@darkFlavor, @accentColor);
- }
- }
}
/* deno-fmt-ignore */
diff --git a/styles/pinterest/catppuccin.user.less b/styles/pinterest/catppuccin.user.less
index a2bc9e36..92405bfb 100644
--- a/styles/pinterest/catppuccin.user.less
+++ b/styles/pinterest/catppuccin.user.less
@@ -18,52 +18,48 @@
@-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)\\/.*"
) {
- @media (prefers-color-scheme: light) {
- :root {
- #catppuccin(@lightFlavor, @accentColor);
+ :root {
+ @media (prefers-color-scheme: light) {
+ #catppuccin(@lightFlavor);
+ }
+ @media (prefers-color-scheme: dark) {
+ #catppuccin(@darkFlavor);
}
}
- @media (prefers-color-scheme: dark) {
- :root {
- #catppuccin(@darkFlavor, @accentColor);
- }
- }
+ #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];
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
-
- color-scheme: if(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -73,35 +69,35 @@
}
}
- --color-text-light: if((@lookup = latte), @mantle, @text);
- --color-text-dark: if((@lookup = latte), @text, @mantle);
+ --color-text-light: if((@flavor = latte), @mantle, @text);
+ --color-text-dark: if((@flavor = latte), @text, @mantle);
--color-text-default: @text;
--color-text-inverse: @mantle;
--color-text-subtle: @subtext0;
- --color-text-error: @accent-color;
- --color-text-shopping: @accent-color;
- --color-text-link: @accent-color;
+ --color-text-error: @accent;
+ --color-text-shopping: @accent;
+ --color-text-link: @accent;
- --color-text-icon-light: if((@lookup = latte), @mantle, @subtext1);
- --color-text-icon-dark: if((@lookup = latte), @subtext1, @mantle);
+ --color-text-icon-light: if((@flavor = latte), @mantle, @subtext1);
+ --color-text-icon-dark: if((@flavor = latte), @subtext1, @mantle);
--color-text-icon-default: @subtext0;
--color-icon-subtle: @subtext1;
--color-text-icon-inverse: @mantle;
--color-text-icon-subtle: @subtext0;
- --color-text-icon-error: @accent-color;
- --color-text-icon-brand-primary: @accent-color;
+ --color-text-icon-error: @accent;
+ --color-text-icon-brand-primary: @accent;
- --color-background-light: if((@lookup = latte), @mantle, @subtext1);
- --color-background-dark: if((@lookup = latte), @text, @mantle);
+ --color-background-light: if((@flavor = latte), @mantle, @subtext1);
+ --color-background-dark: if((@flavor = latte), @text, @mantle);
--color-background-default: @base;
--color-background-inverse-base: @subtext1;
- --color-background-primary-base: @accent-color;
+ --color-background-primary-base: @accent;
--color-background-secondary-base: @mantle;
--color-background-secondary-active: @mantle;
--color-background-selected-base: @subtext1;
--color-background-box-default: @mantle;
- --color-background-box-selected: @accent-color;
- --color-background-box-primary: @accent-color;
+ --color-background-box-selected: @accent;
+ --color-background-box-primary: @accent;
--color-background-box-secondary: @surface1;
--color-background-overlay: @surface0;
--color-background-popover-primary: @mantle;
@@ -127,27 +123,27 @@
--color-icon-error: @red;
--color-icon-info: @blue;
--color-icon-recommendation: @mauve;
- --color-icon-brand-primary: @accent-color;
+ --color-icon-brand-primary: @accent;
--color-icon-inverse: @crust;
- --color-background-brand: @accent-color;
- --color-background-box-brand: @accent-color;
- --color-background-button-primary-default: @accent-color;
+ --color-background-brand: @accent;
+ --color-background-box-brand: @accent;
+ --color-background-button-primary-default: @accent;
--color-background-button-primary-hover: desaturate(
- darken(@accent-color, 12%),
+ darken(@accent, 12%),
20%
);
--color-background-button-primary-active: desaturate(
- darken(@accent-color, 30%),
+ darken(@accent, 30%),
30%
);
--color-background-badge-warning: @yellow;
--color-background-badge-success: @green;
--color-background-education: @blue;
- --color-background-primary-strong: @accent-color;
+ --color-background-primary-strong: @accent;
--color-background-shopping: @blue;
- --g-colorTransparentWhite: fadeout(@base, 30%);
- --g-colorTransparentDarkGray: fadeout(@mantle, 20%);
+ --g-colorTransparentWhite: fade(@base, 70%);
+ --g-colorTransparentDarkGray: fade(@mantle, 80%);
--g-colorGray0: @mantle;
--g-colorGray0Hovered: darken(@mantle, 2.5%);
--g-colorGray0Active: darken(@mantle, 5%);
@@ -157,14 +153,14 @@
--g-colorGray100Active: darken(@surface0, 5%);
--g-colorGray200: @subtext0;
--g-colorGray300: @subtext1;
- --g-colorRed100: @accent-color;
- --g-colorRed100Hovered: darken(@accent-color, 7.5%);
- --g-colorRed100Active: darken(@accent-color, 10%);
- --g-color-focus: fadeout(@accent-color, 50%);
+ --g-colorRed100: @accent;
+ --g-colorRed100Hovered: darken(@accent, 7.5%);
+ --g-colorRed100Active: darken(@accent, 10%);
+ --g-color-focus: fade(@accent, 50%);
--color-gray-roboflow-400: @surface2;
--color-gray-roboflow-200: @mantle;
- --g-blue: @accent-color;
+ --g-blue: @accent;
--color-background-info-base: @blue;
--color-background-error-base: @red;
--color-background-warning-base: @peach;
@@ -176,9 +172,7 @@
}
/* the void (parts not loaded yet) */
- & {
background: @base !important;
- }
.EmojiPickerReact {
--epr-bg-color: @base;
@@ -187,8 +181,8 @@
--epr-category-label-bg-color: @base;
--epr-search-input-bg-color: @mantle;
--epr-skin-tone-picker-menu-color: @mantle;
- --epr-category-icon-active-color: @accent-color;
- --epr-highlight-color: @accent-color;
+ --epr-category-icon-active-color: @accent;
+ --epr-highlight-color: @accent;
--epr-hover-bg-color: @surface0;
--epr-focus-bg-color: @surface0;
}
@@ -218,7 +212,7 @@
}
svg circle[fill="white"] ~ path[fill="#e60023"] {
- fill: @accent-color !important;
+ fill: @accent !important;
}
div#mweb-unauth-container,
@@ -492,7 +486,7 @@
div[data-test-id="flashlight-button"],
div[data-test-id="flashlight"],
div[data-test-id="shop-button"] {
- background-color: fadeout(@base, 15%) !important;
+ background-color: fade(@base, 85%) !important;
}
div[data-test-id="flashlight-dot-style"] {
@@ -517,8 +511,8 @@
div[data-test-id="react-button"] {
.Jea.KS5.mQ8.zI7.iyn.Hsu {
- //background-color: @accent-color;
- color: @accent-color;
+ //background-color: @accent;
+ color: @accent;
}
}
@@ -557,7 +551,7 @@
}
div.SaveButton__background--enabled {
- background-color: @accent-color !important;
+ background-color: @accent !important;
color: @mantle !important;
}
@@ -649,7 +643,7 @@
/* Create */
div[style*="background-color: rgba(255, 255, 255, 0.8); margin: 24px 0px 0px; z-index:"] {
- background-color: fadeout(@base, 20%) !important;
+ background-color: fade(@base, 80%) !important;
}
input#scrape-view-website-link {
@@ -701,7 +695,7 @@
}
div[data-test-id="editor-canvas-container"] div {
- border-color: @accent-color !important;
+ border-color: @accent !important;
}
input[data-test-id="storyboard-editor-details-text-size"] {
@@ -750,17 +744,17 @@
}
button[data-test-id="login-signup-toggle"] {
- color: @accent-color !important;
+ color: @accent !important;
}
button.red.active {
- background-color: @accent-color !important;
+ background-color: @accent !important;
color: @crust !important;
}
button.red.active:hover,
button.red.active:focus {
- background-color: darken(@accent-color, 2.5%) !important;
+ background-color: darken(@accent, 2.5%) !important;
}
span[data-test-id="terms-of-service"],
@@ -768,7 +762,7 @@
color: @subtext1 !important;
a {
- color: @accent-color !important;
+ color: @accent !important;
}
}
}
@@ -777,7 +771,7 @@
div[style="height: 200px; background: linear-gradient(rgba(255, 255, 255, 0) 0%, rgb(255, 255, 255) 70%);"] {
background: linear-gradient(
- fadeout(@base, 100%) 0%,
+ fade(@base, 0%) 0%,
@base 70%
) !important;
}
@@ -789,14 +783,14 @@
}
span[data-test-id="terms-of-service"] a {
- color: @accent-color !important;
+ color: @accent !important;
}
div[data-test-id="breadcrumbs-list"] div.MIw.Rym.zI7.iyn.Hsu,
div[data-test-id="vase-carousel"] div[data-test-id="left-scroll-arrow"] {
background-image: linear-gradient(
to left,
- fadeout(@base, 100%),
+ fade(@base, 0%),
@base
) !important;
}
@@ -805,7 +799,7 @@
div[data-test-id="vase-carousel"] div[data-test-id="right-scroll-arrow"] {
background-image: linear-gradient(
to right,
- fadeout(@base, 100%),
+ fade(@base, 0%),
@base
) !important;
}
@@ -816,7 +810,7 @@
}
// save button hover
.vfW {
- background: darken(@accent-color, 10%) !important;
+ background: darken(@accent, 10%) !important;
}
}
diff --git a/styles/planet-minecraft/catppuccin.user.less b/styles/planet-minecraft/catppuccin.user.less
index 4e47676d..d6c9b633 100644
--- a/styles/planet-minecraft/catppuccin.user.less
+++ b/styles/planet-minecraft/catppuccin.user.less
@@ -17,46 +17,45 @@
@-moz-document domain("planetminecraft.com") {
[data-theme="light"] {
- #catppuccin(@lightFlavor, @accentColor);
+ #catppuccin(@lightFlavor);
}
-
[data-theme="dark"] {
- #catppuccin(@darkFlavor, @accentColor);
+ #catppuccin(@darkFlavor);
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -73,10 +72,10 @@
--menu-bg: @surface0;
--menu-color: @subtext1;
--menu-selected-bg: @surface1;
- --menu-selected-color: @accent-color;
+ --menu-selected-color: @accent;
--footer-bg: @mantle;
--bg-navbar: @mantle;
- --tab-selected: @accent-color;
+ --tab-selected: @accent;
--input-bg: @surface0;
--dark-mid-bg: @base;
--title-color: @text;
@@ -84,13 +83,13 @@
--text-color-medium: @subtext0;
--text-color-light: @subtext1;
--border-color: @base;
- --footer-a-color: @accent-color;
- --nav-hover: @accent-color;
+ --footer-a-color: @accent;
+ --nav-hover: @accent;
--stat-color: @red;
- --a-color: @accent-color;
- --a-hover: @accent-color;
- --a-selected: fade(@accent-color, 80%);
- --tab-hover: fade(@accent-color, 80%);
+ --a-color: @accent;
+ --a-hover: @accent;
+ --a-selected: fade(@accent, 80%);
+ --tab-hover: fade(@accent, 80%);
--tab-color: @subtext0;
--nav-color: @text;
--widget-wrap-bg: @mantle;
@@ -107,23 +106,23 @@
--notice-bg: @overlay0;
--notice-color: @text;
--menu-disabled-color: @crust;
- --control-bg: @accent-color;
- --a-visited: @accent-color;
+ --control-bg: @accent;
+ --a-visited: @accent;
--nav-bar-border: none;
--feed-alt-bg: @surface1;
- --nav-selected: @accent-color;
+ --nav-selected: @accent;
.tab_options > ul > li.currentpage,
.tab_options > ul > li.ui-state-active,
.tab_options > ul > li:hover {
- border-bottom-color: @accent-color;
+ border-bottom-color: @accent;
}
.site_btn_secondary {
color: @subtext1;
background: @surface1;
&:hover {
- color: @accent-color;
+ color: @accent;
background: fade(@surface1, 80%);
}
}
@@ -136,14 +135,14 @@
.vert_menu > ul > li:only-child > a.current_select,
.vert_menu > ul > li > a.current_select {
color: @base;
- background: @accent-color;
+ background: @accent;
&:not(:disabled, [data-disabled="disabled"]):hover {
- background: fade(@accent-color, 80%);
+ background: fade(@accent, 80%);
}
}
#profile-bar #profile-actions .togglable.selected {
- background: @accent-color;
+ background: @accent;
color: @base;
}
@@ -152,7 +151,7 @@
}
/* because the icons on the display mode buttons are white, we cant have white base here, so we improvise for latte */
- & when (@lookup = latte) {
+ & when (@flavor = latte) {
#display_modes a {
background: @text !important;
box-shadow: none !important;
@@ -184,7 +183,7 @@
}
color: @text !important;
- background: @accent-color !important;
+ background: @accent !important;
}
.content-actions li .material-icons {
@@ -192,7 +191,7 @@
}
}
- & when not(@lookup = latte) {
+ & when not(@flavor = latte) {
#display_modes a {
background: @base !important;
box-shadow: none !important;
@@ -201,7 +200,7 @@
#display_modes a.selected,
#display_modes a:hover {
- background: @accent-color;
+ background: @accent;
}
.navigation-wrap .navmenu a {
@@ -310,7 +309,7 @@
}
#popular-reel .caption {
- & when (@lookup = latte) {
+ & when (@flavor = latte) {
background: fade(@text, 50%) !important;
.pop-title {
@@ -324,7 +323,7 @@
}
}
- & when not(@lookup = latte) {
+ & when not(@flavor = latte) {
background: fade(@base, 50%) !important;
.pop-title {
@@ -353,9 +352,9 @@
.content-actions li .link:hover,
.content-actions li a:hover {
.material-icons {
- color: @accent-color !important;
+ color: @accent !important;
}
- color: @accent-color !important;
+ color: @accent !important;
background: @surface1 !important;
}
@@ -374,7 +373,7 @@
input:focus,
select:focus,
textarea:focus {
- border-color: @accent-color;
+ border-color: @accent;
}
}
}
diff --git a/styles/porkbun/catppuccin.user.less b/styles/porkbun/catppuccin.user.less
index 613b64e0..93b730b1 100644
--- a/styles/porkbun/catppuccin.user.less
+++ b/styles/porkbun/catppuccin.user.less
@@ -16,50 +16,48 @@
==/UserStyle== */
@-moz-document domain("porkbun.com") {
- @media (prefers-color-scheme: light) {
- :root {
- #catppuccin(@lightFlavor, @accentColor);
+ :root {
+ @media (prefers-color-scheme: light) {
+ #catppuccin(@lightFlavor);
}
- }
- @media (prefers-color-scheme: dark) {
- :root {
- #catppuccin(@darkFlavor, @accentColor);
+ @media (prefers-color-scheme: dark) {
+ #catppuccin(@darkFlavor);
}
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -79,11 +77,11 @@
--porkbun_danger: @red;
--porkbun_warning: @yellow;
--porkbun_success: @green;
- --porkbun_pink_hover: darken(@accent-color, 5%);
- --porkbun_pink: @accent-color;
+ --porkbun_pink_hover: darken(@accent, 5%);
+ --porkbun_pink: @accent;
--porkbun_gold: @yellow;
- --porkbun_pink_light: lighten(@accent-color, 5%);
- --porkbun_pink_medium: @accent-color;
+ --porkbun_pink_light: lighten(@accent, 5%);
+ --porkbun_pink_medium: @accent;
--porkbun_dark_gray: @text;
--porkbun_light_gray: @surface0;
--porkbun_medium_gray: @overlay1;
@@ -149,10 +147,10 @@
background-color: transparent;
.hsds-beacon button {
- background-color: @accent-color;
+ background-color: @accent;
[class*="FabButtoncss__FabBackgroundUI"] > svg {
- fill: @accent-color;
+ fill: @accent;
}
> span {
@@ -178,12 +176,12 @@
}
.btn-primary {
- background-color: @accent-color;
- border-color: @accent-color;
+ background-color: @accent;
+ border-color: @accent;
color: @crust;
&:hover {
- background-color: darken(@accent-color, 5%);
+ background-color: darken(@accent, 5%);
}
}
@@ -250,7 +248,7 @@
border-color: @surface0;
&:focus {
- box-shadow: 0 0 8px fade(@accent-color, 50%);
+ box-shadow: 0 0 8px fade(@accent, 50%);
}
}
@@ -306,7 +304,7 @@
#headerBrandLogo,
#footerLogo {
@svg: escape(
- ''
+ ''
);
content: url("data:image/svg+xml,@{svg}");
}
diff --git a/styles/pronouns.cc/catppuccin.user.less b/styles/pronouns.cc/catppuccin.user.less
index cef7d304..7a53a7c5 100644
--- a/styles/pronouns.cc/catppuccin.user.less
+++ b/styles/pronouns.cc/catppuccin.user.less
@@ -17,7 +17,7 @@
@-moz-document domain("pronouns.cc") {
:root[data-bs-theme="dark"] {
- #catppuccin(@darkFlavor, @accentColor);
+ #catppuccin(@darkFlavor);
.bg-dark {
--bs-bg-opacity: 1;
background-color: rgba(
@@ -27,7 +27,7 @@
}
}
:root[data-bs-theme="light"] {
- #catppuccin(@lightFlavor, @accentColor);
+ #catppuccin(@lightFlavor);
.bg-light {
--bs-bg-opacity: 1;
background-color: rgba(
@@ -37,39 +37,39 @@
}
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -82,8 +82,8 @@
color: transparent !important;
}
.form-control:focus {
- border-color: @accent-color;
- box-shadow: 0 0 0 0.25rem fade(@accent-color, 25%);
+ border-color: @accent;
+ box-shadow: 0 0 0 0.25rem fade(@accent, 25%);
}
--bs-border-color: @surface1;
--bs-border-color-translucent: @surface0;
@@ -95,7 +95,7 @@
}
.dropdown-menu {
--bs-dropdown-link-active-color: @crust;
- --bs-dropdown-link-active-bg: @accent-color;
+ --bs-dropdown-link-active-bg: @accent;
}
.toast {
--bs-toast-color: @text;
@@ -114,8 +114,8 @@
--bs-body-bg: @crust;
--bs-darkk-rgb: #rgbify(@base);
--bs-lightt-rgb: #rgbify(@base);
- --bs-emphasis-color: @accent-color;
- --bs-emphasis-color-rgb: #rgbify(@accent-color)[];
+ --bs-emphasis-color: @accent;
+ --bs-emphasis-color-rgb: #rgbify(@accent)[];
--bs-secondary-color: @subtext0;
--bs-secondary-color-rgb: @subtext0;
--bs-secondary-bg: @base;
@@ -124,7 +124,7 @@
--bs-tertiary-color-rgb: @subtext1;
--bs-tertiary-bg: @surface0;
--bs-tertiary-bg-rgb: #rgbify(@surface0)[];
- --bs-primary-text-emphasis: @accent-color;
+ --bs-primary-text-emphasis: @accent;
--bs-secondary-text-emphasis: @subtext1;
--bs-success-text-emphasis: @green;
--bs-info-text-emphasis: @teal;
@@ -142,10 +142,10 @@
--bs-light-border-subtle: @overlay1;
--bs-dark-border-subtle: @surface1;
--bs-heading-color: inherit;
- --bs-link-color: @accent-color;
- --bs-link-color-rgb: #rgbify(@accent-color)[];
- --bs-link-hover-color: @accent-color;
- --bs-link-hover-color-rgb: #rgbify(@accent-color)[];
+ --bs-link-color: @accent;
+ --bs-link-color-rgb: #rgbify(@accent)[];
+ --bs-link-hover-color: @accent;
+ --bs-link-hover-color-rgb: #rgbify(@accent)[];
--bs-code-color: @pink;
--bs-highlight-color: @rosewater;
@@ -160,8 +160,8 @@
--bs-list-group-disabled-color: var(--bs-secondary-color);
--bs-list-group-disabled-bg: var(--bs-body-bg);
--bs-list-group-active-color: @base;
- --bs-list-group-active-bg: @accent-color;
- --bs-list-group-active-border-color: @accent-color;
+ --bs-list-group-active-bg: @accent;
+ --bs-list-group-active-border-color: @accent;
border-radius: var(--bs-list-group-border-radius);
}
// navbar
@@ -212,8 +212,8 @@
.btn-primary {
#colorizedButton(
@base,
- @accent-color,
- @hv-bg: lighten(@accent-color, 10%),
+ @accent,
+ @hv-bg: lighten(@accent, 10%),
);
}
.btn-secondary {
diff --git a/styles/pronouns.page/catppuccin.user.less b/styles/pronouns.page/catppuccin.user.less
index f81027db..d15334e7 100644
--- a/styles/pronouns.page/catppuccin.user.less
+++ b/styles/pronouns.page/catppuccin.user.less
@@ -17,47 +17,47 @@
@-moz-document domain("pronouns.page") {
body:not([data-theme="dark"]) {
- #catppuccin(@lightFlavor, @accentColor);
+ #catppuccin(@lightFlavor);
}
body[data-theme="dark"],
body[data-theme="dark"]:not(.reduced-colours) {
- #catppuccin(@darkFlavor, @accentColor);
+ #catppuccin(@darkFlavor);
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -73,7 +73,7 @@
--bs-body-color: @text;
--bs-body-bg: @base;
--bs-white-rgb: #rgbify(@crust)[];
- --bs-primary-rgb: #rgbify(@accent-color)[];
+ --bs-primary-rgb: #rgbify(@accent)[];
--bs-secondary-rgb: #rgbify(@overlay0)[];
--bs-secondary-color: @subtext0;
--bs-tertiary-bg: @crust;
@@ -93,19 +93,19 @@
.btn-primary {
color: @crust;
- --bs-btn-bg: @accent-color;
+ --bs-btn-bg: @accent;
}
.btn-primary,
.btn-outline-primary {
- --bs-btn-hover-bg: @accent-color;
- --bs-btn-border-color: @accent-color;
- --bs-btn-hover-border-color: @accent-color;
- --bs-btn-active-bg: @accent-color;
- --bs-btn-active-border-color: @accent-color;
- --bs-btn-disabled-color: @accent-color;
- --bs-btn-disabled-bg: darken(@accent-color, 5%);
- --bs-btn-disabled-border-color: @accent-color;
+ --bs-btn-hover-bg: @accent;
+ --bs-btn-border-color: @accent;
+ --bs-btn-hover-border-color: @accent;
+ --bs-btn-active-bg: @accent;
+ --bs-btn-active-border-color: @accent;
+ --bs-btn-disabled-color: @accent;
+ --bs-btn-disabled-bg: darken(@accent, 5%);
+ --bs-btn-disabled-border-color: @accent;
}
.btn-outline-primary {
@@ -209,14 +209,14 @@
}
.btn-square {
- background-color: @accent-color !important;
+ background-color: @accent !important;
}
/* Inputs */
.form-check-input:checked {
- background-color: @accent-color !important;
- border-color: @accent-color !important;
+ background-color: @accent !important;
+ border-color: @accent !important;
}
.form-control {
@@ -225,7 +225,7 @@
border-color: @surface0;
&:focus {
- box-shadow: 0 0 0 0.25rem fade(@accent-color, 50%);
+ box-shadow: 0 0 0 0.25rem fade(@accent, 50%);
}
}
@@ -272,11 +272,11 @@
}
.cell.selected {
- background-color: @accent-color;
+ background-color: @accent;
color: @crust;
}
.cell:not(.blank, .disabled):hover {
- border-color: @accent-color;
+ border-color: @accent;
}
}
@@ -286,7 +286,7 @@
color: @text !important;
&:hover {
- color: @accent-color !important;
+ color: @accent !important;
}
}
@@ -294,12 +294,12 @@
border-color: @surface0;
&:hover {
- border-bottom-color: @accent-color !important;
+ border-bottom-color: @accent !important;
}
&.btn.active,
&.btn:hover {
- border-bottom-color: @accent-color !important;
+ border-bottom-color: @accent !important;
}
}
@@ -309,8 +309,8 @@
&:hover,
&.active {
- color: lighten(@accent-color, 5%) !important;
- border-inline-start-color: @accent-color !important;
+ color: lighten(@accent, 5%) !important;
+ border-inline-start-color: @accent !important;
}
}
@@ -340,7 +340,7 @@
/* Calendar */
.list-group-flare > :first-child {
- border-top-color: @accent-color !important;
+ border-top-color: @accent !important;
}
.list-group-item {
color: @text !important;
@@ -348,10 +348,10 @@
border-color: @surface0 !important;
}
.calendar > .day.day-event {
- border-color: @accent-color;
+ border-color: @accent;
&:hover {
- background-color: darken(@accent-color, 10%) !important;
+ background-color: darken(@accent, 10%) !important;
.day-number {
color: @crust;
@@ -360,7 +360,7 @@
}
&.day-event-1 {
- background-color: @accent-color;
+ background-color: @accent;
color: @crust;
}
}
@@ -373,8 +373,8 @@
}
.page-item.active .page-link {
color: @crust;
- background-color: @accent-color;
- border-color: @accent-color;
+ background-color: @accent;
+ border-color: @accent;
}
.page-item.disabled .page-link {
color: @text;
@@ -407,7 +407,7 @@
color: @text !important;
}
.colour-pink {
- color: @accent-color !important;
+ color: @accent !important;
}
.colour-orange {
color: @peach !important;
@@ -430,7 +430,7 @@
}
.nav-pills {
- --bs-nav-pills-link-active-bg: @accent-color;
+ --bs-nav-pills-link-active-bg: @accent;
--bs-nav-pills-link-active-color: @crust;
}
@@ -443,22 +443,22 @@
}
a {
- color: @accent-color;
+ color: @accent;
&:hover {
- color: lighten(@accent-color, 5%);
+ color: lighten(@accent, 5%);
}
}
code {
color: @crust;
- background-color: @accent-color;
+ background-color: @accent;
border-color: transparent;
}
/* Share QR code */
[fill="#ff95bb"] {
- fill: @accent-color;
+ fill: @accent;
}
mark,
diff --git a/styles/proton/catppuccin.user.less b/styles/proton/catppuccin.user.less
index 16ecdeb6..16c3c86c 100644
--- a/styles/proton/catppuccin.user.less
+++ b/styles/proton/catppuccin.user.less
@@ -16,51 +16,48 @@
==/UserStyle== */
@-moz-document regexp("https://(account|mail|drive|calendar).proton.me/.*$") {
- @media (prefers-color-scheme: light) {
- :root {
- #catppuccin(@lightFlavor, @accentColor);
+ :root {
+ @media (prefers-color-scheme: light) {
+ #catppuccin(@lightFlavor);
+ }
+ @media (prefers-color-scheme: dark) {
+ #catppuccin(@darkFlavor);
}
}
- @media (prefers-color-scheme: dark) {
- :root {
- #catppuccin(@darkFlavor, @accentColor);
- }
- }
+ #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];
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
-
- color-scheme: if(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -71,7 +68,7 @@
}
svg.logo {
- @accentH: hue(@accent-color);
+ @accentH: hue(@accent);
@protonH: hue(#6d4aff);
.replaceColor(@org, @property) {
@@ -133,7 +130,7 @@
.ui-standard {
#lightenOrDarken(@color, @value) {
@result: if(
- @lookup = latte,
+ @flavor = latte,
lighten(@color, @value),
darken(@color, @value)
);
@@ -141,18 +138,18 @@
#darkenOrLighten(@color, @value) {
@result: if(
- @lookup = latte,
+ @flavor = latte,
darken(@color, @value),
lighten(@color, @value)
);
}
- --primary-minor-2: #lightenOrDarken(@accent-color, 60%)[@result];
- --primary-minor-1: #lightenOrDarken(@accent-color, 50%)[@result];
- --primary: @accent-color;
- --primary-major-1: #darkenOrLighten(@accent-color, 4%)[@result];
- --primary-major-2: #darkenOrLighten(@accent-color, 8%)[@result];
- --primary-major-3: #darkenOrLighten(@accent-color, 12%)[@result];
+ --primary-minor-2: #lightenOrDarken(@accent, 60%)[@result];
+ --primary-minor-1: #lightenOrDarken(@accent, 50%)[@result];
+ --primary: @accent;
+ --primary-major-1: #darkenOrLighten(@accent, 4%)[@result];
+ --primary-major-2: #darkenOrLighten(@accent, 8%)[@result];
+ --primary-major-3: #darkenOrLighten(@accent, 12%)[@result];
--primary-contrast: @mantle;
--signal-danger-minor-2: #lightenOrDarken(@maroon, 40%)[@result];
--signal-danger-minor-1: #lightenOrDarken(@maroon, 30%)[@result];
@@ -182,12 +179,12 @@
--signal-info-major-2: #darkenOrLighten(@blue, 8%)[@result];
--signal-info-major-3: #darkenOrLighten(@blue, 12%)[@result];
--signal-info-contrast: @mantle;
- --interaction-norm-minor-2: #lightenOrDarken(@accent-color, 40%)[@result];
- --interaction-norm-minor-1: #lightenOrDarken(@accent-color, 30%)[@result];
- --interaction-norm: @accent-color;
- --interaction-norm-major-1: #darkenOrLighten(@accent-color, 4%)[@result];
- --interaction-norm-major-2: #darkenOrLighten(@accent-color, 8%)[@result];
- --interaction-norm-major-3: #darkenOrLighten(@accent-color, 12%)[@result];
+ --interaction-norm-minor-2: #lightenOrDarken(@accent, 40%)[@result];
+ --interaction-norm-minor-1: #lightenOrDarken(@accent, 30%)[@result];
+ --interaction-norm: @accent;
+ --interaction-norm-major-1: #darkenOrLighten(@accent, 4%)[@result];
+ --interaction-norm-major-2: #darkenOrLighten(@accent, 8%)[@result];
+ --interaction-norm-major-3: #darkenOrLighten(@accent, 12%)[@result];
--interaction-norm-contrast: @mantle;
--interaction-weak-minor-2: #lightenOrDarken(@surface0, 20%)[@result];
--interaction-weak-minor-1: #lightenOrDarken(@surface0, 10%)[@result];
@@ -204,10 +201,10 @@
--field-norm: @overlay2;
--field-hover: @overlay1;
--field-disabled: @overlay0;
- --field-focus: @accent-color;
- --field-highlight: fadeout(@accent-color, 30%);
- --focus-outline: @accent-color;
- --focus-ring: fadeout(@accent-color, 60%);
+ --field-focus: @accent;
+ --field-highlight: fade(@accent, 70%);
+ --focus-outline: @accent;
+ --focus-ring: fade(@accent, 40%);
--border-norm: @overlay0;
--border-weak: @overlay1;
--background-norm: @base;
@@ -215,15 +212,13 @@
--background-strong: @crust;
--background-invert: @text;
--interaction-default: transparent;
- --interaction-default-hover: fadeout(@overlay1, 80%);
- --interaction-default-active: fadeout(@overlay1, 60%);
- --shadow-primary-color: red(@accent-color) green(@accent-color) blue(
- @accent-color
- );
+ --interaction-default-hover: fade(@overlay1, 20%);
+ --interaction-default-active: fade(@overlay1, 40%);
+ --shadow-primary-color: red(@accent) green(@accent) blue(@accent);
--shadow-norm-opacity: 0.5;
--shadow-raised-opacity: 1;
--shadow-lifted-opacity: 0.75;
- --backdrop-norm: fadeout(@crust, 50%);
+ --backdrop-norm: fade(@crust, 50%);
--optional-scrollbar-thumb-color: @surface0;
--optional-scrollbar-thumb-hover-color: @surface2;
--optional-link-norm: var(--interaction-norm-major-1);
diff --git a/styles/pypi/catppuccin.user.less b/styles/pypi/catppuccin.user.less
index b87c4cba..8e70c69d 100644
--- a/styles/pypi/catppuccin.user.less
+++ b/styles/pypi/catppuccin.user.less
@@ -18,46 +18,43 @@
@-moz-document domain("pypi.org") {
@import url("https://python.catppuccin.com/pygments/catppuccin-variables.important.css");
- @media (prefers-color-scheme: light) {
- :root {
- #catppuccin(@lightFlavor, @accentColor);
+ :root {
+ @media (prefers-color-scheme: light) {
+ #catppuccin(@lightFlavor);
+ }
+ @media (prefers-color-scheme: dark) {
+ #catppuccin(@darkFlavor);
}
}
- @media (prefers-color-scheme: dark) {
- :root {
- #catppuccin(@darkFlavor, @accentColor);
- }
- }
-
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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;
@@ -86,10 +83,10 @@
--ctp-mantle: @mantle;
--ctp-crust: @crust;
- color-scheme: if(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
color: unset;
}
@@ -115,8 +112,8 @@
&:active,
&:focus,
&:hover {
- border-color: @accent-color !important;
- box-shadow: inset 0 0 0 1px @accent-color !important;
+ border-color: @accent !important;
+ box-shadow: inset 0 0 0 1px @accent !important;
}
}
@@ -146,7 +143,7 @@
}
.accordion__link {
- color: @accent-color !important;
+ color: @accent !important;
}
.password-strength {
@@ -155,7 +152,7 @@
.accordion__link:active,
.accordion__link:focus {
- outline-color: @accent-color !important;
+ outline-color: @accent !important;
outline-style: solid;
}
@@ -178,7 +175,7 @@
.footer__menu li a {
&:active,
&:focus {
- outline-color: @accent-color !important;
+ outline-color: @accent !important;
}
}
@@ -198,14 +195,14 @@
.footer__menu li a,
.footer__text a,
.language-switcher ul button {
- color: @accent-color !important;
+ color: @accent !important;
}
.footer__text a,
.language-switcher ul button {
&:active,
&:focus {
- outline-color: @accent-color !important;
+ outline-color: @accent !important;
}
}
@@ -246,7 +243,7 @@
}
.dropdown__content {
- border-color: @accent-color !important;
+ border-color: @accent !important;
box-shadow: none !important;
}
@@ -273,15 +270,15 @@
.horizontal-menu__link:active,
.horizontal-menu__link:focus {
- outline-color: @accent-color !important;
+ outline-color: @accent !important;
}
.horizontal-menu--light .horizontal-menu__link {
- color: @accent-color !important;
+ color: @accent !important;
}
.horizontal-menu--light .horizontal-menu__link:hover {
- text-decoration-color: @accent-color !important;
+ text-decoration-color: @accent !important;
}
.sponsors,
@@ -326,10 +323,10 @@
.button--primary:active,
.button--primary:focus,
.button--primary:hover {
- background-color: @accent-color !important;
- border-color: @accent-color !important;
+ background-color: @accent !important;
+ border-color: @accent !important;
color: @base !important;
- outline-color: @accent-color !important;
+ outline-color: @accent !important;
}
.danger {
@@ -337,8 +334,8 @@
}
.notification-bar {
- background-color: @accent-color !important;
- border-bottom-color: @accent-color !important;
+ background-color: @accent !important;
+ border-bottom-color: @accent !important;
color: @base !important;
}
@@ -387,11 +384,11 @@
}
.callout-block {
- border-color: @accent-color !important;
+ border-color: @accent !important;
}
.callout-block::before {
- background-color: @accent-color !important;
+ background-color: @accent !important;
}
.callout-block--danger {
@@ -429,12 +426,12 @@
}
.faq-group h3::before {
- color: @accent-color !important;
+ color: @accent !important;
}
.badge {
- background-color: @accent-color !important;
- border-color: @accent-color !important;
+ background-color: @accent !important;
+ border-color: @accent !important;
color: @base !important;
}
@@ -445,7 +442,7 @@
.badge:active,
.badge:focus {
border-color: @base !important;
- outline-color: @accent-color !important;
+ outline-color: @accent !important;
}
.badge--success {
@@ -476,24 +473,24 @@
.table--collaborators .table__user-text > * {
background-image: linear-gradient(
90deg,
- @accent-color,
- @accent-color
+ @accent,
+ @accent
) !important;
- color: @accent-color !important;
+ color: @accent !important;
}
.table--collaborators .table__user-text > :hover {
background-image: linear-gradient(
90deg,
- @accent-color,
- @accent-color
+ @accent,
+ @accent
) !important;
- color: @accent-color !important;
+ color: @accent !important;
}
.table--collaborators .table__user-text > :active,
.table--collaborators .table__user-text > :focus {
- outline-color: @accent-color !important;
+ outline-color: @accent !important;
}
@media (max-width: 600px) {
@@ -569,7 +566,7 @@
.sponsor-grid__sponsor--invitation,
.sponsor-grid__sponsor--invitation:hover {
- border-color: @accent-color !important;
+ border-color: @accent !important;
}
.sponsor-grid__sponsor-activity {
@@ -577,16 +574,16 @@
}
.sponsor-package {
- border-color: @accent-color !important;
+ border-color: @accent !important;
}
.sponsor-package__header {
- background-color: @accent-color !important;
+ background-color: @accent !important;
color: @base !important;
}
.sponsor-package__icon {
- background-color: @accent-color !important;
+ background-color: @accent !important;
}
.mobile-search {
@@ -730,13 +727,13 @@
}
.vertical-tabs__tab:hover {
- color: @accent-color !important;
+ color: @accent !important;
}
.vertical-tabs__tab:active,
.vertical-tabs__tab:focus {
box-shadow: 0 0 0 2px @crust !important;
- outline-color: @accent-color !important;
+ outline-color: @accent !important;
}
@media (max-width: 800px) {
@@ -749,11 +746,11 @@
.vertical-tabs__tab--is-active,
.vertical-tabs__tab--is-active:hover {
background: @crust !important;
- color: @accent-color !important;
+ color: @accent !important;
}
.vertical-tabs__content:focus {
- outline-color: @accent-color !important;
+ outline-color: @accent !important;
}
.verified small {
@@ -762,22 +759,22 @@
.sidebar-section .sidebar-section__user-gravatar:active,
.sidebar-section .sidebar-section__user-gravatar:focus {
- outline-color: @accent-color !important;
+ outline-color: @accent !important;
}
.sidebar-section__user-gravatar-text,
.sidebar-section__user-gravatar-text:hover {
background-image: linear-gradient(
90deg,
- @accent-color,
- @accent-color
+ @accent,
+ @accent
) !important;
- color: @accent-color !important;
+ color: @accent !important;
}
.sidebar-section__user-gravatar-text:active,
.sidebar-section__user-gravatar-text:focus {
- outline-color: @accent-color !important;
+ outline-color: @accent !important;
}
.sidebar-section {
@@ -829,7 +826,7 @@
.viewport-section--ee .viewport-section__heading {
background-color: @base !important;
- color: @accent-color !important;
+ color: @accent !important;
}
.viewport-section--ee
@@ -905,7 +902,7 @@
}
.filter-badge {
- background-color: @accent-color;
+ background-color: @accent;
&,
.filter-badge__remove-button,
@@ -914,13 +911,13 @@
}
.filter-badge__remove-button {
border-left-color: if(
- @lookup = latte,
- lighten(@accent-color, 10%),
- darken(@accent-color, 5%)
+ @flavor = latte,
+ lighten(@accent, 10%),
+ darken(@accent, 5%)
);
&:hover {
- background-color: darken(@accent-color, 10%);
+ background-color: darken(@accent, 10%);
}
}
}
@@ -960,7 +957,7 @@
.release__node[src*="blue"] {
@svg: escape(
- ''
+ ''
);
content: url("data:image/svg+xml,@{svg}");
background-color: @mantle !important;
diff --git a/styles/pythonanywhere/catppuccin.user.less b/styles/pythonanywhere/catppuccin.user.less
index 847f6fac..540c2fad 100644
--- a/styles/pythonanywhere/catppuccin.user.less
+++ b/styles/pythonanywhere/catppuccin.user.less
@@ -27,49 +27,47 @@
url("https://chroma.catppuccin.com/@{darkFlavor}-chroma-style.css")
(prefers-color-scheme: dark);
- @media (prefers-color-scheme: light) {
- :root {
- #catppuccin(@lightFlavor, @accentColor);
+ :root {
+ @media (prefers-color-scheme: light) {
+ #catppuccin(@lightFlavor);
+ }
+ @media (prefers-color-scheme: dark) {
+ #catppuccin(@darkFlavor);
}
}
- @media (prefers-color-scheme: dark) {
- :root {
- #catppuccin(@darkFlavor, @accentColor);
- }
- }
+ #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];
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @red-filter: @catppuccin[@@lookup][@red-filter];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @green-filter: @catppuccin[@@lookup][@green-filter];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @text-filter: @catppuccin[@@lookup][@text-filter];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ @text-filter: @catppuccin-filters[@@flavor][@text];
+ @red-filter: @catppuccin-filters[@@flavor][@red];
+ @green-filter: @catppuccin-filters[@@flavor][@green];
--ctp-rosewater: @rosewater;
--ctp-flamingo: @flamingo;
@@ -98,10 +96,10 @@
--ctp-mantle: @mantle;
--ctp-crust: @crust;
- color-scheme: if(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -180,7 +178,7 @@
}
.ace_marker-layer .ace_selection {
- background: fade(@accent-color, 30%);
+ background: fade(@accent, 30%);
}
.ace_fold {
background-color: @surface0;
@@ -264,7 +262,7 @@
}
.ace_optionsMenuKey {
- color: @accent-color;
+ color: @accent;
}
}
@@ -276,9 +274,9 @@
}
.cursor-node {
- border-color: @accent-color !important;
+ border-color: @accent !important;
&[focus="true"] {
- background-color: @accent-color !important;
+ background-color: @accent !important;
}
}
@@ -291,17 +289,17 @@
x-row span {
/* Black & Bright Black */
&[style^="color: rgb(0, 0, 0);"] {
- color: if(@lookup = latte, @subtext1, @surface1) !important;
+ color: if(@flavor = latte, @subtext1, @surface1) !important;
}
&[style*="background-color: rgb(0, 0, 0);"] {
- background-color: if(@lookup = latte, @subtext1, @surface1) !important;
+ background-color: if(@flavor = latte, @subtext1, @surface1) !important;
}
&[style^="color: rgb(85, 87, 83);"] {
- color: if(@lookup = latte, @subtext1, @surface2) !important;
+ color: if(@flavor = latte, @subtext1, @surface2) !important;
}
&[style*="background-color: rgb(85, 87, 83);"] {
- background-color: if(@lookup = latte, @subtext1, @surface2) !important;
+ background-color: if(@flavor = latte, @subtext1, @surface2) !important;
}
/* Red and Bright Red */
@@ -390,21 +388,21 @@
/* White */
&[style^="color: rgb(211, 215, 207);"] {
- color: if(@lookup = latte, @surface2, @subtext1) !important;
+ color: if(@flavor = latte, @surface2, @subtext1) !important;
}
&[style*="background-color: rgb(211, 215, 207);"] {
- background-color: if(@lookup = latte, @surface2, @subtext1) !important;
+ background-color: if(@flavor = latte, @surface2, @subtext1) !important;
}
/* Bright White */
&[style^="color: rgb(238, 238, 236);"] {
- color: if(@lookup = latte, @surface1, @subtext0) !important;
+ color: if(@flavor = latte, @surface1, @subtext0) !important;
}
&[style*="background-color: rgb(238, 238, 236);"] {
- background-color: if(@lookup = latte, @surface1, @subtext0) !important;
+ background-color: if(@flavor = latte, @surface1, @subtext0) !important;
}
/* Dim White */
&[style^="color: rgb(141, 143, 138);"] {
- color: fade(if(@lookup = latte, @surface2, @subtext1), 80%) !important;
+ color: fade(if(@flavor = latte, @surface2, @subtext1), 80%) !important;
}
}
@@ -428,7 +426,7 @@
&,
&:hover,
&:focus {
- color: @accent-color;
+ color: @accent;
}
}
@@ -541,11 +539,11 @@
}
.gcsc-find-more-on-google {
- color: @accent-color;
+ color: @accent;
}
.gcsc-find-more-on-google-magnifier {
- fill: @accent-color;
+ fill: @accent;
}
.gsc-results .gsc-cursor-box .gsc-cursor-page {
@@ -566,7 +564,7 @@
&:hover,
&:focus,
b {
- color: @accent-color;
+ color: @accent;
}
}
@@ -584,7 +582,7 @@
}
.dashboard-panel__headline a {
- text-decoration-color: @accent-color;
+ text-decoration-color: @accent;
}
.dashboard-columns {
@@ -620,7 +618,7 @@
outline-style: solid;
&:focus {
- outline-color: @accent-color;
+ outline-color: @accent;
}
}
@@ -701,18 +699,18 @@
&.active,
&:hover {
color: @base;
- background-color: @accent-color;
+ background-color: @accent;
border-color: @surface0;
}
}
.label-primary {
- background-color: @accent-color;
+ background-color: @accent;
color: @crust;
}
.label-info {
- background-color: @accent-color;
+ background-color: @accent;
color: @crust;
}
@@ -746,12 +744,12 @@
}
.edit_value {
- color: @accent-color;
+ color: @accent;
}
.btn-info .badge,
.btn-primary .badge {
- color: @accent-color;
+ color: @accent;
background-color: @crust;
}
@@ -793,7 +791,7 @@
}
.alert-info {
- background-color: @accent-color;
+ background-color: @accent;
}
.alert-warning {
@@ -1015,7 +1013,7 @@
.sorted-up,
.sorted-down {
- color: @accent-color;
+ color: @accent;
}
.ui-widget-content {
@@ -1068,7 +1066,7 @@
}
&.bootstrap-switch-primary {
- background-color: @accent-color;
+ background-color: @accent;
}
}
}
@@ -1175,8 +1173,8 @@
}
.btn.btn-default {
- border-color: @accent-color;
- color: @accent-color;
+ border-color: @accent;
+ color: @accent;
background-color: @base;
&:hover,
@@ -1202,7 +1200,7 @@
&,
&:hover,
&:focus {
- color: @accent-color;
+ color: @accent;
}
}
@@ -1227,8 +1225,8 @@
}
.ui-state-highlight {
- border-color: @accent-color;
- background: @accent-color;
+ border-color: @accent;
+ background: @accent;
color: @base;
}
@@ -1240,7 +1238,7 @@
}
form .btn-link {
- color: @accent-color;
+ color: @accent;
}
.active a {
@@ -1297,7 +1295,7 @@
}
a {
- color: @accent-color;
+ color: @accent;
}
}
@@ -1309,7 +1307,7 @@
background-color: @base;
a {
- color: @accent-color !important;
+ color: @accent !important;
}
}
@@ -1318,7 +1316,7 @@
}
.console_table .info_tooltip {
- color: @accent-color;
+ color: @accent;
}
#id_console_name {
@@ -1391,15 +1389,15 @@
.pagination a,
#tipue_search_foot_boxes li.current,
#tipue_search_foot_boxes li a {
- background-color: @accent-color;
+ background-color: @accent;
color: @crust;
- border-color: @accent-color;
+ border-color: @accent;
}
button:disabled,
.pagination .disabled {
- background-color: darken(@accent-color, 5%);
- border-color: darken(@accent-color, 5%);
+ background-color: darken(@accent, 5%);
+ border-color: darken(@accent, 5%);
}
#tipue_search_input,
@@ -1432,9 +1430,9 @@
.pagination a,
#tipue_search_foot_boxes li.current,
#tipue_search_foot_boxes li a {
- background-color: @accent-color;
+ background-color: @accent;
color: @crust;
- border-color: @accent-color;
+ border-color: @accent;
}
img[src*="ssl.gstatic.com/ui/v1/disclosure/small-grey-disclosure-arrow-down.png"],
@@ -1465,7 +1463,7 @@
img[src$="/images/PA-logo.svg"] {
@svg: escape(
- ''
+ ''
);
content: url("data:image/svg+xml;utf8,@{svg}");
}
@@ -1474,8 +1472,16 @@
/* deno-fmt-ignore */
@catppuccin: {
- @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @red-filter: brightness(0) saturate(100%) invert(25%) sepia(97%) saturate(4962%) hue-rotate(337deg) brightness(81%) contrast(106%); @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @green-filter: brightness(0) saturate(100%) invert(47%) sepia(78%) saturate(440%) hue-rotate(63deg) brightness(94%) contrast(93%); @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @text-filter: brightness(0) saturate(100%) invert(30%) sepia(7%) saturate(1674%) hue-rotate(196deg) brightness(97%) contrast(91%); @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(68%) sepia(21%) saturate(4617%) hue-rotate(312deg) brightness(110%) contrast(81%); @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @green-filter: brightness(0) saturate(100%) invert(84%) sepia(22%) saturate(540%) hue-rotate(51deg) brightness(90%) contrast(92%); @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @text-filter: brightness(0) saturate(100%) invert(74%) sepia(16%) saturate(454%) hue-rotate(192deg) brightness(110%) contrast(92%); @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(61%) sepia(16%) saturate(1882%) hue-rotate(306deg) brightness(111%) contrast(86%); @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @green-filter: brightness(0) saturate(100%) invert(83%) sepia(35%) saturate(356%) hue-rotate(57deg) brightness(94%) contrast(88%); @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @text-filter: brightness(0) saturate(100%) invert(82%) sepia(77%) saturate(662%) hue-rotate(181deg) 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; @red-filter: brightness(0) saturate(100%) invert(58%) sepia(60%) saturate(462%) hue-rotate(299deg) brightness(107%) contrast(91%); @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @green-filter: brightness(0) saturate(100%) invert(95%) sepia(57%) saturate(525%) hue-rotate(47deg) brightness(93%) contrast(91%); @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @text-filter: brightness(0) saturate(100%) invert(88%) sepia(10%) saturate(1247%) hue-rotate(191deg) brightness(99%) contrast(93%); @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
+ @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 3a531a33..e7333758 100644
--- a/styles/quizlet/catppuccin.user.less
+++ b/styles/quizlet/catppuccin.user.less
@@ -16,50 +16,48 @@
==/UserStyle== */
@-moz-document domain("quizlet.com") {
- @media (prefers-color-scheme: light) {
- :root {
- #catppuccin(@lightFlavor, @accentColor);
+ :root {
+ @media (prefers-color-scheme: light) {
+ #catppuccin(@lightFlavor);
}
- }
- @media (prefers-color-scheme: dark) {
- :root {
- #catppuccin(@darkFlavor, @accentColor);
+ @media (prefers-color-scheme: dark) {
+ #catppuccin(@darkFlavor);
}
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
diff --git a/styles/raindrop/catppuccin.user.less b/styles/raindrop/catppuccin.user.less
index 5df1742d..6c0ddfd2 100644
--- a/styles/raindrop/catppuccin.user.less
+++ b/styles/raindrop/catppuccin.user.less
@@ -17,11 +17,11 @@
@-moz-document domain("app.raindrop.io") {
[data-theme="night"] {
- #catppuccin(@darkFlavor, @accentColor) !important;
+ #catppuccin(@darkFlavor) !important;
}
[data-theme="day"],
[data-theme="sunset"] {
- #catppuccin(@lightFlavor, @accentColor);
+ #catppuccin(@lightFlavor);
}
// theme selector previews
@@ -29,47 +29,47 @@
&[data-index="0"],
&[data-index="2"] > [class^="main-"],
&[data-index="3"] {
- #catppuccin(@lightFlavor, @accentColor) !important;
+ #catppuccin(@lightFlavor) !important;
}
&[data-index="1"],
&[data-index="2"] > [class^="sidebar-"] {
- #catppuccin(@darkFlavor, @accentColor) !important;
+ #catppuccin(@darkFlavor) !important;
}
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -84,7 +84,7 @@
--background-color: @base;
--disable-background-color: @crust;
--disable-text-color: @overlay1;
- --accent-color: @accent-color;
+ --accent-color: @accent;
--alternative-background-color: @mantle;
--sidebar-background-color: @mantle;
--hover-background-color: fade(@overlay0, 20%);
@@ -111,7 +111,7 @@
--filter-color: @subtext0;
[data-variant="active"] {
- background: fade(@accent-color, 10%) !important;
+ background: fade(@accent, 10%) !important;
}
// bookmark edit page header
[class^="header-"][data-fancy="true"] {
@@ -123,7 +123,7 @@
}
// bookmark edit page cover selector
[class^="cover-"] > [class^="more-"] {
- background: fade(@accent-color, 85%);
+ background: fade(@accent, 85%);
}
// add bookmark button text color
[title="Add Bookmark"] {
@@ -138,7 +138,7 @@
}
// dropping bookmark to collection color overlay
[class*="isDropping-"] {
- background-color: fade(@accent-color, 10%);
+ background-color: fade(@accent, 10%);
}
// sidebar background color
.svSidebar {
diff --git a/styles/reddit/catppuccin.user.less b/styles/reddit/catppuccin.user.less
index d25a24d7..b71b680f 100644
--- a/styles/reddit/catppuccin.user.less
+++ b/styles/reddit/catppuccin.user.less
@@ -21,7 +21,7 @@
:root:not(.theme-dark) .theme-beta,
:root:not(.theme-dark).theme-beta,
.theme-light {
- #catppuccin(@lightFlavor, @accentColor);
+ #catppuccin(@lightFlavor);
}
:root:not(.theme-light) .theme-rpl,
@@ -29,42 +29,42 @@
:root:not(.theme-light) .theme-beta,
:root:not(.theme-light).theme-beta,
.theme-dark {
- #catppuccin(@darkFlavor, @accentColor);
+ #catppuccin(@darkFlavor);
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -96,12 +96,12 @@
--color-neutral-border-medium: @surface0 !important;
--color-neutral-border-weak: @surface0 !important;
--color-neutral-border-strong: @surface2 !important;
- --color-primary: @accent-color !important;
- --color-primary-hover: lighten(@accent-color, 10%) !important;
+ --color-primary: @accent !important;
+ --color-primary-hover: lighten(@accent, 10%) !important;
--color-primary-visited: @lavender !important;
- --color-primary-background: @accent-color !important;
- --color-primary-background-hover: darken(@accent-color, 5%) !important;
- --color-primary-background-selected: darken(@accent-color, 5%) !important;
+ --color-primary-background: @accent !important;
+ --color-primary-background-hover: darken(@accent, 5%) !important;
+ --color-primary-background-selected: darken(@accent, 5%) !important;
--color-primary-onBackground: @base !important;
--color-primary-onBackground-selected: @crust !important;
--color-secondary: @subtext0 !important;
@@ -114,8 +114,8 @@
--color-secondary-plain: @subtext0 !important;
--color-secondary-plain-hover: @subtext1 !important;
--color-danger-background: @red !important;
- --color-danger-background-disabled: fadeout(@red, 80%) !important;
- --color-danger-background-hover: fadeout(@red, 2%) !important;
+ --color-danger-background-disabled: fade(@red, 20%) !important;
+ --color-danger-background-hover: fade(@red, 98%) !important;
--color-danger-onBackground: @text !important;
--color-danger-content: @red !important;
--color-danger-content-default: @crust;
@@ -130,11 +130,11 @@
--color-warning-onBackground: @base !important;
--color-warning-background: @yellow !important;
--color-warning-background-hover: darken(@yellow, 2%) !important;
- --color-upvote-content: @accent-color !important;
+ --color-upvote-content: @accent !important;
--color-upvote-disabled: @subtext0 !important;
--color-upvote-onBackground: @text !important;
--color-upvote-background: @base !important;
- --color-upvote-background-hover: darken(@accent-color, 5%) !important;
+ --color-upvote-background-hover: darken(@accent, 5%) !important;
--color-upvote-background-disabled: @base !important;
--color-downvote-content: @text !important;
--color-downvote-content-weak: @text !important;
@@ -150,23 +150,23 @@
--color-tone-5: @surface1 !important;
--color-tone-6: @surface2 !important;
--color-tone-7: @base !important;
- --color-avatar-gradient: @accent-color !important;
- --color-transparent-background-hover: fadeout(@surface0, 70%) !important;
- --color-opacity-50: fadeout(@base, 50%) !important;
- --color-online: @accent-color !important;
- --color-favorite: @accent-color !important;
- --color-brand-background: @accent-color !important;
- --color-brand-background-hover: darken(@accent-color, 5%) !important;
+ --color-avatar-gradient: @accent !important;
+ --color-transparent-background-hover: fade(@surface0, 30%) !important;
+ --color-opacity-50: fade(@base, 50%) !important;
+ --color-online: @accent !important;
+ --color-favorite: @accent !important;
+ --color-brand-background: @accent !important;
+ --color-brand-background-hover: darken(@accent, 5%) !important;
--color-brand-onBackground: @crust !important;
- --color-global-orangered: @accent-color !important;
- --color-action-upvote: @accent-color !important;
+ --color-global-orangered: @accent !important;
+ --color-action-upvote: @accent !important;
--color-action-downvote: @blue;
--color-banner-error-text: @base !important;
- --shreddit-color-wordmark: @accent-color;
+ --shreddit-color-wordmark: @accent;
#reddit-logo {
circle[fill="#FF4500"] {
- fill: @accent-color !important;
+ fill: @accent !important;
}
path[fill="#FFF"] {
fill: @crust !important;
@@ -179,20 +179,20 @@
div[class^="subredditvars"] {
--color-online: @green !important;
--newCommunityTheme-actionIcon: @subtext0 !important;
- --newCommunityTheme-actionIconAlpha20: fadeout(@crust, 20%) !important;
- --newCommunityTheme-actionIconAlpha50: fadeout(@crust, 20%) !important;
+ --newCommunityTheme-actionIconAlpha20: fade(@crust, 80%) !important;
+ --newCommunityTheme-actionIconAlpha50: fade(@crust, 80%) !important;
--newCommunityTheme-actionIconShaded80: @subtext0 !important;
--newCommunityTheme-actionIconTinted80: @subtext1 !important;
- --newCommunityTheme-active: @accent-color !important;
- --newCommunityTheme-activeAlpha10: fadeout(@crust, 20%) !important;
- --newCommunityTheme-activeAlpha20: fadeout(@crust, 20%) !important;
- --newCommunityTheme-activeAlpha50: fadeout(@crust, 20%) !important;
- --newCommunityTheme-activeLight60: @accent-color !important;
- --newCommunityTheme-activeShaded80: @accent-color !important;
- --newCommunityTheme-activeShaded90: @accent-color !important;
+ --newCommunityTheme-active: @accent !important;
+ --newCommunityTheme-activeAlpha10: fade(@crust, 80%) !important;
+ --newCommunityTheme-activeAlpha20: fade(@crust, 80%) !important;
+ --newCommunityTheme-activeAlpha50: fade(@crust, 80%) !important;
+ --newCommunityTheme-activeLight60: @accent !important;
+ --newCommunityTheme-activeShaded80: @accent !important;
+ --newCommunityTheme-activeShaded90: @accent !important;
--newCommunityTheme-activeTinted05: @text !important;
- --newCommunityTheme-banner-backgroundColor: @accent-color !important;
- --newCommunityTheme-banner-iconColor: @accent-color !important;
+ --newCommunityTheme-banner-backgroundColor: @accent !important;
+ --newCommunityTheme-banner-iconColor: @accent !important;
--newCommunityTheme-body: @mantle !important;
--newCommunityTheme-bodyAlpha50: @surface0 !important;
--newCommunityTheme-bodyAlpha70: @surface1 !important;
@@ -207,35 +207,35 @@
--newCommunityTheme-bodyTinted50: @overlay1 !important;
--newCommunityTheme-bodyTinted80: @overlay0 !important;
--newCommunityTheme-button: @text !important;
- --newCommunityTheme-buttonAlpha05: fadeout(@crust, 20%) !important;
- --newCommunityTheme-buttonAlpha10: fadeout(@crust, 20%) !important;
- --newCommunityTheme-buttonAlpha20: fadeout(@crust, 20%) !important;
+ --newCommunityTheme-buttonAlpha05: fade(@crust, 80%) !important;
+ --newCommunityTheme-buttonAlpha10: fade(@crust, 80%) !important;
+ --newCommunityTheme-buttonAlpha20: fade(@crust, 80%) !important;
--newCommunityTheme-buttonAlpha40: @subtext0 !important;
--newCommunityTheme-buttonAlpha50: @subtext1 !important;
--newCommunityTheme-buttonAlpha80: @subtext1 !important;
--newCommunityTheme-buttonShaded80: @overlay0 !important;
- --newCommunityTheme-buttonTinted20: @accent-color !important;
- --newCommunityTheme-buttonTinted50: @accent-color !important;
- --newCommunityTheme-buttonTinted80: @accent-color !important;
+ --newCommunityTheme-buttonTinted20: @accent !important;
+ --newCommunityTheme-buttonTinted50: @accent !important;
+ --newCommunityTheme-buttonTinted80: @accent !important;
--newCommunityTheme-canvas: @crust !important;
--newCommunityTheme-checkbox: @text !important;
--newCommunityTheme-errorText: @red !important;
--newCommunityTheme-field: @surface0 !important;
- --newCommunityTheme-fieldFade: fadeout(@surface1, 30%) !important;
- --newCommunityTheme-flair: @accent-color !important;
+ --newCommunityTheme-fieldFade: fade(@surface1, 70%) !important;
+ --newCommunityTheme-flair: @accent !important;
--newCommunityTheme-highlight: @base !important;
--newCommunityTheme-inactive: @subtext0 !important;
--newCommunityTheme-lightText: @text !important;
--newCommunityTheme-lightTextAlpha75: @subtext1 !important;
- --newCommunityTheme-line: fadeout(@surface1, 30%) !important;
- --newCommunityTheme-lineShaded80: fadeout(@surface1, 30%) !important;
- --newCommunityTheme-lineShaded90: fadeout(@surface1, 30%) !important;
- --newCommunityTheme-lineShadedNinety: fadeout(@surface1, 30%) !important;
- --newCommunityTheme-linkText: @accent-color !important;
- --newCommunityTheme-linkTextAlpha80: @accent-color !important;
- --newCommunityTheme-linkTextShaded80: @accent-color !important;
- --newCommunityTheme-linkTextTinted80: @accent-color !important;
- --newCommunityTheme-linkTextWithBody: @accent-color !important;
+ --newCommunityTheme-line: fade(@surface1, 70%) !important;
+ --newCommunityTheme-lineShaded80: fade(@surface1, 70%) !important;
+ --newCommunityTheme-lineShaded90: fade(@surface1, 70%) !important;
+ --newCommunityTheme-lineShadedNinety: fade(@surface1, 70%) !important;
+ --newCommunityTheme-linkText: @accent !important;
+ --newCommunityTheme-linkTextAlpha80: @accent !important;
+ --newCommunityTheme-linkTextShaded80: @accent !important;
+ --newCommunityTheme-linkTextTinted80: @accent !important;
+ --newCommunityTheme-linkTextWithBody: @accent !important;
--newCommunityTheme-menu: @mantle !important;
--newCommunityTheme-menuActiveText: @text !important;
--newCommunityTheme-menuButtonBackground-active: @base !important;
@@ -245,7 +245,7 @@
--newCommunityTheme-metaText: @subtext0 !important;
--newCommunityTheme-metaTextAlpha50: @subtext0 !important;
--newCommunityTheme-metaTextShaded80: @subtext0 !important;
- --newCommunityTheme-monospaceColor: @accent-color !important;
+ --newCommunityTheme-monospaceColor: @accent !important;
--newCommunityTheme-navBar-activeLink: @text !important;
--newCommunityTheme-navBar-activeSubmenuCaret: @text !important;
--newCommunityTheme-navBar-activeSubmenuLink: @text !important;
@@ -258,7 +258,7 @@
--newCommunityTheme-navIcon: @text !important;
/* upvote/downvote focus */
- --newCommunityTheme-navIconFaded10: fadeout(@crust, 20%) !important;
+ --newCommunityTheme-navIconFaded10: fade(@crust, 80%) !important;
--newCommunityTheme-nsfw: @red !important;
--newCommunityTheme-nsfwBlocking-bgcolor: @crust !important;
@@ -270,10 +270,10 @@
--newCommunityTheme-post: @mantle !important;
--newCommunityTheme-postError: @red !important;
--newCommunityTheme-postFlairText: @crust !important;
- --newCommunityTheme-postIcon: @accent-color !important;
- --newCommunityTheme-postLine: fadeout(@surface1, 30%) !important;
- --newCommunityTheme-postLineShaded80: fadeout(@surface1, 30%) !important;
- --newCommunityTheme-postLineShaded90: fadeout(@surface1, 30%) !important;
+ --newCommunityTheme-postIcon: @accent !important;
+ --newCommunityTheme-postLine: fade(@surface1, 70%) !important;
+ --newCommunityTheme-postLineShaded80: fade(@surface1, 70%) !important;
+ --newCommunityTheme-postLineShaded90: fade(@surface1, 70%) !important;
--newCommunityTheme-postTinted20: @base !important;
--newCommunityTheme-postTransparent20: @base !important;
--newCommunityTheme-primaryButtonShadedEighty: @overlay1 !important;
@@ -282,14 +282,14 @@
--newCommunityTheme-primaryButtonTintedSixty: @overlay0 !important;
--newCommunityTheme-quarantine: @yellow !important;
--newCommunityTheme-report: @surface1 !important;
- --newCommunityTheme-search-syntaxHighlightBackgroundColor: @accent-color
+ --newCommunityTheme-search-syntaxHighlightBackgroundColor: @accent
!important;
--newCommunityTheme-search-syntaxHighlightColor: @base !important;
--newCommunityTheme-titleText: @text !important;
--newCommunityTheme-upsell-appleIcon: @subtext1 !important;
- --newCommunityTheme-upsell-ssoButtonBorderColor: fadeout(
+ --newCommunityTheme-upsell-ssoButtonBorderColor: fade(
@surface1,
- 30%
+ 70%
) !important;
--newCommunityTheme-upsell-ssoButtonTextColor: @text !important;
--newCommunityTheme-voteText-base: @subtext0 !important;
@@ -300,17 +300,17 @@
--newCommunityTheme-voteText-upvoteShaded80: @red !important;
--newCommunityTheme-voteText-upvoteTinted80: @red !important;
--newCommunityTheme-widgetColors-appleIcon: @overlay0 !important;
- --newCommunityTheme-widgetColors-lineColor: fadeout(
+ --newCommunityTheme-widgetColors-lineColor: fade(
@surface1,
- 30%
+ 70%
) !important;
/* sidebar widgets */
--newCommunityTheme-widgetColors-sidebarWidgetBackgroundColor: @mantle
!important;
- --newCommunityTheme-widgetColors-sidebarWidgetBorderColor: fadeout(
+ --newCommunityTheme-widgetColors-sidebarWidgetBorderColor: fade(
@surface1,
- 30%
+ 70%
) !important;
--newCommunityTheme-widgetColors-sidebarWidgetHeaderColor: @crust
!important;
@@ -323,50 +323,50 @@
!important;
--newRedditTheme-actionIcon: @subtext0 !important;
- --newRedditTheme-actionIconAlpha20: fadeout(@crust, 20%) !important;
- --newRedditTheme-actionIconAlpha50: fadeout(@crust, 20%) !important;
+ --newRedditTheme-actionIconAlpha20: fade(@crust, 80%) !important;
+ --newRedditTheme-actionIconAlpha50: fade(@crust, 80%) !important;
--newRedditTheme-actionIconShaded80: @subtext0 !important;
--newRedditTheme-actionIconTinted80: @subtext1 !important;
- --newRedditTheme-active: @accent-color !important;
- --newRedditTheme-activeAlpha10: fadeout(@crust, 20%) !important;
- --newRedditTheme-activeAlpha20: fadeout(@crust, 20%) !important;
- --newRedditTheme-activeAlpha50: fadeout(@crust, 20%) !important;
- --newRedditTheme-activeLight60: @accent-color !important;
- --newRedditTheme-activeShaded80: @accent-color !important;
- --newRedditTheme-activeShaded90: @accent-color !important;
+ --newRedditTheme-active: @accent !important;
+ --newRedditTheme-activeAlpha10: fade(@crust, 80%) !important;
+ --newRedditTheme-activeAlpha20: fade(@crust, 80%) !important;
+ --newRedditTheme-activeAlpha50: fade(@crust, 80%) !important;
+ --newRedditTheme-activeLight60: @accent !important;
+ --newRedditTheme-activeShaded80: @accent !important;
+ --newRedditTheme-activeShaded90: @accent !important;
--newRedditTheme-activeTinted05: @text !important;
- --newRedditTheme-banner-backgroundColor: @accent-color !important;
- --newRedditTheme-banner-iconColor: @accent-color !important;
+ --newRedditTheme-banner-backgroundColor: @accent !important;
+ --newRedditTheme-banner-iconColor: @accent !important;
--newRedditTheme-body: @mantle !important;
--newRedditTheme-bodyAlpha50: @surface0 !important;
--newRedditTheme-bodyAlpha70: @surface1 !important;
--newRedditTheme-bodyAlpha80: @surface2 !important;
- --newRedditTheme-bodyFade: fadeout(@crust, 20%) !important;
+ --newRedditTheme-bodyFade: fade(@crust, 80%) !important;
--newRedditTheme-bodyShaded80: @mantle !important;
--newRedditTheme-bodyText: @text !important;
- --newRedditTheme-bodyTextAlpha03: fadeout(@crust, 20%) !important;
+ --newRedditTheme-bodyTextAlpha03: fade(@crust, 80%) !important;
--newRedditTheme-bodyTextAlpha20: @surface1 !important;
--newRedditTheme-bodyTextShaded20: @surface0 !important;
--newRedditTheme-bodyTextTinted20: @subtext1 !important;
--newRedditTheme-bodyTinted50: @overlay0 !important;
--newRedditTheme-bodyTinted80: @overlay1 !important;
--newRedditTheme-button: @text !important;
- --newRedditTheme-buttonAlpha05: fadeout(@crust, 20%) !important;
- --newRedditTheme-buttonAlpha10: fadeout(@crust, 20%) !important;
- --newRedditTheme-buttonAlpha20: fadeout(@crust, 20%) !important;
+ --newRedditTheme-buttonAlpha05: fade(@crust, 80%) !important;
+ --newRedditTheme-buttonAlpha10: fade(@crust, 80%) !important;
+ --newRedditTheme-buttonAlpha20: fade(@crust, 80%) !important;
--newRedditTheme-buttonAlpha40: @subtext0 !important;
--newRedditTheme-buttonAlpha50: @subtext1 !important;
--newRedditTheme-buttonAlpha80: @subtext1 !important;
--newRedditTheme-buttonShaded80: @overlay0 !important;
- --newRedditTheme-buttonTinted20: @accent-color !important;
- --newRedditTheme-buttonTinted50: @accent-color !important;
- --newRedditTheme-buttonTinted80: @accent-color !important;
+ --newRedditTheme-buttonTinted20: @accent !important;
+ --newRedditTheme-buttonTinted50: @accent !important;
+ --newRedditTheme-buttonTinted80: @accent !important;
--newRedditTheme-canvas: @crust !important;
--newRedditTheme-checkbox: @text !important;
--newRedditTheme-errorText: @red !important;
--newRedditTheme-field: @base !important;
--newRedditTheme-fieldFade: @mantle !important;
- --newRedditTheme-flair: @accent-color !important;
+ --newRedditTheme-flair: @accent !important;
/* controls menu, link, and other similar highlights. very important */
--newRedditTheme-highlight: @base !important;
@@ -374,30 +374,30 @@
--newRedditTheme-inactive: @surface0 !important;
--newRedditTheme-lightText: @text !important;
--newRedditTheme-lightTextAlpha75: @subtext1 !important;
- --newRedditTheme-line: fadeout(@surface1, 30%) !important;
- --newRedditTheme-lineShaded80: fadeout(@surface1, 30%) !important;
- --newRedditTheme-lineShaded90: fadeout(@surface1, 30%) !important;
- --newRedditTheme-lineShadedNinety: fadeout(@surface1, 30%) !important;
+ --newRedditTheme-line: fade(@surface1, 70%) !important;
+ --newRedditTheme-lineShaded80: fade(@surface1, 70%) !important;
+ --newRedditTheme-lineShaded90: fade(@surface1, 70%) !important;
+ --newRedditTheme-lineShadedNinety: fade(@surface1, 70%) !important;
/* links */
- --newRedditTheme-linkText: @accent-color !important;
- --newRedditTheme-linkTextAlpha80: @accent-color !important;
- --newRedditTheme-linkTextShaded80: @accent-color !important;
- --newRedditTheme-linkTextTinted80: @accent-color !important;
- --newRedditTheme-linkTextWithBody: @accent-color !important;
+ --newRedditTheme-linkText: @accent !important;
+ --newRedditTheme-linkTextAlpha80: @accent !important;
+ --newRedditTheme-linkTextShaded80: @accent !important;
+ --newRedditTheme-linkTextTinted80: @accent !important;
+ --newRedditTheme-linkTextWithBody: @accent !important;
/* menus */
--newRedditTheme-menu: @mantle !important;
--newRedditTheme-menuActiveText: @text !important;
- --newRedditTheme-menuButtonBackground-active: @accent-color !important;
+ --newRedditTheme-menuButtonBackground-active: @accent !important;
--newRedditTheme-menuButtonBackground-focus: @base !important;
--newRedditTheme-menuButtonBackground-hover: @base !important;
--newRedditTheme-menuInactiveText: @text !important;
--newRedditTheme-metaText: @subtext0 !important;
- --newRedditTheme-metaTextAlpha50: fadeout(@crust, 20%) !important;
+ --newRedditTheme-metaTextAlpha50: fade(@crust, 80%) !important;
--newRedditTheme-metaTextShaded80: @subtext1 !important;
- --newRedditTheme-monospaceColor: @accent-color !important;
+ --newRedditTheme-monospaceColor: @accent !important;
--newRedditTheme-navBar-activeLink: @text !important;
--newRedditTheme-navBar-activeSubmenuCaret: @text !important;
--newRedditTheme-navBar-activeSubmenuLink: @text !important;
@@ -408,7 +408,7 @@
--newRedditTheme-navBar-inactiveSubmenuLink: @text !important;
--newRedditTheme-navBar-submenuBackgroundColor: @mantle !important;
--newRedditTheme-navIcon: @text !important;
- --newRedditTheme-navIconFaded10: fadeout(@crust, 20%) !important;
+ --newRedditTheme-navIconFaded10: fade(@crust, 80%) !important;
--newRedditTheme-nsfw: @red !important;
--newRedditTheme-nsfwBlocking-bgcolor: @crust !important;
--newRedditTheme-nsfwBlocking-color: @text !important;
@@ -419,19 +419,19 @@
--newRedditTheme-post: @mantle !important;
--newRedditTheme-postError: @red !important;
--newRedditTheme-postFlairText: @text !important;
- --newRedditTheme-postIcon: @accent-color !important;
- --newRedditTheme-postLine: fadeout(@surface1, 30%) !important;
- --newRedditTheme-postLineShaded80: fadeout(@surface1, 30%) !important;
- --newRedditTheme-postLineShaded90: fadeout(@surface1, 30%) !important;
+ --newRedditTheme-postIcon: @accent !important;
+ --newRedditTheme-postLine: fade(@surface1, 70%) !important;
+ --newRedditTheme-postLineShaded80: fade(@surface1, 70%) !important;
+ --newRedditTheme-postLineShaded90: fade(@surface1, 70%) !important;
--newRedditTheme-postTinted20: @base !important;
- --newRedditTheme-postTransparent20: fadeout(@crust, 20%) !important;
+ --newRedditTheme-postTransparent20: fade(@crust, 80%) !important;
--newRedditTheme-primaryButtonShadedEighty: @surface1 !important;
--newRedditTheme-primaryButtonTintedEighty: @surface2 !important;
--newRedditTheme-primaryButtonTintedFifty: @surface1 !important;
--newRedditTheme-primaryButtonTintedSixty: @surface1 !important;
--newRedditTheme-quarantine: @yellow !important;
--newRedditTheme-report: @base !important;
- --newRedditTheme-search-syntaxHighlightBackgroundColor: @accent-color
+ --newRedditTheme-search-syntaxHighlightBackgroundColor: @accent
!important;
--newRedditTheme-search-syntaxHighlightColor: @base !important;
--newRedditTheme-titleText: @text !important;
@@ -446,20 +446,20 @@
--newRedditTheme-voteText-upvoteShaded80: @red !important;
--newRedditTheme-voteText-upvoteTinted80: @red !important;
--newRedditTheme-widgetColors-appleIcon: @overlay0 !important;
- --newRedditTheme-widgetColors-lineColor: fadeout(
+ --newRedditTheme-widgetColors-lineColor: fade(
@surface1,
- 30%
+ 70%
) !important;
--newRedditTheme-widgetColors-sidebarWidgetBackgroundColor: @mantle
!important;
- --newRedditTheme-widgetColors-sidebarWidgetBorderColor: fadeout(
+ --newRedditTheme-widgetColors-sidebarWidgetBorderColor: fade(
@surface1,
- 30%
+ 70%
) !important;
--newRedditTheme-widgetColors-sidebarWidgetHeaderColor: @crust !important;
- --newRedditTheme-widgetColors-sidebarWidgetHeaderColorAlpha60: fadeout(
+ --newRedditTheme-widgetColors-sidebarWidgetHeaderColorAlpha60: fade(
@crust,
- 20%
+ 80%
) !important;
--newRedditTheme-widgetColors-sidebarWidgetTextColor: @text !important;
--newRedditTheme-widgetColors-sidebarWidgetTextColorShaded80: @subtext1
@@ -472,19 +472,19 @@
/* reddit chat variables */
:root {
--activity-button-chatFilterColor: @surface0 !important;
- --activity-button-newChatFilter-activeBg: @accent-color !important;
+ --activity-button-newChatFilter-activeBg: @accent !important;
--activity-button-newChatFilter-activeText: @base !important;
--activity-button-newChatFilter-defaultBorder: @surface1 !important;
--activity-button-newChatFilter-defaultText: @text !important;
- --activity-button-primary: @accent-color !important;
+ --activity-button-primary: @accent !important;
--activity-button-secondary: @text !important;
- --activity-buttonPrimary-color: @accent-color !important;
- --activity-buttonSecondary-active: @accent-color !important;
- --activity-checkbox-checked: @accent-color !important;
+ --activity-buttonPrimary-color: @accent !important;
+ --activity-buttonSecondary-active: @accent !important;
+ --activity-checkbox-checked: @accent !important;
--activity-checkbox-checkmark: @text !important;
--activity-checkbox-unchecked: @base !important;
--activity-checkbox-uncheckedBorder: @surface1 !important;
- --activity-icon-active: @accent-color !important;
+ --activity-icon-active: @accent !important;
--activity-icon-contrast: @surface1 !important;
--activity-icon-default: @subtext0 !important;
--activity-icon-disable: @surface2 !important;
@@ -493,7 +493,7 @@
--activity-icon-nsfw-text: @text !important;
--activity-icon-subIcon-backgroundColor: @text !important;
--activity-icon-toaster: @crust !important;
- --activity-input-background: fadeout(@crust, 20%) !important;
+ --activity-input-background: fade(@crust, 80%) !important;
--activity-input-border: @surface1 !important;
--activity-input-channelRename: @subtext0 !important;
--activity-input-color: @subtext1 !important;
@@ -502,17 +502,17 @@
--activity-input-focusColor: @text !important;
--activity-input-ownerBg: @surface0 !important;
--activity-link-hoverText: @red !important;
- --activity-link-staticText: @accent-color !important;
- --activity-link-staticUnderline: @accent-color !important;
+ --activity-link-staticText: @accent !important;
+ --activity-link-staticUnderline: @accent !important;
--activity-minimizedPortal-backgroundColor-unreadFinal: @mantle
!important;
- --activity-minimizedPortal-backgroundColor-unreadInitial: @accent-color
+ --activity-minimizedPortal-backgroundColor-unreadInitial: @accent
!important;
--activity-minimizedPortal-color-unreadFinal: @text !important;
--activity-minimizedPortal-color-unreadInitial: @text !important;
--activity-send-disable: @surface0 !important;
- --activity-send-hover: @accent-color !important;
- --activity-text-active: @accent-color !important;
+ --activity-send-hover: @accent !important;
+ --activity-text-active: @accent !important;
--activity-text-fade: @subtext0 !important;
--activity-text-highlight: @text !important;
--activity-text-light: @subtext0 !important;
@@ -523,65 +523,65 @@
--activity-text-warning: @red !important;
--addReaction-backgroundColor: @surface0 !important;
--addReaction-iconFill: @surface1 !important;
- --boxShadow: fadeout(@crust, 20%) !important;
- --bubble-border: fadeout(@surface1, 30%) !important;
+ --boxShadow: fade(@crust, 80%) !important;
+ --bubble-border: fade(@surface1, 70%) !important;
--bubble-channelsFilter-background: @crust !important;
--bubble-channelsFilter-selected: @overlay0 !important;
--bubble-color: @text !important;
- --bubble-link-color: @accent-color !important;
+ --bubble-link-color: @accent !important;
--bubbleActions-hover: @surface0 !important;
--editName: @surface1 !important;
--layout-body: @mantle !important;
- --layout-colsBorder: fadeout(@surface1, 30%) !important;
- --layout-controlsBorder: fadeout(@surface1, 30%) !important;
- --layout-dropdown-border: fadeout(@surface1, 30%) !important;
+ --layout-colsBorder: fade(@surface1, 70%) !important;
+ --layout-controlsBorder: fade(@surface1, 70%) !important;
+ --layout-dropdown-border: fade(@surface1, 70%) !important;
--layout-header-counterBg: @red !important;
--layout-header-counterText: @text !important;
- --layout-overlayBackground: fadeout(@crust, 20%) !important;
- --layout-overlayReportFlow: fadeout(@crust, 20%) !important;
+ --layout-overlayBackground: fade(@crust, 80%) !important;
+ --layout-overlayReportFlow: fade(@crust, 80%) !important;
--layout-scrollbar: @text !important;
- --layout-scrollbarHover: @accent-color !important;
+ --layout-scrollbarHover: @accent !important;
--layout-timeStamp-tooltip-background: @surface0 !important;
--message-list-item-button: @surface1 !important;
--message-list-item-onlineIndicator: @green !important;
--message-list-item-ownerBg: @surface1 !important;
--message-list-item-richItem: @overlay0 !important;
- --message-list-item-richItemBorder: fadeout(@surface1, 30%) !important;
+ --message-list-item-richItemBorder: fade(@surface1, 70%) !important;
--message-list-item-white: @text !important;
--modal-buttonsBackground: @text !important;
--modal-primaryButtonWarning: @red !important;
--modal-secondaryButton: @text !important;
- --newChat-inviteLink-borderColor: fadeout(@surface1, 30%) !important;
+ --newChat-inviteLink-borderColor: fade(@surface1, 70%) !important;
--overlay-backgroundColor: @mantle !important;
--overlay-headerColor: @text !important;
--overlay-inputBackground: @crust !important;
--overlay-searchBarBackground: @mantle !important;
- --prompt-tooltip-background: @accent-color !important;
+ --prompt-tooltip-background: @accent !important;
--searchBar-backgroundColor: @mantle !important;
--settings-color: @subtext0 !important;
--settings-dropdownItemHoverBackground: @crust !important;
--settings-panelBackground: @crust !important;
--settings-panelItemHoverBackground: @surface0 !important;
--settings-panelItemSelectedBackground: @surface1 !important;
- --sidebar-background: fadeout(@surface1, 30%) !important;
- --sidebar-basic-background-active: @accent-color !important;
+ --sidebar-background: fade(@surface1, 70%) !important;
+ --sidebar-basic-background-active: @accent !important;
--sidebar-basic-background-hover: @mantle !important;
--sidebar-footer-background: @crust !important;
--sidebar-item-active: @surface1 !important;
--sidebar-item-hover: @surface0 !important;
--sidebar-item-selected: @surface2 !important;
--sidebar-item-text-active: @text !important;
- --sidebar-subreddit-background-active: @accent-color !important;
+ --sidebar-subreddit-background-active: @accent !important;
--sidebar-subreddit-background-hover: @surface1 !important;
--sidebar-text-divider: @surface1 !important;
--skeleton-field: @surface2 !important;
--skeleton-inactive: @surface0 !important;
- --subreddit-iconBg: @accent-color !important;
+ --subreddit-iconBg: @accent !important;
--toast-error: @red !important;
--toast-pending: @crust !important;
--toast-success: @green !important;
--uploads-progress-background: @subtext0 !important;
- --uploads-progress-bar: @accent-color !important;
+ --uploads-progress-bar: @accent !important;
--videoModal-button-background: @text !important;
--videoModal-button-color: @mantle !important;
}
@@ -641,7 +641,7 @@
/* cake day and followers icon */
i.icon-cake_fill,
i.icon-user_fill {
- color: @accent-color !important;
+ color: @accent !important;
}
/* add social links button readability tweak */
@@ -659,17 +659,17 @@
/* Beta Badge */
span._2KFJx8Dhh1o1u0Xb8e7NuD {
- color: @accent-color !important;
+ color: @accent !important;
}
/* Delete Account */
button.EBd2MhBQlQeZ13YeP0K8a {
- color: @accent-color !important;
+ color: @accent !important;
}
/* Delete Account Icon */
svg._1Fa4RPHlhrfUZuNaXK2-eP > path {
- fill: @accent-color !important;
+ fill: @accent !important;
}
/* blocked, muted input */
@@ -695,12 +695,12 @@
/* Tag Color */
.RESUserTagImage::after {
- color: @accent-color;
+ color: @accent;
}
/* mint status */
div._mintStatus_7kbcu_264 {
- color: @accent-color !important;
+ color: @accent !important;
}
/* carousel background */
@@ -730,7 +730,7 @@
}
div.MuiMobileStepper-dotActive {
- background: @accent-color !important;
+ background: @accent !important;
}
div._scrollContainer_7kbcu_104 > div > h3,
@@ -765,7 +765,7 @@
/* reddit logo */
a[aria-label="Home"] > svg > g > circle {
- fill: @accent-color !important;
+ fill: @accent !important;
}
a[aria-label="Home"] > svg:first-child > g > path {
@@ -783,7 +783,7 @@
/* notification icon */
button[aria-label="Open notifications inbox"] > div > span {
- background: @accent-color !important;
+ background: @accent !important;
color: @mantle !important;
}
@@ -799,7 +799,7 @@
/* reddit now notification */
a[href="/now"] > div {
- background: @accent-color !important;
+ background: @accent !important;
}
/* search scope pill text */
@@ -814,7 +814,7 @@
/* safe search toggle */
button#safe-search-toggle[aria-checked="true"] {
- background: @accent-color !important;
+ background: @accent !important;
}
/* NAVIGATION SIDEBAR */
@@ -840,7 +840,7 @@
/* favorites */
i.icon-star_fill {
- color: @accent-color !important;
+ color: @accent !important;
}
i.icon-star {
@@ -851,12 +851,12 @@
/* reddit premium icon */
i.icon-premium_fill {
- color: @accent-color !important;
+ color: @accent !important;
}
/* reddit premium try now button */
button._10BQ7pjWbeYP63SAPNS8Ts.q_unSaY23rpdd3lDvGZ- {
- background: @accent-color !important;
+ background: @accent !important;
color: @base !important;
}
@@ -985,7 +985,7 @@
/* REPORT MODAL */
a.o1ov2mzLxTFAFP-O4Uv8I {
- color: @accent-color !important;
+ color: @accent !important;
}
button._1lDGFVGU9k2mi-4kjU95Rp {
@@ -1001,7 +1001,7 @@
/* radio buttons (flair selector, etc.) */
div[role="radio"]:hover,
div[role="radio"]:focus {
- background: @accent-color !important;
+ background: @accent !important;
}
div[role="radio"] > svg,
@@ -1011,7 +1011,7 @@
/* checkboxes */
button[role="checkbox"] {
- fill: @accent-color !important;
+ fill: @accent !important;
}
/* SUBREDDIT RIGHT SIDEBAR (some styles carry over from the homepage right sidebar section) */
@@ -1024,7 +1024,7 @@
/* subreddit image background */
img[alt="Subreddit Icon"][role="presentation"] {
- background: @accent-color !important;
+ background: @accent !important;
}
/* border between uela */
@@ -1039,7 +1039,7 @@
/* default subreddit icon */
i.icon-community_fill {
- color: @accent-color !important;
+ color: @accent !important;
}
/* online users */
@@ -1077,7 +1077,7 @@
/* shade applied to background when clicking on a post with "open in new tab" disabled */
div._2DJXORCrmcNpPTSq0LqL6i,
div._1DK52RbaamLOWw5UPaht_S {
- background: fadeout(@crust, 20%) !important;
+ background: fade(@crust, 80%) !important;
}
/* gold award gradient */
@@ -1098,7 +1098,7 @@
/* image gallery image count */
div._61i6grM3um1yuw4GrN97P {
- background: fadeout(@crust, 20%) !important;
+ background: fade(@crust, 80%) !important;
color: @text !important;
}
@@ -1144,7 +1144,7 @@
.snoo-cls-7,
.snoo-cls-10,
.snoo-cls-11 {
- fill: @accent-color;
+ fill: @accent;
}
}
}
diff --git a/styles/rentry.co/catppuccin.user.less b/styles/rentry.co/catppuccin.user.less
index 4e89042b..e14f54d1 100644
--- a/styles/rentry.co/catppuccin.user.less
+++ b/styles/rentry.co/catppuccin.user.less
@@ -17,8 +17,9 @@
@-moz-document domain("rentry.org"), domain("rentry.co") {
@import url("https://python.catppuccin.com/pygments/catppuccin-variables.important.css");
+
.dark-mode {
- #catppuccin(@darkFlavor, @accentColor);
+ #catppuccin(@darkFlavor);
#darkModeBtn::before {
@svg: escape(
''
@@ -27,7 +28,7 @@
}
}
:root:not(.dark-mode) {
- #catppuccin(@lightFlavor, @accentColor);
+ #catppuccin(@lightFlavor);
#darkModeBtn::before {
@svg: escape(
''
@@ -36,34 +37,34 @@
}
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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;
@@ -92,10 +93,10 @@
--ctp-mantle: @mantle;
--ctp-crust: @crust;
- color-scheme: if(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -138,7 +139,7 @@
}
.input-error {
&,
- & + .CodeMirror-wrap {
+ + .CodeMirror-wrap {
box-shadow: @red 4px 0 inset !important;
}
}
@@ -330,7 +331,7 @@
&.tip {
color: @blue;
background: fade(@blue, 25%);
- & > .admonition-title::before {
+ > .admonition-title::before {
@svg: escape(
''
);
@@ -343,7 +344,7 @@
background-color: fade(@green, 25%);
&,
.admonition.greentext {
- & > .admonition-title::before {
+ > .admonition-title::before {
@svg: escape(
''
);
@@ -360,7 +361,7 @@
&.attention {
color: @yellow;
background-color: fade(@yellow, 25%);
- & > .admonition-title::before {
+ > .admonition-title::before {
@svg: escape(
''
);
@@ -371,7 +372,7 @@
&.error {
color: @red;
background-color: fade(@red, 25%);
- & > .admonition-title::before {
+ > .admonition-title::before {
@svg: escape(
''
);
@@ -423,50 +424,50 @@
@-moz-document regexp("https?://rentry\\.(co|org)/.+/(raw|exists)"),
url-prefix("https://rentry.co/static/"),
domain("export3.rentry.co") {
- @media (prefers-color-scheme: light) {
- :root {
- #catppuccin(@lightFlavor, @accentColor);
+ :root {
+ @media (prefers-color-scheme: light) {
+ #catppuccin(@lightFlavor);
+ }
+ @media (prefers-color-scheme: dark) {
+ #catppuccin(@darkFlavor);
}
}
- @media (prefers-color-scheme: dark) {
- :root {
- #catppuccin(@darkFlavor, @accentColor);
- }
- }
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
- color-scheme: if(@lookup = latte, light, dark);
+ #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-color, 30%);
+ background-color: fade(@accent, 30%);
}
+
body {
color: @text !important;
background: @base !important;
diff --git a/styles/searxng/catppuccin.user.less b/styles/searxng/catppuccin.user.less
index 30ef5a53..f1e50d7a 100644
--- a/styles/searxng/catppuccin.user.less
+++ b/styles/searxng/catppuccin.user.less
@@ -19,58 +19,55 @@
/* Domains picked from https://searx.space/. */
@-moz-document domain("search.bus-hit.me"), domain("search.inetol.net") {
- @media (prefers-color-scheme: light) {
- :root.theme-auto {
- #catppuccin(@lightFlavor, @accentColor);
+ :root.theme-auto {
+ @media (prefers-color-scheme: light) {
+ #catppuccin(@lightFlavor);
}
- }
-
- @media (prefers-color-scheme: dark) {
- :root.theme-auto {
- #catppuccin(@darkFlavor, @accentColor);
+ @media (prefers-color-scheme: dark) {
+ #catppuccin(@darkFlavor);
}
}
:root.theme-dark {
- #catppuccin(@darkFlavor, @accentColor);
+ #catppuccin(@darkFlavor);
}
:root.theme-light {
- #catppuccin(@lightFlavor, @accentColor);
+ #catppuccin(@lightFlavor);
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -83,8 +80,8 @@
--color-base-font: @text;
--color-base-background: @base;
--color-base-background-mobile: @base;
- --color-url-font: @accent-color;
- --color-url-visited-font: @accent-color;
+ --color-url-font: @accent;
+ --color-url-visited-font: @accent;
--color-header-background: @mantle;
--color-header-border: @mantle;
--color-footer-background: @mantle;
@@ -95,15 +92,15 @@
--color-backtotop-font: @subtext1;
--color-backtotop-border: @surface0;
--color-backtotop-background: @surface0;
- --color-btn-background: @accent-color;
+ --color-btn-background: @accent;
--color-btn-font: @base;
- --color-show-btn-background: @accent-color;
+ --color-show-btn-background: @accent;
--color-show-btn-font: @base;
--color-search-border: @surface0;
--color-search-shadow: 0 2px 8px @crust;
--color-search-background: @surface0;
--color-search-font: @text;
- --color-search-background-hover: @accent-color;
+ --color-search-background-hover: @accent;
--color-error: @red;
--color-error-background: @surface0;
--color-warning: @yellow;
@@ -111,7 +108,7 @@
--color-success: @green;
--color-success-background: @surface0;
--color-categories-item-selected-font: @text;
- --color-categories-item-border-selected: @accent-color;
+ --color-categories-item-border-selected: @accent;
--color-autocomplete-font: @subtext1;
--color-autocomplete-border: @surface0;
--color-autocomplete-shadow: 0 2px 8px @crust;
@@ -123,11 +120,11 @@
--color-result-border: @base;
--color-result-url-font: @subtext1;
--color-result-vim-selected: @surface0;
- --color-result-vim-arrow: @accent-color;
+ --color-result-vim-arrow: @accent;
--color-result-description-highlight-font: @text;
- --color-result-link-font: @accent-color;
- --color-result-link-font-highlight: @accent-color;
- --color-result-link-visited-font: @accent-color;
+ --color-result-link-font: @accent;
+ --color-result-link-font-highlight: @accent;
+ --color-result-link-visited-font: @accent;
--color-result-publishdate-font: @surface2;
--color-result-engines-font: @surface2;
--color-result-search-url-border: @surface2;
@@ -136,7 +133,7 @@
--color-result-detail-label-font: @subtext0;
--color-result-detail-background: @base;
--color-result-detail-hr: @base;
- --color-result-detail-link: @accent-color;
+ --color-result-detail-link: @accent;
--color-result-detail-loader-border: rgba(255, 255, 255, 0.2);
--color-result-detail-loader-borderleft: @crust;
--color-result-image-span-font: @text;
@@ -165,7 +162,7 @@
--color-toolkit-checkbox-onoff-off-mark-color: @mantle;
--color-toolkit-checkbox-label-background: @base;
--color-toolkit-checkbox-label-border: @mantle;
- --color-toolkit-checkbox-input-border: @accent-color;
+ --color-toolkit-checkbox-input-border: @accent;
--color-toolkit-engine-tooltip-border: @surface0;
--color-toolkit-engine-tooltip-background: @surface0;
--color-toolkit-loader-border: rgba(255, 255, 255, 0.2);
@@ -174,10 +171,10 @@
--color-doc-code-background: @mantle;
#search_logo svg :not([fill="none"]) {
- fill: @accent-color;
+ fill: @accent;
}
#search_logo svg :not([stroke="none"]) {
- stroke: @accent-color;
+ stroke: @accent;
}
& when (@additions = 1) {
diff --git a/styles/shinigami-eyes/catppuccin.user.less b/styles/shinigami-eyes/catppuccin.user.less
index 057ea1c2..49c80722 100644
--- a/styles/shinigami-eyes/catppuccin.user.less
+++ b/styles/shinigami-eyes/catppuccin.user.less
@@ -93,45 +93,43 @@ The list can be found at https://github.com/shinigami-eyes/shinigami-eyes/blob/b
domain("google.no"),
domain("google.pt"),
domain("google.se") {
- @media (prefers-color-scheme: light) {
- :root {
- #catppuccin(@lightFlavor, @accentColor);
+ :root {
+ @media (prefers-color-scheme: light) {
+ #catppuccin(@lightFlavor);
}
- }
- @media (prefers-color-scheme: dark) {
- :root {
- #catppuccin(@darkFlavor, @accentColor);
+ @media (prefers-color-scheme: dark) {
+ #catppuccin(@darkFlavor);
}
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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];
body {
--ShinigamiEyesTFriendly: @green !important;
diff --git a/styles/snapchat-web/catppuccin.user.less b/styles/snapchat-web/catppuccin.user.less
index 123d795c..1dda393e 100644
--- a/styles/snapchat-web/catppuccin.user.less
+++ b/styles/snapchat-web/catppuccin.user.less
@@ -17,45 +17,45 @@
@-moz-document domain("web.snapchat.com") {
:root[theme="dark"] {
- #catppuccin(@darkFlavor, @accentColor);
+ #catppuccin(@darkFlavor);
}
:root[theme="light"] {
- #catppuccin(@lightFlavor, @accentColor);
+ #catppuccin(@lightFlavor);
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -87,7 +87,7 @@
--sigBackgroundMessageSavedHover: @surface2;
--sigOverlay: fade(@overlay0, 40%);
--sigOverlayHover: fade(@overlay0, 35%);
- --sigBrandSecondary: @accent-color;
+ --sigBrandSecondary: @accent;
--sigTextPrimary: @text;
--sigButtonOnPrimary: @crust;
@@ -104,9 +104,9 @@
--sigButtonGreyHover: darken(@surface0, 5%);
--sigButtonGreyActive: darken(@surface0, 8%);
- --sigButtonPrimary: @accent-color;
- --sigButtonPrimaryHover: darken(@accent-color, 5%);
- --sigButtonPrimaryActive: darken(@accent-color, 8%);
+ --sigButtonPrimary: @accent;
+ --sigButtonPrimaryHover: darken(@accent, 5%);
+ --sigButtonPrimaryActive: darken(@accent, 8%);
--sigButtonSecondary: @surface0;
--sigButtonSecondaryHover: @surface1;
--sigButtonSecondaryActive: @surface2;
@@ -138,7 +138,7 @@
}
// replaces blue fill
path[fill="#51B7FF"] {
- fill: @accent-color;
+ fill: @accent;
}
}
diff --git a/styles/spotify-web/catppuccin.user.less b/styles/spotify-web/catppuccin.user.less
index e72a08d7..94128467 100644
--- a/styles/spotify-web/catppuccin.user.less
+++ b/styles/spotify-web/catppuccin.user.less
@@ -15,50 +15,48 @@
@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== */
@-moz-document domain("open.spotify.com") {
- @media (prefers-color-scheme: light) {
- :root {
- #catppuccin(@lightFlavor, @accentColor);
+ :root {
+ @media (prefers-color-scheme: light) {
+ #catppuccin(@lightFlavor);
}
- }
- @media (prefers-color-scheme: dark) {
- :root {
- #catppuccin(@darkFlavor, @accentColor);
+ @media (prefers-color-scheme: dark) {
+ #catppuccin(@darkFlavor);
}
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -87,14 +85,14 @@
--background-unsafe-for-small-text-press: @base;
--text-base: @text;
--text-subdued: @subtext1;
- --text-bright-accent: @accent-color;
+ --text-bright-accent: @accent;
--text-negative: @red;
--text-warning: @yellow;
- --text-positive: @accent-color;
+ --text-positive: @accent;
--text-announcement: @sapphire;
--essential-base: @text;
--essential-subdued: @subtext1;
- --essential-bright-accent: @accent-color;
+ --essential-bright-accent: @accent;
--essential-negative: @red;
--essential-warning: @yellow;
--essential-positive: @green;
@@ -108,19 +106,19 @@
--background-press: @surface1;
}
.encore-dark-theme .encore-bright-accent-set {
- --background-base: @accent-color;
- --background-highlight: @accent-color;
- --background-press: @accent-color;
- --background-elevated-base: @accent-color;
- --background-elevated-highlight: @accent-color;
- --background-elevated-press: @accent-color;
- --background-tinted-base: @accent-color;
- --background-tinted-highlight: @accent-color;
- --background-tinted-press: @accent-color;
- --background-unsafe-for-small-text-base: @accent-color;
- --background-unsafe-for-small-text-highlight: @accent-color;
- --background-unsafe-for-small-text-press: @accent-color;
- --decorative-subdued: darken(@accent-color, 10%);
+ --background-base: @accent;
+ --background-highlight: @accent;
+ --background-press: @accent;
+ --background-elevated-base: @accent;
+ --background-elevated-highlight: @accent;
+ --background-elevated-press: @accent;
+ --background-tinted-base: @accent;
+ --background-tinted-highlight: @accent;
+ --background-tinted-press: @accent;
+ --background-unsafe-for-small-text-base: @accent;
+ --background-unsafe-for-small-text-highlight: @accent;
+ --background-unsafe-for-small-text-press: @accent;
+ --decorative-subdued: darken(@accent, 10%);
}
.encore-dark-theme .encore-over-media-set {
--background-base: @mantle;
@@ -136,7 +134,7 @@
--background-tinted-highlight: @mantle;
--background-tinted-press: @mantle;
}
- & when (@lookup = latte) {
+ & when (@flavor = latte) {
.T1xI1RTSFU7Wu94UuvE6 * {
background: @surface0 !important;
}
@@ -195,7 +193,7 @@
}
.mjZrvVI3CxfHJXu7y0Lg,
.coBkWVskipFo8KxLKief .T1xI1RTSFU7Wu94UuvE6 {
- background-color: @accent-color !important;
+ background-color: @accent !important;
}
.ListRowTitle__LineClamp-sc-1xe2if1-0.lmgIvZ *,
.EaTxqhHk6J4ecKHwpY5m *,
@@ -358,13 +356,13 @@
background-color: @crust;
}
.S4OmZ_IZexmZ5dasPqW5 {
- background-color: @accent-color !important;
+ background-color: @accent !important;
}
.T1xI1RTSFU7Wu94UuvE6[style*="background-color:"] {
- background-color: @accent-color !important;
+ background-color: @accent !important;
}
.fIvMht6B9HdROywMNJZ4.hIFR8WDm_54EEIa1gwpC {
- background-color: @accent-color !important;
+ background-color: @accent !important;
}
// Explicit icon
.kpGMQq1KFz620g_BD_dS {
@@ -440,7 +438,7 @@
color: @text !important;
}
#onetrust-pc-sdk .ot-accordion-layout.ot-cat-item {
- border-color: @accent-color !important;
+ border-color: @accent !important;
border-radius: 8px;
}
#onetrust-consent-sdk
@@ -454,8 +452,8 @@
[aria-expanded],
.ot-link-btn
) {
- background-color: @accent-color !important;
- border-color: @accent-color !important;
+ background-color: @accent !important;
+ border-color: @accent !important;
}
// Vendors List
#onetrust-consent-sdk #onetrust-pc-sdk .ot-sel-all-hdr span {
@@ -463,21 +461,21 @@
}
#onetrust-pc-sdk input[type="text"] {
background-color: @mantle !important;
- border-color: @accent-color !important;
+ border-color: @accent !important;
}
#onetrust-pc-sdk .ot-pc-header,
#onetrust-pc-sdk ul li {
- border-bottom-color: @accent-color !important;
- border-top-color: @accent-color !important;
+ border-bottom-color: @accent !important;
+ border-top-color: @accent !important;
}
#ot-ven-lst {
- border-top-color: @accent-color !important;
+ border-top-color: @accent !important;
}
.ot-pc-footer {
- border-top-color: @accent-color !important;
+ border-top-color: @accent !important;
}
#onetrust-pc-sdk li > button {
- border-top-color: @accent-color !important;
+ border-top-color: @accent !important;
}
#onetrust-consent-sdk #onetrust-pc-sdk #ot-sel-blk {
background-color: @base !important;
@@ -516,19 +514,19 @@
.TywOcKZEqNynWecCiATc {
--bg-color: @surface1;
--fg-color: @text;
- --is-active-fg-color: @accent-color;
+ --is-active-fg-color: @accent;
}
a {
- color: @accent-color;
+ color: @accent;
}
.Ng3dPPA2_1CFYkzPukjM {
background: @blue;
}
.KAZD28usA1vPz5GVpm63.EHxL6K_6WWDlTCZP6x5w::after {
- background-color: @accent-color;
+ background-color: @accent;
}
.tippy-box[data-theme~="activation"] {
- background-color: @accent-color;
+ background-color: @accent;
color: @crust;
.c0KyMkxeMCWQGE7cR8s_ *,
.TextForLabel-sc-1jqya9m-0.kIsEKW {
@@ -548,7 +546,7 @@
background: @surface0;
}
input:checked ~ .Js64TOfWtHksI6TQ6knT {
- background: @accent-color !important;
+ background: @accent !important;
}
.bXJ77rNIJ18Y0GfegQdr + label > :first-child {
background: @text !important;
@@ -583,7 +581,7 @@
.OF_3F0SQCsBtL1jSTlTA::after,
.tP0mccyU1WAa7I9PevC1 svg,
.tP0mccyU1WAa7I9PevC1::after {
- color: @accent-color !important;
+ color: @accent !important;
}
// Full Screen Song Window
.npv-up-next {
diff --git a/styles/stack-overflow/catppuccin.user.less b/styles/stack-overflow/catppuccin.user.less
index 727c19f6..76e209f4 100644
--- a/styles/stack-overflow/catppuccin.user.less
+++ b/styles/stack-overflow/catppuccin.user.less
@@ -30,55 +30,53 @@
body:not(.theme-highcontrast, .theme-dark).unified-theme {
&,
.themed {
- #catppuccin(@lightFlavor, @accentColor);
+ #catppuccin(@lightFlavor);
}
}
body:not(.theme-highcontrast).unified-theme.theme-dark {
&,
.themed {
- #catppuccin(@darkFlavor, @accentColor);
+ #catppuccin(@darkFlavor);
}
}
- @media (prefers-color-scheme: light) {
- body:not(.theme-highcontrast).unified-theme.theme-system {
- #catppuccin(@lightFlavor, @accentColor);
+ body:not(.theme-highcontrast).unified-theme.theme-system {
+ @media (prefers-color-scheme: light) {
+ #catppuccin(@lightFlavor);
}
- }
- @media (prefers-color-scheme: dark) {
- body:not(.theme-highcontrast).unified-theme.theme-system {
- #catppuccin(@darkFlavor, @accentColor);
+ @media (prefers-color-scheme: dark) {
+ #catppuccin(@darkFlavor);
}
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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;
@@ -107,10 +105,10 @@
--ctp-mantle: @mantle;
--ctp-crust: @crust;
- color-scheme: if(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -132,41 +130,41 @@
--theme-topbar-item-color: @text;
--theme-topbar-item-color-hover: @text;
--theme-topbar-item-background-hover: @surface0;
- --theme-button-primary-background-color: @accent-color;
- --theme-button-primary-hover-background-color: darken(@accent-color, 5%);
+ --theme-button-primary-background-color: @accent;
+ --theme-button-primary-hover-background-color: darken(@accent, 5%);
--theme-button-primary-active-background-color: @text;
- --theme-link-color: @accent-color;
- --theme-link-color-hover: darken(@accent-color, 5%);
+ --theme-link-color: @accent;
+ --theme-link-color-hover: darken(@accent, 5%);
--theme-footer-title-color: @text;
--theme-footer-text-color: @subtext0;
--theme-footer-link-color: @subtext0;
--theme-footer-link-color-hover: @subtext1;
--theme-footer-background-color: @mantle;
--theme-header-background-color: transparent;
- --theme-tag-background-color: @accent-color;
- --theme-tag-border-color: @accent-color;
+ --theme-tag-background-color: @accent;
+ --theme-tag-border-color: @accent;
--theme-tag-color: @mantle;
- --theme-tag-hover-background-color: darken(@accent-color, 5%);
- --theme-tag-hover-border-color: darken(@accent-color, 5%);
+ --theme-tag-hover-background-color: darken(@accent, 5%);
+ --theme-tag-hover-border-color: darken(@accent, 5%);
--theme-tag-hover-color: @mantle;
- --theme-post-title-color: @accent-color;
- --theme-post-title-color-hover: darken(@accent-color, 5%);
+ --theme-post-title-color: @accent;
+ --theme-post-title-color-hover: darken(@accent, 5%);
--highlight-bg: @mantle;
- --theme-primary: @accent-color;
- --theme-primary-100: fade(@accent-color, 20%);
- --theme-primary-200: fade(@accent-color, 30%);
- --theme-primary-500: fade(@accent-color, 90%);
- --theme-primary-600: @accent-color;
+ --theme-primary: @accent;
+ --theme-primary-100: fade(@accent, 20%);
+ --theme-primary-200: fade(@accent, 30%);
+ --theme-primary-500: fade(@accent, 90%);
+ --theme-primary-600: @accent;
- --translucent-secondary: fade(@accent-color, 10%);
- --theme-secondary-100: fade(@accent-color, 20%);
- --theme-secondary-200: fade(@accent-color, 30%);
- --theme-secondary-300: fade(@accent-color, 40%);
- --theme-secondary-400: fade(@accent-color, 50%);
- --theme-secondary-500: fade(@accent-color, 60%);
- --theme-secondary-600: fade(@accent-color, 70%);
+ --translucent-secondary: fade(@accent, 10%);
+ --theme-secondary-100: fade(@accent, 20%);
+ --theme-secondary-200: fade(@accent, 30%);
+ --theme-secondary-300: fade(@accent, 40%);
+ --theme-secondary-400: fade(@accent, 50%);
+ --theme-secondary-500: fade(@accent, 60%);
+ --theme-secondary-600: fade(@accent, 70%);
--white: @mantle;
--black: @text;
@@ -329,14 +327,14 @@
#onetrust-accept-btn-handler,
#onetrust-reject-all-handler {
- background-color: @accent-color;
+ background-color: @accent;
color: @crust;
}
#onetrust-button-group button#onetrust-pc-btn-handler {
background-color: @crust !important;
- border-color: @accent-color !important;
- color: @accent-color !important;
+ border-color: @accent !important;
+ color: @accent !important;
}
#onetrust-policy-title,
@@ -407,8 +405,8 @@
.ot-link-btn
),
.ot-leg-btn-container .ot-active-leg-btn {
- background-color: @accent-color !important;
- border-color: @accent-color;
+ background-color: @accent !important;
+ border-color: @accent;
color: @mantle;
}
}
diff --git a/styles/startpage/catppuccin.user.less b/styles/startpage/catppuccin.user.less
index 113e1be0..be20d32a 100644
--- a/styles/startpage/catppuccin.user.less
+++ b/styles/startpage/catppuccin.user.less
@@ -16,51 +16,48 @@
==/UserStyle== */
@-moz-document domain("startpage.com") {
- @media (prefers-color-scheme: light) {
- :root {
- #catppuccin(@lightFlavor, @accentColor);
+ :root {
+ @media (prefers-color-scheme: light) {
+ #catppuccin(@lightFlavor);
+ }
+ @media (prefers-color-scheme: dark) {
+ #catppuccin(@darkFlavor);
}
}
- @media (prefers-color-scheme: dark) {
- :root {
- #catppuccin(@darkFlavor, @accentColor);
- }
- }
+ #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];
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
-
- color-scheme: if(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -72,7 +69,7 @@
&,
body {
- --sx-accent: @accent-color;
+ --sx-accent: @accent;
--sx-background: @base;
--sx-border: @surface0;
--sx-tabLinkHover: @teal;
@@ -83,7 +80,7 @@
--sx-popupForeground: @text;
--sx-popupForegroundEm: @text;
--sx-popupUrl: @blue;
- --sx-buttonHighlight: @accent-color;
+ --sx-buttonHighlight: @accent;
--sx-loadingBars: @mantle;
--sx-darkIcons: @crust;
--sx-arrowButtonBackground: @text;
@@ -91,8 +88,8 @@
}
.css-nguon6 button {
- color: @accent-color;
- border-color: @accent-color;
+ color: @accent;
+ border-color: @accent;
}
.css-fg9wif,
@@ -143,7 +140,7 @@
}
.w-gl__result-url {
- color: @accent-color !important;
+ color: @accent !important;
}
.wp-qi-sb__expand-text,
diff --git a/styles/status.cafe/catppuccin.user.less b/styles/status.cafe/catppuccin.user.less
index 0ea5a713..41081351 100644
--- a/styles/status.cafe/catppuccin.user.less
+++ b/styles/status.cafe/catppuccin.user.less
@@ -17,50 +17,48 @@
@-moz-document regexp("https://status\\.cafe/(?!users).*"),
domain("forum.status.cafe") {
- @media (prefers-color-scheme: light) {
- :root {
- #catppuccin(@lightFlavor, @accentColor);
+ :root {
+ @media (prefers-color-scheme: light) {
+ #catppuccin(@lightFlavor);
}
- }
- @media (prefers-color-scheme: dark) {
- :root {
- #catppuccin(@darkFlavor, @accentColor);
+ @media (prefers-color-scheme: dark) {
+ #catppuccin(@darkFlavor);
}
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -115,11 +113,11 @@
}
a:not(.flash a) {
- color: @accent-color;
+ color: @accent;
}
a:visited:not(.flash a) {
- color: darken(@accent-color, 5%);
+ color: darken(@accent, 5%);
}
table,
@@ -153,9 +151,9 @@
border-top-color: @surface0;
}
- & when (@lookup = latte) {
+ & when (@flavor = latte) {
a:visited:not(.flash a) {
- color: darken(@accent-color, 10%);
+ color: darken(@accent, 10%);
}
input:active {
background-color: @surface0;
diff --git a/styles/stylus/catppuccin.user.less b/styles/stylus/catppuccin.user.less
index a5bcd351..0d48ab52 100644
--- a/styles/stylus/catppuccin.user.less
+++ b/styles/stylus/catppuccin.user.less
@@ -19,46 +19,46 @@
url-prefix("chrome-extension://") {
:root {
&[data-ui-theme="light"] {
- #catppuccin(@lightFlavor, @accentColor);
+ #catppuccin(@lightFlavor);
}
&[data-ui-theme="dark"] {
- #catppuccin(@darkFlavor, @accentColor);
+ #catppuccin(@darkFlavor);
}
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -86,42 +86,42 @@
--c99: @base;
--c100: @base;
--red1: @red;
- --accent-1: @accent-color;
- --accent-2: @accent-color;
- --accent-3: fade(@accent-color, 25%);
+ --accent-1: @accent;
+ --accent-2: @accent;
+ --accent-3: fade(@accent, 25%);
.slider {
- --color-on: fade(@accent-color, 25%);
+ --color-on: fade(@accent, 25%);
--color-off: @surface2;
}
:focus {
- --focus-color1: @accent-color !important;
- --focus-color2: fade(@accent-color, 25%) !important;
+ --focus-color1: @accent !important;
+ --focus-color2: fade(@accent, 25%) !important;
}
.active #filters-stats,
.dirty #save-button,
.dirty #save-button + button {
- background-color: @accent-color;
- border-color: @accent-color;
+ background-color: @accent;
+ border-color: @accent;
color: @base;
}
#header-resizer {
color: @surface1;
}
#message-box-title::before {
- @fade_color: fade(@accent-color, 67%);
+ @fade_color: fade(@accent, 67%);
@svg: escape(
- ''
+ ''
);
background-image: url("data:image/svg+xml,@{svg}");
}
[src="moz-extension://8fc71d5e-96b2-44a4-8d6f-ead6ff4d3c56/images/icon/16.png"],
img[src="/images/icon/128.png"] {
- @fade_color: fade(@accent-color, 67%);
+ @fade_color: fade(@accent, 67%);
@svg: escape(
- ''
+ ''
);
content: url("data:image/svg+xml,@{svg}");
}
@@ -154,7 +154,7 @@
}
.oldUI .disabled h2::after,
.entry.usercss .style-name-link::after {
- background-color: fade(@accent-color, 25%);
+ background-color: fade(@accent, 25%);
}
/* Syntax highlighting */
@@ -245,26 +245,26 @@
}
}
.onoffswitch input:checked + span {
- background-color: fade(@accent-color, 25%);
+ background-color: fade(@accent, 25%);
&::before {
- background-color: @accent-color;
+ background-color: @accent;
}
}
#options-title {
color: @base;
}
h2 {
- color: @accent-color !important;
+ color: @accent !important;
}
.installed .configure-usercss {
i {
- color: @accent-color;
+ color: @accent;
}
svg,
&:hover svg {
- fill: @accent-color !important;
+ fill: @accent !important;
}
}
#live-reload-install-hint {
@@ -288,17 +288,17 @@
background: @base;
}
.split-btn-menu {
- border-color: @accent-color;
+ border-color: @accent;
> :hover {
- background: fade(@accent-color, 25%);
+ background: fade(@accent, 25%);
}
}
#help-popup .title {
background: @mantle;
}
#toc li:hover {
- background: fade(@accent-color, 20%);
+ background: fade(@accent, 20%);
}
input:invalid {
background: fade(@red, 10%);
diff --git a/styles/substack/catppuccin.user.less b/styles/substack/catppuccin.user.less
index 1f739002..93a5c5e1 100644
--- a/styles/substack/catppuccin.user.less
+++ b/styles/substack/catppuccin.user.less
@@ -16,50 +16,48 @@
==/UserStyle== */
@-moz-document domain("substack.com") {
- @media (prefers-color-scheme: dark) {
- :root {
- #catppuccin(@darkFlavor, @accentColor);
+ :root {
+ @media (prefers-color-scheme: light) {
+ #catppuccin(@lightFlavor);
}
- }
- @media (prefers-color-scheme: light) {
- :root {
- #catppuccin(@lightFlavor, @accentColor);
+ @media (prefers-color-scheme: dark) {
+ #catppuccin(@darkFlavor);
}
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -90,15 +88,15 @@
--color-utility-detail: @surface1;
--color-utility-white: @text;
--color-detail-themed: @surface1;
- --color-accent-themed: @accent-color;
+ --color-accent-themed: @accent;
--color-accent-fg-red: @red;
--color-accent-bg-red: fade(@red, 20%);
--color-semantic-error-bg-primary: @red;
--color-semantic-error-utility-contrast: @crust;
- --color-accent-fg-orange: @accent-color;
- --color-accent-bg-orange: fade(@accent-color, 20%);
+ --color-accent-fg-orange: @accent;
+ --color-accent-bg-orange: fade(@accent, 20%);
--color-accent-fg-green: @green;
--color-accent-bg-green: fade(@green, 20%);
@@ -107,8 +105,8 @@
--color-accent-bg-cyan: fade(@blue, 20%);
/* Buttons */
- --color-button-primary-bg: @accent-color;
- --color-button-primary-bg-hover: darken(@accent-color, 5%);
+ --color-button-primary-bg: @accent;
+ --color-button-primary-bg-hover: darken(@accent, 5%);
--color-button-primary-fg: @crust;
--color-button-secondary-bg: @surface0;
@@ -128,12 +126,12 @@
--color-bg-tooltip: @mantle;
--material-thick: @mantle;
- --print_pop: @accent-color;
+ --print_pop: @accent;
--print_secondary: @subtext1;
- --background_pop: @accent-color;
+ --background_pop: @accent;
--print_on_pop: @crust;
- --color_theme_bg_pop: @accent-color;
- --color_theme_bg_pop_darken: darken(@accent-color, 5%);
+ --color_theme_bg_pop: @accent;
+ --color_theme_bg_pop_darken: darken(@accent, 5%);
--color_theme_print_on_pop: @crust;
--border_subtle: @surface1;
--background_contrast_1: @mantle;
@@ -141,9 +139,9 @@
--color-chat-other-fg-secondary: @subtext1;
- --color-semantic-select-fg-primary: @accent-color;
- --color-semantic-select-utility-detail: fade(@accent-color, 20%);
- --color-semantic-highlight-fg-primary: @accent-color;
+ --color-semantic-select-fg-primary: @accent;
+ --color-semantic-select-utility-detail: fade(@accent, 20%);
+ --color-semantic-highlight-fg-primary: @accent;
/* Weird variables issue fixes */
--color-light-bg-primary: @mantle; /* Was text, changing to mantle for (select text) -> Share -> Download button color. Might break things */
@@ -178,7 +176,7 @@
/* Substack logos */
[fill="#ff6719" i] {
- fill: @accent-color !important;
+ fill: @accent !important;
}
/* Inverted logo colors */
[fill="#FFFFFF" i] {
@@ -289,7 +287,7 @@
/* Editor */
.tw-bg-pub-accent {
- background-color: @accent-color !important;
+ background-color: @accent !important;
}
}
}
diff --git a/styles/syncthing/catppuccin.user.less b/styles/syncthing/catppuccin.user.less
index 44008bbe..6112b894 100644
--- a/styles/syncthing/catppuccin.user.less
+++ b/styles/syncthing/catppuccin.user.less
@@ -24,59 +24,55 @@
@-moz-document regexp(
replace(replace(%("https?://(%s)/.*", @urls), ",", "|", "g"), " ", "", "g")
) {
- @media (prefers-color-scheme: light) {
- :root {
- #catppuccin(@lightFlavor, @accentColor);
+ :root {
+ @media (prefers-color-scheme: light) {
+ #catppuccin(@lightFlavor);
}
- }
-
- @media (prefers-color-scheme: dark) {
- :root {
- #catppuccin(@darkFlavor, @accentColor);
+ @media (prefers-color-scheme: dark) {
+ #catppuccin(@darkFlavor);
}
}
.light-theme {
- #catppuccin(@lightFlavor, @accentColor);
+ #catppuccin(@lightFlavor);
}
-
.dark-theme {
- #catppuccin(@darkFlavor, @accentColor);
+ #catppuccin(@darkFlavor);
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -92,12 +88,12 @@
}
a {
- color: @accent-color;
+ color: @accent;
}
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a {
- color: @accent-color !important;
+ color: @accent !important;
}
/* navbar */
@@ -144,7 +140,7 @@
.dropdown-menu > .active > a {
color: @base !important;
- background-color: @accent-color !important;
+ background-color: @accent !important;
}
/* main panel */
@@ -198,14 +194,14 @@
}
.btn-primary {
- background-color: @accent-color !important;
+ background-color: @accent !important;
color: @base;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary.focus {
- background-color: fade(@accent-color, 90%) !important;
+ background-color: fade(@accent, 90%) !important;
}
.btn-warning {
@@ -294,7 +290,7 @@
/* progress bars */
.progress-bar {
- background-color: @accent-color !important;
+ background-color: @accent !important;
}
.progress-bar-success {
@@ -315,7 +311,7 @@
/* text */
.text-primary {
- color: @accent-color !important;
+ color: @accent !important;
}
.text-success {
diff --git a/styles/tabnews/catppuccin.user.less b/styles/tabnews/catppuccin.user.less
index 907e7eae..6bc85f9f 100644
--- a/styles/tabnews/catppuccin.user.less
+++ b/styles/tabnews/catppuccin.user.less
@@ -17,45 +17,45 @@
@-moz-document domain("tabnews.com.br") {
:root:has(div[data-color-mode="dark"]) {
- #catppuccin(@darkFlavor, @accentColor);
+ #catppuccin(@darkFlavor);
}
:root:has(div[data-color-mode="light"]) {
- #catppuccin(@lightFlavor, @accentColor);
+ #catppuccin(@lightFlavor);
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -69,21 +69,21 @@
--bgColor-emphasis: @crust;
--fgColor-default: @text;
--bgColor-neutral-emphasis: @subtext0;
- --bgColor-accent-emphasis: @accent-color;
- --fgColor-accent: @accent-color;
+ --bgColor-accent-emphasis: @accent;
+ --fgColor-accent: @accent;
--fgColor-onEmphasis: @text;
- --color-accent-fg: @accent-color;
+ --color-accent-fg: @accent;
--fgColor-muted: @overlay0;
--borderColor-default: @surface0;
--button-default-bgColor-rest: @base;
--button-default-bgColor-hover: @crust;
--button-default-fgColor-rest: @text;
--button-default-fgColor-hover: @text;
- --button-primary-bgColor-rest: @accent-color;
- --button-primary-bgColor-disabled: fadeout(@accent-color, 15%);
+ --button-primary-bgColor-rest: @accent;
+ --button-primary-bgColor-disabled: fade(@accent, 85%);
--button-primary-fgColor-disabled: @text;
--button-primary-fgColor-rest: @surface0;
- --button-primary-bgColor-hover: darken(@accent-color, 5%);
+ --button-primary-bgColor-hover: darken(@accent, 5%);
--button-primary-fgColor-hover: @surface0;
--button-default-bgColor-active: @base;
--controlKnob-bgColor-rest: @crust;
@@ -120,7 +120,7 @@
--color-prettylights-syntax-markup-list: @text;
#nprogress .bar {
- background: @accent-color;
+ background: @accent;
}
/* Style the button to change theme when light theme is on */
@@ -145,7 +145,7 @@
}
path.recharts-rectangle {
- fill: @accent-color;
+ fill: @accent;
}
path.recharts-rectangle.recharts-tooltip-cursor {
@@ -157,7 +157,7 @@
}
li.recharts-tooltip-item {
- color: @accent-color !important;
+ color: @accent !important;
}
div[overflow="hidden"] {
@@ -215,7 +215,7 @@
.gsc-refinementhInactive {
color: @text;
background: @base;
- border-color: @accent-color;
+ border-color: @accent;
}
.gsc-option-menu-container {
@@ -250,7 +250,7 @@
border-color: transparent;
background: @base;
.gsc-url-top > * {
- color: @accent-color;
+ color: @accent;
}
}
diff --git a/styles/tldraw/catppuccin.user.less b/styles/tldraw/catppuccin.user.less
index 01896532..144cb613 100644
--- a/styles/tldraw/catppuccin.user.less
+++ b/styles/tldraw/catppuccin.user.less
@@ -17,45 +17,45 @@
@-moz-document domain("tldraw.com") {
.tl-theme__dark {
- #catppuccin(@darkFlavor, @accentColor);
+ #catppuccin(@darkFlavor);
}
.tl-theme__light {
- #catppuccin(@lightFlavor, @accentColor);
+ #catppuccin(@lightFlavor);
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -65,7 +65,7 @@
}
}
- --color-accent: @accent-color !important;
+ --color-accent: @accent !important;
--color-background: @base !important;
--color-brush-fill: @surface0 !important;
--color-brush-stroke: @surface2 !important;
@@ -84,7 +84,7 @@
--color-panel-overlay: fade(@overlay0, 80%);
--color-panel: @surface0 !important;
--color-focus: @sky !important;
- --color-selected: @accent-color !important;
+ --color-selected: @accent !important;
--color-selected-contrast: @crust !important;
--color-selection-fill: fade(@blue, 50%);
--color-selection-stroke: @sapphire !important;
@@ -131,7 +131,7 @@
}
--color-black: @text;
- --color-gray: if(@lookup = latte, @subtext0, @subtext0);
+ --color-gray: if(@flavor = latte, @subtext0, @subtext0);
--color-red: @red;
--color-light-red: lighten(@red, 5%);
--color-orange: @peach;
diff --git a/styles/trinket/catppuccin.user.less b/styles/trinket/catppuccin.user.less
index 33968288..eafe31a7 100644
--- a/styles/trinket/catppuccin.user.less
+++ b/styles/trinket/catppuccin.user.less
@@ -18,45 +18,43 @@
@-moz-document domain("trinket.io") {
@import url("https://unpkg.com/@catppuccin/highlightjs@1.0.0/css/catppuccin-variables.important.css");
- @media (prefers-color-scheme: light) {
- :root {
- #catppuccin(@lightFlavor, @accentColor);
+ :root {
+ @media (prefers-color-scheme: light) {
+ #catppuccin(@lightFlavor);
}
- }
- @media (prefers-color-scheme: dark) {
- :root {
- #catppuccin(@darkFlavor, @accentColor);
+ @media (prefers-color-scheme: dark) {
+ #catppuccin(@darkFlavor);
}
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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;
@@ -85,6 +83,12 @@
--ctp-mantle: @mantle;
--ctp-crust: @crust;
+ color-scheme: if(@flavor = latte, light, dark);
+
+ ::selection {
+ background-color: fade(@accent, 30%);
+ }
+
.ace_editor {
background-color: @crust;
color: @text;
@@ -113,7 +117,7 @@
color: @text;
}
.ace_marker-layer .ace_selection {
- background: fade(@accent-color, 30%);
+ background: fade(@accent, 30%);
}
.ace_fold {
background-color: @surface0;
@@ -170,12 +174,6 @@
color: @subtext0;
}
- color-scheme: if(@lookup = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent-color, 30%);
- }
-
body {
background-color: @base !important;
color: @text !important;
@@ -191,11 +189,11 @@
}
a {
- color: @accent-color;
- text-decoration-color: @accent-color;
+ color: @accent;
+ text-decoration-color: @accent;
&:hover {
- color: @accent-color;
+ color: @accent;
}
}
@@ -273,7 +271,7 @@
}
#page.hfeed a:hover {
- border-bottom-color: @accent-color !important;
+ border-bottom-color: @accent !important;
}
.author-section {
@@ -283,13 +281,13 @@
.code-editor .expander {
background-image: linear-gradient(
to right,
- fade(@mantle, 0),
+ fade(@mantle, 0%),
@mantle 50%
) !important;
}
.sidebar-content a:hover {
- color: @accent-color !important;
+ color: @accent !important;
}
.progress {
@@ -299,7 +297,7 @@
}
.sidebar {
- box-shadow: 1px 0 15px fade(@crust, 0.5) !important;
+ box-shadow: 1px 0 15px fade(@crust, 50%) !important;
background-color: @base !important;
}
@@ -339,7 +337,7 @@
color: @subtext0 !important;
&a:hover {
- color: @accent-color !important;
+ color: @accent !important;
}
}
@@ -352,7 +350,7 @@
}
span.beta {
- color: @accent-color !important;
+ color: @accent !important;
}
.resources a {
@@ -391,14 +389,14 @@
.classroom-label,
.classroom-name,
i.trinket-key.logo {
- background-color: @accent-color !important;
+ background-color: @accent !important;
color: @base !important;
}
.code-plan-colors-inverted,
.connect-plan-colors-inverted,
.classroom-plan-colors-inverted {
- color: @accent-color;
+ color: @accent;
}
.nav-wrapper,
@@ -424,7 +422,7 @@
.editable-click:hover,
a.editable-click:hover {
- color: @accent-color !important;
+ color: @accent !important;
}
.outline-list-item.lesson {
@@ -440,7 +438,7 @@
}
.intercom-lightweight-app-launcher {
- background-color: @accent-color !important;
+ background-color: @accent !important;
}
.edit-material-title:hover {
@@ -679,7 +677,7 @@
}
input:checked + label {
- background-color: @accent-color !important;
+ background-color: @accent !important;
&::after {
background-color: @base !important;
@@ -769,7 +767,7 @@
}
a {
- color: @accent-color !important;
+ color: @accent !important;
&.active {
color: @text !important;
@@ -840,7 +838,7 @@
}
.label:not(.last-saved) {
- background-color: @accent-color !important;
+ background-color: @accent !important;
color: @base !important;
}
@@ -887,7 +885,7 @@
}
.blue-highlight:not(.disabled) {
- background-color: @accent-color !important;
+ background-color: @accent !important;
&,
i.fa,
@@ -945,7 +943,7 @@
}
.trinket-stat .badge {
- background-color: @accent-color !important;
+ background-color: @accent !important;
background-image: none !important;
color: @base !important;
}
@@ -962,7 +960,7 @@
border-bottom-color: @subtext0 !important;
&:hover {
- color: @accent-color !important;
+ color: @accent !important;
}
}
@@ -986,7 +984,7 @@
}
.draft-circle {
- background-color: @accent-color !important;
+ background-color: @accent !important;
}
.MathJax_Preview {
@@ -1058,7 +1056,7 @@
}
#outline-expander {
- background-color: @accent-color !important;
+ background-color: @accent !important;
color: @base !important;
}
@@ -1066,7 +1064,7 @@
background-color: @surface0 !important;
.percentage {
- background-color: @accent-color !important;
+ background-color: @accent !important;
}
}
@@ -1095,11 +1093,11 @@
background-color: @mantle !important;
img {
- box-shadow: 0 0 0 10px @accent-color !important;
+ box-shadow: 0 0 0 10px @accent !important;
}
a.social {
- background-color: @accent-color !important;
+ background-color: @accent !important;
i::before {
color: @base !important;
@@ -1177,14 +1175,14 @@
}
#content-overlay {
- background-color: rgba(@base, 0.2) !important;
+ background-color: fade(@base, 20%) !important;
}
#books-index .book-img {
outline-color: @surface0 !important;
&:hover {
- outline-color: @accent-color !important;
+ outline-color: @accent !important;
}
}
@@ -1246,18 +1244,18 @@
@keyframes bluePulseButton {
0% {
- box-shadow: 0 0 0 0 fade(@accent-color, 0.4);
- background-color: @accent-color;
+ box-shadow: 0 0 0 0 fade(@accent, 40%);
+ background-color: @accent;
}
70% {
- box-shadow: 0 0 0 10px fade(@accent-color, 0);
- background-color: @accent-color;
+ box-shadow: 0 0 0 10px fade(@accent, 0%);
+ background-color: @accent;
}
100% {
box-shadow: none;
- background-color: @accent-color;
+ background-color: @accent;
}
}
@@ -1307,7 +1305,7 @@
#trinkets-list.list-view > li .snapshot .title::before,
.trinkets-list.list-view > li .snapshot .title::before {
@svg: escape(
- ''
+ ''
);
background-image: url("data:image/svg+xml;utf8,@{svg}");
diff --git a/styles/tuta/catppuccin.user.less b/styles/tuta/catppuccin.user.less
index fca8baf2..f1c43bd8 100644
--- a/styles/tuta/catppuccin.user.less
+++ b/styles/tuta/catppuccin.user.less
@@ -16,50 +16,48 @@
==/UserStyle== */
@-moz-document domain("app.tuta.com"), domain("mail.tutanota.com") {
- @media (prefers-color-scheme: light) {
- :root {
- #catppuccin(@lightFlavor, @accentColor);
+ :root {
+ @media (prefers-color-scheme: light) {
+ #catppuccin(@lightFlavor);
}
- }
- @media (prefers-color-scheme: dark) {
- :root {
- #catppuccin(@darkFlavor, @accentColor);
+ @media (prefers-color-scheme: dark) {
+ #catppuccin(@darkFlavor);
}
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -103,7 +101,7 @@
}
&[style*="fill: rgb(255, 83, 83);"] {
- fill: @accent-color !important;
+ fill: @accent !important;
}
}
@@ -126,7 +124,7 @@
/* logo */
path[style*="fill: #00d2a7;"] {
- fill: @accent-color !important;
+ fill: @accent !important;
}
path[style*="fill: #c5c7c7;"] {
@@ -134,18 +132,19 @@
}
.row-selected {
- border-color: @accent-color !important;
- color: @accent-color !important;
+ border-color: @accent !important;
+ color: @accent !important;
}
.row-selected > .nav-button {
- color: @accent-color !important;
- }
- .row-selected > .nav-button > .icon {
- fill: @accent-color !important;
+ color: @accent !important;
+
+ > .icon {
+ fill: @accent !important;
+ }
}
.secondary {
- color: @accent-color !important;
+ color: @accent !important;
}
.nav-button,
@@ -188,16 +187,16 @@
}
.teamLabel {
- background-color: @accent-color;
+ background-color: @accent;
color: @mantle;
}
[style*="border: 2px solid rgb(255, 83, 83);"] {
- border-color: @accent-color !important;
+ border-color: @accent !important;
}
[style*="color: rgb(255, 83, 83);"],
.content-accent-fg {
- color: @accent-color !important;
+ color: @accent !important;
}
button.expander {
@@ -205,7 +204,7 @@
}
.logo-height > svg:nth-child(1) > path:nth-child(2) {
- fill: @accent-color !important;
+ fill: @accent !important;
}
::-webkit-scrollbar-thumb {
diff --git a/styles/twitch/catppuccin.user.less b/styles/twitch/catppuccin.user.less
index d83d33be..98bbe47d 100644
--- a/styles/twitch/catppuccin.user.less
+++ b/styles/twitch/catppuccin.user.less
@@ -19,45 +19,45 @@
@import url("https://python.catppuccin.com/pygments/catppuccin-variables.important.css");
.tw-root--theme-dark {
- #catppuccin(@darkFlavor, @accentColor);
+ #catppuccin(@darkFlavor);
}
.tw-root--theme-light {
- #catppuccin(@lightFlavor, @accentColor);
+ #catppuccin(@lightFlavor);
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -149,16 +149,16 @@
--color-white: @text;
--color-black: @crust;
--color-info: @blue;
- --color-twitch-purple: @accent-color;
- --color-twitch-purple-4: @accent-color;
- --color-twitch-purple-5: @accent-color;
- --color-twitch-purple-6: @accent-color;
- --color-twitch-purple-7: @accent-color;
- --color-twitch-purple-8: @accent-color;
- --color-twitch-purple-9: @accent-color;
- --color-twitch-purple-10: @accent-color;
- --color-twitch-purple-11: @accent-color;
- --color-twitch-purple-12: @accent-color;
+ --color-twitch-purple: @accent;
+ --color-twitch-purple-4: @accent;
+ --color-twitch-purple-5: @accent;
+ --color-twitch-purple-6: @accent;
+ --color-twitch-purple-7: @accent;
+ --color-twitch-purple-8: @accent;
+ --color-twitch-purple-9: @accent;
+ --color-twitch-purple-10: @accent;
+ --color-twitch-purple-11: @accent;
+ --color-twitch-purple-12: @accent;
--color-orange-7: @yellow;
--color-orange-8: @yellow;
--color-orange-9: @yellow;
@@ -212,13 +212,13 @@
--color-magenta-11: @pink;
--color-magenta-12: @pink;
--color-magenta-14: @pink;
- --color-red-4: @accent-color;
- --color-red-5: @accent-color;
- --color-red-6: @accent-color;
- --color-red-7: @accent-color;
- --color-red-8: @accent-color;
- --color-red-9: @accent-color;
- --color-red-10: @accent-color;
+ --color-red-4: @accent;
+ --color-red-5: @accent;
+ --color-red-6: @accent;
+ --color-red-7: @accent;
+ --color-red-8: @accent;
+ --color-red-9: @accent;
+ --color-red-10: @accent;
--color-red-11: @peach;
--color-red-12: @peach;
--color-red-14: @peach;
@@ -235,7 +235,7 @@
--color-vk: @blue;
--color-amazon: @yellow;
--color-background-button-text-hover: @surface0;
- --color-text-accessible-red: @accent-color;
+ --color-text-accessible-red: @accent;
--color-border-input-checkbox: @subtext0;
--color-border-input-checkbox-hover: @text;
--color-text-label: @text;
@@ -262,19 +262,19 @@
--color-background-input-checkbox-checked-background: @crust;
}
- --color-text-link: @accent-color;
- --color-text-link-active: darken(@accent-color, 5%);
- --color-text-link-focus: darken(@accent-color, 5%);
- --color-text-link-hover: darken(@accent-color, 5%);
- --color-text-link-visited: @accent-color;
+ --color-text-link: @accent;
+ --color-text-link-active: darken(@accent, 5%);
+ --color-text-link-focus: darken(@accent, 5%);
+ --color-text-link-hover: darken(@accent, 5%);
+ --color-text-link-visited: @accent;
&,
[class*="ScAccentRegionCssVars"] {
- --color-accent: @accent-color;
+ --color-accent: @accent;
}
/* Hardcoded accent color */
[style="color: rgb(160, 84, 255);"] {
- color: @accent-color !important;
+ color: @accent !important;
}
/* Full screened video player title & description */
@@ -296,7 +296,7 @@
}
a {
- color: @accent-color;
+ color: @accent;
}
}
@@ -325,7 +325,7 @@
p {
color: @text;
}
- border-color: @accent-color;
+ border-color: @accent;
}
/* `Includes paid promotion` label */
@@ -362,7 +362,7 @@
div[data-test-selector="header-content"] span,
div[data-test-selector="community-prediction-highlight-body__outcome-points"]
span {
- color: @accent-color;
+ color: @accent;
}
button[data-test-selector="community-prediction-highlight-header__how-to-play"],
@@ -382,7 +382,7 @@
div.mystery-gift-chat-banner {
span {
- color: @accent-color;
+ color: @accent;
}
p {
@@ -418,7 +418,7 @@
div[data-test-selector="seekbar-interaction-area__interactionArea"]
span[data-test-selector="seekbar-segment__segment"] {
- background: @accent-color !important;
+ background: @accent !important;
}
/* Seekbar DMCA muted segment */
@@ -485,7 +485,7 @@
/* Usercard mod log tabs */
.viewer-card-mod-drawer-tab--active {
- box-shadow: 0 calc(var(--border-width-default) * -3) 0 @accent-color inset
+ box-shadow: 0 calc(var(--border-width-default) * -3) 0 @accent inset
!important;
}
@@ -504,7 +504,7 @@
/* Viewercard username */
div.viewer-card-header__display-name h4 {
- color: @accent-color !important;
+ color: @accent !important;
}
/* Viewercard metadata */
@@ -555,9 +555,9 @@
color: @subtext0;
}
.chat-line__message-body--highlighted {
- background-color: @accent-color;
+ background-color: @accent;
color: @crust;
- border-color: @accent-color;
+ border-color: @accent;
}
.chat-scrollable-area__message-container {
background-color: @mantle;
@@ -586,11 +586,11 @@
&:hover,
.active {
- color: @accent-color;
+ color: @accent;
}
}
.navigation-link__active-indicator {
- background-color: @accent-color !important;
+ background-color: @accent !important;
}
.chat-room {
background: @mantle;
@@ -653,7 +653,7 @@
}
}
- [data-a-target="preview-card-image-link"] when (@lookup = latte) {
+ [data-a-target="preview-card-image-link"] when (@flavor = latte) {
--color-background-overlay-alt: fade(@text, 80%);
.tw-media-card-stat,
p,
@@ -729,12 +729,12 @@
/* Privacy center */
.privacy-center-root__number-item {
- background: @accent-color;
+ background: @accent;
color: @base;
}
.privacy-center-accordion {
- border-color: @accent-color;
+ border-color: @accent;
}
.privacy-center-home-tabs {
@@ -785,7 +785,7 @@
}
.creator-home-focus-position {
- background: linear-gradient(@accent-color, @base);
+ background: linear-gradient(@accent, @base);
}
/* Shield mode tray */
@@ -855,7 +855,7 @@
.unban-requests-action-button__selected {
color: @base !important;
- background: @accent-color;
+ background: @accent;
}
.unban-requests-tabs__load-previous > div {
@@ -935,7 +935,7 @@
div p {
color: @text !important;
}
- & when (@lookup = latte) {
+ & when (@flavor = latte) {
div,
div p {
color: @base !important;
@@ -944,7 +944,7 @@
}
.vertical-selector a:hover {
- background: darken(@accent-color, 5%);
+ background: darken(@accent, 5%);
}
/* Chat popouts */
@@ -970,7 +970,7 @@
background: @teal;
}
- .player-controls when (@lookup = latte) {
+ .player-controls when (@flavor = latte) {
--color-text-button-overlay: @base !important;
--color-background-range-overlay-fill: @base !important;
--color-text-button-overlay-hover: @mantle !important;
@@ -998,20 +998,40 @@
@-moz-document domain("dashboard.twitch.tv") {
.tw-root--theme-dark {
- #catppuccin(@darkFlavor, @accentColor);
+ #catppuccin(@darkFlavor);
}
.tw-root--theme-light {
- #catppuccin(@lightFlavor, @accentColor);
+ #catppuccin(@lightFlavor);
}
- #catppuccin(@lookup, @accent) {
- @text: @catppuccin[@@lookup][@text];
- @green: @catppuccin[@@lookup][@green];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @surface0: @catppuccin[@@lookup][@surface0];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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];
article button {
--color-fill-current: @base !important;
@@ -1069,16 +1089,15 @@
/* Analytics */
.top-stats-tab--active {
- color: @accent-color !important;
- box-shadow: 0 calc(var(--border-width-default) * -3) 0 @accent-color
- inset;
+ color: @accent !important;
+ box-shadow: 0 calc(var(--border-width-default) * -3) 0 @accent inset;
.top-stats-tab__title {
- color: @accent-color !important;
+ color: @accent !important;
}
}
.top-stats-tab:hover {
- box-shadow: inset 0 -2px 0 @accent-color, 0 4px 6px -4px @accent-color;
+ box-shadow: inset 0 -2px 0 @accent, 0 4px 6px -4px @accent;
background: @base !important;
}
@@ -1113,8 +1132,7 @@
/* Research */
.time-to-stream-tab--active {
- box-shadow: 0 calc(var(--border-width-default) * -3) 0 @accent-color
- inset;
+ box-shadow: 0 calc(var(--border-width-default) * -3) 0 @accent inset;
}
/* Collection thumbnails */
@@ -1169,45 +1187,43 @@
@-moz-document domain("dev.twitch.tv"),
url-prefix("https://discuss.dev.twitch.com/embed/topics") {
- @media (prefers-color-scheme: dark) {
- :root {
- #catppuccin(@darkFlavor, @accentColor);
+ :root {
+ @media (prefers-color-scheme: light) {
+ #catppuccin(@lightFlavor);
}
- }
- @media (prefers-color-scheme: light) {
- :root {
- #catppuccin(@lightFlavor, @accentColor);
+ @media (prefers-color-scheme: dark) {
+ #catppuccin(@darkFlavor);
}
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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;
@@ -1247,19 +1263,19 @@
a.btn,
button.btn {
- border-color: @accent-color;
- background: @accent-color !important;
+ border-color: @accent;
+ background: @accent !important;
color: @base !important;
}
a.btn:hover,
button.btn:hover {
- background: fade(@accent-color, 80%) !important;
+ background: fade(@accent, 80%) !important;
}
/* Recent announcements */
.topics-list .topic-list-item .main-link a {
- color: @accent-color;
+ color: @accent;
}
.topic-created-at,
@@ -1283,7 +1299,7 @@
border-color: @crust !important;
}
a.btn.light {
- background: fade(@accent-color, 10%) !important;
+ background: fade(@accent, 10%) !important;
color: @text !important;
}
.nav__links a {
@@ -1293,8 +1309,8 @@
color: @subtext0;
}
&.active {
- color: @accent-color;
- border-color: @accent-color;
+ color: @accent;
+ border-color: @accent;
}
}
.nav__logo svg path {
@@ -1313,7 +1329,7 @@
color: @text !important;
}
a:hover {
- color: @accent-color !important;
+ color: @accent !important;
}
svg path {
@@ -1327,7 +1343,7 @@
* {
color: @mantle !important;
}
- background: @accent-color;
+ background: @accent;
}
.content-alternate-2 {
background: @base;
@@ -1343,8 +1359,8 @@
}
.sandbox-tab.active {
- color: @accent-color !important;
- border-color: @accent-color !important;
+ color: @accent !important;
+ border-color: @accent !important;
}
.hero,
@@ -1387,7 +1403,7 @@
}
blockquote {
- border-color: @accent-color;
+ border-color: @accent;
background: @mantle;
}
@@ -1398,7 +1414,7 @@
background: @base;
border-color: @base !important;
a {
- color: @accent-color;
+ color: @accent;
}
border-bottom-color: @surface0 !important;
border-image: none;
@@ -1406,8 +1422,8 @@
}
code {
- border-color: @accent-color !important;
- background: fade(@accent-color, 5%) !important;
+ border-color: @accent !important;
+ background: fade(@accent, 5%) !important;
color: @text !important;
}
@@ -1426,7 +1442,7 @@
/* Pills */
.pill-new {
color: @base !important;
- background: @accent-color !important;
+ background: @accent !important;
}
.pill-beta {
color: @base !important;
@@ -1444,10 +1460,10 @@
color: @text !important;
}
dl dd a.active-highlight {
- color: @accent-color !important;
+ color: @accent !important;
}
dl dd a.active-highlight::before {
- border-left-color: @accent-color !important;
+ border-left-color: @accent !important;
}
dt a:hover {
background: @base !important;
@@ -1462,7 +1478,7 @@
}
&:focus {
background: @crust !important;
- box-shadow: 0 0 3px 1px fade(@accent-color, 70%);
+ box-shadow: 0 0 3px 1px fade(@accent, 70%);
color: @text;
}
}
@@ -1479,7 +1495,7 @@
}
.algolia-docsearch-suggestion--highlight {
- background: @accent-color !important;
+ background: @accent !important;
color: @base !important;
}
@@ -1513,7 +1529,7 @@
color: @text !important;
}
a {
- color: @accent-color !important;
+ color: @accent !important;
}
.story__links a {
color: @base !important;
@@ -1527,12 +1543,12 @@
fill: @text;
}
button {
- border-color: @accent-color !important;
+ border-color: @accent !important;
}
.tag button {
- background: @accent-color !important;
- border-color: @accent-color !important;
+ background: @accent !important;
+ border-color: @accent !important;
}
.author {
diff --git a/styles/twitter/catppuccin.user.less b/styles/twitter/catppuccin.user.less
index 42d224de..b7ea6005 100644
--- a/styles/twitter/catppuccin.user.less
+++ b/styles/twitter/catppuccin.user.less
@@ -19,50 +19,48 @@
==/UserStyle== */
@-moz-document domain("twitter.com"), domain("x.com") {
- @media (prefers-color-scheme: light) {
- :root {
- #catppuccin(@lightFlavor, @accentColor);
+ :root {
+ @media (prefers-color-scheme: light) {
+ #catppuccin(@lightFlavor);
}
- }
- @media (prefers-color-scheme: dark) {
- :root {
- #catppuccin(@darkFlavor, @accentColor);
+ @media (prefers-color-scheme: dark) {
+ #catppuccin(@darkFlavor);
}
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -91,7 +89,7 @@
box-shadow: @default-shadow;
& when (@darkenShadows = 1) {
- box-shadow: if(@lookup = latte, @default-shadow, @black-shadow);
+ box-shadow: if(@flavor = latte, @default-shadow, @black-shadow);
}
}
@@ -102,7 +100,7 @@
filter: @default-shadow;
& when (@darkenShadows = 1) {
- filter: if(@lookup = latte, @default-shadow, @black-shadow);
+ filter: if(@flavor = latte, @default-shadow, @black-shadow);
}
}
@@ -117,7 +115,7 @@
box-shadow: @default-shadow;
& when (@darkenShadows = 1) {
- box-shadow: if(@lookup = latte, @default-shadow, @black-shadow);
+ box-shadow: if(@flavor = latte, @default-shadow, @black-shadow);
}
}
}
@@ -134,7 +132,7 @@
}
[style*="scrollbar-color: rgb(62, 65, 68) rgb(22, 24, 28)"] {
- scrollbar-color: @accent-color transparent !important;
+ scrollbar-color: @accent transparent !important;
scrollbar-width: thin;
}
@@ -176,7 +174,7 @@
// white text, seems to appear on accent colors
.r-jwli3a {
- color: if(@lookup = latte, #fff, @crust);
+ color: if(@flavor = latte, #fff, @crust);
// cw svg
&:has(
@@ -228,12 +226,12 @@
// active border for dms
.r-1pbtemp {
- border-right-color: @accent-color;
+ border-right-color: @accent;
}
// accent color borders
.r-vhj8yc {
- border-color: @accent-color;
+ border-color: @accent;
}
// magnifying glass in search bar
@@ -252,37 +250,37 @@
// bg color accent
.r-l5o3uw {
- background-color: @accent-color;
+ background-color: @accent;
.r-jwli3a {
- color: if(@lookup = latte, #fff, @crust);
+ color: if(@flavor = latte, #fff, @crust);
}
}
// accent element when hovered
.r-1vtznih {
- background-color: darken(@accent-color, 10%);
+ background-color: darken(@accent, 10%);
.r-jwli3a {
- color: if(@lookup = latte, #fff, @crust);
+ color: if(@flavor = latte, #fff, @crust);
}
}
.r-1peqgm7 {
- background-color: fade(@accent-color, 10%);
+ background-color: fade(@accent, 10%);
}
// accent element when active
.r-yuvema {
- background-color: darken(@accent-color, 15%);
+ background-color: darken(@accent, 15%);
.r-jwli3a {
- color: if(@lookup = latte, #fff, @crust);
+ color: if(@flavor = latte, #fff, @crust);
}
}
.r-r18ze4 {
- background-color: fade(@accent-color, 20%);
+ background-color: fade(@accent, 20%);
}
// white elements when hovered
@@ -307,12 +305,12 @@
// polls
.r-eok2q2 {
- background-color: fade(@accent-color, 60%);
+ background-color: fade(@accent, 60%);
}
// box shadow around active poll input box
.r-9cip40 {
- box-shadow: @accent-color 0 0 0 1px;
+ box-shadow: @accent 0 0 0 1px;
}
// spaces
@@ -389,12 +387,12 @@
}
.r-11mg6pl {
- border-color: if(@lookup = latte, #fff, @crust); // white border
+ border-color: if(@flavor = latte, #fff, @crust); // white border
}
// mask over layer
.r-11z020y {
- background-color: fade(desaturate(darken(@accent-color, 10%), 50%), 12%);
+ background-color: fade(desaturate(darken(@accent, 10%), 50%), 12%);
}
// likes
@@ -423,7 +421,7 @@
// bell svg on notifications page
.r-1cvl2hr {
- color: @accent-color;
+ color: @accent;
}
// retweet svg on notifications page
@@ -496,7 +494,7 @@
[stroke="#1D9BF0" i],
[style*="stroke: rgb(29, 155, 240)"] {
- stroke: @accent-color !important;
+ stroke: @accent !important;
}
[stroke="#FFD400" i] {
@@ -509,7 +507,7 @@
// "we received your report" svg
[fill="#1DA1F2" i] {
- fill: if(@lookup = latte, darken(@sky, 15%), darken(@sky, 30%))
+ fill: if(@flavor = latte, darken(@sky, 15%), darken(@sky, 30%))
!important;
}
@@ -548,11 +546,11 @@
}
[style*="border-color: rgb(103, 7, 15)"] {
- border-color: fadeout(@red, 50%) !important;
+ border-color: fade(@red, 50%) !important;
}
[style*="border-color: rgb(29, 155, 240)"] {
- border-color: @accent-color !important;
+ border-color: @accent !important;
}
[style*="color: rgb(231, 233, 234)"]:not(
@@ -629,16 +627,16 @@
[style*="color: rgb(29, 155, 240)"]:not(
[style*="background-color: rgb(29, 155, 240)"]
) {
- color: @accent-color !important;
+ color: @accent !important;
}
// background colors
[style*="background-color: rgb(142, 205, 248)"] {
- background-color: lighten(@accent-color, 10%) !important;
+ background-color: lighten(@accent, 10%) !important;
}
[style*="background-color: rgb(2, 17, 61)"] {
- background-color: fade(@accent-color, 15%) !important;
+ background-color: fade(@accent, 15%) !important;
}
[style*="background-color: rgba(255, 255, 255, 0.25)"] {
@@ -650,17 +648,17 @@
// for toggle circle
+ [style*="background-color: rgb(250, 250, 250)"] when not(
- @lookup = latte
+ @flavor = latte
) {
background-color: @text !important;
}
}
[style*="background-color: rgb(29, 155, 240)"] {
- background-color: @accent-color !important;
+ background-color: @accent !important;
[style*="color: rgb(255, 255, 255)"] {
- color: if(@lookup = latte, #fff, @crust) !important;
+ color: if(@flavor = latte, #fff, @crust) !important;
}
}
@@ -668,7 +666,7 @@
background-color: @text !important;
[style*="color: rgb(15, 20, 25)"] {
- color: if(@lookup = latte, #fff, @crust) !important;
+ color: if(@flavor = latte, #fff, @crust) !important;
}
}
@@ -676,7 +674,7 @@
background-color: @red !important;
[style*="color: rgb(255, 255, 255)"] {
- color: if(@lookup = latte, #fff, @crust) !important;
+ color: if(@flavor = latte, #fff, @crust) !important;
}
}
@@ -715,7 +713,7 @@
[style*="background-color: rgb(231, 233, 234)"]
),
[color="white"] {
- color: if(@lookup = latte, #fff, @crust) !important;
+ color: if(@flavor = latte, #fff, @crust) !important;
}
}
@@ -737,7 +735,7 @@
// dms have to be here bc of the above
.r-eff69c {
- background-color: darken(@accent-color, 5%);
+ background-color: darken(@accent, 5%);
[style*="color: rgb(255, 255, 255)"] {
color: @crust !important;
@@ -747,7 +745,7 @@
// follow button
[data-testid$="-follow"] {
[style*="color: rgb(15, 20, 25)"] {
- color: if(@lookup = latte, #fff, @crust) !important;
+ color: if(@flavor = latte, #fff, @crust) !important;
}
}
@@ -759,7 +757,7 @@
// options
& when (@colorizeLogo = 1) {
path[d="M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"] {
- fill: @accent-color !important;
+ fill: @accent !important;
}
}
@@ -770,45 +768,43 @@
}
@-moz-document domain("api.twitter.com"), domain("api.x.com") {
- @media (prefers-color-scheme: light) {
- :root {
- #catppuccin(@lightFlavor, @accentColor);
+ :root {
+ @media (prefers-color-scheme: light) {
+ #catppuccin(@lightFlavor);
}
- }
- @media (prefers-color-scheme: dark) {
- :root {
- #catppuccin(@darkFlavor, @accentColor);
+ @media (prefers-color-scheme: dark) {
+ #catppuccin(@darkFlavor);
}
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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];
html {
background: @mantle;
@@ -870,12 +866,12 @@
.button.selected,
.follow-button .unfollow .button {
- background-color: @accent-color;
- color: if(@lookup = latte, #fff, @crust);
- border-color: darken(@accent-color, 10%);
+ background-color: @accent;
+ color: if(@flavor = latte, #fff, @crust);
+ border-color: darken(@accent, 10%);
&:hover {
- background-color: darken(@accent-color, 10%);
+ background-color: darken(@accent, 10%);
}
.app-info,
@@ -891,45 +887,43 @@
}
@-moz-document domain("twitter.com"), domain("x.com") {
- @media (prefers-color-scheme: light) {
- :root {
- #catppuccin(@lightFlavor, @accentColor);
+ :root {
+ @media (prefers-color-scheme: light) {
+ #catppuccin(@lightFlavor);
}
- }
- @media (prefers-color-scheme: dark) {
- :root {
- #catppuccin(@darkFlavor, @accentColor);
+ @media (prefers-color-scheme: dark) {
+ #catppuccin(@darkFlavor);
}
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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];
#session a,
#session input,
@@ -945,8 +939,8 @@
button:hover,
input:focus,
input:hover {
- color: if(@lookup = latte, #fff, @crust);
- background-color: @accent-color;
+ color: if(@flavor = latte, #fff, @crust);
+ background-color: @accent;
}
}
@@ -981,14 +975,14 @@
}
.submit-btn {
- background-color: @accent-color;
- color: if(@lookup = latte, #fff, @crust);
- border-color: darken(@accent-color, 10%);
+ background-color: @accent;
+ color: if(@flavor = latte, #fff, @crust);
+ border-color: darken(@accent, 10%);
}
.submit-btn:hover,
.redirect-btn:hover {
- background-color: darken(@accent-color, 10%);
+ background-color: darken(@accent, 10%);
}
.block-btn {
@@ -999,8 +993,8 @@
.mute-btn,
.unfollow-btn,
.email-report-btn {
- color: @accent-color;
- border-color: @accent-color;
+ color: @accent;
+ border-color: @accent;
}
.list-btn {
diff --git a/styles/vercel/catppuccin.user.less b/styles/vercel/catppuccin.user.less
index e9e9d091..d008aec1 100644
--- a/styles/vercel/catppuccin.user.less
+++ b/styles/vercel/catppuccin.user.less
@@ -17,45 +17,45 @@
@-moz-document domain("vercel.com"), domain("nextjs.org") {
:root.dark-theme {
- #catppuccin(@darkFlavor, @accentColor);
+ #catppuccin(@darkFlavor);
}
:root.light-theme {
- #catppuccin(@lightFlavor, @accentColor);
+ #catppuccin(@lightFlavor);
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -77,9 +77,9 @@
--accents-7: @overlay2;
--accents-8: @subtext0;
- --geist-link-color: @accent-color;
+ --geist-link-color: @accent;
--geist-selection: @subtext0;
- --geist-success: @accent-color;
+ --geist-success: @accent;
--geist-error: @red;
--geist-cyan: @teal;
@@ -108,11 +108,11 @@
--ds-red-800: @red;
--ds-red-900: lighten(@red, 5%);
- --ds-blue-200: fade(@accent-color, 30%);
- --ds-blue-300: fade(@accent-color, 40%);
- --ds-blue-400: fade(@accent-color, 50%);
- --ds-blue-700: @accent-color;
- --ds-blue-900: @accent-color;
+ --ds-blue-200: fade(@accent, 30%);
+ --ds-blue-300: fade(@accent, 40%);
+ --ds-blue-400: fade(@accent, 50%);
+ --ds-blue-700: @accent;
+ --ds-blue-900: @accent;
--tw-gradient-top: transparent;
@@ -126,7 +126,7 @@
}
.styled-scrollbar {
- scrollbar-color: @accent-color transparent;
+ scrollbar-color: @accent transparent;
}
.dark\:from-black,
@@ -156,55 +156,55 @@
@-moz-document domain("nextjs.org") {
:root.dark-theme {
- #catppuccin(@darkFlavor, @accentColor);
+ #catppuccin(@darkFlavor);
}
:root.light-theme {
- #catppuccin(@lightFlavor, @accentColor);
+ #catppuccin(@lightFlavor);
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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];
article {
:not(h1, h2, h3, h4) > a {
- color: @accent-color;
+ color: @accent;
}
a:hover {
- color: darken(@accent-color, 5%);
+ color: darken(@accent, 5%);
}
}
nav {
/* Vertical line to the left of links */
a > div.bg-blue-600 {
- background-color: @accent-color;
+ background-color: @accent;
}
}
@@ -260,7 +260,7 @@
}
td a {
- color: @accent-color;
+ color: @accent;
}
.animated-optimizations_window__CjM85 {
diff --git a/styles/vikunja/catppuccin.user.less b/styles/vikunja/catppuccin.user.less
index 98047f06..44f1a728 100644
--- a/styles/vikunja/catppuccin.user.less
+++ b/styles/vikunja/catppuccin.user.less
@@ -16,34 +16,54 @@
==/UserStyle== */
@-moz-document domain("try.vikunja.io") {
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ :root.dark {
+ #catppuccin(@darkFlavor);
+ }
+ :root.light {
+ #catppuccin(@lightFlavor);
+ }
+
+ #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;
+ }
+ }
#hslbreakdown(@color, @item) {
--@{item}-h: hue(@color) !important;
@@ -54,20 +74,7 @@
--@{item}-invert-l: lightness(@color) !important;
}
- color-scheme: if(@lookup = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent-color, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
-
- #hslbreakdown(@accent-color, primary);
+ #hslbreakdown(@accent, primary);
--site-background: @mantle;
--content-heading-color: @text;
--card-header-color: @text;
@@ -75,7 +82,7 @@
--body-color: @text;
--label-color: @text;
--strong-color: @text;
- --primary: @accent-color;
+ --primary: @accent;
--primary-invert: @base;
--switch-view-color: @base;
--input-background-color: @base;
@@ -83,7 +90,7 @@
--table-row-hover-background-color: @mantle;
--table-head-cell-color: @text;
--input-border-color: @overlay0;
- --link-hover: @accent-color;
+ --link-hover: @accent;
--white: @base;
--grey: @overlay0;
--card-content-background-color: @base;
@@ -104,7 +111,7 @@
svg.llama-cool > circle,
svg.logo > path[fill="#196aff"] {
- fill: @accent-color;
+ fill: @accent;
}
svg.logo,
@@ -157,11 +164,11 @@
color: @base;
&:hover {
- background: @accent-color;
+ background: @accent;
}
&:active {
- background: darken(@accent-color, 10%);
+ background: darken(@accent, 10%);
}
span.icon {
@@ -195,7 +202,7 @@
color: @text;
}
li > a.router-link-active {
- color: @accent-color;
+ color: @accent;
}
li:hover {
background: @mantle;
@@ -217,7 +224,7 @@
div.tiptap__editor {
a {
- color: @accent-color;
+ color: @accent;
}
}
@@ -227,11 +234,11 @@
.progress-bar {
--progress-bar-background-color: @crust;
- --progress-value-background-color: @accent-color;
+ --progress-value-background-color: @accent;
}
.loader-container.is-loading::after {
- --loader-border-color: @accent-color;
+ --loader-border-color: @accent;
}
/* Gantt */
@@ -260,7 +267,7 @@
.g-gantt-bar-handle-left,
.g-gantt-bar-handle-right {
- background: darken(@accent-color, 10%);
+ background: darken(@accent, 10%);
}
}
}
@@ -331,13 +338,6 @@
border-left-color: darken(@green, 5%);
}
}
-
- :root.dark {
- #catppuccin(@darkFlavor, @accentColor);
- }
- :root.light {
- #catppuccin(@lightFlavor, @accentColor);
- }
}
/* deno-fmt-ignore */
diff --git a/styles/web.dev/catppuccin.user.less b/styles/web.dev/catppuccin.user.less
index cb3ae6bc..7cb2fc00 100644
--- a/styles/web.dev/catppuccin.user.less
+++ b/styles/web.dev/catppuccin.user.less
@@ -16,50 +16,48 @@
==/UserStyle== */
@-moz-document domain("web.dev") {
- @media (prefers-color-scheme: light) {
- :root {
- #catppuccin(@lightFlavor, @accentColor);
+ :root {
+ @media (prefers-color-scheme: light) {
+ #catppuccin(@lightFlavor);
}
- }
- @media (prefers-color-scheme: dark) {
- :root {
- #catppuccin(@darkFlavor, @accentColor);
+ @media (prefers-color-scheme: dark) {
+ #catppuccin(@darkFlavor);
}
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -70,7 +68,7 @@
}
:focus-visible {
- outline-color: @accent-color;
+ outline-color: @accent;
}
--webdev-background-gray: @surface0;
@@ -78,9 +76,9 @@
--webdev-background-oficial-gray: @surface0;
--webdev-background-white: @base;
--webdev-google-colors-blue-50: @base;
- --webdev-google-colors-blue-600: @accent-color;
- --webdev-google-colors-blue-800: @accent-color;
- --webdev-primary: @accent-color;
+ --webdev-google-colors-blue-600: @accent;
+ --webdev-google-colors-blue-800: @accent;
+ --webdev-primary: @accent;
--webdev-text-text-1: @text;
--webdev-text-text-2: @subtext1;
--webdev-text-text-3: @subtext0;
@@ -93,17 +91,17 @@
--devsite-primary-border: 1px solid @surface0;
--devsite-secondary-border: 1px solid @surface2;
- --devsite-contrast-link-color: @accent-color;
+ --devsite-contrast-link-color: @accent;
--devsite-header-link-color-active: @text;
--devsite-button-disabled-background: @surface0;
--devsite-button-disabled-color: @subtext0;
- --devsite-button-primary-background-active: @accent-color;
+ --devsite-button-primary-background-active: @accent;
--devsite-button-primary-color-active: @crust;
--devsite-button-primary-border-hover: 2px solid transparent;
--devsite-input-background: @surface0;
- --devsite-input-background-focus: fade(@accent-color, 30%);
+ --devsite-input-background-focus: fade(@accent, 30%);
devsite-multiple-choice {
.devsite-multiple-choice-question {
diff --git a/styles/whatsapp-web/catppuccin.user.less b/styles/whatsapp-web/catppuccin.user.less
index d2f3706e..41ed418a 100644
--- a/styles/whatsapp-web/catppuccin.user.less
+++ b/styles/whatsapp-web/catppuccin.user.less
@@ -19,46 +19,46 @@
@-moz-document domain("web.whatsapp.com") {
body {
- #catppuccin(@lightFlavor, @accentColor);
+ #catppuccin(@lightFlavor);
}
body.dark {
- #catppuccin(@darkFlavor, @accentColor);
+ #catppuccin(@darkFlavor);
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -69,7 +69,7 @@
}
.landing-wrapper-before {
- background-color: @accent-color !important;
+ background-color: @accent !important;
}
/* STATUS PAGE */
@@ -84,13 +84,13 @@
--modal-background: @base !important;
/* startup progress */
- --progress-primary: @accent-color !important;
+ --progress-primary: @accent !important;
--progress-background: @surface1 !important;
--startup-background: @base !important;
--startup-background-rgb: #rgbify(@base)[];
/* home page, no chat selected */
--intro-background: @base !important;
- --intro-border: @accent-color !important;
+ --intro-border: @accent !important;
/* general background */
--app-background: @base !important;
@@ -106,9 +106,9 @@
/* filters item background hover */
--filters-item-background-hover: @surface1 !important;
/* filters item active background */
- --filters-item-active-background: fadeout(@accent-color, 70%) !important;
+ --filters-item-active-background: fade(@accent, 30%) !important;
/* filters item active color */
- --filters-item-active-color: @accent-color !important;
+ --filters-item-active-color: @accent !important;
/* chat list background */
--background-default: @base !important;
/* chat list header */
@@ -122,18 +122,18 @@
--butterbar-green-nux-background: @mantle !important;
/* update available warning */
--butterbar-update-background: @mantle !important;
- --butterbar-update-icon: @accent-color !important;
+ --butterbar-update-icon: @accent !important;
/* chat list search bar */
--search-container-background: @base !important;
--search-input-container-background: @base !important;
--search-input-background: @surface0 !important;
--search-input-container-background-active: @mantle !important;
- --icon-search-back: @accent-color !important;
+ --icon-search-back: @accent !important;
/* archive icon */
- --icon-bright-highlight: @accent-color !important;
+ --icon-bright-highlight: @accent !important;
/* archived unread marker */
- --unread-marker-background: @accent-color !important;
- --unread-timestamp: @accent-color !important;
+ --unread-marker-background: @accent !important;
+ --unread-timestamp: @accent !important;
/* archived chats header */
--archived-chat-persistent-header-background: @crust !important;
/* unread voice message */
@@ -141,7 +141,7 @@
/* read voice message */
--ptt-blue: @blue !important;
/* pinned chat icon */
- --icon-pinned: @accent-color !important;
+ --icon-pinned: @accent !important;
/* last message in selected chat */
--secondary-stronger: @subtext1 !important;
/* background for active and hover chats in chat list */
@@ -328,7 +328,7 @@
--media-gallery-thumb-background: @crust !important;
/* Group info/Contact info */
- --photopicker-overlay-background: fadeout(@mantle, 80%) !important;
+ --photopicker-overlay-background: fade(@mantle, 20%) !important;
--photopicker-overlay-background-rgb: #rgbify(@base)[];
--media-viewer-background-rgb: #rgbify(@base)[];
--drawer-background-deep: @crust !important;
@@ -344,7 +344,7 @@
/* Media gallery */
--drawer-gallery-background: @crust !important;
/* mute toggle */
- --switch-button-checked-color: @accent-color !important;
+ --switch-button-checked-color: @accent !important;
--switch-track-checked-color: @surface2 !important;
--switch-track-color: @surface2 !important;
--switch-button-color: @overlay1 !important;
@@ -359,7 +359,7 @@
/* EMOJI AND STICKERS */
--panel-input-background: @surface0 !important;
--sticker-button-background: @surface1 !important;
- --active-tab-marker: @accent-color !important;
+ --active-tab-marker: @accent !important;
/* REACTIONS */
--reactions-panel-background-color: @surface0 !important;
@@ -369,7 +369,7 @@
/* Forward message popup */
--panel-background-colored-deeper: @crust !important;
- --modal-backdrop: fadeout(@mantle, 80%) !important;
+ --modal-backdrop: fade(@mantle, 20%) !important;
/* Forward media caption */
--forward-caption-preview-background: @mantle !important;
@@ -381,9 +381,9 @@
/* message box for media editor */
--media-editor-image-caption-input-background: @surface0 !important;
/* selected picture in media editor */
- --media-editor-thumb-border-active: @accent-color !important;
+ --media-editor-thumb-border-active: @accent !important;
/* send button in media editor */
- --button-round-background: @accent-color !important;
+ --button-round-background: @accent !important;
/* COMPOSE BAR */
/* type a message bar and background */
@@ -394,14 +394,14 @@
/* select messages fixes */
--panel-background: @mantle !important;
--panel-background-rgb: #rgbify(@mantle)[];
- --checkbox-background: @accent-color !important;
+ --checkbox-background: @accent !important;
/* quoted message in compose */
--popup-panel-background: @surface0 !important;
/* use Surface 0 for contrast, other colors don't pass AAA */
/* mention list item background */
--compose-panel-background-hover: @surface1 !important;
/* compose bar icons */
- --icon: @accent-color !important;
+ --icon: @accent !important;
/* ATTACH ICONS */
/* poll icon */
div._1OT67
@@ -610,7 +610,7 @@
fill: @sky !important;
}
/* VOICE MESSAGE SENDING */
- --ptt-draft-button-send: @accent-color !important;
+ --ptt-draft-button-send: @accent !important;
--ptt-draft-waveform-background: @base !important;
--ptt-draft-button-stop: @red !important;
--ptt-draft-button-stop-hover: @maroon !important;
@@ -632,12 +632,12 @@
/* title and icon for drawers */
--drawer-header-title: @text !important;
/* buttons such as create community */
- --button-primary-background: @accent-color !important;
- --button-primary-background-hover: fadeout(@accent-color, 80%) !important;
+ --button-primary-background: @accent !important;
+ --button-primary-background-hover: fade(@accent, 20%) !important;
/* keyboard shortcuts background */
--panel-background-lighter: @mantle !important;
/* active input in modals and drawers */
- --input-border-active: @accent-color !important;
+ --input-border-active: @accent !important;
/* Start page drawing */
#app
@@ -655,7 +655,7 @@
/* Status unread dot */
#df9d3429-f0ef-48b5-b5eb-f9d27b2deba6 > path:nth-child(2) {
- fill: @accent-color !important;
+ fill: @accent !important;
}
#side
@@ -667,7 +667,7 @@
> span
> svg
> path {
- fill: @accent-color !important;
+ fill: @accent !important;
}
}
}
diff --git a/styles/wiki.nixos.org/catppuccin.user.less b/styles/wiki.nixos.org/catppuccin.user.less
index 23a1302c..95e97ca0 100644
--- a/styles/wiki.nixos.org/catppuccin.user.less
+++ b/styles/wiki.nixos.org/catppuccin.user.less
@@ -19,45 +19,43 @@
@-moz-document domain("wiki.nixos.org") {
@import url("https://python.catppuccin.com/pygments/catppuccin-variables.important.css");
- @media (prefers-color-scheme: light) {
- :root {
- #catppuccin(@lightFlavor, @accentColor);
+ :root {
+ @media (prefers-color-scheme: light) {
+ #catppuccin(@lightFlavor);
}
- }
- @media (prefers-color-scheme: dark) {
- :root {
- #catppuccin(@darkFlavor, @accentColor);
+ @media (prefers-color-scheme: dark) {
+ #catppuccin(@darkFlavor);
}
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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;
@@ -86,6 +84,19 @@
--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;
+ }
+ }
+
--background-color-base: @base;
--home-panel-heading-background: @mantle;
--home-panel-border-color: @surface0;
@@ -200,25 +211,25 @@
}
img.mwe-math-fallback-image-display,
img.mwe-math-fallback-image-inline {
- & when (@lookup = latte) {
+ & when (@flavor = latte) {
filter: brightness(0) saturate(100%) invert(31%) sepia(9%) saturate(
1499%
) hue-rotate(196deg) brightness(90%) contrast(85%);
}
- & when (@lookup = frappe) {
+ & when (@flavor = frappe) {
filter: brightness(0) saturate(100%) invert(92%) sepia(6%) saturate(
3753%
) hue-rotate(184deg) brightness(93%) contrast(106%);
}
- & when (@lookup = macchiato) {
+ & when (@flavor = macchiato) {
filter: brightness(0) saturate(100%) invert(82%) sepia(7%) saturate(
1042%
) hue-rotate(193deg) brightness(103%) contrast(92%);
}
- & when (@lookup = mocha) {
+ & when (@flavor = mocha) {
filter: brightness(0) saturate(100%) invert(83%) sepia(28%) saturate(
223%
) hue-rotate(190deg) brightness(99%) contrast(93%);
@@ -325,8 +336,8 @@
.mw-ui-button {
color: @mantle;
- background-color: @accent-color;
- border-color: @accent-color;
+ background-color: @accent;
+ border-color: @accent;
}
.imbox-delete {
@@ -422,7 +433,7 @@
.mw-parser-output .mainpage-heading-title {
background: linear-gradient(
to right,
- rgba(saturate(lighten(@accent-color, 4%), -3%), 0.4),
+ rgba(saturate(lighten(@accent, 4%), -3%), 0.4),
@surface0
) !important;
}
@@ -530,8 +541,8 @@
.pure-button-primary-progressive,
.pure-button-primary-progressive:hover {
- background-color: @accent-color;
- border-color: @accent-color;
+ background-color: @accent;
+ border-color: @accent;
}
.suggestion-link {
@@ -549,15 +560,15 @@
}
.suggestion-link.active {
- background-color: fade(@accent-color, 20%);
+ background-color: fade(@accent, 20%);
.suggestion-title {
- color: @accent-color;
+ color: @accent;
}
}
.mw-echo-ui-pageNotificationsOptionWidget.oo-ui-optionWidget-highlighted,
.cdx-menu-item--enabled.cdx-menu-item--highlighted {
- background-color: fade(@accent-color, 20%);
+ background-color: fade(@accent, 20%);
}
.mw-echo-ui-sortedListWidget,
@@ -585,7 +596,7 @@
}
input:hover + .cdx-button.cdx-button--action-progressive {
- background-color: fade(@accent-color, 12.5%);
+ background-color: fade(@accent, 12.5%);
}
#pt-notifications-alert .mw-echo-unseen-notifications::after {
@@ -598,7 +609,7 @@
a,
.mw-parser-output a.external:visited {
- color: @accent-color;
+ color: @accent;
&:visited {
color: @mauve;
}
@@ -621,7 +632,7 @@
border-color: @surface2;
}
&:focus {
- border-color: @accent-color;
+ border-color: @accent;
}
}
@@ -634,7 +645,7 @@
#pt-notifications-notice .mw-echo-notifications-badge::after,
.mw-echo-notification-badge-nojs::after {
border-color: @crust;
- background-color: @accent-color;
+ background-color: @accent;
color: @base;
}
@@ -664,7 +675,7 @@
}
.fn.org {
- color: @accent-color;
+ color: @accent;
}
.mw-parser-output .mp-toolbox-daily th,
@@ -685,7 +696,7 @@
.ext-phonos-PhonosButton.oo-ui-buttonElement-frameless.oo-ui-buttonWidget
> .oo-ui-buttonElement-button:hover {
- background-color: fade(@accent-color, 20%);
+ background-color: fade(@accent, 20%);
}
.styled-select:hover {
@@ -716,7 +727,7 @@
}
.lang-list-button:focus {
- box-shadow: inset 0 0 0 1px @accent-color;
+ box-shadow: inset 0 0 0 1px @accent;
}
.lang-list-border {
@@ -772,22 +783,22 @@
> .oo-ui-buttonElement-button:hover,
.vector-dropdown-content .mw-list-item a,
.vector-dropdown-content .mw-list-item a:not(.mw-selflink):visited {
- color: @accent-color;
+ color: @accent;
}
.cdx-button:enabled.cdx-button--weight-primary.cdx-button--action-progressive,
.cdx-button.cdx-button--fake-button--enabled.cdx-button--weight-primary.cdx-button--action-progressive,
.mw-ui-button.mw-ui-progressive:not(:disabled),
.mw-ui-button.mw-ui-progressive:not(:disabled):hover {
- background-color: @accent-color;
- border-color: @accent-color;
+ background-color: @accent;
+ border-color: @accent;
color: @base;
}
.mw-message-box-warning,
.boilerplate {
- border-color: @accent-color !important;
- background-color: fade(@accent-color, 25%) !important;
+ border-color: @accent !important;
+ background-color: fade(@accent, 25%) !important;
color: @text;
}
@@ -837,7 +848,7 @@
}
table.expanded:nth-child(2) > tbody:nth-child(1) > tr:nth-child(2) {
- background-color: fade(@accent-color, 20%) !important;
+ background-color: fade(@accent, 20%) !important;
}
.client-js .mw-content-ltr .mw-editsection-bracket:first-of-type,
@@ -884,7 +895,7 @@
}
.cdx-checkbox__icon {
- border-color: @accent-color !important;
+ border-color: @accent !important;
}
.fancycaptcha-captcha-container .mw-ui-inputÙˆ .mw-ui-input:not(:disabled) {
@@ -909,7 +920,7 @@
.sidebar-pretitle,
.sidebar-title-with-pretitle,
.sidebar-list-title {
- background-color: fade(@accent-color, 20%) !important;
+ background-color: fade(@accent, 20%) !important;
}
.mw-parser-output #mp-bottom,
@@ -984,7 +995,7 @@
.summary,
.infobox > tbody:nth-child(1) > tr:nth-child(4) > th:nth-child(1),
.infobox > tbody:nth-child(1) > tr:nth-child(6) > th:nth-child(1) {
- background-color: fade(@accent-color, 20%) !important;
+ background-color: fade(@accent, 20%) !important;
}
.infobox > tbody:nth-child(1) > tr:nth-child(2) > td:nth-child(1) {
@@ -1137,7 +1148,7 @@
.mw-portlet-lang
.vector-dropdown-label.cdx-button--action-progressive.cdx-button--weight-quiet::after {
@svg: escape(
- ''
+ ''
);
background-image: url("data:image/svg+xml,@{svg}") !important;
}
@@ -1151,7 +1162,7 @@
.vector-icon.mw-ui-icon-wikimedia-language-progressive {
@svg: escape(
- ''
+ ''
);
background-image: url("data:image/svg+xml,@{svg}") !important;
}
@@ -1165,7 +1176,7 @@
.mw-parser-output a.external {
@svg: escape(
- ''
+ ''
);
background-image: url("data:image/svg+xml,@{svg}") !important;
}
@@ -1219,7 +1230,7 @@
.fancycaptcha-reload {
@svg: escape(
- ''
+ ''
);
background-image: url("data:image/svg+xml,@{svg}");
}
@@ -1303,7 +1314,7 @@
.oo-ui-image-progressive.oo-ui-icon-settings {
@svg: escape(
- ''
+ ''
);
background-image: url("data:image/svg+xml,@{svg}");
}
@@ -1460,8 +1471,8 @@
}
.mw-pt-progress--complete::after,
.mw-pt-progress--high::after {
- border-color: @accent-color;
- background: conic-gradient(@text 0, @accent-color 0);
+ border-color: @accent;
+ background: conic-gradient(@text 0, @accent 0);
}
pre,
.oo-ui-panelLayout-framed {
@@ -1490,8 +1501,8 @@
/* 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; };
- };
+ @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 6a51a951..599cfc22 100644
--- a/styles/wikipedia/catppuccin.user.less
+++ b/styles/wikipedia/catppuccin.user.less
@@ -19,50 +19,48 @@
@-moz-document domain("wikipedia.org") {
@import url("https://python.catppuccin.com/pygments/catppuccin-variables.important.css");
- @media (prefers-color-scheme: light) {
- :root {
- #catppuccin(@lightFlavor, @accentColor);
+ :root {
+ @media (prefers-color-scheme: light) {
+ #catppuccin(@lightFlavor);
}
- }
- @media (prefers-color-scheme: dark) {
- :root {
- #catppuccin(@darkFlavor, @accentColor);
+ @media (prefers-color-scheme: dark) {
+ #catppuccin(@darkFlavor);
}
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -207,25 +205,25 @@
}
img.mwe-math-fallback-image-display,
img.mwe-math-fallback-image-inline {
- & when (@lookup = latte) {
+ & when (@flavor = latte) {
filter: brightness(0) saturate(100%) invert(31%) sepia(9%) saturate(
1499%
) hue-rotate(196deg) brightness(90%) contrast(85%);
}
- & when (@lookup = frappe) {
+ & when (@flavor = frappe) {
filter: brightness(0) saturate(100%) invert(92%) sepia(6%) saturate(
3753%
) hue-rotate(184deg) brightness(93%) contrast(106%);
}
- & when (@lookup = macchiato) {
+ & when (@flavor = macchiato) {
filter: brightness(0) saturate(100%) invert(82%) sepia(7%) saturate(
1042%
) hue-rotate(193deg) brightness(103%) contrast(92%);
}
- & when (@lookup = mocha) {
+ & when (@flavor = mocha) {
filter: brightness(0) saturate(100%) invert(83%) sepia(28%) saturate(
223%
) hue-rotate(190deg) brightness(99%) contrast(93%);
@@ -332,8 +330,8 @@
.mw-ui-button {
color: @mantle;
- background-color: @accent-color;
- border-color: @accent-color;
+ background-color: @accent;
+ border-color: @accent;
}
.imbox-delete {
@@ -435,7 +433,7 @@
.mw-parser-output .mainpage-heading-title {
background: linear-gradient(
to right,
- rgba(saturate(lighten(@accent-color, 4%), -3%), 0.4),
+ rgba(saturate(lighten(@accent, 4%), -3%), 0.4),
@surface0
) !important;
}
@@ -543,8 +541,8 @@
.pure-button-primary-progressive,
.pure-button-primary-progressive:hover {
- background-color: @accent-color;
- border-color: @accent-color;
+ background-color: @accent;
+ border-color: @accent;
}
.suggestion-link {
@@ -562,15 +560,15 @@
}
.suggestion-link.active {
- background-color: fade(@accent-color, 20%);
+ background-color: fade(@accent, 20%);
.suggestion-title {
- color: @accent-color;
+ color: @accent;
}
}
.mw-echo-ui-pageNotificationsOptionWidget.oo-ui-optionWidget-highlighted,
.cdx-menu-item--enabled.cdx-menu-item--highlighted {
- background-color: fade(@accent-color, 20%);
+ background-color: fade(@accent, 20%);
}
.mw-echo-ui-sortedListWidget,
@@ -598,7 +596,7 @@
}
input:hover + .cdx-button.cdx-button--action-progressive {
- background-color: fade(@accent-color, 12.5%);
+ background-color: fade(@accent, 12.5%);
}
#pt-notifications-alert .mw-echo-unseen-notifications::after {
@@ -611,7 +609,7 @@
a,
.mw-parser-output a.external:visited {
- color: @accent-color;
+ color: @accent;
&:visited {
color: @mauve;
}
@@ -634,7 +632,7 @@
border-color: @surface2;
}
&:focus {
- border-color: @accent-color;
+ border-color: @accent;
}
}
@@ -647,7 +645,7 @@
#pt-notifications-notice .mw-echo-notifications-badge::after,
.mw-echo-notification-badge-nojs::after {
border-color: @crust;
- background-color: @accent-color;
+ background-color: @accent;
color: @base;
}
@@ -677,7 +675,7 @@
}
.fn.org {
- color: @accent-color;
+ color: @accent;
}
.mw-parser-output .mp-toolbox-daily th,
@@ -698,7 +696,7 @@
.ext-phonos-PhonosButton.oo-ui-buttonElement-frameless.oo-ui-buttonWidget
> .oo-ui-buttonElement-button:hover {
- background-color: fade(@accent-color, 20%);
+ background-color: fade(@accent, 20%);
}
.styled-select:hover {
@@ -729,7 +727,7 @@
}
.lang-list-button:focus {
- box-shadow: inset 0 0 0 1px @accent-color;
+ box-shadow: inset 0 0 0 1px @accent;
}
.lang-list-border {
@@ -787,22 +785,22 @@
> .oo-ui-buttonElement-button:hover,
.vector-dropdown-content .mw-list-item a,
.vector-dropdown-content .mw-list-item a:not(.mw-selflink):visited {
- color: @accent-color;
+ color: @accent;
}
.cdx-button:enabled.cdx-button--weight-primary.cdx-button--action-progressive,
.cdx-button.cdx-button--fake-button--enabled.cdx-button--weight-primary.cdx-button--action-progressive,
.mw-ui-button.mw-ui-progressive:not(:disabled),
.mw-ui-button.mw-ui-progressive:not(:disabled):hover {
- background-color: @accent-color;
- border-color: @accent-color;
+ background-color: @accent;
+ border-color: @accent;
color: @base;
}
.mw-message-box-warning,
.boilerplate {
- border-color: @accent-color !important;
- background-color: fade(@accent-color, 25%) !important;
+ border-color: @accent !important;
+ background-color: fade(@accent, 25%) !important;
color: @text;
}
@@ -852,7 +850,7 @@
}
table.expanded:nth-child(2) > tbody:nth-child(1) > tr:nth-child(2) {
- background-color: fade(@accent-color, 20%) !important;
+ background-color: fade(@accent, 20%) !important;
}
.client-js .mw-content-ltr .mw-editsection-bracket:first-of-type,
@@ -899,7 +897,7 @@
}
.cdx-checkbox__icon {
- border-color: @accent-color !important;
+ border-color: @accent !important;
}
.fancycaptcha-captcha-container .mw-ui-inputÙˆ .mw-ui-input:not(:disabled) {
@@ -924,7 +922,7 @@
.sidebar-pretitle,
.sidebar-title-with-pretitle,
.sidebar-list-title {
- background-color: fade(@accent-color, 20%) !important;
+ background-color: fade(@accent, 20%) !important;
}
.mw-parser-output #mp-bottom,
@@ -999,7 +997,7 @@
.summary,
.infobox > tbody:nth-child(1) > tr:nth-child(4) > th:nth-child(1),
.infobox > tbody:nth-child(1) > tr:nth-child(6) > th:nth-child(1) {
- background-color: fade(@accent-color, 20%) !important;
+ background-color: fade(@accent, 20%) !important;
}
.infobox > tbody:nth-child(1) > tr:nth-child(2) > td:nth-child(1) {
@@ -1122,8 +1120,8 @@
.frb-btn:hover,
.frb-label:hover {
color: @base;
- background-color: @accent-color;
- border-color: @accent-color;
+ background-color: @accent;
+ border-color: @accent;
}
#frb-main {
@@ -1134,8 +1132,8 @@
--frb-link: @subtext0;
--frb-link-hover: @text;
--frb-error: @red;
- --frb-submit: @accent-color;
- --frb-submit-hover: darken(@accent-color, 10%);
+ --frb-submit: @accent;
+ --frb-submit-hover: darken(@accent, 10%);
svg.frb-message-icon > g {
circle {
@@ -1159,7 +1157,7 @@
#frb-inline {
--wmui-base100: @base;
--frb-primary: @red;
- --frb-link: @accent-color;
+ --frb-link: @accent;
--frb-muted: @subtext0;
--frb-muted-hover: @text;
--frb-body: @text;
@@ -1168,8 +1166,8 @@
--wmui-red-light: @red;
--wmui-green-dark: @green;
--wmui-green-light: @green;
- --frb-submit: @accent-color;
- --frb-submit-hover: darken(@accent-color, 10%);
+ --frb-submit: @accent;
+ --frb-submit-hover: darken(@accent, 10%);
.frb-inline-topbar {
color: @text;
@@ -1184,13 +1182,13 @@
}
.frb-btn-cta {
- background-color: @accent-color !important;
- border-color: @accent-color !important;
+ background-color: @accent !important;
+ border-color: @accent !important;
color: @base !important;
}
.frb-btn-simple {
- color: @accent-color !important;
+ color: @accent !important;
}
.frb-monthly-pitch {
@@ -1247,8 +1245,8 @@
}
#nag-yes-btn {
- background-color: @accent-color;
- border-color: @accent-color;
+ background-color: @accent;
+ border-color: @accent;
color: @base;
}
}
@@ -1274,7 +1272,7 @@
.sprite {
@svg: escape(
- ''
+ ''
);
background-image:
linear-gradient(transparent, transparent),
@@ -1338,7 +1336,7 @@
.mw-portlet-lang
.vector-dropdown-label.cdx-button--action-progressive.cdx-button--weight-quiet::after {
@svg: escape(
- ''
+ ''
);
background-image: url("data:image/svg+xml,@{svg}") !important;
}
@@ -1352,7 +1350,7 @@
.vector-icon.mw-ui-icon-wikimedia-language-progressive {
@svg: escape(
- ''
+ ''
);
background-image: url("data:image/svg+xml,@{svg}") !important;
}
@@ -1366,7 +1364,7 @@
.mw-parser-output a.external {
@svg: escape(
- ''
+ ''
);
background-image: url("data:image/svg+xml,@{svg}") !important;
}
@@ -1384,7 +1382,7 @@
[alt="Edit this at Wikidata"] {
@svg: escape(
- ''
+ ''
);
content: url("data:image/svg+xml,@{svg}") !important;
}
@@ -1427,7 +1425,7 @@
.fancycaptcha-reload {
@svg: escape(
- ''
+ ''
);
background-image: url("data:image/svg+xml,@{svg}");
}
@@ -1511,7 +1509,7 @@
.oo-ui-image-progressive.oo-ui-icon-settings {
@svg: escape(
- ''
+ ''
);
background-image: url("data:image/svg+xml,@{svg}");
}
diff --git a/styles/wikiwand/catppuccin.user.less b/styles/wikiwand/catppuccin.user.less
index a81dfe41..b54e4875 100644
--- a/styles/wikiwand/catppuccin.user.less
+++ b/styles/wikiwand/catppuccin.user.less
@@ -18,57 +18,55 @@
@-moz-document domain("wikiwand.com") {
@import url("https://python.catppuccin.com/pygments/catppuccin-variables.important.css");
- @media (prefers-color-scheme: light) {
- .theme-system {
- #catppuccin(@lightFlavor, @accentColor);
+ .theme-system {
+ @media (prefers-color-scheme: light) {
+ #catppuccin(@lightFlavor);
}
- }
- @media (prefers-color-scheme: dark) {
- .theme-system {
- #catppuccin(@darkFlavor, @accentColor);
+ @media (prefers-color-scheme: dark) {
+ #catppuccin(@darkFlavor);
}
}
.theme-light,
.theme-desert,
.theme-calmness {
- #catppuccin(@lightFlavor, @accentColor);
+ #catppuccin(@lightFlavor);
}
.theme-dark,
.theme-black,
.theme-deepOcean,
.theme-nature {
- #catppuccin(@darkFlavor, @accentColor);
+ #catppuccin(@darkFlavor);
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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;
@@ -97,10 +95,10 @@
--ctp-mantle: @mantle;
--ctp-crust: @crust;
- color-scheme: if(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -113,7 +111,7 @@
--color-bg: @base !important;
--color-text: @text !important;
--color-grey: @subtext1 !important;
- --color-accent: @accent-color !important;
+ --color-accent: @accent !important;
--color-highlight: @surface2 !important;
--color-ash: @surface2 !important;
--color-border: @surface2 !important;
@@ -126,7 +124,7 @@
--color-orange-bg: @surface1 !important;
--color-orange-text: @peach !important;
--color-table: @surface0 !important;
- --color-link: @accent-color !important;
+ --color-link: @accent !important;
--color-score-A: @green !important;
--color-score-B: @mauve !important;
--color-score-C: @peach !important;
diff --git a/styles/youtube/catppuccin.user.less b/styles/youtube/catppuccin.user.less
index 5bd4da0d..0b8b2f66 100644
--- a/styles/youtube/catppuccin.user.less
+++ b/styles/youtube/catppuccin.user.less
@@ -20,51 +20,50 @@
@-moz-document domain("youtube.com") {
:root[dark] {
- #catppuccin(@darkFlavor, @accentColor);
+ #catppuccin(@darkFlavor);
}
:root:not([dark]) {
- #catppuccin(@lightFlavor, @accentColor);
+ #catppuccin(@lightFlavor);
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
- @text-filter: @catppuccin[@@lookup][@text_filter];
+ #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];
- @white: if(@lookup = latte, @base, @text);
- @black: if(@lookup = latte, @text, @base);
+ @text-filter: @catppuccin-filters[@@flavor][@text];
- color: @text;
- background: @base !important;
- color-scheme: if(@lookup = latte, light, dark);
+ @white: if(@flavor = latte, @base, @text);
+ @black: if(@flavor = latte, @text, @base);
+
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -74,6 +73,9 @@
}
}
+ color: @text;
+ background: @base !important;
+
&,
[dark],
[system-icons],
@@ -95,9 +97,9 @@
--yt-spec-grey-3: @subtext1 !important;
--yt-spec-grey-4: @overlay2 !important;
--yt-spec-grey-5: @overlay1 !important;
- --yt-brand-youtube-red: @accent-color !important;
- --yt-brand-medium-red: @accent-color !important;
- --yt-brand-light-red: @accent-color !important;
+ --yt-brand-youtube-red: @accent !important;
+ --yt-brand-medium-red: @accent !important;
+ --yt-brand-light-red: @accent !important;
--yt-spec-red-30: @peach !important;
--yt-spec-red-70: @red !important;
--yt-spec-pale-blue: @sky !important;
@@ -109,91 +111,91 @@
--yt-spec-yellow: @peach !important;
--yt-spec-black-pure-alpha-5: @subtext0 !important;
--yt-spec-black-pure-alpha-10: @overlay2 !important;
- --yt-spec-black-pure-alpha-15: fadeout(@crust, 15%) !important;
- --yt-spec-black-pure-alpha-30: fadeout(@crust, 30%) !important;
- --yt-spec-black-pure-alpha-60: fadeout(@crust, 60%) !important;
- --yt-spec-black-pure-alpha-80: fadeout(@crust, 80%) !important;
- --yt-spec-black-1-alpha-98: fadeout(@crust, 98%) !important;
- --yt-spec-black-1-alpha-95: fadeout(@crust, 95%) !important;
- --yt-spec-white-1-alpha-10: fadeout(@text, 10%) !important;
- --yt-spec-white-1-alpha-20: fadeout(@text, 20%) !important;
- --yt-spec-white-1-alpha-25: fadeout(@text, 25%) !important;
- --yt-spec-white-1-alpha-30: fadeout(@text, 30%) !important;
- --yt-spec-white-1-alpha-70: fadeout(@text, 70%) !important;
- --yt-spec-white-1-alpha-95: fadeout(@text, 95%) !important;
- --yt-spec-white-1-alpha-98: fadeout(@text, 98%) !important;
- --yt-brand-medium-red-alpha-90: fadeout(@accent-color, 90%) !important;
- --yt-brand-medium-red-alpha-30: fadeout(@accent-color, 30%) !important;
- --yt-brand-light-red-alpha-30: fadeout(@accent-color, 30%) !important;
- --yt-spec-light-blue-alpha-30: fadeout(@sapphire, 30%) !important;
- --yt-spec-dark-blue-alpha-30: fadeout(@sapphire, 30%) !important;
+ --yt-spec-black-pure-alpha-15: fade(@crust, 85%) !important;
+ --yt-spec-black-pure-alpha-30: fade(@crust, 70%) !important;
+ --yt-spec-black-pure-alpha-60: fade(@crust, 40%) !important;
+ --yt-spec-black-pure-alpha-80: fade(@crust, 20%) !important;
+ --yt-spec-black-1-alpha-98: fade(@crust, 2%) !important;
+ --yt-spec-black-1-alpha-95: fade(@crust, 5%) !important;
+ --yt-spec-white-1-alpha-10: fade(@text, 90%) !important;
+ --yt-spec-white-1-alpha-20: fade(@text, 80%) !important;
+ --yt-spec-white-1-alpha-25: fade(@text, 75%) !important;
+ --yt-spec-white-1-alpha-30: fade(@text, 70%) !important;
+ --yt-spec-white-1-alpha-70: fade(@text, 30%) !important;
+ --yt-spec-white-1-alpha-95: fade(@text, 5%) !important;
+ --yt-spec-white-1-alpha-98: fade(@text, 2%) !important;
+ --yt-brand-medium-red-alpha-90: fade(@accent, 10%) !important;
+ --yt-brand-medium-red-alpha-30: fade(@accent, 70%) !important;
+ --yt-brand-light-red-alpha-30: fade(@accent, 70%) !important;
+ --yt-spec-light-blue-alpha-30: fade(@sapphire, 70%) !important;
+ --yt-spec-dark-blue-alpha-30: fade(@sapphire, 70%) !important;
--yt-spec-base-background: @base !important;
--yt-spec-raised-background: @base !important;
--yt-spec-menu-background: @mantle !important;
--yt-spec-inverted-background: @text !important;
- --yt-spec-additive-background: fadeout(@surface1, 10%) !important;
+ --yt-spec-additive-background: fade(@surface1, 90%) !important;
--yt-spec-outline: @surface0 !important;
- --yt-spec-shadow: fadeout(@crust, 25%) !important;
+ --yt-spec-shadow: fade(@crust, 75%) !important;
--yt-spec-text-primary: @text !important;
--yt-spec-text-secondary: @subtext0 !important;
--yt-spec-text-disabled: @subtext1 !important;
--yt-spec-text-primary-inverse: @crust !important;
- --yt-spec-call-to-action: @accent-color !important;
- --yt-spec-call-to-action-inverse: @accent-color !important;
- --yt-spec-suggested-action: fadeout(@accent-color, 80%) !important;
+ --yt-spec-call-to-action: @accent !important;
+ --yt-spec-call-to-action-inverse: @accent !important;
+ --yt-spec-suggested-action: fade(@accent, 20%) !important;
--yt-spec-suggested-action-inverse: @text !important;
--yt-spec-icon-active-other: @text !important;
--yt-spec-button-chip-background-hover: @surface1 !important;
--yt-spec-touch-response: @surface0 !important;
- --yt-spec-touch-response-inverse: @accent-color !important;
- --yt-spec-brand-icon-active: @accent-color !important;
- --yt-spec-brand-button-background: @accent-color !important;
+ --yt-spec-touch-response-inverse: @accent !important;
+ --yt-spec-brand-icon-active: @accent !important;
+ --yt-spec-brand-button-background: @accent !important;
--yt-spec-brand-link-text: @sapphire !important;
--yt-spec-wordmark-text: @text !important;
--yt-spec-error-indicator: @red !important;
- --yt-spec-themed-blue: @accent-color !important;
+ --yt-spec-themed-blue: @accent !important;
--yt-spec-themed-green: @green !important;
--yt-spec-ad-indicator: @teal !important;
- --yt-spec-themed-overlay-background: fadeout(@crust, 80%) !important;
+ --yt-spec-themed-overlay-background: fade(@crust, 20%) !important;
--yt-spec-commerce-badge-background: @green !important;
- --yt-spec-static-brand-red: @accent-color !important;
+ --yt-spec-static-brand-red: @accent !important;
--yt-spec-static-brand-white: @text !important;
--yt-spec-static-brand-black: @base !important;
- --yt-spec-static-clear-color: fadeout(@crust, 0%) !important;
- --yt-spec-static-clear-black: fadeout(@crust, 0%) !important;
+ --yt-spec-static-clear-color: fade(@crust, 100%) !important;
+ --yt-spec-static-clear-black: fade(@crust, 100%) !important;
--yt-spec-static-ad-yellow: @peach !important;
--yt-spec-static-grey: @subtext0 !important;
--yt-spec-static-overlay-background-solid: @crust !important;
--yt-spec-static-overlay-background-heavy: @crust;
--yt-spec-static-overlay-background-medium: fade(@crust, 50%) !important;
- --yt-spec-static-overlay-background-medium-light: fadeout(
+ --yt-spec-static-overlay-background-medium-light: fade(
@crust,
- 30%
+ 70%
) !important;
- --yt-spec-static-overlay-background-light: fadeout(
+ --yt-spec-static-overlay-background-light: fade(
@crust,
- 10%
+ 90%
) !important;
--yt-spec-static-overlay-text-primary: @text !important;
- --yt-spec-static-overlay-text-secondary: fadeout(
+ --yt-spec-static-overlay-text-secondary: fade(
+ @subtext0,
+ 30%
+ ) !important;
+ --yt-spec-static-overlay-text-disabled: fade(
@subtext0,
70%
) !important;
- --yt-spec-static-overlay-text-disabled: fadeout(
- @subtext0,
- 30%
- ) !important;
- --yt-spec-static-overlay-call-to-action: @accent-color !important;
+ --yt-spec-static-overlay-call-to-action: @accent !important;
--yt-spec-static-overlay-icon-active-other: @crust !important;
--yt-spec-static-overlay-icon-inactive: @surface1 !important;
--yt-spec-static-overlay-icon-disabled: @surface2 !important;
- --yt-spec-static-overlay-button-primary: @accent-color !important;
+ --yt-spec-static-overlay-button-primary: @accent !important;
--yt-spec-static-overlay-button-secondary: @surface0 !important;
--yt-spec-static-overlay-touch-response: @overlay1 !important;
--yt-spec-static-overlay-touch-response-inverse: @surface1 !important;
- --yt-spec-static-overlay-background-brand: @accent-color !important;
+ --yt-spec-static-overlay-background-brand: @accent !important;
--yt-spec-assistive-feed-themed-gradient-1: @subtext0 !important;
--yt-spec-assistive-feed-themed-gradient-2: @lavender !important;
--yt-spec-assistive-feed-themed-gradient-3: @red !important;
@@ -208,27 +210,27 @@
--yt-spec-snackbar-background: @mantle !important;
--yt-spec-snackbar-background-updated: @mantle !important;
--yt-spec-badge-chip-background: if(
- @lookup = latte,
+ @flavor = latte,
@crust,
@surface0
) !important;
--yt-spec-verified-badge-background: @overlay0 !important;
- --yt-spec-call-to-action-fadeoutd: fadeout(@sapphire, 30%) !important;
- --yt-spec-call-to-action-hover: @accent-color !important;
- --yt-spec-brand-button-background-hover: @accent-color !important;
- --yt-spec-brand-link-text-fadeoutd: fadeout(
- @accent-color,
- 30%
+ --yt-spec-call-to-action-fadeoutd: fade(@sapphire, 70%) !important;
+ --yt-spec-call-to-action-hover: @accent !important;
+ --yt-spec-brand-button-background-hover: @accent !important;
+ --yt-spec-brand-link-text-fadeoutd: fade(
+ @accent,
+ 70%
) !important;
--yt-spec-filled-button-focus-outline: @surface0 !important;
--yt-spec-static-overlay-button-hover: @surface1 !important;
--yt-spec-mono-filled-hover: @surface1 !important;
- --yt-spec-commerce-filled-hover: @accent-color !important;
+ --yt-spec-commerce-filled-hover: @accent !important;
--yt-spec-mono-tonal-hover: @surface1 !important;
--yt-spec-commerce-tonal-hover: @surface2 !important;
--yt-spec-static-overlay-filled-hover: @overlay1 !important;
--yt-spec-static-overlay-tonal-hover: @surface1 !important;
- --yt-spec-paper-tab-ink: fadeout(@text, 30%);
+ --yt-spec-paper-tab-ink: fade(@text, 70%);
--yt-spec-filled-button-text: @text !important;
--yt-spec-selected-nav-text: @text !important;
--iron-icon-fill-color: @text !important;
@@ -236,16 +238,16 @@
/* Search bar */
--ytd-searchbox-border-color: @surface0 !important;
--ytd-searchbox-legacy-border-color: @surface0 !important;
- --ytd-searchbox-legacy-border-shadow-color: fadeout(
+ --ytd-searchbox-legacy-border-shadow-color: fade(
@crust,
- 0%
+ 100%
) !important;
--ytd-searchbox-legacy-button-color: @mantle !important;
--ytd-searchbox-legacy-button-border-color: @surface0 !important;
- --ytd-searchbox-legacy-button-focus-color: @accent-color !important;
+ --ytd-searchbox-legacy-button-focus-color: @accent !important;
--ytd-searchbox-legacy-button-hover-color: @mantle !important;
--ytd-searchbox-legacy-button-hover-border-color: @surface0 !important;
- --ytd-searchbox-legacy-button-icon-color: @accent-color !important;
+ --ytd-searchbox-legacy-button-icon-color: @accent !important;
--ytd-searchbox-background: @base !important;
--ytd-searchbox-text-color: @text !important;
@@ -261,14 +263,14 @@
--yt-live-chat-toast-background-color: @surface2 !important;
--yt-live-chat-mode-change-background-color: @base !important;
--yt-live-chat-secondary-text-color: @subtext0 !important;
- --yt-live-chat-tertiary-text-color: fadeout(@text, 54%) !important;
+ --yt-live-chat-tertiary-text-color: fade(@text, 46%) !important;
--yt-live-chat-text-input-field-inactive-underline-color: @subtext0
!important;
--yt-live-chat-text-input-field-placeholder-color: @subtext0 !important;
--yt-live-chat-enabled-send-button-color: @text !important;
--yt-live-chat-disabled-icon-button-color: @subtext1 !important;
- --yt-live-chat-picker-button-hover-color: @accent-color !important;
- --yt-live-chat-mention-background-color: @accent-color !important;
+ --yt-live-chat-picker-button-hover-color: @accent !important;
+ --yt-live-chat-mention-background-color: @accent !important;
--yt-live-chat-mention-text-color: @text !important;
--yt-live-chat-deleted-message-color: @subtext0;
--yt-live-chat-deleted-message-bar-color: @subtext1 !important;
@@ -280,12 +282,12 @@
--yt-live-chat-owner-color: @peach !important;
--yt-live-chat-message-highlight-background-color: @base !important;
--yt-live-chat-sponsor-color: @green !important;
- --yt-live-chat-overlay-color: fadeout(@mantle, 50%);
+ --yt-live-chat-overlay-color: fade(@mantle, 50%);
--yt-live-chat-dialog-background-color: @base !important;
--yt-emoji-picker-variant-selector-bg-color: @base !important;
- --yt-live-chat-moderation-mode-hover-background-color: fadeout(
+ --yt-live-chat-moderation-mode-hover-background-color: fade(
@mantle,
- 30%
+ 70%
) !important;
--yt-grey: @subtext0 !important;
--yt-live-chat-text-input-field-suggestion-background-color: @subtext0
@@ -294,8 +296,8 @@
!important;
--yt-emoji-picker-search-background-color: @surface0 !important;
--yt-emoji-picker-search-color: @text !important;
- --yt-emoji-picker-search-placeholder-color: @accent-color !important;
- --yt-live-chat-slider-active-color: @accent-color !important;
+ --yt-emoji-picker-search-placeholder-color: @accent !important;
+ --yt-live-chat-slider-active-color: @accent !important;
--yt-live-chat-slider-container-color: @surface0 !important;
--yt-live-chat-slider-markers-color: @text !important;
--yt-live-chat-banner-gradient-scrim: linear-gradient(
@@ -307,27 +309,27 @@
@mantle,
transparent
) !important;
- --yt-live-chat-automod-button-background-color-hover: fadeout(
+ --yt-live-chat-automod-button-background-color-hover: fade(
@crust,
50%
) !important;
- --yt-live-chat-automod-button-explanation-color: fadeout(
- @accent-color,
- 70%
+ --yt-live-chat-automod-button-explanation-color: fade(
+ @accent,
+ 30%
) !important;
- --yt-live-chat-shimmer-background-color: fadeout(@crust, 40%) !important;
+ --yt-live-chat-shimmer-background-color: fade(@crust, 60%) !important;
--yt-live-chat-shimmer-linear-gradient: linear-gradient(
0deg,
- fadeout(@text, 0.1) 40%,
- fadeout(@base, 0.3) 50%,
- fadeout(@text, 0.1) 60%
+ fade(@text, 90%) 40%,
+ fade(@base, 70%) 50%,
+ fade(@text, 90%) 60%
) !important;
--yt-live-chat-vem-background-color: @mantle !important;
- --yt-live-chat-product-picker-icon-color: fadeout(@text, 50%) !important;
+ --yt-live-chat-product-picker-icon-color: fade(@text, 50%) !important;
--yt-live-chat-product-picker-hover-color: @overlay0 !important;
- --yt-live-chat-product-picker-disabled-icon-color: fadeout(
+ --yt-live-chat-product-picker-disabled-icon-color: fade(
@text,
- 30%
+ 70%
) !important;
--yt-live-chat-action-panel-background-color-transparent: (null)
!important;
@@ -336,16 +338,16 @@
--paper-tooltip-text-color: @text !important;
/* Links */
- --yt-endpoint-color: @accent-color !important;
- --yt-endpoint-visited-color: @accent-color !important;
- --yt-endpoint-hover-color: @accent-color !important;
+ --yt-endpoint-color: @accent !important;
+ --yt-endpoint-visited-color: @accent !important;
+ --yt-endpoint-hover-color: @accent !important;
- --sb-dark-red-outline: @accent-color !important;
+ --sb-dark-red-outline: @accent !important;
--sb-main-bg-color: @base !important;
--sb-main-fg-color: @text !important;
--sb-grey-bg-color: @base !important;
--sb-grey-fg-color: @subtext0 !important;
- --sb-red-bg-color: @accent-color !important;
+ --sb-red-bg-color: @accent !important;
}
&:not(.style-scope) {
@@ -355,12 +357,12 @@
--disabled-text-color: @subtext1 !important;
--divider-color: @overlay0 !important;
--error-color: @red !important;
- --primary-color: @accent-color !important;
- --light-primary-color: @accent-color !important;
+ --primary-color: @accent !important;
+ --light-primary-color: @accent !important;
--dark-primary-color: @blue !important;
- --accent-color: @accent-color !important;
- --light-accent-color: @accent-color !important;
- --dark-accent-color: @accent-color !important;
+ --accent-color: @accent !important;
+ --light-accent-color: @accent !important;
+ --dark-accent-color: @accent !important;
--light-theme-background-color: @base !important;
--light-theme-base-color: @text !important;
--light-theme-text-color: @text !important;
@@ -385,13 +387,13 @@
}
#channel-name.ytd-video-meta-block {
- --yt-endpoint-color: @accent-color !important;
- --yt-endpoint-visited-color: @accent-color !important;
- color: @accent-color !important;
+ --yt-endpoint-color: @accent !important;
+ --yt-endpoint-visited-color: @accent !important;
+ color: @accent !important;
}
.yt-page-navigation-progress {
- background: @accent-color !important;
+ background: @accent !important;
}
/* Selected chapter */
@@ -435,10 +437,10 @@
background: @crust !important;
}
- .ytp-progress-list when not(@lookup = latte) {
+ .ytp-progress-list when not(@flavor = latte) {
background: fade(@surface0, 80%);
}
- .ytp-load-progress when not(@lookup = latte) {
+ .ytp-load-progress when not(@flavor = latte) {
background: fade(@overlay0, 100%);
}
@@ -455,16 +457,16 @@
--yt-button-default-text-color: @text !important;
--yt-button-default-background-color: @base !important;
--yt-button-dark-text-color: @base !important;
- --yt-button-dark-background-color: @accent-color !important;
- --yt-button-payment-background-color: @accent-color !important;
+ --yt-button-dark-background-color: @accent !important;
+ --yt-button-payment-background-color: @accent !important;
}
yt-icon-button.yt-live-chat-item-list-renderer {
- background-color: @accent-color;
+ background-color: @accent;
color: @crust;
&:hover {
- background-color: darken(@accent-color, 5%);
+ background-color: darken(@accent, 5%);
}
}
@@ -507,7 +509,7 @@
.ytp-settings-button.ytp-8k-quality-badge::after,
.ytp-settings-button.ytp-3d-badge-grey::after,
.ytp-settings-button.ytp-3d-badge::after {
- background-color: @accent-color;
+ background-color: @accent;
}
/* Icons */
@@ -517,11 +519,11 @@
[fill="#FF0000"],
[fill="#f03"],
[fill="#FF0033"] {
- fill: @accent-color !important;
+ fill: @accent !important;
}
[fill="white"] {
- fill: if(@lookup = latte, @base, @text) !important;
+ fill: if(@flavor = latte, @base, @text) !important;
}
/* verification badge */
@@ -550,7 +552,7 @@
.yt-spec-icon-badge-shape--type-notification
.yt-spec-icon-badge-shape__badge {
- background-color: @accent-color !important;
+ background-color: @accent !important;
color: @surface0 !important;
}
@@ -575,10 +577,10 @@
/* Accent for filled-in thumbs up (like button) */
[animated-icon-type="LIKE"] {
g path[fill] {
- fill: @accent-color !important;
+ fill: @accent !important;
+ [stroke] {
- stroke: @accent-color !important;
+ stroke: @accent !important;
}
}
}
@@ -602,7 +604,7 @@
/* Accent for filled-in thumbs up (like button) */
path[d="M3,11h3v10H3V11z M18.77,11h-4.23l1.52-4.94C16.38,5.03,15.54,4,14.38,4c-0.58,0-1.14,0.24-1.52,0.65L7,11v10h10.43 c1.06,0,1.98-0.67,2.19-1.61l1.34-6C21.23,12.15,20.18,11,18.77,11z"] {
- fill: @accent-color;
+ fill: @accent;
}
&:hover {
@@ -612,10 +614,10 @@
&.yt-spec-button-shape-next--filled {
color: @crust;
- background-color: @accent-color;
+ background-color: @accent;
&:hover {
- background-color: darken(@accent-color, 5%);
+ background-color: darken(@accent, 5%);
}
}
}
@@ -639,7 +641,7 @@
&.yt-spec-button-shape-next--filled {
color: @crust;
- background-color: @accent-color;
+ background-color: @accent;
}
&.yt-spec-button-shape-next--outline {
@@ -653,29 +655,29 @@
.yt-spec-button-shape-next--call-to-action {
&.yt-spec-button-shape-next--outline {
- color: @accent-color;
+ color: @accent;
border-color: @surface2;
&:hover {
- background-color: fade(@accent-color, 30%);
- color: @accent-color;
+ background-color: fade(@accent, 30%);
+ color: @accent;
}
}
&.yt-spec-button-shape-next--text {
- color: @accent-color;
+ color: @accent;
&:hover {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
}
&.yt-spec-button-shape-next--filled {
color: @crust;
- background-color: @accent-color;
+ background-color: @accent;
&:hover {
- background-color: lighten(@accent-color, 5%);
+ background-color: lighten(@accent, 5%);
}
}
}
@@ -687,7 +689,7 @@
/* Search box */
ytd-searchbox[has-focus] #container.ytd-searchbox {
- border-color: @accent-color;
+ border-color: @accent;
}
.ytSearchboxComponentInputBox,
@@ -700,7 +702,7 @@
.ytSearchboxComponentInputBoxHasFocus,
.ytSearchboxComponentInputBoxHasFocusDark {
- border-color: @accent-color !important;
+ border-color: @accent !important;
}
.ytSuggestionComponentSuggestionHover:hover,
@@ -783,7 +785,7 @@
}
.yt-core-attributed-string__link--call-to-action-color {
- color: @accent-color;
+ color: @accent;
}
.YtwCourseProgressViewModelHostProgressTitle,
@@ -815,7 +817,7 @@
.badge[aria-label="PREMIERE"],
.badge-shape-wiz--live.badge-shape-wiz--overlay,
.badge-shape-wiz--thumbnail-live {
- background: @accent-color;
+ background: @accent;
color: @crust;
}
#thumbnail [style="background-color: rgba(51, 51, 51, 0.8);"],
@@ -830,7 +832,7 @@
color: @text;
}
.ytp-sb-subscribe {
- background-color: @accent-color;
+ background-color: @accent;
color: @crust;
}
ytd-thumbnail-overlay-resume-playback-renderer {
@@ -871,7 +873,7 @@
}
.ytp-panel-footer-content-link {
- color: @accent-color;
+ color: @accent;
}
.ytp-panel-back-button {
@@ -889,7 +891,7 @@
}
}
.ytp-menuitem[aria-checked="true"] .ytp-menuitem-toggle-checkbox {
- background: @accent-color;
+ background: @accent;
}
.ytp-menuitem {
@@ -942,7 +944,7 @@
.ytp-swatch-background-color,
.ytp-play-progress {
- background: @accent-color !important;
+ background: @accent !important;
}
.ytp-svg-fill,
@@ -968,7 +970,7 @@
.ytp-live-badge {
&[disabled]::before {
- background: @accent-color;
+ background: @accent;
}
&::before {
background: @overlay0;
@@ -980,16 +982,16 @@
color: @crust;
}
.yt-spec-avatar-shape--live-ring {
- border-color: @accent-color;
+ border-color: @accent;
}
.yt-spec-avatar-shape__live-badge {
- background-color: @accent-color;
+ background-color: @accent;
}
.ytp-button,
.ytp-subtitles-button {
&[aria-pressed]::after {
- background-color: @accent-color;
+ background-color: @accent;
}
}
@@ -1030,8 +1032,8 @@
/* Video highlight */
ytd-rich-item-renderer.ytd-rich-item-renderer-highlight {
- background-color: fade(@accent-color, 10%) !important;
- box-shadow: fade(@accent-color, 10%) 0 0 0 10px !important;
+ background-color: fade(@accent, 10%) !important;
+ box-shadow: fade(@accent, 10%) 0 0 0 10px !important;
}
#shorts-container {
@@ -1065,11 +1067,11 @@
.YtProgressBarLineProgressBarPlayed,
.YtProgressBarPlayheadProgressBarPlayheadDot {
- background-color: @accent-color !important;
+ background-color: @accent !important;
}
.yt-spec-button-shape-next--overlay-dark.yt-spec-button-shape-next--filled {
- background-color: @accent-color;
+ background-color: @accent;
color: @crust;
}
@@ -1103,7 +1105,7 @@
#comment-chip-container.yt-pdg-comment-chip-renderer,
.slider-knob-inner.tp-yt-paper-slider {
- background: @accent-color !important;
+ background: @accent !important;
}
#primaryProgress.tp-yt-paper-progress {
@@ -1213,57 +1215,44 @@
@-moz-document url-prefix("https://studio.youtube.com") {
:root[dark] {
- #catppuccin(@darkFlavor, @accentColor);
+ #catppuccin(@darkFlavor);
}
:root {
- #catppuccin(@lightFlavor, @accentColor);
+ #catppuccin(@lightFlavor);
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
-
- color-scheme: if(@lookup = latte, light, dark);
-
- ::selection {
- background-color: fade(@accent-color, 30%);
- }
-
- input,
- textarea {
- &::placeholder {
- color: @subtext0 !important;
- }
- }
+ #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];
[src="https://www.gstatic.com/youtube/img/creator/yt_studio_logo_white.svg"] {
@svg: escape(
- ''
+ ''
);
content: url("data:image/svg+xml,@{svg}");
}
@@ -1312,10 +1301,10 @@
--ytcp-container-border-color-inverse: @subtext0 !important;
--ytcp-line-divider-solid-inverse: @subtext0 !important;
- --ytcp-call-to-action: @accent-color !important;
+ --ytcp-call-to-action: @accent !important;
--ytcp-call-to-action-inverse: @mantle !important;
- --ytcp-call-to-action-raised-background: @accent-color !important;
- --yt-spec-brand-button-background: @accent-color !important;
+ --ytcp-call-to-action-raised-background: @accent !important;
+ --yt-spec-brand-button-background: @accent !important;
--ytcp-call-to-action-raised-disabled: @surface2 !important;
--ytcp-call-to-action-raised-disabled-background: @overlay2 !important;
--ytcp-call-to-action-raised-background-inverse: @base !important;
@@ -1326,7 +1315,7 @@
--yt-spec-brand-background-primary: @surface0 !important;
--yt-compact-link-icon-color: @overlay2 !important;
- --ytcp-icon-active: @accent-color !important;
+ --ytcp-icon-active: @accent !important;
--ytcp-icon-inactive: @overlay2 !important;
--ytcp-icon-disabled: @overlay0 !important;
--ytcp-icon-active-inverse: @overlay1 !important;
@@ -1336,9 +1325,9 @@
--ytcp-badge-red: @red !important;
--ytcp-error-red-inverse: @red !important;
--ytcp-themed-red-inverse: @red !important;
- --ytcp-themed-red: @accent-color !important;
- --ytcp-themed-blue: @accent-color !important;
- --ytcp-badge-blue: fade(@accent-color, 30%);
+ --ytcp-themed-red: @accent !important;
+ --ytcp-themed-blue: @accent !important;
+ --ytcp-badge-blue: fade(@accent, 30%);
--ytcp-badge-blue-solid: @blue !important;
--ytcp-themed-blue-inverse: @blue !important;
--ytcp-themed-green: @green !important;
@@ -1370,11 +1359,11 @@
--ytmus-genre-primary-sky-inverse: @sky !important;
--yt-spec-badge-chip-background: @surface1 !important;
- --ytcp-focus-inverse: @accent-color !important;
- --ytcp-focus: @accent-color !important;
- --ytcp-selected-item: @accent-color !important;
+ --ytcp-focus-inverse: @accent !important;
+ --ytcp-focus: @accent !important;
+ --ytcp-selected-item: @accent !important;
--ytcp-hover-item: @overlay2 !important;
- --ytcp-chip-active-focus: @accent-color !important;
+ --ytcp-chip-active-focus: @accent !important;
--ytcp-playhead: @overlay2 !important;
--ytcp-playhead-inverse: @overlay2 !important;
}
@@ -1392,40 +1381,40 @@
@-moz-document domain("m.youtube.com") {
html[darker-dark-theme] {
- #catppuccin(@darkFlavor, @accentColor);
+ #catppuccin(@darkFlavor);
}
html {
- #catppuccin(@lightFlavor, @accentColor);
+ #catppuccin(@lightFlavor);
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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];
background-color: @base !important;
color: @text !important;
@@ -1484,7 +1473,7 @@
&.selected .chip-container {
color: @crust;
- background-color: @accent-color;
+ background-color: @accent;
}
}
@@ -1502,7 +1491,7 @@
.yt-spec-touch-feedback-shape--overlay-touch-response-inverse
.yt-spec-touch-feedback-shape__fill {
- background-color: @accent-color;
+ background-color: @accent;
}
.yt-spec-touch-feedback-shape--overlay-touch-response
.yt-spec-touch-feedback-shape__fill {
@@ -1513,8 +1502,16 @@
/* 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(31%) sepia(12%) saturate(1015%) hue-rotate(196deg) brightness(94%) contrast(91%); @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(80%) sepia(11%) saturate(726%) hue-rotate(192deg) brightness(104%) contrast(92%); @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(84%) sepia(5%) saturate(1385%) hue-rotate(192deg) brightness(101%) 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(87%) sepia(6%) saturate(985%) hue-rotate(191deg) 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; };
+ @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/template/catppuccin.user.less b/template/catppuccin.user.less
index 26472fd6..2bfba32d 100644
--- a/template/catppuccin.user.less
+++ b/template/catppuccin.user.less
@@ -20,14 +20,12 @@
Use the below example CSS to start if the website you are theming doesn't have a light/dark mode toggle.
For an actual example of this, see https://github.com/catppuccin/userstyles/blob/39288b593278e5efa48007d5fc001292cf910672/styles/brave-search/catppuccin.user.css#L16-L29.
*/
- @media (prefers-color-scheme: light) {
- :root {
- #catppuccin(@lightFlavor, @accentColor);
+ :root {
+ @media (prefers-color-scheme: light) {
+ #catppuccin(@lightFlavor);
}
- }
- @media (prefers-color-scheme: dark) {
- :root {
- #catppuccin(@darkFlavor, @accentColor);
+ @media (prefers-color-scheme: dark) {
+ #catppuccin(@darkFlavor);
}
}
@@ -40,45 +38,45 @@
For an actual example of this, see https://github.com/catppuccin/userstyles/blob/39288b593278e5efa48007d5fc001292cf910672/styles/youtube/catppuccin.user.css#L21-L30.
*/
:root[data-theme="dark"] {
- #catppuccin(@darkFlavor, @accentColor);
+ #catppuccin(@darkFlavor);
}
:root[data-theme="light"] {
- #catppuccin(@lightFlavor, @accentColor);
+ #catppuccin(@lightFlavor);
}
- #catppuccin(@lookup, @accent) {
- @rosewater: @catppuccin[@@lookup][@rosewater];
- @flamingo: @catppuccin[@@lookup][@flamingo];
- @pink: @catppuccin[@@lookup][@pink];
- @mauve: @catppuccin[@@lookup][@mauve];
- @red: @catppuccin[@@lookup][@red];
- @maroon: @catppuccin[@@lookup][@maroon];
- @peach: @catppuccin[@@lookup][@peach];
- @yellow: @catppuccin[@@lookup][@yellow];
- @green: @catppuccin[@@lookup][@green];
- @teal: @catppuccin[@@lookup][@teal];
- @sky: @catppuccin[@@lookup][@sky];
- @sapphire: @catppuccin[@@lookup][@sapphire];
- @blue: @catppuccin[@@lookup][@blue];
- @lavender: @catppuccin[@@lookup][@lavender];
- @text: @catppuccin[@@lookup][@text];
- @subtext1: @catppuccin[@@lookup][@subtext1];
- @subtext0: @catppuccin[@@lookup][@subtext0];
- @overlay2: @catppuccin[@@lookup][@overlay2];
- @overlay1: @catppuccin[@@lookup][@overlay1];
- @overlay0: @catppuccin[@@lookup][@overlay0];
- @surface2: @catppuccin[@@lookup][@surface2];
- @surface1: @catppuccin[@@lookup][@surface1];
- @surface0: @catppuccin[@@lookup][@surface0];
- @base: @catppuccin[@@lookup][@base];
- @mantle: @catppuccin[@@lookup][@mantle];
- @crust: @catppuccin[@@lookup][@crust];
- @accent-color: @catppuccin[@@lookup][@@accent];
+ #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(@lookup = latte, light, dark);
+ color-scheme: if(@flavor = latte, light, dark);
::selection {
- background-color: fade(@accent-color, 30%);
+ background-color: fade(@accent, 30%);
}
input,
@@ -93,12 +91,12 @@
/* If you need to specify an overwrite specific to a flavor
* (e.g. only when the flavor is set to latte), you can use a `when` guard clause. */
- & when (@lookup = latte) {
+ & when (@flavor = latte) {
/* ... */
}
/* You can also negate the statement above by using
* a `when not` guard clause. */
- & when not(@lookup = latte) {
+ & when not(@flavor = latte) {
/* ... */
}
}