refactor(tree-wide): misc improvements (#1547)

This commit is contained in:
uncenter authored and GitHub committed 2024-12-31 17:52:08 -05:00
1 parent 3e6ecfbf86
commit 6121f23d7c
126 files changed
+8047 -8021

No files matched your search

-1
View File
@@ -25,4 +25,3 @@ jobs:
run: | run: |
deno lint deno lint
deno check **/*.ts deno check **/*.ts
deno fmt --check **/*.ts
+3 -3
View File
@@ -6,13 +6,13 @@
export default { export default {
extends: "stylelint-config-standard", extends: "stylelint-config-standard",
plugins: [ plugins: [
"./scripts/lint/stylelint-custom/optimized-svgs.js", "./scripts/lint/stylelint-custom/index.js",
"./scripts/lint/stylelint-custom/color-op-func-percentage.js",
], ],
customSyntax: "postcss-less", customSyntax: "postcss-less",
rules: { rules: {
"catppuccin/optimized-svgs": true, "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, "selector-class-pattern": null,
"custom-property-pattern": null, "custom-property-pattern": null,
+28 -28
View File
@@ -73,34 +73,34 @@ If you encounter non-SVG images, or many `<img>` 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 `@<color>: @catppuccin[@@lookup][@<color>];` 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 `@<color>: @catppuccin[@@flavor][@<color>];` color definitions.
```css ```css
@rosewater-filter: @catppuccin-filters[@@lookup][@rosewater]; @rosewater-filter: @catppuccin-filters[@@flavor][@rosewater];
@flamingo-filter: @catppuccin-filters[@@lookup][@flamingo]; @flamingo-filter: @catppuccin-filters[@@flavor][@flamingo];
@pink-filter: @catppuccin-filters[@@lookup][@pink]; @pink-filter: @catppuccin-filters[@@flavor][@pink];
@mauve-filter: @catppuccin-filters[@@lookup][@mauve]; @mauve-filter: @catppuccin-filters[@@flavor][@mauve];
@red-filter: @catppuccin-filters[@@lookup][@red]; @red-filter: @catppuccin-filters[@@flavor][@red];
@maroon-filter: @catppuccin-filters[@@lookup][@maroon]; @maroon-filter: @catppuccin-filters[@@flavor][@maroon];
@peach-filter: @catppuccin-filters[@@lookup][@peach]; @peach-filter: @catppuccin-filters[@@flavor][@peach];
@yellow-filter: @catppuccin-filters[@@lookup][@yellow]; @yellow-filter: @catppuccin-filters[@@flavor][@yellow];
@green-filter: @catppuccin-filters[@@lookup][@green]; @green-filter: @catppuccin-filters[@@flavor][@green];
@teal-filter: @catppuccin-filters[@@lookup][@teal]; @teal-filter: @catppuccin-filters[@@flavor][@teal];
@sky-filter: @catppuccin-filters[@@lookup][@sky]; @sky-filter: @catppuccin-filters[@@flavor][@sky];
@sapphire-filter: @catppuccin-filters[@@lookup][@sapphire]; @sapphire-filter: @catppuccin-filters[@@flavor][@sapphire];
@blue-filter: @catppuccin-filters[@@lookup][@blue]; @blue-filter: @catppuccin-filters[@@flavor][@blue];
@lavender-filter: @catppuccin-filters[@@lookup][@lavender]; @lavender-filter: @catppuccin-filters[@@flavor][@lavender];
@text-filter: @catppuccin-filters[@@lookup][@text]; @text-filter: @catppuccin-filters[@@flavor][@text];
@subtext1-filter: @catppuccin-filters[@@lookup][@subtext1]; @subtext1-filter: @catppuccin-filters[@@flavor][@subtext1];
@subtext0-filter: @catppuccin-filters[@@lookup][@subtext0]; @subtext0-filter: @catppuccin-filters[@@flavor][@subtext0];
@overlay2-filter: @catppuccin-filters[@@lookup][@overlay2]; @overlay2-filter: @catppuccin-filters[@@flavor][@overlay2];
@overlay1-filter: @catppuccin-filters[@@lookup][@overlay1]; @overlay1-filter: @catppuccin-filters[@@flavor][@overlay1];
@overlay0-filter: @catppuccin-filters[@@lookup][@overlay0]; @overlay0-filter: @catppuccin-filters[@@flavor][@overlay0];
@surface2-filter: @catppuccin-filters[@@lookup][@surface2]; @surface2-filter: @catppuccin-filters[@@flavor][@surface2];
@surface1-filter: @catppuccin-filters[@@lookup][@surface1]; @surface1-filter: @catppuccin-filters[@@flavor][@surface1];
@surface0-filter: @catppuccin-filters[@@lookup][@surface0]; @surface0-filter: @catppuccin-filters[@@flavor][@surface0];
@base-filter: @catppuccin-filters[@@lookup][@base]; @base-filter: @catppuccin-filters[@@flavor][@base];
@mantle-filter: @catppuccin-filters[@@lookup][@mantle]; @mantle-filter: @catppuccin-filters[@@flavor][@mantle];
@crust-filter: @catppuccin-filters[@@lookup][@crust]; @crust-filter: @catppuccin-filters[@@flavor][@crust];
@accent-color-filter: @catppuccin-filters[@@lookup][@@accent]; @accent-filter: @catppuccin-filters[@@flavor][@@accentColor];
``` ```
+50 -54
View File
@@ -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 `<website-domain>` with the domain of your port. For `example.org`, it looks like this: To tell Stylus which website(s) to apply this userstyle on, replace `<website-domain>` with the domain of your port. For `example.org`, it looks like this:
```less ```less
@-moz-document domain('example.org') { @-moz-document domain("example.org") {
``` ```
> [!NOTE] > [!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: > 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 > ```less
> @-moz-document regexp('http://example.(com|net|org|edu)/') { > @-moz-document regexp("http://example.(com|net|org|edu)/") {
> ``` > ```
## Applying the theme ## Applying the theme
@@ -61,14 +61,12 @@ To tell Stylus which website(s) to apply this userstyle on, replace `<website-do
This section of the template is about applying the user's light/dark flavors. Read the comments for this section in the template thoroughly and decide which of the two options works best for your port. `example.org` doesn't have a light/dark mode toggle, so we'll apply it based on the user's preferences. This section of the template is about applying the user's light/dark flavors. Read the comments for this section in the template thoroughly and decide which of the two options works best for your port. `example.org` doesn't have a light/dark mode toggle, so we'll apply it based on the user's preferences.
```less ```less
@media (prefers-color-scheme: light) { :root {
:root { @media (prefers-color-scheme: light) {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
} @media (prefers-color-scheme: dark) {
@media (prefers-color-scheme: dark) { #catppuccin(@darkFlavor);
:root {
#catppuccin(@darkFlavor, @accentColor);
} }
} }
``` ```
@@ -81,18 +79,18 @@ This section of the template is about applying the user's light/dark flavors. Re
> [!TIP] > [!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/). > 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 `@<color>: @catppuccin[@@lookup][@<color>];` 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 `@<color>: @catppuccin[@@flavor][@<color>];` 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 ```less
#catppuccin(@lookup, @accent) { #catppuccin(@flavor) {
@rosewater: @catppuccin[@@lookup][@rosewater]; @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 { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
input, input,
@@ -113,7 +111,7 @@ We'll refer to this next section of the template as the "`#catppuccin` mixin". Y
a:link, a:link,
a:visited { a:visited {
color: @accent-color; color: @accent;
} }
/* ... */ /* ... */
@@ -143,50 +141,48 @@ Combining all of the previous steps, we have a working userstyle!
==/UserStyle== */ ==/UserStyle== */
@-moz-document domain("example.org") { @-moz-document domain("example.org") {
@media (prefers-color-scheme: light) { :root {
:root { @media (prefers-color-scheme: light) {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
} @media (prefers-color-scheme: dark) {
@media (prefers-color-scheme: dark) { #catppuccin(@darkFlavor);
:root {
#catppuccin(@darkFlavor, @accentColor);
} }
} }
#catppuccin(@lookup, @accent) { #catppuccin(@flavor) {
@rosewater: @catppuccin[@@lookup][@rosewater]; @rosewater: @catppuccin[@@flavor][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo]; @flamingo: @catppuccin[@@flavor][@flamingo];
@pink: @catppuccin[@@lookup][@pink]; @pink: @catppuccin[@@flavor][@pink];
@mauve: @catppuccin[@@lookup][@mauve]; @mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@lookup][@red]; @red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@lookup][@maroon]; @maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@lookup][@peach]; @peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@lookup][@yellow]; @yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@lookup][@green]; @green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@lookup][@teal]; @teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@lookup][@sky]; @sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@lookup][@sapphire]; @sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@lookup][@blue]; @blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@lookup][@lavender]; @lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@lookup][@text]; @text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@lookup][@subtext1]; @subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@lookup][@subtext0]; @subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@lookup][@overlay2]; @overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@lookup][@overlay1]; @overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@lookup][@overlay0]; @overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@lookup][@surface2]; @surface2: @catppuccin[@@flavor][@surface2];
@surface1: @catppuccin[@@lookup][@surface1]; @surface1: @catppuccin[@@flavor][@surface1];
@surface0: @catppuccin[@@lookup][@surface0]; @surface0: @catppuccin[@@flavor][@surface0];
@base: @catppuccin[@@lookup][@base]; @base: @catppuccin[@@flavor][@base];
@mantle: @catppuccin[@@lookup][@mantle]; @mantle: @catppuccin[@@flavor][@mantle];
@crust: @catppuccin[@@lookup][@crust]; @crust: @catppuccin[@@flavor][@crust];
@accent-color: @catppuccin[@@lookup][@@accent]; @accent: @catppuccin[@@flavor][@@accentColor];
color-scheme: if(@lookup = latte, light, dark); color-scheme: if(@flavor = latte, light, dark);
::selection { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
input, input,
@@ -207,7 +203,7 @@ Combining all of the previous steps, we have a working userstyle!
a:link, a:link,
a:visited { a:visited {
color: @accent-color; color: @accent;
} }
} }
} }
@@ -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);
@@ -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(@<color>, <num>%)`. 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);
+9
View File
@@ -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,
];
@@ -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);
+1 -4
View File
@@ -1,7 +1,4 @@
import { REPO_ROOT } from "@/constants.ts";
import * as color from "@std/fmt/colors"; import * as color from "@std/fmt/colors";
import * as path from "@std/path";
import "postcss-less"; import "postcss-less";
import stylelint from "stylelint"; import stylelint from "stylelint";
@@ -23,7 +20,7 @@ export async function runStylelint(
}); });
if (code) { if (code) {
Deno.writeTextFileSync(path.join(REPO_ROOT, file), code); Deno.writeTextFileSync(file, code);
} }
for (const result of results) { for (const result of results) {
+35 -37
View File
@@ -16,50 +16,48 @@
==/UserStyle== */ ==/UserStyle== */
@-moz-document domain("adventofcode.com") { @-moz-document domain("adventofcode.com") {
@media (prefers-color-scheme: light) { :root {
:root { @media (prefers-color-scheme: light) {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
} @media (prefers-color-scheme: dark) {
@media (prefers-color-scheme: dark) { #catppuccin(@darkFlavor);
:root {
#catppuccin(@darkFlavor, @accentColor);
} }
} }
#catppuccin(@lookup, @accent) { #catppuccin(@flavor) {
@rosewater: @catppuccin[@@lookup][@rosewater]; @rosewater: @catppuccin[@@flavor][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo]; @flamingo: @catppuccin[@@flavor][@flamingo];
@pink: @catppuccin[@@lookup][@pink]; @pink: @catppuccin[@@flavor][@pink];
@mauve: @catppuccin[@@lookup][@mauve]; @mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@lookup][@red]; @red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@lookup][@maroon]; @maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@lookup][@peach]; @peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@lookup][@yellow]; @yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@lookup][@green]; @green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@lookup][@teal]; @teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@lookup][@sky]; @sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@lookup][@sapphire]; @sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@lookup][@blue]; @blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@lookup][@lavender]; @lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@lookup][@text]; @text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@lookup][@subtext1]; @subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@lookup][@subtext0]; @subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@lookup][@overlay2]; @overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@lookup][@overlay1]; @overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@lookup][@overlay0]; @overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@lookup][@surface2]; @surface2: @catppuccin[@@flavor][@surface2];
@surface1: @catppuccin[@@lookup][@surface1]; @surface1: @catppuccin[@@flavor][@surface1];
@surface0: @catppuccin[@@lookup][@surface0]; @surface0: @catppuccin[@@flavor][@surface0];
@base: @catppuccin[@@lookup][@base]; @base: @catppuccin[@@flavor][@base];
@mantle: @catppuccin[@@lookup][@mantle]; @mantle: @catppuccin[@@flavor][@mantle];
@crust: @catppuccin[@@lookup][@crust]; @crust: @catppuccin[@@flavor][@crust];
@accent-color: @catppuccin[@@lookup][@@accent]; @accent: @catppuccin[@@flavor][@@accentColor];
color-scheme: if(@lookup = latte, light, dark); color-scheme: if(@flavor = latte, light, dark);
::selection { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
input, input,
+87 -89
View File
@@ -17,45 +17,45 @@
@-moz-document domain("alternativeto.net") { @-moz-document domain("alternativeto.net") {
:root[data-theme="dark"] { :root[data-theme="dark"] {
#catppuccin(@darkFlavor, @accentColor); #catppuccin(@darkFlavor);
} }
:root[data-theme="light"] { :root[data-theme="light"] {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
#catppuccin(@lookup, @accent) { #catppuccin(@flavor) {
@rosewater: @catppuccin[@@lookup][@rosewater]; @rosewater: @catppuccin[@@flavor][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo]; @flamingo: @catppuccin[@@flavor][@flamingo];
@pink: @catppuccin[@@lookup][@pink]; @pink: @catppuccin[@@flavor][@pink];
@mauve: @catppuccin[@@lookup][@mauve]; @mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@lookup][@red]; @red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@lookup][@maroon]; @maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@lookup][@peach]; @peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@lookup][@yellow]; @yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@lookup][@green]; @green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@lookup][@teal]; @teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@lookup][@sky]; @sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@lookup][@sapphire]; @sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@lookup][@blue]; @blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@lookup][@lavender]; @lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@lookup][@text]; @text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@lookup][@subtext1]; @subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@lookup][@subtext0]; @subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@lookup][@overlay2]; @overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@lookup][@overlay1]; @overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@lookup][@overlay0]; @overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@lookup][@surface2]; @surface2: @catppuccin[@@flavor][@surface2];
@surface1: @catppuccin[@@lookup][@surface1]; @surface1: @catppuccin[@@flavor][@surface1];
@surface0: @catppuccin[@@lookup][@surface0]; @surface0: @catppuccin[@@flavor][@surface0];
@base: @catppuccin[@@lookup][@base]; @base: @catppuccin[@@flavor][@base];
@mantle: @catppuccin[@@lookup][@mantle]; @mantle: @catppuccin[@@flavor][@mantle];
@crust: @catppuccin[@@lookup][@crust]; @crust: @catppuccin[@@flavor][@crust];
@accent-color: @catppuccin[@@lookup][@@accent]; @accent: @catppuccin[@@flavor][@@accentColor];
color-scheme: if(@lookup = latte, light, dark); color-scheme: if(@flavor = latte, light, dark);
::selection { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
input, input,
@@ -65,12 +65,12 @@
} }
} }
--mainBrand: @accent-color; --mainBrand: @accent;
--topBrand: @accent-color; --topBrand: @accent;
--footer: @mantle; --footer: @mantle;
--mainBg: @base; --mainBg: @base;
--mainFg: @text; --mainFg: @text;
--popBrand: @accent-color; --popBrand: @accent;
--introBoxText: @text; --introBoxText: @text;
--introBoxLink: @text; --introBoxLink: @text;
--introBoxMeta: @subtext0; --introBoxMeta: @subtext0;
@@ -93,7 +93,7 @@
--gray250: @surface1; --gray250: @surface1;
--gray300: @surface1; --gray300: @surface1;
--gray500: @overlay0; --gray500: @overlay0;
--headingButton: @accent-color; --headingButton: @accent;
--positiveGreener: @green; --positiveGreener: @green;
--positiveGreenerLight: fade(@green, 10%); --positiveGreenerLight: fade(@green, 10%);
--positiveGreenerDark: @green; --positiveGreenerDark: @green;
@@ -128,8 +128,8 @@
// footer // footer
[class^="Footer_footer"] { [class^="Footer_footer"] {
&, &,
& p a, p a,
& [class^="Footer_footerMenu"] li a { [class^="Footer_footerMenu"] li a {
color: @text; color: @text;
} }
} }
@@ -197,7 +197,7 @@
// main page header // main page header
img[class*="PageIntroImage_a2-header-"] { img[class*="PageIntroImage_a2-header-"] {
@svg: escape( @svg: escape(
'<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" id="Dark_Version" x="0" y="0" version="1.1" viewBox="0 0 459.91 535.19" cursor="default"><style>.st0{fill:@{surface0}}.st1{fill:@{base}}.st2{fill:@{accent-color}}.st6{fill:none;stroke:@{accent-color};stroke-width:5.7543;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10}</style><path d="M21.77 356.98c1.15-2.96 2.25-5.95 3.4-8.91 1.21-3.1 1.92-4.83 3.42-7.78.97-1.9 5.14-4.96 3.92-6.58l63.5-153.51c8.66-30.27 81.29-36.05 162.24-12.91s139.54 66.42 130.87 96.68L363.85 438.6c.57 1.31 1.17 2.6 1.83 3.85 2.18 1.5 1.22 2.1.07 5.41-.07.2.21 4.56.14 4.76-2.04 5.89-7.85 4.73-11.22-.59-2.35-3.7-3.63-7.98-5.4-12.01-1.1-.09-2.27-.49-3.43-1.4-6.7-5.26-10.83-9.83-16.17-16.43-2.41-2.98-4.61-5.74-7.59-8.14-.47-.32-.92-.64-1.39-.96-1.98.76-4.29.71-6.26-.44-16.12-9.4-34.99-14.53-51.06-24.25-4.94-2.99-10.03-5.4-15.13-7.8-.79-.2-1.6-.41-2.38-.61-17.68-4.72-33.13-14.35-51.16-17.64-10.38-1.89-19.78-5.08-30.47-5.75-10.12-.63-20.16-2.1-30.14-3.97-.83-.16-1.66-.28-2.5-.41-1.35-.11-2.71-.21-4.06-.38-14.89-1.67-30.65-1.84-45.7-2.03-10.39-.13-19.79.75-29.9 3.18-4.24 1.03-8.33 2.13-12.5 3.42-3.91 1.2-9.84 1.83-13.09 4.34-2.14 1.65-4.54 1.92-6.66 1.31.73-1.68 1.42-3.39 2.09-5.08" class="st0"/><path d="M21.77 356.98c1.15-2.96 2.25-5.95 3.4-8.91 1.21-3.1 1.92-4.83 3.42-7.78.97-1.9 4.12-5.13 2.88-6.75L96.01 180.2c5.89-20.59 41.41-29.83 88.99-26.36L118.07 351c-6.16-1.44 52.8 6.03 46.18 5.62-10.12-.63-20.16-2.1-30.14-3.97-.83-.16-1.66-.28-2.5-.41-1.35-.11-2.71-.21-4.06-.38-14.89-1.67-30.65-1.84-45.7-2.03-10.39-.13-19.79.75-29.9 3.18-4.24 1.03-8.33 2.13-12.5 3.42-3.91 1.2-9.84 1.83-13.09 4.34-2.14 1.65-4.54 1.92-6.66 1.31.71-1.7 1.4-3.41 2.07-5.1m63.65 32.71s15.15-24.27 113.3 5.46c98.15 29.74 93.42 50.16 93.42 50.16l-61.61 359.4-277.73-30.42z" class="st1"/><path d="M218.97 326.19c5.6-15.06 9.14-30.67 12.93-46.25.83-3.41 1.71-6.79 2.62-10.16-.12-.85-.12-1.76.1-2.74 4.7-20.96 9.78-42.77 18.85-62.3.21-.45.45-.85.72-1.22.91-11.7 3.4-22.94 9.73-33.12 3.89-6.27 12.56-2.81 13.34 2.85 70.88 24.05 119.82 62.89 111.87 90.73L363.85 438.6c.57 1.31 1.17 2.6 1.83 3.85 2.18 1.5.96 4.03-.19 7.34-.07.2-.13 3.96-.2 4.15-2.04 5.89-7.25 3.4-10.62-1.92-2.35-3.7-3.63-7.98-5.4-12.01-1.1-.09-2.27-.49-3.43-1.4-6.7-5.26-10.83-9.83-16.17-16.43-2.41-2.98-5.06-2.68-8.04-5.08-.47-.32-3.37-3.07-3.84-3.39-1.98.76-1.38.07-3.36-1.08-16.12-9.4-34.99-14.53-51.06-24.25-4.94-2.99-10.03-5.4-15.13-7.8-.79-.2-1.6-.41-2.38-.61-14.4-3.85-27.32-10.95-41.36-15.22 4.46-12.98 9.67-25.7 14.47-38.56" class="st0"/><path d="m10.07 382.47 2.49-6.05 6.82-11.14c3.45-1.18 23.4-10.6 30.71-12.96 9.95-3.21 20.07-.94 30.32-1.48 10.01-.54 19.9-.4 29.93-.62 10.84-.24 19.29-2.68 30.07.52 3.02.89 4.52 3.11 4.88 5.51 8.74.62 17.45 1.45 26.13 2.54 26.07 3.25 52.14 11.79 77.09 20.3 24.14 8.24 45.45 18.25 65.94 33.55 17.88 13.36 35.09 28.41 46.26 47.77l1.5 14.33-1.7 8.1c-10.32 36.08-99.88 41.87-196.73 14.19C66.92 469.35-.26 418.53 10.07 382.47m140.39-258.35c5.73-2.81 10.45-4.38 16.82-4.19 1.11-1.93 4.05-1.62 6.76-1.93 1.5-.16 3.05-.27 4.62-.35 5.86-.31 11.74-.12 17.63.21 13.93.21 27.79.74 41.69 2.7 17.52 2.48 34.99 7.97 52.3 11.68 8.25 1.77 16.58 5.41 23.89 9.59 9.27 5.3 19.24 9.29 28.61 14.39 15.28 8.3 30.2 17.69 38.03 33.66.94 1.93 4.06 3.39 3.52 5.03 1.57 2.13-1.13 4.04-.81 6.94.38 3.44-.1 6.15-1.5 9.26-1.85 4.12-5.75 4.42-8.82 2.67-.2.16-.43.3-.67.45-.13.08-.26.16-.4.24-.2.11.12.51-.1.6s-.48.36-.72.42c-.18.05-.19.39-.38.42-.46.08-.85 1.13-1.36 1.13l-.72-.14-.51.08c-.61-.01-.06.37-.6.25-.11-.02-.98-.43-1.09-.46-.42-.12-.69-2.09-1.06-2.27-.07-.03-.12-.07-.19-.11-.38-.22-.75-.46-1.07-.74-.02-.01-.03-.04-.05-.05-.35-.32-.66-.66-.94-1.04-2.25-.78-4.46-1.88-6.63-2.99-.33-1.86-1.75-3.38-3.62-4.09-14.79-5.68-28.84-13.05-43.26-19.56-13.4-6.05-27.02-10.73-41.17-14.7-14.45-4.05-27.62-9-42.39-11.69-15.04-2.74-29.45-5.16-44.72-5.74-9.64-.37-21.31 1.25-30.92.54-3.38-1.16-6.4-2.82-8.61-5.21-6.01-6.55.97-21.33 8.44-25" class="st1"/><path d="M129.23 112.22c-.3-1.51-.04-3.14 1.1-4.7 2.54-3.5 4.88-7.42 7.06-11.41.63-1.64 1.22-3.33 1.78-5.08 1.64-5.11 3.94-9.58 6.19-14.47.61-1.33 1.46-2.23 2.41-2.81 1.46-3.05 3.35-5.85 6.57-8.26.03-.02.06-.03.1-.06 3.15-5.38 6.44-10.69 10.03-15.8 6.09-8.66 10.98-13.68 20.38-17.29-1.31-1.75 5.48-2.11 6.36-4.17 20.73-9.04 38.86-17 61.19-21.24 4.29-.31 8.51-.98 12.83-1.07 15.36-.32 31.7-.84 45.55 6.89 1.92 1.07 5.93 3.41 7.36 2.47 1.84 1.18 2.44.01 4.04 1.54 1.59 1.53 2.94 1.56 4.55 1 .83 1.7 5.74 1.46 4.98 3.2 6.07 3.42 8.51 4.94 14.64 8.17 3.39 1.53 6.48 1.09 9.02 5.23.85 1.38 1.81 2.73 2.82 4.06a90.5 90.5 0 0 1 10.95 6.71c5 3.58 8.26 7.34 11.29 12.85.62 1.13 1.12 2.3 1.56 3.51.05.05.11.08.15.13 8.41 8.92 12.48 20.56 17.27 31.53 3.76 8.6 10.46 18.41 11.36 27.76.9 9.42 3.24 18.85 2.97 28.57.86 6.01-2.75 12.47-2.04 18.44.85 7.15-3.25 14.85-3.03 22.01.56 18.18-11.81 23.1-22.31 34.94-6.12 6.91-16.12-3.34-10.04-10.21 2.48-2.8 4.59-6.07 7.45-8.51.23-.21.48-.38.74-.56-.26-.78-.44-1.63-.44-2.62.01-1.04.05-2.09.11-3.15-.Line truncated '<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" id="Dark_Version" x="0" y="0" version="1.1" viewBox="0 0 459.91 535.19" cursor="default"><style>.st0{fill:@{surface0}}.st1{fill:@{base}}.st2{fill:@{accent}}.st6{fill:none;stroke:@{accent};stroke-width:5.7543;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10}</style><path d="M21.77 356.98c1.15-2.96 2.25-5.95 3.4-8.91 1.21-3.1 1.92-4.83 3.42-7.78.97-1.9 5.14-4.96 3.92-6.58l63.5-153.51c8.66-30.27 81.29-36.05 162.24-12.91s139.54 66.42 130.87 96.68L363.85 438.6c.57 1.31 1.17 2.6 1.83 3.85 2.18 1.5 1.22 2.1.07 5.41-.07.2.21 4.56.14 4.76-2.04 5.89-7.85 4.73-11.22-.59-2.35-3.7-3.63-7.98-5.4-12.01-1.1-.09-2.27-.49-3.43-1.4-6.7-5.26-10.83-9.83-16.17-16.43-2.41-2.98-4.61-5.74-7.59-8.14-.47-.32-.92-.64-1.39-.96-1.98.76-4.29.71-6.26-.44-16.12-9.4-34.99-14.53-51.06-24.25-4.94-2.99-10.03-5.4-15.13-7.8-.79-.2-1.6-.41-2.38-.61-17.68-4.72-33.13-14.35-51.16-17.64-10.38-1.89-19.78-5.08-30.47-5.75-10.12-.63-20.16-2.1-30.14-3.97-.83-.16-1.66-.28-2.5-.41-1.35-.11-2.71-.21-4.06-.38-14.89-1.67-30.65-1.84-45.7-2.03-10.39-.13-19.79.75-29.9 3.18-4.24 1.03-8.33 2.13-12.5 3.42-3.91 1.2-9.84 1.83-13.09 4.34-2.14 1.65-4.54 1.92-6.66 1.31.73-1.68 1.42-3.39 2.09-5.08" class="st0"/><path d="M21.77 356.98c1.15-2.96 2.25-5.95 3.4-8.91 1.21-3.1 1.92-4.83 3.42-7.78.97-1.9 4.12-5.13 2.88-6.75L96.01 180.2c5.89-20.59 41.41-29.83 88.99-26.36L118.07 351c-6.16-1.44 52.8 6.03 46.18 5.62-10.12-.63-20.16-2.1-30.14-3.97-.83-.16-1.66-.28-2.5-.41-1.35-.11-2.71-.21-4.06-.38-14.89-1.67-30.65-1.84-45.7-2.03-10.39-.13-19.79.75-29.9 3.18-4.24 1.03-8.33 2.13-12.5 3.42-3.91 1.2-9.84 1.83-13.09 4.34-2.14 1.65-4.54 1.92-6.66 1.31.71-1.7 1.4-3.41 2.07-5.1m63.65 32.71s15.15-24.27 113.3 5.46c98.15 29.74 93.42 50.16 93.42 50.16l-61.61 359.4-277.73-30.42z" class="st1"/><path d="M218.97 326.19c5.6-15.06 9.14-30.67 12.93-46.25.83-3.41 1.71-6.79 2.62-10.16-.12-.85-.12-1.76.1-2.74 4.7-20.96 9.78-42.77 18.85-62.3.21-.45.45-.85.72-1.22.91-11.7 3.4-22.94 9.73-33.12 3.89-6.27 12.56-2.81 13.34 2.85 70.88 24.05 119.82 62.89 111.87 90.73L363.85 438.6c.57 1.31 1.17 2.6 1.83 3.85 2.18 1.5.96 4.03-.19 7.34-.07.2-.13 3.96-.2 4.15-2.04 5.89-7.25 3.4-10.62-1.92-2.35-3.7-3.63-7.98-5.4-12.01-1.1-.09-2.27-.49-3.43-1.4-6.7-5.26-10.83-9.83-16.17-16.43-2.41-2.98-5.06-2.68-8.04-5.08-.47-.32-3.37-3.07-3.84-3.39-1.98.76-1.38.07-3.36-1.08-16.12-9.4-34.99-14.53-51.06-24.25-4.94-2.99-10.03-5.4-15.13-7.8-.79-.2-1.6-.41-2.38-.61-14.4-3.85-27.32-10.95-41.36-15.22 4.46-12.98 9.67-25.7 14.47-38.56" class="st0"/><path d="m10.07 382.47 2.49-6.05 6.82-11.14c3.45-1.18 23.4-10.6 30.71-12.96 9.95-3.21 20.07-.94 30.32-1.48 10.01-.54 19.9-.4 29.93-.62 10.84-.24 19.29-2.68 30.07.52 3.02.89 4.52 3.11 4.88 5.51 8.74.62 17.45 1.45 26.13 2.54 26.07 3.25 52.14 11.79 77.09 20.3 24.14 8.24 45.45 18.25 65.94 33.55 17.88 13.36 35.09 28.41 46.26 47.77l1.5 14.33-1.7 8.1c-10.32 36.08-99.88 41.87-196.73 14.19C66.92 469.35-.26 418.53 10.07 382.47m140.39-258.35c5.73-2.81 10.45-4.38 16.82-4.19 1.11-1.93 4.05-1.62 6.76-1.93 1.5-.16 3.05-.27 4.62-.35 5.86-.31 11.74-.12 17.63.21 13.93.21 27.79.74 41.69 2.7 17.52 2.48 34.99 7.97 52.3 11.68 8.25 1.77 16.58 5.41 23.89 9.59 9.27 5.3 19.24 9.29 28.61 14.39 15.28 8.3 30.2 17.69 38.03 33.66.94 1.93 4.06 3.39 3.52 5.03 1.57 2.13-1.13 4.04-.81 6.94.38 3.44-.1 6.15-1.5 9.26-1.85 4.12-5.75 4.42-8.82 2.67-.2.16-.43.3-.67.45-.13.08-.26.16-.4.24-.2.11.12.51-.1.6s-.48.36-.72.42c-.18.05-.19.39-.38.42-.46.08-.85 1.13-1.36 1.13l-.72-.14-.51.08c-.61-.01-.06.37-.6.25-.11-.02-.98-.43-1.09-.46-.42-.12-.69-2.09-1.06-2.27-.07-.03-.12-.07-.19-.11-.38-.22-.75-.46-1.07-.74-.02-.01-.03-.04-.05-.05-.35-.32-.66-.66-.94-1.04-2.25-.78-4.46-1.88-6.63-2.99-.33-1.86-1.75-3.38-3.62-4.09-14.79-5.68-28.84-13.05-43.26-19.56-13.4-6.05-27.02-10.73-41.17-14.7-14.45-4.05-27.62-9-42.39-11.69-15.04-2.74-29.45-5.16-44.72-5.74-9.64-.37-21.31 1.25-30.92.54-3.38-1.16-6.4-2.82-8.61-5.21-6.01-6.55.97-21.33 8.44-25" class="st1"/><path d="M129.23 112.22c-.3-1.51-.04-3.14 1.1-4.7 2.54-3.5 4.88-7.42 7.06-11.41.63-1.64 1.22-3.33 1.78-5.08 1.64-5.11 3.94-9.58 6.19-14.47.61-1.33 1.46-2.23 2.41-2.81 1.46-3.05 3.35-5.85 6.57-8.26.03-.02.06-.03.1-.06 3.15-5.38 6.44-10.69 10.03-15.8 6.09-8.66 10.98-13.68 20.38-17.29-1.31-1.75 5.48-2.11 6.36-4.17 20.73-9.04 38.86-17 61.19-21.24 4.29-.31 8.51-.98 12.83-1.07 15.36-.32 31.7-.84 45.55 6.89 1.92 1.07 5.93 3.41 7.36 2.47 1.84 1.18 2.44.01 4.04 1.54 1.59 1.53 2.94 1.56 4.55 1 .83 1.7 5.74 1.46 4.98 3.2 6.07 3.42 8.51 4.94 14.64 8.17 3.39 1.53 6.48 1.09 9.02 5.23.85 1.38 1.81 2.73 2.82 4.06a90.5 90.5 0 0 1 10.95 6.71c5 3.58 8.26 7.34 11.29 12.85.62 1.13 1.12 2.3 1.56 3.51.05.05.11.08.15.13 8.41 8.92 12.48 20.56 17.27 31.53 3.76 8.6 10.46 18.41 11.36 27.76.9 9.42 3.24 18.85 2.97 28.57.86 6.01-2.75 12.47-2.04 18.44.85 7.15-3.25 14.85-3.03 22.01.56 18.18-11.81 23.1-22.31 34.94-6.12 6.91-16.12-3.34-10.04-10.21 2.48-2.8 4.59-6.07 7.45-8.51.23-.21.48-.38.74-.56-.26-.78-.44-1.63-.44-2.62.01-1.04.05-2.09.11-3.15-.25-13.76-11.Line truncated
); );
content: url("data:image/svg+xml,@{svg}"); content: url("data:image/svg+xml,@{svg}");
// flipped/mirrored/right variation of the a2 robot svg (found in /about and /about/privacy) // flipped/mirrored/right variation of the a2 robot svg (found in /about and /about/privacy)
@@ -221,25 +221,25 @@
// news page header // news page header
[src^="/static/a2-screen"] { [src^="/static/a2-screen"] {
@svg: escape( @svg: escape(
'<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" id="A2_Light" x="0" y="0" version="1.1" viewBox="0 0 500 314.01" cursor="default"><style>.st0{fill:@{surface0}}.st1{fill:@{darker-blue}}.st3{fill:none;stroke:@{accent-color};stroke-width:2.0322;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10}.st4{fill:@{accent-color}}.st5{fill:none;stroke:@{accent-color};stroke-width:2.4856;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10}.st6{fill:@{surface1}}.st7{fill:@{base}}</style><path d="M347.23 278.89H19.35c-7.74 0-14.07-6.33-14.07-14.07V51.57c0-7.74 6.33-14.07 14.07-14.07h327.88c7.74 0 14.07 6.33 14.07 14.07v213.26c0 7.73-6.33 14.06-14.07 14.06" class="st0"/><path d="M167.27 279.02h29.71v63.5h-29.71zM18.08 263.48v-211c0-1.78 1.45-3.23 3.23-3.23h325.62c1.78 0 3.23 1.45 3.23 3.23v211c0 1.78-1.45 3.23-3.23 3.23H21.31c-1.77 0-3.23-1.46-3.23-3.23" class="st1"/><path d="M20.5 266.71c-1.93 0-3.57-1.63-3.57-3.57 0 0 120.4-4.22 210.82-65.73s117.7-148.16 117.7-148.16c1.93 0 3.57 1.63 3.57 3.57v210.32c0 1.93-1.63 3.57-3.57 3.57z" fill="@{dark-blue}"/><path d="M235.57 355.31h-106.9c-3.08 0-5.59-2.52-5.59-5.59v-1.17c0-3.08 2.52-5.59 5.59-5.59h106.9c3.08 0 5.59 2.52 5.59 5.59v1.17c.01 3.08-2.51 5.59-5.59 5.59" class="st1"/><path d="M347.23 278.89H19.35c-7.74 0-14.07-6.33-14.07-14.07V51.57c0-7.74 6.33-14.07 14.07-14.07h327.88c7.74 0 14.07 6.33 14.07 14.07v213.26c0 7.73-6.33 14.06-14.07 14.06" class="st3"/><path d="M347.23 279.91H19.35c-8.32 0-15.08-6.77-15.08-15.08V51.57c0-8.32 6.77-15.08 15.08-15.08h327.88c8.32 0 15.08 6.77 15.08 15.08v213.26c.01 8.31-6.76 15.08-15.08 15.08M19.35 38.52c-7.2 0-13.05 5.85-13.05 13.05v213.26c0 7.2 5.86 13.05 13.05 13.05h327.88c7.2 0 13.05-5.86 13.05-13.05V51.57c0-7.2-5.86-13.05-13.05-13.05z" class="st4"/><path d="M17.25 263.7v-211c0-1.78 1.45-3.23 3.23-3.23H346.1c1.78 0 3.23 1.45 3.23 3.23v211c0 1.78-1.45 3.23-3.23 3.23H20.48c-1.77 0-3.23-1.46-3.23-3.23" class="st3"/><path d="M196.97 343.54h-29.71c-.56 0-1.02-.45-1.02-1.02v-63.51c0-.56.45-1.02 1.02-1.02h29.71c.56 0 1.02.45 1.02 1.02v63.51c0 .57-.45 1.02-1.02 1.02m-28.69-2.03h27.67v-61.47h-27.67z" class="st4"/><path d="M235.57 356.33h-106.9c-3.64 0-6.61-2.96-6.61-6.61v-1.17c0-3.64 2.96-6.61 6.61-6.61h106.9c3.64 0 6.61 2.96 6.61 6.61v1.17c0 3.64-2.96 6.61-6.61 6.61m-106.9-12.35c-2.52 0-4.58 2.05-4.58 4.58v1.17c0 2.52 2.05 4.58 4.58 4.58h106.9c2.52 0 4.58-2.05 4.58-4.58v-1.17c0-2.52-2.05-4.58-4.58-4.58z" class="st4"/><ellipse cx="343.76" cy="365.21" class="st1" rx="73.2" ry="8.68"/><circle cx="474.1" cy="25.71" r="12.48" class="st5"/><circle cx="474.1" cy="25.71" r="23.22" class="st0"/><ellipse cx="483.1" cy="15.14" class="st6" rx="5.6" ry="12.76" transform="rotate(-53.556 483.136 15.134)"/><path d="M438.12 325.29c-3.41-39.8-6.81-80.04-10.22-120.65-.68-7.41-5.96-13.38-12.27-13.78-29.55-2.71-110.25-2.72-139.43-.18-6.17.36-11.39 5.97-12.25 13.21-4.4 40.81-8.8 81.17-13.19 120.95-1.05 8.58 4.73 16.79 12.24 17.33 54.22 3.7 108.62 3.7 162.83 0 7.36-.52 13.09-8.43 12.29-16.88" class="st6"/><path d="M438.12 325.29c-3.41-39.8-6.81-80.04-10.22-120.65-.63-6.87-5.23-12.5-10.92-13.6l-14.96 65.13c-5.29 27.99-23.13 73.05-47.14 88.38 2.95-.18 68-2.18 70.95-2.38 7.36-.52 13.09-8.43 12.29-16.88" class="st7"/><path d="M319.45 324.67C369.53 301.28 391 190.04 391 190.04c-19.98-1.78-94.71-.71-116.98.99-3.5.27-8.97 8.46-9.43 11.95-2.68 20.44-11.45 88.14-14.17 119.86-.69 7.9 27.25 21.36 69.03 1.83" class="st0"/><path d="M421.83 141.72c-.93-41.53-35.19-76.65-77.34-76.84-42.23.19-76.55 35.44-77.35 77.08h.06v15.23c0 8.76 7.11 16.1 15.89 16.34 40.95 1.02 81.92 1.02 122.87 0 8.77-.23 15.89-7.58 15.89-16.34-.02-5.16-.02-10.31-.02-15.47" class="st7"/><path d="M323.01 171.02c5.4-3.47 10.7-7.12 15.88-10.95 9.2-6.82 17.95-14.38 25.57-22.98 5.81-6.56 10.96-13.63 15.41-21.12 4.78-8.05 8.86-16.58 11.13-25.62.62-2.48 1.11-5.04 1.37-7.63-13.17-10.69-29.79-17.42-47.88-17.55-42.23-.15-76.55 35.16-77.35 76.79h.06v15.23c0 8.76 7.11 16.11 15.89 16.32 11.63.27 23.25.44 34.88.51 1.7-.95 3.39-1.94 5.04-3" class="st0"/><path d="M402.83 128.17c-3.94-15.77-14.22-29.56-29.47-38.19a53.2 53.2 0 0 0-12.66-5.14c-21.6-5.67-43.25.26-58.37 15.12-7.84 7.7-13.32 17.2-16.04 27.58-1.65 6.29 3.11 12.43 9.61 12.46l97.19.43c6.44.02 11.31-6.01 9.74-12.26" class="st5"/><path d="M402.83 128.17c-3.94-15.77-14.22-29.56-29.47-38.19a53.2 53.2 0 0 0-12.66-5.14c-21.6-5.67-43.25.26-58.37 15.12-7.84 7.7-13.32 17.2-16.04 27.58-1.65 6.29 3.11 12.43 9.61 12.46l97.19.43c6.44.02 11.31-6.01 9.74-12.26" fill="#fda288" stroke="@{accent-color}" stroke-width="2.4856" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10"/><path d="M402.83 128.17c-3.94-15.77-14.22-29.56-29.47-38.19a53.2 53.2 0 0 0-12.66-5.14c-21.6-5.67-43.25.26-58.37 15.12-7.84 7.7-13.32 17.2-16.04 27.58-1.65 6.29 3.11 12.43 9.61 12.46l97.19.43c6.44.02 11.31-6.01 9.74-12.26" fill="@{dark-peach}"/><path d="M402.83 129.69c-3.94-13.81-14.22-25.89-29.47-33.45a57.4 57.4 0 0 0-12.66-4.5c-21.6-4.97-43.25.23-58.3Line truncated '<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" id="A2_Light" x="0" y="0" version="1.1" viewBox="0 0 500 314.01" cursor="default"><style>.st0{fill:@{surface0}}.st1{fill:@{darker-blue}}.st3{fill:none;stroke:@{accent};stroke-width:2.0322;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10}.st4{fill:@{accent}}.st5{fill:none;stroke:@{accent};stroke-width:2.4856;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10}.st6{fill:@{surface1}}.st7{fill:@{base}}</style><path d="M347.23 278.89H19.35c-7.74 0-14.07-6.33-14.07-14.07V51.57c0-7.74 6.33-14.07 14.07-14.07h327.88c7.74 0 14.07 6.33 14.07 14.07v213.26c0 7.73-6.33 14.06-14.07 14.06" class="st0"/><path d="M167.27 279.02h29.71v63.5h-29.71zM18.08 263.48v-211c0-1.78 1.45-3.23 3.23-3.23h325.62c1.78 0 3.23 1.45 3.23 3.23v211c0 1.78-1.45 3.23-3.23 3.23H21.31c-1.77 0-3.23-1.46-3.23-3.23" class="st1"/><path d="M20.5 266.71c-1.93 0-3.57-1.63-3.57-3.57 0 0 120.4-4.22 210.82-65.73s117.7-148.16 117.7-148.16c1.93 0 3.57 1.63 3.57 3.57v210.32c0 1.93-1.63 3.57-3.57 3.57z" fill="@{dark-blue}"/><path d="M235.57 355.31h-106.9c-3.08 0-5.59-2.52-5.59-5.59v-1.17c0-3.08 2.52-5.59 5.59-5.59h106.9c3.08 0 5.59 2.52 5.59 5.59v1.17c.01 3.08-2.51 5.59-5.59 5.59" class="st1"/><path d="M347.23 278.89H19.35c-7.74 0-14.07-6.33-14.07-14.07V51.57c0-7.74 6.33-14.07 14.07-14.07h327.88c7.74 0 14.07 6.33 14.07 14.07v213.26c0 7.73-6.33 14.06-14.07 14.06" class="st3"/><path d="M347.23 279.91H19.35c-8.32 0-15.08-6.77-15.08-15.08V51.57c0-8.32 6.77-15.08 15.08-15.08h327.88c8.32 0 15.08 6.77 15.08 15.08v213.26c.01 8.31-6.76 15.08-15.08 15.08M19.35 38.52c-7.2 0-13.05 5.85-13.05 13.05v213.26c0 7.2 5.86 13.05 13.05 13.05h327.88c7.2 0 13.05-5.86 13.05-13.05V51.57c0-7.2-5.86-13.05-13.05-13.05z" class="st4"/><path d="M17.25 263.7v-211c0-1.78 1.45-3.23 3.23-3.23H346.1c1.78 0 3.23 1.45 3.23 3.23v211c0 1.78-1.45 3.23-3.23 3.23H20.48c-1.77 0-3.23-1.46-3.23-3.23" class="st3"/><path d="M196.97 343.54h-29.71c-.56 0-1.02-.45-1.02-1.02v-63.51c0-.56.45-1.02 1.02-1.02h29.71c.56 0 1.02.45 1.02 1.02v63.51c0 .57-.45 1.02-1.02 1.02m-28.69-2.03h27.67v-61.47h-27.67z" class="st4"/><path d="M235.57 356.33h-106.9c-3.64 0-6.61-2.96-6.61-6.61v-1.17c0-3.64 2.96-6.61 6.61-6.61h106.9c3.64 0 6.61 2.96 6.61 6.61v1.17c0 3.64-2.96 6.61-6.61 6.61m-106.9-12.35c-2.52 0-4.58 2.05-4.58 4.58v1.17c0 2.52 2.05 4.58 4.58 4.58h106.9c2.52 0 4.58-2.05 4.58-4.58v-1.17c0-2.52-2.05-4.58-4.58-4.58z" class="st4"/><ellipse cx="343.76" cy="365.21" class="st1" rx="73.2" ry="8.68"/><circle cx="474.1" cy="25.71" r="12.48" class="st5"/><circle cx="474.1" cy="25.71" r="23.22" class="st0"/><ellipse cx="483.1" cy="15.14" class="st6" rx="5.6" ry="12.76" transform="rotate(-53.556 483.136 15.134)"/><path d="M438.12 325.29c-3.41-39.8-6.81-80.04-10.22-120.65-.68-7.41-5.96-13.38-12.27-13.78-29.55-2.71-110.25-2.72-139.43-.18-6.17.36-11.39 5.97-12.25 13.21-4.4 40.81-8.8 81.17-13.19 120.95-1.05 8.58 4.73 16.79 12.24 17.33 54.22 3.7 108.62 3.7 162.83 0 7.36-.52 13.09-8.43 12.29-16.88" class="st6"/><path d="M438.12 325.29c-3.41-39.8-6.81-80.04-10.22-120.65-.63-6.87-5.23-12.5-10.92-13.6l-14.96 65.13c-5.29 27.99-23.13 73.05-47.14 88.38 2.95-.18 68-2.18 70.95-2.38 7.36-.52 13.09-8.43 12.29-16.88" class="st7"/><path d="M319.45 324.67C369.53 301.28 391 190.04 391 190.04c-19.98-1.78-94.71-.71-116.98.99-3.5.27-8.97 8.46-9.43 11.95-2.68 20.44-11.45 88.14-14.17 119.86-.69 7.9 27.25 21.36 69.03 1.83" class="st0"/><path d="M421.83 141.72c-.93-41.53-35.19-76.65-77.34-76.84-42.23.19-76.55 35.44-77.35 77.08h.06v15.23c0 8.76 7.11 16.1 15.89 16.34 40.95 1.02 81.92 1.02 122.87 0 8.77-.23 15.89-7.58 15.89-16.34-.02-5.16-.02-10.31-.02-15.47" class="st7"/><path d="M323.01 171.02c5.4-3.47 10.7-7.12 15.88-10.95 9.2-6.82 17.95-14.38 25.57-22.98 5.81-6.56 10.96-13.63 15.41-21.12 4.78-8.05 8.86-16.58 11.13-25.62.62-2.48 1.11-5.04 1.37-7.63-13.17-10.69-29.79-17.42-47.88-17.55-42.23-.15-76.55 35.16-77.35 76.79h.06v15.23c0 8.76 7.11 16.11 15.89 16.32 11.63.27 23.25.44 34.88.51 1.7-.95 3.39-1.94 5.04-3" class="st0"/><path d="M402.83 128.17c-3.94-15.77-14.22-29.56-29.47-38.19a53.2 53.2 0 0 0-12.66-5.14c-21.6-5.67-43.25.26-58.37 15.12-7.84 7.7-13.32 17.2-16.04 27.58-1.65 6.29 3.11 12.43 9.61 12.46l97.19.43c6.44.02 11.31-6.01 9.74-12.26" class="st5"/><path d="M402.83 128.17c-3.94-15.77-14.22-29.56-29.47-38.19a53.2 53.2 0 0 0-12.66-5.14c-21.6-5.67-43.25.26-58.37 15.12-7.84 7.7-13.32 17.2-16.04 27.58-1.65 6.29 3.11 12.43 9.61 12.46l97.19.43c6.44.02 11.31-6.01 9.74-12.26" fill="#fda288" stroke="@{accent}" stroke-width="2.4856" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10"/><path d="M402.83 128.17c-3.94-15.77-14.22-29.56-29.47-38.19a53.2 53.2 0 0 0-12.66-5.14c-21.6-5.67-43.25.26-58.37 15.12-7.84 7.7-13.32 17.2-16.04 27.58-1.65 6.29 3.11 12.43 9.61 12.46l97.19.43c6.44.02 11.31-6.01 9.74-12.26" fill="@{dark-peach}"/><path d="M402.83 129.69c-3.94-13.81-14.22-25.89-29.47-33.45a57.4 57.4 0 0 0-12.66-4.5c-21.6-4.97-43.25.23-58.37 13.24-7.84 6.75-13.32 Line truncated
); );
content: url("data:image/svg+xml,@{svg}"); content: url("data:image/svg+xml,@{svg}");
} }
// new app releases page header // new app releases page header
[src^="/static/a2-drop"] { [src^="/static/a2-drop"] {
@svg: escape( @svg: escape(
'<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" id="A2_Light" x="0" y="0" version="1.1" viewBox="0 0 500 701.65" cursor="default"><style>.st1{fill:@{base}}.st2{fill:@{surface2}}.st3{fill:none;stroke:#2a2a2a;stroke-width:2.9247;stroke-miterlimit:10}.st4{fill:@{accent-color}}.st5{fill:@{surface0}}.st7{fill:#dff0ff}</style><path d="M143.64 15.2c.01 0 .03-.01.04-.01l1.18-.38c.01 0 .03-.01.04-.01 99.7-33.11 208.15 15.03 242.23 117.4.28.74.54 1.49.75 2.25 2.01 7.22-1 40.29-33.1 46.36-4.82 12.59-16.59 31.93-37.31 43.3-12.45 6.83-30.32 10.19-43.24 6.81-4.78 9.22-25.99 27.09-46.38 33.62-1.12.36-5.7 1.82-6.82 2.18-20.39 6.52-48.04 4.28-57.28-.46-8.56 10.25-25.06 17.88-39.17 19.55-23.47 2.77-44.28-6.15-55.51-13.61-29.67 13.69-51.31-11.49-53.86-18.54-.27-.74-.49-1.5-.7-2.27C-17.14 148.24 43.23 46.09 143.64 15.2" fill="@{surface1}"/><path d="M221.03 266.71c-20.39 6.52-48.04 4.28-57.28-.46-8.56 10.25-25.06 17.88-39.17 19.55-23.47 2.77-44.28-6.15-55.51-13.61-29.67 13.69-51.31-11.49-53.86-18.54-3.64-10.05-.99-22.29 6.77-35.43 8.26-10.59 21.43-19.59 38.64-24.26 6.2-24.51 46.54-41.86 74.32-35.61 4.37-13.07 23.99-24.79 45.04-31.74 21.18-6.55 43.95-8.39 55.1-.29 18.99-21.21 61.91-30.49 81.19-14.13 16.72-6.18 32.67-6.49 45.55-2.66 13.95 6.2 23.21 14.63 26.08 24.92 2.01 7.22-1 40.29-33.1 46.36-4.82 12.59-16.59 31.93-37.31 43.3-12.45 6.83-30.32 10.19-43.24 6.81-4.78 9.22-25.99 27.09-46.38 33.62-1.13.35-5.72 1.82-6.84 2.17" class="st1"/><path d="M168.46 120.05C138.98 68.41 143.64 15.2 143.64 15.2s-60.12 20.46-9.33 141.24c.01 0 6.38-28.26 34.15-36.39m-82.59 36.09c-31.3-89.92 23.16-125.12 23.16-125.12S21.26 56.13 60.05 192.6c0 0-3.54-24.88 25.82-36.46" class="st2"/><path d="M63.15 61.3s-48 48.85-34.81 138.56c0 0-21.51 15.61-16.09 44.12.01 0-34.43-94.82 50.9-182.68m205.48 34.13s-21.79-73.38-77.22-89.64l-34.62 6.06S214 23.97 234 124.36c0 .01 4.78-21.8 34.63-28.93m87.67 1.3S303.04 11.04 237.27 5.67l-23.08-.49s75.48 8.49 103.87 106.27c0 0 4.8-18.9 38.24-14.72" class="st2"/><path d="M317.16 110.94c-.62 0-1.19-.39-1.39-1.01-.32-.98-32.68-97.93-103.86-103.58a1.45 1.45 0 0 1-1.34-1.57c.06-.8.79-1.42 1.57-1.34 73.13 5.8 106.08 104.58 106.41 105.58.25.77-.17 1.59-.94 1.84-.15.05-.3.08-.45.08m-82.56 13.62c-.69 0-1.31-.49-1.44-1.19-.19-.99-19.18-99.23-80.31-109.65a1.47 1.47 0 0 1-1.2-1.69c.14-.8.92-1.33 1.69-1.2 63.13 10.76 82.5 110.99 82.69 112 .15.79-.38 1.56-1.17 1.7-.08.03-.17.03-.26.03" class="st4"/><path d="M262.56 343.79c-.11 0-.22-.01-.33-.04-.79-.18-1.28-.97-1.09-1.76l53.71-230.15c.18-.79.98-1.28 1.76-1.09.79.18 1.28.97 1.09 1.76l-53.71 230.15a1.48 1.48 0 0 1-1.43 1.13" class="st4"/><path d="M260.81 345.18c-.73 0-1.36-.55-1.45-1.29l-26.22-220.62c-.09-.8.48-1.53 1.28-1.63.8-.09 1.53.48 1.63 1.28l26.22 220.62c.09.8-.48 1.53-1.28 1.63-.06.01-.12.01-.18.01m3.69-2.9c-.27 0-.54-.07-.78-.23-.68-.43-.89-1.33-.46-2.02l123.4-195.62c.43-.68 1.33-.89 2.02-.46.68.43.89 1.33.46 2.02l-123.4 195.62c-.27.44-.75.69-1.24.69m88.82-161.4c-.01-.28-1.65-28.23-25.58-71.62l2.56-1.41c24.29 44.06 25.88 71.74 25.93 72.89zm-77.62 50.07-2.92-.07c.01-.58 1.09-59.1-20.98-117.59l2.74-1.03c22.26 59.04 21.17 118.1 21.16 118.69" class="st4"/><path d="M13.82 254.1c-15.5-48.43-11.31-99.48 11.81-143.75C49.86 63.96 91.62 29.67 143.21 13.8l1.21-.39C195.68-3.61 249.58.08 296.23 23.79 340.75 46.43 373.8 85.57 389.28 134l-2.78.89c-15.25-47.68-47.78-86.21-91.6-108.49C248.95 3.04 195.85-.59 145.37 16.18l-1.24.4c-50.9 15.66-92.04 49.44-115.9 95.13-22.76 43.57-26.88 93.82-11.62 141.5z" class="st4"/><path d="M58.32 193.73c-.62 0-1.2-.4-1.4-1.02-.31-1-30.81-100.57 25.38-147.73a1.46 1.46 0 0 1 2.06.18c.52.62.44 1.54-.18 2.06-54.69 45.9-24.78 143.63-24.47 144.61.24.77-.19 1.59-.96 1.83-.14.05-.29.07-.43.07m75.14-36.81c-.55 0-1.08-.31-1.33-.85-.43-.93-42.83-93.79 2.34-139.2.57-.57 1.49-.58 2.07-.01.57.57.58 1.5 0 2.07-43.73 43.96-2.18 134.99-1.76 135.9.34.73.02 1.6-.71 1.94-.2.1-.4.15-.61.15" class="st4"/><path d="M260.2 345.99c-.31 0-.62-.1-.88-.29L59.74 195.13c-.64-.49-.77-1.4-.29-2.05.48-.64 1.4-.78 2.05-.29l199.58 150.57c.64.49.77 1.4.29 2.05-.29.38-.73.58-1.17.58" class="st4"/><path d="M260.2 345.99c-.47 0-.94-.23-1.22-.65L132.24 156.27a1.464 1.464 0 0 1 2.43-1.63l126.74 189.08c.45.67.27 1.58-.4 2.03-.24.16-.53.24-.81.24" class="st4"/><path d="M260.2 345.99c-.16 0-.32-.03-.47-.08L20.96 263.8a1.467 1.467 0 0 1-.91-1.86c.26-.76 1.09-1.17 1.86-.91l238.77 82.12c.76.26 1.17 1.09.91 1.86-.21.6-.78.98-1.39.98M67.84 272.98c-.63-.97-15.4-24.44-21.18-74.41l2.9-.34c5.7 49.22 20.59 72.93 20.74 73.17zm94.74-5.85c-.35-.47-35.52-47.93-51.65-108.94l2.83-.75c15.98 60.44 50.81 107.47 51.16 107.93z" class="st4"/><path d="M115.67 287.79c-22.82 0-40.54-9.94-46.72-13.93-11 4.87-21.94 5.1-32.52.69-12.66-5.28-20.96-15.89-22.59-20.39-3.67-10.14-1.29-22.82 6.89-36.67 8.94-11.48 22.63-20.18 38.7-24.71 7.18-25.35 47.29-41.49 74.58-36.11 5.65-13.94 27.01-25.33 45.51-31.44 18.64-5.77 42.65-8.89 55.34-.82 19.1-20.22 61.14-30.34 81.69-13.88 15.71-5.64 31.9-6.49 45.68-2.4 14.88 6.6 24.18 15.5Line truncated '<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" id="A2_Light" x="0" y="0" version="1.1" viewBox="0 0 500 701.65" cursor="default"><style>.st1{fill:@{base}}.st2{fill:@{surface2}}.st3{fill:none;stroke:#2a2a2a;stroke-width:2.9247;stroke-miterlimit:10}.st4{fill:@{accent}}.st5{fill:@{surface0}}.st7{fill:#dff0ff}</style><path d="M143.64 15.2c.01 0 .03-.01.04-.01l1.18-.38c.01 0 .03-.01.04-.01 99.7-33.11 208.15 15.03 242.23 117.4.28.74.54 1.49.75 2.25 2.01 7.22-1 40.29-33.1 46.36-4.82 12.59-16.59 31.93-37.31 43.3-12.45 6.83-30.32 10.19-43.24 6.81-4.78 9.22-25.99 27.09-46.38 33.62-1.12.36-5.7 1.82-6.82 2.18-20.39 6.52-48.04 4.28-57.28-.46-8.56 10.25-25.06 17.88-39.17 19.55-23.47 2.77-44.28-6.15-55.51-13.61-29.67 13.69-51.31-11.49-53.86-18.54-.27-.74-.49-1.5-.7-2.27C-17.14 148.24 43.23 46.09 143.64 15.2" fill="@{surface1}"/><path d="M221.03 266.71c-20.39 6.52-48.04 4.28-57.28-.46-8.56 10.25-25.06 17.88-39.17 19.55-23.47 2.77-44.28-6.15-55.51-13.61-29.67 13.69-51.31-11.49-53.86-18.54-3.64-10.05-.99-22.29 6.77-35.43 8.26-10.59 21.43-19.59 38.64-24.26 6.2-24.51 46.54-41.86 74.32-35.61 4.37-13.07 23.99-24.79 45.04-31.74 21.18-6.55 43.95-8.39 55.1-.29 18.99-21.21 61.91-30.49 81.19-14.13 16.72-6.18 32.67-6.49 45.55-2.66 13.95 6.2 23.21 14.63 26.08 24.92 2.01 7.22-1 40.29-33.1 46.36-4.82 12.59-16.59 31.93-37.31 43.3-12.45 6.83-30.32 10.19-43.24 6.81-4.78 9.22-25.99 27.09-46.38 33.62-1.13.35-5.72 1.82-6.84 2.17" class="st1"/><path d="M168.46 120.05C138.98 68.41 143.64 15.2 143.64 15.2s-60.12 20.46-9.33 141.24c.01 0 6.38-28.26 34.15-36.39m-82.59 36.09c-31.3-89.92 23.16-125.12 23.16-125.12S21.26 56.13 60.05 192.6c0 0-3.54-24.88 25.82-36.46" class="st2"/><path d="M63.15 61.3s-48 48.85-34.81 138.56c0 0-21.51 15.61-16.09 44.12.01 0-34.43-94.82 50.9-182.68m205.48 34.13s-21.79-73.38-77.22-89.64l-34.62 6.06S214 23.97 234 124.36c0 .01 4.78-21.8 34.63-28.93m87.67 1.3S303.04 11.04 237.27 5.67l-23.08-.49s75.48 8.49 103.87 106.27c0 0 4.8-18.9 38.24-14.72" class="st2"/><path d="M317.16 110.94c-.62 0-1.19-.39-1.39-1.01-.32-.98-32.68-97.93-103.86-103.58a1.45 1.45 0 0 1-1.34-1.57c.06-.8.79-1.42 1.57-1.34 73.13 5.8 106.08 104.58 106.41 105.58.25.77-.17 1.59-.94 1.84-.15.05-.3.08-.45.08m-82.56 13.62c-.69 0-1.31-.49-1.44-1.19-.19-.99-19.18-99.23-80.31-109.65a1.47 1.47 0 0 1-1.2-1.69c.14-.8.92-1.33 1.69-1.2 63.13 10.76 82.5 110.99 82.69 112 .15.79-.38 1.56-1.17 1.7-.08.03-.17.03-.26.03" class="st4"/><path d="M262.56 343.79c-.11 0-.22-.01-.33-.04-.79-.18-1.28-.97-1.09-1.76l53.71-230.15c.18-.79.98-1.28 1.76-1.09.79.18 1.28.97 1.09 1.76l-53.71 230.15a1.48 1.48 0 0 1-1.43 1.13" class="st4"/><path d="M260.81 345.18c-.73 0-1.36-.55-1.45-1.29l-26.22-220.62c-.09-.8.48-1.53 1.28-1.63.8-.09 1.53.48 1.63 1.28l26.22 220.62c.09.8-.48 1.53-1.28 1.63-.06.01-.12.01-.18.01m3.69-2.9c-.27 0-.54-.07-.78-.23-.68-.43-.89-1.33-.46-2.02l123.4-195.62c.43-.68 1.33-.89 2.02-.46.68.43.89 1.33.46 2.02l-123.4 195.62c-.27.44-.75.69-1.24.69m88.82-161.4c-.01-.28-1.65-28.23-25.58-71.62l2.56-1.41c24.29 44.06 25.88 71.74 25.93 72.89zm-77.62 50.07-2.92-.07c.01-.58 1.09-59.1-20.98-117.59l2.74-1.03c22.26 59.04 21.17 118.1 21.16 118.69" class="st4"/><path d="M13.82 254.1c-15.5-48.43-11.31-99.48 11.81-143.75C49.86 63.96 91.62 29.67 143.21 13.8l1.21-.39C195.68-3.61 249.58.08 296.23 23.79 340.75 46.43 373.8 85.57 389.28 134l-2.78.89c-15.25-47.68-47.78-86.21-91.6-108.49C248.95 3.04 195.85-.59 145.37 16.18l-1.24.4c-50.9 15.66-92.04 49.44-115.9 95.13-22.76 43.57-26.88 93.82-11.62 141.5z" class="st4"/><path d="M58.32 193.73c-.62 0-1.2-.4-1.4-1.02-.31-1-30.81-100.57 25.38-147.73a1.46 1.46 0 0 1 2.06.18c.52.62.44 1.54-.18 2.06-54.69 45.9-24.78 143.63-24.47 144.61.24.77-.19 1.59-.96 1.83-.14.05-.29.07-.43.07m75.14-36.81c-.55 0-1.08-.31-1.33-.85-.43-.93-42.83-93.79 2.34-139.2.57-.57 1.49-.58 2.07-.01.57.57.58 1.5 0 2.07-43.73 43.96-2.18 134.99-1.76 135.9.34.73.02 1.6-.71 1.94-.2.1-.4.15-.61.15" class="st4"/><path d="M260.2 345.99c-.31 0-.62-.1-.88-.29L59.74 195.13c-.64-.49-.77-1.4-.29-2.05.48-.64 1.4-.78 2.05-.29l199.58 150.57c.64.49.77 1.4.29 2.05-.29.38-.73.58-1.17.58" class="st4"/><path d="M260.2 345.99c-.47 0-.94-.23-1.22-.65L132.24 156.27a1.464 1.464 0 0 1 2.43-1.63l126.74 189.08c.45.67.27 1.58-.4 2.03-.24.16-.53.24-.81.24" class="st4"/><path d="M260.2 345.99c-.16 0-.32-.03-.47-.08L20.96 263.8a1.467 1.467 0 0 1-.91-1.86c.26-.76 1.09-1.17 1.86-.91l238.77 82.12c.76.26 1.17 1.09.91 1.86-.21.6-.78.98-1.39.98M67.84 272.98c-.63-.97-15.4-24.44-21.18-74.41l2.9-.34c5.7 49.22 20.59 72.93 20.74 73.17zm94.74-5.85c-.35-.47-35.52-47.93-51.65-108.94l2.83-.75c15.98 60.44 50.81 107.47 51.16 107.93z" class="st4"/><path d="M115.67 287.79c-22.82 0-40.54-9.94-46.72-13.93-11 4.87-21.94 5.1-32.52.69-12.66-5.28-20.96-15.89-22.59-20.39-3.67-10.14-1.29-22.82 6.89-36.67 8.94-11.48 22.63-20.18 38.7-24.71 7.18-25.35 47.29-41.49 74.58-36.11 5.65-13.94 27.01-25.33 45.51-31.44 18.64-5.77 42.65-8.89 55.34-.82 19.1-20.22 61.14-30.34 81.69-13.88 15.71-5.64 31.9-6.49 45.68-2.4 14.88 6.6 24.18 15.54 27.0Line truncated
); );
content: url("data:image/svg+xml,@{svg}"); content: url("data:image/svg+xml,@{svg}");
} }
// bottom right loading spinner icon // bottom right loading spinner icon
#nprogress .spinner-icon { #nprogress .spinner-icon {
border-top-color: @accent-color; border-top-color: @accent;
border-left-color: @accent-color; border-left-color: @accent;
} }
// top progress bar when loading a new page // top progress bar when loading a new page
#nprogress .peg { #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 // toast
.Toastify__close-button { .Toastify__close-button {
@@ -250,8 +250,8 @@
} }
// remove filter badge // remove filter badge
li[class^="AppFilterBarCommon_current"]:hover { li[class^="AppFilterBarCommon_current"]:hover {
& a::after, a::after,
& > span::after { > span::after {
color: darken(@red, 25%); color: darken(@red, 25%);
} }
} }
@@ -279,7 +279,7 @@
svg { svg {
color: @crust !important; color: @crust !important;
} }
& when (@lookup = latte) { & when (@flavor = latte) {
background: fade(@crust, 80%) !important; background: fade(@crust, 80%) !important;
svg { svg {
color: @text !important; color: @text !important;
@@ -388,50 +388,48 @@
} }
@-moz-document domain("auth.alternativeto.net") { @-moz-document domain("auth.alternativeto.net") {
@media (prefers-color-scheme: light) { :root {
:root { @media (prefers-color-scheme: light) {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
} @media (prefers-color-scheme: dark) {
@media (prefers-color-scheme: dark) { #catppuccin(@darkFlavor);
:root {
#catppuccin(@darkFlavor, @accentColor);
} }
} }
#catppuccin(@lookup, @accent) { #catppuccin(@flavor) {
@rosewater: @catppuccin[@@lookup][@rosewater]; @rosewater: @catppuccin[@@flavor][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo]; @flamingo: @catppuccin[@@flavor][@flamingo];
@pink: @catppuccin[@@lookup][@pink]; @pink: @catppuccin[@@flavor][@pink];
@mauve: @catppuccin[@@lookup][@mauve]; @mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@lookup][@red]; @red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@lookup][@maroon]; @maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@lookup][@peach]; @peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@lookup][@yellow]; @yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@lookup][@green]; @green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@lookup][@teal]; @teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@lookup][@sky]; @sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@lookup][@sapphire]; @sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@lookup][@blue]; @blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@lookup][@lavender]; @lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@lookup][@text]; @text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@lookup][@subtext1]; @subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@lookup][@subtext0]; @subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@lookup][@overlay2]; @overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@lookup][@overlay1]; @overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@lookup][@overlay0]; @overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@lookup][@surface2]; @surface2: @catppuccin[@@flavor][@surface2];
@surface1: @catppuccin[@@lookup][@surface1]; @surface1: @catppuccin[@@flavor][@surface1];
@surface0: @catppuccin[@@lookup][@surface0]; @surface0: @catppuccin[@@flavor][@surface0];
@base: @catppuccin[@@lookup][@base]; @base: @catppuccin[@@flavor][@base];
@mantle: @catppuccin[@@lookup][@mantle]; @mantle: @catppuccin[@@flavor][@mantle];
@crust: @catppuccin[@@lookup][@crust]; @crust: @catppuccin[@@flavor][@crust];
@accent-color: @catppuccin[@@lookup][@@accent]; @accent: @catppuccin[@@flavor][@@accentColor];
color-scheme: if(@lookup = latte, light, dark); color-scheme: if(@flavor = latte, light, dark);
::selection { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
input, input,
@@ -445,9 +443,9 @@
--input-background-color: @base; --input-background-color: @base;
--input-border-color: @surface1; --input-border-color: @surface1;
--input-text-color: @text; --input-text-color: @text;
--base-focus-color: @accent-color; --base-focus-color: @accent;
--link-color: @accent-color; --link-color: @accent;
--primary-color: @accent-color; --primary-color: @accent;
--button-font-color: @crust; --button-font-color: @crust;
--title-font-color: @text; --title-font-color: @text;
--font-default-color: @text; --font-default-color: @text;
@@ -455,7 +453,7 @@
--border-default-color: @surface1; --border-default-color: @surface1;
--social-button-border-color: @surface1; --social-button-border-color: @surface1;
--secondary-button-text-color: @text; --secondary-button-text-color: @text;
--transparency-focus-color: fade(@accent-color, 15%); --transparency-focus-color: fade(@accent, 15%);
--icon-default-color: @overlay1; --icon-default-color: @overlay1;
--gray-lightest: @text; --gray-lightest: @text;
--error-color: @red; --error-color: @red;
@@ -476,7 +474,7 @@
} }
#prompt-logo-center { #prompt-logo-center {
@svg: escape( @svg: escape(
'<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" id="Layer_1" x="0" y="0" version="1.1" viewBox="0 0 1529.83 412.93" cursor="default"><style>.st0{fill:@{accent-color}}</style><path d="M545.43 239.95c-3.07 0-4.7 1.63-5.31 4.29l-5.52 23.09c-1.02 4.5-4.29 6.95-8.99 6.95h-13.28c-4.5 0-6.95-2.45-5.72-6.95l32.49-122.61c1.22-4.29 4.29-6.75 8.79-6.75h18.59c4.5 0 7.56 2.46 8.79 6.75l31.88 122c1.22 4.5-1.23 7.56-5.72 7.56h-13.9c-4.7 0-7.97-2.45-8.99-6.95l-5.52-23.09c-.61-2.66-2.25-4.29-5.31-4.29zm17.17-23.7c2.25 0 3.68-1.02 3.06-3.47l-8.99-38.62-9.2 38.62c-.61 2.45.82 3.47 3.07 3.47zm80.86 51.29c0 4.5-2.25 6.74-6.95 6.74h-12.87c-4.5 0-6.74-2.25-6.74-6.74V144.93c0-4.7 2.25-6.95 6.74-6.95h12.87c4.7 0 6.95 2.25 6.95 6.95zm18.38-76.22h-2.25c-4.5 0-6.74-2.25-6.74-6.74v-8.99c0-4.5 2.25-6.74 6.74-6.74h2.25v-14.92c0-4.29.82-9.19 6.34-10.83l10.83-3.06c5.93-1.63 9.4.41 9.4 6.13v22.68h8.79c4.5 0 6.74 2.25 6.74 6.74v8.99c0 4.5-2.25 6.74-6.74 6.74h-8.79v55.38c0 5.31 3.06 7.15 6.95 7.15h2.86c3.06 0 5.11 1.02 5.11 5.72v6.95c0 6.95-6.95 9.81-14.31 9.81-13.49 0-27.18-7.56-27.18-25.75zm122.51 31.06c0 4.49-2.25 6.74-6.75 6.74h-40.67v7.35c0 11.44 5.31 17.58 17.78 17.58 8.58 0 11.85-3.47 17.37-3.47 4.9 0 6.74 3.88 6.74 6.74v3.27c0 8.58-8.18 15.74-25.75 15.74-27.99 0-42.71-16.35-42.71-42.1v-32.08c0-21.66 15.74-35.36 36.99-35.36s36.99 13.69 36.99 35.36v20.23zm-26.37-20.23c0-9.81-4.09-14.71-10.63-14.71s-10.42 4.9-10.42 14.71v6.74h21.05zm64.06 65.39c0 4.5-2.25 6.74-6.95 6.74h-12.88c-4.49 0-6.74-2.25-6.74-6.74v-91.76c0-4.7 2.25-6.95 6.74-6.95h12.88c4.9 0 6.95 2.25 6.95 7.36 4.09-4.29 10.42-9.4 18.39-9.4 4.9 0 5.52 3.07 5.52 5.72v10.83c0 5.93-5.11 6.54-10.01 7.15-8.38 1.02-13.9 7.77-13.9 17.78zm84.16-63.76c0-8.38-3.88-14.51-11.65-14.51s-11.65 6.13-11.65 14.51v63.76c0 4.5-2.25 6.74-6.95 6.74h-12.88c-4.49 0-6.74-2.25-6.74-6.74v-91.76c0-4.7 2.25-6.95 6.74-6.95h12.88c4.5 0 6.95 2.25 6.95 6.74 0 0 6.95-8.79 20.64-8.79 19.82 0 29.22 14.71 29.22 36.99v63.76c0 4.5-2.25 6.74-6.95 6.74h-12.88c-4.5 0-6.74-2.25-6.74-6.74v-63.75zm51.36-14.3c-2.46 0-5.52-1.22-5.52-5.11v-5.52c0-8.78 13.28-12.06 26.16-12.06 17.78 0 40.87 4.5 40.87 33.52v67.03c0 4.7-2.25 6.95-6.74 6.95h-9.81c-4.29 0-6.54-1.84-6.95-5.31-.61.61-7.15 7.36-19.21 7.36-19.82 0-33.72-14.92-33.72-33.92 0-31.88 24.72-41.28 49.86-43.94-.41-7.15-3.27-12.06-14.72-12.06-11.85-.01-16.34 3.06-20.22 3.06m23.29 63.96c7.56 0 11.65-6.13 11.65-13.9v-21.87c-11.85 2.66-23.3 6.54-23.3 21.87 0 7.57 3.68 13.9 11.65 13.9m54.43-62.12h-2.25c-4.5 0-6.74-2.25-6.74-6.74v-8.99c0-4.5 2.25-6.74 6.74-6.74h2.25v-14.92c0-4.29.82-9.19 6.34-10.83l10.83-3.06c5.93-1.63 9.4.41 9.4 6.13v22.68h8.79c4.5 0 6.74 2.25 6.74 6.74v8.99c0 4.5-2.25 6.74-6.74 6.74h-8.79v55.38c0 5.31 3.06 7.15 6.95 7.15h2.86c3.06 0 5.11 1.02 5.11 5.72v6.95c0 6.95-6.95 9.81-14.31 9.81-13.49 0-27.18-7.56-27.18-25.75zm81.05-37.81c0 4.49-2.25 6.74-6.95 6.74h-12.87c-4.5 0-6.74-2.25-6.74-6.74v-8.59c0-4.7 2.25-6.95 6.74-6.95h12.87c4.7 0 6.95 2.25 6.95 6.95zm0 114.03c0 4.5-2.25 6.74-6.95 6.74h-12.87c-4.5 0-6.74-2.25-6.74-6.74v-91.76c0-4.7 2.25-6.95 6.74-6.95h12.87c4.7 0 6.95 2.25 6.95 6.95zm88.9-98.7c4.49 0 7.77 3.06 5.72 8.99l-29.63 89.71c-1.02 3.47-3.47 6.74-8.79 6.74h-9.4c-5.31 0-7.77-3.27-8.79-6.74l-28-89.71c-1.84-5.93 1.23-8.99 5.72-8.99h11.24c5.52 0 7.97 2.66 8.99 6.95l16.35 58.04 17.57-58.04c1.23-4.29 3.47-6.95 8.99-6.95zm84.93 53.54c0 4.49-2.25 6.74-6.75 6.74h-40.67v7.35c0 11.44 5.31 17.58 17.78 17.58 8.58 0 11.85-3.47 17.37-3.47 4.9 0 6.74 3.88 6.74 6.74v3.27c0 8.58-8.18 15.74-25.75 15.74-27.99 0-42.71-16.35-42.71-42.1v-32.08c0-21.66 15.74-35.36 36.99-35.36s36.99 13.69 36.99 35.36v20.23zm-26.36-20.23c0-9.81-4.09-14.71-10.63-14.71s-10.42 4.9-10.42 14.71v6.74h21.05z" class="st0"/><path d="M1362.63 144.93v9.81c0 4.5-2.25 6.74-6.95 6.74h-17.57c-2.66 0-4.09 1.43-4.09 4.09v101.97c0 4.5-2.25 6.74-6.74 6.74h-13.9c-4.7 0-6.95-2.25-6.95-6.74V165.57c0-2.66-1.43-4.09-4.09-4.09h-17.58c-4.7 0-6.95-2.25-6.95-6.74v-9.81c0-4.7 2.25-6.95 6.95-6.95h70.91c4.71 0 6.96 2.25 6.96 6.95" class="st0"/><path d="M1352.06 201.53c0-24.32 18.8-34.74 38.01-34.74s38.01 10.42 39.99 34.74v40.05c-1.98 24.32-20.78 34.74-39.99 34.74s-38.01-10.42-38.01-34.74zm26.57 40.06c0 7.97 4.5 12.26 11.44 12.26s11.44-4.29 11.44-12.26v-40.05c0-7.97-4.5-12.26-11.44-12.26s-11.44 4.29-11.44 12.26zM357.01 279.41c-8.42-2.74-17.13-4.56-25.9-5.49-3.24-.31-6.49-.54-9.74-.69-.41-4.98-.93-9.95-1.67-14.9-.6-3.78-1.23-7.55-2.03-11.3-.4-1.87-.86-3.74-1.33-5.61-.51-1.89-.99-3.68-1.68-5.64-.43-1.2-1.71-1.9-2.95-1.56a2.476 2.476 0 0 0-1.73 3.03l.02.08c.44 1.64.83 3.52 1.21 5.3.36 1.82.7 3.63.99 5.47.34 1.82.59 3.67.88 5.5.27 1.84.49 3.69.73 5.54.56 4.62 1 9.26 1.36 13.9-3.48-.05-6.95-.01-10.42.13-2.19.05-4.38.24-6.57.36-2.19.11-4.37.31-6.56.52-2.18.2-4.36.41-6.53.7s-4.35.51-6.51.86c-4.33.64-8.65 1.32-12.94 2.2-4.3.85-8.55 1.79-12.84 2.96a2.247 2.247 0 0 0-1.6 2.6 2.23 2.23 0 0 0 2.62 1.77l.06-.01c8.35-1.66 16.92-2.9 25.43-3.9 4.27-.47 8.54-.89 12.82-1.17 2.14-.17 4.28-.33 6.42-.4 2.14-.08 4.28-.22 6.42-.26l6Line truncated '<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" id="Layer_1" x="0" y="0" version="1.1" viewBox="0 0 1529.83 412.93" cursor="default"><style>.st0{fill:@{accent}}</style><path d="M545.43 239.95c-3.07 0-4.7 1.63-5.31 4.29l-5.52 23.09c-1.02 4.5-4.29 6.95-8.99 6.95h-13.28c-4.5 0-6.95-2.45-5.72-6.95l32.49-122.61c1.22-4.29 4.29-6.75 8.79-6.75h18.59c4.5 0 7.56 2.46 8.79 6.75l31.88 122c1.22 4.5-1.23 7.56-5.72 7.56h-13.9c-4.7 0-7.97-2.45-8.99-6.95l-5.52-23.09c-.61-2.66-2.25-4.29-5.31-4.29zm17.17-23.7c2.25 0 3.68-1.02 3.06-3.47l-8.99-38.62-9.2 38.62c-.61 2.45.82 3.47 3.07 3.47zm80.86 51.29c0 4.5-2.25 6.74-6.95 6.74h-12.87c-4.5 0-6.74-2.25-6.74-6.74V144.93c0-4.7 2.25-6.95 6.74-6.95h12.87c4.7 0 6.95 2.25 6.95 6.95zm18.38-76.22h-2.25c-4.5 0-6.74-2.25-6.74-6.74v-8.99c0-4.5 2.25-6.74 6.74-6.74h2.25v-14.92c0-4.29.82-9.19 6.34-10.83l10.83-3.06c5.93-1.63 9.4.41 9.4 6.13v22.68h8.79c4.5 0 6.74 2.25 6.74 6.74v8.99c0 4.5-2.25 6.74-6.74 6.74h-8.79v55.38c0 5.31 3.06 7.15 6.95 7.15h2.86c3.06 0 5.11 1.02 5.11 5.72v6.95c0 6.95-6.95 9.81-14.31 9.81-13.49 0-27.18-7.56-27.18-25.75zm122.51 31.06c0 4.49-2.25 6.74-6.75 6.74h-40.67v7.35c0 11.44 5.31 17.58 17.78 17.58 8.58 0 11.85-3.47 17.37-3.47 4.9 0 6.74 3.88 6.74 6.74v3.27c0 8.58-8.18 15.74-25.75 15.74-27.99 0-42.71-16.35-42.71-42.1v-32.08c0-21.66 15.74-35.36 36.99-35.36s36.99 13.69 36.99 35.36v20.23zm-26.37-20.23c0-9.81-4.09-14.71-10.63-14.71s-10.42 4.9-10.42 14.71v6.74h21.05zm64.06 65.39c0 4.5-2.25 6.74-6.95 6.74h-12.88c-4.49 0-6.74-2.25-6.74-6.74v-91.76c0-4.7 2.25-6.95 6.74-6.95h12.88c4.9 0 6.95 2.25 6.95 7.36 4.09-4.29 10.42-9.4 18.39-9.4 4.9 0 5.52 3.07 5.52 5.72v10.83c0 5.93-5.11 6.54-10.01 7.15-8.38 1.02-13.9 7.77-13.9 17.78zm84.16-63.76c0-8.38-3.88-14.51-11.65-14.51s-11.65 6.13-11.65 14.51v63.76c0 4.5-2.25 6.74-6.95 6.74h-12.88c-4.49 0-6.74-2.25-6.74-6.74v-91.76c0-4.7 2.25-6.95 6.74-6.95h12.88c4.5 0 6.95 2.25 6.95 6.74 0 0 6.95-8.79 20.64-8.79 19.82 0 29.22 14.71 29.22 36.99v63.76c0 4.5-2.25 6.74-6.95 6.74h-12.88c-4.5 0-6.74-2.25-6.74-6.74v-63.75zm51.36-14.3c-2.46 0-5.52-1.22-5.52-5.11v-5.52c0-8.78 13.28-12.06 26.16-12.06 17.78 0 40.87 4.5 40.87 33.52v67.03c0 4.7-2.25 6.95-6.74 6.95h-9.81c-4.29 0-6.54-1.84-6.95-5.31-.61.61-7.15 7.36-19.21 7.36-19.82 0-33.72-14.92-33.72-33.92 0-31.88 24.72-41.28 49.86-43.94-.41-7.15-3.27-12.06-14.72-12.06-11.85-.01-16.34 3.06-20.22 3.06m23.29 63.96c7.56 0 11.65-6.13 11.65-13.9v-21.87c-11.85 2.66-23.3 6.54-23.3 21.87 0 7.57 3.68 13.9 11.65 13.9m54.43-62.12h-2.25c-4.5 0-6.74-2.25-6.74-6.74v-8.99c0-4.5 2.25-6.74 6.74-6.74h2.25v-14.92c0-4.29.82-9.19 6.34-10.83l10.83-3.06c5.93-1.63 9.4.41 9.4 6.13v22.68h8.79c4.5 0 6.74 2.25 6.74 6.74v8.99c0 4.5-2.25 6.74-6.74 6.74h-8.79v55.38c0 5.31 3.06 7.15 6.95 7.15h2.86c3.06 0 5.11 1.02 5.11 5.72v6.95c0 6.95-6.95 9.81-14.31 9.81-13.49 0-27.18-7.56-27.18-25.75zm81.05-37.81c0 4.49-2.25 6.74-6.95 6.74h-12.87c-4.5 0-6.74-2.25-6.74-6.74v-8.59c0-4.7 2.25-6.95 6.74-6.95h12.87c4.7 0 6.95 2.25 6.95 6.95zm0 114.03c0 4.5-2.25 6.74-6.95 6.74h-12.87c-4.5 0-6.74-2.25-6.74-6.74v-91.76c0-4.7 2.25-6.95 6.74-6.95h12.87c4.7 0 6.95 2.25 6.95 6.95zm88.9-98.7c4.49 0 7.77 3.06 5.72 8.99l-29.63 89.71c-1.02 3.47-3.47 6.74-8.79 6.74h-9.4c-5.31 0-7.77-3.27-8.79-6.74l-28-89.71c-1.84-5.93 1.23-8.99 5.72-8.99h11.24c5.52 0 7.97 2.66 8.99 6.95l16.35 58.04 17.57-58.04c1.23-4.29 3.47-6.95 8.99-6.95zm84.93 53.54c0 4.49-2.25 6.74-6.75 6.74h-40.67v7.35c0 11.44 5.31 17.58 17.78 17.58 8.58 0 11.85-3.47 17.37-3.47 4.9 0 6.74 3.88 6.74 6.74v3.27c0 8.58-8.18 15.74-25.75 15.74-27.99 0-42.71-16.35-42.71-42.1v-32.08c0-21.66 15.74-35.36 36.99-35.36s36.99 13.69 36.99 35.36v20.23zm-26.36-20.23c0-9.81-4.09-14.71-10.63-14.71s-10.42 4.9-10.42 14.71v6.74h21.05z" class="st0"/><path d="M1362.63 144.93v9.81c0 4.5-2.25 6.74-6.95 6.74h-17.57c-2.66 0-4.09 1.43-4.09 4.09v101.97c0 4.5-2.25 6.74-6.74 6.74h-13.9c-4.7 0-6.95-2.25-6.95-6.74V165.57c0-2.66-1.43-4.09-4.09-4.09h-17.58c-4.7 0-6.95-2.25-6.95-6.74v-9.81c0-4.7 2.25-6.95 6.95-6.95h70.91c4.71 0 6.96 2.25 6.96 6.95" class="st0"/><path d="M1352.06 201.53c0-24.32 18.8-34.74 38.01-34.74s38.01 10.42 39.99 34.74v40.05c-1.98 24.32-20.78 34.74-39.99 34.74s-38.01-10.42-38.01-34.74zm26.57 40.06c0 7.97 4.5 12.26 11.44 12.26s11.44-4.29 11.44-12.26v-40.05c0-7.97-4.5-12.26-11.44-12.26s-11.44 4.29-11.44 12.26zM357.01 279.41c-8.42-2.74-17.13-4.56-25.9-5.49-3.24-.31-6.49-.54-9.74-.69-.41-4.98-.93-9.95-1.67-14.9-.6-3.78-1.23-7.55-2.03-11.3-.4-1.87-.86-3.74-1.33-5.61-.51-1.89-.99-3.68-1.68-5.64-.43-1.2-1.71-1.9-2.95-1.56a2.476 2.476 0 0 0-1.73 3.03l.02.08c.44 1.64.83 3.52 1.21 5.3.36 1.82.7 3.63.99 5.47.34 1.82.59 3.67.88 5.5.27 1.84.49 3.69.73 5.54.56 4.62 1 9.26 1.36 13.9-3.48-.05-6.95-.01-10.42.13-2.19.05-4.38.24-6.57.36-2.19.11-4.37.31-6.56.52-2.18.2-4.36.41-6.53.7s-4.35.51-6.51.86c-4.33.64-8.65 1.32-12.94 2.2-4.3.85-8.55 1.79-12.84 2.96a2.247 2.247 0 0 0-1.6 2.6 2.23 2.23 0 0 0 2.62 1.77l.06-.01c8.35-1.66 16.92-2.9 25.43-3.9 4.27-.47 8.54-.89 12.82-1.17 2.14-.17 4.28-.33 6.42-.4 2.14-.08 4.28-.22 6.42-.26l6.42-.1Line truncated
); );
content: url("data:image/svg+xml,@{svg}"); content: url("data:image/svg+xml,@{svg}");
} }
+44 -44
View File
@@ -17,46 +17,46 @@
@-moz-document domain("amplenote.com") { @-moz-document domain("amplenote.com") {
body:not(.theme-light) { body:not(.theme-light) {
#catppuccin(@darkFlavor, @accentColor); #catppuccin(@darkFlavor);
} }
body.theme-light { body.theme-light {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
#catppuccin(@lookup, @accent) { #catppuccin(@flavor) {
@rosewater: @catppuccin[@@lookup][@rosewater]; @rosewater: @catppuccin[@@flavor][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo]; @flamingo: @catppuccin[@@flavor][@flamingo];
@pink: @catppuccin[@@lookup][@pink]; @pink: @catppuccin[@@flavor][@pink];
@mauve: @catppuccin[@@lookup][@mauve]; @mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@lookup][@red]; @red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@lookup][@maroon]; @maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@lookup][@peach]; @peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@lookup][@yellow]; @yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@lookup][@green]; @green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@lookup][@teal]; @teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@lookup][@sky]; @sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@lookup][@sapphire]; @sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@lookup][@blue]; @blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@lookup][@lavender]; @lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@lookup][@text]; @text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@lookup][@subtext1]; @subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@lookup][@subtext0]; @subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@lookup][@overlay2]; @overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@lookup][@overlay1]; @overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@lookup][@overlay0]; @overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@lookup][@surface2]; @surface2: @catppuccin[@@flavor][@surface2];
@surface1: @catppuccin[@@lookup][@surface1]; @surface1: @catppuccin[@@flavor][@surface1];
@surface0: @catppuccin[@@lookup][@surface0]; @surface0: @catppuccin[@@flavor][@surface0];
@base: @catppuccin[@@lookup][@base]; @base: @catppuccin[@@flavor][@base];
@mantle: @catppuccin[@@lookup][@mantle]; @mantle: @catppuccin[@@flavor][@mantle];
@crust: @catppuccin[@@lookup][@crust]; @crust: @catppuccin[@@flavor][@crust];
@accent-color: @catppuccin[@@lookup][@@accent]; @accent: @catppuccin[@@flavor][@@accentColor];
color-scheme: if(@lookup = latte, light, dark); color-scheme: if(@flavor = latte, light, dark);
::selection { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
input, input,
@@ -86,8 +86,8 @@
--color-background-reversed-secondary: @surface2; --color-background-reversed-secondary: @surface2;
--color-background-element-high-contrast: fade(@overlay2, 40%); --color-background-element-high-contrast: fade(@overlay2, 40%);
--color-background-element-medium-contrast: fade(@accent-color, 40%); --color-background-element-medium-contrast: fade(@accent, 40%);
--color-background-element-medium-contrast-rgb: fade(@accent-color. 40%); --color-background-element-medium-contrast-rgb: fade(@accent. 40%);
--color-background-element-low-contrast: @crust; --color-background-element-low-contrast: @crust;
--color-background-note-menu-button: @surface0; --color-background-note-menu-button: @surface0;
@@ -95,11 +95,11 @@
--color-background-banner-alt: @base; --color-background-banner-alt: @base;
--color-background-nav-divider: @surface0; --color-background-nav-divider: @surface0;
--color-background-action-low-contrast: fade(@accent-color, 50%); --color-background-action-low-contrast: fade(@accent, 50%);
--color-background-action-medium-contrast: fade(@accent-color, 60%); --color-background-action-medium-contrast: fade(@accent, 60%);
--color-background-action-high-contrast: @accent-color; --color-background-action-high-contrast: @accent;
--color-background-action-high-contrast-rgb: #rgbify(@accent-color)[]; --color-background-action-high-contrast-rgb: #rgbify(@accent)[];
--color-background-action-high-contrast-alt: fade(@accent-color, 75%); --color-background-action-high-contrast-alt: fade(@accent, 75%);
--color-background-error-high-contrast: @red; --color-background-error-high-contrast: @red;
--color-background-error-medium-contrast: fade(@red, 50%); --color-background-error-medium-contrast: fade(@red, 50%);
@@ -125,13 +125,13 @@
--color-text-error-high-contrast: @red; --color-text-error-high-contrast: @red;
--color-text-status: @green; --color-text-status: @green;
--color-text-link: @accent-color; --color-text-link: @accent;
--color-text-button: @crust; --color-text-button: @crust;
--color-background-task-value: @surface1; --color-background-task-value: @surface1;
--color-background-sidebar-task: @surface0; --color-background-sidebar-task: @surface0;
--color-overlay-low-contrast: @accent-color; --color-overlay-low-contrast: @accent;
--mdc-theme-surface: @base; --mdc-theme-surface: @base;
} }
@@ -200,15 +200,15 @@
.calendar-pane .fc { .calendar-pane .fc {
.fc-timegrid-now-indicator-arrow { .fc-timegrid-now-indicator-arrow {
.line { .line {
border-bottom-color: @accent-color; border-bottom-color: @accent;
} }
.material-icons { .material-icons {
color: @accent-color; color: @accent;
} }
} }
.fc-timegrid-now-indicator-line { .fc-timegrid-now-indicator-line {
border-color: darken(@accent-color, 10%); border-color: darken(@accent, 10%);
} }
.fc-timegrid .fc-daygrid-day-events, .fc-timegrid .fc-daygrid-day-events,
+106 -107
View File
@@ -19,47 +19,47 @@
@-moz-document domain("anilist.co"), domain("anichart.net") { @-moz-document domain("anilist.co"), domain("anichart.net") {
body:not(.site-theme-dark) { body:not(.site-theme-dark) {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
.site-theme-dark { .site-theme-dark {
#catppuccin(@darkFlavor, @accentColor); #catppuccin(@darkFlavor);
} }
#catppuccin(@lookup, @accent) { #catppuccin(@flavor) {
@rosewater: @catppuccin[@@lookup][@rosewater]; @rosewater: @catppuccin[@@flavor][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo]; @flamingo: @catppuccin[@@flavor][@flamingo];
@pink: @catppuccin[@@lookup][@pink]; @pink: @catppuccin[@@flavor][@pink];
@mauve: @catppuccin[@@lookup][@mauve]; @mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@lookup][@red]; @red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@lookup][@maroon]; @maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@lookup][@peach]; @peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@lookup][@yellow]; @yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@lookup][@green]; @green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@lookup][@teal]; @teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@lookup][@sky]; @sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@lookup][@sapphire]; @sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@lookup][@blue]; @blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@lookup][@lavender]; @lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@lookup][@text]; @text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@lookup][@subtext1]; @subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@lookup][@subtext0]; @subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@lookup][@overlay2]; @overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@lookup][@overlay1]; @overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@lookup][@overlay0]; @overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@lookup][@surface2]; @surface2: @catppuccin[@@flavor][@surface2];
@surface1: @catppuccin[@@lookup][@surface1]; @surface1: @catppuccin[@@flavor][@surface1];
@surface0: @catppuccin[@@lookup][@surface0]; @surface0: @catppuccin[@@flavor][@surface0];
@base: @catppuccin[@@lookup][@base]; @base: @catppuccin[@@flavor][@base];
@mantle: @catppuccin[@@lookup][@mantle]; @mantle: @catppuccin[@@flavor][@mantle];
@crust: @catppuccin[@@lookup][@crust]; @crust: @catppuccin[@@flavor][@crust];
@accent-color: @catppuccin[@@lookup][@@accent]; @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 { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
input, input,
@@ -69,8 +69,8 @@
} }
} }
& when (@lookup = latte) { & when (@flavor = latte) {
--color-blue-dim: #rgbify(desaturate(lighten(@accent-color, 10%), 10%))[]; --color-blue-dim: #rgbify(desaturate(lighten(@accent, 10%), 10%))[];
.nav[data-v-62eacfff], .nav[data-v-62eacfff],
.solid[data-v-62eacfff], .solid[data-v-62eacfff],
@@ -103,10 +103,10 @@
--color-text-light: #rgbify(@subtext1)[]; --color-text-light: #rgbify(@subtext1)[];
--color-text-lighter: #rgbify(@subtext0)[]; --color-text-lighter: #rgbify(@subtext0)[];
--color-text-bright: #rgbify(@text)[]; --color-text-bright: #rgbify(@text)[];
--color-blue: #rgbify(@accent-color)[]; --color-blue: #rgbify(@accent)[];
--color-white: 255, 255, 255; --color-white: 255, 255, 255;
--color-black: 0, 0, 0; --color-black: 0, 0, 0;
--color-red: #rgbify(@contrast-color)[]; --color-red: #rgbify(@contrast)[];
--color-peach: #rgbify(@maroon)[]; --color-peach: #rgbify(@maroon)[];
--color-orange: #rgbify(@peach)[]; --color-orange: #rgbify(@peach)[];
--color-yellow: #rgbify(@yellow)[]; --color-yellow: #rgbify(@yellow)[];
@@ -161,7 +161,7 @@
--color-red-600: #rgbify(@red)[]; --color-red-600: #rgbify(@red)[];
--color-red-700: #rgbify(@red)[]; --color-red-700: #rgbify(@red)[];
& when not(@lookup = latte) { & when not(@flavor = latte) {
--color-background: #rgbify(@crust)[]; --color-background: #rgbify(@crust)[];
--color-foreground: #rgbify(@base)[]; --color-foreground: #rgbify(@base)[];
--color-foreground-grey: #rgbify(@surface0)[]; --color-foreground-grey: #rgbify(@surface0)[];
@@ -198,17 +198,17 @@
--color-gray-200: #rgbify(@mantle)[]; --color-gray-200: #rgbify(@mantle)[];
--color-gray-100: #rgbify(@crust)[]; --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 */ /* DARK THEME NAV BAR */
.nav-unscoped when not(@lookup = latte) { .nav-unscoped when not(@flavor = latte) {
background-color: @mantle; background-color: @mantle;
} }
.nav-unscoped.transparent when not(@lookup = latte) { .nav-unscoped.transparent when not(@flavor = latte) {
background-color: fade(@mantle, 50%); background-color: fade(@mantle, 50%);
} }
.nav-unscoped.transparent:hover when not(@lookup = latte) { .nav-unscoped.transparent:hover when not(@flavor = latte) {
background-color: @mantle; background-color: @mantle;
color: @subtext0; color: @subtext0;
} }
@@ -216,10 +216,10 @@
/* -----------------PROFILE FIXES----------------- */ /* -----------------PROFILE FIXES----------------- */
#profileColor(@color) { #profileColor(@color) {
--color-blue: #rgbify(@color)[]; --color-blue: #rgbify(@color)[];
& when (@lookup = latte) { & when (@flavor = latte) {
--color-blue-dim: #rgbify(lighten(@color, 10%))[]; --color-blue-dim: #rgbify(lighten(@color, 10%))[];
} }
& when not(@lookup = latte) { & when not(@flavor = latte) {
--color-blue-dim: #rgbify(darken(@color, 10%))[]; --color-blue-dim: #rgbify(darken(@color, 10%))[];
} }
.progress .bar { .progress .bar {
@@ -296,7 +296,7 @@
.el-dropdown-menu { .el-dropdown-menu {
border-color: @text !important; 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; border-top-color: @surface1;
} }
.el-select-dropdown__item.hover, .el-select-dropdown__item.hover,
@@ -304,7 +304,7 @@
background-color: @base; background-color: @base;
} }
.el-select-dropdown__item.selected { .el-select-dropdown__item.selected {
color: @accent-color; color: @accent;
} }
.el-tooltip__popper.is-dark { .el-tooltip__popper.is-dark {
background: @surface0; background: @surface0;
@@ -338,22 +338,22 @@
color: @subtext0; color: @subtext0;
&:hover { &:hover {
color: @accent-color; color: @accent;
} }
} }
.el-picker-panel__icon-btn { .el-picker-panel__icon-btn {
color: @overlay1; color: @overlay1;
&:hover { &:hover {
color: @accent-color; color: @accent;
} }
} }
.el-date-table td.available:hover { .el-date-table td.available:hover {
color: @accent-color; color: @accent;
} }
.el-date-table td.current:not(.disabled) span { .el-date-table td.current:not(.disabled) span {
color: @crust; color: @crust;
background-color: @accent-color; background-color: @accent;
} }
.el-date-table td.next-month, .el-date-table td.next-month,
.el-date-table td.prev-month { .el-date-table td.prev-month {
@@ -374,11 +374,11 @@
color: rgb(var(--color-blue)); color: rgb(var(--color-blue));
} }
& when (@lookup = latte) { & when (@flavor = latte) {
--color-blue: #rgbify(lighten(@accent-color, 30%))[]; --color-blue: #rgbify(lighten(@accent, 30%))[];
} }
& when not(@lookup = latte) { & when not(@flavor = latte) {
background: @mantle; background: @mantle;
color: @subtext0; color: @subtext0;
} }
@@ -421,7 +421,7 @@
} }
/* Mod Stuff */ /* Mod Stuff */
.el-color-dropdown__link-btn { .el-color-dropdown__link-btn {
color: @accent-color; color: @accent;
} }
.el-color-picker__color { .el-color-picker__color {
border-color: @surface1; border-color: @surface1;
@@ -436,8 +436,8 @@
&:hover { &:hover {
background-color: transparent; background-color: transparent;
border-color: @accent-color; border-color: @accent;
color: @accent-color; color: @accent;
} }
} }
/* Accent Text */ /* Accent Text */
@@ -445,7 +445,7 @@
--color-white: #rgbify(@text)[]; --color-white: #rgbify(@text)[];
} }
.el-checkbox__input.is-checked + .el-checkbox__label { .el-checkbox__input.is-checked + .el-checkbox__label {
color: @accent-color; color: @accent;
} }
.button, .button,
.option.active, .option.active,
@@ -475,7 +475,7 @@
.list-editor-wrap .list-editor .body .delete-btn, .list-editor-wrap .list-editor .body .delete-btn,
.open-user-search, .open-user-search,
.save-btn { .save-btn {
& when not(@lookup = latte) { & when not(@flavor = latte) {
--color-white: #rgbify(@crust)[]; --color-white: #rgbify(@crust)[];
} }
} }
@@ -484,35 +484,35 @@
.el-message-box .el-button--primary, .el-message-box .el-button--primary,
.mod-badge-wrap, .mod-badge-wrap,
.medialist.cards .entry-card .edit { .medialist.cards .entry-card .edit {
& when not(@lookup = latte) { & when not(@flavor = latte) {
--color-text-bright: #rgbify(@crust)[]; --color-text-bright: #rgbify(@crust)[];
} }
} }
.submit-btn, .submit-btn,
.random-btn { .random-btn {
& when not(@lookup = latte) { & when not(@flavor = latte) {
color: @crust; color: @crust;
} }
} }
.user .notification-dot, .user .notification-dot,
.create-btn { .create-btn {
& when not(@lookup = latte) { & when not(@flavor = latte) {
color: @crust !important; color: @crust !important;
} }
} }
.el-radio__inner::after { .el-radio__inner::after {
& when not(@lookup = latte) { & when not(@flavor = latte) {
background-color: @crust; background-color: @crust;
} }
} }
.icon, .icon,
.check { .check {
& when not(@lookup = latte) { & when not(@flavor = latte) {
--color-blue-300: #rgbify(@crust)[]; --color-blue-300: #rgbify(@crust)[];
} }
} }
.settings .button { .settings .button {
& when (@lookup = latte) { & when (@flavor = latte) {
--color-text-bright: #rgbify(#fff)[]; --color-text-bright: #rgbify(#fff)[];
} }
} }
@@ -527,13 +527,13 @@
color: @base !important; color: @base !important;
} }
/* --------SETTINGS-------- */ /* --------SETTINGS-------- */
.el-radio__inner when not(@lookup = latte) { .el-radio__inner when not(@flavor = latte) {
background-color: @text; background-color: @text;
} }
.el-checkbox__input.is-checked .el-checkbox__inner, .el-checkbox__input.is-checked .el-checkbox__inner,
.el-radio__input.is-checked .el-radio__inner { .el-radio__input.is-checked .el-radio__inner {
background-color: @accent-color; background-color: @accent;
border-color: @accent-color; border-color: @accent;
} }
.el-checkbox__inner::after { .el-checkbox__inner::after {
border-color: @crust; border-color: @crust;
@@ -541,7 +541,7 @@
left: 3px; left: 3px;
} }
.el-radio__input.is-checked + .el-radio__label { .el-radio__input.is-checked + .el-radio__label {
color: @accent-color; color: @accent;
} }
/* --------HIDE SCROLLBAR IN BIO----- */ /* --------HIDE SCROLLBAR IN BIO----- */
.section::-webkit-scrollbar { .section::-webkit-scrollbar {
@@ -570,7 +570,7 @@
border-radius: 10px; border-radius: 10px;
margin-left: 0; margin-left: 0;
background-color: @base; background-color: @base;
color: @accent-color; color: @accent;
} }
.activity-feed .hohNoteSuffix:not(:empty), .activity-feed .hohNoteSuffix:not(:empty),
.activity-feed .hohRewatchSuffix:not(:empty), .activity-feed .hohRewatchSuffix:not(:empty),
@@ -597,10 +597,10 @@
} }
.hohButton, .hohButton,
.hohCheckbox input:checked + .el-checkbox__inner { .hohCheckbox input:checked + .el-checkbox__inner {
background-color: @accent-color; background-color: @accent;
} }
.hohCheckbox input:checked + .el-checkbox__inner { .hohCheckbox input:checked + .el-checkbox__inner {
border-color: @accent-color; border-color: @accent;
} }
.medialist.table .entry:hover, .medialist.table .entry:hover,
.medialist.table .entry .title a:hover, .medialist.table .entry .title a:hover,
@@ -637,7 +637,7 @@
.like-wrap.thread .button.isFavourite .fa-heart, .like-wrap.thread .button.isFavourite .fa-heart,
.actions .favourite.isFavourite .fa-heart, .actions .favourite.isFavourite .fa-heart,
.actions .favourite { .actions .favourite {
& when not(@lookup = latte) { & when not(@flavor = latte) {
--color-white: #rgbify(@crust)[]; --color-white: #rgbify(@crust)[];
} }
} }
@@ -646,46 +646,45 @@
@-moz-document domain("anichart.net") { @-moz-document domain("anichart.net") {
body:not(.site-theme-dark) { body:not(.site-theme-dark) {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
.site-theme-dark { .site-theme-dark {
#catppuccin(@darkFlavor, @accentColor); #catppuccin(@darkFlavor);
} }
#catppuccin(@lookup, @accent) { #catppuccin(@flavor) {
@rosewater: @catppuccin[@@lookup][@rosewater]; @rosewater: @catppuccin[@@flavor][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo]; @flamingo: @catppuccin[@@flavor][@flamingo];
@pink: @catppuccin[@@lookup][@pink]; @pink: @catppuccin[@@flavor][@pink];
@mauve: @catppuccin[@@lookup][@mauve]; @mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@lookup][@red]; @red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@lookup][@maroon]; @maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@lookup][@peach]; @peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@lookup][@yellow]; @yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@lookup][@green]; @green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@lookup][@teal]; @teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@lookup][@sky]; @sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@lookup][@sapphire]; @sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@lookup][@blue]; @blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@lookup][@lavender]; @lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@lookup][@text]; @text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@lookup][@subtext1]; @subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@lookup][@subtext0]; @subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@lookup][@overlay2]; @overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@lookup][@overlay1]; @overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@lookup][@overlay0]; @overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@lookup][@surface2]; @surface2: @catppuccin[@@flavor][@surface2];
@surface1: @catppuccin[@@lookup][@surface1]; @surface1: @catppuccin[@@flavor][@surface1];
@surface0: @catppuccin[@@lookup][@surface0]; @surface0: @catppuccin[@@flavor][@surface0];
@base: @catppuccin[@@lookup][@base]; @base: @catppuccin[@@flavor][@base];
@mantle: @catppuccin[@@lookup][@mantle]; @mantle: @catppuccin[@@flavor][@mantle];
@crust: @catppuccin[@@lookup][@crust]; @crust: @catppuccin[@@flavor][@crust];
@accent-color: @catppuccin[@@lookup][@@accentColor]; @accent: @catppuccin[@@flavor][@@accentColor];
@contrast-color: @catppuccin[@@lookup][@@contrastColor];
color-scheme: if(@lookup = latte, light, dark); color-scheme: if(@flavor = latte, light, dark);
::selection { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
input, input,
@@ -704,7 +703,7 @@
fill: @accent !important; fill: @accent !important;
} }
& when not(@lookup = latte) { & when not(@flavor = latte) {
.nav { .nav {
background: @mantle; background: @mantle;
} }
@@ -727,7 +726,7 @@
} }
} }
& when (@lookup = latte) { & when (@flavor = latte) {
--color-overlay: #rgbify(@text)[]; --color-overlay: #rgbify(@text)[];
.external-link { .external-link {
+46 -48
View File
@@ -16,50 +16,48 @@
==/UserStyle== */ ==/UserStyle== */
@-moz-document domain("wiki.archlinux.org") { @-moz-document domain("wiki.archlinux.org") {
@media (prefers-color-scheme: dark) { :root {
:root { @media (prefers-color-scheme: light) {
#catppuccin(@darkFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
} @media (prefers-color-scheme: dark) {
@media (prefers-color-scheme: light) { #catppuccin(@darkFlavor);
:root {
#catppuccin(@lightFlavor, @accentColor);
} }
} }
#catppuccin(@lookup, @accent) { #catppuccin(@flavor) {
@rosewater: @catppuccin[@@lookup][@rosewater]; @rosewater: @catppuccin[@@flavor][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo]; @flamingo: @catppuccin[@@flavor][@flamingo];
@pink: @catppuccin[@@lookup][@pink]; @pink: @catppuccin[@@flavor][@pink];
@mauve: @catppuccin[@@lookup][@mauve]; @mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@lookup][@red]; @red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@lookup][@maroon]; @maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@lookup][@peach]; @peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@lookup][@yellow]; @yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@lookup][@green]; @green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@lookup][@teal]; @teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@lookup][@sky]; @sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@lookup][@sapphire]; @sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@lookup][@blue]; @blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@lookup][@lavender]; @lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@lookup][@text]; @text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@lookup][@subtext1]; @subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@lookup][@subtext0]; @subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@lookup][@overlay2]; @overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@lookup][@overlay1]; @overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@lookup][@overlay0]; @overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@lookup][@surface2]; @surface2: @catppuccin[@@flavor][@surface2];
@surface1: @catppuccin[@@lookup][@surface1]; @surface1: @catppuccin[@@flavor][@surface1];
@surface0: @catppuccin[@@lookup][@surface0]; @surface0: @catppuccin[@@flavor][@surface0];
@base: @catppuccin[@@lookup][@base]; @base: @catppuccin[@@flavor][@base];
@mantle: @catppuccin[@@lookup][@mantle]; @mantle: @catppuccin[@@flavor][@mantle];
@crust: @catppuccin[@@lookup][@crust]; @crust: @catppuccin[@@flavor][@crust];
@accent-color: @catppuccin[@@lookup][@@accent]; @accent: @catppuccin[@@flavor][@@accentColor];
color-scheme: if(@lookup = latte, light, dark); color-scheme: if(@flavor = latte, light, dark);
::selection { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
input, input,
@@ -192,25 +190,25 @@
} }
.archwiki-template-box-tip { .archwiki-template-box-tip {
background-color: fadeout(hsla(90, 90%, 65%, 0.3), 10%) !important; background-color: hsla(90, 90%, 65%, 0.2) !important;
border-color: fadeout(hsla(90, 90%, 75%, 0.3), 10%); border-color: hsla(90, 90%, 75%, 0.2);
color: @subtext1; color: @subtext1;
} }
.archwiki-template-box-note { .archwiki-template-box-note {
background-color: fadeout(hsla(208, 100%, 61%, 0.3), 5%) !important; background-color: hsla(208, 100%, 61%, 0.25) !important;
border-color: fadeout(hsla(208, 100%, 81%, 0.3), 5%) !important; border-color: hsla(208, 100%, 81%, 0.25) !important;
color: @subtext1; color: @subtext1;
} }
.archwiki-template-box-warning { .archwiki-template-box-warning {
background-color: fadeout(hsla(7, 99%, 60%, 0.3), 5%) !important; background-color: hsla(7, 99%, 60%, 0.25) !important;
border-color: fadeout(hsla(7, 99%, 80%, 0.3), 05%) !important; border-color: hsla(7, 99%, 80%, 0.25) !important;
color: @subtext1; color: @subtext1;
} }
.firstHeading { .firstHeading {
color: @accent-color !important; color: @accent !important;
} }
#content { #content {
@@ -236,7 +234,7 @@
.vector-pinnable-header-toggle-button, .vector-pinnable-header-toggle-button,
.vector-pinnable-header-unpin-button { .vector-pinnable-header-unpin-button {
color: @mantle; color: @mantle;
background-color: @accent-color; background-color: @accent;
border-color: @base; border-color: @base;
} }
@@ -336,7 +334,7 @@
} }
#archnavbar ul li.anb-selected a { #archnavbar ul li.anb-selected a {
color: @accent-color !important; color: @accent !important;
} }
.archwiki-template-message { .archwiki-template-message {
@@ -461,7 +459,7 @@
.cdx-button:enabled, .cdx-button:enabled,
.cdx-button.cdxbutton--fake-button--enabled { .cdx-button.cdxbutton--fake-button--enabled {
color: @mantle; color: @mantle;
background-color: @accent-color; background-color: @accent;
border-color: @base; border-color: @base;
} }
@@ -482,7 +480,7 @@
} }
.mw-headline::before { .mw-headline::before {
color: @accent-color !important; color: @accent !important;
} }
.cdx-button { .cdx-button {
+46 -48
View File
@@ -16,50 +16,48 @@
==/UserStyle== */ ==/UserStyle== */
@-moz-document domain("boring.example.com") { @-moz-document domain("boring.example.com") {
@media (prefers-color-scheme: light) { :root {
:root { @media (prefers-color-scheme: light) {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
} @media (prefers-color-scheme: dark) {
@media (prefers-color-scheme: dark) { #catppuccin(@darkFlavor);
:root {
#catppuccin(@darkFlavor, @accentColor);
} }
} }
#catppuccin(@lookup, @accent) { #catppuccin(@flavor) {
@rosewater: @catppuccin[@@lookup][@rosewater]; @rosewater: @catppuccin[@@flavor][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo]; @flamingo: @catppuccin[@@flavor][@flamingo];
@pink: @catppuccin[@@lookup][@pink]; @pink: @catppuccin[@@flavor][@pink];
@mauve: @catppuccin[@@lookup][@mauve]; @mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@lookup][@red]; @red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@lookup][@maroon]; @maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@lookup][@peach]; @peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@lookup][@yellow]; @yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@lookup][@green]; @green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@lookup][@teal]; @teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@lookup][@sky]; @sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@lookup][@sapphire]; @sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@lookup][@blue]; @blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@lookup][@lavender]; @lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@lookup][@text]; @text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@lookup][@subtext1]; @subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@lookup][@subtext0]; @subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@lookup][@overlay2]; @overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@lookup][@overlay1]; @overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@lookup][@overlay0]; @overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@lookup][@surface2]; @surface2: @catppuccin[@@flavor][@surface2];
@surface1: @catppuccin[@@lookup][@surface1]; @surface1: @catppuccin[@@flavor][@surface1];
@surface0: @catppuccin[@@lookup][@surface0]; @surface0: @catppuccin[@@flavor][@surface0];
@base: @catppuccin[@@lookup][@base]; @base: @catppuccin[@@flavor][@base];
@mantle: @catppuccin[@@lookup][@mantle]; @mantle: @catppuccin[@@flavor][@mantle];
@crust: @catppuccin[@@lookup][@crust]; @crust: @catppuccin[@@flavor][@crust];
@accent-color: @catppuccin[@@lookup][@@accent]; @accent: @catppuccin[@@flavor][@@accentColor];
color-scheme: if(@lookup = latte, light, dark); color-scheme: if(@flavor = latte, light, dark);
::selection { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
input, input,
@@ -88,7 +86,7 @@
} }
.menu-item:hover { .menu-item:hover {
background: @surface2; background: @surface2;
color: @accent-color; color: @accent;
} }
.menu-item:any-link { .menu-item:any-link {
color: @text; color: @text;
@@ -96,13 +94,13 @@
// Right SIde Button // Right SIde Button
.button { .button {
border-color: @accent-color; border-color: @accent;
background-color: @crust; background-color: @crust;
color: @subtext1; color: @subtext1;
} }
.button:hover { .button:hover {
color: @surface0; color: @surface0;
background-color: @accent-color; background-color: @accent;
border-color: @crust; border-color: @crust;
} }
@@ -112,7 +110,7 @@
} }
.list-item { .list-item {
color: @accent-color; color: @accent;
} }
// Tunnel Table // Tunnel Table
.tn-tunnel-link { .tn-tunnel-link {
@@ -127,7 +125,7 @@
color: @text; color: @text;
} }
body a:visited { body a:visited {
color: @accent-color; color: @accent;
} }
.tn-attribute__name { .tn-attribute__name {
@@ -147,13 +145,13 @@
.input input { .input input {
background-color: @crust; background-color: @crust;
color: @subtext0; color: @subtext0;
border-color: @accent-color; border-color: @accent;
} }
.input select { .input select {
background-color: @crust; background-color: @crust;
color: @subtext0; color: @subtext0;
border-color: @accent-color; border-color: @accent;
} }
// Token Adding // Token Adding
@@ -163,7 +161,7 @@
.token-adder select { .token-adder select {
background-color: @crust; background-color: @crust;
color: @subtext0; color: @subtext0;
border-color: @accent-color; border-color: @accent;
} }
// Client Adding // Client Adding
@@ -173,12 +171,12 @@
.client-adder select { .client-adder select {
background-color: @crust; background-color: @crust;
color: @subtext0; color: @subtext0;
border-color: @accent-color; border-color: @accent;
} }
.client-adder input { .client-adder input {
background-color: @crust; background-color: @crust;
color: @subtext0; color: @subtext0;
border-color: @accent-color; border-color: @accent;
} }
// User Adding // User Adding
@@ -188,7 +186,7 @@
.user-adder input { .user-adder input {
background-color: @crust; background-color: @crust;
color: @subtext0; color: @subtext0;
border-color: @accent-color; border-color: @accent;
} }
// dialog // dialog
.dialog__content { .dialog__content {
+50 -50
View File
@@ -17,53 +17,53 @@
@-moz-document domain("search.brave.com") { @-moz-document domain("search.brave.com") {
:root.light { :root.light {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
:root.dark { :root.dark {
#catppuccin(@darkFlavor, @accentColor); #catppuccin(@darkFlavor);
} }
:root:not(.light, .dark) { :root:not(.light, .dark) {
@media (prefers-color-scheme: light) { @media (prefers-color-scheme: light) {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
@media (prefers-color-scheme: dark) { @media (prefers-color-scheme: dark) {
#catppuccin(@darkFlavor, @accentColor); #catppuccin(@darkFlavor);
} }
} }
#catppuccin(@lookup, @accent) { #catppuccin(@flavor) {
@rosewater: @catppuccin[@@lookup][@rosewater]; @rosewater: @catppuccin[@@flavor][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo]; @flamingo: @catppuccin[@@flavor][@flamingo];
@pink: @catppuccin[@@lookup][@pink]; @pink: @catppuccin[@@flavor][@pink];
@mauve: @catppuccin[@@lookup][@mauve]; @mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@lookup][@red]; @red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@lookup][@maroon]; @maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@lookup][@peach]; @peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@lookup][@yellow]; @yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@lookup][@green]; @green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@lookup][@teal]; @teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@lookup][@sky]; @sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@lookup][@sapphire]; @sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@lookup][@blue]; @blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@lookup][@lavender]; @lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@lookup][@text]; @text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@lookup][@subtext1]; @subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@lookup][@subtext0]; @subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@lookup][@overlay2]; @overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@lookup][@overlay1]; @overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@lookup][@overlay0]; @overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@lookup][@surface2]; @surface2: @catppuccin[@@flavor][@surface2];
@surface1: @catppuccin[@@lookup][@surface1]; @surface1: @catppuccin[@@flavor][@surface1];
@surface0: @catppuccin[@@lookup][@surface0]; @surface0: @catppuccin[@@flavor][@surface0];
@base: @catppuccin[@@lookup][@base]; @base: @catppuccin[@@flavor][@base];
@mantle: @catppuccin[@@lookup][@mantle]; @mantle: @catppuccin[@@flavor][@mantle];
@crust: @catppuccin[@@lookup][@crust]; @crust: @catppuccin[@@flavor][@crust];
@accent-color: @catppuccin[@@lookup][@@accent]; @accent: @catppuccin[@@flavor][@@accentColor];
color-scheme: if(@lookup = latte, light, dark); color-scheme: if(@flavor = latte, light, dark);
::selection { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
input, input,
@@ -77,9 +77,9 @@
--color-container-background: @crust; --color-container-background: @crust;
--color-container-highlight: @mantle; --color-container-highlight: @mantle;
--color-serp-header-background: @crust; --color-serp-header-background: @crust;
--color-text-interactive: @accent-color; --color-text-interactive: @accent;
--color-divider-subtle: @surface0; --color-divider-subtle: @surface0;
--color-divider-interactive: @accent-color; --color-divider-interactive: @accent;
--color-text-primary: @text; --color-text-primary: @text;
--color-serp-bar-bg: @mantle; --color-serp-bar-bg: @mantle;
--color-serp-divider-subtle-container: @surface0; --color-serp-divider-subtle-container: @surface0;
@@ -91,12 +91,12 @@
--color-serp-snippet-background: @base; --color-serp-snippet-background: @base;
--color-link-default: @blue; --color-link-default: @blue;
--color-link-visited: @mauve; --color-link-visited: @mauve;
--color-tabs-search-text-default: @accent-color; --color-tabs-search-text-default: @accent;
--color-primary-50: @accent-color; --color-primary-50: @accent;
--color-primitive-primary-60: @accent-color; --color-primitive-primary-60: @accent;
--color-primitive-primary-70: darken(@accent-color, 5%); --color-primitive-primary-70: darken(@accent, 5%);
--color-container-interactive: transparent; --color-container-interactive: transparent;
--color-button-background: @accent-color; --color-button-background: @accent;
--color-button-disabled: fade(@surface2, 30%); --color-button-disabled: fade(@surface2, 30%);
--color-serp-settings-background: @mantle; --color-serp-settings-background: @mantle;
@@ -140,34 +140,34 @@
} }
} }
.button.type--outlined.theme--default:hover { .button.type--outlined.theme--default:hover {
background-color: @accent-color; background-color: @accent;
border-color: @accent-color !important; border-color: @accent !important;
color: @base !important; color: @base !important;
} }
.tab-item.active .icon { .tab-item.active .icon {
fill: @accent-color !important; fill: @accent !important;
} }
.tab-item.active ::after { .tab-item.active ::after {
background: @accent-color !important; background: @accent !important;
} }
.logo-img { .logo-img {
@svg: escape( @svg: escape(
'<svg xmlns="http://www.w3.org/2000/svg" width="244" height="78" fill="none" viewBox="0 0 244 78"><path fill="@{text}" fill-rule="evenodd" d="M81.512 40.373V14.791h2.453a3.614 3.614 0 0 1 3.619 3.61v11.375c3.931-3.5 7.274-4.9 11.73-4.99 8.546-.175 15.964 6.158 16.669 14.657.842 10.154-6.56 17.797-16.203 17.797-10.586 0-18.268-6.549-18.268-16.867m5.971 2.01c.599 5.285 5.659 9.651 10.994 9.736 6.952.106 11.688-4.414 11.688-11.1s-4.63-11.1-11.386-11.1c-7.221-.016-12.117 5.217-11.296 12.464m38.63-16.958v4.557c3.82-4.229 6.082-5.365 10.554-5.365 1.301.001 2.6.105 3.884.312v6.052a15.8 15.8 0 0 0-4.207-.56c-3.237 0-5.955 1.057-7.947 3.055-1.749 1.75-2.268 3.118-2.268 5.867v16.85h-6.295V25.426zM142.045 35.6c.323-2.997.906-4.62 2.198-6.179 2.591-3.171 7.254-4.804 13.856-4.804 5.245 0 9.065.814 11.719 2.558 2.205 1.432 3.111 3.557 3.111 7.3v13.663c0 2.997.778 4.054 2.914 3.996q.716-.025 1.425-.127v4.118a9.4 9.4 0 0 1-3.301.497c-3.947 0-5.759-1.184-6.988-4.62-3.884 3.557-7.9 5.053-13.66 5.053-7.703 0-12.429-3.494-12.429-9.176a8.08 8.08 0 0 1 4.853-7.484c2.331-1 3.756-1.311 10.422-1.998 5.695-.56 6.67-.688 8.286-1.19 1.749-.56 2.528-1.495 2.528-3.055 0-3.309-2.782-4.805-8.61-4.805-5.511 0-8.35 1.09-9.49 3.87a3.755 3.755 0 0 1-3.47 2.368zm24.902 5.243a61.8 61.8 0 0 1-12.239 2.247c-5.632.56-7.38 1.623-7.38 4.43 0 3.118 2.59 4.756 7.703 4.756 4.207 0 7.381-1.057 9.649-3.118 1.812-1.686 2.267-2.87 2.267-5.814zm25.517 15.346h-1.621a3.71 3.71 0 0 1-3.359-2.083l-13.58-28.68h3.773a5.55 5.55 0 0 1 5.102 3.26l9.06 20.615 9.362-20.693a5.55 5.55 0 0 1 5.076-3.204h3.428l-13.897 28.734a3.71 3.71 0 0 1-3.344 2.05Zm21.495-13.601c.646 5.93 5.298 9.61 12.234 9.61 3.936 0 6.887-1.169 8.715-3.5a5.62 5.62 0 0 1 4.398-2.114h3.651c-3.179 6.987-8.87 10.423-17.352 10.423-10.597 0-17.739-6.427-17.739-16.037s7.317-16.348 17.871-16.348c7.635 0 13.776 3.43 16.25 9.176 1.102 2.642 1.552 4.99 1.552 8.795zm23.175-4.757c-1.425-5.428-5.632-8.489-11.46-8.489s-10.035 3.06-11.524 8.49h22.984Z" clip-rule="evenodd"/><path fill="@{accent-color}" fill-rule="evenodd" d="m62.038 17.836 1.746-4.28s-2.221-2.378-4.92-5.073c-2.697-2.695-8.41-1.11-8.41-1.11L43.947 0H21.095l-6.507 7.373s-5.713-1.585-8.411 1.11a230 230 0 0 0-4.92 5.073l1.746 4.28-2.222 6.34s6.535 24.722 7.3 27.741c1.508 5.945 2.54 8.243 6.824 11.255 4.285 3.012 12.061 8.243 13.33 9.036s2.858 2.142 4.286 2.142 3.015-1.35 4.285-2.142c1.27-.793 9.045-6.024 13.33-9.036s5.317-5.31 6.824-11.255c.766-3.019 7.3-27.74 7.3-27.74z" clip-rule="evenodd"/><path fill="#fff" fill-rule="evenodd" d="M40.614 13.397c.952 0 8.014-1.347 8.014-1.347s8.37 10.105 8.37 12.265c0 1.786-.72 2.485-1.568 3.308-.178.173-.36.35-.544.545l-6.275 6.656q-.095.099-.205.21c-.626.628-1.549 1.555-.898 3.093l.134.313c.713 1.667 1.594 3.725.473 5.81-1.193 2.218-3.236 3.699-4.545 3.454-1.31-.245-4.384-1.85-5.515-2.583s-4.715-3.686-4.715-4.815c0-.942 2.578-2.51 3.83-3.27.25-.152.446-.272.56-.348.129-.087.345-.222.61-.387 1.144-.709 3.208-1.99 3.26-2.558.063-.7.039-.905-.882-2.635a37 37 0 0 0-.662-1.169c-.878-1.508-1.86-3.196-1.642-4.405.245-1.365 2.386-2.148 4.2-2.81q.342-.125.66-.245c.53-.2 1.195-.448 1.89-.708 1.811-.678 3.823-1.43 4.155-1.584.46-.211.341-.413-1.05-.544l-.676-.07c-1.722-.183-4.899-.52-6.443-.09-.304.085-.644.177-1.001.273-1.735.47-3.861 1.045-4.066 1.376a2 2 0 0 1-.104.155c-.195.278-.322.459-.106 1.638.064.35.197 1.041.36 1.895.48 2.5 1.227 6.4 1.321 7.277q.02.183.042.355c.12.977.2 1.627-.937 1.887l-.297.068c-1.282.294-3.162.725-3.842.725s-2.56-.431-3.843-.725l-.296-.068c-1.136-.26-1.056-.91-.936-1.887q.021-.171.041-.355c.095-.878.844-4.787 1.323-7.287.163-.85.295-1.536.359-1.885.216-1.18.089-1.36-.107-1.638a3 3 0 0 1-.104-.155c-.204-.331-2.33-.906-4.065-1.376a108 108 0 0 1-1.002-.273c-1.544-.43-4.72-.093-6.442.09l-.676.07c-1.391.131-1.51.333-1.05.544.331.153 2.342.906 4.153 1.583.695.26 1.361.51 1.89.71q.32.12.662.243c1.813.663 3.955 1.446 4.2 2.811.218 1.21-.765 2.897-1.642 4.405-.237.407-.466.801-.662 1.17-.921 1.729-.946 1.934-.882 2.634.052.568 2.115 1.849 3.258 2.558.266.165.483.3.612.387.114.076.31.195.559.347 1.252.761 3.83 2.329 3.83 3.27 0 1.13-3.584 4.083-4.714 4.816s-4.206 2.338-5.515 2.583c-1.31.245-3.352-1.236-4.545-3.454-1.121-2.085-.24-4.142.473-5.81l.133-.313c.651-1.539-.271-2.465-.898-3.094q-.11-.11-.204-.209l-6.275-6.656a17 17 0 0 0-.544-.545c-.848-.823-1.568-1.522-1.568-3.308 0-2.16 8.37-12.265 8.37-12.265s7.062 1.347 8.014 1.347c.76 0 2.227-.504 3.756-1.03.387-.134.779-.268 1.163-.396 1.905-.634 3.174-.639 3.174-.639s1.27.005 3.174.639c.385.128.776.262 1.163.396 1.53.526 2.997 1.03 3.757 1.03m-1.212 35.745c1.493.768 2.552 1.313 2.952 1.563.518.324.202.935-.27 1.268-.472.334-6.813 5.239-7.429 5.78l-.249.224c-.593.534-1.35 1.215-1.886 1.215s-1.293-.682-1.886-1.216l-.248-.222c-.616-.542-6.958-5.447-7.43-5.78s-.787-.945-.27-1.269c.401-.25 1.461-.796 2.956-1.565l1.42-.732c2.236-1.156 5.023-2.139 5.458-2.139s3.222.983 5.459 2.139q.763.395 1.423.733Z" clip-rule="evenodd"/><path fill="@{accent-color}" filLine truncated '<svg xmlns="http://www.w3.org/2000/svg" width="244" height="78" fill="none" viewBox="0 0 244 78"><path fill="@{text}" fill-rule="evenodd" d="M81.512 40.373V14.791h2.453a3.614 3.614 0 0 1 3.619 3.61v11.375c3.931-3.5 7.274-4.9 11.73-4.99 8.546-.175 15.964 6.158 16.669 14.657.842 10.154-6.56 17.797-16.203 17.797-10.586 0-18.268-6.549-18.268-16.867m5.971 2.01c.599 5.285 5.659 9.651 10.994 9.736 6.952.106 11.688-4.414 11.688-11.1s-4.63-11.1-11.386-11.1c-7.221-.016-12.117 5.217-11.296 12.464m38.63-16.958v4.557c3.82-4.229 6.082-5.365 10.554-5.365 1.301.001 2.6.105 3.884.312v6.052a15.8 15.8 0 0 0-4.207-.56c-3.237 0-5.955 1.057-7.947 3.055-1.749 1.75-2.268 3.118-2.268 5.867v16.85h-6.295V25.426zM142.045 35.6c.323-2.997.906-4.62 2.198-6.179 2.591-3.171 7.254-4.804 13.856-4.804 5.245 0 9.065.814 11.719 2.558 2.205 1.432 3.111 3.557 3.111 7.3v13.663c0 2.997.778 4.054 2.914 3.996q.716-.025 1.425-.127v4.118a9.4 9.4 0 0 1-3.301.497c-3.947 0-5.759-1.184-6.988-4.62-3.884 3.557-7.9 5.053-13.66 5.053-7.703 0-12.429-3.494-12.429-9.176a8.08 8.08 0 0 1 4.853-7.484c2.331-1 3.756-1.311 10.422-1.998 5.695-.56 6.67-.688 8.286-1.19 1.749-.56 2.528-1.495 2.528-3.055 0-3.309-2.782-4.805-8.61-4.805-5.511 0-8.35 1.09-9.49 3.87a3.755 3.755 0 0 1-3.47 2.368zm24.902 5.243a61.8 61.8 0 0 1-12.239 2.247c-5.632.56-7.38 1.623-7.38 4.43 0 3.118 2.59 4.756 7.703 4.756 4.207 0 7.381-1.057 9.649-3.118 1.812-1.686 2.267-2.87 2.267-5.814zm25.517 15.346h-1.621a3.71 3.71 0 0 1-3.359-2.083l-13.58-28.68h3.773a5.55 5.55 0 0 1 5.102 3.26l9.06 20.615 9.362-20.693a5.55 5.55 0 0 1 5.076-3.204h3.428l-13.897 28.734a3.71 3.71 0 0 1-3.344 2.05Zm21.495-13.601c.646 5.93 5.298 9.61 12.234 9.61 3.936 0 6.887-1.169 8.715-3.5a5.62 5.62 0 0 1 4.398-2.114h3.651c-3.179 6.987-8.87 10.423-17.352 10.423-10.597 0-17.739-6.427-17.739-16.037s7.317-16.348 17.871-16.348c7.635 0 13.776 3.43 16.25 9.176 1.102 2.642 1.552 4.99 1.552 8.795zm23.175-4.757c-1.425-5.428-5.632-8.489-11.46-8.489s-10.035 3.06-11.524 8.49h22.984Z" clip-rule="evenodd"/><path fill="@{accent}" fill-rule="evenodd" d="m62.038 17.836 1.746-4.28s-2.221-2.378-4.92-5.073c-2.697-2.695-8.41-1.11-8.41-1.11L43.947 0H21.095l-6.507 7.373s-5.713-1.585-8.411 1.11a230 230 0 0 0-4.92 5.073l1.746 4.28-2.222 6.34s6.535 24.722 7.3 27.741c1.508 5.945 2.54 8.243 6.824 11.255 4.285 3.012 12.061 8.243 13.33 9.036s2.858 2.142 4.286 2.142 3.015-1.35 4.285-2.142c1.27-.793 9.045-6.024 13.33-9.036s5.317-5.31 6.824-11.255c.766-3.019 7.3-27.74 7.3-27.74z" clip-rule="evenodd"/><path fill="#fff" fill-rule="evenodd" d="M40.614 13.397c.952 0 8.014-1.347 8.014-1.347s8.37 10.105 8.37 12.265c0 1.786-.72 2.485-1.568 3.308-.178.173-.36.35-.544.545l-6.275 6.656q-.095.099-.205.21c-.626.628-1.549 1.555-.898 3.093l.134.313c.713 1.667 1.594 3.725.473 5.81-1.193 2.218-3.236 3.699-4.545 3.454-1.31-.245-4.384-1.85-5.515-2.583s-4.715-3.686-4.715-4.815c0-.942 2.578-2.51 3.83-3.27.25-.152.446-.272.56-.348.129-.087.345-.222.61-.387 1.144-.709 3.208-1.99 3.26-2.558.063-.7.039-.905-.882-2.635a37 37 0 0 0-.662-1.169c-.878-1.508-1.86-3.196-1.642-4.405.245-1.365 2.386-2.148 4.2-2.81q.342-.125.66-.245c.53-.2 1.195-.448 1.89-.708 1.811-.678 3.823-1.43 4.155-1.584.46-.211.341-.413-1.05-.544l-.676-.07c-1.722-.183-4.899-.52-6.443-.09-.304.085-.644.177-1.001.273-1.735.47-3.861 1.045-4.066 1.376a2 2 0 0 1-.104.155c-.195.278-.322.459-.106 1.638.064.35.197 1.041.36 1.895.48 2.5 1.227 6.4 1.321 7.277q.02.183.042.355c.12.977.2 1.627-.937 1.887l-.297.068c-1.282.294-3.162.725-3.842.725s-2.56-.431-3.843-.725l-.296-.068c-1.136-.26-1.056-.91-.936-1.887q.021-.171.041-.355c.095-.878.844-4.787 1.323-7.287.163-.85.295-1.536.359-1.885.216-1.18.089-1.36-.107-1.638a3 3 0 0 1-.104-.155c-.204-.331-2.33-.906-4.065-1.376a108 108 0 0 1-1.002-.273c-1.544-.43-4.72-.093-6.442.09l-.676.07c-1.391.131-1.51.333-1.05.544.331.153 2.342.906 4.153 1.583.695.26 1.361.51 1.89.71q.32.12.662.243c1.813.663 3.955 1.446 4.2 2.811.218 1.21-.765 2.897-1.642 4.405-.237.407-.466.801-.662 1.17-.921 1.729-.946 1.934-.882 2.634.052.568 2.115 1.849 3.258 2.558.266.165.483.3.612.387.114.076.31.195.559.347 1.252.761 3.83 2.329 3.83 3.27 0 1.13-3.584 4.083-4.714 4.816s-4.206 2.338-5.515 2.583c-1.31.245-3.352-1.236-4.545-3.454-1.121-2.085-.24-4.142.473-5.81l.133-.313c.651-1.539-.271-2.465-.898-3.094q-.11-.11-.204-.209l-6.275-6.656a17 17 0 0 0-.544-.545c-.848-.823-1.568-1.522-1.568-3.308 0-2.16 8.37-12.265 8.37-12.265s7.062 1.347 8.014 1.347c.76 0 2.227-.504 3.756-1.03.387-.134.779-.268 1.163-.396 1.905-.634 3.174-.639 3.174-.639s1.27.005 3.174.639c.385.128.776.262 1.163.396 1.53.526 2.997 1.03 3.757 1.03m-1.212 35.745c1.493.768 2.552 1.313 2.952 1.563.518.324.202.935-.27 1.268-.472.334-6.813 5.239-7.429 5.78l-.249.224c-.593.534-1.35 1.215-1.886 1.215s-1.293-.682-1.886-1.216l-.248-.222c-.616-.542-6.958-5.447-7.43-5.78s-.787-.945-.27-1.269c.401-.25 1.461-.796 2.956-1.565l1.42-.732c2.236-1.156 5.023-2.139 5.458-2.139s3.222.983 5.459 2.139q.763.395 1.423.733Z" clip-rule="evenodd"/><path fill="@{accent}" fill-rule="evenLine truncated
); );
content: url("data:image/svg+xml,@{svg}"); content: url("data:image/svg+xml,@{svg}");
} }
.nav-logo .logo-large { .nav-logo .logo-large {
@svg: escape( @svg: escape(
'<svg xmlns="http://www.w3.org/2000/svg" width="114" height="35" fill="none" viewBox="0 0 114 35"><path fill="@{text}" fill-rule="evenodd" d="M38.084 18.876V6.915h1.146c.933 0 1.69.756 1.69 1.688v5.318c1.837-1.636 3.4-2.29 5.481-2.333 3.993-.081 7.458 2.88 7.788 6.853.393 4.747-3.065 8.32-7.57 8.32-4.946 0-8.535-3.061-8.535-7.885m2.79.94c.279 2.47 2.643 4.512 5.136 4.551 3.248.05 5.46-2.063 5.46-5.19 0-3.126-2.163-5.19-5.32-5.19-3.373-.007-5.66 2.44-5.277 5.828Zm18.048-7.929v2.13c1.785-1.976 2.842-2.508 4.93-2.508q.913.001 1.815.146v2.83a7.4 7.4 0 0 0-1.965-.262c-1.513 0-2.783.494-3.713 1.428-.817.818-1.06 1.458-1.06 2.743v7.879h-2.94V11.887zm7.443 4.758c.151-1.402.424-2.16 1.028-2.89 1.21-1.482 3.389-2.246 6.473-2.246 2.45 0 4.236.38 5.476 1.196 1.03.67 1.453 1.663 1.453 3.413v6.389c0 1.4.364 1.895 1.361 1.868a6 6 0 0 0 .666-.06v1.926a4.4 4.4 0 0 1-1.542.232c-1.844 0-2.69-.554-3.265-2.16-1.814 1.663-3.69 2.363-6.382 2.363-3.599 0-5.807-1.634-5.807-4.29a3.78 3.78 0 0 1 2.267-3.5c1.09-.467 1.755-.613 4.87-.934 2.66-.262 3.116-.321 3.871-.556.817-.262 1.181-.7 1.181-1.429 0-1.547-1.3-2.246-4.023-2.246-2.574 0-3.9.51-4.433 1.809a1.755 1.755 0 0 1-1.622 1.107zM78 19.095a29 29 0 0 1-5.718 1.051c-2.632.262-3.448.759-3.448 2.071 0 1.458 1.21 2.224 3.599 2.224 1.965 0 3.448-.494 4.508-1.458.846-.788 1.059-1.342 1.059-2.718zm11.922 7.175h-.757a1.73 1.73 0 0 1-1.57-.973l-6.344-13.41h1.762a2.59 2.59 0 0 1 2.384 1.525l4.233 9.638 4.374-9.675a2.59 2.59 0 0 1 2.371-1.498h1.602l-6.493 13.434c-.295.591-.9.963-1.562.96Zm10.042-6.358c.302 2.772 2.476 4.492 5.716 4.492 1.84 0 3.218-.546 4.072-1.636a2.63 2.63 0 0 1 2.055-.988h1.706c-1.486 3.267-4.144 4.873-8.108 4.873-4.95 0-8.287-3.005-8.287-7.498 0-4.492 3.418-7.643 8.349-7.643 3.567 0 6.437 1.604 7.593 4.29.514 1.236.725 2.333.725 4.112l-13.82-.002Zm10.828-2.225c-.666-2.538-2.631-3.969-5.354-3.969s-4.689 1.431-5.384 3.97z" clip-rule="evenodd"/><path fill="@{accent-color}" fill-rule="evenodd" d="m28.985 8.339.816-2.001s-1.038-1.112-2.298-2.372-3.93-.519-3.93-.519L20.533 0H9.856l-3.04 3.447s-2.67-.74-3.93.52A109 109 0 0 0 .588 6.336l.815 2.002-1.038 2.964s3.053 11.559 3.41 12.97c.705 2.78 1.187 3.854 3.19 5.262 2.001 1.409 5.634 3.854 6.227 4.225.594.37 1.335 1.002 2.002 1.002.668 0 1.41-.632 2.002-1.002.593-.37 4.227-2.816 6.228-4.225 2.003-1.408 2.484-2.483 3.189-5.262.358-1.411 3.41-12.97 3.41-12.97z" clip-rule="evenodd"/><path fill="#fff" fill-rule="evenodd" d="M18.976 6.263c.445 0 3.744-.63 3.744-.63s3.91 4.725 3.91 5.735c0 .835-.336 1.162-.732 1.547q-.125.119-.254.254l-2.932 3.112-.096.098c-.293.294-.723.727-.42 1.447l.063.146c.334.78.745 1.741.221 2.716-.557 1.037-1.512 1.73-2.123 1.615s-2.049-.865-2.577-1.208-2.203-1.723-2.203-2.25c0-.441 1.205-1.174 1.79-1.53.116-.07.208-.127.26-.163a14 14 0 0 1 .287-.18c.534-.332 1.498-.93 1.522-1.196.03-.327.019-.423-.412-1.232a15 15 0 0 0-.31-.547c-.409-.704-.868-1.494-.766-2.06.114-.637 1.115-1.003 1.962-1.313l.309-.114c.247-.094.558-.21.883-.332.846-.316 1.786-.668 1.94-.74.216-.099.16-.193-.49-.255l-.316-.032c-.804-.086-2.288-.243-3.01-.042q-.215.06-.468.128c-.81.219-1.804.488-1.9.643l-.048.072c-.091.13-.15.215-.05.766.03.164.092.487.169.886.224 1.17.573 2.993.617 3.402l.02.166c.056.457.093.761-.438.883l-.139.031c-.6.138-1.477.34-1.795.34s-1.196-.202-1.795-.34l-.138-.031c-.531-.122-.494-.426-.438-.883l.02-.166c.043-.41.393-2.238.617-3.407.076-.397.138-.718.168-.881.1-.551.041-.636-.05-.766l-.048-.072c-.096-.155-1.09-.424-1.9-.643l-.468-.128c-.721-.201-2.205-.044-3.01.042l-.316.032c-.65.062-.705.156-.49.255.154.072 1.094.423 1.94.74l.884.332.308.114c.848.31 1.848.676 1.963 1.314.101.565-.357 1.354-.767 2.06-.111.19-.218.374-.31.546-.43.809-.442.905-.412 1.232.024.265.988.864 1.523 1.196.124.077.225.14.286.18.053.036.144.092.26.163.585.356 1.79 1.089 1.79 1.53 0 .527-1.674 1.908-2.203 2.25s-1.965 1.094-2.576 1.208c-.612.114-1.566-.578-2.124-1.615-.524-.974-.112-1.936.221-2.716l.063-.146c.304-.72-.127-1.153-.42-1.447l-.095-.098-2.932-3.112a8 8 0 0 0-.254-.254c-.396-.385-.733-.712-.733-1.547 0-1.01 3.91-5.734 3.91-5.734s3.3.63 3.745.63c.355 0 1.04-.236 1.755-.482.18-.063.364-.126.543-.186.89-.296 1.483-.298 1.483-.298s.593.002 1.483.298q.271.09.544.186c.714.246 1.4.481 1.755.481m-.567 16.713c.698.359 1.193.614 1.38.73.242.152.094.438-.127.594-.22.155-3.183 2.449-3.47 2.702l-.117.104c-.277.25-.63.568-.88.568-.252 0-.605-.318-.882-.568l-.116-.104c-.288-.253-3.25-2.547-3.471-2.702-.22-.156-.369-.442-.127-.593.188-.117.683-.373 1.381-.732l.664-.342c1.045-.54 2.347-1 2.55-1s1.505.46 2.55 1z" clip-rule="evenodd"/><path fill="@{accent-color}" fill-rule="evenodd" d="M23.573 3.447 20.533 0H9.856l-3.04 3.447s-2.67-.74-3.93.52c0 0 3.56-.322 4.783 1.667 0 0 3.3.63 3.744.63s1.409-.37 2.298-.667c.89-.297 1.483-.299 1.483-.299s.594.002 1.483.299c.89.296 1.854.667 2.299.667s3.744-.63 3.744-.63c1.224-1.989 4.783-1.668 4.783-1.668-1.26-1.26-3.93-.519-3.93-.519" clip-rule="evenodd"/></svg>' '<svg xmlns="http://www.w3.org/2000/svg" width="114" height="35" fill="none" viewBox="0 0 114 35"><path fill="@{text}" fill-rule="evenodd" d="M38.084 18.876V6.915h1.146c.933 0 1.69.756 1.69 1.688v5.318c1.837-1.636 3.4-2.29 5.481-2.333 3.993-.081 7.458 2.88 7.788 6.853.393 4.747-3.065 8.32-7.57 8.32-4.946 0-8.535-3.061-8.535-7.885m2.79.94c.279 2.47 2.643 4.512 5.136 4.551 3.248.05 5.46-2.063 5.46-5.19 0-3.126-2.163-5.19-5.32-5.19-3.373-.007-5.66 2.44-5.277 5.828Zm18.048-7.929v2.13c1.785-1.976 2.842-2.508 4.93-2.508q.913.001 1.815.146v2.83a7.4 7.4 0 0 0-1.965-.262c-1.513 0-2.783.494-3.713 1.428-.817.818-1.06 1.458-1.06 2.743v7.879h-2.94V11.887zm7.443 4.758c.151-1.402.424-2.16 1.028-2.89 1.21-1.482 3.389-2.246 6.473-2.246 2.45 0 4.236.38 5.476 1.196 1.03.67 1.453 1.663 1.453 3.413v6.389c0 1.4.364 1.895 1.361 1.868a6 6 0 0 0 .666-.06v1.926a4.4 4.4 0 0 1-1.542.232c-1.844 0-2.69-.554-3.265-2.16-1.814 1.663-3.69 2.363-6.382 2.363-3.599 0-5.807-1.634-5.807-4.29a3.78 3.78 0 0 1 2.267-3.5c1.09-.467 1.755-.613 4.87-.934 2.66-.262 3.116-.321 3.871-.556.817-.262 1.181-.7 1.181-1.429 0-1.547-1.3-2.246-4.023-2.246-2.574 0-3.9.51-4.433 1.809a1.755 1.755 0 0 1-1.622 1.107zM78 19.095a29 29 0 0 1-5.718 1.051c-2.632.262-3.448.759-3.448 2.071 0 1.458 1.21 2.224 3.599 2.224 1.965 0 3.448-.494 4.508-1.458.846-.788 1.059-1.342 1.059-2.718zm11.922 7.175h-.757a1.73 1.73 0 0 1-1.57-.973l-6.344-13.41h1.762a2.59 2.59 0 0 1 2.384 1.525l4.233 9.638 4.374-9.675a2.59 2.59 0 0 1 2.371-1.498h1.602l-6.493 13.434c-.295.591-.9.963-1.562.96Zm10.042-6.358c.302 2.772 2.476 4.492 5.716 4.492 1.84 0 3.218-.546 4.072-1.636a2.63 2.63 0 0 1 2.055-.988h1.706c-1.486 3.267-4.144 4.873-8.108 4.873-4.95 0-8.287-3.005-8.287-7.498 0-4.492 3.418-7.643 8.349-7.643 3.567 0 6.437 1.604 7.593 4.29.514 1.236.725 2.333.725 4.112l-13.82-.002Zm10.828-2.225c-.666-2.538-2.631-3.969-5.354-3.969s-4.689 1.431-5.384 3.97z" clip-rule="evenodd"/><path fill="@{accent}" fill-rule="evenodd" d="m28.985 8.339.816-2.001s-1.038-1.112-2.298-2.372-3.93-.519-3.93-.519L20.533 0H9.856l-3.04 3.447s-2.67-.74-3.93.52A109 109 0 0 0 .588 6.336l.815 2.002-1.038 2.964s3.053 11.559 3.41 12.97c.705 2.78 1.187 3.854 3.19 5.262 2.001 1.409 5.634 3.854 6.227 4.225.594.37 1.335 1.002 2.002 1.002.668 0 1.41-.632 2.002-1.002.593-.37 4.227-2.816 6.228-4.225 2.003-1.408 2.484-2.483 3.189-5.262.358-1.411 3.41-12.97 3.41-12.97z" clip-rule="evenodd"/><path fill="#fff" fill-rule="evenodd" d="M18.976 6.263c.445 0 3.744-.63 3.744-.63s3.91 4.725 3.91 5.735c0 .835-.336 1.162-.732 1.547q-.125.119-.254.254l-2.932 3.112-.096.098c-.293.294-.723.727-.42 1.447l.063.146c.334.78.745 1.741.221 2.716-.557 1.037-1.512 1.73-2.123 1.615s-2.049-.865-2.577-1.208-2.203-1.723-2.203-2.25c0-.441 1.205-1.174 1.79-1.53.116-.07.208-.127.26-.163a14 14 0 0 1 .287-.18c.534-.332 1.498-.93 1.522-1.196.03-.327.019-.423-.412-1.232a15 15 0 0 0-.31-.547c-.409-.704-.868-1.494-.766-2.06.114-.637 1.115-1.003 1.962-1.313l.309-.114c.247-.094.558-.21.883-.332.846-.316 1.786-.668 1.94-.74.216-.099.16-.193-.49-.255l-.316-.032c-.804-.086-2.288-.243-3.01-.042q-.215.06-.468.128c-.81.219-1.804.488-1.9.643l-.048.072c-.091.13-.15.215-.05.766.03.164.092.487.169.886.224 1.17.573 2.993.617 3.402l.02.166c.056.457.093.761-.438.883l-.139.031c-.6.138-1.477.34-1.795.34s-1.196-.202-1.795-.34l-.138-.031c-.531-.122-.494-.426-.438-.883l.02-.166c.043-.41.393-2.238.617-3.407.076-.397.138-.718.168-.881.1-.551.041-.636-.05-.766l-.048-.072c-.096-.155-1.09-.424-1.9-.643l-.468-.128c-.721-.201-2.205-.044-3.01.042l-.316.032c-.65.062-.705.156-.49.255.154.072 1.094.423 1.94.74l.884.332.308.114c.848.31 1.848.676 1.963 1.314.101.565-.357 1.354-.767 2.06-.111.19-.218.374-.31.546-.43.809-.442.905-.412 1.232.024.265.988.864 1.523 1.196.124.077.225.14.286.18.053.036.144.092.26.163.585.356 1.79 1.089 1.79 1.53 0 .527-1.674 1.908-2.203 2.25s-1.965 1.094-2.576 1.208c-.612.114-1.566-.578-2.124-1.615-.524-.974-.112-1.936.221-2.716l.063-.146c.304-.72-.127-1.153-.42-1.447l-.095-.098-2.932-3.112a8 8 0 0 0-.254-.254c-.396-.385-.733-.712-.733-1.547 0-1.01 3.91-5.734 3.91-5.734s3.3.63 3.745.63c.355 0 1.04-.236 1.755-.482.18-.063.364-.126.543-.186.89-.296 1.483-.298 1.483-.298s.593.002 1.483.298q.271.09.544.186c.714.246 1.4.481 1.755.481m-.567 16.713c.698.359 1.193.614 1.38.73.242.152.094.438-.127.594-.22.155-3.183 2.449-3.47 2.702l-.117.104c-.277.25-.63.568-.88.568-.252 0-.605-.318-.882-.568l-.116-.104c-.288-.253-3.25-2.547-3.471-2.702-.22-.156-.369-.442-.127-.593.188-.117.683-.373 1.381-.732l.664-.342c1.045-.54 2.347-1 2.55-1s1.505.46 2.55 1z" clip-rule="evenodd"/><path fill="@{accent}" fill-rule="evenodd" d="M23.573 3.447 20.533 0H9.856l-3.04 3.447s-2.67-.74-3.93.52c0 0 3.56-.322 4.783 1.667 0 0 3.3.63 3.744.63s1.409-.37 2.298-.667c.89-.297 1.483-.299 1.483-.299s.594.002 1.483.299c.89.296 1.854.667 2.299.667s3.744-.63 3.744-.63c1.224-1.989 4.783-1.668 4.783-1.668-1.26-1.26-3.93-.519-3.93-.519" clip-rule="evenodd"/></svg>'
); );
content: url("data:image/svg+xml,@{svg}"); content: url("data:image/svg+xml,@{svg}");
} }
.nav-logo .logo-small { .nav-logo .logo-small {
@svg: escape( @svg: escape(
'<svg xmlns="http://www.w3.org/2000/svg" width="56" height="64" fill="none"><path fill="@{accent-color}" fill-rule="evenodd" d="m53.292 15.321 1.5-3.676s-1.909-2.043-4.227-4.358c-2.317-2.315-7.225-.953-7.225-.953L37.751 0H18.12l-5.589 6.334s-4.908-1.362-7.225.953C2.988 9.602 1.08 11.645 1.08 11.645l1.5 3.676-1.91 5.447s5.614 21.236 6.272 23.83c1.295 5.106 2.181 7.08 5.862 9.668s10.36 7.08 11.45 7.762c1.091.68 2.455 1.84 3.682 1.84s2.59-1.16 3.68-1.84 7.77-5.175 11.452-7.762c3.68-2.587 4.567-4.562 5.862-9.668.657-2.594 6.27-23.83 6.27-23.83z" clip-rule="evenodd"/><path fill="#fff" fill-rule="evenodd" d="M34.888 11.508c.818 0 6.885-1.157 6.885-1.157s7.189 8.68 7.189 10.536c0 1.534-.619 2.134-1.347 2.842-.152.148-.31.3-.467.468l-5.39 5.717-.176.18c-.538.54-1.33 1.336-.772 2.658l.115.269c.613 1.432 1.37 3.2.407 4.99-1.025 1.906-2.78 3.178-3.905 2.967s-3.766-1.589-4.737-2.218c-.971-.63-4.05-3.166-4.05-4.137 0-.809 2.214-2.155 3.29-2.81.214-.13.383-.232.48-.298.111-.075.297-.19.526-.332.981-.61 2.754-1.71 2.799-2.197.055-.602.034-.778-.758-2.264-.168-.316-.365-.654-.568-1.004-.754-1.295-1.598-2.745-1.41-3.784.21-1.173 2.05-1.845 3.608-2.415q.292-.105.567-.209l1.623-.609c1.556-.582 3.284-1.229 3.57-1.36.394-.181.292-.355-.903-.468l-.58-.06c-1.48-.157-4.209-.446-5.535-.077-.261.073-.553.152-.86.235-1.49.403-3.317.897-3.493 1.182q-.045.074-.089.133c-.168.238-.277.394-.091 1.406.055.302.169.895.31 1.629.41 2.148 1.053 5.498 1.134 6.25q.017.159.036.305c.103.84.171 1.399-.805 1.622l-.255.058c-1.102.252-2.717.623-3.3.623-.584 0-2.2-.37-3.302-.623l-.254-.058c-.976-.223-.907-.782-.804-1.622q.018-.147.035-.305c.081-.753.725-4.112 1.137-6.259.14-.73.253-1.32.308-1.62.185-1.012.076-1.168-.092-1.406l-.09-.133c-.174-.285-2-.779-3.491-1.182-.307-.083-.6-.162-.86-.235-1.327-.37-4.055-.08-5.535.077q-.341.037-.58.06c-1.196.113-1.297.287-.903.468.285.131 2.013.778 3.568 1.36.597.223 1.17.437 1.624.609q.275.103.568.21c1.558.57 3.398 1.241 3.608 2.414.187 1.039-.657 2.489-1.41 3.784-.204.35-.4.688-.569 1.004-.791 1.486-.812 1.662-.757 2.264.044.488 1.816 1.587 2.798 2.197.229.142.415.257.526.332.098.066.266.168.48.298 1.076.654 3.29 2 3.29 2.81 0 .97-3.078 3.507-4.05 4.137-.97.63-3.612 2.008-4.737 2.218s-2.88-1.061-3.904-2.966c-.963-1.791-.207-3.559.406-4.99l.115-.27c.559-1.322-.233-2.118-.772-2.658l-.175-.18-5.39-5.717c-.158-.167-.316-.32-.468-.468-.728-.707-1.346-1.308-1.346-2.842 0-1.855 7.189-10.536 7.189-10.536s6.066 1.157 6.884 1.157c.653 0 1.913-.433 3.227-.885.333-.114.669-.23 1-.34 1.635-.545 2.726-.549 2.726-.549s1.09.004 2.726.549c.33.11.667.226 1 .34 1.313.452 2.574.885 3.226.885m-1.041 30.706c1.282.66 2.192 1.128 2.536 1.343.445.278.174.803-.232 1.09-.405.285-5.853 4.499-6.381 4.965l-.215.191c-.509.459-1.159 1.044-1.62 1.044-.46 0-1.11-.586-1.62-1.044l-.213-.191c-.53-.466-5.977-4.68-6.382-4.966s-.677-.81-.232-1.09c.344-.214 1.255-.683 2.539-1.344l1.22-.629c1.92-.992 4.315-1.837 4.689-1.837s2.767.844 4.689 1.837q.655.34 1.222.63z" clip-rule="evenodd"/><path fill="@{accent-color}" fill-rule="evenodd" d="M43.34 6.334 37.751 0H18.12l-5.589 6.334s-4.908-1.362-7.225.953c0 0 6.544-.59 8.793 3.064 0 0 6.066 1.157 6.884 1.157s2.59-.68 4.226-1.225 2.727-.549 2.727-.549 1.09.004 2.726.549 3.408 1.225 4.226 1.225 6.885-1.157 6.885-1.157c2.249-3.654 8.792-3.064 8.792-3.064-2.317-2.315-7.225-.953-7.225-.953" clip-rule="evenodd"/></svg>' '<svg xmlns="http://www.w3.org/2000/svg" width="56" height="64" fill="none"><path fill="@{accent}" fill-rule="evenodd" d="m53.292 15.321 1.5-3.676s-1.909-2.043-4.227-4.358c-2.317-2.315-7.225-.953-7.225-.953L37.751 0H18.12l-5.589 6.334s-4.908-1.362-7.225.953C2.988 9.602 1.08 11.645 1.08 11.645l1.5 3.676-1.91 5.447s5.614 21.236 6.272 23.83c1.295 5.106 2.181 7.08 5.862 9.668s10.36 7.08 11.45 7.762c1.091.68 2.455 1.84 3.682 1.84s2.59-1.16 3.68-1.84 7.77-5.175 11.452-7.762c3.68-2.587 4.567-4.562 5.862-9.668.657-2.594 6.27-23.83 6.27-23.83z" clip-rule="evenodd"/><path fill="#fff" fill-rule="evenodd" d="M34.888 11.508c.818 0 6.885-1.157 6.885-1.157s7.189 8.68 7.189 10.536c0 1.534-.619 2.134-1.347 2.842-.152.148-.31.3-.467.468l-5.39 5.717-.176.18c-.538.54-1.33 1.336-.772 2.658l.115.269c.613 1.432 1.37 3.2.407 4.99-1.025 1.906-2.78 3.178-3.905 2.967s-3.766-1.589-4.737-2.218c-.971-.63-4.05-3.166-4.05-4.137 0-.809 2.214-2.155 3.29-2.81.214-.13.383-.232.48-.298.111-.075.297-.19.526-.332.981-.61 2.754-1.71 2.799-2.197.055-.602.034-.778-.758-2.264-.168-.316-.365-.654-.568-1.004-.754-1.295-1.598-2.745-1.41-3.784.21-1.173 2.05-1.845 3.608-2.415q.292-.105.567-.209l1.623-.609c1.556-.582 3.284-1.229 3.57-1.36.394-.181.292-.355-.903-.468l-.58-.06c-1.48-.157-4.209-.446-5.535-.077-.261.073-.553.152-.86.235-1.49.403-3.317.897-3.493 1.182q-.045.074-.089.133c-.168.238-.277.394-.091 1.406.055.302.169.895.31 1.629.41 2.148 1.053 5.498 1.134 6.25q.017.159.036.305c.103.84.171 1.399-.805 1.622l-.255.058c-1.102.252-2.717.623-3.3.623-.584 0-2.2-.37-3.302-.623l-.254-.058c-.976-.223-.907-.782-.804-1.622q.018-.147.035-.305c.081-.753.725-4.112 1.137-6.259.14-.73.253-1.32.308-1.62.185-1.012.076-1.168-.092-1.406l-.09-.133c-.174-.285-2-.779-3.491-1.182-.307-.083-.6-.162-.86-.235-1.327-.37-4.055-.08-5.535.077q-.341.037-.58.06c-1.196.113-1.297.287-.903.468.285.131 2.013.778 3.568 1.36.597.223 1.17.437 1.624.609q.275.103.568.21c1.558.57 3.398 1.241 3.608 2.414.187 1.039-.657 2.489-1.41 3.784-.204.35-.4.688-.569 1.004-.791 1.486-.812 1.662-.757 2.264.044.488 1.816 1.587 2.798 2.197.229.142.415.257.526.332.098.066.266.168.48.298 1.076.654 3.29 2 3.29 2.81 0 .97-3.078 3.507-4.05 4.137-.97.63-3.612 2.008-4.737 2.218s-2.88-1.061-3.904-2.966c-.963-1.791-.207-3.559.406-4.99l.115-.27c.559-1.322-.233-2.118-.772-2.658l-.175-.18-5.39-5.717c-.158-.167-.316-.32-.468-.468-.728-.707-1.346-1.308-1.346-2.842 0-1.855 7.189-10.536 7.189-10.536s6.066 1.157 6.884 1.157c.653 0 1.913-.433 3.227-.885.333-.114.669-.23 1-.34 1.635-.545 2.726-.549 2.726-.549s1.09.004 2.726.549c.33.11.667.226 1 .34 1.313.452 2.574.885 3.226.885m-1.041 30.706c1.282.66 2.192 1.128 2.536 1.343.445.278.174.803-.232 1.09-.405.285-5.853 4.499-6.381 4.965l-.215.191c-.509.459-1.159 1.044-1.62 1.044-.46 0-1.11-.586-1.62-1.044l-.213-.191c-.53-.466-5.977-4.68-6.382-4.966s-.677-.81-.232-1.09c.344-.214 1.255-.683 2.539-1.344l1.22-.629c1.92-.992 4.315-1.837 4.689-1.837s2.767.844 4.689 1.837q.655.34 1.222.63z" clip-rule="evenodd"/><path fill="@{accent}" fill-rule="evenodd" d="M43.34 6.334 37.751 0H18.12l-5.589 6.334s-4.908-1.362-7.225.953c0 0 6.544-.59 8.793 3.064 0 0 6.066 1.157 6.884 1.157s2.59-.68 4.226-1.225 2.727-.549 2.727-.549 1.09.004 2.726.549 3.408 1.225 4.226 1.225 6.885-1.157 6.885-1.157c2.249-3.654 8.792-3.064 8.792-3.064-2.317-2.315-7.225-.953-7.225-.953" clip-rule="evenodd"/></svg>'
); );
content: url("data:image/svg+xml,@{svg}"); content: url("data:image/svg+xml,@{svg}");
} }
@@ -187,13 +187,13 @@
} }
input[type="radio"]:checked::after { input[type="radio"]:checked::after {
background-color: @accent-color; background-color: @accent;
} }
.feedback-footer { .feedback-footer {
#logo { #logo {
@svg: escape( @svg: escape(
'<svg xmlns="http://www.w3.org/2000/svg" width="56" height="64" fill="none"><path fill="@{accent-color}" fill-rule="evenodd" d="m53.292 15.321 1.5-3.676s-1.909-2.043-4.227-4.358c-2.317-2.315-7.225-.953-7.225-.953L37.751 0H18.12l-5.589 6.334s-4.908-1.362-7.225.953C2.988 9.602 1.08 11.645 1.08 11.645l1.5 3.676-1.91 5.447s5.614 21.236 6.272 23.83c1.295 5.106 2.181 7.08 5.862 9.668s10.36 7.08 11.45 7.762c1.091.68 2.455 1.84 3.682 1.84s2.59-1.16 3.68-1.84 7.77-5.175 11.452-7.762c3.68-2.587 4.567-4.562 5.862-9.668.657-2.594 6.27-23.83 6.27-23.83z" clip-rule="evenodd"/><path fill="#fff" fill-rule="evenodd" d="M34.888 11.508c.818 0 6.885-1.157 6.885-1.157s7.189 8.68 7.189 10.536c0 1.534-.619 2.134-1.347 2.842-.152.148-.31.3-.467.468l-5.39 5.717-.176.18c-.538.54-1.33 1.336-.772 2.658l.115.269c.613 1.432 1.37 3.2.407 4.99-1.025 1.906-2.78 3.178-3.905 2.967s-3.766-1.589-4.737-2.218c-.971-.63-4.05-3.166-4.05-4.137 0-.809 2.214-2.155 3.29-2.81.214-.13.383-.232.48-.298.111-.075.297-.19.526-.332.981-.61 2.754-1.71 2.799-2.197.055-.602.034-.778-.758-2.264-.168-.316-.365-.654-.568-1.004-.754-1.295-1.598-2.745-1.41-3.784.21-1.173 2.05-1.845 3.608-2.415q.292-.105.567-.209l1.623-.609c1.556-.582 3.284-1.229 3.57-1.36.394-.181.292-.355-.903-.468l-.58-.06c-1.48-.157-4.209-.446-5.535-.077-.261.073-.553.152-.86.235-1.49.403-3.317.897-3.493 1.182q-.045.074-.089.133c-.168.238-.277.394-.091 1.406.055.302.169.895.31 1.629.41 2.148 1.053 5.498 1.134 6.25q.017.159.036.305c.103.84.171 1.399-.805 1.622l-.255.058c-1.102.252-2.717.623-3.3.623-.584 0-2.2-.37-3.302-.623l-.254-.058c-.976-.223-.907-.782-.804-1.622q.018-.147.035-.305c.081-.753.725-4.112 1.137-6.259.14-.73.253-1.32.308-1.62.185-1.012.076-1.168-.092-1.406l-.09-.133c-.174-.285-2-.779-3.491-1.182-.307-.083-.6-.162-.86-.235-1.327-.37-4.055-.08-5.535.077q-.341.037-.58.06c-1.196.113-1.297.287-.903.468.285.131 2.013.778 3.568 1.36.597.223 1.17.437 1.624.609q.275.103.568.21c1.558.57 3.398 1.241 3.608 2.414.187 1.039-.657 2.489-1.41 3.784-.204.35-.4.688-.569 1.004-.791 1.486-.812 1.662-.757 2.264.044.488 1.816 1.587 2.798 2.197.229.142.415.257.526.332.098.066.266.168.48.298 1.076.654 3.29 2 3.29 2.81 0 .97-3.078 3.507-4.05 4.137-.97.63-3.612 2.008-4.737 2.218s-2.88-1.061-3.904-2.966c-.963-1.791-.207-3.559.406-4.99l.115-.27c.559-1.322-.233-2.118-.772-2.658l-.175-.18-5.39-5.717c-.158-.167-.316-.32-.468-.468-.728-.707-1.346-1.308-1.346-2.842 0-1.855 7.189-10.536 7.189-10.536s6.066 1.157 6.884 1.157c.653 0 1.913-.433 3.227-.885.333-.114.669-.23 1-.34 1.635-.545 2.726-.549 2.726-.549s1.09.004 2.726.549c.33.11.667.226 1 .34 1.313.452 2.574.885 3.226.885m-1.041 30.706c1.282.66 2.192 1.128 2.536 1.343.445.278.174.803-.232 1.09-.405.285-5.853 4.499-6.381 4.965l-.215.191c-.509.459-1.159 1.044-1.62 1.044-.46 0-1.11-.586-1.62-1.044l-.213-.191c-.53-.466-5.977-4.68-6.382-4.966s-.677-.81-.232-1.09c.344-.214 1.255-.683 2.539-1.344l1.22-.629c1.92-.992 4.315-1.837 4.689-1.837s2.767.844 4.689 1.837q.655.34 1.222.63z" clip-rule="evenodd"/><path fill="@{accent-color}" fill-rule="evenodd" d="M43.34 6.334 37.751 0H18.12l-5.589 6.334s-4.908-1.362-7.225.953c0 0 6.544-.59 8.793 3.064 0 0 6.066 1.157 6.884 1.157s2.59-.68 4.226-1.225 2.727-.549 2.727-.549 1.09.004 2.726.549 3.408 1.225 4.226 1.225 6.885-1.157 6.885-1.157c2.249-3.654 8.792-3.064 8.792-3.064-2.317-2.315-7.225-.953-7.225-.953" clip-rule="evenodd"/></svg>' '<svg xmlns="http://www.w3.org/2000/svg" width="56" height="64" fill="none"><path fill="@{accent}" fill-rule="evenodd" d="m53.292 15.321 1.5-3.676s-1.909-2.043-4.227-4.358c-2.317-2.315-7.225-.953-7.225-.953L37.751 0H18.12l-5.589 6.334s-4.908-1.362-7.225.953C2.988 9.602 1.08 11.645 1.08 11.645l1.5 3.676-1.91 5.447s5.614 21.236 6.272 23.83c1.295 5.106 2.181 7.08 5.862 9.668s10.36 7.08 11.45 7.762c1.091.68 2.455 1.84 3.682 1.84s2.59-1.16 3.68-1.84 7.77-5.175 11.452-7.762c3.68-2.587 4.567-4.562 5.862-9.668.657-2.594 6.27-23.83 6.27-23.83z" clip-rule="evenodd"/><path fill="#fff" fill-rule="evenodd" d="M34.888 11.508c.818 0 6.885-1.157 6.885-1.157s7.189 8.68 7.189 10.536c0 1.534-.619 2.134-1.347 2.842-.152.148-.31.3-.467.468l-5.39 5.717-.176.18c-.538.54-1.33 1.336-.772 2.658l.115.269c.613 1.432 1.37 3.2.407 4.99-1.025 1.906-2.78 3.178-3.905 2.967s-3.766-1.589-4.737-2.218c-.971-.63-4.05-3.166-4.05-4.137 0-.809 2.214-2.155 3.29-2.81.214-.13.383-.232.48-.298.111-.075.297-.19.526-.332.981-.61 2.754-1.71 2.799-2.197.055-.602.034-.778-.758-2.264-.168-.316-.365-.654-.568-1.004-.754-1.295-1.598-2.745-1.41-3.784.21-1.173 2.05-1.845 3.608-2.415q.292-.105.567-.209l1.623-.609c1.556-.582 3.284-1.229 3.57-1.36.394-.181.292-.355-.903-.468l-.58-.06c-1.48-.157-4.209-.446-5.535-.077-.261.073-.553.152-.86.235-1.49.403-3.317.897-3.493 1.182q-.045.074-.089.133c-.168.238-.277.394-.091 1.406.055.302.169.895.31 1.629.41 2.148 1.053 5.498 1.134 6.25q.017.159.036.305c.103.84.171 1.399-.805 1.622l-.255.058c-1.102.252-2.717.623-3.3.623-.584 0-2.2-.37-3.302-.623l-.254-.058c-.976-.223-.907-.782-.804-1.622q.018-.147.035-.305c.081-.753.725-4.112 1.137-6.259.14-.73.253-1.32.308-1.62.185-1.012.076-1.168-.092-1.406l-.09-.133c-.174-.285-2-.779-3.491-1.182-.307-.083-.6-.162-.86-.235-1.327-.37-4.055-.08-5.535.077q-.341.037-.58.06c-1.196.113-1.297.287-.903.468.285.131 2.013.778 3.568 1.36.597.223 1.17.437 1.624.609q.275.103.568.21c1.558.57 3.398 1.241 3.608 2.414.187 1.039-.657 2.489-1.41 3.784-.204.35-.4.688-.569 1.004-.791 1.486-.812 1.662-.757 2.264.044.488 1.816 1.587 2.798 2.197.229.142.415.257.526.332.098.066.266.168.48.298 1.076.654 3.29 2 3.29 2.81 0 .97-3.078 3.507-4.05 4.137-.97.63-3.612 2.008-4.737 2.218s-2.88-1.061-3.904-2.966c-.963-1.791-.207-3.559.406-4.99l.115-.27c.559-1.322-.233-2.118-.772-2.658l-.175-.18-5.39-5.717c-.158-.167-.316-.32-.468-.468-.728-.707-1.346-1.308-1.346-2.842 0-1.855 7.189-10.536 7.189-10.536s6.066 1.157 6.884 1.157c.653 0 1.913-.433 3.227-.885.333-.114.669-.23 1-.34 1.635-.545 2.726-.549 2.726-.549s1.09.004 2.726.549c.33.11.667.226 1 .34 1.313.452 2.574.885 3.226.885m-1.041 30.706c1.282.66 2.192 1.128 2.536 1.343.445.278.174.803-.232 1.09-.405.285-5.853 4.499-6.381 4.965l-.215.191c-.509.459-1.159 1.044-1.62 1.044-.46 0-1.11-.586-1.62-1.044l-.213-.191c-.53-.466-5.977-4.68-6.382-4.966s-.677-.81-.232-1.09c.344-.214 1.255-.683 2.539-1.344l1.22-.629c1.92-.992 4.315-1.837 4.689-1.837s2.767.844 4.689 1.837q.655.34 1.222.63z" clip-rule="evenodd"/><path fill="@{accent}" fill-rule="evenodd" d="M43.34 6.334 37.751 0H18.12l-5.589 6.334s-4.908-1.362-7.225.953c0 0 6.544-.59 8.793 3.064 0 0 6.066 1.157 6.884 1.157s2.59-.68 4.226-1.225 2.727-.549 2.727-.549 1.09.004 2.726.549 3.408 1.225 4.226 1.225 6.885-1.157 6.885-1.157c2.249-3.654 8.792-3.064 8.792-3.064-2.317-2.315-7.225-.953-7.225-.953" clip-rule="evenodd"/></svg>'
); );
content: url("data:image/svg+xml,@{svg}"); content: url("data:image/svg+xml,@{svg}");
height: 48px; height: 48px;
+71 -77
View File
@@ -16,61 +16,56 @@
==/UserStyle== */ ==/UserStyle== */
@-moz-document domain("bsky.app") { @-moz-document domain("bsky.app") {
@media (prefers-color-scheme: light) { html.colorMode--system {
html.colorMode--system { @media (prefers-color-scheme: light) {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
} @media (prefers-color-scheme: dark) {
@media (prefers-color-scheme: dark) { #catppuccin(@darkFlavor);
html.colorMode--system {
#catppuccin(@darkFlavor, @accentColor);
} }
} }
html.theme--light { html.theme--light {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
html.theme--dim, html.theme--dim,
html.theme--dark { html.theme--dark {
#catppuccin(@darkFlavor, @accentColor); #catppuccin(@darkFlavor);
} }
#catppuccin(@lookup, @accent) { #catppuccin(@flavor) {
@rosewater: @catppuccin[@@lookup][@rosewater]; @rosewater: @catppuccin[@@flavor][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo]; @flamingo: @catppuccin[@@flavor][@flamingo];
@pink: @catppuccin[@@lookup][@pink]; @pink: @catppuccin[@@flavor][@pink];
@mauve: @catppuccin[@@lookup][@mauve]; @mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@lookup][@red]; @red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@lookup][@maroon]; @maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@lookup][@peach]; @peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@lookup][@yellow]; @yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@lookup][@green]; @green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@lookup][@teal]; @teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@lookup][@sky]; @sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@lookup][@sapphire]; @sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@lookup][@blue]; @blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@lookup][@lavender]; @lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@lookup][@text]; @text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@lookup][@subtext1]; @subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@lookup][@subtext0]; @subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@lookup][@overlay2]; @overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@lookup][@overlay1]; @overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@lookup][@overlay0]; @overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@lookup][@surface2]; @surface2: @catppuccin[@@flavor][@surface2];
@surface1: @catppuccin[@@lookup][@surface1]; @surface1: @catppuccin[@@flavor][@surface1];
@surface0: @catppuccin[@@lookup][@surface0]; @surface0: @catppuccin[@@flavor][@surface0];
@base: @catppuccin[@@lookup][@base]; @base: @catppuccin[@@flavor][@base];
@mantle: @catppuccin[@@lookup][@mantle]; @mantle: @catppuccin[@@flavor][@mantle];
@crust: @catppuccin[@@lookup][@crust]; @crust: @catppuccin[@@flavor][@crust];
@accent-color: @catppuccin[@@lookup][@@accent]; @accent: @catppuccin[@@flavor][@@accentColor];
color-scheme: if(@lookup = latte, light, dark); color-scheme: if(@flavor = latte, light, dark);
// fix general site background - this applies to the <html> element
background-color: @base;
::selection { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
input, input,
@@ -80,6 +75,9 @@
} }
} }
// fix general site background - this applies to the <html> element
background-color: @base;
--text: @text; --text: @text;
--background: @base; --background: @base;
--backgroundLight: @base; --backgroundLight: @base;
@@ -88,20 +86,16 @@
[style*="color: rgb(255, 255, 255)"], [style*="color: rgb(255, 255, 255)"],
[style*="color: rgb(241, 243, 245)"] //, [style*="color: rgb(241, 243, 245)"] //,
/* [style*="color: rgb(11, 15, 20)"] this breas on dark */ { /* [style*="color: rgb(11, 15, 20)"] this breas on dark */ {
color: @text !important; color: if(@flavor = latte, @base, @text) !important;
& when (@lookup = latte) {
/* fix button text in latte */
color: @base !important;
}
} }
/* some background color of follow button + hover */ /* some background color of follow button + hover */
[style*="background-color: rgb(241, 243, 245)"] { [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)"] { [style*="color: rgb(11, 15, 20)"] {
color: if(@lookup = latte, @text, @crust) !important; color: if(@flavor = latte, @text, @crust) !important;
} }
/* secondary text */ /* secondary text */
@@ -127,20 +121,20 @@
[style*="color: rgb(16, 131, 254)"], // dark [style*="color: rgb(16, 131, 254)"], // dark
[style*="color: rgb(32, 139, 254)"] // dim [style*="color: rgb(32, 139, 254)"] // dim
{ {
color: @accent-color !important; color: @accent !important;
} }
/* generic blue inline underline (links) */ /* generic blue inline underline (links) */
[style*="text-decoration-color: rgb(16, 131, 254)"], // dark [style*="text-decoration-color: rgb(16, 131, 254)"], // dark
[style*="text-decoration-color: rgb(32, 139, 254)"] // dim [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) */ /* generic blue inline bg color (e.g. notification count) */
[style*="background-color: rgb(16, 131, 254)"], // dark [style*="background-color: rgb(16, 131, 254)"], // dark
[style*="background-color: rgb(32, 139, 254)"] // dim [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) */ /* notification count contrast fix, also chat message contrast fix (> div) */
&[style*="color: rgb(241, 243, 245)"], &[style*="color: rgb(241, 243, 245)"],
@@ -158,25 +152,25 @@
/* sending/pending/failed direct message */ /* sending/pending/failed direct message */
[style*="background-color: rgb(1, 64, 132)"] { [style*="background-color: rgb(1, 64, 132)"] {
background-color: fadeout(@accent-color, 70%) !important; background-color: fade(@accent, 30%) !important;
} }
/* blue svg inline */ /* blue svg inline */
[stroke="hsl(211, 99%, 53%)"], [stroke="hsl(211, 99%, 53%)"],
[stroke="#0085ff"] { [stroke="#0085ff"] {
stroke: @accent-color; stroke: @accent;
} }
[fill="hsl(211, 99%, 53%)"], [fill="hsl(211, 99%, 53%)"],
[fill="hsl(211, 99%, 56%)"], [fill="hsl(211, 99%, 56%)"],
[fill="#0085ff"] { [fill="#0085ff"] {
fill: @accent-color; fill: @accent;
} }
/* a lot of blue things (buttons etc) */ /* a lot of blue things (buttons etc) */
.r-wzwllv, .r-wzwllv,
div[style*="background-color: rgb(0, 133, 255)"] { 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) */ /* notification count contrast fix, also chat message contrast fix (> div) */
&[style*="color: rgb(241, 243, 245)"], &[style*="color: rgb(241, 243, 245)"],
@@ -237,7 +231,7 @@
[style*="background-color: rgb(22, 30, 39)"] { [style*="background-color: rgb(22, 30, 39)"] {
background-color: @base !important; background-color: @base !important;
& when (@lookup = latte) { & when (@flavor = latte) {
/* fix button colors in latte */ /* fix button colors in latte */
[style*="background-color: rgb(0, 0, 0)"] { [style*="background-color: rgb(0, 0, 0)"] {
background-color: @text !important; background-color: @text !important;
@@ -261,12 +255,12 @@
/* some sort of tertiary background color with a slight accent */ /* some sort of tertiary background color with a slight accent */
[style*="background-color: rgb(0, 25, 51)"] { [style*="background-color: rgb(0, 25, 51)"] {
background-color: fadeout(@accent-color, 70%) !important; background-color: fade(@accent, 30%) !important;
} }
/* loading circle */ /* loading circle */
circle[style^="stroke: rgb(25, 118, 210)"] { circle[style^="stroke: rgb(25, 118, 210)"] {
stroke: @accent-color !important; stroke: @accent !important;
} }
/* wide site: new post button (w text) */ /* 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(32, 139, 254)"], // dim
button[style*="background-color: rgb(76, 162, 254)"] // dim (hover) button[style*="background-color: rgb(76, 162, 254)"] // dim (hover)
{ {
background-color: @accent-color !important; background-color: @accent !important;
&:hover { &:hover {
background-color: fade(@accent-color, 70%) !important; background-color: fade(@accent, 70%) !important;
} }
> div { > div {
@@ -295,7 +289,7 @@
/* fix selected tab bottom border issue caused by selector above */ /* fix selected tab bottom border issue caused by selector above */
.css-175oi2r[style*="border-bottom-color: rgb(16, 131, 254)"] { .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 */ /* 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 !! */ /* current selected tab (acc page) !! KEEP THIS BELOW ABOVE DEFINITION !! */
[style*="border-color: rgb(255, 255, 255)"] { [style*="border-color: rgb(255, 255, 255)"] {
border-color: @accent-color !important; border-color: @accent !important;
} }
/* settings highlight thing */ /* settings highlight thing */
@@ -352,7 +346,7 @@
/* "save changes" button in edit profile */ /* "save changes" button in edit profile */
> div[style*="background-image: linear-gradient(94.0544deg, rgb(90, 113, 250), rgb(0, 133, 255))"] { > 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 */ /* fix contrast issues */
@@ -365,7 +359,7 @@
[data-testid="saveBtn"] { [data-testid="saveBtn"] {
> div[style*="background-image: linear-gradient"] { > div[style*="background-image: linear-gradient"] {
background: unset !important; background: unset !important;
background-color: @accent-color !important; background-color: @accent !important;
> div { > div {
color: @crust !important; color: @crust !important;
} }
@@ -392,7 +386,7 @@
/* the round gradient post button in the bottom right when the page is thinner than usual */ /* the round gradient post button in the bottom right when the page is thinner than usual */
[data-testid="composeFAB"] > div { [data-testid="composeFAB"] > div {
background: unset !important; background: unset !important;
background-color: @accent-color !important; background-color: @accent !important;
// fix contrast (inner symbol) // fix contrast (inner symbol)
.r-jwli3a { .r-jwli3a {
@@ -403,7 +397,7 @@
/* blue text only button (e.g. cancel post button) */ /* blue text only button (e.g. cancel post button) */
div[style*="color: rgb(52, 150, 254)"], div[style*="color: rgb(52, 150, 254)"],
div[style*="color: rgb(76, 162, 254)"] { div[style*="color: rgb(76, 162, 254)"] {
color: @accent-color !important; color: @accent !important;
} }
/* text color when writing a post */ /* text color when writing a post */
@@ -415,12 +409,12 @@
/* some button background color (when hovering) */ /* some button background color (when hovering) */
[style*="background-color: rgb(0, 44, 91)"], [style*="background-color: rgb(0, 44, 91)"],
[style*="background-color: rgb(19, 63, 109)"] { [style*="background-color: rgb(19, 63, 109)"] {
background-color: fade(@accent-color, 30%) !important; background-color: fade(@accent, 30%) !important;
} }
/* several white buttons */ /* several white buttons */
button[style*="background-color: rgb(255, 255, 255)"] when not( button[style*="background-color: rgb(255, 255, 255)"] when not(
@lookup = latte @flavor = latte
) { ) {
background-color: @text !important; background-color: @text !important;
} }
@@ -463,7 +457,7 @@
path[fill="hsl(211, 20%, 95.3%)"] { path[fill="hsl(211, 20%, 95.3%)"] {
fill: @text; fill: @text;
& when (@lookup = latte) { & when (@flavor = latte) {
fill: @base; fill: @base;
} }
} }
@@ -482,9 +476,9 @@
/* x invite codes available icon */ /* x invite codes available icon */
div[style*="background-color: rgb(191, 225, 255)"], div[style*="background-color: rgb(191, 225, 255)"],
div[style*="background-color: rgb(1, 37, 97)"] { 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"] { > svg > path[fill="#52acfe"] {
fill: @accent-color; fill: @accent;
} }
} }
@@ -526,7 +520,7 @@
/* onboarding: continue/next button */ /* onboarding: continue/next button */
[data-testid="continueBtn"] { [data-testid="continueBtn"] {
background-color: @accent-color !important; background-color: @accent !important;
} }
[data-testid="continueBtn"] > div > div { [data-testid="continueBtn"] > div > div {
color: @base !important; color: @base !important;
@@ -537,7 +531,7 @@
/* pretty self explanatory, user mentions in the post create modal */ /* pretty self explanatory, user mentions in the post create modal */
.mention { .mention {
color: @accent-color; color: @accent;
} }
/* mentions in the notification tab (highlighted notifications) */ /* 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(21, 41, 63)"], // dim
div[style*="background-color: rgb(240, 247, 255)"] // light 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"] *) { .css-175oi2r:not([role="checkbox"] *) {
background-color: transparent !important; background-color: transparent !important;
} }
@@ -553,7 +547,7 @@
/* generic blue background color inline (used for buttons in notifications tab) */ /* generic blue background color inline (used for buttons in notifications tab) */
button[style*="background-color: rgb(0, 133, 255)"] { button[style*="background-color: rgb(0, 133, 255)"] {
background-color: @accent-color !important; background-color: @accent !important;
} }
/* contrast fix for above */ /* contrast fix for above */
button[style*="background-color: rgb(0, 133, 255)"] > div > div { button[style*="background-color: rgb(0, 133, 255)"] > div > div {
@@ -562,7 +556,7 @@
/* other button in notifications tab, inner text */ /* other button in notifications tab, inner text */
div[style*="color: rgb(82, 172, 254)"] { div[style*="color: rgb(82, 172, 254)"] {
color: @accent-color !important; color: @accent !important;
} }
/* "No notifications yet!" text in the notifications tab */ /* "No notifications yet!" text in the notifications tab */
+58 -60
View File
@@ -18,50 +18,48 @@
==/UserStyle== */ ==/UserStyle== */
@-moz-document domain("bstats.org") { @-moz-document domain("bstats.org") {
@media (prefers-color-scheme: light) { :root {
:root { @media (prefers-color-scheme: light) {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
} @media (prefers-color-scheme: dark) {
@media (prefers-color-scheme: dark) { #catppuccin(@darkFlavor);
:root {
#catppuccin(@darkFlavor, @accentColor);
} }
} }
#catppuccin(@lookup, @accent) { #catppuccin(@flavor) {
@rosewater: @catppuccin[@@lookup][@rosewater]; @rosewater: @catppuccin[@@flavor][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo]; @flamingo: @catppuccin[@@flavor][@flamingo];
@pink: @catppuccin[@@lookup][@pink]; @pink: @catppuccin[@@flavor][@pink];
@mauve: @catppuccin[@@lookup][@mauve]; @mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@lookup][@red]; @red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@lookup][@maroon]; @maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@lookup][@peach]; @peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@lookup][@yellow]; @yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@lookup][@green]; @green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@lookup][@teal]; @teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@lookup][@sky]; @sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@lookup][@sapphire]; @sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@lookup][@blue]; @blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@lookup][@lavender]; @lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@lookup][@text]; @text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@lookup][@subtext1]; @subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@lookup][@subtext0]; @subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@lookup][@overlay2]; @overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@lookup][@overlay1]; @overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@lookup][@overlay0]; @overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@lookup][@surface2]; @surface2: @catppuccin[@@flavor][@surface2];
@surface1: @catppuccin[@@lookup][@surface1]; @surface1: @catppuccin[@@flavor][@surface1];
@surface0: @catppuccin[@@lookup][@surface0]; @surface0: @catppuccin[@@flavor][@surface0];
@base: @catppuccin[@@lookup][@base]; @base: @catppuccin[@@flavor][@base];
@mantle: @catppuccin[@@lookup][@mantle]; @mantle: @catppuccin[@@flavor][@mantle];
@crust: @catppuccin[@@lookup][@crust]; @crust: @catppuccin[@@flavor][@crust];
@accent-color: @catppuccin[@@lookup][@@accent]; @accent: @catppuccin[@@flavor][@@accentColor];
color-scheme: if(@lookup = latte, light, dark); color-scheme: if(@flavor = latte, light, dark);
::selection { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
input, input,
@@ -199,18 +197,18 @@
} }
/* discord logo on homepage */ /* 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%); 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%) filter: saturate(53%) hue-rotate(-10deg) brightness(147%) contrast(90%)
sepia(15%) invert(2%); 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%) filter: saturate(52%) hue-rotate(-15deg) brightness(157%) contrast(90%)
sepia(10%); 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%); filter: saturate(38%) hue-rotate(-25deg) brightness(153%) sepia(6%);
} }
@@ -240,7 +238,7 @@
} }
.input-field label { .input-field label {
color: @accent-color !important; color: @accent !important;
} }
/* search unfocused */ /* search unfocused */
input:not([type]), input:not([type]),
@@ -273,8 +271,8 @@
input[type="number"]:focus:not([readonly]), input[type="number"]:focus:not([readonly]),
input[type="search"]:focus:not([readonly]), input[type="search"]:focus:not([readonly]),
textarea.materialize-textarea:focus:not([readonly]) { textarea.materialize-textarea:focus:not([readonly]) {
border-bottom-color: @accent-color; border-bottom-color: @accent;
box-shadow: 0 1px 0 0 @accent-color; box-shadow: 0 1px 0 0 @accent;
} }
/* valid input */ /* valid input */
input:not([type]).valid, input:not([type]).valid,
@@ -311,7 +309,7 @@
.teal-text.text-darken-2, .teal-text.text-darken-2,
.teal-text.text-lighten-3, .teal-text.text-lighten-3,
a { a {
color: @accent-color !important; color: @accent !important;
} }
.btn, .btn,
@@ -376,7 +374,7 @@
} }
.dropdown-content li > a, .dropdown-content li > a,
.dropdown-content li > span { .dropdown-content li > span {
color: @accent-color; color: @accent;
} }
.divider { .divider {
@@ -394,12 +392,12 @@
} }
} }
.switch label input[type="checkbox"]:checked + .lever { .switch label input[type="checkbox"]:checked + .lever {
background-color: desaturate(darken(@accent-color, 25%), 50%); background-color: desaturate(darken(@accent, 25%), 50%);
& when (@lookup = latte) { & when (@flavor = latte) {
background-color: desaturate(lighten(@accent-color, 12%), 30%); background-color: desaturate(lighten(@accent, 12%), 30%);
} }
&::after { &::after {
background-color: @accent-color; background-color: @accent;
} }
} }
@@ -409,12 +407,12 @@
background-color: @surface1; background-color: @surface1;
} }
.chips .chip.selected { .chips .chip.selected {
background-color: @accent-color; background-color: @accent;
color: @base; color: @base;
} }
.chips.focus { .chips.focus {
border-bottom-color: @accent-color; border-bottom-color: @accent;
box-shadow: 0 1px 0 0 @accent-color; box-shadow: 0 1px 0 0 @accent;
} }
.chips .input { .chips .input {
color: @text; color: @text;
@@ -426,7 +424,7 @@
/* HIGHCHARTS "let's hope this does'nt break"-section */ /* HIGHCHARTS "let's hope this does'nt break"-section */
/* all the charts */ /* all the charts */
.highcharts-graph when (@graphUseAccentColor = 1) { .highcharts-graph when (@graphUseAccentColor = 1) {
stroke: @accent-color; stroke: @accent;
} }
.highcharts-graph when (@graphUseAccentColor = 0) { .highcharts-graph when (@graphUseAccentColor = 0) {
stroke: @red; stroke: @red;
@@ -435,7 +433,7 @@
.highcharts-area { .highcharts-area {
fill: fade(@red, 5%) !important; fill: fade(@red, 5%) !important;
& when (@graphUseAccentColor = 1) { & 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 */ /* map blends in with background on latte flavor */
.highcharts-map-series .highcharts-point { .highcharts-map-series .highcharts-point {
stroke: @base !important; stroke: @base !important;
& when (@lookup = latte) { & when (@flavor = latte) {
stroke: @overlay0 !important; stroke: @overlay0 !important;
} }
} }
@@ -475,14 +473,14 @@
fill: @red !important; fill: @red !important;
stroke: none !important; stroke: none !important;
& when (@graphUseAccentColor = 1) { & when (@graphUseAccentColor = 1) {
fill: @accent-color !important; fill: @accent !important;
} }
} }
.highcharts-markers path { .highcharts-markers path {
fill: @red !important; fill: @red !important;
stroke: @base !important; stroke: @base !important;
& when (@graphUseAccentColor = 1) { & when (@graphUseAccentColor = 1) {
fill: @accent-color !important; fill: @accent !important;
} }
} }
@@ -587,7 +585,7 @@
color: @text !important; color: @text !important;
&:hover { &:hover {
color: @base !important; color: @base !important;
background: @accent-color !important; background: @accent !important;
} }
} }
/* pie text "shadow" */ /* pie text "shadow" */
@@ -626,7 +624,7 @@
.highcharts-label.highcharts-tooltip-box tspan[style="fill:#F44336"] { .highcharts-label.highcharts-tooltip-box tspan[style="fill:#F44336"] {
fill: @red !important; fill: @red !important;
& when (@graphUseAccentColor = 1) { & when (@graphUseAccentColor = 1) {
fill: @accent-color !important; fill: @accent !important;
} }
} }
/* map hover text */ /* map hover text */
+44 -46
View File
@@ -16,50 +16,48 @@
==/UserStyle== */ ==/UserStyle== */
@-moz-document domain("instructure.com") { @-moz-document domain("instructure.com") {
@media (prefers-color-scheme: light) { :root {
:root { @media (prefers-color-scheme: light) {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
} @media (prefers-color-scheme: dark) {
@media (prefers-color-scheme: dark) { #catppuccin(@darkFlavor);
:root {
#catppuccin(@darkFlavor, @accentColor);
} }
} }
#catppuccin(@lookup, @accent) { #catppuccin(@flavor) {
@rosewater: @catppuccin[@@lookup][@rosewater]; @rosewater: @catppuccin[@@flavor][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo]; @flamingo: @catppuccin[@@flavor][@flamingo];
@pink: @catppuccin[@@lookup][@pink]; @pink: @catppuccin[@@flavor][@pink];
@mauve: @catppuccin[@@lookup][@mauve]; @mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@lookup][@red]; @red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@lookup][@maroon]; @maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@lookup][@peach]; @peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@lookup][@yellow]; @yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@lookup][@green]; @green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@lookup][@teal]; @teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@lookup][@sky]; @sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@lookup][@sapphire]; @sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@lookup][@blue]; @blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@lookup][@lavender]; @lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@lookup][@text]; @text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@lookup][@subtext1]; @subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@lookup][@subtext0]; @subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@lookup][@overlay2]; @overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@lookup][@overlay1]; @overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@lookup][@overlay0]; @overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@lookup][@surface2]; @surface2: @catppuccin[@@flavor][@surface2];
@surface1: @catppuccin[@@lookup][@surface1]; @surface1: @catppuccin[@@flavor][@surface1];
@surface0: @catppuccin[@@lookup][@surface0]; @surface0: @catppuccin[@@flavor][@surface0];
@base: @catppuccin[@@lookup][@base]; @base: @catppuccin[@@flavor][@base];
@mantle: @catppuccin[@@lookup][@mantle]; @mantle: @catppuccin[@@flavor][@mantle];
@crust: @catppuccin[@@lookup][@crust]; @crust: @catppuccin[@@flavor][@crust];
@accent-color: @catppuccin[@@lookup][@@accent]; @accent: @catppuccin[@@flavor][@@accentColor];
color-scheme: if(@lookup = latte, light, dark); color-scheme: if(@flavor = latte, light, dark);
::selection { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
input, input,
@@ -82,7 +80,7 @@
.panel, .panel,
span { span {
background-color: @base; background-color: @base;
color: @accent-color; color: @accent;
} }
#application, #application,
@@ -92,12 +90,12 @@
.context_modules { .context_modules {
background: @base !important; background: @base !important;
background-color: @base !important; background-color: @base !important;
color: @accent-color !important; color: @accent !important;
} }
a, a,
.page-title { .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-item.ic-app-header__menu-list-item--active
.ic-app-header__menu-list-link { .ic-app-header__menu-list-link {
background-color: fadeout(@crust, 80%); background-color: fade(@crust, 20%);
} }
body { body {
@@ -145,10 +143,10 @@
} }
:root { :root {
--ic-brand-global-nav-avatar-border: @accent-color; --ic-brand-global-nav-avatar-border: @accent;
--ic-brand-font-color-dark: fadeout(@accent-color, 80%); --ic-brand-font-color-dark: fade(@accent, 20%);
--ic-brand-primary: @accent-color; --ic-brand-primary: @accent;
--ic-brand-global-nav-ic-icon-svg-fill: fadeout(@accent-color, 50%); --ic-brand-global-nav-ic-icon-svg-fill: fade(@accent, 50%);
--eMdva-color: @base !important; --eMdva-color: @base !important;
--ccWIh-color: @crust; --ccWIh-color: @crust;
} }
@@ -156,7 +154,7 @@
.menu-item-icon-container, .menu-item-icon-container,
.menu-item__badge, .menu-item__badge,
.nav-badge { .nav-badge {
color: fadeout(@text, 80%); color: fade(@text, 20%);
} }
.list-view a.active { .list-view a.active {
+138 -135
View File
@@ -19,41 +19,41 @@
@import url("https://unpkg.com/@catppuccin/[email protected]/css/catppuccin-variables.important.css"); @import url("https://unpkg.com/@catppuccin/[email protected]/css/catppuccin-variables.important.css");
:root.light { :root.light {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
:root.dark { :root.dark {
#catppuccin(@darkFlavor, @accentColor); #catppuccin(@darkFlavor);
} }
#catppuccin(@lookup, @accent) { #catppuccin(@flavor) {
@rosewater: @catppuccin[@@lookup][@rosewater]; @rosewater: @catppuccin[@@flavor][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo]; @flamingo: @catppuccin[@@flavor][@flamingo];
@pink: @catppuccin[@@lookup][@pink]; @pink: @catppuccin[@@flavor][@pink];
@mauve: @catppuccin[@@lookup][@mauve]; @mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@lookup][@red]; @red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@lookup][@maroon]; @maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@lookup][@peach]; @peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@lookup][@yellow]; @yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@lookup][@green]; @green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@lookup][@teal]; @teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@lookup][@sky]; @sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@lookup][@sapphire]; @sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@lookup][@blue]; @blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@lookup][@lavender]; @lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@lookup][@text]; @text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@lookup][@subtext1]; @subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@lookup][@subtext0]; @subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@lookup][@overlay2]; @overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@lookup][@overlay1]; @overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@lookup][@overlay0]; @overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@lookup][@surface2]; @surface2: @catppuccin[@@flavor][@surface2];
@surface1: @catppuccin[@@lookup][@surface1]; @surface1: @catppuccin[@@flavor][@surface1];
@surface0: @catppuccin[@@lookup][@surface0]; @surface0: @catppuccin[@@flavor][@surface0];
@base: @catppuccin[@@lookup][@base]; @base: @catppuccin[@@flavor][@base];
@mantle: @catppuccin[@@lookup][@mantle]; @mantle: @catppuccin[@@flavor][@mantle];
@crust: @catppuccin[@@lookup][@crust]; @crust: @catppuccin[@@flavor][@crust];
@accent-color: @catppuccin[@@lookup][@@accent]; @accent: @catppuccin[@@flavor][@@accentColor];
--ctp-rosewater: @rosewater; --ctp-rosewater: @rosewater;
--ctp-flamingo: @flamingo; --ctp-flamingo: @flamingo;
@@ -82,10 +82,10 @@
--ctp-mantle: @mantle; --ctp-mantle: @mantle;
--ctp-crust: @crust; --ctp-crust: @crust;
color-scheme: if(@lookup = latte, light, dark); color-scheme: if(@flavor = latte, light, dark);
::selection { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
input, input,
@@ -116,12 +116,12 @@
color: @text; color: @text;
@white: if(@lookup = latte, @crust, @text); @white: if(@flavor = latte, @crust, @text);
@black: if(@lookup = latte, @text, @crust); @black: if(@flavor = latte, @text, @crust);
--white: @white; --white: @white;
--black: @black; --black: @black;
& when not(@lookup = latte) { & when not(@flavor = latte) {
--gray-50: lighten(mix(@text, @subtext0), 5%); --gray-50: lighten(mix(@text, @subtext0), 5%);
--gray-100: @text; --gray-100: @text;
--gray-200: @subtext1; --gray-200: @subtext1;
@@ -134,7 +134,7 @@
--gray-800: @base; --gray-800: @base;
--gray-900: @mantle; --gray-900: @mantle;
--gray-950: @crust; --gray-950: @crust;
--brand-purple: @accent-color; --brand-purple: @accent;
--text-primary: var(--gray-100) !important; --text-primary: var(--gray-100) !important;
--text-secondary: var(--gray-200) !important; --text-secondary: var(--gray-200) !important;
--text-tertiary: var(--gray-300) !important; --text-tertiary: var(--gray-300) !important;
@@ -158,7 +158,7 @@
--text-tertiary: var(--gray-300) !important; --text-tertiary: var(--gray-300) !important;
} }
} }
& when (@lookup = latte) { & when (@flavor = latte) {
--gray-50: @crust; --gray-50: @crust;
--gray-100: @mantle; --gray-100: @mantle;
--gray-200: @base; --gray-200: @base;
@@ -170,7 +170,7 @@
--gray-800: @subtext0; --gray-800: @subtext0;
--gray-900: @subtext1; --gray-900: @subtext1;
--gray-950: @text; --gray-950: @text;
--brand-purple: @accent-color; --brand-purple: @accent;
--text-primary: var(--gray-950); --text-primary: var(--gray-950);
--text-secondary: var(--gray-600); --text-secondary: var(--gray-600);
--text-tertiary: var(--gray-400); --text-tertiary: var(--gray-400);
@@ -199,16 +199,16 @@
--border-medium: fade(@text, 15%); --border-medium: fade(@text, 15%);
--border-heavy: fade(@text, 20%); --border-heavy: fade(@text, 20%);
--border-xheavy: fade(@text, 25%); --border-xheavy: fade(@text, 25%);
--link: @accent-color; --link: @accent;
--link-hover: if( --link-hover: if(
@lookup = latte, @flavor = latte,
lighten(@accent-color, 10%), lighten(@accent, 10%),
darken(@accent-color, 10%) darken(@accent, 10%)
); );
*:focus { *:focus {
--tw-ring-offset-color: @base; --tw-ring-offset-color: @base;
--tw-ring-color: @accent-color; --tw-ring-color: @accent;
} }
/* ChatGPT logo */ /* ChatGPT logo */
@@ -249,7 +249,7 @@
[type="radio"] { [type="radio"] {
background-color: @base; background-color: @base;
border-color: @overlay2; border-color: @overlay2;
color: @accent-color; color: @accent;
} }
.form-input, .form-input,
@@ -264,7 +264,7 @@
.form-multiselect:focus, .form-multiselect:focus,
.form-select:focus, .form-select:focus,
.form-textarea:focus { .form-textarea:focus {
border-color: @accent-color; border-color: @accent;
} }
.form-input::placeholder, .form-input::placeholder,
@@ -276,15 +276,15 @@
.btn-primary, .btn-primary,
.btn-green { .btn-green {
background-color: @accent-color; background-color: @accent;
color: @base; color: @base;
&:hover { &:hover {
background-color: darken(@accent-color, 10%); background-color: darken(@accent, 10%);
} }
&:focus-visible { &:focus-visible {
--tw-ring-color: darken(@accent-color, 10%) !important; --tw-ring-color: darken(@accent, 10%) !important;
} }
} }
@@ -419,7 +419,7 @@
} }
.\!bg-brand-purple { .\!bg-brand-purple {
background-color: @accent-color !important; background-color: @accent !important;
} }
.\!bg-gray-200 { .\!bg-gray-200 {
@@ -451,7 +451,7 @@
} }
.bg-[\#B161FD] { .bg-[\#B161FD] {
background-color: @accent-color; background-color: @accent;
} }
.bg-[\#F8CA27] { .bg-[\#F8CA27] {
@@ -538,7 +538,7 @@
} }
.checked\:bg-blue-600:checked { .checked\:bg-blue-600:checked {
background-color: @accent-color; background-color: @accent;
} }
.bg-brand-green { .bg-brand-green {
@@ -554,7 +554,7 @@
} }
.bg-brand-purple { .bg-brand-purple {
background-color: @accent-color; background-color: @accent;
} }
.bg-gray-100 { .bg-gray-100 {
@@ -674,13 +674,13 @@
} }
.radix-state-checked\:\!bg-green-600[data-state="checked"] { .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\:radix-state-checked\:border-green-600[data-state="checked"]:is(
.dark * .dark *
) { ) {
border-color: @accent-color; border-color: @accent;
} }
[class*="bg-transparent"] { [class*="bg-transparent"] {
@@ -704,7 +704,7 @@
} }
.stroke-brand-purple\/25 { .stroke-brand-purple\/25 {
stroke: fade(@accent-color, 25%); stroke: fade(@accent, 25%);
} }
.stroke-gray-400 { .stroke-gray-400 {
@@ -750,7 +750,7 @@
} }
.text-brand-purple { .text-brand-purple {
color: @accent-color; color: @accent;
} }
.text-gray-100 { .text-gray-100 {
@@ -871,7 +871,7 @@
/* Dark mode overrides */ /* Dark mode overrides */
/* stylelint-disable-next-line no-duplicate-selectors */ /* stylelint-disable-next-line no-duplicate-selectors */
& when not(@lookup = latte) { & when not(@flavor = latte) {
.dark\:bg-black { .dark\:bg-black {
background-color: @black; background-color: @black;
} }
@@ -977,51 +977,48 @@
} }
@-moz-document domain("auth.openai.com") { @-moz-document domain("auth.openai.com") {
@media (prefers-color-scheme: light) { :root {
:root { @media (prefers-color-scheme: light) {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
}
@media (prefers-color-scheme: dark) {
#catppuccin(@darkFlavor);
} }
} }
@media (prefers-color-scheme: dark) { #catppuccin(@flavor) {
:root { @rosewater: @catppuccin[@@flavor][@rosewater];
#catppuccin(@darkFlavor, @accentColor); @flamingo: @catppuccin[@@flavor][@flamingo];
} @pink: @catppuccin[@@flavor][@pink];
} @mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@flavor][@surface2];
@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) { color-scheme: if(@flavor = latte, light, dark);
@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 { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
input, input,
@@ -1036,7 +1033,7 @@
caret-color: @text; caret-color: @text;
a { a {
color: @accent-color; color: @accent;
} }
body, body,
@@ -1066,10 +1063,10 @@
&:focus, &:focus,
&:valid { &:valid {
border-color: @accent-color; border-color: @accent;
+ .email-label { + .email-label {
color: @accent-color; color: @accent;
background-color: @base; background-color: @base;
} }
} }
@@ -1080,7 +1077,7 @@
} }
.continue-btn { .continue-btn {
background-color: @accent-color; background-color: @accent;
color: @base; color: @base;
} }
@@ -1124,49 +1121,55 @@
@-moz-document domain("auth0.openai.com") { @-moz-document domain("auth0.openai.com") {
@media (prefers-color-scheme: light) { @media (prefers-color-scheme: light) {
:root { :root {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
} }
@media (prefers-color-scheme: dark) { @media (prefers-color-scheme: dark) {
:root { :root {
#catppuccin(@darkFlavor, @accentColor); #catppuccin(@darkFlavor);
} }
} }
#catppuccin(@lookup, @accent) { #catppuccin(@flavor) {
@rosewater: @catppuccin[@@lookup][@rosewater]; @rosewater: @catppuccin[@@flavor][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo]; @flamingo: @catppuccin[@@flavor][@flamingo];
@pink: @catppuccin[@@lookup][@pink]; @pink: @catppuccin[@@flavor][@pink];
@mauve: @catppuccin[@@lookup][@mauve]; @mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@lookup][@red]; @red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@lookup][@maroon]; @maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@lookup][@peach]; @peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@lookup][@yellow]; @yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@lookup][@green]; @green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@lookup][@teal]; @teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@lookup][@sky]; @sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@lookup][@sapphire]; @sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@lookup][@blue]; @blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@lookup][@lavender]; @lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@lookup][@text]; @text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@lookup][@subtext1]; @subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@lookup][@subtext0]; @subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@lookup][@overlay2]; @overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@lookup][@overlay1]; @overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@lookup][@overlay0]; @overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@lookup][@surface2]; @surface2: @catppuccin[@@flavor][@surface2];
@surface1: @catppuccin[@@lookup][@surface1]; @surface1: @catppuccin[@@flavor][@surface1];
@surface0: @catppuccin[@@lookup][@surface0]; @surface0: @catppuccin[@@flavor][@surface0];
@base: @catppuccin[@@lookup][@base]; @base: @catppuccin[@@flavor][@base];
@mantle: @catppuccin[@@lookup][@mantle]; @mantle: @catppuccin[@@flavor][@mantle];
@crust: @catppuccin[@@lookup][@crust]; @crust: @catppuccin[@@flavor][@crust];
@accent-color: @catppuccin[@@lookup][@@accent]; @accent: @catppuccin[@@flavor][@@accentColor];
--primary-color: @accent-color; color-scheme: if(@flavor = latte, light, dark);
--primary-color-no-override: @accent-color;
--action-primary-color: @accent-color; ::selection {
--link-color: @accent-color; background-color: fade(@accent, 30%);
}
--primary-color: @accent;
--primary-color-no-override: @accent;
--action-primary-color: @accent;
--link-color: @accent;
--page-background-color: @base; --page-background-color: @base;
--info-color: @blue; --info-color: @blue;
--success-color: @green; --success-color: @green;
@@ -1186,7 +1189,7 @@
._button-login-password, ._button-login-password,
._button-login-id { ._button-login-id {
background-color: @accent-color; background-color: @accent;
color: @base; color: @base;
} }
+57 -59
View File
@@ -20,63 +20,53 @@
@-moz-document domain("chatreplay.stream") { @-moz-document domain("chatreplay.stream") {
:root[dark] #chat-container { :root[dark] #chat-container {
#catppuccin(@darkFlavor, @accentColor, chat); #catppuccin(@darkFlavor, chat);
} }
:root #chat-container { :root #chat-container {
#catppuccin(@lightFlavor, @accentColor, chat); #catppuccin(@lightFlavor, chat);
} }
@media (prefers-color-scheme: light) { :root {
:root { @media (prefers-color-scheme: light) {
#catppuccin(@lightFlavor, @accentColor, base); #catppuccin(@lightFlavor, base);
} }
} @media (prefers-color-scheme: dark) {
@media (prefers-color-scheme: dark) { #catppuccin(@darkFlavor, base);
:root {
#catppuccin(@darkFlavor, @accentColor, base);
} }
} }
/* deno-fmt-ignore */ #catppuccin(@flavor, @platform) {
@catppuccin: { @rosewater: @catppuccin[@@flavor][@rosewater];
@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; }; @flamingo: @catppuccin[@@flavor][@flamingo];
@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; }; @pink: @catppuccin[@@flavor][@pink];
@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; }; @mauve: @catppuccin[@@flavor][@mauve];
@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; }; @red: @catppuccin[@@flavor][@red];
}; @maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@flavor][@surface2];
@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) { color-scheme: if(@flavor = latte, light, dark);
@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 { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
input, input,
@@ -89,7 +79,7 @@
& when (@platform = chat) { & when (@platform = chat) {
a:not(.username), a:not(.username),
i { i {
color: @accent-color; color: @accent;
} }
color: @text; color: @text;
--text-color: @text; --text-color: @text;
@@ -101,18 +91,18 @@
--bg-color-highlight: @surface0; --bg-color-highlight: @surface0;
--scrollbar-thumb: @surface0; --scrollbar-thumb: @surface0;
--btn-hover-bg: @surface1; --btn-hover-bg: @surface1;
--link-color: @accent-color; --link-color: @accent;
--border-color: @surface0; --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 { .message-notice {
border-left-color: @accent-color; border-left-color: @accent;
} }
.message--highlighted a { .message--highlighted a {
color: @accent-color; color: @accent;
} }
.message--highlighted { .message--highlighted {
background: @accent-color; background: @accent;
border-color: @accent-color; border-color: @accent;
color: @base; color: @base;
text-shadow: none; text-shadow: none;
} }
@@ -162,14 +152,14 @@
} }
a, a,
i { i {
color: @accent-color; color: @accent;
} }
button.gradient, button.gradient,
.btn.gradient { .btn.gradient {
background: linear-gradient( background: linear-gradient(
45deg, 45deg,
@accent-color, @accent,
spin(@accent-color, 45) spin(@accent, 45)
); );
color: @base; color: @base;
text-shadow: none; 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 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"] { [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"] { [d="m 4,1 h 10 v 7 l -4,4 H 4 Z"] {
fill: @base; fill: @base;
@@ -199,7 +189,7 @@
border-color: @red; border-color: @red;
} }
.mark.z8oy0d.z8oy0d { .mark.z8oy0d.z8oy0d {
background: @accent-color; background: @accent;
color: @base; color: @base;
} }
.bg.c1ejz165.c1ejz165 { .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; };
};
+52 -52
View File
@@ -19,48 +19,48 @@
@-moz-document domain("chess.com") { @-moz-document domain("chess.com") {
:root { :root {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
:root.dark-mode { :root.dark-mode {
#catppuccin(@darkFlavor, @accentColor); #catppuccin(@darkFlavor);
} }
#catppuccin(@lookup, @accent) { #catppuccin(@flavor) {
@rosewater: @catppuccin[@@lookup][@rosewater]; @rosewater: @catppuccin[@@flavor][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo]; @flamingo: @catppuccin[@@flavor][@flamingo];
@pink: @catppuccin[@@lookup][@pink]; @pink: @catppuccin[@@flavor][@pink];
@mauve: @catppuccin[@@lookup][@mauve]; @mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@lookup][@red]; @red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@lookup][@maroon]; @maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@lookup][@peach]; @peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@lookup][@yellow]; @yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@lookup][@green]; @green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@lookup][@teal]; @teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@lookup][@sky]; @sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@lookup][@sapphire]; @sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@lookup][@blue]; @blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@lookup][@lavender]; @lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@lookup][@text]; @text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@lookup][@subtext1]; @subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@lookup][@subtext0]; @subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@lookup][@overlay2]; @overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@lookup][@overlay1]; @overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@lookup][@overlay0]; @overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@lookup][@surface2]; @surface2: @catppuccin[@@flavor][@surface2];
@surface1: @catppuccin[@@lookup][@surface1]; @surface1: @catppuccin[@@flavor][@surface1];
@surface0: @catppuccin[@@lookup][@surface0]; @surface0: @catppuccin[@@flavor][@surface0];
@base: @catppuccin[@@lookup][@base]; @base: @catppuccin[@@flavor][@base];
@mantle: @catppuccin[@@lookup][@mantle]; @mantle: @catppuccin[@@flavor][@mantle];
@crust: @catppuccin[@@lookup][@crust]; @crust: @catppuccin[@@flavor][@crust];
@accent-color: @catppuccin[@@lookup][@@accent]; @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 { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
input, input,
@@ -99,9 +99,9 @@
--color-border-default: @surface1; --color-border-default: @surface1;
--color-border-subtle: @overlay2; --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-300: @red; /* Danger */
--color-red-400: @red; /* Danger */ --color-red-400: @red; /* Danger */
--color-green-400: @green; /* Success */ --color-green-400: @green; /* Success */
@@ -143,7 +143,7 @@
--globalBackgroundOpaque: @mantle !important; --globalBackgroundOpaque: @mantle !important;
--globalSecondaryBackground: @crust !important; --globalSecondaryBackground: @crust !important;
--globalTertiaryBackground: @surface0 !important; --globalTertiaryBackground: @surface0 !important;
--globalAccentBackground: @accent-color !important; --globalAccentBackground: @accent !important;
--globalSecondaryAccentBackground: @surface0 !important; --globalSecondaryAccentBackground: @surface0 !important;
--globalSiteBackground: @base !important; --globalSiteBackground: @base !important;
--globalBorder: @surface0 !important; --globalBorder: @surface0 !important;
@@ -156,11 +156,11 @@
--globalColorThemeBlueToMid: @text; --globalColorThemeBlueToMid: @text;
--globalOverlayBackground: @base !important; --globalOverlayBackground: @base !important;
--globalColorWin: @green !important; --globalColorWin: @green !important;
--globalColorDraw: @accent-color !important; --globalColorDraw: @accent !important;
--globalColorLoss: @red !important; --globalColorLoss: @red !important;
--labelBgColor: @surface1; --labelBgColor: @surface1;
--activeLabelColor: @accent-color; --activeLabelColor: @accent;
--buttonBgColor: @text; --buttonBgColor: @text;
--nodeColor: @text; --nodeColor: @text;
@@ -262,10 +262,10 @@
&.ui_v5-button-primary { &.ui_v5-button-primary {
color: @crust !important; color: @crust !important;
background-color: @accent-color; background-color: @accent;
&:hover { &:hover {
background-color: darken(@accent-color, 5%); background-color: darken(@accent, 5%);
box-shadow: none; box-shadow: none;
} }
} }
@@ -383,8 +383,8 @@
.cc-button-component, .cc-button-component,
.cc-button-primary { .cc-button-primary {
--bgColor: @accent-color; --bgColor: @accent;
--bgColorHover: darken(@accent-color, 5%); --bgColorHover: darken(@accent, 5%);
--textColor: @crust; --textColor: @crust;
--textColorHover: @crust; --textColorHover: @crust;
box-shadow: none; box-shadow: none;
@@ -392,8 +392,8 @@
.cc-button-primary, .cc-button-primary,
.cc-button-monetization { .cc-button-monetization {
--borderBottomLine: darken(@accent-color, 2%); --borderBottomLine: darken(@accent, 2%);
--borderBottomLineHover: darken(@accent-color, 4%); --borderBottomLineHover: darken(@accent, 4%);
} }
.cc-button-secondary { .cc-button-secondary {
@@ -438,7 +438,7 @@
} }
.highlight { .highlight {
background: @highlight-color !important; background: @highlight !important;
opacity: 1 !important; opacity: 1 !important;
} }
.hover-square rect { .hover-square rect {
@@ -510,7 +510,7 @@
/* Ads */ /* Ads */
.placeholder-ad-upgrade { .placeholder-ad-upgrade {
background-color: @accent-color; background-color: @accent;
} }
.placeholder-ad-link { .placeholder-ad-link {
color: @crust; color: @crust;
@@ -518,7 +518,7 @@
.modal-trial-component.modal-trial-special-offer { .modal-trial-component.modal-trial-special-offer {
.modal-trial-header-background { .modal-trial-header-background {
background-color: @accent-color; background-color: @accent;
} }
} }
@@ -542,7 +542,7 @@
/* Misc */ /* Misc */
/* GM/IM/etc badge */ /* GM/IM/etc badge */
--color-bg-chesstitle: @accent-color; --color-bg-chesstitle: @accent;
.course-author-title, .course-author-title,
.course-header-author-title, .course-header-author-title,
.form-dropdown-short-title, .form-dropdown-short-title,
@@ -589,7 +589,7 @@
} }
.status-component { .status-component {
background-color: @accent-color; background-color: @accent;
color: @crust; color: @crust;
} }
@@ -609,7 +609,7 @@
/* Board */ /* Board */
@board: escape( @board: escape(
'<svg width="1600" height="1600" viewBox="0 0 1600 1600" xmlns="http://www.w3.org/2000/svg"><path fill="@{accent-color}" d="M200 0v200h200V0Zm200 200v200h200V200Zm200 0h200V0H600Zm200 0v200h200V200Zm200 0h200V0h-200Zm200 0v200h200V200Zm200 0h200V0h-200zm0 200v200h200V400zm0 200h-200v200h200zm0 200v200h200V800Zm0 200h-200v200h200zm0 200v200h200v-200zm0 200h-200v200h200zm-200 0v-200h-200v200zm-200 0H800v200h200zm-200 0v-200H600v200zm-200 0H400v200h200zm-200 0v-200H200v200zm-200 0H0v200h200zm0-200v-200H0v200zm0-200h200V800H200Zm0-200V600H0v200zm0-200h200V400H200Zm0-200V200H0v200zm200 200v200h200V600Zm200 0h200V400H600Zm200 0v200h200V600Zm200 0h200V400h-200Zm0 200v200h200V800Zm0 200H800v200h200zm-200 0V800H600v200zm-200 0H400v200h200z"/><path fill="@{surface0}" d="M0 0v200h200V0Zm200 200v200h200V200Zm200 0h200V0H400zm200 0v200h200V200Zm200 0h200V0H800Zm200 0v200h200V200Zm200 0h200V0h-200zm200 0v200h200V200Zm0 200h-200v200h200zm0 200v200h200V600Zm0 200h-200v200h200zm0 200v200h200v-200Zm0 200h-200v200h200zm0 200v200h200v-200zm-200 0h-200v200h200zm-200 0v-200H800v200zm-200 0H600v200h200zm-200 0v-200H400v200zm-200 0H200v200h200zm-200 0v-200H0v200zm0-200h200v-200H200Zm0-200V800H0v200zm0-200h200V600H200Zm0-200V400H0v200zm200 0h200V400H400zm200 0v200h200V600Zm200 0h200V400H800Zm200 0v200h200V600Zm0 200H800v200h200zm0 200v200h200v-200Zm-200 0H600v200h200zm-200 0V800H400v200z"/></svg>' '<svg width="1600" height="1600" viewBox="0 0 1600 1600" xmlns="http://www.w3.org/2000/svg"><path fill="@{accent}" d="M200 0v200h200V0Zm200 200v200h200V200Zm200 0h200V0H600Zm200 0v200h200V200Zm200 0h200V0h-200Zm200 0v200h200V200Zm200 0h200V0h-200zm0 200v200h200V400zm0 200h-200v200h200zm0 200v200h200V800Zm0 200h-200v200h200zm0 200v200h200v-200zm0 200h-200v200h200zm-200 0v-200h-200v200zm-200 0H800v200h200zm-200 0v-200H600v200zm-200 0H400v200h200zm-200 0v-200H200v200zm-200 0H0v200h200zm0-200v-200H0v200zm0-200h200V800H200Zm0-200V600H0v200zm0-200h200V400H200Zm0-200V200H0v200zm200 200v200h200V600Zm200 0h200V400H600Zm200 0v200h200V600Zm200 0h200V400h-200Zm0 200v200h200V800Zm0 200H800v200h200zm-200 0V800H600v200zm-200 0H400v200h200z"/><path fill="@{surface0}" d="M0 0v200h200V0Zm200 200v200h200V200Zm200 0h200V0H400zm200 0v200h200V200Zm200 0h200V0H800Zm200 0v200h200V200Zm200 0h200V0h-200zm200 0v200h200V200Zm0 200h-200v200h200zm0 200v200h200V600Zm0 200h-200v200h200zm0 200v200h200v-200Zm0 200h-200v200h200zm0 200v200h200v-200zm-200 0h-200v200h200zm-200 0v-200H800v200zm-200 0H600v200h200zm-200 0v-200H400v200zm-200 0H200v200h200zm-200 0v-200H0v200zm0-200h200v-200H200Zm0-200V800H0v200zm0-200h200V600H200Zm0-200V400H0v200zm200 0h200V400H400zm200 0v200h200V600Zm200 0h200V400H800Zm200 0v200h200V600Zm0 200H800v200h200zm0 200v200h200v-200Zm-200 0H600v200h200zm-200 0V800H400v200z"/></svg>'
); );
#board-play-computer, #board-play-computer,
@@ -618,7 +618,7 @@
} }
.coordinate-light { .coordinate-light {
fill: @accent-color; fill: @accent;
} }
.coordinate-dark { .coordinate-dark {
fill: @surface0; fill: @surface0;
@@ -666,7 +666,7 @@
} }
--theme-board-style-image: url("data:image/svg+xml,@{board}"); --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-wp: #piece(@pawn, "white")[];
--theme-piece-set-wn: #piece(@knight, "white")[]; --theme-piece-set-wn: #piece(@knight, "white")[];
+49 -50
View File
@@ -16,40 +16,49 @@
==/UserStyle== */ ==/UserStyle== */
@-moz-document domain("cinny.in") { @-moz-document domain("cinny.in") {
#catppuccin(@lookup, @accent) { :root,
@rosewater: @catppuccin[@@lookup][@rosewater]; .silver-theme {
@rosewater: @catppuccin[@@lookup][@rosewater]; #catppuccin(@lightFlavor);
@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); .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 { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
input, input,
@@ -71,10 +80,10 @@
--bg-surface-active: @surface1; --bg-surface-active: @surface1;
--bg-overlay: fade(@crust, 60%); --bg-overlay: fade(@crust, 60%);
--bg-overlay-low: fade(@crust, 80%); --bg-overlay-low: fade(@crust, 80%);
--bg-primary: @accent-color; --bg-primary: @accent;
--bg-primary-hover: fade(@accent-color, 80%); --bg-primary-hover: fade(@accent, 80%);
--bg-primary-active: fade(@accent-color, 70%); --bg-primary-active: fade(@accent, 70%);
--bg-primary-border: fade(@accent-color, 38%); --bg-primary-border: fade(@accent, 38%);
--bg-tooltip: @surface0; --bg-tooltip: @surface0;
--bg-badge: @lavender; --bg-badge: @lavender;
--bg-positive: @green; --bg-positive: @green;
@@ -165,10 +174,10 @@
--oq6d07j: @base; --oq6d07j: @base;
--oq6d07k: fade(@accent-color, 50%); --oq6d07k: fade(@accent, 50%);
--oq6d07l: fade(@accent-color, 40%); --oq6d07l: fade(@accent, 40%);
--oq6d07m: fade(@accent-color, 30%); --oq6d07m: fade(@accent, 30%);
--oq6d07n: fade(@accent-color, 20%); --oq6d07n: fade(@accent, 20%);
--oq6d07o: @text; --oq6d07o: @text;
--oq6d07p: @subtext1; --oq6d07p: @subtext1;
@@ -239,7 +248,7 @@
/* Search results */ /* Search results */
._1m2qi7rn { ._1m2qi7rn {
background-color: @accent-color; background-color: @accent;
color: @base; color: @base;
} }
@@ -259,16 +268,6 @@
background-color: @base; background-color: @base;
} }
} }
:root,
.silver-theme {
#catppuccin(@lightFlavor, @accentColor);
}
.dark-theme,
.butter-theme {
#catppuccin(@darkFlavor, @accentColor);
}
} }
/* deno-fmt-ignore */ /* deno-fmt-ignore */
+33 -33
View File
@@ -17,45 +17,45 @@
@-moz-document domain("cobalt.tools") { @-moz-document domain("cobalt.tools") {
[data-theme="dark"] { [data-theme="dark"] {
#catppuccin(@darkFlavor, @accentColor); #catppuccin(@darkFlavor);
} }
[data-theme="light"] { [data-theme="light"] {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
#catppuccin(@lookup, @accent) { #catppuccin(@flavor) {
@rosewater: @catppuccin[@@lookup][@rosewater]; @rosewater: @catppuccin[@@flavor][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo]; @flamingo: @catppuccin[@@flavor][@flamingo];
@pink: @catppuccin[@@lookup][@pink]; @pink: @catppuccin[@@flavor][@pink];
@mauve: @catppuccin[@@lookup][@mauve]; @mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@lookup][@red]; @red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@lookup][@maroon]; @maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@lookup][@peach]; @peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@lookup][@yellow]; @yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@lookup][@green]; @green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@lookup][@teal]; @teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@lookup][@sky]; @sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@lookup][@sapphire]; @sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@lookup][@blue]; @blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@lookup][@lavender]; @lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@lookup][@text]; @text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@lookup][@subtext1]; @subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@lookup][@subtext0]; @subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@lookup][@overlay2]; @overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@lookup][@overlay1]; @overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@lookup][@overlay0]; @overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@lookup][@surface2]; @surface2: @catppuccin[@@flavor][@surface2];
@surface1: @catppuccin[@@lookup][@surface1]; @surface1: @catppuccin[@@flavor][@surface1];
@surface0: @catppuccin[@@lookup][@surface0]; @surface0: @catppuccin[@@flavor][@surface0];
@base: @catppuccin[@@lookup][@base]; @base: @catppuccin[@@flavor][@base];
@mantle: @catppuccin[@@lookup][@mantle]; @mantle: @catppuccin[@@flavor][@mantle];
@crust: @catppuccin[@@lookup][@crust]; @crust: @catppuccin[@@flavor][@crust];
@accent-color: @catppuccin[@@lookup][@@accent]; @accent: @catppuccin[@@flavor][@@accentColor];
color-scheme: if(@lookup = latte, light, dark); color-scheme: if(@flavor = latte, light, dark);
::selection { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
input, input,
@@ -84,7 +84,7 @@
--sidebar-highlight: @text; --sidebar-highlight: @text;
--input-border: @surface2; --input-border: @surface2;
--popup-bg: @mantle; --popup-bg: @mantle;
--toggle-bg-enabled: @accent-color; --toggle-bg-enabled: @accent;
#donate-page { #donate-page {
--donate-gradient-start: @surface1 !important; --donate-gradient-start: @surface1 !important;
+41 -46
View File
@@ -25,40 +25,51 @@
} }
@-moz-document domain("codeberg.org") { @-moz-document domain("codeberg.org") {
#catppuccin(@lookup, @accent) { [data-theme="codeberg-dark"],
@rosewater: @catppuccin[@@lookup][@rosewater]; [data-theme="codeberg-light"],
@flamingo: @catppuccin[@@lookup][@flamingo]; [data-theme="codeberg-auto"] {
@pink: @catppuccin[@@lookup][@pink]; @media (prefers-color-scheme: light) {
@mauve: @catppuccin[@@lookup][@mauve]; #catppuccin(@lightFlavor);
@red: @catppuccin[@@lookup][@red]; }
@maroon: @catppuccin[@@lookup][@maroon]; @media (prefers-color-scheme: dark) {
@peach: @catppuccin[@@lookup][@peach]; #catppuccin(@darkFlavor);
@yellow: @catppuccin[@@lookup][@yellow]; }
@green: @catppuccin[@@lookup][@green]; }
@teal: @catppuccin[@@lookup][@teal];
@sky: @catppuccin[@@lookup][@sky]; #catppuccin(@flavor) {
@sapphire: @catppuccin[@@lookup][@sapphire]; @rosewater: @catppuccin[@@flavor][@rosewater];
@blue: @catppuccin[@@lookup][@blue]; @flamingo: @catppuccin[@@flavor][@flamingo];
@lavender: @catppuccin[@@lookup][@lavender]; @pink: @catppuccin[@@flavor][@pink];
@text: @catppuccin[@@lookup][@text]; @mauve: @catppuccin[@@flavor][@mauve];
@subtext1: @catppuccin[@@lookup][@subtext1]; @red: @catppuccin[@@flavor][@red];
@subtext0: @catppuccin[@@lookup][@subtext0]; @maroon: @catppuccin[@@flavor][@maroon];
@overlay2: @catppuccin[@@lookup][@overlay2]; @peach: @catppuccin[@@flavor][@peach];
@overlay1: @catppuccin[@@lookup][@overlay1]; @yellow: @catppuccin[@@flavor][@yellow];
@overlay0: @catppuccin[@@lookup][@overlay0]; @green: @catppuccin[@@flavor][@green];
@surface2: @catppuccin[@@lookup][@surface2]; @teal: @catppuccin[@@flavor][@teal];
@surface1: @catppuccin[@@lookup][@surface1]; @sky: @catppuccin[@@flavor][@sky];
@surface0: @catppuccin[@@lookup][@surface0]; @sapphire: @catppuccin[@@flavor][@sapphire];
@base: @catppuccin[@@lookup][@base]; @blue: @catppuccin[@@flavor][@blue];
@mantle: @catppuccin[@@lookup][@mantle]; @lavender: @catppuccin[@@flavor][@lavender];
@crust: @catppuccin[@@lookup][@crust]; @text: @catppuccin[@@flavor][@text];
@accent-color: @catppuccin[@@lookup][@@accent]; @subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@flavor][@surface2];
@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. */ /* Base styles not needed, themed in upstream Gitea port. */
--color-body: @base; --color-body: @base;
--color-nav-text: @crust; --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-secondary-nav-bg: @surface0;
--color-link: @blue; --color-link: @blue;
--color-footer-text: @text; --color-footer-text: @text;
@@ -96,7 +107,7 @@
footer { footer {
.button:hover { .button:hover {
background-color: @accent-color; background-color: @accent;
color: @crust; 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 */ /* deno-fmt-ignore */
+48 -50
View File
@@ -22,52 +22,50 @@
background: none !important; background: none !important;
} }
@media (prefers-color-scheme: light) { :root[data-color-scheme="system"] {
:root[data-color-scheme="system"] { @media (prefers-color-scheme: light) {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
} @media (prefers-color-scheme: dark) {
@media (prefers-color-scheme: dark) { #catppuccin(@darkFlavor);
:root[data-color-scheme="system"] {
#catppuccin(@darkFlavor, @accentColor);
} }
} }
:root[data-color-scheme="dark"] { :root[data-color-scheme="dark"] {
#catppuccin(@darkFlavor, @accentColor); #catppuccin(@darkFlavor);
} }
:root[data-color-scheme="light"] { :root[data-color-scheme="light"] {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
#catppuccin(@lookup, @accent) { #catppuccin(@flavor) {
@rosewater: @catppuccin[@@lookup][@rosewater]; @rosewater: @catppuccin[@@flavor][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo]; @flamingo: @catppuccin[@@flavor][@flamingo];
@pink: @catppuccin[@@lookup][@pink]; @pink: @catppuccin[@@flavor][@pink];
@mauve: @catppuccin[@@lookup][@mauve]; @mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@lookup][@red]; @red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@lookup][@maroon]; @maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@lookup][@peach]; @peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@lookup][@yellow]; @yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@lookup][@green]; @green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@lookup][@teal]; @teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@lookup][@sky]; @sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@lookup][@sapphire]; @sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@lookup][@blue]; @blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@lookup][@lavender]; @lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@lookup][@text]; @text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@lookup][@subtext1]; @subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@lookup][@subtext0]; @subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@lookup][@overlay2]; @overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@lookup][@overlay1]; @overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@lookup][@overlay0]; @overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@lookup][@surface2]; @surface2: @catppuccin[@@flavor][@surface2];
@surface1: @catppuccin[@@lookup][@surface1]; @surface1: @catppuccin[@@flavor][@surface1];
@surface0: @catppuccin[@@lookup][@surface0]; @surface0: @catppuccin[@@flavor][@surface0];
@base: @catppuccin[@@lookup][@base]; @base: @catppuccin[@@flavor][@base];
@mantle: @catppuccin[@@lookup][@mantle]; @mantle: @catppuccin[@@flavor][@mantle];
@crust: @catppuccin[@@lookup][@crust]; @crust: @catppuccin[@@flavor][@crust];
@accent-color: @catppuccin[@@lookup][@@accent]; @accent: @catppuccin[@@flavor][@@accentColor];
--ctp-rosewater: @rosewater; --ctp-rosewater: @rosewater;
--ctp-flamingo: @flamingo; --ctp-flamingo: @flamingo;
@@ -96,10 +94,10 @@
--ctp-mantle: @mantle; --ctp-mantle: @mantle;
--ctp-crust: @crust; --ctp-crust: @crust;
color-scheme: if(@lookup = latte, light, dark); color-scheme: if(@flavor = latte, light, dark);
::selection { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
input, input,
@@ -121,8 +119,8 @@
--main-bg: @mantle; --main-bg: @mantle;
--main-bg-dark: @base; --main-bg-dark: @base;
--gray-border: @surface0; --gray-border: @surface0;
--link-color: @accent-color; --link-color: @accent;
--link-hover-color: darken(@accent-color, 5%); --link-hover-color: darken(@accent, 5%);
--footer-header-color: @text; --footer-header-color: @text;
/* Main article/readme background */ /* Main article/readme background */
@@ -159,8 +157,8 @@
/* Header search bar */ /* Header search bar */
--csstools-light-dark-toggle--33: @crust; --csstools-light-dark-toggle--33: @crust;
--yellow500: @accent-color; --yellow500: @accent;
--yellow700: darken(@accent-color, 5%); --yellow700: darken(@accent, 5%);
/* Dropdown */ /* Dropdown */
--csstools-light-dark-toggle--20: @mantle; --csstools-light-dark-toggle--20: @mantle;
@@ -206,10 +204,10 @@
[fill="#B13B89"], [fill="#B13B89"],
[fill="#B84D94"], [fill="#B84D94"],
svg[class*="_download-icon"] { svg[class*="_download-icon"] {
fill: @accent-color !important; fill: @accent !important;
} }
[stroke="#B84D94"] { [stroke="#B84D94"] {
stroke: @accent-color !important; stroke: @accent !important;
} }
/* Footer links */ /* Footer links */
@@ -219,10 +217,10 @@
} }
a { a {
color: @accent-color; color: @accent;
&:hover { &:hover {
color: darken(@accent-color, 5%); color: darken(@accent, 5%);
text-shadow: none; text-shadow: none;
} }
} }
@@ -243,17 +241,17 @@
/* Sort by search results */ /* Sort by search results */
._icon_xsqxju { ._icon_xsqxju {
color: @accent-color; color: @accent;
} }
/* Primary buttons */ /* Primary buttons */
[class*="_tan-button_"], [class*="_tan-button_"],
[class*="_yellow-button_"] { [class*="_yellow-button_"] {
color: @crust; color: @crust;
background: @accent-color; background: @accent;
&:hover { &:hover {
background-color: darken(@accent-color, 5%); background-color: darken(@accent, 5%);
} }
} }
+67 -69
View File
@@ -16,50 +16,48 @@
==/UserStyle== */ ==/UserStyle== */
@-moz-document regexp("https://crowdin.com(?!/translate).*") { @-moz-document regexp("https://crowdin.com(?!/translate).*") {
@media (prefers-color-scheme: light) { :root {
:root { @media (prefers-color-scheme: light) {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
} @media (prefers-color-scheme: dark) {
@media (prefers-color-scheme: dark) { #catppuccin(@darkFlavor);
:root {
#catppuccin(@darkFlavor, @accentColor);
} }
} }
#catppuccin(@lookup, @accent) { #catppuccin(@flavor) {
@rosewater: @catppuccin[@@lookup][@rosewater]; @rosewater: @catppuccin[@@flavor][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo]; @flamingo: @catppuccin[@@flavor][@flamingo];
@pink: @catppuccin[@@lookup][@pink]; @pink: @catppuccin[@@flavor][@pink];
@mauve: @catppuccin[@@lookup][@mauve]; @mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@lookup][@red]; @red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@lookup][@maroon]; @maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@lookup][@peach]; @peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@lookup][@yellow]; @yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@lookup][@green]; @green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@lookup][@teal]; @teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@lookup][@sky]; @sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@lookup][@sapphire]; @sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@lookup][@blue]; @blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@lookup][@lavender]; @lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@lookup][@text]; @text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@lookup][@subtext1]; @subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@lookup][@subtext0]; @subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@lookup][@overlay2]; @overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@lookup][@overlay1]; @overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@lookup][@overlay0]; @overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@lookup][@surface2]; @surface2: @catppuccin[@@flavor][@surface2];
@surface1: @catppuccin[@@lookup][@surface1]; @surface1: @catppuccin[@@flavor][@surface1];
@surface0: @catppuccin[@@lookup][@surface0]; @surface0: @catppuccin[@@flavor][@surface0];
@base: @catppuccin[@@lookup][@base]; @base: @catppuccin[@@flavor][@base];
@mantle: @catppuccin[@@lookup][@mantle]; @mantle: @catppuccin[@@flavor][@mantle];
@crust: @catppuccin[@@lookup][@crust]; @crust: @catppuccin[@@flavor][@crust];
@accent-color: @catppuccin[@@lookup][@@accent]; @accent: @catppuccin[@@flavor][@@accentColor];
color-scheme: if(@lookup = latte, light, dark); color-scheme: if(@flavor = latte, light, dark);
::selection { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
input, input,
@@ -103,45 +101,45 @@
@-moz-document regexp("https://crowdin.com/translate/.*") { @-moz-document regexp("https://crowdin.com/translate/.*") {
@media (prefers-color-scheme: light) { @media (prefers-color-scheme: light) {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
@media (prefers-color-scheme: dark) { @media (prefers-color-scheme: dark) {
#catppuccin(@darkFlavor, @accentColor); #catppuccin(@darkFlavor);
} }
#catppuccin(@lookup, @accent) { #catppuccin(@flavor) {
@rosewater: @catppuccin[@@lookup][@rosewater]; @rosewater: @catppuccin[@@flavor][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo]; @flamingo: @catppuccin[@@flavor][@flamingo];
@pink: @catppuccin[@@lookup][@pink]; @pink: @catppuccin[@@flavor][@pink];
@mauve: @catppuccin[@@lookup][@mauve]; @mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@lookup][@red]; @red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@lookup][@maroon]; @maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@lookup][@peach]; @peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@lookup][@yellow]; @yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@lookup][@green]; @green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@lookup][@teal]; @teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@lookup][@sky]; @sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@lookup][@sapphire]; @sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@lookup][@blue]; @blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@lookup][@lavender]; @lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@lookup][@text]; @text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@lookup][@subtext1]; @subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@lookup][@subtext0]; @subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@lookup][@overlay2]; @overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@lookup][@overlay1]; @overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@lookup][@overlay0]; @overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@lookup][@surface2]; @surface2: @catppuccin[@@flavor][@surface2];
@surface1: @catppuccin[@@lookup][@surface1]; @surface1: @catppuccin[@@flavor][@surface1];
@surface0: @catppuccin[@@lookup][@surface0]; @surface0: @catppuccin[@@flavor][@surface0];
@base: @catppuccin[@@lookup][@base]; @base: @catppuccin[@@flavor][@base];
@mantle: @catppuccin[@@lookup][@mantle]; @mantle: @catppuccin[@@flavor][@mantle];
@crust: @catppuccin[@@lookup][@crust]; @crust: @catppuccin[@@flavor][@crust];
@accent-color: @catppuccin[@@lookup][@@accent]; @accent: @catppuccin[@@flavor][@@accentColor];
color-scheme: if(@lookup = latte, light, dark); color-scheme: if(@flavor = latte, light, dark);
::selection { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
input, input,
+53 -47
View File
@@ -16,53 +16,51 @@
==/UserStyle== */ ==/UserStyle== */
@-moz-document regexp("https:\\/\\/www.deepl.com\\/?(.*\\/)translator.*$") { @-moz-document regexp("https:\\/\\/www.deepl.com\\/?(.*\\/)translator.*$") {
@media (prefers-color-scheme: light) { :root {
:root { @media (prefers-color-scheme: light) {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
} @media (prefers-color-scheme: dark) {
@media (prefers-color-scheme: dark) { #catppuccin(@darkFlavor);
:root {
#catppuccin(@darkFlavor, @accentColor);
} }
} }
#catppuccin(@lookup, @accent) { #catppuccin(@flavor) {
@rosewater: @catppuccin[@@lookup][@rosewater]; @rosewater: @catppuccin[@@flavor][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo]; @flamingo: @catppuccin[@@flavor][@flamingo];
@pink: @catppuccin[@@lookup][@pink]; @pink: @catppuccin[@@flavor][@pink];
@mauve: @catppuccin[@@lookup][@mauve]; @mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@lookup][@red]; @red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@lookup][@maroon]; @maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@lookup][@peach]; @peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@lookup][@yellow]; @yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@lookup][@green]; @green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@lookup][@teal]; @teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@lookup][@sky]; @sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@lookup][@sapphire]; @sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@lookup][@blue]; @blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@lookup][@lavender]; @lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@lookup][@text]; @text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@lookup][@subtext1]; @subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@lookup][@subtext0]; @subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@lookup][@overlay2]; @overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@lookup][@overlay1]; @overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@lookup][@overlay0]; @overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@lookup][@surface2]; @surface2: @catppuccin[@@flavor][@surface2];
@surface1: @catppuccin[@@lookup][@surface1]; @surface1: @catppuccin[@@flavor][@surface1];
@surface0: @catppuccin[@@lookup][@surface0]; @surface0: @catppuccin[@@flavor][@surface0];
@base: @catppuccin[@@lookup][@base]; @base: @catppuccin[@@flavor][@base];
@mantle: @catppuccin[@@lookup][@mantle]; @mantle: @catppuccin[@@flavor][@mantle];
@crust: @catppuccin[@@lookup][@crust]; @crust: @catppuccin[@@flavor][@crust];
@accent-color: @catppuccin[@@lookup][@@accent]; @accent: @catppuccin[@@flavor][@@accentColor];
@text-filter: @catppuccin[@@lookup][@text_filter]; @text-filter: @catppuccin-filters[@@flavor][@text];
@blue-filter: @catppuccin[@@lookup][@blue_filter]; @blue-filter: @catppuccin-filters[@@flavor][@blue];
color-scheme: if(@lookup = latte, light, dark); color-scheme: if(@flavor = latte, light, dark);
::selection { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
input, input,
@@ -152,7 +150,7 @@
.TranslatorTab-module--active--0b6ea .TranslatorTab-module--active--0b6ea
.TranslatorTab-module--innerLower--8a080 { .TranslatorTab-module--innerLower--8a080 {
background-color: @accent-color !important; background-color: @accent !important;
} }
.ring-neutral-next-900 { .ring-neutral-next-900 {
@@ -184,14 +182,14 @@
[class*="SourceTranslatorArea-module--focusBorder--"]:has( [class*="SourceTranslatorArea-module--focusBorder--"]:has(
div[contenteditable="true"]:focus div[contenteditable="true"]:focus
) { ) {
border-color: @accent-color; border-color: @accent;
} }
[class*="PageHeaderLink-module--pageHeaderLink--"]:not( [class*="PageHeaderLink-module--pageHeaderLink--"]:not(
[class*="PageHeaderLink-module--nohover--"] [class*="PageHeaderLink-module--nohover--"]
):hover { ):hover {
color: @accent-color; color: @accent;
border-color: @accent-color; border-color: @accent;
} }
.hover\:bg-\[\#B4DAE8\]:hover { .hover\:bg-\[\#B4DAE8\]:hover {
@@ -337,8 +335,16 @@
/* deno-fmt-ignore */ /* deno-fmt-ignore */
@catppuccin: { @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; }; @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; @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; }; @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; @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; }; @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; @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; }; @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%); };
}; };
+57 -60
View File
@@ -16,57 +16,54 @@
==/UserStyle== */ ==/UserStyle== */
@-moz-document domain("docs.rs"), domain("doc.rust-lang.org") { @-moz-document domain("docs.rs"), domain("doc.rust-lang.org") {
@media (prefers-color-scheme: light) { :root:not([data-docs-rs-theme]) {
:root:not([data-docs-rs-theme]) { @media (prefers-color-scheme: light) {
#catppuccin(@lightFlavor, @accentColor); #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"] { :root[data-docs-rs-theme="dark"] {
#catppuccin(@darkFlavor, @accentColor); #catppuccin(@darkFlavor);
} }
:root[data-docs-rs-theme="light"] { :root[data-docs-rs-theme="light"] {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
#catppuccin(@lookup, @accent) { #catppuccin(@flavor) {
@rosewater: @catppuccin[@@lookup][@rosewater]; @rosewater: @catppuccin[@@flavor][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo]; @flamingo: @catppuccin[@@flavor][@flamingo];
@pink: @catppuccin[@@lookup][@pink]; @pink: @catppuccin[@@flavor][@pink];
@mauve: @catppuccin[@@lookup][@mauve]; @mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@lookup][@red]; @red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@lookup][@maroon]; @maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@lookup][@peach]; @peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@lookup][@yellow]; @yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@lookup][@green]; @green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@lookup][@teal]; @teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@lookup][@sky]; @sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@lookup][@sapphire]; @sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@lookup][@blue]; @blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@lookup][@lavender]; @lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@lookup][@text]; @text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@lookup][@subtext1]; @subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@lookup][@subtext0]; @subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@lookup][@overlay2]; @overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@lookup][@overlay1]; @overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@lookup][@overlay0]; @overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@lookup][@surface2]; @surface2: @catppuccin[@@flavor][@surface2];
@surface1: @catppuccin[@@lookup][@surface1]; @surface1: @catppuccin[@@flavor][@surface1];
@surface0: @catppuccin[@@lookup][@surface0]; @surface0: @catppuccin[@@flavor][@surface0];
@base: @catppuccin[@@lookup][@base]; @base: @catppuccin[@@flavor][@base];
@mantle: @catppuccin[@@lookup][@mantle]; @mantle: @catppuccin[@@flavor][@mantle];
@crust: @catppuccin[@@lookup][@crust]; @crust: @catppuccin[@@flavor][@crust];
@accent-color: @catppuccin[@@lookup][@@accent]; @accent: @catppuccin[@@flavor][@@accentColor];
color-scheme: if(@lookup = latte, light, dark); color-scheme: if(@flavor = latte, light, dark);
::selection { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
input, input,
@@ -79,11 +76,11 @@
--color-background-code: @mantle; --color-background-code: @mantle;
--color-background: @base; --color-background: @base;
--input-color: @text; --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-light: @surface2;
--color-border: @surface0; --color-border: @surface0;
--color-doc-link-background: @accent-color; --color-doc-link-background: @accent;
--color-doc-link-hover: @accent-color; --color-doc-link-hover: @accent;
--color-error-hover: red; --color-error-hover: red;
--color-error: red; --color-error: red;
--color-macro: red; --color-macro: red;
@@ -94,7 +91,7 @@
--color-brand: @text; --color-brand: @text;
--color-struct: red; --color-struct: red;
--color-type: @peach; --color-type: @peach;
--color-url: @accent-color; --color-url: @accent;
--color-warn-background: @peach; --color-warn-background: @peach;
--color-warn-msg: @crust; --color-warn-msg: @crust;
--color-warn-hover: red; --color-warn-hover: red;
@@ -108,10 +105,10 @@
--main-background-color: @base; --main-background-color: @base;
--main-color: @text; --main-color: @text;
--settings-input-color: @accent-color; --settings-input-color: @accent;
--settings-input-border-color: @surface0; --settings-input-border-color: @surface0;
--settings-button-color: @text; --settings-button-color: @text;
--settings-button-border-focus: @accent-color; --settings-button-border-focus: @accent;
--sidebar-background-color: @mantle; --sidebar-background-color: @mantle;
--sidebar-background-color-hover: @crust; --sidebar-background-color-hover: @crust;
--source-sidebar-background-selected: @surface0; --source-sidebar-background-selected: @surface0;
@@ -123,7 +120,7 @@
--right-side-color: @surface2; --right-side-color: @surface2;
--code-attribute-color: @yellow; --code-attribute-color: @yellow;
--toggles-color: @subtext1; --toggles-color: @subtext1;
--search-input-focused-border-color: @accent-color; --search-input-focused-border-color: @accent;
--copy-path-button-color: @text; --copy-path-button-color: @text;
--codeblock-error-hover-color: @red; --codeblock-error-hover-color: @red;
--codeblock-error-color: fade(@red, 70%); --codeblock-error-color: fade(@red, 70%);
@@ -136,11 +133,11 @@
--function-link-color: @green; --function-link-color: @green;
--macro-link-color: @green; --macro-link-color: @green;
--keyword-link-color: @yellow; --keyword-link-color: @yellow;
--mod-link-color: @accent-color; --mod-link-color: @accent;
--link-color: @accent-color; --link-color: @accent;
--sidebar-link-color: @accent-color; --sidebar-link-color: @accent;
--sidebar-current-link-background-color: @surface0; --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-result-border-color: @surface0;
--search-color: @text; --search-color: @text;
--search-error-code-background-color: red; --search-error-code-background-color: red;
@@ -149,10 +146,10 @@
--search-tab-title-count-color: @subtext0; --search-tab-title-count-color: @subtext0;
--search-tab-button-not-selected-border-top-color: @crust; --search-tab-button-not-selected-border-top-color: @crust;
--search-tab-button-not-selected-background: @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; --search-tab-button-selected-background: @base;
--stab-background-color: @surface0; --stab-background-color: @surface0;
--stab-code-color: @accent-color; --stab-code-color: @accent;
--code-highlight-kw-color: @mauve; --code-highlight-kw-color: @mauve;
--code-highlight-kw-2-color: @mauve; --code-highlight-kw-2-color: @mauve;
--code-highlight-lifetime-color: @blue; --code-highlight-lifetime-color: @blue;
@@ -183,14 +180,14 @@
--color-syntax-question-mark: @teal; --color-syntax-question-mark: @teal;
--color-syntax-self: @red; --color-syntax-self: @red;
--color-syntax-string: @green; --color-syntax-string: @green;
--src-line-numbers-span-color: @accent-color; --src-line-numbers-span-color: @accent;
--src-line-number-highlighted-background-color: fade(@accent-color, 30%); --src-line-number-highlighted-background-color: fade(@accent, 30%);
--test-arrow-color: #dedede; --test-arrow-color: #dedede;
--test-arrow-background-color: red; --test-arrow-background-color: red;
--test-arrow-hover-color: #dedede; --test-arrow-hover-color: #dedede;
--test-arrow-hover-background-color: red; --test-arrow-hover-background-color: red;
--target-background-color: fade(@accent-color, 10%); --target-background-color: fade(@accent, 10%);
--target-border-color: @accent-color; --target-border-color: @accent;
--kbd-color: @text; --kbd-color: @text;
--kbd-background: @mantle; --kbd-background: @mantle;
--kbd-box-shadow-color: @surface1; --kbd-box-shadow-color: @surface1;
@@ -201,8 +198,8 @@
--codeblock-link-background: fade(@surface0, 50%); --codeblock-link-background: fade(@surface0, 50%);
--scrape-example-toggle-line-background: red; --scrape-example-toggle-line-background: red;
--scrape-example-toggle-line-hover-background: red; --scrape-example-toggle-line-hover-background: red;
--scrape-example-code-line-highlight: fade(@accent-color, 40%); --scrape-example-code-line-highlight: fade(@accent, 40%);
--scrape-example-code-line-highlight-focus: fade(@accent-color, 40%); --scrape-example-code-line-highlight-focus: fade(@accent, 40%);
--scrape-example-help-border-color: @subtext0; --scrape-example-help-border-color: @subtext0;
--scrape-example-help-color: @subtext1; --scrape-example-help-color: @subtext1;
--scrape-example-help-hover-border-color: @text; --scrape-example-help-hover-border-color: @text;
+103 -105
View File
@@ -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"] @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== */ ==/UserStyle== */
@-moz-document domain(duckduckgo.com) { @-moz-document domain("duckduckgo.com") {
:root { :root:not(.dark-bg, .no-theme) {
&:not(.dark-bg, .no-theme) { #catppuccin(@lightFlavor);
#catppuccin(@lightFlavor, @accentColor); }
}
&.dark-bg { :root.dark-bg {
#catppuccin(@darkFlavor, @accentColor); #catppuccin(@darkFlavor);
} }
&.no-theme { :root.no-theme {
@media (prefers-color-scheme: light) { @media (prefers-color-scheme: light) {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
@media (prefers-color-scheme: dark) { @media (prefers-color-scheme: dark) {
#catppuccin(@darkFlavor, @accentColor); #catppuccin(@darkFlavor);
}
} }
} }
#catppuccin(@lookup, @accent) { #catppuccin(@flavor) {
@rosewater: @catppuccin[@@lookup][@rosewater]; @rosewater: @catppuccin[@@flavor][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo]; @flamingo: @catppuccin[@@flavor][@flamingo];
@pink: @catppuccin[@@lookup][@pink]; @pink: @catppuccin[@@flavor][@pink];
@mauve: @catppuccin[@@lookup][@mauve]; @mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@lookup][@red]; @red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@lookup][@maroon]; @maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@lookup][@peach]; @peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@lookup][@yellow]; @yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@lookup][@green]; @green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@lookup][@teal]; @teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@lookup][@sky]; @sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@lookup][@sapphire]; @sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@lookup][@blue]; @blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@lookup][@lavender]; @lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@lookup][@text]; @text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@lookup][@subtext1]; @subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@lookup][@subtext0]; @subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@lookup][@overlay2]; @overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@lookup][@overlay1]; @overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@lookup][@overlay0]; @overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@lookup][@surface2]; @surface2: @catppuccin[@@flavor][@surface2];
@surface1: @catppuccin[@@lookup][@surface1]; @surface1: @catppuccin[@@flavor][@surface1];
@surface0: @catppuccin[@@lookup][@surface0]; @surface0: @catppuccin[@@flavor][@surface0];
@base: @catppuccin[@@lookup][@base]; @base: @catppuccin[@@flavor][@base];
@mantle: @catppuccin[@@lookup][@mantle]; @mantle: @catppuccin[@@flavor][@mantle];
@crust: @catppuccin[@@lookup][@crust]; @crust: @catppuccin[@@flavor][@crust];
@accent-color: @catppuccin[@@lookup][@@accent]; @accent: @catppuccin[@@flavor][@@accentColor];
color-scheme: if(@lookup = latte, light, dark); color-scheme: if(@flavor = latte, light, dark);
::selection { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
input, input,
@@ -91,8 +89,8 @@
--theme-col-about-link: @blue; --theme-col-about-link: @blue;
--theme-col-border-ui: @surface1 !important; --theme-col-border-ui: @surface1 !important;
--theme-col-bg-expandcollapse: @surface0 !important; --theme-col-bg-expandcollapse: @surface0 !important;
--sds-color-palette-gray-60: @accent-color !important; --sds-color-palette-gray-60: @accent !important;
--sds-color-text-accent-01: @accent-color !important; --sds-color-text-accent-01: @accent !important;
--theme-col-txt-msg: @text !important; --theme-col-txt-msg: @text !important;
--theme-col-txt-url-path: @subtext0 !important; --theme-col-txt-url-path: @subtext0 !important;
--theme-col-border-expandcollapse: @surface1; --theme-col-border-expandcollapse: @surface1;
@@ -101,7 +99,7 @@
--theme-col-bg-page: @base !important; --theme-col-bg-page: @base !important;
--sds-color-text-01: @text !important; --sds-color-text-01: @text !important;
--sds-color-text-on-color: @base !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-card-indicator-color: @surface0 !important;
--theme-spp-high-contrast-title-span-text: @text !important; --theme-spp-high-contrast-title-span-text: @text !important;
--theme-spp-high-contrast-bg: @surface0 !important; --theme-spp-high-contrast-bg: @surface0 !important;
@@ -113,7 +111,7 @@
--sds-color-text-03: @subtext0 !important; --sds-color-text-03: @subtext0 !important;
--col-slate-light: @subtext0; --col-slate-light: @subtext0;
--col-silver-dark: @overlay1; --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-legacy-home: @base !important;
--theme-bg-cta-cards: @surface0 !important; --theme-bg-cta-cards: @surface0 !important;
--theme-button-primary-bg: @blue !important; --theme-button-primary-bg: @blue !important;
@@ -179,11 +177,11 @@
--sds-color-text-success: @green !important; --sds-color-text-success: @green !important;
--sds-color-text-link-01: @blue !important; --sds-color-text-link-01: @blue !important;
--sds-color-background-container-01: @surface0 !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; --theme-dc-color-container-message: @surface0 !important;
--sds-color-palette-gray-85: @surface1 !important; --sds-color-palette-gray-85: @surface1 !important;
--sds-color-palette-white: @crust !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-txt-card-body-light: @text !important;
--theme-col-bg-page-alt-2: @surface0 !important; --theme-col-bg-page-alt-2: @surface0 !important;
--theme-col-bg-ui-active: @surface1 !important; --theme-col-bg-ui-active: @surface1 !important;
@@ -324,7 +322,7 @@
} }
.calendar__today { .calendar__today {
color: @mantle; color: @mantle;
background-color: @accent-color; background-color: @accent;
} }
.zci.is-active { .zci.is-active {
@@ -360,7 +358,7 @@
} }
.stocks-module__timePeriod.selected { .stocks-module__timePeriod.selected {
color: @mantle; color: @mantle;
background-color: @accent-color; background-color: @accent;
} }
.ia-module--stocks.increase .color-coded { .ia-module--stocks.increase .color-coded {
color: @green !important; color: @green !important;
@@ -443,7 +441,7 @@
border-color: @surface2; border-color: @surface2;
} }
.module__inner-toggle--chevron { .module__inner-toggle--chevron {
color: @accent-color !important; color: @accent !important;
background-color: @surface1 !important; background-color: @surface1 !important;
border-color: @surface2; border-color: @surface2;
} }
@@ -551,7 +549,7 @@
} }
.module--definitions__group ol li::before { .module--definitions__group ol li::before {
color: @accent-color !important; color: @accent !important;
} }
.module--definitions__usage { .module--definitions__usage {
@@ -563,10 +561,10 @@
} }
.play-btn__icn_hollow { .play-btn__icn_hollow {
fill: @accent-color !important; fill: @accent !important;
} }
.module__toggle { .module__toggle {
color: @accent-color !important; color: @accent !important;
} }
// weather info box // weather info box
@@ -588,7 +586,7 @@
} }
.module__temperature-unit, .module__temperature-unit,
.module__temperature-unit:hover { .module__temperature-unit:hover {
color: @accent-color !important; color: @accent !important;
} }
.module__detail__precip-label, .module__detail__precip-label,
.module__items-precip-label, .module__items-precip-label,
@@ -607,7 +605,7 @@
border-color: @surface2 !important; border-color: @surface2 !important;
} }
.module__weatherkit-logo { .module__weatherkit-logo {
fill: @accent-color; fill: @accent;
} }
.module__warnings, .module__warnings,
.module__temperature-unit--on { .module__temperature-unit--on {
@@ -685,7 +683,7 @@
color: @subtext0 !important; color: @subtext0 !important;
} }
.tile__option--active { .tile__option--active {
color: @accent-color !important; color: @accent !important;
} }
.bg-delayed-color { .bg-delayed-color {
@@ -853,17 +851,17 @@
border-color: @surface2 !important; border-color: @surface2 !important;
} }
.is-checked .frm__switch__label.btn { .is-checked .frm__switch__label.btn {
background-color: @accent-color !important; background-color: @accent !important;
color: @mantle !important; color: @mantle !important;
} }
.js-set-exit { .js-set-exit {
background-color: @accent-color !important; background-color: @accent !important;
border-color: @accent-color !important; border-color: @accent !important;
color: @base !important; color: @base !important;
} }
.js-set-exit:hover { .js-set-exit:hover {
background-color: fade(@accent-color, 80%) !important; background-color: fade(@accent, 80%) !important;
border-color: fade(@accent-color, 80%) !important; border-color: fade(@accent, 80%) !important;
color: @base !important; color: @base !important;
} }
.set-bookmarklet__data { .set-bookmarklet__data {
@@ -915,7 +913,7 @@
#duckbar, #duckbar,
.zcm__link:not(.dropdown__button).is-active, .zcm__link:not(.dropdown__button).is-active,
.set-main-footer { .set-main-footer {
border-color: @accent-color !important; border-color: @accent !important;
} }
#more-results { #more-results {
@@ -1031,12 +1029,12 @@
.detail--xd .tile-nav--sm, .detail--xd .tile-nav--sm,
.detail__close, .detail__close,
.module--definitions__collapsed-group ol li::before { .module--definitions__collapsed-group ol li::before {
color: @accent-color !important; color: @accent !important;
} }
.search__button:hover, .search__button:hover,
.search--header.has-text.search--hover .search__button { .search--header.has-text.search--hover .search__button {
background-color: @accent-color !important; background-color: @accent !important;
color: @base !important; color: @base !important;
} }
@@ -1061,7 +1059,7 @@
color: @text !important; color: @text !important;
} }
.frm__select::after { .frm__select::after {
color: @accent-color !important; color: @accent !important;
} }
.switch, .switch,
@@ -1086,7 +1084,7 @@
} }
.switch.is-on { .switch.is-on {
background-color: @accent-color !important; background-color: @accent !important;
} }
.dropdown__switch.is-on::before { .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) { :root:not(.theme-dark) {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
:root.theme-dark { :root.theme-dark {
#catppuccin(@darkFlavor, @accentColor); #catppuccin(@darkFlavor);
} }
#catppuccin(@lookup, @accent) { #catppuccin(@flavor) {
@rosewater: @catppuccin[@@lookup][@rosewater]; @rosewater: @catppuccin[@@flavor][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo]; @flamingo: @catppuccin[@@flavor][@flamingo];
@pink: @catppuccin[@@lookup][@pink]; @pink: @catppuccin[@@flavor][@pink];
@mauve: @catppuccin[@@lookup][@mauve]; @mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@lookup][@red]; @red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@lookup][@maroon]; @maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@lookup][@peach]; @peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@lookup][@yellow]; @yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@lookup][@green]; @green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@lookup][@teal]; @teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@lookup][@sky]; @sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@lookup][@sapphire]; @sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@lookup][@blue]; @blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@lookup][@lavender]; @lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@lookup][@text]; @text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@lookup][@subtext1]; @subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@lookup][@subtext0]; @subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@lookup][@overlay2]; @overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@lookup][@overlay1]; @overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@lookup][@overlay0]; @overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@lookup][@surface2]; @surface2: @catppuccin[@@flavor][@surface2];
@surface1: @catppuccin[@@lookup][@surface1]; @surface1: @catppuccin[@@flavor][@surface1];
@surface0: @catppuccin[@@lookup][@surface0]; @surface0: @catppuccin[@@flavor][@surface0];
@base: @catppuccin[@@lookup][@base]; @base: @catppuccin[@@flavor][@base];
@mantle: @catppuccin[@@lookup][@mantle]; @mantle: @catppuccin[@@flavor][@mantle];
@crust: @catppuccin[@@lookup][@crust]; @crust: @catppuccin[@@flavor][@crust];
@accent-color: @catppuccin[@@lookup][@@accent]; @accent: @catppuccin[@@flavor][@@accentColor];
color-scheme: if(@lookup = latte, light, dark); color-scheme: if(@flavor = latte, light, dark);
::selection { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
textarea { textarea {
@@ -1224,7 +1222,7 @@
--color-yellow60: @yellow !important; --color-yellow60: @yellow !important;
--theme-button-primary-bg: @blue !important; --theme-button-primary-bg: @blue !important;
--theme-searchbox-caret-bg: @accent-color !important; --theme-searchbox-caret-bg: @accent !important;
.home_root__naJUp { .home_root__naJUp {
--theme-bg-home: @base !important; --theme-bg-home: @base !important;
@@ -1256,7 +1254,7 @@
.searchbox_searchButton__F5Bwq:not(:disabled), .searchbox_searchButton__F5Bwq:not(:disabled),
.searchbox_hasQuery__j8_VE:focus-within { .searchbox_hasQuery__j8_VE:focus-within {
color: @mantle !important; color: @mantle !important;
background-color: @accent-color !important; background-color: @accent !important;
} }
} }
} }
+40 -40
View File
@@ -17,46 +17,46 @@
@-moz-document domain("ecosia.org") { @-moz-document domain("ecosia.org") {
:root.light { :root.light {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
:root.dark { :root.dark {
#catppuccin(@darkFlavor, @accentColor); #catppuccin(@darkFlavor);
} }
#catppuccin(@lookup, @accent) { #catppuccin(@flavor) {
@rosewater: @catppuccin[@@lookup][@rosewater]; @rosewater: @catppuccin[@@flavor][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo]; @flamingo: @catppuccin[@@flavor][@flamingo];
@pink: @catppuccin[@@lookup][@pink]; @pink: @catppuccin[@@flavor][@pink];
@mauve: @catppuccin[@@lookup][@mauve]; @mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@lookup][@red]; @red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@lookup][@maroon]; @maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@lookup][@peach]; @peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@lookup][@yellow]; @yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@lookup][@green]; @green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@lookup][@teal]; @teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@lookup][@sky]; @sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@lookup][@sapphire]; @sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@lookup][@blue]; @blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@lookup][@lavender]; @lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@lookup][@text]; @text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@lookup][@subtext1]; @subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@lookup][@subtext0]; @subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@lookup][@overlay2]; @overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@lookup][@overlay1]; @overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@lookup][@overlay0]; @overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@lookup][@surface2]; @surface2: @catppuccin[@@flavor][@surface2];
@surface1: @catppuccin[@@lookup][@surface1]; @surface1: @catppuccin[@@flavor][@surface1];
@surface0: @catppuccin[@@lookup][@surface0]; @surface0: @catppuccin[@@flavor][@surface0];
@base: @catppuccin[@@lookup][@base]; @base: @catppuccin[@@flavor][@base];
@mantle: @catppuccin[@@lookup][@mantle]; @mantle: @catppuccin[@@flavor][@mantle];
@crust: @catppuccin[@@lookup][@crust]; @crust: @catppuccin[@@flavor][@crust];
@accent-color: @catppuccin[@@lookup][@@accent]; @accent: @catppuccin[@@flavor][@@accentColor];
color-scheme: if(@lookup = latte, light, dark); color-scheme: if(@flavor = latte, light, dark);
::selection { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
input, input,
@@ -66,20 +66,20 @@
} }
} }
--color-brand-primary: @accent-color !important; --color-brand-primary: @accent !important;
--color-brand-secondary: @crust !important; --color-brand-secondary: @crust !important;
--color-error: @red !important; --color-error: @red !important;
--color-success: @green !important; --color-success: @green !important;
--color-disabled: @overlay1 !important; --color-disabled: @overlay1 !important;
--color-button-background-primary: @accent-color !important; --color-button-background-primary: @accent !important;
--color-button-background-primary-active: @accent-color !important; --color-button-background-primary-active: @accent !important;
--color-button-background-primary-hover: @accent-color; --color-button-background-primary-hover: @accent;
--color-button-background-secondary: @surface0 !important; --color-button-background-secondary: @surface0 !important;
--color-button-background-secondary-active: @surface2 !important; --color-button-background-secondary-active: @surface2 !important;
--color-button-background-secondary-hover: @surface1 !important; --color-button-background-secondary-hover: @surface1 !important;
--color-button-content-primary: @base !important; --color-button-content-primary: @base !important;
--color-button-content-secondary: @text !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-border: @surface0 !important;
--color-button-background-transparent-hover: @surface1; --color-button-background-transparent-hover: @surface1;
--color-button-background-transparent-active: @surface2; --color-button-background-transparent-active: @surface2;
@@ -100,14 +100,14 @@
--color-url: @sapphire !important; --color-url: @sapphire !important;
--color-link-results-default: @sapphire !important; --color-link-results-default: @sapphire !important;
--color-link-results-visited: @teal !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-1: @surface1;
--color-elevation-layer-2: @surface2; --color-elevation-layer-2: @surface2;
--color-decorative-border-1: @surface1 !important; --color-decorative-border-1: @surface1 !important;
--color-focused: @accent-color !important; --color-focused: @accent !important;
--color-form-border-default: @surface0 !important; --color-form-border-default: @surface0 !important;
--color-form-border-hover: @surface1 !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-tripadvisor-rating: @subtext0 !important;
--color-tree-counter-tree-tall: @yellow !important; --color-tree-counter-tree-tall: @yellow !important;
--color-green-leaf-icon-color-top: @green !important; --color-green-leaf-icon-color-top: @green !important;
+35 -35
View File
@@ -17,45 +17,45 @@
@-moz-document domain("elk.zone") { @-moz-document domain("elk.zone") {
:root.dark { :root.dark {
#catppuccin(@darkFlavor, @accentColor); #catppuccin(@darkFlavor);
} }
:root.light { :root.light {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
#catppuccin(@lookup, @accent) { #catppuccin(@flavor) {
@rosewater: @catppuccin[@@lookup][@rosewater]; @rosewater: @catppuccin[@@flavor][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo]; @flamingo: @catppuccin[@@flavor][@flamingo];
@pink: @catppuccin[@@lookup][@pink]; @pink: @catppuccin[@@flavor][@pink];
@mauve: @catppuccin[@@lookup][@mauve]; @mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@lookup][@red]; @red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@lookup][@maroon]; @maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@lookup][@peach]; @peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@lookup][@yellow]; @yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@lookup][@green]; @green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@lookup][@teal]; @teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@lookup][@sky]; @sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@lookup][@sapphire]; @sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@lookup][@blue]; @blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@lookup][@lavender]; @lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@lookup][@text]; @text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@lookup][@subtext1]; @subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@lookup][@subtext0]; @subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@lookup][@overlay2]; @overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@lookup][@overlay1]; @overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@lookup][@overlay0]; @overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@lookup][@surface2]; @surface2: @catppuccin[@@flavor][@surface2];
@surface1: @catppuccin[@@lookup][@surface1]; @surface1: @catppuccin[@@flavor][@surface1];
@surface0: @catppuccin[@@lookup][@surface0]; @surface0: @catppuccin[@@flavor][@surface0];
@base: @catppuccin[@@lookup][@base]; @base: @catppuccin[@@flavor][@base];
@mantle: @catppuccin[@@lookup][@mantle]; @mantle: @catppuccin[@@flavor][@mantle];
@crust: @catppuccin[@@lookup][@crust]; @crust: @catppuccin[@@flavor][@crust];
@accent-color: @catppuccin[@@lookup][@@accent]; @accent: @catppuccin[@@flavor][@@accentColor];
color-scheme: if(@lookup = latte, light, dark); color-scheme: if(@flavor = latte, light, dark);
::selection { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
input, input,
@@ -65,8 +65,8 @@
} }
} }
--c-primary: @accent-color !important; --c-primary: @accent !important;
--c-primary-active: lighten(@accent-color, 10%) !important; --c-primary-active: lighten(@accent, 10%) !important;
--c-primary-light: @surface0 !important; --c-primary-light: @surface0 !important;
--c-border: @surface0 !important; --c-border: @surface0 !important;
--c-border-dark: @surface1 !important; --c-border-dark: @surface1 !important;
@@ -74,7 +74,7 @@
--rgb-bg-base: #rgbify(@mantle)[] !important; --rgb-bg-base: #rgbify(@mantle)[] !important;
--c-bg-active: @surface0 !important; --c-bg-active: @surface0 !important;
--c-bg-code: @surface0 !important; --c-bg-code: @surface0 !important;
--c-bg-selection: @accent-color !important; --c-bg-selection: @accent !important;
--c-bg-fade: @surface0 !important; --c-bg-fade: @surface0 !important;
--c-text-base: @text !important; --c-text-base: @text !important;
--c-text-code: @rosewater !important; --c-text-code: @rosewater !important;
+140 -142
View File
@@ -16,52 +16,50 @@
==/UserStyle== */ ==/UserStyle== */
@-moz-document domain("app.formative.com"), domain("goformative.com") { @-moz-document domain("app.formative.com"), domain("goformative.com") {
@media (prefers-color-scheme: light) { :root {
:root { @media (prefers-color-scheme: light) {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
} @media (prefers-color-scheme: dark) {
@media (prefers-color-scheme: dark) { #catppuccin(@darkFlavor);
:root {
#catppuccin(@darkFlavor, @accentColor);
} }
} }
#catppuccin(@lookup, @accent) { #catppuccin(@flavor) {
@rosewater: @catppuccin[@@lookup][@rosewater]; @rosewater: @catppuccin[@@flavor][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo]; @flamingo: @catppuccin[@@flavor][@flamingo];
@pink: @catppuccin[@@lookup][@pink]; @pink: @catppuccin[@@flavor][@pink];
@mauve: @catppuccin[@@lookup][@mauve]; @mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@lookup][@red]; @red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@lookup][@maroon]; @maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@lookup][@peach]; @peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@lookup][@yellow]; @yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@lookup][@green]; @green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@lookup][@teal]; @teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@lookup][@sky]; @sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@lookup][@sapphire]; @sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@lookup][@blue]; @blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@lookup][@lavender]; @lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@lookup][@text]; @text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@lookup][@subtext1]; @subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@lookup][@subtext0]; @subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@lookup][@overlay2]; @overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@lookup][@overlay1]; @overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@lookup][@overlay0]; @overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@lookup][@surface2]; @surface2: @catppuccin[@@flavor][@surface2];
@surface1: @catppuccin[@@lookup][@surface1]; @surface1: @catppuccin[@@flavor][@surface1];
@surface0: @catppuccin[@@lookup][@surface0]; @surface0: @catppuccin[@@flavor][@surface0];
@base: @catppuccin[@@lookup][@base]; @base: @catppuccin[@@flavor][@base];
@mantle: @catppuccin[@@lookup][@mantle]; @mantle: @catppuccin[@@flavor][@mantle];
@crust: @catppuccin[@@lookup][@crust]; @crust: @catppuccin[@@flavor][@crust];
@accent-color: @catppuccin[@@lookup][@@accent]; @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 { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
input, input,
@@ -114,21 +112,21 @@
background: @surface0; background: @surface0;
.SideTabItem__RootButton-sc-vtkzgr-0 { .SideTabItem__RootButton-sc-vtkzgr-0 {
&.selected { &.selected {
background: fade(@accent-color, 50%); background: fade(@accent, 50%);
&::after { &::after {
background: @accent-color; background: @accent;
} }
} }
&:hover { &:hover {
.avatar { .avatar {
box-shadow: @accent-color 0 0 0 1px; box-shadow: @accent 0 0 0 1px;
} }
} }
&:not(.selected):hover { &:not(.selected):hover {
.side-tab-item-label-div, .side-tab-item-label-div,
.material-icons-outlined, .material-icons-outlined,
.svg-icons svg { .svg-icons svg {
color: @accent-color; color: @accent;
} }
} }
} }
@@ -139,8 +137,8 @@
} }
} }
.notifications-count { .notifications-count {
background: @accent-color; background: @accent;
color: @contrast-accent-color; color: @contrast;
} }
.NotificationCenterAlert__TriggerDiv-sc-165xmi4-0 { .NotificationCenterAlert__TriggerDiv-sc-165xmi4-0 {
background-color: @surface0; background-color: @surface0;
@@ -149,7 +147,7 @@
} }
} }
.avatar:hover { .avatar:hover {
box-shadow: @accent-color 0 0 0 1px; box-shadow: @accent 0 0 0 1px;
} }
.MainAppHeader__RootDiv-sc-1gw0bt9-0 { .MainAppHeader__RootDiv-sc-1gw0bt9-0 {
background-color: @surface0; background-color: @surface0;
@@ -162,10 +160,10 @@
color: @text; color: @text;
} }
.TabsItem__RootDiv-sc-tj1og8-0:hover > a { .TabsItem__RootDiv-sc-tj1og8-0:hover > a {
color: @accent-color; color: @accent;
} }
.TabsItem__SelectedLineDiv-sc-tj1og8-1 { .TabsItem__SelectedLineDiv-sc-tj1og8-1 {
background: @accent-color !important; background: @accent !important;
} }
.TabsItem__TabLink-sc-tj1og8-3:focus-visible { .TabsItem__TabLink-sc-tj1og8-3:focus-visible {
background: transparent !important; background: transparent !important;
@@ -242,13 +240,13 @@
.TabsItem__TabDiv-sc-tj1og8-4:hover, .TabsItem__TabDiv-sc-tj1og8-4:hover,
.RespondusTroubleshootLink__TroubleshootingAnchor-sc-17na5u4-7, .RespondusTroubleshootLink__TroubleshootingAnchor-sc-17na5u4-7,
.Summary__RawButtonLink-sc-1ofq6fd-2 { .Summary__RawButtonLink-sc-1ofq6fd-2 {
color: @accent-color; color: @accent;
} }
.FormativesShelf__StyledSecondaryHeader-sc-1pswvpk-4 { .FormativesShelf__StyledSecondaryHeader-sc-1pswvpk-4 {
border-color: @overlay0; border-color: @overlay0;
} }
.TabsItem__SelectedLineDiv-sc-tj1og8-1 { .TabsItem__SelectedLineDiv-sc-tj1og8-1 {
background: @accent-color !important; background: @accent !important;
} }
.Pill__RootDiv-sc-4b6mpn-0, .Pill__RootDiv-sc-4b6mpn-0,
.ItemInfoPill-sc-ecx83e-0, .ItemInfoPill-sc-ecx83e-0,
@@ -275,8 +273,8 @@
background: @surface0; background: @surface0;
border-color: @overlay0; border-color: @overlay0;
&.selected { &.selected {
border-color: @accent-color; border-color: @accent;
outline-color: @accent-color; outline-color: @accent;
} }
.material-icons-outlined { .material-icons-outlined {
color: @text; color: @text;
@@ -284,14 +282,14 @@
&:hover { &:hover {
.FormativeCard__TitleOverflowEllipsis-sc-tkxjaz-7, .FormativeCard__TitleOverflowEllipsis-sc-tkxjaz-7,
.SectionCard__SectionTitleOverflowEllipsis-sc-ir1v2v-4 { .SectionCard__SectionTitleOverflowEllipsis-sc-ir1v2v-4 {
color: @accent-color; color: @accent;
} }
} }
} }
.ClassAvatar__RootDiv-sc-i7tto7-0, .ClassAvatar__RootDiv-sc-i7tto7-0,
.avatar > div { .avatar > div {
background: @accent-color; background: @accent;
color: @contrast-accent-color; color: @contrast;
} }
.ReactSelect__control { .ReactSelect__control {
background: @surface0; background: @surface0;
@@ -305,7 +303,7 @@
color: @text; color: @text;
} }
&:focus-within { &:focus-within {
border-color: @accent-color !important; border-color: @accent !important;
} }
} }
.react-select-icon { .react-select-icon {
@@ -316,14 +314,14 @@
color: @text; color: @text;
.SearchBarOption__RootLink-sc-191bb28-1:hover .SearchBarOption__RootLink-sc-191bb28-1:hover
.SearchBarOption__TitleOverflowEllipsis-sc-191bb28-0 { .SearchBarOption__TitleOverflowEllipsis-sc-191bb28-0 {
color: @accent-color; color: @accent;
} }
.ReactSelect__option--is-focused { .ReactSelect__option--is-focused {
background: @overlay0; background: @overlay0;
} }
.ReactSelect__option--is-selected { .ReactSelect__option--is-selected {
background: @accent-color; background: @accent;
color: @contrast-accent-color; color: @contrast;
} }
.ReactSelect__menu-notice { .ReactSelect__menu-notice {
color: @subtext0; color: @subtext0;
@@ -340,19 +338,19 @@
background: @surface0 !important; background: @surface0 !important;
&, &,
.material-icons-outlined { .material-icons-outlined {
color: @accent-color !important; color: @accent !important;
border-color: @overlay0; border-color: @overlay0;
} }
&:hover, &:hover,
&:enabled:focus { &:enabled:focus {
background: @surface1; background: @surface1;
border-color: @accent-color; border-color: @accent;
} }
} }
.Switch__RootButton-sc-1ss5zxi-0 { .Switch__RootButton-sc-1ss5zxi-0 {
background: @surface0; background: @surface0;
&[aria-checked="true"] { &[aria-checked="true"] {
background: @accent-color; background: @accent;
} }
.Switch__BallDiv-sc-1ss5zxi-1 { .Switch__BallDiv-sc-1ss5zxi-1 {
background: @overlay0; background: @overlay0;
@@ -411,7 +409,7 @@
} }
.DropdownList__TriggerButton-sc-1hvvmg1-0, .DropdownList__TriggerButton-sc-1hvvmg1-0,
.EmptyExplainer__StyledMaterialIcon-sc-1ixiesy-4 { .EmptyExplainer__StyledMaterialIcon-sc-1ixiesy-4 {
color: @accent-color; color: @accent;
} }
.ProfileAccountInfo__DashedGroup-sc-1nbrrm9-2 { .ProfileAccountInfo__DashedGroup-sc-1nbrrm9-2 {
@@ -423,10 +421,10 @@
&:focus, &:focus,
&.selected { &.selected {
.BadgeCard__BadgeLabelDiv-sc-13976oo-8 { .BadgeCard__BadgeLabelDiv-sc-13976oo-8 {
color: @accent-color; color: @accent;
} }
.Card__RootDiv-sc-4gt2nj-0 { .Card__RootDiv-sc-4gt2nj-0 {
border-color: @accent-color; border-color: @accent;
} }
} }
.BadgeCard__ProgressPercentSpan-sc-13976oo-7 { .BadgeCard__ProgressPercentSpan-sc-13976oo-7 {
@@ -465,13 +463,13 @@
.ProgressBar__ProgressDiv-sc-4qm1te-0 { .ProgressBar__ProgressDiv-sc-4qm1te-0 {
background: @overlay0; background: @overlay0;
.ProgressBar__ProgressBarDiv-sc-4qm1te-2 { .ProgressBar__ProgressBarDiv-sc-4qm1te-2 {
background: @accent-color; background: @accent;
} }
} }
.notification { .notification {
&.notification-success { &.notification-success {
background: @green !important; background: @green !important;
color: @contrast-accent-color !important; color: @contrast !important;
} }
} }
.Tooltip__Content-sc-1k6bq57-0 { .Tooltip__Content-sc-1k6bq57-0 {
@@ -502,7 +500,7 @@
background: @surface0; background: @surface0;
&:enabled:hover { &:enabled:hover {
background: @surface1 !important; background: @surface1 !important;
border-color: @accent-color; border-color: @accent;
} }
} }
.CopyablePracticeSetInfo__LinkText-sc-14zdsnw-3, .CopyablePracticeSetInfo__LinkText-sc-14zdsnw-3,
@@ -514,7 +512,7 @@
outline-color: @text !important; outline-color: @text !important;
} }
&[style*="outline: rgb(13, 100, 242)"] { &[style*="outline: rgb(13, 100, 242)"] {
outline-color: @accent-color !important; outline-color: @accent !important;
} }
} }
} }
@@ -539,7 +537,7 @@
color: @overlay2 !important; color: @overlay2 !important;
} }
&:focus { &:focus {
border-color: @accent-color; border-color: @accent;
} }
} }
&.CookiePolicyModal__AccordionDiv-sc-dpnzx7-0 &.CookiePolicyModal__AccordionDiv-sc-dpnzx7-0
@@ -554,14 +552,14 @@
color: @text; color: @text;
} }
.CookiePolicyModal__BlueAlertText-sc-dpnzx7-5 { .CookiePolicyModal__BlueAlertText-sc-dpnzx7-5 {
color: @accent-color; color: @accent;
} }
} }
} }
.ModalBody-sc-1lg094f-0:has(.Submit__ContentTitleH3-sc-1vceatk-1) .ModalBody-sc-1lg094f-0:has(.Submit__ContentTitleH3-sc-1vceatk-1)
svg svg
path { path {
fill: @accent-color; fill: @accent;
} }
.ModalTitle { .ModalTitle {
background: @base; background: @base;
@@ -577,7 +575,7 @@
} }
&[src*="match-preview"] { &[src*="match-preview"] {
@svg: escape( @svg: escape(
'<svg width="191" height="146" viewBox="0 0 191 146" fill="none" xmlns="http://www.w3.org/2000/svg"><g filter="url(#a)"><rect x="12" y="8" width="47" height="34" rx="4" fill="@{accent-color}"/></g><g filter="url(#b)"><rect x="12" y="52" width="47" height="34" rx="4" fill="@{surface2}"/></g><g filter="url(#c)"><rect x="12" y="96" width="47" height="34" rx="4" fill="@{surface2}"/></g><g filter="url(#d)"><rect x="72" y="8" width="47" height="34" rx="4" fill="@{surface2}"/></g><g filter="url(#e)"><rect x="72" y="52" width="47" height="34" rx="4" fill="@{surface2}"/></g><g filter="url(#f)"><rect x="72" y="96" width="47" height="34" rx="4" fill="@{surface2}"/></g><g filter="url(#g)"><rect x="132" y="8" width="47" height="34" rx="4" fill="@{surface2}"/></g><g filter="url(#h)"><rect x="132" y="52" width="47" height="34" rx="4" fill="@{accent-color}"/></g><g filter="url(#i)"><rect x="132" y="96" width="47" height="34" rx="4" fill="@{surface2}"/></g><defs><filter id="a" x="0" y="0" width="71" height="58" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="4"/><feGaussianBlur stdDeviation="6"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_2281_1053"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_2281_1053" result="shape"/></filter><filter id="b" x="0" y="44" width="71" height="58" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="4"/><feGaussianBlur stdDeviation="6"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_2281_1053"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_2281_1053" result="shape"/></filter><filter id="c" x="0" y="88" width="71" height="58" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="4"/><feGaussianBlur stdDeviation="6"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_2281_1053"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_2281_1053" result="shape"/></filter><filter id="d" x="60" y="0" width="71" height="58" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="4"/><feGaussianBlur stdDeviation="6"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_2281_1053"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_2281_1053" result="shape"/></filter><filter id="e" x="60" y="44" width="71" height="58" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="4"/><feGaussianBlur stdDeviation="6"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_2281_1053"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_2281_1053" result="shape"/></filter><filter id="f" x="60" y="88" width="71" height="58" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="4"/><feGaussianBlur stdDeviation="6"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_2281_1053"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_2281_1053" result="shape"/></filter><filter id="g" x="120" y="0" width="71" height="58" filterUnits="userSpaceOnUse" colorLine truncated '<svg width="191" height="146" viewBox="0 0 191 146" fill="none" xmlns="http://www.w3.org/2000/svg"><g filter="url(#a)"><rect x="12" y="8" width="47" height="34" rx="4" fill="@{accent}"/></g><g filter="url(#b)"><rect x="12" y="52" width="47" height="34" rx="4" fill="@{surface2}"/></g><g filter="url(#c)"><rect x="12" y="96" width="47" height="34" rx="4" fill="@{surface2}"/></g><g filter="url(#d)"><rect x="72" y="8" width="47" height="34" rx="4" fill="@{surface2}"/></g><g filter="url(#e)"><rect x="72" y="52" width="47" height="34" rx="4" fill="@{surface2}"/></g><g filter="url(#f)"><rect x="72" y="96" width="47" height="34" rx="4" fill="@{surface2}"/></g><g filter="url(#g)"><rect x="132" y="8" width="47" height="34" rx="4" fill="@{surface2}"/></g><g filter="url(#h)"><rect x="132" y="52" width="47" height="34" rx="4" fill="@{accent}"/></g><g filter="url(#i)"><rect x="132" y="96" width="47" height="34" rx="4" fill="@{surface2}"/></g><defs><filter id="a" x="0" y="0" width="71" height="58" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="4"/><feGaussianBlur stdDeviation="6"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_2281_1053"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_2281_1053" result="shape"/></filter><filter id="b" x="0" y="44" width="71" height="58" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="4"/><feGaussianBlur stdDeviation="6"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_2281_1053"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_2281_1053" result="shape"/></filter><filter id="c" x="0" y="88" width="71" height="58" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="4"/><feGaussianBlur stdDeviation="6"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_2281_1053"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_2281_1053" result="shape"/></filter><filter id="d" x="60" y="0" width="71" height="58" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="4"/><feGaussianBlur stdDeviation="6"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_2281_1053"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_2281_1053" result="shape"/></filter><filter id="e" x="60" y="44" width="71" height="58" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="4"/><feGaussianBlur stdDeviation="6"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_2281_1053"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_2281_1053" result="shape"/></filter><filter id="f" x="60" y="88" width="71" height="58" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="4"/><feGaussianBlur stdDeviation="6"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_2281_1053"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_2281_1053" result="shape"/></filter><filter id="g" x="120" y="0" width="71" height="58" filterUnits="userSpaceOnUse" color-interpolatiLine truncated
); );
content: url("data:image/svg+xml,@{svg}"); content: url("data:image/svg+xml,@{svg}");
} }
@@ -611,7 +609,7 @@
.material-icons-outlined { .material-icons-outlined {
color: @text; color: @text;
&:hover { &:hover {
color: @accent-color; color: @accent;
} }
} }
} }
@@ -652,7 +650,7 @@
background: @mantle; background: @mantle;
border-color: @overlay0; border-color: @overlay0;
.selectedSection { .selectedSection {
border-color: @accent-color; border-color: @accent;
} }
.formative-nav-item { .formative-nav-item {
&, &,
@@ -660,13 +658,13 @@
color: @text; color: @text;
} }
.FormativeStudentNavItem__StyledMessageIcon-sc-i1u5ts-4 { .FormativeStudentNavItem__StyledMessageIcon-sc-i1u5ts-4 {
color: @accent-color; color: @accent;
} }
&:hover, &:hover,
&:focus { &:focus {
background: @surface1; background: @surface1;
color: @accent-color; color: @accent;
border-color: @accent-color; border-color: @accent;
} }
.fxpwVv { .fxpwVv {
background-color: @green; background-color: @green;
@@ -693,21 +691,21 @@
.checkbox-root { .checkbox-root {
button { button {
background: @surface0; background: @surface0;
border-color: @accent-color !important; border-color: @accent !important;
box-shadow: none !important; box-shadow: none !important;
} }
&.checked button { &.checked button {
background: @accent-color !important; background: @accent !important;
} }
.Checkbox__RadioCircleDiv-sc-1oy0ey9-3 { .Checkbox__RadioCircleDiv-sc-1oy0ey9-3 {
background: @contrast-accent-color !important; background: @contrast !important;
} }
.Checkbox__IndicatorIcon-sc-1oy0ey9-5 { .Checkbox__IndicatorIcon-sc-1oy0ey9-5 {
color: @contrast-accent-color; color: @contrast;
} }
} }
.FormativeUnavailableMessage__InnerDiv-sc-14kxg7t-1 { .FormativeUnavailableMessage__InnerDiv-sc-14kxg7t-1 {
border-color: @accent-color; border-color: @accent;
background-color: @surface0; background-color: @surface0;
} }
.FormativeItemViewable__RootDiv-sc-m0kwch-0, .FormativeItemViewable__RootDiv-sc-m0kwch-0,
@@ -733,7 +731,7 @@
&[style*="rgb(32, 213, 171)"] { &[style*="rgb(32, 213, 171)"] {
background-color: @green !important; background-color: @green !important;
.material-icons-outlined { .material-icons-outlined {
color: @contrast-accent-color !important; color: @contrast !important;
} }
} }
&[style*="rgb(255, 222, 51)"] { &[style*="rgb(255, 222, 51)"] {
@@ -745,14 +743,14 @@
&[style*="rgb(255, 76, 77)"] { &[style*="rgb(255, 76, 77)"] {
background-color: @red !important; background-color: @red !important;
.material-icons-outlined { .material-icons-outlined {
color: @contrast-accent-color !important; color: @contrast !important;
} }
} }
border-color: @overlay2 !important; border-color: @overlay2 !important;
} }
.BlankOutput__FillableEntity-sc-15mzaww-3, .BlankOutput__FillableEntity-sc-15mzaww-3,
.BlankOutput__FillableNumericDiv-sc-15mzaww-2 { .BlankOutput__FillableNumericDiv-sc-15mzaww-2 {
outline-color: @accent-color; outline-color: @accent;
color: @text; color: @text;
background: @surface0; background: @surface0;
.KatexOutput__RootDiv-sc-gu2jna-0 { .KatexOutput__RootDiv-sc-gu2jna-0 {
@@ -774,14 +772,14 @@
} }
.TargetElementViewable__BoxDiv-sc-1cp2mml-1 { .TargetElementViewable__BoxDiv-sc-1cp2mml-1 {
background: @surface0; background: @surface0;
border-color: @accent-color; border-color: @accent;
.TargetChoiceViewable__ContentDiv-sc-6nylj9-1 { .TargetChoiceViewable__ContentDiv-sc-6nylj9-1 {
background: @surface1; background: @surface1;
border-color: @overlay0; border-color: @overlay0;
} }
.TargetElementViewable__AddSelectedChoiceButton-sc-1cp2mml-6 i { .TargetElementViewable__AddSelectedChoiceButton-sc-1cp2mml-6 i {
background: @accent-color; background: @accent;
color: @contrast-accent-color; color: @contrast;
} }
} }
.MatchingTable__Table-sc-1rhxmvo-1 { .MatchingTable__Table-sc-1rhxmvo-1 {
@@ -791,7 +789,7 @@
border-color: @overlay0; border-color: @overlay0;
} }
tr.isOver { tr.isOver {
outline-color: @accent-color; outline-color: @accent;
} }
} }
.ChoiceElementViewable__RootDiv-sc-viwu2x-0 { .ChoiceElementViewable__RootDiv-sc-viwu2x-0 {
@@ -799,7 +797,7 @@
border-color: @overlay0; border-color: @overlay0;
&:hover, &:hover,
&.highlight { &.highlight {
border-color: @accent-color; border-color: @accent;
background: @surface1; background: @surface1;
} }
.ChoiceElementViewable__LabelRichText-sc-viwu2x-4 { .ChoiceElementViewable__LabelRichText-sc-viwu2x-4 {
@@ -834,7 +832,7 @@
} }
.InlineChoiceOutput__InlineChoiceOutputDiv-sc-1694w84-2 { .InlineChoiceOutput__InlineChoiceOutputDiv-sc-1694w84-2 {
background: @surface0; background: @surface0;
border-color: @accent-color; border-color: @accent;
} }
.DrawingCardButton__RootButton-sc-u2qprg-1 { .DrawingCardButton__RootButton-sc-u2qprg-1 {
border-color: @overlay0; border-color: @overlay0;
@@ -853,12 +851,12 @@
.DrawingCardButton__IncompleteIndicatorDiv-sc-u2qprg-4 { .DrawingCardButton__IncompleteIndicatorDiv-sc-u2qprg-4 {
background: @yellow; background: @yellow;
svg path { svg path {
fill: @contrast-accent-color; fill: @contrast;
} }
} }
&:hover .DrawingCardButton__ShowYourWorkPseudoButtonDiv-sc-u2qprg-0 { &:hover .DrawingCardButton__ShowYourWorkPseudoButtonDiv-sc-u2qprg-0 {
background: @surface2; background: @surface2;
border-color: @accent-color; border-color: @accent;
} }
} }
.DragAndDropImageDropLocation__DropLocationContainerDiv-sc-oq3fcx-1 { .DragAndDropImageDropLocation__DropLocationContainerDiv-sc-oq3fcx-1 {
@@ -892,7 +890,7 @@
background: @surface2 !important; background: @surface2 !important;
} }
} }
border-color: @accent-color !important; border-color: @accent !important;
background: @surface0; background: @surface0;
.dropzone-number { .dropzone-number {
background: @surface1; background: @surface1;
@@ -912,7 +910,7 @@
} }
.DragAndDropDropzoneOutput__RootDiv-sc-1is7exh-0 { .DragAndDropDropzoneOutput__RootDiv-sc-1is7exh-0 {
background: @surface0; background: @surface0;
border-color: @accent-color; border-color: @accent;
&.hasAnswer { &.hasAnswer {
border-color: @overlay0; border-color: @overlay0;
} }
@@ -922,7 +920,7 @@
background: @green; background: @green;
} }
.material-icons-outlined { .material-icons-outlined {
color: @contrast-accent-color; color: @contrast;
} }
} }
.ShortAnswerViewableDetails__InputAutosizeTextarea-sc-1ugk4gk-0 { .ShortAnswerViewableDetails__InputAutosizeTextarea-sc-1ugk4gk-0 {
@@ -947,7 +945,7 @@
background: @surface0; background: @surface0;
} }
span { span {
color: @accent-color; color: @accent;
} }
} }
} }
@@ -993,7 +991,7 @@
color: @text; color: @text;
} }
.Thumb__RootSpan-sc-yv6w5k-0 { .Thumb__RootSpan-sc-yv6w5k-0 {
background: @accent-color; background: @accent;
z-index: 2; z-index: 2;
} }
.Segment__SegmentSpan-sc-r0cy9o-0 { .Segment__SegmentSpan-sc-r0cy9o-0 {
@@ -1022,14 +1020,14 @@
&, &,
.svg-icons, .svg-icons,
.material-icons-outlined { .material-icons-outlined {
color: @accent-color; color: @accent;
} }
} }
.selected { .selected {
&::after { &::after {
background: @accent-color; background: @accent;
} }
color: @accent-color; color: @accent;
} }
} }
.DrawingSidebar__ExpandedAnswerDiv-sc-1hvcy70-0 { .DrawingSidebar__ExpandedAnswerDiv-sc-1hvcy70-0 {
@@ -1050,21 +1048,21 @@
} }
.MathLiveInput__RootDiv-sc-tki2b-0 { .MathLiveInput__RootDiv-sc-tki2b-0 {
.keyboard-button-wrapper .svg-icons svg path { .keyboard-button-wrapper .svg-icons svg path {
fill: @accent-color !important; fill: @accent !important;
} }
color: @text; color: @text;
border-color: @overlay0; border-color: @overlay0;
background: @surface0; background: @surface0;
&:focus-within, &:focus-within,
&:hover { &:hover {
border-color: @accent-color; border-color: @accent;
} }
&.invalid { &.invalid {
color: @red; color: @red;
} }
math-field { math-field {
--caret-color: @accent-color; --caret-color: @accent;
--selection-background-color: fade(@accent-color, 50%); --selection-background-color: fade(@accent, 50%);
--selection-color: @text; --selection-color: @text;
--correct-color: @text; --correct-color: @text;
--incorrect-color: @red; --incorrect-color: @red;
@@ -1073,7 +1071,7 @@
} }
.ML__keyboard--plate { .ML__keyboard--plate {
--keyboard-text: @text; --keyboard-text: @text;
--keyboard-text-active: @accent-color; --keyboard-text-active: @accent;
--keyboard-background: @surface0; --keyboard-background: @surface0;
--keycap-background: @surface1; --keycap-background: @surface1;
--keycap-background-active: @surface2; --keycap-background-active: @surface2;
@@ -1081,7 +1079,7 @@
--keycap-background-border-bottom: @overlay0; --keycap-background-border-bottom: @overlay0;
--keycap-text: @text; --keycap-text: @text;
--keycap-secondary-text: @subtext0; --keycap-secondary-text: @subtext0;
--keycap-text-active: @accent-color; --keycap-text-active: @accent;
--keycap-modifier-background: @surface2; --keycap-modifier-background: @surface2;
--keycap-modifier-background-active: @overlay0; --keycap-modifier-background-active: @overlay0;
--keycap-modifier-border: @overlay1; --keycap-modifier-border: @overlay1;
@@ -1140,7 +1138,7 @@
} }
path[fill="rgb(255,255,255)"], path[fill="rgb(255,255,255)"],
path[fill="rgb(242,242,242)"] { path[fill="rgb(242,242,242)"] {
fill: @contrast-accent-color !important; fill: @contrast !important;
} }
path[stroke="rgb(32,213,171)"], path[stroke="rgb(32,213,171)"],
@@ -1165,7 +1163,7 @@
} }
path[stroke="rgb(255,255,255)"], path[stroke="rgb(255,255,255)"],
path[stroke="rgb(242,242,242)"] { path[stroke="rgb(242,242,242)"] {
stroke: @contrast-accent-color !important; stroke: @contrast !important;
} }
} }
} }
@@ -1189,25 +1187,25 @@
color: @text; color: @text;
} }
.NewselaServiceLoginButton__ActionDiv-sc-mk13mj-2 { .NewselaServiceLoginButton__ActionDiv-sc-mk13mj-2 {
color: @accent-color; color: @accent;
} }
} }
} }
.JoinQuickCode__StyledLink-sc-1uhfett-2, .JoinQuickCode__StyledLink-sc-1uhfett-2,
.CallToActionLink__StyledLink-sc-yuiy65-0, .CallToActionLink__StyledLink-sc-yuiy65-0,
.Login__ForgotLink-sc-5w2jun-1 { .Login__ForgotLink-sc-5w2jun-1 {
color: @accent-color; color: @accent;
} }
.react-code-input { .react-code-input {
input { input {
background: @surface1; background: @surface1;
border-color: @overlay0; border-color: @overlay0;
&:focus-within { &:focus-within {
border-color: @accent-color; border-color: @accent;
} }
} }
&:not(:focus-within).empty [data-id="0"] { &:not(:focus-within).empty [data-id="0"] {
border-color: @accent-color; border-color: @accent;
} }
} }
.JoinQuickCode__StyledPrimaryButton-sc-1uhfett-5 { .JoinQuickCode__StyledPrimaryButton-sc-1uhfett-5 {
@@ -1231,7 +1229,7 @@
} }
&, &,
.material-icons-outlined { .material-icons-outlined {
color: @contrast-accent-color; color: @contrast;
} }
} }
.FloatingToolButton__FloatingButton-sc-1gy4xsl-0 { .FloatingToolButton__FloatingButton-sc-1gy4xsl-0 {
@@ -1243,7 +1241,7 @@
background: @overlay1; background: @overlay1;
} }
.material-icons-outlined { .material-icons-outlined {
color: @accent-color; color: @accent;
} }
} }
.PracticeSet__StyledHeader-sc-1wup6tb-6 { .PracticeSet__StyledHeader-sc-1wup6tb-6 {
@@ -1259,7 +1257,7 @@
.HeaderBackLink__TertiaryButtonLink-sc-1vx1tro-0, .HeaderBackLink__TertiaryButtonLink-sc-1vx1tro-0,
.Button__StyledButton-sc-aum9f1-1 { .Button__StyledButton-sc-aum9f1-1 {
background: @surface1 !important; background: @surface1 !important;
color: @accent-color !important; color: @accent !important;
&:not([disabled]):hover { &:not([disabled]):hover {
background: @surface2; background: @surface2;
} }
@@ -1299,7 +1297,7 @@
color: @text; color: @text;
&:hover { &:hover {
background: @surface2; background: @surface2;
color: @accent-color; color: @accent;
} }
} }
} }
@@ -1316,9 +1314,9 @@
} }
.FileUploadButton__DropZoneDiv-sc-88u8tg-2 { .FileUploadButton__DropZoneDiv-sc-88u8tg-2 {
background: @surface0; background: @surface0;
border-color: @accent-color; border-color: @accent;
.material-icons-outlined { .material-icons-outlined {
color: @accent-color; color: @accent;
} }
} }
.DividerWord__LineDiv-sc-59xl7-1 { .DividerWord__LineDiv-sc-59xl7-1 {
@@ -1382,9 +1380,9 @@
background: @overlay0; background: @overlay0;
} }
&.active { &.active {
color: @accent-color; color: @accent;
svg { svg {
fill: @accent-color; fill: @accent;
} }
} }
svg { svg {
@@ -1402,7 +1400,7 @@
} }
.CookiePolicyBanner__ContainerDiv-sc-1p3fxjn-1 { .CookiePolicyBanner__ContainerDiv-sc-1p3fxjn-1 {
background: @surface0; background: @surface0;
border-color: @accent-color; border-color: @accent;
.Button__StyledButton-sc-aum9f1-1 { .Button__StyledButton-sc-aum9f1-1 {
background: @surface1; background: @surface1;
&:hover { &:hover {
@@ -1425,7 +1423,7 @@
.HeaderBackLink__TertiaryButtonLink-sc-1vx1tro-0, .HeaderBackLink__TertiaryButtonLink-sc-1vx1tro-0,
.Button__StyledButton-sc-aum9f1-1 { .Button__StyledButton-sc-aum9f1-1 {
background: @surface1; background: @surface1;
color: @accent-color; color: @accent;
&:hover { &:hover {
background: @surface2; background: @surface2;
} }
@@ -1437,11 +1435,11 @@
} }
&[aria-checked="true"], &[aria-checked="true"],
&[aria-checked="true"] div { &[aria-checked="true"] div {
outline-color: @accent-color !important; outline-color: @accent !important;
} }
} }
.TitleCard__StartButton-sc-xz0ejb-1 { .TitleCard__StartButton-sc-xz0ejb-1 {
background: @accent-color; background: @accent;
color: @base; color: @base;
} }
.QuizSession__BodyDiv-sc-4aco0-0 { .QuizSession__BodyDiv-sc-4aco0-0 {
@@ -1465,13 +1463,13 @@
background: @green; background: @green;
i, i,
span { span {
color: @contrast-accent-color; color: @contrast;
} }
} }
background: @red; background: @red;
i, i,
span { span {
color: @contrast-accent-color; color: @contrast;
} }
} }
.AnswerChoiceCard__CorrectnessOverlay-sc-lns4c-3 { .AnswerChoiceCard__CorrectnessOverlay-sc-lns4c-3 {
@@ -1479,7 +1477,7 @@
background: @green; background: @green;
} }
i { i {
color: @contrast-accent-color !important; color: @contrast !important;
} }
background: @red; background: @red;
} }
@@ -1489,8 +1487,8 @@
.MatchingSessionSummary__CheckmarkOverlayDiv-sc-d3unim-1 { .MatchingSessionSummary__CheckmarkOverlayDiv-sc-d3unim-1 {
background: @base; background: @base;
.Glow__RootDiv-sc-1c8wp5s-0 { .Glow__RootDiv-sc-1c8wp5s-0 {
background: @accent-color !important; background: @accent !important;
color: @contrast-accent-color; color: @contrast;
} }
.MatchingSessionSummary__SessionDiv-sc-d3unim-13 { .MatchingSessionSummary__SessionDiv-sc-d3unim-13 {
border-color: @overlay0; border-color: @overlay0;
@@ -1517,7 +1515,7 @@
background: @surface0; background: @surface0;
border-color: @overlay0; border-color: @overlay0;
.Glow__RootDiv-sc-1c8wp5s-0 { .Glow__RootDiv-sc-1c8wp5s-0 {
background: @accent-color !important; background: @accent !important;
} }
} }
} }
@@ -1533,13 +1531,13 @@
.StreakProgressBar__Progress-sc-1b8tyg3-2 { .StreakProgressBar__Progress-sc-1b8tyg3-2 {
background: @surface0; background: @surface0;
.StreakProgressBar__ProgressBarDiv-sc-1b8tyg3-3 { .StreakProgressBar__ProgressBarDiv-sc-1b8tyg3-3 {
background: @accent-color; background: @accent;
} }
} }
.StreakProgressBar__StyledSvgIcon-sc-1b8tyg3-4 { .StreakProgressBar__StyledSvgIcon-sc-1b8tyg3-4 {
svg path { svg path {
fill: @yellow; fill: @yellow;
stroke: @contrast-accent-color; stroke: @contrast;
} }
&.visible { &.visible {
animation: 0.5s ease 0s 1 normal none running animation: 0.5s ease 0s 1 normal none running
@@ -1547,7 +1545,7 @@
} }
} }
.PracticeSession__AnswerButton-sc-1t2vn9a-3 { .PracticeSession__AnswerButton-sc-1t2vn9a-3 {
color: @contrast-accent-color; color: @contrast;
&.red { &.red {
background: @red; background: @red;
} }
@@ -1559,7 +1557,7 @@
.PillToggleGroup__Item-sc-12fkyq8-1 { .PillToggleGroup__Item-sc-12fkyq8-1 {
&[aria-checked="true"] { &[aria-checked="true"] {
background: @surface0; background: @surface0;
color: @accent-color; color: @accent;
} }
&:hover { &:hover {
background: @surface0; background: @surface0;
@@ -1597,15 +1595,15 @@
} }
@keyframes catppuccin-formative-practiceset-quiz-streak { @keyframes catppuccin-formative-practiceset-quiz-streak {
0% { 0% {
filter: drop-shadow(fade(@yellow, 80) 0 0 0); filter: drop-shadow(fade(@yellow, 80%) 0 0 0);
transform: scale(0.8); transform: scale(0.8);
} }
50% { 50% {
filter: drop-shadow(fade(@yellow, 80) 0 0 12px); filter: drop-shadow(fade(@yellow, 80%) 0 0 12px);
transform: scale(1.3); transform: scale(1.3);
} }
100% { 100% {
filter: drop-shadow(fade(@yellow, 80) 0 0 0); filter: drop-shadow(fade(@yellow, 80%) 0 0 0);
transform: scale(1); transform: scale(1);
} }
} }
@@ -1615,15 +1613,15 @@
background: @surface1; background: @surface1;
&:hover { &:hover {
background: @surface2; background: @surface2;
box-shadow: @accent-color 0 0 0 1px; box-shadow: @accent 0 0 0 1px;
.label { .label {
color: @accent-color; color: @accent;
} }
} }
.ShelfTile__IconDiv-sc-1oc4c00-1 { .ShelfTile__IconDiv-sc-1oc4c00-1 {
background: @accent-color !important; background: @accent !important;
i { i {
color: @contrast-accent-color; color: @contrast;
} }
} }
} }
+39 -41
View File
@@ -17,50 +17,48 @@
@-moz-document domain("www.freedesktop.org"), @-moz-document domain("www.freedesktop.org"),
domain("specifications.freedesktop.org") { domain("specifications.freedesktop.org") {
@media (prefers-color-scheme: light) { :root {
:root { @media (prefers-color-scheme: light) {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
} @media (prefers-color-scheme: dark) {
@media (prefers-color-scheme: dark) { #catppuccin(@darkFlavor);
:root {
#catppuccin(@darkFlavor, @accentColor);
} }
} }
#catppuccin(@lookup, @accent) { #catppuccin(@flavor) {
@rosewater: @catppuccin[@@lookup][@rosewater]; @rosewater: @catppuccin[@@flavor][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo]; @flamingo: @catppuccin[@@flavor][@flamingo];
@pink: @catppuccin[@@lookup][@pink]; @pink: @catppuccin[@@flavor][@pink];
@mauve: @catppuccin[@@lookup][@mauve]; @mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@lookup][@red]; @red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@lookup][@maroon]; @maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@lookup][@peach]; @peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@lookup][@yellow]; @yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@lookup][@green]; @green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@lookup][@teal]; @teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@lookup][@sky]; @sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@lookup][@sapphire]; @sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@lookup][@blue]; @blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@lookup][@lavender]; @lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@lookup][@text]; @text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@lookup][@subtext1]; @subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@lookup][@subtext0]; @subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@lookup][@overlay2]; @overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@lookup][@overlay1]; @overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@lookup][@overlay0]; @overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@lookup][@surface2]; @surface2: @catppuccin[@@flavor][@surface2];
@surface1: @catppuccin[@@lookup][@surface1]; @surface1: @catppuccin[@@flavor][@surface1];
@surface0: @catppuccin[@@lookup][@surface0]; @surface0: @catppuccin[@@flavor][@surface0];
@base: @catppuccin[@@lookup][@base]; @base: @catppuccin[@@flavor][@base];
@mantle: @catppuccin[@@lookup][@mantle]; @mantle: @catppuccin[@@flavor][@mantle];
@crust: @catppuccin[@@lookup][@crust]; @crust: @catppuccin[@@flavor][@crust];
@accent-color: @catppuccin[@@lookup][@@accent]; @accent: @catppuccin[@@flavor][@@accentColor];
color-scheme: if(@lookup = latte, light, dark); color-scheme: if(@flavor = latte, light, dark);
::selection { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
input, input,
@@ -78,7 +76,7 @@
#content h1, #content h1,
#content h2, #content h2,
#content h3 { #content h3 {
color: @accent-color; color: @accent;
} }
.pageheader { .pageheader {
@@ -90,8 +88,8 @@
.pageheader .actions ul li a, .pageheader .actions ul li a,
input[type="submit"] { input[type="submit"] {
background-color: transparent; background-color: transparent;
color: @accent-color; color: @accent;
border-color: @accent-color; border-color: @accent;
} }
input#searchbox { input#searchbox {
@@ -100,7 +98,7 @@
border-color: @overlay1; border-color: @overlay1;
box-shadow: none; box-shadow: none;
&:focus { &:focus {
border-color: @accent-color; border-color: @accent;
outline-color: none; outline-color: none;
outline-style: none; outline-style: none;
} }
+38 -42
View File
@@ -18,47 +18,43 @@
@-moz-document domain("ghostty.org") { @-moz-document domain("ghostty.org") {
@import url("https://unpkg.com/@catppuccin/[email protected]/css/catppuccin-variables.important.css"); @import url("https://unpkg.com/@catppuccin/[email protected]/css/catppuccin-variables.important.css");
@media (prefers-color-scheme: light) { html, body {
:root, @media (prefers-color-scheme: light) {
body { #catppuccin(@lightFlavor);
#catppuccin(@lightFlavor, @accentColor);
} }
} @media (prefers-color-scheme: dark) {
@media (prefers-color-scheme: dark) { #catppuccin(@darkFlavor);
:root,
body {
#catppuccin(@darkFlavor, @accentColor);
} }
} }
#catppuccin(@lookup, @accent) { #catppuccin(@flavor) {
@rosewater: @catppuccin[@@lookup][@rosewater]; @rosewater: @catppuccin[@@flavor][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo]; @flamingo: @catppuccin[@@flavor][@flamingo];
@pink: @catppuccin[@@lookup][@pink]; @pink: @catppuccin[@@flavor][@pink];
@mauve: @catppuccin[@@lookup][@mauve]; @mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@lookup][@red]; @red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@lookup][@maroon]; @maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@lookup][@peach]; @peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@lookup][@yellow]; @yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@lookup][@green]; @green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@lookup][@teal]; @teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@lookup][@sky]; @sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@lookup][@sapphire]; @sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@lookup][@blue]; @blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@lookup][@lavender]; @lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@lookup][@text]; @text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@lookup][@subtext1]; @subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@lookup][@subtext0]; @subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@lookup][@overlay2]; @overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@lookup][@overlay1]; @overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@lookup][@overlay0]; @overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@lookup][@surface2]; @surface2: @catppuccin[@@flavor][@surface2];
@surface1: @catppuccin[@@lookup][@surface1]; @surface1: @catppuccin[@@flavor][@surface1];
@surface0: @catppuccin[@@lookup][@surface0]; @surface0: @catppuccin[@@flavor][@surface0];
@base: @catppuccin[@@lookup][@base]; @base: @catppuccin[@@flavor][@base];
@mantle: @catppuccin[@@lookup][@mantle]; @mantle: @catppuccin[@@flavor][@mantle];
@crust: @catppuccin[@@lookup][@crust]; @crust: @catppuccin[@@flavor][@crust];
@accent-color: @catppuccin[@@lookup][@@accent]; @accent: @catppuccin[@@flavor][@@accentColor];
--ctp-rosewater: @rosewater; --ctp-rosewater: @rosewater;
--ctp-flamingo: @flamingo; --ctp-flamingo: @flamingo;
@@ -87,10 +83,10 @@
--ctp-mantle: @mantle; --ctp-mantle: @mantle;
--ctp-crust: @crust; --ctp-crust: @crust;
color-scheme: if(@lookup = latte, light, dark); color-scheme: if(@flavor = latte, light, dark);
::selection { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
input, input,
@@ -100,8 +96,8 @@
} }
} }
--brand-color: @accent-color; --brand-color: @accent;
--brand-color-hsl: #hslify(@accent-color)[]; --brand-color-hsl: #hslify(@accent)[];
--gray-0: @base; --gray-0: @base;
--gray-1: @surface0; --gray-1: @surface0;
--gray-2: @surface1; --gray-2: @surface1;
@@ -128,7 +124,7 @@
img[alt="Ghostty"] { img[alt="Ghostty"] {
@svg: escape( @svg: escape(
'<svg width="132" height="32" viewBox="0 0 132 32" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M48.495 6.592c4.714 0 7.368 2.706 7.635 6.43h-2.68c-.295-2.571-2.009-4.017-4.822-4.017h-.267c-3.75 0-6.297 2.705-6.297 7.234 0 4.476 2.546 7.235 6.297 7.235h.267c3.296 0 5.226-2.01 5.226-4.476v-.508h-5.36v-2.384h5.493c1.475 0 2.277.775 2.277 2.276v7.234H53.85V23.5c-.616.937-2.492 2.384-5.359 2.384-5.438 0-9.11-4.047-9.11-9.645 0-5.626 3.564-9.644 9.11-9.644zm10.287.27h2.546v7.235c.883-1.313 2.25-2.143 4.287-2.143 3.027 0 4.823 1.875 4.823 4.688v8.977h-2.546v-8.44c0-1.955-.884-3.08-2.706-3.08h-.213c-1.93 0-3.643 1.526-3.643 4.018v7.502h-2.546V6.862zm20.067 5.09c3.617 0 6.43 2.867 6.43 6.964 0 4.1-2.813 6.965-6.43 6.965s-6.43-2.867-6.43-6.965c0-4.1 2.813-6.965 6.43-6.965m.108 11.789c2.197 0 3.777-1.768 3.777-4.822s-1.58-4.822-3.777-4.822h-.213c-2.197 0-3.777 1.767-3.777 4.822 0 3.054 1.58 4.822 3.776 4.822zm10.207-2.279c.134 1.475 1.339 2.277 2.975 2.277h.213c1.42 0 2.492-.67 2.492-1.742 0-.884-.508-1.475-1.821-1.714l-1.955-.375c-2.359-.455-3.913-1.688-3.913-3.83 0-2.6 2.33-4.127 5.064-4.127 3.455 0 5.305 1.822 5.305 4.422h-2.546c-.134-1.287-1.1-2.277-2.626-2.277h-.213c-1.475 0-2.438.75-2.438 1.714 0 .884.616 1.475 1.875 1.714l2.117.429c2.25.455 3.697 1.662 3.697 3.913 0 2.412-2.17 4.018-5.277 4.018-3.51 0-5.33-1.822-5.493-4.422h2.546zm24.864 1.876c-.776 0-1.071-.296-1.071-1.072v-7.85h3.214v-2.197h-3.214v-4.34h-2.546v4.34h-6.164v-4.34h-2.546v4.34h-2.946v2.196h2.946v8.252c0 1.85 1.1 2.947 2.947 2.947h3.214v-2.276h-2.546c-.776 0-1.071-.296-1.071-1.072v-7.85h6.163v8.251c0 1.85 1.1 2.947 2.947 2.947h3.214v-2.276h-2.546zm17.174-11.12-6.402 16.21c-.696 1.687-1.58 2.142-3.268 2.142h-3.055v-2.276h2.652c.938 0 1.287-.242 1.608-1.018l.804-2.037-5.868-13.02h2.706l4.393 9.752 3.805-9.752z" fill="@{text}"/><path d="M20.396 32a6.35 6.35 0 0 1-3.517-1.067A6.36 6.36 0 0 1 13.362 32a6.35 6.35 0 0 1-3.516-1.067A6.27 6.27 0 0 1 6.372 32h-.038a6.26 6.26 0 0 1-4.5-1.906 6.38 6.38 0 0 1-1.836-4.482v-12.25C0 5.995 5.994 0 13.363 0s13.362 5.994 13.362 13.363v12.253c0 3.393-2.626 6.192-5.978 6.375q-.175.01-.352.009" fill="@{accent-color}"/><path d="M20.396 30.593a4.93 4.93 0 0 1-3.08-1.083.66.66 0 0 0-.42-.145.8.8 0 0 0-.488.176 4.94 4.94 0 0 1-3.046 1.055 4.94 4.94 0 0 1-3.045-1.055.75.75 0 0 0-.942 0 4.9 4.9 0 0 1-3.01 1.055h-.033a4.85 4.85 0 0 1-3.49-1.482 4.98 4.98 0 0 1-1.436-3.498V13.367c0-6.597 5.364-11.96 11.957-11.96 6.592 0 11.956 5.363 11.956 11.956v12.253c0 2.645-2.042 4.827-4.65 4.97a5 5 0 0 1-.274.007" fill="@{crust}"/><path d="M23.912 13.363v12.253c0 1.876-1.447 3.463-3.32 3.566a3.5 3.5 0 0 1-2.398-.769c-.778-.626-1.873-.598-2.658.021a3.5 3.5 0 0 1-2.176.753 3.5 3.5 0 0 1-2.173-.753 2.15 2.15 0 0 0-2.684 0 3.5 3.5 0 0 1-2.15.753c-1.948.014-3.54-1.627-3.54-3.575v-12.25c0-5.825 4.724-10.549 10.55-10.549 5.825 0 10.549 4.724 10.549 10.55" fill="@{text}"/><path d="m11.28 12.437-3.93-2.27a1.07 1.07 0 0 0-1.463.392 1.07 1.07 0 0 0 .391 1.463l2.326 1.343-2.326 1.343a1.072 1.072 0 0 0 1.071 1.855l3.932-2.27a1.07 1.07 0 0 0 0-1.854zm8.902-.146h-5.164a1.071 1.071 0 1 0 0 2.143h5.164a1.071 1.071 0 1 0 0-2.143" fill="@{crust}"/></svg>' '<svg width="132" height="32" viewBox="0 0 132 32" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M48.495 6.592c4.714 0 7.368 2.706 7.635 6.43h-2.68c-.295-2.571-2.009-4.017-4.822-4.017h-.267c-3.75 0-6.297 2.705-6.297 7.234 0 4.476 2.546 7.235 6.297 7.235h.267c3.296 0 5.226-2.01 5.226-4.476v-.508h-5.36v-2.384h5.493c1.475 0 2.277.775 2.277 2.276v7.234H53.85V23.5c-.616.937-2.492 2.384-5.359 2.384-5.438 0-9.11-4.047-9.11-9.645 0-5.626 3.564-9.644 9.11-9.644zm10.287.27h2.546v7.235c.883-1.313 2.25-2.143 4.287-2.143 3.027 0 4.823 1.875 4.823 4.688v8.977h-2.546v-8.44c0-1.955-.884-3.08-2.706-3.08h-.213c-1.93 0-3.643 1.526-3.643 4.018v7.502h-2.546V6.862zm20.067 5.09c3.617 0 6.43 2.867 6.43 6.964 0 4.1-2.813 6.965-6.43 6.965s-6.43-2.867-6.43-6.965c0-4.1 2.813-6.965 6.43-6.965m.108 11.789c2.197 0 3.777-1.768 3.777-4.822s-1.58-4.822-3.777-4.822h-.213c-2.197 0-3.777 1.767-3.777 4.822 0 3.054 1.58 4.822 3.776 4.822zm10.207-2.279c.134 1.475 1.339 2.277 2.975 2.277h.213c1.42 0 2.492-.67 2.492-1.742 0-.884-.508-1.475-1.821-1.714l-1.955-.375c-2.359-.455-3.913-1.688-3.913-3.83 0-2.6 2.33-4.127 5.064-4.127 3.455 0 5.305 1.822 5.305 4.422h-2.546c-.134-1.287-1.1-2.277-2.626-2.277h-.213c-1.475 0-2.438.75-2.438 1.714 0 .884.616 1.475 1.875 1.714l2.117.429c2.25.455 3.697 1.662 3.697 3.913 0 2.412-2.17 4.018-5.277 4.018-3.51 0-5.33-1.822-5.493-4.422h2.546zm24.864 1.876c-.776 0-1.071-.296-1.071-1.072v-7.85h3.214v-2.197h-3.214v-4.34h-2.546v4.34h-6.164v-4.34h-2.546v4.34h-2.946v2.196h2.946v8.252c0 1.85 1.1 2.947 2.947 2.947h3.214v-2.276h-2.546c-.776 0-1.071-.296-1.071-1.072v-7.85h6.163v8.251c0 1.85 1.1 2.947 2.947 2.947h3.214v-2.276h-2.546zm17.174-11.12-6.402 16.21c-.696 1.687-1.58 2.142-3.268 2.142h-3.055v-2.276h2.652c.938 0 1.287-.242 1.608-1.018l.804-2.037-5.868-13.02h2.706l4.393 9.752 3.805-9.752z" fill="@{text}"/><path d="M20.396 32a6.35 6.35 0 0 1-3.517-1.067A6.36 6.36 0 0 1 13.362 32a6.35 6.35 0 0 1-3.516-1.067A6.27 6.27 0 0 1 6.372 32h-.038a6.26 6.26 0 0 1-4.5-1.906 6.38 6.38 0 0 1-1.836-4.482v-12.25C0 5.995 5.994 0 13.363 0s13.362 5.994 13.362 13.363v12.253c0 3.393-2.626 6.192-5.978 6.375q-.175.01-.352.009" fill="@{accent}"/><path d="M20.396 30.593a4.93 4.93 0 0 1-3.08-1.083.66.66 0 0 0-.42-.145.8.8 0 0 0-.488.176 4.94 4.94 0 0 1-3.046 1.055 4.94 4.94 0 0 1-3.045-1.055.75.75 0 0 0-.942 0 4.9 4.9 0 0 1-3.01 1.055h-.033a4.85 4.85 0 0 1-3.49-1.482 4.98 4.98 0 0 1-1.436-3.498V13.367c0-6.597 5.364-11.96 11.957-11.96 6.592 0 11.956 5.363 11.956 11.956v12.253c0 2.645-2.042 4.827-4.65 4.97a5 5 0 0 1-.274.007" fill="@{crust}"/><path d="M23.912 13.363v12.253c0 1.876-1.447 3.463-3.32 3.566a3.5 3.5 0 0 1-2.398-.769c-.778-.626-1.873-.598-2.658.021a3.5 3.5 0 0 1-2.176.753 3.5 3.5 0 0 1-2.173-.753 2.15 2.15 0 0 0-2.684 0 3.5 3.5 0 0 1-2.15.753c-1.948.014-3.54-1.627-3.54-3.575v-12.25c0-5.825 4.724-10.549 10.55-10.549 5.825 0 10.549 4.724 10.549 10.55" fill="@{text}"/><path d="m11.28 12.437-3.93-2.27a1.07 1.07 0 0 0-1.463.392 1.07 1.07 0 0 0 .391 1.463l2.326 1.343-2.326 1.343a1.072 1.072 0 0 0 1.071 1.855l3.932-2.27a1.07 1.07 0 0 0 0-1.854zm8.902-.146h-5.164a1.071 1.071 0 1 0 0 2.143h5.164a1.071 1.071 0 1 0 0-2.143" fill="@{crust}"/></svg>'
); );
content: url("data:image/svg+xml,@{svg}"); content: url("data:image/svg+xml,@{svg}");
} }
+193 -193
View File
@@ -22,29 +22,29 @@
[data-color-mode="auto"] { [data-color-mode="auto"] {
@media (prefers-color-scheme: light) { @media (prefers-color-scheme: light) {
&[data-light-theme="light"] { &[data-light-theme="light"] {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
&[data-light-theme="dark"] { &[data-light-theme="dark"] {
#catppuccin(@darkFlavor, @accentColor); #catppuccin(@darkFlavor);
} }
} }
@media (prefers-color-scheme: dark) { @media (prefers-color-scheme: dark) {
&[data-dark-theme="light"] { &[data-dark-theme="light"] {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
&[data-dark-theme="dark"] { &[data-dark-theme="dark"] {
#catppuccin(@darkFlavor, @accentColor); #catppuccin(@darkFlavor);
} }
} }
} }
[data-color-mode="light"][data-light-theme="dark"], [data-color-mode="light"][data-light-theme="dark"],
[data-color-mode="dark"][data-dark-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="light"][data-light-theme="light"],
[data-color-mode="dark"][data-dark-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"]) html:not([data-light-theme="light"], [data-light-theme="dark"])
@@ -64,39 +64,39 @@
z-index: 9999; z-index: 9999;
} }
#catppuccin(@lookup, @accent) { #catppuccin(@flavor) {
@rosewater: @catppuccin[@@lookup][@rosewater]; @rosewater: @catppuccin[@@flavor][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo]; @flamingo: @catppuccin[@@flavor][@flamingo];
@pink: @catppuccin[@@lookup][@pink]; @pink: @catppuccin[@@flavor][@pink];
@mauve: @catppuccin[@@lookup][@mauve]; @mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@lookup][@red]; @red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@lookup][@maroon]; @maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@lookup][@peach]; @peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@lookup][@yellow]; @yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@lookup][@green]; @green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@lookup][@teal]; @teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@lookup][@sky]; @sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@lookup][@sapphire]; @sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@lookup][@blue]; @blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@lookup][@lavender]; @lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@lookup][@text]; @text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@lookup][@subtext1]; @subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@lookup][@subtext0]; @subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@lookup][@overlay2]; @overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@lookup][@overlay1]; @overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@lookup][@overlay0]; @overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@lookup][@surface2]; @surface2: @catppuccin[@@flavor][@surface2];
@surface1: @catppuccin[@@lookup][@surface1]; @surface1: @catppuccin[@@flavor][@surface1];
@surface0: @catppuccin[@@lookup][@surface0]; @surface0: @catppuccin[@@flavor][@surface0];
@base: @catppuccin[@@lookup][@base]; @base: @catppuccin[@@flavor][@base];
@mantle: @catppuccin[@@lookup][@mantle]; @mantle: @catppuccin[@@flavor][@mantle];
@crust: @catppuccin[@@lookup][@crust]; @crust: @catppuccin[@@flavor][@crust];
@accent-color: @catppuccin[@@lookup][@@accent]; @accent: @catppuccin[@@flavor][@@accentColor];
color-scheme: if(@lookup = latte, light, dark); color-scheme: if(@flavor = latte, light, dark);
::selection { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
input, input,
@@ -109,50 +109,50 @@
color: @subtext0; color: @subtext0;
} }
accent-color: @accent-color; accent-color: @accent;
color: @text; color: @text;
--color-social-reaction-bg-reacted-hover: fade(@accent-color, 30%); --color-social-reaction-bg-reacted-hover: fade(@accent, 30%);
--color-notifications-button-hover-bg: fade(@accent-color, 60%); --color-notifications-button-hover-bg: fade(@accent, 60%);
--color-workflow-card-header-shadow: rgba(27, 31, 35, 0.04); --color-workflow-card-header-shadow: rgba(27, 31, 35, 0.04);
--color-icon-directory: var(--fgColor-muted, var(--color-fg-muted)); --color-icon-directory: var(--fgColor-muted, var(--color-fg-muted));
--color-calendar-halloween-graph-day-L1-bg: fadeout( --color-calendar-halloween-graph-day-L1-bg: fade(
@accent-color, @accent,
60%
) !important;
--color-calendar-halloween-graph-day-L2-bg: fadeout(
@accent-color,
40% 40%
) !important; ) !important;
--color-calendar-halloween-graph-day-L3-bg: fadeout( --color-calendar-halloween-graph-day-L2-bg: fade(
@accent-color, @accent,
20%
) !important;
--color-calendar-halloween-graph-day-L4-bg: @accent-color !important;
--color-calendar-winter-graph-day-L1-bg: fadeout(
@accent-color,
60% 60%
) !important; ) !important;
--color-calendar-winter-graph-day-L2-bg: fadeout( --color-calendar-halloween-graph-day-L3-bg: fade(
@accent-color, @accent,
80%
) !important;
--color-calendar-halloween-graph-day-L4-bg: @accent !important;
--color-calendar-winter-graph-day-L1-bg: fade(
@accent,
40% 40%
) !important; ) !important;
--color-calendar-winter-graph-day-L3-bg: fadeout( --color-calendar-winter-graph-day-L2-bg: fade(
@accent-color, @accent,
20% 60%
) !important; ) !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-bg: @surface0 !important;
--color-calendar-graph-day-border: transparent !important; --color-calendar-graph-day-border: transparent !important;
--color-calendar-graph-day-L1-bg: fadeout(@accent-color, 60%) !important; --color-calendar-graph-day-L1-bg: fade(@accent, 40%) !important;
--color-calendar-graph-day-L2-bg: fadeout(@accent-color, 40%) !important; --color-calendar-graph-day-L2-bg: fade(@accent, 60%) !important;
--color-calendar-graph-day-L3-bg: fadeout(@accent-color, 20%) !important; --color-calendar-graph-day-L3-bg: fade(@accent, 80%) !important;
--color-calendar-graph-day-L4-bg: @accent-color !important; --color-calendar-graph-day-L4-bg: @accent !important;
--color-calendar-graph-day-L2-border: transparent !important; --color-calendar-graph-day-L2-border: transparent !important;
--color-calendar-graph-day-L3-border: transparent !important; --color-calendar-graph-day-L3-border: transparent !important;
--color-calendar-graph-day-L4-border: transparent !important; --color-calendar-graph-day-L4-border: transparent !important;
--color-user-mention-fg: @accent-color; --color-user-mention-fg: @accent;
--color-user-mention-bg: fade(@accent-color, 30%); --color-user-mention-bg: fade(@accent, 30%);
--color-dashboard-feed-bg: var(--color-scale-gray-9); --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-mktg-btn-shadow-outline: rgba(255, 255, 255, 0.25) 0 0 0 1px inset;
--color-marketing-icon-secondary: var(--color-scale-blue-5); --color-marketing-icon-secondary: var(--color-scale-blue-5);
@@ -164,19 +164,19 @@
--topicTag-borderColor: #0000; --topicTag-borderColor: #0000;
--highlight-neutral-bgColor: fade(@yellow, 30%); --highlight-neutral-bgColor: fade(@yellow, 30%);
--page-header-bgColor: @crust; --page-header-bgColor: @crust;
--diffBlob-additionNum-bgColor: fadeout(@green, 70%); --diffBlob-additionNum-bgColor: fade(@green, 30%);
--diffBlob-additionNum-fgColor: @text; --diffBlob-additionNum-fgColor: @text;
--diffBlob-additionLine-bgColor: fadeout(@green, 85%); --diffBlob-additionLine-bgColor: fade(@green, 15%);
--diffBlob-additionWord-bgColor: fadeout(@green, 70%); --diffBlob-additionWord-bgColor: fade(@green, 30%);
--diffBlob-additionWord-fgColor: @text; --diffBlob-additionWord-fgColor: @text;
--diffBlob-deletionNum-bgColor: fadeout(@red, 70%); --diffBlob-deletionNum-bgColor: fade(@red, 30%);
--diffBlob-deletionNum-fgColor: @text; --diffBlob-deletionNum-fgColor: @text;
--diffBlob-deletionLine-bgColor: fadeout(@red, 85%); --diffBlob-deletionLine-bgColor: fade(@red, 15%);
--diffBlob-deletionWord-bgColor: fadeout(@red, 70%); --diffBlob-deletionWord-bgColor: fade(@red, 30%);
--diffBlob-deletionWord-fgColor: @text; --diffBlob-deletionWord-fgColor: @text;
--diffBlob-hunkNum-bgColor-rest: fadeout(@accent-color, 60%); --diffBlob-hunkNum-bgColor-rest: fade(@accent, 40%);
--diffBlob-hunkNum-bgColor-hover: fade(@accent-color, 75%); --diffBlob-hunkNum-bgColor-hover: fade(@accent, 75%);
--diffBlob-hunkLine-bgColor: fadeout(@accent-color, 75%); --diffBlob-hunkLine-bgColor: fade(@accent, 25%);
--diffBlob-expander-iconColor: @subtext0; --diffBlob-expander-iconColor: @subtext0;
--diffBlob-emptyNum-bgColor: @mantle; --diffBlob-emptyNum-bgColor: @mantle;
--diffBlob-emptyLine-bgColor: @mantle; --diffBlob-emptyLine-bgColor: @mantle;
@@ -238,15 +238,15 @@
--control-danger-fgColor-hover: @crust; --control-danger-fgColor-hover: @crust;
--control-danger-bgColor-hover: fade(@red, 80%); --control-danger-bgColor-hover: fade(@red, 80%);
--control-danger-bgColor-active: @red; --control-danger-bgColor-active: @red;
--control-checked-bgColor-rest: @accent-color; --control-checked-bgColor-rest: @accent;
--control-checked-bgColor-hover: lighten(@accent-color, 5%); --control-checked-bgColor-hover: lighten(@accent, 5%);
--control-checked-bgColor-active: lighten(@accent-color, 5%); --control-checked-bgColor-active: lighten(@accent, 5%);
--control-checked-bgColor-disabled: #6e7681; --control-checked-bgColor-disabled: #6e7681;
--control-checked-fgColor-rest: @crust; --control-checked-fgColor-rest: @crust;
--control-checked-fgColor-disabled: #010409; --control-checked-fgColor-disabled: #010409;
--control-checked-borderColor-rest: @accent-color; --control-checked-borderColor-rest: @accent;
--control-checked-borderColor-hover: @accent-color; --control-checked-borderColor-hover: @accent;
--control-checked-borderColor-active: @accent-color; --control-checked-borderColor-active: @accent;
--control-checked-borderColor-disabled: @surface0; --control-checked-borderColor-disabled: @surface0;
--controlTrack-bgColor-rest: @surface0; --controlTrack-bgColor-rest: @surface0;
--controlTrack-bgColor-hover: @surface1; --controlTrack-bgColor-hover: @surface1;
@@ -286,7 +286,7 @@
--button-primary-borderColor-disabled: fade(@green, 70%); --button-primary-borderColor-disabled: fade(@green, 70%);
--button-primary-shadow-selected: 0px 0px 0px 0px #000; --button-primary-shadow-selected: 0px 0px 0px 0px #000;
--button-invisible-fgColor-rest: @text; --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-fgColor-disabled: #6e7681;
--button-invisible-iconColor-rest: @overlay2; --button-invisible-iconColor-rest: @overlay2;
--button-invisible-iconColor-hover: #e6edf3; --button-invisible-iconColor-hover: #e6edf3;
@@ -341,7 +341,7 @@
--buttonCounter-danger-fgColor-rest: @red; --buttonCounter-danger-fgColor-rest: @red;
--buttonCounter-danger-fgColor-hover: @text; --buttonCounter-danger-fgColor-hover: @text;
--buttonCounter-danger-fgColor-disabled: fade(@red, 50%); --buttonCounter-danger-fgColor-disabled: fade(@red, 50%);
--focus-outlineColor: @accent-color; --focus-outlineColor: @accent;
--menu-bgColor-active: @mantle; --menu-bgColor-active: @mantle;
--overlay-bgColor: @base; --overlay-bgColor: @base;
--overlay-borderColor: @surface0; --overlay-borderColor: @surface0;
@@ -352,22 +352,22 @@
--skeletonLoader-bgColor: #161b22; --skeletonLoader-bgColor: #161b22;
--timelineBadge-bgColor: @mantle; --timelineBadge-bgColor: @mantle;
--treeViewItem-leadingVisual-iconColor-rest: @subtext0; --treeViewItem-leadingVisual-iconColor-rest: @subtext0;
--underlineNav-borderColor-active: @accent-color; --underlineNav-borderColor-active: @accent;
--underlineNav-borderColor-hover: #6e768166; --underlineNav-borderColor-hover: #6e768166;
--underlineNav-iconColor-rest: #848d97; --underlineNav-iconColor-rest: #848d97;
--selection-bgColor: fade(@accent-color, 30%); --selection-bgColor: fade(@accent, 30%);
--reactionButton-selected-bgColor-rest: fade(@accent-color, 20%); --reactionButton-selected-bgColor-rest: fade(@accent, 20%);
--reactionButton-selected-bgColor-hover: fade(@accent-color, 35%); --reactionButton-selected-bgColor-hover: fade(@accent, 35%);
--reactionButton-selected-fgColor-rest: @accent-color; --reactionButton-selected-fgColor-rest: @accent;
--reactionButton-selected-fgColor-hover: @accent-color; --reactionButton-selected-fgColor-hover: @accent;
--fgColor-default: @text; --fgColor-default: @text;
--fgColor-muted: @subtext1; --fgColor-muted: @subtext1;
--fgColor-onEmphasis: @base; --fgColor-onEmphasis: @base;
--fgColor-white: if(@lookup = latte, @crust, @text); --fgColor-white: if(@flavor = latte, @crust, @text);
--fgColor-disabled: @surface2; --fgColor-disabled: @surface2;
--fgColor-link: @accent-color; --fgColor-link: @accent;
--fgColor-neutral: @subtext1; --fgColor-neutral: @subtext1;
--fgColor-accent: @accent-color; --fgColor-accent: @accent;
--fgColor-success: @green; --fgColor-success: @green;
--fgColor-attention: @yellow; --fgColor-attention: @yellow;
--fgColor-severe: @peach; --fgColor-severe: @peach;
@@ -385,8 +385,8 @@
--bgColor-transparent: #0000; --bgColor-transparent: #0000;
--bgColor-neutral-muted: fade(@surface0, 40%); --bgColor-neutral-muted: fade(@surface0, 40%);
--bgColor-neutral-emphasis: @subtext0; --bgColor-neutral-emphasis: @subtext0;
--bgColor-accent-muted: fade(@accent-color, 20%); --bgColor-accent-muted: fade(@accent, 20%);
--bgColor-accent-emphasis: @accent-color; --bgColor-accent-emphasis: @accent;
--bgColor-success-muted: #2ea04326; --bgColor-success-muted: #2ea04326;
--bgColor-success-emphasis: @green; --bgColor-success-emphasis: @green;
--bgColor-attention-muted: fade(@yellow, 15%); --bgColor-attention-muted: fade(@yellow, 15%);
@@ -410,8 +410,8 @@
--borderColor-transparent: #0000; --borderColor-transparent: #0000;
--borderColor-neutral-muted: #6e768166; --borderColor-neutral-muted: #6e768166;
--borderColor-neutral-emphasis: #6e7681; --borderColor-neutral-emphasis: #6e7681;
--borderColor-accent-muted: fade(@accent-color, 50%); --borderColor-accent-muted: fade(@accent, 50%);
--borderColor-accent-emphasis: @accent-color; --borderColor-accent-emphasis: @accent;
--borderColor-success-muted: darken(@green, 5%); --borderColor-success-muted: darken(@green, 5%);
--borderColor-success-emphasis: @green; --borderColor-success-emphasis: @green;
--borderColor-attention-muted: fade(@flamingo, 30%); --borderColor-attention-muted: fade(@flamingo, 30%);
@@ -428,14 +428,14 @@
--borderColor-done-emphasis: @mauve; --borderColor-done-emphasis: @mauve;
--borderColor-sponsors-muted: #db61a266; --borderColor-sponsors-muted: #db61a266;
--borderColor-sponsors-emphasis: @pink; --borderColor-sponsors-emphasis: @pink;
& when (@lookup = latte) { & when (@flavor = latte) {
--color-ansi-black: @subtext1; --color-ansi-black: @subtext1;
--color-ansi-black-bright: @subtext0; --color-ansi-black-bright: @subtext0;
--color-ansi-gray: @subtext0; --color-ansi-gray: @subtext0;
--color-ansi-white: @surface2; --color-ansi-white: @surface2;
--color-ansi-white-bright: @surface1; --color-ansi-white-bright: @surface1;
} }
& when not(@lookup = latte) { & when not(@flavor = latte) {
--color-ansi-black: @surface1; --color-ansi-black: @surface1;
--color-ansi-black-bright: @surface2; --color-ansi-black-bright: @surface2;
--color-ansi-gray: @surface2; --color-ansi-gray: @surface2;
@@ -464,16 +464,16 @@
--color-prettylights-syntax-string: @green; --color-prettylights-syntax-string: @green;
--color-prettylights-syntax-variable: @peach; --color-prettylights-syntax-variable: @peach;
--color-prettylights-syntax-invalid-illegal-text: @red; --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-heading: @red;
--color-prettylights-syntax-markup-italic: @yellow; --color-prettylights-syntax-markup-italic: @yellow;
--color-prettylights-syntax-markup-bold: @yellow; --color-prettylights-syntax-markup-bold: @yellow;
--color-prettylights-syntax-markup-deleted-text: @text; --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-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-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; --color-prettylights-syntax-markup-ignored-text: @text;
--bgColor-white: @base; --bgColor-white: @base;
--color-scale-white: @base; --color-scale-white: @base;
@@ -511,13 +511,13 @@
&:hover { &:hover {
.octicon, .octicon,
h3 { h3 {
color: @accent-color !important; color: @accent !important;
} }
} }
} }
/* Enhanced Repo Insights Views - https://github.com/orgs/community/discussions/135572 */ /* 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-red-color-emphasis: @red;
--data-green-color-emphasis: @green; --data-green-color-emphasis: @green;
@@ -542,7 +542,7 @@
--rgh-heat-color: @peach; --rgh-heat-color: @peach;
.turbo-progress-bar { .turbo-progress-bar {
background-color: @accent-color; background-color: @accent;
} }
.form-select { .form-select {
@@ -578,8 +578,8 @@
} }
.notification-indicator .mail-status { .notification-indicator .mail-status {
background-image: linear-gradient( background-image: linear-gradient(
@accent-color, @accent,
darken(@accent-color, 5%) darken(@accent, 5%)
); );
} }
@@ -608,12 +608,12 @@
} }
.js-activity-overview-graph .js-highlight-blob { .js-activity-overview-graph .js-highlight-blob {
fill: @accent-color; fill: @accent;
stroke: @accent-color; stroke: @accent;
} }
.subnav-link.selected { .subnav-link.selected {
border-bottom-color: @accent-color; border-bottom-color: @accent;
} }
/* Pull request check in progress indicator */ /* Pull request check in progress indicator */
@@ -632,62 +632,62 @@
[data-color-mode="auto"] { [data-color-mode="auto"] {
@media (prefers-color-scheme: light) { @media (prefers-color-scheme: light) {
&[data-light-theme="light"] { &[data-light-theme="light"] {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
&[data-light-theme="dark"] { &[data-light-theme="dark"] {
#catppuccin(@darkFlavor, @accentColor); #catppuccin(@darkFlavor);
} }
} }
@media (prefers-color-scheme: dark) { @media (prefers-color-scheme: dark) {
&[data-dark-theme="light"] { &[data-dark-theme="light"] {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
&[data-dark-theme="dark"] { &[data-dark-theme="dark"] {
#catppuccin(@darkFlavor, @accentColor); #catppuccin(@darkFlavor);
} }
} }
} }
[data-color-mode="light"][data-light-theme="dark"], [data-color-mode="light"][data-light-theme="dark"],
[data-color-mode="dark"][data-dark-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="light"][data-light-theme="light"],
[data-color-mode="dark"][data-dark-theme="light"] { [data-color-mode="dark"][data-dark-theme="light"] {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
#catppuccin(@lookup, @accent) { #catppuccin(@flavor) {
@rosewater: @catppuccin[@@lookup][@rosewater]; @rosewater: @catppuccin[@@flavor][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo]; @flamingo: @catppuccin[@@flavor][@flamingo];
@pink: @catppuccin[@@lookup][@pink]; @pink: @catppuccin[@@flavor][@pink];
@mauve: @catppuccin[@@lookup][@mauve]; @mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@lookup][@red]; @red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@lookup][@maroon]; @maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@lookup][@peach]; @peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@lookup][@yellow]; @yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@lookup][@green]; @green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@lookup][@teal]; @teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@lookup][@sky]; @sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@lookup][@sapphire]; @sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@lookup][@blue]; @blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@lookup][@lavender]; @lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@lookup][@text]; @text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@lookup][@subtext1]; @subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@lookup][@subtext0]; @subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@lookup][@overlay2]; @overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@lookup][@overlay1]; @overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@lookup][@overlay0]; @overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@lookup][@surface2]; @surface2: @catppuccin[@@flavor][@surface2];
@surface1: @catppuccin[@@lookup][@surface1]; @surface1: @catppuccin[@@flavor][@surface1];
@surface0: @catppuccin[@@lookup][@surface0]; @surface0: @catppuccin[@@flavor][@surface0];
@base: @catppuccin[@@lookup][@base]; @base: @catppuccin[@@flavor][@base];
@mantle: @catppuccin[@@lookup][@mantle]; @mantle: @catppuccin[@@flavor][@mantle];
@crust: @catppuccin[@@lookup][@crust]; @crust: @catppuccin[@@flavor][@crust];
@accent-color: @catppuccin[@@lookup][@@accent]; @accent: @catppuccin[@@flavor][@@accentColor];
::selection { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
background-color: @base; background-color: @base;
@@ -700,7 +700,7 @@
--color-btn-active-bg: @surface2; --color-btn-active-bg: @surface2;
--color-btn-selected-bg: @surface2; --color-btn-selected-bg: @surface2;
--color-btn-counter-bg: @surface2; --color-btn-counter-bg: @surface2;
--color-btn-outline-text: @accent-color; --color-btn-outline-text: @accent;
--color-fg-muted: @subtext1; --color-fg-muted: @subtext1;
--button-default-fgColor-rest: @text; --button-default-fgColor-rest: @text;
--button-default-bgColor-rest: @surface0; --button-default-bgColor-rest: @surface0;
@@ -719,8 +719,8 @@
.node ellipse, .node ellipse,
.node polygon, .node polygon,
.node path { .node path {
fill: fade(@accent-color, 10%); fill: fade(@accent, 10%);
stroke: @accent-color; stroke: @accent;
} }
.cluster rect { .cluster rect {
@@ -761,42 +761,42 @@
"https:\/\/notebooks\.githubusercontent\.com\/view\/ipynb.*" "https:\/\/notebooks\.githubusercontent\.com\/view\/ipynb.*"
) { ) {
:root { :root {
#catppuccin(@darkFlavor, @accentColor); #catppuccin(@darkFlavor);
} }
#catppuccin(@lookup, @accent) { #catppuccin(@flavor) {
@rosewater: @catppuccin[@@lookup][@rosewater]; @rosewater: @catppuccin[@@flavor][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo]; @flamingo: @catppuccin[@@flavor][@flamingo];
@pink: @catppuccin[@@lookup][@pink]; @pink: @catppuccin[@@flavor][@pink];
@mauve: @catppuccin[@@lookup][@mauve]; @mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@lookup][@red]; @red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@lookup][@maroon]; @maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@lookup][@peach]; @peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@lookup][@yellow]; @yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@lookup][@green]; @green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@lookup][@teal]; @teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@lookup][@sky]; @sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@lookup][@sapphire]; @sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@lookup][@blue]; @blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@lookup][@lavender]; @lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@lookup][@text]; @text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@lookup][@subtext1]; @subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@lookup][@subtext0]; @subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@lookup][@overlay2]; @overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@lookup][@overlay1]; @overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@lookup][@overlay0]; @overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@lookup][@surface2]; @surface2: @catppuccin[@@flavor][@surface2];
@surface1: @catppuccin[@@lookup][@surface1]; @surface1: @catppuccin[@@flavor][@surface1];
@surface0: @catppuccin[@@lookup][@surface0]; @surface0: @catppuccin[@@flavor][@surface0];
@base: @catppuccin[@@lookup][@base]; @base: @catppuccin[@@flavor][@base];
@mantle: @catppuccin[@@lookup][@mantle]; @mantle: @catppuccin[@@flavor][@mantle];
@crust: @catppuccin[@@lookup][@crust]; @crust: @catppuccin[@@flavor][@crust];
@accent-color: @catppuccin[@@lookup][@@accent]; @accent: @catppuccin[@@flavor][@@accentColor];
color-scheme: if(@lookup = latte, light, dark); color-scheme: if(@flavor = latte, light, dark);
::selection { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
input, input,
@@ -811,17 +811,17 @@
--jp-border-color2: var(--color-scale-gray-8); --jp-border-color2: var(--color-scale-gray-8);
--jp-border-color3: var(--color-scale-gray-9); --jp-border-color3: var(--color-scale-gray-9);
--jp-ui-font-color0: @text; --jp-ui-font-color0: @text;
--jp-ui-font-color1: fadeout(@text, 13%); --jp-ui-font-color1: fade(@text, 87%);
--jp-ui-font-color2: fadeout(@text, 46%); --jp-ui-font-color2: fade(@text, 54%);
--jp-ui-font-color3: fadeout(@text, 72%); --jp-ui-font-color3: fade(@text, 28%);
--jp-ui-inverse-font-color0: @crust; --jp-ui-inverse-font-color0: @crust;
--jp-ui-inverse-font-color1: fadeout(@crust, 20%); --jp-ui-inverse-font-color1: fade(@crust, 80%);
--jp-ui-inverse-font-color2: fadeout(@crust, 50%); --jp-ui-inverse-font-color2: fade(@crust, 50%);
--jp-ui-inverse-font-color3: fadeout(@crust, 70%); --jp-ui-inverse-font-color3: fade(@crust, 30%);
--jp-content-font-color0: @text; --jp-content-font-color0: @text;
--jp-content-font-color1: @text; --jp-content-font-color1: @text;
--jp-content-font-color2: fadeout(@text, 30%); --jp-content-font-color2: fade(@text, 70%);
--jp-content-font-color3: fadeout(@text, 50%); --jp-content-font-color3: fade(@text, 50%);
--jp-content-link-color: @sapphire; --jp-content-link-color: @sapphire;
--jp-layout-color0: @base !important; --jp-layout-color0: @base !important;
--jp-layout-color1: var(--color-scale-gray-9); --jp-layout-color1: var(--color-scale-gray-9);
@@ -861,19 +861,19 @@
--jp-cell-editor-background: @mantle; --jp-cell-editor-background: @mantle;
--jp-cell-editor-border-color: var(--color-scale-gray-7); --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-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-inprompt-font-color: var(--color-scale-blue-6);
--jp-cell-outprompt-font-color: var(--color-scale-coral-6); --jp-cell-outprompt-font-color: var(--color-scale-coral-6);
--jp-notebook-multiselected-color: fadeout(@overlay2, 86%); --jp-notebook-multiselected-color: fade(@overlay2, 14%);
--jp-rendermime-error-background: fadeout(@red, 82%); --jp-rendermime-error-background: fade(@red, 18%);
--jp-rendermime-table-row-background: var(--color-scale-gray-9); --jp-rendermime-table-row-background: var(--color-scale-gray-9);
--jp-rendermime-table-row-hover-background: fadeout(@surface2, 86%); --jp-rendermime-table-row-hover-background: fade(@surface2, 14%);
--jp-dialog-background: fadeout(@crust, 40%); --jp-dialog-background: fade(@crust, 60%);
--jp-toolbar-box-shadow: 0px 0px 2px 0px fadeout(@crust, 20%); --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-box-shadow: inset 0 0 2px var(--color-scale-blue-3);
--jp-input-background: var(--color-scale-gray-8); --jp-input-background: var(--color-scale-gray-8);
--jp-input-active-box-shadow-color: fadeout(@blue, 70%); --jp-input-active-box-shadow-color: fade(@blue, 30%);
--jp-editor-selected-focused-background: fadeout(@blue, 86%); --jp-editor-selected-focused-background: fade(@blue, 14%);
--jp-mirror-editor-keyword-color: var(--color-scale-green-5); --jp-mirror-editor-keyword-color: var(--color-scale-green-5);
--jp-mirror-editor-atom-color: var(--color-scale-blue-3); --jp-mirror-editor-atom-color: var(--color-scale-blue-3);
--jp-mirror-editor-number-color: var(--color-scale-green-4); --jp-mirror-editor-number-color: var(--color-scale-green-4);
+72 -66
View File
@@ -16,54 +16,52 @@
==/UserStyle== */ ==/UserStyle== */
@-moz-document domain("mail.google.com") { @-moz-document domain("mail.google.com") {
@media (prefers-color-scheme: light) { :root {
:root { @media (prefers-color-scheme: light) {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
} @media (prefers-color-scheme: dark) {
@media (prefers-color-scheme: dark) { #catppuccin(@darkFlavor);
:root {
#catppuccin(@darkFlavor, @accentColor);
} }
} }
#catppuccin(@lookup, @accent) { #catppuccin(@flavor) {
@rosewater: @catppuccin[@@lookup][@rosewater]; @rosewater: @catppuccin[@@flavor][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo]; @flamingo: @catppuccin[@@flavor][@flamingo];
@pink: @catppuccin[@@lookup][@pink]; @pink: @catppuccin[@@flavor][@pink];
@mauve: @catppuccin[@@lookup][@mauve]; @mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@lookup][@red]; @red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@lookup][@maroon]; @maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@lookup][@peach]; @peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@lookup][@yellow]; @yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@lookup][@green]; @green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@lookup][@teal]; @teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@lookup][@sky]; @sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@lookup][@sapphire]; @sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@lookup][@blue]; @blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@lookup][@lavender]; @lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@lookup][@text]; @text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@lookup][@subtext1]; @subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@lookup][@subtext0]; @subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@lookup][@overlay2]; @overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@lookup][@overlay1]; @overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@lookup][@overlay0]; @overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@lookup][@surface2]; @surface2: @catppuccin[@@flavor][@surface2];
@surface1: @catppuccin[@@lookup][@surface1]; @surface1: @catppuccin[@@flavor][@surface1];
@surface0: @catppuccin[@@lookup][@surface0]; @surface0: @catppuccin[@@flavor][@surface0];
@base: @catppuccin[@@lookup][@base]; @base: @catppuccin[@@flavor][@base];
@mantle: @catppuccin[@@lookup][@mantle]; @mantle: @catppuccin[@@flavor][@mantle];
@crust: @catppuccin[@@lookup][@crust]; @crust: @catppuccin[@@flavor][@crust];
@accent-color: @catppuccin[@@lookup][@@accent]; @accent: @catppuccin[@@flavor][@@accentColor];
@crust-filter: @catppuccin[@@lookup][@crust_filter]; @crust-filter: @catppuccin-filters[@@flavor][@crust];
@text-filter: @catppuccin[@@lookup][@text_filter]; @text-filter: @catppuccin-filters[@@flavor][@text];
@yellow-filter: @catppuccin[@@lookup][@yellow_filter]; @yellow-filter: @catppuccin-filters[@@flavor][@yellow];
color-scheme: if(@lookup = latte, light, dark); color-scheme: if(@flavor = latte, light, dark);
::selection { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
input, input,
@@ -114,7 +112,7 @@
/* Solid primary */ /* Solid primary */
.T-I-atl { .T-I-atl {
background-color: @accent-color; background-color: @accent;
color: @crust; color: @crust;
} }
@@ -122,10 +120,10 @@
.l0, .l0,
div.b8 .a8k, div.b8 .a8k,
.bAo > .ad { .bAo > .ad {
color: @accent-color; color: @accent;
&::before { &::before {
background-color: @accent-color; background-color: @accent;
} }
} }
@@ -192,7 +190,7 @@
background-color: @surface0; background-color: @surface0;
> .gssb_a { > .gssb_a {
border-left-color: @accent-color; border-left-color: @accent;
} }
/* X icon */ /* X icon */
@@ -237,7 +235,7 @@
} }
&.bws { &.bws {
background-color: @accent-color; background-color: @accent;
color: @crust; color: @crust;
fill: @crust; fill: @crust;
@@ -246,7 +244,7 @@
} }
&:hover .H1 { &:hover .H1 {
background-color: darken(@accent-color, 5%); background-color: darken(@accent, 5%);
} }
} }
} }
@@ -285,7 +283,7 @@
color: @text; color: @text;
&:focus { &:focus {
box-shadow: inset 0 -1px 0 0 @accent-color; box-shadow: inset 0 -1px 0 0 @accent;
} }
} }
@@ -317,7 +315,7 @@
color: @crust; color: @crust;
&::before { &::before {
background-color: fade(@accent-color, 70%); background-color: fade(@accent, 70%);
} }
} }
@@ -326,7 +324,7 @@
color: @crust; color: @crust;
&::before { &::before {
background-color: @accent-color; background-color: @accent;
} }
} }
@@ -419,7 +417,7 @@
/* Compose email button */ /* Compose email button */
.z0 > .L3 { .z0 > .L3 {
background-color: @accent-color; background-color: @accent;
color: @crust; color: @crust;
&:focus { &:focus {
@@ -544,7 +542,7 @@
} }
/* Selected unread emails */ /* Selected unread emails */
.x7 { .x7 {
background-color: @accent-color; background-color: @accent;
color: @mantle; color: @mantle;
/* Dates */ /* Dates */
@@ -589,7 +587,7 @@
color: @text; color: @text;
} }
.aRq { .aRq {
color: @accent-color; color: @accent;
} }
} }
/* You could lose access banner */ /* You could lose access banner */
@@ -615,10 +613,10 @@
} }
/* Add recovery info button */ /* Add recovery info button */
.GV { .GV {
color: @accent-color; color: @accent;
&::before { &::before {
background-color: @accent-color; background-color: @accent;
} }
} }
} }
@@ -700,7 +698,7 @@
box-shadow: inset 0 -2px 0 0 @surface2; box-shadow: inset 0 -2px 0 0 @surface2;
&:focus { &:focus {
box-shadow: inset 0 -2px 0 0 @accent-color; box-shadow: inset 0 -2px 0 0 @accent;
} }
} }
/* Magnifying glass icon */ /* Magnifying glass icon */
@@ -737,7 +735,7 @@
/* Save button */ /* Save button */
div.Kj-JD-Jl > button.J-at1-atl, div.Kj-JD-Jl > button.J-at1-atl,
div.Kj-JD-Jl > button.J-at1-auR { div.Kj-JD-Jl > button.J-at1-auR {
background-color: @accent-color; background-color: @accent;
color: @crust; color: @crust;
} }
} }
@@ -821,7 +819,7 @@
/* Send button */ /* Send button */
.gU .v7.T-I:not(.btz), .gU .v7.T-I:not(.btz),
.gU .hG:not(.v6) { .gU .hG:not(.v6) {
background-color: @accent-color; background-color: @accent;
color: @crust; color: @crust;
} }
.hG > .G-asx, .hG > .G-asx,
@@ -884,7 +882,7 @@
/* Currently selected tab */ /* Currently selected tab */
.fZ { .fZ {
box-shadow: inset 0 -2px 0 0 @accent-color; box-shadow: inset 0 -2px 0 0 @accent;
} }
} }
/* Main panel */ /* Main panel */
@@ -903,7 +901,7 @@
.sA, .sA,
.r4 .e, .r4 .e,
.el { .el {
color: @accent-color; color: @accent;
} }
#input-styling(); #input-styling();
@@ -920,7 +918,7 @@
/* Some buttons */ /* Some buttons */
.Uu { .Uu {
box-shadow: inset 0 0 0 1px @surface0; box-shadow: inset 0 0 0 1px @surface0;
color: @accent-color; color: @accent;
} }
} }
/* Labels page */ /* Labels page */
@@ -939,7 +937,7 @@
/* Links */ /* Links */
.alP { .alP {
color: @accent-color; color: @accent;
} }
/* Dividers */ /* Dividers */
@@ -956,7 +954,7 @@
/* Buttons */ /* Buttons */
[data-mdc-dialog-action="ok"] { [data-mdc-dialog-action="ok"] {
background-color: @accent-color; background-color: @accent;
--gm3-button-text-label-text-color: @crust; --gm3-button-text-label-text-color: @crust;
--gm3-button-text-hover-label-text-color: @crust; --gm3-button-text-hover-label-text-color: @crust;
--gm3-button-text-pressed-label-text-color: @crust; --gm3-button-text-pressed-label-text-color: @crust;
@@ -980,8 +978,16 @@
/* deno-fmt-ignore */ /* deno-fmt-ignore */
@catppuccin: { @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%); }; @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; @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%); }; @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; @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%); }; @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; @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%); }; @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%); };
}; };
+153 -160
View File
@@ -16,58 +16,56 @@
==/UserStyle== */ ==/UserStyle== */
@-moz-document domain("go.dev") { @-moz-document domain("go.dev") {
@media (prefers-color-scheme: light) { :root[data-theme="auto"],
:root[data-theme="auto"], :root:not([data-theme]) {
:root:not([data-theme]) { @media (prefers-color-scheme: light) {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
} @media (prefers-color-scheme: dark) {
@media (prefers-color-scheme: dark) { #catppuccin(@darkFlavor);
:root[data-theme="auto"],
:root:not([data-theme]) {
#catppuccin(@darkFlavor, @accentColor);
} }
} }
:root[data-theme="dark"] { :root[data-theme="dark"] {
#catppuccin(@darkFlavor, @accentColor); #catppuccin(@darkFlavor);
} }
:root[data-theme="light"] { :root[data-theme="light"] {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
#catppuccin(@lookup, @accent) { #catppuccin(@flavor) {
@rosewater: @catppuccin[@@lookup][@rosewater]; @rosewater: @catppuccin[@@flavor][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo]; @flamingo: @catppuccin[@@flavor][@flamingo];
@pink: @catppuccin[@@lookup][@pink]; @pink: @catppuccin[@@flavor][@pink];
@mauve: @catppuccin[@@lookup][@mauve]; @mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@lookup][@red]; @red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@lookup][@maroon]; @maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@lookup][@peach]; @peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@lookup][@yellow]; @yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@lookup][@green]; @green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@lookup][@teal]; @teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@lookup][@sky]; @sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@lookup][@sapphire]; @sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@lookup][@blue]; @blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@lookup][@lavender]; @lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@lookup][@text]; @text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@lookup][@subtext1]; @subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@lookup][@subtext0]; @subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@lookup][@overlay2]; @overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@lookup][@overlay1]; @overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@lookup][@overlay0]; @overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@lookup][@surface2]; @surface2: @catppuccin[@@flavor][@surface2];
@surface1: @catppuccin[@@lookup][@surface1]; @surface1: @catppuccin[@@flavor][@surface1];
@surface0: @catppuccin[@@lookup][@surface0]; @surface0: @catppuccin[@@flavor][@surface0];
@base: @catppuccin[@@lookup][@base]; @base: @catppuccin[@@flavor][@base];
@mantle: @catppuccin[@@lookup][@mantle]; @mantle: @catppuccin[@@flavor][@mantle];
@crust: @catppuccin[@@lookup][@crust]; @crust: @catppuccin[@@flavor][@crust];
@accent-color: @catppuccin[@@lookup][@@accent]; @accent: @catppuccin[@@flavor][@@accentColor];
color-scheme: if(@lookup = latte, light, dark); color-scheme: if(@flavor = latte, light, dark);
::selection { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
input, input,
@@ -91,27 +89,26 @@
--color-background-inverted: @crust; --color-background-inverted: @crust;
--color-background-logo: @text; --color-background-logo: @text;
--color-background-playground-input: @mantle; --color-background-playground-input: @mantle;
--color-brand-primary: @accent-color; // Affects most Go-Color Elements --color-brand-primary: @accent; // Affects most Go-Color Elements
--color-button: @accent-color; --color-button: @accent;
--color-button-accented: @accent-color; --color-button-accented: @accent;
--color-button-text: @crust; --color-button-text: @crust;
--color-button-text-disabled: @subtext0; --color-button-text-disabled: @subtext0;
--color-bright-text-link: @accent-color; --color-bright-text-link: @accent;
--color-text: @text; --color-text: @text;
--color-text-link: @accent-color; --color-text-link: @accent;
--color-text-subtle: @subtext1; --color-text-subtle: @subtext1;
--focus-box-shadow: 0 0 0.0625rem 0.0625rem --focus-box-shadow: 0 0 0.0625rem 0.0625rem @accent; // Only modifies color;
@accent-color; // Only modifies color;
--gray-2: @surface0; --gray-2: @surface0;
--gray-3: @text; --gray-3: @text;
--gray-6: @crust; --gray-6: @crust;
--pink: @red; --pink: @red;
--turq-dark: @accent-color; --turq-dark: @accent;
--white: @text; --white: @text;
--border-code: 0.0625rem @surface2 solid; --border-code: 0.0625rem @surface2 solid;
.btn { .btn {
background: @accent-color; background: @accent;
color: @crust; color: @crust;
} }
// /dl page in go.dev // /dl page in go.dev
@@ -168,7 +165,7 @@
} }
// Download button in /learn // Download button in /learn
.Learn-heroAction { .Learn-heroAction {
background-color: @accent-color; background-color: @accent;
.js-downloadBtn { .js-downloadBtn {
color: @crust; color: @crust;
@@ -176,16 +173,16 @@
} }
// Active indicator in /learn // Active indicator in /learn
.LearnNav .active svg circle { .LearnNav .active svg circle {
fill: @accent-color; fill: @accent;
} }
.LeftNav a.active, .LeftNav a.active,
.LeftNav a:hover { .LeftNav a:hover {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
img { img {
@svg: escape( @svg: escape(
'<svg width="5" height="5" viewBox="0 0 5 5" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><circle cx="2.5" cy="2.5" r="2.5" fill="@{accent-color}"/></svg>' '<svg width="5" height="5" viewBox="0 0 5 5" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><circle cx="2.5" cy="2.5" r="2.5" fill="@{accent}"/></svg>'
); );
content: url("data:image/svg+xml,@{svg}"); content: url("data:image/svg+xml,@{svg}");
} }
@@ -238,7 +235,7 @@
// Drawer Selection // Drawer Selection
.NavigationDrawer-listItem--active { .NavigationDrawer-listItem--active {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
} }
// /play // /play
@@ -249,7 +246,7 @@
} }
// Run Button for Code Snippet // Run Button for Code Snippet
.Playground-runButton { .Playground-runButton {
border-color: @accent-color; border-color: @accent;
} }
// Go Main Header // Go Main Header
.Site-header, .Site-header,
@@ -258,7 +255,7 @@
.Header-menuItem--active a, .Header-menuItem--active a,
.go-Header-menuItem--active a { .go-Header-menuItem--active a {
border-bottom-color: @accent-color; border-bottom-color: @accent;
} }
// Mobile Burger Icon // Mobile Burger Icon
button.Header-navOpen--white, button.Header-navOpen--white,
@@ -274,7 +271,7 @@
.WhyGo-reasons { .WhyGo-reasons {
.WhyGo-reasonPackagesHeader img { .WhyGo-reasonPackagesHeader img {
@svg: escape( @svg: escape(
'<svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg"><mask id="a" mask-type="alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="12" height="12"><path fill-rule="evenodd" clip-rule="evenodd" d="M11.682 1.496 10.757.378a.97.97 0 0 0-.765-.366H2.008a.99.99 0 0 0-.771.366L.318 1.496a1.3 1.3 0 0 0-.306.845v8.316c0 .732.6 1.33 1.331 1.33h9.314c.732 0 1.33-.598 1.33-1.33V2.341c0-.32-.113-.619-.305-.845m-9.514-.153h7.664l.552.665H1.622zm-.825 1.996v7.318h9.314V3.34z" fill="@{text}"/></mask><g mask="url(#a)"><rect x="-1.98346" y="-1.98352" width="15.9669" height="15.9669" fill="@{text}"/></g><path fill-rule="evenodd" clip-rule="evenodd" d="M5.143 2.008h1.714v5.706H5.143zm.511-1.18H6.3l.557 1.18H5.143z" fill="@{accent-color}"/></svg>' '<svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg"><mask id="a" mask-type="alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="12" height="12"><path fill-rule="evenodd" clip-rule="evenodd" d="M11.682 1.496 10.757.378a.97.97 0 0 0-.765-.366H2.008a.99.99 0 0 0-.771.366L.318 1.496a1.3 1.3 0 0 0-.306.845v8.316c0 .732.6 1.33 1.331 1.33h9.314c.732 0 1.33-.598 1.33-1.33V2.341c0-.32-.113-.619-.305-.845m-9.514-.153h7.664l.552.665H1.622zm-.825 1.996v7.318h9.314V3.34z" fill="@{text}"/></mask><g mask="url(#a)"><rect x="-1.98346" y="-1.98352" width="15.9669" height="15.9669" fill="@{text}"/></g><path fill-rule="evenodd" clip-rule="evenodd" d="M5.143 2.008h1.714v5.706H5.143zm.511-1.18H6.3l.557 1.18H5.143z" fill="@{accent}"/></svg>'
); );
content: url("data:image/svg+xml,@{svg}"); content: url("data:image/svg+xml,@{svg}");
} }
@@ -323,7 +320,7 @@
// Right Arrow Icons // Right Arrow Icons
.go-NavigationDrawer-listItem a[href="#"] img.go-Icon { .go-NavigationDrawer-listItem a[href="#"] img.go-Icon {
@svg: escape( @svg: escape(
'<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="@{accent-color}"><path d="M0 0h24v24H0z" fill="none"/><path d="M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"/></svg>' '<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="@{accent}"><path d="M0 0h24v24H0z" fill="none"/><path d="M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"/></svg>'
); );
content: url("data:image/svg+xml,@{svg}"); content: url("data:image/svg+xml,@{svg}");
filter: none; filter: none;
@@ -358,7 +355,7 @@
// Menu Active Selector // Menu Active Selector
img.TabSection-underline { img.TabSection-underline {
@svg: escape( @svg: escape(
'<svg width="51" height="4" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0 4a4 4 0 0 1 4-4h43a4 4 0 0 1 4 4z" fill="@{accent-color}"/></svg>' '<svg width="51" height="4" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0 4a4 4 0 0 1 4-4h43a4 4 0 0 1 4 4z" fill="@{accent}"/></svg>'
); );
content: url("data:image/svg+xml,@{svg}"); content: url("data:image/svg+xml,@{svg}");
} }
@@ -372,7 +369,7 @@
} }
} }
// Companies in Main Page Contrast // Companies in Main Page Contrast
& when (@lookup = latte) { & when (@flavor = latte) {
.WhoUsesCaseStudyList-caseStudyLink { .WhoUsesCaseStudyList-caseStudyLink {
background-color: @surface0; background-color: @surface0;
} }
@@ -381,53 +378,51 @@
} }
@-moz-document domain("pkg.go.dev") { @-moz-document domain("pkg.go.dev") {
@media (prefers-color-scheme: light) { :root[data-theme="auto"],
:root[data-theme="auto"], :root:not([data-theme]) {
:root:not([data-theme]) { @media (prefers-color-scheme: light) {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
} @media (prefers-color-scheme: dark) {
@media (prefers-color-scheme: dark) { #catppuccin(@darkFlavor);
:root[data-theme="auto"],
:root:not([data-theme]) {
#catppuccin(@darkFlavor, @accentColor);
} }
} }
:root[data-theme="dark"] {
#catppuccin(@darkFlavor, @accentColor);
}
:root[data-theme="light"] {
#catppuccin(@lightFlavor, @accentColor);
}
#catppuccin(@lookup, @accent) { :root[data-theme="dark"] {
@rosewater: @catppuccin[@@lookup][@rosewater]; #catppuccin(@darkFlavor);
@flamingo: @catppuccin[@@lookup][@flamingo]; }
@pink: @catppuccin[@@lookup][@pink]; :root[data-theme="light"] {
@mauve: @catppuccin[@@lookup][@mauve]; #catppuccin(@lightFlavor);
@red: @catppuccin[@@lookup][@red]; }
@maroon: @catppuccin[@@lookup][@maroon];
@peach: @catppuccin[@@lookup][@peach]; #catppuccin(@flavor) {
@yellow: @catppuccin[@@lookup][@yellow]; @rosewater: @catppuccin[@@flavor][@rosewater];
@green: @catppuccin[@@lookup][@green]; @flamingo: @catppuccin[@@flavor][@flamingo];
@teal: @catppuccin[@@lookup][@teal]; @pink: @catppuccin[@@flavor][@pink];
@sky: @catppuccin[@@lookup][@sky]; @mauve: @catppuccin[@@flavor][@mauve];
@sapphire: @catppuccin[@@lookup][@sapphire]; @red: @catppuccin[@@flavor][@red];
@blue: @catppuccin[@@lookup][@blue]; @maroon: @catppuccin[@@flavor][@maroon];
@lavender: @catppuccin[@@lookup][@lavender]; @peach: @catppuccin[@@flavor][@peach];
@text: @catppuccin[@@lookup][@text]; @yellow: @catppuccin[@@flavor][@yellow];
@subtext1: @catppuccin[@@lookup][@subtext1]; @green: @catppuccin[@@flavor][@green];
@subtext0: @catppuccin[@@lookup][@subtext0]; @teal: @catppuccin[@@flavor][@teal];
@overlay2: @catppuccin[@@lookup][@overlay2]; @sky: @catppuccin[@@flavor][@sky];
@overlay1: @catppuccin[@@lookup][@overlay1]; @sapphire: @catppuccin[@@flavor][@sapphire];
@overlay0: @catppuccin[@@lookup][@overlay0]; @blue: @catppuccin[@@flavor][@blue];
@surface2: @catppuccin[@@lookup][@surface2]; @lavender: @catppuccin[@@flavor][@lavender];
@surface1: @catppuccin[@@lookup][@surface1]; @text: @catppuccin[@@flavor][@text];
@surface0: @catppuccin[@@lookup][@surface0]; @subtext1: @catppuccin[@@flavor][@subtext1];
@base: @catppuccin[@@lookup][@base]; @subtext0: @catppuccin[@@flavor][@subtext0];
@mantle: @catppuccin[@@lookup][@mantle]; @overlay2: @catppuccin[@@flavor][@overlay2];
@crust: @catppuccin[@@lookup][@crust]; @overlay1: @catppuccin[@@flavor][@overlay1];
@accent-color: @catppuccin[@@lookup][@@accent]; @overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@flavor][@surface2];
@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 // Pkg.go Carousel
.go-Carousel { .go-Carousel {
@@ -454,7 +449,7 @@
// Pkg.go Clipboard Icon // Pkg.go Clipboard Icon
.go-Clipboard img.go-Icon { .go-Clipboard img.go-Icon {
@svg: escape( @svg: escape(
'<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="@{accent-color}"><path d="M0 0h24v24H0z" fill="none"/><path d="M18 21H4V7H2v14c0 1.1.9 2 2 2h14zm3-4V3c0-1.1-.9-2-2-2H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2m-2 0H8V3h11z"/></svg>' '<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="@{accent}"><path d="M0 0h24v24H0z" fill="none"/><path d="M18 21H4V7H2v14c0 1.1.9 2 2 2h14zm3-4V3c0-1.1-.9-2-2-2H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2m-2 0H8V3h11z"/></svg>'
); );
content: url("data:image/svg+xml,@{svg}"); content: url("data:image/svg+xml,@{svg}");
filter: none; filter: none;
@@ -462,7 +457,7 @@
// Pkg.go Header // Pkg.go Header
.go-Header { .go-Header {
.go-Header-submenu { .go-Header-submenu {
border-color: @accent-color; border-color: @accent;
} }
// Triangle Icon Accented // Triangle Icon Accented
@@ -470,7 +465,7 @@
.go-Header-menuItem:focus-within .go-Header-menuItem:focus-within
img.go-Icon[alt="submenu dropdown icon"] { img.go-Icon[alt="submenu dropdown icon"] {
@svg: escape( @svg: escape(
'<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="@{accent-color}"><path d="M0 0h24v24H0z" fill="none"/><path d="m7 10 5 5 5-5z"/></svg>' '<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="@{accent}"><path d="M0 0h24v24H0z" fill="none"/><path d="m7 10 5 5 5-5z"/></svg>'
); );
content: url("data:image/svg+xml,@{svg}"); content: url("data:image/svg+xml,@{svg}");
filter: none; filter: none;
@@ -522,7 +517,7 @@
} }
.go-NavigationDrawer-listItem--active { .go-NavigationDrawer-listItem--active {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
} }
//Pkg.go Search Bar //Pkg.go Search Bar
@@ -545,7 +540,7 @@
a[href="https://www.meetup.com/pro/go"], a[href="https://www.meetup.com/pro/go"],
a[href="https://github.com/golang/go/wiki/Conferences"] { a[href="https://github.com/golang/go/wiki/Conferences"] {
@svg: escape( @svg: escape(
'<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 24 24" xml:space="preserve" enable-background="new 0 0 24 24"><style type="text/css">.st0{fill:none;} .st1{fill:@{accent-color}};}</style><path class="st0" d="M0 0h24v24H0z"/><path class="st1" d="M19 19H5V5h7V3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-7h-2zM14 3v2h3.6l-9.8 9.8 1.4 1.4L19 6.4V10h2V3z"/></svg>' '<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 24 24" xml:space="preserve" enable-background="new 0 0 24 24"><style type="text/css">.st0{fill:none;} .st1{fill:@{accent}};}</style><path class="st0" d="M0 0h24v24H0z"/><path class="st1" d="M19 19H5V5h7V3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-7h-2zM14 3v2h3.6l-9.8 9.8 1.4 1.4L19 6.4V10h2V3z"/></svg>'
); );
img, img,
@@ -593,7 +588,7 @@
// Search Icon in pkg.go - Accented // Search Icon in pkg.go - Accented
form.Homepage-search--symbol::before { form.Homepage-search--symbol::before {
@svg: escape( @svg: escape(
'<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="@{accent-color}"><path d="M0 0h24v24H0z" fill="none"/><path d="m20.49 19-5.73-5.73C15.53 12.2 16 10.91 16 9.5A6.5 6.5 0 1 0 9.5 16c1.41 0 2.7-.47 3.77-1.24L19 20.49zM5 9.5C5 7.01 7.01 5 9.5 5S14 7.01 14 9.5 11.99 14 9.5 14 5 11.99 5 9.5"/></svg>' '<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="@{accent}"><path d="M0 0h24v24H0z" fill="none"/><path d="m20.49 19-5.73-5.73C15.53 12.2 16 10.91 16 9.5A6.5 6.5 0 1 0 9.5 16c1.41 0 2.7-.47 3.77-1.24L19 20.49zM5 9.5C5 7.01 7.01 5 9.5 5S14 7.01 14 9.5 11.99 14 9.5 14 5 11.99 5 9.5"/></svg>'
); );
background-image: url("data:image/svg+xml,@{svg}"); background-image: url("data:image/svg+xml,@{svg}");
} }
@@ -663,7 +658,7 @@
img.go-Icon.go-Icon--accented[alt="checked"] { img.go-Icon.go-Icon--accented[alt="checked"] {
@svg: escape( @svg: escape(
'<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="@{accent-color}"><path d="M0 0h24v24H0z" fill="none"/><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8m-2-5.8-2.6-2.6L6 13l4 4 8-8-1.4-1.4z"/></svg>' '<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="@{accent}"><path d="M0 0h24v24H0z" fill="none"/><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8m-2-5.8-2.6-2.6L6 13l4 4 8-8-1.4-1.4z"/></svg>'
); );
content: url("data:image/svg+xml,@{svg}"); content: url("data:image/svg+xml,@{svg}");
filter: none; filter: none;
@@ -704,53 +699,51 @@
} }
@-moz-document url-prefix("https://go.dev/tour") { @-moz-document url-prefix("https://go.dev/tour") {
@media (prefers-color-scheme: light) { :root[data-theme="auto"],
:root[data-theme="auto"], :root:not([data-theme]) {
:root:not([data-theme]) { @media (prefers-color-scheme: light) {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
} @media (prefers-color-scheme: dark) {
@media (prefers-color-scheme: dark) { #catppuccin(@darkFlavor);
:root[data-theme="auto"],
:root:not([data-theme]) {
#catppuccin(@darkFlavor, @accentColor);
} }
} }
:root[data-theme="dark"] {
#catppuccin(@darkFlavor, @accentColor);
}
:root[data-theme="light"] {
#catppuccin(@lightFlavor, @accentColor);
}
#catppuccin(@lookup, @accent) { :root[data-theme="dark"] {
@rosewater: @catppuccin[@@lookup][@rosewater]; #catppuccin(@darkFlavor);
@flamingo: @catppuccin[@@lookup][@flamingo]; }
@pink: @catppuccin[@@lookup][@pink]; :root[data-theme="light"] {
@mauve: @catppuccin[@@lookup][@mauve]; #catppuccin(@lightFlavor);
@red: @catppuccin[@@lookup][@red]; }
@maroon: @catppuccin[@@lookup][@maroon];
@peach: @catppuccin[@@lookup][@peach]; #catppuccin(@flavor) {
@yellow: @catppuccin[@@lookup][@yellow]; @rosewater: @catppuccin[@@flavor][@rosewater];
@green: @catppuccin[@@lookup][@green]; @flamingo: @catppuccin[@@flavor][@flamingo];
@teal: @catppuccin[@@lookup][@teal]; @pink: @catppuccin[@@flavor][@pink];
@sky: @catppuccin[@@lookup][@sky]; @mauve: @catppuccin[@@flavor][@mauve];
@sapphire: @catppuccin[@@lookup][@sapphire]; @red: @catppuccin[@@flavor][@red];
@blue: @catppuccin[@@lookup][@blue]; @maroon: @catppuccin[@@flavor][@maroon];
@lavender: @catppuccin[@@lookup][@lavender]; @peach: @catppuccin[@@flavor][@peach];
@text: @catppuccin[@@lookup][@text]; @yellow: @catppuccin[@@flavor][@yellow];
@subtext1: @catppuccin[@@lookup][@subtext1]; @green: @catppuccin[@@flavor][@green];
@subtext0: @catppuccin[@@lookup][@subtext0]; @teal: @catppuccin[@@flavor][@teal];
@overlay2: @catppuccin[@@lookup][@overlay2]; @sky: @catppuccin[@@flavor][@sky];
@overlay1: @catppuccin[@@lookup][@overlay1]; @sapphire: @catppuccin[@@flavor][@sapphire];
@overlay0: @catppuccin[@@lookup][@overlay0]; @blue: @catppuccin[@@flavor][@blue];
@surface2: @catppuccin[@@lookup][@surface2]; @lavender: @catppuccin[@@flavor][@lavender];
@surface1: @catppuccin[@@lookup][@surface1]; @text: @catppuccin[@@flavor][@text];
@surface0: @catppuccin[@@lookup][@surface0]; @subtext1: @catppuccin[@@flavor][@subtext1];
@base: @catppuccin[@@lookup][@base]; @subtext0: @catppuccin[@@flavor][@subtext0];
@mantle: @catppuccin[@@lookup][@mantle]; @overlay2: @catppuccin[@@flavor][@overlay2];
@crust: @catppuccin[@@lookup][@crust]; @overlay1: @catppuccin[@@flavor][@overlay1];
@accent-color: @catppuccin[@@lookup][@@accent]; @overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@flavor][@surface2];
@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 { #editor-container {
#left-side { #left-side {
@@ -758,11 +751,11 @@
background-color: @base; background-color: @base;
a { a {
color: @accent-color; color: @accent;
} }
code { code {
background-color: @accent-color !important; background-color: @accent !important;
color: @crust; color: @crust;
} }
@@ -783,7 +776,7 @@
color: @text; color: @text;
a { a {
color: @accent-color; color: @accent;
} }
} }
} }
@@ -861,7 +854,7 @@
} }
a#run { a#run {
background-color: @accent-color; background-color: @accent;
} }
pre.info { pre.info {
@@ -887,7 +880,7 @@
background-color: @mantle; background-color: @mantle;
span.ng-binding { span.ng-binding {
background-color: @base; background-color: @base;
color: @accent-color; color: @accent;
} }
.toc-lesson span.ng-binding { .toc-lesson span.ng-binding {
@@ -924,7 +917,7 @@
} }
a { a {
color: @accent-color; color: @accent;
} }
} }
} }
+88 -88
View File
@@ -19,49 +19,49 @@
:root:has(.KkxPLb) { :root:has(.KkxPLb) {
.vhoiae.vhoiae.vhoiae, .vhoiae.vhoiae.vhoiae,
& { & {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
} }
:root:has(.LgGVmb) { :root:has(.LgGVmb) {
.vhoiae.vhoiae.vhoiae, .vhoiae.vhoiae.vhoiae,
& { & {
#catppuccin(@darkFlavor, @accentColor); #catppuccin(@darkFlavor);
} }
} }
#catppuccin(@lookup, @accent) { #catppuccin(@flavor) {
@rosewater: @catppuccin[@@lookup][@rosewater]; @rosewater: @catppuccin[@@flavor][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo]; @flamingo: @catppuccin[@@flavor][@flamingo];
@pink: @catppuccin[@@lookup][@pink]; @pink: @catppuccin[@@flavor][@pink];
@mauve: @catppuccin[@@lookup][@mauve]; @mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@lookup][@red]; @red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@lookup][@maroon]; @maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@lookup][@peach]; @peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@lookup][@yellow]; @yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@lookup][@green]; @green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@lookup][@teal]; @teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@lookup][@sky]; @sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@lookup][@sapphire]; @sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@lookup][@blue]; @blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@lookup][@lavender]; @lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@lookup][@text]; @text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@lookup][@subtext1]; @subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@lookup][@subtext0]; @subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@lookup][@overlay2]; @overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@lookup][@overlay1]; @overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@lookup][@overlay0]; @overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@lookup][@surface2]; @surface2: @catppuccin[@@flavor][@surface2];
@surface1: @catppuccin[@@lookup][@surface1]; @surface1: @catppuccin[@@flavor][@surface1];
@surface0: @catppuccin[@@lookup][@surface0]; @surface0: @catppuccin[@@flavor][@surface0];
@base: @catppuccin[@@lookup][@base]; @base: @catppuccin[@@flavor][@base];
@mantle: @catppuccin[@@lookup][@mantle]; @mantle: @catppuccin[@@flavor][@mantle];
@crust: @catppuccin[@@lookup][@crust]; @crust: @catppuccin[@@flavor][@crust];
@accent-color: @catppuccin[@@lookup][@@accent]; @accent: @catppuccin[@@flavor][@@accentColor];
color-scheme: if(@lookup = latte, light, dark); color-scheme: if(@flavor = latte, light, dark);
::selection { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
input, input,
@@ -81,7 +81,7 @@
--dt-surface-variant: @surface0; --dt-surface-variant: @surface0;
--dt-inverse-on-surface: @surface0; --dt-inverse-on-surface: @surface0;
--dt-surface: @base; --dt-surface: @base;
--dt-surface-tint: @accent-color; --dt-surface-tint: @accent;
--dt-shadow-elevation-1: --dt-shadow-elevation-1:
0px 3px 1px -2px fade(@base, 20%), 0px 2px 2px 0px fade(@base, 14%), 0px 0px 3px 1px -2px fade(@base, 20%), 0px 2px 2px 0px fade(@base, 14%), 0px
1px 5px 0px fade(@base, 12%); 1px 5px 0px fade(@base, 12%);
@@ -107,11 +107,11 @@
--dt-on-primary-container: @text; --dt-on-primary-container: @text;
--dt-primary-container-icon: @text; --dt-primary-container-icon: @text;
--dt-primary-container-link: @text; --dt-primary-container-link: @text;
--dt-primary: @accent-color; --dt-primary: @accent;
--dt-primary-action: @accent-color; --dt-primary-action: @accent;
--dt-primary-action-stateful: @accent-color; --dt-primary-action-stateful: @accent;
--dt-primary-outline: @accent-color; --dt-primary-outline: @accent;
--dt-primary-action-state-layer: @accent-color; --dt-primary-action-state-layer: @accent;
--dt-primary-container: @surface0; --dt-primary-container: @surface0;
--dt-on-primary: @base; --dt-on-primary: @base;
--dt-primary-icon: @base; --dt-primary-icon: @base;
@@ -119,11 +119,11 @@
--dt-on-secondary-container: @text; --dt-on-secondary-container: @text;
--dt-secondary-container-icon: @text; --dt-secondary-container-icon: @text;
--dt-secondary-container-link: @text; --dt-secondary-container-link: @text;
--dt-secondary: @accent-color; --dt-secondary: @accent;
--dt-secondary-action: @accent-color; --dt-secondary-action: @accent;
--dt-secondary-action-stateful: @accent-color; --dt-secondary-action-stateful: @accent;
--dt-secondary-outline: @accent-color; --dt-secondary-outline: @accent;
--dt-secondary-action-state-layer: @accent-color; --dt-secondary-action-state-layer: @accent;
--dt-secondary-container: @surface0; --dt-secondary-container: @surface0;
--dt-on-secondary: @base; --dt-on-secondary: @base;
--dt-secondary-icon: @base; --dt-secondary-icon: @base;
@@ -131,11 +131,11 @@
--dt-on-tertiary-container: @text; --dt-on-tertiary-container: @text;
--dt-tertiary-container-icon: @text; --dt-tertiary-container-icon: @text;
--dt-tertiary-container-link: @text; --dt-tertiary-container-link: @text;
--dt-tertiary: @accent-color; --dt-tertiary: @accent;
--dt-tertiary-action: @accent-color; --dt-tertiary-action: @accent;
--dt-tertiary-action-stateful: @accent-color; --dt-tertiary-action-stateful: @accent;
--dt-tertiary-outline: @accent-color; --dt-tertiary-outline: @accent;
--dt-tertiary-action-state-layer: @accent-color; --dt-tertiary-action-state-layer: @accent;
--dt-tertiary-container: @surface0; --dt-tertiary-container: @surface0;
--dt-on-tertiary: @base; --dt-on-tertiary: @base;
--dt-tertiary-icon: @base; --dt-tertiary-icon: @base;
@@ -244,16 +244,16 @@
--gm3-sys-color-outline-rgb: #rgbify(@overlay0)[]; --gm3-sys-color-outline-rgb: #rgbify(@overlay0)[];
--gm3-sys-color-outline-variant: @surface2; --gm3-sys-color-outline-variant: @surface2;
--gm3-sys-color-outline-variant-rgb: #rgbify(@surface2)[]; --gm3-sys-color-outline-variant-rgb: #rgbify(@surface2)[];
--gm3-sys-color-primary: @accent-color; --gm3-sys-color-primary: @accent;
--gm3-sys-color-primary-rgb: #rgbify(@accent-color)[]; --gm3-sys-color-primary-rgb: #rgbify(@accent)[];
--gm3-sys-color-primary-container: @surface0; --gm3-sys-color-primary-container: @surface0;
--gm3-sys-color-primary-container-rgb: #rgbify(@surface0)[]; --gm3-sys-color-primary-container-rgb: #rgbify(@surface0)[];
--gm3-sys-color-primary-fixed: @accent-color; --gm3-sys-color-primary-fixed: @accent;
--gm3-sys-color-primary-fixed-rgb: #rgbify(@accent-color)[]; --gm3-sys-color-primary-fixed-rgb: #rgbify(@accent)[];
--gm3-sys-color-primary-fixed-dim: @accent-color; --gm3-sys-color-primary-fixed-dim: @accent;
--gm3-sys-color-primary-fixed-dim-rgb: #rgbify(@accent-color)[]; --gm3-sys-color-primary-fixed-dim-rgb: #rgbify(@accent)[];
--gm3-sys-color-secondary: @accent-color; --gm3-sys-color-secondary: @accent;
--gm3-sys-color-secondary-rgb: #rgbify(@accent-color); --gm3-sys-color-secondary-rgb: #rgbify(@accent);
--gm3-sys-color-secondary-container: @surface0; --gm3-sys-color-secondary-container: @surface0;
--gm3-sys-color-secondary-container-rgb: #rgbify(@surface0)[]; --gm3-sys-color-secondary-container-rgb: #rgbify(@surface0)[];
--gm3-sys-color-secondary-fixed: #c2e7ff; --gm3-sys-color-secondary-fixed: #c2e7ff;
@@ -276,20 +276,20 @@
--gm3-sys-color-surface-container-lowest-rgb: #rgbify(@crust)[]; --gm3-sys-color-surface-container-lowest-rgb: #rgbify(@crust)[];
--gm3-sys-color-surface-dim: @crust; --gm3-sys-color-surface-dim: @crust;
--gm3-sys-color-surface-dim-rgb: #rgbify(@crust)[]; --gm3-sys-color-surface-dim-rgb: #rgbify(@crust)[];
--gm3-sys-color-surface-tint: @accent-color; --gm3-sys-color-surface-tint: @accent;
--gm3-sys-color-surface-tint-rgb: #rgbify(@accent-color)[]; --gm3-sys-color-surface-tint-rgb: #rgbify(@accent)[];
--gm3-sys-color-surface-variant: @surface0; --gm3-sys-color-surface-variant: @surface0;
--gm3-sys-color-surface-variant-rgb: #rgbify(@surface0)[]; --gm3-sys-color-surface-variant-rgb: #rgbify(@surface0)[];
--gm3-sys-color-tertiary: @accent-color; --gm3-sys-color-tertiary: @accent;
--gm3-sys-color-tertiary-rgb: #rgbify(@accent-color)[]; --gm3-sys-color-tertiary-rgb: #rgbify(@accent)[];
--gm3-sys-color-tertiary-container: @surface0; --gm3-sys-color-tertiary-container: @surface0;
--gm3-sys-color-tertiary-container-rgb: #rgbify(@surface0); --gm3-sys-color-tertiary-container-rgb: #rgbify(@surface0);
--gm3-sys-color-tertiary-fixed: @accent-color; --gm3-sys-color-tertiary-fixed: @accent;
--gm3-sys-color-tertiary-fixed-rgb: #rgbify(@accent-color)[]; --gm3-sys-color-tertiary-fixed-rgb: #rgbify(@accent)[];
--gm3-sys-color-tertiary-fixed-dim: @accent-color; --gm3-sys-color-tertiary-fixed-dim: @accent;
--gm3-sys-color-tertiary-fixed-dim-rgb: #rgbify(@accent-color)[]; --gm3-sys-color-tertiary-fixed-dim-rgb: #rgbify(@accent)[];
& when (@lookup = latte) { & when (@flavor = latte) {
--dt-scrim: fade(@text, 50%); --dt-scrim: fade(@text, 50%);
--dt-scrim-2x: fade(@text, 50%); --dt-scrim-2x: fade(@text, 50%);
--gm3-sys-color-scrim: @text; --gm3-sys-color-scrim: @text;
@@ -298,7 +298,7 @@
--gm3-sys-color-shadow-rgb: #rgbify(@text)[]; --gm3-sys-color-shadow-rgb: #rgbify(@text)[];
} }
& when not(@lookup = latte) { & when not(@flavor = latte) {
--dt-scrim: fade(@base, 50%); --dt-scrim: fade(@base, 50%);
--dt-scrim-2x: fade(@base, 50%); --dt-scrim-2x: fade(@base, 50%);
--gm3-sys-color-scrim: @base; --gm3-sys-color-scrim: @base;
@@ -400,25 +400,25 @@
.a-b-uoC0bf .ae-uoC0bf .g-d, .a-b-uoC0bf .ae-uoC0bf .g-d,
.a-b-uoC0bf .a-b-uoC0bf
.ae-mAKE4e-Hc-w-d.h-R-w-d /* File preview (in Drive) share button */ { .ae-mAKE4e-Hc-w-d.h-R-w-d /* File preview (in Drive) share button */ {
background-color: @accent-color; background-color: @accent;
color: @base; color: @base;
/* File preview (separate tab) share icon */ /* File preview (separate tab) share icon */
.IyROMc-euCgFf-LJSvSb, .IyROMc-euCgFf-LJSvSb,
.ae-c /* File preview (in Drive) share icon */ { .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( filter: brightness(0) invert(97%) sepia(4%) saturate(152%) hue-rotate(
183deg 183deg
) brightness(94%) contrast(106%); ) brightness(94%) contrast(106%);
} }
& when (@lookup = frappe) { & when (@flavor = frappe) {
filter: brightness(0) invert(15%) sepia(8%) saturate(2252%) filter: brightness(0) invert(15%) sepia(8%) saturate(2252%)
hue-rotate(192deg) brightness(98%) contrast(85%); hue-rotate(192deg) brightness(98%) contrast(85%);
} }
& when (@lookup = macchiato) { & when (@flavor = macchiato) {
filter: brightness(0) invert(13%) sepia(26%) saturate(823%) filter: brightness(0) invert(13%) sepia(26%) saturate(823%)
hue-rotate(195deg) brightness(90%) contrast(92%); hue-rotate(195deg) brightness(90%) contrast(92%);
} }
& when (@lookup = mocha) { & when (@flavor = mocha) {
filter: brightness(0) invert(10%) sepia(36%) saturate(650%) filter: brightness(0) invert(10%) sepia(36%) saturate(650%)
hue-rotate(201deg) brightness(90%) contrast(93%); hue-rotate(201deg) brightness(90%) contrast(93%);
} }
@@ -453,19 +453,19 @@
/* File preview (separate tab) share Quick options row icon */ /* File preview (separate tab) share Quick options row icon */
.IyROMc-euCgFf-LJSvSb, .IyROMc-euCgFf-LJSvSb,
.ba-ea-i /* File preview (in Drive) share Quick options row icon */ { .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%) filter: brightness(0) invert(31%) sepia(10%) saturate(1268%)
hue-rotate(196deg) brightness(90%) contrast(86%); hue-rotate(196deg) brightness(90%) contrast(86%);
} }
& when (@lookup = frappe) { & when (@flavor = frappe) {
filter: brightness(0) invert(80%) sepia(7%) saturate(1070%) filter: brightness(0) invert(80%) sepia(7%) saturate(1070%)
hue-rotate(192deg) brightness(104%) contrast(92%); hue-rotate(192deg) brightness(104%) contrast(92%);
} }
& when (@lookup = macchiato) { & when (@flavor = macchiato) {
filter: brightness(0) invert(84%) sepia(13%) saturate(579%) filter: brightness(0) invert(84%) sepia(13%) saturate(579%)
hue-rotate(193deg) brightness(99%) contrast(94%); hue-rotate(193deg) brightness(99%) contrast(94%);
} }
& when (@lookup = mocha) { & when (@flavor = mocha) {
filter: brightness(0) invert(84%) sepia(19%) saturate(370%) filter: brightness(0) invert(84%) sepia(19%) saturate(370%)
hue-rotate(192deg) brightness(98%) contrast(95%); hue-rotate(192deg) brightness(98%) contrast(95%);
} }
@@ -485,22 +485,22 @@
.a-b-c[style="user-select: none;"], .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-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) */ { .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( filter: brightness(0) invert(31%) sepia(10%) saturate(1268%) hue-rotate(
196deg 196deg
) brightness(90%) contrast(86%); ) brightness(90%) contrast(86%);
} }
& when (@lookup = frappe) { & when (@flavor = frappe) {
filter: brightness(0) invert(80%) sepia(7%) saturate(1070%) hue-rotate( filter: brightness(0) invert(80%) sepia(7%) saturate(1070%) hue-rotate(
192deg 192deg
) brightness(104%) contrast(92%); ) brightness(104%) contrast(92%);
} }
& when (@lookup = macchiato) { & when (@flavor = macchiato) {
filter: brightness(0) invert(84%) sepia(13%) saturate(579%) hue-rotate( filter: brightness(0) invert(84%) sepia(13%) saturate(579%) hue-rotate(
193deg 193deg
) brightness(99%) contrast(94%); ) brightness(99%) contrast(94%);
} }
& when (@lookup = mocha) { & when (@flavor = mocha) {
filter: brightness(0) invert(84%) sepia(19%) saturate(370%) hue-rotate( filter: brightness(0) invert(84%) sepia(19%) saturate(370%) hue-rotate(
192deg 192deg
) brightness(98%) contrast(95%); ) brightness(98%) contrast(95%);
@@ -537,19 +537,19 @@
.ndfHFb-c4YZDc-bN97Pc-nupQLb-LgbsSe-Bz112c, .ndfHFb-c4YZDc-bN97Pc-nupQLb-LgbsSe-Bz112c,
.a-b-x-rb-d-c /* File preview (in Drive) No preview available Download icon */ .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%) filter: brightness(0) invert(31%) sepia(10%) saturate(1268%)
hue-rotate(196deg) brightness(90%) contrast(86%); hue-rotate(196deg) brightness(90%) contrast(86%);
} }
& when (@lookup = frappe) { & when (@flavor = frappe) {
filter: brightness(0) invert(80%) sepia(7%) saturate(1070%) filter: brightness(0) invert(80%) sepia(7%) saturate(1070%)
hue-rotate(192deg) brightness(104%) contrast(92%); hue-rotate(192deg) brightness(104%) contrast(92%);
} }
& when (@lookup = macchiato) { & when (@flavor = macchiato) {
filter: brightness(0) invert(84%) sepia(13%) saturate(579%) filter: brightness(0) invert(84%) sepia(13%) saturate(579%)
hue-rotate(193deg) brightness(99%) contrast(94%); hue-rotate(193deg) brightness(99%) contrast(94%);
} }
& when (@lookup = mocha) { & when (@flavor = mocha) {
filter: brightness(0) invert(84%) sepia(19%) saturate(370%) filter: brightness(0) invert(84%) sepia(19%) saturate(370%)
hue-rotate(192deg) brightness(98%) contrast(95%); hue-rotate(192deg) brightness(98%) contrast(95%);
} }
@@ -613,7 +613,7 @@
/* Drive sharing window material icon */ /* Drive sharing window material icon */
.SbpzSe .VfPpkd-StrnGf-rymPhb-f7MjDc { .SbpzSe .VfPpkd-StrnGf-rymPhb-f7MjDc {
color: @accent-color; color: @accent;
} }
/* Drive sharing window access hover */ /* Drive sharing window access hover */
@@ -657,22 +657,22 @@
} }
/* Drive applications sidebar get addons */ /* Drive applications sidebar get addons */
.Yb-Il-d#qJTzr .Yb-Il-d-c-j { .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( filter: brightness(0) invert(31%) sepia(10%) saturate(1268%) hue-rotate(
196deg 196deg
) brightness(90%) contrast(86%); ) brightness(90%) contrast(86%);
} }
& when (@lookup = frappe) { & when (@flavor = frappe) {
filter: brightness(0) invert(80%) sepia(7%) saturate(1070%) hue-rotate( filter: brightness(0) invert(80%) sepia(7%) saturate(1070%) hue-rotate(
192deg 192deg
) brightness(104%) contrast(92%); ) brightness(104%) contrast(92%);
} }
& when (@lookup = macchiato) { & when (@flavor = macchiato) {
filter: brightness(0) invert(84%) sepia(13%) saturate(579%) hue-rotate( filter: brightness(0) invert(84%) sepia(13%) saturate(579%) hue-rotate(
193deg 193deg
) brightness(99%) contrast(94%); ) brightness(99%) contrast(94%);
} }
& when (@lookup = mocha) { & when (@flavor = mocha) {
filter: brightness(0) invert(84%) sepia(19%) saturate(370%) hue-rotate( filter: brightness(0) invert(84%) sepia(19%) saturate(370%) hue-rotate(
192deg 192deg
) brightness(98%) contrast(95%); ) brightness(98%) contrast(95%);
+77 -77
View File
@@ -19,41 +19,41 @@
@import url("https://unpkg.com/@catppuccin/[email protected]/css/catppuccin-variables.important.css"); @import url("https://unpkg.com/@catppuccin/[email protected]/css/catppuccin-variables.important.css");
:root .dark-theme { :root .dark-theme {
#catppuccin(@darkFlavor, @accentColor); #catppuccin(@darkFlavor);
} }
:root .light-theme { :root .light-theme {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
#catppuccin(@lookup, @accent) { #catppuccin(@flavor) {
@rosewater: @catppuccin[@@lookup][@rosewater]; @rosewater: @catppuccin[@@flavor][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo]; @flamingo: @catppuccin[@@flavor][@flamingo];
@pink: @catppuccin[@@lookup][@pink]; @pink: @catppuccin[@@flavor][@pink];
@mauve: @catppuccin[@@lookup][@mauve]; @mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@lookup][@red]; @red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@lookup][@maroon]; @maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@lookup][@peach]; @peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@lookup][@yellow]; @yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@lookup][@green]; @green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@lookup][@teal]; @teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@lookup][@sky]; @sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@lookup][@sapphire]; @sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@lookup][@blue]; @blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@lookup][@lavender]; @lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@lookup][@text]; @text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@lookup][@subtext1]; @subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@lookup][@subtext0]; @subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@lookup][@overlay2]; @overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@lookup][@overlay1]; @overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@lookup][@overlay0]; @overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@lookup][@surface2]; @surface2: @catppuccin[@@flavor][@surface2];
@surface1: @catppuccin[@@lookup][@surface1]; @surface1: @catppuccin[@@flavor][@surface1];
@surface0: @catppuccin[@@lookup][@surface0]; @surface0: @catppuccin[@@flavor][@surface0];
@base: @catppuccin[@@lookup][@base]; @base: @catppuccin[@@flavor][@base];
@mantle: @catppuccin[@@lookup][@mantle]; @mantle: @catppuccin[@@flavor][@mantle];
@crust: @catppuccin[@@lookup][@crust]; @crust: @catppuccin[@@flavor][@crust];
@accent-color: @catppuccin[@@lookup][@@accent]; @accent: @catppuccin[@@flavor][@@accentColor];
--ctp-rosewater: @rosewater; --ctp-rosewater: @rosewater;
--ctp-flamingo: @flamingo; --ctp-flamingo: @flamingo;
@@ -82,10 +82,10 @@
--ctp-mantle: @mantle; --ctp-mantle: @mantle;
--ctp-crust: @crust; --ctp-crust: @crust;
color-scheme: if(@lookup = latte, light, dark); color-scheme: if(@flavor = latte, light, dark);
::selection { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
input, input,
@@ -110,7 +110,7 @@
--bard-color-response-container-background-rgb: #rgbify(@base)[]; --bard-color-response-container-background-rgb: #rgbify(@base)[];
--bard-color-onhover-conversation-metadata-button-v2: @surface1; --bard-color-onhover-conversation-metadata-button-v2: @surface1;
--bard-color-selected-conversation-metadata-button-v2: fade( --bard-color-selected-conversation-metadata-button-v2: fade(
@accent-color, @accent,
40% 40%
); );
--bard-color-new-conversation-button: @surface0; --bard-color-new-conversation-button: @surface0;
@@ -119,7 +119,7 @@
--bard-color-sidenav-upgrade-button: @surface0; --bard-color-sidenav-upgrade-button: @surface0;
--bard-color-form-field-placeholder: @subtext0; --bard-color-form-field-placeholder: @subtext0;
--bard-color-discovery-carousel-background: @mantle; --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-example-prompt-background: @crust;
--bard-color-bard-mode-logo-prefix: @subtext1; --bard-color-bard-mode-logo-prefix: @subtext1;
--bard-color-neutral-96: @crust; --bard-color-neutral-96: @crust;
@@ -127,17 +127,17 @@
--bard-color-adv-marketing-product-background: @surface0; --bard-color-adv-marketing-product-background: @surface0;
--bard-color-adv-marketing-disclaimer: @subtext0; --bard-color-adv-marketing-disclaimer: @subtext0;
--bard-color-input-area-buttons-selected-background: fade( --bard-color-input-area-buttons-selected-background: fade(
@accent-color, @accent,
70% 70%
); );
--bard-color-zero-state-card-selected: fade(@accent-color, 30%); --bard-color-zero-state-card-selected: fade(@accent, 30%);
--bard-color-zero-state-prompt-chip-background: fade(@accent-color, 50%); --bard-color-zero-state-prompt-chip-background: fade(@accent, 50%);
--bard-color-zero-state-prompt-chip-text: lighten(@accent-color, 5%); --bard-color-zero-state-prompt-chip-text: lighten(@accent, 5%);
--bard-color-regular-banner: @accent-color; --bard-color-regular-banner: @accent;
--bard-color-regular-banner-text: @crust; --bard-color-regular-banner-text: @crust;
--bard-color-skeleton-loader-background-1-rgb: #rgbify(@mantle)[]; --bard-color-skeleton-loader-background-1-rgb: #rgbify(@mantle)[];
--bard-color-skeleton-loader-background-2-rgb: #rgbify(@accent-color)[]; --bard-color-skeleton-loader-background-2-rgb: #rgbify(@accent)[];
--bard-color-skeleton-loader-background-3-rgb: #rgbify(@accent-color)[]; --bard-color-skeleton-loader-background-3-rgb: #rgbify(@accent)[];
--bard-color-brand-text-gradient-stop-1: @blue; --bard-color-brand-text-gradient-stop-1: @blue;
--bard-color-brand-text-gradient-stop-2: @sapphire; --bard-color-brand-text-gradient-stop-2: @sapphire;
--bard-color-brand-text-gradient-stop-3: @peach; --bard-color-brand-text-gradient-stop-3: @peach;
@@ -159,18 +159,18 @@
--bard-color-tunable-selection-menu-text: @text; --bard-color-tunable-selection-menu-text: @text;
--bard-color-tunable-selection-menu-background: @mantle; --bard-color-tunable-selection-menu-background: @mantle;
--bard-color-tunable-selection-textarea-background: @base; --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-onegooglebar-product-controls: @text;
--bard-color-adv-marketing-check: @text; --bard-color-adv-marketing-check: @text;
--mdc-switch-selected-hover-handle-color: lighten(@accent-color, 10%); --mdc-switch-selected-hover-handle-color: lighten(@accent, 10%);
--mdc-switch-selected-focus-handle-color: lighten(@accent-color, 10%); --mdc-switch-selected-focus-handle-color: lighten(@accent, 10%);
--mdc-switch-selected-pressed-handle-color: lighten(@accent-color, 15%); --mdc-switch-selected-pressed-handle-color: lighten(@accent, 15%);
--mdc-switch-selected-track-color: fade(@accent-color, 50%); --mdc-switch-selected-track-color: fade(@accent, 50%);
--mdc-switch-selected-hover-track-color: fade(@accent-color, 50%); --mdc-switch-selected-hover-track-color: fade(@accent, 50%);
--mdc-switch-selected-focus-track-color: fade(@accent-color, 50%); --mdc-switch-selected-focus-track-color: fade(@accent, 50%);
--mdc-switch-selected-pressed-track-color: fade(@accent-color, 50%); --mdc-switch-selected-pressed-track-color: fade(@accent, 50%);
--mdc-switch-selected-handle-color: @accent-color; --mdc-switch-selected-handle-color: @accent;
--mdc-switch-unselected-handle-color: @subtext0; --mdc-switch-unselected-handle-color: @subtext0;
--mdc-switch-unselected-hover-handle-color: @subtext1; --mdc-switch-unselected-hover-handle-color: @subtext1;
--mdc-switch-unselected-focus-handle-color: @text; --mdc-switch-unselected-focus-handle-color: @text;
@@ -179,15 +179,15 @@
--mdc-switch-unselected-hover-track-color: @surface2; --mdc-switch-unselected-hover-track-color: @surface2;
--mdc-switch-unselected-pressed-track-color: @surface2; --mdc-switch-unselected-pressed-track-color: @surface2;
--mdc-switch-unselected-focus-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-checkmark-color: var(--gem-sys-color--on-primary);
--mdc-checkbox-selected-hover-icon-color: @accent-color; --mdc-checkbox-selected-hover-icon-color: @accent;
--mdc-checkbox-selected-pressed-icon-color: @accent-color; --mdc-checkbox-selected-pressed-icon-color: @accent;
--mdc-checkbox-selected-focus-icon-color: @accent-color; --mdc-checkbox-selected-focus-icon-color: @accent;
--mdc-checkbox-selected-focus-state-layer-color: @accent-color; --mdc-checkbox-selected-focus-state-layer-color: @accent;
--mdc-checkbox-selected-hover-state-layer-color: @accent-color; --mdc-checkbox-selected-hover-state-layer-color: @accent;
--mdc-checkbox-selected-pressed-state-layer-color: @text; --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-focus-state-layer-color: @text;
--mdc-checkbox-unselected-hover-state-layer-color: @text; --mdc-checkbox-unselected-hover-state-layer-color: @text;
--mdc-checkbox-unselected-focus-icon-color: @text; --mdc-checkbox-unselected-focus-icon-color: @text;
@@ -197,13 +197,13 @@
--mdc-text-button-hover-label-text-color: @overlay2; --mdc-text-button-hover-label-text-color: @overlay2;
--mdc-list-list-item-hover-label-text-color: @text; --mdc-list-list-item-hover-label-text-color: @text;
--mdc-filled-button-label-text-color: @crust; --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-focus-outline-color: @text;
--mdc-outlined-button-hover-label-text-color: @subtext1; --mdc-outlined-button-hover-label-text-color: @subtext1;
--mdc-list-list-item-focus-label-text-color: @text; --mdc-list-list-item-focus-label-text-color: @text;
--mdc-icon-button-disabled-icon-color: @surface2; --mdc-icon-button-disabled-icon-color: @surface2;
--mdc-outlined-text-field-input-text-color: @text; --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; --mdc-outlined-text-field-outline-color: @overlay1;
--mat-app-text-color: @text; --mat-app-text-color: @text;
@@ -221,12 +221,12 @@
--mat-menu-container-color: @base; --mat-menu-container-color: @base;
--mat-menu-item-icon-color: @text; --mat-menu-item-icon-color: @text;
--mat-filled-button-state-layer-color: @overlay2; --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-fab-small-hover-state-layer-opacity: 1;
--mat-divider-color: @overlay2; --mat-divider-color: @overlay2;
--gm-outlinedtextfield-outline-color: @subtext0; --gm-outlinedtextfield-outline-color: @subtext0;
--gm-outlinedtextfield-outline-color--stateful: @accent-color; --gm-outlinedtextfield-outline-color--stateful: @accent;
--gm-outlinedtextfield-ink-color: @text; --gm-outlinedtextfield-ink-color: @text;
--gm3-sys-color-on-secondary-container: @crust; --gm3-sys-color-on-secondary-container: @crust;
--gm3-sys-color-secondary-container: @text; --gm3-sys-color-secondary-container: @text;
@@ -241,21 +241,21 @@
--gem-sys-color--surface-container-low: lighten(@mantle, 2%); --gem-sys-color--surface-container-low: lighten(@mantle, 2%);
--gem-sys-color--outline: @subtext0; --gem-sys-color--outline: @subtext0;
--gem-sys-color--on-primary-container: @text; --gem-sys-color--on-primary-container: @text;
--gem-sys-color--on-primary-fixed: darken(@accent-color, 40%); --gem-sys-color--on-primary-fixed: darken(@accent, 40%);
--gem-sys-color--on-primary: darken(@accent-color, 60%); --gem-sys-color--on-primary: darken(@accent, 60%);
--gem-sys-color--primary: @accent-color; --gem-sys-color--primary: @accent;
--gem-sys-color--primary-container: fade(@accent-color, 60%); --gem-sys-color--primary-container: fade(@accent, 60%);
--gem-sys-color--on-surface--rgb: #rgbify(@subtext0)[]; --gem-sys-color--on-surface--rgb: #rgbify(@subtext0)[];
--gem-sys-color--surface-dim--rgb: #rgbify(@crust)[]; --gem-sys-color--surface-dim--rgb: #rgbify(@crust)[];
--gem-sys-color--surface-container-highest: @surface0; --gem-sys-color--surface-container-highest: @surface0;
--gem-sys-color--primary-fixed: @text; --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; --gem-sys-color--surface-variant: @surface0;
--og-theme-color: @text; --og-theme-color: @text;
.action-icon { .action-icon {
--gem-sys-color--on-primary: @accent-color; --gem-sys-color--on-primary: @accent;
--gem-sys-color--on-surface-variant: @mantle; --gem-sys-color--on-surface-variant: @mantle;
} }
.draft-preview-label-chip.selected { .draft-preview-label-chip.selected {
@@ -268,8 +268,8 @@
.mdc-text-field--disabled, .mdc-text-field--disabled,
.mdc-text-field--focused .mdc-text-field--focused
) { ) {
& .mdc-notched-outline__leading, .mdc-notched-outline__leading,
& .mdc-notched-outline__trailing { .mdc-notched-outline__trailing {
border-color: @text !important; border-color: @text !important;
} }
} }
@@ -331,8 +331,8 @@
color: rgba(var(--gem-sys-color--on-surface--rgb), 0.38); color: rgba(var(--gem-sys-color--on-surface--rgb), 0.38);
} }
.mat-mdc-progress-bar { .mat-mdc-progress-bar {
--mdc-linear-progress-active-indicator-color: @accent-color; --mdc-linear-progress-active-indicator-color: @accent;
--mdc-linear-progress-track-color: fade(@accent-color, 50%); --mdc-linear-progress-track-color: fade(@accent, 50%);
} }
.mdc-list-item, .mdc-list-item,
.gmat-mdc-list { .gmat-mdc-list {
@@ -342,9 +342,9 @@
--mdc-list-list-item-focus-state-layer-color: @overlay2; --mdc-list-list-item-focus-state-layer-color: @overlay2;
} }
.gmat-mdc-button.mat-mdc-button.mat-primary { .gmat-mdc-button.mat-mdc-button.mat-primary {
--mdc-text-button-label-text-color: @accent-color; --mdc-text-button-label-text-color: @accent;
--mdc-text-button-hover-label-text-color: lighten(@accent-color, 5%); --mdc-text-button-hover-label-text-color: lighten(@accent, 5%);
--mdc-text-button-focus-label-text-color: lighten(@accent-color, 8%); --mdc-text-button-focus-label-text-color: lighten(@accent, 8%);
} }
.gmat-mdc-button.mat-mdc-button.mat-unthemed { .gmat-mdc-button.mat-mdc-button.mat-unthemed {
--mat-text-button-state-layer-color: @overlay2; --mat-text-button-state-layer-color: @overlay2;
@@ -355,7 +355,7 @@
.gmat-mdc-button.mat-mdc-fab:not( .gmat-mdc-button.mat-mdc-fab:not(
.mat-mdc-button-disabled .mat-mdc-button-disabled
).mat-primary.gmat-mdc-fab-fill { ).mat-primary.gmat-mdc-fab-fill {
--mdc-fab-container-color: @accent-color; --mdc-fab-container-color: @accent;
--mat-fab-foreground-color: @crust; --mat-fab-foreground-color: @crust;
} }
.gmat-mdc-button.mat-mdc-mini-fab:not( .gmat-mdc-button.mat-mdc-mini-fab:not(
@@ -376,8 +376,8 @@
.xap-count-badge-dot { .xap-count-badge-dot {
background-color: @red; background-color: @red;
} }
& when (@lookup = latte) { & when (@flavor = latte) {
--gem-sys-color--on-primary-fixed: @accent-color; --gem-sys-color--on-primary-fixed: @accent;
--gem-sys-color--on-primary: @mantle; --gem-sys-color--on-primary: @mantle;
--gem-sys-color--primary-fixed: @crust; --gem-sys-color--primary-fixed: @crust;
} }
+85 -88
View File
@@ -16,51 +16,48 @@
==/UserStyle== */ ==/UserStyle== */
@-moz-document domain("photos.google.com") { @-moz-document domain("photos.google.com") {
@media (prefers-color-scheme: light) { :root {
:root { @media (prefers-color-scheme: light) {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
}
@media (prefers-color-scheme: dark) {
#catppuccin(@darkFlavor);
} }
} }
@media (prefers-color-scheme: dark) { #catppuccin(@flavor) {
:root { @rosewater: @catppuccin[@@flavor][@rosewater];
#catppuccin(@darkFlavor, @accentColor); @flamingo: @catppuccin[@@flavor][@flamingo];
} @pink: @catppuccin[@@flavor][@pink];
} @mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@flavor][@surface2];
@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) { color-scheme: if(@flavor = latte, light, dark);
@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 { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
input, input,
@@ -83,43 +80,43 @@
} }
.hIolmc { .hIolmc {
--gm3-chip-assist-flat-label-text-color: @text; --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-chip-assist-flat-outline-color: @surface2;
--gm3-sys-color-outline: @surface2; --gm3-sys-color-outline: @surface2;
} }
.I2nt9 { .I2nt9 {
--gm3-text-field-filled-container-color: @surface2; --gm3-text-field-filled-container-color: @surface2;
--gm3-text-field-filled-input-text-color: @text; --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-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; --gm3-text-field-filled-label-text-color: @text;
} }
/* checkbox */ /* checkbox */
--mdc-checkbox-selected-icon-color: @accent-color; --mdc-checkbox-selected-icon-color: @accent;
--mdc-checkbox-selected-checkmark-color: @mantle; --mdc-checkbox-selected-checkmark-color: @mantle;
--mdc-checkbox-unselected-icon-color: @surface0; --mdc-checkbox-unselected-icon-color: @surface0;
/* radio checkbox/switches */ /* radio checkbox/switches */
.bEtrNb { .bEtrNb {
--gm3-radio-selected-focus-icon-color: @accent-color; --gm3-radio-selected-focus-icon-color: @accent;
--gm3-radio-selected-hover-icon-color: @accent-color; --gm3-radio-selected-hover-icon-color: @accent;
--gm3-radio-selected-icon-color: @accent-color; --gm3-radio-selected-icon-color: @accent;
--gm3-radio-selected-pressed-icon-color: @accent-color; --gm3-radio-selected-pressed-icon-color: @accent;
--gm3-radio-selected-hover-state-layer-color: @accent-color; --gm3-radio-selected-hover-state-layer-color: @accent;
--gm3-radio-unselected-icon-color: @surface0; --gm3-radio-unselected-icon-color: @surface0;
--gm3-radio-unselected-hover-icon-color: @surface2; --gm3-radio-unselected-hover-icon-color: @surface2;
} }
.OKFoxe { .OKFoxe {
--gm3-switch-selected-focus-track-color: @accent-color; --gm3-switch-selected-focus-track-color: @accent;
--gm3-switch-selected-hover-state-layer-color: @accent-color; --gm3-switch-selected-hover-state-layer-color: @accent;
--gm3-switch-selected-track-color: @accent-color; --gm3-switch-selected-track-color: @accent;
--gm3-switch-selected-hover-track-color: @accent-color; --gm3-switch-selected-hover-track-color: @accent;
--gm3-switch-selected-pressed-state-layer-color: @accent-color; --gm3-switch-selected-pressed-state-layer-color: @accent;
--gm3-switch-selected-pressed-track-color: @accent-color; --gm3-switch-selected-pressed-track-color: @accent;
--gm3-switch-selected-hover-handle-color: darken(@accent-color, 20%); --gm3-switch-selected-hover-handle-color: darken(@accent, 20%);
--gm3-switch-selected-pressed-handle-color: darken(@accent-color, 15%); --gm3-switch-selected-pressed-handle-color: darken(@accent, 15%);
--gm3-switch-selected-handle-color: darken(@accent-color, 10%); --gm3-switch-selected-handle-color: darken(@accent, 10%);
--gm3-switch-selected-icon-color: @base; --gm3-switch-selected-icon-color: @base;
} }
/* uploading photo popups */ /* uploading photo popups */
@@ -134,7 +131,7 @@
/* loading circle */ /* loading circle */
.DMuDh { .DMuDh {
--gm3-circular-progress-active-indicator-color: @accent-color; --gm3-circular-progress-active-indicator-color: @accent;
} }
/* main background */ /* main background */
@@ -262,14 +259,14 @@
} }
.uprWmb:hover, .uprWmb:hover,
.uprWmb { .uprWmb {
background: @accent-color !important; background: @accent !important;
} }
.HksvWb, .HksvWb,
.HEHjMc { .HEHjMc {
color: @text; color: @text;
} }
.HEHjMc:hover { .HEHjMc:hover {
color: @accent-color; color: @accent;
} }
.uprWmb .HksvWb { .uprWmb .HksvWb {
@@ -283,13 +280,13 @@
} }
.Olf00, .Olf00,
.J0dufb { .J0dufb {
background-color: @accent-color !important; background-color: @accent !important;
color: @mantle; color: @mantle;
} }
/* sidebar slider */ /* sidebar slider */
.bButFf { .bButFf {
background-color: @surface0; background-color: @surface0;
border-bottom-color: @accent-color; border-bottom-color: @accent;
color: @text; color: @text;
} }
/* year when scrolling */ /* year when scrolling */
@@ -299,7 +296,7 @@
} }
/* unlock storage discount button */ /* unlock storage discount button */
.z3RRjd:not(:disabled) { .z3RRjd:not(:disabled) {
color: @accent-color; color: @accent;
border-color: @surface0; border-color: @surface0;
} }
/* locked photo dialog */ /* locked photo dialog */
@@ -315,8 +312,8 @@
} }
/* storage used bar */ /* storage used bar */
.XCxRFf { .XCxRFf {
background-color: @accent-color; background-color: @accent;
box-shadow: 2px 0 0 lighten(@accent-color, 10%); box-shadow: 2px 0 0 lighten(@accent, 10%);
} }
.DFG23b { .DFG23b {
background-color: @overlay0; background-color: @overlay0;
@@ -386,7 +383,7 @@
background-color: @base; background-color: @base;
} }
.Pk50Ic { .Pk50Ic {
background: @accent-color; background: @accent;
} }
/* underline on album title */ /* underline on album title */
.kmqzh .cXrdqd::before, .kmqzh .cXrdqd::before,
@@ -456,7 +453,7 @@
} }
/* rety button */ /* rety button */
.RSxr8 { .RSxr8 {
background-color: darken(@accent-color, 15%); background-color: darken(@accent, 15%);
} }
/* sharing page */ /* sharing page */
@@ -499,7 +496,7 @@
/* the small arrow in the dropdown box */ /* the small arrow in the dropdown box */
.hqBSCb:not(.VfPpkd-O1htCb-OWXEXe-OWB6Me).VfPpkd-O1htCb-OWXEXe-XpnDCe .hqBSCb:not(.VfPpkd-O1htCb-OWXEXe-OWB6Me).VfPpkd-O1htCb-OWXEXe-XpnDCe
.VfPpkd-t08AT-Bz112c { .VfPpkd-t08AT-Bz112c {
fill: @accent-color; fill: @accent;
} }
/* sharing via links subpage */ /* sharing via links subpage */
@@ -562,7 +559,7 @@
} }
/* automatic album label */ /* automatic album label */
.ecTDsc { .ecTDsc {
background-color: @accent-color; background-color: @accent;
color: @crust; color: @crust;
} }
/* subtext */ /* subtext */
@@ -581,7 +578,7 @@
} }
/* "view" button links */ /* "view" button links */
.oFJeZc:not(:disabled) { .oFJeZc:not(:disabled) {
color: @accent-color; color: @accent;
} }
/* sectional borders */ /* sectional borders */
.X0f2Ie, .X0f2Ie,
@@ -590,7 +587,7 @@
} }
/* storage discount button */ /* storage discount button */
.kDryjd:not(:disabled) { .kDryjd:not(:disabled) {
background-color: @accent-color; background-color: @accent;
color: @crust; color: @crust;
} }
/* selected radial selector */ /* selected radial selector */
@@ -599,7 +596,7 @@
+ .VfPpkd-RsCWK + .VfPpkd-RsCWK
.VfPpkd-wVo5xe-LkdAo, .VfPpkd-wVo5xe-LkdAo,
.bEtrNb .VfPpkd-gBXA9-bMcfAe:enabled + .VfPpkd-RsCWK .VfPpkd-Z5TpLc-LkdAo { .bEtrNb .VfPpkd-gBXA9-bMcfAe:enabled + .VfPpkd-RsCWK .VfPpkd-Z5TpLc-LkdAo {
border-color: @accent-color; border-color: @accent;
} }
/* unselected radial selector */ /* unselected radial selector */
.bEtrNb .bEtrNb
@@ -616,11 +613,11 @@
background-color: @surface1 !important; background-color: @surface1 !important;
} }
.OKFoxe.VfPpkd-scr2fc-OWXEXe-uqeOfd:disabled .VfPpkd-pafCAf { .OKFoxe.VfPpkd-scr2fc-OWXEXe-uqeOfd:disabled .VfPpkd-pafCAf {
fill: @accent-color; fill: @accent;
} }
/* switch that is in the on position */ /* switch that is in the on position */
.OKFoxe.VfPpkd-scr2fc-OWXEXe-gk6SMd:enabled .VfPpkd-uMhiad::after { .OKFoxe.VfPpkd-scr2fc-OWXEXe-gk6SMd:enabled .VfPpkd-uMhiad::after {
background-color: @accent-color; background-color: @accent;
} }
.OKFoxe.VfPpkd-scr2fc-OWXEXe-gk6SMd:enabled .VfPpkd-pafCAf { .OKFoxe.VfPpkd-scr2fc-OWXEXe-gk6SMd:enabled .VfPpkd-pafCAf {
fill: @mantle; fill: @mantle;
@@ -631,7 +628,7 @@
/* partner sharing */ /* partner sharing */
.QYw5Ld { .QYw5Ld {
background-color: @accent-color; background-color: @accent;
border-color: @surface0; border-color: @surface0;
} }
@@ -702,7 +699,7 @@
/* "new" pill thingy idk what to call this lol */ /* "new" pill thingy idk what to call this lol */
.Li8WFe { .Li8WFe {
color: @mantle; color: @mantle;
background-color: @accent-color; background-color: @accent;
} }
/* create highlight video subpage */ /* create highlight video subpage */
.a4dmPd { .a4dmPd {
@@ -742,11 +739,11 @@
/* how much storage is used bar */ /* how much storage is used bar */
.O4tDGf:nth-of-type(1), .O4tDGf:nth-of-type(1),
.vN9JEc:nth-of-type(1) > .ZbKZ3d { .vN9JEc:nth-of-type(1) > .ZbKZ3d {
background-color: @accent-color; background-color: @accent;
} }
.O4tDGf:nth-of-type(2), .O4tDGf:nth-of-type(2),
.vN9JEc:nth-of-type(2) > .ZbKZ3d { .vN9JEc:nth-of-type(2) > .ZbKZ3d {
background-color: lighten(@accent-color, 15%); background-color: lighten(@accent, 15%);
} }
.yVr0Vb { .yVr0Vb {
background-color: @overlay0; background-color: @overlay0;
@@ -817,7 +814,7 @@
.dm7YTc .fEUJ5b.qs41qe .dCWhBf, .dm7YTc .fEUJ5b.qs41qe .dCWhBf,
.dm7YTc .fEUJ5b.qs41qe .R4GWv, .dm7YTc .fEUJ5b.qs41qe .R4GWv,
.dm7YTc .fEUJ5b .bBKqme { .dm7YTc .fEUJ5b .bBKqme {
background-color: @accent-color; background-color: @accent;
} }
/* filters tool */ /* filters tool */
.XlI4Ne { .XlI4Ne {
@@ -865,10 +862,10 @@
color: @text; color: @text;
} }
.osOuXd:not(.VfPpkd-O1htCb-OWXEXe-OWB6Me) .VfPpkd-RWgCYc-ksKsZd::after { .osOuXd:not(.VfPpkd-O1htCb-OWXEXe-OWB6Me) .VfPpkd-RWgCYc-ksKsZd::after {
border-color: @accent-color; border-color: @accent;
} }
.ddaf0 .qggZ5d .d1dlne::after { .ddaf0 .qggZ5d .d1dlne::after {
background-color: @accent-color; background-color: @accent;
} }
.pRVpNc { .pRVpNc {
color: @subtext0; color: @subtext0;
@@ -887,7 +884,7 @@
} }
/* selected video backgrounc */ /* selected video backgrounc */
.s67Ibf.UYcdu { .s67Ibf.UYcdu {
background: fade(@accent-color, 40%); background: fade(@accent, 40%);
} }
/* skipped suggestions page */ /* skipped suggestions page */
@@ -933,7 +930,7 @@
); );
background-image: url("data:image/svg+xml,@{svg}") !important; background-image: url("data:image/svg+xml,@{svg}") !important;
& when (@lookup = latte) { & when (@flavor = latte) {
@svg: escape( @svg: escape(
'<svg xmlns="http://www.w3.org/2000/svg" width="135" height="40" viewBox="0 0 135 40"><path fill="@{overlay0}" d="M130.197 40H4.73A4.74 4.74 0 0 1 0 35.267V4.727A4.734 4.734 0 0 1 4.73 0h125.467C132.803 0 135 2.12 135 4.726v30.54c0 2.606-2.197 4.734-4.803 4.734"/><path d="M134.032 35.268a3.83 3.83 0 0 1-3.834 3.83H4.728a3.835 3.835 0 0 1-3.838-3.83V4.725A3.84 3.84 0 0 1 4.73.89h125.467c2.12 0 3.834 1.72 3.834 3.835l.002 30.543z"/><path d="M30.128 19.784c-.03-3.223 2.64-4.79 2.76-4.864-1.51-2.203-3.852-2.504-4.675-2.528-1.967-.207-3.875 1.177-4.877 1.177-1.022 0-2.565-1.158-4.228-1.124-2.14.033-4.142 1.272-5.24 3.196-2.266 3.923-.576 9.688 1.595 12.86 1.086 1.552 2.355 3.286 4.016 3.225 1.624-.067 2.23-1.036 4.192-1.036 1.943 0 2.513 1.037 4.207.998 1.743-.028 2.84-1.56 3.89-3.127 1.254-1.78 1.758-3.532 1.778-3.622-.04-.014-3.387-1.29-3.42-5.154zm-3.2-9.478c.874-1.093 1.472-2.58 1.306-4.09-1.265.057-2.847.876-3.758 1.945-.806.943-1.526 2.487-1.34 3.94 1.42.105 2.88-.718 3.792-1.794zm26.717 21.198h-2.27l-1.245-3.91h-4.324l-1.185 3.91h-2.21l4.284-13.308h2.646zm-3.89-5.55L48.63 22.48q-.179-.532-.67-2.507h-.04q-.198.85-.633 2.507l-1.105 3.475h3.573zm14.907.634q0 2.448-1.323 3.87-1.186 1.263-2.943 1.263-1.896 0-2.725-1.36h-.04v5.054H55.5V25.067q0-1.54-.08-3.16h1.876l.12 1.522h.04q1.066-1.72 3.237-1.72 1.699 0 2.833 1.343 1.136 1.344 1.136 3.535zm-2.172.078q0-1.401-.632-2.31-.691-.948-1.856-.948-.79.001-1.43.523-.645.525-.84 1.374-.1.395-.1.65v1.6q0 1.047.643 1.768c.643.721.984.72 1.668.72q1.204 0 1.875-.927.672-.929.672-2.45m13.21-.078q0 2.448-1.325 3.87-1.185 1.263-2.94 1.263-1.897 0-2.725-1.36h-.04v5.054h-2.132V25.067q0-1.54-.08-3.16h1.876l.12 1.522h.04q1.064-1.72 3.237-1.72 1.698 0 2.835 1.343 1.133 1.344 1.134 3.535zm-2.173.078q0-1.401-.633-2.31-.69-.948-1.855-.948a2.22 2.22 0 0 0-1.433.523q-.642.525-.838 1.374-.1.395-.1.65v1.6q0 1.047.64 1.768.641.72 1.67.72 1.204 0 1.875-.927.672-.929.672-2.45zm14.513 1.106q0 1.698-1.183 2.764-1.3 1.165-3.625 1.165-2.147 0-3.45-.828l.495-1.777q1.404.85 3.082.85 1.203 0 1.876-.544.67-.542.67-1.453 0-.81-.553-1.364-.551-.554-1.836-1.03-3.494-1.302-3.494-3.815 0-1.64 1.225-2.69 1.221-1.047 3.258-1.047 1.815 0 3.02.633l-.533 1.738q-1.124-.61-2.547-.61-1.125 0-1.756.552-.533.494-.533 1.205 0 .789.61 1.303.533.474 1.937 1.027 1.717.69 2.527 1.618.81.925.81 2.307zm7.048-4.264h-2.35v4.66q0 1.776 1.244 1.776.571 0 .947-.1l.058 1.62q-.63.236-1.658.236-1.263 0-1.975-.77-.71-.77-.71-2.587v-4.837h-1.4v-1.6h1.4V20.15l2.093-.633v2.39h2.35zm10.602 3.119q0 2.213-1.263 3.633-1.325 1.461-3.516 1.46-2.11 0-3.364-1.4c-1.254-1.4-1.254-2.113-1.254-3.534q0-2.231 1.293-3.652 1.291-1.422 3.484-1.422 2.111 0 3.395 1.402 1.227 1.36 1.226 3.513zm-2.21.07q0-1.329-.573-2.278-.671-1.15-1.914-1.15-1.285 0-1.955 1.15-.573.949-.572 2.316 0 1.328.572 2.276.69 1.149 1.936 1.148 1.222 0 1.914-1.168.59-.969.59-2.296zm9.14-2.914q-.316-.06-.67-.06-1.125 0-1.74.85-.531.75-.532 1.896v5.034h-2.13l.02-6.574q-.001-1.66-.08-3.02h1.856l.078 1.835h.06c.224-.63.58-1.14 1.065-1.52a2.58 2.58 0 0 1 1.54-.514q.297.001.534.04v2.033zm9.536 2.469a5 5 0 0 1-.078.967h-6.396q.037 1.421.928 2.172.809.67 2.092.67 1.42 0 2.588-.453l.334 1.48q-1.362.592-3.217.592-2.231 0-3.506-1.313-1.271-1.313-1.272-3.525 0-2.171 1.186-3.613 1.242-1.54 3.355-1.54 2.074 0 3.14 1.54.845 1.223.846 3.02zm-2.033-.553q.02-.95-.414-1.64-.555-.89-1.7-.89-1.047 0-1.697.87-.533.691-.63 1.658h4.44z" fill="@{base}"/><path d="M49.05 10.01q0 1.764-1.058 2.657-.979.825-2.783.824-.895 0-1.534-.077v-6.43q.834-.136 1.805-.137 1.72 0 2.59.747.98.844.98 2.416m-1.105.028q0-1.144-.606-1.756-.607-.61-1.772-.61-.494-.002-.844.067v4.888q.194.03.708.03 1.202 0 1.857-.67c.655-.67.655-1.096.655-1.95zm6.965.999q0 1.088-.622 1.785-.651.719-1.727.718-1.036 0-1.653-.69-.615-.687-.615-1.735-.001-1.097.635-1.794c.636-.697.994-.697 1.712-.697q1.036 0 1.668.688.6.67.6 1.727zm-1.088.034q0-.651-.28-1.118-.33-.564-.94-.564-.633 0-.962.564-.281.466-.28 1.138 0 .652.28 1.12.34.563.95.563.601.001.94-.574.292-.476.292-1.13zm8.943-2.351-1.475 4.713h-.96l-.61-2.047q-.233-.767-.38-1.523h-.02q-.135.777-.378 1.523l-.65 2.047h-.97L55.935 8.72h1.077l.533 2.24q.194.795.32 1.513h.02q.115-.592.388-1.503l.67-2.25h.853l.64 2.202q.233.805.38 1.552h.028q.106-.727.32-1.552l.572-2.202h1.03zm5.433 4.713H67.15v-2.7q0-1.248-.95-1.248a.95.95 0 0 0-.757.343q-.29.345-.29.808v2.796h-1.05v-3.366q0-.62-.037-1.35h.92l.05.738h.03q.182-.343.542-.57a1.8 1.8 0 0 1 .95-.264q.66 0 1.097.427.543.524.543 1.562zm2.89 0H70.04V6.556h1.048zm6.17-2.396q0 1.088-.62 1.785-.652.719-1.728.718-1.04 0-1.654-.69-.615-.687-.615-1.735 0-1.097.636-1.794c.636-.697.994-.697 1.71-.697q1.04 0 1.67.688.601.67.602 1.727zm-1.088.034q0-.651-.28-1.118-.33-.564-.94-.564-.633 0-.96.564-.284.466-.282 1.138 0 .652.28 1.12.341.563.952.563.6.001.94-.574.29-.476.29-1.13zm6.16 2.362h-.94l-.08-.543h-.028q-.482.65-1.377.65-.668 0-1.076-.427a1.34 1.34 0 0 1-.37-.96q0-.863.723-1.32.723-.455 2.033-.445V10.3q0-.93-.98-.93a2.2 2.2 0 0 0-1.228.348l-.213-.6Line truncated '<svg xmlns="http://www.w3.org/2000/svg" width="135" height="40" viewBox="0 0 135 40"><path fill="@{overlay0}" d="M130.197 40H4.73A4.74 4.74 0 0 1 0 35.267V4.727A4.734 4.734 0 0 1 4.73 0h125.467C132.803 0 135 2.12 135 4.726v30.54c0 2.606-2.197 4.734-4.803 4.734"/><path d="M134.032 35.268a3.83 3.83 0 0 1-3.834 3.83H4.728a3.835 3.835 0 0 1-3.838-3.83V4.725A3.84 3.84 0 0 1 4.73.89h125.467c2.12 0 3.834 1.72 3.834 3.835l.002 30.543z"/><path d="M30.128 19.784c-.03-3.223 2.64-4.79 2.76-4.864-1.51-2.203-3.852-2.504-4.675-2.528-1.967-.207-3.875 1.177-4.877 1.177-1.022 0-2.565-1.158-4.228-1.124-2.14.033-4.142 1.272-5.24 3.196-2.266 3.923-.576 9.688 1.595 12.86 1.086 1.552 2.355 3.286 4.016 3.225 1.624-.067 2.23-1.036 4.192-1.036 1.943 0 2.513 1.037 4.207.998 1.743-.028 2.84-1.56 3.89-3.127 1.254-1.78 1.758-3.532 1.778-3.622-.04-.014-3.387-1.29-3.42-5.154zm-3.2-9.478c.874-1.093 1.472-2.58 1.306-4.09-1.265.057-2.847.876-3.758 1.945-.806.943-1.526 2.487-1.34 3.94 1.42.105 2.88-.718 3.792-1.794zm26.717 21.198h-2.27l-1.245-3.91h-4.324l-1.185 3.91h-2.21l4.284-13.308h2.646zm-3.89-5.55L48.63 22.48q-.179-.532-.67-2.507h-.04q-.198.85-.633 2.507l-1.105 3.475h3.573zm14.907.634q0 2.448-1.323 3.87-1.186 1.263-2.943 1.263-1.896 0-2.725-1.36h-.04v5.054H55.5V25.067q0-1.54-.08-3.16h1.876l.12 1.522h.04q1.066-1.72 3.237-1.72 1.699 0 2.833 1.343 1.136 1.344 1.136 3.535zm-2.172.078q0-1.401-.632-2.31-.691-.948-1.856-.948-.79.001-1.43.523-.645.525-.84 1.374-.1.395-.1.65v1.6q0 1.047.643 1.768c.643.721.984.72 1.668.72q1.204 0 1.875-.927.672-.929.672-2.45m13.21-.078q0 2.448-1.325 3.87-1.185 1.263-2.94 1.263-1.897 0-2.725-1.36h-.04v5.054h-2.132V25.067q0-1.54-.08-3.16h1.876l.12 1.522h.04q1.064-1.72 3.237-1.72 1.698 0 2.835 1.343 1.133 1.344 1.134 3.535zm-2.173.078q0-1.401-.633-2.31-.69-.948-1.855-.948a2.22 2.22 0 0 0-1.433.523q-.642.525-.838 1.374-.1.395-.1.65v1.6q0 1.047.64 1.768.641.72 1.67.72 1.204 0 1.875-.927.672-.929.672-2.45zm14.513 1.106q0 1.698-1.183 2.764-1.3 1.165-3.625 1.165-2.147 0-3.45-.828l.495-1.777q1.404.85 3.082.85 1.203 0 1.876-.544.67-.542.67-1.453 0-.81-.553-1.364-.551-.554-1.836-1.03-3.494-1.302-3.494-3.815 0-1.64 1.225-2.69 1.221-1.047 3.258-1.047 1.815 0 3.02.633l-.533 1.738q-1.124-.61-2.547-.61-1.125 0-1.756.552-.533.494-.533 1.205 0 .789.61 1.303.533.474 1.937 1.027 1.717.69 2.527 1.618.81.925.81 2.307zm7.048-4.264h-2.35v4.66q0 1.776 1.244 1.776.571 0 .947-.1l.058 1.62q-.63.236-1.658.236-1.263 0-1.975-.77-.71-.77-.71-2.587v-4.837h-1.4v-1.6h1.4V20.15l2.093-.633v2.39h2.35zm10.602 3.119q0 2.213-1.263 3.633-1.325 1.461-3.516 1.46-2.11 0-3.364-1.4c-1.254-1.4-1.254-2.113-1.254-3.534q0-2.231 1.293-3.652 1.291-1.422 3.484-1.422 2.111 0 3.395 1.402 1.227 1.36 1.226 3.513zm-2.21.07q0-1.329-.573-2.278-.671-1.15-1.914-1.15-1.285 0-1.955 1.15-.573.949-.572 2.316 0 1.328.572 2.276.69 1.149 1.936 1.148 1.222 0 1.914-1.168.59-.969.59-2.296zm9.14-2.914q-.316-.06-.67-.06-1.125 0-1.74.85-.531.75-.532 1.896v5.034h-2.13l.02-6.574q-.001-1.66-.08-3.02h1.856l.078 1.835h.06c.224-.63.58-1.14 1.065-1.52a2.58 2.58 0 0 1 1.54-.514q.297.001.534.04v2.033zm9.536 2.469a5 5 0 0 1-.078.967h-6.396q.037 1.421.928 2.172.809.67 2.092.67 1.42 0 2.588-.453l.334 1.48q-1.362.592-3.217.592-2.231 0-3.506-1.313-1.271-1.313-1.272-3.525 0-2.171 1.186-3.613 1.242-1.54 3.355-1.54 2.074 0 3.14 1.54.845 1.223.846 3.02zm-2.033-.553q.02-.95-.414-1.64-.555-.89-1.7-.89-1.047 0-1.697.87-.533.691-.63 1.658h4.44z" fill="@{base}"/><path d="M49.05 10.01q0 1.764-1.058 2.657-.979.825-2.783.824-.895 0-1.534-.077v-6.43q.834-.136 1.805-.137 1.72 0 2.59.747.98.844.98 2.416m-1.105.028q0-1.144-.606-1.756-.607-.61-1.772-.61-.494-.002-.844.067v4.888q.194.03.708.03 1.202 0 1.857-.67c.655-.67.655-1.096.655-1.95zm6.965.999q0 1.088-.622 1.785-.651.719-1.727.718-1.036 0-1.653-.69-.615-.687-.615-1.735-.001-1.097.635-1.794c.636-.697.994-.697 1.712-.697q1.036 0 1.668.688.6.67.6 1.727zm-1.088.034q0-.651-.28-1.118-.33-.564-.94-.564-.633 0-.962.564-.281.466-.28 1.138 0 .652.28 1.12.34.563.95.563.601.001.94-.574.292-.476.292-1.13zm8.943-2.351-1.475 4.713h-.96l-.61-2.047q-.233-.767-.38-1.523h-.02q-.135.777-.378 1.523l-.65 2.047h-.97L55.935 8.72h1.077l.533 2.24q.194.795.32 1.513h.02q.115-.592.388-1.503l.67-2.25h.853l.64 2.202q.233.805.38 1.552h.028q.106-.727.32-1.552l.572-2.202h1.03zm5.433 4.713H67.15v-2.7q0-1.248-.95-1.248a.95.95 0 0 0-.757.343q-.29.345-.29.808v2.796h-1.05v-3.366q0-.62-.037-1.35h.92l.05.738h.03q.182-.343.542-.57a1.8 1.8 0 0 1 .95-.264q.66 0 1.097.427.543.524.543 1.562zm2.89 0H70.04V6.556h1.048zm6.17-2.396q0 1.088-.62 1.785-.652.719-1.728.718-1.04 0-1.654-.69-.615-.687-.615-1.735 0-1.097.636-1.794c.636-.697.994-.697 1.71-.697q1.04 0 1.67.688.601.67.602 1.727zm-1.088.034q0-.651-.28-1.118-.33-.564-.94-.564-.633 0-.96.564-.284.466-.282 1.138 0 .652.28 1.12.341.563.952.563.6.001.94-.574.29-.476.29-1.13zm6.16 2.362h-.94l-.08-.543h-.028q-.482.65-1.377.65-.668 0-1.076-.427a1.34 1.34 0 0 1-.37-.96q0-.863.723-1.32.723-.455 2.033-.445V10.3q0-.93-.98-.93a2.2 2.2 0 0 0-1.228.348l-.213-.6Line truncated
); );
@@ -948,7 +945,7 @@
); );
background-image: url("data:image/svg+xml,@{svg}") !important; background-image: url("data:image/svg+xml,@{svg}") !important;
& when (@lookup = latte) { & when (@flavor = latte) {
@svg: escape( @svg: escape(
'<svg xmlns="http://www.w3.org/2000/svg" width="135" height="40" viewBox="0 0 135 40"><path d="M130 40H5c-2.75 0-5-2.25-5-5V5c0-2.75 2.25-5 5-5h125c2.75 0 5 2.25 5 5v30c0 2.75-2.25 5-5 5"/><path fill="@{base}" d="M130 .8a4.2 4.2 0 0 1 4.2 4.2v30a4.2 4.2 0 0 1-4.2 4.2H5A4.2 4.2 0 0 1 .8 35V5A4.2 4.2 0 0 1 5 .8zm0-.8H5C2.25 0 0 2.25 0 5v30c0 2.75 2.25 5 5 5h125c2.75 0 5-2.25 5-5V5c0-2.75-2.25-5-5-5"/><path d="M47.42 10.24c0 .84-.25 1.51-.75 2-.56.59-1.3.89-2.2.89-.87 0-1.6-.3-2.21-.9s-.91-1.35-.91-2.23c0-.89.3-1.63.91-2.23s1.34-.9 2.21-.9c.43 0 .84.08 1.23.25s.7.39.94.67l-.53.53c-.4-.47-.94-.71-1.64-.71-.63 0-1.18.22-1.64.67-.46.44-.69 1.02-.69 1.73s.23 1.29.69 1.73 1.01.67 1.64.67c.67 0 1.23-.22 1.68-.67.29-.29.46-.7.5-1.22h-2.18v-.73h2.91c.02.16.04.31.04.45zm4.61-2.5H49.3v1.9h2.46v.72H49.3v1.9h2.73V13h-3.5V7h3.5zM55.28 13h-.77V7.74h-1.68V7h4.12v.74h-1.68V13zm4.66 0V7h.77v6zm4.19 0h-.77V7.74h-1.68V7h4.12v.74h-1.68V13zm9.48-.78c-.59.61-1.32.91-2.2.91s-1.61-.3-2.2-.91-.88-1.35-.88-2.22.29-1.62.88-2.22c.59-.61 1.32-.91 2.2-.91.87 0 1.6.3 2.2.91.59.61.89 1.35.89 2.22-.01.88-.3 1.62-.89 2.22zm-3.83-.5c.44.45.99.67 1.63.67s1.19-.22 1.63-.67.67-1.02.67-1.72-.22-1.27-.67-1.72c-.44-.45-.99-.68-1.63-.68s-1.19.22-1.63.67c-.44.46-.67 1.03-.67 1.73s.23 1.27.67 1.72zm5.8 1.28V7h.94l2.92 4.67h.03l-.03-1.16V7h.77v6h-.8l-3.05-4.89h-.03l.03 1.16V13z" fill="@{base}" stroke="@{base}" stroke-width=".2" stroke-miterlimit="10"/><path fill="@{base}" d="M68.14 21.75c-2.35 0-4.27 1.79-4.27 4.25 0 2.45 1.92 4.25 4.27 4.25s4.27-1.8 4.27-4.25c0-2.46-1.92-4.25-4.27-4.25m0 6.83c-1.29 0-2.4-1.06-2.4-2.58 0-1.53 1.11-2.58 2.4-2.58s2.4 1.05 2.4 2.58c0 1.52-1.12 2.58-2.4 2.58m-9.32-6.83c-2.35 0-4.27 1.79-4.27 4.25 0 2.45 1.92 4.25 4.27 4.25s4.27-1.8 4.27-4.25c0-2.46-1.92-4.25-4.27-4.25m0 6.83c-1.29 0-2.4-1.06-2.4-2.58 0-1.53 1.11-2.58 2.4-2.58s2.4 1.05 2.4 2.58c0 1.52-1.11 2.58-2.4 2.58m-11.08-5.52v1.8h4.32c-.13 1.01-.47 1.76-.98 2.27-.63.63-1.61 1.32-3.33 1.32-2.66 0-4.74-2.14-4.74-4.8s2.08-4.8 4.74-4.8c1.43 0 2.48.56 3.25 1.29l1.27-1.27c-1.08-1.03-2.51-1.82-4.53-1.82-3.64 0-6.7 2.96-6.7 6.61 0 3.64 3.06 6.61 6.7 6.61 1.97 0 3.45-.64 4.61-1.85 1.19-1.19 1.56-2.87 1.56-4.22 0-.42-.03-.81-.1-1.13h-6.07zm45.31 1.4c-.35-.95-1.43-2.71-3.64-2.71-2.19 0-4.01 1.72-4.01 4.25 0 2.38 1.8 4.25 4.22 4.25 1.95 0 3.08-1.19 3.54-1.88l-1.45-.97c-.48.71-1.14 1.18-2.09 1.18s-1.63-.43-2.06-1.29l5.69-2.35zm-5.8 1.42c-.05-1.64 1.27-2.48 2.22-2.48.74 0 1.37.37 1.58.9zM82.63 30h1.87V17.5h-1.87zm-3.06-7.3h-.07c-.42-.5-1.22-.95-2.24-.95-2.13 0-4.08 1.87-4.08 4.27 0 2.38 1.95 4.24 4.08 4.24 1.01 0 1.82-.45 2.24-.97h.06v.61c0 1.63-.87 2.5-2.27 2.5-1.14 0-1.85-.82-2.14-1.51l-1.63.68c.47 1.13 1.71 2.51 3.77 2.51 2.19 0 4.04-1.29 4.04-4.43v-7.64h-1.77v.69zm-2.15 5.88c-1.29 0-2.37-1.08-2.37-2.56 0-1.5 1.08-2.59 2.37-2.59 1.27 0 2.27 1.1 2.27 2.59.01 1.48-.99 2.56-2.27 2.56m24.39-11.08h-4.47V30h1.87v-4.74h2.61c2.07 0 4.1-1.5 4.1-3.88s-2.05-3.88-4.11-3.88m.04 6.02H99.2v-4.29h2.65c1.4 0 2.19 1.16 2.19 2.14s-.79 2.15-2.19 2.15m11.54-1.79c-1.35 0-2.75.6-3.33 1.91l1.66.69c.35-.69 1.01-.92 1.7-.92.96 0 1.95.58 1.96 1.61v.13c-.34-.19-1.06-.48-1.95-.48-1.79 0-3.6.98-3.6 2.81 0 1.67 1.46 2.75 3.1 2.75 1.25 0 1.95-.56 2.38-1.22h.06v.97h1.8v-4.79c.01-2.22-1.65-3.46-3.78-3.46m-.23 6.85c-.61 0-1.46-.31-1.46-1.06 0-.96 1.06-1.33 1.98-1.33.82 0 1.21.18 1.7.42a2.26 2.26 0 0 1-2.22 1.97M123.74 22l-2.14 5.42h-.06L119.32 22h-2.01l3.33 7.58-1.9 4.21h1.95L125.82 22zm-16.8 8h1.87V17.5h-1.87z"/><linearGradient id="a" gradientUnits="userSpaceOnUse" x1="21.8" y1="173.29" x2="5.017" y2="156.508" gradientTransform="matrix(1 0 0 -1 0 182)"><stop offset="0" stop-color="@{blue}"/><stop offset=".007" stop-color="@{blue}"/><stop offset=".26" stop-color="@{blue}"/><stop offset=".512" stop-color="@{blue}"/><stop offset=".76" stop-color="@{blue}"/><stop offset="1" stop-color="@{blue}"/></linearGradient><path fill="url(#a)" d="M10.44 7.54c-.29.31-.46.79-.46 1.4v22.12c0 .62.17 1.1.46 1.4l.07.07L22.9 20.15v-.3L10.51 7.47z"/><linearGradient id="b" gradientUnits="userSpaceOnUse" x1="33.834" y1="161.999" x2="9.637" y2="161.999" gradientTransform="matrix(1 0 0 -1 0 182)"><stop offset="0" stop-color="@{yellow}"/><stop offset=".409" stop-color="@{yellow}"/><stop offset=".775" stop-color="@{peach}"/><stop offset="1" stop-color="@{peach}"/></linearGradient><path fill="url(#b)" d="m27.03 24.28-4.13-4.13v-.3l4.13-4.13.09.05 4.89 2.78c1.4.79 1.4 2.09 0 2.89l-4.89 2.78z"/><linearGradient id="c" gradientUnits="userSpaceOnUse" x1="24.827" y1="159.704" x2="2.069" y2="136.946" gradientTransform="matrix(1 0 0 -1 0 182)"><stop offset="0" stop-color="@{red}"/><stop offset="1" stop-color="@{maroon}"/></linearGradient><path fill="url(#c)" d="M27.12 24.22 22.9 20 10.44 32.46c.46.49 1.22.55 2.08.06z"/><linearGradient id="d" gradientUnits="userSpaceOnUse" x1="7.297" y1="181.824" x2="17.46" y2="171.661" gradientTransform="matrix(1 0 0 -1 0 182)"><stop offset="0" stop-color="@{green}"/><stop offset=".069" stop-color="@{green}Line truncated '<svg xmlns="http://www.w3.org/2000/svg" width="135" height="40" viewBox="0 0 135 40"><path d="M130 40H5c-2.75 0-5-2.25-5-5V5c0-2.75 2.25-5 5-5h125c2.75 0 5 2.25 5 5v30c0 2.75-2.25 5-5 5"/><path fill="@{base}" d="M130 .8a4.2 4.2 0 0 1 4.2 4.2v30a4.2 4.2 0 0 1-4.2 4.2H5A4.2 4.2 0 0 1 .8 35V5A4.2 4.2 0 0 1 5 .8zm0-.8H5C2.25 0 0 2.25 0 5v30c0 2.75 2.25 5 5 5h125c2.75 0 5-2.25 5-5V5c0-2.75-2.25-5-5-5"/><path d="M47.42 10.24c0 .84-.25 1.51-.75 2-.56.59-1.3.89-2.2.89-.87 0-1.6-.3-2.21-.9s-.91-1.35-.91-2.23c0-.89.3-1.63.91-2.23s1.34-.9 2.21-.9c.43 0 .84.08 1.23.25s.7.39.94.67l-.53.53c-.4-.47-.94-.71-1.64-.71-.63 0-1.18.22-1.64.67-.46.44-.69 1.02-.69 1.73s.23 1.29.69 1.73 1.01.67 1.64.67c.67 0 1.23-.22 1.68-.67.29-.29.46-.7.5-1.22h-2.18v-.73h2.91c.02.16.04.31.04.45zm4.61-2.5H49.3v1.9h2.46v.72H49.3v1.9h2.73V13h-3.5V7h3.5zM55.28 13h-.77V7.74h-1.68V7h4.12v.74h-1.68V13zm4.66 0V7h.77v6zm4.19 0h-.77V7.74h-1.68V7h4.12v.74h-1.68V13zm9.48-.78c-.59.61-1.32.91-2.2.91s-1.61-.3-2.2-.91-.88-1.35-.88-2.22.29-1.62.88-2.22c.59-.61 1.32-.91 2.2-.91.87 0 1.6.3 2.2.91.59.61.89 1.35.89 2.22-.01.88-.3 1.62-.89 2.22zm-3.83-.5c.44.45.99.67 1.63.67s1.19-.22 1.63-.67.67-1.02.67-1.72-.22-1.27-.67-1.72c-.44-.45-.99-.68-1.63-.68s-1.19.22-1.63.67c-.44.46-.67 1.03-.67 1.73s.23 1.27.67 1.72zm5.8 1.28V7h.94l2.92 4.67h.03l-.03-1.16V7h.77v6h-.8l-3.05-4.89h-.03l.03 1.16V13z" fill="@{base}" stroke="@{base}" stroke-width=".2" stroke-miterlimit="10"/><path fill="@{base}" d="M68.14 21.75c-2.35 0-4.27 1.79-4.27 4.25 0 2.45 1.92 4.25 4.27 4.25s4.27-1.8 4.27-4.25c0-2.46-1.92-4.25-4.27-4.25m0 6.83c-1.29 0-2.4-1.06-2.4-2.58 0-1.53 1.11-2.58 2.4-2.58s2.4 1.05 2.4 2.58c0 1.52-1.12 2.58-2.4 2.58m-9.32-6.83c-2.35 0-4.27 1.79-4.27 4.25 0 2.45 1.92 4.25 4.27 4.25s4.27-1.8 4.27-4.25c0-2.46-1.92-4.25-4.27-4.25m0 6.83c-1.29 0-2.4-1.06-2.4-2.58 0-1.53 1.11-2.58 2.4-2.58s2.4 1.05 2.4 2.58c0 1.52-1.11 2.58-2.4 2.58m-11.08-5.52v1.8h4.32c-.13 1.01-.47 1.76-.98 2.27-.63.63-1.61 1.32-3.33 1.32-2.66 0-4.74-2.14-4.74-4.8s2.08-4.8 4.74-4.8c1.43 0 2.48.56 3.25 1.29l1.27-1.27c-1.08-1.03-2.51-1.82-4.53-1.82-3.64 0-6.7 2.96-6.7 6.61 0 3.64 3.06 6.61 6.7 6.61 1.97 0 3.45-.64 4.61-1.85 1.19-1.19 1.56-2.87 1.56-4.22 0-.42-.03-.81-.1-1.13h-6.07zm45.31 1.4c-.35-.95-1.43-2.71-3.64-2.71-2.19 0-4.01 1.72-4.01 4.25 0 2.38 1.8 4.25 4.22 4.25 1.95 0 3.08-1.19 3.54-1.88l-1.45-.97c-.48.71-1.14 1.18-2.09 1.18s-1.63-.43-2.06-1.29l5.69-2.35zm-5.8 1.42c-.05-1.64 1.27-2.48 2.22-2.48.74 0 1.37.37 1.58.9zM82.63 30h1.87V17.5h-1.87zm-3.06-7.3h-.07c-.42-.5-1.22-.95-2.24-.95-2.13 0-4.08 1.87-4.08 4.27 0 2.38 1.95 4.24 4.08 4.24 1.01 0 1.82-.45 2.24-.97h.06v.61c0 1.63-.87 2.5-2.27 2.5-1.14 0-1.85-.82-2.14-1.51l-1.63.68c.47 1.13 1.71 2.51 3.77 2.51 2.19 0 4.04-1.29 4.04-4.43v-7.64h-1.77v.69zm-2.15 5.88c-1.29 0-2.37-1.08-2.37-2.56 0-1.5 1.08-2.59 2.37-2.59 1.27 0 2.27 1.1 2.27 2.59.01 1.48-.99 2.56-2.27 2.56m24.39-11.08h-4.47V30h1.87v-4.74h2.61c2.07 0 4.1-1.5 4.1-3.88s-2.05-3.88-4.11-3.88m.04 6.02H99.2v-4.29h2.65c1.4 0 2.19 1.16 2.19 2.14s-.79 2.15-2.19 2.15m11.54-1.79c-1.35 0-2.75.6-3.33 1.91l1.66.69c.35-.69 1.01-.92 1.7-.92.96 0 1.95.58 1.96 1.61v.13c-.34-.19-1.06-.48-1.95-.48-1.79 0-3.6.98-3.6 2.81 0 1.67 1.46 2.75 3.1 2.75 1.25 0 1.95-.56 2.38-1.22h.06v.97h1.8v-4.79c.01-2.22-1.65-3.46-3.78-3.46m-.23 6.85c-.61 0-1.46-.31-1.46-1.06 0-.96 1.06-1.33 1.98-1.33.82 0 1.21.18 1.7.42a2.26 2.26 0 0 1-2.22 1.97M123.74 22l-2.14 5.42h-.06L119.32 22h-2.01l3.33 7.58-1.9 4.21h1.95L125.82 22zm-16.8 8h1.87V17.5h-1.87z"/><linearGradient id="a" gradientUnits="userSpaceOnUse" x1="21.8" y1="173.29" x2="5.017" y2="156.508" gradientTransform="matrix(1 0 0 -1 0 182)"><stop offset="0" stop-color="@{blue}"/><stop offset=".007" stop-color="@{blue}"/><stop offset=".26" stop-color="@{blue}"/><stop offset=".512" stop-color="@{blue}"/><stop offset=".76" stop-color="@{blue}"/><stop offset="1" stop-color="@{blue}"/></linearGradient><path fill="url(#a)" d="M10.44 7.54c-.29.31-.46.79-.46 1.4v22.12c0 .62.17 1.1.46 1.4l.07.07L22.9 20.15v-.3L10.51 7.47z"/><linearGradient id="b" gradientUnits="userSpaceOnUse" x1="33.834" y1="161.999" x2="9.637" y2="161.999" gradientTransform="matrix(1 0 0 -1 0 182)"><stop offset="0" stop-color="@{yellow}"/><stop offset=".409" stop-color="@{yellow}"/><stop offset=".775" stop-color="@{peach}"/><stop offset="1" stop-color="@{peach}"/></linearGradient><path fill="url(#b)" d="m27.03 24.28-4.13-4.13v-.3l4.13-4.13.09.05 4.89 2.78c1.4.79 1.4 2.09 0 2.89l-4.89 2.78z"/><linearGradient id="c" gradientUnits="userSpaceOnUse" x1="24.827" y1="159.704" x2="2.069" y2="136.946" gradientTransform="matrix(1 0 0 -1 0 182)"><stop offset="0" stop-color="@{red}"/><stop offset="1" stop-color="@{maroon}"/></linearGradient><path fill="url(#c)" d="M27.12 24.22 22.9 20 10.44 32.46c.46.49 1.22.55 2.08.06z"/><linearGradient id="d" gradientUnits="userSpaceOnUse" x1="7.297" y1="181.824" x2="17.46" y2="171.661" gradientTransform="matrix(1 0 0 -1 0 182)"><stop offset="0" stop-color="@{green}"/><stop offset=".069" stop-color="@{green}Line truncated
); );
@@ -967,7 +964,7 @@
// favorites image // favorites image
.ryy2Zd { .ryy2Zd {
@svg: escape( @svg: escape(
'<svg xmlns="http://www.w3.org/2000/svg" width="132" height="132" fill="none"><path d="M117 26H15v102h102z" fill="@{overlay0}"/><path d="M99.68 87.392c0-1.25-.29-2.79-2.791-6.64a7.92 7.92 0 0 1 0-8.467c2.502-3.85 2.79-5.389 2.79-6.64s-.288-2.79-2.79-6.64l-10.2-14.626C82.166 37.836 74.564 33.506 66 33.506s-16.166 4.33-20.689 10.873l-10.2 14.627c-2.502 3.849-2.79 5.388-2.79 6.64 0 1.25.288 2.79 2.79 6.639a7.92 7.92 0 0 1 0 8.468c-2.502 3.849-2.79 5.389-2.79 6.64s.288 2.79 2.79 6.64a7.92 7.92 0 0 1 0 8.467c-2.502 3.849-2.79 5.389-2.79 6.64s.288 2.79 2.79 6.639a7.92 7.92 0 0 1 0 8.468H96.89a7.92 7.92 0 0 1 0-8.468c2.502-3.849 2.79-5.388 2.79-6.639s-.288-2.791-2.79-6.64a7.92 7.92 0 0 1 0-8.468c2.502-3.849 2.79-5.292 2.79-6.64" fill="@{surface0}"/><path d="M47.717 57.658c0 10.104 8.18 18.284 18.283 18.284s18.283-8.18 18.283-18.283H47.717z" fill="@{overlay1}"/><path d="M104.491 128v-4.715c0-12.51-6.063-24.25-16.359-31.37L65.52 76.038 42.906 91.915c-10.2 7.217-16.359 18.86-16.359 31.37V128" fill="@{blue}"/><path d="M50.604 86.43v11.162c0 8.468 6.832 15.397 15.396 15.397 8.468 0 15.396-6.832 15.396-15.397V86.43" stroke="@{surface0}" stroke-miterlimit="10"/><path d="m113.487 11.018 1.402 8.334c.1.605.39 1.163.831 1.596s1.007.717 1.62.813l8.49 1.314a2.97 2.97 0 0 1 1.628.81 2.9 2.9 0 0 1 .835 1.598 2.85 2.85 0 0 1-.277 1.774c-.281.546-.73.99-1.284 1.266l-7.627 3.852c-.543.28-.983.72-1.26 1.259a2.87 2.87 0 0 0-.284 1.749l1.394 8.332a2.86 2.86 0 0 1-.291 1.756 2.9 2.9 0 0 1-1.277 1.252 2.97 2.97 0 0 1-3.393-.529l-6.105-5.977a2.98 2.98 0 0 0-3.417-.53l-7.627 3.852a2.965 2.965 0 0 1-3.394-.522 2.9 2.9 0 0 1-.839-1.58 2.86 2.86 0 0 1 .254-1.76l3.848-7.522a2.85 2.85 0 0 0 .264-1.754 2.9 2.9 0 0 0-.826-1.58l-6.105-5.977a2.9 2.9 0 0 1-.841-1.596 2.86 2.86 0 0 1 .271-1.774 2.9 2.9 0 0 1 1.28-1.271 2.97 2.97 0 0 1 1.797-.28l8.49 1.315a3 3 0 0 0 1.794-.284 2.9 2.9 0 0 0 1.278-1.27l3.848-7.52a2.9 2.9 0 0 1 1.276-1.271 2.97 2.97 0 0 1 3.416.529c.441.432.732.991.831 1.596" fill="@{accent-color}"/></svg>' '<svg xmlns="http://www.w3.org/2000/svg" width="132" height="132" fill="none"><path d="M117 26H15v102h102z" fill="@{overlay0}"/><path d="M99.68 87.392c0-1.25-.29-2.79-2.791-6.64a7.92 7.92 0 0 1 0-8.467c2.502-3.85 2.79-5.389 2.79-6.64s-.288-2.79-2.79-6.64l-10.2-14.626C82.166 37.836 74.564 33.506 66 33.506s-16.166 4.33-20.689 10.873l-10.2 14.627c-2.502 3.849-2.79 5.388-2.79 6.64 0 1.25.288 2.79 2.79 6.639a7.92 7.92 0 0 1 0 8.468c-2.502 3.849-2.79 5.389-2.79 6.64s.288 2.79 2.79 6.64a7.92 7.92 0 0 1 0 8.467c-2.502 3.849-2.79 5.389-2.79 6.64s.288 2.79 2.79 6.639a7.92 7.92 0 0 1 0 8.468H96.89a7.92 7.92 0 0 1 0-8.468c2.502-3.849 2.79-5.388 2.79-6.639s-.288-2.791-2.79-6.64a7.92 7.92 0 0 1 0-8.468c2.502-3.849 2.79-5.292 2.79-6.64" fill="@{surface0}"/><path d="M47.717 57.658c0 10.104 8.18 18.284 18.283 18.284s18.283-8.18 18.283-18.283H47.717z" fill="@{overlay1}"/><path d="M104.491 128v-4.715c0-12.51-6.063-24.25-16.359-31.37L65.52 76.038 42.906 91.915c-10.2 7.217-16.359 18.86-16.359 31.37V128" fill="@{blue}"/><path d="M50.604 86.43v11.162c0 8.468 6.832 15.397 15.396 15.397 8.468 0 15.396-6.832 15.396-15.397V86.43" stroke="@{surface0}" stroke-miterlimit="10"/><path d="m113.487 11.018 1.402 8.334c.1.605.39 1.163.831 1.596s1.007.717 1.62.813l8.49 1.314a2.97 2.97 0 0 1 1.628.81 2.9 2.9 0 0 1 .835 1.598 2.85 2.85 0 0 1-.277 1.774c-.281.546-.73.99-1.284 1.266l-7.627 3.852c-.543.28-.983.72-1.26 1.259a2.87 2.87 0 0 0-.284 1.749l1.394 8.332a2.86 2.86 0 0 1-.291 1.756 2.9 2.9 0 0 1-1.277 1.252 2.97 2.97 0 0 1-3.393-.529l-6.105-5.977a2.98 2.98 0 0 0-3.417-.53l-7.627 3.852a2.965 2.965 0 0 1-3.394-.522 2.9 2.9 0 0 1-.839-1.58 2.86 2.86 0 0 1 .254-1.76l3.848-7.522a2.85 2.85 0 0 0 .264-1.754 2.9 2.9 0 0 0-.826-1.58l-6.105-5.977a2.9 2.9 0 0 1-.841-1.596 2.86 2.86 0 0 1 .271-1.774 2.9 2.9 0 0 1 1.28-1.271 2.97 2.97 0 0 1 1.797-.28l8.49 1.315a3 3 0 0 0 1.794-.284 2.9 2.9 0 0 0 1.278-1.27l3.848-7.52a2.9 2.9 0 0 1 1.276-1.271 2.97 2.97 0 0 1 3.416.529c.441.432.732.991.831 1.596" fill="@{accent}"/></svg>'
); );
background-image: url("data:image/svg+xml,@{svg}") !important; background-image: url("data:image/svg+xml,@{svg}") !important;
} }
@@ -995,7 +992,7 @@
); );
background-image: url("data:image/svg+xml,@{svg}") !important; background-image: url("data:image/svg+xml,@{svg}") !important;
& when (@lookup = latte) { & when (@flavor = latte) {
@svg: escape( @svg: escape(
'<svg xmlns="http://www.w3.org/2000/svg" width="199" height="124" fill="none"><path d="m105.237 74.887-13.752-3.416c-5.979-1.453-12.3.512-16.485 5.124L111 91V75.281c-1.708.171-3.884.033-5.763-.394" fill="@{crust}"/><path d="M0 111V59.65c1.837-1.72 3.92-3.07 6.124-3.562 4.243-1.038 8.398.994 12.466 2.983.747.365 1.49.728 2.231 1.071 4.654 2.212 9.676 3.686 14.452 2.457 2.805-.703 5.41-2.333 8.02-3.967 1.95-1.22 3.901-2.44 5.943-3.281 4.899-2.089 10.533-1.72 15.31.86 1.823 1.017 3.564 2.349 5.307 3.683 2.47 1.89 4.946 3.785 7.675 4.794 4.531 1.597 9.553.614 13.472-2.58V111z" fill="@{blue}"/><path d="M40.377 67a11.24 11.24 0 0 0-5.734 1.574 11.6 11.6 0 0 0-4.198 4.307 7.7 7.7 0 0 0-3.395-1.907 7.55 7.55 0 0 0-3.87.016 7.7 7.7 0 0 0-3.38 1.937 8 8 0 0 0-2.043 3.373H13.52c-1.841 0-3.607.75-4.91 2.087a7.22 7.22 0 0 0-2.033 5.039c0 1.89.731 3.702 2.033 5.039a6.86 6.86 0 0 0 4.91 2.087h26.857c1.52.02 3.028-.27 4.437-.852a11.5 11.5 0 0 0 3.773-2.543 11.8 11.8 0 0 0 2.525-3.838 12.05 12.05 0 0 0 0-9.084 11.8 11.8 0 0 0-2.525-3.838 11.5 11.5 0 0 0-3.773-2.543 11.2 11.2 0 0 0-4.437-.852z" fill="@{mantle}"/><path d="M20.744 118.644c4.61 2.14 9.646 3.681 14.427 2.483 4.95-1.284 9.134-5.308 14-7.277 4.95-2.054 10.5-1.712 15.366.856 4.524 2.397 8.365 6.677 12.975 8.475 4.525 1.712 9.476.685 13.488-2.568v-11.3L76.744 94.418c-2.049-2.14-5.463-2.14-7.427 0l-12.634 13.354-18.61-19.517-5.378-5.65c-2.049-2.14-5.463-2.14-7.427 0l-5.292 5.65L0 109.399v8.646c1.878-1.712 3.841-2.996 6.061-3.51 4.951-1.198 9.902 1.798 14.683 4.109" fill="@{green}"/><path d="M69.094 89.188a10.066 10.066 0 0 0 10.094-10.094A10.066 10.066 0 0 0 69.094 69 10.066 10.066 0 0 0 59 79.094a10.066 10.066 0 0 0 10.094 10.094" fill="@{yellow}"/><path d="M175.734 46.504c-4.192 0-8.383-.942-12.061-2.997L138.695 29.46 87.372 0c-2.908 5.053-1.197 11.476 3.85 14.388l8.04 4.625H62.481c0 5.823 4.704 10.534 10.52 10.534h8.47L60 34.172c1.197 5.652 6.843 9.25 12.489 8.05l19.673-4.282c-1.881 1.285-3.507 3.083-4.704 5.053L71.89 69.37c4.362 3.083 10.35 1.799 13.173-2.655l8.554-13.617a8.54 8.54 0 0 1 7.27-4.025h7.955c7.271 0 13.173 5.909 13.173 13.189 0 6.68-4.942 11.904-11.015 13.017V91.04l10.16 4.025a27.42 27.42 0 0 0 18.305.685L199 77.25V46.504z" fill="@{crust}"/><path d="M93 37c7.955-5.759 20.7-7.919 30.452-3.52M82 29.142c8.554-1.6 20.102-3.44 27.714-3.6 5.56-.08 11.68.798 15.786 2.958M128 24c-6.159-3.12-14.314-5-28-5" stroke="@{text}" stroke-miterlimit="10"/></svg>' '<svg xmlns="http://www.w3.org/2000/svg" width="199" height="124" fill="none"><path d="m105.237 74.887-13.752-3.416c-5.979-1.453-12.3.512-16.485 5.124L111 91V75.281c-1.708.171-3.884.033-5.763-.394" fill="@{crust}"/><path d="M0 111V59.65c1.837-1.72 3.92-3.07 6.124-3.562 4.243-1.038 8.398.994 12.466 2.983.747.365 1.49.728 2.231 1.071 4.654 2.212 9.676 3.686 14.452 2.457 2.805-.703 5.41-2.333 8.02-3.967 1.95-1.22 3.901-2.44 5.943-3.281 4.899-2.089 10.533-1.72 15.31.86 1.823 1.017 3.564 2.349 5.307 3.683 2.47 1.89 4.946 3.785 7.675 4.794 4.531 1.597 9.553.614 13.472-2.58V111z" fill="@{blue}"/><path d="M40.377 67a11.24 11.24 0 0 0-5.734 1.574 11.6 11.6 0 0 0-4.198 4.307 7.7 7.7 0 0 0-3.395-1.907 7.55 7.55 0 0 0-3.87.016 7.7 7.7 0 0 0-3.38 1.937 8 8 0 0 0-2.043 3.373H13.52c-1.841 0-3.607.75-4.91 2.087a7.22 7.22 0 0 0-2.033 5.039c0 1.89.731 3.702 2.033 5.039a6.86 6.86 0 0 0 4.91 2.087h26.857c1.52.02 3.028-.27 4.437-.852a11.5 11.5 0 0 0 3.773-2.543 11.8 11.8 0 0 0 2.525-3.838 12.05 12.05 0 0 0 0-9.084 11.8 11.8 0 0 0-2.525-3.838 11.5 11.5 0 0 0-3.773-2.543 11.2 11.2 0 0 0-4.437-.852z" fill="@{mantle}"/><path d="M20.744 118.644c4.61 2.14 9.646 3.681 14.427 2.483 4.95-1.284 9.134-5.308 14-7.277 4.95-2.054 10.5-1.712 15.366.856 4.524 2.397 8.365 6.677 12.975 8.475 4.525 1.712 9.476.685 13.488-2.568v-11.3L76.744 94.418c-2.049-2.14-5.463-2.14-7.427 0l-12.634 13.354-18.61-19.517-5.378-5.65c-2.049-2.14-5.463-2.14-7.427 0l-5.292 5.65L0 109.399v8.646c1.878-1.712 3.841-2.996 6.061-3.51 4.951-1.198 9.902 1.798 14.683 4.109" fill="@{green}"/><path d="M69.094 89.188a10.066 10.066 0 0 0 10.094-10.094A10.066 10.066 0 0 0 69.094 69 10.066 10.066 0 0 0 59 79.094a10.066 10.066 0 0 0 10.094 10.094" fill="@{yellow}"/><path d="M175.734 46.504c-4.192 0-8.383-.942-12.061-2.997L138.695 29.46 87.372 0c-2.908 5.053-1.197 11.476 3.85 14.388l8.04 4.625H62.481c0 5.823 4.704 10.534 10.52 10.534h8.47L60 34.172c1.197 5.652 6.843 9.25 12.489 8.05l19.673-4.282c-1.881 1.285-3.507 3.083-4.704 5.053L71.89 69.37c4.362 3.083 10.35 1.799 13.173-2.655l8.554-13.617a8.54 8.54 0 0 1 7.27-4.025h7.955c7.271 0 13.173 5.909 13.173 13.189 0 6.68-4.942 11.904-11.015 13.017V91.04l10.16 4.025a27.42 27.42 0 0 0 18.305.685L199 77.25V46.504z" fill="@{crust}"/><path d="M93 37c7.955-5.759 20.7-7.919 30.452-3.52M82 29.142c8.554-1.6 20.102-3.44 27.714-3.6 5.56-.08 11.68.798 15.786 2.958M128 24c-6.159-3.12-14.314-5-28-5" stroke="@{text}" stroke-miterlimit="10"/></svg>'
); );
@@ -1010,7 +1007,7 @@
); );
background-image: url("data:image/svg+xml,@{svg}") !important; background-image: url("data:image/svg+xml,@{svg}") !important;
& when (@lookup = latte) { & when (@flavor = latte) {
@svg: escape( @svg: escape(
'<svg xmlns="http://www.w3.org/2000/svg" width="654" height="536" fill="none"><path fill="@{base}" d="M0 0h654v536H0z"/><path d="M307.5 443c94.165 0 170.5-76.112 170.5-170s-76.335-170-170.5-170S137 179.112 137 273s76.335 170 170.5 170z" stroke="@{text}" stroke-width="4" stroke-miterlimit="10" stroke-linecap="round" stroke-dasharray="0.01 24"/><path d="m141.807 269.137 2.806 8.552a3.09 3.09 0 0 0 2.942 2.137h9.059a3.1 3.1 0 0 1 2.956 2.135 3.08 3.08 0 0 1-1.137 3.458l-7.326 5.301a3.11 3.11 0 0 0-1.124 3.421l2.797 8.551a3.08 3.08 0 0 1-1.149 3.424 3.11 3.11 0 0 1-3.621-.004l-7.327-5.301a3.11 3.11 0 0 0-3.646 0l-7.326 5.301a3.102 3.102 0 0 1-4.75-1.523 3.1 3.1 0 0 1-.02-1.897l2.797-8.551a3.07 3.07 0 0 0-1.124-3.421l-7.326-5.301a3.085 3.085 0 0 1-1.137-3.458 3.1 3.1 0 0 1 2.956-2.135h9.059a3.11 3.11 0 0 0 2.951-2.137l2.797-8.552a3.1 3.1 0 0 1 1.124-1.546 3.11 3.11 0 0 1 3.645 0c.529.384.923.925 1.124 1.546" fill="@{yellow}"/><path d="M495.81 243.226a44.9 44.9 0 0 1-18.779 11.551A45 45 0 0 1 455 256.002l2.256-11.596a33.1 33.1 0 0 0 16.211-.903A33 33 0 0 0 487.282 235z" fill="@{red}"/><path d="M166.232 187.422a19.23 19.23 0 0 1-6.202-13.09 19.22 19.22 0 0 1 4.699-13.697 19.365 19.365 0 0 1 26.819-2.287" fill="@{green}"/><path d="M452.721 189.392c4.264 0 7.721-3.446 7.721-7.696S456.985 174 452.721 174 445 177.446 445 181.696s3.457 7.696 7.721 7.696" fill="@{blue}"/><path fill="@{base}" d="M184 388h67v63h-67z"/><path d="M277.198 49a50.75 50.75 0 0 1 25.755 7.017c7.831 4.603 14.334 11.225 18.855 19.202a34.6 34.6 0 0 1 15.246-8.503 34.16 34.16 0 0 1 17.381.074 34.6 34.6 0 0 1 15.174 8.634 35.5 35.5 0 0 1 9.179 15.036h19.028c8.271 0 16.202 3.347 22.05 9.305 5.849 5.957 9.134 14.038 9.134 22.463s-3.285 16.506-9.134 22.463c-5.848 5.958-13.779 9.305-22.05 9.305H277.198a50.7 50.7 0 0 1-19.924-3.8 51.5 51.5 0 0 1-16.945-11.333 52.6 52.6 0 0 1-11.342-17.114A53.3 53.3 0 0 1 225 101.502a53.3 53.3 0 0 1 3.987-20.246 52.6 52.6 0 0 1 11.342-17.114 51.5 51.5 0 0 1 16.945-11.333 50.7 50.7 0 0 1 19.924-3.8z" fill="@{blue}"/><circle cx="326.125" cy="104.875" fill="@{base}" r="9.625"/><path d="m326.125 112.75 9.851 17.062h-19.702z" fill="@{base}"/><rect x="114" y="350" width="78" height="156" rx="8" fill="@{text}"/><path fill="@{mantle}" d="M117 361h72v134h-72z"/><mask id="a" maskUnits="userSpaceOnUse" x="117" y="392" width="72" height="72"><path fill="@{yellow}" d="M117 392h72v72h-72z"/></mask><g mask="url(#a)"><path fill="@{yellow}" d="M117 392h72v72h-72z"/><path d="M28.765 291.978c8.223 9.946 9.311 23.919 2.895 35.033l-2.016 3.491L221.897 441.5l-7.088 12.277c24.031 13.875 54.779 5.636 68.653-18.395L23.012 285.011z" fill="@{blue}"/><path d="M34.55 346.058c11.653-.565 15.282.676 18.075 2.289s5.681 4.134 11.019 14.508a18.2 18.2 0 0 0 4.873 6.073c.748.586 1.553 1.207 2.426 1.71 3.308 2.065 7.279 3.116 11.355 2.91l.034-.059c11.503-.573 15.13.668 17.924 2.28 2.793 1.613 5.682 4.134 11.019 14.509a19.68 19.68 0 0 0 18.563 10.717c11.653-.565 15.281.676 18.074 2.289s5.682 4.134 11.02 14.508a19.67 19.67 0 0 0 18.562 10.717c11.653-.565 15.281.676 18.074 2.289s5.682 4.134 11.02 14.508c1.859 3.634 4.754 6.547 8.196 8.379l9.071-15.711c-3.442-1.832-6.338-4.745-8.197-8.378-5.337-10.375-8.226-12.896-11.019-14.509s-6.421-2.854-18.075-2.289a19.68 19.68 0 0 1-18.562-10.717c-5.337-10.374-8.226-12.896-11.019-14.508-2.793-1.613-6.421-2.854-18.075-2.289a19.68 19.68 0 0 1-18.562-10.717c-5.337-10.374-8.226-12.896-11.019-14.508-2.793-1.613-6.422-2.854-18.075-2.289a20.1 20.1 0 0 1-11.238-2.842c-3.05-1.839-5.539-4.517-7.266-7.842-5.337-10.374-8.226-12.895-11.02-14.508-2.792-1.613-6.42-2.854-18.074-2.289-4.318.222-8.488-1.021-11.96-3.337l-9.071 15.711a19.24 19.24 0 0 0 11.927 3.395" fill="@{mantle}"/><path d="m186.547 429.419-.056 9.709c0 1.443.888 2.719 2.275 3.163l9.21 3.051c3.052.999 3.052 5.382-.055 6.325l-9.266 2.941a3.33 3.33 0 0 0-2.33 3.162l-.056 9.709c0 3.218-4.161 4.55-6.047 1.942l-5.659-7.934a3.32 3.32 0 0 0-3.718-1.22l-9.265 2.94c-3.052.999-5.604-2.552-3.717-5.159l5.77-7.823c.832-1.166.887-2.719 0-3.94l-5.659-7.934c-1.887-2.607.665-6.103 3.772-5.104l9.21 3.052c1.387.443 2.885 0 3.718-1.166l5.77-7.823c1.997-2.496 6.103-1.165 6.103 2.109" fill="@{red}"/><path d="M182.83 449.947c-1.055 3.218-4.55 4.938-7.712 3.884-3.218-1.054-4.938-4.549-3.884-7.712 1.054-3.218 4.549-4.938 7.712-3.884 3.218 1.055 4.938 4.494 3.884 7.712" fill="@{red}"/><path d="m152 442.439-9.525-5.545a16.17 16.17 0 0 0-.653-14.745c-4.436-7.698-14.222-10.373-21.921-5.937s-10.373 14.223-5.937 21.921c2.675 4.698 7.372 7.503 12.396 7.96v11.026z" fill="@{surface2}"/><path d="m119.887 416.481 18.834 32.85" stroke="@{surface2}" stroke-miterlimit="10"/><path d="m129.523 414.541 9.198 34.79-25.404-25.53" stroke="@{surface2}" stroke-miterlimit="10" stroke-linejoin="bevel"/><path d="m138.846 419.046-.125 30.285-26.217-15.205" stroke="@{surface2}" stroke-miterlimit="10" stroke-linejoin="bevel"/></g><path fill="@{yellow}" d="M117 361h35v30h-35zm36 0h36v30h-36zm0 104h36v30h-36zm-36 0h35vLine truncated '<svg xmlns="http://www.w3.org/2000/svg" width="654" height="536" fill="none"><path fill="@{base}" d="M0 0h654v536H0z"/><path d="M307.5 443c94.165 0 170.5-76.112 170.5-170s-76.335-170-170.5-170S137 179.112 137 273s76.335 170 170.5 170z" stroke="@{text}" stroke-width="4" stroke-miterlimit="10" stroke-linecap="round" stroke-dasharray="0.01 24"/><path d="m141.807 269.137 2.806 8.552a3.09 3.09 0 0 0 2.942 2.137h9.059a3.1 3.1 0 0 1 2.956 2.135 3.08 3.08 0 0 1-1.137 3.458l-7.326 5.301a3.11 3.11 0 0 0-1.124 3.421l2.797 8.551a3.08 3.08 0 0 1-1.149 3.424 3.11 3.11 0 0 1-3.621-.004l-7.327-5.301a3.11 3.11 0 0 0-3.646 0l-7.326 5.301a3.102 3.102 0 0 1-4.75-1.523 3.1 3.1 0 0 1-.02-1.897l2.797-8.551a3.07 3.07 0 0 0-1.124-3.421l-7.326-5.301a3.085 3.085 0 0 1-1.137-3.458 3.1 3.1 0 0 1 2.956-2.135h9.059a3.11 3.11 0 0 0 2.951-2.137l2.797-8.552a3.1 3.1 0 0 1 1.124-1.546 3.11 3.11 0 0 1 3.645 0c.529.384.923.925 1.124 1.546" fill="@{yellow}"/><path d="M495.81 243.226a44.9 44.9 0 0 1-18.779 11.551A45 45 0 0 1 455 256.002l2.256-11.596a33.1 33.1 0 0 0 16.211-.903A33 33 0 0 0 487.282 235z" fill="@{red}"/><path d="M166.232 187.422a19.23 19.23 0 0 1-6.202-13.09 19.22 19.22 0 0 1 4.699-13.697 19.365 19.365 0 0 1 26.819-2.287" fill="@{green}"/><path d="M452.721 189.392c4.264 0 7.721-3.446 7.721-7.696S456.985 174 452.721 174 445 177.446 445 181.696s3.457 7.696 7.721 7.696" fill="@{blue}"/><path fill="@{base}" d="M184 388h67v63h-67z"/><path d="M277.198 49a50.75 50.75 0 0 1 25.755 7.017c7.831 4.603 14.334 11.225 18.855 19.202a34.6 34.6 0 0 1 15.246-8.503 34.16 34.16 0 0 1 17.381.074 34.6 34.6 0 0 1 15.174 8.634 35.5 35.5 0 0 1 9.179 15.036h19.028c8.271 0 16.202 3.347 22.05 9.305 5.849 5.957 9.134 14.038 9.134 22.463s-3.285 16.506-9.134 22.463c-5.848 5.958-13.779 9.305-22.05 9.305H277.198a50.7 50.7 0 0 1-19.924-3.8 51.5 51.5 0 0 1-16.945-11.333 52.6 52.6 0 0 1-11.342-17.114A53.3 53.3 0 0 1 225 101.502a53.3 53.3 0 0 1 3.987-20.246 52.6 52.6 0 0 1 11.342-17.114 51.5 51.5 0 0 1 16.945-11.333 50.7 50.7 0 0 1 19.924-3.8z" fill="@{blue}"/><circle cx="326.125" cy="104.875" fill="@{base}" r="9.625"/><path d="m326.125 112.75 9.851 17.062h-19.702z" fill="@{base}"/><rect x="114" y="350" width="78" height="156" rx="8" fill="@{text}"/><path fill="@{mantle}" d="M117 361h72v134h-72z"/><mask id="a" maskUnits="userSpaceOnUse" x="117" y="392" width="72" height="72"><path fill="@{yellow}" d="M117 392h72v72h-72z"/></mask><g mask="url(#a)"><path fill="@{yellow}" d="M117 392h72v72h-72z"/><path d="M28.765 291.978c8.223 9.946 9.311 23.919 2.895 35.033l-2.016 3.491L221.897 441.5l-7.088 12.277c24.031 13.875 54.779 5.636 68.653-18.395L23.012 285.011z" fill="@{blue}"/><path d="M34.55 346.058c11.653-.565 15.282.676 18.075 2.289s5.681 4.134 11.019 14.508a18.2 18.2 0 0 0 4.873 6.073c.748.586 1.553 1.207 2.426 1.71 3.308 2.065 7.279 3.116 11.355 2.91l.034-.059c11.503-.573 15.13.668 17.924 2.28 2.793 1.613 5.682 4.134 11.019 14.509a19.68 19.68 0 0 0 18.563 10.717c11.653-.565 15.281.676 18.074 2.289s5.682 4.134 11.02 14.508a19.67 19.67 0 0 0 18.562 10.717c11.653-.565 15.281.676 18.074 2.289s5.682 4.134 11.02 14.508c1.859 3.634 4.754 6.547 8.196 8.379l9.071-15.711c-3.442-1.832-6.338-4.745-8.197-8.378-5.337-10.375-8.226-12.896-11.019-14.509s-6.421-2.854-18.075-2.289a19.68 19.68 0 0 1-18.562-10.717c-5.337-10.374-8.226-12.896-11.019-14.508-2.793-1.613-6.421-2.854-18.075-2.289a19.68 19.68 0 0 1-18.562-10.717c-5.337-10.374-8.226-12.896-11.019-14.508-2.793-1.613-6.422-2.854-18.075-2.289a20.1 20.1 0 0 1-11.238-2.842c-3.05-1.839-5.539-4.517-7.266-7.842-5.337-10.374-8.226-12.895-11.02-14.508-2.792-1.613-6.42-2.854-18.074-2.289-4.318.222-8.488-1.021-11.96-3.337l-9.071 15.711a19.24 19.24 0 0 0 11.927 3.395" fill="@{mantle}"/><path d="m186.547 429.419-.056 9.709c0 1.443.888 2.719 2.275 3.163l9.21 3.051c3.052.999 3.052 5.382-.055 6.325l-9.266 2.941a3.33 3.33 0 0 0-2.33 3.162l-.056 9.709c0 3.218-4.161 4.55-6.047 1.942l-5.659-7.934a3.32 3.32 0 0 0-3.718-1.22l-9.265 2.94c-3.052.999-5.604-2.552-3.717-5.159l5.77-7.823c.832-1.166.887-2.719 0-3.94l-5.659-7.934c-1.887-2.607.665-6.103 3.772-5.104l9.21 3.052c1.387.443 2.885 0 3.718-1.166l5.77-7.823c1.997-2.496 6.103-1.165 6.103 2.109" fill="@{red}"/><path d="M182.83 449.947c-1.055 3.218-4.55 4.938-7.712 3.884-3.218-1.054-4.938-4.549-3.884-7.712 1.054-3.218 4.549-4.938 7.712-3.884 3.218 1.055 4.938 4.494 3.884 7.712" fill="@{red}"/><path d="m152 442.439-9.525-5.545a16.17 16.17 0 0 0-.653-14.745c-4.436-7.698-14.222-10.373-21.921-5.937s-10.373 14.223-5.937 21.921c2.675 4.698 7.372 7.503 12.396 7.96v11.026z" fill="@{surface2}"/><path d="m119.887 416.481 18.834 32.85" stroke="@{surface2}" stroke-miterlimit="10"/><path d="m129.523 414.541 9.198 34.79-25.404-25.53" stroke="@{surface2}" stroke-miterlimit="10" stroke-linejoin="bevel"/><path d="m138.846 419.046-.125 30.285-26.217-15.205" stroke="@{surface2}" stroke-miterlimit="10" stroke-linejoin="bevel"/></g><path fill="@{yellow}" d="M117 361h35v30h-35zm36 0h36v30h-36zm0 104h36v30h-36zm-36 0h35vLine truncated
); );
@@ -1024,7 +1021,7 @@
'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="96" height="96" xml:space="preserve"><path fill="none" d="M0 0v96h96V0z" opacity=".6"/><path fill="@{lavender}" d="M13 40.6c.07 3.3.32 6.49.76 9.76 2.07 14 9.93 29.86 31.47 40.97 1.74.9 3.8.9 5.54 0 21.54-11.11 29.4-26.97 31.47-40.97.44-3.27.69-6.46.76-9.76V21.27a7.2 7.2 0 0 0-4.75-6.77L50.45 4.43a7.23 7.23 0 0 0-4.9 0L17.75 14.5A7.19 7.19 0 0 0 13 21.27z"/><defs><path id="a" d="M13 40.6c.07 3.3.32 6.49.76 9.76 2.07 14 9.93 29.86 31.47 40.97 1.74.9 3.8.9 5.54 0 21.54-11.11 29.4-26.97 31.47-40.97.44-3.27.69-6.46.76-9.76V21.27a7.2 7.2 0 0 0-4.75-6.77L50.45 4.43a7.23 7.23 0 0 0-4.9 0L17.75 14.5A7.19 7.19 0 0 0 13 21.27z"/></defs><clipPath id="b"><use xlink:href="#a" overflow="visible"/></clipPath><path clip-path="url(#b)" fill="@{blue}" d="M4 3h44v90H4z"/><path fill="none" d="M27.6 23.2h40.8V64H27.6z"/><path fill="@{text}" d="M48 47.64h11.46c-.82 4.78-4.96 8.29-11.03 8.29-6.68 0-12.09-5.65-12.09-12.32s5.41-12.32 12.09-12.32c3.01 0 5.7 1.04 7.83 3.06l5.82-5.82c-3.54-3.3-8.15-5.32-13.65-5.32-11.27 0-20.4 9.13-20.4 20.4s9.13 20.4 20.4 20.4c11.78 0 19.54-8.28 19.54-19.94 0-1.49-.13-2.92-.38-4.29H48z"/><defs><path id="c" d="M48 47.64h11.46c-.82 4.78-4.96 8.29-11.03 8.29-6.68 0-12.09-5.65-12.09-12.32s5.41-12.32 12.09-12.32c3.01 0 5.7 1.04 7.83 3.06l5.82-5.82c-3.54-3.3-8.15-5.32-13.65-5.32-11.27 0-20.4 9.13-20.4 20.4s9.13 20.4 20.4 20.4c11.78 0 19.54-8.28 19.54-19.94 0-1.49-.13-2.92-.38-4.29H48z"/></defs><clipPath id="d"><use xlink:href="#c" overflow="visible"/></clipPath><path clip-path="url(#d)" fill="@{subtext0}" d="M27.6 22.14H48v42.92H27.6z"/></svg>' '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="96" height="96" xml:space="preserve"><path fill="none" d="M0 0v96h96V0z" opacity=".6"/><path fill="@{lavender}" d="M13 40.6c.07 3.3.32 6.49.76 9.76 2.07 14 9.93 29.86 31.47 40.97 1.74.9 3.8.9 5.54 0 21.54-11.11 29.4-26.97 31.47-40.97.44-3.27.69-6.46.76-9.76V21.27a7.2 7.2 0 0 0-4.75-6.77L50.45 4.43a7.23 7.23 0 0 0-4.9 0L17.75 14.5A7.19 7.19 0 0 0 13 21.27z"/><defs><path id="a" d="M13 40.6c.07 3.3.32 6.49.76 9.76 2.07 14 9.93 29.86 31.47 40.97 1.74.9 3.8.9 5.54 0 21.54-11.11 29.4-26.97 31.47-40.97.44-3.27.69-6.46.76-9.76V21.27a7.2 7.2 0 0 0-4.75-6.77L50.45 4.43a7.23 7.23 0 0 0-4.9 0L17.75 14.5A7.19 7.19 0 0 0 13 21.27z"/></defs><clipPath id="b"><use xlink:href="#a" overflow="visible"/></clipPath><path clip-path="url(#b)" fill="@{blue}" d="M4 3h44v90H4z"/><path fill="none" d="M27.6 23.2h40.8V64H27.6z"/><path fill="@{text}" d="M48 47.64h11.46c-.82 4.78-4.96 8.29-11.03 8.29-6.68 0-12.09-5.65-12.09-12.32s5.41-12.32 12.09-12.32c3.01 0 5.7 1.04 7.83 3.06l5.82-5.82c-3.54-3.3-8.15-5.32-13.65-5.32-11.27 0-20.4 9.13-20.4 20.4s9.13 20.4 20.4 20.4c11.78 0 19.54-8.28 19.54-19.94 0-1.49-.13-2.92-.38-4.29H48z"/><defs><path id="c" d="M48 47.64h11.46c-.82 4.78-4.96 8.29-11.03 8.29-6.68 0-12.09-5.65-12.09-12.32s5.41-12.32 12.09-12.32c3.01 0 5.7 1.04 7.83 3.06l5.82-5.82c-3.54-3.3-8.15-5.32-13.65-5.32-11.27 0-20.4 9.13-20.4 20.4s9.13 20.4 20.4 20.4c11.78 0 19.54-8.28 19.54-19.94 0-1.49-.13-2.92-.38-4.29H48z"/></defs><clipPath id="d"><use xlink:href="#c" overflow="visible"/></clipPath><path clip-path="url(#d)" fill="@{subtext0}" d="M27.6 22.14H48v42.92H27.6z"/></svg>'
); );
background-image: url("data:image/svg+xml,@{svg}") !important; background-image: url("data:image/svg+xml,@{svg}") !important;
& when (@lookup = latte) { & when (@flavor = latte) {
@svg: escape( @svg: escape(
'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="96" height="96" xml:space="preserve"><path fill="none" d="M0 0v96h96V0z" opacity=".6"/><path fill="@{lavender}" d="M13 40.6c.07 3.3.32 6.49.76 9.76 2.07 14 9.93 29.86 31.47 40.97 1.74.9 3.8.9 5.54 0 21.54-11.11 29.4-26.97 31.47-40.97.44-3.27.69-6.46.76-9.76V21.27a7.2 7.2 0 0 0-4.75-6.77L50.45 4.43a7.23 7.23 0 0 0-4.9 0L17.75 14.5A7.19 7.19 0 0 0 13 21.27z"/><defs><path id="a" d="M13 40.6c.07 3.3.32 6.49.76 9.76 2.07 14 9.93 29.86 31.47 40.97 1.74.9 3.8.9 5.54 0 21.54-11.11 29.4-26.97 31.47-40.97.44-3.27.69-6.46.76-9.76V21.27a7.2 7.2 0 0 0-4.75-6.77L50.45 4.43a7.23 7.23 0 0 0-4.9 0L17.75 14.5A7.19 7.19 0 0 0 13 21.27z"/></defs><clipPath id="b"><use xlink:href="#a" overflow="visible"/></clipPath><path clip-path="url(#b)" fill="@{blue}" d="M4 3h44v90H4z"/><path fill="none" d="M27.6 23.2h40.8V64H27.6z"/><path fill="@{mantle}" d="M48 47.64h11.46c-.82 4.78-4.96 8.29-11.03 8.29-6.68 0-12.09-5.65-12.09-12.32s5.41-12.32 12.09-12.32c3.01 0 5.7 1.04 7.83 3.06l5.82-5.82c-3.54-3.3-8.15-5.32-13.65-5.32-11.27 0-20.4 9.13-20.4 20.4s9.13 20.4 20.4 20.4c11.78 0 19.54-8.28 19.54-19.94 0-1.49-.13-2.92-.38-4.29H48z"/><defs><path id="c" d="M48 47.64h11.46c-.82 4.78-4.96 8.29-11.03 8.29-6.68 0-12.09-5.65-12.09-12.32s5.41-12.32 12.09-12.32c3.01 0 5.7 1.04 7.83 3.06l5.82-5.82c-3.54-3.3-8.15-5.32-13.65-5.32-11.27 0-20.4 9.13-20.4 20.4s9.13 20.4 20.4 20.4c11.78 0 19.54-8.28 19.54-19.94 0-1.49-.13-2.92-.38-4.29H48z"/></defs><clipPath id="d"><use xlink:href="#c" overflow="visible"/></clipPath><path clip-path="url(#d)" fill="@{crust}" d="M27.6 22.14H48v42.92H27.6z"/></svg>' '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="96" height="96" xml:space="preserve"><path fill="none" d="M0 0v96h96V0z" opacity=".6"/><path fill="@{lavender}" d="M13 40.6c.07 3.3.32 6.49.76 9.76 2.07 14 9.93 29.86 31.47 40.97 1.74.9 3.8.9 5.54 0 21.54-11.11 29.4-26.97 31.47-40.97.44-3.27.69-6.46.76-9.76V21.27a7.2 7.2 0 0 0-4.75-6.77L50.45 4.43a7.23 7.23 0 0 0-4.9 0L17.75 14.5A7.19 7.19 0 0 0 13 21.27z"/><defs><path id="a" d="M13 40.6c.07 3.3.32 6.49.76 9.76 2.07 14 9.93 29.86 31.47 40.97 1.74.9 3.8.9 5.54 0 21.54-11.11 29.4-26.97 31.47-40.97.44-3.27.69-6.46.76-9.76V21.27a7.2 7.2 0 0 0-4.75-6.77L50.45 4.43a7.23 7.23 0 0 0-4.9 0L17.75 14.5A7.19 7.19 0 0 0 13 21.27z"/></defs><clipPath id="b"><use xlink:href="#a" overflow="visible"/></clipPath><path clip-path="url(#b)" fill="@{blue}" d="M4 3h44v90H4z"/><path fill="none" d="M27.6 23.2h40.8V64H27.6z"/><path fill="@{mantle}" d="M48 47.64h11.46c-.82 4.78-4.96 8.29-11.03 8.29-6.68 0-12.09-5.65-12.09-12.32s5.41-12.32 12.09-12.32c3.01 0 5.7 1.04 7.83 3.06l5.82-5.82c-3.54-3.3-8.15-5.32-13.65-5.32-11.27 0-20.4 9.13-20.4 20.4s9.13 20.4 20.4 20.4c11.78 0 19.54-8.28 19.54-19.94 0-1.49-.13-2.92-.38-4.29H48z"/><defs><path id="c" d="M48 47.64h11.46c-.82 4.78-4.96 8.29-11.03 8.29-6.68 0-12.09-5.65-12.09-12.32s5.41-12.32 12.09-12.32c3.01 0 5.7 1.04 7.83 3.06l5.82-5.82c-3.54-3.3-8.15-5.32-13.65-5.32-11.27 0-20.4 9.13-20.4 20.4s9.13 20.4 20.4 20.4c11.78 0 19.54-8.28 19.54-19.94 0-1.49-.13-2.92-.38-4.29H48z"/></defs><clipPath id="d"><use xlink:href="#c" overflow="visible"/></clipPath><path clip-path="url(#d)" fill="@{crust}" d="M27.6 22.14H48v42.92H27.6z"/></svg>'
); );
+84 -84
View File
@@ -16,52 +16,52 @@
==/UserStyle== */ ==/UserStyle== */
@-moz-document regexp("^https?://(www\\.|images\\.)?google\\..*") { @-moz-document regexp("^https?://(www\\.|images\\.)?google\\..*") {
@media (prefers-color-scheme: light) { :root {
:root { @media (prefers-color-scheme: light) {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
} @media (prefers-color-scheme: dark) {
@media (prefers-color-scheme: dark) { #catppuccin(@darkFlavor);
:root {
#catppuccin(@darkFlavor, @accentColor);
} }
} }
#catppuccin(@lookup, @accent) { #catppuccin(@flavor) {
@flamingo: @catppuccin[@@lookup][@flamingo]; @rosewater: @catppuccin[@@flavor][@rosewater];
@pink: @catppuccin[@@lookup][@pink]; @flamingo: @catppuccin[@@flavor][@flamingo];
@mauve: @catppuccin[@@lookup][@mauve]; @pink: @catppuccin[@@flavor][@pink];
@red: @catppuccin[@@lookup][@red]; @mauve: @catppuccin[@@flavor][@mauve];
@maroon: @catppuccin[@@lookup][@maroon]; @red: @catppuccin[@@flavor][@red];
@peach: @catppuccin[@@lookup][@peach]; @maroon: @catppuccin[@@flavor][@maroon];
@yellow: @catppuccin[@@lookup][@yellow]; @peach: @catppuccin[@@flavor][@peach];
@green: @catppuccin[@@lookup][@green]; @yellow: @catppuccin[@@flavor][@yellow];
@teal: @catppuccin[@@lookup][@teal]; @green: @catppuccin[@@flavor][@green];
@sky: @catppuccin[@@lookup][@sky]; @teal: @catppuccin[@@flavor][@teal];
@sapphire: @catppuccin[@@lookup][@sapphire]; @sky: @catppuccin[@@flavor][@sky];
@blue: @catppuccin[@@lookup][@blue]; @sapphire: @catppuccin[@@flavor][@sapphire];
@lavender: @catppuccin[@@lookup][@lavender]; @blue: @catppuccin[@@flavor][@blue];
@text: @catppuccin[@@lookup][@text]; @lavender: @catppuccin[@@flavor][@lavender];
@subtext1: @catppuccin[@@lookup][@subtext1]; @text: @catppuccin[@@flavor][@text];
@subtext0: @catppuccin[@@lookup][@subtext0]; @subtext1: @catppuccin[@@flavor][@subtext1];
@overlay2: @catppuccin[@@lookup][@overlay2]; @subtext0: @catppuccin[@@flavor][@subtext0];
@overlay1: @catppuccin[@@lookup][@overlay1]; @overlay2: @catppuccin[@@flavor][@overlay2];
@overlay0: @catppuccin[@@lookup][@overlay0]; @overlay1: @catppuccin[@@flavor][@overlay1];
@surface2: @catppuccin[@@lookup][@surface2]; @overlay0: @catppuccin[@@flavor][@overlay0];
@surface1: @catppuccin[@@lookup][@surface1]; @surface2: @catppuccin[@@flavor][@surface2];
@surface0: @catppuccin[@@lookup][@surface0]; @surface1: @catppuccin[@@flavor][@surface1];
@base: @catppuccin[@@lookup][@base]; @surface0: @catppuccin[@@flavor][@surface0];
@mantle: @catppuccin[@@lookup][@mantle]; @base: @catppuccin[@@flavor][@base];
@crust: @catppuccin[@@lookup][@crust]; @mantle: @catppuccin[@@flavor][@mantle];
@accent-color: @catppuccin[@@lookup][@@accent]; @crust: @catppuccin[@@flavor][@crust];
@accent: @catppuccin[@@flavor][@@accentColor];
color-scheme: if(@flavor = latte, light, dark);
color-scheme: if(@lookup = latte, light, dark);
iframe { iframe {
color-scheme: none !important; color-scheme: none !important;
} }
::selection { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
input, input,
@@ -108,7 +108,7 @@
--t7d1a3050c2c1c0a5: @text !important; --t7d1a3050c2c1c0a5: @text !important;
--t6a0469853a1a02c1: @text !important; --t6a0469853a1a02c1: @text !important;
--t5feec22832a0fdd6: @surface0 !important; --t5feec22832a0fdd6: @surface0 !important;
--t342c96645d13ae13: @accent-color !important; --t342c96645d13ae13: @accent !important;
--t6c7325fca9d536d4: @text !important; --t6c7325fca9d536d4: @text !important;
--tf7148cf5018d5074: @text !important; --tf7148cf5018d5074: @text !important;
--t9ab8d922307d428d: @text; --t9ab8d922307d428d: @text;
@@ -151,10 +151,10 @@
} }
.VfPpkd-StrnGf-rymPhb-f7MjDc, .VfPpkd-StrnGf-rymPhb-f7MjDc,
.VfPpkd-qPzbhe-JNdkSc-Bz112c { .VfPpkd-qPzbhe-JNdkSc-Bz112c {
color: @accent-color !important; color: @accent !important;
} }
.EL3pcf { .EL3pcf {
color: @accent-color !important; color: @accent !important;
} }
.bVfPpkd-StrnGf-rymPhb, .bVfPpkd-StrnGf-rymPhb,
.DMZ54e { .DMZ54e {
@@ -180,7 +180,7 @@
background-color: @mantle !important; background-color: @mantle !important;
} }
.VfPpkd-cTi5dd { .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 */ /* news column thingymaboober idk what it's actually called, but it's like these columns of news headlines so yeah */
.nEklgc { .nEklgc {
@@ -289,13 +289,13 @@
} }
.YbqTTb:focus { .YbqTTb:focus {
border-color: @accent-color; border-color: @accent;
} }
/* some play buttons on games */ /* some play buttons on games */
.fxvhbc, .fxvhbc,
.pGGGle { .pGGGle {
background-color: @accent-color; background-color: @accent;
color: @crust; color: @crust;
} }
@@ -373,7 +373,7 @@
.ofy7ae, .ofy7ae,
.PPjCfd, .PPjCfd,
.lr-imso-fix { .lr-imso-fix {
background-color: @accent-color !important; background-color: @accent !important;
color: @crust !important; color: @crust !important;
} }
@@ -445,7 +445,7 @@
} }
.PGbOqf { .PGbOqf {
background-color: @accent-color; background-color: @accent;
} }
.yAbdSd { .yAbdSd {
@@ -719,7 +719,7 @@
.c2xzTb .ILfuVd b { .c2xzTb .ILfuVd b {
background: linear-gradient( background: linear-gradient(
90deg, 90deg,
fade(@accent-color, 30%) 50%, fade(@accent, 30%) 50%,
#0000 50% #0000 50%
) no-repeat 75% 0; ) no-repeat 75% 0;
background-size: 200% 100%; background-size: 200% 100%;
@@ -1882,7 +1882,7 @@
} }
.NQyKp { .NQyKp {
color: @surface0 !important; color: @surface0 !important;
background: @accent-color !important; background: @accent !important;
} }
.b0Xfjd { .b0Xfjd {
color: @base !important; color: @base !important;
@@ -2183,7 +2183,7 @@
// tweets horizontal list // tweets horizontal list
g-right-button, g-right-button,
g-left-button { g-left-button {
& > g-fab { > g-fab {
background: @crust !important; background: @crust !important;
border-color: @surface0; border-color: @surface0;
} }
@@ -2250,54 +2250,54 @@
} }
@media (prefers-color-scheme: light) { @media (prefers-color-scheme: light) {
body { body {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
} }
@media (prefers-color-scheme: dark) { @media (prefers-color-scheme: dark) {
body { body {
#catppuccin(@darkFlavor, @accentColor); #catppuccin(@darkFlavor);
} }
} }
} }
@-moz-document regexp("^https?://(ogs\\.)?google\\..*") { @-moz-document regexp("^https?://(ogs\\.)?google\\..*") {
@media (prefers-color-scheme: light) { body {
body { @media (prefers-color-scheme: light) {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
}
@media (prefers-color-scheme: dark) {
#catppuccin(@darkFlavor);
} }
} }
@media (prefers-color-scheme: dark) {
body { #catppuccin(@flavor) {
#catppuccin(@darkFlavor, @accentColor); @rosewater: @catppuccin[@@flavor][@rosewater];
} @flamingo: @catppuccin[@@flavor][@flamingo];
} @pink: @catppuccin[@@flavor][@pink];
#catppuccin(@lookup, @accent) { @mauve: @catppuccin[@@flavor][@mauve];
@flamingo: @catppuccin[@@lookup][@flamingo]; @red: @catppuccin[@@flavor][@red];
@pink: @catppuccin[@@lookup][@pink]; @maroon: @catppuccin[@@flavor][@maroon];
@mauve: @catppuccin[@@lookup][@mauve]; @peach: @catppuccin[@@flavor][@peach];
@red: @catppuccin[@@lookup][@red]; @yellow: @catppuccin[@@flavor][@yellow];
@maroon: @catppuccin[@@lookup][@maroon]; @green: @catppuccin[@@flavor][@green];
@peach: @catppuccin[@@lookup][@peach]; @teal: @catppuccin[@@flavor][@teal];
@yellow: @catppuccin[@@lookup][@yellow]; @sky: @catppuccin[@@flavor][@sky];
@green: @catppuccin[@@lookup][@green]; @sapphire: @catppuccin[@@flavor][@sapphire];
@teal: @catppuccin[@@lookup][@teal]; @blue: @catppuccin[@@flavor][@blue];
@sky: @catppuccin[@@lookup][@sky]; @lavender: @catppuccin[@@flavor][@lavender];
@sapphire: @catppuccin[@@lookup][@sapphire]; @text: @catppuccin[@@flavor][@text];
@blue: @catppuccin[@@lookup][@blue]; @subtext1: @catppuccin[@@flavor][@subtext1];
@lavender: @catppuccin[@@lookup][@lavender]; @subtext0: @catppuccin[@@flavor][@subtext0];
@text: @catppuccin[@@lookup][@text]; @overlay2: @catppuccin[@@flavor][@overlay2];
@subtext1: @catppuccin[@@lookup][@subtext1]; @overlay1: @catppuccin[@@flavor][@overlay1];
@subtext0: @catppuccin[@@lookup][@subtext0]; @overlay0: @catppuccin[@@flavor][@overlay0];
@overlay2: @catppuccin[@@lookup][@overlay2]; @surface2: @catppuccin[@@flavor][@surface2];
@overlay1: @catppuccin[@@lookup][@overlay1]; @surface1: @catppuccin[@@flavor][@surface1];
@overlay0: @catppuccin[@@lookup][@overlay0]; @surface0: @catppuccin[@@flavor][@surface0];
@surface2: @catppuccin[@@lookup][@surface2]; @base: @catppuccin[@@flavor][@base];
@surface1: @catppuccin[@@lookup][@surface1]; @mantle: @catppuccin[@@flavor][@mantle];
@surface0: @catppuccin[@@lookup][@surface0]; @crust: @catppuccin[@@flavor][@crust];
@base: @catppuccin[@@lookup][@base]; @accent: @catppuccin[@@flavor][@@accentColor];
@mantle: @catppuccin[@@lookup][@mantle];
@crust: @catppuccin[@@lookup][@crust];
@accent-color: @catppuccin[@@lookup][@@accent];
.aRDKUe { .aRDKUe {
.rRF0wd { .rRF0wd {
+52 -54
View File
@@ -16,50 +16,48 @@
==/UserStyle== */ ==/UserStyle== */
@-moz-document domain("grabify.link") { @-moz-document domain("grabify.link") {
@media (prefers-color-scheme: light) { :root {
:root { @media (prefers-color-scheme: light) {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
} @media (prefers-color-scheme: dark) {
@media (prefers-color-scheme: dark) { #catppuccin(@darkFlavor);
:root {
#catppuccin(@darkFlavor, @accentColor);
} }
} }
#catppuccin(@lookup, @accent) { #catppuccin(@flavor) {
@rosewater: @catppuccin[@@lookup][@rosewater]; @rosewater: @catppuccin[@@flavor][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo]; @flamingo: @catppuccin[@@flavor][@flamingo];
@pink: @catppuccin[@@lookup][@pink]; @pink: @catppuccin[@@flavor][@pink];
@mauve: @catppuccin[@@lookup][@mauve]; @mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@lookup][@red]; @red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@lookup][@maroon]; @maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@lookup][@peach]; @peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@lookup][@yellow]; @yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@lookup][@green]; @green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@lookup][@teal]; @teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@lookup][@sky]; @sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@lookup][@sapphire]; @sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@lookup][@blue]; @blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@lookup][@lavender]; @lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@lookup][@text]; @text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@lookup][@subtext1]; @subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@lookup][@subtext0]; @subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@lookup][@overlay2]; @overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@lookup][@overlay1]; @overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@lookup][@overlay0]; @overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@lookup][@surface2]; @surface2: @catppuccin[@@flavor][@surface2];
@surface1: @catppuccin[@@lookup][@surface1]; @surface1: @catppuccin[@@flavor][@surface1];
@surface0: @catppuccin[@@lookup][@surface0]; @surface0: @catppuccin[@@flavor][@surface0];
@base: @catppuccin[@@lookup][@base]; @base: @catppuccin[@@flavor][@base];
@mantle: @catppuccin[@@lookup][@mantle]; @mantle: @catppuccin[@@flavor][@mantle];
@crust: @catppuccin[@@lookup][@crust]; @crust: @catppuccin[@@flavor][@crust];
@accent-color: @catppuccin[@@lookup][@@accent]; @accent: @catppuccin[@@flavor][@@accentColor];
color-scheme: if(@lookup = latte, light, dark); color-scheme: if(@flavor = latte, light, dark);
::selection { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
input, input,
@@ -72,19 +70,19 @@
background-color: @base; background-color: @base;
a { a {
color: @accent-color; color: @accent;
&:hover, &:hover,
&:focus { &:focus {
color: darken(@accent-color, 5%); color: darken(@accent, 5%);
} }
&[style*="color: "] { &[style*="color: "] {
color: @accent-color !important; color: @accent !important;
&:hover, &:hover,
&:focus { &:focus {
color: darken(@accent-color, 5%) !important; color: darken(@accent, 5%) !important;
} }
} }
} }
@@ -139,12 +137,12 @@
&:hover, &:hover,
&:focus { &:focus {
color: @accent-color !important; color: @accent !important;
} }
} }
.navbar-link:not(.is-arrowless)::after { .navbar-link:not(.is-arrowless)::after {
border-color: @accent-color; border-color: @accent;
} }
.navbar-dropdown { .navbar-dropdown {
@@ -170,7 +168,7 @@
[style*="color: rgb(224, 36, 36);"], [style*="color: rgb(224, 36, 36);"],
[style*="color: rgb(224, 185, 36);"], [style*="color: rgb(224, 185, 36);"],
[style="color: rgb(33, 150, 243);"] { [style="color: rgb(33, 150, 243);"] {
color: @accent-color !important; color: @accent !important;
} }
[style="color: rgb(44, 62, 80);"], [style="color: rgb(44, 62, 80);"],
@@ -258,7 +256,7 @@
&:checked + label { &:checked + label {
&::before { &::before {
background-color: @accent-color; background-color: @accent;
} }
&::after { &::after {
@@ -301,7 +299,7 @@
&.is-primary, &.is-primary,
&.is-info, &.is-info,
&.is-link { &.is-link {
background-color: @accent-color; background-color: @accent;
&, &,
strong { strong {
@@ -310,12 +308,12 @@
&:hover, &:hover,
&.is-hovered { &.is-hovered {
background-color: darken(@accent-color, 5%); background-color: darken(@accent, 5%);
} }
} }
&.is-info.is-outlined { &.is-info.is-outlined {
border-color: @accent-color; border-color: @accent;
background: transparent; background: transparent;
&, &,
@@ -325,7 +323,7 @@
&:hover, &:hover,
&.is-hovered { &.is-hovered {
color: @accent-color; color: @accent;
} }
} }
@@ -473,10 +471,10 @@
} }
.btn { .btn {
background-color: @accent-color; background-color: @accent;
&[style="background-color: rgb(23, 188, 156);"] { &[style="background-color: rgb(23, 188, 156);"] {
background-color: @accent-color !important; background-color: @accent !important;
} }
[style="color: rgb(255, 255, 255);"] { [style="color: rgb(255, 255, 255);"] {
@@ -534,21 +532,21 @@
img[src$="images/homepage/2.svg"] { img[src$="images/homepage/2.svg"] {
@svg: escape( @svg: escape(
'<svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="0 0 64 64"><path d="M4 55h35.42a10.94 10.94 0 0 0 2.801 4.778A10.93 10.93 0 0 0 50 63c6.065 0 11-4.935 11-11V42c0-1.653-1.346-3-3-3-.537 0-1.034.153-1.471.401A3 3 0 0 0 55 38.184v-5.775c4.828-3.026 8-8.389 8-14.409 0-9.374-7.626-17-17-17-6.067 0-11.387 3.205-14.396 8H4c-1.654 0-3 1.346-3 3v40c0 1.654 1.346 3 3 3m0-2c-.552 0-1-.449-1-1V23h26.765C31.607 28.967 36.651 33.586 43 34.717v8.513c-.927-.756-2.094-1.23-3.382-1.23a2.622 2.622 0 0 0-2.342 3.79l1.195 2.391c.346.691.529 1.464.529 2.236v1.582q.002.505.049 1.001zm38-32a4.004 4.004 0 0 1 5.557-3.686l.779-1.843A6 6 0 0 0 46 15a5.97 5.97 0 0 0-3.767 1.336A4 4 0 0 1 42 15v-4c0-2.206 1.794-4 4-4s4 1.794 4 4v4a4.004 4.004 0 0 1-5.6 3.667l-.802 1.833c.758.332 1.567.5 2.402.5a5.97 5.97 0 0 0 3.767-1.336c.151.424.233.873.233 1.336v4a3.99 3.99 0 0 1-1.615 3.2A2.99 2.99 0 0 0 46 27c-.977 0-1.837.476-2.385 1.201A3.99 3.99 0 0 1 42 25zm16 20c.551 0 1 .449 1 1v10c0 4.962-4.037 9-9 9a8.94 8.94 0 0 1-6.364-2.637A8.94 8.94 0 0 1 41 51.998v-1.582a7.04 7.04 0 0 0-.739-3.131l-1.195-2.39a.62.62 0 0 1 .552-.895A3.387 3.387 0 0 1 43 47.382V50h2V30a1.001 1.001 0 0 1 2 0v20h2V40a1.001 1.001 0 0 1 2 0v10h2v-9a1.001 1.001 0 0 1 2 0v9h2v-8c0-.551.448-1 1-1m-5-2.816a3 3 0 0 0-.471.217A3 3 0 0 0 50 37c-.352 0-.686.072-1 .184v-2.467a16.8 16.8 0 0 0 4-1.235zM46 3c8.271 0 15 6.729 15 15 0 7.168-5.086 13.288-12 14.69v-2.504A5.99 5.99 0 0 0 52 25v-4a5.94 5.94 0 0 0-.815-2.995A5.95 5.95 0 0 0 52 15v-4c0-3.309-2.691-6-6-6s-6 2.691-6 6v4a5.93 5.93 0 0 0 .816 2.993A5.95 5.95 0 0 0 40 21v4a5.98 5.98 0 0 0 3 5.187v2.503C36.086 31.288 31 25.168 31 18c0-8.271 6.729-15 15-15M4 11h26.526A16.9 16.9 0 0 0 29 18c0 1.022.097 2.024.272 3H3v-9c0-.551.448-1 1-1m4 8h8c1.654 0 3-1.346 3-3s-1.346-3-3-3H8c-1.654 0-3 1.346-3 3s1.346 3 3 3m3-2v-2h2v2zm6-1c0 .551-.448 1-1 1h-1v-2h1c.552 0 1 .449 1 1m-9-1h1v2H8a1.001 1.001 0 0 1 0-2m10 10c-7.168 0-13 5.832-13 13s5.832 13 13 13 13-5.832 13-13-5.832-13-13-13m0 24c-1.075 0-2.22-1.527-3.009-4h6.019c-.79 2.473-1.935 4-3.01 4m-3.519-6a25 25 0 0 1-.46-4h7.958a25 25 0 0 1-.46 4zm-7.43-4h4.971c.046 1.419.184 2.763.409 4H8.214a10.9 10.9 0 0 1-1.163-4M18 27c1.075 0 2.22 1.527 3.009 4H14.99c.79-2.473 1.935-4 3.01-4m3.519 6c.244 1.209.408 2.553.46 4h-7.958a25 25 0 0 1 .46-4zm-9.497 4H7.051a10.9 10.9 0 0 1 1.164-4h4.216a27 27 0 0 0-.409 4m11.956 2h4.971a10.9 10.9 0 0 1-1.164 4h-4.216c.225-1.237.364-2.581.409-4m0-2a27.4 27.4 0 0 0-.409-4h4.216a10.9 10.9 0 0 1 1.164 4zm2.501-6h-3.373c-.368-1.295-.837-2.422-1.391-3.341A11.05 11.05 0 0 1 26.479 31m-12.193-3.341c-.553.919-1.023 2.046-1.391 3.341H9.521a11.05 11.05 0 0 1 4.765-3.341M9.521 45h3.373c.368 1.295.837 2.422 1.391 3.341A11.05 11.05 0 0 1 9.521 45m12.193 3.341c.553-.919 1.023-2.046 1.391-3.341h3.373a11.04 11.04 0 0 1-4.764 3.341" fill="@{accent-color}"/></svg>' '<svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="0 0 64 64"><path d="M4 55h35.42a10.94 10.94 0 0 0 2.801 4.778A10.93 10.93 0 0 0 50 63c6.065 0 11-4.935 11-11V42c0-1.653-1.346-3-3-3-.537 0-1.034.153-1.471.401A3 3 0 0 0 55 38.184v-5.775c4.828-3.026 8-8.389 8-14.409 0-9.374-7.626-17-17-17-6.067 0-11.387 3.205-14.396 8H4c-1.654 0-3 1.346-3 3v40c0 1.654 1.346 3 3 3m0-2c-.552 0-1-.449-1-1V23h26.765C31.607 28.967 36.651 33.586 43 34.717v8.513c-.927-.756-2.094-1.23-3.382-1.23a2.622 2.622 0 0 0-2.342 3.79l1.195 2.391c.346.691.529 1.464.529 2.236v1.582q.002.505.049 1.001zm38-32a4.004 4.004 0 0 1 5.557-3.686l.779-1.843A6 6 0 0 0 46 15a5.97 5.97 0 0 0-3.767 1.336A4 4 0 0 1 42 15v-4c0-2.206 1.794-4 4-4s4 1.794 4 4v4a4.004 4.004 0 0 1-5.6 3.667l-.802 1.833c.758.332 1.567.5 2.402.5a5.97 5.97 0 0 0 3.767-1.336c.151.424.233.873.233 1.336v4a3.99 3.99 0 0 1-1.615 3.2A2.99 2.99 0 0 0 46 27c-.977 0-1.837.476-2.385 1.201A3.99 3.99 0 0 1 42 25zm16 20c.551 0 1 .449 1 1v10c0 4.962-4.037 9-9 9a8.94 8.94 0 0 1-6.364-2.637A8.94 8.94 0 0 1 41 51.998v-1.582a7.04 7.04 0 0 0-.739-3.131l-1.195-2.39a.62.62 0 0 1 .552-.895A3.387 3.387 0 0 1 43 47.382V50h2V30a1.001 1.001 0 0 1 2 0v20h2V40a1.001 1.001 0 0 1 2 0v10h2v-9a1.001 1.001 0 0 1 2 0v9h2v-8c0-.551.448-1 1-1m-5-2.816a3 3 0 0 0-.471.217A3 3 0 0 0 50 37c-.352 0-.686.072-1 .184v-2.467a16.8 16.8 0 0 0 4-1.235zM46 3c8.271 0 15 6.729 15 15 0 7.168-5.086 13.288-12 14.69v-2.504A5.99 5.99 0 0 0 52 25v-4a5.94 5.94 0 0 0-.815-2.995A5.95 5.95 0 0 0 52 15v-4c0-3.309-2.691-6-6-6s-6 2.691-6 6v4a5.93 5.93 0 0 0 .816 2.993A5.95 5.95 0 0 0 40 21v4a5.98 5.98 0 0 0 3 5.187v2.503C36.086 31.288 31 25.168 31 18c0-8.271 6.729-15 15-15M4 11h26.526A16.9 16.9 0 0 0 29 18c0 1.022.097 2.024.272 3H3v-9c0-.551.448-1 1-1m4 8h8c1.654 0 3-1.346 3-3s-1.346-3-3-3H8c-1.654 0-3 1.346-3 3s1.346 3 3 3m3-2v-2h2v2zm6-1c0 .551-.448 1-1 1h-1v-2h1c.552 0 1 .449 1 1m-9-1h1v2H8a1.001 1.001 0 0 1 0-2m10 10c-7.168 0-13 5.832-13 13s5.832 13 13 13 13-5.832 13-13-5.832-13-13-13m0 24c-1.075 0-2.22-1.527-3.009-4h6.019c-.79 2.473-1.935 4-3.01 4m-3.519-6a25 25 0 0 1-.46-4h7.958a25 25 0 0 1-.46 4zm-7.43-4h4.971c.046 1.419.184 2.763.409 4H8.214a10.9 10.9 0 0 1-1.163-4M18 27c1.075 0 2.22 1.527 3.009 4H14.99c.79-2.473 1.935-4 3.01-4m3.519 6c.244 1.209.408 2.553.46 4h-7.958a25 25 0 0 1 .46-4zm-9.497 4H7.051a10.9 10.9 0 0 1 1.164-4h4.216a27 27 0 0 0-.409 4m11.956 2h4.971a10.9 10.9 0 0 1-1.164 4h-4.216c.225-1.237.364-2.581.409-4m0-2a27.4 27.4 0 0 0-.409-4h4.216a10.9 10.9 0 0 1 1.164 4zm2.501-6h-3.373c-.368-1.295-.837-2.422-1.391-3.341A11.05 11.05 0 0 1 26.479 31m-12.193-3.341c-.553.919-1.023 2.046-1.391 3.341H9.521a11.05 11.05 0 0 1 4.765-3.341M9.521 45h3.373c.368 1.295.837 2.422 1.391 3.341A11.05 11.05 0 0 1 9.521 45m12.193 3.341c.553-.919 1.023-2.046 1.391-3.341h3.373a11.04 11.04 0 0 1-4.764 3.341" fill="@{accent}"/></svg>'
); );
content: url("data:image/svg+xml,@{svg}"); content: url("data:image/svg+xml,@{svg}");
} }
img[src$="images/homepage/4.svg"] { img[src$="images/homepage/4.svg"] {
@svg: escape( @svg: escape(
'<svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="0 0 64 64"><path d="M31 18c0-7.168-5.832-13-13-13S5 10.832 5 18s5.832 13 13 13 13-5.832 13-13m-16.009 7h6.018c-.789 2.473-1.935 4-3.009 4s-2.22-1.527-3.009-4m-7.94-6h4.971c.046 1.419.184 2.763.409 4H8.214a10.9 10.9 0 0 1-1.163-4M18 7c1.075 0 2.22 1.527 3.009 4h-6.018C15.78 8.527 16.925 7 18 7m3.519 6c.244 1.209.408 2.553.46 4h-7.958a25 25 0 0 1 .46-4zm7.43 4h-4.971a27.4 27.4 0 0 0-.409-4h4.217a10.9 10.9 0 0 1 1.163 4m0 2a10.9 10.9 0 0 1-1.164 4h-4.217c.225-1.237.364-2.581.409-4zm-16.927-2H7.051a10.9 10.9 0 0 1 1.164-4h4.217a27 27 0 0 0-.41 4m1.999 2h7.958a25 25 0 0 1-.46 4h-7.038a25 25 0 0 1-.46-4m7.693 9.341c.553-.919 1.023-2.046 1.391-3.341h3.374a11.04 11.04 0 0 1-4.765 3.341M26.479 11h-3.374c-.368-1.295-.838-2.422-1.391-3.341A11.04 11.04 0 0 1 26.479 11M14.286 7.659c-.553.919-1.023 2.046-1.391 3.341H9.521a11.04 11.04 0 0 1 4.765-3.341M9.521 25h3.374c.368 1.295.838 2.422 1.391 3.341A11.04 11.04 0 0 1 9.521 25m45.14-1.424C58.43 21.55 61 17.57 61 13c0-6.617-5.383-12-12-12-5.213 0-9.647 3.347-11.3 8h-5.304C29.387 4.205 24.067 1 18 1 8.626 1 1 8.626 1 18c0 7.994 5.553 14.699 13 16.505V38c0 .395.081.77.22 1.116A2.995 2.995 0 0 0 12 42v15c0 3.309 2.691 6 6 6s6-2.691 6-6v-8h2.181c-.11.652-.181 1.317-.181 2 0 6.617 5.383 12 12 12s12-5.383 12-12c0-1.418-.279-2.818-.772-4.146A12 12 0 0 0 51 47c6.617 0 12-5.383 12-12 0-5.34-3.508-9.872-8.339-11.424M46 10c0-1.654 1.346-3 3-3s3 1.346 3 3-1.346 3-3 3-3-1.346-3-3m5.577 5.493C51.053 16.405 50.084 17 49 17s-2.053-.595-2.577-1.507A7 7 0 0 1 49 15a7 7 0 0 1 2.577.493m-6.883.992C45.568 18.006 47.186 19 49 19s3.432-.994 4.306-2.515a6.97 6.97 0 0 1 2.479 3.84C54 21.979 51.62 23 49 23s-5-1.021-6.785-2.675a6.96 6.96 0 0 1 2.479-3.84M49 3c5.514 0 10 4.486 10 10a9.94 9.94 0 0 1-1.695 5.562 8.95 8.95 0 0 0-4.925-4.901A4.97 4.97 0 0 0 54 10c0-2.757-2.243-5-5-5s-5 2.243-5 5c0 1.45.631 2.747 1.62 3.661a8.95 8.95 0 0 0-4.925 4.901A9.94 9.94 0 0 1 39 13c0-5.514 4.486-10 10-10m-11.819 8c-.11.652-.181 1.317-.181 2 0 5.34 3.508 9.872 8.339 11.424A12.06 12.06 0 0 0 39.7 31H28.932C32.637 27.879 35 23.212 35 18c0-2.497-.555-4.862-1.526-7zM3 18C3 9.729 9.729 3 18 3s15 6.729 15 15-6.729 15-15 15S3 26.271 3 18m15 17c.678 0 1.343-.051 2-.128V38c0 .551-.449 1-1 1h-2c-.551 0-1-.449-1-1v-3.128c.657.077 1.322.128 2 .128m4 22c0 2.206-1.794 4-4 4s-4-1.794-4-4V42c0-.551.449-1 1-1h6c.551 0 1 .449 1 1zm2-10v-5a2.995 2.995 0 0 0-2.22-2.884c.139-.346.22-.721.22-1.116v-3.495c1.402-.34 2.74-.841 3.983-1.505h13.198c-.11.652-.181 1.317-.181 2 0 1.456.274 2.846.751 4.138A12 12 0 0 0 38 39c-5.213 0-9.647 3.347-11.3 8zm7.215 11.325a6.96 6.96 0 0 1 3.051-4.244L38 58.562l3.734-4.481a6.96 6.96 0 0 1 3.051 4.244C43 59.979 40.62 61 38 61s-5-1.021-6.785-2.675M35 48c0-1.654 1.346-3 3-3s3 1.346 3 3-1.346 3-3 3-3-1.346-3-3m3 5a7 7 0 0 1 1.83.242L38 55.438l-1.83-2.196A7 7 0 0 1 38 53m10-2a9.94 9.94 0 0 1-1.695 5.562 8.95 8.95 0 0 0-4.925-4.901A4.97 4.97 0 0 0 43 48c0-2.757-2.243-5-5-5s-5 2.243-5 5c0 1.45.631 2.747 1.62 3.661a8.95 8.95 0 0 0-4.925 4.901A9.94 9.94 0 0 1 28 51c0-5.514 4.486-10 10-10 .972 0 1.943.155 2.894.444a12.05 12.05 0 0 0 5.853 4.763A10 10 0 0 1 48 51m-3.785-8.675a6.96 6.96 0 0 1 2.479-3.84C47.568 40.006 49.186 41 51 41s3.432-.994 4.306-2.515a6.97 6.97 0 0 1 2.479 3.84C56 43.979 53.62 45 51 45s-5-1.021-6.785-2.675M48 32c0-1.654 1.346-3 3-3s3 1.346 3 3-1.346 3-3 3-3-1.346-3-3m5.577 5.493C53.053 38.405 52.084 39 51 39s-2.053-.595-2.577-1.507A7 7 0 0 1 51 37a7 7 0 0 1 2.577.493m5.728 3.069a8.95 8.95 0 0 0-4.925-4.901A4.97 4.97 0 0 0 56 32c0-2.757-2.243-5-5-5s-5 2.243-5 5c0 1.45.631 2.747 1.62 3.661a8.95 8.95 0 0 0-4.925 4.901A9.94 9.94 0 0 1 41 35c0-5.514 4.486-10 10-10s10 4.486 10 10a9.94 9.94 0 0 1-1.695 5.562" fill="@{accent-color}"/></svg>' '<svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="0 0 64 64"><path d="M31 18c0-7.168-5.832-13-13-13S5 10.832 5 18s5.832 13 13 13 13-5.832 13-13m-16.009 7h6.018c-.789 2.473-1.935 4-3.009 4s-2.22-1.527-3.009-4m-7.94-6h4.971c.046 1.419.184 2.763.409 4H8.214a10.9 10.9 0 0 1-1.163-4M18 7c1.075 0 2.22 1.527 3.009 4h-6.018C15.78 8.527 16.925 7 18 7m3.519 6c.244 1.209.408 2.553.46 4h-7.958a25 25 0 0 1 .46-4zm7.43 4h-4.971a27.4 27.4 0 0 0-.409-4h4.217a10.9 10.9 0 0 1 1.163 4m0 2a10.9 10.9 0 0 1-1.164 4h-4.217c.225-1.237.364-2.581.409-4zm-16.927-2H7.051a10.9 10.9 0 0 1 1.164-4h4.217a27 27 0 0 0-.41 4m1.999 2h7.958a25 25 0 0 1-.46 4h-7.038a25 25 0 0 1-.46-4m7.693 9.341c.553-.919 1.023-2.046 1.391-3.341h3.374a11.04 11.04 0 0 1-4.765 3.341M26.479 11h-3.374c-.368-1.295-.838-2.422-1.391-3.341A11.04 11.04 0 0 1 26.479 11M14.286 7.659c-.553.919-1.023 2.046-1.391 3.341H9.521a11.04 11.04 0 0 1 4.765-3.341M9.521 25h3.374c.368 1.295.838 2.422 1.391 3.341A11.04 11.04 0 0 1 9.521 25m45.14-1.424C58.43 21.55 61 17.57 61 13c0-6.617-5.383-12-12-12-5.213 0-9.647 3.347-11.3 8h-5.304C29.387 4.205 24.067 1 18 1 8.626 1 1 8.626 1 18c0 7.994 5.553 14.699 13 16.505V38c0 .395.081.77.22 1.116A2.995 2.995 0 0 0 12 42v15c0 3.309 2.691 6 6 6s6-2.691 6-6v-8h2.181c-.11.652-.181 1.317-.181 2 0 6.617 5.383 12 12 12s12-5.383 12-12c0-1.418-.279-2.818-.772-4.146A12 12 0 0 0 51 47c6.617 0 12-5.383 12-12 0-5.34-3.508-9.872-8.339-11.424M46 10c0-1.654 1.346-3 3-3s3 1.346 3 3-1.346 3-3 3-3-1.346-3-3m5.577 5.493C51.053 16.405 50.084 17 49 17s-2.053-.595-2.577-1.507A7 7 0 0 1 49 15a7 7 0 0 1 2.577.493m-6.883.992C45.568 18.006 47.186 19 49 19s3.432-.994 4.306-2.515a6.97 6.97 0 0 1 2.479 3.84C54 21.979 51.62 23 49 23s-5-1.021-6.785-2.675a6.96 6.96 0 0 1 2.479-3.84M49 3c5.514 0 10 4.486 10 10a9.94 9.94 0 0 1-1.695 5.562 8.95 8.95 0 0 0-4.925-4.901A4.97 4.97 0 0 0 54 10c0-2.757-2.243-5-5-5s-5 2.243-5 5c0 1.45.631 2.747 1.62 3.661a8.95 8.95 0 0 0-4.925 4.901A9.94 9.94 0 0 1 39 13c0-5.514 4.486-10 10-10m-11.819 8c-.11.652-.181 1.317-.181 2 0 5.34 3.508 9.872 8.339 11.424A12.06 12.06 0 0 0 39.7 31H28.932C32.637 27.879 35 23.212 35 18c0-2.497-.555-4.862-1.526-7zM3 18C3 9.729 9.729 3 18 3s15 6.729 15 15-6.729 15-15 15S3 26.271 3 18m15 17c.678 0 1.343-.051 2-.128V38c0 .551-.449 1-1 1h-2c-.551 0-1-.449-1-1v-3.128c.657.077 1.322.128 2 .128m4 22c0 2.206-1.794 4-4 4s-4-1.794-4-4V42c0-.551.449-1 1-1h6c.551 0 1 .449 1 1zm2-10v-5a2.995 2.995 0 0 0-2.22-2.884c.139-.346.22-.721.22-1.116v-3.495c1.402-.34 2.74-.841 3.983-1.505h13.198c-.11.652-.181 1.317-.181 2 0 1.456.274 2.846.751 4.138A12 12 0 0 0 38 39c-5.213 0-9.647 3.347-11.3 8zm7.215 11.325a6.96 6.96 0 0 1 3.051-4.244L38 58.562l3.734-4.481a6.96 6.96 0 0 1 3.051 4.244C43 59.979 40.62 61 38 61s-5-1.021-6.785-2.675M35 48c0-1.654 1.346-3 3-3s3 1.346 3 3-1.346 3-3 3-3-1.346-3-3m3 5a7 7 0 0 1 1.83.242L38 55.438l-1.83-2.196A7 7 0 0 1 38 53m10-2a9.94 9.94 0 0 1-1.695 5.562 8.95 8.95 0 0 0-4.925-4.901A4.97 4.97 0 0 0 43 48c0-2.757-2.243-5-5-5s-5 2.243-5 5c0 1.45.631 2.747 1.62 3.661a8.95 8.95 0 0 0-4.925 4.901A9.94 9.94 0 0 1 28 51c0-5.514 4.486-10 10-10 .972 0 1.943.155 2.894.444a12.05 12.05 0 0 0 5.853 4.763A10 10 0 0 1 48 51m-3.785-8.675a6.96 6.96 0 0 1 2.479-3.84C47.568 40.006 49.186 41 51 41s3.432-.994 4.306-2.515a6.97 6.97 0 0 1 2.479 3.84C56 43.979 53.62 45 51 45s-5-1.021-6.785-2.675M48 32c0-1.654 1.346-3 3-3s3 1.346 3 3-1.346 3-3 3-3-1.346-3-3m5.577 5.493C53.053 38.405 52.084 39 51 39s-2.053-.595-2.577-1.507A7 7 0 0 1 51 37a7 7 0 0 1 2.577.493m5.728 3.069a8.95 8.95 0 0 0-4.925-4.901A4.97 4.97 0 0 0 56 32c0-2.757-2.243-5-5-5s-5 2.243-5 5c0 1.45.631 2.747 1.62 3.661a8.95 8.95 0 0 0-4.925 4.901A9.94 9.94 0 0 1 41 35c0-5.514 4.486-10 10-10s10 4.486 10 10a9.94 9.94 0 0 1-1.695 5.562" fill="@{accent}"/></svg>'
); );
content: url("data:image/svg+xml,@{svg}"); content: url("data:image/svg+xml,@{svg}");
} }
img[src$="images/homepage/5.svg"] { img[src$="images/homepage/5.svg"] {
@svg: escape( @svg: escape(
'<svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="0 0 512 512"><path d="M488 360a8 8 0 0 0-8-8h-49.378a21.65 21.65 0 0 0-7.346-9.884l-3.508-2.633a21.833 21.833 0 0 0-30.531 4.363L383.122 352H320a8 8 0 0 0-8 8v128a8 8 0 0 0 8 8h160a8 8 0 0 0 8-8zm-85.962-6.555a5.81 5.81 0 0 1 8.13-1.162l3.509 2.633a5.81 5.81 0 0 1 1.161 8.13L389.522 396.8l-12.8-9.6zM379.921 409.6l-2.812 3.749-11.2 1.6-1.6-11.2 2.813-3.749zM440 480H328V368h43.122l-12 16-9.6 12.8a8 8 0 0 0-1.522 5.931l3.2 22.4a8 8 0 0 0 9.052 6.788l22.4-3.2a8 8 0 0 0 5.269-3.12l9.6-12.8v-.006l30.113-40.148a21.8 21.8 0 0 0 2.641-4.645H440zm32 0h-16V368h16zM193.51 332.678A8 8 0 0 0 200 336h112a8 8 0 0 0 7.59-10.53L307.1 288H422a34.04 34.04 0 0 0 34-34V50a34.04 34.04 0 0 0-34-34H90a34.04 34.04 0 0 0-34 34v204a34.04 34.04 0 0 0 34 34h114.9l-5.333 16H136a24 24 0 0 0 0 48h8a8.01 8.01 0 0 1 8 8v8H32a8 8 0 0 0-8 8v96a8 8 0 0 0 8 8h256a8 8 0 0 0 8-8v-96a8 8 0 0 0-8-8H168v-8a24.03 24.03 0 0 0-24-24h-8a8 8 0 0 1 0-16h58.233l-1.823 5.47a8 8 0 0 0 1.1 7.208M211.1 320l10.666-32h68.468l10.666 32zM72 50a18.02 18.02 0 0 1 18-18h332a18.02 18.02 0 0 1 18 18v174H72zm18 222a18.02 18.02 0 0 1-18-18v-14h368v14a18.02 18.02 0 0 1-18 18zm190 112v80H40v-80zM72 416H56v-16h16zm32 0H88v-16h16zm32 0h-16v-16h16zm32 0h-16v-16h16zm32 0h-16v-16h16zm32 0h-16v-16h16zm32 0h-16v-16h16zm-32 32h-16v-16h16zm32 0h-16v-16h16zm-64 0h-80v-16h80zm-128 0H56v-16h16zm32 0H88v-16h16zm280 0a8 8 0 0 1-8 8h-24a8 8 0 0 1 0-16h24a8 8 0 0 1 8 8m40 0a8 8 0 0 1-8 8h-8a8 8 0 0 1 0-16h8a8 8 0 0 1 8 8m-55.432-273.941 5.658-5.657a8 8 0 0 0-4.088-13.5l-36.565-7.313a80.1 80.1 0 1 0-22.768 38.665l4.664 23.317a8 8 0 0 0 13.5 4.088l5.658-5.659 5.658 5.657a8 8 0 0 0 11.314 0l22.627-22.627a8 8 0 0 0 0-11.313zM315.313 104a63.4 63.4 0 0 1 4.169 16h-31.627a213 213 0 0 0-1.171-16zm-9.406-16h-21.75a106 106 0 0 0-6.085-20.075A64.26 64.26 0 0 1 305.907 88m-59.288-8.382C250.92 66.715 255.313 64 256 64s5.08 2.715 9.381 15.618c.872 2.617 1.66 5.426 2.369 8.382h-23.5c.709-2.956 1.497-5.765 2.369-8.382M196.687 104h28.629a213 213 0 0 0-1.171 16h-31.627a63.4 63.4 0 0 1 4.169-16m0 48a63.4 63.4 0 0 1-4.169-16h31.627c.193 5.375.582 10.748 1.171 16zm9.406 16h21.75a106 106 0 0 0 6.085 20.075A64.26 64.26 0 0 1 206.093 168m21.75-80h-21.75a64.26 64.26 0 0 1 27.835-20.075A106 106 0 0 0 227.843 88m37.538 88.382C261.08 189.285 256.687 192 256 192s-5.08-2.715-9.381-15.618c-.872-2.617-1.66-5.426-2.369-8.382h23.5c-.709 2.956-1.497 5.765-2.369 8.382m5.2-24.382h-29.163a191 191 0 0 1-1.262-16h31.688a191 191 0 0 1-1.262 16zm-30.426-32c.209-5.523.633-10.886 1.262-16h29.164a191 191 0 0 1 1.262 16zm37.884 68.147A106 106 0 0 0 284.157 168h21.776a63.5 63.5 0 0 1-27.893 20.147zm39.823-43.7-4.294-.859a8 8 0 0 0-9.547 8.412h-17.337c.589-5.252.978-10.625 1.171-16H319.5a64 64 0 0 1-1.637 8.446zm28.078 52.241-5.658-5.658a8 8 0 0 0-11.313 0l-.743.744-6.026-30.144 30.144 6.028-.744.743a8 8 0 0 0 0 11.314l5.657 5.658zm-191.5-44.781a7.99 7.99 0 0 1-9.128-6.684A113 113 0 0 1 144 128a111.46 111.46 0 0 1 31.182-77.539 8 8 0 0 1 11.543 11.078A95.54 95.54 0 0 0 160 128a97 97 0 0 0 1.13 14.778 8 8 0 0 1-6.685 9.128zm20.641 27.779a8 8 0 1 1-13.473 8.63 112 112 0 0 1-4.993-8.62 8 8 0 1 1 14.192-7.39 97 97 0 0 0 4.279 7.379z" fill="@{accent-color}"/></svg>' '<svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="0 0 512 512"><path d="M488 360a8 8 0 0 0-8-8h-49.378a21.65 21.65 0 0 0-7.346-9.884l-3.508-2.633a21.833 21.833 0 0 0-30.531 4.363L383.122 352H320a8 8 0 0 0-8 8v128a8 8 0 0 0 8 8h160a8 8 0 0 0 8-8zm-85.962-6.555a5.81 5.81 0 0 1 8.13-1.162l3.509 2.633a5.81 5.81 0 0 1 1.161 8.13L389.522 396.8l-12.8-9.6zM379.921 409.6l-2.812 3.749-11.2 1.6-1.6-11.2 2.813-3.749zM440 480H328V368h43.122l-12 16-9.6 12.8a8 8 0 0 0-1.522 5.931l3.2 22.4a8 8 0 0 0 9.052 6.788l22.4-3.2a8 8 0 0 0 5.269-3.12l9.6-12.8v-.006l30.113-40.148a21.8 21.8 0 0 0 2.641-4.645H440zm32 0h-16V368h16zM193.51 332.678A8 8 0 0 0 200 336h112a8 8 0 0 0 7.59-10.53L307.1 288H422a34.04 34.04 0 0 0 34-34V50a34.04 34.04 0 0 0-34-34H90a34.04 34.04 0 0 0-34 34v204a34.04 34.04 0 0 0 34 34h114.9l-5.333 16H136a24 24 0 0 0 0 48h8a8.01 8.01 0 0 1 8 8v8H32a8 8 0 0 0-8 8v96a8 8 0 0 0 8 8h256a8 8 0 0 0 8-8v-96a8 8 0 0 0-8-8H168v-8a24.03 24.03 0 0 0-24-24h-8a8 8 0 0 1 0-16h58.233l-1.823 5.47a8 8 0 0 0 1.1 7.208M211.1 320l10.666-32h68.468l10.666 32zM72 50a18.02 18.02 0 0 1 18-18h332a18.02 18.02 0 0 1 18 18v174H72zm18 222a18.02 18.02 0 0 1-18-18v-14h368v14a18.02 18.02 0 0 1-18 18zm190 112v80H40v-80zM72 416H56v-16h16zm32 0H88v-16h16zm32 0h-16v-16h16zm32 0h-16v-16h16zm32 0h-16v-16h16zm32 0h-16v-16h16zm32 0h-16v-16h16zm-32 32h-16v-16h16zm32 0h-16v-16h16zm-64 0h-80v-16h80zm-128 0H56v-16h16zm32 0H88v-16h16zm280 0a8 8 0 0 1-8 8h-24a8 8 0 0 1 0-16h24a8 8 0 0 1 8 8m40 0a8 8 0 0 1-8 8h-8a8 8 0 0 1 0-16h8a8 8 0 0 1 8 8m-55.432-273.941 5.658-5.657a8 8 0 0 0-4.088-13.5l-36.565-7.313a80.1 80.1 0 1 0-22.768 38.665l4.664 23.317a8 8 0 0 0 13.5 4.088l5.658-5.659 5.658 5.657a8 8 0 0 0 11.314 0l22.627-22.627a8 8 0 0 0 0-11.313zM315.313 104a63.4 63.4 0 0 1 4.169 16h-31.627a213 213 0 0 0-1.171-16zm-9.406-16h-21.75a106 106 0 0 0-6.085-20.075A64.26 64.26 0 0 1 305.907 88m-59.288-8.382C250.92 66.715 255.313 64 256 64s5.08 2.715 9.381 15.618c.872 2.617 1.66 5.426 2.369 8.382h-23.5c.709-2.956 1.497-5.765 2.369-8.382M196.687 104h28.629a213 213 0 0 0-1.171 16h-31.627a63.4 63.4 0 0 1 4.169-16m0 48a63.4 63.4 0 0 1-4.169-16h31.627c.193 5.375.582 10.748 1.171 16zm9.406 16h21.75a106 106 0 0 0 6.085 20.075A64.26 64.26 0 0 1 206.093 168m21.75-80h-21.75a64.26 64.26 0 0 1 27.835-20.075A106 106 0 0 0 227.843 88m37.538 88.382C261.08 189.285 256.687 192 256 192s-5.08-2.715-9.381-15.618c-.872-2.617-1.66-5.426-2.369-8.382h23.5c-.709 2.956-1.497 5.765-2.369 8.382m5.2-24.382h-29.163a191 191 0 0 1-1.262-16h31.688a191 191 0 0 1-1.262 16zm-30.426-32c.209-5.523.633-10.886 1.262-16h29.164a191 191 0 0 1 1.262 16zm37.884 68.147A106 106 0 0 0 284.157 168h21.776a63.5 63.5 0 0 1-27.893 20.147zm39.823-43.7-4.294-.859a8 8 0 0 0-9.547 8.412h-17.337c.589-5.252.978-10.625 1.171-16H319.5a64 64 0 0 1-1.637 8.446zm28.078 52.241-5.658-5.658a8 8 0 0 0-11.313 0l-.743.744-6.026-30.144 30.144 6.028-.744.743a8 8 0 0 0 0 11.314l5.657 5.658zm-191.5-44.781a7.99 7.99 0 0 1-9.128-6.684A113 113 0 0 1 144 128a111.46 111.46 0 0 1 31.182-77.539 8 8 0 0 1 11.543 11.078A95.54 95.54 0 0 0 160 128a97 97 0 0 0 1.13 14.778 8 8 0 0 1-6.685 9.128zm20.641 27.779a8 8 0 1 1-13.473 8.63 112 112 0 0 1-4.993-8.62 8 8 0 1 1 14.192-7.39 97 97 0 0 0 4.279 7.379z" fill="@{accent}"/></svg>'
); );
content: url("data:image/svg+xml,@{svg}"); content: url("data:image/svg+xml,@{svg}");
} }
+33 -33
View File
@@ -17,10 +17,10 @@
@-moz-document domain("app.graphite.dev") { @-moz-document domain("app.graphite.dev") {
:root[data-theme="light"] { :root[data-theme="light"] {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
:root[data-theme="dark"] { :root[data-theme="dark"] {
#catppuccin(@darkFlavor, @accentColor); #catppuccin(@darkFlavor);
} }
#createset(@color, @type) { #createset(@color, @type) {
@@ -31,39 +31,39 @@
--color-@{type}-highest-contrast: lighten(@color, 10%); --color-@{type}-highest-contrast: lighten(@color, 10%);
} }
#catppuccin(@lookup, @accent) { #catppuccin(@flavor) {
@rosewater: @catppuccin[@@lookup][@rosewater]; @rosewater: @catppuccin[@@flavor][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo]; @flamingo: @catppuccin[@@flavor][@flamingo];
@pink: @catppuccin[@@lookup][@pink]; @pink: @catppuccin[@@flavor][@pink];
@mauve: @catppuccin[@@lookup][@mauve]; @mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@lookup][@red]; @red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@lookup][@maroon]; @maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@lookup][@peach]; @peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@lookup][@yellow]; @yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@lookup][@green]; @green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@lookup][@teal]; @teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@lookup][@sky]; @sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@lookup][@sapphire]; @sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@lookup][@blue]; @blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@lookup][@lavender]; @lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@lookup][@text]; @text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@lookup][@subtext1]; @subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@lookup][@subtext0]; @subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@lookup][@overlay2]; @overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@lookup][@overlay1]; @overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@lookup][@overlay0]; @overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@lookup][@surface2]; @surface2: @catppuccin[@@flavor][@surface2];
@surface1: @catppuccin[@@lookup][@surface1]; @surface1: @catppuccin[@@flavor][@surface1];
@surface0: @catppuccin[@@lookup][@surface0]; @surface0: @catppuccin[@@flavor][@surface0];
@base: @catppuccin[@@lookup][@base]; @base: @catppuccin[@@flavor][@base];
@mantle: @catppuccin[@@lookup][@mantle]; @mantle: @catppuccin[@@flavor][@mantle];
@crust: @catppuccin[@@lookup][@crust]; @crust: @catppuccin[@@flavor][@crust];
@accent-color: @catppuccin[@@lookup][@@accent]; @accent: @catppuccin[@@flavor][@@accentColor];
color-scheme: if(@lookup = latte, light, dark); color-scheme: if(@flavor = latte, light, dark);
::selection { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
input, input,
@@ -93,7 +93,7 @@
--color-gray-60: @surface0; --color-gray-60: @surface0;
#createset(@accent-color, emphasis); #createset(@accent, emphasis);
#createset(@green, positive); #createset(@green, positive);
#createset(@peach, caution); #createset(@peach, caution);
#createset(@red, negative); #createset(@red, negative);
+74 -83
View File
@@ -16,52 +16,51 @@
==/UserStyle== */ ==/UserStyle== */
@-moz-document domain("hackage.haskell.org") { @-moz-document domain("hackage.haskell.org") {
@media (prefers-color-scheme: light) { :root {
:root { @media (prefers-color-scheme: light) {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
} @media (prefers-color-scheme: dark) {
@media (prefers-color-scheme: dark) { #catppuccin(@darkFlavor);
:root {
#catppuccin(@darkFlavor, @accentColor);
} }
} }
#catppuccin(@lookup, @accent) { #catppuccin(@flavor) {
@rosewater: @catppuccin[@@lookup][@rosewater]; @rosewater: @catppuccin[@@flavor][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo]; @flamingo: @catppuccin[@@flavor][@flamingo];
@pink: @catppuccin[@@lookup][@pink]; @pink: @catppuccin[@@flavor][@pink];
@mauve: @catppuccin[@@lookup][@mauve]; @mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@lookup][@red]; @red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@lookup][@maroon]; @maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@lookup][@peach]; @peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@lookup][@yellow]; @yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@lookup][@green]; @green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@lookup][@teal]; @teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@lookup][@sky]; @sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@lookup][@sapphire]; @sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@lookup][@blue]; @blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@lookup][@lavender]; @lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@lookup][@text]; @text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@lookup][@subtext1]; @subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@lookup][@subtext0]; @subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@lookup][@overlay2]; @overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@lookup][@overlay1]; @overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@lookup][@overlay0]; @overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@lookup][@surface2]; @surface2: @catppuccin[@@flavor][@surface2];
@surface1: @catppuccin[@@lookup][@surface1]; @surface1: @catppuccin[@@flavor][@surface1];
@surface0: @catppuccin[@@lookup][@surface0]; @surface0: @catppuccin[@@flavor][@surface0];
@base: @catppuccin[@@lookup][@base]; @base: @catppuccin[@@flavor][@base];
@mantle: @catppuccin[@@lookup][@mantle]; @mantle: @catppuccin[@@flavor][@mantle];
@crust: @catppuccin[@@lookup][@crust]; @crust: @catppuccin[@@flavor][@crust];
@accent-color: @catppuccin[@@lookup][@@accent]; @accent: @catppuccin[@@flavor][@@accentColor];
@text-filter: @catppuccin[@@lookup][@text-filter];
@synopsis-filter: @catppuccin[@@lookup][@synopsis-filter];
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 { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
input, input,
@@ -82,10 +81,10 @@
} }
a[href]:link { a[href]:link {
color: @accent-color; color: @accent;
} }
a[href]:visited { a[href]:visited {
color: average(@overlay2, @accent-color); color: average(@overlay2, @accent);
} }
a[href].def:link, a[href].def:link,
@@ -110,14 +109,14 @@
.section4, .section4,
.section5, .section5,
.section6 { .section6 {
color: overlay(@accent-color, @surface0); color: overlay(@accent, @surface0);
filter: none; filter: none;
} }
.collapser::before, .collapser::before,
.expander::before, .expander::before,
.noexpander::before { .noexpander::before {
color: @accent-color; color: @accent;
} }
pre { pre {
@@ -127,7 +126,7 @@
blockquote { blockquote {
background-color: @surface0; background-color: @surface0;
border-color: @accent-color; border-color: @accent;
} }
.src, .src,
@@ -153,9 +152,9 @@
#page-header, #page-header,
#package-header { #package-header {
background-color: @accent-color; background-color: @accent;
color: @surface1; color: @surface1;
border-color: shade(@accent-color, 25%); border-color: shade(@accent, 25%);
} }
#page-header .caption, #page-header .caption,
@@ -167,7 +166,7 @@
#module-header .caption, #module-header .caption,
.modulebar { .modulebar {
color: @accent-color; color: @accent;
border-color: @surface1; border-color: @surface1;
} }
@@ -204,7 +203,7 @@
} }
.topbar { .topbar {
background-color: @accent-color; background-color: @accent;
.topbut { .topbut {
border-color: @overlay0; border-color: @overlay0;
@@ -268,7 +267,7 @@
*/ */
.embedded-author-content { .embedded-author-content {
border-color: @accent-color; border-color: @accent;
} }
/* /*
@@ -287,7 +286,7 @@
#synopsis { #synopsis {
summary, summary,
#control\.syn { #control\.syn {
filter: @synopsis-filter; filter: @surface0-filter;
} }
ul { ul {
@@ -313,14 +312,14 @@
#search-form { #search-form {
input { input {
border-color: @accent-color; border-color: @accent;
} }
} }
#search-results { #search-results {
border-color: @accent-color; border-color: @accent;
& > ul > li { > ul > li {
border-bottom-color: @overlay0; border-bottom-color: @overlay0;
} }
} }
@@ -339,7 +338,7 @@
} }
.keyboard-shortcuts th { .keyboard-shortcuts th {
color: @accent-color; color: @accent;
} }
.key { .key {
@@ -357,13 +356,13 @@
border-color: @surface0; border-color: @surface0;
button { button {
background-color: @accent-color; background-color: @accent;
color: @mantle; color: @mantle;
border-color: @surface2; border-color: @surface2;
&:hover, &:hover,
&:active { &:active {
background-color: @accent-color; background-color: @accent;
color: @mantle; color: @mantle;
} }
} }
@@ -472,11 +471,11 @@
&[href]:link, &[href]:link,
&:link:hover { &:link:hover {
color: @accent-color; color: @accent;
} }
&:visited, &:visited,
&:visited:hover { &:visited:hover {
color: average(@overlay2, @accent-color); color: average(@overlay2, @accent);
} }
&:link:hover, &:link:hover,
&:visited:hover { &:visited:hover {
@@ -490,7 +489,7 @@
.current:hover { .current:hover {
background-image: none; background-image: none;
background-color: @surface0; background-color: @surface0;
color: @accent-color; color: @accent;
border-color: transparent; border-color: transparent;
} }
} }
@@ -596,11 +595,11 @@
} }
.text-button { .text-button {
color: @accent-color; color: @accent;
} }
p.registration-email { p.registration-email {
border-color: @accent-color; border-color: @accent;
} }
:target { :target {
@@ -641,7 +640,7 @@
.MathJax_Menu { .MathJax_Menu {
background-color: @surface0; background-color: @surface0;
color: @text; color: @text;
border-color: @accent-color; border-color: @accent;
box-shadow: 0 10px 20px @mantle; box-shadow: 0 10px 20px @mantle;
-webkit-box-shadow: 0 10px 20px @mantle; -webkit-box-shadow: 0 10px 20px @mantle;
-moz-box-shadow: 0 10px 20px @mantle; -moz-box-shadow: 0 10px 20px @mantle;
@@ -774,7 +773,7 @@
span.annottext { span.annottext {
background-color: @surface0; background-color: @surface0;
border-color: @accent-color; border-color: @accent;
} }
} }
} }
@@ -782,24 +781,16 @@
/* deno-fmt-ignore */ /* deno-fmt-ignore */
@catppuccin: { @catppuccin: {
@latte: { @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; };
@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; };
@text-filter: brightness(0) saturate(100%) invert(30%) sepia(10%) saturate(1259%) hue-rotate(196deg) brightness(97%) contrast(91%); @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; };
@synopsis-filter: sepia(100%) invert(100%) saturate(0) invert(94%) sepia(7%) saturate(345%) hue-rotate(188deg) brightness(91%) contrast(87%); @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; };
}; };
@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; /* deno-fmt-ignore */
@text-filter: brightness(0) saturate(100%) invert(84%) sepia(5%) saturate(1519%) hue-rotate(192deg) brightness(100%) contrast(93%); @catppuccin-filters: {
@synopsis-filter: sepia(100%) invert(100%) saturate(0) invert(25%) sepia(25%) saturate(486%) hue-rotate(193deg) brightness(90%) contrast(89%); @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: { @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%); };
@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: 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%); };
@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%);
};
}; };
+38 -40
View File
@@ -16,50 +16,48 @@
==/UserStyle== */ ==/UserStyle== */
@-moz-document domain("news.ycombinator.com") { @-moz-document domain("news.ycombinator.com") {
@media (prefers-color-scheme: light) { :root {
:root { @media (prefers-color-scheme: light) {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
} @media (prefers-color-scheme: dark) {
@media (prefers-color-scheme: dark) { #catppuccin(@darkFlavor);
:root {
#catppuccin(@darkFlavor, @accentColor);
} }
} }
#catppuccin(@lookup, @accent) { #catppuccin(@flavor) {
@rosewater: @catppuccin[@@lookup][@rosewater]; @rosewater: @catppuccin[@@flavor][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo]; @flamingo: @catppuccin[@@flavor][@flamingo];
@pink: @catppuccin[@@lookup][@pink]; @pink: @catppuccin[@@flavor][@pink];
@mauve: @catppuccin[@@lookup][@mauve]; @mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@lookup][@red]; @red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@lookup][@maroon]; @maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@lookup][@peach]; @peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@lookup][@yellow]; @yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@lookup][@green]; @green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@lookup][@teal]; @teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@lookup][@sky]; @sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@lookup][@sapphire]; @sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@lookup][@blue]; @blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@lookup][@lavender]; @lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@lookup][@text]; @text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@lookup][@subtext1]; @subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@lookup][@subtext0]; @subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@lookup][@overlay2]; @overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@lookup][@overlay1]; @overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@lookup][@overlay0]; @overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@lookup][@surface2]; @surface2: @catppuccin[@@flavor][@surface2];
@surface1: @catppuccin[@@lookup][@surface1]; @surface1: @catppuccin[@@flavor][@surface1];
@surface0: @catppuccin[@@lookup][@surface0]; @surface0: @catppuccin[@@flavor][@surface0];
@base: @catppuccin[@@lookup][@base]; @base: @catppuccin[@@flavor][@base];
@mantle: @catppuccin[@@lookup][@mantle]; @mantle: @catppuccin[@@flavor][@mantle];
@crust: @catppuccin[@@lookup][@crust]; @crust: @catppuccin[@@flavor][@crust];
@accent-color: @catppuccin[@@lookup][@@accent]; @accent: @catppuccin[@@flavor][@@accentColor];
color-scheme: if(@lookup = latte, light, dark); color-scheme: if(@flavor = latte, light, dark);
::selection { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
input, input,
@@ -84,7 +82,7 @@
/* Header */ /* Header */
td[bgcolor="#ff6600"] { td[bgcolor="#ff6600"] {
background-color: @accent-color; background-color: @accent;
.pagetop, .pagetop,
.pagetop a { .pagetop a {
@@ -93,7 +91,7 @@
img[src="y18.svg"] { img[src="y18.svg"] {
@svg: escape( @svg: escape(
'<svg height="18" viewBox="4 4 188 188" width="18" xmlns="http://www.w3.org/2000/svg"><path d="M4 4h188v188H4z" fill="@{accent-color}"/><path d="M73.252 45.01 96 92.401l22.748-47.391h19.566l-34.324 64.487v41.493H88.01v-41.493L53.686 45.01z" fill="@{crust}"/></svg>' '<svg height="18" viewBox="4 4 188 188" width="18" xmlns="http://www.w3.org/2000/svg"><path d="M4 4h188v188H4z" fill="@{accent}"/><path d="M73.252 45.01 96 92.401l22.748-47.391h19.566l-34.324 64.487v41.493H88.01v-41.493L53.686 45.01z" fill="@{crust}"/></svg>'
); );
content: url("data:image/svg+xml,@{svg}"); content: url("data:image/svg+xml,@{svg}");
border-color: @crust !important; border-color: @crust !important;
@@ -194,7 +192,7 @@
} }
table[bgcolor="#ff6600"] { table[bgcolor="#ff6600"] {
background-color: @accent-color; background-color: @accent;
} }
} }
} }
+61 -54
View File
@@ -16,51 +16,50 @@
==/UserStyle== */ ==/UserStyle== */
@-moz-document domain("haveibeenpwned.com") { @-moz-document domain("haveibeenpwned.com") {
@media (prefers-color-scheme: light) { :root {
:root { @media (prefers-color-scheme: light) {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
} @media (prefers-color-scheme: dark) {
@media (prefers-color-scheme: dark) { #catppuccin(@darkFlavor);
:root {
#catppuccin(@darkFlavor, @accentColor);
} }
} }
#catppuccin(@lookup, @accent) { #catppuccin(@flavor) {
@rosewater: @catppuccin[@@lookup][@rosewater]; @rosewater: @catppuccin[@@flavor][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo]; @flamingo: @catppuccin[@@flavor][@flamingo];
@pink: @catppuccin[@@lookup][@pink]; @pink: @catppuccin[@@flavor][@pink];
@mauve: @catppuccin[@@lookup][@mauve]; @mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@lookup][@red]; @red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@lookup][@maroon]; @maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@lookup][@peach]; @peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@lookup][@yellow]; @yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@lookup][@green]; @green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@lookup][@teal]; @teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@lookup][@sky]; @sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@lookup][@sapphire]; @sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@lookup][@blue]; @blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@lookup][@lavender]; @lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@lookup][@text]; @text: @catppuccin[@@flavor][@text];
@text_filter: @catppuccin[@@lookup][@text_filter]; @subtext1: @catppuccin[@@flavor][@subtext1];
@subtext1: @catppuccin[@@lookup][@subtext1]; @subtext0: @catppuccin[@@flavor][@subtext0];
@subtext0: @catppuccin[@@lookup][@subtext0]; @overlay2: @catppuccin[@@flavor][@overlay2];
@overlay2: @catppuccin[@@lookup][@overlay2]; @overlay1: @catppuccin[@@flavor][@overlay1];
@overlay1: @catppuccin[@@lookup][@overlay1]; @overlay0: @catppuccin[@@flavor][@overlay0];
@overlay0: @catppuccin[@@lookup][@overlay0]; @surface2: @catppuccin[@@flavor][@surface2];
@surface2: @catppuccin[@@lookup][@surface2]; @surface1: @catppuccin[@@flavor][@surface1];
@surface1: @catppuccin[@@lookup][@surface1]; @surface0: @catppuccin[@@flavor][@surface0];
@surface0: @catppuccin[@@lookup][@surface0]; @base: @catppuccin[@@flavor][@base];
@base: @catppuccin[@@lookup][@base]; @mantle: @catppuccin[@@flavor][@mantle];
@mantle: @catppuccin[@@lookup][@mantle]; @crust: @catppuccin[@@flavor][@crust];
@crust: @catppuccin[@@lookup][@crust]; @accent: @catppuccin[@@flavor][@@accentColor];
@accent-color: @catppuccin[@@lookup][@@accent];
color-scheme: if(@lookup = latte, light, dark); @text-filter: @catppuccin-filters[@@flavor][@text];
color-scheme: if(@flavor = latte, light, dark);
::selection { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
input, input,
@@ -88,12 +87,12 @@
} }
&:hover { &:hover {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
} }
img.pwnLogo.large.modalLogo { img.pwnLogo.large.modalLogo {
filter: @text_filter; filter: @text-filter;
} }
.bodyGradient { .bodyGradient {
@@ -139,8 +138,8 @@
} }
.main-logo .logo { .main-logo .logo {
border-color: @accent-color; border-color: @accent;
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
.pwnedCompanyList { .pwnedCompanyList {
@@ -214,7 +213,7 @@
img.pwnLogo { img.pwnLogo {
&[src$="/List.png"], &[src$="/List.png"],
&[src$="/Email.png"] { &[src$="/Email.png"] {
filter: @text_filter; filter: @text-filter;
} }
} }
@@ -224,7 +223,7 @@
border-color: @surface0 !important; border-color: @surface0 !important;
&:focus { &: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; border-color: @surface0 !important;
&:hover { &:hover {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
} }
@@ -245,7 +244,7 @@
} }
.progress-bar { .progress-bar {
background-color: @accent-color; background-color: @accent;
} }
.form-group .termsOfUse { .form-group .termsOfUse {
@@ -277,8 +276,8 @@
.panel-primary { .panel-primary {
border-color: @surface0; border-color: @surface0;
& > .panel-heading, > .panel-heading,
& > .panel-footer { > .panel-footer {
color: @text; color: @text;
border-color: @surface0; border-color: @surface0;
background-color: @mantle; background-color: @mantle;
@@ -302,7 +301,7 @@
border-color: @surface0; border-color: @surface0;
} }
& > .pwnedRow { > .pwnedRow {
background: @red; background: @red;
.pwnedWebsite { .pwnedWebsite {
@@ -430,7 +429,7 @@
.dropdown-menu { .dropdown-menu {
background-color: @base; background-color: @base;
& > li > a { > li > a {
&:hover, &:hover,
&:focus { &:focus {
background-color: @mantle; background-color: @mantle;
@@ -454,8 +453,16 @@
/* deno-fmt-ignore */ /* deno-fmt-ignore */
@catppuccin: { @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; }; @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; @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; }; @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; @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; }; @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; @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; }; @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%); };
}; };
+67 -67
View File
@@ -17,46 +17,46 @@
@-moz-document domain("holodex.net") { @-moz-document domain("holodex.net") {
:root:has(.theme--dark) { :root:has(.theme--dark) {
#catppuccin(@darkFlavor, @accentColor); #catppuccin(@darkFlavor);
} }
:root:has(.theme--light) { :root:has(.theme--light) {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
#catppuccin(@lookup, @accent) { #catppuccin(@flavor) {
@rosewater: @catppuccin[@@lookup][@rosewater]; @rosewater: @catppuccin[@@flavor][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo]; @flamingo: @catppuccin[@@flavor][@flamingo];
@pink: @catppuccin[@@lookup][@pink]; @pink: @catppuccin[@@flavor][@pink];
@mauve: @catppuccin[@@lookup][@mauve]; @mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@lookup][@red]; @red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@lookup][@maroon]; @maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@lookup][@peach]; @peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@lookup][@yellow]; @yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@lookup][@green]; @green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@lookup][@teal]; @teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@lookup][@sky]; @sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@lookup][@sapphire]; @sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@lookup][@blue]; @blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@lookup][@lavender]; @lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@lookup][@text]; @text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@lookup][@subtext1]; @subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@lookup][@subtext0]; @subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@lookup][@overlay2]; @overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@lookup][@overlay1]; @overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@lookup][@overlay0]; @overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@lookup][@surface2]; @surface2: @catppuccin[@@flavor][@surface2];
@surface1: @catppuccin[@@lookup][@surface1]; @surface1: @catppuccin[@@flavor][@surface1];
@surface0: @catppuccin[@@lookup][@surface0]; @surface0: @catppuccin[@@flavor][@surface0];
@base: @catppuccin[@@lookup][@base]; @base: @catppuccin[@@flavor][@base];
@mantle: @catppuccin[@@lookup][@mantle]; @mantle: @catppuccin[@@flavor][@mantle];
@crust: @catppuccin[@@lookup][@crust]; @crust: @catppuccin[@@flavor][@crust];
@accent-color: @catppuccin[@@lookup][@@accent]; @accent: @catppuccin[@@flavor][@@accentColor];
color-scheme: if(@lookup = latte, light, dark); color-scheme: if(@flavor = latte, light, dark);
::selection { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
input, input,
@@ -66,39 +66,39 @@
} }
} }
--v-anchor-base: @accent-color; --v-anchor-base: @accent;
--v-primary-base: @accent-color; --v-primary-base: @accent;
--v-primary-lighten1: lighten(@accent-color, 4%); --v-primary-lighten1: lighten(@accent, 4%);
--v-primary-lighten2: lighten(@accent-color, 8%); --v-primary-lighten2: lighten(@accent, 8%);
--v-primary-lighten3: lighten(@accent-color, 9%); --v-primary-lighten3: lighten(@accent, 9%);
--v-primary-lighten4: lighten(@accent-color, 18%); --v-primary-lighten4: lighten(@accent, 18%);
--v-primary-lighten5: lighten(@accent-color, 19%); --v-primary-lighten5: lighten(@accent, 19%);
--v-primary-darken1: darken(@accent-color, 14%); --v-primary-darken1: darken(@accent, 14%);
--v-primary-darken2: darken(@accent-color, 31%); --v-primary-darken2: darken(@accent, 31%);
--v-primary-darken3: darken(@accent-color, 35%); --v-primary-darken3: darken(@accent, 35%);
--v-primary-darken4: darken(@accent-color, 43%); --v-primary-darken4: darken(@accent, 43%);
--v-accent-base: @accent-color; --v-accent-base: @accent;
--v-accent-lighten1: lighten(@accent-color, 4%); --v-accent-lighten1: lighten(@accent, 4%);
--v-accent-lighten2: lighten(@accent-color, 8%); --v-accent-lighten2: lighten(@accent, 8%);
--v-accent-lighten3: lighten(@accent-color, 9%); --v-accent-lighten3: lighten(@accent, 9%);
--v-accent-lighten4: lighten(@accent-color, 18%); --v-accent-lighten4: lighten(@accent, 18%);
--v-accent-lighten5: lighten(@accent-color, 19%); --v-accent-lighten5: lighten(@accent, 19%);
--v-accent-darken1: darken(@accent-color, 14%); --v-accent-darken1: darken(@accent, 14%);
--v-accent-darken2: darken(@accent-color, 31%); --v-accent-darken2: darken(@accent, 31%);
--v-accent-darken3: darken(@accent-color, 35%); --v-accent-darken3: darken(@accent, 35%);
--v-accent-darken4: darken(@accent-color, 43%); --v-accent-darken4: darken(@accent, 43%);
--v-secondary-base: @accent-color; --v-secondary-base: @accent;
--v-secondary-lighten1: lighten(@accent-color, 4%); --v-secondary-lighten1: lighten(@accent, 4%);
--v-secondary-lighten2: lighten(@accent-color, 8%); --v-secondary-lighten2: lighten(@accent, 8%);
--v-secondary-lighten3: lighten(@accent-color, 9%); --v-secondary-lighten3: lighten(@accent, 9%);
--v-secondary-lighten4: lighten(@accent-color, 18%); --v-secondary-lighten4: lighten(@accent, 18%);
--v-secondary-lighten5: lighten(@accent-color, 19%); --v-secondary-lighten5: lighten(@accent, 19%);
--v-secondary-darken1: darken(@accent-color, 14%); --v-secondary-darken1: darken(@accent, 14%);
--v-secondary-darken2: darken(@accent-color, 31%); --v-secondary-darken2: darken(@accent, 31%);
--v-secondary-darken3: darken(@accent-color, 35%); --v-secondary-darken3: darken(@accent, 35%);
--v-secondary-darken4: darken(@accent-color, 43%); --v-secondary-darken4: darken(@accent, 43%);
--v-error-base: @red; --v-error-base: @red;
--v-error-lighten1: lighten(@red, 4%); --v-error-lighten1: lighten(@red, 4%);
@@ -203,7 +203,7 @@
} }
svg.logo path { svg.logo path {
fill: darken(@accent-color, 2%) !important; fill: darken(@accent, 2%) !important;
&:last-child { &:last-child {
fill: darken(@blue, 8%) !important; fill: darken(@blue, 8%) !important;
@@ -216,7 +216,7 @@
.primary--text, .primary--text,
.name-vtuber { .name-vtuber {
color: @accent-color !important; color: @accent !important;
} }
.text-live { .text-live {
@@ -228,7 +228,7 @@
} }
.nav-btn.v-btn--active { .nav-btn.v-btn--active {
color: @accent-color !important; color: @accent !important;
} }
div.v-sheet.v-alert { div.v-sheet.v-alert {
@@ -257,7 +257,7 @@
} }
button.v-btn--is-elevated.v-btn--has-bg { button.v-btn--is-elevated.v-btn--has-bg {
background: @accent-color !important; background: @accent !important;
color: @base; color: @base;
} }
} }
@@ -16,50 +16,48 @@
==/UserStyle== */ ==/UserStyle== */
@-moz-document domain("home-manager-options.extranix.com") { @-moz-document domain("home-manager-options.extranix.com") {
@media (prefers-color-scheme: light) { :root {
:root { @media (prefers-color-scheme: light) {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
} @media (prefers-color-scheme: dark) {
@media (prefers-color-scheme: dark) { #catppuccin(@darkFlavor);
:root {
#catppuccin(@darkFlavor, @accentColor);
} }
} }
#catppuccin(@lookup, @accent) { #catppuccin(@flavor) {
@rosewater: @catppuccin[@@lookup][@rosewater]; @rosewater: @catppuccin[@@flavor][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo]; @flamingo: @catppuccin[@@flavor][@flamingo];
@pink: @catppuccin[@@lookup][@pink]; @pink: @catppuccin[@@flavor][@pink];
@mauve: @catppuccin[@@lookup][@mauve]; @mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@lookup][@red]; @red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@lookup][@maroon]; @maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@lookup][@peach]; @peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@lookup][@yellow]; @yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@lookup][@green]; @green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@lookup][@teal]; @teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@lookup][@sky]; @sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@lookup][@sapphire]; @sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@lookup][@blue]; @blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@lookup][@lavender]; @lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@lookup][@text]; @text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@lookup][@subtext1]; @subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@lookup][@subtext0]; @subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@lookup][@overlay2]; @overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@lookup][@overlay1]; @overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@lookup][@overlay0]; @overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@lookup][@surface2]; @surface2: @catppuccin[@@flavor][@surface2];
@surface1: @catppuccin[@@lookup][@surface1]; @surface1: @catppuccin[@@flavor][@surface1];
@surface0: @catppuccin[@@lookup][@surface0]; @surface0: @catppuccin[@@flavor][@surface0];
@base: @catppuccin[@@lookup][@base]; @base: @catppuccin[@@flavor][@base];
@mantle: @catppuccin[@@lookup][@mantle]; @mantle: @catppuccin[@@flavor][@mantle];
@crust: @catppuccin[@@lookup][@crust]; @crust: @catppuccin[@@flavor][@crust];
@accent-color: @catppuccin[@@lookup][@@accent]; @accent: @catppuccin[@@flavor][@@accentColor];
color-scheme: if(@lookup = latte, light, dark); color-scheme: if(@flavor = latte, light, dark);
::selection { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
input, input,
@@ -93,7 +91,7 @@
a, a,
a:visited { a:visited {
color: @accent-color; color: @accent;
} }
input, input,
@@ -116,13 +114,13 @@
transparent 75%, transparent 75%,
transparent transparent
); );
background-color: @accent-color; background-color: @accent;
color: @crust; color: @crust;
} }
.form-control:focus { .form-control:focus {
border-color: @accent-color; border-color: @accent;
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px @accent-color; 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) { .table-striped > tbody > tr:nth-of-type(2n+1) {
+39 -41
View File
@@ -17,50 +17,48 @@
@-moz-document domain("homepage.example.com"), @-moz-document domain("homepage.example.com"),
regexp("https?://homepage\\..*") { regexp("https?://homepage\\..*") {
@media (prefers-color-scheme: light) { :root {
:root { @media (prefers-color-scheme: light) {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
} @media (prefers-color-scheme: dark) {
@media (prefers-color-scheme: dark) { #catppuccin(@darkFlavor);
:root {
#catppuccin(@darkFlavor, @accentColor);
} }
} }
#catppuccin(@lookup, @accent) { #catppuccin(@flavor) {
@rosewater: @catppuccin[@@lookup][@rosewater]; @rosewater: @catppuccin[@@flavor][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo]; @flamingo: @catppuccin[@@flavor][@flamingo];
@pink: @catppuccin[@@lookup][@pink]; @pink: @catppuccin[@@flavor][@pink];
@mauve: @catppuccin[@@lookup][@mauve]; @mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@lookup][@red]; @red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@lookup][@maroon]; @maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@lookup][@peach]; @peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@lookup][@yellow]; @yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@lookup][@green]; @green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@lookup][@teal]; @teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@lookup][@sky]; @sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@lookup][@sapphire]; @sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@lookup][@blue]; @blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@lookup][@lavender]; @lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@lookup][@text]; @text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@lookup][@subtext1]; @subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@lookup][@subtext0]; @subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@lookup][@overlay2]; @overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@lookup][@overlay1]; @overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@lookup][@overlay0]; @overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@lookup][@surface2]; @surface2: @catppuccin[@@flavor][@surface2];
@surface1: @catppuccin[@@lookup][@surface1]; @surface1: @catppuccin[@@flavor][@surface1];
@surface0: @catppuccin[@@lookup][@surface0]; @surface0: @catppuccin[@@flavor][@surface0];
@base: @catppuccin[@@lookup][@base]; @base: @catppuccin[@@flavor][@base];
@mantle: @catppuccin[@@lookup][@mantle]; @mantle: @catppuccin[@@flavor][@mantle];
@crust: @catppuccin[@@lookup][@crust]; @crust: @catppuccin[@@flavor][@crust];
@accent-color: @catppuccin[@@lookup][@@accent]; @accent: @catppuccin[@@flavor][@@accentColor];
color-scheme: if(@lookup = latte, light, dark); color-scheme: if(@flavor = latte, light, dark);
::selection { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
input, input,
@@ -79,7 +77,7 @@
.dark { .dark {
--bg-color: @base; --bg-color: @base;
--scrollbar-thumb: @accent-color; //ScrollBar --scrollbar-thumb: @accent; //ScrollBar
--scrollbar-track: @mantle; //Scrollbar base --scrollbar-track: @mantle; //Scrollbar base
} }
@@ -105,7 +103,7 @@
:is(.dark .dark\:text-white) { :is(.dark .dark\:text-white) {
--tw-text-opacity: 1; --tw-text-opacity: 1;
color: @accent-color; //Search bar Text color: @accent; //Search bar Text
} }
// Services Level Features // Services Level Features
@@ -130,7 +128,7 @@
} }
:is(.dark .dark\:bg-theme-900\/40) { :is(.dark .dark\:bg-theme-900\/40) {
background-color: @accent-color; //Progress Bar background-color: @accent; //Progress Bar
} }
:is(.dark .dark\:text-theme-300) { :is(.dark .dark\:text-theme-300) {
color: @text; //Section Names + Container Description color: @text; //Section Names + Container Description
@@ -165,7 +163,7 @@
:is(.dark .dark\:hover\:text-theme-300:hover) { :is(.dark .dark\:hover\:text-theme-300:hover) {
--tw-text-opacity: 1; --tw-text-opacity: 1;
color: darken( color: darken(
@accent-color, @accent,
10% 10%
); //Section Names + Container Description Hover Color ); //Section Names + Container Description Hover Color
} }
+49 -44
View File
@@ -16,54 +16,59 @@
==/UserStyle== */ ==/UserStyle== */
@-moz-document domain("hoogle.haskell.org") { @-moz-document domain("hoogle.haskell.org") {
@media (prefers-color-scheme: light) { :root {
:root { @media (prefers-color-scheme: light) {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
} @media (prefers-color-scheme: dark) {
@media (prefers-color-scheme: dark) { #catppuccin(@darkFlavor);
:root {
#catppuccin(@darkFlavor, @accentColor);
} }
} }
#catppuccin(@lookup, @accent) { #catppuccin(@flavor) {
@rosewater: @catppuccin[@@lookup][@rosewater]; @rosewater: @catppuccin[@@flavor][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo]; @flamingo: @catppuccin[@@flavor][@flamingo];
@pink: @catppuccin[@@lookup][@pink]; @pink: @catppuccin[@@flavor][@pink];
@mauve: @catppuccin[@@lookup][@mauve]; @mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@lookup][@red]; @red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@lookup][@maroon]; @maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@lookup][@peach]; @peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@lookup][@yellow]; @yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@lookup][@green]; @green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@lookup][@teal]; @teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@lookup][@sky]; @sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@lookup][@sapphire]; @sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@lookup][@blue]; @blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@lookup][@lavender]; @lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@lookup][@text]; @text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@lookup][@subtext1]; @subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@lookup][@subtext0]; @subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@lookup][@overlay2]; @overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@lookup][@overlay1]; @overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@lookup][@overlay0]; @overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@lookup][@surface2]; @surface2: @catppuccin[@@flavor][@surface2];
@surface1: @catppuccin[@@lookup][@surface1]; @surface1: @catppuccin[@@flavor][@surface1];
@surface0: @catppuccin[@@lookup][@surface0]; @surface0: @catppuccin[@@flavor][@surface0];
@base: @catppuccin[@@lookup][@base]; @base: @catppuccin[@@flavor][@base];
@mantle: @catppuccin[@@lookup][@mantle]; @mantle: @catppuccin[@@flavor][@mantle];
@crust: @catppuccin[@@lookup][@crust]; @crust: @catppuccin[@@flavor][@crust];
@accent-color: @catppuccin[@@lookup][@@accent]; @accent: @catppuccin[@@flavor][@@accentColor];
color-scheme: if(@lookup = latte, light, dark); color-scheme: if(@flavor = latte, light, dark);
::selection { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
}
input,
textarea {
&::placeholder {
color: @subtext0 !important;
}
} }
a { a {
color: @accent-color; color: @accent;
&:hover { &:hover {
background-color: @surface0; background-color: @surface0;
@@ -80,9 +85,9 @@
*/ */
#links { #links {
background-color: @accent-color; background-color: @accent;
color: @surface1; color: @surface1;
border-color: shade(@accent-color, 25%); border-color: shade(@accent, 25%);
} }
#top-menu li { #top-menu li {
@@ -101,7 +106,7 @@
#logo { #logo {
img { img {
@svg: escape( @svg: escape(
'<svg xmlns="http://www.w3.org/2000/svg" width="160" height="58"><path d="M110.241 11.967c-.248 0-.524.221-.837.652a20.5 20.5 0 0 1-2.977 3.328v1.126a7 7 0 0 1 .672-.03q1.194-.001 1.82.526.623.528 1.601 2.915l1.271 3.028-5.085 13.519c-.404 1.03-.757 1.666-1.043 1.901-.287.222-.739.39-1.365.507v1.643a14 14 0 0 1 1.82-.134q.802-.001 2.407.134c1.044-4.317 2.51-9.344 4.414-15.069 1.956 5.36 3.33 8.896 4.113 10.604a34 34 0 0 0 2.76 4.858h.61a57 57 0 0 1 4.516-2.057v-1.096q-1.215-.116-2.098-1.074c-.574-.653-1.58-2.778-3.028-6.377l-5.261-13.25q-1.174-2.932-2.367-4.279c-.795-.913-1.447-1.375-1.943-1.375m-93.741.3v28.68h5.788V28.402h11.348v12.547h5.788v-28.68h-5.788v11.285H22.288V12.267zm118.453 9.095c-2.635 0-4.864 1.038-6.677 3.111-1.721 1.996-2.573 4.331-2.573 7.018 0 3.012.897 5.432 2.697 7.245q2.699 2.698 7.235 2.697 4.501.002 7.38-3.049c.208-.221.31-.376.31-.454q.001-.096-.683-1.406c-.456-.887-.705-1.348-.744-1.374q-.04-.041-.196-.042l-.63.517q-2.583 1.995-5.675 1.995c-1.2 0-2.315-.388-3.359-1.158-1.095-.808-1.732-1.787-1.902-2.935 7.513-.56 11.553-.939 12.113-1.147.835-.326 1.251-.978 1.251-1.943q-.001-3.756-2.408-6.377-2.463-2.699-6.14-2.698m-36.741.042c-.157 0-.238.385-.238 1.167 0 .183.015.47.041.848.027.365.042.626.042.796q0 .352-.155.351c-.092 0-.246-.129-.455-.403-1.265-1.656-2.974-2.49-5.126-2.49-2.44 0-4.417.928-5.943 2.78-1.435 1.734-2.15 3.836-2.15 6.314 0 2.44.746 4.501 2.233 6.17 1.551 1.735 3.53 2.595 5.942 2.595 2.23 0 4.072-.875 5.52-2.636.052.952.072 1.566.072 1.84 0 1.239-.49 2.18-1.468 2.832-.848.574-1.913.858-3.204.858-1.97 0-3.935-.553-5.891-1.675-.104-.065-.183-.103-.248-.103q-.218 0-.28.33-.587 3.11-.588 2.895c0 .13.147.292.434.475q2.74 1.683 7.183 1.685c3.065 0 5.291-.782 6.687-2.347 1.33-1.473 1.995-3.769 1.995-6.873 0-1.565.015-3.908.041-7.038.026-3.143.041-5.504.041-7.07 0-.273-.096-.44-.279-.506-.117-.052-.81-.189-2.087-.423-1.279-.248-1.989-.372-2.12-.372m-45.464.155c-2.7 0-4.962.979-6.8 2.935-1.788 1.917-2.688 4.24-2.688 6.966s.9 5.038 2.687 6.955c1.826 1.983 4.088 2.977 6.8 2.977 2.7 0 4.965-1.002 6.791-2.997 1.787-1.93 2.677-4.25 2.677-6.977q.001-4.068-2.698-6.924-2.739-2.934-6.77-2.935m20.485 0q-4.051 0-6.81 2.935-2.679 2.876-2.677 6.966c0 2.726.89 5.038 2.676 6.955 1.826 1.983 4.099 2.977 6.811 2.977 2.7 0 4.965-1.002 6.79-2.997 1.787-1.93 2.677-4.25 2.677-6.977q.001-4.068-2.697-6.924-2.74-2.934-6.77-2.935m61.444 3.555c1.069 0 2.035.416 2.883 1.25.86.835 1.292 1.802 1.292 2.884q0 .236-1.137.393c-2.686.391-4.994.579-6.925.579-.469 0-.702-.13-.702-.403 0-1.2.459-2.291 1.385-3.256.939-.965 2.004-1.447 3.204-1.447m-41.31.279q2.13 0 3.441 1.664c.796 1.017 1.189 2.25 1.189 3.71q0 2.134-1.23 3.68-1.329 1.683-3.4 1.684c-1.396 0-2.537-.563-3.411-1.684q-1.212-1.546-1.21-3.68c0-1.447.404-2.672 1.2-3.69q1.309-1.682 3.42-1.684m-40.617.217q2.349-.002 3.875 1.778 1.468 1.683 1.468 4.072c0 1.565-.49 2.914-1.468 4.062q-1.546 1.819-3.875 1.819c-1.54 0-2.822-.607-3.866-1.82-.99-1.147-1.488-2.496-1.488-4.061q0-2.388 1.468-4.093c1.03-1.174 2.32-1.757 3.886-1.757m20.484 0q2.349-.001 3.876 1.778 1.467 1.683 1.468 4.072c0 1.565-.49 2.914-1.468 4.062Q75.56 37.34 73.23 37.34q-2.31 0-3.875-1.82c-.992-1.147-1.489-2.496-1.489-4.061q0-2.388 1.468-4.093 1.547-1.759 3.896-1.757" fill="@{accent-color}"/></svg>' '<svg xmlns="http://www.w3.org/2000/svg" width="160" height="58"><path d="M110.241 11.967c-.248 0-.524.221-.837.652a20.5 20.5 0 0 1-2.977 3.328v1.126a7 7 0 0 1 .672-.03q1.194-.001 1.82.526.623.528 1.601 2.915l1.271 3.028-5.085 13.519c-.404 1.03-.757 1.666-1.043 1.901-.287.222-.739.39-1.365.507v1.643a14 14 0 0 1 1.82-.134q.802-.001 2.407.134c1.044-4.317 2.51-9.344 4.414-15.069 1.956 5.36 3.33 8.896 4.113 10.604a34 34 0 0 0 2.76 4.858h.61a57 57 0 0 1 4.516-2.057v-1.096q-1.215-.116-2.098-1.074c-.574-.653-1.58-2.778-3.028-6.377l-5.261-13.25q-1.174-2.932-2.367-4.279c-.795-.913-1.447-1.375-1.943-1.375m-93.741.3v28.68h5.788V28.402h11.348v12.547h5.788v-28.68h-5.788v11.285H22.288V12.267zm118.453 9.095c-2.635 0-4.864 1.038-6.677 3.111-1.721 1.996-2.573 4.331-2.573 7.018 0 3.012.897 5.432 2.697 7.245q2.699 2.698 7.235 2.697 4.501.002 7.38-3.049c.208-.221.31-.376.31-.454q.001-.096-.683-1.406c-.456-.887-.705-1.348-.744-1.374q-.04-.041-.196-.042l-.63.517q-2.583 1.995-5.675 1.995c-1.2 0-2.315-.388-3.359-1.158-1.095-.808-1.732-1.787-1.902-2.935 7.513-.56 11.553-.939 12.113-1.147.835-.326 1.251-.978 1.251-1.943q-.001-3.756-2.408-6.377-2.463-2.699-6.14-2.698m-36.741.042c-.157 0-.238.385-.238 1.167 0 .183.015.47.041.848.027.365.042.626.042.796q0 .352-.155.351c-.092 0-.246-.129-.455-.403-1.265-1.656-2.974-2.49-5.126-2.49-2.44 0-4.417.928-5.943 2.78-1.435 1.734-2.15 3.836-2.15 6.314 0 2.44.746 4.501 2.233 6.17 1.551 1.735 3.53 2.595 5.942 2.595 2.23 0 4.072-.875 5.52-2.636.052.952.072 1.566.072 1.84 0 1.239-.49 2.18-1.468 2.832-.848.574-1.913.858-3.204.858-1.97 0-3.935-.553-5.891-1.675-.104-.065-.183-.103-.248-.103q-.218 0-.28.33-.587 3.11-.588 2.895c0 .13.147.292.434.475q2.74 1.683 7.183 1.685c3.065 0 5.291-.782 6.687-2.347 1.33-1.473 1.995-3.769 1.995-6.873 0-1.565.015-3.908.041-7.038.026-3.143.041-5.504.041-7.07 0-.273-.096-.44-.279-.506-.117-.052-.81-.189-2.087-.423-1.279-.248-1.989-.372-2.12-.372m-45.464.155c-2.7 0-4.962.979-6.8 2.935-1.788 1.917-2.688 4.24-2.688 6.966s.9 5.038 2.687 6.955c1.826 1.983 4.088 2.977 6.8 2.977 2.7 0 4.965-1.002 6.791-2.997 1.787-1.93 2.677-4.25 2.677-6.977q.001-4.068-2.698-6.924-2.739-2.934-6.77-2.935m20.485 0q-4.051 0-6.81 2.935-2.679 2.876-2.677 6.966c0 2.726.89 5.038 2.676 6.955 1.826 1.983 4.099 2.977 6.811 2.977 2.7 0 4.965-1.002 6.79-2.997 1.787-1.93 2.677-4.25 2.677-6.977q.001-4.068-2.697-6.924-2.74-2.934-6.77-2.935m61.444 3.555c1.069 0 2.035.416 2.883 1.25.86.835 1.292 1.802 1.292 2.884q0 .236-1.137.393c-2.686.391-4.994.579-6.925.579-.469 0-.702-.13-.702-.403 0-1.2.459-2.291 1.385-3.256.939-.965 2.004-1.447 3.204-1.447m-41.31.279q2.13 0 3.441 1.664c.796 1.017 1.189 2.25 1.189 3.71q0 2.134-1.23 3.68-1.329 1.683-3.4 1.684c-1.396 0-2.537-.563-3.411-1.684q-1.212-1.546-1.21-3.68c0-1.447.404-2.672 1.2-3.69q1.309-1.682 3.42-1.684m-40.617.217q2.349-.002 3.875 1.778 1.468 1.683 1.468 4.072c0 1.565-.49 2.914-1.468 4.062q-1.546 1.819-3.875 1.819c-1.54 0-2.822-.607-3.866-1.82-.99-1.147-1.488-2.496-1.488-4.061q0-2.388 1.468-4.093c1.03-1.174 2.32-1.757 3.886-1.757m20.484 0q2.349-.001 3.876 1.778 1.467 1.683 1.468 4.072c0 1.565-.49 2.914-1.468 4.062Q75.56 37.34 73.23 37.34q-2.31 0-3.875-1.82c-.992-1.147-1.489-2.496-1.489-4.061q0-2.388 1.468-4.093 1.547-1.759 3.896-1.757" fill="@{accent}"/></svg>'
); );
content: url("data:image/svg+xml,@{svg}"); content: url("data:image/svg+xml,@{svg}");
} }
@@ -156,7 +161,7 @@
li.highlighted { li.highlighted {
background-image: none; background-image: none;
background-color: @accent-color; background-color: @accent;
color: @base; color: @base;
} }
@@ -173,7 +178,7 @@
#left { #left {
a { a {
color: @accent-color; color: @accent;
} }
.plus { .plus {
@svg: escape( @svg: escape(
@@ -231,7 +236,7 @@
color: @subtext1; color: @subtext1;
} }
.name { .name {
color: @accent-color; color: @accent;
} }
} }
+40 -40
View File
@@ -17,52 +17,52 @@
@-moz-document domain("hoppscotch.io") { @-moz-document domain("hoppscotch.io") {
:root.dark { :root.dark {
#catppuccin(@darkFlavor, @accentColor); #catppuccin(@darkFlavor);
} }
:root.light { :root.light {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
#catppuccin(@lookup, @accent) { #catppuccin(@flavor) {
@rosewater: @catppuccin[@@lookup][@rosewater]; @rosewater: @catppuccin[@@flavor][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo]; @flamingo: @catppuccin[@@flavor][@flamingo];
@pink: @catppuccin[@@lookup][@pink]; @pink: @catppuccin[@@flavor][@pink];
@mauve: @catppuccin[@@lookup][@mauve]; @mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@lookup][@red]; @red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@lookup][@maroon]; @maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@lookup][@peach]; @peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@lookup][@yellow]; @yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@lookup][@green]; @green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@lookup][@teal]; @teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@lookup][@sky]; @sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@lookup][@sapphire]; @sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@lookup][@blue]; @blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@lookup][@lavender]; @lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@lookup][@text]; @text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@lookup][@subtext1]; @subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@lookup][@subtext0]; @subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@lookup][@overlay2]; @overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@lookup][@overlay1]; @overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@lookup][@overlay0]; @overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@lookup][@surface2]; @surface2: @catppuccin[@@flavor][@surface2];
@surface1: @catppuccin[@@lookup][@surface1]; @surface1: @catppuccin[@@flavor][@surface1];
@surface0: @catppuccin[@@lookup][@surface0]; @surface0: @catppuccin[@@flavor][@surface0];
@base: @catppuccin[@@lookup][@base]; @base: @catppuccin[@@flavor][@base];
@mantle: @catppuccin[@@lookup][@mantle]; @mantle: @catppuccin[@@flavor][@mantle];
@crust: @catppuccin[@@lookup][@crust]; @crust: @catppuccin[@@flavor][@crust];
@accent-color: @catppuccin[@@lookup][@@accent]; @accent: @catppuccin[@@flavor][@@accentColor];
@accent-color-light-alpha: 1.1; @accent-light-alpha: 1.1;
@accent-color-dark-alpha: 0.9; @accent-dark-alpha: 0.9;
@accent-gradient-from-color: 1.05; @accent-gradient-from-color: 1.05;
@accent-gradient-via-color: 1.2; @accent-gradient-via-color: 1.2;
@accent-gradient-to-color: 0.85; @accent-gradient-to-color: 0.85;
color-scheme: if(@lookup = latte, light, dark); color-scheme: if(@flavor = latte, light, dark);
::selection { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
input, input,
@@ -96,13 +96,13 @@
--editor-link-color: @sapphire; --editor-link-color: @sapphire;
--editor-constant-color: fade(@lavender, 1.2%); --editor-constant-color: fade(@lavender, 1.2%);
--editor-keyword-color: @red; --editor-keyword-color: @red;
--accent-color: @accent-color; --accent-color: @accent;
--accent-light-color: fade(@accent-color, @accent-color-light-alpha); --accent-light-color: fade(@accent, @accent-light-alpha);
--accent-dark-color: fade(@accent-color, @accent-color-dark-alpha); --accent-dark-color: fade(@accent, @accent-dark-alpha);
--accent-contrast-color: @crust; --accent-contrast-color: @crust;
--gradient-from-color: fade(@accent-color, @accent-gradient-from-color); --gradient-from-color: fade(@accent, @accent-gradient-from-color);
--gradient-via-color: fade(@accent-color, @accent-gradient-via-color); --gradient-via-color: fade(@accent, @accent-gradient-via-color);
--gradient-to-color: fade(@accent-color, @accent-gradient-to-color); --gradient-to-color: fade(@accent, @accent-gradient-to-color);
--editor-process-color: @text; --editor-process-color: @text;
+41 -44
View File
@@ -29,62 +29,59 @@
domain("hp.iqbalrifai.eu.org"), domain("hp.iqbalrifai.eu.org"),
domain("hp.ngn.tf"), domain("hp.ngn.tf"),
domain("hyperpipe.ducks.party") { domain("hyperpipe.ducks.party") {
@media (prefers-color-scheme: light) { body {
body { @media (prefers-color-scheme: light) {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
} @media (prefers-color-scheme: dark) {
#catppuccin(@darkFlavor);
@media (prefers-color-scheme: dark) {
body {
#catppuccin(@darkFlavor, @accentColor);
} }
} }
body[data-theme^="light"] { body[data-theme^="light"] {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
body[data-theme^="dark"], body[data-theme^="dark"],
body[data-theme^="black"], body[data-theme^="black"],
body[data-theme^="dracula"], body[data-theme^="dracula"],
body[data-theme^="nord"] { body[data-theme^="nord"] {
#catppuccin(@darkFlavor, @accentColor); #catppuccin(@darkFlavor);
} }
#catppuccin(@lookup, @accent) { #catppuccin(@flavor) {
@rosewater: @catppuccin[@@lookup][@rosewater]; @rosewater: @catppuccin[@@flavor][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo]; @flamingo: @catppuccin[@@flavor][@flamingo];
@pink: @catppuccin[@@lookup][@pink]; @pink: @catppuccin[@@flavor][@pink];
@mauve: @catppuccin[@@lookup][@mauve]; @mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@lookup][@red]; @red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@lookup][@maroon]; @maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@lookup][@peach]; @peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@lookup][@yellow]; @yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@lookup][@green]; @green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@lookup][@teal]; @teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@lookup][@sky]; @sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@lookup][@sapphire]; @sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@lookup][@blue]; @blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@lookup][@lavender]; @lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@lookup][@text]; @text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@lookup][@subtext1]; @subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@lookup][@subtext0]; @subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@lookup][@overlay2]; @overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@lookup][@overlay1]; @overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@lookup][@overlay0]; @overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@lookup][@surface2]; @surface2: @catppuccin[@@flavor][@surface2];
@surface1: @catppuccin[@@lookup][@surface1]; @surface1: @catppuccin[@@flavor][@surface1];
@surface0: @catppuccin[@@lookup][@surface0]; @surface0: @catppuccin[@@flavor][@surface0];
@base: @catppuccin[@@lookup][@base]; @base: @catppuccin[@@flavor][@base];
@mantle: @catppuccin[@@lookup][@mantle]; @mantle: @catppuccin[@@flavor][@mantle];
@crust: @catppuccin[@@lookup][@crust]; @crust: @catppuccin[@@flavor][@crust];
@accent-color: @catppuccin[@@lookup][@@accent]; @accent: @catppuccin[@@flavor][@@accentColor];
color-scheme: if(@lookup = latte, light, dark); color-scheme: if(@flavor = latte, light, dark);
::selection { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
input, input,
@@ -94,7 +91,7 @@
} }
} }
--color-foreground: @accent-color !important; --color-foreground: @accent !important;
--color-background: @base !important; --color-background: @base !important;
--color-background-soft: @surface0 !important; --color-background-soft: @surface0 !important;
--color-background-mute: @surface1 !important; --color-background-mute: @surface1 !important;
@@ -104,10 +101,10 @@
--color-blur: fade(@mantle, 45%) !important; --color-blur: fade(@mantle, 45%) !important;
--color-gradient: linear-gradient( --color-gradient: linear-gradient(
45deg, 45deg,
@accent-color, @accent,
fade(@accent-color, 45%) fade(@accent, 45%)
); );
--color-scrollbar: @accent-color !important; --color-scrollbar: @accent !important;
--color-heading: @text !important; --color-heading: @text !important;
--color-text: @text !important; --color-text: @text !important;
} }
+56 -117
View File
@@ -18,50 +18,48 @@
==/UserStyle== */ ==/UserStyle== */
@-moz-document domain("ichi.moe") { @-moz-document domain("ichi.moe") {
@media (prefers-color-scheme: light) { :root {
:root { @media (prefers-color-scheme: light) {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
} @media (prefers-color-scheme: dark) {
@media (prefers-color-scheme: dark) { #catppuccin(@darkFlavor);
:root {
#catppuccin(@darkFlavor, @accentColor);
} }
} }
#catppuccin(@lookup, @accent) { #catppuccin(@flavor) {
@rosewater: @catppuccin[@@lookup][@rosewater]; @rosewater: @catppuccin[@@flavor][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo]; @flamingo: @catppuccin[@@flavor][@flamingo];
@pink: @catppuccin[@@lookup][@pink]; @pink: @catppuccin[@@flavor][@pink];
@mauve: @catppuccin[@@lookup][@mauve]; @mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@lookup][@red]; @red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@lookup][@maroon]; @maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@lookup][@peach]; @peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@lookup][@yellow]; @yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@lookup][@green]; @green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@lookup][@teal]; @teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@lookup][@sky]; @sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@lookup][@sapphire]; @sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@lookup][@blue]; @blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@lookup][@lavender]; @lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@lookup][@text]; @text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@lookup][@subtext1]; @subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@lookup][@subtext0]; @subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@lookup][@overlay2]; @overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@lookup][@overlay1]; @overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@lookup][@overlay0]; @overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@lookup][@surface2]; @surface2: @catppuccin[@@flavor][@surface2];
@surface1: @catppuccin[@@lookup][@surface1]; @surface1: @catppuccin[@@flavor][@surface1];
@surface0: @catppuccin[@@lookup][@surface0]; @surface0: @catppuccin[@@flavor][@surface0];
@base: @catppuccin[@@lookup][@base]; @base: @catppuccin[@@flavor][@base];
@mantle: @catppuccin[@@lookup][@mantle]; @mantle: @catppuccin[@@flavor][@mantle];
@crust: @catppuccin[@@lookup][@crust]; @crust: @catppuccin[@@flavor][@crust];
@accent-color: @catppuccin[@@lookup][@@accent]; @accent: @catppuccin[@@flavor][@@accentColor];
color-scheme: if(@lookup = latte, light, dark); color-scheme: if(@flavor = latte, light, dark);
::selection { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
input, input,
@@ -86,31 +84,24 @@
} }
.panel-error { .panel-error {
background-color: fadeout(@red, 20%); background-color: fade(@red, 80%);
} }
.highlight { .highlight {
background-color: fadeout(@yellow, 20%); background-color: fade(@yellow, 80%);
} }
.gloss { .gloss {
& when (@lookup = "latte") { background-color: if(@flavor = "latte", @base, @surface0);
background-color: @base;
border-color: @surface2;
}
background-color: @surface0;
border-color: @overlay0;
} }
.gloss,
.gloss-rtext { .gloss-rtext {
& when (@lookup = "latte") { border-color: if(@flavor = "latte", @surface2, @overlay0);
border-color: @surface2;
}
border-color: @overlay0;
} }
.gloss:target { .gloss:target {
& when (@lookup = "latte") { & when (@flavor = "latte") {
box-shadow: 0 0 5px @surface2; box-shadow: 0 0 5px @surface2;
-webkit-box-shadow: 0 0 5px @surface2; -webkit-box-shadow: 0 0 5px @surface2;
-moz-box-shadow: 0 0 5px @surface2; -moz-box-shadow: 0 0 5px @surface2;
@@ -145,10 +136,7 @@
} }
.jspDrag { .jspDrag {
& when (@lookup = "latte") { background-color: if(@flavor = "latte", @surface1, @surface2);
background-color: @surface1;
}
background-color: @surface2;
} }
.conj-negative { .conj-negative {
@@ -163,18 +151,9 @@
color: @green; color: @green;
} }
.reading-table tr:nth-of-type(2n) { .reading-table tr:nth-of-type(2n),
& when (@lookup = "latte") {
background: fadeout(@surface0, 50%);
}
background: fadeout(@surface1, 50%);
}
table.kanji-match tr:nth-of-type(2n) { table.kanji-match tr:nth-of-type(2n) {
& when (@lookup = "latte") { background: fade(if(@flavor = "latte", @surface0, @surface1), 50%);
background: fadeout(@surface0, 50%);
}
background: fadeout(@surface1, 50%);
} }
.kanji-big a { .kanji-big a {
@@ -182,19 +161,12 @@
} }
.autocomplete-suggestions { .autocomplete-suggestions {
& when (@lookup = "latte") { border-color: if(@flavor = "latte", @surface2, @overlay0);
background: @base;
border-color: @surface2;
}
background: @surface0;
border-color: @overlay0;
} }
.autocomplete-suggestions,
.autocomplete-selected { .autocomplete-selected {
& when (@lookup = "latte") { background: if(@flavor = "latte", @base, @surface0);
background: @base;
}
background: @surface0;
} }
.autocomplete-suggestions strong { .autocomplete-suggestions strong {
@@ -266,7 +238,7 @@
input[type="checkbox"]:focus, input[type="checkbox"]:focus,
input[type="radio"]:focus, input[type="radio"]:focus,
select:focus { select:focus {
& when (@lookup = "latte") { & when (@flavor = "latte") {
background-color: @base; background-color: @base;
border-color: @surface0; border-color: @surface0;
} }
@@ -284,17 +256,11 @@
} }
.jspTrack { .jspTrack {
& when (@lookup = "latte") { background: if(@flavor = "latte", @surface0, @surface1);
background: @surface0;
}
background: @surface1;
} }
.f-dropdown { .f-dropdown {
& when (@lookup = "latte") { background-color: if(@flavor = "latte", @base, @surface0);
background-color: @base;
}
background-color: @surface0;
border-color: @subtext1; border-color: @subtext1;
} }
@@ -323,10 +289,7 @@
table { table {
background: @base; background: @base;
& when (@lookup = "latte") { background-color: if(@flavor = "latte", @surface0, @surface1);
background-color: @surface0;
}
background-color: @surface1;
} }
table tr th, table tr th,
@@ -334,42 +297,18 @@
color: @subtext1; color: @subtext1;
} }
.kanji-table td {
& when (@lookup = "latte") {
border-color: @surface0;
}
border-color: @surface1;
}
table tr.even, table tr.even,
table tr.alt, table tr.alt,
table tr:nth-of-type(2n) { table tr:nth-of-type(2n) {
& when (@lookup = "latte") { background: fade(if(@flavor = "latte", @surface0, @surface1), 50%);
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;
} }
.kanji-table td,
.reading-table tr ~ tr > td,
table.kanji-match td,
tr.match-row-kanji, tr.match-row-kanji,
tr.match-row-reading { tr.match-row-reading {
& when (@lookup = "latte") { border-color: if(@flavor = "latte", @surface0, @surface1);
border-color: @surface0;
}
border-color: @surface1;
} }
img { img {
+67 -71
View File
@@ -30,45 +30,43 @@ curl -s https://raw.githubusercontent.com/KevinPayravi/indie-wiki-buddy/main/man
domain("ya.ru"), domain("ya.ru"),
regexp("^https?://(www\\.)?google\\..*"), regexp("^https?://(www\\.)?google\\..*"),
regexp("^https?://(www\\.)?yandex\\..*") { regexp("^https?://(www\\.)?yandex\\..*") {
@media (prefers-color-scheme: light) { :root {
:root { @media (prefers-color-scheme: light) {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
} @media (prefers-color-scheme: dark) {
@media (prefers-color-scheme: dark) { #catppuccin(@darkFlavor);
:root {
#catppuccin(@darkFlavor, @accentColor);
} }
} }
#catppuccin(@lookup, @accent) { #catppuccin(@flavor) {
@rosewater: @catppuccin[@@lookup][@rosewater]; @rosewater: @catppuccin[@@flavor][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo]; @flamingo: @catppuccin[@@flavor][@flamingo];
@pink: @catppuccin[@@lookup][@pink]; @pink: @catppuccin[@@flavor][@pink];
@mauve: @catppuccin[@@lookup][@mauve]; @mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@lookup][@red]; @red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@lookup][@maroon]; @maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@lookup][@peach]; @peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@lookup][@yellow]; @yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@lookup][@green]; @green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@lookup][@teal]; @teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@lookup][@sky]; @sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@lookup][@sapphire]; @sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@lookup][@blue]; @blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@lookup][@lavender]; @lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@lookup][@text]; @text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@lookup][@subtext1]; @subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@lookup][@subtext0]; @subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@lookup][@overlay2]; @overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@lookup][@overlay1]; @overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@lookup][@overlay0]; @overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@lookup][@surface2]; @surface2: @catppuccin[@@flavor][@surface2];
@surface1: @catppuccin[@@lookup][@surface1]; @surface1: @catppuccin[@@flavor][@surface1];
@surface0: @catppuccin[@@lookup][@surface0]; @surface0: @catppuccin[@@flavor][@surface0];
@base: @catppuccin[@@lookup][@base]; @base: @catppuccin[@@flavor][@base];
@mantle: @catppuccin[@@lookup][@mantle]; @mantle: @catppuccin[@@flavor][@mantle];
@crust: @catppuccin[@@lookup][@crust]; @crust: @catppuccin[@@flavor][@crust];
@accent-color: @catppuccin[@@lookup][@@accent]; @accent: @catppuccin[@@flavor][@@accentColor];
.iwb-new-link button { .iwb-new-link button {
color: @base; color: @base;
@@ -105,51 +103,49 @@ curl -s https://raw.githubusercontent.com/KevinPayravi/indie-wiki-buddy/main/man
domain("bw.vern.cc"), domain("bw.vern.cc"),
domain("breeze.whateveritworks.org"), domain("breeze.whateveritworks.org"),
domain("breezewiki.woodland.cafe") { domain("breezewiki.woodland.cafe") {
@media (prefers-color-scheme: light) { :root {
:root { @media (prefers-color-scheme: light) {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
} @media (prefers-color-scheme: dark) {
@media (prefers-color-scheme: dark) { #catppuccin(@darkFlavor);
:root {
#catppuccin(@darkFlavor, @accentColor);
} }
} }
#catppuccin(@lookup, @accent) { #catppuccin(@flavor) {
@rosewater: @catppuccin[@@lookup][@rosewater]; @rosewater: @catppuccin[@@flavor][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo]; @flamingo: @catppuccin[@@flavor][@flamingo];
@pink: @catppuccin[@@lookup][@pink]; @pink: @catppuccin[@@flavor][@pink];
@mauve: @catppuccin[@@lookup][@mauve]; @mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@lookup][@red]; @red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@lookup][@maroon]; @maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@lookup][@peach]; @peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@lookup][@yellow]; @yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@lookup][@green]; @green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@lookup][@teal]; @teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@lookup][@sky]; @sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@lookup][@sapphire]; @sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@lookup][@blue]; @blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@lookup][@lavender]; @lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@lookup][@text]; @text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@lookup][@subtext1]; @subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@lookup][@subtext0]; @subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@lookup][@overlay2]; @overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@lookup][@overlay1]; @overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@lookup][@overlay0]; @overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@lookup][@surface2]; @surface2: @catppuccin[@@flavor][@surface2];
@surface1: @catppuccin[@@lookup][@surface1]; @surface1: @catppuccin[@@flavor][@surface1];
@surface0: @catppuccin[@@lookup][@surface0]; @surface0: @catppuccin[@@flavor][@surface0];
@base: @catppuccin[@@lookup][@base]; @base: @catppuccin[@@flavor][@base];
@mantle: @catppuccin[@@lookup][@mantle]; @mantle: @catppuccin[@@flavor][@mantle];
@crust: @catppuccin[@@lookup][@crust]; @crust: @catppuccin[@@flavor][@crust];
@accent-color: @catppuccin[@@lookup][@@accent]; @accent: @catppuccin[@@flavor][@@accentColor];
.indie-wiki-banner { .indie-wiki-banner {
background: @mantle; background: @mantle;
color: @text; color: @text;
::selection { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
} }
.indie-wiki-banner-exit { .indie-wiki-banner-exit {
+69 -73
View File
@@ -16,50 +16,48 @@
==/UserStyle== */ ==/UserStyle== */
@-moz-document domain("inoreader.com") { @-moz-document domain("inoreader.com") {
@media (prefers-color-scheme: light) { :root {
:root { @media (prefers-color-scheme: light) {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
} @media (prefers-color-scheme: dark) {
@media (prefers-color-scheme: dark) { #catppuccin(@darkFlavor);
:root {
#catppuccin(@darkFlavor, @accentColor);
} }
} }
#catppuccin(@lookup, @accent) { #catppuccin(@flavor) {
@rosewater: @catppuccin[@@lookup][@rosewater]; @rosewater: @catppuccin[@@flavor][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo]; @flamingo: @catppuccin[@@flavor][@flamingo];
@pink: @catppuccin[@@lookup][@pink]; @pink: @catppuccin[@@flavor][@pink];
@mauve: @catppuccin[@@lookup][@mauve]; @mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@lookup][@red]; @red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@lookup][@maroon]; @maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@lookup][@peach]; @peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@lookup][@yellow]; @yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@lookup][@green]; @green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@lookup][@teal]; @teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@lookup][@sky]; @sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@lookup][@sapphire]; @sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@lookup][@blue]; @blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@lookup][@lavender]; @lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@lookup][@text]; @text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@lookup][@subtext1]; @subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@lookup][@subtext0]; @subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@lookup][@overlay2]; @overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@lookup][@overlay1]; @overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@lookup][@overlay0]; @overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@lookup][@surface2]; @surface2: @catppuccin[@@flavor][@surface2];
@surface1: @catppuccin[@@lookup][@surface1]; @surface1: @catppuccin[@@flavor][@surface1];
@surface0: @catppuccin[@@lookup][@surface0]; @surface0: @catppuccin[@@flavor][@surface0];
@base: @catppuccin[@@lookup][@base]; @base: @catppuccin[@@flavor][@base];
@mantle: @catppuccin[@@lookup][@mantle]; @mantle: @catppuccin[@@flavor][@mantle];
@crust: @catppuccin[@@lookup][@crust]; @crust: @catppuccin[@@flavor][@crust];
@accent-color: @catppuccin[@@lookup][@@accent]; @accent: @catppuccin[@@flavor][@@accentColor];
color-scheme: if(@lookup = latte, light, dark); color-scheme: if(@flavor = latte, light, dark);
::selection { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
input, input,
@@ -134,8 +132,8 @@
} }
.progress { .progress {
--bs-progress-bar-color: @accent-color; --bs-progress-bar-color: @accent;
--bs-progress-bar-bg: @accent-color; --bs-progress-bar-bg: @accent;
--bs-bar-bg: @overlay1; --bs-bar-bg: @overlay1;
} }
@@ -167,21 +165,21 @@
.st_usage_slider_inner, .st_usage_slider_inner,
#text-menu .dropdown-menu, #text-menu .dropdown-menu,
.article_unreaded .article_unread_dot .article_unread_dot_internal { .article_unreaded .article_unread_dot .article_unread_dot_internal {
background-color: @accent-color; background-color: @accent;
} }
.bg-primary { .bg-primary {
background-color: @accent-color !important; background-color: @accent !important;
} }
#tree_pane .parent_div_inner_selected .plus_img { #tree_pane .parent_div_inner_selected .plus_img {
color: @accent-color; color: @accent;
} }
.active-url .item-name, .active-url .item-name,
.active-url span[class^="icon-"].h4, .active-url span[class^="icon-"].h4,
.active-url i[class^="icon-"].h4 { .active-url i[class^="icon-"].h4 {
color: @accent-color !important; color: @accent !important;
} }
.icon-logo_circle { .icon-logo_circle {
@@ -201,7 +199,7 @@
} }
#hint-pref { #hint-pref {
fill: @accent-color; fill: @accent;
} }
.article_footer_buttons.icon-article_topbar_read_later_full, .article_footer_buttons.icon-article_topbar_read_later_full,
@@ -234,8 +232,8 @@
} }
.tabs-counter { .tabs-counter {
background-color: @accent-color !important; background-color: @accent !important;
outline-color: @accent-color !important; outline-color: @accent !important;
color: @mantle; color: @mantle;
} }
@@ -314,7 +312,7 @@
.dropdown-menu .dropdown-item:active { .dropdown-menu .dropdown-item:active {
background-color: @surface0; background-color: @surface0;
color: @accent-color; color: @accent;
} }
.dropdown-menu .dropdown-item.active, .dropdown-menu .dropdown-item.active,
@@ -325,7 +323,7 @@
.nav.nav-hover .active-url, .nav.nav-hover .active-url,
.lang_bubble.lang_bubble_current { .lang_bubble.lang_bubble_current {
background-color: @surface1; background-color: @surface1;
color: @accent-color; color: @accent;
} }
.btn.btn-outline-text { .btn.btn-outline-text {
@@ -336,8 +334,8 @@
.btn.btn-primary, .btn.btn-primary,
.btn.btn-primary:hover { .btn.btn-primary:hover {
color: @text; color: @text;
background-color: @accent-color; background-color: @accent;
border-color: @accent-color; border-color: @accent;
} }
.dropdown-menu-active, .dropdown-menu-active,
@@ -357,8 +355,8 @@
button:focus, button:focus,
input[type="password"]:focus, input[type="password"]:focus,
input[type="email"]:focus { input[type="email"]:focus {
box-shadow: 0 0 3px @accent-color !important; box-shadow: 0 0 3px @accent !important;
border-color: @accent-color !important; border-color: @accent !important;
} }
input[type="text"], input[type="text"],
@@ -381,16 +379,14 @@
box-shadow: 0 0 0 1px @subtext0; box-shadow: 0 0 0 1px @subtext0;
} }
.view_style_3 #reader_pane .ar.article_current .article_tile_picture { .view_style_3 #reader_pane .ar.article_current .article_tile_picture {
box-shadow: box-shadow: inset 3px 3px 0 -2px @accent, inset -3px 2px 0 -2px @accent;
inset 3px 3px 0 -2px @accent-color,
inset -3px 2px 0 -2px @accent-color;
} }
.view_style_3 #reader_pane .ar.article_current { .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 { .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_current_3way,
.view_style_2 #reader_pane .ar.article_expanded { .view_style_2 #reader_pane .ar.article_expanded {
@@ -432,22 +428,22 @@
.inno_tabs_header .inno_tabs_header
.inno_tabs_tab.inno_tabs_tab_current .inno_tabs_tab.inno_tabs_tab_current
a:visited { a:visited {
color: @accent-color !important; color: @accent !important;
} }
#new_articles_overlay { #new_articles_overlay {
color: @accent-color; color: @accent;
background-color: @base; background-color: @base;
} }
input.apple-switch:checked { input.apple-switch:checked {
background-color: @accent-color; background-color: @accent;
border-color: @accent-color; border-color: @accent;
} }
.add_content_simulated_button.expanded { .add_content_simulated_button.expanded {
background-color: @surface0; background-color: @surface0;
box-shadow: inset 0 -1px 0 0 @accent-color; box-shadow: inset 0 -1px 0 0 @accent;
} }
.inno_toolbar_button_menu, .inno_toolbar_button_menu,
@@ -476,14 +472,14 @@
.bluebutton, .bluebutton,
.inno_dialog .inno_dialog_buttonbar_button:nth-child(1) { .inno_dialog .inno_dialog_buttonbar_button:nth-child(1) {
background-color: @accent-color; background-color: @accent;
color: @crust; color: @crust;
border-style: none; border-style: none;
} }
.inno_dialog .inno_dialog_buttonbar_button:nth-child(1):hover:enabled { .inno_dialog .inno_dialog_buttonbar_button:nth-child(1):hover:enabled {
background-color: @accent-color; background-color: @accent;
border-color: @accent-color; border-color: @accent;
} }
.inno_dialog_buttonbar_button { .inno_dialog_buttonbar_button {
@@ -559,8 +555,8 @@
input[type="checkbox"].form-check-input:checked, input[type="checkbox"].form-check-input:checked,
input[type="radio"].form-check-input:checked { input[type="radio"].form-check-input:checked {
background-color: @accent-color; background-color: @accent;
border-color: @accent-color; border-color: @accent;
} }
.normal_dim { .normal_dim {
@@ -571,7 +567,7 @@
#preferences_header, #preferences_header,
#tabs_pane, #tabs_pane,
.add_content_simulated_button_menu_line_item:hover { .add_content_simulated_button_menu_line_item:hover {
background-color: @accent-color; background-color: @accent;
color: @mantle; color: @mantle;
} }
@@ -586,7 +582,7 @@
} }
div.article_current_3way { 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 { 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,
.inno_toolbar_switcher:hover .inno_toolbar_switcher_button_active:hover { .inno_toolbar_switcher:hover .inno_toolbar_switcher_button_active:hover {
color: @accent-color; color: @accent;
background-color: @base; background-color: @base;
border-color: @accent-color; border-color: @accent;
} }
.inno_tabs_tab:hover { .inno_tabs_tab:hover {
color: @accent-color; color: @accent;
border-color: @accent-color; border-color: @accent;
} }
#audio_player_nav.is-overlay .tab-content, #audio_player_nav.is-overlay .tab-content,
+106 -109
View File
@@ -17,49 +17,49 @@
@-moz-document domain("instagram.com") { @-moz-document domain("instagram.com") {
._aa4d { ._aa4d {
#catppuccin(@darkFlavor, @accentColor); #catppuccin(@darkFlavor);
} }
._aa4c { ._aa4c {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
#catppuccin(@lookup, @accent) { #catppuccin(@flavor) {
@rosewater: @catppuccin[@@lookup][@rosewater]; @rosewater: @catppuccin[@@flavor][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo]; @flamingo: @catppuccin[@@flavor][@flamingo];
@pink: @catppuccin[@@lookup][@pink]; @pink: @catppuccin[@@flavor][@pink];
@mauve: @catppuccin[@@lookup][@mauve]; @mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@lookup][@red]; @red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@lookup][@maroon]; @maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@lookup][@peach]; @peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@lookup][@yellow]; @yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@lookup][@green]; @green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@lookup][@teal]; @teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@lookup][@sky]; @sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@lookup][@sapphire]; @sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@lookup][@blue]; @blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@lookup][@lavender]; @lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@lookup][@text]; @text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@lookup][@subtext1]; @subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@lookup][@subtext0]; @subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@lookup][@overlay2]; @overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@lookup][@overlay1]; @overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@lookup][@overlay0]; @overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@lookup][@surface2]; @surface2: @catppuccin[@@flavor][@surface2];
@surface1: @catppuccin[@@lookup][@surface1]; @surface1: @catppuccin[@@flavor][@surface1];
@surface0: @catppuccin[@@lookup][@surface0]; @surface0: @catppuccin[@@flavor][@surface0];
@base: @catppuccin[@@lookup][@base]; @base: @catppuccin[@@flavor][@base];
@mantle: @catppuccin[@@lookup][@mantle]; @mantle: @catppuccin[@@flavor][@mantle];
@crust: @catppuccin[@@lookup][@crust]; @crust: @catppuccin[@@flavor][@crust];
@accent-color: @catppuccin[@@lookup][@@accent]; @accent: @catppuccin[@@flavor][@@accentColor];
@text-filter: @catppuccin[@@lookup][@text-filter]; @text-filter: @catppuccin-filters[@@flavor][@text];
@dark-color: if(@lookup = latte, @text, @crust); @dark-color: if(@flavor = latte, @text, @crust);
@light-color: if(@lookup = latte, @crust, @text); @light-color: if(@flavor = latte, @crust, @text);
color-scheme: if(@lookup = latte, light, dark); color-scheme: if(@flavor = latte, light, dark);
::selection { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
input, input,
@@ -80,7 +80,7 @@
--ig-primary-icon: #rgbify(@text)[]; --ig-primary-icon: #rgbify(@text)[];
--web-always-white: #rgbify(@light-color)[]; --web-always-white: #rgbify(@light-color)[];
--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)[]; --grey-9: #rgbify(@crust)[];
--ig-primary-background: #rgbify(@base)[]; --ig-primary-background: #rgbify(@base)[];
--ig-secondary-background: #rgbify(@surface0)[]; --ig-secondary-background: #rgbify(@surface0)[];
@@ -89,11 +89,11 @@
--ig-elevated-background: #rgbify(@crust)[]; --ig-elevated-background: #rgbify(@crust)[];
--ig-elevated-highlight-background: #rgbify(@surface0)[]; --ig-elevated-highlight-background: #rgbify(@surface0)[];
--ig-hover-overlay: #rgbify(@text)[], 0.1; --ig-hover-overlay: #rgbify(@text)[], 0.1;
--hover-overlay: fadeout(@surface0, 80%); --hover-overlay: fade(@surface0, 20%);
--ig-text-on-color: #rgbify(@crust)[]; --ig-text-on-color: #rgbify(@crust)[];
--ig-badge: #rgbify(@accent-color)[]; --ig-badge: #rgbify(@accent)[];
--ig-primary-button: #rgbify(@accent-color)[]; --ig-primary-button: #rgbify(@accent)[];
--ig-primary-button-hover: fadeout(@accent-color, 20%); --ig-primary-button-hover: fade(@accent, 80%);
--ig-secondary-button-background: #rgbify(@surface0)[]; --ig-secondary-button-background: #rgbify(@surface0)[];
--ig-secondary-button-hover: #rgbify(@surface1)[]; --ig-secondary-button-hover: #rgbify(@surface1)[];
--ig-secondary-button: #rgbify(@text)[]; --ig-secondary-button: #rgbify(@text)[];
@@ -108,7 +108,7 @@
--post-separator: #rgbify(@overlay0)[]; --post-separator: #rgbify(@overlay0)[];
--ig-stroke: #rgbify(@overlay0)[]; --ig-stroke: #rgbify(@overlay0)[];
--grey-2: #rgbify(@overlay0)[]; --grey-2: #rgbify(@overlay0)[];
--ig-link: #rgbify(@accent-color)[]; --ig-link: #rgbify(@accent)[];
--ig-error-or-destructive: #rgbify(@red)[]; --ig-error-or-destructive: #rgbify(@red)[];
--ig-success: #rgbify(@green)[]; --ig-success: #rgbify(@green)[];
--blue-2: #rgbify(@blue)[]; --blue-2: #rgbify(@blue)[];
@@ -119,14 +119,14 @@
--ig-stroke-prism: #rgbify(@crust)[]; --ig-stroke-prism: #rgbify(@crust)[];
--barcelona-logo: #rgbify(@text)[]; --barcelona-logo: #rgbify(@text)[];
--ig-bubble-background: #rgbify(@surface1)[]; --ig-bubble-background: #rgbify(@surface1)[];
--ig-tertiary-icon: #rgbify(@accent-color)[]; --ig-tertiary-icon: #rgbify(@accent)[];
--always-dark-overlay: @accent-color; --always-dark-overlay: @accent;
--secondary-text: @subtext0; --secondary-text: @subtext0;
--primary-text: @text; --primary-text: @text;
--primary-icon: @accent-color; --primary-icon: @accent;
--primary-button-text: @mantle !important; --primary-button-text: @mantle !important;
--primary-button: @blue !important; --primary-button: @blue !important;
scrollbar-color: @accent-color @crust; scrollbar-color: @accent @crust;
} }
#splash-screen { #splash-screen {
background-color: @base !important; background-color: @base !important;
@@ -153,7 +153,7 @@
/* Story progress bar */ /* Story progress bar */
._ac3p { ._ac3p {
background-color: @accent-color !important; background-color: @accent !important;
} }
/* close friends story things */ /* close friends story things */
@@ -173,7 +173,7 @@
} }
&[aria-label^="Story by"][aria-label$="not seen"] span { &[aria-label^="Story by"][aria-label$="not seen"] span {
outline-color: @accent-color; outline-color: @accent;
outline-width: 0.2rem; outline-width: 0.2rem;
} }
&[aria-label^="Story by"]:not([aria-label$="not seen"]) span { &[aria-label^="Story by"]:not([aria-label$="not seen"]) span {
@@ -187,7 +187,7 @@
background-color: @mantle; background-color: @mantle;
border-color: @overlay0 !important; border-color: @overlay0 !important;
border-radius: var(--modal-border-radius); 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; box-sizing: border-box;
} }
._aatc ._aasi, ._aatc ._aasi,
@@ -198,13 +198,13 @@
/* Icons */ /* Icons */
svg[aria-label="Unlike"] { svg[aria-label="Unlike"] {
fill: @accent-color; fill: @accent;
} }
svg[aria-label="Close"] { svg[aria-label="Close"] {
color: @text; color: @text;
} }
svg[aria-label="Verified"] { svg[aria-label="Verified"] {
fill: @accent-color; fill: @accent;
} }
/* new post thingy */ /* new post thingy */
@@ -224,13 +224,13 @@
color: @text !important; color: @text !important;
&:hover { &:hover {
color: @mantle !important; color: @mantle !important;
background-color: @accent-color !important; background-color: @accent !important;
} }
} }
.xk5f4mz { .xk5f4mz {
background-color: @mantle; background-color: @mantle;
&:hover { &:hover {
background-color: @accent-color; background-color: @accent;
} }
} }
.x3nfvp2 { .x3nfvp2 {
@@ -242,12 +242,12 @@
/* reel icon */ /* reel icon */
.xq3z1fi { .xq3z1fi {
color: @accent-color !important; color: @accent !important;
} }
/* Toggle sliders */ /* Toggle sliders */
.x1r7x56h { .x1r7x56h {
background-color: @accent-color; background-color: @accent;
} }
.x100vrsf { .x100vrsf {
background-color: @surface0; background-color: @surface0;
@@ -257,7 +257,7 @@
background-color: @mantle; background-color: @mantle;
} }
span[data-bloks-name="bk.components.TextSpan"] { span[data-bloks-name="bk.components.TextSpan"] {
color: @accent-color !important; color: @accent !important;
} }
.xs7f9wi { .xs7f9wi {
background-color: @mantle !important; background-color: @mantle !important;
@@ -582,7 +582,7 @@
/* "All caught up" icon */ /* "All caught up" icon */
img[src="/images/instagram/xig/web/illo-confirm-refresh-light.png"] { img[src="/images/instagram/xig/web/illo-confirm-refresh-light.png"] {
@svg: escape( @svg: escape(
'<svg width="96" height="95.986" viewBox="0 0 25.4 25.397" xmlns="http://www.w3.org/2000/svg" fill="@{accent-color}"><path d="M12.591.001c-1.934.008-2.265.045-3.353.374-.664.201-1.703.612-2.308.914s-1.582.931-2.172 1.396c-.589.466-1.436 1.287-1.883 1.825-.468.564-1.127 1.604-1.554 2.455C.913 7.777.45 8.923.292 9.514c-.234.872-.288 1.461-.292 3.152-.004 1.575.053 2.291.231 2.951.13.479.353 1.192.497 1.582.143.391.389.964.546 1.274s.581.994.943 1.519a14.4 14.4 0 0 0 1.558 1.82c.496.476 1.263 1.109 1.706 1.408s1.112.698 1.487.887 1.069.477 1.543.638c.473.161 1.282.371 1.799.466s1.513.178 2.214.184 1.667-.05 2.146-.125 1.355-.293 1.945-.485 1.375-.501 1.744-.687a17 17 0 0 0 1.475-.88c.443-.298 1.21-.932 1.706-1.408s1.197-1.295 1.559-1.82.81-1.257.995-1.626.494-1.154.685-1.744.41-1.465.485-1.945.136-1.385.136-2.012-.061-1.533-.136-2.012-.293-1.355-.485-1.945-.5-1.375-.685-1.744-.633-1.1-.994-1.626a14.4 14.4 0 0 0-1.559-1.82c-.496-.476-1.286-1.125-1.757-1.443-.471-.317-1.289-.778-1.82-1.023S16.49.466 15.868.297c-.969-.261-1.437-.304-3.277-.296m-.515.555.001.003h-.004q.002 0 .003-.003m.65.254c1.324.011 2.002.084 2.817.303.59.158 1.58.531 2.2.827s1.435.763 1.811 1.036.972.764 1.324 1.09.938.995 1.302 1.486.906 1.402 1.203 2.025c.297.622.671 1.614.831 2.205.23.851.29 1.448.29 2.884 0 1.426-.061 2.039-.287 2.884-.158.59-.586 1.677-.95 2.414s-1 1.748-1.412 2.245-1.155 1.241-1.652 1.652c-.497.412-1.507 1.047-2.245 1.412s-1.824.787-2.414.937c-.599.153-1.696.299-2.482.331-.874.035-1.772-.013-2.369-.127a17 17 0 0 1-1.677-.418 16 16 0 0 1-1.656-.7c-.517-.256-1.271-.709-1.677-1.006s-.999-.789-1.317-1.092c-.319-.303-.875-.948-1.235-1.432s-.899-1.39-1.197-2.012c-.297-.622-.667-1.615-.821-2.205s-.312-1.707-.35-2.482c-.055-1.1-.011-1.693.2-2.71.148-.716.474-1.772.723-2.348s.692-1.408.984-1.849.919-1.214 1.392-1.716S5.417 3.202 6.022 2.8s1.515-.903 2.024-1.112a18 18 0 0 1 1.931-.637c.76-.194 1.432-.253 2.75-.242m3.229.115v.002l.006.004-.012-.003zm3.312 6.912c-.129 0-2.197 1.962-4.596 4.36l-4.363 4.361-2.077-2.08c-1.456-1.459-2.167-2.08-2.38-2.08-.225 0-.304.078-.304.3 0 .21.679.98 2.245 2.549 1.413 1.415 2.345 2.248 2.514 2.248.174 0 1.838-1.568 4.73-4.459 3.7-3.699 4.461-4.523 4.461-4.829 0-.262-.068-.369-.234-.369m5.624 2.252.004.015q-.003-.004-.008-.007zm-.303.013.006.003-.004.005zM7.614 23.749l.019.009-.004.016q-.006-.013-.014-.024m8.544.584-.001.003-.004-.002zm.004.306.003.001-.005.001z"/></svg>' '<svg width="96" height="95.986" viewBox="0 0 25.4 25.397" xmlns="http://www.w3.org/2000/svg" fill="@{accent}"><path d="M12.591.001c-1.934.008-2.265.045-3.353.374-.664.201-1.703.612-2.308.914s-1.582.931-2.172 1.396c-.589.466-1.436 1.287-1.883 1.825-.468.564-1.127 1.604-1.554 2.455C.913 7.777.45 8.923.292 9.514c-.234.872-.288 1.461-.292 3.152-.004 1.575.053 2.291.231 2.951.13.479.353 1.192.497 1.582.143.391.389.964.546 1.274s.581.994.943 1.519a14.4 14.4 0 0 0 1.558 1.82c.496.476 1.263 1.109 1.706 1.408s1.112.698 1.487.887 1.069.477 1.543.638c.473.161 1.282.371 1.799.466s1.513.178 2.214.184 1.667-.05 2.146-.125 1.355-.293 1.945-.485 1.375-.501 1.744-.687a17 17 0 0 0 1.475-.88c.443-.298 1.21-.932 1.706-1.408s1.197-1.295 1.559-1.82.81-1.257.995-1.626.494-1.154.685-1.744.41-1.465.485-1.945.136-1.385.136-2.012-.061-1.533-.136-2.012-.293-1.355-.485-1.945-.5-1.375-.685-1.744-.633-1.1-.994-1.626a14.4 14.4 0 0 0-1.559-1.82c-.496-.476-1.286-1.125-1.757-1.443-.471-.317-1.289-.778-1.82-1.023S16.49.466 15.868.297c-.969-.261-1.437-.304-3.277-.296m-.515.555.001.003h-.004q.002 0 .003-.003m.65.254c1.324.011 2.002.084 2.817.303.59.158 1.58.531 2.2.827s1.435.763 1.811 1.036.972.764 1.324 1.09.938.995 1.302 1.486.906 1.402 1.203 2.025c.297.622.671 1.614.831 2.205.23.851.29 1.448.29 2.884 0 1.426-.061 2.039-.287 2.884-.158.59-.586 1.677-.95 2.414s-1 1.748-1.412 2.245-1.155 1.241-1.652 1.652c-.497.412-1.507 1.047-2.245 1.412s-1.824.787-2.414.937c-.599.153-1.696.299-2.482.331-.874.035-1.772-.013-2.369-.127a17 17 0 0 1-1.677-.418 16 16 0 0 1-1.656-.7c-.517-.256-1.271-.709-1.677-1.006s-.999-.789-1.317-1.092c-.319-.303-.875-.948-1.235-1.432s-.899-1.39-1.197-2.012c-.297-.622-.667-1.615-.821-2.205s-.312-1.707-.35-2.482c-.055-1.1-.011-1.693.2-2.71.148-.716.474-1.772.723-2.348s.692-1.408.984-1.849.919-1.214 1.392-1.716S5.417 3.202 6.022 2.8s1.515-.903 2.024-1.112a18 18 0 0 1 1.931-.637c.76-.194 1.432-.253 2.75-.242m3.229.115v.002l.006.004-.012-.003zm3.312 6.912c-.129 0-2.197 1.962-4.596 4.36l-4.363 4.361-2.077-2.08c-1.456-1.459-2.167-2.08-2.38-2.08-.225 0-.304.078-.304.3 0 .21.679.98 2.245 2.549 1.413 1.415 2.345 2.248 2.514 2.248.174 0 1.838-1.568 4.73-4.459 3.7-3.699 4.461-4.523 4.461-4.829 0-.262-.068-.369-.234-.369m5.624 2.252.004.015q-.003-.004-.008-.007zm-.303.013.006.003-.004.005zM7.614 23.749l.019.009-.004.016q-.006-.013-.014-.024m8.544.584-.001.003-.004-.002zm.004.306.003.001-.005.001z"/></svg>'
); );
content: url("data:image/svg+xml,@{svg}"); content: url("data:image/svg+xml,@{svg}");
} }
@@ -631,7 +631,7 @@
} }
._acas:not(._acao):hover { ._acas:not(._acao):hover {
background-color: @surface0 !important; background-color: @surface0 !important;
color: @accent-color !important; color: @accent !important;
} }
/* Secondary buttons */ /* Secondary buttons */
@@ -651,12 +651,12 @@
div:has(> .x1mu97ne) { div:has(> .x1mu97ne) {
background-color: @crust; background-color: @crust;
border-color: @overlay0; 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 */ /* Dialog overlay */
.x7r02ix[role="dialog"] { .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 */ /* Settings */
@@ -695,7 +695,7 @@
&[style*="border-radius: 4px"] { &[style*="border-radius: 4px"] {
/* Selected radio */ /* Selected radio */
&[style*="background: rgb(0\, 149\, 246)"] { &[style*="background: rgb(0\, 149\, 246)"] {
background-color: @accent-color !important; background-color: @accent !important;
} }
/* Not selected radio */ /* Not selected radio */
@@ -731,7 +731,7 @@
.leaflet-popup-content-wrapper, .leaflet-popup-content-wrapper,
.leaflet-popup-tip { .leaflet-popup-tip {
background-color: @mantle; 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; color: @text !important;
@@ -744,7 +744,7 @@
} }
::-webkit-scrollbar-thumb { ::-webkit-scrollbar-thumb {
background-color: @accent-color; background-color: @accent;
border-radius: 10px; border-radius: 10px;
} }
} }
@@ -752,39 +752,40 @@
@-moz-document regexp("^.*instagram.com/direct.*") { @-moz-document regexp("^.*instagram.com/direct.*") {
._aa4d { ._aa4d {
#catppuccin(@darkFlavor, @accentColor); #catppuccin(@darkFlavor);
} }
._aa4c { ._aa4c {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
#catppuccin(@lookup, @accent) {
@rosewater: @catppuccin[@@lookup][@rosewater]; #catppuccin(@flavor) {
@flamingo: @catppuccin[@@lookup][@flamingo]; @rosewater: @catppuccin[@@flavor][@rosewater];
@pink: @catppuccin[@@lookup][@pink]; @flamingo: @catppuccin[@@flavor][@flamingo];
@mauve: @catppuccin[@@lookup][@mauve]; @pink: @catppuccin[@@flavor][@pink];
@red: @catppuccin[@@lookup][@red]; @mauve: @catppuccin[@@flavor][@mauve];
@maroon: @catppuccin[@@lookup][@maroon]; @red: @catppuccin[@@flavor][@red];
@peach: @catppuccin[@@lookup][@peach]; @maroon: @catppuccin[@@flavor][@maroon];
@yellow: @catppuccin[@@lookup][@yellow]; @peach: @catppuccin[@@flavor][@peach];
@green: @catppuccin[@@lookup][@green]; @yellow: @catppuccin[@@flavor][@yellow];
@teal: @catppuccin[@@lookup][@teal]; @green: @catppuccin[@@flavor][@green];
@sky: @catppuccin[@@lookup][@sky]; @teal: @catppuccin[@@flavor][@teal];
@sapphire: @catppuccin[@@lookup][@sapphire]; @sky: @catppuccin[@@flavor][@sky];
@blue: @catppuccin[@@lookup][@blue]; @sapphire: @catppuccin[@@flavor][@sapphire];
@lavender: @catppuccin[@@lookup][@lavender]; @blue: @catppuccin[@@flavor][@blue];
@text: @catppuccin[@@lookup][@text]; @lavender: @catppuccin[@@flavor][@lavender];
@subtext1: @catppuccin[@@lookup][@subtext1]; @text: @catppuccin[@@flavor][@text];
@subtext0: @catppuccin[@@lookup][@subtext0]; @subtext1: @catppuccin[@@flavor][@subtext1];
@overlay2: @catppuccin[@@lookup][@overlay2]; @subtext0: @catppuccin[@@flavor][@subtext0];
@overlay1: @catppuccin[@@lookup][@overlay1]; @overlay2: @catppuccin[@@flavor][@overlay2];
@overlay0: @catppuccin[@@lookup][@overlay0]; @overlay1: @catppuccin[@@flavor][@overlay1];
@surface2: @catppuccin[@@lookup][@surface2]; @overlay0: @catppuccin[@@flavor][@overlay0];
@surface1: @catppuccin[@@lookup][@surface1]; @surface2: @catppuccin[@@flavor][@surface2];
@surface0: @catppuccin[@@lookup][@surface0]; @surface1: @catppuccin[@@flavor][@surface1];
@base: @catppuccin[@@lookup][@base]; @surface0: @catppuccin[@@flavor][@surface0];
@mantle: @catppuccin[@@lookup][@mantle]; @base: @catppuccin[@@flavor][@base];
@crust: @catppuccin[@@lookup][@crust]; @mantle: @catppuccin[@@flavor][@mantle];
@accent-color: @catppuccin[@@lookup][@@accent]; @crust: @catppuccin[@@flavor][@crust];
@accent: @catppuccin[@@flavor][@@accentColor];
.x11jlvup { .x11jlvup {
--chat-outgoing-message-bubble-background-color: fade(@blue, 80%); --chat-outgoing-message-bubble-background-color: fade(@blue, 80%);
@@ -824,7 +825,7 @@
color: @crust; color: @crust;
} }
.x1bvjpef:hover { .x1bvjpef:hover {
color: lighten(@accent-color, 5%); color: lighten(@accent, 5%);
} }
/* notes */ /* notes */
@@ -854,20 +855,16 @@
/* deno-fmt-ignore */ /* deno-fmt-ignore */
@catppuccin: { @catppuccin: {
@latte: { @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; };
@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; };
@text-filter: brightness(0) saturate(100%) invert(28%) sepia(17%) saturate(835%) hue-rotate(196deg) brightness(97%) contrast(85%); @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; };
@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%); /* deno-fmt-ignore */
}; @catppuccin-filters: {
@macchiato: { @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%); };
@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; @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%); };
@text-filter: brightness(0) saturate(100%) invert(80%) sepia(18%) saturate(377%) hue-rotate(192deg) brightness(103%) contrast(92%); @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%); };
@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%);
};
}; };
+48 -51
View File
@@ -54,68 +54,66 @@
domain("yt.cdaut.de"), domain("yt.cdaut.de"),
domain("yt.drgnz.club"), domain("yt.drgnz.club"),
domain("yt.oelrichsgarcia.de") { domain("yt.oelrichsgarcia.de") {
@media (prefers-color-scheme: light) { .no-theme {
.no-theme { @media (prefers-color-scheme: light) {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
} @media (prefers-color-scheme: dark) {
@media (prefers-color-scheme: dark) { #catppuccin(@darkFlavor);
.no-theme {
#catppuccin(@darkFlavor, @accentColor);
} }
} }
.light-theme { .light-theme {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
.dark-theme { .dark-theme {
#catppuccin(@darkFlavor, @accentColor); #catppuccin(@darkFlavor);
} }
#catppuccin(@lookup, @accent) { #catppuccin(@flavor) {
@rosewater: @catppuccin[@@lookup][@rosewater]; @rosewater: @catppuccin[@@flavor][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo]; @flamingo: @catppuccin[@@flavor][@flamingo];
@pink: @catppuccin[@@lookup][@pink]; @pink: @catppuccin[@@flavor][@pink];
@mauve: @catppuccin[@@lookup][@mauve]; @mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@lookup][@red]; @red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@lookup][@maroon]; @maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@lookup][@peach]; @peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@lookup][@yellow]; @yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@lookup][@green]; @green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@lookup][@teal]; @teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@lookup][@sky]; @sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@lookup][@sapphire]; @sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@lookup][@blue]; @blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@lookup][@lavender]; @lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@lookup][@text]; @text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@lookup][@subtext1]; @subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@lookup][@subtext0]; @subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@lookup][@overlay2]; @overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@lookup][@overlay1]; @overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@lookup][@overlay0]; @overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@lookup][@surface2]; @surface2: @catppuccin[@@flavor][@surface2];
@surface1: @catppuccin[@@lookup][@surface1]; @surface1: @catppuccin[@@flavor][@surface1];
@surface0: @catppuccin[@@lookup][@surface0]; @surface0: @catppuccin[@@flavor][@surface0];
@base: @catppuccin[@@lookup][@base]; @base: @catppuccin[@@flavor][@base];
@mantle: @catppuccin[@@lookup][@mantle]; @mantle: @catppuccin[@@flavor][@mantle];
@crust: @catppuccin[@@lookup][@crust]; @crust: @catppuccin[@@flavor][@crust];
@accent-color: @catppuccin[@@lookup][@@accent]; @accent: @catppuccin[@@flavor][@@accentColor];
#lightenOrDarken(@color, @value) { #lightenOrDarken(@color, @value) {
@result: if( @result: if(
@lookup = latte, @flavor = latte,
darken(@color, @value), darken(@color, @value),
lighten(@color, @value) lighten(@color, @value)
); );
} }
@link-color: @accent-color; @link-color: @accent;
@link-hover: #lightenOrDarken(@accent-color, 5%)[@result]; @link-hover: #lightenOrDarken(@accent, 5%)[@result];
color-scheme: if(@lookup = latte, light, dark); color-scheme: if(@flavor = latte, light, dark);
::selection { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
input, input,
@@ -147,7 +145,7 @@
} }
legend { legend {
color: @accent-color !important; color: @accent !important;
} }
.pure-button-primary { .pure-button-primary {
@@ -162,13 +160,12 @@
} }
} }
.pure-button-secondary { .pure-button-secondary {
background-color: @accent-color !important; background-color: @accent !important;
color: @crust !important; color: @crust !important;
border-color: @surface1 !important; border-color: @surface1 !important;
&:hover, &:hover,
&:focus { &:focus {
background-color: #lightenOrDarken(@accent-color, 2%)[@result] background-color: #lightenOrDarken(@accent, 2%)[@result] !important;
!important;
color: @crust !important; color: @crust !important;
border-color: @surface1 !important; border-color: @surface1 !important;
} }
@@ -200,7 +197,7 @@
.video-js .vjs-slider:hover, .video-js .vjs-slider:hover,
.video-js button:hover { .video-js button:hover {
color: @accent-color !important; color: @accent !important;
} }
.video-js .vjs-slider { .video-js .vjs-slider {
@@ -213,7 +210,7 @@
} }
.video-js.player-style-invidious .vjs-play-progress { .video-js.player-style-invidious .vjs-play-progress {
background-color: @accent-color !important; background-color: @accent !important;
} }
.vjs-menu li.vjs-menu-item:focus, .vjs-menu li.vjs-menu-item:focus,
@@ -269,7 +266,7 @@
footer span a, footer span a,
footer span:has(i) { footer span:has(i) {
&:hover { &:hover {
color: @accent-color !important; color: @accent !important;
} }
} }
@@ -306,7 +303,7 @@
cursor: pointer; cursor: pointer;
&:checked { &:checked {
@svg: escape( @svg: escape(
'<svg viewBox="0 0 16 16" fill="@{accent-color}" xmlns="http://www.w3.org/2000/svg"><path d="M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0"/></svg>' '<svg viewBox="0 0 16 16" fill="@{accent}" xmlns="http://www.w3.org/2000/svg"><path d="M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0"/></svg>'
); );
background-image: url("data:image/svg+xml,@{svg}"); background-image: url("data:image/svg+xml,@{svg}");
} }
@@ -329,7 +326,7 @@
/* Channel owner comments */ /* Channel owner comments */
a.channel-owner { a.channel-owner {
color: @crust; color: @crust;
background-color: @accent-color; background-color: @accent;
} }
} }
} }
+40 -42
View File
@@ -16,50 +16,48 @@
==/UserStyle== */ ==/UserStyle== */
@-moz-document regexp("http:\\/\\/(127\\.0\\.0\\.1|localhost):9090(.*)") { @-moz-document regexp("http:\\/\\/(127\\.0\\.0\\.1|localhost):9090(.*)") {
@media (prefers-color-scheme: light) { :root {
:root { @media (prefers-color-scheme: light) {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
} @media (prefers-color-scheme: dark) {
@media (prefers-color-scheme: dark) { #catppuccin(@darkFlavor);
:root {
#catppuccin(@darkFlavor, @accentColor);
} }
} }
#catppuccin(@lookup, @accent) { #catppuccin(@flavor) {
@rosewater: @catppuccin[@@lookup][@rosewater]; @rosewater: @catppuccin[@@flavor][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo]; @flamingo: @catppuccin[@@flavor][@flamingo];
@pink: @catppuccin[@@lookup][@pink]; @pink: @catppuccin[@@flavor][@pink];
@mauve: @catppuccin[@@lookup][@mauve]; @mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@lookup][@red]; @red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@lookup][@maroon]; @maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@lookup][@peach]; @peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@lookup][@yellow]; @yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@lookup][@green]; @green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@lookup][@teal]; @teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@lookup][@sky]; @sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@lookup][@sapphire]; @sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@lookup][@blue]; @blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@lookup][@lavender]; @lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@lookup][@text]; @text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@lookup][@subtext1]; @subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@lookup][@subtext0]; @subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@lookup][@overlay2]; @overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@lookup][@overlay1]; @overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@lookup][@overlay0]; @overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@lookup][@surface2]; @surface2: @catppuccin[@@flavor][@surface2];
@surface1: @catppuccin[@@lookup][@surface1]; @surface1: @catppuccin[@@flavor][@surface1];
@surface0: @catppuccin[@@lookup][@surface0]; @surface0: @catppuccin[@@flavor][@surface0];
@base: @catppuccin[@@lookup][@base]; @base: @catppuccin[@@flavor][@base];
@mantle: @catppuccin[@@lookup][@mantle]; @mantle: @catppuccin[@@flavor][@mantle];
@crust: @catppuccin[@@lookup][@crust]; @crust: @catppuccin[@@flavor][@crust];
@accent-color: @catppuccin[@@lookup][@@accent]; @accent: @catppuccin[@@flavor][@@accentColor];
color-scheme: if(@lookup = latte, light, dark); color-scheme: if(@flavor = latte, light, dark);
::selection { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
input, input,
@@ -71,9 +69,9 @@
:root, :root,
[data-theme]:root { [data-theme]:root {
--accent-color-dim: lighten(@accent-color, -10%); --accent-color-dim: lighten(@accent, -10%);
--accent-color: @accent-color; --accent-color: @accent;
--accent-color-bright: lighten(@accent-color, 10%); --accent-color-bright: lighten(@accent, 10%);
--accent-color-hover: var(--accent-color-bright); --accent-color-hover: var(--accent-color-bright);
--root-bg-color: @mantle; --root-bg-color: @mantle;
--background-color: @base; --background-color: @base;
@@ -85,8 +83,8 @@
--subtext-color-bright: @subtext0; --subtext-color-bright: @subtext0;
--border-color: @surface1; --border-color: @surface1;
--border-color-light: @surface2; --border-color-light: @surface2;
--tab-color: @accent-color; --tab-color: @accent;
--tab-list-bg: @accent-color; --tab-list-bg: @accent;
--btn-delete-image: @red; --btn-delete-image: @red;
--status-good-color: @green; --status-good-color: @green;
--status-good-color-glow: lighten(@green, 10%); --status-good-color-glow: lighten(@green, 10%);
+45 -47
View File
@@ -16,63 +16,61 @@
==/UserStyle== */ ==/UserStyle== */
@-moz-document domain("jisho.org") { @-moz-document domain("jisho.org") {
@media (prefers-color-scheme: light) { :root[data-color-theme="auto"] {
:root[data-color-theme="auto"] { @media (prefers-color-scheme: light) {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
} @media (prefers-color-scheme: dark) {
@media (prefers-color-scheme: dark) { #catppuccin(@darkFlavor);
:root[data-color-theme="auto"] {
#catppuccin(@darkFlavor, @accentColor);
} }
} }
:root[data-color-theme="dark"] { :root[data-color-theme="dark"] {
#catppuccin(@darkFlavor, @accentColor); #catppuccin(@darkFlavor);
} }
:root[data-color-theme="light"] { :root[data-color-theme="light"] {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
#catppuccin(@lookup, @accent) { #catppuccin(@flavor) {
@rosewater: @catppuccin[@@lookup][@rosewater]; @rosewater: @catppuccin[@@flavor][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo]; @flamingo: @catppuccin[@@flavor][@flamingo];
@pink: @catppuccin[@@lookup][@pink]; @pink: @catppuccin[@@flavor][@pink];
@mauve: @catppuccin[@@lookup][@mauve]; @mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@lookup][@red]; @red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@lookup][@maroon]; @maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@lookup][@peach]; @peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@lookup][@yellow]; @yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@lookup][@green]; @green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@lookup][@teal]; @teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@lookup][@sky]; @sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@lookup][@sapphire]; @sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@lookup][@blue]; @blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@lookup][@lavender]; @lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@lookup][@text]; @text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@lookup][@subtext1]; @subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@lookup][@subtext0]; @subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@lookup][@overlay2]; @overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@lookup][@overlay1]; @overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@lookup][@overlay0]; @overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@lookup][@surface2]; @surface2: @catppuccin[@@flavor][@surface2];
@surface1: @catppuccin[@@lookup][@surface1]; @surface1: @catppuccin[@@flavor][@surface1];
@surface0: @catppuccin[@@lookup][@surface0]; @surface0: @catppuccin[@@flavor][@surface0];
@base: @catppuccin[@@lookup][@base]; @base: @catppuccin[@@flavor][@base];
@mantle: @catppuccin[@@lookup][@mantle]; @mantle: @catppuccin[@@flavor][@mantle];
@crust: @catppuccin[@@lookup][@crust]; @crust: @catppuccin[@@flavor][@crust];
@accent-color: @catppuccin[@@lookup][@@accent]; @accent: @catppuccin[@@flavor][@@accentColor];
@accent-dim: if( @accent-dim: if(
(@lookup = latte), @flavor = latte,
desaturate(lighten(@accent-color, 8%), 10%), desaturate(lighten(@accent, 8%), 10%),
desaturate(darken(@accent-color, 8%), 10%) desaturate(darken(@accent, 8%), 10%)
); );
color-scheme: if(@lookup = latte, light, dark); color-scheme: if(@flavor = latte, light, dark);
::selection { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
input, input,
@@ -87,7 +85,7 @@
color: @text; color: @text;
a { a {
color: @accent-color; color: @accent;
&:hover { &:hover {
color: @accent-dim; color: @accent-dim;
@@ -149,7 +147,7 @@
h1.logo a { h1.logo a {
background-image: if( 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@2x-7330091c079b9dd59601401b052b52e103978221c8fb6f5e22406d871fcc746a.png"),
url("//assets.jisho.org/assets/jisho-logo-v4-dark@2x-e676613b426d34187b61928823730a225b52165aaef99f948bd3dc5fc16fa787.png") url("//assets.jisho.org/assets/jisho-logo-v4-dark@2x-e676613b426d34187b61928823730a225b52165aaef99f948bd3dc5fc16fa787.png")
); );
@@ -290,7 +288,7 @@
.speech_area_active #speech_button, .speech_area_active #speech_button,
.radical_area_active #radical_button, .radical_area_active #radical_button,
.handwriting_area_active #handwriting_button { .handwriting_area_active #handwriting_button {
border-bottom-color: @accent-color; border-bottom-color: @accent;
} }
#what_is_this { #what_is_this {
@@ -400,7 +398,7 @@
.noUi-target { .noUi-target {
.noUi-background { .noUi-background {
background-color: @accent-color; background-color: @accent;
} }
.noUi-base { .noUi-base {
@@ -484,7 +482,7 @@
footer { footer {
.ornament { .ornament {
background-color: @red; 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);
} }
} }
} }
+46 -46
View File
@@ -17,53 +17,53 @@
@-moz-document domain("keybr.com") { @-moz-document domain("keybr.com") {
html[data-color="dark"] { html[data-color="dark"] {
#catppuccin(@darkFlavor, @accentColor); #catppuccin(@darkFlavor);
} }
html[data-color="light"] { html[data-color="light"] {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
html[data-color="system"] { html[data-color="system"] {
@media (prefers-color-scheme: light) { @media (prefers-color-scheme: light) {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
@media (prefers-color-scheme: dark) { @media (prefers-color-scheme: dark) {
#catppuccin(@darkFlavor, @accentColor); #catppuccin(@darkFlavor);
} }
} }
#catppuccin(@lookup, @accent) { #catppuccin(@flavor) {
@rosewater: @catppuccin[@@lookup][@rosewater]; @rosewater: @catppuccin[@@flavor][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo]; @flamingo: @catppuccin[@@flavor][@flamingo];
@pink: @catppuccin[@@lookup][@pink]; @pink: @catppuccin[@@flavor][@pink];
@mauve: @catppuccin[@@lookup][@mauve]; @mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@lookup][@red]; @red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@lookup][@maroon]; @maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@lookup][@peach]; @peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@lookup][@yellow]; @yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@lookup][@green]; @green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@lookup][@teal]; @teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@lookup][@sky]; @sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@lookup][@sapphire]; @sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@lookup][@blue]; @blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@lookup][@lavender]; @lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@lookup][@text]; @text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@lookup][@subtext1]; @subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@lookup][@subtext0]; @subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@lookup][@overlay2]; @overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@lookup][@overlay1]; @overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@lookup][@overlay0]; @overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@lookup][@surface2]; @surface2: @catppuccin[@@flavor][@surface2];
@surface1: @catppuccin[@@lookup][@surface1]; @surface1: @catppuccin[@@flavor][@surface1];
@surface0: @catppuccin[@@lookup][@surface0]; @surface0: @catppuccin[@@flavor][@surface0];
@base: @catppuccin[@@lookup][@base]; @base: @catppuccin[@@flavor][@base];
@mantle: @catppuccin[@@lookup][@mantle]; @mantle: @catppuccin[@@flavor][@mantle];
@crust: @catppuccin[@@lookup][@crust]; @crust: @catppuccin[@@flavor][@crust];
@accent-color: @catppuccin[@@lookup][@@accent]; @accent: @catppuccin[@@flavor][@@accentColor];
color-scheme: if(@lookup = latte, light, dark); color-scheme: if(@flavor = latte, light, dark);
::selection { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
input, input,
@@ -81,14 +81,14 @@
--secondary-d1: @subtext0; --secondary-d1: @subtext0;
--secondary: @text; --secondary: @text;
--secondary-l1: @subtext0; --secondary-l1: @subtext0;
--secondary-l2: @accent-color; --secondary-l2: @accent;
--secondary-f1: @subtext0; --secondary-f1: @subtext0;
--secondary-f2: @subtext0; --secondary-f2: @subtext0;
--accent-d2: @accent-color; --accent-d2: @accent;
--accent-d1: @accent-color; --accent-d1: @accent;
--accent: @accent-color; --accent: @accent;
--accent-l1: @accent-color; --accent-l1: @accent;
--accent-l2: @accent-color; --accent-l2: @accent;
--error-d1: @red; --error-d1: @red;
--error: @red; --error: @red;
--error-l1: @red; --error-l1: @red;
@@ -102,7 +102,7 @@
--Chart-hist-h__color: @lavender; --Chart-hist-h__color: @lavender;
--Chart-hist-m__color: @maroon; --Chart-hist-m__color: @maroon;
--Chart-hist-r__color: @mauve; --Chart-hist-r__color: @mauve;
--KeyboardKey-pointer__color: @accent-color; --KeyboardKey-pointer__color: @accent;
--KeyboardKey-symbol__color: @crust; --KeyboardKey-symbol__color: @crust;
--pinky-zone-color: @green; --pinky-zone-color: @green;
--ring-zone-color: @teal; --ring-zone-color: @teal;
@@ -112,17 +112,17 @@
--thumb-zone-color: @mauve; --thumb-zone-color: @mauve;
--effort-0-color: @crust; --effort-0-color: @crust;
--effort-1-color: @crust; --effort-1-color: @crust;
--effort-2-color: @accent-color; --effort-2-color: @accent;
--effort-3-color: @accent-color; --effort-3-color: @accent;
--Value--more__color: @green; --Value--more__color: @green;
--Value--less__color: @red; --Value--less__color: @red;
--KeyboardKey-button--depressed__color: @accent-color; --KeyboardKey-button--depressed__color: @accent;
--LessonKey--included__color: @crust; --LessonKey--included__color: @crust;
--LessonKey--uncalibrated__background-color: @surface0; --LessonKey--uncalibrated__background-color: @surface0;
--LessonKey--excluded__background-color: @surface0; --LessonKey--excluded__background-color: @surface0;
--LessonKey--excluded__color: @overlay0; --LessonKey--excluded__color: @overlay0;
--DailyGoal-bar__color: @accent-color; --DailyGoal-bar__color: @accent;
--KeyboardKey-button__color: @accent-color; --KeyboardKey-button__color: @accent;
--textinput__color: @text; --textinput__color: @text;
--textinput--special__color: @subtext1; --textinput--special__color: @subtext1;
--textinput--hit__color: @subtext0; --textinput--hit__color: @subtext0;
+101 -97
View File
@@ -16,52 +16,50 @@
==/UserStyle== */ ==/UserStyle== */
@-moz-document url-prefix("https://keyoxide.org") { @-moz-document url-prefix("https://keyoxide.org") {
@media (prefers-color-scheme: light) { :root {
:root { @media (prefers-color-scheme: light) {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
} @media (prefers-color-scheme: dark) {
@media (prefers-color-scheme: dark) { #catppuccin(@darkFlavor);
:root {
#catppuccin(@darkFlavor, @accentColor);
} }
} }
#catppuccin(@lookup, @accent) { #catppuccin(@flavor) {
@rosewater: @catppuccin[@@lookup][@rosewater]; @rosewater: @catppuccin[@@flavor][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo]; @flamingo: @catppuccin[@@flavor][@flamingo];
@pink: @catppuccin[@@lookup][@pink]; @pink: @catppuccin[@@flavor][@pink];
@mauve: @catppuccin[@@lookup][@mauve]; @mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@lookup][@red]; @red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@lookup][@maroon]; @maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@lookup][@peach]; @peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@lookup][@yellow]; @yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@lookup][@green]; @green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@lookup][@teal]; @teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@lookup][@sky]; @sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@lookup][@sapphire]; @sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@lookup][@blue]; @blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@lookup][@lavender]; @lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@lookup][@text]; @text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@lookup][@subtext1]; @subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@lookup][@subtext0]; @subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@lookup][@overlay2]; @overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@lookup][@overlay1]; @overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@lookup][@overlay0]; @overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@lookup][@surface2]; @surface2: @catppuccin[@@flavor][@surface2];
@surface1: @catppuccin[@@lookup][@surface1]; @surface1: @catppuccin[@@flavor][@surface1];
@surface0: @catppuccin[@@lookup][@surface0]; @surface0: @catppuccin[@@flavor][@surface0];
@base: @catppuccin[@@lookup][@base]; @base: @catppuccin[@@flavor][@base];
@mantle: @catppuccin[@@lookup][@mantle]; @mantle: @catppuccin[@@flavor][@mantle];
@crust: @catppuccin[@@lookup][@crust]; @crust: @catppuccin[@@flavor][@crust];
@accent-color: @catppuccin[@@lookup][@@accent]; @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 { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
input, input,
@@ -71,8 +69,8 @@
} }
} }
--primary-color: @accent-color; --primary-color: @accent;
--primary-color-subtle: lighten(@accent-color, 5%); --primary-color-subtle: lighten(@accent, 5%);
--body-background-color: @mantle; --body-background-color: @mantle;
--section-background-color: @base; --section-background-color: @base;
--text-color: @text; --text-color: @text;
@@ -127,52 +125,50 @@
} }
@-moz-document domain("docs.keyoxide.org"), domain("blog.keyoxide.org") { @-moz-document domain("docs.keyoxide.org"), domain("blog.keyoxide.org") {
@media (prefers-color-scheme: light) { :root {
:root { @media (prefers-color-scheme: light) {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
} @media (prefers-color-scheme: dark) {
@media (prefers-color-scheme: dark) { #catppuccin(@darkFlavor);
:root {
#catppuccin(@darkFlavor, @accentColor);
} }
} }
#catppuccin(@lookup, @accent) { #catppuccin(@flavor) {
@rosewater: @catppuccin[@@lookup][@rosewater]; @rosewater: @catppuccin[@@flavor][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo]; @flamingo: @catppuccin[@@flavor][@flamingo];
@pink: @catppuccin[@@lookup][@pink]; @pink: @catppuccin[@@flavor][@pink];
@mauve: @catppuccin[@@lookup][@mauve]; @mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@lookup][@red]; @red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@lookup][@maroon]; @maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@lookup][@peach]; @peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@lookup][@yellow]; @yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@lookup][@green]; @green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@lookup][@teal]; @teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@lookup][@sky]; @sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@lookup][@sapphire]; @sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@lookup][@blue]; @blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@lookup][@lavender]; @lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@lookup][@text]; @text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@lookup][@subtext1]; @subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@lookup][@subtext0]; @subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@lookup][@overlay2]; @overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@lookup][@overlay1]; @overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@lookup][@overlay0]; @overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@lookup][@surface2]; @surface2: @catppuccin[@@flavor][@surface2];
@surface1: @catppuccin[@@lookup][@surface1]; @surface1: @catppuccin[@@flavor][@surface1];
@surface0: @catppuccin[@@lookup][@surface0]; @surface0: @catppuccin[@@flavor][@surface0];
@base: @catppuccin[@@lookup][@base]; @base: @catppuccin[@@flavor][@base];
@mantle: @catppuccin[@@lookup][@mantle]; @mantle: @catppuccin[@@flavor][@mantle];
@crust: @catppuccin[@@lookup][@crust]; @crust: @catppuccin[@@flavor][@crust];
@accent-color: @catppuccin[@@lookup][@@accent]; @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 { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
input, input,
@@ -188,19 +184,19 @@
--clr-primary-99: @crust; --clr-primary-99: @crust;
--clr-primary-98: @mantle; --clr-primary-98: @mantle;
--clr-primary-95: @base; --clr-primary-95: @base;
--clr-primary-90: lighten(@accent-color, 30%); --clr-primary-90: lighten(@accent, 30%);
--clr-primary-80: lighten(@accent-color, 20%); --clr-primary-80: lighten(@accent, 20%);
--clr-primary-70: lighten(@accent-color, 10%); --clr-primary-70: lighten(@accent, 10%);
--clr-primary-60: @accent-color; --clr-primary-60: @accent;
--clr-primary-50: darken(@accent-color, 5%); --clr-primary-50: darken(@accent, 5%);
--clr-primary-40: darken(@accent-color, 10%); --clr-primary-40: darken(@accent, 10%);
--clr-primary-35: darken(@accent-color, 15%); --clr-primary-35: darken(@accent, 15%);
--clr-primary-30: darken(@accent-color, 20%); --clr-primary-30: darken(@accent, 20%);
--clr-primary-25: darken(@accent-color, 25%); --clr-primary-25: darken(@accent, 25%);
--clr-primary-20: darken(@accent-color, 30%); --clr-primary-20: darken(@accent, 30%);
--clr-primary-10: darken(@accent-color, 35%); --clr-primary-10: darken(@accent, 35%);
--clr-primary-0: @text; --clr-primary-0: @text;
--clr-primary: @accent-color; --clr-primary: @accent;
--clr-header: @text; --clr-header: @text;
--clr-header-subtle: @subtext1; --clr-header-subtle: @subtext1;
--clr-text: @text; --clr-text: @text;
@@ -223,7 +219,7 @@
} }
img[title="Keyoxide logo"] { img[title="Keyoxide logo"] {
@svg: escape( @svg: escape(
'<svg viewBox="0 0 35 35" xmlns="http://www.w3.org/2000/svg" width="35" height="35"><path fill="@{accent-color}" d="M15.852 0a1.225 1.225 0 0 0-1.214 1.214c0 .663.549 1.214 1.214 1.214a1.225 1.225 0 0 0 1.214-1.214A1.225 1.225 0 0 0 15.852 0m2.698.427a1.52 1.52 0 0 0-1.512 1.512c0 .346.116.667.317.923a2.046 2.046 0 0 0-2.292 2.021c0 1.12.919 2.041 2.039 2.041a2.04 2.04 0 0 0 1.422-.58 3 3 0 0 0-.024.326c0 .875.457 1.649 1.127 2.159l-3.771 2.934v-.168a4.82 4.82 0 0 0-4.811-4.811 4.82 4.82 0 0 0-4.811 4.813v9.956c0-.02-.003-.015-.003.051v8.579A4.82 4.82 0 0 0 11.044 35c2.523 0 4.543-1.975 4.74-4.448l5.46 3.636a4.82 4.82 0 0 0 6.67-1.333 4.82 4.82 0 0 0-1.333-6.67l-7.312-4.876 7.598-5.911a4.81 4.81 0 0 0 1.327-6.001l-.034-.064a2.3 2.3 0 0 0 .604-1.555 2.32 2.32 0 0 0-2.31-2.31 2.32 2.32 0 0 0-2.098 1.341 6 6 0 0 0-.37-.02c.003-.044.006-.059.006-.116a2.756 2.756 0 0 0-2.749-2.749c-.844 0-1.6.388-2.104.991v-.031c0-.557-.225-1.065-.589-1.433.829 0 1.512-.684 1.512-1.512S19.379.426 18.55.426zm-2.698.615c.101 0 .171.07.171.171s-.069.172-.171.172-.171-.07-.171-.171.07-.171.171-.171m2.698.427c.265 0 .47.204.47.47s-.204.47-.47.47a.464.464 0 0 1-.47-.47c0-.265.204-.47.47-.47M17.1 3.888c.557 0 .996.439.996.996a.99.99 0 0 1-.996 1 .99.99 0 0 1-.997-.999c0-.558.44-.997.997-.997m4.145 1.079a1.7 1.7 0 0 1 1.706 1.706c0 .083-.007.16-.009.278 0 .12.015.306.116.48a.85.85 0 0 0 .445.35 1.1 1.1 0 0 0 .382.045c.088 0 .175.009.263.015a2.32 2.32 0 0 0 1.827 2.199l.018.003.031.006q.099.019.197.031h.006a2.4 2.4 0 0 0 .633-.025h.011l.015-.003q.19-.038.365-.102l.02-.007.009-.003a3.754 3.754 0 0 1-1.05 4.635l-8.171 6.354a.52.52 0 0 0 .031.846l7.916 5.274a3.76 3.76 0 0 1 1.046 5.226 3.76 3.76 0 0 1-5.226 1.046l-6.198-4.13a.521.521 0 0 0-.808.433v.562a3.76 3.76 0 0 1-3.771 3.771 3.76 3.76 0 0 1-3.775-3.769v-8.579l.002-.045v-9.966a3.76 3.76 0 0 1 3.769-3.769 3.76 3.76 0 0 1 3.769 3.769v1.234a.521.521 0 0 0 .842.413l4.677-3.64s.109-.073.216-.19a.77.77 0 0 0 .239-.659.92.92 0 0 0-.27-.516c-.125-.105-.19-.127-.242-.165a1.7 1.7 0 0 1-.732-1.402c0-.948.754-1.706 1.704-1.706zm5.212 1.542a1.26 1.26 0 0 1 1.267 1.27 1.27 1.27 0 0 1-.768 1.171h-.003l-.051.018a2 2 0 0 1-.208.059l-.009.004h-.018a1.23 1.23 0 0 1-.921-.197 1.25 1.25 0 0 1-.558-1.054l.003-.066.003-.066a1.263 1.263 0 0 1 1.264-1.137"/></svg>' '<svg viewBox="0 0 35 35" xmlns="http://www.w3.org/2000/svg" width="35" height="35"><path fill="@{accent}" d="M15.852 0a1.225 1.225 0 0 0-1.214 1.214c0 .663.549 1.214 1.214 1.214a1.225 1.225 0 0 0 1.214-1.214A1.225 1.225 0 0 0 15.852 0m2.698.427a1.52 1.52 0 0 0-1.512 1.512c0 .346.116.667.317.923a2.046 2.046 0 0 0-2.292 2.021c0 1.12.919 2.041 2.039 2.041a2.04 2.04 0 0 0 1.422-.58 3 3 0 0 0-.024.326c0 .875.457 1.649 1.127 2.159l-3.771 2.934v-.168a4.82 4.82 0 0 0-4.811-4.811 4.82 4.82 0 0 0-4.811 4.813v9.956c0-.02-.003-.015-.003.051v8.579A4.82 4.82 0 0 0 11.044 35c2.523 0 4.543-1.975 4.74-4.448l5.46 3.636a4.82 4.82 0 0 0 6.67-1.333 4.82 4.82 0 0 0-1.333-6.67l-7.312-4.876 7.598-5.911a4.81 4.81 0 0 0 1.327-6.001l-.034-.064a2.3 2.3 0 0 0 .604-1.555 2.32 2.32 0 0 0-2.31-2.31 2.32 2.32 0 0 0-2.098 1.341 6 6 0 0 0-.37-.02c.003-.044.006-.059.006-.116a2.756 2.756 0 0 0-2.749-2.749c-.844 0-1.6.388-2.104.991v-.031c0-.557-.225-1.065-.589-1.433.829 0 1.512-.684 1.512-1.512S19.379.426 18.55.426zm-2.698.615c.101 0 .171.07.171.171s-.069.172-.171.172-.171-.07-.171-.171.07-.171.171-.171m2.698.427c.265 0 .47.204.47.47s-.204.47-.47.47a.464.464 0 0 1-.47-.47c0-.265.204-.47.47-.47M17.1 3.888c.557 0 .996.439.996.996a.99.99 0 0 1-.996 1 .99.99 0 0 1-.997-.999c0-.558.44-.997.997-.997m4.145 1.079a1.7 1.7 0 0 1 1.706 1.706c0 .083-.007.16-.009.278 0 .12.015.306.116.48a.85.85 0 0 0 .445.35 1.1 1.1 0 0 0 .382.045c.088 0 .175.009.263.015a2.32 2.32 0 0 0 1.827 2.199l.018.003.031.006q.099.019.197.031h.006a2.4 2.4 0 0 0 .633-.025h.011l.015-.003q.19-.038.365-.102l.02-.007.009-.003a3.754 3.754 0 0 1-1.05 4.635l-8.171 6.354a.52.52 0 0 0 .031.846l7.916 5.274a3.76 3.76 0 0 1 1.046 5.226 3.76 3.76 0 0 1-5.226 1.046l-6.198-4.13a.521.521 0 0 0-.808.433v.562a3.76 3.76 0 0 1-3.771 3.771 3.76 3.76 0 0 1-3.775-3.769v-8.579l.002-.045v-9.966a3.76 3.76 0 0 1 3.769-3.769 3.76 3.76 0 0 1 3.769 3.769v1.234a.521.521 0 0 0 .842.413l4.677-3.64s.109-.073.216-.19a.77.77 0 0 0 .239-.659.92.92 0 0 0-.27-.516c-.125-.105-.19-.127-.242-.165a1.7 1.7 0 0 1-.732-1.402c0-.948.754-1.706 1.704-1.706zm5.212 1.542a1.26 1.26 0 0 1 1.267 1.27 1.27 1.27 0 0 1-.768 1.171h-.003l-.051.018a2 2 0 0 1-.208.059l-.009.004h-.018a1.23 1.23 0 0 1-.921-.197 1.25 1.25 0 0 1-.558-1.054l.003-.066.003-.066a1.263 1.263 0 0 1 1.264-1.137"/></svg>'
); );
content: url("data:image/svg+xml,@{svg}"); content: url("data:image/svg+xml,@{svg}");
} }
@@ -279,8 +275,8 @@
} }
.widget { .widget {
background-color: fade(@accent-color, 60%); background-color: fade(@accent, 60%);
border-color: @accent-color; border-color: @accent;
.title { .title {
color: @text; color: @text;
@@ -296,8 +292,16 @@
/* deno-fmt-ignore */ /* deno-fmt-ignore */
@catppuccin: { @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; }; @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; @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; }; @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; @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; }; @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; @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; }; @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%); };
}; };
+129 -138
View File
@@ -16,52 +16,50 @@
==/UserStyle== */ ==/UserStyle== */
@-moz-document domain("last.fm") { @-moz-document domain("last.fm") {
@media (prefers-color-scheme: light) { :root {
:root { @media (prefers-color-scheme: light) {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
} @media (prefers-color-scheme: dark) {
@media (prefers-color-scheme: dark) { #catppuccin(@darkFlavor);
:root {
#catppuccin(@darkFlavor, @accentColor);
} }
} }
#catppuccin(@lookup, @accent) { #catppuccin(@flavor) {
@rosewater: @catppuccin[@@lookup][@rosewater]; @rosewater: @catppuccin[@@flavor][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo]; @flamingo: @catppuccin[@@flavor][@flamingo];
@pink: @catppuccin[@@lookup][@pink]; @pink: @catppuccin[@@flavor][@pink];
@mauve: @catppuccin[@@lookup][@mauve]; @mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@lookup][@red]; @red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@lookup][@maroon]; @maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@lookup][@peach]; @peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@lookup][@yellow]; @yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@lookup][@green]; @green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@lookup][@teal]; @teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@lookup][@sky]; @sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@lookup][@sapphire]; @sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@lookup][@blue]; @blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@lookup][@lavender]; @lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@lookup][@text]; @text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@lookup][@subtext1]; @subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@lookup][@subtext0]; @subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@lookup][@overlay2]; @overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@lookup][@overlay1]; @overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@lookup][@overlay0]; @overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@lookup][@surface2]; @surface2: @catppuccin[@@flavor][@surface2];
@surface1: @catppuccin[@@lookup][@surface1]; @surface1: @catppuccin[@@flavor][@surface1];
@surface0: @catppuccin[@@lookup][@surface0]; @surface0: @catppuccin[@@flavor][@surface0];
@base: @catppuccin[@@lookup][@base]; @base: @catppuccin[@@flavor][@base];
@mantle: @catppuccin[@@lookup][@mantle]; @mantle: @catppuccin[@@flavor][@mantle];
@crust: @catppuccin[@@lookup][@crust]; @crust: @catppuccin[@@flavor][@crust];
@accent-color: @catppuccin[@@lookup][@@accent]; @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 { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
input, input,
@@ -71,8 +69,8 @@
} }
} }
& when not(@lookup = latte) { & when not(@flavor = latte) {
@accent-color-dim: fadeout(@accent-color, 50); @accent-dim: fade(@accent, 50%);
.layout-image { .layout-image {
background: @base; background: @base;
.layout-image-image { .layout-image-image {
@@ -107,7 +105,7 @@
background: @base; background: @base;
} }
h1 { h1 {
color: @accent-color; color: @accent;
} }
.mimic-link { .mimic-link {
color: @sapphire; color: @sapphire;
@@ -116,9 +114,9 @@
border-color: @overlay1; border-color: @overlay1;
} }
a { a {
color: @accent-color; color: @accent;
&:hover { &:hover {
color: @accent-color-dim; color: @accent-dim;
} }
} }
@@ -190,8 +188,8 @@
} }
/* -----------CHECKBOXES, DROPDOWNS AND RADIOS---------- */ /* -----------CHECKBOXES, DROPDOWNS AND RADIOS---------- */
.lfm-form-radio input[type="radio"]:checked + label::before { .lfm-form-radio input[type="radio"]:checked + label::before {
border-color: @accent-color; border-color: @accent;
box-shadow: inset 0 0 0 4px @accent-color; box-shadow: inset 0 0 0 4px @accent;
background-color: @base; background-color: @base;
} }
.lfm-form-radio input[type="radio"] + label::before { .lfm-form-radio input[type="radio"] + label::before {
@@ -212,7 +210,7 @@
.content-top-has-nav .content-top::after, .content-top-has-nav .content-top::after,
.two-column-layout .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, .homefeed .content-top .secondary-nav-item-link--active,
@@ -238,7 +236,7 @@
&--tracks, &--tracks,
&--events { &--events {
.secondary-nav-item-link:hover::after { .secondary-nav-item-link:hover::after {
background-color: @accent-color-dim; background-color: @accent-dim;
} }
} }
} }
@@ -247,7 +245,7 @@
&--tracks, &--tracks,
&--events { &--events {
.content-top .secondary-nav-item-link--active::after { .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( background-image: linear-gradient(
180deg, 180deg,
transparent 0, transparent 0,
rgba(@mantle, 0.4) 50%, fade(@mantle, 40%) 50%,
rgba(@mantle, 0.7) 50%, fade(@mantle, 70%) 50%,
rgba(@mantle, 0.7) 100% fade(@mantle, 70%) 100%
); );
} }
} }
@@ -285,10 +283,10 @@
} }
} }
&::after { &::after {
border-bottom-color: @accent-color-dim; border-bottom-color: @accent-dim;
} }
&::before { &::before {
background-color: @accent-color; background-color: @accent;
-webkit-filter: invert(0%); -webkit-filter: invert(0%);
filter: invert(0%); filter: invert(0%);
} }
@@ -303,7 +301,7 @@
background-color: transparent; background-color: transparent;
} }
.join-cta h3 { .join-cta h3 {
color: @accent-color; color: @accent;
} }
.lazy-features-footer { .lazy-features-footer {
@@ -322,7 +320,7 @@
/* LIVE */ /* LIVE */
/* MUSIC */ /* MUSIC */
.content-top-header { .content-top-header {
color: @accent-color; color: @accent;
} }
.minimal-navigation-item-link { .minimal-navigation-item-link {
@@ -368,15 +366,8 @@
} }
/* RECOMMENDATIONS */ /* RECOMMENDATIONS */
& when not(@lookup = "latte") { .recs-feed-title a {
.recs-feed-title a { color: if(@flavor = "latte", @crust, @text) !important;
color: @text !important;
}
}
& when (@lookup = "latte") {
.recs-feed-title a {
color: @crust !important;
}
} }
.recs-feed-item, .recs-feed-item,
.recs-feed .recs-feed-item { .recs-feed .recs-feed-item {
@@ -424,7 +415,7 @@
); );
} }
.secondary-nav { .secondary-nav {
box-shadow: inset 0 -1px @accent-color; box-shadow: inset 0 -1px @accent;
} }
.music-recommended-artists-artist-name, .music-recommended-artists-artist-name,
.music-recommended-artists-context, .music-recommended-artists-context,
@@ -454,11 +445,11 @@
/* RECAP PROMOS */ /* RECAP PROMOS */
.promo-v3 .listening-report-promo { .promo-v3 .listening-report-promo {
background: @mantle; background: @mantle;
border-color: rgba(@mantle, 0.5); border-color: fade(@mantle, 50%);
&:hover, &:hover,
&:focus { &:focus {
background: @crust; background: @crust;
border-color: rgba(@crust, 0.5); border-color: fade(@crust, 50%);
} }
&-date::after { &-date::after {
.mask-image( .mask-image(
@@ -488,7 +479,7 @@
._buffer-reset, ._buffer-reset,
.sidebar-heading { .sidebar-heading {
color: @accent-color; color: @accent;
} }
.sidebar-group-heading { .sidebar-group-heading {
@@ -521,7 +512,7 @@
} }
.events-filters { .events-filters {
border-bottom-color: @accent-color; border-bottom-color: @accent;
} }
.events-list-item-venue--address, .events-list-item-venue--address,
@@ -554,7 +545,7 @@
} }
.features-post-header-title { .features-post-header-title {
color: @accent-color; color: @accent;
} }
.features-post-artist { .features-post-artist {
@@ -570,7 +561,7 @@
&, &,
&:not(.cta--inactive):focus, &:not(.cta--inactive):focus,
&:not(.cta--inactive):hover { &:not(.cta--inactive):hover {
background-color: @accent-color-dim; background-color: @accent-dim;
} }
} }
.dropdown-menu-clickable, .dropdown-menu-clickable,
@@ -589,7 +580,7 @@
color: @subtext1; color: @subtext1;
} }
.chartlist-play-button::before { .chartlist-play-button::before {
background-color: @accent-color; background-color: @accent;
-webkit-filter: invert(0%); -webkit-filter: invert(0%);
filter: invert(0%); filter: invert(0%);
} }
@@ -604,14 +595,14 @@
.text-Color-link, .text-Color-link,
h2, h2,
.dropdown-menu-clickable-button.disclose-active { .dropdown-menu-clickable-button.disclose-active {
color: @accent-color; color: @accent;
} }
.dropdown-menu-clickable-button, .dropdown-menu-clickable-button,
.dropdown-menu-clickable-item--selected { .dropdown-menu-clickable-item--selected {
&, &,
&:focus, &:focus,
&:hover { &:hover {
color: @accent-color; color: @accent;
} }
} }
.dropdown-menu-clickable-item, .dropdown-menu-clickable-item,
@@ -621,7 +612,7 @@
color: @text; color: @text;
} }
.btn-secondary { .btn-secondary {
background-color: @accent-color-dim; background-color: @accent-dim;
color: @crust; color: @crust;
} }
@@ -630,7 +621,7 @@
.btn-secondary:focus, .btn-secondary:focus,
body:not([data-whatinput="touch"]) .btn-secondary .focus-visible, body:not([data-whatinput="touch"]) .btn-secondary .focus-visible,
body:not([data-whatinput="touch"]) .btn-secondary:hover { body:not([data-whatinput="touch"]) .btn-secondary:hover {
background-color: @accent-color; background-color: @accent;
color: @crust; color: @crust;
} }
input[type="password"] { input[type="password"] {
@@ -675,7 +666,7 @@
.chartlist-row--highlight, .chartlist-row--highlight,
.chartlist-row--now-scrobbling { .chartlist-row--now-scrobbling {
/* background-color: #5a1717; */ /* 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%; background-size: 200% 200%;
-webkit-animation: chartlist-anim 10s ease infinite; -webkit-animation: chartlist-anim 10s ease infinite;
-moz-animation: chartlist-anim 10s ease infinite; -moz-animation: chartlist-anim 10s ease infinite;
@@ -698,7 +689,7 @@
.chartlist-count-bar-slug { .chartlist-count-bar-slug {
background-color: transparent !important; background-color: transparent !important;
background-image: linear-gradient(to right, @accent-color, @accent-color); background-image: linear-gradient(to right, @accent, @accent);
color: @crust; color: @crust;
} }
.chartlist-count-bar-value { .chartlist-count-bar-value {
@@ -706,7 +697,7 @@
} }
a:focus .chartlist-count-bar-slug, a:focus .chartlist-count-bar-slug,
a:hover .chartlist-count-bar-slug { a:hover .chartlist-count-bar-slug {
background-color: @accent-color-dim; background-color: @accent-dim;
} }
.chartlist-count-bar-link { .chartlist-count-bar-link {
@@ -726,7 +717,7 @@
} }
.chartlist tr:nth-child(1) td.chartlist-index { .chartlist tr:nth-child(1) td.chartlist-index {
color: @accent-color; color: @accent;
} }
/* LISTENING REPORT */ /* LISTENING REPORT */
@@ -741,7 +732,7 @@
// Topmost report box // Topmost report box
.report-box-container--overview { .report-box-container--overview {
background: @accent-color; background: @accent;
color: @base; color: @base;
// Top border design (////) // Top border design (////)
.report-headline-border { .report-headline-border {
@@ -767,10 +758,10 @@
.report-headline__chart { .report-headline__chart {
.highcharts-series-0 .highcharts-point { .highcharts-series-0 .highcharts-point {
fill: @base; fill: @base;
stroke: rgba(@base, 0.5); stroke: fade(@base, 50%);
} }
.highcharts-series-1 .highcharts-point { .highcharts-series-1 .highcharts-point {
fill: rgba(@base, 0.5); fill: fade(@base, 50%);
stroke: transparent; stroke: transparent;
} }
.highcharts-axis-labels { .highcharts-axis-labels {
@@ -785,7 +776,7 @@
background: @base; background: @base;
.listening-report-row { .listening-report-row {
// Header divider colors follow accent // Header divider colors follow accent
border-bottom-color: @accent-color; border-bottom-color: @accent;
} }
.top-item-overview { .top-item-overview {
// Style category boxes // Style category boxes
@@ -851,8 +842,8 @@
.tag-label { .tag-label {
background: linear-gradient( background: linear-gradient(
90deg, 90deg,
darken(@accent-color, 5%), darken(@accent, 5%),
@accent-color @accent
); );
// Total scrobbles header // Total scrobbles header
&--total-scrobbles::before { &--total-scrobbles::before {
@@ -888,15 +879,15 @@
// Highlight self for higher or lower position on chart // Highlight self for higher or lower position on chart
&-inner--highlight { &-inner--highlight {
&.listening-report-highlight--down { &.listening-report-highlight--down {
background: rgba(@red, 0.1); background: fade(@red, 10%);
&:hover { &:hover {
background: rgba(@red, 0.15); background: fade(@red, 15%);
} }
} }
&.listening-report-highlight--up { &.listening-report-highlight--up {
background: rgba(@green, 0.1); background: fade(@green, 10%);
&:hover { &:hover {
background: rgba(@green, 0.15); background: fade(@green, 15%);
} }
} }
} }
@@ -958,7 +949,7 @@
.music-decades-chart-container { .music-decades-chart-container {
.highcharts-series-1 .highcharts-point { .highcharts-series-1 .highcharts-point {
fill: rgba(@accent-color, 0.5); fill: fade(@accent, 50%);
} }
} }
@@ -966,7 +957,7 @@
.shout { .shout {
&--active { &--active {
background-color: fadeout(@surface1, 30%); background-color: fade(@surface1, 70%);
} }
&, &,
@@ -1031,9 +1022,9 @@
} }
.highcharts-point { .highcharts-point {
fill: @accent-color-dim; fill: @accent-dim;
&-select { &-select {
fill: @accent-color; fill: @accent;
} }
} }
@@ -1046,7 +1037,7 @@
fill: @base; fill: @base;
} }
.highcharts-point { .highcharts-point {
fill: rgba(@accent-color, 0.2); fill: fade(@accent, 20%);
} }
.highcharts-xaxis .highcharts-axis-line, .highcharts-xaxis .highcharts-axis-line,
.highcharts-yaxis-grid .highcharts-grid-line { .highcharts-yaxis-grid .highcharts-grid-line {
@@ -1064,7 +1055,7 @@
} }
.user-follow, .user-follow,
.user-follow::after { .user-follow::after {
color: @accent-color; color: @accent;
background-color: @surface0; background-color: @surface0;
} }
@@ -1085,7 +1076,7 @@
} }
.header-follower-btn { .header-follower-btn {
color: @accent-color; color: @accent;
} }
/* BOOKMARKS */ /* BOOKMARKS */
@@ -1130,7 +1121,7 @@
body .header-new-love-button, body .header-new-love-button,
body .header-new-more-button { body .header-new-more-button {
color: @base; color: @base;
background-color: @accent-color; background-color: @accent;
} }
body:not([data-whatinput="touch"]) { body:not([data-whatinput="touch"]) {
.header-new-bookmark-button, .header-new-bookmark-button,
@@ -1140,7 +1131,7 @@
.focus-visible, .focus-visible,
&:hover { &:hover {
color: @base; color: @base;
background-color: @accent-color; background-color: @accent;
} }
} }
} }
@@ -1152,7 +1143,7 @@
} }
.text-18 { .text-18 {
color: @accent-color; color: @accent;
} }
.artist-similar-artists-sidebar-item-name, .artist-similar-artists-sidebar-item-name,
@@ -1195,7 +1186,7 @@
} }
.header-metadata .header-metadata-display a { .header-metadata .header-metadata-display a {
color: @accent-color; color: @accent;
} }
.big-artist-list-title a { .big-artist-list-title a {
@@ -1215,7 +1206,7 @@
} }
.section-playlink::before { .section-playlink::before {
background-color: @accent-color; background-color: @accent;
-webkit-filter: invert(0%); -webkit-filter: invert(0%);
filter: invert(0%); filter: invert(0%);
} }
@@ -1230,7 +1221,7 @@
} }
.stationlink::before { .stationlink::before {
background-color: @accent-color; background-color: @accent;
-webkit-filter: invert(0%); -webkit-filter: invert(0%);
filter: invert(0%); filter: invert(0%);
} }
@@ -1243,7 +1234,7 @@
.video-preview-upload-cta { .video-preview-upload-cta {
background-color: @crust; 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, .video-preview-upload-cta:not(.cta--inactive):focus,
@@ -1256,7 +1247,7 @@
} }
.listener-trend .highcharts-area { .listener-trend .highcharts-area {
fill: fadeout(@red, 10%); fill: fade(@red, 90%);
} }
.listener-trend .highcharts-graph { .listener-trend .highcharts-graph {
@@ -1264,11 +1255,11 @@
} }
.Colored-cta { .Colored-cta {
background-color: fadeout(@surface2, 30%); background-color: fade(@surface2, 70%);
} }
.Colored-cta:not(.cta--inactive):focus, .Colored-cta:not(.cta--inactive):focus,
.Colored-cta:not(.cta--inactive):hover { .Colored-cta:not(.cta--inactive):hover {
background-color: fadeout(@surface2, 70%); background-color: fade(@surface2, 30%);
} }
.similar-items-sidebar-item-name { .similar-items-sidebar-item-name {
color: @text; color: @text;
@@ -1291,7 +1282,7 @@
} }
.factbox-item > h4 { .factbox-item > h4 {
color: @accent-color; color: @accent;
} }
.alert-warning { .alert-warning {
@@ -1323,7 +1314,7 @@
} }
} }
.control-label { .control-label {
color: @accent-color; color: @accent;
} }
.join-form .form-row-help-text { .join-form .form-row-help-text {
color: @text; color: @text;
@@ -1336,7 +1327,7 @@
.secondary-nav-item-link--active::after, .secondary-nav-item-link--active::after,
a.secondary-nav-item-link:focus::after, a.secondary-nav-item-link:focus::after,
a.secondary-nav-item-link:hover::after { a.secondary-nav-item-link:hover::after {
background-color: @accent-color; background-color: @accent;
} }
/* DOCUMENTATION/API SECTION */ /* DOCUMENTATION/API SECTION */
@@ -1348,24 +1339,24 @@
a.sidebar-link { a.sidebar-link {
color: @text; color: @text;
&:hover { &:hover {
color: @accent-color; color: @accent;
} }
} }
.sidebar-heading { .sidebar-heading {
color: @subtext1; color: @subtext1;
} }
a.sidebar-link.active { a.sidebar-link.active {
color: @accent-color; color: @accent;
border-left-color: @accent-color; border-left-color: @accent;
} }
a { a {
color: @accent-color; color: @accent;
} }
} }
/* OBSESSIONS */ /* OBSESSIONS */
.obsession-history-play-all::before { .obsession-history-play-all::before {
background-color: @accent-color; background-color: @accent;
-webkit-filter: invert(0%); -webkit-filter: invert(0%);
filter: invert(0%); filter: invert(0%);
color: @text; color: @text;
@@ -1381,7 +1372,7 @@
} }
.obsession-search-result-header { .obsession-search-result-header {
color: @accent-color; color: @accent;
} }
.obsession-candidate-heading { .obsession-candidate-heading {
@@ -1404,7 +1395,7 @@
} }
.content-form textarea:hover:not([disabled]) { .content-form textarea:hover:not([disabled]) {
border-color: @accent-color; border-color: @accent;
} }
/* MESSAGES */ /* MESSAGES */
@@ -1423,7 +1414,7 @@
} }
.inbox-message-subject { .inbox-message-subject {
color: @accent-color; color: @accent;
} }
.inbox-message-message { .inbox-message-message {
@@ -1432,7 +1423,7 @@
.inbox-message-view .inbox-message-message blockquote { .inbox-message-view .inbox-message-message blockquote {
background: @crust; background: @crust;
border-color: @accent-color; border-color: @accent;
} }
body:not([data-whatinput="touch"]) body:not([data-whatinput="touch"])
@@ -1450,7 +1441,7 @@
} }
.inbox .inbox-message--unviewed .inbox-message-status::after { .inbox .inbox-message--unviewed .inbox-message-status::after {
background-color: @accent-color; background-color: @accent;
} }
/* ADS */ /* ADS */
@@ -1470,7 +1461,7 @@
.btn-subscribe, .btn-subscribe,
.btn-subscribe:hover, .btn-subscribe:hover,
.btn-subscribe:active { .btn-subscribe:active {
background-color: @accent-color !important; background-color: @accent !important;
} }
.listening-report-brick--upsell { .listening-report-brick--upsell {
display: none; display: none;
@@ -1503,18 +1494,18 @@
.clipboard-button:focus, .clipboard-button:focus,
body:not([data-whatinput="touch"]) .clipboard-button .focus-visible, body:not([data-whatinput="touch"]) .clipboard-button .focus-visible,
body:not([data-whatinput="touch"]) .clipboard-button:hover { body:not([data-whatinput="touch"]) .clipboard-button:hover {
background-color: @accent-color !important; background-color: @accent !important;
color: @base !important; color: @base !important;
} }
.api-session-disconnect { .api-session-disconnect {
background-color: @accent-color-dim !important; background-color: @accent-dim !important;
color: @base !important; color: @base !important;
} }
/* -----Shortcut Button------ */ /* -----Shortcut Button------ */
.btn-shortcut, .btn-shortcut,
.btn-shortcut:hover, .btn-shortcut:hover,
.btn-shortcut:active { .btn-shortcut:active {
background-color: @accent-color-dim !important; background-color: @accent-dim !important;
color: @text !important; color: @text !important;
} }
/* ------HEADER----- */ /* ------HEADER----- */
@@ -1558,7 +1549,7 @@
color: @text !important; color: @text !important;
} }
.player-bar .player-bar-progress-slug { .player-bar .player-bar-progress-slug {
background: @accent-color; background: @accent;
} }
.masthead-nav-control, .masthead-nav-control,
.site-auth-control, .site-auth-control,
@@ -1567,7 +1558,7 @@
color: @text !important; color: @text !important;
} }
.masthead-nav .masthead-nav-control::after { .masthead-nav .masthead-nav-control::after {
background: @accent-color; background: @accent;
} }
.auth-dropdown-menu { .auth-dropdown-menu {
background-color: @base !important; background-color: @base !important;
@@ -1599,7 +1590,7 @@
&:focus, &:focus,
&:hover { &:hover {
background-color: transparent; background-color: transparent;
color: @accent-color !important; color: @accent !important;
} }
} }
.site-auth-control.btn-secondary { .site-auth-control.btn-secondary {
@@ -1609,7 +1600,7 @@
background-color: @mantle; background-color: @mantle;
} }
.masthead-search-submit { .masthead-search-submit {
background-color: @accent-color; background-color: @accent;
color: @base; color: @base;
} }
body:not(.js-focus-visible) body:not(.js-focus-visible)
@@ -1617,7 +1608,7 @@
.masthead-search-submit:focus, .masthead-search-submit:focus,
body:not([data-whatinput="touch"]) .masthead-search-submit .focus-visible, body:not([data-whatinput="touch"]) .masthead-search-submit .focus-visible,
body:not([data-whatinput="touch"]) .masthead-search-submit:hover { body:not([data-whatinput="touch"]) .masthead-search-submit:hover {
background-color: @accent-color; background-color: @accent;
color: @base; color: @base;
} }
.masthead-search-field { .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:focus,
.library-controls .secondary-nav .secondary-nav-item-link--active:hover, .library-controls .secondary-nav .secondary-nav-item-link--active:hover,
body:not([data-whatinput="touch"]) .catalogue-tags .tag a:hover { body:not([data-whatinput="touch"]) .catalogue-tags .tag a:hover {
color: @accent-color !important; color: @accent !important;
} }
/* ------ARTIST TAGS----- */ /* ------ARTIST TAGS----- */
.catalogue-tags .tag a, .catalogue-tags .tag a,
.catalogue-tags .tags-add, .catalogue-tags .tags-add,
.catalogue-tags .tags-add-cta, .catalogue-tags .tags-add-cta,
body:not([data-whatinput="touch"]) .catalogue-tags .tag a:hover { body:not([data-whatinput="touch"]) .catalogue-tags .tag a:hover {
color: @accent-color; color: @accent;
box-shadow: inset 0 0 0 1px @accent-color-dim; box-shadow: inset 0 0 0 1px @accent-dim;
} }
/* -----HIDE PLAY BUTTON ON TOP TRACK------ */ /* -----HIDE PLAY BUTTON ON TOP TRACK------ */
.image-overlay-playlink-link::before { .image-overlay-playlink-link::before {
@@ -1654,10 +1645,10 @@
} }
/* ---------CHARTS FIX--------- */ /* ---------CHARTS FIX--------- */
.globalchart .globalchart-item:first-child { .globalchart .globalchart-item:first-child {
background-color: fadeout(@mantle, 80%); background-color: fade(@mantle, 20%);
} }
.globalchart-item:first-child .globalchart-rank { .globalchart-item:first-child .globalchart-rank {
color: @accent-color !important; color: @accent !important;
} }
.globalchart-item .globalchart-rank { .globalchart-item .globalchart-rank {
color: @text; color: @text;
@@ -1670,7 +1661,7 @@
display: none !important; display: none !important;
} }
h1.text-24 { h1.text-24 {
color: @accent-color; color: @accent;
} }
.checkbox { .checkbox {
color: @text; color: @text;
@@ -1751,7 +1742,7 @@
.more-link-fullwidth-right ::before { .more-link-fullwidth-right ::before {
.mask-image( .mask-image(
url("/static/images/icons/arrow_small_right_005399_12.8f025ef116be.png"), url("/static/images/icons/arrow_small_right_005399_12.8f025ef116be.png"),
@accent-color, @accent,
); );
} }
@@ -1808,7 +1799,7 @@
.js .date-range-picker-button::before { .js .date-range-picker-button::before {
.mask-image( .mask-image(
url("/static/images/icons/date_picker_icon.1d7b21ee3a36.svg"), url("/static/images/icons/date_picker_icon.1d7b21ee3a36.svg"),
@accent-color, @accent,
0 0, 0 0,
14px 24px, 14px 24px,
no-repeat, no-repeat,
@@ -1825,7 +1816,7 @@
.catalogue-tags .tags-add::before { .catalogue-tags .tags-add::before {
.mask-image( .mask-image(
url("/static/images/icons/add_link_16.637996ed0e2f.png"), url("/static/images/icons/add_link_16.637996ed0e2f.png"),
@accent-color, @accent,
); );
} }
@@ -19,50 +19,50 @@
@import url("https://python.catppuccin.com/pygments/catppuccin-variables.important.css"); @import url("https://python.catppuccin.com/pygments/catppuccin-variables.important.css");
html.light { html.light {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
html.dark { html.dark {
#catppuccin(@darkFlavor, @accentColor); #catppuccin(@darkFlavor);
} }
html:not(.dark, .light) { html:not(.dark, .light) {
@media (prefers-color-scheme: light) { @media (prefers-color-scheme: light) {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
@media (prefers-color-scheme: dark) { @media (prefers-color-scheme: dark) {
#catppuccin(@darkFlavor, @accentColor); #catppuccin(@darkFlavor);
} }
} }
#catppuccin(@lookup, @accent) { #catppuccin(@flavor) {
@rosewater: @catppuccin[@@lookup][@rosewater]; @rosewater: @catppuccin[@@flavor][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo]; @flamingo: @catppuccin[@@flavor][@flamingo];
@pink: @catppuccin[@@lookup][@pink]; @pink: @catppuccin[@@flavor][@pink];
@mauve: @catppuccin[@@lookup][@mauve]; @mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@lookup][@red]; @red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@lookup][@maroon]; @maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@lookup][@peach]; @peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@lookup][@yellow]; @yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@lookup][@green]; @green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@lookup][@teal]; @teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@lookup][@sky]; @sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@lookup][@sapphire]; @sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@lookup][@blue]; @blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@lookup][@lavender]; @lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@lookup][@text]; @text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@lookup][@subtext1]; @subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@lookup][@subtext0]; @subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@lookup][@overlay2]; @overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@lookup][@overlay1]; @overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@lookup][@overlay0]; @overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@lookup][@surface2]; @surface2: @catppuccin[@@flavor][@surface2];
@surface1: @catppuccin[@@lookup][@surface1]; @surface1: @catppuccin[@@flavor][@surface1];
@surface0: @catppuccin[@@lookup][@surface0]; @surface0: @catppuccin[@@flavor][@surface0];
@base: @catppuccin[@@lookup][@base]; @base: @catppuccin[@@flavor][@base];
@mantle: @catppuccin[@@lookup][@mantle]; @mantle: @catppuccin[@@flavor][@mantle];
@crust: @catppuccin[@@lookup][@crust]; @crust: @catppuccin[@@flavor][@crust];
@accent-color: @catppuccin[@@lookup][@@accent]; @accent: @catppuccin[@@flavor][@@accentColor];
--ctp-rosewater: @rosewater; --ctp-rosewater: @rosewater;
--ctp-flamingo: @flamingo; --ctp-flamingo: @flamingo;
@@ -91,10 +91,10 @@
--ctp-mantle: @mantle; --ctp-mantle: @mantle;
--ctp-crust: @crust; --ctp-crust: @crust;
color-scheme: if(@lookup = latte, light, dark); color-scheme: if(@flavor = latte, light, dark);
::selection { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
input, input,
@@ -178,25 +178,25 @@
} }
a { a {
color: @accent-color !important; color: @accent !important;
code { code {
color: @accent-color !important; color: @accent !important;
} }
&:visited { &:visited {
color: darken(@accent-color, 5%) !important; color: darken(@accent, 5%) !important;
} }
&.active { &.active {
color: @base !important; color: @base !important;
background-color: @accent-color !important; background-color: @accent !important;
border-color: darken(@accent-color, 15%) !important; border-color: darken(@accent, 15%) !important;
&:visited { &:visited {
background-color: darken(@accent-color, 5%) !important; background-color: darken(@accent, 5%) !important;
color: @base !important; color: @base !important;
border-color: darken(@accent-color, 10%) !important; border-color: darken(@accent, 10%) !important;
} }
} }
} }
+53 -55
View File
@@ -16,50 +16,48 @@
==/UserStyle== */ ==/UserStyle== */
@-moz-document domain("lemmy.ml"), domain("lemmy.world") { @-moz-document domain("lemmy.ml"), domain("lemmy.world") {
@media (prefers-color-scheme: light) { :root {
:root { @media (prefers-color-scheme: light) {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
} @media (prefers-color-scheme: dark) {
@media (prefers-color-scheme: dark) { #catppuccin(@darkFlavor);
:root {
#catppuccin(@darkFlavor, @accentColor);
} }
} }
#catppuccin(@lookup, @accent) { #catppuccin(@flavor) {
@rosewater: @catppuccin[@@lookup][@rosewater]; @rosewater: @catppuccin[@@flavor][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo]; @flamingo: @catppuccin[@@flavor][@flamingo];
@pink: @catppuccin[@@lookup][@pink]; @pink: @catppuccin[@@flavor][@pink];
@mauve: @catppuccin[@@lookup][@mauve]; @mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@lookup][@red]; @red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@lookup][@maroon]; @maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@lookup][@peach]; @peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@lookup][@yellow]; @yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@lookup][@green]; @green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@lookup][@teal]; @teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@lookup][@sky]; @sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@lookup][@sapphire]; @sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@lookup][@blue]; @blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@lookup][@lavender]; @lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@lookup][@text]; @text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@lookup][@subtext1]; @subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@lookup][@subtext0]; @subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@lookup][@overlay2]; @overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@lookup][@overlay1]; @overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@lookup][@overlay0]; @overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@lookup][@surface2]; @surface2: @catppuccin[@@flavor][@surface2];
@surface1: @catppuccin[@@lookup][@surface1]; @surface1: @catppuccin[@@flavor][@surface1];
@surface0: @catppuccin[@@lookup][@surface0]; @surface0: @catppuccin[@@flavor][@surface0];
@base: @catppuccin[@@lookup][@base]; @base: @catppuccin[@@flavor][@base];
@mantle: @catppuccin[@@lookup][@mantle]; @mantle: @catppuccin[@@flavor][@mantle];
@crust: @catppuccin[@@lookup][@crust]; @crust: @catppuccin[@@flavor][@crust];
@accent-color: @catppuccin[@@lookup][@@accent]; @accent: @catppuccin[@@flavor][@@accentColor];
color-scheme: if(@lookup = latte, light, dark); color-scheme: if(@flavor = latte, light, dark);
::selection { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
input, input,
@@ -88,15 +86,15 @@
--bs-primary-bg-subtle: @base; --bs-primary-bg-subtle: @base;
--bs-secondary-bg-subtle: @mantle; --bs-secondary-bg-subtle: @mantle;
--bs-success-bg-subtle: @green; --bs-success-bg-subtle: @green;
--bs-info-bg-subtle: @accent-color; --bs-info-bg-subtle: @accent;
--bs-warning-bg-subtle: @yellow; --bs-warning-bg-subtle: @yellow;
--bs-danger-bg-subtle: @red; --bs-danger-bg-subtle: @red;
--bs-light-bg-subtle: @base; --bs-light-bg-subtle: @base;
--bs-dark-bg-subtle: @base; --bs-dark-bg-subtle: @base;
--bs-primary-border-subtle: @accent-color; --bs-primary-border-subtle: @accent;
--bs-secondary-border-subtle: @accent-color; --bs-secondary-border-subtle: @accent;
--bs-success-border-subtle: @green; --bs-success-border-subtle: @green;
--bs-info-border-subtle: @accent-color; --bs-info-border-subtle: @accent;
--bs-warning-border-subtle: @yellow; --bs-warning-border-subtle: @yellow;
--bs-danger-border-subtle: @red; --bs-danger-border-subtle: @red;
--bs-light-border-subtle: @crust; --bs-light-border-subtle: @crust;
@@ -106,14 +104,14 @@
--bs-link-color: @blue; --bs-link-color: @blue;
--bs-link-hover-color: @maroon; --bs-link-hover-color: @maroon;
--bs-code-color: @lavender; --bs-code-color: @lavender;
--bs-highlight-color: @accent-color; --bs-highlight-color: @accent;
--bs-highlight-bg: @mantle; --bs-highlight-bg: @mantle;
--bs-border-color: @crust; --bs-border-color: @crust;
--bs-form-valid-color: @green; --bs-form-valid-color: @green;
--bs-form-valid-border-color: @green; --bs-form-valid-border-color: @green;
--bs-form-invalid-color: @red; --bs-form-invalid-color: @red;
--bs-form-invalid-border-color: @red; --bs-form-invalid-border-color: @red;
--bs-dark-rgb: @accent-color; --bs-dark-rgb: @accent;
--bs-btn-bg: @base; --bs-btn-bg: @base;
} }
@@ -123,7 +121,7 @@
} }
.nav-link { .nav-link {
color: @accent-color; color: @accent;
} }
.card { .card {
--bs-card-cap-bg: @mantle; --bs-card-cap-bg: @mantle;
@@ -144,11 +142,11 @@
--bs-btn-color: @text; --bs-btn-color: @text;
--bs-btn-bg: @base; --bs-btn-bg: @base;
--bs-btn-border-color: @overlay1; --bs-btn-border-color: @overlay1;
--bs-btn-hover-color: @accent-color; --bs-btn-hover-color: @accent;
--bs-btn-hover-bg: @crust; --bs-btn-hover-bg: @crust;
--bs-btn-hover-border-color: @overlay2; --bs-btn-hover-border-color: @overlay2;
--bs-btn-active-color: @text; --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-border-color: @crust;
--bs-btn-active-shadow: inset 0 3px 5px @crust; --bs-btn-active-shadow: inset 0 3px 5px @crust;
--bs-btn-disabled-color: @red; --bs-btn-disabled-color: @red;
@@ -167,10 +165,10 @@
--bs-dropdown-border-color: @mantle; --bs-dropdown-border-color: @mantle;
--bs-dropdown-box-shadow: @mantle; --bs-dropdown-box-shadow: @mantle;
--bs-dropdown-link-color: @blue; --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-divider-bg: @overlay0;
--bs-dropdown-link-hover-bg: @crust; --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-active-bg: @mantle;
--bs-dropdown-link-disabled-color: @red; --bs-dropdown-link-disabled-color: @red;
--bs-dropdown-header-color: @text; --bs-dropdown-header-color: @text;
@@ -185,10 +183,10 @@
.btn-outline-secondary { .btn-outline-secondary {
--bs-btn-color: @text; --bs-btn-color: @text;
--bs-btn-border-color: @mantle; --bs-btn-border-color: @mantle;
--bs-btn-hover-color: @accent-color; --bs-btn-hover-color: @accent;
--bs-btn-hover-bg: @crust; --bs-btn-hover-bg: @crust;
--bs-btn-hover-border-color: @overlay0; --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-bg: @crust;
--bs-btn-active-border-color: @crust; --bs-btn-active-border-color: @crust;
--bs-btn-active-shadow: inset 0 3px 5px @crust; --bs-btn-active-shadow: inset 0 3px 5px @crust;
@@ -198,7 +196,7 @@
.nav-tabs .nav-link.active, .nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link { .nav-tabs .nav-item.show .nav-link {
color: @accent-color; color: @accent;
background-color: @crust; background-color: @crust;
border-color: @mantle; border-color: @mantle;
} }
@@ -214,17 +212,17 @@
--bs-dropdown-border-color: @mantle; --bs-dropdown-border-color: @mantle;
--bs-dropdown-box-shadow: @mantle; --bs-dropdown-box-shadow: @mantle;
--bs-dropdown-link-color: @blue; --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-divider-bg: @overlay0;
--bs-dropdown-link-hover-bg: @crust; --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-active-bg: @mantle;
--bs-dropdown-link-disabled-color: @red; --bs-dropdown-link-disabled-color: @red;
--bs-dropdown-header-color: @text; --bs-dropdown-header-color: @text;
} }
a { a {
color: @accent-color; color: @accent;
} }
.text-bg-primary { .text-bg-primary {
@@ -232,7 +230,7 @@
} }
.text-muted { .text-muted {
color: @accent-color; color: @accent;
} }
.text-bg-light { .text-bg-light {
color: @text !important; color: @text !important;
+33 -33
View File
@@ -98,7 +98,7 @@
domain("redlib.privacyredirect.com") { domain("redlib.privacyredirect.com") {
.light, .light,
.gruvboxlight { .gruvboxlight {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
.dark, .dark,
@@ -112,42 +112,42 @@
.rosebox, .rosebox,
.violet, .violet,
:root { :root {
#catppuccin(@darkFlavor, @accentColor); #catppuccin(@darkFlavor);
} }
#catppuccin(@lookup, @accent) { #catppuccin(@flavor) {
@rosewater: @catppuccin[@@lookup][@rosewater]; @rosewater: @catppuccin[@@flavor][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo]; @flamingo: @catppuccin[@@flavor][@flamingo];
@pink: @catppuccin[@@lookup][@pink]; @pink: @catppuccin[@@flavor][@pink];
@mauve: @catppuccin[@@lookup][@mauve]; @mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@lookup][@red]; @red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@lookup][@maroon]; @maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@lookup][@peach]; @peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@lookup][@yellow]; @yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@lookup][@green]; @green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@lookup][@teal]; @teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@lookup][@sky]; @sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@lookup][@sapphire]; @sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@lookup][@blue]; @blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@lookup][@lavender]; @lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@lookup][@text]; @text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@lookup][@subtext1]; @subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@lookup][@subtext0]; @subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@lookup][@overlay2]; @overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@lookup][@overlay1]; @overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@lookup][@overlay0]; @overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@lookup][@surface2]; @surface2: @catppuccin[@@flavor][@surface2];
@surface1: @catppuccin[@@lookup][@surface1]; @surface1: @catppuccin[@@flavor][@surface1];
@surface0: @catppuccin[@@lookup][@surface0]; @surface0: @catppuccin[@@flavor][@surface0];
@base: @catppuccin[@@lookup][@base]; @base: @catppuccin[@@flavor][@base];
@mantle: @catppuccin[@@lookup][@mantle]; @mantle: @catppuccin[@@flavor][@mantle];
@crust: @catppuccin[@@lookup][@crust]; @crust: @catppuccin[@@flavor][@crust];
@accent-color: @catppuccin[@@lookup][@@accent]; @accent: @catppuccin[@@flavor][@@accentColor];
color-scheme: if(@lookup = latte, light, dark); color-scheme: if(@flavor = latte, light, dark);
::selection { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
input, input,
@@ -157,7 +157,7 @@
} }
} }
--accent: @accent-color !important; --accent: @accent !important;
--green: @green !important; --green: @green !important;
--text: @text !important; --text: @text !important;
--foreground: @crust !important; --foreground: @crust !important;
+50 -50
View File
@@ -18,53 +18,53 @@
@-moz-document domain("lichess.org") { @-moz-document domain("lichess.org") {
:root:has(body[data-theme="light"]) { :root:has(body[data-theme="light"]) {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
:root:has(body[data-theme="dark"]) { :root:has(body[data-theme="dark"]) {
#catppuccin(@darkFlavor, @accentColor); #catppuccin(@darkFlavor);
} }
:root:has(body[data-theme="system"]) { :root:has(body[data-theme="system"]) {
@media (prefers-color-scheme: light) { @media (prefers-color-scheme: light) {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
@media (prefers-color-scheme: dark) { @media (prefers-color-scheme: dark) {
#catppuccin(@darkFlavor, @accentColor); #catppuccin(@darkFlavor);
} }
} }
#catppuccin(@lookup, @accent) { #catppuccin(@flavor) {
@rosewater: @catppuccin[@@lookup][@rosewater]; @rosewater: @catppuccin[@@flavor][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo]; @flamingo: @catppuccin[@@flavor][@flamingo];
@pink: @catppuccin[@@lookup][@pink]; @pink: @catppuccin[@@flavor][@pink];
@mauve: @catppuccin[@@lookup][@mauve]; @mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@lookup][@red]; @red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@lookup][@maroon]; @maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@lookup][@peach]; @peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@lookup][@yellow]; @yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@lookup][@green]; @green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@lookup][@teal]; @teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@lookup][@sky]; @sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@lookup][@sapphire]; @sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@lookup][@blue]; @blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@lookup][@lavender]; @lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@lookup][@text]; @text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@lookup][@subtext1]; @subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@lookup][@subtext0]; @subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@lookup][@overlay2]; @overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@lookup][@overlay1]; @overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@lookup][@overlay0]; @overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@lookup][@surface2]; @surface2: @catppuccin[@@flavor][@surface2];
@surface1: @catppuccin[@@lookup][@surface1]; @surface1: @catppuccin[@@flavor][@surface1];
@surface0: @catppuccin[@@lookup][@surface0]; @surface0: @catppuccin[@@flavor][@surface0];
@base: @catppuccin[@@lookup][@base]; @base: @catppuccin[@@flavor][@base];
@mantle: @catppuccin[@@lookup][@mantle]; @mantle: @catppuccin[@@flavor][@mantle];
@crust: @catppuccin[@@lookup][@crust]; @crust: @catppuccin[@@flavor][@crust];
@accent-color: @catppuccin[@@lookup][@@accent]; @accent: @catppuccin[@@flavor][@@accentColor];
color-scheme: if(@lookup = latte, light, dark); color-scheme: if(@flavor = latte, light, dark);
::selection { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
input, input,
@@ -74,7 +74,7 @@
} }
} }
html, &,
body { body {
background: @base linear-gradient(to bottom, @crust, @base 116px) background: @base linear-gradient(to bottom, @crust, @base 116px)
no-repeat; no-repeat;
@@ -83,7 +83,7 @@
/* Button */ /* Button */
.site-title a { .site-title a {
color: @accent-color; color: @accent;
} }
.site-title span { .site-title span {
color: @text; color: @text;
@@ -94,7 +94,7 @@
background-color: fade(@overlay0, 50%); background-color: fade(@overlay0, 50%);
} }
.hooks__list tr.join:hover td { .hooks__list tr.join:hover td {
background-color: fade(@accent-color, 50%); background-color: fade(@accent, 50%);
} }
/* Topbar */ /* Topbar */
@@ -125,7 +125,7 @@
#topnav.hover section:hover > a, #topnav.hover section:hover > a,
#topnav section:active > a, #topnav section:active > a,
#topnav div { #topnav div {
border-left-color: @accent-color; border-left-color: @accent;
} }
signal > i { signal > i {
background-color: @green; background-color: @green;
@@ -209,7 +209,7 @@
a:hover, a:hover,
a:active, a:active,
a:focus { a:focus {
color: @accent-color; color: @accent;
} }
/* Homepage cards */ /* Homepage cards */
@@ -221,7 +221,7 @@
background: fade(@crust, 20%); background: fade(@crust, 20%);
border-color: @surface0; border-color: @surface0;
&:hover { &:hover {
background-color: fade(@accent-color, 20%); background-color: fade(@accent, 20%);
} }
} }
.hook__filters { .hook__filters {
@@ -386,15 +386,15 @@
} }
square.move-dest { square.move-dest {
background: radial-gradient( background: radial-gradient(
fade(@accent-color, 50%) 19%, fade(@accent, 50%) 19%,
rgba(0, 0, 0, 0) 20% rgba(0, 0, 0, 0) 20%
); );
} }
square.selected { square.selected {
background: fade(@accent-color, 50%); background: fade(@accent, 50%);
} }
square.last-move { square.last-move {
background: fade(@accent-color, 40%); background: fade(@accent, 40%);
} }
.rclock .time { .rclock .time {
background: @mantle; background: @mantle;
@@ -404,7 +404,7 @@
background: #384722; /* putting it back to default so that the time on the clock is readable */ background: #384722; /* putting it back to default so that the time on the clock is readable */
} }
.rclock .bar { .rclock .bar {
background: @accent-color; background: @accent;
} }
/* Game Cards */ /* Game Cards */
@@ -513,13 +513,13 @@
background: @mantle; background: @mantle;
} }
.ceval .settings-gear.active { .ceval .settings-gear.active {
background-color: @accent-color; background-color: @accent;
} }
#ceval-settings { #ceval-settings {
border-top-color: @accent-color; border-top-color: @accent;
} }
.mchat__tab:hover { .mchat__tab:hover {
background: fade(@accent-color, 50%); background: fade(@accent, 50%);
} }
/* Openings */ /* Openings */
.opening__config, .opening__config,
@@ -530,13 +530,13 @@
outline-color: @base; outline-color: @base;
} }
.opening__next:hover { .opening__next:hover {
outline-color: @accent-color; outline-color: @accent;
} }
.opening__next__popularity span { .opening__next__popularity span {
background: @accent-color; background: @accent;
} }
.opening__next__title { .opening__next__title {
color: @accent-color; color: @accent;
} }
/* Puzzles */ /* Puzzles */
+44 -44
View File
@@ -21,45 +21,45 @@
domain("translate.projectsegfau.lt"), domain("translate.projectsegfau.lt"),
domain("lingva.garudalinux.org") { domain("lingva.garudalinux.org") {
.chakra-ui-light { .chakra-ui-light {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
.chakra-ui-dark { .chakra-ui-dark {
#catppuccin(@darkFlavor, @accentColor); #catppuccin(@darkFlavor);
} }
#catppuccin(@lookup, @accent) { #catppuccin(@flavor) {
@rosewater: @catppuccin[@@lookup][@rosewater]; @rosewater: @catppuccin[@@flavor][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo]; @flamingo: @catppuccin[@@flavor][@flamingo];
@pink: @catppuccin[@@lookup][@pink]; @pink: @catppuccin[@@flavor][@pink];
@mauve: @catppuccin[@@lookup][@mauve]; @mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@lookup][@red]; @red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@lookup][@maroon]; @maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@lookup][@peach]; @peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@lookup][@yellow]; @yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@lookup][@green]; @green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@lookup][@teal]; @teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@lookup][@sky]; @sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@lookup][@sapphire]; @sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@lookup][@blue]; @blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@lookup][@lavender]; @lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@lookup][@text]; @text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@lookup][@subtext1]; @subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@lookup][@subtext0]; @subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@lookup][@overlay2]; @overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@lookup][@overlay1]; @overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@lookup][@overlay0]; @overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@lookup][@surface2]; @surface2: @catppuccin[@@flavor][@surface2];
@surface1: @catppuccin[@@lookup][@surface1]; @surface1: @catppuccin[@@flavor][@surface1];
@surface0: @catppuccin[@@lookup][@surface0]; @surface0: @catppuccin[@@flavor][@surface0];
@base: @catppuccin[@@lookup][@base]; @base: @catppuccin[@@flavor][@base];
@mantle: @catppuccin[@@lookup][@mantle]; @mantle: @catppuccin[@@flavor][@mantle];
@crust: @catppuccin[@@lookup][@crust]; @crust: @catppuccin[@@flavor][@crust];
@accent-color: @catppuccin[@@lookup][@@accent]; @accent: @catppuccin[@@flavor][@@accentColor];
color-scheme: if(@lookup = latte, light, dark); color-scheme: if(@flavor = latte, light, dark);
::selection { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
input, input,
@@ -75,20 +75,20 @@
} }
header { header {
background-color: @accent-color; background-color: @accent;
.chakra-button { .chakra-button {
color: darken(@accent-color, 50%); color: darken(@accent, 50%);
background: lighten(@accent-color, 5%); background: lighten(@accent, 5%);
&:hover { &:hover {
background: darken(@accent-color, 5%); background: darken(@accent, 5%);
} }
} }
} }
footer { footer {
background-color: @accent-color; background-color: @accent;
color: darken(@accent-color, 50%); color: darken(@accent, 50%);
} }
#__next > div { #__next > div {
@@ -100,29 +100,29 @@
color: @text; color: @text;
select { select {
border-color: @accent-color; border-color: @accent;
color: @text; color: @text;
} }
.chakra-select__icon { .chakra-select__icon {
color: @text; color: @text;
} }
.chakra-button { .chakra-button {
color: @accent-color; color: @accent;
border-color: @accent-color; border-color: @accent;
&:hover:not(:disabled) { &:hover:not(:disabled) {
background-color: rgba(@accent-color, 0.12); background-color: fade(@accent, 12%);
} }
// Auto translate button (clicked) (Dark and Light classes) // Auto translate button (clicked) (Dark and Light classes)
&.css-1huvcr7, &.css-1huvcr7,
&.css-q22xb2 { &.css-q22xb2 {
background: @accent-color; background: @accent;
color: @crust; color: @crust;
} }
} }
.chakra-stack { .chakra-stack {
border-color: @accent-color; border-color: @accent;
} }
textarea { textarea {
+196 -196
View File
@@ -17,46 +17,46 @@
@-moz-document domain("www.linkedin.com") { @-moz-document domain("www.linkedin.com") {
:root:not(.theme--dark, .theme--mercado-dark) { :root:not(.theme--dark, .theme--mercado-dark) {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
:root.theme--dark, :root.theme--dark,
:root.theme--mercado-dark { :root.theme--mercado-dark {
#catppuccin(@darkFlavor, @accentColor); #catppuccin(@darkFlavor);
} }
#catppuccin(@lookup, @accent) { #catppuccin(@flavor) {
@rosewater: @catppuccin[@@lookup][@rosewater]; @rosewater: @catppuccin[@@flavor][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo]; @flamingo: @catppuccin[@@flavor][@flamingo];
@pink: @catppuccin[@@lookup][@pink]; @pink: @catppuccin[@@flavor][@pink];
@mauve: @catppuccin[@@lookup][@mauve]; @mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@lookup][@red]; @red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@lookup][@maroon]; @maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@lookup][@peach]; @peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@lookup][@yellow]; @yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@lookup][@green]; @green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@lookup][@teal]; @teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@lookup][@sky]; @sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@lookup][@sapphire]; @sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@lookup][@blue]; @blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@lookup][@lavender]; @lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@lookup][@text]; @text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@lookup][@subtext1]; @subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@lookup][@subtext0]; @subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@lookup][@overlay2]; @overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@lookup][@overlay1]; @overlay1: @catppuccin[@@flavor][@overlay1];
@surface0: @catppuccin[@@lookup][@surface0]; @overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@lookup][@surface2]; @surface2: @catppuccin[@@flavor][@surface2];
@surface1: @catppuccin[@@lookup][@surface1]; @surface1: @catppuccin[@@flavor][@surface1];
@surface0: @catppuccin[@@lookup][@surface0]; @surface0: @catppuccin[@@flavor][@surface0];
@base: @catppuccin[@@lookup][@base]; @base: @catppuccin[@@flavor][@base];
@mantle: @catppuccin[@@lookup][@mantle]; @mantle: @catppuccin[@@flavor][@mantle];
@crust: @catppuccin[@@lookup][@crust]; @crust: @catppuccin[@@flavor][@crust];
@accent-color: @catppuccin[@@lookup][@@accent]; @accent: @catppuccin[@@flavor][@@accentColor];
color-scheme: if(@lookup = latte, light, dark); color-scheme: if(@flavor = latte, light, dark);
::selection { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
input, input,
@@ -69,7 +69,7 @@
--black: @crust; --black: @crust;
--black-a90: @crust; --black-a90: @crust;
--black-a75: @crust; --black-a75: @crust;
--black-a60: fadeout(@crust, 40%); --black-a60: fade(@crust, 60%);
--black-a45: @crust; --black-a45: @crust;
--black-a30: @crust; --black-a30: @crust;
--black-a15: @crust; --black-a15: @crust;
@@ -104,21 +104,21 @@
--blue-80: @blue; --blue-80: @blue;
--blue-90: @blue; --blue-90: @blue;
--blue-100: @blue; --blue-100: @blue;
--blue-50-a20: fadeout(@blue, 80%); --blue-50-a20: fade(@blue, 20%);
--blue-50-a25: fadeout(@blue, 75%); --blue-50-a25: fade(@blue, 25%);
--blue-50-a30: fadeout(@blue, 70%); --blue-50-a30: fade(@blue, 30%);
--blue-50-a40: fadeout(@blue, 60%); --blue-50-a40: fade(@blue, 40%);
--blue-60-a10: fadeout(@blue, 90%); --blue-60-a10: fade(@blue, 10%);
--blue-60-a15: fadeout(@blue, 15%); --blue-60-a15: fade(@blue, 85%);
--blue-60-a20: fadeout(@blue, 80%); --blue-60-a20: fade(@blue, 20%);
--blue-60-a25: fadeout(@blue, 75%); --blue-60-a25: fade(@blue, 25%);
--blue-60-a30: fadeout(@blue, 70%); --blue-60-a30: fade(@blue, 30%);
--blue-60-a35: fadeout(@blue, 65%); --blue-60-a35: fade(@blue, 35%);
--blue-60-a40: fadeout(@blue, 60%); --blue-60-a40: fade(@blue, 40%);
--blue-60-a45: fadeout(@blue, 55%); --blue-60-a45: fade(@blue, 45%);
--blue-70-a30: fadeout(@sapphire, 70%); --blue-70-a30: fade(@sapphire, 30%);
--blue-70-a40: fadeout(@sapphire, 60%); --blue-70-a40: fade(@sapphire, 40%);
--blue-70-a50: fadeout(@sapphire, 50%); --blue-70-a50: fade(@sapphire, 50%);
--cool-gray-10: @mantle; --cool-gray-10: @mantle;
--cool-gray-20: @surface0; --cool-gray-20: @surface0;
@@ -131,12 +131,12 @@
--cool-gray-85: @mantle; --cool-gray-85: @mantle;
--cool-gray-90: @mantle; --cool-gray-90: @mantle;
--cool-gray-100: @mantle; --cool-gray-100: @mantle;
--cool-gray-60-a10: fadeout(@mantle, 90%); --cool-gray-60-a10: fade(@mantle, 10%);
--cool-gray-60-a15: fadeout(@mantle, 85%); --cool-gray-60-a15: fade(@mantle, 15%);
--cool-gray-60-a20: fadeout(@mantle, 80%); --cool-gray-60-a20: fade(@mantle, 20%);
--cool-gray-60-a25: fadeout(@mantle, 75%); --cool-gray-60-a25: fade(@mantle, 25%);
--cool-gray-60-a30: fadeout(@mantle, 70%); --cool-gray-60-a30: fade(@mantle, 30%);
--cool-gray-60-a35: fadeout(@mantle, 65%); --cool-gray-60-a35: fade(@mantle, 35%);
--warm-gray-10: @overlay1; --warm-gray-10: @overlay1;
--warm-gray-20: @overlay1; --warm-gray-20: @overlay1;
@@ -148,12 +148,12 @@
--warm-gray-80: @overlay1; --warm-gray-80: @overlay1;
--warm-gray-90: @overlay1; --warm-gray-90: @overlay1;
--warm-gray-100: @overlay1; --warm-gray-100: @overlay1;
--warm-gray-60-a10: fadeout(@overlay1, 90%); --warm-gray-60-a10: fade(@overlay1, 10%);
--warm-gray-60-a15: fadeout(@overlay1, 85%); --warm-gray-60-a15: fade(@overlay1, 15%);
--warm-gray-60-a20: fadeout(@overlay1, 80%); --warm-gray-60-a20: fade(@overlay1, 20%);
--warm-gray-60-a25: fadeout(@overlay1, 75%); --warm-gray-60-a25: fade(@overlay1, 25%);
--warm-gray-60-a30: fadeout(@overlay1, 70%); --warm-gray-60-a30: fade(@overlay1, 30%);
--warm-gray-60-a35: fadeout(@overlay1, 65%); --warm-gray-60-a35: fade(@overlay1, 35%);
--warm-red-10: @maroon; --warm-red-10: @maroon;
--warm-red-20: @maroon; --warm-red-20: @maroon;
@@ -165,12 +165,12 @@
--warm-red-80: @maroon; --warm-red-80: @maroon;
--warm-red-90: @maroon; --warm-red-90: @maroon;
--warm-red-100: @maroon; --warm-red-100: @maroon;
--warm-red-60-a10: fadeout(@maroon, 90%); --warm-red-60-a10: fade(@maroon, 10%);
--warm-red-60-a15: fadeout(@maroon, 85%); --warm-red-60-a15: fade(@maroon, 15%);
--warm-red-60-a20: fadeout(@maroon, 80%); --warm-red-60-a20: fade(@maroon, 20%);
--warm-red-60-a25: fadeout(@maroon, 75%); --warm-red-60-a25: fade(@maroon, 25%);
--warm-red-60-a30: fadeout(@maroon, 70%); --warm-red-60-a30: fade(@maroon, 30%);
--warm-red-60-a35: fadeout(@maroon, 65%); --warm-red-60-a35: fade(@maroon, 35%);
--teal-10: @teal; --teal-10: @teal;
--teal-20: @teal; --teal-20: @teal;
@@ -182,13 +182,13 @@
--teal-80: @teal; --teal-80: @teal;
--teal-90: @teal; --teal-90: @teal;
--teal-100: @teal; --teal-100: @teal;
--teal-50-a30: fadein(@teal, 70%); --teal-50-a30: fade(@teal, 30%);
--teal-60-a10: fadeout(@teal, 90%); --teal-60-a10: fade(@teal, 10%);
--teal-60-a15: fadeout(@teal, 85%); --teal-60-a15: fade(@teal, 15%);
--teal-60-a20: fadeout(@teal, 80%); --teal-60-a20: fade(@teal, 20%);
--teal-60-a25: fadeout(@teal, 75%); --teal-60-a25: fade(@teal, 25%);
--teal-60-a30: fadeout(@teal, 70%); --teal-60-a30: fade(@teal, 30%);
--teal-60-a35: fadeout(@teal, 65%); --teal-60-a35: fade(@teal, 35%);
--purple-10: @lavender; --purple-10: @lavender;
--purple-20: @lavender; --purple-20: @lavender;
@@ -200,14 +200,14 @@
--purple-80: @lavender; --purple-80: @lavender;
--purple-90: @lavender; --purple-90: @lavender;
--purple-100: @lavender; --purple-100: @lavender;
--purple-40-a15: fadeout(@lavender, 85%); --purple-40-a15: fade(@lavender, 15%);
--purple-60-a10: fadeout(@lavender, 90%); --purple-60-a10: fade(@lavender, 10%);
--purple-60-a15: fadeout(@lavender, 85%); --purple-60-a15: fade(@lavender, 15%);
--purple-60-a20: fadeout(@lavender, 80%); --purple-60-a20: fade(@lavender, 20%);
--purple-60-a25: fadeout(@lavender, 75%); --purple-60-a25: fade(@lavender, 25%);
--purple-60-a30: fadeout(@lavender, 70%); --purple-60-a30: fade(@lavender, 30%);
--purple-60-a35: fadeout(@lavender, 65%); --purple-60-a35: fade(@lavender, 35%);
--purple-70-a15: fadeout(@lavender, 85%); --purple-70-a15: fade(@lavender, 15%);
--system-red-10: @red; --system-red-10: @red;
--system-red-20: @red; --system-red-20: @red;
@@ -219,12 +219,12 @@
--system-red-80: @red; --system-red-80: @red;
--system-red-90: @red; --system-red-90: @red;
--system-red-100: @red; --system-red-100: @red;
--system-red-60-a10: fadeout(@red, 90%); --system-red-60-a10: fade(@red, 10%);
--system-red-60-a15: fadeout(@red, 85%); --system-red-60-a15: fade(@red, 15%);
--system-red-60-a20: fadeout(@red, 80%); --system-red-60-a20: fade(@red, 20%);
--system-red-60-a25: fadeout(@red, 75%); --system-red-60-a25: fade(@red, 25%);
--system-red-60-a30: fadeout(@red, 70%); --system-red-60-a30: fade(@red, 30%);
--system-red-60-a35: fadeout(@red, 65%); --system-red-60-a35: fade(@red, 35%);
--system-green-10: darken(@green, 20%); --system-green-10: darken(@green, 20%);
--system-green-20: darken(@green, 20%); --system-green-20: darken(@green, 20%);
@@ -236,12 +236,12 @@
--system-green-80: darken(@green, 20%); --system-green-80: darken(@green, 20%);
--system-green-90: darken(@green, 20%); --system-green-90: darken(@green, 20%);
--system-green-100: darken(@green, 20%); --system-green-100: darken(@green, 20%);
--system-green-60-a10: fadeout(darken(@green, 20), 90%); --system-green-60-a10: fade(darken(@green, 20%), 10%);
--system-green-60-a15: fadeout(darken(@green, 20), 85%); --system-green-60-a15: fade(darken(@green, 20%), 15%);
--system-green-60-a20: fadeout(darken(@green, 20), 80%); --system-green-60-a20: fade(darken(@green, 20%), 20%);
--system-green-60-a25: fadeout(darken(@green, 20), 75%); --system-green-60-a25: fade(darken(@green, 20%), 25%);
--system-green-60-a30: fadeout(darken(@green, 20), 70%); --system-green-60-a30: fade(darken(@green, 20%), 30%);
--system-green-60-a35: fadeout(darken(@green, 20), 65%); --system-green-60-a35: fade(darken(@green, 20%), 35%);
--pink-10: @pink; --pink-10: @pink;
--pink-20: @pink; --pink-20: @pink;
@@ -253,12 +253,12 @@
--pink-80: @pink; --pink-80: @pink;
--pink-90: @pink; --pink-90: @pink;
--pink-100: @pink; --pink-100: @pink;
--pink-60-a10: fadeout(@pink, 90%); --pink-60-a10: fade(@pink, 10%);
--pink-60-a15: fadeout(@pink, 85%); --pink-60-a15: fade(@pink, 15%);
--pink-60-a20: fadeout(@pink, 80%); --pink-60-a20: fade(@pink, 20%);
--pink-60-a25: fadeout(@pink, 75%); --pink-60-a25: fade(@pink, 25%);
--pink-60-a30: fadeout(@pink, 70%); --pink-60-a30: fade(@pink, 30%);
--pink-60-a35: fadeout(@pink, 65%); --pink-60-a35: fade(@pink, 35%);
--amber-10: @yellow; --amber-10: @yellow;
--amber-20: @yellow; --amber-20: @yellow;
@@ -270,13 +270,13 @@
--amber-80: @yellow; --amber-80: @yellow;
--amber-90: @yellow; --amber-90: @yellow;
--amber-100: @yellow; --amber-100: @yellow;
--amber-30-a50: fadein(@yellow, 50%); --amber-30-a50: fade(@yellow, 50%);
--amber-60-a10: fadeout(@yellow, 90%); --amber-60-a10: fade(@yellow, 10%);
--amber-60-a15: fadeout(@yellow, 85%); --amber-60-a15: fade(@yellow, 15%);
--amber-60-a20: fadeout(@yellow, 80%); --amber-60-a20: fade(@yellow, 20%);
--amber-60-a25: fadeout(@yellow, 75%); --amber-60-a25: fade(@yellow, 25%);
--amber-60-a30: fadeout(@yellow, 70%); --amber-60-a30: fade(@yellow, 30%);
--amber-60-a35: fadeout(@yellow, 65%); --amber-60-a35: fade(@yellow, 35%);
--copper-10: @rosewater; --copper-10: @rosewater;
--copper-20: @rosewater; --copper-20: @rosewater;
@@ -288,12 +288,12 @@
--copper-80: @rosewater; --copper-80: @rosewater;
--copper-90: @rosewater; --copper-90: @rosewater;
--copper-100: @rosewater; --copper-100: @rosewater;
--copper-60-a10: fadeout(@rosewater, 90%); --copper-60-a10: fade(@rosewater, 10%);
--copper-60-a15: fadeout(@rosewater, 85%); --copper-60-a15: fade(@rosewater, 15%);
--copper-60-a20: fadeout(@rosewater, 80%); --copper-60-a20: fade(@rosewater, 20%);
--copper-60-a25: fadeout(@rosewater, 75%); --copper-60-a25: fade(@rosewater, 25%);
--copper-60-a30: fadeout(@rosewater, 70%); --copper-60-a30: fade(@rosewater, 30%);
--copper-60-a35: fadeout(@rosewater, 65%); --copper-60-a35: fade(@rosewater, 35%);
--green-10: @green; --green-10: @green;
--green-20: @green; --green-20: @green;
@@ -305,12 +305,12 @@
--green-80: @green; --green-80: @green;
--green-90: @green; --green-90: @green;
--green-100: @green; --green-100: @green;
--green-60-a10: fadeout(@green, 90%); --green-60-a10: fade(@green, 10%);
--green-60-a15: fadeout(@green, 85%); --green-60-a15: fade(@green, 15%);
--green-60-a20: fadeout(@green, 80%); --green-60-a20: fade(@green, 20%);
--green-60-a25: fadeout(@green, 75%); --green-60-a25: fade(@green, 25%);
--green-60-a30: fadeout(@green, 70%); --green-60-a30: fade(@green, 30%);
--green-60-a35: fadeout(@green, 65%); --green-60-a35: fade(@green, 35%);
--sage-10: darken(@green, 40%); --sage-10: darken(@green, 40%);
--sage-20: darken(@green, 40%); --sage-20: darken(@green, 40%);
@@ -322,12 +322,12 @@
--sage-80: darken(@green, 40%); --sage-80: darken(@green, 40%);
--sage-90: darken(@green, 40%); --sage-90: darken(@green, 40%);
--sage-100: darken(@green, 40%); --sage-100: darken(@green, 40%);
--sage-60-a10: fadeout(darken(@green, 40), 90%); --sage-60-a10: fade(darken(@green, 40%), 10%);
--sage-60-a15: fadeout(darken(@green, 40), 85%); --sage-60-a15: fade(darken(@green, 40%), 15%);
--sage-60-a20: fadeout(darken(@green, 40), 80%); --sage-60-a20: fade(darken(@green, 40%), 20%);
--sage-60-a25: fadeout(darken(@green, 40), 75%); --sage-60-a25: fade(darken(@green, 40%), 25%);
--sage-60-a30: fadeout(darken(@green, 40), 70%); --sage-60-a30: fade(darken(@green, 40%), 30%);
--sage-60-a35: fadeout(darken(@green, 40), 65%); --sage-60-a35: fade(darken(@green, 40%), 35%);
--lime-10: lighten(@green, 20%); --lime-10: lighten(@green, 20%);
--lime-20: lighten(@green, 20%); --lime-20: lighten(@green, 20%);
@@ -339,29 +339,29 @@
--lime-80: lighten(@green, 20%); --lime-80: lighten(@green, 20%);
--lime-90: lighten(@green, 20%); --lime-90: lighten(@green, 20%);
--lime-100: lighten(@green, 20%); --lime-100: lighten(@green, 20%);
--lime-60-a10: fadeout(lighten(@green, 20), 90%); --lime-60-a10: fade(lighten(@green, 20%), 10%);
--lime-60-a15: fadeout(lighten(@green, 20), 85%); --lime-60-a15: fade(lighten(@green, 20%), 15%);
--lime-60-a20: fadeout(lighten(@green, 20), 80%); --lime-60-a20: fade(lighten(@green, 20%), 20%);
--lime-60-a25: fadeout(lighten(@green, 20), 75%); --lime-60-a25: fade(lighten(@green, 20%), 25%);
--lime-60-a30: fadeout(lighten(@green, 20), 70%); --lime-60-a30: fade(lighten(@green, 20%), 30%);
--lime-60-a35: fadeout(lighten(@green, 20), 65%); --lime-60-a35: fade(lighten(@green, 20%), 35%);
--camo-10: @accent-color; --camo-10: @accent;
--camo-20: @accent-color; --camo-20: @accent;
--camo-30: @accent-color; --camo-30: @accent;
--camo-40: @accent-color; --camo-40: @accent;
--camo-50: @accent-color; --camo-50: @accent;
--camo-60: @accent-color; --camo-60: @accent;
--camo-70: @accent-color; --camo-70: @accent;
--camo-80: @accent-color; --camo-80: @accent;
--camo-90: @accent-color; --camo-90: @accent;
--camo-100: @accent-color; --camo-100: @accent;
--camo-60-a10: fadeout(@accent-color, 90%); --camo-60-a10: fade(@accent, 10%);
--camo-60-a15: fadeout(@accent-color, 85%); --camo-60-a15: fade(@accent, 15%);
--camo-60-a20: fadeout(@accent-color, 80%); --camo-60-a20: fade(@accent, 20%);
--camo-60-a25: fadeout(@accent-color, 75%); --camo-60-a25: fade(@accent, 25%);
--camo-60-a30: fadeout(@accent-color, 70%); --camo-60-a30: fade(@accent, 30%);
--camo-60-a35: fadeout(@accent-color, 65%); --camo-60-a35: fade(@accent, 35%);
--smoke-10: @surface1; --smoke-10: @surface1;
--smoke-20: @surface1; --smoke-20: @surface1;
@@ -373,12 +373,12 @@
--smoke-80: @surface1; --smoke-80: @surface1;
--smoke-90: @surface1; --smoke-90: @surface1;
--smoke-100: @surface1; --smoke-100: @surface1;
--smoke-60-a10: fadeout(@surface1, 90%); --smoke-60-a10: fade(@surface1, 10%);
--smoke-60-a15: fadeout(@surface1, 85%); --smoke-60-a15: fade(@surface1, 15%);
--smoke-60-a20: fadeout(@surface1, 80%); --smoke-60-a20: fade(@surface1, 20%);
--smoke-60-a25: fadeout(@surface1, 75%); --smoke-60-a25: fade(@surface1, 25%);
--smoke-60-a30: fadeout(@surface1, 70%); --smoke-60-a30: fade(@surface1, 30%);
--smoke-60-a35: fadeout(@surface1, 65%); --smoke-60-a35: fade(@surface1, 35%);
--lavender-10: @lavender; --lavender-10: @lavender;
--lavender-20: @lavender; --lavender-20: @lavender;
@@ -390,12 +390,12 @@
--lavender-80: @lavender; --lavender-80: @lavender;
--lavender-90: @lavender; --lavender-90: @lavender;
--lavender-100: @lavender; --lavender-100: @lavender;
--lavender-60-a10: fadeout(@lavender, 90%); --lavender-60-a10: fade(@lavender, 10%);
--lavender-60-a15: fadeout(@lavender, 85%); --lavender-60-a15: fade(@lavender, 15%);
--lavender-60-a20: fadeout(@lavender, 80%); --lavender-60-a20: fade(@lavender, 20%);
--lavender-60-a25: fadeout(@lavender, 75%); --lavender-60-a25: fade(@lavender, 25%);
--lavender-60-a30: fadeout(@lavender, 70%); --lavender-60-a30: fade(@lavender, 30%);
--lavender-60-a35: fadeout(@lavender, 65%); --lavender-60-a35: fade(@lavender, 35%);
--mauve-10: @mauve; --mauve-10: @mauve;
--mauve-20: @mauve; --mauve-20: @mauve;
@@ -407,13 +407,13 @@
--mauve-80: @mauve; --mauve-80: @mauve;
--mauve-90: @mauve; --mauve-90: @mauve;
--mauve-100: @mauve; --mauve-100: @mauve;
--mauve-60-a10: fadeout(@mauve, 90%); --mauve-60-a10: fade(@mauve, 10%);
--mauve-60-a15: fadeout(@mauve, 85%); --mauve-60-a15: fade(@mauve, 15%);
--mauve-60-a20: fadeout(@mauve, 80%); --mauve-60-a20: fade(@mauve, 20%);
--mauve-60-a25: fadeout(@mauve, 75%); --mauve-60-a25: fade(@mauve, 25%);
--mauve-60-a30: fadeout(@mauve, 70%); --mauve-60-a30: fade(@mauve, 30%);
--mauve-60-a35: fadeout(@mauve, 65%); --mauve-60-a35: fade(@mauve, 35%);
--mauve-80-a50: fadeout(@mauve, 50%); --mauve-80-a50: fade(@mauve, 50%);
--system-gray-10: @surface0; --system-gray-10: @surface0;
--system-gray-20: @surface0; --system-gray-20: @surface0;
@@ -425,14 +425,14 @@
--system-gray-80: @surface0; --system-gray-80: @surface0;
--system-gray-90: @surface0; --system-gray-90: @surface0;
--system-gray-100: @surface0; --system-gray-100: @surface0;
--system-gray-60-a10: fadeout(@surface0, 90%); --system-gray-60-a10: fade(@surface0, 10%);
--system-gray-60-a15: fadeout(@surface0, 85%); --system-gray-60-a15: fade(@surface0, 15%);
--system-gray-60-a20: fadeout(@surface0, 80%); --system-gray-60-a20: fade(@surface0, 20%);
--system-gray-60-a25: fadeout(@surface0, 75%); --system-gray-60-a25: fade(@surface0, 25%);
--system-gray-60-a30: fadeout(@surface0, 70%); --system-gray-60-a30: fade(@surface0, 30%);
--system-gray-60-a35: fadeout(@surface0, 65%); --system-gray-60-a35: fade(@surface0, 35%);
--system-gray-60-a40: fadeout(@surface0, 60%); --system-gray-60-a40: fade(@surface0, 40%);
--system-gray-60-a45: fadeout(@surface0, 55%); --system-gray-60-a45: fade(@surface0, 45%);
--system-orange-10: @peach; --system-orange-10: @peach;
--system-orange-20: @peach; --system-orange-20: @peach;
@@ -444,12 +444,12 @@
--system-orange-80: @peach; --system-orange-80: @peach;
--system-orange-90: @peach; --system-orange-90: @peach;
--system-orange-100: @peach; --system-orange-100: @peach;
--system-orange-60-a10: fadeout(@peach, 90%); --system-orange-60-a10: fade(@peach, 10%);
--system-orange-60-a15: fadeout(@peach, 85%); --system-orange-60-a15: fade(@peach, 15%);
--system-orange-60-a20: fadeout(@peach, 80%); --system-orange-60-a20: fade(@peach, 20%);
--system-orange-60-a25: fadeout(@peach, 75%); --system-orange-60-a25: fade(@peach, 25%);
--system-orange-60-a30: fadeout(@peach, 70%); --system-orange-60-a30: fade(@peach, 30%);
--system-orange-60-a35: fadeout(@peach, 65%); --system-orange-60-a35: fade(@peach, 35%);
/* quality of life changes */ /* quality of life changes */
--color-border-low-emphasis: @surface0; --color-border-low-emphasis: @surface0;
@@ -461,26 +461,26 @@
} }
/* more accent */ /* more accent */
--voyager-color-background-badge-notification: @accent-color; --voyager-color-background-badge-notification: @accent;
--color-signal-positive: @accent-color; --color-signal-positive: @accent;
--color-checked: @accent-color; --color-checked: @accent;
--color-checked-hover: @accent-color; --color-checked-hover: @accent;
--color-checked-active: @accent-color; --color-checked-active: @accent;
/* fix for hover buttons */ /* fix for hover buttons */
--artdeco-button-secondary-default-hover-background-color: fadeout( --artdeco-button-secondary-default-hover-background-color: fade(
@blue, @blue,
80% 20%
); );
/* text on dark */ /* text on dark */
--color-text-on-dark: @text; --color-text-on-dark: @text;
& when not(@lookup = latte) { & when not(@flavor = latte) {
--color-element: @crust; --color-element: @crust;
} }
& when (@lookup = latte) { & when (@flavor = latte) {
--black: @text; --black: @text;
--black-a90: @text; --black-a90: @text;
--black-a75: @text; --black-a75: @text;
@@ -491,7 +491,7 @@
--black-a04: @text; --black-a04: @text;
--black-a100: @text; --black-a100: @text;
--color-scrim: fadeout(@crust, 60%); --color-scrim: fade(@crust, 40%);
--color-icon-on-dark: @text; --color-icon-on-dark: @text;
--white: @mantle; --white: @mantle;
@@ -520,16 +520,16 @@
--warm-gray-80: @base; --warm-gray-80: @base;
--warm-gray-90: @base; --warm-gray-90: @base;
--warm-gray-100: @base; --warm-gray-100: @base;
--warm-gray-60-a10: fadeout(@base, 90%); --warm-gray-60-a10: fade(@base, 10%);
--warm-gray-60-a15: fadeout(@base, 85%); --warm-gray-60-a15: fade(@base, 15%);
--warm-gray-60-a20: fadeout(@base, 80%); --warm-gray-60-a20: fade(@base, 20%);
--warm-gray-60-a25: fadeout(@base, 75%); --warm-gray-60-a25: fade(@base, 25%);
--warm-gray-60-a30: fadeout(@base, 70%); --warm-gray-60-a30: fade(@base, 30%);
--warm-gray-60-a35: fadeout(@base, 65%); --warm-gray-60-a35: fade(@base, 35%);
} }
.share-promoted-detour-button-legacy { .share-promoted-detour-button-legacy {
background-color: @accent-color !important; background-color: @accent !important;
} }
} }
} }
+56 -58
View File
@@ -16,50 +16,48 @@
==/UserStyle== */ ==/UserStyle== */
@-moz-document domain("listenbrainz.org") { @-moz-document domain("listenbrainz.org") {
@media (prefers-color-scheme: light) { :root {
:root { @media (prefers-color-scheme: light) {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
} @media (prefers-color-scheme: dark) {
@media (prefers-color-scheme: dark) { #catppuccin(@darkFlavor);
:root {
#catppuccin(@darkFlavor, @accentColor);
} }
} }
#catppuccin(@lookup, @accent) { #catppuccin(@flavor) {
@rosewater: @catppuccin[@@lookup][@rosewater]; @rosewater: @catppuccin[@@flavor][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo]; @flamingo: @catppuccin[@@flavor][@flamingo];
@pink: @catppuccin[@@lookup][@pink]; @pink: @catppuccin[@@flavor][@pink];
@mauve: @catppuccin[@@lookup][@mauve]; @mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@lookup][@red]; @red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@lookup][@maroon]; @maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@lookup][@peach]; @peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@lookup][@yellow]; @yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@lookup][@green]; @green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@lookup][@teal]; @teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@lookup][@sky]; @sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@lookup][@sapphire]; @sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@lookup][@blue]; @blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@lookup][@lavender]; @lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@lookup][@text]; @text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@lookup][@subtext1]; @subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@lookup][@subtext0]; @subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@lookup][@overlay2]; @overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@lookup][@overlay1]; @overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@lookup][@overlay0]; @overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@lookup][@surface2]; @surface2: @catppuccin[@@flavor][@surface2];
@surface1: @catppuccin[@@lookup][@surface1]; @surface1: @catppuccin[@@flavor][@surface1];
@surface0: @catppuccin[@@lookup][@surface0]; @surface0: @catppuccin[@@flavor][@surface0];
@base: @catppuccin[@@lookup][@base]; @base: @catppuccin[@@flavor][@base];
@mantle: @catppuccin[@@lookup][@mantle]; @mantle: @catppuccin[@@flavor][@mantle];
@crust: @catppuccin[@@lookup][@crust]; @crust: @catppuccin[@@flavor][@crust];
@accent-color: @catppuccin[@@lookup][@@accent]; @accent: @catppuccin[@@flavor][@@accentColor];
color-scheme: if(@lookup = latte, light, dark); color-scheme: if(@flavor = latte, light, dark);
::selection { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
input, input,
@@ -84,9 +82,9 @@
nav[role="navigation"] { nav[role="navigation"] {
.navbar-header .navbar-toggle { .navbar-header .navbar-toggle {
border-color: @accent-color; border-color: @accent;
.icon-bar { .icon-bar {
background-color: @accent-color; background-color: @accent;
} }
} }
@@ -199,7 +197,7 @@
.toggle-checkbox:checked + .toggle-switch { .toggle-checkbox:checked + .toggle-switch {
background-color: @surface1; background-color: @surface1;
&::before { &::before {
background-color: @accent-color; background-color: @accent;
} }
} }
@@ -244,18 +242,18 @@
.lb-follow-button.block, .lb-follow-button.block,
.pill.secondary.active { .pill.secondary.active {
color: @crust; color: @crust;
background-color: @accent-color; background-color: @accent;
border-color: transparent; border-color: transparent;
&:hover { &:hover {
color: @crust; color: @crust;
background-color: darken(@accent-color, 5%); background-color: darken(@accent, 5%);
} }
} }
.open > .dropdown-toggle.btn-info { .open > .dropdown-toggle.btn-info {
color: @crust; color: @crust;
background-color: darken(@accent-color, 10%); background-color: darken(@accent, 10%);
} }
.secondary-nav > ol.breadcrumb { .secondary-nav > ol.breadcrumb {
@@ -353,7 +351,7 @@
&.listen-card { &.listen-card {
.listen-thumbnail > div { .listen-thumbnail > div {
color: @accent-color; color: @accent;
background-color: @surface1; background-color: @surface1;
border-top-left-radius: 7px; border-top-left-radius: 7px;
border-bottom-left-radius: 7px; border-bottom-left-radius: 7px;
@@ -369,7 +367,7 @@
color: @text; color: @text;
&:hover, &:hover,
&.playing { &.playing {
color: @accent-color; color: @accent;
} }
} }
@@ -427,7 +425,7 @@
color: @text !important; color: @text !important;
} }
&:hover { &: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--hasActive,
.react-calendar__tile--active { .react-calendar__tile--active {
color: @text; color: @text;
background-color: fade(@accent-color, 40%); background-color: fade(@accent, 40%);
&:enabled:hover { &:enabled:hover {
background-color: fade(@accent-color, 50%); background-color: fade(@accent, 50%);
} }
} }
} }
@@ -593,10 +591,10 @@
background-color: @surface1; background-color: @surface1;
} }
.rc-slider-handle { .rc-slider-handle {
background-color: @accent-color; background-color: @accent;
&.rc-slider-handle-dragging { &.rc-slider-handle-dragging {
background-color: @accent-color; background-color: @accent;
border-color: @accent-color; border-color: @accent;
} }
} }
.rc-slider-mark-text { .rc-slider-mark-text {
@@ -613,12 +611,12 @@
#homepage-container { #homepage-container {
@homepage-bg: linear-gradient(288deg, @peach 16.96%, @mauve 98.91%); @homepage-bg: linear-gradient(288deg, @peach 16.96%, @mauve 98.91%);
@flipped-blue: if( @flipped-blue: if(
@lookup = latte, @flavor = latte,
@catppuccin[@mocha][@blue], @catppuccin[@mocha][@blue],
@catppuccin[@latte][@blue] @catppuccin[@latte][@blue]
); );
@flipped-sky: if( @flipped-sky: if(
@lookup = latte, @flavor = latte,
@catppuccin[@mocha][@sky], @catppuccin[@mocha][@sky],
@catppuccin[@latte][@sky] @catppuccin[@latte][@sky]
); );
@@ -675,10 +673,10 @@
.homepage-info { .homepage-info {
color: @text; color: @text;
.create-account-button { .create-account-button {
background-color: @accent-color; background-color: @accent;
color: @crust; color: @crust;
&:hover { &:hover {
background-color: darken(@accent-color, 5%); background-color: darken(@accent, 5%);
} }
} }
} }
@@ -691,7 +689,7 @@
.progress { .progress {
background-color: @surface1; background-color: @surface1;
> .progress-bar { > .progress-bar {
background-color: @accent-color; background-color: @accent;
} }
} }
@@ -701,14 +699,14 @@
.controls > .btn-link, .controls > .btn-link,
.actions > a { .actions > a {
color: @accent-color; color: @accent;
} }
.actions { .actions {
.heart-actions(); .heart-actions();
.fa-ellipsis-vertical { .fa-ellipsis-vertical {
stroke: @accent-color; stroke: @accent;
} }
} }
+41 -43
View File
@@ -16,58 +16,56 @@
==/UserStyle== */ ==/UserStyle== */
@-moz-document domain("lobste.rs") { @-moz-document domain("lobste.rs") {
@media (prefers-color-scheme: dark) { html.color-scheme-system {
html.color-scheme-system { @media (prefers-color-scheme: light) {
#catppuccin(@darkFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
} @media (prefers-color-scheme: dark) {
@media (prefers-color-scheme: light) { #catppuccin(@darkFlavor);
html.color-scheme-system {
#catppuccin(@lightFlavor, @accentColor);
} }
} }
html.color-scheme-light { html.color-scheme-light {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
html.color-scheme-dark { html.color-scheme-dark {
#catppuccin(@darkFlavor, @accentColor); #catppuccin(@darkFlavor);
} }
#catppuccin(@lookup, @accent) { #catppuccin(@flavor) {
@rosewater: @catppuccin[@@lookup][@rosewater]; @rosewater: @catppuccin[@@flavor][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo]; @flamingo: @catppuccin[@@flavor][@flamingo];
@pink: @catppuccin[@@lookup][@pink]; @pink: @catppuccin[@@flavor][@pink];
@mauve: @catppuccin[@@lookup][@mauve]; @mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@lookup][@red]; @red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@lookup][@maroon]; @maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@lookup][@peach]; @peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@lookup][@yellow]; @yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@lookup][@green]; @green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@lookup][@teal]; @teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@lookup][@sky]; @sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@lookup][@sapphire]; @sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@lookup][@blue]; @blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@lookup][@lavender]; @lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@lookup][@text]; @text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@lookup][@subtext1]; @subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@lookup][@subtext0]; @subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@lookup][@overlay2]; @overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@lookup][@overlay1]; @overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@lookup][@overlay0]; @overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@lookup][@surface2]; @surface2: @catppuccin[@@flavor][@surface2];
@surface1: @catppuccin[@@lookup][@surface1]; @surface1: @catppuccin[@@flavor][@surface1];
@surface0: @catppuccin[@@lookup][@surface0]; @surface0: @catppuccin[@@flavor][@surface0];
@base: @catppuccin[@@lookup][@base]; @base: @catppuccin[@@flavor][@base];
@mantle: @catppuccin[@@lookup][@mantle]; @mantle: @catppuccin[@@flavor][@mantle];
@crust: @catppuccin[@@lookup][@crust]; @crust: @catppuccin[@@flavor][@crust];
@accent-color: @catppuccin[@@lookup][@@accent]; @accent: @catppuccin[@@flavor][@@accentColor];
color-scheme: if(@lookup = latte, light, dark); color-scheme: if(@flavor = latte, light, dark);
::selection { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
input, input,
@@ -97,10 +95,10 @@
--color-tag-meta-bg: @surface0; --color-tag-meta-bg: @surface0;
--color-tag-meta-border: @surface2; --color-tag-meta-border: @surface2;
--color-bg-target: fade(@accent-color, 20%); --color-bg-target: fade(@accent, 20%);
--color-fg-affirmative: @green; --color-fg-affirmative: @green;
--color-fg-accent: @accent-color; --color-fg-accent: @accent;
--color-fg-author: @blue; --color-fg-author: @blue;
--color-fg-contrast-7-5: @blue; --color-fg-contrast-7-5: @blue;
@@ -116,7 +114,7 @@
--color-button-bg: @mantle; --color-button-bg: @mantle;
--color-button-bg-shaded: @surface0; --color-button-bg-shaded: @surface0;
--color-box-border: @surface0; --color-box-border: @surface0;
--color-box-border-focus: @accent-color; --color-box-border-focus: @accent;
--color-box-bg-shaded: @mantle; --color-box-bg-shaded: @mantle;
--color-mobile-story-liner-bg: @base; --color-mobile-story-liner-bg: @base;
@@ -139,7 +137,7 @@
#logo { #logo {
@svg: escape( @svg: escape(
'<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path fill="@{accent-color}" d="M16 16H0V0h16z"/><path fill="@{base}" d="M3.5 13.45v-.63c0-.11 0-.1.1-.11.23-.02.46-.03.69-.07.46-.08.67-.31.74-.78.02-.14.03-.29.03-.43V4.69c0-.18-.02-.36-.04-.53-.03-.31-.23-.5-.52-.61-.27-.1-.55-.11-.83-.13h-.15v-.65c0-.07.02-.09.09-.09h5.24c.07 0 .1.01.1.09-.01.19 0 .37 0 .56v.08c-.14.01-.28 0-.41.02-.2.03-.4.06-.59.11-.35.11-.53.35-.57.68q-.03.225-.03.45v6.39c0 .27.03.54.06.8.03.29.22.48.49.58.23.09.48.11.72.12.63.02 1.25.01 1.86-.15.88-.22 1.47-.77 1.76-1.64.09-.28.13-.57.2-.86.01-.02.03-.06.05-.06h.66c-.02 1.2.02 2.4 0 3.6z"/></svg>' '<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path fill="@{accent}" d="M16 16H0V0h16z"/><path fill="@{base}" d="M3.5 13.45v-.63c0-.11 0-.1.1-.11.23-.02.46-.03.69-.07.46-.08.67-.31.74-.78.02-.14.03-.29.03-.43V4.69c0-.18-.02-.36-.04-.53-.03-.31-.23-.5-.52-.61-.27-.1-.55-.11-.83-.13h-.15v-.65c0-.07.02-.09.09-.09h5.24c.07 0 .1.01.1.09-.01.19 0 .37 0 .56v.08c-.14.01-.28 0-.41.02-.2.03-.4.06-.59.11-.35.11-.53.35-.57.68q-.03.225-.03.45v6.39c0 .27.03.54.06.8.03.29.22.48.49.58.23.09.48.11.72.12.63.02 1.25.01 1.86-.15.88-.22 1.47-.77 1.76-1.64.09-.28.13-.57.2-.86.01-.02.03-.06.05-.06h.66c-.02 1.2.02 2.4 0 3.6z"/></svg>'
); );
background-image: url("data:image/svg+xml,@{svg}"); background-image: url("data:image/svg+xml,@{svg}");
background-color: transparent !important; background-color: transparent !important;
+72 -78
View File
@@ -21,66 +21,60 @@
.theme-mastodon-light, .theme-mastodon-light,
.skin-modern-light, .skin-modern-light,
.skin-mastodon-light { .skin-mastodon-light {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
.theme-contrast, .theme-contrast,
.skin-modern-dark, .skin-modern-dark,
.skin-contrast { .skin-contrast {
#catppuccin(@darkFlavor, @accentColor); #catppuccin(@darkFlavor);
} }
@media (prefers-color-scheme: light) { .theme-default,
.theme-default, .theme-system,
.theme-system, .skin-default,
.skin-default, .skin-system {
.skin-system { @media (prefers-color-scheme: light) {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
}
@media (prefers-color-scheme: dark) {
#catppuccin(@darkFlavor);
} }
} }
@media (prefers-color-scheme: dark) { #catppuccin(@flavor) {
.theme-default, @rosewater: @catppuccin[@@flavor][@rosewater];
.theme-system, @flamingo: @catppuccin[@@flavor][@flamingo];
.skin-default, @pink: @catppuccin[@@flavor][@pink];
.skin-system { @mauve: @catppuccin[@@flavor][@mauve];
#catppuccin(@darkFlavor, @accentColor); @red: @catppuccin[@@flavor][@red];
} @maroon: @catppuccin[@@flavor][@maroon];
} @peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@flavor][@surface2];
@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) { color-scheme: if(@flavor = latte, light, dark);
@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 { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
input, input,
@@ -195,12 +189,12 @@
.reactions-bar__item.active .reactions-bar__item__count, .reactions-bar__item.active .reactions-bar__item__count,
.column-header.active .column-header__icon, .column-header.active .column-header__icon,
.about__section__title { .about__section__title {
color: @accent-color; color: @accent;
} }
button.icon-button i.fa-retweet { button.icon-button i.fa-retweet {
@svg: escape( @svg: escape(
'<svg xmlns="http://www.w3.org/2000/svg" width="22" height="209"><path d="M4.97 3.16c-.1.03-.17.1-.22.18L.8 8.24c-.2.3.03.78.4.8h2.4v2.68c0 4.26-.55 3.62 3.66 3.62h7.66l-2.3-2.84c-.03-.02-.03-.04-.05-.06h-5.3c-.44 0-.72-.3-.72-.72v-2.7h2.5c.37.03.63-.48.4-.77L5.5 3.35a.51.51 0 0 0-.53-.2zm12.16.43c-.55-.02-1.32.02-2.4.02H7.1l2.32 2.85.03.06h5.25c.42 0 .72.28.72.72v2.7h-2.5c-.36.02-.56.54-.3.8l3.92 4.9c.18.25.6.25.78 0l3.94-4.9c.26-.28 0-.83-.37-.8H18.4v-2.7c0-3.15.4-3.62-1.25-3.66z" fill="@{overlay0}" stroke-width="0"/><path d="M7.78 19.66c-.24.02-.44.25-.44.5v2.46h-.06c-1.08 0-1.86-.03-2.4-.03-1.64 0-1.25.43-1.25 3.65v4.47c0 4.26-.56 3.62 3.65 3.62H8.5l-1.3-1.06a.57.57 0 0 1-.2-.3c-.02-.17.06-.35.2-.45l1.33-1.1H7.28c-.44 0-.72-.3-.72-.7v-4.48c0-.44.28-.72.72-.72h.06v2.5c0 .38.54.63.82.38l4.9-3.93c.25-.18.25-.6 0-.78l-4.9-3.92c-.1-.1-.24-.14-.38-.12zm9.34 2.93c-.54-.02-1.3.02-2.4.02h-1.25l1.3 1.07c.1.07.18.2.2.33.02.16-.06.3-.2.4l-1.33 1.1h1.28c.42 0 .72.28.72.72v4.47c0 .42-.3.72-.72.72h-.1v-2.47c0-.3-.3-.53-.6-.47-.07 0-.14.05-.2.1l-4.9 3.93c-.26.18-.26.6 0 .78l4.9 3.92c.27.25.82 0 .8-.38v-2.5h.1c4.27 0 3.65.67 3.65-3.62v-4.47c0-3.15.4-3.62-1.25-3.66zm-6.78 16.07a.49.49 0 0 0-.43.5v2.47H7.3c-1.08 0-1.86-.04-2.4-.04-1.64 0-1.25.43-1.25 3.65v4.47c0 3.66-.23 3.7 2.34 3.66l-1.34-1.1a.57.57 0 0 1-.2-.3c0-.17.07-.35.2-.45l1.96-1.6a.45.45 0 0 1-.04-.2v-4.48c0-.44.28-.72.72-.72H9.9v2.5c0 .36.5.6.8.38l4.93-3.93c.24-.18.24-.6 0-.78l-4.94-3.92a.52.52 0 0 0-.36-.12zm5.63 2.93 1.34 1.1c.1.07.18.2.2.33.02.16-.03.3-.16.4l-1.96 1.6c.02.07.06.13.06.22v4.47c0 .42-.3.72-.72.72h-2.66v-2.47c0-.3-.3-.53-.6-.47-.06.02-.12.05-.18.1l-4.94 3.93c-.24.18-.24.6 0 .78l4.94 3.92c.28.22.78-.02.78-.38v-2.5h2.66c4.27 0 3.65.67 3.65-3.62v-4.47c0-3.66.34-3.7-2.4-3.66zm-2.91 16.07c-.23.03-.4.26-.4.5v2.47H7.28c-1.08 0-1.86-.04-2.4-.04-1.64 0-1.25.43-1.25 3.65v4.87l2.93-2.37v-2.5c0-.44.28-.72.72-.72h5.38v2.5c0 .36.5.6.78.38l4.94-3.93c.24-.18.24-.6 0-.78l-4.94-3.92c-.1-.1-.24-.14-.38-.12zm5.3 6.15-2.92 2.4v2.52c0 .42-.3.72-.72.72h-5.4v-2.47c0-.3-.32-.53-.6-.47-.07.02-.13.05-.2.1L3.6 70.52c-.25.18-.25.6 0 .78l4.93 3.92c.28.22.78-.02.78-.38v-2.5h5.42c4.27 0 3.65.67 3.65-3.62v-4.91zm.89 14.99c-.1.03-.2.1-.28.17l-.9.9c-.44-.3-1.36-.25-3.35-.25H7.28c-1.08 0-1.86-.03-2.4-.03-1.64 0-1.25.43-1.25 3.65v.7l2.93.3v-1c0-.44.28-.72.72-.72h7.44c.2 0 .37.08.5.2l-1.8 1.8c-.25.26-.08.76.27.8l6.27.7c.28.03.56-.25.53-.53l-.7-6.25c0-.27-.3-.48-.55-.44zm-17.2 6.1c-.2.07-.36.3-.33.54l.7 6.25c.02.36.58.55.83.27l.8-.8c.02 0 .04-.02.04 0 .46.24 1.37.17 3.18.17h7.44c4.27 0 3.65.67 3.65-3.62v-.75l-2.93-.3v1.05c0 .42-.3.72-.72.72H7.28a.7.7 0 0 1-.4-.1L8.8 86.4c.3-.24.1-.8-.27-.84l-6.28-.65h-.2zm2.83 13.7c-1.33 0-1.34.48-1.3 2.3l1.14-1.37c.08-.1.22-.17.34-.2.16 0 .34.08.44.2l1.66 2.03c.04 0 .07-.03.12-.03h7.44c.34 0 .57.2.65.5h-2.43c-.34.05-.53.52-.3.78l3.92 4.95c.18.24.6.24.78 0l3.94-4.94c.22-.27-.02-.76-.37-.77H18.4c.02-3.9.6-3.4-3.66-3.4H7.28c-1.08 0-1.86-.04-2.4-.04zm.15 2.46c-.1.03-.2.1-.28.2l-3.94 4.9c-.2.28.03.77.4.78H3.6c-.02 3.94-.45 3.4 3.66 3.4h7.44c3.65 0 3.74.3 3.7-2.25l-1.1 1.34c-.1.1-.2.17-.32.2-.16 0-.34-.08-.44-.2l-1.65-2.03c-.06.02-.1.04-.18.04H7.28c-.35 0-.57-.2-.66-.5h2.44c.37 0 .63-.5.4-.78l-3.96-4.9c-.1-.15-.3-.23-.47-.2m-.15 16.54c-1.16 0-1.3.3-1.3 1.56l1.14-1.38c.08-.1.22-.14.34-.16.16 0 .34.04.44.16l2.22 2.75h7c.42 0 .72.28.72.72v.53h-2.6c-.3.1-.43.54-.2.78l3.92 4.9c.18.25.6.25.78 0l3.94-4.9c.22-.28-.02-.77-.37-.78H18.4v-.53c0-4.2.72-3.63-3.66-3.63H7.28c-1.08 0-1.86-.03-2.4-.03zm.1 1.74c-.1.03-.17.1-.23.16L.8 124.44c-.2.28.03.77.4.78h2.4v.5c0 4.26-.55 3.62 3.66 3.62h7.44c1.03 0 1.74.02 2.28 0-.16.02-.34-.03-.44-.15l-2.22-2.76H7.28c-.44 0-.72-.3-.72-.72v-.5h2.5c.37.02.63-.5.4-.78L5.5 119.5a.5.5 0 0 0-.53-.16zm12.02 10c1.2-.02 1.4-.25 1.4-1.53l-1.1 1.36c-.07.1-.17.17-.3.18zM5.94 136.6l2.37 2.93h6.42c.42 0 .72.28.72.72v1.25h-2.6c-.3.1-.43.54-.2.78l3.92 4.9c.18.25.6.25.78 0l3.94-4.9c.22-.28-.02-.77-.37-.78H18.4v-1.25c0-4.2.72-3.63-3.66-3.63H7.28c-.6 0-.92-.02-1.34-.03zm-1.72.06c-.4.08-.54.3-.6.75l.6-.74zm.84.93c-.12 0-.24.08-.3.18l-3.95 4.9c-.24.3 0 .83.4.82H3.6v1.22c0 4.26-.55 3.62 3.66 3.62h7.44c.63 0 .97.02 1.4.03l-2.37-2.93H7.28c-.44 0-.72-.3-.72-.72v-1.22h2.5c.4.04.67-.53.4-.8l-3.96-4.92c-.1-.13-.27-.2-.44-.2zm13.28 10.03-.56.7c.36-.07.5-.3.56-.7m-1.21 7.98c-.55-.02-1.32.03-2.4.03h-8.2l2.38 2.9h5.82c.42 0 .72.28.72.72v1.97H12.9c-.32.06-.48.52-.28.78l3.94 4.94c.2.23.6.22.78-.03l3.94-4.9c.22-.28-.02-.77-.37-.78H18.4v-1.97c0-3.15.4-3.62-1.25-3.66zm-12.1.28c-.1.02-.2.1-.28.18l-3.94 4.9c-.2.3.03.78.4.8H3.6v1.96c0 4.26-.55 3.62 3.66 3.62h8.24l-2.36-2.9H7.28c-.44 0-.72-.3-.72-.72v-1.97h2.5c.37.02.63-.5.4-.78l-3.96-4.9c-.1-.15-.3-.22-.47-.2zm.1 18.62c-.15 0-.3.07-.38.2L.8 179.6c-.24.27 0 .82.4.8h2.4v2.32c0 4.26-.55 3.62 3.66 3.62h7.94l-2.35-2.9h-5.6c-.43 0-.7-.3-.7-.72v-2.3h2.5c.38.03.66-.54.4-.83l-3.97-4.9a.47.47 0 0 0-.38-.2zm12 .1c-.55-.02-1.32.03-2.4.03h-7.9l2.35 2.9h5.52c.42 0 .72.28.72.72v2.34h-2.6c-.3.1-.43.53-.2.78l3.92 4.9c.18.24.6.24.78 Line truncated '<svg xmlns="http://www.w3.org/2000/svg" width="22" height="209"><path d="M4.97 3.16c-.1.03-.17.1-.22.18L.8 8.24c-.2.3.03.78.4.8h2.4v2.68c0 4.26-.55 3.62 3.66 3.62h7.66l-2.3-2.84c-.03-.02-.03-.04-.05-.06h-5.3c-.44 0-.72-.3-.72-.72v-2.7h2.5c.37.03.63-.48.4-.77L5.5 3.35a.51.51 0 0 0-.53-.2zm12.16.43c-.55-.02-1.32.02-2.4.02H7.1l2.32 2.85.03.06h5.25c.42 0 .72.28.72.72v2.7h-2.5c-.36.02-.56.54-.3.8l3.92 4.9c.18.25.6.25.78 0l3.94-4.9c.26-.28 0-.83-.37-.8H18.4v-2.7c0-3.15.4-3.62-1.25-3.66z" fill="@{overlay0}" stroke-width="0"/><path d="M7.78 19.66c-.24.02-.44.25-.44.5v2.46h-.06c-1.08 0-1.86-.03-2.4-.03-1.64 0-1.25.43-1.25 3.65v4.47c0 4.26-.56 3.62 3.65 3.62H8.5l-1.3-1.06a.57.57 0 0 1-.2-.3c-.02-.17.06-.35.2-.45l1.33-1.1H7.28c-.44 0-.72-.3-.72-.7v-4.48c0-.44.28-.72.72-.72h.06v2.5c0 .38.54.63.82.38l4.9-3.93c.25-.18.25-.6 0-.78l-4.9-3.92c-.1-.1-.24-.14-.38-.12zm9.34 2.93c-.54-.02-1.3.02-2.4.02h-1.25l1.3 1.07c.1.07.18.2.2.33.02.16-.06.3-.2.4l-1.33 1.1h1.28c.42 0 .72.28.72.72v4.47c0 .42-.3.72-.72.72h-.1v-2.47c0-.3-.3-.53-.6-.47-.07 0-.14.05-.2.1l-4.9 3.93c-.26.18-.26.6 0 .78l4.9 3.92c.27.25.82 0 .8-.38v-2.5h.1c4.27 0 3.65.67 3.65-3.62v-4.47c0-3.15.4-3.62-1.25-3.66zm-6.78 16.07a.49.49 0 0 0-.43.5v2.47H7.3c-1.08 0-1.86-.04-2.4-.04-1.64 0-1.25.43-1.25 3.65v4.47c0 3.66-.23 3.7 2.34 3.66l-1.34-1.1a.57.57 0 0 1-.2-.3c0-.17.07-.35.2-.45l1.96-1.6a.45.45 0 0 1-.04-.2v-4.48c0-.44.28-.72.72-.72H9.9v2.5c0 .36.5.6.8.38l4.93-3.93c.24-.18.24-.6 0-.78l-4.94-3.92a.52.52 0 0 0-.36-.12zm5.63 2.93 1.34 1.1c.1.07.18.2.2.33.02.16-.03.3-.16.4l-1.96 1.6c.02.07.06.13.06.22v4.47c0 .42-.3.72-.72.72h-2.66v-2.47c0-.3-.3-.53-.6-.47-.06.02-.12.05-.18.1l-4.94 3.93c-.24.18-.24.6 0 .78l4.94 3.92c.28.22.78-.02.78-.38v-2.5h2.66c4.27 0 3.65.67 3.65-3.62v-4.47c0-3.66.34-3.7-2.4-3.66zm-2.91 16.07c-.23.03-.4.26-.4.5v2.47H7.28c-1.08 0-1.86-.04-2.4-.04-1.64 0-1.25.43-1.25 3.65v4.87l2.93-2.37v-2.5c0-.44.28-.72.72-.72h5.38v2.5c0 .36.5.6.78.38l4.94-3.93c.24-.18.24-.6 0-.78l-4.94-3.92c-.1-.1-.24-.14-.38-.12zm5.3 6.15-2.92 2.4v2.52c0 .42-.3.72-.72.72h-5.4v-2.47c0-.3-.32-.53-.6-.47-.07.02-.13.05-.2.1L3.6 70.52c-.25.18-.25.6 0 .78l4.93 3.92c.28.22.78-.02.78-.38v-2.5h5.42c4.27 0 3.65.67 3.65-3.62v-4.91zm.89 14.99c-.1.03-.2.1-.28.17l-.9.9c-.44-.3-1.36-.25-3.35-.25H7.28c-1.08 0-1.86-.03-2.4-.03-1.64 0-1.25.43-1.25 3.65v.7l2.93.3v-1c0-.44.28-.72.72-.72h7.44c.2 0 .37.08.5.2l-1.8 1.8c-.25.26-.08.76.27.8l6.27.7c.28.03.56-.25.53-.53l-.7-6.25c0-.27-.3-.48-.55-.44zm-17.2 6.1c-.2.07-.36.3-.33.54l.7 6.25c.02.36.58.55.83.27l.8-.8c.02 0 .04-.02.04 0 .46.24 1.37.17 3.18.17h7.44c4.27 0 3.65.67 3.65-3.62v-.75l-2.93-.3v1.05c0 .42-.3.72-.72.72H7.28a.7.7 0 0 1-.4-.1L8.8 86.4c.3-.24.1-.8-.27-.84l-6.28-.65h-.2zm2.83 13.7c-1.33 0-1.34.48-1.3 2.3l1.14-1.37c.08-.1.22-.17.34-.2.16 0 .34.08.44.2l1.66 2.03c.04 0 .07-.03.12-.03h7.44c.34 0 .57.2.65.5h-2.43c-.34.05-.53.52-.3.78l3.92 4.95c.18.24.6.24.78 0l3.94-4.94c.22-.27-.02-.76-.37-.77H18.4c.02-3.9.6-3.4-3.66-3.4H7.28c-1.08 0-1.86-.04-2.4-.04zm.15 2.46c-.1.03-.2.1-.28.2l-3.94 4.9c-.2.28.03.77.4.78H3.6c-.02 3.94-.45 3.4 3.66 3.4h7.44c3.65 0 3.74.3 3.7-2.25l-1.1 1.34c-.1.1-.2.17-.32.2-.16 0-.34-.08-.44-.2l-1.65-2.03c-.06.02-.1.04-.18.04H7.28c-.35 0-.57-.2-.66-.5h2.44c.37 0 .63-.5.4-.78l-3.96-4.9c-.1-.15-.3-.23-.47-.2m-.15 16.54c-1.16 0-1.3.3-1.3 1.56l1.14-1.38c.08-.1.22-.14.34-.16.16 0 .34.04.44.16l2.22 2.75h7c.42 0 .72.28.72.72v.53h-2.6c-.3.1-.43.54-.2.78l3.92 4.9c.18.25.6.25.78 0l3.94-4.9c.22-.28-.02-.77-.37-.78H18.4v-.53c0-4.2.72-3.63-3.66-3.63H7.28c-1.08 0-1.86-.03-2.4-.03zm.1 1.74c-.1.03-.17.1-.23.16L.8 124.44c-.2.28.03.77.4.78h2.4v.5c0 4.26-.55 3.62 3.66 3.62h7.44c1.03 0 1.74.02 2.28 0-.16.02-.34-.03-.44-.15l-2.22-2.76H7.28c-.44 0-.72-.3-.72-.72v-.5h2.5c.37.02.63-.5.4-.78L5.5 119.5a.5.5 0 0 0-.53-.16zm12.02 10c1.2-.02 1.4-.25 1.4-1.53l-1.1 1.36c-.07.1-.17.17-.3.18zM5.94 136.6l2.37 2.93h6.42c.42 0 .72.28.72.72v1.25h-2.6c-.3.1-.43.54-.2.78l3.92 4.9c.18.25.6.25.78 0l3.94-4.9c.22-.28-.02-.77-.37-.78H18.4v-1.25c0-4.2.72-3.63-3.66-3.63H7.28c-.6 0-.92-.02-1.34-.03zm-1.72.06c-.4.08-.54.3-.6.75l.6-.74zm.84.93c-.12 0-.24.08-.3.18l-3.95 4.9c-.24.3 0 .83.4.82H3.6v1.22c0 4.26-.55 3.62 3.66 3.62h7.44c.63 0 .97.02 1.4.03l-2.37-2.93H7.28c-.44 0-.72-.3-.72-.72v-1.22h2.5c.4.04.67-.53.4-.8l-3.96-4.92c-.1-.13-.27-.2-.44-.2zm13.28 10.03-.56.7c.36-.07.5-.3.56-.7m-1.21 7.98c-.55-.02-1.32.03-2.4.03h-8.2l2.38 2.9h5.82c.42 0 .72.28.72.72v1.97H12.9c-.32.06-.48.52-.28.78l3.94 4.94c.2.23.6.22.78-.03l3.94-4.9c.22-.28-.02-.77-.37-.78H18.4v-1.97c0-3.15.4-3.62-1.25-3.66zm-12.1.28c-.1.02-.2.1-.28.18l-3.94 4.9c-.2.3.03.78.4.8H3.6v1.96c0 4.26-.55 3.62 3.66 3.62h8.24l-2.36-2.9H7.28c-.44 0-.72-.3-.72-.72v-1.97h2.5c.37.02.63-.5.4-.78l-3.96-4.9c-.1-.15-.3-.22-.47-.2zm.1 18.62c-.15 0-.3.07-.38.2L.8 179.6c-.24.27 0 .82.4.8h2.4v2.32c0 4.26-.55 3.62 3.66 3.62h7.94l-2.35-2.9h-5.6c-.43 0-.7-.3-.7-.72v-2.3h2.5c.38.03.66-.54.4-.83l-3.97-4.9a.47.47 0 0 0-.38-.2zm12 .1c-.55-.02-1.32.03-2.4.03h-7.9l2.35 2.9h5.52c.42 0 .72.28.72.72v2.34h-2.6c-.3.1-.43.53-.2.78l3.92 4.9c.18.24.6.24.78 Line truncated
); );
background-image: url("data:image/svg+xml,@{svg}"); background-image: url("data:image/svg+xml,@{svg}");
} }
@@ -219,7 +213,7 @@
.rules-list { .rules-list {
color: @text; color: @text;
li::before { li::before {
background-color: @accent-color; background-color: @accent;
color: @crust; color: @crust;
} }
} }
@@ -245,7 +239,7 @@
.emoji-mart-anchor-selected, .emoji-mart-anchor-selected,
.reply-indicator__content a { .reply-indicator__content a {
color: @accent-color !important; color: @accent !important;
} }
.confirmation-modal { .confirmation-modal {
@@ -267,7 +261,7 @@
&:hover, &:hover,
&.active { &.active {
background: @accent-color !important; background: @accent !important;
.privacy-dropdown__option__content, .privacy-dropdown__option__content,
strong, strong,
@@ -278,7 +272,7 @@
} }
.privacy-dropdown.active .privacy-dropdown__value { .privacy-dropdown.active .privacy-dropdown__value {
background: @accent-color !important; background: @accent !important;
} }
.privacy-dropdown.active .privacy-dropdown__value > button, .privacy-dropdown.active .privacy-dropdown__value > button,
@@ -306,7 +300,7 @@
&:hover, &:hover,
&.active { &.active {
background: @accent-color; background: @accent;
> span { > span {
color: @crust; color: @crust;
@@ -323,18 +317,18 @@
.pillbar-button:not([disabled]).active:focus, .pillbar-button:not([disabled]).active:focus,
.pillbar-button:not([disabled]).active:hover, .pillbar-button:not([disabled]).active:hover,
.radio-button__input.checked { .radio-button__input.checked {
background-color: @accent-color; background-color: @accent;
} }
.reactions-bar__item.active { .reactions-bar__item.active {
background-color: rgba(@accent-color, 0.25); background-color: fade(@accent, 25%);
} }
.trends__item__sparkline path:last-child { .trends__item__sparkline path:last-child {
stroke: @accent-color !important; stroke: @accent !important;
} }
.trends__item__sparkline path:first-child { .trends__item__sparkline path:first-child {
fill: rgba(@accent-color, 0.25) !important; fill: fade(@accent, 25%) !important;
} }
.icon-button, .icon-button,
@@ -350,12 +344,12 @@
.text-icon-button:focus, .text-icon-button:focus,
.text-icon-button:hover, .text-icon-button:hover,
.public-layout .public-account-bio .account__header__fields a:hover { .public-layout .public-account-bio .account__header__fields a:hover {
color: @accent-color; color: @accent;
} }
.account__domain-pill { .account__domain-pill {
color: @accent-color; color: @accent;
background: fadeout(@accent-color, 80%); background: fade(@accent, 20%);
} }
.drawer__header, .drawer__header,
@@ -404,12 +398,12 @@
} }
.column-header__wrapper.active { .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 { .column-header__wrapper.active::before {
background: radial-gradient( background: radial-gradient(
ellipse, ellipse,
rgba(@accent-color, 0.23) 0, fade(@accent, 23%) 0,
rgba(99, 100, 255, 0) 60% rgba(99, 100, 255, 0) 60%
); );
} }
@@ -429,8 +423,8 @@
} }
.dropdown-button { .dropdown-button {
border-color: @accent-color; border-color: @accent;
color: @accent-color; color: @accent;
} }
.public-layout .public-account-header__tabs__tabs .counter::after, .public-layout .public-account-header__tabs__tabs .counter::after,
@@ -438,7 +432,7 @@
.react-toggle--checked .react-toggle-thumb, .react-toggle--checked .react-toggle-thumb,
.radio-button__input.checked, .radio-button__input.checked,
.account__action-bar__tab.active { .account__action-bar__tab.active {
border-color: @accent-color; border-color: @accent;
} }
.account, .account,
@@ -459,7 +453,7 @@
.poll__chart { .poll__chart {
background: @overlay0; background: @overlay0;
&.leading { &.leading {
background: @accent-color; background: @accent;
} }
} }
@@ -487,11 +481,11 @@
.column-link:focus, .column-link:focus,
.column-link--transparent:hover, .column-link--transparent:hover,
.column-link:hover { .column-link:hover {
color: @accent-color; color: @accent;
} }
.status.collapsed .status__content::after { .status.collapsed .status__content::after {
background: linear-gradient(fadeout(@base, 100), @base); background: linear-gradient(fade(@base, 0%), @base);
} }
.button.button-tertiary:focus, .button.button-tertiary:focus,
@@ -501,14 +495,14 @@
} }
.button.button-tertiary { .button.button-tertiary {
border-color: @accent-color; border-color: @accent;
} }
.button, .button,
.button.button-tertiary, .button.button-tertiary,
.button.logo-button, .button.logo-button,
.icon-with-badge__badge { .icon-with-badge__badge {
background: @accent-color; background: @accent;
color: @base; color: @base;
} }
@@ -527,12 +521,12 @@
.button.button-secondary { .button.button-secondary {
background-color: transparent; background-color: transparent;
color: @text; color: @text;
border-color: @accent-color; border-color: @accent;
} }
.button.button-secondary:active, .button.button-secondary:active,
.button.button-secondary:focus, .button.button-secondary:focus,
.button.button-secondary:hover { .button.button-secondary:hover {
border-color: @accent-color; border-color: @accent;
color: @base; color: @base;
transition: 0.2s; transition: 0.2s;
} }
@@ -547,7 +541,7 @@
.button.logo-button:focus, .button.logo-button:focus,
.button.logo-button:hover, .button.logo-button:hover,
.announcements__item__unread { .announcements__item__unread {
background: @accent-color; background: @accent;
} }
select { select {
@@ -705,7 +699,7 @@
.simple_form input[type="url"]:focus, .simple_form input[type="url"]:focus,
.simple_form textarea:active, .simple_form textarea:active,
.simple_form textarea:focus { .simple_form textarea:focus {
border-color: @accent-color !important; border-color: @accent !important;
background: @mantle !important; background: @mantle !important;
color: @text !important; color: @text !important;
} }
@@ -713,7 +707,7 @@
.table > thead > tr > th, .table > thead > tr > th,
.setting-text:active, .setting-text:active,
.setting-text:focus { .setting-text:focus {
border-color: @accent-color !important; border-color: @accent !important;
} }
.batch-table__toolbar, .batch-table__toolbar,
@@ -730,7 +724,7 @@
.simple_form input[type="url"]:hover, .simple_form input[type="url"]:hover,
.simple_form textarea:hover { .simple_form textarea:hover {
background: @mantle !important; background: @mantle !important;
border-color: @accent-color !important; border-color: @accent !important;
transition: 0.4s; transition: 0.4s;
} }
@@ -773,7 +767,7 @@
color: @text; color: @text;
&:hover { &:hover {
color: @accent-color; color: @accent;
} }
} }
+35 -37
View File
@@ -20,45 +20,43 @@
domain("rust-book.cs.brown.edu") { domain("rust-book.cs.brown.edu") {
@import url("https://unpkg.com/@catppuccin/[email protected]/css/catppuccin-variables.css"); @import url("https://unpkg.com/@catppuccin/[email protected]/css/catppuccin-variables.css");
@media (prefers-color-scheme: light) { :root {
:root { @media (prefers-color-scheme: light) {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
} @media (prefers-color-scheme: dark) {
@media (prefers-color-scheme: dark) { #catppuccin(@darkFlavor);
:root {
#catppuccin(@darkFlavor, @accentColor);
} }
} }
#catppuccin(@lookup, @accent) { #catppuccin(@flavor) {
@rosewater: @catppuccin[@@lookup][@rosewater]; @rosewater: @catppuccin[@@flavor][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo]; @flamingo: @catppuccin[@@flavor][@flamingo];
@pink: @catppuccin[@@lookup][@pink]; @pink: @catppuccin[@@flavor][@pink];
@mauve: @catppuccin[@@lookup][@mauve]; @mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@lookup][@red]; @red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@lookup][@maroon]; @maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@lookup][@peach]; @peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@lookup][@yellow]; @yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@lookup][@green]; @green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@lookup][@teal]; @teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@lookup][@sky]; @sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@lookup][@sapphire]; @sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@lookup][@blue]; @blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@lookup][@lavender]; @lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@lookup][@text]; @text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@lookup][@subtext1]; @subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@lookup][@subtext0]; @subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@lookup][@overlay2]; @overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@lookup][@overlay1]; @overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@lookup][@overlay0]; @overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@lookup][@surface2]; @surface2: @catppuccin[@@flavor][@surface2];
@surface1: @catppuccin[@@lookup][@surface1]; @surface1: @catppuccin[@@flavor][@surface1];
@surface0: @catppuccin[@@lookup][@surface0]; @surface0: @catppuccin[@@flavor][@surface0];
@base: @catppuccin[@@lookup][@base]; @base: @catppuccin[@@flavor][@base];
@mantle: @catppuccin[@@lookup][@mantle]; @mantle: @catppuccin[@@flavor][@mantle];
@crust: @catppuccin[@@lookup][@crust]; @crust: @catppuccin[@@flavor][@crust];
@accent-color: @catppuccin[@@lookup][@@accent]; @accent: @catppuccin[@@flavor][@@accentColor];
--ctp-rosewater: @rosewater; --ctp-rosewater: @rosewater;
--ctp-flamingo: @flamingo; --ctp-flamingo: @flamingo;
@@ -87,10 +85,10 @@
--ctp-mantle: @mantle; --ctp-mantle: @mantle;
--ctp-crust: @crust; --ctp-crust: @crust;
color-scheme: if(@lookup = latte, light, dark); color-scheme: if(@flavor = latte, light, dark);
::selection { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
input, input,
+78 -84
View File
@@ -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"] @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== */ ==/UserStyle== */
#catppuccin(@lookup, @accent) { #catppuccin(@flavor) {
@rosewater: @catppuccin[@@lookup][@rosewater]; @rosewater: @catppuccin[@@flavor][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo]; @flamingo: @catppuccin[@@flavor][@flamingo];
@pink: @catppuccin[@@lookup][@pink]; @pink: @catppuccin[@@flavor][@pink];
@mauve: @catppuccin[@@lookup][@mauve]; @mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@lookup][@red]; @red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@lookup][@maroon]; @maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@lookup][@peach]; @peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@lookup][@yellow]; @yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@lookup][@green]; @green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@lookup][@teal]; @teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@lookup][@sky]; @sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@lookup][@sapphire]; @sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@lookup][@blue]; @blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@lookup][@lavender]; @lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@lookup][@text]; @text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@lookup][@subtext1]; @subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@lookup][@subtext0]; @subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@lookup][@overlay2]; @overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@lookup][@overlay1]; @overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@lookup][@overlay0]; @overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@lookup][@surface2]; @surface2: @catppuccin[@@flavor][@surface2];
@surface1: @catppuccin[@@lookup][@surface1]; @surface1: @catppuccin[@@flavor][@surface1];
@surface0: @catppuccin[@@lookup][@surface0]; @surface0: @catppuccin[@@flavor][@surface0];
@base: @catppuccin[@@lookup][@base]; @base: @catppuccin[@@flavor][@base];
@mantle: @catppuccin[@@lookup][@mantle]; @mantle: @catppuccin[@@flavor][@mantle];
@crust: @catppuccin[@@lookup][@crust]; @crust: @catppuccin[@@flavor][@crust];
@accent-color: @catppuccin[@@lookup][@@accent]; @accent: @catppuccin[@@flavor][@@accentColor];
color-scheme: if(@lookup = latte, light, dark); color-scheme: if(@flavor = latte, light, dark);
::selection { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
input, input,
@@ -60,20 +60,20 @@
--text-primary: @text; --text-primary: @text;
--text-secondary: @subtext0; --text-secondary: @subtext0;
--text-active: @overlay1; --text-active: @overlay1;
--text-inactive: fadeout(@subtext0, 40%); --text-inactive: fade(@subtext0, 60%);
--text-link: @accent-color; --text-link: @accent;
--text-visited: lighten(saturate(@accent-color, -20%), -20%); --text-visited: lighten(saturate(@accent, -20%), -20%);
--text-invert: @base; --text-invert: @base;
--background-primary: @base; --background-primary: @base;
--background-secondary: @crust; --background-secondary: @crust;
--background-tertiary: @mantle; --background-tertiary: @mantle;
--background-toc-active: @crust; --background-toc-active: @crust;
--background-mark-yellow: fadeout(@yellow, 60%); --background-mark-yellow: fade(@yellow, 40%);
--background-mark-green: fadeout(@green, 60%); --background-mark-green: fade(@green, 40%);
--background-information: fadeout(@blue, 90%); --background-information: fade(@blue, 10%);
--background-warning: fadeout(@maroon, 90%); --background-warning: fade(@maroon, 10%);
--background-critical: fadeout(@red, 90%); --background-critical: fade(@red, 10%);
--background-success: fadeout(@green, 90%); --background-success: fade(@green, 10%);
--border-primary: @surface2; --border-primary: @surface2;
--border-secondary: @surface1; --border-secondary: @surface1;
--button-primary-default: @text; --button-primary-default: @text;
@@ -93,13 +93,13 @@
--icon-warning: @peach; --icon-warning: @peach;
--icon-critical: @maroon; --icon-critical: @maroon;
--icon-success: @green; --icon-success: @green;
--accent-primary: @accent-color; --accent-primary: @accent;
--accent-primary-engage: fadeout(@accent-color, 90%); --accent-primary-engage: fade(@accent, 10%);
--accent-secondary: @accent-color; --accent-secondary: @accent;
--accent-tertiary: fadeout(saturate(@accent-color, 10%), 90%); --accent-tertiary: fade(saturate(@accent, 10%), 10%);
--shadow-01: 0 1px 2px fadeout(@text, 80%); --shadow-01: 0 1px 2px fade(@text, 20%);
--shadow-02: 0 1px 6px fadeout(@text, 80%); --shadow-02: 0 1px 6px fade(@text, 20%);
--focus-01: 0 0 0 3px fadeout(@text, 50%); --focus-01: 0 0 0 3px fade(@text, 50%);
--field-focus-border: @text; --field-focus-border: @text;
--code-token-tag: @mauve; --code-token-tag: @mauve;
--code-token-punctuation: @overlay2; --code-token-punctuation: @overlay2;
@@ -119,7 +119,7 @@
--scrollbar-bg: transparent; --scrollbar-bg: transparent;
--scrollbar-color: hsla(0, 0%, 100%, 0.25); --scrollbar-color: hsla(0, 0%, 100%, 0.25);
--category-color: @sky; --category-color: @sky;
--category-color-background: fadeout(@sky, 60%); --category-color-background: fade(@sky, 40%);
--code-color: lighten(@sky, 10%); --code-color: lighten(@sky, 10%);
--mark-color: darken(@sky, 30%); --mark-color: darken(@sky, 30%);
--plus-accent-color: @maroon; --plus-accent-color: @maroon;
@@ -143,22 +143,22 @@
--http-mark-color: darken(@green, 30%); --http-mark-color: darken(@green, 30%);
--apis-mark-color: darken(@mauve, 30%); --apis-mark-color: darken(@mauve, 30%);
--learn-mark-color: darken(@pink, 30%); --learn-mark-color: darken(@pink, 30%);
--plus-accent-background-color: fadeout(@maroon, 70%); --plus-accent-background-color: fade(@maroon, 30%);
--html-accent-background-color: fadeout(@red, 70%); --html-accent-background-color: fade(@red, 30%);
--css-accent-background-color: fadeout(@sapphire, 70%); --css-accent-background-color: fade(@sapphire, 30%);
--js-accent-background-color: fadeout(@yellow, 70%); --js-accent-background-color: fade(@yellow, 30%);
--http-accent-background-color: fadeout(@green, 70%); --http-accent-background-color: fade(@green, 30%);
--apis-accent-background-color: fadeout(@mauve, 70%); --apis-accent-background-color: fade(@mauve, 30%);
--learn-accent-background-color: fadeout(@pink, 70%); --learn-accent-background-color: fade(@pink, 30%);
--plus-accent-engage: fadeout(@maroon, 30%); --plus-accent-engage: fade(@maroon, 70%);
--html-accent-engage: fadeout(@red, 30%); --html-accent-engage: fade(@red, 70%);
--css-accent-engage: fadeout(@sapphire, 30%); --css-accent-engage: fade(@sapphire, 70%);
--js-accent-engage: fadeout(@yellow, 30%); --js-accent-engage: fade(@yellow, 70%);
--http-accent-engage: fadeout(@green, 30%); --http-accent-engage: fade(@green, 70%);
--apis-accent-engage: fadeout(@mauve, 30%); --apis-accent-engage: fade(@mauve, 70%);
--learn-accent-engage: fadeout(@pink, 30%); --learn-accent-engage: fade(@pink, 70%);
--modal-backdrop-color: fadeout(@mantle, 30%); --modal-backdrop-color: fade(@mantle, 70%);
--selection-background-color: fadeout(@surface2, 40%); --selection-background-color: fade(@surface2, 60%);
--text-primary-red: @red; --text-primary-red: @red;
--text-primary-green: @green; --text-primary-green: @green;
--text-primary-blue: @blue; --text-primary-blue: @blue;
@@ -179,7 +179,7 @@
--form-limit-color-emphasis: @overlay1; --form-limit-color-emphasis: @overlay1;
--form-invalid-color: @red; --form-invalid-color: @red;
--form-invalid-focus-color: @flamingo; --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( --baseline-high-bg: hsl(
hue(@green), hue(@green),
saturation(@green), saturation(@green),
@@ -208,23 +208,20 @@
@-moz-document domain("developer.mozilla.org") { @-moz-document domain("developer.mozilla.org") {
.light { .light {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
.dark { .dark {
#catppuccin(@darkFlavor, @accentColor); #catppuccin(@darkFlavor);
} }
/* stylelint-disable selector-not-notation */ /* stylelint-disable selector-not-notation */
@media (prefers-color-scheme: light) { :root:not(.light):not(.dark) {
:root:not(.light):not(.dark) { @media (prefers-color-scheme: light) {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
} @media (prefers-color-scheme: dark) {
#catppuccin(@darkFlavor);
@media (prefers-color-scheme: dark) {
:root:not(.light):not(.dark) {
#catppuccin(@darkFlavor, @accentColor);
} }
} }
/* stylelint-enable selector-not-notation */ /* stylelint-enable selector-not-notation */
@@ -232,21 +229,18 @@
@-moz-document domain("interactive-examples.mdn.mozilla.net") { @-moz-document domain("interactive-examples.mdn.mozilla.net") {
.theme-light { .theme-light {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
.theme-dark { .theme-dark {
#catppuccin(@darkFlavor, @accentColor); #catppuccin(@darkFlavor);
} }
@media (prefers-color-scheme: light) { :root {
:root { @media (prefers-color-scheme: light) {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
} @media (prefers-color-scheme: dark) {
#catppuccin(@darkFlavor);
@media (prefers-color-scheme: dark) {
:root {
#catppuccin(@darkFlavor, @accentColor);
} }
} }
} }
+46 -45
View File
@@ -16,39 +16,45 @@
==/UserStyle== */ ==/UserStyle== */
@-moz-document domain("live.com") { @-moz-document domain("live.com") {
#catppuccin(@lookup, @accent) { #catppuccin(@lightFlavor);
@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); .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 { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
input, input,
@@ -62,7 +68,7 @@
.fui-FluentProvider86, .fui-FluentProvider86,
.fui-FluentProvider102 { .fui-FluentProvider102 {
--colorNeutralStroke1: @surface1; --colorNeutralStroke1: @surface1;
--colorBrandForeground1: @accent-color; --colorBrandForeground1: @accent;
--colorNeutralForeground1: @text; --colorNeutralForeground1: @text;
--colorNeutralBackground1: @surface0; --colorNeutralBackground1: @surface0;
--colorNeutralForeground2: @text; --colorNeutralForeground2: @text;
@@ -116,7 +122,7 @@
} }
#ShareMenu { #ShareMenu {
background-color: @accent-color; background-color: @accent;
color: @base; color: @base;
} }
@@ -216,7 +222,7 @@
> div:nth-child(2) > div:nth-child(2)
> div:nth-child(1) { > div:nth-child(1) {
> div:nth-child(1) > span:nth-child(1) { > div:nth-child(1) > span:nth-child(1) {
background: @accent-color !important; background: @accent !important;
} }
} }
div:nth-child(1) { div:nth-child(1) {
@@ -252,7 +258,7 @@
> div:nth-child(2) { > div:nth-child(2) {
background-color: @surface2 !important; background-color: @surface2 !important;
> div:nth-child(1) { > div:nth-child(1) {
background: @accent-color; background: @accent;
} }
} }
} }
@@ -262,7 +268,7 @@
color: @text; color: @text;
} }
> span:nth-child(2) { > span:nth-child(2) {
color: @accent-color; color: @accent;
} }
> span:nth-child(3) { > span:nth-child(3) {
color: @text; color: @text;
@@ -282,20 +288,20 @@
} }
} }
> a:nth-child(2) { > a:nth-child(2) {
color: @accent-color; color: @accent;
} }
} }
#allAppsLink { #allAppsLink {
color: @accent-color; color: @accent;
} }
#ProgressCardScore { #ProgressCardScore {
> div:nth-child(1) { > div:nth-child(1) {
color: @accent-color; color: @accent;
} }
> div:nth-child(2) { > div:nth-child(2) {
color: @accent-color; color: @accent;
} }
} }
@@ -388,7 +394,7 @@
path.OfficeIconColors_m25, path.OfficeIconColors_m25,
path.OfficeIconColors_m26, path.OfficeIconColors_m26,
path.OfficeIconColors_m2262 { path.OfficeIconColors_m2262 {
fill: @accent-color; fill: @accent;
} }
path.OfficeIconColors_m27 { path.OfficeIconColors_m27 {
fill: @green; fill: @green;
@@ -423,11 +429,6 @@
} }
} }
} }
.UxDarkMode {
#catppuccin(@darkFlavor, @accentColor);
}
#catppuccin(@lightFlavor, @accentColor);
} }
/* deno-fmt-ignore */ /* deno-fmt-ignore */
+38 -40
View File
@@ -18,52 +18,50 @@
==/UserStyle== */ ==/UserStyle== */
@-moz-document domain("webmail.migadu.com") { @-moz-document domain("webmail.migadu.com") {
@media (prefers-color-scheme: light) { :root {
:root { @media (prefers-color-scheme: light) {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
} @media (prefers-color-scheme: dark) {
@media (prefers-color-scheme: dark) { #catppuccin(@darkFlavor);
:root {
#catppuccin(@darkFlavor, @accentColor);
} }
} }
#catppuccin(@lookup, @accent) { #catppuccin(@flavor) {
@rosewater: @catppuccin[@@lookup][@rosewater]; @rosewater: @catppuccin[@@flavor][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo]; @flamingo: @catppuccin[@@flavor][@flamingo];
@pink: @catppuccin[@@lookup][@pink]; @pink: @catppuccin[@@flavor][@pink];
@mauve: @catppuccin[@@lookup][@mauve]; @mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@lookup][@red]; @red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@lookup][@maroon]; @maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@lookup][@peach]; @peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@lookup][@yellow]; @yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@lookup][@green]; @green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@lookup][@teal]; @teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@lookup][@sky]; @sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@lookup][@sapphire]; @sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@lookup][@blue]; @blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@lookup][@lavender]; @lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@lookup][@text]; @text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@lookup][@subtext1]; @subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@lookup][@subtext0]; @subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@lookup][@overlay2]; @overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@lookup][@overlay1]; @overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@lookup][@overlay0]; @overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@lookup][@surface2]; @surface2: @catppuccin[@@flavor][@surface2];
@surface1: @catppuccin[@@lookup][@surface1]; @surface1: @catppuccin[@@flavor][@surface1];
@surface0: @catppuccin[@@lookup][@surface0]; @surface0: @catppuccin[@@flavor][@surface0];
@base: @catppuccin[@@lookup][@base]; @base: @catppuccin[@@flavor][@base];
@mantle: @catppuccin[@@lookup][@mantle]; @mantle: @catppuccin[@@flavor][@mantle];
@crust: @catppuccin[@@lookup][@crust]; @crust: @catppuccin[@@flavor][@crust];
@accent-color: @catppuccin[@@lookup][@@accent]; @accent: @catppuccin[@@flavor][@@accentColor];
@orange: mix(@peach, @yellow); @orange: mix(@peach, @yellow);
color-scheme: if(@lookup = latte, light, dark); color-scheme: if(@flavor = latte, light, dark);
::selection { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
input, input,
@@ -432,16 +430,16 @@
} }
&.checked { &.checked {
border-left-color: lighten(@accent-color, 10%); border-left-color: lighten(@accent, 10%);
} }
&.checked.focused, &.checked.focused,
&.selected { &.selected {
border-left-color: @accent-color; border-left-color: @accent;
} }
&.selected { &.selected {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
} }
+42 -44
View File
@@ -16,50 +16,48 @@
==/UserStyle== */ ==/UserStyle== */
@-moz-document domain("minesweeper.online") { @-moz-document domain("minesweeper.online") {
@media (prefers-color-scheme: light) { :root {
:root { @media (prefers-color-scheme: light) {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
} @media (prefers-color-scheme: dark) {
@media (prefers-color-scheme: dark) { #catppuccin(@darkFlavor);
:root {
#catppuccin(@darkFlavor, @accentColor);
} }
} }
#catppuccin(@lookup, @accent) { #catppuccin(@flavor) {
@rosewater: @catppuccin[@@lookup][@rosewater]; @rosewater: @catppuccin[@@flavor][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo]; @flamingo: @catppuccin[@@flavor][@flamingo];
@pink: @catppuccin[@@lookup][@pink]; @pink: @catppuccin[@@flavor][@pink];
@mauve: @catppuccin[@@lookup][@mauve]; @mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@lookup][@red]; @red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@lookup][@maroon]; @maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@lookup][@peach]; @peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@lookup][@yellow]; @yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@lookup][@green]; @green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@lookup][@teal]; @teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@lookup][@sky]; @sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@lookup][@sapphire]; @sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@lookup][@blue]; @blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@lookup][@lavender]; @lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@lookup][@text]; @text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@lookup][@subtext1]; @subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@lookup][@subtext0]; @subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@lookup][@overlay2]; @overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@lookup][@overlay1]; @overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@lookup][@overlay0]; @overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@lookup][@surface2]; @surface2: @catppuccin[@@flavor][@surface2];
@surface1: @catppuccin[@@lookup][@surface1]; @surface1: @catppuccin[@@flavor][@surface1];
@surface0: @catppuccin[@@lookup][@surface0]; @surface0: @catppuccin[@@flavor][@surface0];
@base: @catppuccin[@@lookup][@base]; @base: @catppuccin[@@flavor][@base];
@mantle: @catppuccin[@@lookup][@mantle]; @mantle: @catppuccin[@@flavor][@mantle];
@crust: @catppuccin[@@lookup][@crust]; @crust: @catppuccin[@@flavor][@crust];
@accent-color: @catppuccin[@@lookup][@@accent]; @accent: @catppuccin[@@flavor][@@accentColor];
color-scheme: if(@lookup = latte, light, dark); color-scheme: if(@flavor = latte, light, dark);
::selection { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
input, input,
@@ -137,13 +135,13 @@
a.homepage-level.active, a.homepage-level.active,
a.homepage-level:focus, a.homepage-level:focus,
a.homepage-level:hover { a.homepage-level:hover {
border-color: @accent-color; border-color: @accent;
} }
a, a,
a:hover, a:hover,
.text-primary { .text-primary {
color: @accent-color; color: @accent;
} }
.text-success, .text-success,
@@ -291,8 +289,8 @@
.btn-primary:hover, .btn-primary:hover,
.btn-primary:active:hover, .btn-primary:active:hover,
.btn-primary:active { .btn-primary:active {
border-color: @accent-color; border-color: @accent;
background-color: @accent-color; background-color: @accent;
color: @mantle; color: @mantle;
} }
@@ -388,7 +386,7 @@
.pagination > li > span { .pagination > li > span {
background-color: @mantle; background-color: @mantle;
border-color: @surface0 !important; border-color: @surface0 !important;
color: @accent-color; color: @accent;
} }
.pagination > .disabled > a { .pagination > .disabled > a {
@@ -399,7 +397,7 @@
.pagination > li > a:hover { .pagination > li > a:hover {
background-color: @base; background-color: @base;
color: @accent-color; color: @accent;
} }
.pagination-sm > li:first-child > a, .pagination-sm > li:first-child > a,
@@ -411,7 +409,7 @@
.pagination > .active > a, .pagination > .active > a,
.pagination > .active > a:hover { .pagination > .active > a:hover {
background-color: @accent-color; background-color: @accent;
color: @mantle; color: @mantle;
} }
+43 -42
View File
@@ -17,49 +17,49 @@
@-moz-document domain("modrinth.com") { @-moz-document domain("modrinth.com") {
.light-mode { .light-mode {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
.dark-mode, .dark-mode,
.oled-mode { .oled-mode {
#catppuccin(@darkFlavor, @accentColor); #catppuccin(@darkFlavor);
} }
#catppuccin(@lookup, @accent) { #catppuccin(@flavor) {
@rosewater: @catppuccin[@@lookup][@rosewater]; @rosewater: @catppuccin[@@flavor][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo]; @flamingo: @catppuccin[@@flavor][@flamingo];
@pink: @catppuccin[@@lookup][@pink]; @pink: @catppuccin[@@flavor][@pink];
@mauve: @catppuccin[@@lookup][@mauve]; @mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@lookup][@red]; @red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@lookup][@maroon]; @maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@lookup][@peach]; @peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@lookup][@yellow]; @yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@lookup][@green]; @green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@lookup][@teal]; @teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@lookup][@sky]; @sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@lookup][@sapphire]; @sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@lookup][@blue]; @blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@lookup][@lavender]; @lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@lookup][@text]; @text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@lookup][@subtext1]; @subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@lookup][@subtext0]; @subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@lookup][@overlay2]; @overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@lookup][@overlay1]; @overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@lookup][@overlay0]; @overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@lookup][@surface2]; @surface2: @catppuccin[@@flavor][@surface2];
@surface1: @catppuccin[@@lookup][@surface1]; @surface1: @catppuccin[@@flavor][@surface1];
@surface0: @catppuccin[@@lookup][@surface0]; @surface0: @catppuccin[@@flavor][@surface0];
@base: @catppuccin[@@lookup][@base]; @base: @catppuccin[@@flavor][@base];
@mantle: @catppuccin[@@lookup][@mantle]; @mantle: @catppuccin[@@flavor][@mantle];
@crust: @catppuccin[@@lookup][@crust]; @crust: @catppuccin[@@flavor][@crust];
@accent-color: @catppuccin[@@lookup][@@accent]; @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 { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
input, input,
@@ -68,6 +68,7 @@
color: @subtext0 !important; color: @subtext0 !important;
} }
} }
* { * {
--text-color: @text; --text-color: @text;
--color-base: @text; --color-base: @text;
@@ -76,7 +77,7 @@
--color-ad-raised: @surface2; --color-ad-raised: @surface2;
--color-ad: @surface1; --color-ad: @surface1;
--color-ad-highlight: @teal; --color-ad-highlight: @teal;
--color-brand: @accent-color; --color-brand: @accent;
--color-brand-green: @green; --color-brand-green: @green;
--color-button-bg-active: @overlay0; --color-button-bg-active: @overlay0;
--color-button-bg-hover: @surface1; --color-button-bg-hover: @surface1;
@@ -110,7 +111,7 @@
--color-table-border: @overlay0; --color-table-border: @overlay0;
--color-contrast: @text; --color-contrast: @text;
--color-accent-contrast: @mantle; --color-accent-contrast: @mantle;
--color-brand-shadow: @accent-color; --color-brand-shadow: @accent;
--color-warning-banner-side: @red; --color-warning-banner-side: @red;
--color-warning-banner-bg: fade(@red, 10%); --color-warning-banner-bg: fade(@red, 10%);
--color-warning-banner-text: @text; --color-warning-banner-text: @text;
@@ -131,8 +132,8 @@
--color-button-border: fade(@crust, 20%); --color-button-border: fade(@crust, 20%);
--color-tooltip-bg: @surface1; --color-tooltip-bg: @surface1;
--color-tooltip-text: @subtext1; --color-tooltip-text: @subtext1;
--landing-green-label: @accent-color; --landing-green-label: @accent;
--landing-green-label-bg: fade(@accent-color, 10%); --landing-green-label-bg: fade(@accent, 10%);
--landing-blue-label: @blue; --landing-blue-label: @blue;
--landing-color-heading: @text; --landing-color-heading: @text;
--landing-color-subheading: @subtext0; --landing-color-subheading: @subtext0;
@@ -149,12 +150,12 @@
.blob-demonstration::after { .blob-demonstration::after {
background: linear-gradient( background: linear-gradient(
0deg, 0deg,
fade(@accent-color, 20%), fade(@accent, 20%),
fade(@base, 10%) fade(@base, 10%)
) !important; ) !important;
} }
.logo-banner path { .logo-banner path {
fill: @accent-color !important; fill: @accent !important;
} }
.logo-banner > svg > g > rect { .logo-banner > svg > g > rect {
display: none; display: none;
@@ -163,12 +164,12 @@
[tabindex="0"]:focus-visible, [tabindex="0"]:focus-visible,
a:focus-visible, a:focus-visible,
button:focus-visible { button:focus-visible {
outline-color: @accent-color; outline-color: @accent;
} }
.BDVE3s9MFQttmbMUeYup-2 a b, .BDVE3s9MFQttmbMUeYup-2 a b,
.BDVE3s9MFQttmbMUeYup-2 a strong { .BDVE3s9MFQttmbMUeYup-2 a strong {
color: @accent-color; color: @accent;
} }
// dropdown icon // dropdown icon
@@ -184,7 +185,7 @@
} }
} }
.nuxt-loading-indicator { .nuxt-loading-indicator {
background: @accent-color !important; background: @accent !important;
} }
} }
} }
+57 -57
View File
@@ -17,45 +17,45 @@
@-moz-document domain("namemc.com") { @-moz-document domain("namemc.com") {
:root[data-bs-theme="dark"] { :root[data-bs-theme="dark"] {
#catppuccin(@darkFlavor, @accentColor); #catppuccin(@darkFlavor);
} }
:root[data-bs-theme="light"] { :root[data-bs-theme="light"] {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
#catppuccin(@lookup, @accent) { #catppuccin(@flavor) {
@rosewater: @catppuccin[@@lookup][@rosewater]; @rosewater: @catppuccin[@@flavor][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo]; @flamingo: @catppuccin[@@flavor][@flamingo];
@pink: @catppuccin[@@lookup][@pink]; @pink: @catppuccin[@@flavor][@pink];
@mauve: @catppuccin[@@lookup][@mauve]; @mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@lookup][@red]; @red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@lookup][@maroon]; @maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@lookup][@peach]; @peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@lookup][@yellow]; @yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@lookup][@green]; @green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@lookup][@teal]; @teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@lookup][@sky]; @sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@lookup][@sapphire]; @sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@lookup][@blue]; @blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@lookup][@lavender]; @lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@lookup][@text]; @text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@lookup][@subtext1]; @subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@lookup][@subtext0]; @subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@lookup][@overlay2]; @overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@lookup][@overlay1]; @overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@lookup][@overlay0]; @overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@lookup][@surface2]; @surface2: @catppuccin[@@flavor][@surface2];
@surface1: @catppuccin[@@lookup][@surface1]; @surface1: @catppuccin[@@flavor][@surface1];
@surface0: @catppuccin[@@lookup][@surface0]; @surface0: @catppuccin[@@flavor][@surface0];
@base: @catppuccin[@@lookup][@base]; @base: @catppuccin[@@flavor][@base];
@mantle: @catppuccin[@@lookup][@mantle]; @mantle: @catppuccin[@@flavor][@mantle];
@crust: @catppuccin[@@lookup][@crust]; @crust: @catppuccin[@@flavor][@crust];
@accent-color: @catppuccin[@@lookup][@@accent]; @accent: @catppuccin[@@flavor][@@accentColor];
color-scheme: if(@lookup = latte, light, dark); color-scheme: if(@flavor = latte, light, dark);
::selection { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
input, input,
@@ -119,8 +119,8 @@
--bs-tertiary-bg-rgb: #rgbify(@base)[]; --bs-tertiary-bg-rgb: #rgbify(@base)[];
--bs-secondary-text-emphasis: @subtext0; --bs-secondary-text-emphasis: @subtext0;
--bs-success-text-emphasis: @green; --bs-success-text-emphasis: @green;
--bs-primary: @accent-color; --bs-primary: @accent;
--bs-primary-rgb: #rgbify(@accent-color)[]; --bs-primary-rgb: #rgbify(@accent)[];
--bs-secondary: @subtext0; --bs-secondary: @subtext0;
--bs-secondary-rgb: #rgbify(@subtext0)[]; --bs-secondary-rgb: #rgbify(@subtext0)[];
--bs-success: @green; --bs-success: @green;
@@ -146,18 +146,18 @@
--bs-info-border-subtle: @sky; --bs-info-border-subtle: @sky;
--bs-warning-border-subtle: @yellow; --bs-warning-border-subtle: @yellow;
--bs-danger-border-subtle: @red; --bs-danger-border-subtle: @red;
--bs-link-color: @accent-color; --bs-link-color: @accent;
--bs-link-color-rgb: #rgbify(@accent-color)[]; --bs-link-color-rgb: #rgbify(@accent)[];
--bs-code-color: @accent-color; --bs-code-color: @accent;
--bs-highlight-bg: @base; --bs-highlight-bg: @base;
--bs-form-valid-color: @green; --bs-form-valid-color: @green;
--bs-focus-ring-color: @accent-color; --bs-focus-ring-color: @accent;
--bs-form-valid-border-color: @green; --bs-form-valid-border-color: @green;
--bs-form-invalid-color: @red; --bs-form-invalid-color: @red;
--bs-form-invalid-border-color: @red; --bs-form-invalid-border-color: @red;
.btn-primary { .btn-primary {
#bsButton(@crust, @accent-color); #bsButton(@crust, @accent);
} }
.btn-secondary { .btn-secondary {
#bsButton(@text, @overlay0); #bsButton(@text, @overlay0);
@@ -182,7 +182,7 @@
} }
.btn-outline-primary { .btn-outline-primary {
#bsButtonOutline(@accent-color, @text); #bsButtonOutline(@accent, @text);
} }
.btn-outline-secondary { .btn-outline-secondary {
#bsButtonOutline(@overlay0, @text); #bsButtonOutline(@overlay0, @text);
@@ -229,7 +229,7 @@
background-color: @surface0 !important; background-color: @surface0 !important;
&:focus { &:focus {
border-color: @accent-color; border-color: @accent;
box-shadow: none; box-shadow: none;
} }
} }
@@ -268,12 +268,12 @@
color: @text; color: @text;
&:hover { &:hover {
color: @accent-color !important; color: @accent !important;
} }
} }
strong a { strong a {
color: @accent-color !important; color: @accent !important;
} }
} }
@@ -293,7 +293,7 @@
color: @text !important; color: @text !important;
} }
.nav-link.active { .nav-link.active {
background-color: @accent-color !important; background-color: @accent !important;
color: @crust !important; color: @crust !important;
} }
} }
@@ -304,26 +304,26 @@
color: @text; color: @text;
&.active { &.active {
background-color: @accent-color !important; background-color: @accent !important;
} }
&:focus, &:focus,
&:hover { &:hover {
box-shadow: none !important; box-shadow: none !important;
color: @accent-color !important; color: @accent !important;
} }
} }
.page-item.active .page-link { .page-item.active .page-link {
background-color: @accent-color !important; background-color: @accent !important;
border-color: @accent-color !important; border-color: @accent !important;
color: @crust !important; color: @crust !important;
} }
/* single skin page */ /* single skin page */
a.badge, a.badge,
span.badge { span.badge {
background-color: @accent-color !important; background-color: @accent !important;
color: @crust !important; color: @crust !important;
} }
@@ -353,8 +353,8 @@
color: @subtext1 !important; color: @subtext1 !important;
&:focus { &:focus {
border-color: @accent-color !important; border-color: @accent !important;
box-shadow: 0 0 0 0.25rem fade(@accent-color, 25%); box-shadow: 0 0 0 0.25rem fade(@accent, 25%);
} }
} }
@@ -411,7 +411,7 @@
} }
.card.mb-3 .card-header a { .card.mb-3 .card-header a {
color: @accent-color !important; color: @accent !important;
} }
.skin-button-selected { .skin-button-selected {
@@ -431,7 +431,7 @@
background-color: @base !important; background-color: @base !important;
&:focus { &:focus {
border-color: @accent-color !important; border-color: @accent !important;
box-shadow: none !important; box-shadow: none !important;
} }
} }
@@ -476,7 +476,7 @@
} }
} }
& when (@lookup = latte) { & when (@flavor = latte) {
--bs-black: @text; --bs-black: @text;
--bs-black-rgb: #rgbify(@text)[]; --bs-black-rgb: #rgbify(@text)[];
--bs-white: @crust; --bs-white: @crust;
@@ -505,8 +505,8 @@
--bs-primary-border-subtle: @surface2; --bs-primary-border-subtle: @surface2;
--bs-light-border-subtle: @mantle; --bs-light-border-subtle: @mantle;
--bs-dark-border-subtle: @surface2; --bs-dark-border-subtle: @surface2;
--bs-link-hover-color: @accent-color; --bs-link-hover-color: @accent;
--bs-link-hover-color-rgb: #rgbify(@accent-color)[]; --bs-link-hover-color-rgb: #rgbify(@accent)[];
--bs-border-color: @crust; --bs-border-color: @crust;
.mc-black { .mc-black {
@@ -524,7 +524,7 @@
} }
} }
& when not(@lookup = latte) { & when not(@flavor = latte) {
--bs-black: @crust; --bs-black: @crust;
--bs-white: @text; --bs-white: @text;
--bs-gray: @overlay2; --bs-gray: @overlay2;
+48 -50
View File
@@ -53,50 +53,48 @@
domain("t.com.sb"), domain("t.com.sb"),
domain("xcancel.com"), domain("xcancel.com"),
domain("nitter.poast.org") { domain("nitter.poast.org") {
@media (prefers-color-scheme: light) { :root {
:root { @media (prefers-color-scheme: light) {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
} @media (prefers-color-scheme: dark) {
@media (prefers-color-scheme: dark) { #catppuccin(@darkFlavor);
:root {
#catppuccin(@darkFlavor, @accentColor);
} }
} }
#catppuccin(@lookup, @accent) { #catppuccin(@flavor) {
@rosewater: @catppuccin[@@lookup][@rosewater]; @rosewater: @catppuccin[@@flavor][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo]; @flamingo: @catppuccin[@@flavor][@flamingo];
@pink: @catppuccin[@@lookup][@pink]; @pink: @catppuccin[@@flavor][@pink];
@mauve: @catppuccin[@@lookup][@mauve]; @mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@lookup][@red]; @red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@lookup][@maroon]; @maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@lookup][@peach]; @peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@lookup][@yellow]; @yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@lookup][@green]; @green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@lookup][@teal]; @teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@lookup][@sky]; @sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@lookup][@sapphire]; @sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@lookup][@blue]; @blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@lookup][@lavender]; @lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@lookup][@text]; @text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@lookup][@subtext1]; @subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@lookup][@subtext0]; @subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@lookup][@overlay2]; @overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@lookup][@overlay1]; @overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@lookup][@overlay0]; @overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@lookup][@surface2]; @surface2: @catppuccin[@@flavor][@surface2];
@surface1: @catppuccin[@@lookup][@surface1]; @surface1: @catppuccin[@@flavor][@surface1];
@surface0: @catppuccin[@@lookup][@surface0]; @surface0: @catppuccin[@@flavor][@surface0];
@base: @catppuccin[@@lookup][@base]; @base: @catppuccin[@@flavor][@base];
@mantle: @catppuccin[@@lookup][@mantle]; @mantle: @catppuccin[@@flavor][@mantle];
@crust: @catppuccin[@@lookup][@crust]; @crust: @catppuccin[@@flavor][@crust];
@accent-color: @catppuccin[@@lookup][@@accent]; @accent: @catppuccin[@@flavor][@@accentColor];
color-scheme: if(@lookup = latte, light, dark); color-scheme: if(@flavor = latte, light, dark);
::selection { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
input, input,
@@ -110,8 +108,8 @@
--bg_color: @mantle; --bg_color: @mantle;
--fg_color: @text; --fg_color: @text;
--fg_faded: @subtext1; --fg_faded: @subtext1;
--fg_dark: @accent-color; --fg_dark: @accent;
--fg_nav: @accent-color; --fg_nav: @accent;
--bg_panel: @crust; --bg_panel: @crust;
--bg_elements: @base; --bg_elements: @base;
--bg_overlays: @base; --bg_overlays: @base;
@@ -121,18 +119,18 @@
--darker_grey: @base; --darker_grey: @base;
--darkest_grey: @mantle; --darkest_grey: @mantle;
--border_grey: @base; --border_grey: @base;
--accent: @accent-color; --accent: @accent;
--accent_light: lighten(@accent-color, 10%); --accent_light: lighten(@accent, 10%);
--accent_dark: darken(@accent-color, 10%); --accent_dark: darken(@accent, 10%);
--accent_border: darken(@accent-color, 10%); --accent_border: darken(@accent, 10%);
--play_button: @accent-color; --play_button: @accent;
--play_button_hover: @accent-color; --play_button_hover: @accent;
--more_replies_dots: darken(@accent-color, 10%); --more_replies_dots: darken(@accent, 10%);
--error_red: @red; --error_red: @red;
--verified_blue: @blue; --verified_blue: @blue;
--icon_text: @text; --icon_text: @text;
--tab: @text; --tab: @text;
--tab_selected: @accent-color; --tab_selected: @accent;
--profile_stat: @text; --profile_stat: @text;
--verified_government: @subtext0; --verified_government: @subtext0;
--verified_business: @yellow; --verified_business: @yellow;
@@ -145,7 +143,7 @@
/* logo */ /* logo */
img.site-logo { img.site-logo {
@svg: escape( @svg: escape(
'<svg xmlns="http://www.w3.org/2000/svg" width="500" height="500" fill="none"><path stroke="@{accent-color}" stroke-linejoin="round" stroke-width="20" d="M145 41H81v418h78V183.5L355 459h64V41h-78v275.5z"/></svg>' '<svg xmlns="http://www.w3.org/2000/svg" width="500" height="500" fill="none"><path stroke="@{accent}" stroke-linejoin="round" stroke-width="20" d="M145 41H81v418h78V183.5L355 459h64V41h-78v275.5z"/></svg>'
); );
content: url("data:image/svg+xml,@{svg}"); content: url("data:image/svg+xml,@{svg}");
} }
@@ -162,11 +160,11 @@
h2, h2,
p, p,
#status { #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;"] { [style="width:auto;margin:16px auto;border:1px solid #FF6C60;background-color:#1f1f1f;border-radius:3px 3px 3px 3px;padding:10px;"] {
background: @base !important; background: @base !important;
border-color: @accent-color !important; border-color: @accent !important;
} }
} }
+47 -42
View File
@@ -19,45 +19,43 @@
url-prefix("https://daiderd.com/nix-darwin/manual/") { url-prefix("https://daiderd.com/nix-darwin/manual/") {
@import url("https://unpkg.com/@catppuccin/[email protected]/css/catppuccin-variables.important.css"); @import url("https://unpkg.com/@catppuccin/[email protected]/css/catppuccin-variables.important.css");
@media (prefers-color-scheme: light) { :root {
:root { @media (prefers-color-scheme: light) {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
} @media (prefers-color-scheme: dark) {
@media (prefers-color-scheme: dark) { #catppuccin(@darkFlavor);
:root {
#catppuccin(@darkFlavor, @accentColor);
} }
} }
#catppuccin(@lookup, @accent) { #catppuccin(@flavor) {
@rosewater: @catppuccin[@@lookup][@rosewater]; @rosewater: @catppuccin[@@flavor][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo]; @flamingo: @catppuccin[@@flavor][@flamingo];
@pink: @catppuccin[@@lookup][@pink]; @pink: @catppuccin[@@flavor][@pink];
@mauve: @catppuccin[@@lookup][@mauve]; @mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@lookup][@red]; @red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@lookup][@maroon]; @maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@lookup][@peach]; @peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@lookup][@yellow]; @yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@lookup][@green]; @green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@lookup][@teal]; @teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@lookup][@sky]; @sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@lookup][@sapphire]; @sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@lookup][@blue]; @blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@lookup][@lavender]; @lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@lookup][@text]; @text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@lookup][@subtext1]; @subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@lookup][@subtext0]; @subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@lookup][@overlay2]; @overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@lookup][@overlay1]; @overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@lookup][@overlay0]; @overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@lookup][@surface2]; @surface2: @catppuccin[@@flavor][@surface2];
@surface1: @catppuccin[@@lookup][@surface1]; @surface1: @catppuccin[@@flavor][@surface1];
@surface0: @catppuccin[@@lookup][@surface0]; @surface0: @catppuccin[@@flavor][@surface0];
@base: @catppuccin[@@lookup][@base]; @base: @catppuccin[@@flavor][@base];
@mantle: @catppuccin[@@lookup][@mantle]; @mantle: @catppuccin[@@flavor][@mantle];
@crust: @catppuccin[@@lookup][@crust]; @crust: @catppuccin[@@flavor][@crust];
@accent-color: @catppuccin[@@lookup][@@accent]; @accent: @catppuccin[@@flavor][@@accentColor];
--ctp-rosewater: @rosewater; --ctp-rosewater: @rosewater;
--ctp-flamingo: @flamingo; --ctp-flamingo: @flamingo;
@@ -86,10 +84,17 @@
--ctp-mantle: @mantle; --ctp-mantle: @mantle;
--ctp-crust: @crust; --ctp-crust: @crust;
color-scheme: if(@lookup = latte, light, dark); color-scheme: if(@flavor = latte, light, dark);
::selection { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
}
input,
textarea {
&::placeholder {
color: @subtext0 !important;
}
} }
body { body {
@@ -104,18 +109,18 @@
} }
a { a {
border-bottom-color: @accent-color !important; border-bottom-color: @accent !important;
color: @accent-color; color: @accent;
} }
h1, h1,
h2, h2,
h3, h3,
h4 { h4 {
color: @accent-color; color: @accent;
} }
h5 { h5 {
color: fade(@accent-color, 85%); color: fade(@accent, 85%);
} }
hr, hr,
@@ -187,7 +192,7 @@
color: @text !important; color: @text !important;
} }
a { a {
color: @accent-color !important; color: @accent !important;
} }
} }
} }
+43 -46
View File
@@ -16,51 +16,48 @@
==/UserStyle== */ ==/UserStyle== */
@-moz-document domain("search.nixos.org") { @-moz-document domain("search.nixos.org") {
@media (prefers-color-scheme: light) { :root {
:root { @media (prefers-color-scheme: light) {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
}
@media (prefers-color-scheme: dark) {
#catppuccin(@darkFlavor);
} }
} }
@media (prefers-color-scheme: dark) { #catppuccin(@flavor) {
:root { @rosewater: @catppuccin[@@flavor][@rosewater];
#catppuccin(@darkFlavor, @accentColor); @flamingo: @catppuccin[@@flavor][@flamingo];
} @pink: @catppuccin[@@flavor][@pink];
} @mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@flavor][@surface2];
@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) { color-scheme: if(@flavor = latte, light, dark);
@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 { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
input, input,
@@ -71,7 +68,7 @@
} }
--background-color: @base; --background-color: @base;
--badge-background: @accent-color; --badge-background: @accent;
--button-active-background: @surface1; --button-active-background: @surface1;
--button-active-hover-background: @surface2; --button-active-hover-background: @surface2;
--button-background: @surface0; --button-background: @surface0;
@@ -81,16 +78,16 @@
--color-hover-tab: @surface1; --color-hover-tab: @surface1;
--headerbar-background-color: @mantle; --headerbar-background-color: @mantle;
--hover-background: @surface0; --hover-background: @surface0;
--link-color: @accent-color; --link-color: @accent;
--info-label-background: @accent-color; --info-label-background: @accent;
--dark-blue: @accent-color; --dark-blue: @accent;
--light-blue: @accent-color; // used by focus outline --light-blue: @accent; // used by focus outline
--line-color: @surface0; --line-color: @surface0;
--search-result-short-details-color: @subtext1; --search-result-short-details-color: @subtext1;
--search-result-divider-line-color: @surface0; --search-result-divider-line-color: @surface0;
--search-result-title-color: @accent-color; --search-result-title-color: @accent;
--search-sidebar-link-color: @text; --search-sidebar-link-color: @text;
--search-sidebar-selected-link-background: @accent-color; --search-sidebar-selected-link-background: @accent;
--search-sidebar-selected-link-color: @crust; --search-sidebar-selected-link-color: @crust;
--terminal-background: @surface0; --terminal-background: @surface0;
--terminal-color: @red; --terminal-color: @red;
+75 -68
View File
@@ -16,53 +16,50 @@
==/UserStyle== */ ==/UserStyle== */
@-moz-document domain("www.npmjs.com") { @-moz-document domain("www.npmjs.com") {
@media (prefers-color-scheme: light) { :root {
:root { @media (prefers-color-scheme: light) {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
} @media (prefers-color-scheme: dark) {
@media (prefers-color-scheme: dark) { #catppuccin(@darkFlavor);
:root {
#catppuccin(@darkFlavor, @accentColor);
} }
} }
#catppuccin(@lookup, @accent) { #catppuccin(@flavor) {
@rosewater: @catppuccin[@@lookup][@rosewater]; @rosewater: @catppuccin[@@flavor][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo]; @flamingo: @catppuccin[@@flavor][@flamingo];
@pink: @catppuccin[@@lookup][@pink]; @pink: @catppuccin[@@flavor][@pink];
@mauve: @catppuccin[@@lookup][@mauve]; @mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@lookup][@red]; @red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@lookup][@maroon]; @maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@lookup][@peach]; @peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@lookup][@yellow]; @yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@lookup][@green]; @green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@lookup][@teal]; @teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@lookup][@sky]; @sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@lookup][@sapphire]; @sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@lookup][@blue]; @blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@lookup][@lavender]; @lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@lookup][@text]; @text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@lookup][@subtext1]; @subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@lookup][@subtext0]; @subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@lookup][@overlay2]; @overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@lookup][@overlay1]; @overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@lookup][@overlay0]; @overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@lookup][@surface2]; @surface2: @catppuccin[@@flavor][@surface2];
@surface1: @catppuccin[@@lookup][@surface1]; @surface1: @catppuccin[@@flavor][@surface1];
@surface0: @catppuccin[@@lookup][@surface0]; @surface0: @catppuccin[@@flavor][@surface0];
@base: @catppuccin[@@lookup][@base]; @base: @catppuccin[@@flavor][@base];
@mantle: @catppuccin[@@lookup][@mantle]; @mantle: @catppuccin[@@flavor][@mantle];
@crust: @catppuccin[@@lookup][@crust]; @crust: @catppuccin[@@flavor][@crust];
@accent-color: @catppuccin[@@lookup][@@accent]; @accent: @catppuccin[@@flavor][@@accentColor];
@red-filter: @catppuccin[@@lookup][@red_filter]; @red-filter: @catppuccin-filters[@@flavor][@red];
color-scheme: if(@lookup = latte, light, dark); color-scheme: if(@flavor = latte, light, dark);
accent-color: @accent-color;
::selection { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
input, input,
@@ -70,7 +67,7 @@
background-color: transparent; background-color: transparent;
&:focus { &:focus {
box-shadow: 0 0 0 2px @accent-color; box-shadow: 0 0 0 2px @accent;
} }
&::placeholder { &::placeholder {
@@ -78,13 +75,15 @@
} }
} }
accent-color: @accent;
@npmGradient: linear-gradient(139deg, @peach, @maroon, @red, @pink); @npmGradient: linear-gradient(139deg, @peach, @maroon, @red, @pink);
--color-fg-default: @text; --color-fg-default: @text;
--color-fg-muted: @subtext1; --color-fg-muted: @subtext1;
--color-fg-subtle: @subtext0; --color-fg-subtle: @subtext0;
--color-fg-on-emphasis: @base; --color-fg-on-emphasis: @base;
--color-fg-brand: @accent-color; --color-fg-brand: @accent;
--color-fg-accent: @blue; --color-fg-accent: @blue;
--color-fg-success: @green; --color-fg-success: @green;
--color-fg-attention: @yellow; --color-fg-attention: @yellow;
@@ -150,7 +149,7 @@
/* Top loading bar */ /* Top loading bar */
div.fixed.top-0.left-0.z-999 { div.fixed.top-0.left-0.z-999 {
background-color: @accent-color; background-color: @accent;
} }
/* Magnifying glass icon (search box, discover packages) */ /* Magnifying glass icon (search box, discover packages) */
@@ -171,7 +170,7 @@
/* --- HEADER --- */ /* --- HEADER --- */
[data-test-id="notification-banner"] { [data-test-id="notification-banner"] {
background-color: if( background-color: if(
@lookup = latte, @flavor = latte,
desaturate(lighten(@green, 30%), 5%), desaturate(lighten(@green, 30%), 5%),
desaturate(darken(@green, 5%), 5%) desaturate(darken(@green, 5%), 5%)
); );
@@ -179,7 +178,7 @@
#notification, #notification,
button[aria-label="Close notification"] { button[aria-label="Close notification"] {
color: if(@lookup = latte, @text, @base); color: if(@flavor = latte, @text, @base);
} }
} }
header { header {
@@ -291,9 +290,9 @@
/* Red "Add Organization" button */ /* Red "Add Organization" button */
&[href="/org/create"] { &[href="/org/create"] {
border-color: @surface0; border-color: @surface0;
color: @accent-color; color: @accent;
svg { svg {
fill: @accent-color; fill: @accent;
} }
} }
} }
@@ -332,7 +331,7 @@
/* Popular libraries section */ /* Popular libraries section */
#popular-libraries-header + hr { #popular-libraries-header + hr {
border-color: @accent-color; border-color: @accent;
} }
ul[aria-labelledby="popular-libraries-header"] { ul[aria-labelledby="popular-libraries-header"] {
li a { li a {
@@ -382,7 +381,7 @@
/* Recently updated packages section */ /* Recently updated packages section */
#recently-updated-packages-header + hr { #recently-updated-packages-header + hr {
border-color: @accent-color; border-color: @accent;
} }
/* --- PACKAGE PAGES --- */ /* --- PACKAGE PAGES --- */
@@ -473,11 +472,11 @@
} }
/* Weekly downloads chart */ /* Weekly downloads chart */
div:has(> svg > [class^="sparkline--"]) { div:has(> svg > [class^="sparkline--"]) {
border-bottom-color: fade(@accent-color, 20%); border-bottom-color: fade(@accent, 20%);
svg { svg {
stroke: @accent-color; stroke: @accent;
fill: fade(@accent-color, 20%); fill: fade(@accent, 20%);
} }
} }
@@ -645,7 +644,7 @@
#tabpanel-readme #readme { #tabpanel-readme #readme {
color: @text; color: @text;
a { a {
color: @accent-color; color: @accent;
} }
h1, h1,
h2, h2,
@@ -728,7 +727,7 @@
color: @text; color: @text;
+ ul a { + ul a {
color: @accent-color; color: @accent;
&:hover { &:hover {
color: @text; color: @text;
@@ -826,8 +825,8 @@
} }
} }
._305a9f55 ._038c0473 { ._305a9f55 ._038c0473 {
border-color: @accent-color; border-color: @accent;
background-color: fade(@accent-color, 20%); background-color: fade(@accent, 20%);
} }
button[aria-label^="Delete token ending in"] { button[aria-label^="Delete token ending in"] {
._305a9f55 ._038c0473 & { ._305a9f55 ._038c0473 & {
@@ -918,7 +917,7 @@
.bg-washed-green { .bg-washed-green {
background-color: fade( background-color: fade(
lighten(@teal, 10%), lighten(@teal, 10%),
if(@lookup = latte, 50%, 100%) if(@flavor = latte, 50%, 100%)
); );
} }
.b--light-green { .b--light-green {
@@ -936,7 +935,7 @@
} }
.npm-red { .npm-red {
color: @accent-color; color: @accent;
} }
.a11y-light-gray, .a11y-light-gray,
@@ -1007,7 +1006,7 @@
/* Danger */ /* Danger */
&._4a3f8f21 { &._4a3f8f21 {
& when (@lookup = latte) { & when (@flavor = latte) {
background-color: lighten(@red, 30%); background-color: lighten(@red, 30%);
&:hover { &:hover {
@@ -1015,7 +1014,7 @@
} }
} }
& when not(@lookup = latte) { & when not(@flavor = latte) {
background-color: @red; background-color: @red;
color: @surface1; color: @surface1;
@@ -1027,7 +1026,7 @@
/* Success */ /* Success */
&.c37751f6 { &.c37751f6 {
& when (@lookup = latte) { & when (@flavor = latte) {
background-color: lighten(@green, 30%); background-color: lighten(@green, 30%);
&:hover { &:hover {
@@ -1035,7 +1034,7 @@
} }
} }
& when not(@lookup = latte) { & when not(@flavor = latte) {
background-color: @green; background-color: @green;
color: @surface1; color: @surface1;
@@ -1106,12 +1105,12 @@
} }
#pkg-list-exact-match { #pkg-list-exact-match {
color: @base; color: @base;
background-color: @accent-color; background-color: @accent;
} }
/* Username links */ /* Username links */
a[aria-label^="publisher"]:hover { a[aria-label^="publisher"]:hover {
color: @accent-color; color: @accent;
} }
/* --- FOOTER --- */ /* --- FOOTER --- */
@@ -1121,7 +1120,7 @@
color: @text; color: @text;
} }
ul a:hover { ul a:hover {
color: @accent-color; color: @accent;
} }
a[href="https://github.com/npm"] svg { a[href="https://github.com/npm"] svg {
> polygon { > polygon {
@@ -1149,16 +1148,16 @@
--color-prettylights-syntax-string: @green; --color-prettylights-syntax-string: @green;
--color-prettylights-syntax-variable: @peach; --color-prettylights-syntax-variable: @peach;
--color-prettylights-syntax-invalid-illegal-text: @red; --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-heading: @teal;
--color-prettylights-syntax-markup-italic: @yellow; --color-prettylights-syntax-markup-italic: @yellow;
--color-prettylights-syntax-markup-bold: @yellow; --color-prettylights-syntax-markup-bold: @yellow;
--color-prettylights-syntax-markup-deleted-text: @text; --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-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-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; --color-prettylights-syntax-markup-ignored-text: @text;
/* stylelint-disable declaration-block-single-line-max-declarations */ /* 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; }; @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; }; @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%); };
};
+51 -45
View File
@@ -18,47 +18,45 @@
@-moz-document domain("ollama.com") { @-moz-document domain("ollama.com") {
@import url("https://unpkg.com/@catppuccin/[email protected]/css/catppuccin-variables.css"); @import url("https://unpkg.com/@catppuccin/[email protected]/css/catppuccin-variables.css");
@media (prefers-color-scheme: light) { :root {
:root { @media (prefers-color-scheme: light) {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
} @media (prefers-color-scheme: dark) {
@media (prefers-color-scheme: dark) { #catppuccin(@darkFlavor);
:root {
#catppuccin(@darkFlavor, @accentColor);
} }
} }
#catppuccin(@lookup, @accent) { #catppuccin(@flavor) {
@rosewater: @catppuccin[@@lookup][@rosewater]; @rosewater: @catppuccin[@@flavor][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo]; @flamingo: @catppuccin[@@flavor][@flamingo];
@pink: @catppuccin[@@lookup][@pink]; @pink: @catppuccin[@@flavor][@pink];
@mauve: @catppuccin[@@lookup][@mauve]; @mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@lookup][@red]; @red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@lookup][@maroon]; @maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@lookup][@peach]; @peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@lookup][@yellow]; @yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@lookup][@green]; @green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@lookup][@teal]; @teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@lookup][@sky]; @sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@lookup][@sapphire]; @sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@lookup][@blue]; @blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@lookup][@lavender]; @lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@lookup][@text]; @text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@lookup][@subtext1]; @subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@lookup][@subtext0]; @subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@lookup][@overlay2]; @overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@lookup][@overlay1]; @overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@lookup][@overlay0]; @overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@lookup][@surface2]; @surface2: @catppuccin[@@flavor][@surface2];
@surface1: @catppuccin[@@lookup][@surface1]; @surface1: @catppuccin[@@flavor][@surface1];
@surface0: @catppuccin[@@lookup][@surface0]; @surface0: @catppuccin[@@flavor][@surface0];
@base: @catppuccin[@@lookup][@base]; @base: @catppuccin[@@flavor][@base];
@mantle: @catppuccin[@@lookup][@mantle]; @mantle: @catppuccin[@@flavor][@mantle];
@crust: @catppuccin[@@lookup][@crust]; @crust: @catppuccin[@@flavor][@crust];
@accent-color: @catppuccin[@@lookup][@@accent]; @accent: @catppuccin[@@flavor][@@accentColor];
@text-filter: @catppuccin[@@lookup][@text-filter]; @text-filter: @catppuccin-filters[@@flavor][@text];
--ctp-rosewater: @rosewater; --ctp-rosewater: @rosewater;
--ctp-flamingo: @flamingo; --ctp-flamingo: @flamingo;
@@ -87,10 +85,10 @@
--ctp-mantle: @mantle; --ctp-mantle: @mantle;
--ctp-crust: @crust; --ctp-crust: @crust;
color-scheme: if(@lookup = latte, light, dark); color-scheme: if(@flavor = latte, light, dark);
::selection { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
input, input,
@@ -165,7 +163,7 @@
.prose { .prose {
--tw-prose-headings: @text; --tw-prose-headings: @text;
--tw-prose-links: @accent-color; --tw-prose-links: @accent;
} }
.text-white, .text-white,
@@ -198,7 +196,7 @@
} }
.text-blue-500, .text-blue-500,
.text-blue-600 { .text-blue-600 {
color: @accent-color; color: @accent;
} }
/* Models page, color for non-weight pills/tags. Background color is solid from `.bg-indigo-50`. */ /* Models page, color for non-weight pills/tags. Background color is solid from `.bg-indigo-50`. */
.text-indigo-600 { .text-indigo-600 {
@@ -234,14 +232,14 @@
background-color: fade(@yellow, 10%); background-color: fade(@yellow, 10%);
} }
.bg-indigo-50 { .bg-indigo-50 {
background-color: @accent-color; background-color: @accent;
} }
.bg-\[\#ddf4ff\] { .bg-\[\#ddf4ff\] {
background-color: fade(@accent-color, 10%); background-color: fade(@accent, 10%);
} }
.border { .border {
border-color: @accent-color; border-color: @accent;
} }
.border-neutral-200, .border-neutral-200,
.border-neutral-300, .border-neutral-300,
@@ -250,7 +248,7 @@
border-color: @surface1; border-color: @surface1;
} }
.focus\:border-blue-400:focus { .focus\:border-blue-400:focus {
border-color: @accent-color; border-color: @accent;
} }
.focus\:border-red-400:focus { .focus\:border-red-400:focus {
border-color: @red; border-color: @red;
@@ -268,7 +266,7 @@
select:focus, select:focus,
.ring-blue-300, .ring-blue-300,
.focus\:ring-blue-300:focus { .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 { .focus\:ring-red-300:focus {
--tw-ring-color: rgba(#rgbify(@red)[], var(--tw-ring-opacity)); --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; }; @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; }; @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%); };
};
+54 -56
View File
@@ -16,50 +16,48 @@
==/UserStyle== */ ==/UserStyle== */
@-moz-document domain("openmediavault.example.com") { @-moz-document domain("openmediavault.example.com") {
@media (prefers-color-scheme: light) { :root {
:root { @media (prefers-color-scheme: light) {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
} @media (prefers-color-scheme: dark) {
@media (prefers-color-scheme: dark) { #catppuccin(@darkFlavor);
:root {
#catppuccin(@darkFlavor, @accentColor);
} }
} }
#catppuccin(@lookup, @accent) { #catppuccin(@flavor) {
@rosewater: @catppuccin[@@lookup][@rosewater]; @rosewater: @catppuccin[@@flavor][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo]; @flamingo: @catppuccin[@@flavor][@flamingo];
@pink: @catppuccin[@@lookup][@pink]; @pink: @catppuccin[@@flavor][@pink];
@mauve: @catppuccin[@@lookup][@mauve]; @mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@lookup][@red]; @red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@lookup][@maroon]; @maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@lookup][@peach]; @peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@lookup][@yellow]; @yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@lookup][@green]; @green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@lookup][@teal]; @teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@lookup][@sky]; @sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@lookup][@sapphire]; @sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@lookup][@blue]; @blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@lookup][@lavender]; @lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@lookup][@text]; @text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@lookup][@subtext1]; @subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@lookup][@subtext0]; @subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@lookup][@overlay2]; @overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@lookup][@overlay1]; @overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@lookup][@overlay0]; @overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@lookup][@surface2]; @surface2: @catppuccin[@@flavor][@surface2];
@surface1: @catppuccin[@@lookup][@surface1]; @surface1: @catppuccin[@@flavor][@surface1];
@surface0: @catppuccin[@@lookup][@surface0]; @surface0: @catppuccin[@@flavor][@surface0];
@base: @catppuccin[@@lookup][@base]; @base: @catppuccin[@@flavor][@base];
@mantle: @catppuccin[@@lookup][@mantle]; @mantle: @catppuccin[@@flavor][@mantle];
@crust: @catppuccin[@@lookup][@crust]; @crust: @catppuccin[@@flavor][@crust];
@accent-color: @catppuccin[@@lookup][@@accent]; @accent: @catppuccin[@@flavor][@@accentColor];
color-scheme: if(@lookup = latte, light, dark); color-scheme: if(@flavor = latte, light, dark);
::selection { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
input, input,
@@ -74,15 +72,15 @@
--mat-color-secondary-text: @subtext0; --mat-color-secondary-text: @subtext0;
--mat-color-disabled-text: @red; --mat-color-disabled-text: @red;
--mat-color-hint-text: @blue; --mat-color-hint-text: @blue;
--mat-background-color-hover: @accent-color; --mat-background-color-hover: @accent;
--mat-background-color-selected-button: @accent-color; --mat-background-color-selected-button: @accent;
--mat-background-color-card: @crust; --mat-background-color-card: @crust;
--mat-background-color-background: @crust; --mat-background-color-background: @crust;
--mat-primary-color-text: @accent-color; --mat-primary-color-text: @accent;
--mat-background-color-body: @base; --mat-background-color-body: @base;
} }
.omv-dark-theme .mat-toolbar.mat-primary { .omv-dark-theme .mat-toolbar.mat-primary {
background: @accent-color; background: @accent;
color: @text; color: @text;
} }
.omv-dark-theme .mat-drawer-container { .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-form-field-label,
.omv-dark-theme .mat-form-field-appearance-legacy .mat-hint { .omv-dark-theme .mat-form-field-appearance-legacy .mat-hint {
color: @accent-color; color: @accent;
} }
.omv-dark-theme .mat-toolbar { .omv-dark-theme .mat-toolbar {
background: @crust; background: @crust;
@@ -138,15 +136,15 @@
.omv-scrollable-xy, .omv-scrollable-xy,
.omv-scrollable-y { .omv-scrollable-y {
scrollbar-color: @accent-color transparent; scrollbar-color: @accent transparent;
--scrollbar-thumb-color: @accent-color !important; --scrollbar-thumb-color: @accent !important;
--scrollbar-thumb-hover-color: @accent-color; --scrollbar-thumb-hover-color: @accent;
} }
.omv-dark-theme .mat-button, .omv-dark-theme .mat-button,
.omv-dark-theme .mat-icon-button, .omv-dark-theme .mat-icon-button,
.omv-dark-theme .mat-stroked-button { .omv-dark-theme .mat-stroked-button {
color: @accent-color; color: @accent;
background: inherit; background: inherit;
} }
@@ -154,29 +152,29 @@
.omv-dark-theme .mat-pseudo-checkbox-indeterminate, .omv-dark-theme .mat-pseudo-checkbox-indeterminate,
.omv-dark-theme .mat-accent .mat-pseudo-checkbox-checked, .omv-dark-theme .mat-accent .mat-pseudo-checkbox-checked,
.omv-dark-theme .mat-accent .mat-pseudo-checkbox-indeterminate { .omv-dark-theme .mat-accent .mat-pseudo-checkbox-indeterminate {
background: @accent-color; background: @accent;
} }
.omv-dark-theme .omv-dark-theme
.mat-checkbox-indeterminate.mat-accent .mat-checkbox-indeterminate.mat-accent
.mat-checkbox-background, .mat-checkbox-background,
.omv-dark-theme .mat-checkbox-checked.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 { .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 { .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 { .omv-dark-theme .mat-badge-accent .mat-badge-content {
background: @crust; background: @crust;
color: @accent-color; color: @accent;
} }
.omv-dark-theme .mat-select-panel { .omv-dark-theme .mat-select-panel {
scrollbar-color: @accent-color transparent; scrollbar-color: @accent transparent;
--scrollbar-thumb-color: @accent-color !important; --scrollbar-thumb-color: @accent !important;
--scrollbar-thumb-hover-color: @accent-color !important; --scrollbar-thumb-hover-color: @accent !important;
background: @crust; background: @crust;
} }
@@ -187,7 +185,7 @@
.omv-dark-theme .omv-dark-theme
.mat-primary .mat-primary
.mat-option.mat-selected:not(.mat-option-disabled) { .mat-option.mat-selected:not(.mat-option-disabled) {
color: @accent-color; color: @accent;
} }
.ngx-datatable.single-selection .datatable-body-row.active, .ngx-datatable.single-selection .datatable-body-row.active,
@@ -202,7 +200,7 @@
.ngx-datatable.multi-click-selection .ngx-datatable.multi-click-selection
.datatable-body-row.active .datatable-body-row.active
.datatable-row-group { .datatable-row-group {
color: @accent-color; color: @accent;
background-color: @crust; background-color: @crust;
} }
+38 -40
View File
@@ -16,50 +16,48 @@
==/UserStyle== */ ==/UserStyle== */
@-moz-document domain("paste.rs") { @-moz-document domain("paste.rs") {
@media (prefers-color-scheme: light) { :root {
:root { @media (prefers-color-scheme: light) {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
} @media (prefers-color-scheme: dark) {
@media (prefers-color-scheme: dark) { #catppuccin(@darkFlavor);
:root {
#catppuccin(@darkFlavor, @accentColor);
} }
} }
#catppuccin(@lookup, @accent) { #catppuccin(@flavor) {
@rosewater: @catppuccin[@@lookup][@rosewater]; @rosewater: @catppuccin[@@flavor][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo]; @flamingo: @catppuccin[@@flavor][@flamingo];
@pink: @catppuccin[@@lookup][@pink]; @pink: @catppuccin[@@flavor][@pink];
@mauve: @catppuccin[@@lookup][@mauve]; @mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@lookup][@red]; @red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@lookup][@maroon]; @maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@lookup][@peach]; @peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@lookup][@yellow]; @yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@lookup][@green]; @green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@lookup][@teal]; @teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@lookup][@sky]; @sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@lookup][@sapphire]; @sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@lookup][@blue]; @blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@lookup][@lavender]; @lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@lookup][@text]; @text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@lookup][@subtext1]; @subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@lookup][@subtext0]; @subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@lookup][@overlay2]; @overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@lookup][@overlay1]; @overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@lookup][@overlay0]; @overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@lookup][@surface2]; @surface2: @catppuccin[@@flavor][@surface2];
@surface1: @catppuccin[@@lookup][@surface1]; @surface1: @catppuccin[@@flavor][@surface1];
@surface0: @catppuccin[@@lookup][@surface0]; @surface0: @catppuccin[@@flavor][@surface0];
@base: @catppuccin[@@lookup][@base]; @base: @catppuccin[@@flavor][@base];
@mantle: @catppuccin[@@lookup][@mantle]; @mantle: @catppuccin[@@flavor][@mantle];
@crust: @catppuccin[@@lookup][@crust]; @crust: @catppuccin[@@flavor][@crust];
@accent-color: @catppuccin[@@lookup][@@accent]; @accent: @catppuccin[@@flavor][@@accentColor];
color-scheme: if(@lookup = latte, light, dark); color-scheme: if(@flavor = latte, light, dark);
::selection { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
input, input,
@@ -75,7 +73,7 @@
} }
a { a {
color: @accent-color; color: @accent;
} }
/* Web UI */ /* Web UI */
@@ -90,7 +88,7 @@
textarea:focus, textarea:focus,
select:focus, select:focus,
input[type="submit"]:focus { input[type="submit"]:focus {
border-color: @accent-color; border-color: @accent;
outline-color: @overlay0; outline-color: @overlay0;
} }
input[type="submit"]:hover { input[type="submit"]:hover {
@@ -118,7 +116,7 @@
} }
a { a {
color: @accent-color; color: @accent;
} }
img { img {
+45 -45
View File
@@ -17,46 +17,46 @@
@-moz-document domain("perplexity.ai") { @-moz-document domain("perplexity.ai") {
:root:not([data-color-scheme="dark"]) { :root:not([data-color-scheme="dark"]) {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
:root, :root,
:root:not([data-color-scheme="light"]) { :root:not([data-color-scheme="light"]) {
#catppuccin(@darkFlavor, @accentColor); #catppuccin(@darkFlavor);
} }
#catppuccin(@lookup, @accent) { #catppuccin(@flavor) {
@rosewater: @catppuccin[@@lookup][@rosewater]; @rosewater: @catppuccin[@@flavor][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo]; @flamingo: @catppuccin[@@flavor][@flamingo];
@pink: @catppuccin[@@lookup][@pink]; @pink: @catppuccin[@@flavor][@pink];
@mauve: @catppuccin[@@lookup][@mauve]; @mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@lookup][@red]; @red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@lookup][@maroon]; @maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@lookup][@peach]; @peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@lookup][@yellow]; @yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@lookup][@green]; @green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@lookup][@teal]; @teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@lookup][@sky]; @sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@lookup][@sapphire]; @sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@lookup][@blue]; @blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@lookup][@lavender]; @lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@lookup][@text]; @text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@lookup][@subtext1]; @subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@lookup][@subtext0]; @subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@lookup][@overlay2]; @overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@lookup][@overlay1]; @overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@lookup][@overlay0]; @overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@lookup][@surface2]; @surface2: @catppuccin[@@flavor][@surface2];
@surface1: @catppuccin[@@lookup][@surface1]; @surface1: @catppuccin[@@flavor][@surface1];
@surface0: @catppuccin[@@lookup][@surface0]; @surface0: @catppuccin[@@flavor][@surface0];
@base: @catppuccin[@@lookup][@base]; @base: @catppuccin[@@flavor][@base];
@mantle: @catppuccin[@@lookup][@mantle]; @mantle: @catppuccin[@@flavor][@mantle];
@crust: @catppuccin[@@lookup][@crust]; @crust: @catppuccin[@@flavor][@crust];
@accent-color: @catppuccin[@@lookup][@@accent]; @accent: @catppuccin[@@flavor][@@accentColor];
color-scheme: if(@lookup = latte, light, dark); color-scheme: if(@flavor = latte, light, dark);
::selection { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
input, input,
@@ -94,7 +94,7 @@
} }
.bg-background-super-alt { .bg-background-super-alt {
background-color: @accent-color !important; background-color: @accent !important;
} }
.bg-backgroundDark { .bg-backgroundDark {
@@ -144,11 +144,11 @@
.bg-superDark, .bg-superDark,
.bg-superDark\/100, .bg-superDark\/100,
.bg-super\/100 { .bg-super\/100 {
background-color: @accent-color !important; background-color: @accent !important;
} }
.bg-super\/10, .bg-super\/10,
.bg-superDark\/10 { .bg-superDark\/10 {
background-color: fade(@accent-color, 10%) !important; background-color: fade(@accent, 10%) !important;
} }
.bg-textMain { .bg-textMain {
@@ -196,7 +196,7 @@
.text-superAlt, .text-superAlt,
.text-superDark, .text-superDark,
.text-superDuper { .text-superDuper {
color: @accent-color !important; color: @accent !important;
} }
.text-textMain { .text-textMain {
@@ -239,7 +239,7 @@
.stroke-super, .stroke-super,
.stroke-superAlt, .stroke-superAlt,
.stroke-superDark { .stroke-superDark {
stroke: @accent-color !important; stroke: @accent !important;
} }
.stroke-textMain { .stroke-textMain {
@@ -262,7 +262,7 @@
.fill-super, .fill-super,
.fill-superAlt, .fill-superAlt,
.fill-superDark { .fill-superDark {
fill: @accent-color !important; fill: @accent !important;
} }
.fill-textMain, .fill-textMain,
@@ -309,7 +309,7 @@
.border-super, .border-super,
.border-super\/10, .border-super\/10,
.border-super\/100 { .border-super\/100 {
border-color: @accent-color !important; border-color: @accent !important;
} }
.border-textMain\/0 { .border-textMain\/0 {
@@ -328,11 +328,11 @@
border-bottom-color: @subtext0 !important; border-bottom-color: @subtext0 !important;
} }
.group:hover [class*="group-hover:text-superDark"] { .group:hover [class*="group-hover:text-superDark"] {
color: @accent-color !important; color: @accent !important;
} }
[class*="hover:!bg-superAlt/20"]:hover { [class*="hover:!bg-superAlt/20"]:hover {
background-color: @accent-color !important; background-color: @accent !important;
} }
[class*="hover:bg-offset"]:hover { [class*="hover:bg-offset"]:hover {
@@ -344,12 +344,12 @@
} }
[class*="hover:bg-super"]:hover { [class*="hover:bg-super"]:hover {
background-color: @accent-color !important; background-color: @accent !important;
} }
[class*="hover:text-super"]:hover, [class*="hover:text-super"]:hover,
[class*="hover:text-superAlt"]:hover { [class*="hover:text-superAlt"]:hover {
color: @accent-color !important; color: @accent !important;
} }
[class*="hover:text-textMain"]:hover { [class*="hover:text-textMain"]:hover {
@@ -383,7 +383,7 @@
} }
.focus\:text-super:focus { .focus\:text-super:focus {
color: @accent-color !important; color: @accent !important;
} }
*[class*="ring"] { *[class*="ring"] {
@@ -399,7 +399,7 @@
} }
/* switch knob in settings */ /* switch knob in settings */
.data-\[state\=checked\]\:before\:\!bg-super[data-state="checked"]::before { .data-\[state\=checked\]\:before\:\!bg-super[data-state="checked"]::before {
background-color: @accent-color !important; background-color: @accent !important;
} }
/* switch in main input */ /* switch in main input */
#copilot-toggle > div::before { #copilot-toggle > div::before {
+38 -38
View File
@@ -17,45 +17,45 @@
@-moz-document domain("phanpy.social") { @-moz-document domain("phanpy.social") {
:root:not(:has(.is-light)) { :root:not(:has(.is-light)) {
#catppuccin(@darkFlavor, @accentColor); #catppuccin(@darkFlavor);
} }
:root.is-light { :root.is-light {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
#catppuccin(@lookup, @accent) { #catppuccin(@flavor) {
@rosewater: @catppuccin[@@lookup][@rosewater]; @rosewater: @catppuccin[@@flavor][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo]; @flamingo: @catppuccin[@@flavor][@flamingo];
@pink: @catppuccin[@@lookup][@pink]; @pink: @catppuccin[@@flavor][@pink];
@mauve: @catppuccin[@@lookup][@mauve]; @mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@lookup][@red]; @red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@lookup][@maroon]; @maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@lookup][@peach]; @peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@lookup][@yellow]; @yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@lookup][@green]; @green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@lookup][@teal]; @teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@lookup][@sky]; @sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@lookup][@sapphire]; @sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@lookup][@blue]; @blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@lookup][@lavender]; @lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@lookup][@text]; @text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@lookup][@subtext1]; @subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@lookup][@subtext0]; @subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@lookup][@overlay2]; @overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@lookup][@overlay1]; @overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@lookup][@overlay0]; @overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@lookup][@surface2]; @surface2: @catppuccin[@@flavor][@surface2];
@surface1: @catppuccin[@@lookup][@surface1]; @surface1: @catppuccin[@@flavor][@surface1];
@surface0: @catppuccin[@@lookup][@surface0]; @surface0: @catppuccin[@@flavor][@surface0];
@base: @catppuccin[@@lookup][@base]; @base: @catppuccin[@@flavor][@base];
@mantle: @catppuccin[@@lookup][@mantle]; @mantle: @catppuccin[@@flavor][@mantle];
@crust: @catppuccin[@@lookup][@crust]; @crust: @catppuccin[@@flavor][@crust];
@accent-color: @catppuccin[@@lookup][@@accent]; @accent: @catppuccin[@@flavor][@@accentColor];
color-scheme: if(@lookup = latte, light, dark); color-scheme: if(@flavor = latte, light, dark);
::selection { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
input, input,
@@ -67,12 +67,12 @@
--text-color: @text; --text-color: @text;
--text-insignificant-color: @subtext0; --text-insignificant-color: @subtext0;
--link-color: @accent-color; --link-color: @accent;
--link-text-color: @accent-color; --link-text-color: @accent;
--link-faded-color: @accent-color; --link-faded-color: @accent;
--link-light-color: @accent-color; --link-light-color: @accent;
--button-bg-blur-color: @accent-color; --button-bg-blur-color: @accent;
--button-bg-color: @accent-color; --button-bg-color: @accent;
--button-text-color: @base; --button-text-color: @base;
--bg-faded-color: @base; --bg-faded-color: @base;
--bg-faded-blur-color: @mantle; --bg-faded-blur-color: @mantle;
+138 -139
View File
@@ -16,39 +16,48 @@
==/UserStyle== */ ==/UserStyle== */
@-moz-document domain("picrew.me") { @-moz-document domain("picrew.me") {
#catppuccin(@lookup, @accent) { :root {
@rosewater: @catppuccin[@@lookup][@rosewater]; @media (prefers-color-scheme: light) {
@flamingo: @catppuccin[@@lookup][@flamingo]; #catppuccin(@lightFlavor);
@pink: @catppuccin[@@lookup][@pink]; }
@mauve: @catppuccin[@@lookup][@mauve]; @media (prefers-color-scheme: dark) {
@red: @catppuccin[@@lookup][@red]; #catppuccin(@darkFlavor);
@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 { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
input, input,
@@ -119,7 +128,7 @@
background: @overlay1 !important; background: @overlay1 !important;
&.is-active { &.is-active {
background: @accent-color !important; background: @accent !important;
} }
} }
#home { #home {
@@ -132,7 +141,7 @@
} }
.sp_title a, .sp_title a,
.page-info a { .page-info a {
color: @accent-color !important; color: @accent !important;
} }
.rankA::before { .rankA::before {
color: @text !important; color: @text !important;
@@ -146,7 +155,7 @@
background: @mantle !important; background: @mantle !important;
.sitetop-appDL_Header .sitetop-appDL_Title .fa { .sitetop-appDL_Header .sitetop-appDL_Title .fa {
color: @accent-color !important; color: @accent !important;
} }
} }
/* "Featured Tags" section - directly above Discovery */ /* "Featured Tags" section - directly above Discovery */
@@ -154,14 +163,14 @@
background: @mantle !important; background: @mantle !important;
.sitetop-tags_Header .sitetop-tags_Title .fa { .sitetop-tags_Header .sitetop-tags_Title .fa {
color: @accent-color !important; color: @accent !important;
} }
.recommended-tag-list .recommended-tag-list-item a { .recommended-tag-list .recommended-tag-list-item a {
border-color: @accent-color !important; border-color: @accent !important;
/* tag icon before tag name */ /* tag icon before tag name */
&::before { &::before {
color: @accent-color !important; color: @accent !important;
} }
} }
} }
@@ -171,16 +180,16 @@
.sitetop-Discovery_Header { .sitetop-Discovery_Header {
.sitetop-Discovery_Title .fa { .sitetop-Discovery_Title .fa {
color: @accent-color !important; color: @accent !important;
} }
.sitetop-DiscoveryList_More a { .sitetop-DiscoveryList_More a {
background-color: @accent-color !important; background-color: @accent !important;
color: @base !important; color: @base !important;
} }
.sitetop-Discovery_More { .sitetop-Discovery_More {
color: @accent-color !important; color: @accent !important;
} }
} }
} }
@@ -189,7 +198,7 @@
} }
/* "Hot Now" section (image is a graph) */ /* "Hot Now" section (image is a graph) */
.sitetop-Hot_Title .fa { .sitetop-Hot_Title .fa {
color: @accent-color !important; color: @accent !important;
} }
.sitetop-Hot_CountrySwitch { .sitetop-Hot_CountrySwitch {
background-color: @base !important; background-color: @base !important;
@@ -199,12 +208,12 @@
} }
.sitetop-Hot_CountrySwitch_all span::after { .sitetop-Hot_CountrySwitch_all span::after {
color: @accent-color !important; color: @accent !important;
} }
input:last-of-type + label span { input:last-of-type + label span {
filter: brightness(-20%) !important; filter: brightness(-20%) !important;
color: @accent-color !important; color: @accent !important;
} }
} }
/* "Updated Image Makers (image (.fa) is bullhorn) */ /* "Updated Image Makers (image (.fa) is bullhorn) */
@@ -212,7 +221,7 @@
background: @mantle !important; background: @mantle !important;
} }
.sitetop-ImagemakerList_Title .fa { .sitetop-ImagemakerList_Title .fa {
color: @accent-color !important; color: @accent !important;
} }
.c_btn { .c_btn {
background: @surface1 !important; background: @surface1 !important;
@@ -225,7 +234,7 @@
border-color: @surface2 !important; border-color: @surface2 !important;
} }
&:focus { &:focus {
box-shadow: 0 0 0 1px @accent-color !important; box-shadow: 0 0 0 1px @accent !important;
} }
} }
.sitetop-info { .sitetop-info {
@@ -255,12 +264,12 @@
color: @text !important; color: @text !important;
} }
.st-Terms { .st-Terms {
border-color: @accent-color !important; border-color: @accent !important;
border-radius: 2px !important; border-radius: 2px !important;
} }
.st-Terms_Wrapper .st-Terms a, .st-Terms_Wrapper .st-Terms a,
.st-Terms_Wrapper .st-Terms .st-Terms_Body strong { .st-Terms_Wrapper .st-Terms .st-Terms_Body strong {
color: @accent-color !important; color: @accent !important;
} }
.c_select select { .c_select select {
background: @mantle !important; background: @mantle !important;
@@ -289,17 +298,17 @@
} }
.popup { .popup {
background-color: @base !important; background-color: @base !important;
border-color: @accent-color !important; border-color: @accent !important;
} }
.popup-header { .popup-header {
background-color: @mantle !important; background-color: @mantle !important;
} }
.popup-body .content a { .popup-body .content a {
color: @accent-color !important; color: @accent !important;
} }
.bellicon { .bellicon {
color: @accent-color !important; color: @accent !important;
border-color: @accent-color !important; border-color: @accent !important;
} }
.close-btn { .close-btn {
border-color: @overlay0 !important; border-color: @overlay0 !important;
@@ -341,10 +350,10 @@
.login-container { .login-container {
.login-form-container { .login-form-container {
.c_text_right a { .c_text_right a {
color: @accent-color !important; color: @accent !important;
} }
.login-form input:focus { .login-form input:focus {
box-shadow: 0 0 0 1px @accent-color !important; box-shadow: 0 0 0 1px @accent !important;
} }
} }
hr.sw_hr01 { hr.sw_hr01 {
@@ -369,7 +378,7 @@
background: @base !important; background: @base !important;
.search-Form_Keyword .search-Form_KeywordInput:focus { .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 { .search-Form_Keyword {
@@ -427,7 +436,7 @@
background-color: @base !important; background-color: @base !important;
.radioBox_label::before { .radioBox_label::before {
background: @accent-color !important; background: @accent !important;
} }
.radioBox_label::after { .radioBox_label::after {
border-color: @overlay1 !important; border-color: @overlay1 !important;
@@ -447,7 +456,7 @@
background: @base !important; background: @base !important;
} }
.c_pagination_num.is_current span { .c_pagination_num.is_current span {
background: @accent-color !important; background: @accent !important;
color: @base !important; color: @base !important;
} }
/* creator registration page */ /* creator registration page */
@@ -455,7 +464,7 @@
.email-register-container .email-register-container
.email-register-form .email-register-form
input:not([type="checkbox"], [type="radio"]):focus { 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 .creator-content
.email-register-container .email-register-container
@@ -509,16 +518,16 @@
.creator-content { .creator-content {
.success { .success {
background: @surface0 !important; background: @surface0 !important;
border-color: @accent-color !important; border-color: @accent !important;
&::after { &::after {
border-left-color: @accent-color !important; border-left-color: @accent !important;
border-bottom-color: @accent-color !important; border-bottom-color: @accent !important;
} }
} }
/* "Terms of Use" and "Privacy Policy" links */ /* "Terms of Use" and "Privacy Policy" links */
.email-register-container .email-register-form fieldset a { .email-register-container .email-register-form fieldset a {
color: @accent-color !important; color: @accent !important;
} }
} }
/* creator page */ /* creator page */
@@ -581,7 +590,7 @@
border-top-color: @surface2 !important; border-top-color: @surface2 !important;
} }
.small > a { .small > a {
color: @accent-color !important; color: @accent !important;
} }
/* "Creator Informations" pages (creator/info page) */ /* "Creator Informations" pages (creator/info page) */
.card-header { .card-header {
@@ -632,7 +641,7 @@
color: @text !important; color: @text !important;
&:focus { &:focus {
border-color: @accent-color !important; border-color: @accent !important;
} }
} }
.tc_canvas-square, .tc_canvas-square,
@@ -641,8 +650,8 @@
} }
/* image maker "type" (creator) */ /* image maker "type" (creator) */
.tc_imagemaker_register_type li :checked + label { .tc_imagemaker_register_type li :checked + label {
border-color: @accent-color !important; border-color: @accent !important;
box-shadow: 0 0 0 2px @accent-color !important; box-shadow: 0 0 0 2px @accent !important;
color: @surface1 !important; color: @surface1 !important;
} }
.tc_imagemaker_register_type .tc_imagemaker_register_type
@@ -650,8 +659,8 @@
:checked :checked
+ label + label
.tc_imagemaker_register_type_name { .tc_imagemaker_register_type_name {
background-color: @accent-color !important; background-color: @accent !important;
border-bottom-color: @accent-color !important; border-bottom-color: @accent !important;
color: @surface1 !important; color: @surface1 !important;
} }
.tc_imagemaker_register_type li label { .tc_imagemaker_register_type li label {
@@ -678,8 +687,8 @@
} }
.btn-primary, .btn-primary,
.btn-primary:hover { .btn-primary:hover {
background-color: @accent-color !important; background-color: @accent !important;
border-color: @accent-color !important; border-color: @accent !important;
color: @surface1 !important; color: @surface1 !important;
} }
/* image maker list (creator) */ /* image maker list (creator) */
@@ -713,7 +722,7 @@
} }
} }
.btn-info:focus { .btn-info:focus {
box-shadow: 0 0 0 0.1rem @accent-color !important; box-shadow: 0 0 0 0.1rem @accent !important;
} }
.badge-default, .badge-default,
.tc_badge_default { .tc_badge_default {
@@ -728,12 +737,12 @@
color: @text !important; color: @text !important;
} }
.btn-warning { .btn-warning {
background-color: @accent-color !important; background-color: @accent !important;
border-color: @accent-color !important; border-color: @accent !important;
color: @base !important; color: @base !important;
&:focus { &: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 { .tc_im_parts_eye .tc_im_parts_eye_icon {
@@ -769,7 +778,7 @@
color: @subtext0 !important; color: @subtext0 !important;
} }
.tc_c_textmenu li a { .tc_c_textmenu li a {
color: @accent-color !important; color: @accent !important;
} }
.btn:disabled, .btn:disabled,
.btn:disabled:hover { .btn:disabled:hover {
@@ -791,10 +800,10 @@
/* "bulk upload" (creator) */ /* "bulk upload" (creator) */
.tc_bulkupload_type_select .tc_bulkupload_type_tab label { .tc_bulkupload_type_select .tc_bulkupload_type_tab label {
background-color: @surface0 !important; background-color: @surface0 !important;
border-color: @accent-color !important; border-color: @accent !important;
} }
.tc_bulkupload_color_select li input[type="radio"]:checked + label { .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_color_chip,
.tc_bulkupload_option h4 { .tc_bulkupload_option h4 {
@@ -815,16 +824,16 @@
color: @subtext1 !important; color: @subtext1 !important;
} }
.tc_radio_switch label:first-child input[type="radio"] + span { .tc_radio_switch label:first-child input[type="radio"] + span {
background-color: @accent-color !important; background-color: @accent !important;
color: @base !important; color: @base !important;
&::before { &::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) */ /* image maker "rules" (creator) */
.text-info { .text-info {
color: @accent-color !important; color: @accent !important;
} }
/* image maker "color palette" (creator) */ /* image maker "color palette" (creator) */
.tc_colorgp_detail_parts_deselect li { .tc_colorgp_detail_parts_deselect li {
@@ -871,8 +880,8 @@
color: @text !important; color: @text !important;
} }
.page-item.active .page-link { .page-item.active .page-link {
background: @accent-color !important; background: @accent !important;
border-color: @accent-color !important; border-color: @accent !important;
color: @surface0 !important; color: @surface0 !important;
} }
.tc_items_itemlist.is_style_detail .tc_items_itemlist.is_style_detail
@@ -910,8 +919,8 @@
border-color: @subtext0 !important; border-color: @subtext0 !important;
} }
input[type="radio"]:checked + .tc_radio_label { input[type="radio"]:checked + .tc_radio_label {
border-color: @accent-color !important; border-color: @accent !important;
color: @accent-color !important; color: @accent !important;
} }
} }
/* image maker publication (creator) */ /* image maker publication (creator) */
@@ -925,7 +934,7 @@
color: @red !important; color: @red !important;
} }
.text-navy { .text-navy {
color: @accent-color !important; color: @accent !important;
} }
/* discovery page */ /* discovery page */
.discovery_header .discovery_description { .discovery_header .discovery_description {
@@ -958,16 +967,16 @@
} }
/* "play" button (outer image maker) */ /* "play" button (outer image maker) */
.imagemaker_info_btn_start { .imagemaker_info_btn_start {
background: @accent-color !important; background: @accent !important;
border-color: @accent-color !important; border-color: @accent !important;
box-shadow: 0 4px 0 @accent-color !important; box-shadow: 0 4px 0 @accent !important;
color: @base !important; color: @base !important;
} }
.imagemaker_info_creator a { .imagemaker_info_creator a {
color: @accent-color !important; color: @accent !important;
} }
.imagemaker_info_description a { .imagemaker_info_description a {
color: @accent-color !important; color: @accent !important;
} }
/* tags (outer image maker) */ /* tags (outer image maker) */
.imagemaker_info_use_range li.is_can > div { .imagemaker_info_use_range li.is_can > div {
@@ -986,11 +995,11 @@
} }
/* tag icon (outer image maker) */ /* tag icon (outer image maker) */
.imagemaker_info_use_range li.is_can > div::before { .imagemaker_info_use_range li.is_can > div::before {
color: @accent-color !important; color: @accent !important;
} }
} }
.is_info_show .imagemaker_info_show_btn { .is_info_show .imagemaker_info_show_btn {
background: @accent-color !important; background: @accent !important;
color: @overlay0 !important; color: @overlay0 !important;
} }
/* outer bookmark button (outer image maker) */ /* outer bookmark button (outer image maker) */
@@ -1020,25 +1029,25 @@
background-color: @surface0 !important; background-color: @surface0 !important;
&::before { &::before {
box-shadow: inset 0 -5px 0 -1px @accent-color !important; box-shadow: inset 0 -5px 0 -1px @accent !important;
} }
} }
li.selected::after { 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) */ /* switch to outer image maker (inner image maker) */
.imagemaker_info_show_btn { .imagemaker_info_show_btn {
background-color: @accent-color !important; background-color: @accent !important;
border-color: @accent-color !important; border-color: @accent !important;
color: @overlay0 !important; color: @overlay0 !important;
} }
/* bookmark button (inner image maker) */ /* bookmark button (inner image maker) */
.play-Imagemaker .bookmark { .play-Imagemaker .bookmark {
background-color: @accent-color !important; background-color: @accent !important;
border-color: @accent-color !important; border-color: @accent !important;
} }
.imagemaker_ctrl_btns .btn_show_itemlist.selected { .imagemaker_ctrl_btns .btn_show_itemlist.selected {
background-color: @accent-color !important; background-color: @accent !important;
color: @overlay0 !important; color: @overlay0 !important;
} }
/* move image element (background) (inner image maker) */ /* move image element (background) (inner image maker) */
@@ -1049,7 +1058,7 @@
.ctrlbtn-rotate_left, .ctrlbtn-rotate_left,
.ctrlbtn-rotate_right { .ctrlbtn-rotate_right {
background: @surface0 !important; background: @surface0 !important;
color: @accent-color !important; color: @accent !important;
} }
/* move image element (buttons) (inner image maker) */ /* move image element (buttons) (inner image maker) */
.control_position_wrapper .ctrlbtn_position_inner::before, .control_position_wrapper .ctrlbtn_position_inner::before,
@@ -1060,7 +1069,7 @@
.ctrlbtn-move_down, .ctrlbtn-move_down,
.ctrlbtn-move_right, .ctrlbtn-move_right,
.ctrlbtn-move_left { .ctrlbtn-move_left {
color: @accent-color !important; color: @accent !important;
} }
.imagemaker_controller_reset, .imagemaker_controller_reset,
.imagemaker_controller_reset:hover { .imagemaker_controller_reset:hover {
@@ -1070,7 +1079,7 @@
/* "Done" button (inner image maker) */ /* "Done" button (inner image maker) */
.imagemaker_complete_btn, .imagemaker_complete_btn,
.imagemaker_complete_btn:hover { .imagemaker_complete_btn:hover {
background: @accent-color !important; background: @accent !important;
color: @surface0 !important; color: @surface0 !important;
} }
/* load screen after clicking "Done" (image complete) */ /* load screen after clicking "Done" (image complete) */
@@ -1084,9 +1093,9 @@
/* download button (image complete) */ /* download button (image complete) */
.complete-Download_Btn, .complete-Download_Btn,
.complete-Download_Btn:hover { .complete-Download_Btn:hover {
background: @accent-color !important; background: @accent !important;
border-color: @accent-color !important; border-color: @accent !important;
box-shadow: 0 4px 0 @accent-color !important; box-shadow: 0 4px 0 @accent !important;
color: @surface1 !important; color: @surface1 !important;
} }
/* "add to bookmarks" area (image complete) */ /* "add to bookmarks" area (image complete) */
@@ -1139,17 +1148,17 @@
/* "Search by tag" (image complete) */ /* "Search by tag" (image complete) */
.st-Related_Tags .st-Related_Tag a { .st-Related_Tags .st-Related_Tag a {
background: @surface0 !important; background: @surface0 !important;
border-color: @accent-color !important; border-color: @accent !important;
color: @text !important; color: @text !important;
} }
/* "Copied to clipboard" popup (image complete) */ /* "Copied to clipboard" popup (image complete) */
.toasted.sw-Toast.bubble { .toasted.sw-Toast.bubble {
background-color: @accent-color !important; background-color: @accent !important;
color: @surface0 !important; color: @surface0 !important;
} }
/* fix for bookmark icon (bookmarks page) */ /* fix for bookmark icon (bookmarks page) */
.bookmark-inner h2 .fa { .bookmark-inner h2 .fa {
color: @accent-color !important; color: @accent !important;
} }
/* support.picrew.me page */ /* support.picrew.me page */
.site-branding { .site-branding {
@@ -1170,7 +1179,7 @@
color: @text !important; color: @text !important;
} }
.bogo-language-name a { .bogo-language-name a {
color: @accent-color !important; color: @accent !important;
} }
.main-navigation { .main-navigation {
background-color: @mantle !important; background-color: @mantle !important;
@@ -1181,16 +1190,16 @@
} }
a:hover, a:hover,
ul > :hover > a { ul > :hover > a {
color: @accent-color !important; color: @accent !important;
} }
/* "what is picrew?" page (support) */ /* "what is picrew?" page (support) */
li.current_page_item > a::before, li.current_page_item > a::before,
li.current-menu-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, .nav-menu > li > a::after,
.menu > li > a::after { .menu > li > a::after {
color: @accent-color !important; color: @accent !important;
} }
} }
.picrew_front-page-content-area.content-area .picrew_front-page-content-area.content-area
@@ -1199,19 +1208,19 @@
background-color: @mantle !important; background-color: @mantle !important;
} }
.widget_linkblock { .widget_linkblock {
border-color: @accent-color !important; border-color: @accent !important;
box-shadow: 0 0 0 0 @accent-color inset !important; box-shadow: 0 0 0 0 @accent inset !important;
color: @text !important; color: @text !important;
.widget_linkblock_title { .widget_linkblock_title {
color: @accent-color !important; color: @accent !important;
} }
.widget_linkblock_text { .widget_linkblock_text {
color: @subtext1 !important; color: @subtext1 !important;
} }
&:hover { &:hover {
border-color: @accent-color !important; border-color: @accent !important;
box-shadow: 0 0 0 4px @accent-color inset !important; box-shadow: 0 0 0 4px @accent inset !important;
color: @text !important; color: @text !important;
} }
} }
@@ -1234,7 +1243,7 @@
} }
.widget-title, .widget-title,
a:hover { a:hover {
color: @accent-color !important; color: @accent !important;
} }
} }
/* aaaaaaaaaaaaaa */ /* aaaaaaaaaaaaaa */
@@ -1244,7 +1253,7 @@
color: @text !important; color: @text !important;
&:focus { &:focus {
border-color: @accent-color !important; border-color: @accent !important;
} }
} }
#searchsubmit > button, #searchsubmit > button,
@@ -1271,12 +1280,12 @@
color: @text !important; color: @text !important;
&::after { &::after {
background: @accent-color !important; background: @accent !important;
} }
} }
.entry-content h2 { .entry-content h2 {
background: @surface0 !important; background: @surface0 !important;
border-bottom-color: @accent-color !important; border-bottom-color: @accent !important;
color: @text !important; color: @text !important;
} }
.content-wrapper.full-width .hentry::after { .content-wrapper.full-width .hentry::after {
@@ -1288,7 +1297,7 @@
border-color: @surface2 !important; border-color: @surface2 !important;
a { a {
color: @accent-color !important; color: @accent !important;
} }
p.toc_title { p.toc_title {
color: @text !important; color: @text !important;
@@ -1301,7 +1310,7 @@
} }
h3 { h3 {
border-bottom-color: @surface2 !important; border-bottom-color: @surface2 !important;
border-left-color: @accent-color !important; border-left-color: @accent !important;
color: @text !important; color: @text !important;
} }
h4 { h4 {
@@ -1309,7 +1318,7 @@
} }
h4::before, h4::before,
a { a {
color: @accent-color !important; color: @accent !important;
} }
} }
/* "Create your image maker" page (support) */ /* "Create your image maker" page (support) */
@@ -1320,7 +1329,7 @@
border-top-color: @overlay2 !important; border-top-color: @overlay2 !important;
> a { > a {
color: @accent-color !important; color: @accent !important;
} }
} }
/* "list of creator functions" page (support) */ /* "list of creator functions" page (support) */
@@ -1332,7 +1341,7 @@
} }
.blog { .blog {
.entry-title a { .entry-title a {
color: @accent-color !important; color: @accent !important;
} }
.entry-body { .entry-body {
color: @subtext1 !important; color: @subtext1 !important;
@@ -1340,17 +1349,17 @@
} }
.wp-pagenavi { .wp-pagenavi {
span.current { span.current {
background: @accent-color !important; background: @accent !important;
border-color: @accent-color !important; border-color: @accent !important;
color: @surface1 !important; color: @surface1 !important;
} }
a { a {
background-color: @base !important; background-color: @base !important;
border-color: @accent-color !important; border-color: @accent !important;
color: @text !important; color: @text !important;
&:hover { &:hover {
background-color: @accent-color !important; background-color: @accent !important;
color: @surface1 !important; color: @surface1 !important;
} }
} }
@@ -1361,23 +1370,13 @@
color: @text !important; color: @text !important;
} }
.entry-title a { .entry-title a {
color: @accent-color !important; color: @accent !important;
} }
.entry-body { .entry-body {
color: @text !important; color: @text !important;
} }
} }
} }
@media (prefers-color-scheme: light) {
:root {
#catppuccin(@lightFlavor, @accentColor);
}
}
@media (prefers-color-scheme: dark) {
:root {
#catppuccin(@darkFlavor, @accentColor);
}
}
} }
/* deno-fmt-ignore */ /* deno-fmt-ignore */
+82 -88
View File
@@ -18,52 +18,48 @@
@-moz-document regexp( @-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)\\/.*" "^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 {
:root { @media (prefers-color-scheme: light) {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
}
@media (prefers-color-scheme: dark) {
#catppuccin(@darkFlavor);
} }
} }
@media (prefers-color-scheme: dark) { #catppuccin(@flavor) {
:root { @rosewater: @catppuccin[@@flavor][@rosewater];
#catppuccin(@darkFlavor, @accentColor); @flamingo: @catppuccin[@@flavor][@flamingo];
} @pink: @catppuccin[@@flavor][@pink];
} @mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@flavor][@surface2];
@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) { color-scheme: if(@flavor = latte, light, dark);
@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);
::selection { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
input, input,
@@ -73,35 +69,35 @@
} }
} }
--color-text-light: if((@lookup = latte), @mantle, @text); --color-text-light: if((@flavor = latte), @mantle, @text);
--color-text-dark: if((@lookup = latte), @text, @mantle); --color-text-dark: if((@flavor = latte), @text, @mantle);
--color-text-default: @text; --color-text-default: @text;
--color-text-inverse: @mantle; --color-text-inverse: @mantle;
--color-text-subtle: @subtext0; --color-text-subtle: @subtext0;
--color-text-error: @accent-color; --color-text-error: @accent;
--color-text-shopping: @accent-color; --color-text-shopping: @accent;
--color-text-link: @accent-color; --color-text-link: @accent;
--color-text-icon-light: if((@lookup = latte), @mantle, @subtext1); --color-text-icon-light: if((@flavor = latte), @mantle, @subtext1);
--color-text-icon-dark: if((@lookup = latte), @subtext1, @mantle); --color-text-icon-dark: if((@flavor = latte), @subtext1, @mantle);
--color-text-icon-default: @subtext0; --color-text-icon-default: @subtext0;
--color-icon-subtle: @subtext1; --color-icon-subtle: @subtext1;
--color-text-icon-inverse: @mantle; --color-text-icon-inverse: @mantle;
--color-text-icon-subtle: @subtext0; --color-text-icon-subtle: @subtext0;
--color-text-icon-error: @accent-color; --color-text-icon-error: @accent;
--color-text-icon-brand-primary: @accent-color; --color-text-icon-brand-primary: @accent;
--color-background-light: if((@lookup = latte), @mantle, @subtext1); --color-background-light: if((@flavor = latte), @mantle, @subtext1);
--color-background-dark: if((@lookup = latte), @text, @mantle); --color-background-dark: if((@flavor = latte), @text, @mantle);
--color-background-default: @base; --color-background-default: @base;
--color-background-inverse-base: @subtext1; --color-background-inverse-base: @subtext1;
--color-background-primary-base: @accent-color; --color-background-primary-base: @accent;
--color-background-secondary-base: @mantle; --color-background-secondary-base: @mantle;
--color-background-secondary-active: @mantle; --color-background-secondary-active: @mantle;
--color-background-selected-base: @subtext1; --color-background-selected-base: @subtext1;
--color-background-box-default: @mantle; --color-background-box-default: @mantle;
--color-background-box-selected: @accent-color; --color-background-box-selected: @accent;
--color-background-box-primary: @accent-color; --color-background-box-primary: @accent;
--color-background-box-secondary: @surface1; --color-background-box-secondary: @surface1;
--color-background-overlay: @surface0; --color-background-overlay: @surface0;
--color-background-popover-primary: @mantle; --color-background-popover-primary: @mantle;
@@ -127,27 +123,27 @@
--color-icon-error: @red; --color-icon-error: @red;
--color-icon-info: @blue; --color-icon-info: @blue;
--color-icon-recommendation: @mauve; --color-icon-recommendation: @mauve;
--color-icon-brand-primary: @accent-color; --color-icon-brand-primary: @accent;
--color-icon-inverse: @crust; --color-icon-inverse: @crust;
--color-background-brand: @accent-color; --color-background-brand: @accent;
--color-background-box-brand: @accent-color; --color-background-box-brand: @accent;
--color-background-button-primary-default: @accent-color; --color-background-button-primary-default: @accent;
--color-background-button-primary-hover: desaturate( --color-background-button-primary-hover: desaturate(
darken(@accent-color, 12%), darken(@accent, 12%),
20% 20%
); );
--color-background-button-primary-active: desaturate( --color-background-button-primary-active: desaturate(
darken(@accent-color, 30%), darken(@accent, 30%),
30% 30%
); );
--color-background-badge-warning: @yellow; --color-background-badge-warning: @yellow;
--color-background-badge-success: @green; --color-background-badge-success: @green;
--color-background-education: @blue; --color-background-education: @blue;
--color-background-primary-strong: @accent-color; --color-background-primary-strong: @accent;
--color-background-shopping: @blue; --color-background-shopping: @blue;
--g-colorTransparentWhite: fadeout(@base, 30%); --g-colorTransparentWhite: fade(@base, 70%);
--g-colorTransparentDarkGray: fadeout(@mantle, 20%); --g-colorTransparentDarkGray: fade(@mantle, 80%);
--g-colorGray0: @mantle; --g-colorGray0: @mantle;
--g-colorGray0Hovered: darken(@mantle, 2.5%); --g-colorGray0Hovered: darken(@mantle, 2.5%);
--g-colorGray0Active: darken(@mantle, 5%); --g-colorGray0Active: darken(@mantle, 5%);
@@ -157,14 +153,14 @@
--g-colorGray100Active: darken(@surface0, 5%); --g-colorGray100Active: darken(@surface0, 5%);
--g-colorGray200: @subtext0; --g-colorGray200: @subtext0;
--g-colorGray300: @subtext1; --g-colorGray300: @subtext1;
--g-colorRed100: @accent-color; --g-colorRed100: @accent;
--g-colorRed100Hovered: darken(@accent-color, 7.5%); --g-colorRed100Hovered: darken(@accent, 7.5%);
--g-colorRed100Active: darken(@accent-color, 10%); --g-colorRed100Active: darken(@accent, 10%);
--g-color-focus: fadeout(@accent-color, 50%); --g-color-focus: fade(@accent, 50%);
--color-gray-roboflow-400: @surface2; --color-gray-roboflow-400: @surface2;
--color-gray-roboflow-200: @mantle; --color-gray-roboflow-200: @mantle;
--g-blue: @accent-color; --g-blue: @accent;
--color-background-info-base: @blue; --color-background-info-base: @blue;
--color-background-error-base: @red; --color-background-error-base: @red;
--color-background-warning-base: @peach; --color-background-warning-base: @peach;
@@ -176,9 +172,7 @@
} }
/* the void (parts not loaded yet) */ /* the void (parts not loaded yet) */
& {
background: @base !important; background: @base !important;
}
.EmojiPickerReact { .EmojiPickerReact {
--epr-bg-color: @base; --epr-bg-color: @base;
@@ -187,8 +181,8 @@
--epr-category-label-bg-color: @base; --epr-category-label-bg-color: @base;
--epr-search-input-bg-color: @mantle; --epr-search-input-bg-color: @mantle;
--epr-skin-tone-picker-menu-color: @mantle; --epr-skin-tone-picker-menu-color: @mantle;
--epr-category-icon-active-color: @accent-color; --epr-category-icon-active-color: @accent;
--epr-highlight-color: @accent-color; --epr-highlight-color: @accent;
--epr-hover-bg-color: @surface0; --epr-hover-bg-color: @surface0;
--epr-focus-bg-color: @surface0; --epr-focus-bg-color: @surface0;
} }
@@ -218,7 +212,7 @@
} }
svg circle[fill="white"] ~ path[fill="#e60023"] { svg circle[fill="white"] ~ path[fill="#e60023"] {
fill: @accent-color !important; fill: @accent !important;
} }
div#mweb-unauth-container, div#mweb-unauth-container,
@@ -492,7 +486,7 @@
div[data-test-id="flashlight-button"], div[data-test-id="flashlight-button"],
div[data-test-id="flashlight"], div[data-test-id="flashlight"],
div[data-test-id="shop-button"] { 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"] { div[data-test-id="flashlight-dot-style"] {
@@ -517,8 +511,8 @@
div[data-test-id="react-button"] { div[data-test-id="react-button"] {
.Jea.KS5.mQ8.zI7.iyn.Hsu { .Jea.KS5.mQ8.zI7.iyn.Hsu {
//background-color: @accent-color; //background-color: @accent;
color: @accent-color; color: @accent;
} }
} }
@@ -557,7 +551,7 @@
} }
div.SaveButton__background--enabled { div.SaveButton__background--enabled {
background-color: @accent-color !important; background-color: @accent !important;
color: @mantle !important; color: @mantle !important;
} }
@@ -649,7 +643,7 @@
/* Create */ /* Create */
div[style*="background-color: rgba(255, 255, 255, 0.8); margin: 24px 0px 0px; z-index:"] { 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 { input#scrape-view-website-link {
@@ -701,7 +695,7 @@
} }
div[data-test-id="editor-canvas-container"] div { 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"] { input[data-test-id="storyboard-editor-details-text-size"] {
@@ -750,17 +744,17 @@
} }
button[data-test-id="login-signup-toggle"] { button[data-test-id="login-signup-toggle"] {
color: @accent-color !important; color: @accent !important;
} }
button.red.active { button.red.active {
background-color: @accent-color !important; background-color: @accent !important;
color: @crust !important; color: @crust !important;
} }
button.red.active:hover, button.red.active:hover,
button.red.active:focus { 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"], span[data-test-id="terms-of-service"],
@@ -768,7 +762,7 @@
color: @subtext1 !important; color: @subtext1 !important;
a { 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%);"] { div[style="height: 200px; background: linear-gradient(rgba(255, 255, 255, 0) 0%, rgb(255, 255, 255) 70%);"] {
background: linear-gradient( background: linear-gradient(
fadeout(@base, 100%) 0%, fade(@base, 0%) 0%,
@base 70% @base 70%
) !important; ) !important;
} }
@@ -789,14 +783,14 @@
} }
span[data-test-id="terms-of-service"] a { 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="breadcrumbs-list"] div.MIw.Rym.zI7.iyn.Hsu,
div[data-test-id="vase-carousel"] div[data-test-id="left-scroll-arrow"] { div[data-test-id="vase-carousel"] div[data-test-id="left-scroll-arrow"] {
background-image: linear-gradient( background-image: linear-gradient(
to left, to left,
fadeout(@base, 100%), fade(@base, 0%),
@base @base
) !important; ) !important;
} }
@@ -805,7 +799,7 @@
div[data-test-id="vase-carousel"] div[data-test-id="right-scroll-arrow"] { div[data-test-id="vase-carousel"] div[data-test-id="right-scroll-arrow"] {
background-image: linear-gradient( background-image: linear-gradient(
to right, to right,
fadeout(@base, 100%), fade(@base, 0%),
@base @base
) !important; ) !important;
} }
@@ -816,7 +810,7 @@
} }
// save button hover // save button hover
.vfW { .vfW {
background: darken(@accent-color, 10%) !important; background: darken(@accent, 10%) !important;
} }
} }
+57 -58
View File
@@ -17,46 +17,45 @@
@-moz-document domain("planetminecraft.com") { @-moz-document domain("planetminecraft.com") {
[data-theme="light"] { [data-theme="light"] {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
[data-theme="dark"] { [data-theme="dark"] {
#catppuccin(@darkFlavor, @accentColor); #catppuccin(@darkFlavor);
} }
#catppuccin(@lookup, @accent) { #catppuccin(@flavor) {
@rosewater: @catppuccin[@@lookup][@rosewater]; @rosewater: @catppuccin[@@flavor][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo]; @flamingo: @catppuccin[@@flavor][@flamingo];
@pink: @catppuccin[@@lookup][@pink]; @pink: @catppuccin[@@flavor][@pink];
@mauve: @catppuccin[@@lookup][@mauve]; @mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@lookup][@red]; @red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@lookup][@maroon]; @maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@lookup][@peach]; @peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@lookup][@yellow]; @yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@lookup][@green]; @green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@lookup][@teal]; @teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@lookup][@sky]; @sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@lookup][@sapphire]; @sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@lookup][@blue]; @blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@lookup][@lavender]; @lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@lookup][@text]; @text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@lookup][@subtext1]; @subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@lookup][@subtext0]; @subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@lookup][@overlay2]; @overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@lookup][@overlay1]; @overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@lookup][@overlay0]; @overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@lookup][@surface2]; @surface2: @catppuccin[@@flavor][@surface2];
@surface1: @catppuccin[@@lookup][@surface1]; @surface1: @catppuccin[@@flavor][@surface1];
@surface0: @catppuccin[@@lookup][@surface0]; @surface0: @catppuccin[@@flavor][@surface0];
@base: @catppuccin[@@lookup][@base]; @base: @catppuccin[@@flavor][@base];
@mantle: @catppuccin[@@lookup][@mantle]; @mantle: @catppuccin[@@flavor][@mantle];
@crust: @catppuccin[@@lookup][@crust]; @crust: @catppuccin[@@flavor][@crust];
@accent-color: @catppuccin[@@lookup][@@accent]; @accent: @catppuccin[@@flavor][@@accentColor];
color-scheme: if(@lookup = latte, light, dark); color-scheme: if(@flavor = latte, light, dark);
::selection { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
input, input,
@@ -73,10 +72,10 @@
--menu-bg: @surface0; --menu-bg: @surface0;
--menu-color: @subtext1; --menu-color: @subtext1;
--menu-selected-bg: @surface1; --menu-selected-bg: @surface1;
--menu-selected-color: @accent-color; --menu-selected-color: @accent;
--footer-bg: @mantle; --footer-bg: @mantle;
--bg-navbar: @mantle; --bg-navbar: @mantle;
--tab-selected: @accent-color; --tab-selected: @accent;
--input-bg: @surface0; --input-bg: @surface0;
--dark-mid-bg: @base; --dark-mid-bg: @base;
--title-color: @text; --title-color: @text;
@@ -84,13 +83,13 @@
--text-color-medium: @subtext0; --text-color-medium: @subtext0;
--text-color-light: @subtext1; --text-color-light: @subtext1;
--border-color: @base; --border-color: @base;
--footer-a-color: @accent-color; --footer-a-color: @accent;
--nav-hover: @accent-color; --nav-hover: @accent;
--stat-color: @red; --stat-color: @red;
--a-color: @accent-color; --a-color: @accent;
--a-hover: @accent-color; --a-hover: @accent;
--a-selected: fade(@accent-color, 80%); --a-selected: fade(@accent, 80%);
--tab-hover: fade(@accent-color, 80%); --tab-hover: fade(@accent, 80%);
--tab-color: @subtext0; --tab-color: @subtext0;
--nav-color: @text; --nav-color: @text;
--widget-wrap-bg: @mantle; --widget-wrap-bg: @mantle;
@@ -107,23 +106,23 @@
--notice-bg: @overlay0; --notice-bg: @overlay0;
--notice-color: @text; --notice-color: @text;
--menu-disabled-color: @crust; --menu-disabled-color: @crust;
--control-bg: @accent-color; --control-bg: @accent;
--a-visited: @accent-color; --a-visited: @accent;
--nav-bar-border: none; --nav-bar-border: none;
--feed-alt-bg: @surface1; --feed-alt-bg: @surface1;
--nav-selected: @accent-color; --nav-selected: @accent;
.tab_options > ul > li.currentpage, .tab_options > ul > li.currentpage,
.tab_options > ul > li.ui-state-active, .tab_options > ul > li.ui-state-active,
.tab_options > ul > li:hover { .tab_options > ul > li:hover {
border-bottom-color: @accent-color; border-bottom-color: @accent;
} }
.site_btn_secondary { .site_btn_secondary {
color: @subtext1; color: @subtext1;
background: @surface1; background: @surface1;
&:hover { &:hover {
color: @accent-color; color: @accent;
background: fade(@surface1, 80%); background: fade(@surface1, 80%);
} }
} }
@@ -136,14 +135,14 @@
.vert_menu > ul > li:only-child > a.current_select, .vert_menu > ul > li:only-child > a.current_select,
.vert_menu > ul > li > a.current_select { .vert_menu > ul > li > a.current_select {
color: @base; color: @base;
background: @accent-color; background: @accent;
&:not(:disabled, [data-disabled="disabled"]):hover { &:not(:disabled, [data-disabled="disabled"]):hover {
background: fade(@accent-color, 80%); background: fade(@accent, 80%);
} }
} }
#profile-bar #profile-actions .togglable.selected { #profile-bar #profile-actions .togglable.selected {
background: @accent-color; background: @accent;
color: @base; 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 */ /* 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 { #display_modes a {
background: @text !important; background: @text !important;
box-shadow: none !important; box-shadow: none !important;
@@ -184,7 +183,7 @@
} }
color: @text !important; color: @text !important;
background: @accent-color !important; background: @accent !important;
} }
.content-actions li .material-icons { .content-actions li .material-icons {
@@ -192,7 +191,7 @@
} }
} }
& when not(@lookup = latte) { & when not(@flavor = latte) {
#display_modes a { #display_modes a {
background: @base !important; background: @base !important;
box-shadow: none !important; box-shadow: none !important;
@@ -201,7 +200,7 @@
#display_modes a.selected, #display_modes a.selected,
#display_modes a:hover { #display_modes a:hover {
background: @accent-color; background: @accent;
} }
.navigation-wrap .navmenu a { .navigation-wrap .navmenu a {
@@ -310,7 +309,7 @@
} }
#popular-reel .caption { #popular-reel .caption {
& when (@lookup = latte) { & when (@flavor = latte) {
background: fade(@text, 50%) !important; background: fade(@text, 50%) !important;
.pop-title { .pop-title {
@@ -324,7 +323,7 @@
} }
} }
& when not(@lookup = latte) { & when not(@flavor = latte) {
background: fade(@base, 50%) !important; background: fade(@base, 50%) !important;
.pop-title { .pop-title {
@@ -353,9 +352,9 @@
.content-actions li .link:hover, .content-actions li .link:hover,
.content-actions li a:hover { .content-actions li a:hover {
.material-icons { .material-icons {
color: @accent-color !important; color: @accent !important;
} }
color: @accent-color !important; color: @accent !important;
background: @surface1 !important; background: @surface1 !important;
} }
@@ -374,7 +373,7 @@
input:focus, input:focus,
select:focus, select:focus,
textarea:focus { textarea:focus {
border-color: @accent-color; border-color: @accent;
} }
} }
} }
+46 -48
View File
@@ -16,50 +16,48 @@
==/UserStyle== */ ==/UserStyle== */
@-moz-document domain("porkbun.com") { @-moz-document domain("porkbun.com") {
@media (prefers-color-scheme: light) { :root {
:root { @media (prefers-color-scheme: light) {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
} @media (prefers-color-scheme: dark) {
@media (prefers-color-scheme: dark) { #catppuccin(@darkFlavor);
:root {
#catppuccin(@darkFlavor, @accentColor);
} }
} }
#catppuccin(@lookup, @accent) { #catppuccin(@flavor) {
@rosewater: @catppuccin[@@lookup][@rosewater]; @rosewater: @catppuccin[@@flavor][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo]; @flamingo: @catppuccin[@@flavor][@flamingo];
@pink: @catppuccin[@@lookup][@pink]; @pink: @catppuccin[@@flavor][@pink];
@mauve: @catppuccin[@@lookup][@mauve]; @mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@lookup][@red]; @red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@lookup][@maroon]; @maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@lookup][@peach]; @peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@lookup][@yellow]; @yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@lookup][@green]; @green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@lookup][@teal]; @teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@lookup][@sky]; @sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@lookup][@sapphire]; @sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@lookup][@blue]; @blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@lookup][@lavender]; @lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@lookup][@text]; @text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@lookup][@subtext1]; @subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@lookup][@subtext0]; @subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@lookup][@overlay2]; @overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@lookup][@overlay1]; @overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@lookup][@overlay0]; @overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@lookup][@surface2]; @surface2: @catppuccin[@@flavor][@surface2];
@surface1: @catppuccin[@@lookup][@surface1]; @surface1: @catppuccin[@@flavor][@surface1];
@surface0: @catppuccin[@@lookup][@surface0]; @surface0: @catppuccin[@@flavor][@surface0];
@base: @catppuccin[@@lookup][@base]; @base: @catppuccin[@@flavor][@base];
@mantle: @catppuccin[@@lookup][@mantle]; @mantle: @catppuccin[@@flavor][@mantle];
@crust: @catppuccin[@@lookup][@crust]; @crust: @catppuccin[@@flavor][@crust];
@accent-color: @catppuccin[@@lookup][@@accent]; @accent: @catppuccin[@@flavor][@@accentColor];
color-scheme: if(@lookup = latte, light, dark); color-scheme: if(@flavor = latte, light, dark);
::selection { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
input, input,
@@ -79,11 +77,11 @@
--porkbun_danger: @red; --porkbun_danger: @red;
--porkbun_warning: @yellow; --porkbun_warning: @yellow;
--porkbun_success: @green; --porkbun_success: @green;
--porkbun_pink_hover: darken(@accent-color, 5%); --porkbun_pink_hover: darken(@accent, 5%);
--porkbun_pink: @accent-color; --porkbun_pink: @accent;
--porkbun_gold: @yellow; --porkbun_gold: @yellow;
--porkbun_pink_light: lighten(@accent-color, 5%); --porkbun_pink_light: lighten(@accent, 5%);
--porkbun_pink_medium: @accent-color; --porkbun_pink_medium: @accent;
--porkbun_dark_gray: @text; --porkbun_dark_gray: @text;
--porkbun_light_gray: @surface0; --porkbun_light_gray: @surface0;
--porkbun_medium_gray: @overlay1; --porkbun_medium_gray: @overlay1;
@@ -149,10 +147,10 @@
background-color: transparent; background-color: transparent;
.hsds-beacon button { .hsds-beacon button {
background-color: @accent-color; background-color: @accent;
[class*="FabButtoncss__FabBackgroundUI"] > svg { [class*="FabButtoncss__FabBackgroundUI"] > svg {
fill: @accent-color; fill: @accent;
} }
> span { > span {
@@ -178,12 +176,12 @@
} }
.btn-primary { .btn-primary {
background-color: @accent-color; background-color: @accent;
border-color: @accent-color; border-color: @accent;
color: @crust; color: @crust;
&:hover { &:hover {
background-color: darken(@accent-color, 5%); background-color: darken(@accent, 5%);
} }
} }
@@ -250,7 +248,7 @@
border-color: @surface0; border-color: @surface0;
&:focus { &:focus {
box-shadow: 0 0 8px fade(@accent-color, 50%); box-shadow: 0 0 8px fade(@accent, 50%);
} }
} }
@@ -306,7 +304,7 @@
#headerBrandLogo, #headerBrandLogo,
#footerLogo { #footerLogo {
@svg: escape( @svg: escape(
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 144 144" fill="@{crust}"><circle fill="@{accent-color}" cx="72" cy="72" r="56.3"/><path d="M43.1 43.2c5 1.1 9.8 2.9 14.1 5.3-5.1 2.6-9.4 6.5-12.5 11.3-2-2.7-3.1-6.1-3.1-9.7q0-3.75 1.5-6.9"/><path d="M102.4 95.2c0 3.1-2.5 5.6-5.6 5.6s-5.6-2.5-5.6-5.6v-4.5H52.7v4.5c0 3.1-2.5 5.6-5.6 5.6s-5.6-2.5-5.6-5.6V78.1c0-16.5 12.8-30.5 29.3-31.1 17.3-.6 31.5 13.2 31.5 30.4z"/><path d="M99.3 59.8c-3.1-4.8-7.4-8.7-12.5-11.3 4.4-2.4 9.1-4.2 14.1-5.3q1.5 3.15 1.5 6.9c0 3.6-1.2 6.9-3.1 9.7"/><path fill="@{accent-color}" d="M85.3 71.4c-.4-.2-.8-.1-1 .2-.4.6-.9 1-1.6 1.4v-.5c0-1.4-.5-2.7-1.3-3.7-.6-.9-1.6-1.4-2.8-1.4-1.9 0-3.5 1.6-3.5 3.5 0 .8.3 1.6.8 2.2.6.7 1.3 1.3 2.2 1.7-.6.3-1.2.5-1.9.5-.8 0-1.4.7-1.4 1.4 0 .8.6 1.4 1.4 1.4h.7c2.2 0 4.2-1.3 5.1-3.1 1.5-.4 2.7-1.4 3.5-2.7.3-.2.2-.7-.2-.9m-5.7 1.9c-.9-.3-1.7-.8-2.2-1.6-.2-.2-.3-.5-.3-.8 0-.8.6-1.4 1.4-1.4.7 0 1.4.6 1.4 1.3 0 .2.1.4.1.7.1.6-.1 1.3-.4 1.8"/></svg>' '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 144 144" fill="@{crust}"><circle fill="@{accent}" cx="72" cy="72" r="56.3"/><path d="M43.1 43.2c5 1.1 9.8 2.9 14.1 5.3-5.1 2.6-9.4 6.5-12.5 11.3-2-2.7-3.1-6.1-3.1-9.7q0-3.75 1.5-6.9"/><path d="M102.4 95.2c0 3.1-2.5 5.6-5.6 5.6s-5.6-2.5-5.6-5.6v-4.5H52.7v4.5c0 3.1-2.5 5.6-5.6 5.6s-5.6-2.5-5.6-5.6V78.1c0-16.5 12.8-30.5 29.3-31.1 17.3-.6 31.5 13.2 31.5 30.4z"/><path d="M99.3 59.8c-3.1-4.8-7.4-8.7-12.5-11.3 4.4-2.4 9.1-4.2 14.1-5.3q1.5 3.15 1.5 6.9c0 3.6-1.2 6.9-3.1 9.7"/><path fill="@{accent}" d="M85.3 71.4c-.4-.2-.8-.1-1 .2-.4.6-.9 1-1.6 1.4v-.5c0-1.4-.5-2.7-1.3-3.7-.6-.9-1.6-1.4-2.8-1.4-1.9 0-3.5 1.6-3.5 3.5 0 .8.3 1.6.8 2.2.6.7 1.3 1.3 2.2 1.7-.6.3-1.2.5-1.9.5-.8 0-1.4.7-1.4 1.4 0 .8.6 1.4 1.4 1.4h.7c2.2 0 4.2-1.3 5.1-3.1 1.5-.4 2.7-1.4 3.5-2.7.3-.2.2-.7-.2-.9m-5.7 1.9c-.9-.3-1.7-.8-2.2-1.6-.2-.2-.3-.5-.3-.8 0-.8.6-1.4 1.4-1.4.7 0 1.4.6 1.4 1.3 0 .2.1.4.1.7.1.6-.1 1.3-.4 1.8"/></svg>'
); );
content: url("data:image/svg+xml,@{svg}"); content: url("data:image/svg+xml,@{svg}");
} }
+46 -46
View File
@@ -17,7 +17,7 @@
@-moz-document domain("pronouns.cc") { @-moz-document domain("pronouns.cc") {
:root[data-bs-theme="dark"] { :root[data-bs-theme="dark"] {
#catppuccin(@darkFlavor, @accentColor); #catppuccin(@darkFlavor);
.bg-dark { .bg-dark {
--bs-bg-opacity: 1; --bs-bg-opacity: 1;
background-color: rgba( background-color: rgba(
@@ -27,7 +27,7 @@
} }
} }
:root[data-bs-theme="light"] { :root[data-bs-theme="light"] {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
.bg-light { .bg-light {
--bs-bg-opacity: 1; --bs-bg-opacity: 1;
background-color: rgba( background-color: rgba(
@@ -37,39 +37,39 @@
} }
} }
#catppuccin(@lookup, @accent) { #catppuccin(@flavor) {
@rosewater: @catppuccin[@@lookup][@rosewater]; @rosewater: @catppuccin[@@flavor][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo]; @flamingo: @catppuccin[@@flavor][@flamingo];
@pink: @catppuccin[@@lookup][@pink]; @pink: @catppuccin[@@flavor][@pink];
@mauve: @catppuccin[@@lookup][@mauve]; @mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@lookup][@red]; @red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@lookup][@maroon]; @maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@lookup][@peach]; @peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@lookup][@yellow]; @yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@lookup][@green]; @green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@lookup][@teal]; @teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@lookup][@sky]; @sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@lookup][@sapphire]; @sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@lookup][@blue]; @blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@lookup][@lavender]; @lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@lookup][@text]; @text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@lookup][@subtext1]; @subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@lookup][@subtext0]; @subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@lookup][@overlay2]; @overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@lookup][@overlay1]; @overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@lookup][@overlay0]; @overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@lookup][@surface2]; @surface2: @catppuccin[@@flavor][@surface2];
@surface1: @catppuccin[@@lookup][@surface1]; @surface1: @catppuccin[@@flavor][@surface1];
@surface0: @catppuccin[@@lookup][@surface0]; @surface0: @catppuccin[@@flavor][@surface0];
@base: @catppuccin[@@lookup][@base]; @base: @catppuccin[@@flavor][@base];
@mantle: @catppuccin[@@lookup][@mantle]; @mantle: @catppuccin[@@flavor][@mantle];
@crust: @catppuccin[@@lookup][@crust]; @crust: @catppuccin[@@flavor][@crust];
@accent-color: @catppuccin[@@lookup][@@accent]; @accent: @catppuccin[@@flavor][@@accentColor];
color-scheme: if(@lookup = latte, light, dark); color-scheme: if(@flavor = latte, light, dark);
::selection { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
input, input,
@@ -82,8 +82,8 @@
color: transparent !important; color: transparent !important;
} }
.form-control:focus { .form-control:focus {
border-color: @accent-color; border-color: @accent;
box-shadow: 0 0 0 0.25rem fade(@accent-color, 25%); box-shadow: 0 0 0 0.25rem fade(@accent, 25%);
} }
--bs-border-color: @surface1; --bs-border-color: @surface1;
--bs-border-color-translucent: @surface0; --bs-border-color-translucent: @surface0;
@@ -95,7 +95,7 @@
} }
.dropdown-menu { .dropdown-menu {
--bs-dropdown-link-active-color: @crust; --bs-dropdown-link-active-color: @crust;
--bs-dropdown-link-active-bg: @accent-color; --bs-dropdown-link-active-bg: @accent;
} }
.toast { .toast {
--bs-toast-color: @text; --bs-toast-color: @text;
@@ -114,8 +114,8 @@
--bs-body-bg: @crust; --bs-body-bg: @crust;
--bs-darkk-rgb: #rgbify(@base); --bs-darkk-rgb: #rgbify(@base);
--bs-lightt-rgb: #rgbify(@base); --bs-lightt-rgb: #rgbify(@base);
--bs-emphasis-color: @accent-color; --bs-emphasis-color: @accent;
--bs-emphasis-color-rgb: #rgbify(@accent-color)[]; --bs-emphasis-color-rgb: #rgbify(@accent)[];
--bs-secondary-color: @subtext0; --bs-secondary-color: @subtext0;
--bs-secondary-color-rgb: @subtext0; --bs-secondary-color-rgb: @subtext0;
--bs-secondary-bg: @base; --bs-secondary-bg: @base;
@@ -124,7 +124,7 @@
--bs-tertiary-color-rgb: @subtext1; --bs-tertiary-color-rgb: @subtext1;
--bs-tertiary-bg: @surface0; --bs-tertiary-bg: @surface0;
--bs-tertiary-bg-rgb: #rgbify(@surface0)[]; --bs-tertiary-bg-rgb: #rgbify(@surface0)[];
--bs-primary-text-emphasis: @accent-color; --bs-primary-text-emphasis: @accent;
--bs-secondary-text-emphasis: @subtext1; --bs-secondary-text-emphasis: @subtext1;
--bs-success-text-emphasis: @green; --bs-success-text-emphasis: @green;
--bs-info-text-emphasis: @teal; --bs-info-text-emphasis: @teal;
@@ -142,10 +142,10 @@
--bs-light-border-subtle: @overlay1; --bs-light-border-subtle: @overlay1;
--bs-dark-border-subtle: @surface1; --bs-dark-border-subtle: @surface1;
--bs-heading-color: inherit; --bs-heading-color: inherit;
--bs-link-color: @accent-color; --bs-link-color: @accent;
--bs-link-color-rgb: #rgbify(@accent-color)[]; --bs-link-color-rgb: #rgbify(@accent)[];
--bs-link-hover-color: @accent-color; --bs-link-hover-color: @accent;
--bs-link-hover-color-rgb: #rgbify(@accent-color)[]; --bs-link-hover-color-rgb: #rgbify(@accent)[];
--bs-code-color: @pink; --bs-code-color: @pink;
--bs-highlight-color: @rosewater; --bs-highlight-color: @rosewater;
@@ -160,8 +160,8 @@
--bs-list-group-disabled-color: var(--bs-secondary-color); --bs-list-group-disabled-color: var(--bs-secondary-color);
--bs-list-group-disabled-bg: var(--bs-body-bg); --bs-list-group-disabled-bg: var(--bs-body-bg);
--bs-list-group-active-color: @base; --bs-list-group-active-color: @base;
--bs-list-group-active-bg: @accent-color; --bs-list-group-active-bg: @accent;
--bs-list-group-active-border-color: @accent-color; --bs-list-group-active-border-color: @accent;
border-radius: var(--bs-list-group-border-radius); border-radius: var(--bs-list-group-border-radius);
} }
// navbar // navbar
@@ -212,8 +212,8 @@
.btn-primary { .btn-primary {
#colorizedButton( #colorizedButton(
@base, @base,
@accent-color, @accent,
@hv-bg: lighten(@accent-color, 10%), @hv-bg: lighten(@accent, 10%),
); );
} }
.btn-secondary { .btn-secondary {
+65 -65
View File
@@ -17,47 +17,47 @@
@-moz-document domain("pronouns.page") { @-moz-document domain("pronouns.page") {
body:not([data-theme="dark"]) { body:not([data-theme="dark"]) {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
body[data-theme="dark"], body[data-theme="dark"],
body[data-theme="dark"]:not(.reduced-colours) { body[data-theme="dark"]:not(.reduced-colours) {
#catppuccin(@darkFlavor, @accentColor); #catppuccin(@darkFlavor);
} }
#catppuccin(@lookup, @accent) { #catppuccin(@flavor) {
@rosewater: @catppuccin[@@lookup][@rosewater]; @rosewater: @catppuccin[@@flavor][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo]; @flamingo: @catppuccin[@@flavor][@flamingo];
@pink: @catppuccin[@@lookup][@pink]; @pink: @catppuccin[@@flavor][@pink];
@mauve: @catppuccin[@@lookup][@mauve]; @mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@lookup][@red]; @red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@lookup][@maroon]; @maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@lookup][@peach]; @peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@lookup][@yellow]; @yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@lookup][@green]; @green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@lookup][@teal]; @teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@lookup][@sky]; @sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@lookup][@sapphire]; @sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@lookup][@blue]; @blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@lookup][@lavender]; @lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@lookup][@text]; @text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@lookup][@subtext1]; @subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@lookup][@subtext0]; @subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@lookup][@overlay2]; @overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@lookup][@overlay1]; @overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@lookup][@overlay0]; @overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@lookup][@surface2]; @surface2: @catppuccin[@@flavor][@surface2];
@surface1: @catppuccin[@@lookup][@surface1]; @surface1: @catppuccin[@@flavor][@surface1];
@surface0: @catppuccin[@@lookup][@surface0]; @surface0: @catppuccin[@@flavor][@surface0];
@base: @catppuccin[@@lookup][@base]; @base: @catppuccin[@@flavor][@base];
@mantle: @catppuccin[@@lookup][@mantle]; @mantle: @catppuccin[@@flavor][@mantle];
@crust: @catppuccin[@@lookup][@crust]; @crust: @catppuccin[@@flavor][@crust];
@accent-color: @catppuccin[@@lookup][@@accent]; @accent: @catppuccin[@@flavor][@@accentColor];
color-scheme: if(@lookup = latte, light, dark); color-scheme: if(@flavor = latte, light, dark);
::selection { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
input, input,
@@ -73,7 +73,7 @@
--bs-body-color: @text; --bs-body-color: @text;
--bs-body-bg: @base; --bs-body-bg: @base;
--bs-white-rgb: #rgbify(@crust)[]; --bs-white-rgb: #rgbify(@crust)[];
--bs-primary-rgb: #rgbify(@accent-color)[]; --bs-primary-rgb: #rgbify(@accent)[];
--bs-secondary-rgb: #rgbify(@overlay0)[]; --bs-secondary-rgb: #rgbify(@overlay0)[];
--bs-secondary-color: @subtext0; --bs-secondary-color: @subtext0;
--bs-tertiary-bg: @crust; --bs-tertiary-bg: @crust;
@@ -93,19 +93,19 @@
.btn-primary { .btn-primary {
color: @crust; color: @crust;
--bs-btn-bg: @accent-color; --bs-btn-bg: @accent;
} }
.btn-primary, .btn-primary,
.btn-outline-primary { .btn-outline-primary {
--bs-btn-hover-bg: @accent-color; --bs-btn-hover-bg: @accent;
--bs-btn-border-color: @accent-color; --bs-btn-border-color: @accent;
--bs-btn-hover-border-color: @accent-color; --bs-btn-hover-border-color: @accent;
--bs-btn-active-bg: @accent-color; --bs-btn-active-bg: @accent;
--bs-btn-active-border-color: @accent-color; --bs-btn-active-border-color: @accent;
--bs-btn-disabled-color: @accent-color; --bs-btn-disabled-color: @accent;
--bs-btn-disabled-bg: darken(@accent-color, 5%); --bs-btn-disabled-bg: darken(@accent, 5%);
--bs-btn-disabled-border-color: @accent-color; --bs-btn-disabled-border-color: @accent;
} }
.btn-outline-primary { .btn-outline-primary {
@@ -209,14 +209,14 @@
} }
.btn-square { .btn-square {
background-color: @accent-color !important; background-color: @accent !important;
} }
/* Inputs */ /* Inputs */
.form-check-input:checked { .form-check-input:checked {
background-color: @accent-color !important; background-color: @accent !important;
border-color: @accent-color !important; border-color: @accent !important;
} }
.form-control { .form-control {
@@ -225,7 +225,7 @@
border-color: @surface0; border-color: @surface0;
&:focus { &: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 { .cell.selected {
background-color: @accent-color; background-color: @accent;
color: @crust; color: @crust;
} }
.cell:not(.blank, .disabled):hover { .cell:not(.blank, .disabled):hover {
border-color: @accent-color; border-color: @accent;
} }
} }
@@ -286,7 +286,7 @@
color: @text !important; color: @text !important;
&:hover { &:hover {
color: @accent-color !important; color: @accent !important;
} }
} }
@@ -294,12 +294,12 @@
border-color: @surface0; border-color: @surface0;
&:hover { &:hover {
border-bottom-color: @accent-color !important; border-bottom-color: @accent !important;
} }
&.btn.active, &.btn.active,
&.btn:hover { &.btn:hover {
border-bottom-color: @accent-color !important; border-bottom-color: @accent !important;
} }
} }
@@ -309,8 +309,8 @@
&:hover, &:hover,
&.active { &.active {
color: lighten(@accent-color, 5%) !important; color: lighten(@accent, 5%) !important;
border-inline-start-color: @accent-color !important; border-inline-start-color: @accent !important;
} }
} }
@@ -340,7 +340,7 @@
/* Calendar */ /* Calendar */
.list-group-flare > :first-child { .list-group-flare > :first-child {
border-top-color: @accent-color !important; border-top-color: @accent !important;
} }
.list-group-item { .list-group-item {
color: @text !important; color: @text !important;
@@ -348,10 +348,10 @@
border-color: @surface0 !important; border-color: @surface0 !important;
} }
.calendar > .day.day-event { .calendar > .day.day-event {
border-color: @accent-color; border-color: @accent;
&:hover { &:hover {
background-color: darken(@accent-color, 10%) !important; background-color: darken(@accent, 10%) !important;
.day-number { .day-number {
color: @crust; color: @crust;
@@ -360,7 +360,7 @@
} }
&.day-event-1 { &.day-event-1 {
background-color: @accent-color; background-color: @accent;
color: @crust; color: @crust;
} }
} }
@@ -373,8 +373,8 @@
} }
.page-item.active .page-link { .page-item.active .page-link {
color: @crust; color: @crust;
background-color: @accent-color; background-color: @accent;
border-color: @accent-color; border-color: @accent;
} }
.page-item.disabled .page-link { .page-item.disabled .page-link {
color: @text; color: @text;
@@ -407,7 +407,7 @@
color: @text !important; color: @text !important;
} }
.colour-pink { .colour-pink {
color: @accent-color !important; color: @accent !important;
} }
.colour-orange { .colour-orange {
color: @peach !important; color: @peach !important;
@@ -430,7 +430,7 @@
} }
.nav-pills { .nav-pills {
--bs-nav-pills-link-active-bg: @accent-color; --bs-nav-pills-link-active-bg: @accent;
--bs-nav-pills-link-active-color: @crust; --bs-nav-pills-link-active-color: @crust;
} }
@@ -443,22 +443,22 @@
} }
a { a {
color: @accent-color; color: @accent;
&:hover { &:hover {
color: lighten(@accent-color, 5%); color: lighten(@accent, 5%);
} }
} }
code { code {
color: @crust; color: @crust;
background-color: @accent-color; background-color: @accent;
border-color: transparent; border-color: transparent;
} }
/* Share QR code */ /* Share QR code */
[fill="#ff95bb"] { [fill="#ff95bb"] {
fill: @accent-color; fill: @accent;
} }
mark, mark,
+59 -64
View File
@@ -16,51 +16,48 @@
==/UserStyle== */ ==/UserStyle== */
@-moz-document regexp("https://(account|mail|drive|calendar).proton.me/.*$") { @-moz-document regexp("https://(account|mail|drive|calendar).proton.me/.*$") {
@media (prefers-color-scheme: light) { :root {
:root { @media (prefers-color-scheme: light) {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
}
@media (prefers-color-scheme: dark) {
#catppuccin(@darkFlavor);
} }
} }
@media (prefers-color-scheme: dark) { #catppuccin(@flavor) {
:root { @rosewater: @catppuccin[@@flavor][@rosewater];
#catppuccin(@darkFlavor, @accentColor); @flamingo: @catppuccin[@@flavor][@flamingo];
} @pink: @catppuccin[@@flavor][@pink];
} @mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@flavor][@surface2];
@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) { color-scheme: if(@flavor = latte, light, dark);
@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 { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
input, input,
@@ -71,7 +68,7 @@
} }
svg.logo { svg.logo {
@accentH: hue(@accent-color); @accentH: hue(@accent);
@protonH: hue(#6d4aff); @protonH: hue(#6d4aff);
.replaceColor(@org, @property) { .replaceColor(@org, @property) {
@@ -133,7 +130,7 @@
.ui-standard { .ui-standard {
#lightenOrDarken(@color, @value) { #lightenOrDarken(@color, @value) {
@result: if( @result: if(
@lookup = latte, @flavor = latte,
lighten(@color, @value), lighten(@color, @value),
darken(@color, @value) darken(@color, @value)
); );
@@ -141,18 +138,18 @@
#darkenOrLighten(@color, @value) { #darkenOrLighten(@color, @value) {
@result: if( @result: if(
@lookup = latte, @flavor = latte,
darken(@color, @value), darken(@color, @value),
lighten(@color, @value) lighten(@color, @value)
); );
} }
--primary-minor-2: #lightenOrDarken(@accent-color, 60%)[@result]; --primary-minor-2: #lightenOrDarken(@accent, 60%)[@result];
--primary-minor-1: #lightenOrDarken(@accent-color, 50%)[@result]; --primary-minor-1: #lightenOrDarken(@accent, 50%)[@result];
--primary: @accent-color; --primary: @accent;
--primary-major-1: #darkenOrLighten(@accent-color, 4%)[@result]; --primary-major-1: #darkenOrLighten(@accent, 4%)[@result];
--primary-major-2: #darkenOrLighten(@accent-color, 8%)[@result]; --primary-major-2: #darkenOrLighten(@accent, 8%)[@result];
--primary-major-3: #darkenOrLighten(@accent-color, 12%)[@result]; --primary-major-3: #darkenOrLighten(@accent, 12%)[@result];
--primary-contrast: @mantle; --primary-contrast: @mantle;
--signal-danger-minor-2: #lightenOrDarken(@maroon, 40%)[@result]; --signal-danger-minor-2: #lightenOrDarken(@maroon, 40%)[@result];
--signal-danger-minor-1: #lightenOrDarken(@maroon, 30%)[@result]; --signal-danger-minor-1: #lightenOrDarken(@maroon, 30%)[@result];
@@ -182,12 +179,12 @@
--signal-info-major-2: #darkenOrLighten(@blue, 8%)[@result]; --signal-info-major-2: #darkenOrLighten(@blue, 8%)[@result];
--signal-info-major-3: #darkenOrLighten(@blue, 12%)[@result]; --signal-info-major-3: #darkenOrLighten(@blue, 12%)[@result];
--signal-info-contrast: @mantle; --signal-info-contrast: @mantle;
--interaction-norm-minor-2: #lightenOrDarken(@accent-color, 40%)[@result]; --interaction-norm-minor-2: #lightenOrDarken(@accent, 40%)[@result];
--interaction-norm-minor-1: #lightenOrDarken(@accent-color, 30%)[@result]; --interaction-norm-minor-1: #lightenOrDarken(@accent, 30%)[@result];
--interaction-norm: @accent-color; --interaction-norm: @accent;
--interaction-norm-major-1: #darkenOrLighten(@accent-color, 4%)[@result]; --interaction-norm-major-1: #darkenOrLighten(@accent, 4%)[@result];
--interaction-norm-major-2: #darkenOrLighten(@accent-color, 8%)[@result]; --interaction-norm-major-2: #darkenOrLighten(@accent, 8%)[@result];
--interaction-norm-major-3: #darkenOrLighten(@accent-color, 12%)[@result]; --interaction-norm-major-3: #darkenOrLighten(@accent, 12%)[@result];
--interaction-norm-contrast: @mantle; --interaction-norm-contrast: @mantle;
--interaction-weak-minor-2: #lightenOrDarken(@surface0, 20%)[@result]; --interaction-weak-minor-2: #lightenOrDarken(@surface0, 20%)[@result];
--interaction-weak-minor-1: #lightenOrDarken(@surface0, 10%)[@result]; --interaction-weak-minor-1: #lightenOrDarken(@surface0, 10%)[@result];
@@ -204,10 +201,10 @@
--field-norm: @overlay2; --field-norm: @overlay2;
--field-hover: @overlay1; --field-hover: @overlay1;
--field-disabled: @overlay0; --field-disabled: @overlay0;
--field-focus: @accent-color; --field-focus: @accent;
--field-highlight: fadeout(@accent-color, 30%); --field-highlight: fade(@accent, 70%);
--focus-outline: @accent-color; --focus-outline: @accent;
--focus-ring: fadeout(@accent-color, 60%); --focus-ring: fade(@accent, 40%);
--border-norm: @overlay0; --border-norm: @overlay0;
--border-weak: @overlay1; --border-weak: @overlay1;
--background-norm: @base; --background-norm: @base;
@@ -215,15 +212,13 @@
--background-strong: @crust; --background-strong: @crust;
--background-invert: @text; --background-invert: @text;
--interaction-default: transparent; --interaction-default: transparent;
--interaction-default-hover: fadeout(@overlay1, 80%); --interaction-default-hover: fade(@overlay1, 20%);
--interaction-default-active: fadeout(@overlay1, 60%); --interaction-default-active: fade(@overlay1, 40%);
--shadow-primary-color: red(@accent-color) green(@accent-color) blue( --shadow-primary-color: red(@accent) green(@accent) blue(@accent);
@accent-color
);
--shadow-norm-opacity: 0.5; --shadow-norm-opacity: 0.5;
--shadow-raised-opacity: 1; --shadow-raised-opacity: 1;
--shadow-lifted-opacity: 0.75; --shadow-lifted-opacity: 0.75;
--backdrop-norm: fadeout(@crust, 50%); --backdrop-norm: fade(@crust, 50%);
--optional-scrollbar-thumb-color: @surface0; --optional-scrollbar-thumb-color: @surface0;
--optional-scrollbar-thumb-hover-color: @surface2; --optional-scrollbar-thumb-hover-color: @surface2;
--optional-link-norm: var(--interaction-norm-major-1); --optional-link-norm: var(--interaction-norm-major-1);
+85 -88
View File
@@ -18,46 +18,43 @@
@-moz-document domain("pypi.org") { @-moz-document domain("pypi.org") {
@import url("https://python.catppuccin.com/pygments/catppuccin-variables.important.css"); @import url("https://python.catppuccin.com/pygments/catppuccin-variables.important.css");
@media (prefers-color-scheme: light) { :root {
:root { @media (prefers-color-scheme: light) {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
}
@media (prefers-color-scheme: dark) {
#catppuccin(@darkFlavor);
} }
} }
@media (prefers-color-scheme: dark) { #catppuccin(@flavor) {
:root { @rosewater: @catppuccin[@@flavor][@rosewater];
#catppuccin(@darkFlavor, @accentColor); @flamingo: @catppuccin[@@flavor][@flamingo];
} @pink: @catppuccin[@@flavor][@pink];
} @mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@flavor][@red];
#catppuccin(@lookup, @accent) { @maroon: @catppuccin[@@flavor][@maroon];
@rosewater: @catppuccin[@@lookup][@rosewater]; @peach: @catppuccin[@@flavor][@peach];
@flamingo: @catppuccin[@@lookup][@flamingo]; @yellow: @catppuccin[@@flavor][@yellow];
@pink: @catppuccin[@@lookup][@pink]; @green: @catppuccin[@@flavor][@green];
@mauve: @catppuccin[@@lookup][@mauve]; @teal: @catppuccin[@@flavor][@teal];
@red: @catppuccin[@@lookup][@red]; @sky: @catppuccin[@@flavor][@sky];
@maroon: @catppuccin[@@lookup][@maroon]; @sapphire: @catppuccin[@@flavor][@sapphire];
@peach: @catppuccin[@@lookup][@peach]; @blue: @catppuccin[@@flavor][@blue];
@yellow: @catppuccin[@@lookup][@yellow]; @lavender: @catppuccin[@@flavor][@lavender];
@green: @catppuccin[@@lookup][@green]; @text: @catppuccin[@@flavor][@text];
@teal: @catppuccin[@@lookup][@teal]; @subtext1: @catppuccin[@@flavor][@subtext1];
@sky: @catppuccin[@@lookup][@sky]; @subtext0: @catppuccin[@@flavor][@subtext0];
@sapphire: @catppuccin[@@lookup][@sapphire]; @overlay2: @catppuccin[@@flavor][@overlay2];
@blue: @catppuccin[@@lookup][@blue]; @overlay1: @catppuccin[@@flavor][@overlay1];
@lavender: @catppuccin[@@lookup][@lavender]; @overlay0: @catppuccin[@@flavor][@overlay0];
@text: @catppuccin[@@lookup][@text]; @surface2: @catppuccin[@@flavor][@surface2];
@subtext1: @catppuccin[@@lookup][@subtext1]; @surface1: @catppuccin[@@flavor][@surface1];
@subtext0: @catppuccin[@@lookup][@subtext0]; @surface0: @catppuccin[@@flavor][@surface0];
@overlay2: @catppuccin[@@lookup][@overlay2]; @base: @catppuccin[@@flavor][@base];
@overlay1: @catppuccin[@@lookup][@overlay1]; @mantle: @catppuccin[@@flavor][@mantle];
@overlay0: @catppuccin[@@lookup][@overlay0]; @crust: @catppuccin[@@flavor][@crust];
@surface2: @catppuccin[@@lookup][@surface2]; @accent: @catppuccin[@@flavor][@@accentColor];
@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];
--ctp-rosewater: @rosewater; --ctp-rosewater: @rosewater;
--ctp-flamingo: @flamingo; --ctp-flamingo: @flamingo;
@@ -86,10 +83,10 @@
--ctp-mantle: @mantle; --ctp-mantle: @mantle;
--ctp-crust: @crust; --ctp-crust: @crust;
color-scheme: if(@lookup = latte, light, dark); color-scheme: if(@flavor = latte, light, dark);
::selection { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
color: unset; color: unset;
} }
@@ -115,8 +112,8 @@
&:active, &:active,
&:focus, &:focus,
&:hover { &:hover {
border-color: @accent-color !important; border-color: @accent !important;
box-shadow: inset 0 0 0 1px @accent-color !important; box-shadow: inset 0 0 0 1px @accent !important;
} }
} }
@@ -146,7 +143,7 @@
} }
.accordion__link { .accordion__link {
color: @accent-color !important; color: @accent !important;
} }
.password-strength { .password-strength {
@@ -155,7 +152,7 @@
.accordion__link:active, .accordion__link:active,
.accordion__link:focus { .accordion__link:focus {
outline-color: @accent-color !important; outline-color: @accent !important;
outline-style: solid; outline-style: solid;
} }
@@ -178,7 +175,7 @@
.footer__menu li a { .footer__menu li a {
&:active, &:active,
&:focus { &:focus {
outline-color: @accent-color !important; outline-color: @accent !important;
} }
} }
@@ -198,14 +195,14 @@
.footer__menu li a, .footer__menu li a,
.footer__text a, .footer__text a,
.language-switcher ul button { .language-switcher ul button {
color: @accent-color !important; color: @accent !important;
} }
.footer__text a, .footer__text a,
.language-switcher ul button { .language-switcher ul button {
&:active, &:active,
&:focus { &:focus {
outline-color: @accent-color !important; outline-color: @accent !important;
} }
} }
@@ -246,7 +243,7 @@
} }
.dropdown__content { .dropdown__content {
border-color: @accent-color !important; border-color: @accent !important;
box-shadow: none !important; box-shadow: none !important;
} }
@@ -273,15 +270,15 @@
.horizontal-menu__link:active, .horizontal-menu__link:active,
.horizontal-menu__link:focus { .horizontal-menu__link:focus {
outline-color: @accent-color !important; outline-color: @accent !important;
} }
.horizontal-menu--light .horizontal-menu__link { .horizontal-menu--light .horizontal-menu__link {
color: @accent-color !important; color: @accent !important;
} }
.horizontal-menu--light .horizontal-menu__link:hover { .horizontal-menu--light .horizontal-menu__link:hover {
text-decoration-color: @accent-color !important; text-decoration-color: @accent !important;
} }
.sponsors, .sponsors,
@@ -326,10 +323,10 @@
.button--primary:active, .button--primary:active,
.button--primary:focus, .button--primary:focus,
.button--primary:hover { .button--primary:hover {
background-color: @accent-color !important; background-color: @accent !important;
border-color: @accent-color !important; border-color: @accent !important;
color: @base !important; color: @base !important;
outline-color: @accent-color !important; outline-color: @accent !important;
} }
.danger { .danger {
@@ -337,8 +334,8 @@
} }
.notification-bar { .notification-bar {
background-color: @accent-color !important; background-color: @accent !important;
border-bottom-color: @accent-color !important; border-bottom-color: @accent !important;
color: @base !important; color: @base !important;
} }
@@ -387,11 +384,11 @@
} }
.callout-block { .callout-block {
border-color: @accent-color !important; border-color: @accent !important;
} }
.callout-block::before { .callout-block::before {
background-color: @accent-color !important; background-color: @accent !important;
} }
.callout-block--danger { .callout-block--danger {
@@ -429,12 +426,12 @@
} }
.faq-group h3::before { .faq-group h3::before {
color: @accent-color !important; color: @accent !important;
} }
.badge { .badge {
background-color: @accent-color !important; background-color: @accent !important;
border-color: @accent-color !important; border-color: @accent !important;
color: @base !important; color: @base !important;
} }
@@ -445,7 +442,7 @@
.badge:active, .badge:active,
.badge:focus { .badge:focus {
border-color: @base !important; border-color: @base !important;
outline-color: @accent-color !important; outline-color: @accent !important;
} }
.badge--success { .badge--success {
@@ -476,24 +473,24 @@
.table--collaborators .table__user-text > * { .table--collaborators .table__user-text > * {
background-image: linear-gradient( background-image: linear-gradient(
90deg, 90deg,
@accent-color, @accent,
@accent-color @accent
) !important; ) !important;
color: @accent-color !important; color: @accent !important;
} }
.table--collaborators .table__user-text > :hover { .table--collaborators .table__user-text > :hover {
background-image: linear-gradient( background-image: linear-gradient(
90deg, 90deg,
@accent-color, @accent,
@accent-color @accent
) !important; ) !important;
color: @accent-color !important; color: @accent !important;
} }
.table--collaborators .table__user-text > :active, .table--collaborators .table__user-text > :active,
.table--collaborators .table__user-text > :focus { .table--collaborators .table__user-text > :focus {
outline-color: @accent-color !important; outline-color: @accent !important;
} }
@media (max-width: 600px) { @media (max-width: 600px) {
@@ -569,7 +566,7 @@
.sponsor-grid__sponsor--invitation, .sponsor-grid__sponsor--invitation,
.sponsor-grid__sponsor--invitation:hover { .sponsor-grid__sponsor--invitation:hover {
border-color: @accent-color !important; border-color: @accent !important;
} }
.sponsor-grid__sponsor-activity { .sponsor-grid__sponsor-activity {
@@ -577,16 +574,16 @@
} }
.sponsor-package { .sponsor-package {
border-color: @accent-color !important; border-color: @accent !important;
} }
.sponsor-package__header { .sponsor-package__header {
background-color: @accent-color !important; background-color: @accent !important;
color: @base !important; color: @base !important;
} }
.sponsor-package__icon { .sponsor-package__icon {
background-color: @accent-color !important; background-color: @accent !important;
} }
.mobile-search { .mobile-search {
@@ -730,13 +727,13 @@
} }
.vertical-tabs__tab:hover { .vertical-tabs__tab:hover {
color: @accent-color !important; color: @accent !important;
} }
.vertical-tabs__tab:active, .vertical-tabs__tab:active,
.vertical-tabs__tab:focus { .vertical-tabs__tab:focus {
box-shadow: 0 0 0 2px @crust !important; box-shadow: 0 0 0 2px @crust !important;
outline-color: @accent-color !important; outline-color: @accent !important;
} }
@media (max-width: 800px) { @media (max-width: 800px) {
@@ -749,11 +746,11 @@
.vertical-tabs__tab--is-active, .vertical-tabs__tab--is-active,
.vertical-tabs__tab--is-active:hover { .vertical-tabs__tab--is-active:hover {
background: @crust !important; background: @crust !important;
color: @accent-color !important; color: @accent !important;
} }
.vertical-tabs__content:focus { .vertical-tabs__content:focus {
outline-color: @accent-color !important; outline-color: @accent !important;
} }
.verified small { .verified small {
@@ -762,22 +759,22 @@
.sidebar-section .sidebar-section__user-gravatar:active, .sidebar-section .sidebar-section__user-gravatar:active,
.sidebar-section .sidebar-section__user-gravatar:focus { .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,
.sidebar-section__user-gravatar-text:hover { .sidebar-section__user-gravatar-text:hover {
background-image: linear-gradient( background-image: linear-gradient(
90deg, 90deg,
@accent-color, @accent,
@accent-color @accent
) !important; ) !important;
color: @accent-color !important; color: @accent !important;
} }
.sidebar-section__user-gravatar-text:active, .sidebar-section__user-gravatar-text:active,
.sidebar-section__user-gravatar-text:focus { .sidebar-section__user-gravatar-text:focus {
outline-color: @accent-color !important; outline-color: @accent !important;
} }
.sidebar-section { .sidebar-section {
@@ -829,7 +826,7 @@
.viewport-section--ee .viewport-section__heading { .viewport-section--ee .viewport-section__heading {
background-color: @base !important; background-color: @base !important;
color: @accent-color !important; color: @accent !important;
} }
.viewport-section--ee .viewport-section--ee
@@ -905,7 +902,7 @@
} }
.filter-badge { .filter-badge {
background-color: @accent-color; background-color: @accent;
&, &,
.filter-badge__remove-button, .filter-badge__remove-button,
@@ -914,13 +911,13 @@
} }
.filter-badge__remove-button { .filter-badge__remove-button {
border-left-color: if( border-left-color: if(
@lookup = latte, @flavor = latte,
lighten(@accent-color, 10%), lighten(@accent, 10%),
darken(@accent-color, 5%) darken(@accent, 5%)
); );
&:hover { &:hover {
background-color: darken(@accent-color, 10%); background-color: darken(@accent, 10%);
} }
} }
} }
@@ -960,7 +957,7 @@
.release__node[src*="blue"] { .release__node[src*="blue"] {
@svg: escape( @svg: escape(
'<svg xmlns="http://www.w3.org/2000/svg" width="33.809" height="32.025" viewBox="0 0 31.696 30.024"><g stroke="@{crust}" stroke-linejoin="bevel" stroke-width=".355"><path fill="@{accent-color}" d="m.178 5.912 15.555 5.662L31.519 5.83 15.963.167z"/><path fill="@{accent-color}" d="M15.733 11.574v18.283l15.786-5.746V5.83zM.178 5.912l15.555 5.662v18.283L.178 24.195z"/></g></svg>' '<svg xmlns="http://www.w3.org/2000/svg" width="33.809" height="32.025" viewBox="0 0 31.696 30.024"><g stroke="@{crust}" stroke-linejoin="bevel" stroke-width=".355"><path fill="@{accent}" d="m.178 5.912 15.555 5.662L31.519 5.83 15.963.167z"/><path fill="@{accent}" d="M15.733 11.574v18.283l15.786-5.746V5.83zM.178 5.912l15.555 5.662v18.283L.178 24.195z"/></g></svg>'
); );
content: url("data:image/svg+xml,@{svg}"); content: url("data:image/svg+xml,@{svg}");
background-color: @mantle !important; background-color: @mantle !important;
+94 -88
View File
@@ -27,49 +27,47 @@
url("https://chroma.catppuccin.com/@{darkFlavor}-chroma-style.css") url("https://chroma.catppuccin.com/@{darkFlavor}-chroma-style.css")
(prefers-color-scheme: dark); (prefers-color-scheme: dark);
@media (prefers-color-scheme: light) { :root {
:root { @media (prefers-color-scheme: light) {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
}
@media (prefers-color-scheme: dark) {
#catppuccin(@darkFlavor);
} }
} }
@media (prefers-color-scheme: dark) { #catppuccin(@flavor) {
:root { @rosewater: @catppuccin[@@flavor][@rosewater];
#catppuccin(@darkFlavor, @accentColor); @flamingo: @catppuccin[@@flavor][@flamingo];
} @pink: @catppuccin[@@flavor][@pink];
} @mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@flavor][@surface2];
@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) { @text-filter: @catppuccin-filters[@@flavor][@text];
@rosewater: @catppuccin[@@lookup][@rosewater]; @red-filter: @catppuccin-filters[@@flavor][@red];
@flamingo: @catppuccin[@@lookup][@flamingo]; @green-filter: @catppuccin-filters[@@flavor][@green];
@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];
--ctp-rosewater: @rosewater; --ctp-rosewater: @rosewater;
--ctp-flamingo: @flamingo; --ctp-flamingo: @flamingo;
@@ -98,10 +96,10 @@
--ctp-mantle: @mantle; --ctp-mantle: @mantle;
--ctp-crust: @crust; --ctp-crust: @crust;
color-scheme: if(@lookup = latte, light, dark); color-scheme: if(@flavor = latte, light, dark);
::selection { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
input, input,
@@ -180,7 +178,7 @@
} }
.ace_marker-layer .ace_selection { .ace_marker-layer .ace_selection {
background: fade(@accent-color, 30%); background: fade(@accent, 30%);
} }
.ace_fold { .ace_fold {
background-color: @surface0; background-color: @surface0;
@@ -264,7 +262,7 @@
} }
.ace_optionsMenuKey { .ace_optionsMenuKey {
color: @accent-color; color: @accent;
} }
} }
@@ -276,9 +274,9 @@
} }
.cursor-node { .cursor-node {
border-color: @accent-color !important; border-color: @accent !important;
&[focus="true"] { &[focus="true"] {
background-color: @accent-color !important; background-color: @accent !important;
} }
} }
@@ -291,17 +289,17 @@
x-row span { x-row span {
/* Black & Bright Black */ /* Black & Bright Black */
&[style^="color: rgb(0, 0, 0);"] { &[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);"] { &[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);"] { &[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);"] { &[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 */ /* Red and Bright Red */
@@ -390,21 +388,21 @@
/* White */ /* White */
&[style^="color: rgb(211, 215, 207);"] { &[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);"] { &[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 */ /* Bright White */
&[style^="color: rgb(238, 238, 236);"] { &[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);"] { &[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 */ /* Dim White */
&[style^="color: rgb(141, 143, 138);"] { &[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, &:hover,
&:focus { &:focus {
color: @accent-color; color: @accent;
} }
} }
@@ -541,11 +539,11 @@
} }
.gcsc-find-more-on-google { .gcsc-find-more-on-google {
color: @accent-color; color: @accent;
} }
.gcsc-find-more-on-google-magnifier { .gcsc-find-more-on-google-magnifier {
fill: @accent-color; fill: @accent;
} }
.gsc-results .gsc-cursor-box .gsc-cursor-page { .gsc-results .gsc-cursor-box .gsc-cursor-page {
@@ -566,7 +564,7 @@
&:hover, &:hover,
&:focus, &:focus,
b { b {
color: @accent-color; color: @accent;
} }
} }
@@ -584,7 +582,7 @@
} }
.dashboard-panel__headline a { .dashboard-panel__headline a {
text-decoration-color: @accent-color; text-decoration-color: @accent;
} }
.dashboard-columns { .dashboard-columns {
@@ -620,7 +618,7 @@
outline-style: solid; outline-style: solid;
&:focus { &:focus {
outline-color: @accent-color; outline-color: @accent;
} }
} }
@@ -701,18 +699,18 @@
&.active, &.active,
&:hover { &:hover {
color: @base; color: @base;
background-color: @accent-color; background-color: @accent;
border-color: @surface0; border-color: @surface0;
} }
} }
.label-primary { .label-primary {
background-color: @accent-color; background-color: @accent;
color: @crust; color: @crust;
} }
.label-info { .label-info {
background-color: @accent-color; background-color: @accent;
color: @crust; color: @crust;
} }
@@ -746,12 +744,12 @@
} }
.edit_value { .edit_value {
color: @accent-color; color: @accent;
} }
.btn-info .badge, .btn-info .badge,
.btn-primary .badge { .btn-primary .badge {
color: @accent-color; color: @accent;
background-color: @crust; background-color: @crust;
} }
@@ -793,7 +791,7 @@
} }
.alert-info { .alert-info {
background-color: @accent-color; background-color: @accent;
} }
.alert-warning { .alert-warning {
@@ -1015,7 +1013,7 @@
.sorted-up, .sorted-up,
.sorted-down { .sorted-down {
color: @accent-color; color: @accent;
} }
.ui-widget-content { .ui-widget-content {
@@ -1068,7 +1066,7 @@
} }
&.bootstrap-switch-primary { &.bootstrap-switch-primary {
background-color: @accent-color; background-color: @accent;
} }
} }
} }
@@ -1175,8 +1173,8 @@
} }
.btn.btn-default { .btn.btn-default {
border-color: @accent-color; border-color: @accent;
color: @accent-color; color: @accent;
background-color: @base; background-color: @base;
&:hover, &:hover,
@@ -1202,7 +1200,7 @@
&, &,
&:hover, &:hover,
&:focus { &:focus {
color: @accent-color; color: @accent;
} }
} }
@@ -1227,8 +1225,8 @@
} }
.ui-state-highlight { .ui-state-highlight {
border-color: @accent-color; border-color: @accent;
background: @accent-color; background: @accent;
color: @base; color: @base;
} }
@@ -1240,7 +1238,7 @@
} }
form .btn-link { form .btn-link {
color: @accent-color; color: @accent;
} }
.active a { .active a {
@@ -1297,7 +1295,7 @@
} }
a { a {
color: @accent-color; color: @accent;
} }
} }
@@ -1309,7 +1307,7 @@
background-color: @base; background-color: @base;
a { a {
color: @accent-color !important; color: @accent !important;
} }
} }
@@ -1318,7 +1316,7 @@
} }
.console_table .info_tooltip { .console_table .info_tooltip {
color: @accent-color; color: @accent;
} }
#id_console_name { #id_console_name {
@@ -1391,15 +1389,15 @@
.pagination a, .pagination a,
#tipue_search_foot_boxes li.current, #tipue_search_foot_boxes li.current,
#tipue_search_foot_boxes li a { #tipue_search_foot_boxes li a {
background-color: @accent-color; background-color: @accent;
color: @crust; color: @crust;
border-color: @accent-color; border-color: @accent;
} }
button:disabled, button:disabled,
.pagination .disabled { .pagination .disabled {
background-color: darken(@accent-color, 5%); background-color: darken(@accent, 5%);
border-color: darken(@accent-color, 5%); border-color: darken(@accent, 5%);
} }
#tipue_search_input, #tipue_search_input,
@@ -1432,9 +1430,9 @@
.pagination a, .pagination a,
#tipue_search_foot_boxes li.current, #tipue_search_foot_boxes li.current,
#tipue_search_foot_boxes li a { #tipue_search_foot_boxes li a {
background-color: @accent-color; background-color: @accent;
color: @crust; color: @crust;
border-color: @accent-color; border-color: @accent;
} }
img[src*="ssl.gstatic.com/ui/v1/disclosure/small-grey-disclosure-arrow-down.png"], img[src*="ssl.gstatic.com/ui/v1/disclosure/small-grey-disclosure-arrow-down.png"],
@@ -1465,7 +1463,7 @@
img[src$="/images/PA-logo.svg"] { img[src$="/images/PA-logo.svg"] {
@svg: escape( @svg: escape(
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 776.8 166"><path d="M197.99 41.73c-2.1-2.4-5.1-3.7-8.8-3.7s-6.5 1.2-8.7 3.7h.1q-3.3 3.75-3.3 9c0 3.7 1.2 6.8 3.2 9.2v-.1c2.1 2.5 5 3.7 8.7 3.7s6.7-1.2 8.9-3.7h-.1c2.2-2.5 3.2-5.5 3.2-9.1s-1.1-6.6-3.2-9m3 21c-3.1 3.2-7 5-11.9 5-4.6 0-8.9-1.9-11.9-4.9 0 0-.1 0-.1-.1v21.7h-4.3v-50h4.4v4.3l.1-.1c3.1-3.2 7-4.8 11.9-4.8s8.9 1.7 11.9 4.8c3.1 3.2 4.6 7.2 4.6 12.1s-1.7 9-4.7 12m42.2 17c-2.9 3.1-6.9 4.6-11.8 4.6q-5.85 0-11.4-3.6l1.5-4.3c2.2 1.6 4.4 2.6 6.4 3.1 1.3.3 2.6.5 3.6.5 3.7 0 6.5-1.2 8.5-3.5s3-5.1 3-8.9v-3.3c-2.3 2.2-5.3 3.2-9 3.2-4.3 0-7.7-1.6-10.1-4.4-2.2-2.7-3.2-6.2-3.2-10.5v-18.2h4.3v19.3c0 2.9.8 5.2 2.4 7h-.1c1.7 2 3.9 2.9 6.7 2.9s5-.9 6.6-2.8c1.6-1.7 2.4-4.1 2.4-7.1v-19.3h4.4v33.4c-.1 4.8-1.4 8.8-4.2 11.9m33.8-12.8c-8.5 0-12.6-3.9-12.6-11.7v-30.2h4.3v9.4h9.1v4.4h-9.1v16.2c0 5.1 2.7 7.8 8.3 7.8h2.7v4.1zm39.5.2v-19.2c0-2.7-.8-5.2-2.2-7.1-1.6-1.7-3.7-2.8-6.3-2.8-3.1 0-5.5 1.2-7.3 3.2-1.6 2.2-2.4 5-2.4 8.1v17.7h-4.3v-47.6h4.3v18.5c2.4-2.4 6.1-4.2 9.7-4.2 4.1 0 7.5 1.5 9.7 4.4 2 2.6 3.2 6.1 3.2 10.2v18.8zm42.9-25.5c-2.1-2.4-5.1-3.7-8.8-3.7-3.6 0-6.6 1.5-8.8 3.7-1.9 2.2-3.2 5.5-3.2 9 0 3.7 1.2 6.8 3.2 9.2 2.2 2.2 5.2 3.6 8.8 3.6 3.7 0 6.6-1.2 8.8-3.7h-.1c2.2-2.6 3.3-5.5 3.3-9.1s-1.1-6.6-3.2-9m3.2 21.2c-3.1 3.2-7 4.8-11.9 4.8-4.8 0-8.8-1.7-11.8-4.8-3.2-3.2-4.6-7.3-4.6-12.1 0-4.9 1.7-8.8 4.6-12 3.1-3.3 7-4.9 11.8-4.9 5 0 9 1.7 12 4.9s4.5 7.1 4.5 12c-.1 5-1.6 9-4.6 12.1m40.5 4.3v-19.2c0-2.9-.8-5.2-2.4-7.1l.1.1c-1.7-1.9-4-2.9-6.7-2.9-2.8 0-4.9.9-6.6 2.6-1.6 1.7-2.5 3.8-2.5 6.6v20l-4.3-.1v-32.8h4.3v2.8c2.3-2.1 5.5-3.3 9.1-3.3 4.3 0 7.6 1.5 10.1 4.5v-.1c2.2 2.5 3.3 6.1 3.3 10.5v18.4z" fill="@{accent-color}"/><path d="M449.89 41.63c-2.1-2.4-5.1-3.7-8.8-3.7-3.6 0-6.6 1.5-8.8 3.7-1.9 2.2-3.2 5.5-3.2 9 0 3.7 1.2 6.8 3.2 9.2 2.2 2.2 5.2 3.6 8.8 3.6 3.7 0 6.6-1.2 8.8-3.7h-.1c2.2-2.6 3.3-5.5 3.3-9.1s-1.1-6.6-3.2-9m3.2 25.5v-4.3l-.1.1c-3.1 3.2-5.2 4.8-10.4 4.8-4.8 0-10.4-1.7-13.4-4.8-3.2-3.2-4.6-7.3-4.6-12.1 0-4.9 1.7-8.8 4.6-12 3.1-3.3 7-4.9 11.8-4.9 4.7 0 9 1.8 11.9 4.8 0 0 .1 0 .1.1v-4.3h4.4v32.7h-4.3zm44.2 0v-19.2c0-2.9-.8-5.2-2.4-7.1l.1.1c-1.7-1.9-4-2.9-6.7-2.9-2.8 0-4.9.9-6.6 2.6-1.6 1.7-2.5 3.8-2.5 6.6v20l-4.3-.1v-32.8h4.3v2.8c2.3-2.1 5.5-3.3 9.1-3.3 4.3 0 7.6 1.5 10.1 4.5v-.1c2.2 2.5 3.3 6.1 3.3 10.5v18.4zm43.7 12.6c-2.9 3.1-6.9 4.6-11.8 4.6q-5.85 0-11.4-3.6l1.5-4.3c2.2 1.6 4.4 2.6 6.4 3.1 1.3.3 2.6.5 3.6.5 3.7 0 6.5-1.2 8.5-3.5s3-5.1 3-8.9v-3.3c-2.3 2.2-5.3 3.2-9 3.2-4.3 0-7.7-1.6-10.1-4.4-2.2-2.7-3.2-6.2-3.2-10.5v-18.2h4.3v19.3c0 2.9.8 5.2 2.4 7h-.1c1.7 2 3.9 2.9 6.7 2.9s5-.9 6.6-2.8c1.6-1.7 2.4-4.1 2.4-7.1v-19.3h4.4v33.4c0 4.8-1.3 8.8-4.2 11.9m53.5-15.6c-.9 2.4-2.2 3.7-4.1 3.7-2 0-3.3-1.2-4.2-3.7l-3.2-8.5c-1.1 2.8-2.1 5.8-3.2 8.5-.9 2.4-2.5 3.7-4.2 3.7-2 0-3.3-1.2-4.2-3.7l-11.1-29.7h4.6l10.4 27.8v-.1c.2.7.4.9.3.9.1 0 .1-.2.4-.9v.1c1.6-4.3 3.2-8.3 4.7-12.6-1.8-4.6-3.9-10.5-5.6-15.2h4.5l10.4 27.8v-.1c.2.7.3.9.3.9s.1-.2.3-.8l10.4-27.8h4.7zm47.7 3v-19.2c0-2.7-.8-5.2-2.2-7.1-1.6-1.7-3.7-2.8-6.3-2.8-3.1 0-5.5 1.2-7.3 3.2-1.6 2.2-2.4 5-2.4 8.1v17.7h-4.3v-47.6h4.3v18.5c2.4-2.4 6.1-4.2 9.7-4.2 4.1 0 7.5 1.5 9.7 4.4 2 2.6 3.2 6.1 3.2 10.2v18.8zm22.2-18.9h23.7c-.4-2.9-1.7-5.4-3.6-7.2-2.1-2-4.7-3.1-8.2-3.1-3.4 0-6.1 1.1-8.1 3.1-2.1 1.8-3.3 4.3-3.8 7.2m28.3 2.8c0 .3-.1 1.3-.1 1.4h-28.2c.4 3.2 1.7 5.8 3.7 7.7 2.2 2.1 5 3.2 8.5 3.2 1.9 0 3.9-.3 5.9-.9v.1c2.2-.7 3.9-1.9 5.5-3.4l3.2 3.1c-3.5 3.5-8.2 5.4-14.4 5.4-4.9 0-9-1.7-12-4.7-3.2-3.1-4.8-7.1-4.8-12.2 0-4.9 1.7-8.8 4.6-12 3.1-3.3 7-4.9 11.8-4.9s8.7 1.6 11.8 4.7 4.7 6.9 4.7 11.8c-.2.2-.1.3-.2.7m31.7-11.9-.7-.2c.1.1-.8-.1-1.4-.2-.4-.1-.7-.1-1.4-.2-2.4.2-4.9 1.3-6.6 3.7-1.8 2.3-2.7 5.7-2.7 10.1v14.7h-4.4v-32.6h4.4v4.2c2.4-2.4 6.2-4.4 10-4.4 0 0 .5.1 1.1.2s2.1.3 3.1.5v4.2zm14.2 9.106h23.7c-.4-2.9-1.7-5.4-3.6-7.2-2.1-2-4.7-3.1-8.2-3.1-3.4 0-6.1 1.1-8.1 3.1-2.2 1.8-3.3 4.3-3.8 7.2m28.2 2.8c0 .3-.1 1.3-.1 1.4h-28.2c.4 3.2 1.7 5.8 3.7 7.7 2.2 2.1 5 3.2 8.5 3.2 1.9 0 3.9-.3 5.9-.9v.1c2.2-.7 3.9-1.9 5.5-3.4l3.2 3.1c-3.5 3.5-8.2 5.4-14.4 5.4-4.9 0-9-1.7-12-4.7-3.2-3.1-4.8-7.1-4.8-12.2 0-4.9 1.7-8.8 4.6-12 3.1-3.3 7-4.9 11.8-4.9s8.7 1.6 11.8 4.7 4.7 6.9 4.7 11.8c-.1.2 0 .3-.2.7M69.69 103.93c-.5-.6-1.2-1-1.8-1.4-.5-.3-.7-.6-.6-1.3 1-5.9 1.9-11.8 2.8-17.8.6-4 1.2-8 1.9-12.2.9.6 1.8 1.2 2.6 1.8.2.2.1.5.1.7-.2 1.4-.4 2.9-.7 4.3-.5 3.2-1 6.5-1.5 9.7l-1.5 9.6c-.1.8-.2 1.7-.4 2.5.4.1.6-.2.9-.3 7.6-4 15.2-7.9 22.8-11.9l.6-.3c.2-.1.4-.2.6 0 .8.5 1.6 1.1 2.5 1.7-.4.2-.6.4-.9.5-8.8 4.6-17.5 9.2-26.3 13.8-.3.1-.6.2-.7.5zm-26.7-54c-.2 1.6-.5 3-.7 4.4-.7 4.6-1.5 9.1-2.2 13.7-.4 2.7-.9 5.4-1.3 8.1-.1.5-.3.7-.7.8-.8.2-1.7.5-2.5.8-.1-.2 0-.4 0-.6.8-5 1.6-9.9 2.4-14.9.8-4.8 1.5-9.7 2.3-14.5.1-.4.2-.7.7-.8.7-.2 1.3-.4 2-.6.4-.2.7-.1 1.1.2l5.1 5.1c5.4 5.4 10.9 10.8 16.3 16.1.1.1.2.3.4.4-1 .4-2 .6-2.9 1-.3.1-.5-.2-.6-.3-1.3-1.3-2.6-2.6-4-3.9-5-4.9-9.9-9.8-14.8-14.7-.2 0-.3-.1-.6-.3m26 15.5c-.8-.7-1.5-1.4-2.2-2.1-.2-.2-.1-.5 0-.7.6-1.8 1.2-3.6 1.9-5.4l6.6-18.9c.1-.2.2-.5.2-.7-.4-.1-.7.1-1 .2-8.2 2.6-16.3 5.1-24.5 7.7-1.3.4-.9.5-1.8-.4l-1.5-1.5c.2Line truncated '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 776.8 166"><path d="M197.99 41.73c-2.1-2.4-5.1-3.7-8.8-3.7s-6.5 1.2-8.7 3.7h.1q-3.3 3.75-3.3 9c0 3.7 1.2 6.8 3.2 9.2v-.1c2.1 2.5 5 3.7 8.7 3.7s6.7-1.2 8.9-3.7h-.1c2.2-2.5 3.2-5.5 3.2-9.1s-1.1-6.6-3.2-9m3 21c-3.1 3.2-7 5-11.9 5-4.6 0-8.9-1.9-11.9-4.9 0 0-.1 0-.1-.1v21.7h-4.3v-50h4.4v4.3l.1-.1c3.1-3.2 7-4.8 11.9-4.8s8.9 1.7 11.9 4.8c3.1 3.2 4.6 7.2 4.6 12.1s-1.7 9-4.7 12m42.2 17c-2.9 3.1-6.9 4.6-11.8 4.6q-5.85 0-11.4-3.6l1.5-4.3c2.2 1.6 4.4 2.6 6.4 3.1 1.3.3 2.6.5 3.6.5 3.7 0 6.5-1.2 8.5-3.5s3-5.1 3-8.9v-3.3c-2.3 2.2-5.3 3.2-9 3.2-4.3 0-7.7-1.6-10.1-4.4-2.2-2.7-3.2-6.2-3.2-10.5v-18.2h4.3v19.3c0 2.9.8 5.2 2.4 7h-.1c1.7 2 3.9 2.9 6.7 2.9s5-.9 6.6-2.8c1.6-1.7 2.4-4.1 2.4-7.1v-19.3h4.4v33.4c-.1 4.8-1.4 8.8-4.2 11.9m33.8-12.8c-8.5 0-12.6-3.9-12.6-11.7v-30.2h4.3v9.4h9.1v4.4h-9.1v16.2c0 5.1 2.7 7.8 8.3 7.8h2.7v4.1zm39.5.2v-19.2c0-2.7-.8-5.2-2.2-7.1-1.6-1.7-3.7-2.8-6.3-2.8-3.1 0-5.5 1.2-7.3 3.2-1.6 2.2-2.4 5-2.4 8.1v17.7h-4.3v-47.6h4.3v18.5c2.4-2.4 6.1-4.2 9.7-4.2 4.1 0 7.5 1.5 9.7 4.4 2 2.6 3.2 6.1 3.2 10.2v18.8zm42.9-25.5c-2.1-2.4-5.1-3.7-8.8-3.7-3.6 0-6.6 1.5-8.8 3.7-1.9 2.2-3.2 5.5-3.2 9 0 3.7 1.2 6.8 3.2 9.2 2.2 2.2 5.2 3.6 8.8 3.6 3.7 0 6.6-1.2 8.8-3.7h-.1c2.2-2.6 3.3-5.5 3.3-9.1s-1.1-6.6-3.2-9m3.2 21.2c-3.1 3.2-7 4.8-11.9 4.8-4.8 0-8.8-1.7-11.8-4.8-3.2-3.2-4.6-7.3-4.6-12.1 0-4.9 1.7-8.8 4.6-12 3.1-3.3 7-4.9 11.8-4.9 5 0 9 1.7 12 4.9s4.5 7.1 4.5 12c-.1 5-1.6 9-4.6 12.1m40.5 4.3v-19.2c0-2.9-.8-5.2-2.4-7.1l.1.1c-1.7-1.9-4-2.9-6.7-2.9-2.8 0-4.9.9-6.6 2.6-1.6 1.7-2.5 3.8-2.5 6.6v20l-4.3-.1v-32.8h4.3v2.8c2.3-2.1 5.5-3.3 9.1-3.3 4.3 0 7.6 1.5 10.1 4.5v-.1c2.2 2.5 3.3 6.1 3.3 10.5v18.4z" fill="@{accent}"/><path d="M449.89 41.63c-2.1-2.4-5.1-3.7-8.8-3.7-3.6 0-6.6 1.5-8.8 3.7-1.9 2.2-3.2 5.5-3.2 9 0 3.7 1.2 6.8 3.2 9.2 2.2 2.2 5.2 3.6 8.8 3.6 3.7 0 6.6-1.2 8.8-3.7h-.1c2.2-2.6 3.3-5.5 3.3-9.1s-1.1-6.6-3.2-9m3.2 25.5v-4.3l-.1.1c-3.1 3.2-5.2 4.8-10.4 4.8-4.8 0-10.4-1.7-13.4-4.8-3.2-3.2-4.6-7.3-4.6-12.1 0-4.9 1.7-8.8 4.6-12 3.1-3.3 7-4.9 11.8-4.9 4.7 0 9 1.8 11.9 4.8 0 0 .1 0 .1.1v-4.3h4.4v32.7h-4.3zm44.2 0v-19.2c0-2.9-.8-5.2-2.4-7.1l.1.1c-1.7-1.9-4-2.9-6.7-2.9-2.8 0-4.9.9-6.6 2.6-1.6 1.7-2.5 3.8-2.5 6.6v20l-4.3-.1v-32.8h4.3v2.8c2.3-2.1 5.5-3.3 9.1-3.3 4.3 0 7.6 1.5 10.1 4.5v-.1c2.2 2.5 3.3 6.1 3.3 10.5v18.4zm43.7 12.6c-2.9 3.1-6.9 4.6-11.8 4.6q-5.85 0-11.4-3.6l1.5-4.3c2.2 1.6 4.4 2.6 6.4 3.1 1.3.3 2.6.5 3.6.5 3.7 0 6.5-1.2 8.5-3.5s3-5.1 3-8.9v-3.3c-2.3 2.2-5.3 3.2-9 3.2-4.3 0-7.7-1.6-10.1-4.4-2.2-2.7-3.2-6.2-3.2-10.5v-18.2h4.3v19.3c0 2.9.8 5.2 2.4 7h-.1c1.7 2 3.9 2.9 6.7 2.9s5-.9 6.6-2.8c1.6-1.7 2.4-4.1 2.4-7.1v-19.3h4.4v33.4c0 4.8-1.3 8.8-4.2 11.9m53.5-15.6c-.9 2.4-2.2 3.7-4.1 3.7-2 0-3.3-1.2-4.2-3.7l-3.2-8.5c-1.1 2.8-2.1 5.8-3.2 8.5-.9 2.4-2.5 3.7-4.2 3.7-2 0-3.3-1.2-4.2-3.7l-11.1-29.7h4.6l10.4 27.8v-.1c.2.7.4.9.3.9.1 0 .1-.2.4-.9v.1c1.6-4.3 3.2-8.3 4.7-12.6-1.8-4.6-3.9-10.5-5.6-15.2h4.5l10.4 27.8v-.1c.2.7.3.9.3.9s.1-.2.3-.8l10.4-27.8h4.7zm47.7 3v-19.2c0-2.7-.8-5.2-2.2-7.1-1.6-1.7-3.7-2.8-6.3-2.8-3.1 0-5.5 1.2-7.3 3.2-1.6 2.2-2.4 5-2.4 8.1v17.7h-4.3v-47.6h4.3v18.5c2.4-2.4 6.1-4.2 9.7-4.2 4.1 0 7.5 1.5 9.7 4.4 2 2.6 3.2 6.1 3.2 10.2v18.8zm22.2-18.9h23.7c-.4-2.9-1.7-5.4-3.6-7.2-2.1-2-4.7-3.1-8.2-3.1-3.4 0-6.1 1.1-8.1 3.1-2.1 1.8-3.3 4.3-3.8 7.2m28.3 2.8c0 .3-.1 1.3-.1 1.4h-28.2c.4 3.2 1.7 5.8 3.7 7.7 2.2 2.1 5 3.2 8.5 3.2 1.9 0 3.9-.3 5.9-.9v.1c2.2-.7 3.9-1.9 5.5-3.4l3.2 3.1c-3.5 3.5-8.2 5.4-14.4 5.4-4.9 0-9-1.7-12-4.7-3.2-3.1-4.8-7.1-4.8-12.2 0-4.9 1.7-8.8 4.6-12 3.1-3.3 7-4.9 11.8-4.9s8.7 1.6 11.8 4.7 4.7 6.9 4.7 11.8c-.2.2-.1.3-.2.7m31.7-11.9-.7-.2c.1.1-.8-.1-1.4-.2-.4-.1-.7-.1-1.4-.2-2.4.2-4.9 1.3-6.6 3.7-1.8 2.3-2.7 5.7-2.7 10.1v14.7h-4.4v-32.6h4.4v4.2c2.4-2.4 6.2-4.4 10-4.4 0 0 .5.1 1.1.2s2.1.3 3.1.5v4.2zm14.2 9.106h23.7c-.4-2.9-1.7-5.4-3.6-7.2-2.1-2-4.7-3.1-8.2-3.1-3.4 0-6.1 1.1-8.1 3.1-2.2 1.8-3.3 4.3-3.8 7.2m28.2 2.8c0 .3-.1 1.3-.1 1.4h-28.2c.4 3.2 1.7 5.8 3.7 7.7 2.2 2.1 5 3.2 8.5 3.2 1.9 0 3.9-.3 5.9-.9v.1c2.2-.7 3.9-1.9 5.5-3.4l3.2 3.1c-3.5 3.5-8.2 5.4-14.4 5.4-4.9 0-9-1.7-12-4.7-3.2-3.1-4.8-7.1-4.8-12.2 0-4.9 1.7-8.8 4.6-12 3.1-3.3 7-4.9 11.8-4.9s8.7 1.6 11.8 4.7 4.7 6.9 4.7 11.8c-.1.2 0 .3-.2.7M69.69 103.93c-.5-.6-1.2-1-1.8-1.4-.5-.3-.7-.6-.6-1.3 1-5.9 1.9-11.8 2.8-17.8.6-4 1.2-8 1.9-12.2.9.6 1.8 1.2 2.6 1.8.2.2.1.5.1.7-.2 1.4-.4 2.9-.7 4.3-.5 3.2-1 6.5-1.5 9.7l-1.5 9.6c-.1.8-.2 1.7-.4 2.5.4.1.6-.2.9-.3 7.6-4 15.2-7.9 22.8-11.9l.6-.3c.2-.1.4-.2.6 0 .8.5 1.6 1.1 2.5 1.7-.4.2-.6.4-.9.5-8.8 4.6-17.5 9.2-26.3 13.8-.3.1-.6.2-.7.5zm-26.7-54c-.2 1.6-.5 3-.7 4.4-.7 4.6-1.5 9.1-2.2 13.7-.4 2.7-.9 5.4-1.3 8.1-.1.5-.3.7-.7.8-.8.2-1.7.5-2.5.8-.1-.2 0-.4 0-.6.8-5 1.6-9.9 2.4-14.9.8-4.8 1.5-9.7 2.3-14.5.1-.4.2-.7.7-.8.7-.2 1.3-.4 2-.6.4-.2.7-.1 1.1.2l5.1 5.1c5.4 5.4 10.9 10.8 16.3 16.1.1.1.2.3.4.4-1 .4-2 .6-2.9 1-.3.1-.5-.2-.6-.3-1.3-1.3-2.6-2.6-4-3.9-5-4.9-9.9-9.8-14.8-14.7-.2 0-.3-.1-.6-.3m26 15.5c-.8-.7-1.5-1.4-2.2-2.1-.2-.2-.1-.5 0-.7.6-1.8 1.2-3.6 1.9-5.4l6.6-18.9c.1-.2.2-.5.2-.7-.4-.1-.7.1-1 .2-8.2 2.6-16.3 5.1-24.5 7.7-1.3.4-.9.5-1.8-.4l-1.5-1.5c.2-.3.6-Line truncated
); );
content: url("data:image/svg+xml;utf8,@{svg}"); content: url("data:image/svg+xml;utf8,@{svg}");
} }
@@ -1474,8 +1472,16 @@
/* deno-fmt-ignore */ /* deno-fmt-ignore */
@catppuccin: { @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; }; @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; @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; }; @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; @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; }; @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; @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; }; @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%); };
}; };
+35 -37
View File
@@ -16,50 +16,48 @@
==/UserStyle== */ ==/UserStyle== */
@-moz-document domain("quizlet.com") { @-moz-document domain("quizlet.com") {
@media (prefers-color-scheme: light) { :root {
:root { @media (prefers-color-scheme: light) {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
} @media (prefers-color-scheme: dark) {
@media (prefers-color-scheme: dark) { #catppuccin(@darkFlavor);
:root {
#catppuccin(@darkFlavor, @accentColor);
} }
} }
#catppuccin(@lookup, @accent) { #catppuccin(@flavor) {
@rosewater: @catppuccin[@@lookup][@rosewater]; @rosewater: @catppuccin[@@flavor][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo]; @flamingo: @catppuccin[@@flavor][@flamingo];
@pink: @catppuccin[@@lookup][@pink]; @pink: @catppuccin[@@flavor][@pink];
@mauve: @catppuccin[@@lookup][@mauve]; @mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@lookup][@red]; @red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@lookup][@maroon]; @maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@lookup][@peach]; @peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@lookup][@yellow]; @yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@lookup][@green]; @green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@lookup][@teal]; @teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@lookup][@sky]; @sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@lookup][@sapphire]; @sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@lookup][@blue]; @blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@lookup][@lavender]; @lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@lookup][@text]; @text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@lookup][@subtext1]; @subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@lookup][@subtext0]; @subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@lookup][@overlay2]; @overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@lookup][@overlay1]; @overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@lookup][@overlay0]; @overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@lookup][@surface2]; @surface2: @catppuccin[@@flavor][@surface2];
@surface1: @catppuccin[@@lookup][@surface1]; @surface1: @catppuccin[@@flavor][@surface1];
@surface0: @catppuccin[@@lookup][@surface0]; @surface0: @catppuccin[@@flavor][@surface0];
@base: @catppuccin[@@lookup][@base]; @base: @catppuccin[@@flavor][@base];
@mantle: @catppuccin[@@lookup][@mantle]; @mantle: @catppuccin[@@flavor][@mantle];
@crust: @catppuccin[@@lookup][@crust]; @crust: @catppuccin[@@flavor][@crust];
@accent-color: @catppuccin[@@lookup][@@accent]; @accent: @catppuccin[@@flavor][@@accentColor];
color-scheme: if(@lookup = latte, light, dark); color-scheme: if(@flavor = latte, light, dark);
::selection { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
input, input,
+38 -38
View File
@@ -17,11 +17,11 @@
@-moz-document domain("app.raindrop.io") { @-moz-document domain("app.raindrop.io") {
[data-theme="night"] { [data-theme="night"] {
#catppuccin(@darkFlavor, @accentColor) !important; #catppuccin(@darkFlavor) !important;
} }
[data-theme="day"], [data-theme="day"],
[data-theme="sunset"] { [data-theme="sunset"] {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
// theme selector previews // theme selector previews
@@ -29,47 +29,47 @@
&[data-index="0"], &[data-index="0"],
&[data-index="2"] > [class^="main-"], &[data-index="2"] > [class^="main-"],
&[data-index="3"] { &[data-index="3"] {
#catppuccin(@lightFlavor, @accentColor) !important; #catppuccin(@lightFlavor) !important;
} }
&[data-index="1"], &[data-index="1"],
&[data-index="2"] > [class^="sidebar-"] { &[data-index="2"] > [class^="sidebar-"] {
#catppuccin(@darkFlavor, @accentColor) !important; #catppuccin(@darkFlavor) !important;
} }
} }
#catppuccin(@lookup, @accent) { #catppuccin(@flavor) {
@rosewater: @catppuccin[@@lookup][@rosewater]; @rosewater: @catppuccin[@@flavor][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo]; @flamingo: @catppuccin[@@flavor][@flamingo];
@pink: @catppuccin[@@lookup][@pink]; @pink: @catppuccin[@@flavor][@pink];
@mauve: @catppuccin[@@lookup][@mauve]; @mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@lookup][@red]; @red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@lookup][@maroon]; @maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@lookup][@peach]; @peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@lookup][@yellow]; @yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@lookup][@green]; @green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@lookup][@teal]; @teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@lookup][@sky]; @sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@lookup][@sapphire]; @sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@lookup][@blue]; @blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@lookup][@lavender]; @lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@lookup][@text]; @text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@lookup][@subtext1]; @subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@lookup][@subtext0]; @subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@lookup][@overlay2]; @overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@lookup][@overlay1]; @overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@lookup][@overlay0]; @overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@lookup][@surface2]; @surface2: @catppuccin[@@flavor][@surface2];
@surface1: @catppuccin[@@lookup][@surface1]; @surface1: @catppuccin[@@flavor][@surface1];
@surface0: @catppuccin[@@lookup][@surface0]; @surface0: @catppuccin[@@flavor][@surface0];
@base: @catppuccin[@@lookup][@base]; @base: @catppuccin[@@flavor][@base];
@mantle: @catppuccin[@@lookup][@mantle]; @mantle: @catppuccin[@@flavor][@mantle];
@crust: @catppuccin[@@lookup][@crust]; @crust: @catppuccin[@@flavor][@crust];
@accent-color: @catppuccin[@@lookup][@@accent]; @accent: @catppuccin[@@flavor][@@accentColor];
color-scheme: if(@lookup = latte, light, dark); color-scheme: if(@flavor = latte, light, dark);
::selection { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
input, input,
@@ -84,7 +84,7 @@
--background-color: @base; --background-color: @base;
--disable-background-color: @crust; --disable-background-color: @crust;
--disable-text-color: @overlay1; --disable-text-color: @overlay1;
--accent-color: @accent-color; --accent-color: @accent;
--alternative-background-color: @mantle; --alternative-background-color: @mantle;
--sidebar-background-color: @mantle; --sidebar-background-color: @mantle;
--hover-background-color: fade(@overlay0, 20%); --hover-background-color: fade(@overlay0, 20%);
@@ -111,7 +111,7 @@
--filter-color: @subtext0; --filter-color: @subtext0;
[data-variant="active"] { [data-variant="active"] {
background: fade(@accent-color, 10%) !important; background: fade(@accent, 10%) !important;
} }
// bookmark edit page header // bookmark edit page header
[class^="header-"][data-fancy="true"] { [class^="header-"][data-fancy="true"] {
@@ -123,7 +123,7 @@
} }
// bookmark edit page cover selector // bookmark edit page cover selector
[class^="cover-"] > [class^="more-"] { [class^="cover-"] > [class^="more-"] {
background: fade(@accent-color, 85%); background: fade(@accent, 85%);
} }
// add bookmark button text color // add bookmark button text color
[title="Add Bookmark"] { [title="Add Bookmark"] {
@@ -138,7 +138,7 @@
} }
// dropping bookmark to collection color overlay // dropping bookmark to collection color overlay
[class*="isDropping-"] { [class*="isDropping-"] {
background-color: fade(@accent-color, 10%); background-color: fade(@accent, 10%);
} }
// sidebar background color // sidebar background color
.svSidebar { .svSidebar {
+189 -189
View File
@@ -21,7 +21,7 @@
:root:not(.theme-dark) .theme-beta, :root:not(.theme-dark) .theme-beta,
:root:not(.theme-dark).theme-beta, :root:not(.theme-dark).theme-beta,
.theme-light { .theme-light {
#catppuccin(@lightFlavor, @accentColor); #catppuccin(@lightFlavor);
} }
:root:not(.theme-light) .theme-rpl, :root:not(.theme-light) .theme-rpl,
@@ -29,42 +29,42 @@
:root:not(.theme-light) .theme-beta, :root:not(.theme-light) .theme-beta,
:root:not(.theme-light).theme-beta, :root:not(.theme-light).theme-beta,
.theme-dark { .theme-dark {
#catppuccin(@darkFlavor, @accentColor); #catppuccin(@darkFlavor);
} }
#catppuccin(@lookup, @accent) { #catppuccin(@flavor) {
@rosewater: @catppuccin[@@lookup][@rosewater]; @rosewater: @catppuccin[@@flavor][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo]; @flamingo: @catppuccin[@@flavor][@flamingo];
@pink: @catppuccin[@@lookup][@pink]; @pink: @catppuccin[@@flavor][@pink];
@mauve: @catppuccin[@@lookup][@mauve]; @mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@lookup][@red]; @red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@lookup][@maroon]; @maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@lookup][@peach]; @peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@lookup][@yellow]; @yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@lookup][@green]; @green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@lookup][@teal]; @teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@lookup][@sky]; @sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@lookup][@sapphire]; @sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@lookup][@blue]; @blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@lookup][@lavender]; @lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@lookup][@text]; @text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@lookup][@subtext1]; @subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@lookup][@subtext0]; @subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@lookup][@overlay2]; @overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@lookup][@overlay1]; @overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@lookup][@overlay0]; @overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@lookup][@surface2]; @surface2: @catppuccin[@@flavor][@surface2];
@surface1: @catppuccin[@@lookup][@surface1]; @surface1: @catppuccin[@@flavor][@surface1];
@surface0: @catppuccin[@@lookup][@surface0]; @surface0: @catppuccin[@@flavor][@surface0];
@base: @catppuccin[@@lookup][@base]; @base: @catppuccin[@@flavor][@base];
@mantle: @catppuccin[@@lookup][@mantle]; @mantle: @catppuccin[@@flavor][@mantle];
@crust: @catppuccin[@@lookup][@crust]; @crust: @catppuccin[@@flavor][@crust];
@accent-color: @catppuccin[@@lookup][@@accent]; @accent: @catppuccin[@@flavor][@@accentColor];
color-scheme: if(@lookup = latte, light, dark); color-scheme: if(@flavor = latte, light, dark);
::selection { ::selection {
background-color: fade(@accent-color, 30%); background-color: fade(@accent, 30%);
} }
input, input,
@@ -96,12 +96,12 @@
--color-neutral-border-medium: @surface0 !important; --color-neutral-border-medium: @surface0 !important;
--color-neutral-border-weak: @surface0 !important; --color-neutral-border-weak: @surface0 !important;
--color-neutral-border-strong: @surface2 !important; --color-neutral-border-strong: @surface2 !important;
--color-primary: @accent-color !important; --color-primary: @accent !important;
--color-primary-hover: lighten(@accent-color, 10%) !important; --color-primary-hover: lighten(@accent, 10%) !important;
--color-primary-visited: @lavender !important; --color-primary-visited: @lavender !important;
--color-primary-background: @accent-color !important; --color-primary-background: @accent !important;
--color-primary-background-hover: darken(@accent-color, 5%) !important; --color-primary-background-hover: darken(@accent, 5%) !important;
--color-primary-background-selected: darken(@accent-color, 5%) !important; --color-primary-background-selected: darken(@accent, 5%) !important;
--color-primary-onBackground: @base !important; --color-primary-onBackground: @base !important;
--color-primary-onBackground-selected: @crust !important; --color-primary-onBackground-selected: @crust !important;
--color-secondary: @subtext0 !important; --color-secondary: @subtext0 !important;
@@ -114,8 +114,8 @@
--color-secondary-plain: @subtext0 !important; --color-secondary-plain: @subtext0 !important;
--color-secondary-plain-hover: @subtext1 !important; --color-secondary-plain-hover: @subtext1 !important;
--color-danger-background: @red !important; --color-danger-background: @red !important;
--color-danger-background-disabled: fadeout(@red, 80%) !important; --color-danger-background-disabled: fade(@red, 20%) !important;
--color-danger-background-hover: fadeout(@red, 2%) !important; --color-danger-background-hover: fade(@red, 98%) !important;
--color-danger-onBackground: @text !important; --color-danger-onBackground: @text !important;
--color-danger-content: @red !important; --color-danger-content: @red !important;
--color-danger-content-default: @crust; --color-danger-content-default: @crust;
@@ -130,11 +130,11 @@
--color-warning-onBackground: @base !important; --color-warning-onBackground: @base !important;
--color-warning-background: @yellow !important; --color-warning-background: @yellow !important;
--color-warning-background-hover: darken(@yellow, 2%) !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-disabled: @subtext0 !important;
--color-upvote-onBackground: @text !important; --color-upvote-onBackground: @text !important;
--color-upvote-background: @base !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-upvote-background-disabled: @base !important;
--color-downvote-content: @text !important; --color-downvote-content: @text !important;
--color-downvote-content-weak: @text !important; --color-downvote-content-weak: @text !important;
@@ -150,23 +150,23 @@
--color-tone-5: @surface1 !important; --color-tone-5: @surface1 !important;
--color-tone-6: @surface2 !important; --color-tone-6: @surface2 !important;
--color-tone-7: @base !important; --color-tone-7: @base !important;
--color-avatar-gradient: @accent-color !important; --color-avatar-gradient: @accent !important;
--color-transparent-background-hover: fadeout(@surface0, 70%) !important; --color-transparent-background-hover: fade(@surface0, 30%) !important;
--color-opacity-50: fadeout(@base, 50%) !important; --color-opacity-50: fade(@base, 50%) !important;
--color-online: @accent-color !important; --color-online: @accent !important;
--color-favorite: @accent-color !important; --color-favorite: @accent !important;
--color-brand-background: @accent-color !important; --color-brand-background: @accent !important;
--color-brand-background-hover: darken(@accent-color, 5%) !important; --color-brand-background-hover: darken(@accent, 5%) !important;
--color-brand-onBackground: @crust !important; --color-brand-onBackground: @crust !important;
--color-global-orangered: @accent-color !important; --color-global-orangered: @accent !important;
--color-action-upvote: @accent-color !important; --color-action-upvote: @accent !important;
--color-action-downvote: @blue; --color-action-downvote: @blue;
--color-banner-error-text: @base !important; --color-banner-error-text: @base !important;
--shreddit-color-wordmark: @accent-color; --shreddit-color-wordmark: @accent;
#reddit-logo { #reddit-logo {
circle[fill="#FF4500"] { circle[fill="#FF4500"] {
fill: @accent-color !important; fill: @accent !important;
} }
path[fill="#FFF"] { path[fill="#FFF"] {
fill: @crust !important; fill: @crust !important;
@@ -179,20 +179,20 @@
div[class^="subredditvars"] { div[class^="subredditvars"] {
--color-online: @green !important; --color-online: @green !important;
--newCommunityTheme-actionIcon: @subtext0 !important; --newCommunityTheme-actionIcon: @subtext0 !important;
--newCommunityTheme-actionIconAlpha20: fadeout(@crust, 20%) !important; --newCommunityTheme-actionIconAlpha20: fade(@crust, 80%) !important;
--newCommunityTheme-actionIconAlpha50: fadeout(@crust, 20%) !important; --newCommunityTheme-actionIconAlpha50: fade(@crust, 80%) !important;
--newCommunityTheme-actionIconShaded80: @subtext0 !important; --newCommunityTheme-actionIconShaded80: @subtext0 !important;
--newCommunityTheme-actionIconTinted80: @subtext1 !important; --newCommunityTheme-actionIconTinted80: @subtext1 !important;
--newCommunityTheme-active: @accent-color !important; --newCommunityTheme-active: @accent !important;
--newCommunityTheme-activeAlpha10: fadeout(@crust, 20%) !important; --newCommunityTheme-activeAlpha10: fade(@crust, 80%) !important;
--newCommunityTheme-activeAlpha20: fadeout(@crust, 20%) !important; --newCommunityTheme-activeAlpha20: fade(@crust, 80%) !important;
--newCommunityTheme-activeAlpha50: fadeout(@crust, 20%) !important; --newCommunityTheme-activeAlpha50: fade(@crust, 80%) !important;
--newCommunityTheme-activeLight60: @accent-color !important; --newCommunityTheme-activeLight60: @accent !important;
--newCommunityTheme-activeShaded80: @accent-color !important; --newCommunityTheme-activeShaded80: @accent !important;
--newCommunityTheme-activeShaded90: @accent-color !important; --newCommunityTheme-activeShaded90: @accent !important;
--newCommunityTheme-activeTinted05: @text !important; --newCommunityTheme-activeTinted05: @text !important;
--newCommunityTheme-banner-backgroundColor: @accent-color !important; --newCommunityTheme-banner-backgroundColor: @accent !important;
--newCommunityTheme-banner-iconColor: @accent-color !important; --newCommunityTheme-banner-iconColor: @accent !important;
--newCommunityTheme-body: @mantle !important; --newCommunityTheme-body: @mantle !important;
--newCommunityTheme-bodyAlpha50: @surface0 !important; --newCommunityTheme-bodyAlpha50: @surface0 !important;
--newCommunityTheme-bodyAlpha70: @surface1 !important; --newCommunityTheme-bodyAlpha70: @surface1 !important;
@@ -207,35 +207,35 @@
--newCommunityTheme-bodyTinted50: @overlay1 !important; --newCommunityTheme-bodyTinted50: @overlay1 !important;
--newCommunityTheme-bodyTinted80: @overlay0 !important; --newCommunityTheme-bodyTinted80: @overlay0 !important;
--newCommunityTheme-button: @text !important; --newCommunityTheme-button: @text !important;
--newCommunityTheme-buttonAlpha05: fadeout(@crust, 20%) !important; --newCommunityTheme-buttonAlpha05: fade(@crust, 80%) !important;
--newCommunityTheme-buttonAlpha10: fadeout(@crust, 20%) !important; --newCommunityTheme-buttonAlpha10: fade(@crust, 80%) !important;
--newCommunityTheme-buttonAlpha20: fadeout(@crust, 20%) !important; --newCommunityTheme-buttonAlpha20: fade(@crust, 80%) !important;
--newCommunityTheme-buttonAlpha40: @subtext0 !important; --newCommunityTheme-buttonAlpha40: @subtext0 !important;
--newCommunityTheme-buttonAlpha50: @subtext1 !important; --newCommunityTheme-buttonAlpha50: @subtext1 !important;
--newCommunityTheme-buttonAlpha80: @subtext1 !important; --newCommunityTheme-buttonAlpha80: @subtext1 !important;
--newCommunityTheme-buttonShaded80: @overlay0 !important; --newCommunityTheme-buttonShaded80: @overlay0 !important;
--newCommunityTheme-buttonTinted20: @accent-color !important; --newCommunityTheme-buttonTinted20: @accent !important;
--newCommunityTheme-buttonTinted50: @accent-color !important; --newCommunityTheme-buttonTinted50: @accent !important;
--newCommunityTheme-buttonTinted80: @accent-color !important; --newCommunityTheme-buttonTinted80: @accent !important;
--newCommunityTheme-canvas: @crust !important; --newCommunityTheme-canvas: @crust !important;
--newCommunityTheme-checkbox: @text !important; --newCommunityTheme-checkbox: @text !important;
--newCommunityTheme-errorText: @red !important; --newCommunityTheme-errorText: @red !important;
--newCommunityTheme-field: @surface0 !important; --newCommunityTheme-field: @surface0 !important;
--newCommunityTheme-fieldFade: fadeout(@surface1, 30%) !important; --newCommunityTheme-fieldFade: fade(@surface1, 70%) !important;
--newCommunityTheme-flair: @accent-color !important; --newCommunityTheme-flair: @accent !important;
--newCommunityTheme-highlight: @base !important; --newCommunityTheme-highlight: @base !important;
--newCommunityTheme-inactive: @subtext0 !important; --newCommunityTheme-inactive: @subtext0 !important;
--newCommunityTheme-lightText: @text !important; --newCommunityTheme-lightText: @text !important;
--newCommunityTheme-lightTextAlpha75: @subtext1 !important; --newCommunityTheme-lightTextAlpha75: @subtext1 !important;
--newCommunityTheme-line: fadeout(@surface1, 30%) !important; --newCommunityTheme-line: fade(@surface1, 70%) !important;
--newCommunityTheme-lineShaded80: fadeout(@surface1, 30%) !important; --newCommunityTheme-lineShaded80: fade(@surface1, 70%) !important;
--newCommunityTheme-lineShaded90: fadeout(@surface1, 30%) !important; --newCommunityTheme-lineShaded90: fade(@surface1, 70%) !important;
--newCommunityTheme-lineShadedNinety: fadeout(@surface1, 30%) !important; --newCommunityTheme-lineShadedNinety: fade(@surface1, 70%) !important;
--newCommunityTheme-linkText: @accent-color !important; --newCommunityTheme-linkText: @accent !important;
--newCommunityTheme-linkTextAlpha80: @accent-color !important; --newCommunityTheme-linkTextAlpha80: @accent !important;
--newCommunityTheme-linkTextShaded80: @accent-color !important; --newCommunityTheme-linkTextShaded80: @accent !important;
--newCommunityTheme-linkTextTinted80: @accent-color !important; --newCommunityTheme-linkTextTinted80: @accent !important;
--newCommunityTheme-linkTextWithBody: @accent-color !important; --newCommunityTheme-linkTextWithBody: @accent !important;
--newCommunityTheme-menu: @mantle !important; --newCommunityTheme-menu: @mantle !important;
--newCommunityTheme-menuActiveText: @text !important; --newCommunityTheme-menuActiveText: @text !important;
--newCommunityTheme-menuButtonBackground-active: @base !important; --newCommunityTheme-menuButtonBackground-active: @base !important;
@@ -245,7 +245,7 @@
--newCommunityTheme-metaText: @subtext0 !important; --newCommunityTheme-metaText: @subtext0 !important;
--newCommunityTheme-metaTextAlpha50: @subtext0 !important; --newCommunityTheme-metaTextAlpha50: @subtext0 !important;
--newCommunityTheme-metaTextShaded80: @subtext0 !important; --newCommunityTheme-metaTextShaded80: @subtext0 !important;
--newCommunityTheme-monospaceColor: @accent-color !important; --newCommunityTheme-monospaceColor: @accent !important;
--newCommunityTheme-navBar-activeLink: @text !important; --newCommunityTheme-navBar-activeLink: @text !important;
--newCommunityTheme-navBar-activeSubmenuCaret: @text !important; --newCommunityTheme-navBar-activeSubmenuCaret: @text !important;
--newCommunityTheme-navBar-activeSubmenuLink: @text !important; --newCommunityTheme-navBar-activeSubmenuLink: @text !important;
@@ -258,7 +258,7 @@
--newCommunityTheme-navIcon: @text !important; --newCommunityTheme-navIcon: @text !important;
/* upvote/downvote focus */ /* upvote/downvote focus */
--newCommunityTheme-navIconFaded10: fadeout(@crust, 20%) !important; --newCommunityTheme-navIconFaded10: fade(@crust, 80%) !important;
--newCommunityTheme-nsfw: @red !important; --newCommunityTheme-nsfw: @red !important;
--newCommunityTheme-nsfwBlocking-bgcolor: @crust !important; --newCommunityTheme-nsfwBlocking-bgcolor: @crust !important;
@@ -270,10 +270,10 @@
--newCommunityTheme-post: @mantle !important; --newCommunityTheme-post: @mantle !important;
--newCommunityTheme-postError: @red !important; --newCommunityTheme-postError: @red !important;
--newCommunityTheme-postFlairText: @crust !important; --newCommunityTheme-postFlairText: @crust !important;
--newCommunityTheme-postIcon: @accent-color !important; --newCommunityTheme-postIcon: @accent !important;
--newCommunityTheme-postLine: fadeout(@surface1, 30%) !important; --newCommunityTheme-postLine: fade(@surface1, 70%) !important;
--newCommunityTheme-postLineShaded80: fadeout(@surface1, 30%) !important; --newCommunityTheme-postLineShaded80: fade(@surface1, 70%) !important;
--newCommunityTheme-postLineShaded90: fadeout(@surface1, 30%) !important; --newCommunityTheme-postLineShaded90: fade(@surface1, 70%) !important;
--newCommunityTheme-postTinted20: @base !important; --newCommunityTheme-postTinted20: @base !important;
--newCommunityTheme-postTransparent20: @base !important; --newCommunityTheme-postTransparent20: @base !important;
--newCommunityTheme-primaryButtonShadedEighty: @overlay1 !important; --newCommunityTheme-primaryButtonShadedEighty: @overlay1 !important;
@@ -282,14 +282,14 @@
--newCommunityTheme-primaryButtonTintedSixty: @overlay0 !important; --newCommunityTheme-primaryButtonTintedSixty: @overlay0 !important;
--newCommunityTheme-quarantine: @yellow !important; --newCommunityTheme-quarantine: @yellow !important;
--newCommunityTheme-report: @surface1 !important; --newCommunityTheme-report: @surface1 !important;
--newCommunityTheme-search-syntaxHighlightBackgroundColor: @accent-color --newCommunityTheme-search-syntaxHighlightBackgroundColor: @accent
!important; !important;
--newCommunityTheme-search-syntaxHighlightColor: @base !important; --newCommunityTheme-search-syntaxHighlightColor: @base !important;
--newCommunityTheme-titleText: @text !important; --newCommunityTheme-titleText: @text !important;
--newCommunityTheme-upsell-appleIcon: @subtext1 !important; --newCommunityTheme-upsell-appleIcon: @subtext1 !important;
--newCommunityTheme-upsell-ssoButtonBorderColor: fadeout( --newCommunityTheme-upsell-ssoButtonBorderColor: fade(
@surface1, @surface1,
30% 70%
) !important; ) !important;
--newCommunityTheme-upsell-ssoButtonTextColor: @text !important; --newCommunityTheme-upsell-ssoButtonTextColor: @text !important;
--newCommunityTheme-voteText-base: @subtext0 !important; --newCommunityTheme-voteText-base: @subtext0 !important;
@@ -300,17 +300,17 @@
--newCommunityTheme-voteText-upvoteShaded80: @red !important; --newCommunityTheme-voteText-upvoteShaded80: @red !important;
--newCommunityTheme-voteText-upvoteTinted80: @red !important; --newCommunityTheme-voteText-upvoteTinted80: @red !important;
--newCommunityTheme-widgetColors-appleIcon: @overlay0 !important; --newCommunityTheme-widgetColors-appleIcon: @overlay0 !important;
--newCommunityTheme-widgetColors-lineColor: fadeout( --newCommunityTheme-widgetColors-lineColor: fade(
@surface1, @surface1,
30% 70%
) !important; ) !important;
/* sidebar widgets */ /* sidebar widgets */
--newCommunityTheme-widgetColors-sidebarWidgetBackgroundColor: @mantle --newCommunityTheme-widgetColors-sidebarWidgetBackgroundColor: @mantle
!important; !important;
--newCommunityTheme-widgetColors-sidebarWidgetBorderColor: fadeout( --newCommunityTheme-widgetColors-sidebarWidgetBorderColor: fade(
@surface1, @surface1,
30% 70%
) !important; ) !important;
--newCommunityTheme-widgetColors-sidebarWidgetHeaderColor: @crust --newCommunityTheme-widgetColors-sidebarWidgetHeaderColor: @crust
!important; !important;
@@ -323,50 +323,50 @@
!important; !important;
--newRedditTheme-actionIcon: @subtext0 !important; --newRedditTheme-actionIcon: @subtext0 !important;
--newRedditTheme-actionIconAlpha20: fadeout(@crust, 20%) !important; --newRedditTheme-actionIconAlpha20: fade(@crust, 80%) !important;
--newRedditTheme-actionIconAlpha50: fadeout(@crust, 20%) !important; --newRedditTheme-actionIconAlpha50: fade(@crust, 80%) !important;
--newRedditTheme-actionIconShaded80: @subtext0 !important; --newRedditTheme-actionIconShaded80: @subtext0 !important;
--newRedditTheme-actionIconTinted80: @subtext1 !important; --newRedditTheme-actionIconTinted80: @subtext1 !important;
--newRedditTheme-active: @accent-color !important; --newRedditTheme-active: @accent !important;
--newRedditTheme-activeAlpha10: fadeout(@crust, 20%) !important; --newRedditTheme-activeAlpha10: fade(@crust, 80%) !important;
--newRedditTheme-activeAlpha20: fadeout(@crust, 20%) !important; --newRedditTheme-activeAlpha20: fade(@crust, 80%) !important;
--newRedditTheme-activeAlpha50: fadeout(@crust, 20%) !important; --newRedditTheme-activeAlpha50: fade(@crust, 80%) !important;
--newRedditTheme-activeLight60: @accent-color !important; --newRedditTheme-activeLight60: @accent !important;
--newRedditTheme-activeShaded80: @accent-color !important; --newRedditTheme-activeShaded80: @accent !important;
--newRedditTheme-activeShaded90: @accent-color !important; --newRedditTheme-activeShaded90: @accent !important;
--newRedditTheme-activeTinted05: @text !important; --newRedditTheme-activeTinted05: @text !important;
--newRedditTheme-banner-backgroundColor: @accent-color !important; --newRedditTheme-banner-backgroundColor: @accent !important;
--newRedditTheme-banner-iconColor: @accent-color !important; --newRedditTheme-banner-iconColor: @accent !important;
--newRedditTheme-body: @mantle !important; --newRedditTheme-body: @mantle !important;
--newRedditTheme-bodyAlpha50: @surface0 !important; --newRedditTheme-bodyAlpha50: @surface0 !important;
--newRedditTheme-bodyAlpha70: @surface1 !important; --newRedditTheme-bodyAlpha70: @surface1 !important;
--newRedditTheme-bodyAlpha80: @surface2 !important; --newRedditTheme-bodyAlpha80: @surface2 !important;
--newRedditTheme-bodyFade: fadeout(@crust, 20%) !important; --newRedditTheme-bodyFade: fade(@crust, 80%) !important;
--newRedditTheme-bodyShaded80: @mantle !important; --newRedditTheme-bodyShaded80: @mantle !important;
--newRedditTheme-bodyText: @text !important; --newRedditTheme-bodyText: @text !important;
--newRedditTheme-bodyTextAlpha03: fadeout(@crust, 20%) !important; --newRedditTheme-bodyTextAlpha03: fade(@crust, 80%) !important;
--newRedditTheme-bodyTextAlpha20: @surface1 !important; --newRedditTheme-bodyTextAlpha20: @surface1 !important;
--newRedditTheme-bodyTextShaded20: @surface0 !important; --newRedditTheme-bodyTextShaded20: @surface0 !important;
--newRedditTheme-bodyTextTinted20: @subtext1 !important; --newRedditTheme-bodyTextTinted20: @subtext1 !important;
--newRedditTheme-bodyTinted50: @overlay0 !important; --newRedditTheme-bodyTinted50: @overlay0 !important;
--newRedditTheme-bodyTinted80: @overlay1 !important; --newRedditTheme-bodyTinted80: @overlay1 !important;
--newRedditTheme-button: @text !important; --newRedditTheme-button: @text !important;
--newRedditTheme-buttonAlpha05: fadeout(@crust, 20%) !important; --newRedditTheme-buttonAlpha05: fade(@crust, 80%) !important;
--newRedditTheme-buttonAlpha10: fadeout(@crust, 20%) !important; --newRedditTheme-buttonAlpha10: fade(@crust, 80%) !important;
--newRedditTheme-buttonAlpha20: fadeout(@crust, 20%) !important; --newRedditTheme-buttonAlpha20: fade(@crust, 80%) !important;
--newRedditTheme-buttonAlpha40: @subtext0 !important; --newRedditTheme-buttonAlpha40: @subtext0 !important;
--newRedditTheme-buttonAlpha50: @subtext1 !important; --newRedditTheme-buttonAlpha50: @subtext1 !important;
--newRedditTheme-buttonAlpha80: @subtext1 !important; --newRedditTheme-buttonAlpha80: @subtext1 !important;
--newRedditTheme-buttonShaded80: @overlay0 !important; --newRedditTheme-buttonShaded80: @overlay0 !important;
--newRedditTheme-buttonTinted20: @accent-color !important; --newRedditTheme-buttonTinted20: @accent !important;
--newRedditTheme-buttonTinted50: @accent-color !important; --newRedditTheme-buttonTinted50: @accent !important;
--newRedditTheme-buttonTinted80: @accent-color !important; --newRedditTheme-buttonTinted80: @accent !important;
--newRedditTheme-canvas: @crust !important; --newRedditTheme-canvas: @crust !important;
--newRedditTheme-checkbox: @text !important; --newRedditTheme-checkbox: @text !important;
--newRedditTheme-errorText: @red !important; --newRedditTheme-errorText: @red !important;
--newRedditTheme-field: @base !important; --newRedditTheme-field: @base !important;
--newRedditTheme-fieldFade: @mantle !important; --newRedditTheme-fieldFade: @mantle !important;
--newRedditTheme-flair: @accent-color !important; --newRedditTheme-flair: @accent !important;
/* controls menu, link, and other similar highlights. very important */ /* controls menu, link, and other similar highlights. very important */
--newRedditTheme-highlight: @base !important; --newRedditTheme-highlight: @base !important;
@@ -374,30 +374,30 @@
--newRedditTheme-inactive: @surface0 !important; --newRedditTheme-inactive: @surface0 !important;
--newRedditTheme-lightText: @text !important; --newRedditTheme-lightText: @text !important;
--newRedditTheme-lightTextAlpha75: @subtext1 !important; --newRedditTheme-lightTextAlpha75: @subtext1 !important;
--newRedditTheme-line: fadeout(@surface1, 30%) !important; --newRedditTheme-line: fade(@surface1, 70%) !important;
--newRedditTheme-lineShaded80: fadeout(@surface1, 30%) !important; --newRedditTheme-lineShaded80: fade(@surface1, 70%) !important;
--newRedditTheme-lineShaded90: fadeout(@surface1, 30%) !important; --newRedditTheme-lineShaded90: fade(@surface1, 70%) !important;
--newRedditTheme-lineShadedNinety: fadeout(@surface1, 30%) !important; --newRedditTheme-lineShadedNinety: fade(@surface1, 70%) !important;
/* links */ /* links */
--newRedditTheme-linkText: @accent-color !important; --newRedditTheme-linkText: @accent !important;
--newRedditTheme-linkTextAlpha80: @accent-color !important; --newRedditTheme-linkTextAlpha80: @accent !important;
--newRedditTheme-linkTextShaded80: @accent-color !important; --newRedditTheme-linkTextShaded80: @accent !important;
--newRedditTheme-linkTextTinted80: @accent-color !important; --newRedditTheme-linkTextTinted80: @accent !important;
--newRedditTheme-linkTextWithBody: @accent-color !important; --newRedditTheme-linkTextWithBody: @accent !important;
/* menus */ /* menus */
--newRedditTheme-menu: @mantle !important; --newRedditTheme-menu: @mantle !important;
--newRedditTheme-menuActiveText: @text !important; --newRedditTheme-menuActiveText: @text !important;
--newRedditTheme-menuButtonBackground-active: @accent-color !important; --newRedditTheme-menuButtonBackground-active: @accent !important;
--newRedditTheme-menuButtonBackground-focus: @base !important; --newRedditTheme-menuButtonBackground-focus: @base !important;
--newRedditTheme-menuButtonBackground-hover: @base !important; --newRedditTheme-menuButtonBackground-hover: @base !important;
--newRedditTheme-menuInactiveText: @text !important; --newRedditTheme-menuInactiveText: @text !important;
--newRedditTheme-metaText: @subtext0 !important; --newRedditTheme-metaText: @subtext0 !important;
--newRedditTheme-metaTextAlpha50: fadeout(@crust, 20%) !important; --newRedditTheme-metaTextAlpha50: fade(@crust, 80%) !important;
--newRedditTheme-metaTextShaded80: @subtext1 !important; --newRedditTheme-metaTextShaded80: @subtext1 !important;
--newRedditTheme-monospaceColor: @accent-color !important; --newRedditTheme-monospaceColor: @accent !important;
--newRedditTheme-navBar-activeLink: @text !important; --newRedditTheme-navBar-activeLink: @text !important;
--newRedditTheme-navBar-activeSubmenuCaret: @text !important; --newRedditTheme-navBar-activeSubmenuCaret: @text !important;
--newRedditTheme-navBar-activeSubmenuLink: @text !important; --newRedditTheme-navBar-activeSubmenuLink: @text !important;
@@ -408,7 +408,7 @@
--newRedditTheme-navBar-inactiveSubmenuLink: @text !important; --newRedditTheme-navBar-inactiveSubmenuLink: @text !important;
--newRedditTheme-navBar-submenuBackgroundColor: @mantle !important; --newRedditTheme-navBar-submenuBackgroundColor: @mantle !important;
--newRedditTheme-navIcon: @text !important; --newRedditTheme-navIcon: @text !important;
--newRedditTheme-navIconFaded10: fadeout(@crust, 20%) !important; --newRedditTheme-navIconFaded10: fade(@crust, 80%) !important;
--newRedditTheme-nsfw: @red !important; --newRedditTheme-nsfw: @red !important;
--newRedditTheme-nsfwBlocking-bgcolor: @crust !important; --newRedditTheme-nsfwBlocking-bgcolor: @crust !important;
--newRedditTheme-nsfwBlocking-color: @text !important; --newRedditTheme-nsfwBlocking-color: @text !important;
@@ -419,19 +419,19 @@
--newRedditTheme-post: @mantle !important; --newRedditTheme-post: @mantle !important;
--newRedditTheme-postError: @red !important; --newRedditTheme-postError: @red !important;
--newRedditTheme-postFlairText: @text !important; --newRedditTheme-postFlairText: @text !important;
--newRedditTheme-postIcon: @accent-color !important; --newRedditTheme-postIcon: @accent !important;
--newRedditTheme-postLine: fadeout(@surface1, 30%) !important; --newRedditTheme-postLine: fade(@surface1, 70%) !important;
--newRedditTheme-postLineShaded80: fadeout(@surface1, 30%) !important; --newRedditTheme-postLineShaded80: fade(@surface1, 70%) !important;
--newRedditTheme-postLineShaded90: fadeout(@surface1, 30%) !important; --newRedditTheme-postLineShaded90: fade(@surface1, 70%) !important;
--newRedditTheme-postTinted20: @base !important; --newRedditTheme-postTinted20: @base !important;
--newRedditTheme-postTransparent20: fadeout(@crust, 20%) !important; --newRedditTheme-postTransparent20: fade(@crust, 80%) !important;
--newRedditTheme-primaryButtonShadedEighty: @surface1 !important; --newRedditTheme-primaryButtonShadedEighty: @surface1 !important;
--newRedditTheme-primaryButtonTintedEighty: @surface2 !important; --newRedditTheme-primaryButtonTintedEighty: @surface2 !important;
--newRedditTheme-primaryButtonTintedFifty: @surface1 !important; --newRedditTheme-primaryButtonTintedFifty: @surface1 !important;
--newRedditTheme-primaryButtonTintedSixty: @surface1 !important; --newRedditTheme-primaryButtonTintedSixty: @surface1 !important;
--newRedditTheme-quarantine: @yellow !important; --newRedditTheme-quarantine: @yellow !important;
--newRedditTheme-report: @base !important; --newRedditTheme-report: @base !important;
--newRedditTheme-search-syntaxHighlightBackgroundColor: @accent-color --newRedditTheme-search-syntaxHighlightBackgroundColor: @accent
!important; !important;
--newRedditTheme-search-syntaxHighlightColor: @base !important; --newRedditTheme-search-syntaxHighlightColor: @base !important;
--newRedditTheme-titleText: @text !important; --newRedditTheme-titleText: @text !important;
@@ -446,20 +446,20 @@
--newRedditTheme-voteText-upvoteShaded80: @red !important; --newRedditTheme-voteText-upvoteShaded80: @red !important;
--newRedditTheme-voteText-upvoteTinted80: @red !important; --newRedditTheme-voteText-upvoteTinted80: @red !important;
--newRedditTheme-widgetColors-appleIcon: @overlay0 !important; --newRedditTheme-widgetColors-appleIcon: @overlay0 !important;
--newRedditTheme-widgetColors-lineColor: fadeout( --newRedditTheme-widgetColors-lineColor: fade(
@surface1, @surface1,
30% 70%
) !important; ) !important;
--newRedditTheme-widgetColors-sidebarWidgetBackgroundColor: @mantle --newRedditTheme-widgetColors-sidebarWidgetBackgroundColor: @mantle
!important; !important;
--newRedditTheme-widgetColors-sidebarWidgetBorderColor: fadeout( --newRedditTheme-widgetColors-sidebarWidgetBorderColor: fade(
@surface1, @surface1,
30% 70%
) !important; ) !important;
--newRedditTheme-widgetColors-sidebarWidgetHeaderColor: @crust !important; --newRedditTheme-widgetColors-sidebarWidgetHeaderColor: @crust !important;
--newRedditTheme-widgetColors-sidebarWidgetHeaderColorAlpha60: fadeout( --newRedditTheme-widgetColors-sidebarWidgetHeaderColorAlpha60: fade(
@crust, @crust,
20% 80%
) !important; ) !important;
--newRedditTheme-widgetColors-sidebarWidgetTextColor: @text !important; --newRedditTheme-widgetColors-sidebarWidgetTextColor: @text !important;
--newRedditTheme-widgetColors-sidebarWidgetTextColorShaded80: @subtext1 --newRedditTheme-widgetColors-sidebarWidgetTextColorShaded80: @subtext1
@@ -472,19 +472,19 @@
/* reddit chat variables */ /* reddit chat variables */
:root { :root {
--activity-button-chatFilterColor: @surface0 !important; --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-activeText: @base !important;
--activity-button-newChatFilter-defaultBorder: @surface1 !important; --activity-button-newChatFilter-defaultBorder: @surface1 !important;
--activity-button-newChatFilter-defaultText: @text !important; --activity-button-newChatFilter-defaultText: @text !important;
--activity-button-primary: @accent-color !important; --activity-button-primary: @accent !important;
--activity-button-secondary: @text !important; --activity-button-secondary: @text !important;
--activity-buttonPrimary-color: @accent-color !important; --activity-buttonPrimary-color: @accent !important;
--activity-buttonSecondary-active: @accent-color !important; --activity-buttonSecondary-active: @accent !important;
--activity-checkbox-checked: @accent-color !important; --activity-checkbox-checked: @accent !important;
--activity-checkbox-checkmark: @text !important; --activity-checkbox-checkmark: @text !important;
--activity-checkbox-unchecked: @base !important; --activity-checkbox-unchecked: @base !important;
--activity-checkbox-uncheckedBorder: @surface1 !important; --activity-checkbox-uncheckedBorder: @surface1 !important;
--activity-icon-active: @accent-color !important; --activity-icon-active: @accent !important;
--activity-icon-contrast: @surface1 !important; --activity-icon-contrast: @surface1 !important;
--activity-icon-default: @subtext0 !important; --activity-icon-default: @subtext0 !important;
--activity-icon-disable: @surface2 !important; --activity-icon-disable: @surface2 !important;
@@ -493,7 +493,7 @@
--activity-icon-nsfw-text: @text !important; --activity-icon-nsfw-text: @text !important;
--activity-icon-subIcon-backgroundColor: @text !important; --activity-icon-subIcon-backgroundColor: @text !important;
--activity-icon-toaster: @crust !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-border: @surface1 !important;
--activity-input-channelRename: @subtext0 !important; --activity-input-channelRename: @subtext0 !important;
--activity-input-color: @subtext1 !important; --activity-input-color: @subtext1 !important;
@@ -502,17 +502,17 @@
--activity-input-focusColor: @text !important; --activity-input-focusColor: @text !important;
--activity-input-ownerBg: @surface0 !important; --activity-input-ownerBg: @surface0 !important;
--activity-link-hoverText: @red !important; --activity-link-hoverText: @red !important;
--activity-link-staticText: @accent-color !important; --activity-link-staticText: @accent !important;
--activity-link-staticUnderline: @accent-color !important; --activity-link-staticUnderline: @accent !important;
--activity-minimizedPortal-backgroundColor-unreadFinal: @mantle --activity-minimizedPortal-backgroundColor-unreadFinal: @mantle
!important; !important;
--activity-minimizedPortal-backgroundColor-unreadInitial: @accent-color --activity-minimizedPortal-backgroundColor-unreadInitial: @accent
!important; !important;
--activity-minimizedPortal-color-unreadFinal: @text !important; --activity-minimizedPortal-color-unreadFinal: @text !important;
--activity-minimizedPortal-color-unreadInitial: @text !important; --activity-minimizedPortal-color-unreadInitial: @text !important;
--activity-send-disable: @surface0 !important; --activity-send-disable: @surface0 !important;
--activity-send-hover: @accent-color !important; --activity-send-hover: @accent !important;
--activity-text-active: @accent-color !important; --activity-text-active: @accent !important;
--activity-text-fade: @subtext0 !important; --activity-text-fade: @subtext0 !important;
--activity-text-highlight: @text !important; --activity-text-highlight: @text !important;
--activity-text-light: @subtext0 !important; --activity-text-light: @subtext0 !important;
@@ -523,65 +523,65 @@
--activity-text-warning: @red !important; --activity-text-warning: @red !important;
--addReaction-backgroundColor: @surface0 !important; --addReaction-backgroundColor: @surface0 !important;
--addReaction-iconFill: @surface1 !important; --addReaction-iconFill: @surface1 !important;
--boxShadow: fadeout(@crust, 20%) !important; --boxShadow: fade(@crust, 80%) !important;
--bubble-border: fadeout(@surface1, 30%) !important; --bubble-border: fade(@surface1, 70%) !important;
--bubble-channelsFilter-background: @crust !important; --bubble-channelsFilter-background: @crust !important;
--bubble-channelsFilter-selected: @overlay0 !important; --bubble-channelsFilter-selected: @overlay0 !important;
--bubble-color: @text !important; --bubble-color: @text !important;
--bubble-link-color: @accent-color !important; --bubble-link-color: @accent !important;
--bubbleActions-hover: @surface0 !important; --bubbleActions-hover: @surface0 !important;
--editName: @surface1 !important; --editName: @surface1 !important;
--layout-body: @mantle !important; --layout-body: @mantle !important;
--layout-colsBorder: fadeout(@surface1, 30%) !important; --layout-colsBorder: fade(@surface1, 70%) !important;
--layout-controlsBorder: fadeout(@surface1, 30%) !important; --layout-controlsBorder: fade(@surface1, 70%) !important;
--layout-dropdown-border: fadeout(@surface1, 30%) !important; --layout-dropdown-border: fade(@surface1, 70%) !important;
--layout-header-counterBg: @red !important; --layout-header-counterBg: @red !important;
--layout-header-counterText: @text !important; --layout-header-counterText: @text !important;
--layout-overlayBackground: fadeout(@crust, 20%) !important; --layout-overlayBackground: fade(@crust, 80%) !important;
--layout-overlayReportFlow: fadeout(@crust, 20%) !important; --layout-overlayReportFlow: fade(@crust, 80%) !important;
--layout-scrollbar: @text !important; --layout-scrollbar: @text !important;
--layout-scrollbarHover: @accent-color !important; --layout-scrollbarHover: @accent !important;
--layout-timeStamp-tooltip-background: @surface0 !important; --layout-timeStamp-tooltip-background: @surface0 !important;
--message-list-item-button: @surface1 !important; --message-list-item-button: @surface1 !important;
--message-list-item-onlineIndicator: @green !important; --message-list-item-onlineIndicator: @green !important;
--message-list-item-ownerBg: @surface1 !important; --message-list-item-ownerBg: @surface1 !important;
--message-list-item-richItem: @overlay0 !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; --message-list-item-white: @text !important;
--modal-buttonsBackground: @text !important; --modal-buttonsBackground: @text !important;
--modal-primaryButtonWarning: @red !important; --modal-primaryButtonWarning: @red !important;
--modal-secondaryButton: @text !important; --modal-secondaryButton: @text !important;
--newChat-inviteLink-borderColor: fadeout(@surface1, 30%) !important; --newChat-inviteLink-borderColor: fade(@surface1, 70%) !important;
--overlay-backgroundColor: @mantle !important; --overlay-backgroundColor: @mantle !important;
--overlay-headerColor: @text !important; --overlay-headerColor: @text !important;
--overlay-inputBackground: @crust !important; --overlay-inputBackground: @crust !important;
--overlay-searchBarBackground: @mantle !important; --overlay-searchBarBackground: @mantle !important;
--prompt-tooltip-background: @accent-color !important; --prompt-tooltip-background: @accent !important;
--searchBar-backgroundColor: @mantle !important; --searchBar-backgroundColor: @mantle !important;
--settings-color: @subtext0 !important; --settings-color: @subtext0 !important;
--settings-dropdownItemHoverBackground: @crust !important; --settings-dropdownItemHoverBackground: @crust !important;
--settings-panelBackground: @crust !important; --settings-panelBackground: @crust !important;
--settings-panelItemHoverBackground: @surface0 !important; --settings-panelItemHoverBackground: @surface0 !important;
--settings-panelItemSelectedBackground: @surface1 !important; --settings-panelItemSelectedBackground: @surface1 !important;
--sidebar-background: fadeout(@surface1, 30%) !important; --sidebar-background: fade(@surface1, 70%) !important;
--sidebar-basic-background-active: @accent-color !important; --sidebar-basic-background-active: @accent !important;
--sidebar-basic-background-hover: @mantle !important; --sidebar-basic-background-hover: @mantle !important;
--sidebar-footer-background: @crust !important; --sidebar-footer-background: @crust !important;
--sidebar-item-active: @surface1 !important; --sidebar-item-active: @surface1 !important;
--sidebar-item-hover: @surface0 !important; --sidebar-item-hover: @surface0 !important;
--sidebar-item-selected: @surface2 !important; --sidebar-item-selected: @surface2 !important;
--sidebar-item-text-active: @text !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-subreddit-background-hover: @surface1 !important;
--sidebar-text-divider: @surface1 !important; --sidebar-text-divider: @surface1 !important;
--skeleton-field: @surface2 !important; --skeleton-field: @surface2 !important;
--skeleton-inactive: @surface0 !important; --skeleton-inactive: @surface0 !important;
--subreddit-iconBg: @accent-color !important; --subreddit-iconBg: @accent !important;
--toast-error: @red !important; --toast-error: @red !important;
--toast-pending: @crust !important; --toast-pending: @crust !important;
--toast-success: @green !important; --toast-success: @green !important;
--uploads-progress-background: @subtext0 !important; --uploads-progress-background: @subtext0 !important;
--uploads-progress-bar: @accent-color !important; --uploads-progress-bar: @accent !important;
--videoModal-button-background: @text !important; --videoModal-button-background: @text !important;
--videoModal-button-color: @mantle !important; --videoModal-button-color: @mantle !important;
} }
@@ -641,7 +641,7 @@
/* cake day and followers icon */ /* cake day and followers icon */
i.icon-cake_fill, i.icon-cake_fill,
i.icon-user_fill { i.icon-user_fill {
color: @accent-color !important; color: @accent !important;
} }
/* add social links button readability tweak */ /* add social links button readability tweak */
@@ -659,17 +659,17 @@
/* Beta Badge */ /* Beta Badge */
span._2KFJx8Dhh1o1u0Xb8e7NuD { span._2KFJx8Dhh1o1u0Xb8e7NuD {
color: @accent-color !important; color: @accent !important;
} }
/* Delete Account */ /* Delete Account */
button.EBd2MhBQlQeZ13YeP0K8a { button.EBd2MhBQlQeZ13YeP0K8a {
color: @accent-color !important; color: @accent !important;
} }
/* Delete Account Icon */ /* Delete Account Icon */
svg._1Fa4RPHlhrfUZuNaXK2-eP > path { svg._1Fa4RPHlhrfUZuNaXK2-eP > path {
fill: @accent-color !important; fill: @accent !important;
} }
/* blocked, muted input */ /* blocked, muted input */
@@ -695,12 +695,12 @@
/* Tag Color */ /* Tag Color */
.RESUserTagImage::after { .RESUserTagImage::after {
color: @accent-color; color: @accent;
} }
/* mint status */ /* mint status */
div._mintStatus_7kbcu_264 { div._mintStatus_7kbcu_264 {
color: @accent-color !important; color: @accent !important;
} }
/* carousel background */ /* carousel background */
@@ -730,7 +730,7 @@
} }
div.MuiMobileStepper-dotActive { div.MuiMobileStepper-dotActive {
background: @accent-color !important; background: @accent !important;
} }
div._scrollContainer_7kbcu_104 > div > h3, div._scrollContainer_7kbcu_104 > div > h3,
@@ -765,7 +765,7 @@
/* reddit logo */ /* reddit logo */
a[aria-label="Home"] > svg > g > circle { a[aria-label="Home"] > svg > g > circle {
fill: @accent-color !important; fill: @accent !important;
} }
a[aria-label="Home"] > svg:first-child > g > path { a[aria-label="Home"] > svg:first-child > g > path {
@@ -783,7 +783,7 @@
/* notification icon */ /* notification icon */
button[aria-label="Open notifications inbox"] > div > span { button[aria-label="Open notifications inbox"] > div > span {
background: @accent-color !important; background: @accent !important;
color: @mantle !important; color: @mantle !important;
} }
@@ -799,7 +799,7 @@
/* reddit now notification */ /* reddit now notification */
a[href="/now"] > div { a[href="/now"] > div {
background: @accent-color !important; background: @accent !important;
} }
/* search scope pill text */ /* search scope pill text */
@@ -814,7 +814,7 @@
/* safe search toggle */ /* safe search toggle */
button#safe-search-toggle[aria-checked="true"] { button#safe-search-toggle[aria-checked="true"] {
background: @accent-color !important; background: @accent !important;
} }
/* NAVIGATION SIDEBAR */ /* NAVIGATION SIDEBAR */
@@ -840,7 +840,7 @@
/* favorites */ /* favorites */
i.icon-star_fill { i.icon-star_fill {
color: @accent-color !important; color: @accent !important;
} }
i.icon-star { i.icon-star {
@@ -851,12 +851,12 @@
/* reddit premium icon */ /* reddit premium icon */
i.icon-premium_fill { i.icon-premium_fill {
color: @accent-color !important; color: @accent !important;
} }
/* reddit premium try now button */ /* reddit premium try now button */
button._10BQ7pjWbeYP63SAPNS8Ts.q_unSaY23rpdd3lDvGZ- { button._10BQ7pjWbeYP63SAPNS8Ts.q_unSaY23rpdd3lDvGZ- {
background: @accent-color !important; background: @accent !important;
color: @base !important; color: @base !important;
} }
@@ -985,7 +985,7 @@
/* REPORT MODAL */ /* REPORT MODAL */
a.o1ov2mzLxTFAFP-O4Uv8I { a.o1ov2mzLxTFAFP-O4Uv8I {
color: @accent-color !important; color: @accent !important;
} }
button._1lDGFVGU9k2mi-4kjU95Rp { button._1lDGFVGU9k2mi-4kjU95Rp {
@@ -1001,7 +1001,7 @@
/* radio buttons (flair selector, etc.) */ /* radio buttons (flair selector, etc.) */
div[role="radio"]:hover, div[role="radio"]:hover,
div[role="radio"]:focus { div[role="radio"]:focus {
background: @accent-color !important; background: @accent !important;
} }
div[role="radio"] > svg, div[role="radio"] > svg,
@@ -1011,7 +1011,7 @@
/* checkboxes */ /* checkboxes */
button[role="checkbox"] { button[role="checkbox"] {
fill: @accent-color !important; fill: @accent !important;
} }
/* SUBREDDIT RIGHT SIDEBAR (some styles carry over from the homepage right sidebar section) */ /* SUBREDDIT RIGHT SIDEBAR (some styles carry over from the homepage right sidebar section) */
@@ -1024,7 +1024,7 @@
/* subreddit image background */ /* subreddit image background */
img[alt="Subreddit Icon"][role="presentation"] { img[alt="Subreddit Icon"][role="presentation"] {
background: @accent-color !important; background: @accent !important;
} }
/* border between uela */ /* border between uela */
@@ -1039,7 +1039,7 @@
/* default subreddit icon */ /* default subreddit icon */
i.icon-community_fill { i.icon-community_fill {
color: @accent-color !important; color: @accent !important;
} }
/* online users */ /* online users */
@@ -1077,7 +1077,7 @@
/* shade applied to background when clicking on a post with "open in new tab" disabled */ /* shade applied to background when clicking on a post with "open in new tab" disabled */
div._2DJXORCrmcNpPTSq0LqL6i, div._2DJXORCrmcNpPTSq0LqL6i,
div._1DK52RbaamLOWw5UPaht_S { div._1DK52RbaamLOWw5UPaht_S {
background: fadeout(@crust, 20%) !important; background: fade(@crust, 80%) !important;
} }
/* gold award gradient */ /* gold award gradient */
@@ -1098,7 +1098,7 @@
/* image gallery image count */ /* image gallery image count */
div._61i6grM3um1yuw4GrN97P { div._61i6grM3um1yuw4GrN97P {
background: fadeout(@crust, 20%) !important; background: fade(@crust, 80%) !important;
color: @text !important; color: @text !important;
} }
@@ -1144,7 +1144,7 @@
.snoo-cls-7, .snoo-cls-7,
.snoo-cls-10, .snoo-cls-10,
.snoo-cls-11 { .snoo-cls-11 {
fill: @accent-color; fill: @accent;
} }
} }
} }
Loaded 100 of 126 files, more files were not shown because too many files have changed in this diff. Show more