refactor(tree-wide): use deno fmt, rename files to .user.less (#1544)
This commit is contained in:
1 parent
544db57f4e
commit
4e271e0bf5
256 files changed
+63157
-61481
No files matched your search
@@ -1,4 +1,3 @@
|
||||
*.webp filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.css linguist-language=less
|
||||
src/** -linguist-detectable
|
||||
@@ -22,10 +22,7 @@ Feel free to leave this section empty if you don't have anything more to say.
|
||||
- [ ] I have made a new directory underneath `/styles/<name-of-website>` containing the contents of the [`/template`](https://github.com/catppuccin/userstyles/blob/main/template/) directory.
|
||||
- [ ] I have ensured that the new directory is in **lower-kebab-case**.
|
||||
- [ ] I have followed the template and kept the preprocessor as [LESS](https://lesscss.org/#overview).
|
||||
- [ ] I have made sure to update the
|
||||
[`userstyles.yml`](https://github.com/catppuccin/userstyles/blob/main/scripts/userstyles.yml)
|
||||
file with information about the new userstyle.
|
||||
- [ ] I have made sure to update the [`userstyles.yml`](https://github.com/catppuccin/userstyles/blob/main/scripts/userstyles.yml) file with information about the new userstyle.
|
||||
- [ ] I have included the following files:
|
||||
- [ ] `catppuccin.user.css` - all the CSS for the userstyle, based on the
|
||||
template.
|
||||
- [ ] `catppuccin.user.less` - all the CSS for the userstyle, based on the template.
|
||||
- [ ] `preview.webp` - composite image of all four individual flavor screenshots (taken with the default accent color of mauve) stitched together, generated via [Catwalk](https://github.com/catppuccin/catwalk).
|
||||
@@ -27,7 +27,7 @@ jobs:
|
||||
|
||||
- name: Bump changed userstyles
|
||||
run: |
|
||||
git diff --name-only HEAD^1 HEAD | grep '^styles/.*catppuccin\.user\.css$' | xargs deno task bump
|
||||
git diff --name-only HEAD^1 HEAD | grep '^styles/.*catppuccin\.user\.less$' | xargs deno task bump
|
||||
|
||||
- name: Commit changes
|
||||
uses: EndBug/add-and-commit@v9
|
||||
@@ -49,12 +49,12 @@ jobs:
|
||||
push: false
|
||||
|
||||
- name: Format files
|
||||
run: deno task format
|
||||
run: deno fmt
|
||||
|
||||
- name: Commit changes
|
||||
uses: EndBug/add-and-commit@v9
|
||||
with:
|
||||
message: "style: format with prettier"
|
||||
message: "style: deno fmt"
|
||||
default_author: github_actions
|
||||
push: false
|
||||
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
# Deno code is formatted with `deno fmt`
|
||||
/scripts/
|
||||
|
||||
# auto-generated files
|
||||
/.github/ISSUE_TEMPLATE/userstyle.yml
|
||||
/.github/*.yml
|
||||
/styles/**/*.md
|
||||
@@ -1,8 +0,0 @@
|
||||
{
|
||||
"overrides": [
|
||||
{
|
||||
"files": ["styles/**/*.css", "template/**/*.css"],
|
||||
"options": { "parser": "less" }
|
||||
}
|
||||
]
|
||||
}
|
||||
Vendored
+1
-1
@@ -1,3 +1,3 @@
|
||||
{
|
||||
"recommendations": ["denoland.vscode-deno", "esbenp.prettier-vscode"]
|
||||
"recommendations": ["denoland.vscode-deno"]
|
||||
}
|
||||
Vendored
+1
-8
@@ -1,14 +1,7 @@
|
||||
{
|
||||
"files.associations": {
|
||||
"*.user.css": "less"
|
||||
},
|
||||
|
||||
"deno.enable": true,
|
||||
|
||||
"[less]": {
|
||||
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||
},
|
||||
"[typescript][javascript]": {
|
||||
"[typescript][javascript][less][markdown][json]": {
|
||||
"editor.defaultFormatter": "denoland.vscode-deno"
|
||||
},
|
||||
|
||||
|
||||
@@ -31,12 +31,18 @@
|
||||
"lint": "deno run -A ./scripts/lint/main.ts",
|
||||
"lint:fix": "deno task lint --fix",
|
||||
"update-types": "deno run -A ./scripts/types/update-types.ts",
|
||||
"bump": "deno run -A ./scripts/bump-version/main.ts",
|
||||
"format": "deno run -A npm:[email protected] --write ."
|
||||
"bump": "deno run -A ./scripts/bump-version/main.ts"
|
||||
},
|
||||
"nodeModulesDir": "auto",
|
||||
"fmt": {
|
||||
"include": ["scripts/**/*.ts", "scripts/**/*.js"]
|
||||
"indentWidth": 2,
|
||||
"proseWrap": "never",
|
||||
"exclude": [
|
||||
".github/ISSUE_TEMPLATE/userstyle.yml",
|
||||
".github/*.yml",
|
||||
"styles/**/*.md",
|
||||
"scripts/generate/templates/userstyle.md"
|
||||
]
|
||||
},
|
||||
"lint": {
|
||||
"rules": {
|
||||
|
||||
@@ -1,95 +1,56 @@
|
||||
{
|
||||
"version": "4",
|
||||
"specifiers": {
|
||||
"jsr:@std/[email protected]": "0.224.0",
|
||||
"jsr:@std/assert@^1.0.9": "1.0.9",
|
||||
"jsr:@std/cli@^1.0.8": "1.0.8",
|
||||
"jsr:@std/fmt@^1.0.2": "1.0.3",
|
||||
"jsr:@std/fs@^1.0.6": "1.0.6",
|
||||
"jsr:@std/internal@^1.0.3": "1.0.3",
|
||||
"jsr:@std/internal@^1.0.5": "1.0.5",
|
||||
"jsr:@std/path@^1.0.2": "1.0.3",
|
||||
"jsr:@std/path@^1.0.3": "1.0.4",
|
||||
"jsr:@std/path@^1.0.8": "1.0.8",
|
||||
"jsr:@std/yaml@^1.0.5": "1.0.5",
|
||||
"npm:@actions/[email protected]": "1.11.1",
|
||||
"npm:@catppuccin/palette@^1.7.1": "1.7.1",
|
||||
"npm:@octokit/rest@^21.0.2": "21.0.2_@[email protected]",
|
||||
"npm:@types/less@*": "3.0.6",
|
||||
"npm:@types/node@*": "18.16.19",
|
||||
"npm:@types/less@*": "3.0.7",
|
||||
"npm:[email protected]": "8.17.1",
|
||||
"npm:[email protected]": "4.7.8",
|
||||
"npm:json-schema-to-typescript@^15.0.3": "15.0.3",
|
||||
"npm:[email protected]": "4.2.1",
|
||||
"npm:[email protected]": "[email protected].39",
|
||||
"npm:[email protected]": "[email protected].49",
|
||||
"npm:[email protected]": "4.2.0",
|
||||
"npm:[email protected]": "3.2.4",
|
||||
"npm:stylelint-config-recommended@14.0.1": "14.0.1_stylelint@16.9.0__@[email protected].1__@[email protected].1___@[email protected].1__postcss-selector-parser@6.1.2[email protected]7",
|
||||
"npm:stylelint[email protected]": "36.0.1_stylelint@16.9.0__@[email protected].1__@[email protected].1___@[email protected].1__postcss-selector-parser@6.1.2_[email protected]7",
|
||||
"npm:stylelint@*": "16.9.0_@[email protected]_@[email protected]__@[email protected][email protected][email protected]",
|
||||
"npm:[email protected]": "[email protected]__@[email protected]__@[email protected]___@[email protected][email protected][email protected]",
|
||||
"npm:stylelint-config-standard@36.0.1": "36.0.1_stylelint@16.12.0__@[email protected].3__@[email protected].4___@[email protected].3__postcss-selector-parser@7.0.0[email protected]9",
|
||||
"npm:stylelint@*": "16.12.0_@[email protected].3_@[email protected].4__@[email protected].3_postcss-selector-parser@7.0.0[email protected]9",
|
||||
"npm:stylelint@^16.12.0": "16.12.0_@[email protected]_@[email protected]__@[email protected][email protected][email protected]",
|
||||
"npm:[email protected]": "3.3.2",
|
||||
"npm:type-fest@^4.30.2": "4.30.2",
|
||||
"npm:[email protected]": "0.12.0"
|
||||
},
|
||||
"jsr": {
|
||||
"@std/[email protected]": {
|
||||
"integrity": "8643233ec7aec38a940a8264a6e3eed9bfa44e7a71cc6b3c8874213ff401967f"
|
||||
},
|
||||
"@std/[email protected]": {
|
||||
"integrity": "e37da8e4033490ce613eec4ac1d78dba1faf5b02a3f6c573a28f15365b9b440f",
|
||||
"dependencies": [
|
||||
"jsr:@std/internal@^1.0.3"
|
||||
]
|
||||
},
|
||||
"@std/[email protected]": {
|
||||
"integrity": "a9f0c611a869cc791b26f523eec54c7e187aab7932c2c8e8bea0622d13680dcd",
|
||||
"dependencies": [
|
||||
"jsr:@std/internal@^1.0.5"
|
||||
"jsr:@std/internal"
|
||||
]
|
||||
},
|
||||
"@std/[email protected]": {
|
||||
"integrity": "3762d8dc9a373715c08d871c38d45e637b25266f013a1d0bbe560bca409de94e"
|
||||
},
|
||||
"@std/[email protected]": {
|
||||
"integrity": "87e9dfcdd3ca7c066e0c3c657c1f987c82888eb8103a3a3baa62684ffeb0f7a7"
|
||||
},
|
||||
"@std/[email protected]": {
|
||||
"integrity": "97765c16aa32245ff4e2204ecf7d8562496a3cb8592340a80e7e554e0bb9149f"
|
||||
},
|
||||
"@std/[email protected]": {
|
||||
"integrity": "d6914ca2c21abe591f733b31dbe6331e446815e513e2451b3b9e472daddfefcb",
|
||||
"dependencies": [
|
||||
"jsr:@std/path@^1.0.2"
|
||||
]
|
||||
},
|
||||
"@std/[email protected]": {
|
||||
"integrity": "42b56e1e41b75583a21d5a37f6a6a27de9f510bcd36c0c85791d685ca0b85fa2",
|
||||
"dependencies": [
|
||||
"jsr:@std/path@^1.0.8"
|
||||
"jsr:@std/path"
|
||||
]
|
||||
},
|
||||
"@std/[email protected]": {
|
||||
"integrity": "208e9b94a3d5649bd880e9ca38b885ab7651ab5b5303a56ed25de4755fb7b11e"
|
||||
},
|
||||
"@std/[email protected]": {
|
||||
"integrity": "54a546004f769c1ac9e025abd15a76b6671ddc9687e2313b67376125650dc7ba"
|
||||
},
|
||||
"@std/[email protected]": {
|
||||
"integrity": "a452174603f8c620bd278a380c596437a9eef50c891c64b85812f735245d9ec7"
|
||||
},
|
||||
"@std/[email protected]": {
|
||||
"integrity": "cd89d014ce7eb3742f2147b990f6753ee51d95276bfc211bc50c860c1bc7df6f"
|
||||
},
|
||||
"@std/[email protected]": {
|
||||
"integrity": "48dd5d8389bcfcd619338a01bdf862cb7799933390146a54ae59356a0acc7105"
|
||||
},
|
||||
"@std/[email protected]": {
|
||||
"integrity": "548fa456bb6a04d3c1a1e7477986b6cffbce95102d0bb447c67c4ee70e0364be"
|
||||
},
|
||||
"@std/[email protected]": {
|
||||
"integrity": "f1e38fa5e110ff8550e938715e52c33347676dd00a1db858e092dd21a9df9941"
|
||||
},
|
||||
"@std/[email protected]": {
|
||||
"integrity": "71ba3d334305ee2149391931508b2c293a8490f94a337eef3a09cade1a2a2742"
|
||||
}
|
||||
@@ -126,70 +87,40 @@
|
||||
"js-yaml"
|
||||
]
|
||||
},
|
||||
"@babel/[email protected]5.7": {
|
||||
"integrity": "sha512-0xZJFNE5XMpENsgfHYTw8FbX4kv53mFLn2i3XPoq69LyhYSCBJtitaHx9QnsVTrsogI4Z3+HtEfZ2/GFPOtf5g==",
|
||||
"dependencies": [
|
||||
"@babel/highlight",
|
||||
"[email protected]"
|
||||
]
|
||||
},
|
||||
"@babel/[email protected]": {
|
||||
"integrity": "sha512-AM6TzwYqGChO45oiuPqwL2t20/HdMC1rTPAesnBCgPCSF1x3oN9MVUwQV2iyz4xqWrctwK5RNC8LV22kaQCNYg=="
|
||||
},
|
||||
"@babel/[email protected]": {
|
||||
"integrity": "sha512-iYyACpW3iW8Fw+ZybQK+drQre+ns/tKpXbNESfrhNnPLIklLbXr7MYJ6gPEd0iETGLOK+SxMjVvKb/ffmk+FEw==",
|
||||
"@babel/[email protected]6.2": {
|
||||
"integrity": "sha512-RJlIHRueQgwWitWgF8OdFYGZX328Ax5BCemNGlqHfplnRT9ESi8JkFlvaVYbS+UubVY6dpv87Fs2u5M29iNFVQ==",
|
||||
"dependencies": [
|
||||
"@babel/helper-validator-identifier",
|
||||
"chalk",
|
||||
"js-tokens",
|
||||
"picocolors@1.1.0"
|
||||
"picocolors"
|
||||
]
|
||||
},
|
||||
"@babel/[email protected]": {
|
||||
"integrity": "sha512-Ed61U6XJc3CVRfkERJWDz4dJwKe7iLmmJsbOGu9wSloNSFttHV0I8g6UAgb7qnK5ly5bGLPd4oXZlxCdANBOWQ=="
|
||||
},
|
||||
"@catppuccin/[email protected]": {
|
||||
"integrity": "sha512-aRc1tbzrevOTV7nFTT9SRdF26w/MIwT4Jwt4fDMc9itRZUDXCuEDBLyz4TQMlqO9ZP8mf5Hu4Jr6D03NLFc6Gw=="
|
||||
},
|
||||
"@csstools/[email protected]_@[email protected]": {
|
||||
"integrity": "sha512-lSquqZCHxDfuTg/Sk2hiS0mcSFCEBuj49JfzPHJogDBT0mGCyY5A1AQzBWngitrp7i1/HAZpIgzF/VjhOEIJIg==",
|
||||
"dependencies": [
|
||||
"@csstools/[email protected]"
|
||||
]
|
||||
},
|
||||
"@csstools/[email protected]_@[email protected]": {
|
||||
"integrity": "sha512-Up7rBoV77rv29d3uKHUIVubz1BTcgyUK72IvCQAbfbMv584xHcGKCKbWh7i8hPrRJ7qU4Y8IO3IY9m+iTB7P3A==",
|
||||
"dependencies": [
|
||||
"@csstools/css-tokenizer@3.0.3"
|
||||
"@csstools/css-tokenizer"
|
||||
]
|
||||
},
|
||||
"@csstools/[email protected]": {
|
||||
"integrity": "sha512-UBqaiu7kU0lfvaP982/o3khfXccVlHPWp0/vwwiIgDF0GmqqqxoiXC/6FCjlS9u92f7CoEz6nXKQnrn1kIAkOw=="
|
||||
},
|
||||
"@csstools/[email protected]": {
|
||||
"integrity": "sha512-UJnjoFsmxfKUdNYdWgOB0mWUypuLvAfQPH1+pyvRJs6euowbFkFC6P13w1l8mJyi3vxYMxc9kld5jZEGRQs6bw=="
|
||||
},
|
||||
"@csstools/[email protected]_@[email protected]__@[email protected]_@[email protected]": {
|
||||
"integrity": "sha512-HNo8gGD02kHmcbX6PvCoUuOQvn4szyB9ca63vZHKX5A81QytgDG4oxG4IaEfHTlEZSZ6MjPEMWIVU+zF2PZcgw==",
|
||||
"dependencies": [
|
||||
"@csstools/[email protected]_@[email protected]",
|
||||
"@csstools/[email protected]"
|
||||
]
|
||||
},
|
||||
"@csstools/[email protected]_@[email protected]__@[email protected]_@[email protected]": {
|
||||
"integrity": "sha512-EUos465uvVvMJehckATTlNqGj4UJWkTmdWuDMjqvSUkjGpmOyFZBVwb4knxCm/k2GMTXY+c/5RkdndzFYWeX5A==",
|
||||
"dependencies": [
|
||||
"@csstools/css-parser-algorithms@3.0.4_@[email protected]",
|
||||
"@csstools/css-tokenizer@3.0.3"
|
||||
]
|
||||
},
|
||||
"@csstools/[email protected][email protected]": {
|
||||
"integrity": "sha512-189nelqtPd8++phaHNwYovKZI0FOzH1vQEE3QhHHkNIGrg5fSs9CbYP3RvfEH5geztnIA9Jwq91wyOIwAW5JIQ==",
|
||||
"dependencies": [
|
||||
"[email protected]"
|
||||
"@csstools/css-parser-algorithms",
|
||||
"@csstools/css-tokenizer"
|
||||
]
|
||||
},
|
||||
"@csstools/[email protected][email protected]": {
|
||||
"integrity": "sha512-PCqQV3c4CoVm3kdPhyeZ07VmBRdH2EpMFA/pd9OASpOEC3aXNGoqPDAZ80D0cLpMBxnmk0+yNhGsEx31hq7Gtw==",
|
||||
"dependencies": [
|
||||
"postcss-selector-parser@7.0.0"
|
||||
"postcss-selector-parser"
|
||||
]
|
||||
},
|
||||
"@dual-bundle/[email protected]": {
|
||||
@@ -307,15 +238,12 @@
|
||||
"@types/[email protected]": {
|
||||
"integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA=="
|
||||
},
|
||||
"@types/[email protected].6": {
|
||||
"integrity": "sha512-PecSzorDGdabF57OBeQO/xFbAkYWo88g4Xvnsx7LRwqLC17I7OoKtA3bQB9uXkY6UkMWCOsA8HSVpaoitscdXw=="
|
||||
"@types/[email protected].7": {
|
||||
"integrity": "sha512-+SD1DrM8EwJsilPFSR1IMMGWOTg5sO1waewoJ1k3BHCvU07zQThy8t2wTfxvHz//R0uK3koAUl9WbWwal0H+YA=="
|
||||
},
|
||||
"@types/[email protected]": {
|
||||
"integrity": "sha512-lfx+dftrEZcdBPczf9d0Qv0x+j/rfNCMuC6OcfXmO8gkfeNAY88PgKUbvG56whcN23gc27yenwF6oJZXGFpYxg=="
|
||||
},
|
||||
"@types/[email protected]": {
|
||||
"integrity": "sha512-IXl7o+R9iti9eBW4Wg2hx1xQDig183jj7YLn8F7udNceyfkbn1ZxmzZXuak20gR40D7pIkIY1kYGx5VIGbaHKA=="
|
||||
},
|
||||
"[email protected]": {
|
||||
"integrity": "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==",
|
||||
"dependencies": [
|
||||
@@ -328,19 +256,10 @@
|
||||
"[email protected]": {
|
||||
"integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ=="
|
||||
},
|
||||
"[email protected]": {
|
||||
"integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA=="
|
||||
},
|
||||
"[email protected]": {
|
||||
"integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
|
||||
"dependencies": [
|
||||
"[email protected]"
|
||||
]
|
||||
},
|
||||
"[email protected]": {
|
||||
"integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
|
||||
"dependencies": [
|
||||
"color-convert@2.0.1"
|
||||
"color-convert"
|
||||
]
|
||||
},
|
||||
"[email protected]": {
|
||||
@@ -370,29 +289,12 @@
|
||||
"[email protected]": {
|
||||
"integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ=="
|
||||
},
|
||||
"[email protected]": {
|
||||
"integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",
|
||||
"dependencies": [
|
||||
"[email protected]",
|
||||
"escape-string-regexp",
|
||||
"[email protected]"
|
||||
]
|
||||
},
|
||||
"[email protected]": {
|
||||
"integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",
|
||||
"dependencies": [
|
||||
"[email protected]"
|
||||
]
|
||||
},
|
||||
"[email protected]": {
|
||||
"integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
|
||||
"dependencies": [
|
||||
"color-name@1.1.4"
|
||||
"color-name"
|
||||
]
|
||||
},
|
||||
"[email protected]": {
|
||||
"integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw=="
|
||||
},
|
||||
"[email protected]": {
|
||||
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA=="
|
||||
},
|
||||
@@ -417,9 +319,6 @@
|
||||
"parse-json"
|
||||
]
|
||||
},
|
||||
"[email protected]": {
|
||||
"integrity": "sha512-c+N0v6wbKVxTu5gOBBFkr9BEdBWaqqjQeiJ8QvSRIJOf+UxlJh930m8e6/WNeODIK0mYLFkoONrnj16i2EcvfQ=="
|
||||
},
|
||||
"[email protected]": {
|
||||
"integrity": "sha512-IQOkD3hbR5KrN93MtcYuad6YPuTSUhntLHDuLEbFWE+ff2/XSZNdZG+LcbbIW5AXKg/WFIfYItIzVoHngHXZzA=="
|
||||
},
|
||||
@@ -437,21 +336,21 @@
|
||||
"integrity": "sha512-OA0mILzGc1kCOCSJerOeqDxDQ4HOh+G8NbOJFOTgOCzpw7fCBubk0fEyxp8AgOL/jvLgYA/uV0cMbe43ElF1JA==",
|
||||
"dependencies": [
|
||||
"[email protected]",
|
||||
"source-map-js@1.2.0"
|
||||
"source-map-js"
|
||||
]
|
||||
},
|
||||
"[email protected]": {
|
||||
"integrity": "sha512-6Fv1DV/TYw//QF5IzQdqsNDjx/wc8TrMBZsqjL9eW01tWb7R7k/mq+/VXfJCl7SoD5emsJop9cOByJZfs8hYIw==",
|
||||
"dependencies": [
|
||||
"[email protected]",
|
||||
"source-map-js@1.2.0"
|
||||
"source-map-js"
|
||||
]
|
||||
},
|
||||
"[email protected]": {
|
||||
"integrity": "sha512-0eW44TGN5SQXU1mWSkKwFstI/22X2bG1nYzZTYMAWjylYURhse752YgbE4Cx46AC+bAvI+/dYTPRk1LqSUnu6w==",
|
||||
"dependencies": [
|
||||
"[email protected]",
|
||||
"source-map-js@1.2.1"
|
||||
"source-map-js"
|
||||
]
|
||||
},
|
||||
"[email protected]": {
|
||||
@@ -466,8 +365,8 @@
|
||||
"[email protected]"
|
||||
]
|
||||
},
|
||||
"debug@4.3.7": {
|
||||
"integrity": "sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==",
|
||||
"debug@4.4.0": {
|
||||
"integrity": "sha512-6WTZ/IxCY/T6BALoZHaE4ctp9xm+Z5kY/pzYaCHRFeyVhojxlrm+46y68HA6hr0TcwEssoxNiDEUJQjfPZ/RYA==",
|
||||
"dependencies": [
|
||||
"ms"
|
||||
]
|
||||
@@ -524,9 +423,6 @@
|
||||
"is-arrayish"
|
||||
]
|
||||
},
|
||||
"[email protected]": {
|
||||
"integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg=="
|
||||
},
|
||||
"[email protected]": {
|
||||
"integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q=="
|
||||
},
|
||||
@@ -540,8 +436,8 @@
|
||||
"micromatch"
|
||||
]
|
||||
},
|
||||
"[email protected].1": {
|
||||
"integrity": "sha512-MWipKbbYiYI0UC7cl8m/i/IWTqfC8YXsqjzybjddLsFjStroQzsHXkc73JutMvBiXmOvapk+axIl79ig5t55Bw=="
|
||||
"[email protected].3": {
|
||||
"integrity": "sha512-aLrHthzCjH5He4Z2H9YZ+v6Ujb9ocRuW6ZzkJQOrTxleEijANq4v1TsaPaVG1PZcuurEzrLcWRyYBYXD5cEiaw=="
|
||||
},
|
||||
"[email protected]": {
|
||||
"integrity": "sha512-eRnCtTTtGZFpQCwhJiUOuxPQWRXVKYDn0b2PeHfXL6/Zi53SLAzAHfVhVWK2AryC/WH05kGfxhFIPvTF0SXQzg=="
|
||||
@@ -577,8 +473,8 @@
|
||||
"keyv"
|
||||
]
|
||||
},
|
||||
"[email protected].1": {
|
||||
"integrity": "sha512-X8cqMLLie7KsNUDSdzeN8FYK9rEt4Dt67OsG/DNGnYTSDBG4uFAJFBnUeiV+zCVAvwFy56IjM9sH51jVaEhNxw=="
|
||||
"[email protected].2": {
|
||||
"integrity": "sha512-AiwGJM8YcNOaobumgtng+6NHuOqC3A7MixFeDafM3X9cIUM+xUXoS5Vfgf+OihAYe20fxqNM9yPBXJzRtZ/4eA=="
|
||||
},
|
||||
"[email protected]": {
|
||||
"integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==",
|
||||
@@ -627,9 +523,6 @@
|
||||
"wordwrap"
|
||||
]
|
||||
},
|
||||
"[email protected]": {
|
||||
"integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw=="
|
||||
},
|
||||
"[email protected]": {
|
||||
"integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ=="
|
||||
},
|
||||
@@ -716,7 +609,7 @@
|
||||
"js-yaml",
|
||||
"lodash",
|
||||
"minimist",
|
||||
"prettier@3.4.2",
|
||||
"prettier",
|
||||
"tinyglobby"
|
||||
]
|
||||
},
|
||||
@@ -732,9 +625,6 @@
|
||||
"[email protected]": {
|
||||
"integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw=="
|
||||
},
|
||||
"[email protected]": {
|
||||
"integrity": "sha512-tBECoUqNFbyAY4RrbqsBQqDFpGXAEbdD5QKr8kACx3+rnArmuuR22nKQWKazvp07N9yjTyDZaw/20UIH8tL9DQ=="
|
||||
},
|
||||
"[email protected]": {
|
||||
"integrity": "sha512-a/RAk2BfKk+WFGhhOCAYqSiFLc34k8Mt/6NWRI4joER0EYUzXIcFivjjnoD3+XU1DggLn/tZc3DOAgke7l8a4A=="
|
||||
},
|
||||
@@ -803,8 +693,8 @@
|
||||
"[email protected]": {
|
||||
"integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA=="
|
||||
},
|
||||
"[email protected].7": {
|
||||
"integrity": "sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g=="
|
||||
"[email protected].8": {
|
||||
"integrity": "sha512-WNLf5Sd8oZxOm+TzppcYk8gVOgP+l58xNy58D0nbUnOxOWRWvlcCV4kUF7ltmI6PsrLl/BgKEyS4mqsGChFN0w=="
|
||||
},
|
||||
"[email protected]": {
|
||||
"integrity": "sha512-6k0YULvhpw+RoLNiQCRKOl09Rv1dPLr8hHnVjHqdolKwDrdNyk+Hmrthi4lIGPPz3r39dLx0hsF5s40sZ3Us4Q==",
|
||||
@@ -846,12 +736,6 @@
|
||||
"[email protected]": {
|
||||
"integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw=="
|
||||
},
|
||||
"[email protected]": {
|
||||
"integrity": "sha512-anP1Z8qwhkbmu7MFP5iTt+wQKXgwzf7zTyGlcdzabySa9vd0Xt392U0rVmz9poOaBj0uHJKyyo9/upk0HrEQew=="
|
||||
},
|
||||
"[email protected]": {
|
||||
"integrity": "sha512-TQ92mBOW0l3LeMeyLV6mzy/kWr8lkd/hp3mTg7wYK7zJhuBStmGMBG0BdeDZS/dZx1IukaX6Bk11zcln25o1Aw=="
|
||||
},
|
||||
"[email protected]": {
|
||||
"integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA=="
|
||||
},
|
||||
@@ -864,32 +748,19 @@
|
||||
"[email protected]": {
|
||||
"integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g=="
|
||||
},
|
||||
"[email protected][email protected].39": {
|
||||
"[email protected][email protected].49": {
|
||||
"integrity": "sha512-FPX16mQLyEjLzEuuJtxA8X3ejDLNGGEG503d2YGZR5Ask1SpDN8KmZUMpzCvyalWRywAn1n1VOA5dcqfCLo5rg==",
|
||||
"dependencies": [
|
||||
"postcss@8.4.39"
|
||||
"postcss"
|
||||
]
|
||||
},
|
||||
"[email protected]": {
|
||||
"integrity": "sha512-0sglIs9Wmkzbr8lQwEyIzlDOOC9bGmfVKcJTaxv3vMmd3uo4o4DerC3En0bnmgceeql9BfC8hRkp7cg0fjdVqw=="
|
||||
},
|
||||
"[email protected][email protected]": {
|
||||
"integrity": "sha512-0AioNCJZ2DPYz5ABT6bddIqlhgwhpHZ/l65YAYo0BCIn0xiDpsnTHz0gnoTGk0OXZW0JRs+cDwL8u/teRdz+8A==",
|
||||
"dependencies": [
|
||||
"[email protected]"
|
||||
]
|
||||
},
|
||||
"[email protected][email protected]": {
|
||||
"integrity": "sha512-0AioNCJZ2DPYz5ABT6bddIqlhgwhpHZ/l65YAYo0BCIn0xiDpsnTHz0gnoTGk0OXZW0JRs+cDwL8u/teRdz+8A==",
|
||||
"dependencies": [
|
||||
"postcss@8.4.49"
|
||||
]
|
||||
},
|
||||
"[email protected]": {
|
||||
"integrity": "sha512-Q8qQfPiZ+THO/3ZrOrO0cJJKfpYCagtMUkXbnEfmgUjwXg6z/WBeOyS9APBBPCTSiDV+s4SwQGu8yFsiMRIudg==",
|
||||
"dependencies": [
|
||||
"cssesc",
|
||||
"util-deprecate"
|
||||
"postcss"
|
||||
]
|
||||
},
|
||||
"[email protected]": {
|
||||
@@ -902,33 +773,14 @@
|
||||
"[email protected]": {
|
||||
"integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ=="
|
||||
},
|
||||
"[email protected]": {
|
||||
"integrity": "sha512-0vzE+lAiG7hZl1/9I8yzKLx3aR9Xbof3fBHKunvMfOCYAtMhrsnccJY2iTURb9EZd5+pLuiNV9/c/GZJOHsgIw==",
|
||||
"dependencies": [
|
||||
"nanoid",
|
||||
"[email protected]",
|
||||
"[email protected]"
|
||||
]
|
||||
},
|
||||
"[email protected]": {
|
||||
"integrity": "sha512-56rxCq7G/XfB4EkXq9Egn5GCqugWvDFjafDOThIdMBsI15iqPqR5r15TfSr1YPYeEI19YeaXMCbY6u88Y76GLQ==",
|
||||
"dependencies": [
|
||||
"nanoid",
|
||||
"[email protected]",
|
||||
"[email protected]"
|
||||
]
|
||||
},
|
||||
"[email protected]": {
|
||||
"integrity": "sha512-OCVPnIObs4N29kxTjzLfUryOkvZEq+pf8jTF0lg8E7uETuWHA+v7j3c/xJmiqpX450191LlmZfUKkXxkTry7nA==",
|
||||
"dependencies": [
|
||||
"nanoid",
|
||||
"picocolors@1.1.1",
|
||||
"source-map-js@1.2.1"
|
||||
"picocolors",
|
||||
"source-map-js"
|
||||
]
|
||||
},
|
||||
"[email protected]": {
|
||||
"integrity": "sha512-FWu1oLHKCrtpO1ypU6J0SbK2d9Ckwysq6bHj/uaCP26DxrPpppCLQRGVuqAxSTvhF00AcvDRyYrLNW7ocBhFFQ=="
|
||||
},
|
||||
"[email protected]": {
|
||||
"integrity": "sha512-e9MewbtFo+Fevyuxn/4rrcDAaq0IYxPGLvObpQjiZBMAzB9IGmzlnG9RZy3FFas+eBMu2vA0CszMeduow5dIuQ=="
|
||||
},
|
||||
@@ -974,14 +826,11 @@
|
||||
"[email protected]": {
|
||||
"integrity": "sha512-qMCMfhY040cVHT43K9BFygqYbUPFZKHOg7K73mtTWJRb8pyP3fzf4Ixd5SzdEJQ6MRUg/WBnOLxghZtKKurENQ==",
|
||||
"dependencies": [
|
||||
"ansi-styles@4.3.0",
|
||||
"ansi-styles",
|
||||
"astral-regex",
|
||||
"is-fullwidth-code-point"
|
||||
]
|
||||
},
|
||||
"[email protected]": {
|
||||
"integrity": "sha512-itJW8lvSA0TXEphiRoawsCksnlf8SyvmFzIhltqAHluXd88pkCd+cXJVHTDwdCr0IzwptSm035IHQktUu1QUMg=="
|
||||
},
|
||||
"[email protected]": {
|
||||
"integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA=="
|
||||
},
|
||||
@@ -993,46 +842,40 @@
|
||||
"dependencies": [
|
||||
"emoji-regex",
|
||||
"is-fullwidth-code-point",
|
||||
"strip-ansi@6.0.1"
|
||||
"strip-ansi"
|
||||
]
|
||||
},
|
||||
"[email protected]": {
|
||||
"integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
|
||||
"dependencies": [
|
||||
"ansi-regex@5.0.1"
|
||||
"ansi-regex"
|
||||
]
|
||||
},
|
||||
"strip-ansi@7.1.0": {
|
||||
"integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==",
|
||||
"dependencies": [
|
||||
"[email protected]"
|
||||
]
|
||||
},
|
||||
"[email protected][email protected]__@[email protected]__@[email protected]___@[email protected][email protected][email protected]": {
|
||||
"st[email protected][email protected]__@[email protected]__@[email protected]___@[email protected]__postcss-selector-parser@7.0.0[email protected]": {
|
||||
"integrity": "sha512-bLvc1WOz/14aPImu/cufKAZYfXs/A/owZfSMZ4N+16WGXLoX5lOir53M6odBxvhgmgdxCVnNySJmZKx73T93cg==",
|
||||
"dependencies": [
|
||||
"stylelint@16.9.0_@[email protected]_@[email protected]__@[email protected][email protected][email protected]"
|
||||
"stylelint"
|
||||
]
|
||||
},
|
||||
"[email protected]_stylelint@16.9.0__@[email protected].1__@[email protected].1___@[email protected].1__postcss-selector-parser@6.1.2[email protected]7": {
|
||||
"[email protected]_stylelint@16.12.0__@[email protected].3__@[email protected].4___@[email protected].3__postcss-selector-parser@7.0.0[email protected]9": {
|
||||
"integrity": "sha512-8aX8mTzJ6cuO8mmD5yon61CWuIM4UD8Q5aBcWKGSf6kg+EC3uhB+iOywpTK4ca6ZL7B49en8yanOFtUW0qNzyw==",
|
||||
"dependencies": [
|
||||
"stylelint@16.9.0_@[email protected]_@[email protected]__@[email protected][email protected][email protected]",
|
||||
"stylelint",
|
||||
"stylelint-config-recommended"
|
||||
]
|
||||
},
|
||||
"[email protected]_@[email protected]_@[email protected]__@[email protected][email protected][email protected]": {
|
||||
"integrity": "sha512-F8zZ3L/rBpuoBZRvI4JVT20ZanPLXfQLzMOZg1tzPflRVh9mKpOZ8qcSIhh1my3FjAjZWG4T2POwGnmn6a6hbg==",
|
||||
"dependencies": [
|
||||
"@csstools/css-parser-algorithms@3.0.4_@[email protected]",
|
||||
"@csstools/css-tokenizer@3.0.3",
|
||||
"@csstools/media-query-list-parser@4.0.2_@[email protected]__@[email protected]_@[email protected]",
|
||||
"@csstools/selector-specificity@[email protected]",
|
||||
"@csstools/css-parser-algorithms",
|
||||
"@csstools/css-tokenizer",
|
||||
"@csstools/media-query-list-parser",
|
||||
"@csstools/selector-specificity",
|
||||
"@dual-bundle/import-meta-resolve",
|
||||
"balanced-match",
|
||||
"colord",
|
||||
"cosmiconfig",
|
||||
"css-functions-list@3.2.3",
|
||||
"css-functions-list",
|
||||
"[email protected]",
|
||||
"debug",
|
||||
"fast-glob",
|
||||
@@ -1045,86 +888,36 @@
|
||||
"[email protected]",
|
||||
"imurmurhash",
|
||||
"is-plain-object",
|
||||
"known-css-properties@0.35.0",
|
||||
"known-css-properties",
|
||||
"mathml-tag-names",
|
||||
"meow",
|
||||
"micromatch",
|
||||
"normalize-path",
|
||||
"picocolors@1.1.1",
|
||||
"postcss@8.4.49",
|
||||
"picocolors",
|
||||
"postcss",
|
||||
"postcss-resolve-nested-selector",
|
||||
"postcss-safe-parser@[email protected]",
|
||||
"postcss-selector-parser@7.0.0",
|
||||
"postcss-safe-parser",
|
||||
"postcss-selector-parser",
|
||||
"postcss-value-parser",
|
||||
"[email protected]",
|
||||
"string-width",
|
||||
"supports-hyperlinks",
|
||||
"svg-tags",
|
||||
"table@6.9.0",
|
||||
"table",
|
||||
"write-file-atomic"
|
||||
]
|
||||
},
|
||||
"[email protected]_@[email protected]_@[email protected]__@[email protected][email protected][email protected]": {
|
||||
"integrity": "sha512-31Nm3WjxGOBGpQqF43o3wO9L5AC36TPIe6030Lnm13H3vDMTcS21DrLh69bMX+DBilKqMMVLian4iG6ybBoNRQ==",
|
||||
"dependencies": [
|
||||
"@csstools/[email protected]_@[email protected]",
|
||||
"@csstools/[email protected]",
|
||||
"@csstools/[email protected]_@[email protected]__@[email protected]_@[email protected]",
|
||||
"@csstools/[email protected][email protected]",
|
||||
"@dual-bundle/import-meta-resolve",
|
||||
"balanced-match",
|
||||
"colord",
|
||||
"cosmiconfig",
|
||||
"[email protected]",
|
||||
"[email protected]",
|
||||
"debug",
|
||||
"fast-glob",
|
||||
"fastest-levenshtein",
|
||||
"file-entry-cache",
|
||||
"global-modules",
|
||||
"globby",
|
||||
"globjoin",
|
||||
"html-tags",
|
||||
"[email protected]",
|
||||
"imurmurhash",
|
||||
"is-plain-object",
|
||||
"[email protected]",
|
||||
"mathml-tag-names",
|
||||
"meow",
|
||||
"micromatch",
|
||||
"normalize-path",
|
||||
"[email protected]",
|
||||
"[email protected]",
|
||||
"postcss-resolve-nested-selector",
|
||||
"[email protected][email protected]",
|
||||
"[email protected]",
|
||||
"postcss-value-parser",
|
||||
"[email protected]",
|
||||
"string-width",
|
||||
"[email protected]",
|
||||
"supports-hyperlinks",
|
||||
"svg-tags",
|
||||
"[email protected]",
|
||||
"write-file-atomic"
|
||||
]
|
||||
},
|
||||
"[email protected]": {
|
||||
"integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",
|
||||
"dependencies": [
|
||||
"[email protected]"
|
||||
]
|
||||
},
|
||||
"[email protected]": {
|
||||
"integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
|
||||
"dependencies": [
|
||||
"has-flag@4.0.0"
|
||||
"has-flag"
|
||||
]
|
||||
},
|
||||
"[email protected]": {
|
||||
"integrity": "sha512-2rn0BZ+/f7puLOHZm1HOJfwBggfaHXUpPUSSG/SWM4TWp5KCfmNYwnC3hruy2rZlMnmWZ+QAGpZfchu3f3695A==",
|
||||
"dependencies": [
|
||||
"has-flag@4.0.0",
|
||||
"supports-color@7.2.0"
|
||||
"has-flag",
|
||||
"supports-color"
|
||||
]
|
||||
},
|
||||
"[email protected]": {
|
||||
@@ -1139,17 +932,7 @@
|
||||
"[email protected]",
|
||||
"css-what",
|
||||
"csso",
|
||||
"picocolors@1.0.1"
|
||||
]
|
||||
},
|
||||
"[email protected]": {
|
||||
"integrity": "sha512-w2sfv80nrAh2VCbqR5AK27wswXhqcck2AhfnNW76beQXskGZ1V12GwS//yYVa3d3fcvAip2OUnbDAjW2k3v9fA==",
|
||||
"dependencies": [
|
||||
"ajv",
|
||||
"lodash.truncate",
|
||||
"slice-ansi",
|
||||
"string-width",
|
||||
"[email protected]"
|
||||
"picocolors"
|
||||
]
|
||||
},
|
||||
"[email protected]": {
|
||||
@@ -1159,7 +942,7 @@
|
||||
"lodash.truncate",
|
||||
"slice-ansi",
|
||||
"string-width",
|
||||
"strip-ansi@6.0.1"
|
||||
"strip-ansi"
|
||||
]
|
||||
},
|
||||
"[email protected][email protected]": {
|
||||
@@ -1184,8 +967,8 @@
|
||||
"[email protected]": {
|
||||
"integrity": "sha512-UJShLPYi1aWqCdq9HycOL/gwsuqda1OISdBO3t8RlXQC4QvtuIz4b5FCfe2dQIWEpmlRExKmcTBfP1r9bhY7ig=="
|
||||
},
|
||||
"[email protected].0": {
|
||||
"integrity": "sha512-wNKHUY2hYYkf6oSFfhwwiHo4WCHzHmzcXsqXYTN9ja3iApYIFbb2U6ics9hBcYLHcYGQoAlwnZlTrf3oF+BL/Q=="
|
||||
"[email protected].3": {
|
||||
"integrity": "sha512-v3Xu+yuwBXisp6QYTcH4UbH+xYJXqnq2m/LtQVWKWzYc1iehYnLixoQDN9FH6/j9/oybfd6W9Ghwkl8+UMKTKQ=="
|
||||
},
|
||||
"[email protected]": {
|
||||
"integrity": "sha512-72RFADWFqKmUb2hmmvNODKL3p9hcB6Gt2DOQMis1SEBaV6a4MH8soBvzg+95CYhCKPFedut2JY9bMfrDl9D23g==",
|
||||
|
||||
@@ -4,7 +4,7 @@ If it is your first time contributing to a project on GitHub, please see the pop
|
||||
|
||||
## Development environment
|
||||
|
||||
This repositories uses [Deno](https://deno.com/) extensively for linting and automation. We recommend setting up Deno locally to improve your workflow — see ["Installation" - Deno Docs](https://docs.deno.com/runtime/manual/getting_started/installation). With Deno installed locally, you can run the lint script using `deno task lint` (and `deno task lint:fix` to automatically apply fixes) and the formatting script using `deno task format`.
|
||||
This repositories uses [Deno](https://deno.com/) extensively for linting, formatting, and automation. We recommend setting up Deno locally to improve your workflow — see ["Installation" - Deno Docs](https://docs.deno.com/runtime/manual/getting_started/installation). With Deno installed locally, you can run the lint script using `deno task lint` (and `deno task lint:fix` to automatically apply fixes) and the formatting script using `deno fmt`.
|
||||
|
||||
When editing a userstyle, we suggest setting up live reloading so your local changes can be automatically reloaded through Stylus. See ["How can I see my changes in real time?"](./tips-and-tricks/see-changes-in-real-time.md).
|
||||
|
||||
|
||||
@@ -64,7 +64,7 @@ img.twitter-icon {
|
||||
If you encounter non-SVG images, or many `<img>` elements with external SVGs, the best approach is to apply a CSS color filter to the images. Start by adding the following specially generated filters palette block to the bottom of the userstyle, below the existing `@catppuccin` palette block.
|
||||
|
||||
```css
|
||||
/* prettier-ignore */
|
||||
/* 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%); };
|
||||
|
||||
@@ -11,11 +11,10 @@ Beginner-friendly walkthrough of creating a userstyle!
|
||||
|
||||
## Prerequisites
|
||||
|
||||
- [Stylus](https://github.com/openstyles/stylus) ([Firefox](https://addons.mozilla.org/en-GB/firefox/addon/styl-us/) / [Chrome](https://chrome.google.com/webstore/detail/stylus/clngdbkpkpeebahjckkjfobafhncgmne)
|
||||
extension).
|
||||
- [Stylus](https://github.com/openstyles/stylus) ([Firefox](https://addons.mozilla.org/en-GB/firefox/addon/styl-us/) / [Chrome](https://chrome.google.com/webstore/detail/stylus/clngdbkpkpeebahjckkjfobafhncgmne) extension).
|
||||
- A website to theme!
|
||||
|
||||
Assuming you have completed steps 1-4 of [Creating Userstyles](./userstyle-creation.md#creating-userstyles), you should have a new `catppuccin.user.css` file under the `styles/<name-of-website>/` directory. Follow along in that `catppuccin.user.css` file as we write an example userstyle for [example.org](http://example.org/).
|
||||
Assuming you have completed steps 1-4 of [Creating Userstyles](./userstyle-creation.md#creating-userstyles), you should have a new `catppuccin.user.less` file under the `styles/<name-of-website>/` directory. Follow along in that `catppuccin.user.less` file as we write an example userstyle for [example.org](http://example.org/).
|
||||
|
||||
## Usercss Metadata
|
||||
|
||||
@@ -27,7 +26,7 @@ Start by filling out the "metadata block" at the very top of the template. Repla
|
||||
@namespace github.com/catppuccin/userstyles/styles/example.org
|
||||
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/example.org
|
||||
@version 2000.01.01
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/example.org/catppuccin.user.css
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/example.org/catppuccin.user.less
|
||||
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Aexample.org
|
||||
@description Soothing pastel theme for example.org
|
||||
@author Catppuccin
|
||||
@@ -61,7 +60,6 @@ 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.
|
||||
|
||||
<!-- prettier-ignore -->
|
||||
```less
|
||||
@media (prefers-color-scheme: light) {
|
||||
:root {
|
||||
@@ -85,7 +83,6 @@ This section of the template is about applying the user's light/dark flavors. Re
|
||||
|
||||
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:
|
||||
|
||||
<!-- prettier-ignore -->
|
||||
```less
|
||||
#catppuccin(@lookup, @accent) {
|
||||
@rosewater: @catppuccin[@@lookup][@rosewater];
|
||||
@@ -133,7 +130,7 @@ Combining all of the previous steps, we have a working userstyle!
|
||||
@namespace github.com/catppuccin/userstyles/styles/example.org
|
||||
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/example.org
|
||||
@version 2000.01.01
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/example.org/catppuccin.user.css
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/example.org/catppuccin.user.less
|
||||
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Aexample.org
|
||||
@description Soothing pastel theme for example.org
|
||||
@author Catppuccin
|
||||
@@ -145,7 +142,7 @@ Combining all of the previous steps, we have a working userstyle!
|
||||
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire*", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
|
||||
==/UserStyle== */
|
||||
|
||||
@-moz-document domain('example.org') {
|
||||
@-moz-document domain("example.org") {
|
||||
@media (prefers-color-scheme: light) {
|
||||
:root {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
@@ -215,15 +212,13 @@ Combining all of the previous steps, we have a working userstyle!
|
||||
}
|
||||
}
|
||||
|
||||
/* prettier-ignore */
|
||||
/* 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; };
|
||||
}
|
||||
|
||||
// vim:ft=less
|
||||
};
|
||||
```
|
||||
|
||||
| Original | Themed |
|
||||
|
||||
@@ -6,23 +6,13 @@
|
||||
To create a userstyle, follow the instructions below. If you are unsure how to theme something, see [Guide](./guide/README.md). If you run into any difficulties or have any questions, feel free to join the [Catppuccin Discord server](https://discord.com/servers/catppuccin-907385605422448742) and find us in the #userstyles channel!
|
||||
|
||||
1. Fork the `catppuccin/userstyles` repository.
|
||||
2. Create a new branch under the name `feat/<name-of-website>`, (e.g.
|
||||
`feat/nixos-search` instead of NixOS Search).
|
||||
3. Create a new folder `styles/<name-of-website>`. The name must be
|
||||
`lower-kebab-case`.
|
||||
4. Copy the contents of the [`template`](../template/) folder into
|
||||
`styles/<name-of-website>`.
|
||||
- **The template uses [LESS](https://lesscss.org/#overview), a
|
||||
preprocessor for Stylus. Please do not change this as we will only accept
|
||||
userstyles based on the template.**
|
||||
2. Create a new branch under the name `feat/<name-of-website>`, (e.g. `feat/nixos-search` instead of NixOS Search).
|
||||
3. Create a new folder `styles/<name-of-website>`. The name must be `lower-kebab-case`.
|
||||
4. Copy the contents of the [`template`](../template/) folder into `styles/<name-of-website>`.
|
||||
- **The template uses [LESS](https://lesscss.org/#overview), a preprocessor for Stylus. Please do not change this as we will only accept userstyles based on the template.**
|
||||
5. [Write the userstyle](./tutorials/writing-a-userstyle.md).
|
||||
6. [Edit the `userstyles.yml` file](./userstylesyml.md) and enter the details
|
||||
of your port.
|
||||
6. [Edit the `userstyles.yml` file](./userstylesyml.md) and enter the details of your port.
|
||||
7. Create your image preview.
|
||||
- Take a screenshot of the themed website in each flavor, **with the accent set to `mauve` (the default)**, and then convert all four images [to WebP](../tips/convert-images-to-webp.md) (e.g. `mocha.webp`,
|
||||
`macchiato.webp`, `frappe.webp` & `latte.webp`).
|
||||
- Use [Catwalk](https://github.com/catppuccin/catwalk) to generate a
|
||||
composite or grid image of all the images. **This must be saved as
|
||||
`styles/<name-of-website>/preview.webp`.**
|
||||
8. Raise a [pull request](https://github.com/catppuccin/userstyles/compare),
|
||||
making sure to read and fill out the template properly. The title of your pull request should follow the format of `feat(<port-name>): init`.
|
||||
- Take a screenshot of the themed website in each flavor, **with the accent set to `mauve` (the default)**, and then convert all four images [to WebP](../tips/convert-images-to-webp.md) (e.g. `mocha.webp`, `macchiato.webp`, `frappe.webp` & `latte.webp`).
|
||||
- Use [Catwalk](https://github.com/catppuccin/catwalk) to generate a composite or grid image of all the images. **This must be saved as `styles/<name-of-website>/preview.webp`.**
|
||||
8. Raise a [pull request](https://github.com/catppuccin/userstyles/compare), making sure to read and fill out the template properly. The title of your pull request should follow the format of `feat(<port-name>): init`.
|
||||
+1
-21
@@ -30,7 +30,7 @@ The [`userstyles.yml`](https://github.com/catppuccin/userstyles/tree/main/script
|
||||
current-maintainers: [*<github-username>]
|
||||
```
|
||||
|
||||
**All Fields:**
|
||||
**Optional Fields:**
|
||||
|
||||
The `readme.usage` and `readme.faq` fields allow for additional information about the port to be included on the README.
|
||||
|
||||
@@ -38,26 +38,6 @@ The [`userstyles.yml`](https://github.com/catppuccin/userstyles/tree/main/script
|
||||
|
||||
The `past-maintainers` field contains a list of maintainers who have maintained the port in the past. We encourage all maintainers to add/remove themselves from this list as they see fit.
|
||||
|
||||
Remember that these 4 fields are **optional**.
|
||||
|
||||
```yaml
|
||||
<port>:
|
||||
name: <name>
|
||||
categories: [<primary-category>, <optional-secondary-category>, <optional-third-category>]
|
||||
color: <color>
|
||||
icon: <icon> # OPTIONAL
|
||||
readme:
|
||||
app-link: "<url>"
|
||||
usage: |+ # OPTIONAL
|
||||
> [!NOTE]
|
||||
> <your notes>
|
||||
faq: # OPTIONAL
|
||||
- question: <question>
|
||||
answer: <answer>
|
||||
current-maintainers: [*<github-username>]
|
||||
past-maintainers: [*<github-username>] # OPTIONAL
|
||||
```
|
||||
|
||||
## Adding yourself as a maintainer
|
||||
|
||||
1. Add a new entry to the end of the `collaborators` array in the `userstyles.yml` file. The entry should be made under your GitHub username, and may optionally contain the `name` (your preferred name) and `url` fields. The following example shows a new entry for a user "Pepperjack".
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
|
||||
<p align="center">
|
||||
<a href="https://github.com/catppuccin/userstyles/issues?q=is%3Aissue+is%3Aopen+label%3A{{ slug }}"><img src="https://img.shields.io/github/issues/catppuccin/userstyles/{{ slug }}?colorA=363a4f&colorB=f5a97f&style=for-the-badge"></a>
|
||||
<a href="https://raw.githubusercontent.com/catppuccin/userstyles/main/styles/{{ slug }}/catppuccin.user.css"><img src="https://img.shields.io/badge/stylus-install-cba6f7?colorA=363a4f&style=for-the-badge"></a>
|
||||
<a href="https://raw.githubusercontent.com/catppuccin/userstyles/main/styles/{{ slug }}/catppuccin.user.less"><img src="https://img.shields.io/badge/stylus-install-cba6f7?colorA=363a4f&style=for-the-badge"></a>
|
||||
</p>
|
||||
|
||||
<p align="center">
|
||||
|
||||
@@ -7,7 +7,7 @@ import core from "@actions/core";
|
||||
import { log } from "@/logger.ts";
|
||||
|
||||
const requiredFiles = [
|
||||
"catppuccin.user.css",
|
||||
"catppuccin.user.less",
|
||||
"preview.webp",
|
||||
];
|
||||
|
||||
|
||||
@@ -14,10 +14,10 @@ import stylelintConfig from "../../.stylelintrc.js";
|
||||
|
||||
const args = parseArgs(Deno.args, { boolean: ["fix"] });
|
||||
const userstyle = args._[0]?.toString().match(
|
||||
/(?<base>styles\/)?(?<userstyle>[a-z0-9_\.]+)(?<trailing>\/)?(?<file>catppuccin\.user\.css)?/,
|
||||
/(?<base>styles\/)?(?<userstyle>[a-z0-9_\.]+)(?<trailing>\/)?(?<file>catppuccin\.user\.less)?/,
|
||||
)?.groups?.userstyle;
|
||||
const stylesheets = userstyle
|
||||
? [path.join(REPO_ROOT, "styles", userstyle, "catppuccin.user.css")]
|
||||
? [path.join(REPO_ROOT, "styles", userstyle, "catppuccin.user.less")]
|
||||
: getUserstylesFiles();
|
||||
|
||||
const { userstyles } = getUserstylesData();
|
||||
|
||||
@@ -75,11 +75,20 @@ export async function verifyMetadata(
|
||||
startLine: line !== 0 ? line : undefined,
|
||||
content,
|
||||
});
|
||||
|
||||
if (fix) {
|
||||
content = content.replace(
|
||||
`${atKey} ${current}`,
|
||||
`${atKey} ${expected}`,
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Deno.writeTextFileSync(file, content);
|
||||
|
||||
const template = (await Deno.readTextFile(
|
||||
path.join(REPO_ROOT, "template/catppuccin.user.css"),
|
||||
path.join(REPO_ROOT, "template/catppuccin.user.less"),
|
||||
))
|
||||
.split("\n");
|
||||
|
||||
@@ -169,7 +178,7 @@ function generateAssertions(userstyle: string, userstyles: Userstyles) {
|
||||
: userstyles[userstyle].name
|
||||
}`,
|
||||
author: "Catppuccin",
|
||||
updateURL: `${prefix}/raw/main/styles/${userstyle}/catppuccin.user.css`,
|
||||
updateURL: `${prefix}/raw/main/styles/${userstyle}/catppuccin.user.less`,
|
||||
supportURL: `${prefix}/issues?q=is%3Aopen+is%3Aissue+label%3A${userstyle}`,
|
||||
license: "MIT",
|
||||
preprocessor: "less",
|
||||
|
||||
@@ -0,0 +1,65 @@
|
||||
import { getUserstylesFiles } from "@/utils.ts";
|
||||
import { relative } from "@std/path";
|
||||
import { REPO_ROOT } from "@/constants.ts";
|
||||
|
||||
const METADATA_ENDING_COMMENT = "==/UserStyle== */";
|
||||
|
||||
for (const userstyle of getUserstylesFiles()) {
|
||||
const content = Deno.readTextFileSync(userstyle);
|
||||
|
||||
const start = content.indexOf(METADATA_ENDING_COMMENT);
|
||||
if (start === -1) {
|
||||
throw new Error("Userstyle metadata ending comment not found");
|
||||
}
|
||||
const metadata = content.slice(0, start + METADATA_ENDING_COMMENT.length);
|
||||
|
||||
const oldPath = userstyle.replace(/\.less$/, ".css");
|
||||
const relativeOldPath = relative(REPO_ROOT, oldPath);
|
||||
const relativeNewPath = relative(REPO_ROOT, userstyle);
|
||||
const updateURLPrefix =
|
||||
"@updateURL https://github.com/catppuccin/userstyles/raw/main/";
|
||||
|
||||
let newContent = metadata.replace(
|
||||
updateURLPrefix + relativeOldPath,
|
||||
updateURLPrefix + relativeNewPath,
|
||||
);
|
||||
const newContentLines = newContent.split("\n");
|
||||
const nameVarLine = newContentLines.findIndex((line) =>
|
||||
line.startsWith("@name")
|
||||
);
|
||||
if (nameVarLine === -1) {
|
||||
throw new Error("Userstyle name variable not found");
|
||||
}
|
||||
newContentLines[nameVarLine] += " [STUB | UPDATE REQUIRED]";
|
||||
newContent = newContentLines.join("\n");
|
||||
|
||||
Deno.writeTextFileSync(
|
||||
userstyle.replace(/\.less$/, ".css"),
|
||||
newContent,
|
||||
);
|
||||
|
||||
// Bump once for update to stub.
|
||||
execBumpTask(relativeOldPath);
|
||||
|
||||
// Bump twice so that version is higher than stub.
|
||||
execBumpTask(relativeNewPath);
|
||||
execBumpTask(relativeNewPath);
|
||||
}
|
||||
|
||||
async function execBumpTask(file: string) {
|
||||
const bumpTask = new Deno.Command(
|
||||
Deno.execPath(),
|
||||
{
|
||||
args: [
|
||||
"task",
|
||||
"bump",
|
||||
file,
|
||||
],
|
||||
},
|
||||
);
|
||||
|
||||
const output = await bumpTask.output();
|
||||
if (output.success === false) {
|
||||
throw new Error(new TextDecoder().decode(output.stderr));
|
||||
}
|
||||
}
|
||||
@@ -15,7 +15,13 @@
|
||||
"type": "object",
|
||||
"description": "The directory of the userstyle.",
|
||||
"examples": ["youtube"],
|
||||
"required": ["name", "categories", "readme", "color", "current-maintainers"],
|
||||
"required": [
|
||||
"name",
|
||||
"categories",
|
||||
"readme",
|
||||
"color",
|
||||
"current-maintainers"
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"name": {
|
||||
|
||||
+115
-112
@@ -172,14 +172,14 @@ userstyles:
|
||||
categories: [productivity, discussion_forum]
|
||||
color: sapphire
|
||||
readme:
|
||||
app-link: "https://alternativeto.net"
|
||||
app-link: https://alternativeto.net
|
||||
current-maintainers: [*thismoon]
|
||||
amplenote:
|
||||
name: Amplenote
|
||||
categories: [productivity]
|
||||
color: blue
|
||||
readme:
|
||||
app-link: "https://www.amplenote.com"
|
||||
app-link: https://www.amplenote.com
|
||||
current-maintainers: [*stellophiliac]
|
||||
anilist:
|
||||
name: ["AniList", "AniChart"]
|
||||
@@ -187,7 +187,7 @@ userstyles:
|
||||
icon: anilist
|
||||
color: sky
|
||||
readme:
|
||||
app-link: ["https://anilist.co", "https://anichart.net"]
|
||||
app-link: [https://anilist.co, https://anichart.net]
|
||||
usage: |+
|
||||
> [!NOTE]
|
||||
> This theme applies to [AniChart](https://anichart.net/) as well, which is an extension of AniList.
|
||||
@@ -198,7 +198,7 @@ userstyles:
|
||||
icon: archlinux
|
||||
color: blue
|
||||
readme:
|
||||
app-link: "https://wiki.archlinux.org/"
|
||||
app-link: https://wiki.archlinux.org
|
||||
usage: "Make sure to use the default **Light** theme"
|
||||
current-maintainers: []
|
||||
past-maintainers: [*genshibe]
|
||||
@@ -207,7 +207,7 @@ userstyles:
|
||||
categories: [development]
|
||||
color: text
|
||||
readme:
|
||||
app-link: "https://boringproxy.io"
|
||||
app-link: https://boringproxy.io
|
||||
current-maintainers: [*gandalf-the-blue]
|
||||
brave-search:
|
||||
name: Brave Search
|
||||
@@ -215,7 +215,7 @@ userstyles:
|
||||
icon: brave
|
||||
color: peach
|
||||
readme:
|
||||
app-link: "https://search.brave.com"
|
||||
app-link: https://search.brave.com
|
||||
usage: "Make sure to set the theme to either dark or light in Brave Search settings, as the automatic setting will not work."
|
||||
current-maintainers: [*ndsboy]
|
||||
bsky:
|
||||
@@ -224,14 +224,14 @@ userstyles:
|
||||
icon: bluesky
|
||||
color: blue
|
||||
readme:
|
||||
app-link: "https://bsky.app"
|
||||
app-link: https://bsky.app
|
||||
current-maintainers: [*rooot]
|
||||
bstats:
|
||||
name: bStats
|
||||
categories: [game, entertainment]
|
||||
color: green
|
||||
readme:
|
||||
app-link: "https://bstats.org"
|
||||
app-link: https://bstats.org
|
||||
usage: "Make sure to use the default **Teal** theme from the built-in color picker (located at the bottom of the page) for the best experience!"
|
||||
current-maintainers: [*rockquiet]
|
||||
canvas-lms:
|
||||
@@ -240,7 +240,7 @@ userstyles:
|
||||
icon: canvas
|
||||
color: red
|
||||
readme:
|
||||
app-link: "https://www.instructure.com/canvas"
|
||||
app-link: https://www.instructure.com/canvas
|
||||
current-maintainers: []
|
||||
past-maintainers: [*thememesniper]
|
||||
chatgpt:
|
||||
@@ -249,7 +249,7 @@ userstyles:
|
||||
icon: openai
|
||||
color: green
|
||||
readme:
|
||||
app-link: "https://chat.openai.com"
|
||||
app-link: https://chat.openai.com
|
||||
current-maintainers: [*uncenter]
|
||||
past-maintainers: [*rubyowo]
|
||||
chatreplay:
|
||||
@@ -257,7 +257,7 @@ userstyles:
|
||||
categories: [entertainment, social_networking]
|
||||
color: peach
|
||||
readme:
|
||||
app-link: "https://chatreplay.stream"
|
||||
app-link: https://chatreplay.stream
|
||||
current-maintainers: [*anubisnekhet]
|
||||
chess.com:
|
||||
name: Chess.com
|
||||
@@ -265,7 +265,7 @@ userstyles:
|
||||
icon: chessdotcom
|
||||
color: green
|
||||
readme:
|
||||
app-link: "https://chess.com"
|
||||
app-link: https://chess.com
|
||||
current-maintainers: []
|
||||
past-maintainers: [*skelebro1, *isabelroses, *coldenate]
|
||||
cinny:
|
||||
@@ -273,7 +273,7 @@ userstyles:
|
||||
categories: [social_networking]
|
||||
color: text
|
||||
readme:
|
||||
app-link: "https://cinny.in"
|
||||
app-link: https://cinny.in
|
||||
current-maintainers: [*jn-sena]
|
||||
codeberg:
|
||||
name: Codeberg
|
||||
@@ -281,7 +281,7 @@ userstyles:
|
||||
icon: codeberg
|
||||
color: blue
|
||||
readme:
|
||||
app-link: "https://codeberg.org"
|
||||
app-link: https://codeberg.org
|
||||
current-maintainers: [*isabelroses]
|
||||
past-maintainers: [*justtobbi]
|
||||
cobalt:
|
||||
@@ -289,7 +289,7 @@ userstyles:
|
||||
categories: [productivity, photo_and_video]
|
||||
color: text
|
||||
readme:
|
||||
app-link: "https://cobalt.tools"
|
||||
app-link: https://cobalt.tools
|
||||
current-maintainers: [*kerichdev]
|
||||
crates.io:
|
||||
name: crates.io
|
||||
@@ -297,7 +297,7 @@ userstyles:
|
||||
icon: rust
|
||||
color: yellow
|
||||
readme:
|
||||
app-link: "https://crates.io"
|
||||
app-link: https://crates.io
|
||||
current-maintainers: [*uncenter]
|
||||
crowdin:
|
||||
name: Crowdin
|
||||
@@ -305,7 +305,7 @@ userstyles:
|
||||
icon: crowdin
|
||||
color: text
|
||||
readme:
|
||||
app-link: "https://crowdin.com"
|
||||
app-link: https://crowdin.com
|
||||
current-maintainers: [*ryanccn]
|
||||
deepl:
|
||||
name: DeepL
|
||||
@@ -313,7 +313,7 @@ userstyles:
|
||||
icon: deepl
|
||||
color: blue
|
||||
readme:
|
||||
app-link: "https://deepl.com"
|
||||
app-link: https://deepl.com
|
||||
current-maintainers: [*watatomo]
|
||||
docs.rs:
|
||||
name: docs.rs
|
||||
@@ -321,7 +321,7 @@ userstyles:
|
||||
icon: docsdotrs
|
||||
color: yellow
|
||||
readme:
|
||||
app-link: "https://docs.rs"
|
||||
app-link: https://docs.rs
|
||||
current-maintainers: [*uncenter]
|
||||
duckduckgo:
|
||||
name: DuckDuckGo
|
||||
@@ -329,21 +329,21 @@ userstyles:
|
||||
icon: duckduckgo
|
||||
color: peach
|
||||
readme:
|
||||
app-link: "https://duckduckgo.com"
|
||||
app-link: https://duckduckgo.com
|
||||
current-maintainers: [*genshibe]
|
||||
ecosia:
|
||||
name: Ecosia
|
||||
categories: [search_engine]
|
||||
color: green
|
||||
readme:
|
||||
app-link: "https://www.ecosia.org"
|
||||
app-link: https://www.ecosia.org
|
||||
current-maintainers: [*isabelroses]
|
||||
elk:
|
||||
name: Elk
|
||||
categories: [social_networking]
|
||||
color: peach
|
||||
readme:
|
||||
app-link: "https://elk.zone"
|
||||
app-link: https://elk.zone
|
||||
current-maintainers: [*ryanccn]
|
||||
freedesktop:
|
||||
name: freedesktop.org
|
||||
@@ -351,21 +351,21 @@ userstyles:
|
||||
icon: freedesktopdotorg
|
||||
color: blue
|
||||
readme:
|
||||
app-link: "https://www.freedesktop.org"
|
||||
app-link: https://www.freedesktop.org
|
||||
current-maintainers: [*NK308]
|
||||
formative:
|
||||
name: Formative
|
||||
categories: [education, productivity]
|
||||
color: blue
|
||||
readme:
|
||||
app-link: "https://app.formative.com/home"
|
||||
app-link: https://app.formative.com/home
|
||||
current-maintainers: [*r58Playz]
|
||||
ghostty.org:
|
||||
name: Ghostty.org
|
||||
categories: [terminal, wiki]
|
||||
color: blue
|
||||
readme:
|
||||
app-link: "https://ghostty.org"
|
||||
app-link: https://ghostty.org
|
||||
current-maintainers: [*uncenter]
|
||||
github:
|
||||
name: GitHub
|
||||
@@ -374,7 +374,7 @@ userstyles:
|
||||
color: text
|
||||
readme:
|
||||
usage: "Switch to a default GitHub light/dark theme via **Settings** > **Appearance** for the best experience!"
|
||||
app-link: "https://github.com"
|
||||
app-link: https://github.com
|
||||
current-maintainers: [*uncenter]
|
||||
past-maintainers: [*unseen-ninja, *pocco81, *glowingumbreon]
|
||||
gmail:
|
||||
@@ -384,7 +384,7 @@ userstyles:
|
||||
color: peach
|
||||
readme:
|
||||
usage: "Switch to the default dark theme via the **Settings** > **Themes** > **View all** for the best experience!"
|
||||
app-link: "https://mail.google.com"
|
||||
app-link: https://mail.google.com
|
||||
current-maintainers: [*uncenter]
|
||||
past-maintainers: [*isabelroses]
|
||||
go.dev:
|
||||
@@ -393,7 +393,7 @@ userstyles:
|
||||
icon: go
|
||||
color: sapphire
|
||||
readme:
|
||||
app-link: "https://go.dev"
|
||||
app-link: https://go.dev
|
||||
current-maintainers: [*Flapperoo]
|
||||
google:
|
||||
name: Google
|
||||
@@ -401,7 +401,7 @@ userstyles:
|
||||
icon: google
|
||||
color: sapphire
|
||||
readme:
|
||||
app-link: "https://google.com"
|
||||
app-link: https://google.com
|
||||
current-maintainers: []
|
||||
google-drive:
|
||||
name: Google Drive
|
||||
@@ -409,7 +409,7 @@ userstyles:
|
||||
icon: googledrive
|
||||
color: blue
|
||||
readme:
|
||||
app-link: "https://drive.google.com"
|
||||
app-link: https://drive.google.com
|
||||
current-maintainers: [*r58Playz]
|
||||
google-photos:
|
||||
name: Google Photos
|
||||
@@ -417,14 +417,14 @@ userstyles:
|
||||
icon: googlephotos
|
||||
color: sapphire
|
||||
readme:
|
||||
app-link: "https://photos.google.com"
|
||||
app-link: https://photos.google.com
|
||||
current-maintainers: [*genshibe]
|
||||
grabify:
|
||||
name: Grabify
|
||||
categories: [development, productivity]
|
||||
color: teal
|
||||
readme:
|
||||
app-link: "https://grabify.link"
|
||||
app-link: https://grabify.link
|
||||
current-maintainers: [*trinkey]
|
||||
graphite:
|
||||
name: Graphite
|
||||
@@ -432,7 +432,7 @@ userstyles:
|
||||
icon: graphite
|
||||
color: text
|
||||
readme:
|
||||
app-link: "https://app.graphite.dev"
|
||||
app-link: https://app.graphite.dev
|
||||
current-maintainers: [*isabelroses]
|
||||
google-gemini:
|
||||
name: Google Gemini
|
||||
@@ -440,7 +440,7 @@ userstyles:
|
||||
icon: googlegemini
|
||||
color: mauve
|
||||
readme:
|
||||
app-link: "https://gemini.google.com"
|
||||
app-link: https://gemini.google.com
|
||||
current-maintainers: [*Dandraghas]
|
||||
hackage:
|
||||
name: Hackage
|
||||
@@ -448,7 +448,7 @@ userstyles:
|
||||
icon: haskell
|
||||
color: mauve
|
||||
readme:
|
||||
app-link: "https://hackage.haskell.org"
|
||||
app-link: https://hackage.haskell.org
|
||||
current-maintainers: [*jn-sena]
|
||||
hacker-news:
|
||||
name: Hacker News
|
||||
@@ -456,21 +456,21 @@ userstyles:
|
||||
icon: ycombinator
|
||||
color: peach
|
||||
readme:
|
||||
app-link: "https://news.ycombinator.com"
|
||||
app-link: https://news.ycombinator.com
|
||||
current-maintainers: [*lucasmelin]
|
||||
have-i-been-pwned:
|
||||
name: Have I Been Pwned
|
||||
categories: [productivity]
|
||||
color: blue
|
||||
readme:
|
||||
app-link: "https://haveibeenpwned.com"
|
||||
app-link: https://haveibeenpwned.com
|
||||
current-maintainers: [*trinkey]
|
||||
holodex:
|
||||
name: Holodex
|
||||
categories: [entertainment, social_networking, photo_and_video]
|
||||
color: pink
|
||||
readme:
|
||||
app-link: "https://holodex.net"
|
||||
app-link: https://holodex.net
|
||||
usage: |+
|
||||
> [!NOTE]
|
||||
> Holodex's selected theme is ignored.
|
||||
@@ -480,14 +480,14 @@ userstyles:
|
||||
categories: [development]
|
||||
color: blue
|
||||
readme:
|
||||
app-link: "https://home-manager-options.extranix.com"
|
||||
app-link: https://home-manager-options.extranix.com
|
||||
current-maintainers: [*uncenter]
|
||||
homepage:
|
||||
name: homepage
|
||||
categories: [productivity]
|
||||
color: sky
|
||||
readme:
|
||||
app-link: "https://github.com/benphelps/homepage"
|
||||
app-link: https://github.com/benphelps/homepage
|
||||
current-maintainers: [*gandalf-the-blue]
|
||||
hoogle:
|
||||
name: Hoogle
|
||||
@@ -495,7 +495,7 @@ userstyles:
|
||||
icon: haskell
|
||||
color: mauve
|
||||
readme:
|
||||
app-link: "https://hoogle.haskell.org"
|
||||
app-link: https://hoogle.haskell.org
|
||||
current-maintainers: [*jn-sena]
|
||||
hoppscotch:
|
||||
name: Hoppscotch
|
||||
@@ -503,28 +503,28 @@ userstyles:
|
||||
icon: hoppscotch
|
||||
color: green
|
||||
readme:
|
||||
app-link: "https://hoppscotch.io/"
|
||||
app-link: https://hoppscotch.io
|
||||
current-maintainers: [*justtobbi]
|
||||
learn-x-in-y-minutes:
|
||||
name: Learn X in Y Minutes
|
||||
categories: [development, wiki]
|
||||
color: blue
|
||||
readme:
|
||||
app-link: "https://learnxinyminutes.com/"
|
||||
app-link: https://learnxinyminutes.com
|
||||
current-maintainers: [*nikitarevenco]
|
||||
hyperpipe:
|
||||
name: Hyperpipe
|
||||
categories: [music]
|
||||
color: teal
|
||||
readme:
|
||||
app-link: "https://hyperpipe.surge.sh/"
|
||||
app-link: https://hyperpipe.surge.sh
|
||||
current-maintainers: [*jn-sena]
|
||||
ichi.moe:
|
||||
name: ichi.moe
|
||||
categories: [translation_tool, productivity]
|
||||
color: pink
|
||||
readme:
|
||||
app-link: "https://ichi.moe"
|
||||
app-link: https://ichi.moe
|
||||
current-maintainers: [*watatomo]
|
||||
inoreader:
|
||||
name: inoreader
|
||||
@@ -532,14 +532,14 @@ userstyles:
|
||||
icon: inoreader
|
||||
color: blue
|
||||
readme:
|
||||
app-link: "https://inoreader.com"
|
||||
app-link: https://inoreader.com
|
||||
current-maintainers: [*thomas-philippot]
|
||||
indie-wiki-buddy:
|
||||
name: Indie Wiki Buddy
|
||||
categories: [browser_extension]
|
||||
color: blue
|
||||
readme:
|
||||
app-link: "https://getindie.wiki/"
|
||||
app-link: https://getindie.wiki
|
||||
current-maintainers: [*thismoon]
|
||||
instagram:
|
||||
name: Instagram
|
||||
@@ -547,7 +547,7 @@ userstyles:
|
||||
icon: instagram
|
||||
color: pink
|
||||
readme:
|
||||
app-link: "https://instagram.com"
|
||||
app-link: https://instagram.com
|
||||
current-maintainers: [*genshibe]
|
||||
past-maintainers: [*isabelroses]
|
||||
invidious:
|
||||
@@ -556,7 +556,7 @@ userstyles:
|
||||
icon: youtube
|
||||
color: red
|
||||
readme:
|
||||
app-link: "https://invidious.io"
|
||||
app-link: https://invidious.io
|
||||
current-maintainers: []
|
||||
past-maintainers: [*unseen-ninja, *winston]
|
||||
invokeai:
|
||||
@@ -564,28 +564,28 @@ userstyles:
|
||||
categories: [artificial_intelligence, productivity]
|
||||
color: yellow
|
||||
readme:
|
||||
app-link: "https://invoke-ai.github.io/InvokeAI"
|
||||
app-link: https://invoke-ai.github.io/InvokeAI
|
||||
current-maintainers: [*ryanccn]
|
||||
jisho:
|
||||
name: Jisho
|
||||
categories: [translation_tool]
|
||||
color: green
|
||||
readme:
|
||||
app-link: "https://jisho.org"
|
||||
app-link: https://jisho.org
|
||||
current-maintainers: [*Lichthagel]
|
||||
keybr.com:
|
||||
name: keybr.com
|
||||
categories: [productivity]
|
||||
color: text
|
||||
readme:
|
||||
app-link: "https://keybr.com"
|
||||
app-link: https://keybr.com
|
||||
current-maintainers: [*TadoTheMiner]
|
||||
keyoxide:
|
||||
name: Keyoxide
|
||||
categories: [development]
|
||||
color: mauve
|
||||
readme:
|
||||
app-link: "https://keyoxide.org"
|
||||
app-link: https://keyoxide.org
|
||||
current-maintainers: [*uncenter]
|
||||
lastfm:
|
||||
name: Last.fm
|
||||
@@ -593,7 +593,7 @@ userstyles:
|
||||
icon: lastdotfm
|
||||
color: red
|
||||
readme:
|
||||
app-link: "https://last.fm"
|
||||
app-link: https://last.fm
|
||||
current-maintainers: [*anubisnekhet]
|
||||
past-maintainers: [*gingeh]
|
||||
lemmy:
|
||||
@@ -602,7 +602,7 @@ userstyles:
|
||||
icon: lemmy
|
||||
color: green
|
||||
readme:
|
||||
app-link: "https://lemmy.world"
|
||||
app-link: https://lemmy.world
|
||||
current-maintainers: [*gandalf-the-blue]
|
||||
libreddit:
|
||||
name: ["Libreddit", "Redlib"]
|
||||
@@ -610,7 +610,10 @@ userstyles:
|
||||
icon: reddit
|
||||
color: peach
|
||||
readme:
|
||||
app-link: ["https://github.com/libreddit/libreddit", "https://github.com/redlib-org/redlib"]
|
||||
app-link: [
|
||||
https://github.com/libreddit/libreddit,
|
||||
https://github.com/redlib-org/redlib,
|
||||
]
|
||||
current-maintainers: []
|
||||
past-maintainers: [*unseen-ninja]
|
||||
lichess:
|
||||
@@ -620,14 +623,14 @@ userstyles:
|
||||
color: text
|
||||
readme:
|
||||
usage: "Switch to a default Lichess light/dark theme via **Username** > **Background** for the best experience!"
|
||||
app-link: "https://lichess.org/"
|
||||
app-link: https://lichess.org
|
||||
current-maintainers: [*coopw1]
|
||||
lingva:
|
||||
name: Lingva
|
||||
categories: [translation_tool, productivity]
|
||||
color: green
|
||||
readme:
|
||||
app-link: "https://github.com/thedaviddelta/lingva-translate"
|
||||
app-link: https://github.com/thedaviddelta/lingva-translate
|
||||
current-maintainers: [*rubyowo]
|
||||
linkedin:
|
||||
name: LinkedIn
|
||||
@@ -635,7 +638,7 @@ userstyles:
|
||||
icon: linkedin
|
||||
color: blue
|
||||
readme:
|
||||
app-link: "https://www.linkedin.com"
|
||||
app-link: https://www.linkedin.com
|
||||
current-maintainers: [*isabelroses]
|
||||
listenbrainz:
|
||||
name: ListenBrainz
|
||||
@@ -643,7 +646,7 @@ userstyles:
|
||||
icon: musicbrainz
|
||||
color: peach
|
||||
readme:
|
||||
app-link: 'https://listenbrainz.org'
|
||||
app-link: https://listenbrainz.org
|
||||
current-maintainers: [*00dani]
|
||||
lobste.rs:
|
||||
name: Lobsters
|
||||
@@ -651,7 +654,7 @@ userstyles:
|
||||
icon: lobsters
|
||||
color: red
|
||||
readme:
|
||||
app-link: 'https://lobste.rs'
|
||||
app-link: https://lobste.rs
|
||||
current-maintainers: [*steinuil]
|
||||
mastodon:
|
||||
name: Mastodon
|
||||
@@ -659,7 +662,7 @@ userstyles:
|
||||
icon: mastodon
|
||||
color: lavender
|
||||
readme:
|
||||
app-link: "https://github.com/mastodon/mastodon"
|
||||
app-link: https://github.com/mastodon/mastodon
|
||||
faq:
|
||||
- question: "**The theme does not look the same as the preview?**"
|
||||
answer: "Your Mastodon instance may be using its own custom CSS, which is changing the look of the theme."
|
||||
@@ -671,7 +674,7 @@ userstyles:
|
||||
icon: mdbook
|
||||
color: text
|
||||
readme:
|
||||
app-link: "https://rust-lang.github.io/mdBook/"
|
||||
app-link: https://rust-lang.github.io/mdBook/
|
||||
current-maintainers: [*uncenter]
|
||||
mdn:
|
||||
name: MDN
|
||||
@@ -679,7 +682,7 @@ userstyles:
|
||||
icon: mdnwebdocs
|
||||
color: text
|
||||
readme:
|
||||
app-link: "https://developer.mozilla.org"
|
||||
app-link: https://developer.mozilla.org
|
||||
current-maintainers: [*soya-daizu]
|
||||
modrinth:
|
||||
name: Modrinth
|
||||
@@ -687,7 +690,7 @@ userstyles:
|
||||
icon: modrinth
|
||||
color: green
|
||||
readme:
|
||||
app-link: "https://modrinth.com"
|
||||
app-link: https://modrinth.com
|
||||
current-maintainers: [*thismoon]
|
||||
microsoft-word:
|
||||
name: Microsoft Word
|
||||
@@ -695,7 +698,7 @@ userstyles:
|
||||
icon: microsoftword
|
||||
color: blue
|
||||
readme:
|
||||
app-link: "https://office.com"
|
||||
app-link: https://office.com
|
||||
current-maintainers: []
|
||||
migadu-webmail:
|
||||
name: Migadu Webmail
|
||||
@@ -703,7 +706,7 @@ userstyles:
|
||||
icon: migadu
|
||||
color: blue
|
||||
readme:
|
||||
app-link: https://webmail.migadu.com/
|
||||
app-link: https://webmail.migadu.com
|
||||
usage: |+
|
||||
> [!NOTE]
|
||||
> Set Migadu Webmail's built-in theme to 'Migadu' for the optimal experience.
|
||||
@@ -713,7 +716,7 @@ userstyles:
|
||||
categories: [game]
|
||||
color: text
|
||||
readme:
|
||||
app-link: "https://minesweeper.online"
|
||||
app-link: https://minesweeper.online
|
||||
current-maintainers: []
|
||||
namemc:
|
||||
name: NameMC
|
||||
@@ -721,7 +724,7 @@ userstyles:
|
||||
icon: namemc
|
||||
color: blue
|
||||
readme:
|
||||
app-link: "https://namemc.com/"
|
||||
app-link: https://namemc.com
|
||||
current-maintainers: [*nyatalieeee]
|
||||
nitter:
|
||||
name: Nitter
|
||||
@@ -729,7 +732,7 @@ userstyles:
|
||||
icon: twitter
|
||||
color: blue
|
||||
readme:
|
||||
app-link: "https://nitter.net"
|
||||
app-link: https://nitter.net
|
||||
current-maintainers: [*anubisnekhet]
|
||||
nixos-manual:
|
||||
name: ["NixOS Manual", "Nixpkgs Manual"]
|
||||
@@ -747,7 +750,7 @@ userstyles:
|
||||
icon: nixos
|
||||
color: blue
|
||||
readme:
|
||||
app-link: "https://search.nixos.org"
|
||||
app-link: https://search.nixos.org
|
||||
current-maintainers: [*cecelot]
|
||||
wiki.nixos.org:
|
||||
name: NixOS Wiki
|
||||
@@ -755,7 +758,7 @@ userstyles:
|
||||
icon: nixos
|
||||
color: blue
|
||||
readme:
|
||||
app-link: "wiki.nixos.org"
|
||||
app-link: https://wiki.nixos.org
|
||||
current-maintainers: [*orangci]
|
||||
past-maintainers: [*winston]
|
||||
npm:
|
||||
@@ -764,14 +767,14 @@ userstyles:
|
||||
icon: npm
|
||||
color: red
|
||||
readme:
|
||||
app-link: "https://www.npmjs.com/"
|
||||
app-link: https://www.npmjs.com
|
||||
current-maintainers: [*uncenter]
|
||||
ollama:
|
||||
name: Ollama
|
||||
categories: [development]
|
||||
color: text
|
||||
readme:
|
||||
app-link: "https://ollama.com"
|
||||
app-link: https://ollama.com
|
||||
current-maintainers: [*neongamerbot]
|
||||
openmediavault:
|
||||
name: openmediavault
|
||||
@@ -779,7 +782,7 @@ userstyles:
|
||||
icon: openmediavault
|
||||
color: sky
|
||||
readme:
|
||||
app-link: "https://www.openmediavault.org/"
|
||||
app-link: https://www.openmediavault.org
|
||||
current-maintainers: [*gandalf-the-blue]
|
||||
paste.rs:
|
||||
name: paste.rs
|
||||
@@ -787,7 +790,7 @@ userstyles:
|
||||
icon: pastebin
|
||||
color: peach
|
||||
readme:
|
||||
app-link: "https://paste.rs"
|
||||
app-link: https://paste.rs
|
||||
current-maintainers: [*Guaxinim5573]
|
||||
past-maintainers: [*stonks3141]
|
||||
perplexity:
|
||||
@@ -796,7 +799,7 @@ userstyles:
|
||||
icon: perplexity
|
||||
color: teal
|
||||
readme:
|
||||
app-link: "https://www.perplexity.ai"
|
||||
app-link: https://www.perplexity.ai
|
||||
current-maintainers: [*tnixc]
|
||||
past-maintainers: [*isabelroses]
|
||||
phanpy:
|
||||
@@ -804,7 +807,7 @@ userstyles:
|
||||
categories: [social_networking, entertainment]
|
||||
color: blue
|
||||
readme:
|
||||
app-link: "https://phanpy.social"
|
||||
app-link: https://phanpy.social
|
||||
current-maintainers: [*Guaxinim5573]
|
||||
picrew:
|
||||
name: Picrew
|
||||
@@ -812,7 +815,7 @@ userstyles:
|
||||
icon: picrew
|
||||
color: yellow
|
||||
readme:
|
||||
app-link: "https://picrew.me"
|
||||
app-link: https://picrew.me
|
||||
current-maintainers: [*nyatalieeee]
|
||||
pinterest:
|
||||
name: Pinterest
|
||||
@@ -820,7 +823,7 @@ userstyles:
|
||||
icon: pinterest
|
||||
color: red
|
||||
readme:
|
||||
app-link: "https://www.pinterest.com"
|
||||
app-link: https://www.pinterest.com
|
||||
current-maintainers: []
|
||||
past-maintainers: [*jn-sena]
|
||||
planet-minecraft:
|
||||
@@ -828,7 +831,7 @@ userstyles:
|
||||
categories: [game]
|
||||
color: green
|
||||
readme:
|
||||
app-link: "https://planetminecraft.com"
|
||||
app-link: https://planetminecraft.com
|
||||
current-maintainers: [*nyameliaaaa]
|
||||
porkbun:
|
||||
name: Porkbun
|
||||
@@ -843,7 +846,7 @@ userstyles:
|
||||
categories: [social_networking]
|
||||
color: mauve
|
||||
readme:
|
||||
app-link: "https://pronouns.cc/"
|
||||
app-link: https://pronouns.cc
|
||||
current-maintainers: [*comfysage]
|
||||
past-maintainers: [*neongamerbot]
|
||||
pronouns.page:
|
||||
@@ -852,7 +855,7 @@ userstyles:
|
||||
icon: pronounsdotpage
|
||||
color: pink
|
||||
readme:
|
||||
app-link: "https://pronouns.page/"
|
||||
app-link: https://pronouns.page
|
||||
current-maintainers: [*uncenter]
|
||||
proton:
|
||||
name: Proton
|
||||
@@ -860,7 +863,7 @@ userstyles:
|
||||
icon: protonmail
|
||||
color: mauve
|
||||
readme:
|
||||
app-link: "https://proton.me/"
|
||||
app-link: https://proton.me
|
||||
usage: |+
|
||||
> [!NOTE]
|
||||
> Set Proton Mail's built-in theme to 'Snow' if you're using Latte or 'Carbon' if you're using the others.
|
||||
@@ -870,7 +873,7 @@ userstyles:
|
||||
categories: [development]
|
||||
color: sapphire
|
||||
readme:
|
||||
app-link: "https://pypi.org"
|
||||
app-link: https://pypi.org
|
||||
current-maintainers: [*trinkey]
|
||||
pythonanywhere:
|
||||
name: PythonAnywhere
|
||||
@@ -878,7 +881,7 @@ userstyles:
|
||||
icon: pythonanywhere
|
||||
color: sapphire
|
||||
readme:
|
||||
app-link: "https://pythonanywhere.com"
|
||||
app-link: https://pythonanywhere.com
|
||||
current-maintainers: [*trinkey]
|
||||
quizlet:
|
||||
name: Quizlet
|
||||
@@ -886,14 +889,14 @@ userstyles:
|
||||
icon: quizlet
|
||||
color: mauve
|
||||
readme:
|
||||
app-link: "https://quizlet.com"
|
||||
app-link: https://quizlet.com
|
||||
current-maintainers: [*spaghettiosareyummy]
|
||||
raindrop:
|
||||
name: Raindrop
|
||||
categories: [productivity]
|
||||
color: blue
|
||||
readme:
|
||||
app-link: "https://app.raindrop.io"
|
||||
app-link: https://app.raindrop.io
|
||||
current-maintainers: [*thismoon]
|
||||
reddit:
|
||||
name: Reddit
|
||||
@@ -901,7 +904,7 @@ userstyles:
|
||||
color: red
|
||||
icon: reddit
|
||||
readme:
|
||||
app-link: "https://reddit.com"
|
||||
app-link: https://reddit.com
|
||||
current-maintainers: []
|
||||
past-maintainers: [*jayylmao, *rubyowo]
|
||||
rentry.co:
|
||||
@@ -909,7 +912,7 @@ userstyles:
|
||||
categories: [productivity]
|
||||
color: text
|
||||
readme:
|
||||
app-link: "https://rentry.co/"
|
||||
app-link: https://rentry.co
|
||||
current-maintainers: [*thismoon]
|
||||
searxng:
|
||||
name: SearXNG
|
||||
@@ -917,14 +920,14 @@ userstyles:
|
||||
icon: searxng
|
||||
color: blue
|
||||
readme:
|
||||
app-link: "https://github.com/searxng/searxng"
|
||||
app-link: https://github.com/searxng/searxng
|
||||
current-maintainers: [*sekki21956, *ryanccn]
|
||||
shinigami-eyes:
|
||||
name: Shinigami Eyes
|
||||
categories: [browser_extension, social_networking]
|
||||
color: mauve
|
||||
readme:
|
||||
app-link: "https://shinigami-eyes.github.io"
|
||||
app-link: https://shinigami-eyes.github.io
|
||||
current-maintainers: [*sofiedotcafe]
|
||||
snapchat-web:
|
||||
name: Snapchat Web
|
||||
@@ -932,7 +935,7 @@ userstyles:
|
||||
icon: snapchat
|
||||
color: yellow
|
||||
readme:
|
||||
app-link: "https://web.snapchat.com"
|
||||
app-link: https://web.snapchat.com
|
||||
current-maintainers: [*itzTheMeow]
|
||||
spotify-web:
|
||||
name: Spotify Web
|
||||
@@ -940,7 +943,7 @@ userstyles:
|
||||
icon: spotify
|
||||
color: green
|
||||
readme:
|
||||
app-link: "https://open.spotify.com"
|
||||
app-link: https://open.spotify.com
|
||||
current-maintainers: [*tnixc]
|
||||
stack-overflow:
|
||||
name: Stack Overflow
|
||||
@@ -955,7 +958,7 @@ userstyles:
|
||||
categories: [search_engine]
|
||||
color: lavender
|
||||
readme:
|
||||
app-link: "https://startpage.com"
|
||||
app-link: https://startpage.com
|
||||
current-maintainers: []
|
||||
past-maintainers: [*bartlibert]
|
||||
status.cafe:
|
||||
@@ -963,14 +966,14 @@ userstyles:
|
||||
categories: [social_networking]
|
||||
color: sapphire
|
||||
readme:
|
||||
app-link: "https://status.cafe"
|
||||
app-link: https://status.cafe
|
||||
current-maintainers: [*bunfluff]
|
||||
stylus:
|
||||
name: Stylus
|
||||
categories: [browser_extension]
|
||||
color: teal
|
||||
readme:
|
||||
app-link: "https://github.com/openstyles/stylus"
|
||||
app-link: https://github.com/openstyles/stylus
|
||||
current-maintainers: []
|
||||
substack:
|
||||
name: Substack
|
||||
@@ -978,7 +981,7 @@ userstyles:
|
||||
icon: substack
|
||||
color: peach
|
||||
readme:
|
||||
app-link: "https://substack.com"
|
||||
app-link: https://substack.com
|
||||
current-maintainers: [*uncenter]
|
||||
past-maintainers: [*winston]
|
||||
syncthing:
|
||||
@@ -987,7 +990,7 @@ userstyles:
|
||||
icon: syncthing
|
||||
color: sapphire
|
||||
readme:
|
||||
app-link: "https://syncthing.net"
|
||||
app-link: https://syncthing.net
|
||||
usage: |+
|
||||
> [!NOTE]
|
||||
> This theme is designed to be used with the default WebGUI and default theme provided by Syncthing. This does not theme syncthing.net.
|
||||
@@ -997,7 +1000,7 @@ userstyles:
|
||||
categories: [discussion_forum, entertainment, social_networking]
|
||||
color: text
|
||||
readme:
|
||||
app-link: "https://tabnews.com.br"
|
||||
app-link: https://tabnews.com.br
|
||||
current-maintainers: [*Guaxinim5573]
|
||||
tldraw:
|
||||
name: tldraw
|
||||
@@ -1005,7 +1008,7 @@ userstyles:
|
||||
icon: tldraw
|
||||
color: text
|
||||
readme:
|
||||
app-link: "https://www.tldraw.com"
|
||||
app-link: https://www.tldraw.com
|
||||
usage: |+
|
||||
> [!NOTE]
|
||||
> This theme only changes how the colors appear on the tldraw canvas. Exported graphics **will not be Catppuccin-themed**.
|
||||
@@ -1015,7 +1018,7 @@ userstyles:
|
||||
categories: [development]
|
||||
color: blue
|
||||
readme:
|
||||
app-link: "https://trinket.io"
|
||||
app-link: https://trinket.io
|
||||
current-maintainers: [*trinkey]
|
||||
tuta:
|
||||
name: Tuta
|
||||
@@ -1023,7 +1026,7 @@ userstyles:
|
||||
icon: tutanota
|
||||
color: maroon
|
||||
readme:
|
||||
app-link: "https://tuta.com/"
|
||||
app-link: https://tuta.com
|
||||
usage: |+
|
||||
> [!NOTE]
|
||||
> Set Tuta's built-in theme to either **light** if you're using Latte or **dark** if you're using the others.
|
||||
@@ -1034,7 +1037,7 @@ userstyles:
|
||||
icon: twitch
|
||||
color: mauve
|
||||
readme:
|
||||
app-link: "https://twitch.tv"
|
||||
app-link: https://twitch.tv
|
||||
current-maintainers: [*uncenter, *mxgic1337]
|
||||
twitter:
|
||||
name: Twitter
|
||||
@@ -1042,7 +1045,7 @@ userstyles:
|
||||
color: blue
|
||||
icon: twitter
|
||||
readme:
|
||||
app-link: "https://twitter.com"
|
||||
app-link: https://twitter.com
|
||||
usage: |+
|
||||
> [!NOTE]
|
||||
> Set Twitter's built-in theme to **Lights out** with the blue accent. Also requires the [:has()](https://developer.mozilla.org/en-US/docs/Web/CSS/:has) selector.
|
||||
@@ -1053,7 +1056,7 @@ userstyles:
|
||||
icon: vercel
|
||||
color: text
|
||||
readme:
|
||||
app-link: ["https://vercel.com", "https://nextjs.org"]
|
||||
app-link: [https://vercel.com, https://nextjs.org]
|
||||
usage: |+
|
||||
> [!NOTE]
|
||||
> This theme also applies to the [Next.js](https://nextjs.org/) website.
|
||||
@@ -1063,14 +1066,14 @@ userstyles:
|
||||
categories: [productivity, note_taking]
|
||||
color: blue
|
||||
readme:
|
||||
app-link: "https://vikunja.io"
|
||||
app-link: https://vikunja.io
|
||||
current-maintainers: [*Guaxinim5573]
|
||||
web.dev:
|
||||
name: web.dev
|
||||
categories: [development]
|
||||
color: blue
|
||||
readme:
|
||||
app-link: https://web.dev/
|
||||
app-link: https://web.dev
|
||||
current-maintainers: [*uncenter]
|
||||
whatsapp-web:
|
||||
name: WhatsApp Web
|
||||
@@ -1078,7 +1081,7 @@ userstyles:
|
||||
icon: whatsapp
|
||||
color: green
|
||||
readme:
|
||||
app-link: "https://web.whatsapp.com"
|
||||
app-link: https://web.whatsapp.com
|
||||
current-maintainers: [*francorav]
|
||||
wikipedia:
|
||||
name: Wikipedia
|
||||
@@ -1086,7 +1089,7 @@ userstyles:
|
||||
icon: wikipedia
|
||||
color: text
|
||||
readme:
|
||||
app-link: "https://www.wikipedia.org"
|
||||
app-link: https://www.wikipedia.org
|
||||
current-maintainers: []
|
||||
wikiwand:
|
||||
name: Wikiwand
|
||||
@@ -1094,7 +1097,7 @@ userstyles:
|
||||
icon: wikipedia
|
||||
color: text
|
||||
readme:
|
||||
app-link: "https://www.wikiwand.com"
|
||||
app-link: https://www.wikiwand.com
|
||||
current-maintainers: [*tnixc]
|
||||
youtube:
|
||||
name: YouTube
|
||||
@@ -1102,7 +1105,7 @@ userstyles:
|
||||
icon: youtube
|
||||
color: red
|
||||
readme:
|
||||
app-link: "https://youtube.com"
|
||||
app-link: https://youtube.com
|
||||
faq:
|
||||
- question: "**What does the 'Enable for black bars' option mean?**"
|
||||
answer: "It's available in case you have an OLED display. If you have one, you might want to enable this."
|
||||
|
||||
+3
-1
@@ -143,7 +143,9 @@ export function getUserstylesFiles(): string[] {
|
||||
const files: string[] = [];
|
||||
for (const dir of Deno.readDirSync(path.join(REPO_ROOT, "styles"))) {
|
||||
if (!dir.isDirectory) continue;
|
||||
files.push(path.join(REPO_ROOT, "styles", dir.name, "catppuccin.user.css"));
|
||||
files.push(
|
||||
path.join(REPO_ROOT, "styles", dir.name, "catppuccin.user.less"),
|
||||
);
|
||||
}
|
||||
return files;
|
||||
}
|
||||
|
||||
@@ -1,12 +1,10 @@
|
||||
{
|
||||
deno,
|
||||
mkShellNoCC,
|
||||
nodePackages,
|
||||
...
|
||||
}:
|
||||
mkShellNoCC {
|
||||
packages = [
|
||||
deno
|
||||
nodePackages.prettier
|
||||
];
|
||||
}
|
||||
@@ -1,9 +1,9 @@
|
||||
/* ==UserStyle==
|
||||
@name Advent Of Code Catppuccin
|
||||
@name Advent Of Code Catppuccin [STUB | UPDATE REQUIRED]
|
||||
@namespace github.com/catppuccin/userstyles/styles/advent-of-code
|
||||
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/advent-of-code
|
||||
@version 2024.12.28
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/advent-of-code/catppuccin.user.css
|
||||
@version 2024.12.29
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/advent-of-code/catppuccin.user.less
|
||||
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Aadvent-of-code
|
||||
@description Soothing pastel theme for Advent Of Code
|
||||
@author Catppuccin
|
||||
@@ -13,247 +13,4 @@
|
||||
@var select lightFlavor "Light Flavor" ["latte:Latte*", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha"]
|
||||
@var select darkFlavor "Dark Flavor" ["latte:Latte", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha*"]
|
||||
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
|
||||
==/UserStyle== */
|
||||
|
||||
@-moz-document domain("adventofcode.com") {
|
||||
@media (prefers-color-scheme: light) {
|
||||
:root {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
|
||||
#catppuccin(@lookup, @accent) {
|
||||
@rosewater: @catppuccin[@@lookup][@rosewater];
|
||||
@flamingo: @catppuccin[@@lookup][@flamingo];
|
||||
@pink: @catppuccin[@@lookup][@pink];
|
||||
@mauve: @catppuccin[@@lookup][@mauve];
|
||||
@red: @catppuccin[@@lookup][@red];
|
||||
@maroon: @catppuccin[@@lookup][@maroon];
|
||||
@peach: @catppuccin[@@lookup][@peach];
|
||||
@yellow: @catppuccin[@@lookup][@yellow];
|
||||
@green: @catppuccin[@@lookup][@green];
|
||||
@teal: @catppuccin[@@lookup][@teal];
|
||||
@sky: @catppuccin[@@lookup][@sky];
|
||||
@sapphire: @catppuccin[@@lookup][@sapphire];
|
||||
@blue: @catppuccin[@@lookup][@blue];
|
||||
@lavender: @catppuccin[@@lookup][@lavender];
|
||||
@text: @catppuccin[@@lookup][@text];
|
||||
@subtext1: @catppuccin[@@lookup][@subtext1];
|
||||
@subtext0: @catppuccin[@@lookup][@subtext0];
|
||||
@overlay2: @catppuccin[@@lookup][@overlay2];
|
||||
@overlay1: @catppuccin[@@lookup][@overlay1];
|
||||
@overlay0: @catppuccin[@@lookup][@overlay0];
|
||||
@surface2: @catppuccin[@@lookup][@surface2];
|
||||
@surface1: @catppuccin[@@lookup][@surface1];
|
||||
@surface0: @catppuccin[@@lookup][@surface0];
|
||||
@base: @catppuccin[@@lookup][@base];
|
||||
@mantle: @catppuccin[@@lookup][@mantle];
|
||||
@crust: @catppuccin[@@lookup][@crust];
|
||||
@accent-color: @catppuccin[@@lookup][@@accent];
|
||||
|
||||
color-scheme: if(@lookup = latte, light, dark);
|
||||
|
||||
::selection {
|
||||
background-color: fade(@accent-color, 30%);
|
||||
}
|
||||
|
||||
input,
|
||||
textarea {
|
||||
&::placeholder {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
body {
|
||||
background: @base;
|
||||
color: @text;
|
||||
|
||||
header h1 a,
|
||||
header h1 span {
|
||||
color: @green;
|
||||
text-shadow:
|
||||
0 0 2px @green,
|
||||
0 0 5px @green;
|
||||
}
|
||||
|
||||
a {
|
||||
color: @green;
|
||||
}
|
||||
|
||||
.star-count {
|
||||
color: @yellow;
|
||||
}
|
||||
|
||||
.quiet {
|
||||
color: @subtext0;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.share,
|
||||
.share:hover,
|
||||
input[type="submit"] {
|
||||
color: @green;
|
||||
}
|
||||
|
||||
main {
|
||||
article {
|
||||
em {
|
||||
color: @text;
|
||||
text-shadow: 0 0 5px @text;
|
||||
}
|
||||
|
||||
h2 {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
input[type="radio"]:checked ~ span,
|
||||
input[type="checkbox"]:checked ~ span {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
input[type="radio"] ~ span:hover,
|
||||
input[type="radio"] ~ span:focus,
|
||||
input[type="checkbox"]:hover ~ span,
|
||||
input[type="checkbox"]:focus ~ span {
|
||||
background-color: @crust;
|
||||
}
|
||||
}
|
||||
.supporter-badge {
|
||||
color: @yellow;
|
||||
}
|
||||
|
||||
.supporter-badge:hover {
|
||||
color: @yellow;
|
||||
text-shadow: 0 0 5px @yellow;
|
||||
}
|
||||
|
||||
.sponsor-badge {
|
||||
color: @blue;
|
||||
}
|
||||
|
||||
.sponsor-badge:hover,
|
||||
.sponsor-badge:focus {
|
||||
color: @blue;
|
||||
text-shadow: 0 0 5px @blue;
|
||||
}
|
||||
|
||||
.leaderboard-entry {
|
||||
.leaderboard-position {
|
||||
color: @subtext1;
|
||||
}
|
||||
.leaderboard-totalscore {
|
||||
color: @text;
|
||||
}
|
||||
}
|
||||
|
||||
.leaderboard-daylinks-selected {
|
||||
color: @text;
|
||||
text-shadow: 0 0 5px @text;
|
||||
}
|
||||
|
||||
.leaderboard-daylinks-selected:hover {
|
||||
color: @green;
|
||||
}
|
||||
|
||||
.leaderboard-anon {
|
||||
opacity: 1;
|
||||
color: @subtext0;
|
||||
}
|
||||
.calendar {
|
||||
.calendar-color-w {
|
||||
color: @text;
|
||||
}
|
||||
.calendar-color-s {
|
||||
color: @yellow;
|
||||
}
|
||||
.calendar-color-c {
|
||||
color: @subtext1;
|
||||
}
|
||||
.calendar-color-g3 {
|
||||
color: darken(@green, 3%);
|
||||
}
|
||||
.calendar-color-g2 {
|
||||
color: @green;
|
||||
}
|
||||
.calendar-color-g4 {
|
||||
color: darken(@green, 3.5%);
|
||||
}
|
||||
.calendar-color-u {
|
||||
color: @sky;
|
||||
}
|
||||
.calendar-color-a {
|
||||
color: @subtext0;
|
||||
}
|
||||
.calendar-color-g1 {
|
||||
color: darken(@green, 2.5%);
|
||||
}
|
||||
.calendar-color-g0 {
|
||||
color: darken(@green, 2%);
|
||||
}
|
||||
.calendar-color-l {
|
||||
color: @red;
|
||||
}
|
||||
.calendar-mark-complete {
|
||||
color: @yellow;
|
||||
}
|
||||
.calendar-mark-verycomplete {
|
||||
color: @yellow;
|
||||
}
|
||||
.calendar-day {
|
||||
color: @subtext1;
|
||||
}
|
||||
#calendar-countdown {
|
||||
color: @subtext1;
|
||||
}
|
||||
|
||||
span {
|
||||
color: @surface0;
|
||||
}
|
||||
|
||||
a {
|
||||
color: @surface2;
|
||||
}
|
||||
}
|
||||
|
||||
.day-success {
|
||||
color: @yellow;
|
||||
text-shadow: 0 0 5px @yellow;
|
||||
}
|
||||
|
||||
.stats-both {
|
||||
color: @yellow;
|
||||
}
|
||||
|
||||
.stats-firstonly {
|
||||
color: @overlay0;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
background-color: @mantle !important;
|
||||
}
|
||||
|
||||
input[type="text"],
|
||||
textarea,
|
||||
code::before {
|
||||
border-color: @surface0;
|
||||
background: @crust;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* prettier-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; };
|
||||
}
|
||||
|
||||
// vim:ft=less
|
||||
==/UserStyle== */
|
||||
@@ -0,0 +1,255 @@
|
||||
/* ==UserStyle==
|
||||
@name Advent Of Code Catppuccin
|
||||
@namespace github.com/catppuccin/userstyles/styles/advent-of-code
|
||||
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/advent-of-code
|
||||
@version 2024.12.29.1
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/advent-of-code/catppuccin.user.less
|
||||
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Aadvent-of-code
|
||||
@description Soothing pastel theme for Advent Of Code
|
||||
@author Catppuccin
|
||||
@license MIT
|
||||
|
||||
@preprocessor less
|
||||
@var select lightFlavor "Light Flavor" ["latte:Latte*", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha"]
|
||||
@var select darkFlavor "Dark Flavor" ["latte:Latte", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha*"]
|
||||
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
|
||||
==/UserStyle== */
|
||||
|
||||
@-moz-document domain("adventofcode.com") {
|
||||
@media (prefers-color-scheme: light) {
|
||||
:root {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
|
||||
#catppuccin(@lookup, @accent) {
|
||||
@rosewater: @catppuccin[@@lookup][@rosewater];
|
||||
@flamingo: @catppuccin[@@lookup][@flamingo];
|
||||
@pink: @catppuccin[@@lookup][@pink];
|
||||
@mauve: @catppuccin[@@lookup][@mauve];
|
||||
@red: @catppuccin[@@lookup][@red];
|
||||
@maroon: @catppuccin[@@lookup][@maroon];
|
||||
@peach: @catppuccin[@@lookup][@peach];
|
||||
@yellow: @catppuccin[@@lookup][@yellow];
|
||||
@green: @catppuccin[@@lookup][@green];
|
||||
@teal: @catppuccin[@@lookup][@teal];
|
||||
@sky: @catppuccin[@@lookup][@sky];
|
||||
@sapphire: @catppuccin[@@lookup][@sapphire];
|
||||
@blue: @catppuccin[@@lookup][@blue];
|
||||
@lavender: @catppuccin[@@lookup][@lavender];
|
||||
@text: @catppuccin[@@lookup][@text];
|
||||
@subtext1: @catppuccin[@@lookup][@subtext1];
|
||||
@subtext0: @catppuccin[@@lookup][@subtext0];
|
||||
@overlay2: @catppuccin[@@lookup][@overlay2];
|
||||
@overlay1: @catppuccin[@@lookup][@overlay1];
|
||||
@overlay0: @catppuccin[@@lookup][@overlay0];
|
||||
@surface2: @catppuccin[@@lookup][@surface2];
|
||||
@surface1: @catppuccin[@@lookup][@surface1];
|
||||
@surface0: @catppuccin[@@lookup][@surface0];
|
||||
@base: @catppuccin[@@lookup][@base];
|
||||
@mantle: @catppuccin[@@lookup][@mantle];
|
||||
@crust: @catppuccin[@@lookup][@crust];
|
||||
@accent-color: @catppuccin[@@lookup][@@accent];
|
||||
|
||||
color-scheme: if(@lookup = latte, light, dark);
|
||||
|
||||
::selection {
|
||||
background-color: fade(@accent-color, 30%);
|
||||
}
|
||||
|
||||
input,
|
||||
textarea {
|
||||
&::placeholder {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
body {
|
||||
background: @base;
|
||||
color: @text;
|
||||
|
||||
header h1 a,
|
||||
header h1 span {
|
||||
color: @green;
|
||||
text-shadow: 0 0 2px @green, 0 0 5px @green;
|
||||
}
|
||||
|
||||
a {
|
||||
color: @green;
|
||||
}
|
||||
|
||||
.star-count {
|
||||
color: @yellow;
|
||||
}
|
||||
|
||||
.quiet {
|
||||
color: @subtext0;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.share,
|
||||
.share:hover,
|
||||
input[type="submit"] {
|
||||
color: @green;
|
||||
}
|
||||
|
||||
main {
|
||||
article {
|
||||
em {
|
||||
color: @text;
|
||||
text-shadow: 0 0 5px @text;
|
||||
}
|
||||
|
||||
h2 {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
input[type="radio"]:checked ~ span,
|
||||
input[type="checkbox"]:checked ~ span {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
input[type="radio"] ~ span:hover,
|
||||
input[type="radio"] ~ span:focus,
|
||||
input[type="checkbox"]:hover ~ span,
|
||||
input[type="checkbox"]:focus ~ span {
|
||||
background-color: @crust;
|
||||
}
|
||||
}
|
||||
.supporter-badge {
|
||||
color: @yellow;
|
||||
}
|
||||
|
||||
.supporter-badge:hover {
|
||||
color: @yellow;
|
||||
text-shadow: 0 0 5px @yellow;
|
||||
}
|
||||
|
||||
.sponsor-badge {
|
||||
color: @blue;
|
||||
}
|
||||
|
||||
.sponsor-badge:hover,
|
||||
.sponsor-badge:focus {
|
||||
color: @blue;
|
||||
text-shadow: 0 0 5px @blue;
|
||||
}
|
||||
|
||||
.leaderboard-entry {
|
||||
.leaderboard-position {
|
||||
color: @subtext1;
|
||||
}
|
||||
.leaderboard-totalscore {
|
||||
color: @text;
|
||||
}
|
||||
}
|
||||
|
||||
.leaderboard-daylinks-selected {
|
||||
color: @text;
|
||||
text-shadow: 0 0 5px @text;
|
||||
}
|
||||
|
||||
.leaderboard-daylinks-selected:hover {
|
||||
color: @green;
|
||||
}
|
||||
|
||||
.leaderboard-anon {
|
||||
opacity: 1;
|
||||
color: @subtext0;
|
||||
}
|
||||
.calendar {
|
||||
.calendar-color-w {
|
||||
color: @text;
|
||||
}
|
||||
.calendar-color-s {
|
||||
color: @yellow;
|
||||
}
|
||||
.calendar-color-c {
|
||||
color: @subtext1;
|
||||
}
|
||||
.calendar-color-g3 {
|
||||
color: darken(@green, 3%);
|
||||
}
|
||||
.calendar-color-g2 {
|
||||
color: @green;
|
||||
}
|
||||
.calendar-color-g4 {
|
||||
color: darken(@green, 3.5%);
|
||||
}
|
||||
.calendar-color-u {
|
||||
color: @sky;
|
||||
}
|
||||
.calendar-color-a {
|
||||
color: @subtext0;
|
||||
}
|
||||
.calendar-color-g1 {
|
||||
color: darken(@green, 2.5%);
|
||||
}
|
||||
.calendar-color-g0 {
|
||||
color: darken(@green, 2%);
|
||||
}
|
||||
.calendar-color-l {
|
||||
color: @red;
|
||||
}
|
||||
.calendar-mark-complete {
|
||||
color: @yellow;
|
||||
}
|
||||
.calendar-mark-verycomplete {
|
||||
color: @yellow;
|
||||
}
|
||||
.calendar-day {
|
||||
color: @subtext1;
|
||||
}
|
||||
#calendar-countdown {
|
||||
color: @subtext1;
|
||||
}
|
||||
|
||||
span {
|
||||
color: @surface0;
|
||||
}
|
||||
|
||||
a {
|
||||
color: @surface2;
|
||||
}
|
||||
}
|
||||
|
||||
.day-success {
|
||||
color: @yellow;
|
||||
text-shadow: 0 0 5px @yellow;
|
||||
}
|
||||
|
||||
.stats-both {
|
||||
color: @yellow;
|
||||
}
|
||||
|
||||
.stats-firstonly {
|
||||
color: @overlay0;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
background-color: @mantle !important;
|
||||
}
|
||||
|
||||
input[type="text"],
|
||||
textarea,
|
||||
code::before {
|
||||
border-color: @surface0;
|
||||
background: @crust;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* 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; };
|
||||
};
|
||||
@@ -1,9 +1,9 @@
|
||||
/* ==UserStyle==
|
||||
@name AlternativeTo Catppuccin
|
||||
@name AlternativeTo Catppuccin [STUB | UPDATE REQUIRED]
|
||||
@namespace github.com/catppuccin/userstyles/styles/alternativeto
|
||||
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/alternativeto
|
||||
@version 2024.12.28
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/alternativeto/catppuccin.user.css
|
||||
@version 2024.12.29
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/alternativeto/catppuccin.user.less
|
||||
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Aalternativeto
|
||||
@description Soothing pastel theme for AlternativeTo
|
||||
@author Catppuccin
|
||||
@@ -13,494 +13,4 @@
|
||||
@var select lightFlavor "Light Flavor" ["latte:Latte*", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha"]
|
||||
@var select darkFlavor "Dark Flavor" ["latte:Latte", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha*"]
|
||||
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
|
||||
==/UserStyle== */
|
||||
|
||||
@-moz-document domain('alternativeto.net') {
|
||||
:root[data-theme="dark"] {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
}
|
||||
:root[data-theme="light"] {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
|
||||
#catppuccin(@lookup, @accent) {
|
||||
@rosewater: @catppuccin[@@lookup][@rosewater];
|
||||
@flamingo: @catppuccin[@@lookup][@flamingo];
|
||||
@pink: @catppuccin[@@lookup][@pink];
|
||||
@mauve: @catppuccin[@@lookup][@mauve];
|
||||
@red: @catppuccin[@@lookup][@red];
|
||||
@maroon: @catppuccin[@@lookup][@maroon];
|
||||
@peach: @catppuccin[@@lookup][@peach];
|
||||
@yellow: @catppuccin[@@lookup][@yellow];
|
||||
@green: @catppuccin[@@lookup][@green];
|
||||
@teal: @catppuccin[@@lookup][@teal];
|
||||
@sky: @catppuccin[@@lookup][@sky];
|
||||
@sapphire: @catppuccin[@@lookup][@sapphire];
|
||||
@blue: @catppuccin[@@lookup][@blue];
|
||||
@lavender: @catppuccin[@@lookup][@lavender];
|
||||
@text: @catppuccin[@@lookup][@text];
|
||||
@subtext1: @catppuccin[@@lookup][@subtext1];
|
||||
@subtext0: @catppuccin[@@lookup][@subtext0];
|
||||
@overlay2: @catppuccin[@@lookup][@overlay2];
|
||||
@overlay1: @catppuccin[@@lookup][@overlay1];
|
||||
@overlay0: @catppuccin[@@lookup][@overlay0];
|
||||
@surface2: @catppuccin[@@lookup][@surface2];
|
||||
@surface1: @catppuccin[@@lookup][@surface1];
|
||||
@surface0: @catppuccin[@@lookup][@surface0];
|
||||
@base: @catppuccin[@@lookup][@base];
|
||||
@mantle: @catppuccin[@@lookup][@mantle];
|
||||
@crust: @catppuccin[@@lookup][@crust];
|
||||
@accent-color: @catppuccin[@@lookup][@@accent];
|
||||
|
||||
color-scheme: if(@lookup = latte, light, dark);
|
||||
|
||||
::selection {
|
||||
background-color: fade(@accent-color, 30%);
|
||||
}
|
||||
|
||||
input,
|
||||
textarea {
|
||||
&::placeholder {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
--mainBrand: @accent-color;
|
||||
--topBrand: @accent-color;
|
||||
--footer: @mantle;
|
||||
--mainBg: @base;
|
||||
--mainFg: @text;
|
||||
--popBrand: @accent-color;
|
||||
--introBoxText: @text;
|
||||
--introBoxLink: @text;
|
||||
--introBoxMeta: @subtext0;
|
||||
--meta: @subtext0;
|
||||
--metaLight: @subtext1;
|
||||
--linkColorHeader: @text;
|
||||
--linkColor: @text;
|
||||
--brandLight3: @surface2;
|
||||
--brandLight4: @surface2;
|
||||
--brandLight5: @surface1;
|
||||
--brandLight6: @mantle;
|
||||
--brandLight7: @surface0;
|
||||
--brandLight8: @text;
|
||||
--brandLight10: @surface0;
|
||||
--brandLight11: @mantle;
|
||||
--gray50: @surface0;
|
||||
--gray100: @surface0;
|
||||
--gray150: @surface0;
|
||||
--gray200: @surface1;
|
||||
--gray250: @surface1;
|
||||
--gray300: @surface1;
|
||||
--gray500: @overlay0;
|
||||
--headingButton: @accent-color;
|
||||
--positiveGreener: @green;
|
||||
--positiveGreenerLight: fade(@green, 10%);
|
||||
--positiveGreenerDark: @green;
|
||||
--danger: @red;
|
||||
--negativeLight: fade(@peach, 10%);
|
||||
--lightDanger: fade(@red, 25%);
|
||||
--dangerDark: @red;
|
||||
--ctaMain: @mauve;
|
||||
--ctaLight: @base;
|
||||
--ctaLightest: @mantle;
|
||||
--tab: @mantle;
|
||||
--toastify-color-dark: @mantle;
|
||||
--toastify-color-light: @text;
|
||||
--toastify-color-info: @blue;
|
||||
--toastify-color-success: @green;
|
||||
--toastify-color-warning: @yellow;
|
||||
--toastify-color-error: @red;
|
||||
|
||||
// heart icon
|
||||
[class^="ModernLikeButton_likeWrapper"] {
|
||||
[class^="ModernLikeButton_heart"]:hover,
|
||||
[class^="ModernLikeButton_liked"] {
|
||||
svg {
|
||||
color: @red;
|
||||
}
|
||||
}
|
||||
}
|
||||
// primary button
|
||||
[class*="Button_primary"] {
|
||||
color: @crust !important;
|
||||
}
|
||||
// footer
|
||||
[class^="Footer_footer"] {
|
||||
&,
|
||||
& p a,
|
||||
& [class^="Footer_footerMenu"] li a {
|
||||
color: @text;
|
||||
}
|
||||
}
|
||||
[class^="Footer_footerLogo"] {
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" id="Capa_2" data-name="Capa 2" viewBox="0 0 800.42 190" cursor="default"><defs><style>.cls-1{fill:@{text};stroke-width:0}</style></defs><g id="Capa_1-2" data-name="Capa 1"><path d="M54.21 85.99c.89.99 1.9 1.09 2.77.21.58-.59 1.1-1.39 1.3-2.18.52-2.14.45-4.29-.39-6.38-.55-1.38-1.48-2.37-2.67-3.07a.96.96 0 0 0-.74-.11c-.8.22-1.34.71-1.85 1.39-.22.29-.14.71.17.89 1.54.91 2.48 2.12 2.81 3.83.35 1.85-.47 3.29-1.44 4.64-.17.24-.15.57.05.79Zm-34.03 2.55c-3.33-.2-6.18 2.22-6.37 5.4-.19 3.23 2.54 6.16 5.97 6.39 3.22.22 6.06-2.2 6.28-5.35.23-3.25-2.5-6.24-5.88-6.44" class="cls-1"/><path d="M166.41 86.27c-1.77-.11-3.37.78-4.29 2.2-1.7-1.07-6.34-3.34-8.14-4.25-.21-.12-.43-.23-.64-.34a.39.39 0 0 0-.33-.02v-.1c0-.13.01-.27.02-.4 1.87-37.41-36.04-66.48-72.79-55.22-17.71 5.42-31.77 19.77-37.39 37.43-1.27 3.98-2.15 10.17-2.36 16.71-.46.18-.92.36-1.37.55-.34.14-.67.27-1 .42-1.87.79-3.71 1.65-5.51 2.57s-3.56 1.89-5.29 2.96c-.24.15-.33.45-.21.71.13.28.46.4.74.27h.02c1.78-.84 3.63-1.59 5.48-2.28 1.86-.69 3.74-1.31 5.63-1.86l.11-.03a85 85 0 0 1 2.74-.75c.48-.12.95-.23 1.43-.34.05-.01.11-.03.16-.04.42-.1.84-.19 1.27-.27 1.91-.42 3.84-.68 5.75-.92h.06c.07-.02.15-.03.22-.05a1.967 1.967 0 0 0 1.45-2.38 1.967 1.967 0 0 0-2.38-1.45c-1.79.44-3.55.9-5.28 1.47.12-.04.23-.08.35-.12.22-5.84 1.03-11.31 2.16-14.88 5.19-16.31 18.19-29.55 34.54-34.58 1.47-.45 2.94-.83 4.41-1.15 1.43-.31 7.19-1.13.91 2.39-10.37 5.81-18.24 15.69-21.89 27.16-1.87 5.87-2.52 17.44-1.25 26.32.4 2.78-.54 3.34-2.27 4.06-3.68 1.54-10 4.34-13.28 8.3-1.26 1.52-1.89-.03-2.12-1.08-.62-2.79-1-5.92-1.16-9.14a.887.887 0 0 0-1.1-.82c-.89.22-1.78.45-2.65.73-.38.12-.63.49-.61.88.5 11.69 3.47 22.55 10.56 22.2.64-.03.96-.62.84-1.13-1.27-.8-2.11-1.71-2.45-2.74-2.33-7.01 19.41-16.18 47.25-20.35 25.59-3.83 47.57-2.08 51.39 3.75.84 1.13.81 2.31.22 3.48-.91 2.03-3.19 4.53-6.94 6.81-.51.31-.65.99-.32 1.49v.02c.31.44.89.61 1.36.37 4.11-2.1 7.17-5.29 8.54-7.94 1.2-2.31 1.66-5.32 1.87-8.13v-.06c.03.02.05.03.07.04 1.89.57 6.62 2.49 8.45 3.24h.03l.06.03c-.07.29-.12.6-.14.91-.15 2.79 2.02 5.3 4.76 5.5 2.57.19 4.83-1.9 5.01-4.61.18-2.8-1.99-5.37-4.69-5.55Zm-35.85-11.8c0 1.51-1.21 2.7-2.62 2.58-7.4-.66-14.6-.09-18.36.33-1.44.16-2.68-1.04-2.68-2.57v-2.14c0-.56.38-1.04.9-1.12 10.39-1.74 19.09-.69 21.85-.26.52.08.91.56.91 1.12v2.07Zm12.83-6.11c-.23.4-.73.54-1.16.37-15.85-6.02-40.59-2.63-40.59-2.63-7.71.83-16.38 2.51-24.84 5.72-1.86.71-3.83-.7-3.79-2.69.04-1.78.21-4.01.64-6.5.47-5.82 4.05-12.66 6.86-16.05.21-.26.44-.51.66-.76l.15-.18c.04-.04.08-.08.12-.13.09-.1.18-.19.27-.29.04-.04.08-.09.12-.13 10.77-11.27 29.74-12.56 43.04-5.22 6.35 3.5 12.48 9.45 15.96 15.84.59 1.09 4.26 9.59 2.54 12.61Z" class="cls-1"/><path d="M134.96 54.25c-3.13-5.2-7.49-9.08-13.06-11.45-6.18-2.63-12.69-3.49-19.37-2.94-2.34.2-4.64.67-6.84 1.5h-.02c-.92.35-.75 1.7.23 1.81.46.05 7.77-1.01 14.92.39 18.14 3.56 24.01 12.38 24.65 12.7.18.09.38-.09.3-.27-.28-.58-.47-1.2-.8-1.75Z" class="cls-1"/><path d="M190 95c0-52.47-42.53-95-95-95S0 42.53 0 95c0 30.37 14.25 57.41 36.43 74.8.61.48 1.24.96 1.86 1.42 0 0 .01 0 .02.01.62.47 1.26.92 1.89 1.37a94.6 94.6 0 0 0 32.39 14.72l.26.06c.54.13 1.08.25 1.62.37.16.04.33.07.49.11.51.11 1.02.22 1.53.32.2.04.39.08.59.11.5.09 1 .19 1.5.28.2.03.39.06.59.1q1.47.24 2.94.45c.19.03.38.06.58.08.37.05.74.09 1.11.13.38.04.75.09 1.13.13.35.04.7.07 1.05.1.41.04.81.08 1.22.11.33.03.67.05 1 .08.44.03.88.06 1.32.08.31.02.62.04.93.05l1.5.06c.26 0 .51.02.77.02q1.14.03 2.28.03c.81 0 1.61-.01 2.42-.03.27 0 .53-.02.8-.03.54-.02 1.07-.03 1.6-.06l.97-.06c.47-.03.94-.05 1.42-.09l1.05-.09c.44-.04.88-.07 1.32-.12l1.09-.12c.42-.05.85-.09 1.27-.14l1.11-.15c.41-.06.82-.11 1.23-.17l1.13-.18c.4-.06.79-.13 1.19-.2l1.14-.21c.38-.07.77-.14 1.15-.22l1.15-.24 1.13-.24 1.16-.27c.37-.09.73-.17 1.09-.27.39-.1.78-.2 1.17-.31.35-.09.71-.19 1.06-.29.39-.11.78-.22 1.17-.34.35-.1.69-.2 1.04-.31.39-.12.78-.24 1.17-.37.34-.11.68-.22 1.01-.33.39-.13.79-.27 1.18-.4.33-.11.65-.23.98-.35.4-.14.79-.29 1.18-.44.32-.12.64-.24.95-.36.4-.15.79-.31 1.19-.47.31-.12.62-.25.92-.38.4-.17.8-.33 1.19-.51.3-.13.59-.26.89-.39l1.2-.54c.29-.13.57-.27.86-.4.4-.19.8-.38 1.2-.58.28-.14.55-.27.83-.41.4-.2.8-.41 1.2-.61.27-.14.53-.28.8-.42.4-.21.8-.43 1.2-.65.26-.14.51-.29.77-.43.4-.23.81-.46 1.21-.69.24-.14.49-.29.73-.43.41-.24.81-.48 1.21-.73.23-.14.46-.29.7-.43.41-.26.81-.51 1.22-.77.22-.14.44-.29.66-.43.41-.27.82-.54 1.22-.82.21-.14.41-.28.61-.43.41-.29.83-.57 1.23-.87.19-.14.38-.27.56-.41.42-.31.84-.61 1.25-.92l.51-.39c.42-.32.85-.65 1.27-.98.15-.12.3-.25.46-.37.43-.35.86-.69 1.29-1.05l.39-.33c.44-.37.88-.74 1.32-1.12.1-.09.2-.18.31-.27.46-.4.92-.81 1.37-1.22.06-.06.13-.12.19-.18.49-.45.97-.9 1.45-1.35 18.05-17.29 29.29-41.64 29.29-68.6Zm-66.06 31.79c-.14-1.06-.27-2.12-.42-3.17-.17-1.05-.31-2.11-.51-3.15-.17-1.05-.37-2.09-.57-3.13-.22-1.02-.45-2.09-.7-3.03v-.05c-.22-.75.23-1.53.98-1.73.72-.19 1.46.2 1.7.89.4 1.12.68 2.15.97 3.23.27 1.07.54 2.14.77 3.21.46 2.15.83 4.31 1.17 6.47.43 2.83.73 5.68.96 8.53 1.87.08 3.7Line truncated
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
// rating stars
|
||||
[class^="StarRating_star"] {
|
||||
color: @text;
|
||||
&[class*="StarRating_active"] {
|
||||
color: @peach;
|
||||
}
|
||||
}
|
||||
// danger "discontinued" label
|
||||
[class*="AppAlertWrapper_warning"] span {
|
||||
color: @peach;
|
||||
}
|
||||
// feature point in alternative's features
|
||||
[class*="HighlightFeatureListItem_featurePoint"]:not(
|
||||
[class*="HighlightFeatureListItem_gray"]
|
||||
) {
|
||||
background-color: @green;
|
||||
color: @green;
|
||||
border-color: lighten(@green, 25%);
|
||||
}
|
||||
// app banner (ad)
|
||||
[class*="AppBanner_iconWrapper"],
|
||||
[class*="AppBanner_banner"],
|
||||
[class*="AppBanner_bottom"] {
|
||||
border-color: @overlay0;
|
||||
}
|
||||
// navigation/top bar
|
||||
[class^="HeaderLinks_globalSiteNav"] a,
|
||||
[class^="HeaderLinks_globalSiteNav"] span,
|
||||
[class^="HeaderLinks_authAndMenu"] a,
|
||||
[class*="Button_headerTextButton"] svg,
|
||||
[class*="Button_headerTextButton"]:hover svg,
|
||||
[class^="HeaderLinks_header"] button:focus {
|
||||
color: @base !important;
|
||||
}
|
||||
[class^="HeaderLinks_logoSmall"] {
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" id="Capa_2" data-name="Capa 2" viewBox="0 0 500 500" cursor="default"><defs><style>.cls-1{fill:@{base};stroke-width:0}</style></defs><g id="Capa_1-2" data-name="Capa 1"><path d="M250 8.66c133.29 0 241.34 108.05 241.34 241.34S383.29 491.34 250 491.34 8.66 383.28 8.66 250 116.71 8.66 250 8.66M250 0C112.15 0 0 112.15 0 250s112.15 250 250 250 250-112.15 250-250S387.84 0 250 0" class="cls-1"/><path d="M385.6 377.84c-.39.08-.77.17-1.16.25.71 2.47 1.37 4.82 1.96 7.19 1.4 5.64 2.81 11.28 4.21 16.91 9.54-8.85 18.25-18.57 26.01-29.04-6.35.75-12.86 1.53-19.23 2.43-3.92.55-7.75 1.38-11.8 2.26Z" class="cls-1"/><path d="M405 288.35c-78.81-12.75-161.7 12.77-228.94 53.36-15.77 9.52-33.12 18.95-44.36 34-7.65 10.28-11.68 22.52-14.14 35 6.45 5.28 13.23 10.18 20.31 14.67.01-.69.02-1.38.04-2.07.27-8.54 1.34-17.22 4.77-25.12 3.8-8.75 9.96-14.14 17.56-19.54 15.75-11.21 33.3-20.14 50.25-29.01 1.16-.61 2.81-.6 4.22-.88.32 1.28.99 2.59.9 3.85-.43 5.88-.3 11.81-.16 17.71.46 21.16 1.84 42.32 3.27 63.47.49 7.29 1 14.58 1.5 21.85a210 210 0 0 0 28.99 2.02c47.79 0 91.82-16.12 126.94-43.21-2.94-10.22-5.89-20.43-8.85-30.64-.12-.44-.27-.87-.43-1.3-.45.1-.9.21-1.33.34-25.77 7.16-51.97 17.21-80.11 30.75-.24.12-.49.25-.74.38-1.23.65-2.91 1.54-4.94 1.55h-.04c-2.47 0-5.79-1.37-7.08-3.94-1.33-2.67-.35-6.37 1.33-8.29 1.37-1.57 3.16-2.52 4.59-3.29l.79-.43a380.7 380.7 0 0 1 79.26-33.27c.75-.22 1.5-.45 2.25-.68-.48-1.23-.97-2.47-1.45-3.73-2.1-5.43-4.28-11.04-6.68-16.45-3.08-6.93-6.59-13.87-9.99-20.58l-1.75-3.47c-1.13-2.24-2.28-5.18-1.14-8.09.5-1.28 1.65-3.01 4.27-3.99 3.64-1.35 9.07 1.35 10.65 4.46 8.63 17 16.03 32.19 22.63 46.44.29.62.49.98.62 1.17.19-.02.51-.06.97-.16 16.55-3.77 32.97-5.37 48.79-4.77a207 207 0 0 0 18.46-39.79c-11.35-14.57-24.88-25.64-41.25-28.3Z" class="cls-1"/><path d="M455.59 229.46c-.46-4.53-1.19-9.03-2.04-13.52-.63-3.33-1.32-6.65-2.01-9.96-.74-3.57-1.38-7.17-2.26-10.71a191.2 191.2 0 0 0-16.52-43.66 199 199 0 0 0-7.62-13.22c-2.7-4.28-5.56-8.45-8.58-12.5a198 198 0 0 0-9.48-11.76c-3.3-3.79-6.74-7.45-10.31-10.98-3.56-3.52-7.26-6.92-11.07-10.17-3.81-3.26-7.75-6.36-11.78-9.33-4.04-2.97-8.18-5.79-12.42-8.47s-8.58-5.2-13-7.56c-4.43-2.37-8.94-4.58-13.52-6.64a214 214 0 0 0-28.32-10.37c-9.71-2.8-19.61-4.89-29.62-6.28-5.03-.69-10.08-1.21-15.14-1.54a211 211 0 0 0-15.28-.43c-5.12.05-10.25.29-15.35.71-5.14.44-10.27 1.06-15.36 1.89a202 202 0 0 0-30.51 7.42 194 194 0 0 0-15.01 5.59c-5.02 2.1-9.94 4.39-14.77 6.88-2.28 1.17-4.52 2.42-6.77 3.64-59.26 34.17-98.24 95-104.51 163.13-1.04 19.63.34 39.3 4.04 58.6h-.03s3.98 23.43 6.22 27.81c10.96 41.42 30.06 77.99 55.15 71.21a3.466 3.466 0 0 0 2.33-4.32c-.05-.15-.1-.31-.17-.45a19.92 19.92 0 0 1-10.91-7.84c-13.87-23.27 56.73-73.11 153.16-109.78 88.57-33.73 168.56-44.67 186.77-26.77 3.6 2.95 5 7.84 3.49 12.25a63.24 63.24 0 0 1-19.45 29.8c-.76.73-1.2 1.74-1.2 2.79s.43 2.07 1.19 2.8a3.783 3.783 0 0 0 5.1.24 73.94 73.94 0 0 0 24.37-35.04c.58-1.78.7-3.89.94-5.75.24-1.96.42-3.93.52-5.9.2-3.93.11-7.89-.29-11.83Zm-325.31 76.13c-11.8 8.37-32.37 23.36-40.98 40.1-3.36 6.45-6.5 1.43-8.46-2.24a203.6 203.6 0 0 1-11.27-31.61c-.01-.02-.02-.05-.03-.07-1.38-5.03-5.87-21.66-6.31-26.6.01-.01.02-.03.03-.03a223.6 223.6 0 0 1-3.9-54.95c5.86-62.88 41.87-119 96.56-150.56 4.94-2.76 9.9-5.27 14.9-7.55 4.9-2.23 24.81-9.65 5.11 7.81a175.4 175.4 0 0 0-56.81 114.21c-1.91 22.42 4.6 64.4 16.1 95.21 3.62 9.65.66 12.34-4.95 16.29Zm233.46-103.5a9.08 9.08 0 0 1-6.16 4.02 355 355 0 0 0-65.42 15.52c-2.48.75-5.17.42-7.4-.93a9.1 9.1 0 0 1-4.23-6.14l-1.68-7.68c-.41-1.94.57-3.91 2.37-4.74 24.87-9.94 51.13-16 77.84-17.97 1.99-.1 3.75 1.29 4.12 3.26l1.75 7.39c.64 2.48.21 5.12-1.19 7.26Zm42.35-39.08a3.47 3.47 0 0 1-3.82 2.2c-61.41-9.13-147.26 22.36-147.26 22.36a368.8 368.8 0 0 0-84.37 39.83c-4.73 3.11-11.09 1.79-14.2-2.95-.74-1.13-1.25-2.39-1.5-3.71-1.48-7.84-2.38-15.77-2.73-23.73-1.71-21.62 2.42-43.3 11.97-62.77.58-1.08 1.16-2.16 1.82-3.2.08-.27.21-.53.38-.76l.3-.54.74-1.25.36-.55c29.76-48.75 96.58-68.19 149.92-52.31 26.73 8.2 50.75 23.48 69.49 44.23 2.93 3.44 22.71 30.94 18.9 43.15" class="cls-1"/><path d="m374.15 129.69-.05.11A83.7 83.7 0 0 0 334.38 95a121.44 121.44 0 0 0-58.84-8.95c-7.13.56-14.13 2.11-20.83 4.58a2.83 2.83 0 0 0-2.02 3.07 2.816 2.816 0 0 0 2.74 2.45 172.3 172.3 0 0 1 45.36 1.21c55.24 11.04 72.92 37.62 74.86 38.67.55.27 1.21-.27.94-.82-.72-1.88-1.54-3.73-2.44-5.53Z" class="cls-1"/></g></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
[class*="HeaderLinks_logoLarge"] {
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" id="Capa_2" data-name="Capa 2" viewBox="0 0 1070.28 160.29" cursor="default"><defs><style>.cls-1{fill:@{base};stroke-width:0}</style></defs><g id="Capa_1-2" data-name="Capa 1"><path d="M45.35 118.15c-3.55 0-5.45 1.89-6.16 4.97l-6.39 26.76c-1.18 5.21-4.97 8.05-10.42 8.05H7c-5.21 0-8.05-2.84-6.63-8.05L38.01 7.82C39.43 2.85 42.98 0 48.19 0h21.54c5.21 0 8.76 2.84 10.18 7.82l36.94 141.35c1.42 5.21-1.42 8.76-6.63 8.76h-16.1c-5.44 0-9.23-2.84-10.41-8.05l-6.39-26.76c-.71-3.08-2.6-4.97-6.16-4.97zm19.89-27.47c2.6 0 4.26-1.18 3.55-4.02L58.38 41.91 47.72 86.66c-.71 2.84.95 4.02 3.55 4.02zm93.68 59.43c0 5.21-2.6 7.81-8.05 7.81h-14.92c-5.21 0-7.81-2.6-7.81-7.81V8.05c0-5.44 2.6-8.05 7.81-8.05h14.92c5.45 0 8.05 2.61 8.05 8.05zm21.3-88.31h-2.6c-5.21 0-7.81-2.6-7.81-7.81V43.57c0-5.21 2.6-7.81 7.81-7.81h2.6V18.48c0-4.97.95-10.65 7.34-12.55l12.55-3.55C206.98.49 211 2.86 211 9.48v26.28h10.18c5.21 0 7.81 2.6 7.81 7.81v10.42c0 5.21-2.6 7.81-7.81 7.81H211v64.17c0 6.16 3.55 8.28 8.05 8.28h3.32c3.55 0 5.92 1.18 5.92 6.63v8.05c0 8.05-8.05 11.37-16.58 11.37-15.62 0-31.49-8.76-31.49-29.83zm141.94 35.99c0 5.21-2.61 7.81-7.82 7.81h-47.12v8.52c0 13.26 6.16 20.36 20.6 20.36 9.94 0 13.73-4.02 20.12-4.02 5.68 0 7.81 4.5 7.81 7.81v3.79c0 9.94-9.47 18.23-29.83 18.23-32.43 0-49.48-18.94-49.48-48.78V74.34c0-25.1 18.23-40.96 42.86-40.96s42.86 15.87 42.86 40.96v23.44Zm-30.55-23.44c0-11.37-4.74-17.05-12.31-17.05s-12.07 5.68-12.07 17.05v7.81h24.39v-7.81Zm74.22 75.76c0 5.21-2.61 7.81-8.05 7.81h-14.92c-5.21 0-7.81-2.6-7.81-7.81V43.8c0-5.45 2.61-8.05 7.81-8.05h14.92c5.68 0 8.05 2.6 8.05 8.53 4.73-4.98 12.07-10.89 21.31-10.89 5.68 0 6.39 3.55 6.39 6.63v12.55c0 6.87-5.92 7.58-11.6 8.29-9.71 1.18-16.1 9-16.1 20.6v68.66Zm97.5-73.87c0-9.71-4.5-16.81-13.5-16.81s-13.49 7.1-13.49 16.81v73.87c0 5.21-2.61 7.81-8.05 7.81h-14.92c-5.21 0-7.81-2.6-7.81-7.81V43.8c0-5.45 2.61-8.05 7.81-8.05h14.92c5.21 0 8.05 2.6 8.05 7.81 0 0 8.05-10.18 23.91-10.18 22.97 0 33.86 17.05 33.86 42.86v73.87c0 5.21-2.61 7.81-8.05 7.81h-14.92c-5.21 0-7.81-2.6-7.81-7.81zm59.5-16.57c-2.84 0-6.39-1.42-6.39-5.92v-6.39c0-10.18 15.39-13.97 30.31-13.97 20.6 0 47.35 5.21 47.35 38.83v77.66c0 5.45-2.6 8.05-7.81 8.05h-11.37c-4.97 0-7.57-2.13-8.05-6.16-.71.71-8.29 8.53-22.26 8.53-22.97 0-39.07-17.28-39.07-39.3 0-36.94 28.65-47.83 57.77-50.91-.48-8.29-3.79-13.97-17.05-13.97s-18.94 3.55-23.44 3.55Zm27 74.1c8.76 0 13.5-7.1 13.5-16.1V92.34c-13.73 3.08-26.99 7.57-26.99 25.33 0 8.76 4.26 16.1 13.5 16.1Zm63.05-71.97h-2.6c-5.21 0-7.81-2.6-7.81-7.81V43.57c0-5.21 2.6-7.81 7.81-7.81h2.6V18.48c0-4.97.95-10.65 7.34-12.55l12.55-3.55c6.87-1.89 10.89.48 10.89 7.1v26.28h10.18c5.21 0 7.81 2.6 7.81 7.81v10.42c0 5.21-2.6 7.81-7.81 7.81h-10.18v64.17c0 6.16 3.55 8.28 8.05 8.28h3.32c3.55 0 5.92 1.18 5.92 6.63v8.05c0 8.05-8.05 11.37-16.58 11.37-15.62 0-31.49-8.76-31.49-29.83zM706.79 18c0 5.21-2.6 7.81-8.05 7.81h-14.92c-5.21 0-7.81-2.61-7.81-7.81V8.05c0-5.44 2.6-8.05 7.81-8.05h14.92c5.45 0 8.05 2.61 8.05 8.05zm0 132.11c0 5.21-2.6 7.81-8.05 7.81h-14.92c-5.21 0-7.81-2.6-7.81-7.81V43.8c0-5.45 2.6-8.05 7.81-8.05h14.92c5.45 0 8.05 2.6 8.05 8.05zM809.78 35.75c5.21 0 9 3.55 6.63 10.42l-34.33 103.94c-1.18 4.02-4.02 7.81-10.18 7.81h-10.89c-6.16 0-9-3.79-10.18-7.81L718.39 46.17c-2.13-6.87 1.42-10.42 6.63-10.42h13.03c6.39 0 9.23 3.08 10.41 8.05l18.94 67.24 20.36-67.24c1.42-4.97 4.02-8.05 10.42-8.05zm98.41 62.04c0 5.21-2.61 7.81-7.82 7.81h-47.12v8.52c0 13.26 6.16 20.36 20.6 20.36 9.94 0 13.73-4.02 20.12-4.02 5.68 0 7.81 4.5 7.81 7.81v3.79c0 9.94-9.47 18.23-29.83 18.23-32.43 0-49.48-18.94-49.48-48.78V74.34c0-25.1 18.23-40.96 42.86-40.96s42.86 15.87 42.86 40.96v23.44Zm-30.55-23.44c0-11.37-4.74-17.05-12.31-17.05s-12.07 5.68-12.07 17.05v7.81h24.39v-7.81Z" class="cls-1"/><path d="M992.14 8.05v11.37c0 5.21-2.6 7.81-8.05 7.81h-20.36c-3.08 0-4.74 1.66-4.74 4.74v118.15c0 5.21-2.6 7.81-7.81 7.81h-16.1c-5.45 0-8.05-2.6-8.05-7.81V31.97c0-3.08-1.66-4.74-4.73-4.74h-20.36c-5.45 0-8.05-2.6-8.05-7.81V8.05c0-5.44 2.6-8.05 8.05-8.05h82.16c5.45 0 8.05 2.61 8.05 8.05Z" class="cls-1"/><path d="M979.91 73.63c0-28.17 21.78-40.25 44.04-40.25s44.04 12.07 46.33 40.25v46.41c-2.29 28.18-24.08 40.25-46.33 40.25s-44.04-12.07-44.04-40.25zm30.78 46.41c0 9.23 5.21 14.21 13.26 14.21s13.26-4.97 13.26-14.21V73.63c0-9.23-5.21-14.21-13.26-14.21s-13.26 4.98-13.26 14.21z" class="cls-1"/></g></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
// hanburger menu
|
||||
[class^="DropdownListLink_additionalInfo"] {
|
||||
color: @subtext0;
|
||||
}
|
||||
// svg color variables
|
||||
@light-peach: lighten(@peach, 25%);
|
||||
@dark-peach: darken(@peach, 25%);
|
||||
@dark-blue: desaturate(darken(@blue, 60%), 40%);
|
||||
@darker-blue: desaturate(darken(@blue, 65%), 40%);
|
||||
// main page header
|
||||
img[class*="PageIntroImage_a2-header-"] {
|
||||
@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
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
// flipped/mirrored/right variation of the a2 robot svg (found in /about and /about/privacy)
|
||||
&[src^="/static/a2-header-right"] {
|
||||
transform: scale(-1, 1);
|
||||
}
|
||||
}
|
||||
@media screen and (min-width: 1200px) {
|
||||
[class*="PageIntroWrapper_wrapper"] {
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" id="Clouds" x="0" y="0" style="cursor:default" version="1.1" viewBox="0 0 404 136"><style>.st0{clip-path:url(#SVGID_00000124847987691952410040000001964486568889829789_)}.st1{fill:@{surface0}}.st2{fill:@{surface1}}</style><defs><path id="SVGID_1_" d="M-22 44h363v92H-22z"/></defs><clipPath id="SVGID_00000138556141443024540190000008926974327054756783_"><use xlink:href="#SVGID_1_" style="overflow:visible"/></clipPath><g style="clip-path:url(#SVGID_00000138556141443024540190000008926974327054756783_)"><path d="M29.65 156.72c1.41-6.61.84-13.71-2.07-20.37-7.37-16.83-26.9-24.46-43.63-17.06-16.48 7.3-24.08 26.48-17.26 43.14l62.96-5.71z" class="st1"/><path d="M128.04 81.5s-.03-.02-.04-.03C110.71 53.42 75.1 41.71 44.21 55.4 10.38 70.38-4.96 110.11 9.93 144.14a67.59 67.59 0 0 0 8.01 13.65l112.84-10.24c7.55-14.95 10.51-33.57 5.57-50.46-1.55-2.77-6.76-13.09-8.31-15.59z" class="st1"/><path d="m20.48 157.55 112.61-10.22c4.89-14.3 4.67-30.41-1.87-45.34-13.79-31.51-50.35-45.8-81.67-31.93s-45.52 50.66-31.73 82.16c.8 1.84 1.69 3.61 2.66 5.33z" class="st2"/><path d="M205.62 140.74c.38-1.42.71-2.87.94-4.35 3.84-24.11-12.47-46.79-36.44-50.66-23.97-3.86-46.51 12.55-50.36 36.66-1.46 9.13 0 18.04 3.65 25.81l82.21-7.46z" class="st1"/><path d="m229.85 134.8 4.94-.45-.36-3.98c-.45.06-.86.15-1.22.31-1.49.67-2.13 1.59-3.9 1.93-2.21.43-4.55.47-6.83.59-.3-.32-.69-.59-1.16-.78-1.05-.42-2.04-.44-3.12-.65-1.34-.26-2.9-.88-4.2-1.38-1.69-.66-2.84-1.93-4.09-3.04-5.4-16.66-19.64-29.78-38.02-32.74-26.16-4.22-50.76 13.7-54.96 40.01-.77 4.83-.78 9.6-.15 14.19l113.41-10.29-.34-3.72z" class="st2"/><path d="m-1.99 139.23 48.23-4.38c2.48-5.14 3.36-11.05 2.13-17-3.05-14.67-17.75-23.99-32.85-20.82-15.1 3.18-24.86 17.64-21.82 32.31.76 3.67 2.26 7 4.31 9.89z" class="st1"/><path d="m-4.15 139.42 54.8-4.97c.22-2.53.1-5.12-.44-7.72-3.05-14.67-17.75-23.99-32.85-20.82-15.1 3.18-24.86 17.64-21.82 32.31.09.41.2.81.31 1.2zM216.48 139.58c7.29-.66 12.67-7.14 12.01-14.48-.66-7.33-7.1-12.74-14.39-12.08-7.29.66-12.67 7.14-12.01 14.48.66 7.33 7.1 12.74 14.39 12.08z" class="st2"/><path d="M244.33 137.2c.26-1.06.36-2.19.26-3.33-.5-5.59-5.41-9.72-10.97-9.21-5.56.5-9.66 5.44-9.15 11.04.1 1.15.4 2.24.85 3.23l19.01-1.73z" class="st2"/></g><path d="m114.54 15-4.43 8.1-8.1 4.43 8.1 4.43 4.43 8.1 4.43-8.1 8.1-4.43-8.1-4.43-4.43-8.1zM397 19l-2.47 4.52L390 26l4.53 2.48L397 33l2.48-4.53L404 26l-4.52-2.47L397 19zM46 0l-2.12 3.88L40 6l3.88 2.12L46 12l2.12-3.88L52 6l-3.88-2.12L46 0z" class="st2"/><script/></svg>'
|
||||
);
|
||||
@svg2: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" id="Clouds" x="0" y="0" style="cursor:default" version="1.1" viewBox="0 0 376 144"><style>.st0{fill:@{surface1}}.st1{fill:@{surface0}}</style><path d="m179.46 164.49 172.73-15.58c7.5-21.8 7.16-46.37-2.87-69.14-21.16-48.03-77.24-69.83-125.28-48.67-48.04 21.15-69.83 77.24-48.68 125.27 1.24 2.8 2.61 5.5 4.08 8.12h.02z" class="st0"/><path d="M463.45 138.87c.58-2.16 1.09-4.37 1.45-6.63 5.89-36.77-19.14-71.35-55.9-77.25-36.77-5.89-71.35 19.14-77.25 55.9-2.24 13.93 0 27.51 5.6 39.36l126.1-11.38z" class="st1"/><path d="m500.62 129.8 7.58-.68-.55-6.07c-.68.09-1.32.23-1.87.48-2.28 1.02-3.26 2.42-5.98 2.95-3.4.65-6.98.72-10.48.9-.46-.49-1.05-.89-1.79-1.18-1.61-.63-3.13-.67-4.79-.99-2.06-.39-4.45-1.35-6.43-2.11-2.6-1-4.35-2.94-6.28-4.64-8.28-25.4-30.12-45.4-58.32-49.92-40.12-6.44-77.87 20.88-84.3 61.01a73.47 73.47 0 0 0-.23 21.64l173.97-15.69-.51-5.67-.02-.03zM201.72 162.49c.32-7.58-1.04-15.36-4.3-22.78-11.44-25.97-41.75-37.75-67.72-26.31-22.86 10.06-34.71 34.76-29.43 58.24l101.45-9.15z" class="st0"/><path d="M128.28 169.11c.19-4.49-.61-9.08-2.55-13.47-6.77-15.36-24.7-22.32-40.04-15.57-13.52 5.96-20.53 20.56-17.4 34.45l59.99-5.41z" class="st0"/><path d="m151.13 167.05 73.98-6.67c3.81-7.84 5.16-16.84 3.27-25.92-4.67-22.37-27.23-36.58-50.39-31.74s-38.14 26.89-33.47 49.26a39.88 39.88 0 0 0 6.62 15.08l-.01-.01z" class="st1"/><path d="m147.82 167.35 84.06-7.58c.34-3.86.16-7.8-.67-11.77-4.67-22.37-27.23-36.58-50.39-31.74s-38.14 26.89-33.47 49.26c.13.63.3 1.23.46 1.85l.01-.02zM107.11 9l-2.51 4.59-4.6 2.51 4.59 2.51 2.51 4.59 2.51-4.59 4.59-2.51-4.59-2.51-2.5-4.59zM10 94l-3.54 6.46L0 104l6.47 3.54L10 114l3.54-6.47L20 104l-6.46-3.54L10 94z" class="st0"/><script/></svg>'
|
||||
);
|
||||
background-image: url("data:image/svg+xml,@{svg}"),
|
||||
url("data:image/svg+xml,@{svg2}");
|
||||
}
|
||||
}
|
||||
// news page header
|
||||
[src^="/static/a2-screen"] {
|
||||
@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
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
// new app releases page header
|
||||
[src^="/static/a2-drop"] {
|
||||
@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
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
// bottom right loading spinner icon
|
||||
#nprogress .spinner-icon {
|
||||
border-top-color: @accent-color;
|
||||
border-left-color: @accent-color;
|
||||
}
|
||||
// top progress bar when loading a new page
|
||||
#nprogress .peg {
|
||||
box-shadow:
|
||||
0 0 10px @accent-color,
|
||||
0 0 5px @accent-color;
|
||||
}
|
||||
// toast
|
||||
.Toastify__close-button {
|
||||
color: @text;
|
||||
}
|
||||
[data-testid="toast"] > div > span {
|
||||
color: @text !important;
|
||||
}
|
||||
// remove filter badge
|
||||
li[class^="AppFilterBarCommon_current"]:hover {
|
||||
& a::after,
|
||||
& > span::after {
|
||||
color: darken(@red, 25%);
|
||||
}
|
||||
}
|
||||
// news fire icon
|
||||
@newstype: {
|
||||
hottest: @peach;
|
||||
hot_: @yellow;
|
||||
luke: @text;
|
||||
};
|
||||
each(@newstype, {
|
||||
[class^="NewsForListMeta_@{key}"]{
|
||||
color: @value
|
||||
}
|
||||
})
|
||||
// current page nummber
|
||||
[class*="Pagination_current"] {
|
||||
color: @subtext0;
|
||||
}
|
||||
// full screen screenshot button
|
||||
[class^="ImageCollection-modern_expandImage"] {
|
||||
background: fade(@text, 80%) !important;
|
||||
svg {
|
||||
color: @crust !important;
|
||||
}
|
||||
& when (@lookup = latte) {
|
||||
background: fade(@crust, 80%) !important;
|
||||
svg {
|
||||
color: @text !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
// social icons
|
||||
// rrs
|
||||
svg[color="#f26522"] {
|
||||
color: @peach !important;
|
||||
}
|
||||
// "Share on" icons
|
||||
@socialapps: {
|
||||
facebook: @blue;
|
||||
reddit: @peach;
|
||||
};
|
||||
[class^="ShareButtons_shareButtons"] {
|
||||
each(@socialapps, {
|
||||
[title="Share on @{key}"] > svg{
|
||||
color: @value !important;
|
||||
}
|
||||
});
|
||||
}
|
||||
// AppStores & Other Links
|
||||
[class*="Button_black"],
|
||||
[class^="AppExternalLinks_appstoreWrapper"] {
|
||||
background: @crust;
|
||||
color: @text;
|
||||
&:hover {
|
||||
background: @base;
|
||||
}
|
||||
[src$="ms-store.svg"] {
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" width="95" height="24" fill="none" cursor="default"><path fill="@{red}" d="M11.48.853H.738v10.743h10.744V.853Z"/><path fill="@{green}" d="M23.34.853H12.596v10.743H23.34z"/><path fill="@{blue}" d="M11.48 12.699H.738v10.743h10.744V12.7Z"/><path fill="@{yellow}" d="M23.34 12.699H12.596v10.743H23.34z"/><path fill="@{text}" d="M44.045 12.955c0-.32.115-.577.346-.795s.5-.32.82-.32c.334 0 .616.115.834.333s.333.487.333.782c0 .308-.115.577-.346.782-.23.218-.5.32-.833.32-.334 0-.603-.102-.834-.32a1.1 1.1 0 0 1-.32-.782m2.115 10.487h-1.91v-8.14h1.91zm5.82-1.397c.283 0 .603-.064.95-.192a3.8 3.8 0 0 0 .948-.526v1.782c-.307.18-.654.308-1.038.397-.385.09-.82.142-1.282.142-1.193 0-2.167-.385-2.923-1.142s-1.129-1.73-1.129-2.897q0-1.962 1.154-3.23c.77-.847 1.846-1.27 3.257-1.27.359 0 .718.051 1.09.141.371.09.653.205.871.32v1.834a3.8 3.8 0 0 0-.91-.5 2.7 2.7 0 0 0-.949-.18c-.756 0-1.359.244-1.833.731-.462.487-.693 1.154-.693 1.987 0 .82.218 1.462.667 1.923s1.052.68 1.82.68m7.347-6.872c.154 0 .295.013.41.026.116.025.231.051.308.077v1.936a1.5 1.5 0 0 0-.436-.206 2.2 2.2 0 0 0-.705-.102c-.474 0-.872.192-1.192.59s-.487 1-.487 1.833v4.115h-1.91v-8.14h1.91v1.281h.025c.18-.448.436-.794.795-1.038s.782-.372 1.282-.372m.821 4.321c0-1.346.384-2.41 1.14-3.206.757-.782 1.821-1.179 3.167-1.179 1.27 0 2.27.385 2.987 1.141s1.077 1.782 1.077 3.064c0 1.32-.384 2.372-1.14 3.154-.757.782-1.796 1.167-3.103 1.167-1.257 0-2.27-.372-3-1.116-.757-.73-1.129-1.743-1.129-3.025Zm2-.064c0 .846.192 1.5.576 1.948.385.449.936.667 1.654.667.692 0 1.231-.218 1.59-.667.359-.448.551-1.115.551-2 0-.872-.192-1.538-.564-1.987s-.91-.667-1.59-.667c-.705 0-1.243.231-1.64.706-.385.474-.578 1.128-.578 2Zm9.218-1.988c0 .27.09.487.256.641.18.154.564.346 1.154.59q1.155.462 1.615 1.039.462.576.462 1.384 0 1.155-.885 1.846-.885.693-2.385.692a5.2 5.2 0 0 1-1.115-.128 5.3 5.3 0 0 1-1.038-.307v-1.885a4.5 4.5 0 0 0 1.128.577c.397.141.77.218 1.09.218.436 0 .756-.064.961-.18q.308-.172.308-.615a.82.82 0 0 0-.32-.667c-.219-.18-.616-.397-1.219-.628q-1.057-.442-1.5-1c-.294-.372-.448-.846-.448-1.41 0-.73.295-1.333.871-1.808.577-.474 1.334-.705 2.27-.705.282 0 .602.026.961.09.36.064.654.14.885.243v1.82a4.7 4.7 0 0 0-.885-.435 3.1 3.1 0 0 0-1-.18c-.359 0-.654.078-.846.218a.67.67 0 0 0-.32.59m4.333 2.052c0-1.346.384-2.41 1.14-3.206.757-.782 1.821-1.179 3.167-1.179 1.27 0 2.27.385 2.988 1.141s1.076 1.782 1.076 3.064c0 1.32-.384 2.372-1.14 3.154-.757.782-1.795 1.167-3.103 1.167-1.257 0-2.27-.372-3-1.116-.757-.73-1.128-1.743-1.128-3.025m1.987-.064c0 .846.192 1.5.577 1.948.384.449.936.667 1.654.667.692 0 1.23-.218 1.59-.667.358-.448.55-1.115.55-2 0-.872-.192-1.538-.563-1.987-.372-.449-.91-.667-1.59-.667-.705 0-1.244.231-1.641.706-.385.474-.577 1.128-.577 2m12.705-2.552v4.18c0 .872.205 1.512.603 1.948.397.436 1.012.641 1.82.641.27 0 .551-.025.833-.09.282-.063.488-.115.603-.192v-1.59a1.7 1.7 0 0 1-.41.193 1.3 1.3 0 0 1-.398.077c-.384 0-.68-.103-.859-.308-.18-.205-.269-.564-.269-1.064v-3.808h1.949v-1.564h-1.936v-2.41l-1.923.59v1.833h-2.86v-.987c0-.487.103-.86.321-1.116s.526-.371.924-.371a1.8 1.8 0 0 1 .884.217v-1.653a2.4 2.4 0 0 0-.474-.103 4.4 4.4 0 0 0-.616-.038c-.871 0-1.59.269-2.14.82-.552.552-.834 1.244-.834 2.103v1.128H84.25v1.564h1.359v6.577h1.936v-6.577zm-47.987-4.795v11.36h-1.975v-8.898h-.025l-3.526 8.897H35.57l-3.615-8.897h-.026v8.897h-1.82V12.083h2.82l3.27 8.423h.05l3.45-8.423zm-7.116-4.91q-1.02.577-2.307.577c-.654 0-1.231-.141-1.744-.436a2.9 2.9 0 0 1-1.167-1.218 3.8 3.8 0 0 1-.41-1.77c0-.691.154-1.32.449-1.858a3.2 3.2 0 0 1 1.27-1.282c.55-.308 1.166-.462 1.858-.462.346 0 .692.039 1.038.103s.629.154.847.256V2.11c-.513-.346-1.167-.513-1.962-.513-.474 0-.897.116-1.282.346-.384.231-.68.552-.884.949q-.308.615-.308 1.385c0 .807.218 1.448.64 1.923.424.474 1.014.705 1.757.705.475 0 .898-.09 1.257-.282V4.865h-1.45V4.02h2.398zm5.526-1.705h-3.359c.013.487.167.859.423 1.128.27.257.616.398 1.051.398.578 0 1.078-.167 1.513-.5v.82a2.4 2.4 0 0 1-.73.32 3.6 3.6 0 0 1-.91.116c-.731 0-1.308-.218-1.706-.654s-.602-1.051-.602-1.846c0-.487.102-.936.294-1.32a2.2 2.2 0 0 1 .821-.924 2.17 2.17 0 0 1 1.167-.333c.628 0 1.128.205 1.487.615s.538.975.538 1.706v.474zm-.936-.73c0-.424-.102-.744-.295-.962-.192-.218-.461-.334-.82-.334q-.48 0-.846.346c-.244.231-.385.552-.462.95zm4.577 2.845a1.1 1.1 0 0 1-.372.116 2.6 2.6 0 0 1-.423.038c-.897 0-1.346-.5-1.346-1.487V3.558h-.82v-.77h.82V1.635l.936-.295v1.436h1.192v.769H43.25v2.538c0 .32.051.552.154.68.102.128.282.192.551.192.18 0 .346-.051.487-.154v.782zm4.641-6.513a.53.53 0 0 1-.166.398.57.57 0 0 1-.423.167.57.57 0 0 1-.423-.167.52.52 0 0 1-.167-.41.53.53 0 0 1 .18-.41.62.62 0 0 1 .41-.167.56.56 0 0 1 .41.166c.128.129.18.257.18.423Zm-.128 6.565h-.936V2.788h.936zm4.064-.052a1.1 1.1 0 0 1-.371.116 2.6 2.6 0 0 1-.424.038c-.897 0-1.346-.5-1.346-1.487V3.558h-.82v-.77h.82V1.635l.936-.295v1.436h1.193v.769h-1.193v2.538c0 .32.052.552.154.68s.282.192.551.192c.18 0 .347-.051.488-.154v.782zM59.16 1.25a1.1 1.1 0 0 0-.512-.128c-.526 Line truncated
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
[src$="android-store.svg"] {
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" width="117" height="30" fill="none" cursor="default"><path fill="@{text}" stroke="#fff" stroke-miterlimit="10" stroke-width=".2" d="M37.92 5.74a2.7 2.7 0 0 1-.75 2 2.9 2.9 0 0 1-2.2.89 3.15 3.15 0 0 1-2.21-5.37 3 3 0 0 1 2.21-.9 3.1 3.1 0 0 1 1.23.25c.362.146.684.376.94.67l-.53.53a2 2 0 0 0-1.64-.71 2.32 2.32 0 0 0-2.33 2.4 2.36 2.36 0 0 0 4 1.73 1.9 1.9 0 0 0 .5-1.22h-2.17v-.72h2.91q.04.223.04.45Zm4.58-2.5h-2.7v1.9h2.46v.72H39.8v1.9h2.7v.74H39v-6h3.5zm3.28 5.26h-.77V3.24h-1.68V2.5h4.17v.74h-1.72zm4.66 0v-6h.77v6zm4.19 0h-.77V3.24h-1.68V2.5h4.12v.74h-1.67zm9.48-.78a3.12 3.12 0 0 1-4.4 0 3.24 3.24 0 0 1 0-4.45 3.1 3.1 0 0 1 4.4 0 3.23 3.23 0 0 1 0 4.45Zm-3.83-.5a2.31 2.31 0 0 0 3.26 0 2.56 2.56 0 0 0 0-3.44 2.31 2.31 0 0 0-3.26 0 2.56 2.56 0 0 0 0 3.44Zm5.8 1.28v-6h.94l2.92 4.67V2.5h.77v6h-.8l-3.05-4.89V8.5z"/><path fill="@{text}" d="M58.64 17.25a4.25 4.25 0 1 0 4.27 4.25 4.19 4.19 0 0 0-4.27-4.25m0 6.83a2.58 2.58 0 1 1 2.4-2.58 2.46 2.46 0 0 1-2.4 2.58m-9.31-6.83a4.25 4.25 0 1 0 4.26 4.25 4.19 4.19 0 0 0-4.27-4.25zm0 6.83a2.58 2.58 0 1 1 2.39-2.58 2.46 2.46 0 0 1-2.4 2.58zm-11.09-5.52v1.8h4.32a3.77 3.77 0 0 1-1 2.27 4.42 4.42 0 0 1-3.33 1.32 4.8 4.8 0 0 1 0-9.6 4.6 4.6 0 0 1 3.27 1.29l1.27-1.27a6.3 6.3 0 0 0-4.53-1.87 6.61 6.61 0 1 0 0 13.21 6 6 0 0 0 4.61-1.85 6 6 0 0 0 1.56-4.22 6 6 0 0 0-.1-1.13zm45.31 1.4a4 4 0 0 0-3.64-2.71 4 4 0 0 0-4 4.25 4.16 4.16 0 0 0 4.22 4.25 4.23 4.23 0 0 0 3.54-1.88l-1.45-1a2.43 2.43 0 0 1-2.09 1.18 2.16 2.16 0 0 1-2.06-1.29l5.69-2.35zm-5.8 1.42a2.33 2.33 0 0 1 2.22-2.48 1.65 1.65 0 0 1 1.58.9zm-4.62 4.12H75V13h-1.87zm-3.06-7.3H70a3 3 0 0 0-2.24-1 4.26 4.26 0 0 0 0 8.51 2.9 2.9 0 0 0 2.24-1h.06v.61c0 1.63-.87 2.5-2.27 2.5a2.35 2.35 0 0 1-2.14-1.51l-1.63.68a4.05 4.05 0 0 0 3.77 2.51c2.19 0 4-1.29 4-4.43V17.5h-1.72zm-2.14 5.88a2.59 2.59 0 0 1 0-5.16 2.4 2.4 0 0 1 2.27 2.58 2.38 2.38 0 0 1-2.28 2.58zM92.31 13h-4.47v12.5h1.87v-4.74h2.61a3.889 3.889 0 0 0 2.93-6.728A3.9 3.9 0 0 0 92.32 13zm0 6H89.7v-4.26h2.65a2.145 2.145 0 1 1 0 4.29zm11.53-1.8a3.5 3.5 0 0 0-3.33 1.91l1.66.69a1.78 1.78 0 0 1 1.7-.92 1.8 1.8 0 0 1 1.792.931c.114.21.184.441.208.679v.13a4.1 4.1 0 0 0-1.95-.48c-1.79 0-3.6 1-3.6 2.81a2.9 2.9 0 0 0 .969 2.03 2.9 2.9 0 0 0 2.131.72 2.63 2.63 0 0 0 2.4-1.2h.06v1h1.8v-4.81c0-2.19-1.66-3.46-3.79-3.46zm-.23 6.85c-.61 0-1.46-.31-1.46-1.06 0-1 1.06-1.33 2-1.33a3.3 3.3 0 0 1 1.7.42 2.26 2.26 0 0 1-2.19 2zm10.63-6.55-2.14 5.42h-.06l-2.22-5.42h-2l3.33 7.58-1.9 4.21h1.95l5.12-11.79zm-16.81 8h1.87V13h-1.87z"/><path fill="@{sky}" d="M.94 3.04a2 2 0 0 0-.46 1.4v22.12a2 2 0 0 0 .46 1.4l.07.07L13.4 15.65v-.29L1.01 2.97z"/><path fill="@{yellow}" d="m17.5 19.78-4.1-4.13v-.29l4.1-4.14.09.05 4.91 2.79c1.4.79 1.4 2.09 0 2.89l-4.89 2.78z"/><path fill="@{red}" d="M17.62 19.72 13.4 15.5.94 27.96a1.63 1.63 0 0 0 2.08.06l14.61-8.3"/><path fill="@{green}" d="M17.62 11.28 3.01 2.98a1.63 1.63 0 0 0-2.08.06L13.4 15.5z"/><path fill="#000" d="M17.5 19.63 3.01 27.88a1.67 1.67 0 0 1-2 0l-.07.07.07.07a1.66 1.66 0 0 0 2 0l14.61-8.3z" opacity=".2"/><path fill="#000" d="M.94 27.82a2 2 0 0 1-.46-1.4v.15a2 2 0 0 0 .46 1.4l.07-.07zM22.5 16.8l-5 2.83.09.09 4.91-2.78a1.75 1.75 0 0 0 1-1.44 1.86 1.86 0 0 1-1 1.3" opacity=".12"/><path fill="#fff" d="M3.01 3.12 22.5 14.2a1.86 1.86 0 0 1 1 1.3 1.75 1.75 0 0 0-1-1.44L3.01 2.98C1.61 2.19.47 2.85.47 4.45v.15C.5 2.99 1.62 2.33 3.01 3.12" opacity=".25"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
[src$="ios-store.svg"] {
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" width="101" height="26" fill="none" cursor="default"><path fill="@{text}" d="M15.539 12.336a4.95 4.95 0 0 1 2.357-4.152 5.07 5.07 0 0 0-3.992-2.157c-1.679-.177-3.307 1.005-4.162 1.005-.873 0-2.19-.988-3.609-.959A5.32 5.32 0 0 0 1.66 8.801c-1.934 3.349-.491 8.27 1.361 10.976.927 1.326 2.01 2.806 3.428 2.754 1.387-.058 1.905-.885 3.58-.885 1.658 0 2.144.885 3.59.851 1.489-.024 2.427-1.331 3.32-2.669a11 11 0 0 0 1.52-3.092 4.78 4.78 0 0 1-2.92-4.4m-2.731-8.089a4.87 4.87 0 0 0 1.114-3.49 4.96 4.96 0 0 0-3.208 1.659 4.64 4.64 0 0 0-1.143 3.361 4.1 4.1 0 0 0 3.237-1.53m20.264 14.928H28.34l-1.137 3.357h-2.005l4.484-12.418h2.083l4.483 12.418h-2.039zm-4.243-1.548h3.752l-1.85-5.448h-.051l-1.85 5.448Zm17.101.379c0 2.813-1.506 4.62-3.779 4.62a3.07 3.07 0 0 1-2.848-1.583h-.043v4.484H37.4V13.478h1.8v1.506h.033a3.21 3.21 0 0 1 2.883-1.6c2.298 0 3.813 1.816 3.813 4.622Zm-1.91 0c0-1.833-.948-3.039-2.393-3.039-1.42 0-2.375 1.231-2.375 3.039 0 1.824.955 3.046 2.375 3.046 1.445 0 2.393-1.197 2.393-3.046m11.875 0c0 2.813-1.506 4.62-3.779 4.62a3.07 3.07 0 0 1-2.848-1.583h-.043v4.484h-1.859V13.478h1.799v1.506h.034a3.21 3.21 0 0 1 2.883-1.6c2.298 0 3.813 1.816 3.813 4.622m-1.91 0c0-1.833-.948-3.039-2.393-3.039-1.42 0-2.375 1.231-2.375 3.039 0 1.824.955 3.046 2.375 3.046 1.445 0 2.392-1.197 2.392-3.046Zm8.495 1.066c.138 1.231 1.335 2.04 2.97 2.04 1.566 0 2.693-.809 2.693-1.919 0-.964-.68-1.541-2.29-1.937l-1.609-.387c-2.28-.551-3.339-1.617-3.339-3.348 0-2.143 1.867-3.614 4.519-3.614 2.624 0 4.423 1.472 4.483 3.614h-1.876c-.112-1.24-1.137-1.987-2.634-1.987s-2.521.757-2.521 1.858c0 .878.654 1.395 2.255 1.79l1.368.336c2.548.603 3.607 1.626 3.607 3.442 0 2.324-1.851 3.779-4.794 3.779-2.754 0-4.614-1.421-4.734-3.667zm11.636-7.736v2.142h1.722v1.472h-1.722v4.991c0 .775.345 1.137 1.102 1.137a6 6 0 0 0 .611-.043v1.463q-.512.095-1.032.086c-1.833 0-2.548-.689-2.548-2.445v-5.19h-1.316v-1.47h1.316v-2.143zm2.719 6.67c0-2.85 1.678-4.64 4.294-4.64 2.625 0 4.295 1.79 4.295 4.64 0 2.856-1.661 4.638-4.295 4.638s-4.294-1.782-4.294-4.638m6.695 0c0-1.955-.895-3.108-2.401-3.108s-2.4 1.162-2.4 3.108c0 1.961.894 3.106 2.4 3.106s2.401-1.145 2.401-3.106m3.426-4.528h1.772v1.541h.044a2.16 2.16 0 0 1 2.177-1.636q.322 0 .637.07v1.738a2.6 2.6 0 0 0-.835-.112 1.873 1.873 0 0 0-1.937 2.083v5.37h-1.858zm13.198 6.395c-.25 1.643-1.85 2.771-3.898 2.771-2.634 0-4.269-1.764-4.269-4.595 0-2.84 1.644-4.682 4.19-4.682 2.506 0 4.081 1.72 4.081 4.466v.636h-6.395v.113a2.358 2.358 0 0 0 2.436 2.564 2.05 2.05 0 0 0 2.09-1.273zm-6.282-2.703h4.526a2.176 2.176 0 0 0-2.22-2.297 2.29 2.29 0 0 0-2.306 2.298ZM28.596.767a2.64 2.64 0 0 1 2.808 2.965c0 1.906-1.03 3.002-2.808 3.002h-2.155V.767zM27.368 5.89h1.125a1.875 1.875 0 0 0 1.967-2.146 1.88 1.88 0 0 0-1.967-2.134h-1.125zm5.082-1.41a2.132 2.132 0 1 1 4.247 0 2.134 2.134 0 1 1-4.247 0m3.333 0c0-.976-.438-1.547-1.208-1.547-.772 0-1.207.571-1.207 1.547 0 .984.435 1.55 1.207 1.55.77 0 1.208-.57 1.208-1.55m6.56 2.254h-.922l-.93-3.317h-.07l-.927 3.317h-.913L37.339 2.23h.902l.806 3.436h.067l.926-3.436h.852l.926 3.436h.07l.803-3.436h.889zm2.28-4.504h.856v.716h.066a1.35 1.35 0 0 1 1.344-.802 1.464 1.464 0 0 1 1.559 1.675v2.915h-.889V4.042c0-.724-.314-1.084-.972-1.084A1.033 1.033 0 0 0 45.512 4.1v2.635h-.889zM49.864.473h.888v6.26h-.888V.474Zm2.124 4.007a2.133 2.133 0 1 1 4.247 0 2.134 2.134 0 1 1-4.247 0m3.333 0c0-.976-.439-1.547-1.208-1.547-.773 0-1.207.571-1.207 1.547 0 .984.434 1.55 1.207 1.55.77 0 1.208-.57 1.208-1.55m1.849.98c0-.81.604-1.278 1.676-1.344l1.22-.07v-.389c0-.476-.315-.744-.922-.744-.496 0-.84.182-.939.5h-.86c.09-.773.818-1.27 1.84-1.27 1.128 0 1.765.563 1.765 1.514v3.077h-.855V6.1h-.07a1.52 1.52 0 0 1-1.353.707A1.36 1.36 0 0 1 57.17 5.46m2.895-.385V4.7l-1.1.07c-.62.042-.9.253-.9.65 0 .405.351.64.834.64a1.06 1.06 0 0 0 1.166-.984Zm2.053-.595c0-1.423.732-2.324 1.87-2.324a1.48 1.48 0 0 1 1.38.79h.067V.473h.888v6.26h-.851v-.71h-.07a1.56 1.56 0 0 1-1.415.785c-1.145 0-1.869-.901-1.869-2.328m.918 0c0 .955.45 1.53 1.203 1.53.75 0 1.212-.583 1.212-1.526 0-.938-.468-1.53-1.212-1.53-.748 0-1.203.579-1.203 1.526m6.964 0a2.132 2.132 0 1 1 4.247 0 2.134 2.134 0 1 1-4.247 0m3.333 0c0-.976-.439-1.547-1.208-1.547-.773 0-1.207.571-1.207 1.547 0 .984.434 1.55 1.207 1.55.77 0 1.208-.57 1.208-1.55m2.107-2.25h.855v.716h.066a1.35 1.35 0 0 1 1.344-.802 1.464 1.464 0 0 1 1.559 1.675v2.915h-.889V4.042c0-.724-.314-1.084-.972-1.084A1.033 1.033 0 0 0 76.328 4.1v2.635h-.889zm8.845-1.12v1.14h.976V3h-.976v2.315c0 .472.195.678.637.678q.17 0 .339-.02v.74q-.24.043-.484.046c-.988 0-1.382-.348-1.382-1.216V3h-.714v-.75h.715V1.11h.89Zm2.19-.637h.88v2.481h.07a1.385 1.385 0 0 1 1.374-.806 1.483 1.483 0 0 1 1.55 1.678v2.908h-.889V4.046c0-.72-.335-1.084-.963-1.084a1.052 1.052 0 0 0-1.134 1.142v2.63h-.888zm9.056 5.045a1.83 1.83 0 0 1-1.95 1.303 2.045 2.045 0 0 1-2.08-2.325 2.078 2.078 0 0 1 2.075-2.352c1.253 0 2.01.856 2.01 2.27v.31h-3.18v.05a1.19 1.19 0 0 0 1.199 1.29 1.08 1.08 0 0 0 1.07-.546zm-3.126-1.451h2.275A1.086Line truncated
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
}
|
||||
// social networks
|
||||
@socialnetworks: {
|
||||
Facebook: @blue;
|
||||
X: @text;
|
||||
};
|
||||
[class^="AppExternalLinks_socialLinksWrapper"] {
|
||||
each(@socialnetworks, {
|
||||
[title^="@{key} page"] > svg{
|
||||
color: @value !important
|
||||
}
|
||||
});
|
||||
}
|
||||
// yello star (e.g. the level in a user profile)
|
||||
svg[color="#e39d06"] {
|
||||
color: @yellow !important;
|
||||
}
|
||||
// list like button hover
|
||||
[class*="LikeButton_likeButton"]:hover [class*="LikeButton_heart"] {
|
||||
color: @red;
|
||||
}
|
||||
// register popup header
|
||||
.data-collector .header {
|
||||
color: @overlay2;
|
||||
}
|
||||
// danger button (clear all filters)
|
||||
[class*="Button_danger"] {
|
||||
background: @red;
|
||||
border-color: @red;
|
||||
color: @crust;
|
||||
}
|
||||
// warning button
|
||||
[class*="Button_warning"] {
|
||||
background-color: @yellow;
|
||||
border-color: @yellow;
|
||||
color: @crust;
|
||||
}
|
||||
// success button
|
||||
[class*="Button_success"] {
|
||||
background-color: @green;
|
||||
border-color: @green;
|
||||
color: @crust;
|
||||
}
|
||||
// disabled buttons
|
||||
[class*="Button_button"][disabled] {
|
||||
background-color: @surface2 !important ;
|
||||
border-color: @surface2 !important ;
|
||||
color: @overlay2 !important ;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@-moz-document domain('auth.alternativeto.net') {
|
||||
@media (prefers-color-scheme: light) {
|
||||
:root {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
|
||||
#catppuccin(@lookup, @accent) {
|
||||
@rosewater: @catppuccin[@@lookup][@rosewater];
|
||||
@flamingo: @catppuccin[@@lookup][@flamingo];
|
||||
@pink: @catppuccin[@@lookup][@pink];
|
||||
@mauve: @catppuccin[@@lookup][@mauve];
|
||||
@red: @catppuccin[@@lookup][@red];
|
||||
@maroon: @catppuccin[@@lookup][@maroon];
|
||||
@peach: @catppuccin[@@lookup][@peach];
|
||||
@yellow: @catppuccin[@@lookup][@yellow];
|
||||
@green: @catppuccin[@@lookup][@green];
|
||||
@teal: @catppuccin[@@lookup][@teal];
|
||||
@sky: @catppuccin[@@lookup][@sky];
|
||||
@sapphire: @catppuccin[@@lookup][@sapphire];
|
||||
@blue: @catppuccin[@@lookup][@blue];
|
||||
@lavender: @catppuccin[@@lookup][@lavender];
|
||||
@text: @catppuccin[@@lookup][@text];
|
||||
@subtext1: @catppuccin[@@lookup][@subtext1];
|
||||
@subtext0: @catppuccin[@@lookup][@subtext0];
|
||||
@overlay2: @catppuccin[@@lookup][@overlay2];
|
||||
@overlay1: @catppuccin[@@lookup][@overlay1];
|
||||
@overlay0: @catppuccin[@@lookup][@overlay0];
|
||||
@surface2: @catppuccin[@@lookup][@surface2];
|
||||
@surface1: @catppuccin[@@lookup][@surface1];
|
||||
@surface0: @catppuccin[@@lookup][@surface0];
|
||||
@base: @catppuccin[@@lookup][@base];
|
||||
@mantle: @catppuccin[@@lookup][@mantle];
|
||||
@crust: @catppuccin[@@lookup][@crust];
|
||||
@accent-color: @catppuccin[@@lookup][@@accent];
|
||||
|
||||
color-scheme: if(@lookup = latte, light, dark);
|
||||
|
||||
::selection {
|
||||
background-color: fade(@accent-color, 30%);
|
||||
}
|
||||
|
||||
input,
|
||||
textarea {
|
||||
&::placeholder {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
--widget-background-color: @base;
|
||||
--input-background-color: @base;
|
||||
--input-border-color: @surface1;
|
||||
--input-text-color: @text;
|
||||
--base-focus-color: @accent-color;
|
||||
--link-color: @accent-color;
|
||||
--primary-color: @accent-color;
|
||||
--button-font-color: @crust;
|
||||
--title-font-color: @text;
|
||||
--font-default-color: @text;
|
||||
--font-light-color: @subtext0;
|
||||
--border-default-color: @surface1;
|
||||
--social-button-border-color: @surface1;
|
||||
--secondary-button-text-color: @text;
|
||||
--transparency-focus-color: fade(@accent-color, 15%);
|
||||
--icon-default-color: @overlay1;
|
||||
--gray-lightest: @text;
|
||||
--error-color: @red;
|
||||
@error-svg: escape(
|
||||
'<svg width="16" height="16" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M8 14.667A6.667 6.667 0 1 0 8 1.333a6.667 6.667 0 0 0 0 13.334z" fill="@{red}" stroke="@{red}" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path fill-rule="evenodd" clip-rule="evenodd" d="M8 4.583a.75.75 0 0 1 .75.75V8a.75.75 0 0 1-1.5 0V5.333a.75.75 0 0 1 .75-.75z" fill="@{base}"/><path d="M8.667 10.667a.667.667 0 1 1-1.334 0 .667.667 0 0 1 1.334 0z" fill="@{base}"/></svg>'
|
||||
);
|
||||
--icon-error: url("data:image/svg+xml,@{error-svg}");
|
||||
|
||||
body {
|
||||
background: @crust;
|
||||
}
|
||||
.footer {
|
||||
a {
|
||||
color: @text;
|
||||
}
|
||||
background: @mantle;
|
||||
color: @subtext0;
|
||||
}
|
||||
#prompt-logo-center {
|
||||
@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
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
.password-icon-tooltip {
|
||||
background: @crust;
|
||||
|
||||
&::before {
|
||||
border-color: @crust transparent transparent;
|
||||
}
|
||||
}
|
||||
// "Continue with" login button icons
|
||||
@loginicon: {
|
||||
google: "<svg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 48 48'><defs><path id='a' d='M44.5 20H24v8.5h11.8C34.7 33.9 30.1 37 24 37c-7.2 0-13-5.8-13-13s5.8-13 13-13c3.1 0 5.9 1.1 8.1 2.9l6.4-6.4C34.6 4.1 29.6 2 24 2 11.8 2 2 11.8 2 24s9.8 22 22 22c11 0 21-8 21-22 0-1.3-.2-2.7-.5-4z'/></defs><clipPath id='b'><use xlink:href='#a' overflow='visible'/></clipPath><path clip-path='url(#b)' fill='@{yellow}' d='M0 37V11l17 13z'/><path clip-path='url(#b)' fill='@{red}' d='M0 11l17 13 7-6.1L48 14V0H0z'/><path clip-path='url(#b)' fill='@{green}' d='M0 37l30-23 7.9 1L48 0v48H0z'/><path clip-path='url(#b)' fill='@{blue}' d='M48 48L17 24l-4-3 35-10z'/></svg>";
|
||||
windowslive: "<svg xmlns='http://www.w3.org/2000/svg' width='21' height='21'><path fill='@{red}' d='M1 1h9v9H1z'/><path fill='@{blue}' d='M1 11h9v9H1z'/><path fill='@{green}' d='M11 1h9v9h-9z'/><path fill='@{yellow}' d='M11 11h9v9h-9z'/></svg>";
|
||||
github: "<svg width='20' height='20' xmlns='http://www.w3.org/2000/svg'><path d='M10 0C4.477 0 0 4.36 0 9.74c0 4.304 2.865 7.955 6.839 9.243.5.09.682-.211.682-.47 0-.23-.008-.843-.013-1.656-2.782.588-3.369-1.306-3.369-1.306-.454-1.125-1.11-1.425-1.11-1.425-.908-.604.069-.592.069-.592 1.003.069 1.531 1.004 1.531 1.004.892 1.488 2.341 1.059 2.91.81.092-.63.35-1.06.636-1.303-2.22-.245-4.555-1.081-4.555-4.814 0-1.063.39-1.933 1.029-2.613-.103-.247-.446-1.238.098-2.578 0 0 .84-.262 2.75.998A9.818 9.818 0 0 1 10 4.71c.85.004 1.705.112 2.504.328 1.909-1.26 2.747-.998 2.747-.998.546 1.34.203 2.331.1 2.578.64.68 1.028 1.55 1.028 2.613 0 3.742-2.339 4.566-4.566 4.807.359.3.678.895.678 1.804 0 1.301-.012 2.352-.012 2.671 0 .261.18.564.688.47C17.137 17.69 20 14.042 20 9.74 20 4.36 15.522 0 10 0z' fill='@{text}' fill-rule='evenodd'/></svg>";
|
||||
apple: "<svg width='170' xmlns='http://www.w3.org/2000/svg' height='170'><path d='M150.37 130.25c-2.45 5.66-5.35 10.87-8.71 15.66-4.58 6.53-8.33 11.05-11.22 13.56-4.48 4.12-9.28 6.23-14.42 6.35-3.69 0-8.14-1.05-13.32-3.18-5.197-2.12-9.973-3.17-14.34-3.17-4.58 0-9.492 1.05-14.746 3.17-5.262 2.13-9.501 3.24-12.742 3.35-4.929.21-9.842-1.96-14.746-6.52-3.13-2.73-7.045-7.41-11.735-14.04-5.032-7.08-9.169-15.29-12.41-24.65-3.471-10.11-5.211-19.9-5.211-29.378 0-10.857 2.346-20.221 7.045-28.068 3.693-6.303 8.606-11.275 14.755-14.925s12.793-5.51 19.948-5.629c3.915 0 9.049 1.211 15.429 3.591 6.362 2.388 10.447 3.599 12.238 3.599 1.339 0 5.877-1.416 13.57-4.239 7.275-2.618 13.415-3.702 18.445-3.275 13.63 1.1 23.87 6.473 30.68 16.153-12.19 7.386-18.22 17.731-18.1 31.002.11 10.337 3.86 18.939 11.23 25.769 3.34 3.17 7.07 5.62 11.22 7.36-.9 2.61-1.85 5.11-2.86 7.51zM119.11 7.24c0 8.102-2.96 15.667-8.86 22.669-7.12 8.324-15.732 13.134-25.071 12.375a25.222 25.222 0 0 1-.188-3.07c0-7.778 3.386-16.102 9.399-22.908 3.002-3.446 6.82-6.311 11.45-8.597 4.62-2.252 8.99-3.497 13.1-3.71.12 1.083.17 2.166.17 3.24z' fill='@{text}'/></svg>";
|
||||
};
|
||||
each(@loginicon, {
|
||||
span[data-provider="@{key}"] {
|
||||
@svg: escape(@value);
|
||||
background-image: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
/* prettier-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; };
|
||||
}
|
||||
|
||||
// vim:ft=less
|
||||
==/UserStyle== */
|
||||
@@ -0,0 +1,515 @@
|
||||
/* ==UserStyle==
|
||||
@name AlternativeTo Catppuccin
|
||||
@namespace github.com/catppuccin/userstyles/styles/alternativeto
|
||||
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/alternativeto
|
||||
@version 2024.12.29.1
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/alternativeto/catppuccin.user.less
|
||||
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Aalternativeto
|
||||
@description Soothing pastel theme for AlternativeTo
|
||||
@author Catppuccin
|
||||
@license MIT
|
||||
|
||||
@preprocessor less
|
||||
@var select lightFlavor "Light Flavor" ["latte:Latte*", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha"]
|
||||
@var select darkFlavor "Dark Flavor" ["latte:Latte", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha*"]
|
||||
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
|
||||
==/UserStyle== */
|
||||
|
||||
@-moz-document domain("alternativeto.net") {
|
||||
:root[data-theme="dark"] {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
}
|
||||
:root[data-theme="light"] {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
|
||||
#catppuccin(@lookup, @accent) {
|
||||
@rosewater: @catppuccin[@@lookup][@rosewater];
|
||||
@flamingo: @catppuccin[@@lookup][@flamingo];
|
||||
@pink: @catppuccin[@@lookup][@pink];
|
||||
@mauve: @catppuccin[@@lookup][@mauve];
|
||||
@red: @catppuccin[@@lookup][@red];
|
||||
@maroon: @catppuccin[@@lookup][@maroon];
|
||||
@peach: @catppuccin[@@lookup][@peach];
|
||||
@yellow: @catppuccin[@@lookup][@yellow];
|
||||
@green: @catppuccin[@@lookup][@green];
|
||||
@teal: @catppuccin[@@lookup][@teal];
|
||||
@sky: @catppuccin[@@lookup][@sky];
|
||||
@sapphire: @catppuccin[@@lookup][@sapphire];
|
||||
@blue: @catppuccin[@@lookup][@blue];
|
||||
@lavender: @catppuccin[@@lookup][@lavender];
|
||||
@text: @catppuccin[@@lookup][@text];
|
||||
@subtext1: @catppuccin[@@lookup][@subtext1];
|
||||
@subtext0: @catppuccin[@@lookup][@subtext0];
|
||||
@overlay2: @catppuccin[@@lookup][@overlay2];
|
||||
@overlay1: @catppuccin[@@lookup][@overlay1];
|
||||
@overlay0: @catppuccin[@@lookup][@overlay0];
|
||||
@surface2: @catppuccin[@@lookup][@surface2];
|
||||
@surface1: @catppuccin[@@lookup][@surface1];
|
||||
@surface0: @catppuccin[@@lookup][@surface0];
|
||||
@base: @catppuccin[@@lookup][@base];
|
||||
@mantle: @catppuccin[@@lookup][@mantle];
|
||||
@crust: @catppuccin[@@lookup][@crust];
|
||||
@accent-color: @catppuccin[@@lookup][@@accent];
|
||||
|
||||
color-scheme: if(@lookup = latte, light, dark);
|
||||
|
||||
::selection {
|
||||
background-color: fade(@accent-color, 30%);
|
||||
}
|
||||
|
||||
input,
|
||||
textarea {
|
||||
&::placeholder {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
--mainBrand: @accent-color;
|
||||
--topBrand: @accent-color;
|
||||
--footer: @mantle;
|
||||
--mainBg: @base;
|
||||
--mainFg: @text;
|
||||
--popBrand: @accent-color;
|
||||
--introBoxText: @text;
|
||||
--introBoxLink: @text;
|
||||
--introBoxMeta: @subtext0;
|
||||
--meta: @subtext0;
|
||||
--metaLight: @subtext1;
|
||||
--linkColorHeader: @text;
|
||||
--linkColor: @text;
|
||||
--brandLight3: @surface2;
|
||||
--brandLight4: @surface2;
|
||||
--brandLight5: @surface1;
|
||||
--brandLight6: @mantle;
|
||||
--brandLight7: @surface0;
|
||||
--brandLight8: @text;
|
||||
--brandLight10: @surface0;
|
||||
--brandLight11: @mantle;
|
||||
--gray50: @surface0;
|
||||
--gray100: @surface0;
|
||||
--gray150: @surface0;
|
||||
--gray200: @surface1;
|
||||
--gray250: @surface1;
|
||||
--gray300: @surface1;
|
||||
--gray500: @overlay0;
|
||||
--headingButton: @accent-color;
|
||||
--positiveGreener: @green;
|
||||
--positiveGreenerLight: fade(@green, 10%);
|
||||
--positiveGreenerDark: @green;
|
||||
--danger: @red;
|
||||
--negativeLight: fade(@peach, 10%);
|
||||
--lightDanger: fade(@red, 25%);
|
||||
--dangerDark: @red;
|
||||
--ctaMain: @mauve;
|
||||
--ctaLight: @base;
|
||||
--ctaLightest: @mantle;
|
||||
--tab: @mantle;
|
||||
--toastify-color-dark: @mantle;
|
||||
--toastify-color-light: @text;
|
||||
--toastify-color-info: @blue;
|
||||
--toastify-color-success: @green;
|
||||
--toastify-color-warning: @yellow;
|
||||
--toastify-color-error: @red;
|
||||
|
||||
// heart icon
|
||||
[class^="ModernLikeButton_likeWrapper"] {
|
||||
[class^="ModernLikeButton_heart"]:hover,
|
||||
[class^="ModernLikeButton_liked"] {
|
||||
svg {
|
||||
color: @red;
|
||||
}
|
||||
}
|
||||
}
|
||||
// primary button
|
||||
[class*="Button_primary"] {
|
||||
color: @crust !important;
|
||||
}
|
||||
// footer
|
||||
[class^="Footer_footer"] {
|
||||
&,
|
||||
& p a,
|
||||
& [class^="Footer_footerMenu"] li a {
|
||||
color: @text;
|
||||
}
|
||||
}
|
||||
[class^="Footer_footerLogo"] {
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" id="Capa_2" data-name="Capa 2" viewBox="0 0 800.42 190" cursor="default"><defs><style>.cls-1{fill:@{text};stroke-width:0}</style></defs><g id="Capa_1-2" data-name="Capa 1"><path d="M54.21 85.99c.89.99 1.9 1.09 2.77.21.58-.59 1.1-1.39 1.3-2.18.52-2.14.45-4.29-.39-6.38-.55-1.38-1.48-2.37-2.67-3.07a.96.96 0 0 0-.74-.11c-.8.22-1.34.71-1.85 1.39-.22.29-.14.71.17.89 1.54.91 2.48 2.12 2.81 3.83.35 1.85-.47 3.29-1.44 4.64-.17.24-.15.57.05.79Zm-34.03 2.55c-3.33-.2-6.18 2.22-6.37 5.4-.19 3.23 2.54 6.16 5.97 6.39 3.22.22 6.06-2.2 6.28-5.35.23-3.25-2.5-6.24-5.88-6.44" class="cls-1"/><path d="M166.41 86.27c-1.77-.11-3.37.78-4.29 2.2-1.7-1.07-6.34-3.34-8.14-4.25-.21-.12-.43-.23-.64-.34a.39.39 0 0 0-.33-.02v-.1c0-.13.01-.27.02-.4 1.87-37.41-36.04-66.48-72.79-55.22-17.71 5.42-31.77 19.77-37.39 37.43-1.27 3.98-2.15 10.17-2.36 16.71-.46.18-.92.36-1.37.55-.34.14-.67.27-1 .42-1.87.79-3.71 1.65-5.51 2.57s-3.56 1.89-5.29 2.96c-.24.15-.33.45-.21.71.13.28.46.4.74.27h.02c1.78-.84 3.63-1.59 5.48-2.28 1.86-.69 3.74-1.31 5.63-1.86l.11-.03a85 85 0 0 1 2.74-.75c.48-.12.95-.23 1.43-.34.05-.01.11-.03.16-.04.42-.1.84-.19 1.27-.27 1.91-.42 3.84-.68 5.75-.92h.06c.07-.02.15-.03.22-.05a1.967 1.967 0 0 0 1.45-2.38 1.967 1.967 0 0 0-2.38-1.45c-1.79.44-3.55.9-5.28 1.47.12-.04.23-.08.35-.12.22-5.84 1.03-11.31 2.16-14.88 5.19-16.31 18.19-29.55 34.54-34.58 1.47-.45 2.94-.83 4.41-1.15 1.43-.31 7.19-1.13.91 2.39-10.37 5.81-18.24 15.69-21.89 27.16-1.87 5.87-2.52 17.44-1.25 26.32.4 2.78-.54 3.34-2.27 4.06-3.68 1.54-10 4.34-13.28 8.3-1.26 1.52-1.89-.03-2.12-1.08-.62-2.79-1-5.92-1.16-9.14a.887.887 0 0 0-1.1-.82c-.89.22-1.78.45-2.65.73-.38.12-.63.49-.61.88.5 11.69 3.47 22.55 10.56 22.2.64-.03.96-.62.84-1.13-1.27-.8-2.11-1.71-2.45-2.74-2.33-7.01 19.41-16.18 47.25-20.35 25.59-3.83 47.57-2.08 51.39 3.75.84 1.13.81 2.31.22 3.48-.91 2.03-3.19 4.53-6.94 6.81-.51.31-.65.99-.32 1.49v.02c.31.44.89.61 1.36.37 4.11-2.1 7.17-5.29 8.54-7.94 1.2-2.31 1.66-5.32 1.87-8.13v-.06c.03.02.05.03.07.04 1.89.57 6.62 2.49 8.45 3.24h.03l.06.03c-.07.29-.12.6-.14.91-.15 2.79 2.02 5.3 4.76 5.5 2.57.19 4.83-1.9 5.01-4.61.18-2.8-1.99-5.37-4.69-5.55Zm-35.85-11.8c0 1.51-1.21 2.7-2.62 2.58-7.4-.66-14.6-.09-18.36.33-1.44.16-2.68-1.04-2.68-2.57v-2.14c0-.56.38-1.04.9-1.12 10.39-1.74 19.09-.69 21.85-.26.52.08.91.56.91 1.12v2.07Zm12.83-6.11c-.23.4-.73.54-1.16.37-15.85-6.02-40.59-2.63-40.59-2.63-7.71.83-16.38 2.51-24.84 5.72-1.86.71-3.83-.7-3.79-2.69.04-1.78.21-4.01.64-6.5.47-5.82 4.05-12.66 6.86-16.05.21-.26.44-.51.66-.76l.15-.18c.04-.04.08-.08.12-.13.09-.1.18-.19.27-.29.04-.04.08-.09.12-.13 10.77-11.27 29.74-12.56 43.04-5.22 6.35 3.5 12.48 9.45 15.96 15.84.59 1.09 4.26 9.59 2.54 12.61Z" class="cls-1"/><path d="M134.96 54.25c-3.13-5.2-7.49-9.08-13.06-11.45-6.18-2.63-12.69-3.49-19.37-2.94-2.34.2-4.64.67-6.84 1.5h-.02c-.92.35-.75 1.7.23 1.81.46.05 7.77-1.01 14.92.39 18.14 3.56 24.01 12.38 24.65 12.7.18.09.38-.09.3-.27-.28-.58-.47-1.2-.8-1.75Z" class="cls-1"/><path d="M190 95c0-52.47-42.53-95-95-95S0 42.53 0 95c0 30.37 14.25 57.41 36.43 74.8.61.48 1.24.96 1.86 1.42 0 0 .01 0 .02.01.62.47 1.26.92 1.89 1.37a94.6 94.6 0 0 0 32.39 14.72l.26.06c.54.13 1.08.25 1.62.37.16.04.33.07.49.11.51.11 1.02.22 1.53.32.2.04.39.08.59.11.5.09 1 .19 1.5.28.2.03.39.06.59.1q1.47.24 2.94.45c.19.03.38.06.58.08.37.05.74.09 1.11.13.38.04.75.09 1.13.13.35.04.7.07 1.05.1.41.04.81.08 1.22.11.33.03.67.05 1 .08.44.03.88.06 1.32.08.31.02.62.04.93.05l1.5.06c.26 0 .51.02.77.02q1.14.03 2.28.03c.81 0 1.61-.01 2.42-.03.27 0 .53-.02.8-.03.54-.02 1.07-.03 1.6-.06l.97-.06c.47-.03.94-.05 1.42-.09l1.05-.09c.44-.04.88-.07 1.32-.12l1.09-.12c.42-.05.85-.09 1.27-.14l1.11-.15c.41-.06.82-.11 1.23-.17l1.13-.18c.4-.06.79-.13 1.19-.2l1.14-.21c.38-.07.77-.14 1.15-.22l1.15-.24 1.13-.24 1.16-.27c.37-.09.73-.17 1.09-.27.39-.1.78-.2 1.17-.31.35-.09.71-.19 1.06-.29.39-.11.78-.22 1.17-.34.35-.1.69-.2 1.04-.31.39-.12.78-.24 1.17-.37.34-.11.68-.22 1.01-.33.39-.13.79-.27 1.18-.4.33-.11.65-.23.98-.35.4-.14.79-.29 1.18-.44.32-.12.64-.24.95-.36.4-.15.79-.31 1.19-.47.31-.12.62-.25.92-.38.4-.17.8-.33 1.19-.51.3-.13.59-.26.89-.39l1.2-.54c.29-.13.57-.27.86-.4.4-.19.8-.38 1.2-.58.28-.14.55-.27.83-.41.4-.2.8-.41 1.2-.61.27-.14.53-.28.8-.42.4-.21.8-.43 1.2-.65.26-.14.51-.29.77-.43.4-.23.81-.46 1.21-.69.24-.14.49-.29.73-.43.41-.24.81-.48 1.21-.73.23-.14.46-.29.7-.43.41-.26.81-.51 1.22-.77.22-.14.44-.29.66-.43.41-.27.82-.54 1.22-.82.21-.14.41-.28.61-.43.41-.29.83-.57 1.23-.87.19-.14.38-.27.56-.41.42-.31.84-.61 1.25-.92l.51-.39c.42-.32.85-.65 1.27-.98.15-.12.3-.25.46-.37.43-.35.86-.69 1.29-1.05l.39-.33c.44-.37.88-.74 1.32-1.12.1-.09.2-.18.31-.27.46-.4.92-.81 1.37-1.22.06-.06.13-.12.19-.18.49-.45.97-.9 1.45-1.35 18.05-17.29 29.29-41.64 29.29-68.6Zm-66.06 31.79c-.14-1.06-.27-2.12-.42-3.17-.17-1.05-.31-2.11-.51-3.15-.17-1.05-.37-2.09-.57-3.13-.22-1.02-.45-2.09-.7-3.03v-.05c-.22-.75.23-1.53.98-1.73.72-.19 1.46.2 1.7.89.4 1.12.68 2.15.97 3.23.27 1.07.54 2.14.77 3.21.46 2.15.83 4.31 1.17 6.47.43 2.83.73 5.68.96 8.53 1.87.08 3.7Line truncated
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
// rating stars
|
||||
[class^="StarRating_star"] {
|
||||
color: @text;
|
||||
&[class*="StarRating_active"] {
|
||||
color: @peach;
|
||||
}
|
||||
}
|
||||
// danger "discontinued" label
|
||||
[class*="AppAlertWrapper_warning"] span {
|
||||
color: @peach;
|
||||
}
|
||||
// feature point in alternative's features
|
||||
[class*="HighlightFeatureListItem_featurePoint"]:not(
|
||||
[class*="HighlightFeatureListItem_gray"]
|
||||
) {
|
||||
background-color: @green;
|
||||
color: @green;
|
||||
border-color: lighten(@green, 25%);
|
||||
}
|
||||
// app banner (ad)
|
||||
[class*="AppBanner_iconWrapper"],
|
||||
[class*="AppBanner_banner"],
|
||||
[class*="AppBanner_bottom"] {
|
||||
border-color: @overlay0;
|
||||
}
|
||||
// navigation/top bar
|
||||
[class^="HeaderLinks_globalSiteNav"] a,
|
||||
[class^="HeaderLinks_globalSiteNav"] span,
|
||||
[class^="HeaderLinks_authAndMenu"] a,
|
||||
[class*="Button_headerTextButton"] svg,
|
||||
[class*="Button_headerTextButton"]:hover svg,
|
||||
[class^="HeaderLinks_header"] button:focus {
|
||||
color: @base !important;
|
||||
}
|
||||
[class^="HeaderLinks_logoSmall"] {
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" id="Capa_2" data-name="Capa 2" viewBox="0 0 500 500" cursor="default"><defs><style>.cls-1{fill:@{base};stroke-width:0}</style></defs><g id="Capa_1-2" data-name="Capa 1"><path d="M250 8.66c133.29 0 241.34 108.05 241.34 241.34S383.29 491.34 250 491.34 8.66 383.28 8.66 250 116.71 8.66 250 8.66M250 0C112.15 0 0 112.15 0 250s112.15 250 250 250 250-112.15 250-250S387.84 0 250 0" class="cls-1"/><path d="M385.6 377.84c-.39.08-.77.17-1.16.25.71 2.47 1.37 4.82 1.96 7.19 1.4 5.64 2.81 11.28 4.21 16.91 9.54-8.85 18.25-18.57 26.01-29.04-6.35.75-12.86 1.53-19.23 2.43-3.92.55-7.75 1.38-11.8 2.26Z" class="cls-1"/><path d="M405 288.35c-78.81-12.75-161.7 12.77-228.94 53.36-15.77 9.52-33.12 18.95-44.36 34-7.65 10.28-11.68 22.52-14.14 35 6.45 5.28 13.23 10.18 20.31 14.67.01-.69.02-1.38.04-2.07.27-8.54 1.34-17.22 4.77-25.12 3.8-8.75 9.96-14.14 17.56-19.54 15.75-11.21 33.3-20.14 50.25-29.01 1.16-.61 2.81-.6 4.22-.88.32 1.28.99 2.59.9 3.85-.43 5.88-.3 11.81-.16 17.71.46 21.16 1.84 42.32 3.27 63.47.49 7.29 1 14.58 1.5 21.85a210 210 0 0 0 28.99 2.02c47.79 0 91.82-16.12 126.94-43.21-2.94-10.22-5.89-20.43-8.85-30.64-.12-.44-.27-.87-.43-1.3-.45.1-.9.21-1.33.34-25.77 7.16-51.97 17.21-80.11 30.75-.24.12-.49.25-.74.38-1.23.65-2.91 1.54-4.94 1.55h-.04c-2.47 0-5.79-1.37-7.08-3.94-1.33-2.67-.35-6.37 1.33-8.29 1.37-1.57 3.16-2.52 4.59-3.29l.79-.43a380.7 380.7 0 0 1 79.26-33.27c.75-.22 1.5-.45 2.25-.68-.48-1.23-.97-2.47-1.45-3.73-2.1-5.43-4.28-11.04-6.68-16.45-3.08-6.93-6.59-13.87-9.99-20.58l-1.75-3.47c-1.13-2.24-2.28-5.18-1.14-8.09.5-1.28 1.65-3.01 4.27-3.99 3.64-1.35 9.07 1.35 10.65 4.46 8.63 17 16.03 32.19 22.63 46.44.29.62.49.98.62 1.17.19-.02.51-.06.97-.16 16.55-3.77 32.97-5.37 48.79-4.77a207 207 0 0 0 18.46-39.79c-11.35-14.57-24.88-25.64-41.25-28.3Z" class="cls-1"/><path d="M455.59 229.46c-.46-4.53-1.19-9.03-2.04-13.52-.63-3.33-1.32-6.65-2.01-9.96-.74-3.57-1.38-7.17-2.26-10.71a191.2 191.2 0 0 0-16.52-43.66 199 199 0 0 0-7.62-13.22c-2.7-4.28-5.56-8.45-8.58-12.5a198 198 0 0 0-9.48-11.76c-3.3-3.79-6.74-7.45-10.31-10.98-3.56-3.52-7.26-6.92-11.07-10.17-3.81-3.26-7.75-6.36-11.78-9.33-4.04-2.97-8.18-5.79-12.42-8.47s-8.58-5.2-13-7.56c-4.43-2.37-8.94-4.58-13.52-6.64a214 214 0 0 0-28.32-10.37c-9.71-2.8-19.61-4.89-29.62-6.28-5.03-.69-10.08-1.21-15.14-1.54a211 211 0 0 0-15.28-.43c-5.12.05-10.25.29-15.35.71-5.14.44-10.27 1.06-15.36 1.89a202 202 0 0 0-30.51 7.42 194 194 0 0 0-15.01 5.59c-5.02 2.1-9.94 4.39-14.77 6.88-2.28 1.17-4.52 2.42-6.77 3.64-59.26 34.17-98.24 95-104.51 163.13-1.04 19.63.34 39.3 4.04 58.6h-.03s3.98 23.43 6.22 27.81c10.96 41.42 30.06 77.99 55.15 71.21a3.466 3.466 0 0 0 2.33-4.32c-.05-.15-.1-.31-.17-.45a19.92 19.92 0 0 1-10.91-7.84c-13.87-23.27 56.73-73.11 153.16-109.78 88.57-33.73 168.56-44.67 186.77-26.77 3.6 2.95 5 7.84 3.49 12.25a63.24 63.24 0 0 1-19.45 29.8c-.76.73-1.2 1.74-1.2 2.79s.43 2.07 1.19 2.8a3.783 3.783 0 0 0 5.1.24 73.94 73.94 0 0 0 24.37-35.04c.58-1.78.7-3.89.94-5.75.24-1.96.42-3.93.52-5.9.2-3.93.11-7.89-.29-11.83Zm-325.31 76.13c-11.8 8.37-32.37 23.36-40.98 40.1-3.36 6.45-6.5 1.43-8.46-2.24a203.6 203.6 0 0 1-11.27-31.61c-.01-.02-.02-.05-.03-.07-1.38-5.03-5.87-21.66-6.31-26.6.01-.01.02-.03.03-.03a223.6 223.6 0 0 1-3.9-54.95c5.86-62.88 41.87-119 96.56-150.56 4.94-2.76 9.9-5.27 14.9-7.55 4.9-2.23 24.81-9.65 5.11 7.81a175.4 175.4 0 0 0-56.81 114.21c-1.91 22.42 4.6 64.4 16.1 95.21 3.62 9.65.66 12.34-4.95 16.29Zm233.46-103.5a9.08 9.08 0 0 1-6.16 4.02 355 355 0 0 0-65.42 15.52c-2.48.75-5.17.42-7.4-.93a9.1 9.1 0 0 1-4.23-6.14l-1.68-7.68c-.41-1.94.57-3.91 2.37-4.74 24.87-9.94 51.13-16 77.84-17.97 1.99-.1 3.75 1.29 4.12 3.26l1.75 7.39c.64 2.48.21 5.12-1.19 7.26Zm42.35-39.08a3.47 3.47 0 0 1-3.82 2.2c-61.41-9.13-147.26 22.36-147.26 22.36a368.8 368.8 0 0 0-84.37 39.83c-4.73 3.11-11.09 1.79-14.2-2.95-.74-1.13-1.25-2.39-1.5-3.71-1.48-7.84-2.38-15.77-2.73-23.73-1.71-21.62 2.42-43.3 11.97-62.77.58-1.08 1.16-2.16 1.82-3.2.08-.27.21-.53.38-.76l.3-.54.74-1.25.36-.55c29.76-48.75 96.58-68.19 149.92-52.31 26.73 8.2 50.75 23.48 69.49 44.23 2.93 3.44 22.71 30.94 18.9 43.15" class="cls-1"/><path d="m374.15 129.69-.05.11A83.7 83.7 0 0 0 334.38 95a121.44 121.44 0 0 0-58.84-8.95c-7.13.56-14.13 2.11-20.83 4.58a2.83 2.83 0 0 0-2.02 3.07 2.816 2.816 0 0 0 2.74 2.45 172.3 172.3 0 0 1 45.36 1.21c55.24 11.04 72.92 37.62 74.86 38.67.55.27 1.21-.27.94-.82-.72-1.88-1.54-3.73-2.44-5.53Z" class="cls-1"/></g></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
[class*="HeaderLinks_logoLarge"] {
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" id="Capa_2" data-name="Capa 2" viewBox="0 0 1070.28 160.29" cursor="default"><defs><style>.cls-1{fill:@{base};stroke-width:0}</style></defs><g id="Capa_1-2" data-name="Capa 1"><path d="M45.35 118.15c-3.55 0-5.45 1.89-6.16 4.97l-6.39 26.76c-1.18 5.21-4.97 8.05-10.42 8.05H7c-5.21 0-8.05-2.84-6.63-8.05L38.01 7.82C39.43 2.85 42.98 0 48.19 0h21.54c5.21 0 8.76 2.84 10.18 7.82l36.94 141.35c1.42 5.21-1.42 8.76-6.63 8.76h-16.1c-5.44 0-9.23-2.84-10.41-8.05l-6.39-26.76c-.71-3.08-2.6-4.97-6.16-4.97zm19.89-27.47c2.6 0 4.26-1.18 3.55-4.02L58.38 41.91 47.72 86.66c-.71 2.84.95 4.02 3.55 4.02zm93.68 59.43c0 5.21-2.6 7.81-8.05 7.81h-14.92c-5.21 0-7.81-2.6-7.81-7.81V8.05c0-5.44 2.6-8.05 7.81-8.05h14.92c5.45 0 8.05 2.61 8.05 8.05zm21.3-88.31h-2.6c-5.21 0-7.81-2.6-7.81-7.81V43.57c0-5.21 2.6-7.81 7.81-7.81h2.6V18.48c0-4.97.95-10.65 7.34-12.55l12.55-3.55C206.98.49 211 2.86 211 9.48v26.28h10.18c5.21 0 7.81 2.6 7.81 7.81v10.42c0 5.21-2.6 7.81-7.81 7.81H211v64.17c0 6.16 3.55 8.28 8.05 8.28h3.32c3.55 0 5.92 1.18 5.92 6.63v8.05c0 8.05-8.05 11.37-16.58 11.37-15.62 0-31.49-8.76-31.49-29.83zm141.94 35.99c0 5.21-2.61 7.81-7.82 7.81h-47.12v8.52c0 13.26 6.16 20.36 20.6 20.36 9.94 0 13.73-4.02 20.12-4.02 5.68 0 7.81 4.5 7.81 7.81v3.79c0 9.94-9.47 18.23-29.83 18.23-32.43 0-49.48-18.94-49.48-48.78V74.34c0-25.1 18.23-40.96 42.86-40.96s42.86 15.87 42.86 40.96v23.44Zm-30.55-23.44c0-11.37-4.74-17.05-12.31-17.05s-12.07 5.68-12.07 17.05v7.81h24.39v-7.81Zm74.22 75.76c0 5.21-2.61 7.81-8.05 7.81h-14.92c-5.21 0-7.81-2.6-7.81-7.81V43.8c0-5.45 2.61-8.05 7.81-8.05h14.92c5.68 0 8.05 2.6 8.05 8.53 4.73-4.98 12.07-10.89 21.31-10.89 5.68 0 6.39 3.55 6.39 6.63v12.55c0 6.87-5.92 7.58-11.6 8.29-9.71 1.18-16.1 9-16.1 20.6v68.66Zm97.5-73.87c0-9.71-4.5-16.81-13.5-16.81s-13.49 7.1-13.49 16.81v73.87c0 5.21-2.61 7.81-8.05 7.81h-14.92c-5.21 0-7.81-2.6-7.81-7.81V43.8c0-5.45 2.61-8.05 7.81-8.05h14.92c5.21 0 8.05 2.6 8.05 7.81 0 0 8.05-10.18 23.91-10.18 22.97 0 33.86 17.05 33.86 42.86v73.87c0 5.21-2.61 7.81-8.05 7.81h-14.92c-5.21 0-7.81-2.6-7.81-7.81zm59.5-16.57c-2.84 0-6.39-1.42-6.39-5.92v-6.39c0-10.18 15.39-13.97 30.31-13.97 20.6 0 47.35 5.21 47.35 38.83v77.66c0 5.45-2.6 8.05-7.81 8.05h-11.37c-4.97 0-7.57-2.13-8.05-6.16-.71.71-8.29 8.53-22.26 8.53-22.97 0-39.07-17.28-39.07-39.3 0-36.94 28.65-47.83 57.77-50.91-.48-8.29-3.79-13.97-17.05-13.97s-18.94 3.55-23.44 3.55Zm27 74.1c8.76 0 13.5-7.1 13.5-16.1V92.34c-13.73 3.08-26.99 7.57-26.99 25.33 0 8.76 4.26 16.1 13.5 16.1Zm63.05-71.97h-2.6c-5.21 0-7.81-2.6-7.81-7.81V43.57c0-5.21 2.6-7.81 7.81-7.81h2.6V18.48c0-4.97.95-10.65 7.34-12.55l12.55-3.55c6.87-1.89 10.89.48 10.89 7.1v26.28h10.18c5.21 0 7.81 2.6 7.81 7.81v10.42c0 5.21-2.6 7.81-7.81 7.81h-10.18v64.17c0 6.16 3.55 8.28 8.05 8.28h3.32c3.55 0 5.92 1.18 5.92 6.63v8.05c0 8.05-8.05 11.37-16.58 11.37-15.62 0-31.49-8.76-31.49-29.83zM706.79 18c0 5.21-2.6 7.81-8.05 7.81h-14.92c-5.21 0-7.81-2.61-7.81-7.81V8.05c0-5.44 2.6-8.05 7.81-8.05h14.92c5.45 0 8.05 2.61 8.05 8.05zm0 132.11c0 5.21-2.6 7.81-8.05 7.81h-14.92c-5.21 0-7.81-2.6-7.81-7.81V43.8c0-5.45 2.6-8.05 7.81-8.05h14.92c5.45 0 8.05 2.6 8.05 8.05zM809.78 35.75c5.21 0 9 3.55 6.63 10.42l-34.33 103.94c-1.18 4.02-4.02 7.81-10.18 7.81h-10.89c-6.16 0-9-3.79-10.18-7.81L718.39 46.17c-2.13-6.87 1.42-10.42 6.63-10.42h13.03c6.39 0 9.23 3.08 10.41 8.05l18.94 67.24 20.36-67.24c1.42-4.97 4.02-8.05 10.42-8.05zm98.41 62.04c0 5.21-2.61 7.81-7.82 7.81h-47.12v8.52c0 13.26 6.16 20.36 20.6 20.36 9.94 0 13.73-4.02 20.12-4.02 5.68 0 7.81 4.5 7.81 7.81v3.79c0 9.94-9.47 18.23-29.83 18.23-32.43 0-49.48-18.94-49.48-48.78V74.34c0-25.1 18.23-40.96 42.86-40.96s42.86 15.87 42.86 40.96v23.44Zm-30.55-23.44c0-11.37-4.74-17.05-12.31-17.05s-12.07 5.68-12.07 17.05v7.81h24.39v-7.81Z" class="cls-1"/><path d="M992.14 8.05v11.37c0 5.21-2.6 7.81-8.05 7.81h-20.36c-3.08 0-4.74 1.66-4.74 4.74v118.15c0 5.21-2.6 7.81-7.81 7.81h-16.1c-5.45 0-8.05-2.6-8.05-7.81V31.97c0-3.08-1.66-4.74-4.73-4.74h-20.36c-5.45 0-8.05-2.6-8.05-7.81V8.05c0-5.44 2.6-8.05 8.05-8.05h82.16c5.45 0 8.05 2.61 8.05 8.05Z" class="cls-1"/><path d="M979.91 73.63c0-28.17 21.78-40.25 44.04-40.25s44.04 12.07 46.33 40.25v46.41c-2.29 28.18-24.08 40.25-46.33 40.25s-44.04-12.07-44.04-40.25zm30.78 46.41c0 9.23 5.21 14.21 13.26 14.21s13.26-4.97 13.26-14.21V73.63c0-9.23-5.21-14.21-13.26-14.21s-13.26 4.98-13.26 14.21z" class="cls-1"/></g></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
// hanburger menu
|
||||
[class^="DropdownListLink_additionalInfo"] {
|
||||
color: @subtext0;
|
||||
}
|
||||
// svg color variables
|
||||
@light-peach: lighten(@peach, 25%);
|
||||
@dark-peach: darken(@peach, 25%);
|
||||
@dark-blue: desaturate(darken(@blue, 60%), 40%);
|
||||
@darker-blue: desaturate(darken(@blue, 65%), 40%);
|
||||
// main page header
|
||||
img[class*="PageIntroImage_a2-header-"] {
|
||||
@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
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
// flipped/mirrored/right variation of the a2 robot svg (found in /about and /about/privacy)
|
||||
&[src^="/static/a2-header-right"] {
|
||||
transform: scale(-1, 1);
|
||||
}
|
||||
}
|
||||
@media screen and (min-width: 1200px) {
|
||||
[class*="PageIntroWrapper_wrapper"] {
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" id="Clouds" x="0" y="0" style="cursor:default" version="1.1" viewBox="0 0 404 136"><style>.st0{clip-path:url(#SVGID_00000124847987691952410040000001964486568889829789_)}.st1{fill:@{surface0}}.st2{fill:@{surface1}}</style><defs><path id="SVGID_1_" d="M-22 44h363v92H-22z"/></defs><clipPath id="SVGID_00000138556141443024540190000008926974327054756783_"><use xlink:href="#SVGID_1_" style="overflow:visible"/></clipPath><g style="clip-path:url(#SVGID_00000138556141443024540190000008926974327054756783_)"><path d="M29.65 156.72c1.41-6.61.84-13.71-2.07-20.37-7.37-16.83-26.9-24.46-43.63-17.06-16.48 7.3-24.08 26.48-17.26 43.14l62.96-5.71z" class="st1"/><path d="M128.04 81.5s-.03-.02-.04-.03C110.71 53.42 75.1 41.71 44.21 55.4 10.38 70.38-4.96 110.11 9.93 144.14a67.59 67.59 0 0 0 8.01 13.65l112.84-10.24c7.55-14.95 10.51-33.57 5.57-50.46-1.55-2.77-6.76-13.09-8.31-15.59z" class="st1"/><path d="m20.48 157.55 112.61-10.22c4.89-14.3 4.67-30.41-1.87-45.34-13.79-31.51-50.35-45.8-81.67-31.93s-45.52 50.66-31.73 82.16c.8 1.84 1.69 3.61 2.66 5.33z" class="st2"/><path d="M205.62 140.74c.38-1.42.71-2.87.94-4.35 3.84-24.11-12.47-46.79-36.44-50.66-23.97-3.86-46.51 12.55-50.36 36.66-1.46 9.13 0 18.04 3.65 25.81l82.21-7.46z" class="st1"/><path d="m229.85 134.8 4.94-.45-.36-3.98c-.45.06-.86.15-1.22.31-1.49.67-2.13 1.59-3.9 1.93-2.21.43-4.55.47-6.83.59-.3-.32-.69-.59-1.16-.78-1.05-.42-2.04-.44-3.12-.65-1.34-.26-2.9-.88-4.2-1.38-1.69-.66-2.84-1.93-4.09-3.04-5.4-16.66-19.64-29.78-38.02-32.74-26.16-4.22-50.76 13.7-54.96 40.01-.77 4.83-.78 9.6-.15 14.19l113.41-10.29-.34-3.72z" class="st2"/><path d="m-1.99 139.23 48.23-4.38c2.48-5.14 3.36-11.05 2.13-17-3.05-14.67-17.75-23.99-32.85-20.82-15.1 3.18-24.86 17.64-21.82 32.31.76 3.67 2.26 7 4.31 9.89z" class="st1"/><path d="m-4.15 139.42 54.8-4.97c.22-2.53.1-5.12-.44-7.72-3.05-14.67-17.75-23.99-32.85-20.82-15.1 3.18-24.86 17.64-21.82 32.31.09.41.2.81.31 1.2zM216.48 139.58c7.29-.66 12.67-7.14 12.01-14.48-.66-7.33-7.1-12.74-14.39-12.08-7.29.66-12.67 7.14-12.01 14.48.66 7.33 7.1 12.74 14.39 12.08z" class="st2"/><path d="M244.33 137.2c.26-1.06.36-2.19.26-3.33-.5-5.59-5.41-9.72-10.97-9.21-5.56.5-9.66 5.44-9.15 11.04.1 1.15.4 2.24.85 3.23l19.01-1.73z" class="st2"/></g><path d="m114.54 15-4.43 8.1-8.1 4.43 8.1 4.43 4.43 8.1 4.43-8.1 8.1-4.43-8.1-4.43-4.43-8.1zM397 19l-2.47 4.52L390 26l4.53 2.48L397 33l2.48-4.53L404 26l-4.52-2.47L397 19zM46 0l-2.12 3.88L40 6l3.88 2.12L46 12l2.12-3.88L52 6l-3.88-2.12L46 0z" class="st2"/><script/></svg>'
|
||||
);
|
||||
@svg2: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" id="Clouds" x="0" y="0" style="cursor:default" version="1.1" viewBox="0 0 376 144"><style>.st0{fill:@{surface1}}.st1{fill:@{surface0}}</style><path d="m179.46 164.49 172.73-15.58c7.5-21.8 7.16-46.37-2.87-69.14-21.16-48.03-77.24-69.83-125.28-48.67-48.04 21.15-69.83 77.24-48.68 125.27 1.24 2.8 2.61 5.5 4.08 8.12h.02z" class="st0"/><path d="M463.45 138.87c.58-2.16 1.09-4.37 1.45-6.63 5.89-36.77-19.14-71.35-55.9-77.25-36.77-5.89-71.35 19.14-77.25 55.9-2.24 13.93 0 27.51 5.6 39.36l126.1-11.38z" class="st1"/><path d="m500.62 129.8 7.58-.68-.55-6.07c-.68.09-1.32.23-1.87.48-2.28 1.02-3.26 2.42-5.98 2.95-3.4.65-6.98.72-10.48.9-.46-.49-1.05-.89-1.79-1.18-1.61-.63-3.13-.67-4.79-.99-2.06-.39-4.45-1.35-6.43-2.11-2.6-1-4.35-2.94-6.28-4.64-8.28-25.4-30.12-45.4-58.32-49.92-40.12-6.44-77.87 20.88-84.3 61.01a73.47 73.47 0 0 0-.23 21.64l173.97-15.69-.51-5.67-.02-.03zM201.72 162.49c.32-7.58-1.04-15.36-4.3-22.78-11.44-25.97-41.75-37.75-67.72-26.31-22.86 10.06-34.71 34.76-29.43 58.24l101.45-9.15z" class="st0"/><path d="M128.28 169.11c.19-4.49-.61-9.08-2.55-13.47-6.77-15.36-24.7-22.32-40.04-15.57-13.52 5.96-20.53 20.56-17.4 34.45l59.99-5.41z" class="st0"/><path d="m151.13 167.05 73.98-6.67c3.81-7.84 5.16-16.84 3.27-25.92-4.67-22.37-27.23-36.58-50.39-31.74s-38.14 26.89-33.47 49.26a39.88 39.88 0 0 0 6.62 15.08l-.01-.01z" class="st1"/><path d="m147.82 167.35 84.06-7.58c.34-3.86.16-7.8-.67-11.77-4.67-22.37-27.23-36.58-50.39-31.74s-38.14 26.89-33.47 49.26c.13.63.3 1.23.46 1.85l.01-.02zM107.11 9l-2.51 4.59-4.6 2.51 4.59 2.51 2.51 4.59 2.51-4.59 4.59-2.51-4.59-2.51-2.5-4.59zM10 94l-3.54 6.46L0 104l6.47 3.54L10 114l3.54-6.47L20 104l-6.46-3.54L10 94z" class="st0"/><script/></svg>'
|
||||
);
|
||||
background-image:
|
||||
url("data:image/svg+xml,@{svg}"),
|
||||
url("data:image/svg+xml,@{svg2}");
|
||||
}
|
||||
}
|
||||
// news page header
|
||||
[src^="/static/a2-screen"] {
|
||||
@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
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
// new app releases page header
|
||||
[src^="/static/a2-drop"] {
|
||||
@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
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
// bottom right loading spinner icon
|
||||
#nprogress .spinner-icon {
|
||||
border-top-color: @accent-color;
|
||||
border-left-color: @accent-color;
|
||||
}
|
||||
// top progress bar when loading a new page
|
||||
#nprogress .peg {
|
||||
box-shadow: 0 0 10px @accent-color, 0 0 5px @accent-color;
|
||||
}
|
||||
// toast
|
||||
.Toastify__close-button {
|
||||
color: @text;
|
||||
}
|
||||
[data-testid="toast"] > div > span {
|
||||
color: @text !important;
|
||||
}
|
||||
// remove filter badge
|
||||
li[class^="AppFilterBarCommon_current"]:hover {
|
||||
& a::after,
|
||||
& > span::after {
|
||||
color: darken(@red, 25%);
|
||||
}
|
||||
}
|
||||
// news fire icon
|
||||
@newstype: {
|
||||
hottest: @peach;
|
||||
hot_: @yellow;
|
||||
luke: @text;
|
||||
};
|
||||
each(
|
||||
@newstype,
|
||||
{
|
||||
[class^="NewsForListMeta_@{key}"] {
|
||||
color: @value;
|
||||
}
|
||||
}
|
||||
);
|
||||
// current page nummber
|
||||
[class*="Pagination_current"] {
|
||||
color: @subtext0;
|
||||
}
|
||||
// full screen screenshot button
|
||||
[class^="ImageCollection-modern_expandImage"] {
|
||||
background: fade(@text, 80%) !important;
|
||||
svg {
|
||||
color: @crust !important;
|
||||
}
|
||||
& when (@lookup = latte) {
|
||||
background: fade(@crust, 80%) !important;
|
||||
svg {
|
||||
color: @text !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
// social icons
|
||||
// rrs
|
||||
svg[color="#f26522"] {
|
||||
color: @peach !important;
|
||||
}
|
||||
// "Share on" icons
|
||||
@socialapps: {
|
||||
facebook: @blue;
|
||||
reddit: @peach;
|
||||
};
|
||||
[class^="ShareButtons_shareButtons"] {
|
||||
each(
|
||||
@socialapps,
|
||||
{
|
||||
[title="Share on @{key}"] > svg {
|
||||
color: @value !important;
|
||||
}
|
||||
}
|
||||
);
|
||||
}
|
||||
// AppStores & Other Links
|
||||
[class*="Button_black"],
|
||||
[class^="AppExternalLinks_appstoreWrapper"] {
|
||||
background: @crust;
|
||||
color: @text;
|
||||
&:hover {
|
||||
background: @base;
|
||||
}
|
||||
[src$="ms-store.svg"] {
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" width="95" height="24" fill="none" cursor="default"><path fill="@{red}" d="M11.48.853H.738v10.743h10.744V.853Z"/><path fill="@{green}" d="M23.34.853H12.596v10.743H23.34z"/><path fill="@{blue}" d="M11.48 12.699H.738v10.743h10.744V12.7Z"/><path fill="@{yellow}" d="M23.34 12.699H12.596v10.743H23.34z"/><path fill="@{text}" d="M44.045 12.955c0-.32.115-.577.346-.795s.5-.32.82-.32c.334 0 .616.115.834.333s.333.487.333.782c0 .308-.115.577-.346.782-.23.218-.5.32-.833.32-.334 0-.603-.102-.834-.32a1.1 1.1 0 0 1-.32-.782m2.115 10.487h-1.91v-8.14h1.91zm5.82-1.397c.283 0 .603-.064.95-.192a3.8 3.8 0 0 0 .948-.526v1.782c-.307.18-.654.308-1.038.397-.385.09-.82.142-1.282.142-1.193 0-2.167-.385-2.923-1.142s-1.129-1.73-1.129-2.897q0-1.962 1.154-3.23c.77-.847 1.846-1.27 3.257-1.27.359 0 .718.051 1.09.141.371.09.653.205.871.32v1.834a3.8 3.8 0 0 0-.91-.5 2.7 2.7 0 0 0-.949-.18c-.756 0-1.359.244-1.833.731-.462.487-.693 1.154-.693 1.987 0 .82.218 1.462.667 1.923s1.052.68 1.82.68m7.347-6.872c.154 0 .295.013.41.026.116.025.231.051.308.077v1.936a1.5 1.5 0 0 0-.436-.206 2.2 2.2 0 0 0-.705-.102c-.474 0-.872.192-1.192.59s-.487 1-.487 1.833v4.115h-1.91v-8.14h1.91v1.281h.025c.18-.448.436-.794.795-1.038s.782-.372 1.282-.372m.821 4.321c0-1.346.384-2.41 1.14-3.206.757-.782 1.821-1.179 3.167-1.179 1.27 0 2.27.385 2.987 1.141s1.077 1.782 1.077 3.064c0 1.32-.384 2.372-1.14 3.154-.757.782-1.796 1.167-3.103 1.167-1.257 0-2.27-.372-3-1.116-.757-.73-1.129-1.743-1.129-3.025Zm2-.064c0 .846.192 1.5.576 1.948.385.449.936.667 1.654.667.692 0 1.231-.218 1.59-.667.359-.448.551-1.115.551-2 0-.872-.192-1.538-.564-1.987s-.91-.667-1.59-.667c-.705 0-1.243.231-1.64.706-.385.474-.578 1.128-.578 2Zm9.218-1.988c0 .27.09.487.256.641.18.154.564.346 1.154.59q1.155.462 1.615 1.039.462.576.462 1.384 0 1.155-.885 1.846-.885.693-2.385.692a5.2 5.2 0 0 1-1.115-.128 5.3 5.3 0 0 1-1.038-.307v-1.885a4.5 4.5 0 0 0 1.128.577c.397.141.77.218 1.09.218.436 0 .756-.064.961-.18q.308-.172.308-.615a.82.82 0 0 0-.32-.667c-.219-.18-.616-.397-1.219-.628q-1.057-.442-1.5-1c-.294-.372-.448-.846-.448-1.41 0-.73.295-1.333.871-1.808.577-.474 1.334-.705 2.27-.705.282 0 .602.026.961.09.36.064.654.14.885.243v1.82a4.7 4.7 0 0 0-.885-.435 3.1 3.1 0 0 0-1-.18c-.359 0-.654.078-.846.218a.67.67 0 0 0-.32.59m4.333 2.052c0-1.346.384-2.41 1.14-3.206.757-.782 1.821-1.179 3.167-1.179 1.27 0 2.27.385 2.988 1.141s1.076 1.782 1.076 3.064c0 1.32-.384 2.372-1.14 3.154-.757.782-1.795 1.167-3.103 1.167-1.257 0-2.27-.372-3-1.116-.757-.73-1.128-1.743-1.128-3.025m1.987-.064c0 .846.192 1.5.577 1.948.384.449.936.667 1.654.667.692 0 1.23-.218 1.59-.667.358-.448.55-1.115.55-2 0-.872-.192-1.538-.563-1.987-.372-.449-.91-.667-1.59-.667-.705 0-1.244.231-1.641.706-.385.474-.577 1.128-.577 2m12.705-2.552v4.18c0 .872.205 1.512.603 1.948.397.436 1.012.641 1.82.641.27 0 .551-.025.833-.09.282-.063.488-.115.603-.192v-1.59a1.7 1.7 0 0 1-.41.193 1.3 1.3 0 0 1-.398.077c-.384 0-.68-.103-.859-.308-.18-.205-.269-.564-.269-1.064v-3.808h1.949v-1.564h-1.936v-2.41l-1.923.59v1.833h-2.86v-.987c0-.487.103-.86.321-1.116s.526-.371.924-.371a1.8 1.8 0 0 1 .884.217v-1.653a2.4 2.4 0 0 0-.474-.103 4.4 4.4 0 0 0-.616-.038c-.871 0-1.59.269-2.14.82-.552.552-.834 1.244-.834 2.103v1.128H84.25v1.564h1.359v6.577h1.936v-6.577zm-47.987-4.795v11.36h-1.975v-8.898h-.025l-3.526 8.897H35.57l-3.615-8.897h-.026v8.897h-1.82V12.083h2.82l3.27 8.423h.05l3.45-8.423zm-7.116-4.91q-1.02.577-2.307.577c-.654 0-1.231-.141-1.744-.436a2.9 2.9 0 0 1-1.167-1.218 3.8 3.8 0 0 1-.41-1.77c0-.691.154-1.32.449-1.858a3.2 3.2 0 0 1 1.27-1.282c.55-.308 1.166-.462 1.858-.462.346 0 .692.039 1.038.103s.629.154.847.256V2.11c-.513-.346-1.167-.513-1.962-.513-.474 0-.897.116-1.282.346-.384.231-.68.552-.884.949q-.308.615-.308 1.385c0 .807.218 1.448.64 1.923.424.474 1.014.705 1.757.705.475 0 .898-.09 1.257-.282V4.865h-1.45V4.02h2.398zm5.526-1.705h-3.359c.013.487.167.859.423 1.128.27.257.616.398 1.051.398.578 0 1.078-.167 1.513-.5v.82a2.4 2.4 0 0 1-.73.32 3.6 3.6 0 0 1-.91.116c-.731 0-1.308-.218-1.706-.654s-.602-1.051-.602-1.846c0-.487.102-.936.294-1.32a2.2 2.2 0 0 1 .821-.924 2.17 2.17 0 0 1 1.167-.333c.628 0 1.128.205 1.487.615s.538.975.538 1.706v.474zm-.936-.73c0-.424-.102-.744-.295-.962-.192-.218-.461-.334-.82-.334q-.48 0-.846.346c-.244.231-.385.552-.462.95zm4.577 2.845a1.1 1.1 0 0 1-.372.116 2.6 2.6 0 0 1-.423.038c-.897 0-1.346-.5-1.346-1.487V3.558h-.82v-.77h.82V1.635l.936-.295v1.436h1.192v.769H43.25v2.538c0 .32.051.552.154.68.102.128.282.192.551.192.18 0 .346-.051.487-.154v.782zm4.641-6.513a.53.53 0 0 1-.166.398.57.57 0 0 1-.423.167.57.57 0 0 1-.423-.167.52.52 0 0 1-.167-.41.53.53 0 0 1 .18-.41.62.62 0 0 1 .41-.167.56.56 0 0 1 .41.166c.128.129.18.257.18.423Zm-.128 6.565h-.936V2.788h.936zm4.064-.052a1.1 1.1 0 0 1-.371.116 2.6 2.6 0 0 1-.424.038c-.897 0-1.346-.5-1.346-1.487V3.558h-.82v-.77h.82V1.635l.936-.295v1.436h1.193v.769h-1.193v2.538c0 .32.052.552.154.68s.282.192.551.192c.18 0 .347-.051.488-.154v.782zM59.16 1.25a1.1 1.1 0 0 0-.512-.128c-.526 Line truncated
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
[src$="android-store.svg"] {
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" width="117" height="30" fill="none" cursor="default"><path fill="@{text}" stroke="#fff" stroke-miterlimit="10" stroke-width=".2" d="M37.92 5.74a2.7 2.7 0 0 1-.75 2 2.9 2.9 0 0 1-2.2.89 3.15 3.15 0 0 1-2.21-5.37 3 3 0 0 1 2.21-.9 3.1 3.1 0 0 1 1.23.25c.362.146.684.376.94.67l-.53.53a2 2 0 0 0-1.64-.71 2.32 2.32 0 0 0-2.33 2.4 2.36 2.36 0 0 0 4 1.73 1.9 1.9 0 0 0 .5-1.22h-2.17v-.72h2.91q.04.223.04.45Zm4.58-2.5h-2.7v1.9h2.46v.72H39.8v1.9h2.7v.74H39v-6h3.5zm3.28 5.26h-.77V3.24h-1.68V2.5h4.17v.74h-1.72zm4.66 0v-6h.77v6zm4.19 0h-.77V3.24h-1.68V2.5h4.12v.74h-1.67zm9.48-.78a3.12 3.12 0 0 1-4.4 0 3.24 3.24 0 0 1 0-4.45 3.1 3.1 0 0 1 4.4 0 3.23 3.23 0 0 1 0 4.45Zm-3.83-.5a2.31 2.31 0 0 0 3.26 0 2.56 2.56 0 0 0 0-3.44 2.31 2.31 0 0 0-3.26 0 2.56 2.56 0 0 0 0 3.44Zm5.8 1.28v-6h.94l2.92 4.67V2.5h.77v6h-.8l-3.05-4.89V8.5z"/><path fill="@{text}" d="M58.64 17.25a4.25 4.25 0 1 0 4.27 4.25 4.19 4.19 0 0 0-4.27-4.25m0 6.83a2.58 2.58 0 1 1 2.4-2.58 2.46 2.46 0 0 1-2.4 2.58m-9.31-6.83a4.25 4.25 0 1 0 4.26 4.25 4.19 4.19 0 0 0-4.27-4.25zm0 6.83a2.58 2.58 0 1 1 2.39-2.58 2.46 2.46 0 0 1-2.4 2.58zm-11.09-5.52v1.8h4.32a3.77 3.77 0 0 1-1 2.27 4.42 4.42 0 0 1-3.33 1.32 4.8 4.8 0 0 1 0-9.6 4.6 4.6 0 0 1 3.27 1.29l1.27-1.27a6.3 6.3 0 0 0-4.53-1.87 6.61 6.61 0 1 0 0 13.21 6 6 0 0 0 4.61-1.85 6 6 0 0 0 1.56-4.22 6 6 0 0 0-.1-1.13zm45.31 1.4a4 4 0 0 0-3.64-2.71 4 4 0 0 0-4 4.25 4.16 4.16 0 0 0 4.22 4.25 4.23 4.23 0 0 0 3.54-1.88l-1.45-1a2.43 2.43 0 0 1-2.09 1.18 2.16 2.16 0 0 1-2.06-1.29l5.69-2.35zm-5.8 1.42a2.33 2.33 0 0 1 2.22-2.48 1.65 1.65 0 0 1 1.58.9zm-4.62 4.12H75V13h-1.87zm-3.06-7.3H70a3 3 0 0 0-2.24-1 4.26 4.26 0 0 0 0 8.51 2.9 2.9 0 0 0 2.24-1h.06v.61c0 1.63-.87 2.5-2.27 2.5a2.35 2.35 0 0 1-2.14-1.51l-1.63.68a4.05 4.05 0 0 0 3.77 2.51c2.19 0 4-1.29 4-4.43V17.5h-1.72zm-2.14 5.88a2.59 2.59 0 0 1 0-5.16 2.4 2.4 0 0 1 2.27 2.58 2.38 2.38 0 0 1-2.28 2.58zM92.31 13h-4.47v12.5h1.87v-4.74h2.61a3.889 3.889 0 0 0 2.93-6.728A3.9 3.9 0 0 0 92.32 13zm0 6H89.7v-4.26h2.65a2.145 2.145 0 1 1 0 4.29zm11.53-1.8a3.5 3.5 0 0 0-3.33 1.91l1.66.69a1.78 1.78 0 0 1 1.7-.92 1.8 1.8 0 0 1 1.792.931c.114.21.184.441.208.679v.13a4.1 4.1 0 0 0-1.95-.48c-1.79 0-3.6 1-3.6 2.81a2.9 2.9 0 0 0 .969 2.03 2.9 2.9 0 0 0 2.131.72 2.63 2.63 0 0 0 2.4-1.2h.06v1h1.8v-4.81c0-2.19-1.66-3.46-3.79-3.46zm-.23 6.85c-.61 0-1.46-.31-1.46-1.06 0-1 1.06-1.33 2-1.33a3.3 3.3 0 0 1 1.7.42 2.26 2.26 0 0 1-2.19 2zm10.63-6.55-2.14 5.42h-.06l-2.22-5.42h-2l3.33 7.58-1.9 4.21h1.95l5.12-11.79zm-16.81 8h1.87V13h-1.87z"/><path fill="@{sky}" d="M.94 3.04a2 2 0 0 0-.46 1.4v22.12a2 2 0 0 0 .46 1.4l.07.07L13.4 15.65v-.29L1.01 2.97z"/><path fill="@{yellow}" d="m17.5 19.78-4.1-4.13v-.29l4.1-4.14.09.05 4.91 2.79c1.4.79 1.4 2.09 0 2.89l-4.89 2.78z"/><path fill="@{red}" d="M17.62 19.72 13.4 15.5.94 27.96a1.63 1.63 0 0 0 2.08.06l14.61-8.3"/><path fill="@{green}" d="M17.62 11.28 3.01 2.98a1.63 1.63 0 0 0-2.08.06L13.4 15.5z"/><path fill="#000" d="M17.5 19.63 3.01 27.88a1.67 1.67 0 0 1-2 0l-.07.07.07.07a1.66 1.66 0 0 0 2 0l14.61-8.3z" opacity=".2"/><path fill="#000" d="M.94 27.82a2 2 0 0 1-.46-1.4v.15a2 2 0 0 0 .46 1.4l.07-.07zM22.5 16.8l-5 2.83.09.09 4.91-2.78a1.75 1.75 0 0 0 1-1.44 1.86 1.86 0 0 1-1 1.3" opacity=".12"/><path fill="#fff" d="M3.01 3.12 22.5 14.2a1.86 1.86 0 0 1 1 1.3 1.75 1.75 0 0 0-1-1.44L3.01 2.98C1.61 2.19.47 2.85.47 4.45v.15C.5 2.99 1.62 2.33 3.01 3.12" opacity=".25"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
[src$="ios-store.svg"] {
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" width="101" height="26" fill="none" cursor="default"><path fill="@{text}" d="M15.539 12.336a4.95 4.95 0 0 1 2.357-4.152 5.07 5.07 0 0 0-3.992-2.157c-1.679-.177-3.307 1.005-4.162 1.005-.873 0-2.19-.988-3.609-.959A5.32 5.32 0 0 0 1.66 8.801c-1.934 3.349-.491 8.27 1.361 10.976.927 1.326 2.01 2.806 3.428 2.754 1.387-.058 1.905-.885 3.58-.885 1.658 0 2.144.885 3.59.851 1.489-.024 2.427-1.331 3.32-2.669a11 11 0 0 0 1.52-3.092 4.78 4.78 0 0 1-2.92-4.4m-2.731-8.089a4.87 4.87 0 0 0 1.114-3.49 4.96 4.96 0 0 0-3.208 1.659 4.64 4.64 0 0 0-1.143 3.361 4.1 4.1 0 0 0 3.237-1.53m20.264 14.928H28.34l-1.137 3.357h-2.005l4.484-12.418h2.083l4.483 12.418h-2.039zm-4.243-1.548h3.752l-1.85-5.448h-.051l-1.85 5.448Zm17.101.379c0 2.813-1.506 4.62-3.779 4.62a3.07 3.07 0 0 1-2.848-1.583h-.043v4.484H37.4V13.478h1.8v1.506h.033a3.21 3.21 0 0 1 2.883-1.6c2.298 0 3.813 1.816 3.813 4.622Zm-1.91 0c0-1.833-.948-3.039-2.393-3.039-1.42 0-2.375 1.231-2.375 3.039 0 1.824.955 3.046 2.375 3.046 1.445 0 2.393-1.197 2.393-3.046m11.875 0c0 2.813-1.506 4.62-3.779 4.62a3.07 3.07 0 0 1-2.848-1.583h-.043v4.484h-1.859V13.478h1.799v1.506h.034a3.21 3.21 0 0 1 2.883-1.6c2.298 0 3.813 1.816 3.813 4.622m-1.91 0c0-1.833-.948-3.039-2.393-3.039-1.42 0-2.375 1.231-2.375 3.039 0 1.824.955 3.046 2.375 3.046 1.445 0 2.392-1.197 2.392-3.046Zm8.495 1.066c.138 1.231 1.335 2.04 2.97 2.04 1.566 0 2.693-.809 2.693-1.919 0-.964-.68-1.541-2.29-1.937l-1.609-.387c-2.28-.551-3.339-1.617-3.339-3.348 0-2.143 1.867-3.614 4.519-3.614 2.624 0 4.423 1.472 4.483 3.614h-1.876c-.112-1.24-1.137-1.987-2.634-1.987s-2.521.757-2.521 1.858c0 .878.654 1.395 2.255 1.79l1.368.336c2.548.603 3.607 1.626 3.607 3.442 0 2.324-1.851 3.779-4.794 3.779-2.754 0-4.614-1.421-4.734-3.667zm11.636-7.736v2.142h1.722v1.472h-1.722v4.991c0 .775.345 1.137 1.102 1.137a6 6 0 0 0 .611-.043v1.463q-.512.095-1.032.086c-1.833 0-2.548-.689-2.548-2.445v-5.19h-1.316v-1.47h1.316v-2.143zm2.719 6.67c0-2.85 1.678-4.64 4.294-4.64 2.625 0 4.295 1.79 4.295 4.64 0 2.856-1.661 4.638-4.295 4.638s-4.294-1.782-4.294-4.638m6.695 0c0-1.955-.895-3.108-2.401-3.108s-2.4 1.162-2.4 3.108c0 1.961.894 3.106 2.4 3.106s2.401-1.145 2.401-3.106m3.426-4.528h1.772v1.541h.044a2.16 2.16 0 0 1 2.177-1.636q.322 0 .637.07v1.738a2.6 2.6 0 0 0-.835-.112 1.873 1.873 0 0 0-1.937 2.083v5.37h-1.858zm13.198 6.395c-.25 1.643-1.85 2.771-3.898 2.771-2.634 0-4.269-1.764-4.269-4.595 0-2.84 1.644-4.682 4.19-4.682 2.506 0 4.081 1.72 4.081 4.466v.636h-6.395v.113a2.358 2.358 0 0 0 2.436 2.564 2.05 2.05 0 0 0 2.09-1.273zm-6.282-2.703h4.526a2.176 2.176 0 0 0-2.22-2.297 2.29 2.29 0 0 0-2.306 2.298ZM28.596.767a2.64 2.64 0 0 1 2.808 2.965c0 1.906-1.03 3.002-2.808 3.002h-2.155V.767zM27.368 5.89h1.125a1.875 1.875 0 0 0 1.967-2.146 1.88 1.88 0 0 0-1.967-2.134h-1.125zm5.082-1.41a2.132 2.132 0 1 1 4.247 0 2.134 2.134 0 1 1-4.247 0m3.333 0c0-.976-.438-1.547-1.208-1.547-.772 0-1.207.571-1.207 1.547 0 .984.435 1.55 1.207 1.55.77 0 1.208-.57 1.208-1.55m6.56 2.254h-.922l-.93-3.317h-.07l-.927 3.317h-.913L37.339 2.23h.902l.806 3.436h.067l.926-3.436h.852l.926 3.436h.07l.803-3.436h.889zm2.28-4.504h.856v.716h.066a1.35 1.35 0 0 1 1.344-.802 1.464 1.464 0 0 1 1.559 1.675v2.915h-.889V4.042c0-.724-.314-1.084-.972-1.084A1.033 1.033 0 0 0 45.512 4.1v2.635h-.889zM49.864.473h.888v6.26h-.888V.474Zm2.124 4.007a2.133 2.133 0 1 1 4.247 0 2.134 2.134 0 1 1-4.247 0m3.333 0c0-.976-.439-1.547-1.208-1.547-.773 0-1.207.571-1.207 1.547 0 .984.434 1.55 1.207 1.55.77 0 1.208-.57 1.208-1.55m1.849.98c0-.81.604-1.278 1.676-1.344l1.22-.07v-.389c0-.476-.315-.744-.922-.744-.496 0-.84.182-.939.5h-.86c.09-.773.818-1.27 1.84-1.27 1.128 0 1.765.563 1.765 1.514v3.077h-.855V6.1h-.07a1.52 1.52 0 0 1-1.353.707A1.36 1.36 0 0 1 57.17 5.46m2.895-.385V4.7l-1.1.07c-.62.042-.9.253-.9.65 0 .405.351.64.834.64a1.06 1.06 0 0 0 1.166-.984Zm2.053-.595c0-1.423.732-2.324 1.87-2.324a1.48 1.48 0 0 1 1.38.79h.067V.473h.888v6.26h-.851v-.71h-.07a1.56 1.56 0 0 1-1.415.785c-1.145 0-1.869-.901-1.869-2.328m.918 0c0 .955.45 1.53 1.203 1.53.75 0 1.212-.583 1.212-1.526 0-.938-.468-1.53-1.212-1.53-.748 0-1.203.579-1.203 1.526m6.964 0a2.132 2.132 0 1 1 4.247 0 2.134 2.134 0 1 1-4.247 0m3.333 0c0-.976-.439-1.547-1.208-1.547-.773 0-1.207.571-1.207 1.547 0 .984.434 1.55 1.207 1.55.77 0 1.208-.57 1.208-1.55m2.107-2.25h.855v.716h.066a1.35 1.35 0 0 1 1.344-.802 1.464 1.464 0 0 1 1.559 1.675v2.915h-.889V4.042c0-.724-.314-1.084-.972-1.084A1.033 1.033 0 0 0 76.328 4.1v2.635h-.889zm8.845-1.12v1.14h.976V3h-.976v2.315c0 .472.195.678.637.678q.17 0 .339-.02v.74q-.24.043-.484.046c-.988 0-1.382-.348-1.382-1.216V3h-.714v-.75h.715V1.11h.89Zm2.19-.637h.88v2.481h.07a1.385 1.385 0 0 1 1.374-.806 1.483 1.483 0 0 1 1.55 1.678v2.908h-.889V4.046c0-.72-.335-1.084-.963-1.084a1.052 1.052 0 0 0-1.134 1.142v2.63h-.888zm9.056 5.045a1.83 1.83 0 0 1-1.95 1.303 2.045 2.045 0 0 1-2.08-2.325 2.078 2.078 0 0 1 2.075-2.352c1.253 0 2.01.856 2.01 2.27v.31h-3.18v.05a1.19 1.19 0 0 0 1.199 1.29 1.08 1.08 0 0 0 1.07-.546zm-3.126-1.451h2.275A1.086Line truncated
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
}
|
||||
// social networks
|
||||
@socialnetworks: {
|
||||
Facebook: @blue;
|
||||
X: @text;
|
||||
};
|
||||
[class^="AppExternalLinks_socialLinksWrapper"] {
|
||||
each(
|
||||
@socialnetworks,
|
||||
{
|
||||
[title^="@{key} page"] > svg {
|
||||
color: @value !important;
|
||||
}
|
||||
}
|
||||
);
|
||||
}
|
||||
// yello star (e.g. the level in a user profile)
|
||||
svg[color="#e39d06"] {
|
||||
color: @yellow !important;
|
||||
}
|
||||
// list like button hover
|
||||
[class*="LikeButton_likeButton"]:hover [class*="LikeButton_heart"] {
|
||||
color: @red;
|
||||
}
|
||||
// register popup header
|
||||
.data-collector .header {
|
||||
color: @overlay2;
|
||||
}
|
||||
// danger button (clear all filters)
|
||||
[class*="Button_danger"] {
|
||||
background: @red;
|
||||
border-color: @red;
|
||||
color: @crust;
|
||||
}
|
||||
// warning button
|
||||
[class*="Button_warning"] {
|
||||
background-color: @yellow;
|
||||
border-color: @yellow;
|
||||
color: @crust;
|
||||
}
|
||||
// success button
|
||||
[class*="Button_success"] {
|
||||
background-color: @green;
|
||||
border-color: @green;
|
||||
color: @crust;
|
||||
}
|
||||
// disabled buttons
|
||||
[class*="Button_button"][disabled] {
|
||||
background-color: @surface2 !important;
|
||||
border-color: @surface2 !important;
|
||||
color: @overlay2 !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@-moz-document domain("auth.alternativeto.net") {
|
||||
@media (prefers-color-scheme: light) {
|
||||
:root {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
|
||||
#catppuccin(@lookup, @accent) {
|
||||
@rosewater: @catppuccin[@@lookup][@rosewater];
|
||||
@flamingo: @catppuccin[@@lookup][@flamingo];
|
||||
@pink: @catppuccin[@@lookup][@pink];
|
||||
@mauve: @catppuccin[@@lookup][@mauve];
|
||||
@red: @catppuccin[@@lookup][@red];
|
||||
@maroon: @catppuccin[@@lookup][@maroon];
|
||||
@peach: @catppuccin[@@lookup][@peach];
|
||||
@yellow: @catppuccin[@@lookup][@yellow];
|
||||
@green: @catppuccin[@@lookup][@green];
|
||||
@teal: @catppuccin[@@lookup][@teal];
|
||||
@sky: @catppuccin[@@lookup][@sky];
|
||||
@sapphire: @catppuccin[@@lookup][@sapphire];
|
||||
@blue: @catppuccin[@@lookup][@blue];
|
||||
@lavender: @catppuccin[@@lookup][@lavender];
|
||||
@text: @catppuccin[@@lookup][@text];
|
||||
@subtext1: @catppuccin[@@lookup][@subtext1];
|
||||
@subtext0: @catppuccin[@@lookup][@subtext0];
|
||||
@overlay2: @catppuccin[@@lookup][@overlay2];
|
||||
@overlay1: @catppuccin[@@lookup][@overlay1];
|
||||
@overlay0: @catppuccin[@@lookup][@overlay0];
|
||||
@surface2: @catppuccin[@@lookup][@surface2];
|
||||
@surface1: @catppuccin[@@lookup][@surface1];
|
||||
@surface0: @catppuccin[@@lookup][@surface0];
|
||||
@base: @catppuccin[@@lookup][@base];
|
||||
@mantle: @catppuccin[@@lookup][@mantle];
|
||||
@crust: @catppuccin[@@lookup][@crust];
|
||||
@accent-color: @catppuccin[@@lookup][@@accent];
|
||||
|
||||
color-scheme: if(@lookup = latte, light, dark);
|
||||
|
||||
::selection {
|
||||
background-color: fade(@accent-color, 30%);
|
||||
}
|
||||
|
||||
input,
|
||||
textarea {
|
||||
&::placeholder {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
--widget-background-color: @base;
|
||||
--input-background-color: @base;
|
||||
--input-border-color: @surface1;
|
||||
--input-text-color: @text;
|
||||
--base-focus-color: @accent-color;
|
||||
--link-color: @accent-color;
|
||||
--primary-color: @accent-color;
|
||||
--button-font-color: @crust;
|
||||
--title-font-color: @text;
|
||||
--font-default-color: @text;
|
||||
--font-light-color: @subtext0;
|
||||
--border-default-color: @surface1;
|
||||
--social-button-border-color: @surface1;
|
||||
--secondary-button-text-color: @text;
|
||||
--transparency-focus-color: fade(@accent-color, 15%);
|
||||
--icon-default-color: @overlay1;
|
||||
--gray-lightest: @text;
|
||||
--error-color: @red;
|
||||
@error-svg: escape(
|
||||
'<svg width="16" height="16" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M8 14.667A6.667 6.667 0 1 0 8 1.333a6.667 6.667 0 0 0 0 13.334z" fill="@{red}" stroke="@{red}" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path fill-rule="evenodd" clip-rule="evenodd" d="M8 4.583a.75.75 0 0 1 .75.75V8a.75.75 0 0 1-1.5 0V5.333a.75.75 0 0 1 .75-.75z" fill="@{base}"/><path d="M8.667 10.667a.667.667 0 1 1-1.334 0 .667.667 0 0 1 1.334 0z" fill="@{base}"/></svg>'
|
||||
);
|
||||
--icon-error: url("data:image/svg+xml,@{error-svg}");
|
||||
|
||||
body {
|
||||
background: @crust;
|
||||
}
|
||||
.footer {
|
||||
a {
|
||||
color: @text;
|
||||
}
|
||||
background: @mantle;
|
||||
color: @subtext0;
|
||||
}
|
||||
#prompt-logo-center {
|
||||
@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
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
.password-icon-tooltip {
|
||||
background: @crust;
|
||||
|
||||
&::before {
|
||||
border-color: @crust transparent transparent;
|
||||
}
|
||||
}
|
||||
// "Continue with" login button icons
|
||||
@loginicon: {
|
||||
google: "<svg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 48 48'><defs><path id='a' d='M44.5 20H24v8.5h11.8C34.7 33.9 30.1 37 24 37c-7.2 0-13-5.8-13-13s5.8-13 13-13c3.1 0 5.9 1.1 8.1 2.9l6.4-6.4C34.6 4.1 29.6 2 24 2 11.8 2 2 11.8 2 24s9.8 22 22 22c11 0 21-8 21-22 0-1.3-.2-2.7-.5-4z'/></defs><clipPath id='b'><use xlink:href='#a' overflow='visible'/></clipPath><path clip-path='url(#b)' fill='@{yellow}' d='M0 37V11l17 13z'/><path clip-path='url(#b)' fill='@{red}' d='M0 11l17 13 7-6.1L48 14V0H0z'/><path clip-path='url(#b)' fill='@{green}' d='M0 37l30-23 7.9 1L48 0v48H0z'/><path clip-path='url(#b)' fill='@{blue}' d='M48 48L17 24l-4-3 35-10z'/></svg>";
|
||||
windowslive: "<svg xmlns='http://www.w3.org/2000/svg' width='21' height='21'><path fill='@{red}' d='M1 1h9v9H1z'/><path fill='@{blue}' d='M1 11h9v9H1z'/><path fill='@{green}' d='M11 1h9v9h-9z'/><path fill='@{yellow}' d='M11 11h9v9h-9z'/></svg>";
|
||||
github: "<svg width='20' height='20' xmlns='http://www.w3.org/2000/svg'><path d='M10 0C4.477 0 0 4.36 0 9.74c0 4.304 2.865 7.955 6.839 9.243.5.09.682-.211.682-.47 0-.23-.008-.843-.013-1.656-2.782.588-3.369-1.306-3.369-1.306-.454-1.125-1.11-1.425-1.11-1.425-.908-.604.069-.592.069-.592 1.003.069 1.531 1.004 1.531 1.004.892 1.488 2.341 1.059 2.91.81.092-.63.35-1.06.636-1.303-2.22-.245-4.555-1.081-4.555-4.814 0-1.063.39-1.933 1.029-2.613-.103-.247-.446-1.238.098-2.578 0 0 .84-.262 2.75.998A9.818 9.818 0 0 1 10 4.71c.85.004 1.705.112 2.504.328 1.909-1.26 2.747-.998 2.747-.998.546 1.34.203 2.331.1 2.578.64.68 1.028 1.55 1.028 2.613 0 3.742-2.339 4.566-4.566 4.807.359.3.678.895.678 1.804 0 1.301-.012 2.352-.012 2.671 0 .261.18.564.688.47C17.137 17.69 20 14.042 20 9.74 20 4.36 15.522 0 10 0z' fill='@{text}' fill-rule='evenodd'/></svg>";
|
||||
apple: "<svg width='170' xmlns='http://www.w3.org/2000/svg' height='170'><path d='M150.37 130.25c-2.45 5.66-5.35 10.87-8.71 15.66-4.58 6.53-8.33 11.05-11.22 13.56-4.48 4.12-9.28 6.23-14.42 6.35-3.69 0-8.14-1.05-13.32-3.18-5.197-2.12-9.973-3.17-14.34-3.17-4.58 0-9.492 1.05-14.746 3.17-5.262 2.13-9.501 3.24-12.742 3.35-4.929.21-9.842-1.96-14.746-6.52-3.13-2.73-7.045-7.41-11.735-14.04-5.032-7.08-9.169-15.29-12.41-24.65-3.471-10.11-5.211-19.9-5.211-29.378 0-10.857 2.346-20.221 7.045-28.068 3.693-6.303 8.606-11.275 14.755-14.925s12.793-5.51 19.948-5.629c3.915 0 9.049 1.211 15.429 3.591 6.362 2.388 10.447 3.599 12.238 3.599 1.339 0 5.877-1.416 13.57-4.239 7.275-2.618 13.415-3.702 18.445-3.275 13.63 1.1 23.87 6.473 30.68 16.153-12.19 7.386-18.22 17.731-18.1 31.002.11 10.337 3.86 18.939 11.23 25.769 3.34 3.17 7.07 5.62 11.22 7.36-.9 2.61-1.85 5.11-2.86 7.51zM119.11 7.24c0 8.102-2.96 15.667-8.86 22.669-7.12 8.324-15.732 13.134-25.071 12.375a25.222 25.222 0 0 1-.188-3.07c0-7.778 3.386-16.102 9.399-22.908 3.002-3.446 6.82-6.311 11.45-8.597 4.62-2.252 8.99-3.497 13.1-3.71.12 1.083.17 2.166.17 3.24z' fill='@{text}'/></svg>";
|
||||
};
|
||||
each(
|
||||
@loginicon,
|
||||
{
|
||||
span[data-provider="@{key}"] {
|
||||
@svg: escape(@value);
|
||||
background-image: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
}
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
/* 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; };
|
||||
};
|
||||
@@ -1,9 +1,9 @@
|
||||
/* ==UserStyle==
|
||||
@name Amplenote Catppuccin
|
||||
@name Amplenote Catppuccin [STUB | UPDATE REQUIRED]
|
||||
@namespace github.com/catppuccin/userstyles/styles/amplenote
|
||||
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/amplenote
|
||||
@version 2024.12.28
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/amplenote/catppuccin.user.css
|
||||
@version 2024.12.29
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/amplenote/catppuccin.user.less
|
||||
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Aamplenote
|
||||
@description Soothing pastel theme for Amplenote
|
||||
@author Catppuccin
|
||||
@@ -13,237 +13,4 @@
|
||||
@var select lightFlavor "Light Flavor" ["latte:Latte*", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha"]
|
||||
@var select darkFlavor "Dark Flavor" ["latte:Latte", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha*"]
|
||||
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
|
||||
==/UserStyle== */
|
||||
|
||||
@-moz-document domain("amplenote.com") {
|
||||
body:not(.theme-light) {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
}
|
||||
|
||||
body.theme-light {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
|
||||
#catppuccin(@lookup, @accent) {
|
||||
@rosewater: @catppuccin[@@lookup][@rosewater];
|
||||
@flamingo: @catppuccin[@@lookup][@flamingo];
|
||||
@pink: @catppuccin[@@lookup][@pink];
|
||||
@mauve: @catppuccin[@@lookup][@mauve];
|
||||
@red: @catppuccin[@@lookup][@red];
|
||||
@maroon: @catppuccin[@@lookup][@maroon];
|
||||
@peach: @catppuccin[@@lookup][@peach];
|
||||
@yellow: @catppuccin[@@lookup][@yellow];
|
||||
@green: @catppuccin[@@lookup][@green];
|
||||
@teal: @catppuccin[@@lookup][@teal];
|
||||
@sky: @catppuccin[@@lookup][@sky];
|
||||
@sapphire: @catppuccin[@@lookup][@sapphire];
|
||||
@blue: @catppuccin[@@lookup][@blue];
|
||||
@lavender: @catppuccin[@@lookup][@lavender];
|
||||
@text: @catppuccin[@@lookup][@text];
|
||||
@subtext1: @catppuccin[@@lookup][@subtext1];
|
||||
@subtext0: @catppuccin[@@lookup][@subtext0];
|
||||
@overlay2: @catppuccin[@@lookup][@overlay2];
|
||||
@overlay1: @catppuccin[@@lookup][@overlay1];
|
||||
@overlay0: @catppuccin[@@lookup][@overlay0];
|
||||
@surface2: @catppuccin[@@lookup][@surface2];
|
||||
@surface1: @catppuccin[@@lookup][@surface1];
|
||||
@surface0: @catppuccin[@@lookup][@surface0];
|
||||
@base: @catppuccin[@@lookup][@base];
|
||||
@mantle: @catppuccin[@@lookup][@mantle];
|
||||
@crust: @catppuccin[@@lookup][@crust];
|
||||
@accent-color: @catppuccin[@@lookup][@@accent];
|
||||
|
||||
color-scheme: if(@lookup = latte, light, dark);
|
||||
|
||||
::selection {
|
||||
background-color: fade(@accent-color, 30%);
|
||||
}
|
||||
|
||||
input,
|
||||
textarea {
|
||||
&::placeholder {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
&.themeable {
|
||||
--color-background-primary: @base;
|
||||
--color-background-primary-rgb: #rgbify(@base) [];
|
||||
--color-background-secondary: @mantle;
|
||||
--color-background-tertiary: @mantle;
|
||||
|
||||
--color-background-popup: @base;
|
||||
--color-background-dialog: @mantle;
|
||||
--color-background-header: @mantle;
|
||||
--color-background-nav: @mantle;
|
||||
--color-background-nav-active: @surface0;
|
||||
--color-background-search-bar: @crust;
|
||||
--color-background-nav-menu: @mantle;
|
||||
--color-background-nav-menu-divider: @crust;
|
||||
--color-background-nav-avatar: @crust;
|
||||
--color-background-popup-small: @surface0;
|
||||
--color-background-reversed: @surface0;
|
||||
--color-background-reversed-secondary: @surface2;
|
||||
|
||||
--color-background-element-high-contrast: fade(@overlay2, 40%);
|
||||
--color-background-element-medium-contrast: fade(@accent-color, 40%);
|
||||
--color-background-element-medium-contrast-rgb: fade(@accent-color. 40%);
|
||||
--color-background-element-low-contrast: @crust;
|
||||
|
||||
--color-background-note-menu-button: @surface0;
|
||||
--color-background-banner: @surface0;
|
||||
--color-background-banner-alt: @base;
|
||||
--color-background-nav-divider: @surface0;
|
||||
|
||||
--color-background-action-low-contrast: fade(@accent-color, 50%);
|
||||
--color-background-action-medium-contrast: fade(@accent-color, 60%);
|
||||
--color-background-action-high-contrast: @accent-color;
|
||||
--color-background-action-high-contrast-rgb: #rgbify(@accent-color) [];
|
||||
--color-background-action-high-contrast-alt: fade(@accent-color, 75%);
|
||||
|
||||
--color-background-error-high-contrast: @red;
|
||||
--color-background-error-medium-contrast: fade(@red, 50%);
|
||||
|
||||
--color-border-primary: @surface0;
|
||||
--color-border-secondary: @surface1;
|
||||
--color-border-tertiary: @surface1;
|
||||
|
||||
--color-text-reversed: @text;
|
||||
|
||||
--color-text-high-contrast: @text;
|
||||
--color-text-nav-high-contrast: @text;
|
||||
--color-text-medium-contrast: @subtext1;
|
||||
--color-text-nav-medium-contrast: @subtext1;
|
||||
--color-text-low-contrast: @subtext0;
|
||||
--color-text-nav-low-contrast: @subtext0;
|
||||
--color-text-lower-contrast: @overlay2;
|
||||
--color-text-nav-lower-contrast: @surface2;
|
||||
|
||||
--color-text-error-low-contrast: @peach;
|
||||
--color-text-error-low-contrast-rgb: #rgbify(@peach) [];
|
||||
--color-text-error-medium-contrast: @red;
|
||||
--color-text-error-high-contrast: @red;
|
||||
|
||||
--color-text-status: @green;
|
||||
--color-text-link: @accent-color;
|
||||
--color-text-button: @crust;
|
||||
|
||||
--color-background-task-value: @surface1;
|
||||
--color-background-sidebar-task: @surface0;
|
||||
|
||||
--color-overlay-low-contrast: @accent-color;
|
||||
|
||||
--mdc-theme-surface: @base;
|
||||
}
|
||||
|
||||
header.note-header-container .logo-wrapper .ample-svg-logo .logo-icon {
|
||||
fill: @text;
|
||||
}
|
||||
|
||||
.notes-list .notes-list-item:hover {
|
||||
background-color: @crust;
|
||||
}
|
||||
|
||||
.ample-editor .editor-tabs .tab:not(.current) {
|
||||
border-bottom-color: @surface0 !important;
|
||||
}
|
||||
|
||||
.referencing-notes,
|
||||
.tab.current,
|
||||
.editor-title-input-wrapper textarea,
|
||||
.completed-tasks,
|
||||
.no-tasks-message {
|
||||
background-color: @base !important;
|
||||
}
|
||||
|
||||
.new-note-button {
|
||||
color: @crust !important;
|
||||
}
|
||||
|
||||
.ample-editor .check-list-item.value-1 .row-wrapper {
|
||||
border-left-color: @sapphire;
|
||||
}
|
||||
|
||||
.menu-button.synced {
|
||||
color: @green !important;
|
||||
}
|
||||
|
||||
.menu-button .refreshing {
|
||||
color: @blue !important;
|
||||
}
|
||||
|
||||
.primary-side-nav .section-link.default .shortcut-icon {
|
||||
color: @yellow;
|
||||
}
|
||||
|
||||
.ample-editor:not(.mobile-embed)
|
||||
.check-list-item:hover:not(.expanded)
|
||||
.row-wrapper {
|
||||
background-color: @surface0;
|
||||
}
|
||||
|
||||
.mdc-chip-set.mdc-chip-set--choice
|
||||
.mdc-chip.mdc-chip--selected
|
||||
.mdc-chip__icon--leading,
|
||||
.mdc-chip.mdc-chip--selected .mdc-chip__icon--leading {
|
||||
color: @crust;
|
||||
}
|
||||
|
||||
.account-appearance-app .mdc-chip i.material-icons.mdc-chip__icon--leading {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
.DayPicker-Weekday {
|
||||
color: @subtext0;
|
||||
}
|
||||
|
||||
.calendar-pane .fc {
|
||||
.fc-timegrid-now-indicator-arrow {
|
||||
.line {
|
||||
border-bottom-color: @accent-color;
|
||||
}
|
||||
.material-icons {
|
||||
color: @accent-color;
|
||||
}
|
||||
}
|
||||
|
||||
.fc-timegrid-now-indicator-line {
|
||||
border-color: darken(@accent-color, 10%);
|
||||
}
|
||||
|
||||
.fc-timegrid .fc-daygrid-day-events,
|
||||
.fc-timegrid .all-day-slot {
|
||||
background-color: @base;
|
||||
}
|
||||
}
|
||||
|
||||
#completed-tasks-stroke-gradient,
|
||||
#completed-tasks-fill-gradient {
|
||||
[offset="0%"] {
|
||||
stop-color: @maroon;
|
||||
}
|
||||
|
||||
[offset="50%"] {
|
||||
stop-color: @peach;
|
||||
}
|
||||
|
||||
[offset="100%"] {
|
||||
stop-color: @yellow;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#rgbify(@color) {
|
||||
@rgb: red(@color), green(@color), blue(@color);
|
||||
}
|
||||
|
||||
/* prettier-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; };
|
||||
}
|
||||
|
||||
// vim:ft=less
|
||||
==/UserStyle== */
|
||||
@@ -0,0 +1,247 @@
|
||||
/* ==UserStyle==
|
||||
@name Amplenote Catppuccin
|
||||
@namespace github.com/catppuccin/userstyles/styles/amplenote
|
||||
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/amplenote
|
||||
@version 2024.12.29.1
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/amplenote/catppuccin.user.less
|
||||
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Aamplenote
|
||||
@description Soothing pastel theme for Amplenote
|
||||
@author Catppuccin
|
||||
@license MIT
|
||||
|
||||
@preprocessor less
|
||||
@var select lightFlavor "Light Flavor" ["latte:Latte*", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha"]
|
||||
@var select darkFlavor "Dark Flavor" ["latte:Latte", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha*"]
|
||||
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
|
||||
==/UserStyle== */
|
||||
|
||||
@-moz-document domain("amplenote.com") {
|
||||
body:not(.theme-light) {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
}
|
||||
|
||||
body.theme-light {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
|
||||
#catppuccin(@lookup, @accent) {
|
||||
@rosewater: @catppuccin[@@lookup][@rosewater];
|
||||
@flamingo: @catppuccin[@@lookup][@flamingo];
|
||||
@pink: @catppuccin[@@lookup][@pink];
|
||||
@mauve: @catppuccin[@@lookup][@mauve];
|
||||
@red: @catppuccin[@@lookup][@red];
|
||||
@maroon: @catppuccin[@@lookup][@maroon];
|
||||
@peach: @catppuccin[@@lookup][@peach];
|
||||
@yellow: @catppuccin[@@lookup][@yellow];
|
||||
@green: @catppuccin[@@lookup][@green];
|
||||
@teal: @catppuccin[@@lookup][@teal];
|
||||
@sky: @catppuccin[@@lookup][@sky];
|
||||
@sapphire: @catppuccin[@@lookup][@sapphire];
|
||||
@blue: @catppuccin[@@lookup][@blue];
|
||||
@lavender: @catppuccin[@@lookup][@lavender];
|
||||
@text: @catppuccin[@@lookup][@text];
|
||||
@subtext1: @catppuccin[@@lookup][@subtext1];
|
||||
@subtext0: @catppuccin[@@lookup][@subtext0];
|
||||
@overlay2: @catppuccin[@@lookup][@overlay2];
|
||||
@overlay1: @catppuccin[@@lookup][@overlay1];
|
||||
@overlay0: @catppuccin[@@lookup][@overlay0];
|
||||
@surface2: @catppuccin[@@lookup][@surface2];
|
||||
@surface1: @catppuccin[@@lookup][@surface1];
|
||||
@surface0: @catppuccin[@@lookup][@surface0];
|
||||
@base: @catppuccin[@@lookup][@base];
|
||||
@mantle: @catppuccin[@@lookup][@mantle];
|
||||
@crust: @catppuccin[@@lookup][@crust];
|
||||
@accent-color: @catppuccin[@@lookup][@@accent];
|
||||
|
||||
color-scheme: if(@lookup = latte, light, dark);
|
||||
|
||||
::selection {
|
||||
background-color: fade(@accent-color, 30%);
|
||||
}
|
||||
|
||||
input,
|
||||
textarea {
|
||||
&::placeholder {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
&.themeable {
|
||||
--color-background-primary: @base;
|
||||
--color-background-primary-rgb: #rgbify(@base)[];
|
||||
--color-background-secondary: @mantle;
|
||||
--color-background-tertiary: @mantle;
|
||||
|
||||
--color-background-popup: @base;
|
||||
--color-background-dialog: @mantle;
|
||||
--color-background-header: @mantle;
|
||||
--color-background-nav: @mantle;
|
||||
--color-background-nav-active: @surface0;
|
||||
--color-background-search-bar: @crust;
|
||||
--color-background-nav-menu: @mantle;
|
||||
--color-background-nav-menu-divider: @crust;
|
||||
--color-background-nav-avatar: @crust;
|
||||
--color-background-popup-small: @surface0;
|
||||
--color-background-reversed: @surface0;
|
||||
--color-background-reversed-secondary: @surface2;
|
||||
|
||||
--color-background-element-high-contrast: fade(@overlay2, 40%);
|
||||
--color-background-element-medium-contrast: fade(@accent-color, 40%);
|
||||
--color-background-element-medium-contrast-rgb: fade(@accent-color. 40%);
|
||||
--color-background-element-low-contrast: @crust;
|
||||
|
||||
--color-background-note-menu-button: @surface0;
|
||||
--color-background-banner: @surface0;
|
||||
--color-background-banner-alt: @base;
|
||||
--color-background-nav-divider: @surface0;
|
||||
|
||||
--color-background-action-low-contrast: fade(@accent-color, 50%);
|
||||
--color-background-action-medium-contrast: fade(@accent-color, 60%);
|
||||
--color-background-action-high-contrast: @accent-color;
|
||||
--color-background-action-high-contrast-rgb: #rgbify(@accent-color)[];
|
||||
--color-background-action-high-contrast-alt: fade(@accent-color, 75%);
|
||||
|
||||
--color-background-error-high-contrast: @red;
|
||||
--color-background-error-medium-contrast: fade(@red, 50%);
|
||||
|
||||
--color-border-primary: @surface0;
|
||||
--color-border-secondary: @surface1;
|
||||
--color-border-tertiary: @surface1;
|
||||
|
||||
--color-text-reversed: @text;
|
||||
|
||||
--color-text-high-contrast: @text;
|
||||
--color-text-nav-high-contrast: @text;
|
||||
--color-text-medium-contrast: @subtext1;
|
||||
--color-text-nav-medium-contrast: @subtext1;
|
||||
--color-text-low-contrast: @subtext0;
|
||||
--color-text-nav-low-contrast: @subtext0;
|
||||
--color-text-lower-contrast: @overlay2;
|
||||
--color-text-nav-lower-contrast: @surface2;
|
||||
|
||||
--color-text-error-low-contrast: @peach;
|
||||
--color-text-error-low-contrast-rgb: #rgbify(@peach)[];
|
||||
--color-text-error-medium-contrast: @red;
|
||||
--color-text-error-high-contrast: @red;
|
||||
|
||||
--color-text-status: @green;
|
||||
--color-text-link: @accent-color;
|
||||
--color-text-button: @crust;
|
||||
|
||||
--color-background-task-value: @surface1;
|
||||
--color-background-sidebar-task: @surface0;
|
||||
|
||||
--color-overlay-low-contrast: @accent-color;
|
||||
|
||||
--mdc-theme-surface: @base;
|
||||
}
|
||||
|
||||
header.note-header-container .logo-wrapper .ample-svg-logo .logo-icon {
|
||||
fill: @text;
|
||||
}
|
||||
|
||||
.notes-list .notes-list-item:hover {
|
||||
background-color: @crust;
|
||||
}
|
||||
|
||||
.ample-editor .editor-tabs .tab:not(.current) {
|
||||
border-bottom-color: @surface0 !important;
|
||||
}
|
||||
|
||||
.referencing-notes,
|
||||
.tab.current,
|
||||
.editor-title-input-wrapper textarea,
|
||||
.completed-tasks,
|
||||
.no-tasks-message {
|
||||
background-color: @base !important;
|
||||
}
|
||||
|
||||
.new-note-button {
|
||||
color: @crust !important;
|
||||
}
|
||||
|
||||
.ample-editor .check-list-item.value-1 .row-wrapper {
|
||||
border-left-color: @sapphire;
|
||||
}
|
||||
|
||||
.menu-button.synced {
|
||||
color: @green !important;
|
||||
}
|
||||
|
||||
.menu-button .refreshing {
|
||||
color: @blue !important;
|
||||
}
|
||||
|
||||
.primary-side-nav .section-link.default .shortcut-icon {
|
||||
color: @yellow;
|
||||
}
|
||||
|
||||
.ample-editor:not(.mobile-embed)
|
||||
.check-list-item:hover:not(.expanded)
|
||||
.row-wrapper {
|
||||
background-color: @surface0;
|
||||
}
|
||||
|
||||
.mdc-chip-set.mdc-chip-set--choice
|
||||
.mdc-chip.mdc-chip--selected
|
||||
.mdc-chip__icon--leading,
|
||||
.mdc-chip.mdc-chip--selected .mdc-chip__icon--leading {
|
||||
color: @crust;
|
||||
}
|
||||
|
||||
.account-appearance-app .mdc-chip i.material-icons.mdc-chip__icon--leading {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
.DayPicker-Weekday {
|
||||
color: @subtext0;
|
||||
}
|
||||
|
||||
.calendar-pane .fc {
|
||||
.fc-timegrid-now-indicator-arrow {
|
||||
.line {
|
||||
border-bottom-color: @accent-color;
|
||||
}
|
||||
.material-icons {
|
||||
color: @accent-color;
|
||||
}
|
||||
}
|
||||
|
||||
.fc-timegrid-now-indicator-line {
|
||||
border-color: darken(@accent-color, 10%);
|
||||
}
|
||||
|
||||
.fc-timegrid .fc-daygrid-day-events,
|
||||
.fc-timegrid .all-day-slot {
|
||||
background-color: @base;
|
||||
}
|
||||
}
|
||||
|
||||
#completed-tasks-stroke-gradient,
|
||||
#completed-tasks-fill-gradient {
|
||||
[offset="0%"] {
|
||||
stop-color: @maroon;
|
||||
}
|
||||
|
||||
[offset="50%"] {
|
||||
stop-color: @peach;
|
||||
}
|
||||
|
||||
[offset="100%"] {
|
||||
stop-color: @yellow;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#rgbify(@color) {
|
||||
@rgb: red(@color), green(@color), blue(@color);
|
||||
}
|
||||
|
||||
/* deno-fmt-ignore */
|
||||
@catppuccin: {
|
||||
@latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
|
||||
@frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
|
||||
@macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
|
||||
@mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
|
||||
};
|
||||
@@ -1,9 +1,9 @@
|
||||
/* ==UserStyle==
|
||||
@name AniList/AniChart Catppuccin
|
||||
@name AniList/AniChart Catppuccin [STUB | UPDATE REQUIRED]
|
||||
@namespace github.com/catppuccin/userstyles/styles/anilist
|
||||
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/anilist
|
||||
@version 2024.12.28
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/anilist/catppuccin.user.css
|
||||
@version 2024.12.29
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/anilist/catppuccin.user.less
|
||||
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Aanilist
|
||||
@description Soothing pastel theme for AniList and AniChart
|
||||
@author Catppuccin
|
||||
@@ -15,746 +15,4 @@
|
||||
@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 contrastColor "Contrast Color" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve", "red:Red*", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
|
||||
==/UserStyle== */
|
||||
|
||||
@-moz-document domain("anilist.co"), domain("anichart.net") {
|
||||
body:not(.site-theme-dark) {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
.site-theme-dark {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
}
|
||||
|
||||
#catppuccin(@lookup, @accent) {
|
||||
@rosewater: @catppuccin[@@lookup][@rosewater];
|
||||
@flamingo: @catppuccin[@@lookup][@flamingo];
|
||||
@pink: @catppuccin[@@lookup][@pink];
|
||||
@mauve: @catppuccin[@@lookup][@mauve];
|
||||
@red: @catppuccin[@@lookup][@red];
|
||||
@maroon: @catppuccin[@@lookup][@maroon];
|
||||
@peach: @catppuccin[@@lookup][@peach];
|
||||
@yellow: @catppuccin[@@lookup][@yellow];
|
||||
@green: @catppuccin[@@lookup][@green];
|
||||
@teal: @catppuccin[@@lookup][@teal];
|
||||
@sky: @catppuccin[@@lookup][@sky];
|
||||
@sapphire: @catppuccin[@@lookup][@sapphire];
|
||||
@blue: @catppuccin[@@lookup][@blue];
|
||||
@lavender: @catppuccin[@@lookup][@lavender];
|
||||
@text: @catppuccin[@@lookup][@text];
|
||||
@subtext1: @catppuccin[@@lookup][@subtext1];
|
||||
@subtext0: @catppuccin[@@lookup][@subtext0];
|
||||
@overlay2: @catppuccin[@@lookup][@overlay2];
|
||||
@overlay1: @catppuccin[@@lookup][@overlay1];
|
||||
@overlay0: @catppuccin[@@lookup][@overlay0];
|
||||
@surface2: @catppuccin[@@lookup][@surface2];
|
||||
@surface1: @catppuccin[@@lookup][@surface1];
|
||||
@surface0: @catppuccin[@@lookup][@surface0];
|
||||
@base: @catppuccin[@@lookup][@base];
|
||||
@mantle: @catppuccin[@@lookup][@mantle];
|
||||
@crust: @catppuccin[@@lookup][@crust];
|
||||
@accent-color: @catppuccin[@@lookup][@@accent];
|
||||
|
||||
@contrast-color: @catppuccin[@@lookup][@@contrastColor];
|
||||
|
||||
color-scheme: if(@lookup = latte, light, dark);
|
||||
|
||||
::selection {
|
||||
background-color: fade(@accent-color, 30%);
|
||||
}
|
||||
|
||||
input,
|
||||
textarea {
|
||||
&::placeholder {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
& when (@lookup =latte) {
|
||||
--color-blue-dim: #rgbify(desaturate(lighten(@accent-color, 10%), 10%)) [];
|
||||
|
||||
.nav[data-v-62eacfff],
|
||||
.solid[data-v-62eacfff],
|
||||
.transparent[data-v-62eacfff]:hover {
|
||||
background: darken(@text, 10%);
|
||||
color: @base;
|
||||
}
|
||||
|
||||
.nav-unscoped.transparent {
|
||||
background: fade(darken(@text, 10%), 50%);
|
||||
}
|
||||
|
||||
.banner-content .name {
|
||||
--color-text-bright: #rgbify(#fff) [];
|
||||
}
|
||||
}
|
||||
|
||||
--color-background: #rgbify(@crust) [];
|
||||
--color-foreground: #rgbify(@base) [];
|
||||
--color-foreground-grey: #rgbify(@surface0) [];
|
||||
--color-foreground-grey-dark: #rgbify(darken(@surface0, 5%)) [];
|
||||
--color-foreground-blue: #rgbify(@mantle) [];
|
||||
--color-foreground-blue-dark: #rgbify(@mantle) [];
|
||||
--color-background-blue-dark: #rgbify(@subtext1) [];
|
||||
--color-overlay: #rgbify(@surface0) [];
|
||||
--color-shadow: #rgbify(@mantle) [];
|
||||
--color-shadow-dark: #rgbify(darken(@text, 10%)) [];
|
||||
--color-shadow-blue: #rgbify(@blue) [];
|
||||
--color-text: #rgbify(@text) [];
|
||||
--color-text-light: #rgbify(@subtext1) [];
|
||||
--color-text-lighter: #rgbify(@subtext0) [];
|
||||
--color-text-bright: #rgbify(@text) [];
|
||||
--color-blue: #rgbify(@accent-color) [];
|
||||
--color-white: 255, 255, 255;
|
||||
--color-black: 0, 0, 0;
|
||||
--color-red: #rgbify(@contrast-color) [];
|
||||
--color-peach: #rgbify(@maroon) [];
|
||||
--color-orange: #rgbify(@peach) [];
|
||||
--color-yellow: #rgbify(@yellow) [];
|
||||
--color-green: #rgbify(@green) [];
|
||||
--color-background-1200: #rgbify(@text) [];
|
||||
--color-background-1100: #rgbify(@text) [];
|
||||
--color-background-1000: #rgbify(@text) [];
|
||||
--color-background-900: #rgbify(@subtext1) [];
|
||||
--color-background-800: #rgbify(@subtext0) [];
|
||||
--color-background-700: #rgbify(@surface1) [];
|
||||
--color-background-600: #rgbify(@surface0) [];
|
||||
--color-background-500: #rgbify(@surface0) [];
|
||||
--color-background-400: #rgbify(@surface0) [];
|
||||
--color-background-300: #rgbify(@base) [];
|
||||
--color-background-200: #rgbify(@mantle) [];
|
||||
--color-background-100: #rgbify(@crust) [];
|
||||
--color-gray-1200: #rgbify(@text) [];
|
||||
--color-gray-1100: #rgbify(@text) [];
|
||||
--color-gray-1000: #rgbify(@text) [];
|
||||
--color-gray-900: #rgbify(@text) [];
|
||||
--color-gray-800: #rgbify(@overlay2) [];
|
||||
--color-gray-700: #rgbify(@overlay1) [];
|
||||
--color-gray-600: #rgbify(@overlay0) [];
|
||||
--color-gray-500: #rgbify(@surface2) [];
|
||||
--color-gray-400: #rgbify(@surface1) [];
|
||||
--color-gray-300: #rgbify(@surface0) [];
|
||||
--color-gray-200: #rgbify(@mantle) [];
|
||||
--color-gray-100: #rgbify(@crust) [];
|
||||
--color-blue-100: #rgbify(@text) [];
|
||||
--color-blue-200: #rgbify(@text) [];
|
||||
--color-blue-300: #rgbify(@text) [];
|
||||
--color-blue-400: #rgbify(@sapphire) [];
|
||||
--color-blue-500: #rgbify(@sapphire) [];
|
||||
--color-blue-600: #rgbify(@blue) [];
|
||||
--color-blue-700: #rgbify(@blue) [];
|
||||
--color-blue-800: #rgbify(@blue) [];
|
||||
--color-blue-900: #rgbify(@blue) [];
|
||||
--color-blue-1000: #rgbify(@blue) [];
|
||||
--color-green-100: #rgbify(@teal) [];
|
||||
--color-green-200: #rgbify(@green) [];
|
||||
--color-green-300: #rgbify(@green) [];
|
||||
--color-green-400: #rgbify(@green) [];
|
||||
--color-green-500: #rgbify(@green) [];
|
||||
--color-green-600: #rgbify(@green) [];
|
||||
--color-green-700: #rgbify(@green) [];
|
||||
--color-green-800: #rgbify(@green) [];
|
||||
--color-red-100: #rgbify(@text) [];
|
||||
--color-red-200: #rgbify(@flamingo) [];
|
||||
--color-red-300: #rgbify(@maroon) [];
|
||||
--color-red-400: #rgbify(@red) [];
|
||||
--color-red-500: #rgbify(@red) [];
|
||||
--color-red-600: #rgbify(@red) [];
|
||||
--color-red-700: #rgbify(@red) [];
|
||||
|
||||
& when not (@lookup =latte) {
|
||||
--color-background: #rgbify(@crust) [];
|
||||
--color-foreground: #rgbify(@base) [];
|
||||
--color-foreground-grey: #rgbify(@surface0) [];
|
||||
--color-foreground-grey-dark: #rgbify(darken(@surface0, 5%)) [];
|
||||
--color-foreground-blue: #rgbify(@mantle) [];
|
||||
--color-foreground-blue-dark: #rgbify(@mantle) [];
|
||||
--color-text: #rgbify(@text) [];
|
||||
--color-text-light: #rgbify(@subtext0) [];
|
||||
--color-text-lighter: #rgbify(@subtext1) [];
|
||||
--color-shadow-dark: #rgbify(@crust) [];
|
||||
--color-shadow-blue: #rgbify(@crust) [];
|
||||
--color-background-1200: #rgbify(@text) [];
|
||||
--color-background-1100: #rgbify(@text) [];
|
||||
--color-background-1000: #rgbify(@text) [];
|
||||
--color-background-900: #rgbify(@subtext1) [];
|
||||
--color-background-800: #rgbify(@subtext0) [];
|
||||
--color-background-700: #rgbify(@surface1) [];
|
||||
--color-background-600: #rgbify(@surface0) [];
|
||||
--color-background-500: #rgbify(@surface0) [];
|
||||
--color-background-400: #rgbify(@surface0) [];
|
||||
--color-background-300: #rgbify(@base) [];
|
||||
--color-background-200: #rgbify(@mantle) [];
|
||||
--color-background-100: #rgbify(@crust) [];
|
||||
--color-gray-1200: #rgbify(@text) [];
|
||||
--color-gray-1100: #rgbify(@text) [];
|
||||
--color-gray-1000: #rgbify(@text) [];
|
||||
--color-gray-900: #rgbify(@text) [];
|
||||
--color-gray-800: #rgbify(@overlay2) [];
|
||||
--color-gray-700: #rgbify(@overlay1) [];
|
||||
--color-gray-600: #rgbify(@overlay0) [];
|
||||
--color-gray-500: #rgbify(@surface2) [];
|
||||
--color-gray-400: #rgbify(@surface1) [];
|
||||
--color-gray-300: #rgbify(@surface0) [];
|
||||
--color-gray-200: #rgbify(@mantle) [];
|
||||
--color-gray-100: #rgbify(@crust) [];
|
||||
|
||||
--color-blue-dim: #rgbify(desaturate(darken(@accent-color, 10%), 10%)) [];
|
||||
}
|
||||
|
||||
/* DARK THEME NAV BAR */
|
||||
.nav-unscoped when not (@lookup =latte) {
|
||||
background-color: @mantle;
|
||||
}
|
||||
.nav-unscoped.transparent when not (@lookup =latte) {
|
||||
background-color: fade(@mantle, 50%);
|
||||
}
|
||||
.nav-unscoped.transparent:hover when not (@lookup =latte) {
|
||||
background-color: @mantle;
|
||||
color: @subtext0;
|
||||
}
|
||||
|
||||
/* -----------------PROFILE FIXES----------------- */
|
||||
#profileColor(@color) {
|
||||
--color-blue: #rgbify(@color) [];
|
||||
& when (@lookup =latte) {
|
||||
--color-blue-dim: #rgbify(lighten(@color, 10%)) [];
|
||||
}
|
||||
& when not (@lookup =latte) {
|
||||
--color-blue-dim: #rgbify(darken(@color, 10%)) [];
|
||||
}
|
||||
.progress .bar {
|
||||
background: linear-gradient(270deg, darken(@color, 10%), @color);
|
||||
}
|
||||
}
|
||||
.user-page-unscoped.orange {
|
||||
#profileColor(@peach);
|
||||
}
|
||||
.user-page-unscoped.green {
|
||||
#profileColor(@green);
|
||||
}
|
||||
.user-page-unscoped.purple {
|
||||
#profileColor(@mauve);
|
||||
}
|
||||
.user-page-unscoped.red {
|
||||
#profileColor(@red);
|
||||
}
|
||||
.user-page-unscoped.blue {
|
||||
#profileColor(@blue);
|
||||
}
|
||||
.user-page-unscoped.pink {
|
||||
#profileColor(@pink);
|
||||
}
|
||||
.user-page-unscoped.gray {
|
||||
#profileColor(@overlay1);
|
||||
}
|
||||
.history-day {
|
||||
--color-foreground-grey-dark: #rgbify(@crust) [];
|
||||
}
|
||||
.x-axis {
|
||||
--color-background-300: #rgbify(@surface0) [];
|
||||
}
|
||||
/* Fixes gap between stats */
|
||||
@media (max-width: 1540px) {
|
||||
.stats-wrap {
|
||||
grid-row-gap: 25px;
|
||||
}
|
||||
}
|
||||
|
||||
/* ----Tracking Status List Stuff---- */
|
||||
.list[data-v-5776f768] {
|
||||
color: @mantle !important;
|
||||
}
|
||||
.media-card .list-status[status="Repeating"] {
|
||||
background: @pink;
|
||||
}
|
||||
.banner .el-icon-arrow-down::before {
|
||||
color: @text !important;
|
||||
}
|
||||
.el-textarea__inner::placeholder {
|
||||
color: @overlay1;
|
||||
}
|
||||
.el-dropdown-menu,
|
||||
.el-dropdown-menu__item--divided::before,
|
||||
.el-select-dropdown {
|
||||
background-color: @surface0 !important;
|
||||
}
|
||||
.el-popper[x-placement^="bottom"] .popper__arrow::after,
|
||||
.el-popper[x-placement^="bottom"] .popper__arrow,
|
||||
.el-tooltip__popper[x-placement^="bottom"] .popper__arrow::after,
|
||||
.el-tooltip__popper[x-placement^="bottom"] .popper__arrow {
|
||||
border-bottom-color: @surface0;
|
||||
}
|
||||
.el-popper[x-placement^="top"] .popper__arrow::after,
|
||||
.el-popper[x-placement^="top"] .popper__arrow,
|
||||
.el-tooltip__popper[x-placement^="top"] .popper__arrow,
|
||||
.el-tooltip__popper[x-placement^="top"] .popper__arrow::after {
|
||||
border-top-color: @surface0;
|
||||
}
|
||||
.el-dropdown .feed-filter {
|
||||
color: @overlay0;
|
||||
}
|
||||
.el-dropdown-menu {
|
||||
border-color: @text !important;
|
||||
}
|
||||
.el-dropdown-menu__item--divided when not (@lookup =latte) {
|
||||
border-top-color: @surface1;
|
||||
}
|
||||
.el-select-dropdown__item.hover,
|
||||
.el-select-dropdown__item:hover {
|
||||
background-color: @base;
|
||||
}
|
||||
.el-select-dropdown__item.selected {
|
||||
color: @accent-color;
|
||||
}
|
||||
.el-tooltip__popper.is-dark {
|
||||
background: @surface0;
|
||||
color: @text;
|
||||
}
|
||||
.tooltip > div {
|
||||
--color-white: #rgbify(@text) [];
|
||||
}
|
||||
.dropdown {
|
||||
--color-gray-100: #rgbify(@base) [];
|
||||
--color-background-100: #rgbify(@base) [];
|
||||
--color-background-200: #rgbify(@mantle) [];
|
||||
}
|
||||
.medialist .notes {
|
||||
--color-overlay: #rgbify(@surface0) [];
|
||||
}
|
||||
.el-input__inner::placeholder,
|
||||
.el-input__prefix {
|
||||
color: @overlay1;
|
||||
}
|
||||
.el-picker-panel {
|
||||
color: @text;
|
||||
background-color: @surface0;
|
||||
border-color: @surface1;
|
||||
}
|
||||
.el-date-table th {
|
||||
color: @overlay1;
|
||||
border-bottom-color: @surface1;
|
||||
}
|
||||
.el-date-picker__header-label {
|
||||
color: @subtext0;
|
||||
|
||||
&:hover {
|
||||
color: @accent-color;
|
||||
}
|
||||
}
|
||||
.el-picker-panel__icon-btn {
|
||||
color: @overlay1;
|
||||
|
||||
&:hover {
|
||||
color: @accent-color;
|
||||
}
|
||||
}
|
||||
.el-date-table td.available:hover {
|
||||
color: @accent-color;
|
||||
}
|
||||
.el-date-table td.current:not(.disabled) span {
|
||||
color: @crust;
|
||||
background-color: @accent-color;
|
||||
}
|
||||
.el-date-table td.next-month,
|
||||
.el-date-table td.prev-month {
|
||||
color: @surface2;
|
||||
}
|
||||
|
||||
/* ---------SCORE TWEAKS-------------- */
|
||||
.score[data-v-5ca094da] {
|
||||
color: @base;
|
||||
}
|
||||
|
||||
/* --------------FOOTER--------------- */
|
||||
.footer[data-v-0f519cab] {
|
||||
background: @text;
|
||||
color: @crust;
|
||||
|
||||
h2 {
|
||||
color: rgb(var(--color-blue));
|
||||
}
|
||||
|
||||
& when (@lookup =latte) {
|
||||
--color-blue: #rgbify(lighten(@accent-color, 30%)) [];
|
||||
}
|
||||
|
||||
& when not (@lookup =latte) {
|
||||
background: @mantle;
|
||||
color: @subtext0;
|
||||
}
|
||||
}
|
||||
|
||||
/* ------------------SEARCH PAGES------------------ */
|
||||
.search,
|
||||
.expand-description,
|
||||
.studio {
|
||||
--color-background-200: #rgbify(@crust) [];
|
||||
}
|
||||
.search-wrap,
|
||||
.filters,
|
||||
.extra-filters-wrap,
|
||||
.select,
|
||||
.options {
|
||||
--color-background-100: #rgbify(@base) [];
|
||||
}
|
||||
.filter.select-wrap .options {
|
||||
--color-background-100: #rgbify(@mantle) [];
|
||||
}
|
||||
|
||||
/* ------------------MISC EDITS-------------------- */
|
||||
.list-editor-wrap .header::after {
|
||||
background: fade(@mantle, 50%);
|
||||
}
|
||||
.filter.clear-all {
|
||||
--color-background-500: #rgbify(@overlay1) [];
|
||||
}
|
||||
/* --Reset button in notifications----- */
|
||||
.reset-btn {
|
||||
color: @base !important;
|
||||
}
|
||||
/* Publish Button in Replies and Messages */
|
||||
.save {
|
||||
color: @base !important;
|
||||
}
|
||||
.el-radio {
|
||||
color: @overlay1;
|
||||
}
|
||||
/* Mod Stuff */
|
||||
.el-color-dropdown__link-btn {
|
||||
color: @accent-color;
|
||||
}
|
||||
.el-color-picker__color {
|
||||
border-color: @surface1;
|
||||
}
|
||||
.el-color-picker__panel {
|
||||
background-color: @surface0;
|
||||
border-color: @surface1;
|
||||
}
|
||||
.el-color-dropdown__btn {
|
||||
border-color: @surface2;
|
||||
color: @subtext1;
|
||||
|
||||
&:hover {
|
||||
background-color: transparent;
|
||||
border-color: @accent-color;
|
||||
color: @accent-color;
|
||||
}
|
||||
}
|
||||
/* Accent Text */
|
||||
.input .hint {
|
||||
--color-white: #rgbify(@text) [];
|
||||
}
|
||||
.el-checkbox__input.is-checked + .el-checkbox__label {
|
||||
color: @accent-color;
|
||||
}
|
||||
.button,
|
||||
.option.active,
|
||||
.new-badge,
|
||||
.submissions .user .stats > div,
|
||||
.actions .icon,
|
||||
.submissions .status,
|
||||
.adult-label,
|
||||
.header .btn,
|
||||
.media-tag-editor .btn,
|
||||
[data-v-843c77a2] .btn,
|
||||
[data-v-22855988] .btn,
|
||||
.btn[data-v-156b3973],
|
||||
.btn[data-v-dceb4a66],
|
||||
.favourite-btn,
|
||||
.dialog .btn,
|
||||
.tag,
|
||||
.filter,
|
||||
.media .header div,
|
||||
.list-editor-wrap .header .save-btn,
|
||||
.actions > div:not(.donator-badge),
|
||||
.banner-content .mod-badge-wrap,
|
||||
.external-link.no-color,
|
||||
.count.circle,
|
||||
.el-dropdown-menu__item,
|
||||
.delete,
|
||||
.list-editor-wrap .list-editor .body .delete-btn,
|
||||
.open-user-search,
|
||||
.save-btn {
|
||||
& when not (@lookup =latte) {
|
||||
--color-white: #rgbify(@crust) [];
|
||||
}
|
||||
}
|
||||
.button.comment,
|
||||
.settings .button,
|
||||
.el-message-box .el-button--primary,
|
||||
.mod-badge-wrap,
|
||||
.medialist.cards .entry-card .edit {
|
||||
& when not (@lookup =latte) {
|
||||
--color-text-bright: #rgbify(@crust) [];
|
||||
}
|
||||
}
|
||||
.submit-btn,
|
||||
.random-btn {
|
||||
& when not (@lookup =latte) {
|
||||
color: @crust;
|
||||
}
|
||||
}
|
||||
.user .notification-dot,
|
||||
.create-btn {
|
||||
& when not (@lookup =latte) {
|
||||
color: @crust !important;
|
||||
}
|
||||
}
|
||||
.el-radio__inner::after {
|
||||
& when not (@lookup =latte) {
|
||||
background-color: @crust;
|
||||
}
|
||||
}
|
||||
.icon,
|
||||
.check {
|
||||
& when not (@lookup =latte) {
|
||||
--color-blue-300: #rgbify(@crust) [];
|
||||
}
|
||||
}
|
||||
.settings .button {
|
||||
& when (@lookup =latte) {
|
||||
--color-text-bright: #rgbify(#fff) [];
|
||||
}
|
||||
}
|
||||
/* ------------IMAGE COVER------------ */
|
||||
.cover .image-text,
|
||||
.plus-progress {
|
||||
color: @text !important;
|
||||
}
|
||||
|
||||
.entry .plus-progress,
|
||||
.medialist.table .entry .edit {
|
||||
color: @base !important;
|
||||
}
|
||||
/* --------SETTINGS-------- */
|
||||
.el-radio__inner when not (@lookup =latte) {
|
||||
background-color: @text;
|
||||
}
|
||||
.el-checkbox__input.is-checked .el-checkbox__inner,
|
||||
.el-radio__input.is-checked .el-radio__inner {
|
||||
background-color: @accent-color;
|
||||
border-color: @accent-color;
|
||||
}
|
||||
.el-checkbox__inner::after {
|
||||
border-color: @crust;
|
||||
border-width: 2px;
|
||||
left: 3px;
|
||||
}
|
||||
.el-radio__input.is-checked + .el-radio__label {
|
||||
color: @accent-color;
|
||||
}
|
||||
/* --------HIDE SCROLLBAR IN BIO----- */
|
||||
.section::-webkit-scrollbar {
|
||||
display: none;
|
||||
}
|
||||
.section {
|
||||
-ms-overflow-style: none;
|
||||
scrollbar-width: none;
|
||||
}
|
||||
/* --------REMOVE DROPDOWN SHADOWS----- */
|
||||
.dropdown.dropdown {
|
||||
box-shadow: none;
|
||||
}
|
||||
/* ---------ANILIST LIKER PLUGIN------ */
|
||||
#AnilistLikerPlugin .btntop {
|
||||
margin-bottom: -4px;
|
||||
margin-top: 5px;
|
||||
}
|
||||
#AnilistLikerPlugin .btnbottom {
|
||||
margin-top: -2px;
|
||||
}
|
||||
/* ---------AUTOMAIL TWEAKS--------- */
|
||||
.hohMediaScore {
|
||||
border-color: @surface0;
|
||||
padding: 4px;
|
||||
border-radius: 10px;
|
||||
margin-left: 0;
|
||||
background-color: @base;
|
||||
color: @accent-color;
|
||||
}
|
||||
.activity-feed .hohNoteSuffix:not(:empty),
|
||||
.activity-feed .hohRewatchSuffix:not(:empty),
|
||||
.activity-feed .hohScore:not(.hohSmiley),
|
||||
.hohFeedScore .hohScore {
|
||||
border-radius: 5px;
|
||||
padding: 2.5px 5px 1px !important;
|
||||
color: @subtext1 !important;
|
||||
background-color: @surface0;
|
||||
|
||||
&:not(:first-of-type) {
|
||||
margin: 3px;
|
||||
}
|
||||
}
|
||||
.activity-feed .hohRewatchSuffix:not(:empty) {
|
||||
padding-left: 2px !important;
|
||||
}
|
||||
.hohExtraFilters button {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
.filter-group.compare-btn,
|
||||
.hohButton {
|
||||
color: @base;
|
||||
}
|
||||
.hohButton,
|
||||
.hohCheckbox input:checked + .el-checkbox__inner {
|
||||
background-color: @accent-color;
|
||||
}
|
||||
.hohCheckbox input:checked + .el-checkbox__inner {
|
||||
border-color: @accent-color;
|
||||
}
|
||||
.medialist.table .entry:hover,
|
||||
.medialist.table .entry .title a:hover,
|
||||
.compare-btn[data-v-170179fc]:hover {
|
||||
color: @base;
|
||||
}
|
||||
.hohCompare table {
|
||||
background-color: @crust;
|
||||
}
|
||||
.hohAnimeTable,
|
||||
.hohAnimeTable td,
|
||||
.hohUserRow td,
|
||||
.hohUserRow th,
|
||||
.hohHeaderRow td,
|
||||
.hohHeaderRow th {
|
||||
border-color: @surface0 !important;
|
||||
}
|
||||
.hohUserRow td {
|
||||
border-top-color: @surface0 !important;
|
||||
}
|
||||
.hohUserRow tr {
|
||||
border-right-color: @surface0 !important;
|
||||
}
|
||||
hr {
|
||||
color: @surface0;
|
||||
}
|
||||
.hohCheckbox
|
||||
input:checked
|
||||
+ .el-checkbox__inner
|
||||
.like-wrap.thread
|
||||
.button.liked
|
||||
.fa-heart,
|
||||
.actions .favourite.liked .fa-heart,
|
||||
.like-wrap.thread .button.isFavourite .fa-heart,
|
||||
.actions .favourite.isFavourite .fa-heart,
|
||||
.actions .favourite {
|
||||
& when not (@lookup =latte) {
|
||||
--color-white: #rgbify(@crust) [];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@-moz-document domain("anichart.net") {
|
||||
body:not(.site-theme-dark) {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
.site-theme-dark {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
}
|
||||
|
||||
#catppuccin(@lookup, @accent) {
|
||||
@rosewater: @catppuccin[@@lookup][@rosewater];
|
||||
@flamingo: @catppuccin[@@lookup][@flamingo];
|
||||
@pink: @catppuccin[@@lookup][@pink];
|
||||
@mauve: @catppuccin[@@lookup][@mauve];
|
||||
@red: @catppuccin[@@lookup][@red];
|
||||
@maroon: @catppuccin[@@lookup][@maroon];
|
||||
@peach: @catppuccin[@@lookup][@peach];
|
||||
@yellow: @catppuccin[@@lookup][@yellow];
|
||||
@green: @catppuccin[@@lookup][@green];
|
||||
@teal: @catppuccin[@@lookup][@teal];
|
||||
@sky: @catppuccin[@@lookup][@sky];
|
||||
@sapphire: @catppuccin[@@lookup][@sapphire];
|
||||
@blue: @catppuccin[@@lookup][@blue];
|
||||
@lavender: @catppuccin[@@lookup][@lavender];
|
||||
@text: @catppuccin[@@lookup][@text];
|
||||
@subtext1: @catppuccin[@@lookup][@subtext1];
|
||||
@subtext0: @catppuccin[@@lookup][@subtext0];
|
||||
@overlay2: @catppuccin[@@lookup][@overlay2];
|
||||
@overlay1: @catppuccin[@@lookup][@overlay1];
|
||||
@overlay0: @catppuccin[@@lookup][@overlay0];
|
||||
@surface2: @catppuccin[@@lookup][@surface2];
|
||||
@surface1: @catppuccin[@@lookup][@surface1];
|
||||
@surface0: @catppuccin[@@lookup][@surface0];
|
||||
@base: @catppuccin[@@lookup][@base];
|
||||
@mantle: @catppuccin[@@lookup][@mantle];
|
||||
@crust: @catppuccin[@@lookup][@crust];
|
||||
@accent-color: @catppuccin[@@lookup][@@accentColor];
|
||||
@contrast-color: @catppuccin[@@lookup][@@contrastColor];
|
||||
|
||||
color-scheme: if(@lookup = latte, light, dark);
|
||||
|
||||
::selection {
|
||||
background-color: fade(@accent-color, 30%);
|
||||
}
|
||||
|
||||
input,
|
||||
textarea {
|
||||
&::placeholder {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
.login[data-v-0d5bfbcd],
|
||||
.login[data-v-0d5bfbcd]:hover {
|
||||
color: @base;
|
||||
}
|
||||
|
||||
[fill="#3db4f2" i] {
|
||||
fill: @accent !important;
|
||||
}
|
||||
|
||||
& when not (@lookup =latte) {
|
||||
.nav {
|
||||
background: @mantle;
|
||||
}
|
||||
|
||||
.external-link {
|
||||
background: @surface1;
|
||||
|
||||
[stroke="#fff" i] {
|
||||
stroke: @text !important;
|
||||
}
|
||||
}
|
||||
|
||||
.external-link .icon,
|
||||
.dropdown-menu:hover {
|
||||
--color-white: #rgbify(@crust) [];
|
||||
}
|
||||
|
||||
[fill="#fff" i] {
|
||||
fill: @crust !important;
|
||||
}
|
||||
}
|
||||
|
||||
& when (@lookup =latte) {
|
||||
--color-overlay: #rgbify(@text) [];
|
||||
|
||||
.external-link {
|
||||
background: @subtext0;
|
||||
}
|
||||
|
||||
.nav {
|
||||
background: @text;
|
||||
}
|
||||
|
||||
a.title {
|
||||
--color-white: #rgbify(@base) [];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#rgbify(@color) {
|
||||
@rgb: red(@color), green(@color), blue(@color);
|
||||
}
|
||||
|
||||
/* prettier-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; };
|
||||
}
|
||||
|
||||
// vim:ft=less
|
||||
==/UserStyle== */
|
||||
@@ -0,0 +1,758 @@
|
||||
/* ==UserStyle==
|
||||
@name AniList/AniChart Catppuccin
|
||||
@namespace github.com/catppuccin/userstyles/styles/anilist
|
||||
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/anilist
|
||||
@version 2024.12.29.1
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/anilist/catppuccin.user.less
|
||||
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Aanilist
|
||||
@description Soothing pastel theme for AniList and AniChart
|
||||
@author Catppuccin
|
||||
@license MIT
|
||||
|
||||
@preprocessor less
|
||||
@var select lightFlavor "Light Flavor" ["latte:Latte*", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha"]
|
||||
@var select darkFlavor "Dark Flavor" ["latte:Latte", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha*"]
|
||||
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
|
||||
|
||||
@var select contrastColor "Contrast Color" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve", "red:Red*", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
|
||||
==/UserStyle== */
|
||||
|
||||
@-moz-document domain("anilist.co"), domain("anichart.net") {
|
||||
body:not(.site-theme-dark) {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
.site-theme-dark {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
}
|
||||
|
||||
#catppuccin(@lookup, @accent) {
|
||||
@rosewater: @catppuccin[@@lookup][@rosewater];
|
||||
@flamingo: @catppuccin[@@lookup][@flamingo];
|
||||
@pink: @catppuccin[@@lookup][@pink];
|
||||
@mauve: @catppuccin[@@lookup][@mauve];
|
||||
@red: @catppuccin[@@lookup][@red];
|
||||
@maroon: @catppuccin[@@lookup][@maroon];
|
||||
@peach: @catppuccin[@@lookup][@peach];
|
||||
@yellow: @catppuccin[@@lookup][@yellow];
|
||||
@green: @catppuccin[@@lookup][@green];
|
||||
@teal: @catppuccin[@@lookup][@teal];
|
||||
@sky: @catppuccin[@@lookup][@sky];
|
||||
@sapphire: @catppuccin[@@lookup][@sapphire];
|
||||
@blue: @catppuccin[@@lookup][@blue];
|
||||
@lavender: @catppuccin[@@lookup][@lavender];
|
||||
@text: @catppuccin[@@lookup][@text];
|
||||
@subtext1: @catppuccin[@@lookup][@subtext1];
|
||||
@subtext0: @catppuccin[@@lookup][@subtext0];
|
||||
@overlay2: @catppuccin[@@lookup][@overlay2];
|
||||
@overlay1: @catppuccin[@@lookup][@overlay1];
|
||||
@overlay0: @catppuccin[@@lookup][@overlay0];
|
||||
@surface2: @catppuccin[@@lookup][@surface2];
|
||||
@surface1: @catppuccin[@@lookup][@surface1];
|
||||
@surface0: @catppuccin[@@lookup][@surface0];
|
||||
@base: @catppuccin[@@lookup][@base];
|
||||
@mantle: @catppuccin[@@lookup][@mantle];
|
||||
@crust: @catppuccin[@@lookup][@crust];
|
||||
@accent-color: @catppuccin[@@lookup][@@accent];
|
||||
|
||||
@contrast-color: @catppuccin[@@lookup][@@contrastColor];
|
||||
|
||||
color-scheme: if(@lookup = latte, light, dark);
|
||||
|
||||
::selection {
|
||||
background-color: fade(@accent-color, 30%);
|
||||
}
|
||||
|
||||
input,
|
||||
textarea {
|
||||
&::placeholder {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
& when (@lookup = latte) {
|
||||
--color-blue-dim: #rgbify(desaturate(lighten(@accent-color, 10%), 10%))[];
|
||||
|
||||
.nav[data-v-62eacfff],
|
||||
.solid[data-v-62eacfff],
|
||||
.transparent[data-v-62eacfff]:hover {
|
||||
background: darken(@text, 10%);
|
||||
color: @base;
|
||||
}
|
||||
|
||||
.nav-unscoped.transparent {
|
||||
background: fade(darken(@text, 10%), 50%);
|
||||
}
|
||||
|
||||
.banner-content .name {
|
||||
--color-text-bright: #rgbify(#fff)[];
|
||||
}
|
||||
}
|
||||
|
||||
--color-background: #rgbify(@crust)[];
|
||||
--color-foreground: #rgbify(@base)[];
|
||||
--color-foreground-grey: #rgbify(@surface0)[];
|
||||
--color-foreground-grey-dark: #rgbify(darken(@surface0, 5%))[];
|
||||
--color-foreground-blue: #rgbify(@mantle)[];
|
||||
--color-foreground-blue-dark: #rgbify(@mantle)[];
|
||||
--color-background-blue-dark: #rgbify(@subtext1)[];
|
||||
--color-overlay: #rgbify(@surface0)[];
|
||||
--color-shadow: #rgbify(@mantle)[];
|
||||
--color-shadow-dark: #rgbify(darken(@text, 10%))[];
|
||||
--color-shadow-blue: #rgbify(@blue)[];
|
||||
--color-text: #rgbify(@text)[];
|
||||
--color-text-light: #rgbify(@subtext1)[];
|
||||
--color-text-lighter: #rgbify(@subtext0)[];
|
||||
--color-text-bright: #rgbify(@text)[];
|
||||
--color-blue: #rgbify(@accent-color)[];
|
||||
--color-white: 255, 255, 255;
|
||||
--color-black: 0, 0, 0;
|
||||
--color-red: #rgbify(@contrast-color)[];
|
||||
--color-peach: #rgbify(@maroon)[];
|
||||
--color-orange: #rgbify(@peach)[];
|
||||
--color-yellow: #rgbify(@yellow)[];
|
||||
--color-green: #rgbify(@green)[];
|
||||
--color-background-1200: #rgbify(@text)[];
|
||||
--color-background-1100: #rgbify(@text)[];
|
||||
--color-background-1000: #rgbify(@text)[];
|
||||
--color-background-900: #rgbify(@subtext1)[];
|
||||
--color-background-800: #rgbify(@subtext0)[];
|
||||
--color-background-700: #rgbify(@surface1)[];
|
||||
--color-background-600: #rgbify(@surface0)[];
|
||||
--color-background-500: #rgbify(@surface0)[];
|
||||
--color-background-400: #rgbify(@surface0)[];
|
||||
--color-background-300: #rgbify(@base)[];
|
||||
--color-background-200: #rgbify(@mantle)[];
|
||||
--color-background-100: #rgbify(@crust)[];
|
||||
--color-gray-1200: #rgbify(@text)[];
|
||||
--color-gray-1100: #rgbify(@text)[];
|
||||
--color-gray-1000: #rgbify(@text)[];
|
||||
--color-gray-900: #rgbify(@text)[];
|
||||
--color-gray-800: #rgbify(@overlay2)[];
|
||||
--color-gray-700: #rgbify(@overlay1)[];
|
||||
--color-gray-600: #rgbify(@overlay0)[];
|
||||
--color-gray-500: #rgbify(@surface2)[];
|
||||
--color-gray-400: #rgbify(@surface1)[];
|
||||
--color-gray-300: #rgbify(@surface0)[];
|
||||
--color-gray-200: #rgbify(@mantle)[];
|
||||
--color-gray-100: #rgbify(@crust)[];
|
||||
--color-blue-100: #rgbify(@text)[];
|
||||
--color-blue-200: #rgbify(@text)[];
|
||||
--color-blue-300: #rgbify(@text)[];
|
||||
--color-blue-400: #rgbify(@sapphire)[];
|
||||
--color-blue-500: #rgbify(@sapphire)[];
|
||||
--color-blue-600: #rgbify(@blue)[];
|
||||
--color-blue-700: #rgbify(@blue)[];
|
||||
--color-blue-800: #rgbify(@blue)[];
|
||||
--color-blue-900: #rgbify(@blue)[];
|
||||
--color-blue-1000: #rgbify(@blue)[];
|
||||
--color-green-100: #rgbify(@teal)[];
|
||||
--color-green-200: #rgbify(@green)[];
|
||||
--color-green-300: #rgbify(@green)[];
|
||||
--color-green-400: #rgbify(@green)[];
|
||||
--color-green-500: #rgbify(@green)[];
|
||||
--color-green-600: #rgbify(@green)[];
|
||||
--color-green-700: #rgbify(@green)[];
|
||||
--color-green-800: #rgbify(@green)[];
|
||||
--color-red-100: #rgbify(@text)[];
|
||||
--color-red-200: #rgbify(@flamingo)[];
|
||||
--color-red-300: #rgbify(@maroon)[];
|
||||
--color-red-400: #rgbify(@red)[];
|
||||
--color-red-500: #rgbify(@red)[];
|
||||
--color-red-600: #rgbify(@red)[];
|
||||
--color-red-700: #rgbify(@red)[];
|
||||
|
||||
& when not(@lookup = latte) {
|
||||
--color-background: #rgbify(@crust)[];
|
||||
--color-foreground: #rgbify(@base)[];
|
||||
--color-foreground-grey: #rgbify(@surface0)[];
|
||||
--color-foreground-grey-dark: #rgbify(darken(@surface0, 5%))[];
|
||||
--color-foreground-blue: #rgbify(@mantle)[];
|
||||
--color-foreground-blue-dark: #rgbify(@mantle)[];
|
||||
--color-text: #rgbify(@text)[];
|
||||
--color-text-light: #rgbify(@subtext0)[];
|
||||
--color-text-lighter: #rgbify(@subtext1)[];
|
||||
--color-shadow-dark: #rgbify(@crust)[];
|
||||
--color-shadow-blue: #rgbify(@crust)[];
|
||||
--color-background-1200: #rgbify(@text)[];
|
||||
--color-background-1100: #rgbify(@text)[];
|
||||
--color-background-1000: #rgbify(@text)[];
|
||||
--color-background-900: #rgbify(@subtext1)[];
|
||||
--color-background-800: #rgbify(@subtext0)[];
|
||||
--color-background-700: #rgbify(@surface1)[];
|
||||
--color-background-600: #rgbify(@surface0)[];
|
||||
--color-background-500: #rgbify(@surface0)[];
|
||||
--color-background-400: #rgbify(@surface0)[];
|
||||
--color-background-300: #rgbify(@base)[];
|
||||
--color-background-200: #rgbify(@mantle)[];
|
||||
--color-background-100: #rgbify(@crust)[];
|
||||
--color-gray-1200: #rgbify(@text)[];
|
||||
--color-gray-1100: #rgbify(@text)[];
|
||||
--color-gray-1000: #rgbify(@text)[];
|
||||
--color-gray-900: #rgbify(@text)[];
|
||||
--color-gray-800: #rgbify(@overlay2)[];
|
||||
--color-gray-700: #rgbify(@overlay1)[];
|
||||
--color-gray-600: #rgbify(@overlay0)[];
|
||||
--color-gray-500: #rgbify(@surface2)[];
|
||||
--color-gray-400: #rgbify(@surface1)[];
|
||||
--color-gray-300: #rgbify(@surface0)[];
|
||||
--color-gray-200: #rgbify(@mantle)[];
|
||||
--color-gray-100: #rgbify(@crust)[];
|
||||
|
||||
--color-blue-dim: #rgbify(desaturate(darken(@accent-color, 10%), 10%))[];
|
||||
}
|
||||
|
||||
/* DARK THEME NAV BAR */
|
||||
.nav-unscoped when not(@lookup = latte) {
|
||||
background-color: @mantle;
|
||||
}
|
||||
.nav-unscoped.transparent when not(@lookup = latte) {
|
||||
background-color: fade(@mantle, 50%);
|
||||
}
|
||||
.nav-unscoped.transparent:hover when not(@lookup = latte) {
|
||||
background-color: @mantle;
|
||||
color: @subtext0;
|
||||
}
|
||||
|
||||
/* -----------------PROFILE FIXES----------------- */
|
||||
#profileColor(@color) {
|
||||
--color-blue: #rgbify(@color)[];
|
||||
& when (@lookup = latte) {
|
||||
--color-blue-dim: #rgbify(lighten(@color, 10%))[];
|
||||
}
|
||||
& when not(@lookup = latte) {
|
||||
--color-blue-dim: #rgbify(darken(@color, 10%))[];
|
||||
}
|
||||
.progress .bar {
|
||||
background: linear-gradient(270deg, darken(@color, 10%), @color);
|
||||
}
|
||||
}
|
||||
.user-page-unscoped.orange {
|
||||
#profileColor(@peach);
|
||||
}
|
||||
.user-page-unscoped.green {
|
||||
#profileColor(@green);
|
||||
}
|
||||
.user-page-unscoped.purple {
|
||||
#profileColor(@mauve);
|
||||
}
|
||||
.user-page-unscoped.red {
|
||||
#profileColor(@red);
|
||||
}
|
||||
.user-page-unscoped.blue {
|
||||
#profileColor(@blue);
|
||||
}
|
||||
.user-page-unscoped.pink {
|
||||
#profileColor(@pink);
|
||||
}
|
||||
.user-page-unscoped.gray {
|
||||
#profileColor(@overlay1);
|
||||
}
|
||||
.history-day {
|
||||
--color-foreground-grey-dark: #rgbify(@crust)[];
|
||||
}
|
||||
.x-axis {
|
||||
--color-background-300: #rgbify(@surface0)[];
|
||||
}
|
||||
/* Fixes gap between stats */
|
||||
@media (max-width: 1540px) {
|
||||
.stats-wrap {
|
||||
grid-row-gap: 25px;
|
||||
}
|
||||
}
|
||||
|
||||
/* ----Tracking Status List Stuff---- */
|
||||
.list[data-v-5776f768] {
|
||||
color: @mantle !important;
|
||||
}
|
||||
.media-card .list-status[status="Repeating"] {
|
||||
background: @pink;
|
||||
}
|
||||
.banner .el-icon-arrow-down::before {
|
||||
color: @text !important;
|
||||
}
|
||||
.el-textarea__inner::placeholder {
|
||||
color: @overlay1;
|
||||
}
|
||||
.el-dropdown-menu,
|
||||
.el-dropdown-menu__item--divided::before,
|
||||
.el-select-dropdown {
|
||||
background-color: @surface0 !important;
|
||||
}
|
||||
.el-popper[x-placement^="bottom"] .popper__arrow::after,
|
||||
.el-popper[x-placement^="bottom"] .popper__arrow,
|
||||
.el-tooltip__popper[x-placement^="bottom"] .popper__arrow::after,
|
||||
.el-tooltip__popper[x-placement^="bottom"] .popper__arrow {
|
||||
border-bottom-color: @surface0;
|
||||
}
|
||||
.el-popper[x-placement^="top"] .popper__arrow::after,
|
||||
.el-popper[x-placement^="top"] .popper__arrow,
|
||||
.el-tooltip__popper[x-placement^="top"] .popper__arrow,
|
||||
.el-tooltip__popper[x-placement^="top"] .popper__arrow::after {
|
||||
border-top-color: @surface0;
|
||||
}
|
||||
.el-dropdown .feed-filter {
|
||||
color: @overlay0;
|
||||
}
|
||||
.el-dropdown-menu {
|
||||
border-color: @text !important;
|
||||
}
|
||||
.el-dropdown-menu__item--divided when not(@lookup = latte) {
|
||||
border-top-color: @surface1;
|
||||
}
|
||||
.el-select-dropdown__item.hover,
|
||||
.el-select-dropdown__item:hover {
|
||||
background-color: @base;
|
||||
}
|
||||
.el-select-dropdown__item.selected {
|
||||
color: @accent-color;
|
||||
}
|
||||
.el-tooltip__popper.is-dark {
|
||||
background: @surface0;
|
||||
color: @text;
|
||||
}
|
||||
.tooltip > div {
|
||||
--color-white: #rgbify(@text)[];
|
||||
}
|
||||
.dropdown {
|
||||
--color-gray-100: #rgbify(@base)[];
|
||||
--color-background-100: #rgbify(@base)[];
|
||||
--color-background-200: #rgbify(@mantle)[];
|
||||
}
|
||||
.medialist .notes {
|
||||
--color-overlay: #rgbify(@surface0)[];
|
||||
}
|
||||
.el-input__inner::placeholder,
|
||||
.el-input__prefix {
|
||||
color: @overlay1;
|
||||
}
|
||||
.el-picker-panel {
|
||||
color: @text;
|
||||
background-color: @surface0;
|
||||
border-color: @surface1;
|
||||
}
|
||||
.el-date-table th {
|
||||
color: @overlay1;
|
||||
border-bottom-color: @surface1;
|
||||
}
|
||||
.el-date-picker__header-label {
|
||||
color: @subtext0;
|
||||
|
||||
&:hover {
|
||||
color: @accent-color;
|
||||
}
|
||||
}
|
||||
.el-picker-panel__icon-btn {
|
||||
color: @overlay1;
|
||||
|
||||
&:hover {
|
||||
color: @accent-color;
|
||||
}
|
||||
}
|
||||
.el-date-table td.available:hover {
|
||||
color: @accent-color;
|
||||
}
|
||||
.el-date-table td.current:not(.disabled) span {
|
||||
color: @crust;
|
||||
background-color: @accent-color;
|
||||
}
|
||||
.el-date-table td.next-month,
|
||||
.el-date-table td.prev-month {
|
||||
color: @surface2;
|
||||
}
|
||||
|
||||
/* ---------SCORE TWEAKS-------------- */
|
||||
.score[data-v-5ca094da] {
|
||||
color: @base;
|
||||
}
|
||||
|
||||
/* --------------FOOTER--------------- */
|
||||
.footer[data-v-0f519cab] {
|
||||
background: @text;
|
||||
color: @crust;
|
||||
|
||||
h2 {
|
||||
color: rgb(var(--color-blue));
|
||||
}
|
||||
|
||||
& when (@lookup = latte) {
|
||||
--color-blue: #rgbify(lighten(@accent-color, 30%))[];
|
||||
}
|
||||
|
||||
& when not(@lookup = latte) {
|
||||
background: @mantle;
|
||||
color: @subtext0;
|
||||
}
|
||||
}
|
||||
|
||||
/* ------------------SEARCH PAGES------------------ */
|
||||
.search,
|
||||
.expand-description,
|
||||
.studio {
|
||||
--color-background-200: #rgbify(@crust)[];
|
||||
}
|
||||
.search-wrap,
|
||||
.filters,
|
||||
.extra-filters-wrap,
|
||||
.select,
|
||||
.options {
|
||||
--color-background-100: #rgbify(@base)[];
|
||||
}
|
||||
.filter.select-wrap .options {
|
||||
--color-background-100: #rgbify(@mantle)[];
|
||||
}
|
||||
|
||||
/* ------------------MISC EDITS-------------------- */
|
||||
.list-editor-wrap .header::after {
|
||||
background: fade(@mantle, 50%);
|
||||
}
|
||||
.filter.clear-all {
|
||||
--color-background-500: #rgbify(@overlay1)[];
|
||||
}
|
||||
/* --Reset button in notifications----- */
|
||||
.reset-btn {
|
||||
color: @base !important;
|
||||
}
|
||||
/* Publish Button in Replies and Messages */
|
||||
.save {
|
||||
color: @base !important;
|
||||
}
|
||||
.el-radio {
|
||||
color: @overlay1;
|
||||
}
|
||||
/* Mod Stuff */
|
||||
.el-color-dropdown__link-btn {
|
||||
color: @accent-color;
|
||||
}
|
||||
.el-color-picker__color {
|
||||
border-color: @surface1;
|
||||
}
|
||||
.el-color-picker__panel {
|
||||
background-color: @surface0;
|
||||
border-color: @surface1;
|
||||
}
|
||||
.el-color-dropdown__btn {
|
||||
border-color: @surface2;
|
||||
color: @subtext1;
|
||||
|
||||
&:hover {
|
||||
background-color: transparent;
|
||||
border-color: @accent-color;
|
||||
color: @accent-color;
|
||||
}
|
||||
}
|
||||
/* Accent Text */
|
||||
.input .hint {
|
||||
--color-white: #rgbify(@text)[];
|
||||
}
|
||||
.el-checkbox__input.is-checked + .el-checkbox__label {
|
||||
color: @accent-color;
|
||||
}
|
||||
.button,
|
||||
.option.active,
|
||||
.new-badge,
|
||||
.submissions .user .stats > div,
|
||||
.actions .icon,
|
||||
.submissions .status,
|
||||
.adult-label,
|
||||
.header .btn,
|
||||
.media-tag-editor .btn,
|
||||
[data-v-843c77a2] .btn,
|
||||
[data-v-22855988] .btn,
|
||||
.btn[data-v-156b3973],
|
||||
.btn[data-v-dceb4a66],
|
||||
.favourite-btn,
|
||||
.dialog .btn,
|
||||
.tag,
|
||||
.filter,
|
||||
.media .header div,
|
||||
.list-editor-wrap .header .save-btn,
|
||||
.actions > div:not(.donator-badge),
|
||||
.banner-content .mod-badge-wrap,
|
||||
.external-link.no-color,
|
||||
.count.circle,
|
||||
.el-dropdown-menu__item,
|
||||
.delete,
|
||||
.list-editor-wrap .list-editor .body .delete-btn,
|
||||
.open-user-search,
|
||||
.save-btn {
|
||||
& when not(@lookup = latte) {
|
||||
--color-white: #rgbify(@crust)[];
|
||||
}
|
||||
}
|
||||
.button.comment,
|
||||
.settings .button,
|
||||
.el-message-box .el-button--primary,
|
||||
.mod-badge-wrap,
|
||||
.medialist.cards .entry-card .edit {
|
||||
& when not(@lookup = latte) {
|
||||
--color-text-bright: #rgbify(@crust)[];
|
||||
}
|
||||
}
|
||||
.submit-btn,
|
||||
.random-btn {
|
||||
& when not(@lookup = latte) {
|
||||
color: @crust;
|
||||
}
|
||||
}
|
||||
.user .notification-dot,
|
||||
.create-btn {
|
||||
& when not(@lookup = latte) {
|
||||
color: @crust !important;
|
||||
}
|
||||
}
|
||||
.el-radio__inner::after {
|
||||
& when not(@lookup = latte) {
|
||||
background-color: @crust;
|
||||
}
|
||||
}
|
||||
.icon,
|
||||
.check {
|
||||
& when not(@lookup = latte) {
|
||||
--color-blue-300: #rgbify(@crust)[];
|
||||
}
|
||||
}
|
||||
.settings .button {
|
||||
& when (@lookup = latte) {
|
||||
--color-text-bright: #rgbify(#fff)[];
|
||||
}
|
||||
}
|
||||
/* ------------IMAGE COVER------------ */
|
||||
.cover .image-text,
|
||||
.plus-progress {
|
||||
color: @text !important;
|
||||
}
|
||||
|
||||
.entry .plus-progress,
|
||||
.medialist.table .entry .edit {
|
||||
color: @base !important;
|
||||
}
|
||||
/* --------SETTINGS-------- */
|
||||
.el-radio__inner when not(@lookup = latte) {
|
||||
background-color: @text;
|
||||
}
|
||||
.el-checkbox__input.is-checked .el-checkbox__inner,
|
||||
.el-radio__input.is-checked .el-radio__inner {
|
||||
background-color: @accent-color;
|
||||
border-color: @accent-color;
|
||||
}
|
||||
.el-checkbox__inner::after {
|
||||
border-color: @crust;
|
||||
border-width: 2px;
|
||||
left: 3px;
|
||||
}
|
||||
.el-radio__input.is-checked + .el-radio__label {
|
||||
color: @accent-color;
|
||||
}
|
||||
/* --------HIDE SCROLLBAR IN BIO----- */
|
||||
.section::-webkit-scrollbar {
|
||||
display: none;
|
||||
}
|
||||
.section {
|
||||
-ms-overflow-style: none;
|
||||
scrollbar-width: none;
|
||||
}
|
||||
/* --------REMOVE DROPDOWN SHADOWS----- */
|
||||
.dropdown.dropdown {
|
||||
box-shadow: none;
|
||||
}
|
||||
/* ---------ANILIST LIKER PLUGIN------ */
|
||||
#AnilistLikerPlugin .btntop {
|
||||
margin-bottom: -4px;
|
||||
margin-top: 5px;
|
||||
}
|
||||
#AnilistLikerPlugin .btnbottom {
|
||||
margin-top: -2px;
|
||||
}
|
||||
/* ---------AUTOMAIL TWEAKS--------- */
|
||||
.hohMediaScore {
|
||||
border-color: @surface0;
|
||||
padding: 4px;
|
||||
border-radius: 10px;
|
||||
margin-left: 0;
|
||||
background-color: @base;
|
||||
color: @accent-color;
|
||||
}
|
||||
.activity-feed .hohNoteSuffix:not(:empty),
|
||||
.activity-feed .hohRewatchSuffix:not(:empty),
|
||||
.activity-feed .hohScore:not(.hohSmiley),
|
||||
.hohFeedScore .hohScore {
|
||||
border-radius: 5px;
|
||||
padding: 2.5px 5px 1px !important;
|
||||
color: @subtext1 !important;
|
||||
background-color: @surface0;
|
||||
|
||||
&:not(:first-of-type) {
|
||||
margin: 3px;
|
||||
}
|
||||
}
|
||||
.activity-feed .hohRewatchSuffix:not(:empty) {
|
||||
padding-left: 2px !important;
|
||||
}
|
||||
.hohExtraFilters button {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
.filter-group.compare-btn,
|
||||
.hohButton {
|
||||
color: @base;
|
||||
}
|
||||
.hohButton,
|
||||
.hohCheckbox input:checked + .el-checkbox__inner {
|
||||
background-color: @accent-color;
|
||||
}
|
||||
.hohCheckbox input:checked + .el-checkbox__inner {
|
||||
border-color: @accent-color;
|
||||
}
|
||||
.medialist.table .entry:hover,
|
||||
.medialist.table .entry .title a:hover,
|
||||
.compare-btn[data-v-170179fc]:hover {
|
||||
color: @base;
|
||||
}
|
||||
.hohCompare table {
|
||||
background-color: @crust;
|
||||
}
|
||||
.hohAnimeTable,
|
||||
.hohAnimeTable td,
|
||||
.hohUserRow td,
|
||||
.hohUserRow th,
|
||||
.hohHeaderRow td,
|
||||
.hohHeaderRow th {
|
||||
border-color: @surface0 !important;
|
||||
}
|
||||
.hohUserRow td {
|
||||
border-top-color: @surface0 !important;
|
||||
}
|
||||
.hohUserRow tr {
|
||||
border-right-color: @surface0 !important;
|
||||
}
|
||||
hr {
|
||||
color: @surface0;
|
||||
}
|
||||
.hohCheckbox
|
||||
input:checked
|
||||
+ .el-checkbox__inner
|
||||
.like-wrap.thread
|
||||
.button.liked
|
||||
.fa-heart,
|
||||
.actions .favourite.liked .fa-heart,
|
||||
.like-wrap.thread .button.isFavourite .fa-heart,
|
||||
.actions .favourite.isFavourite .fa-heart,
|
||||
.actions .favourite {
|
||||
& when not(@lookup = latte) {
|
||||
--color-white: #rgbify(@crust)[];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@-moz-document domain("anichart.net") {
|
||||
body:not(.site-theme-dark) {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
.site-theme-dark {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
}
|
||||
|
||||
#catppuccin(@lookup, @accent) {
|
||||
@rosewater: @catppuccin[@@lookup][@rosewater];
|
||||
@flamingo: @catppuccin[@@lookup][@flamingo];
|
||||
@pink: @catppuccin[@@lookup][@pink];
|
||||
@mauve: @catppuccin[@@lookup][@mauve];
|
||||
@red: @catppuccin[@@lookup][@red];
|
||||
@maroon: @catppuccin[@@lookup][@maroon];
|
||||
@peach: @catppuccin[@@lookup][@peach];
|
||||
@yellow: @catppuccin[@@lookup][@yellow];
|
||||
@green: @catppuccin[@@lookup][@green];
|
||||
@teal: @catppuccin[@@lookup][@teal];
|
||||
@sky: @catppuccin[@@lookup][@sky];
|
||||
@sapphire: @catppuccin[@@lookup][@sapphire];
|
||||
@blue: @catppuccin[@@lookup][@blue];
|
||||
@lavender: @catppuccin[@@lookup][@lavender];
|
||||
@text: @catppuccin[@@lookup][@text];
|
||||
@subtext1: @catppuccin[@@lookup][@subtext1];
|
||||
@subtext0: @catppuccin[@@lookup][@subtext0];
|
||||
@overlay2: @catppuccin[@@lookup][@overlay2];
|
||||
@overlay1: @catppuccin[@@lookup][@overlay1];
|
||||
@overlay0: @catppuccin[@@lookup][@overlay0];
|
||||
@surface2: @catppuccin[@@lookup][@surface2];
|
||||
@surface1: @catppuccin[@@lookup][@surface1];
|
||||
@surface0: @catppuccin[@@lookup][@surface0];
|
||||
@base: @catppuccin[@@lookup][@base];
|
||||
@mantle: @catppuccin[@@lookup][@mantle];
|
||||
@crust: @catppuccin[@@lookup][@crust];
|
||||
@accent-color: @catppuccin[@@lookup][@@accentColor];
|
||||
@contrast-color: @catppuccin[@@lookup][@@contrastColor];
|
||||
|
||||
color-scheme: if(@lookup = latte, light, dark);
|
||||
|
||||
::selection {
|
||||
background-color: fade(@accent-color, 30%);
|
||||
}
|
||||
|
||||
input,
|
||||
textarea {
|
||||
&::placeholder {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
.login[data-v-0d5bfbcd],
|
||||
.login[data-v-0d5bfbcd]:hover {
|
||||
color: @base;
|
||||
}
|
||||
|
||||
[fill="#3db4f2" i] {
|
||||
fill: @accent !important;
|
||||
}
|
||||
|
||||
& when not(@lookup = latte) {
|
||||
.nav {
|
||||
background: @mantle;
|
||||
}
|
||||
|
||||
.external-link {
|
||||
background: @surface1;
|
||||
|
||||
[stroke="#fff" i] {
|
||||
stroke: @text !important;
|
||||
}
|
||||
}
|
||||
|
||||
.external-link .icon,
|
||||
.dropdown-menu:hover {
|
||||
--color-white: #rgbify(@crust)[];
|
||||
}
|
||||
|
||||
[fill="#fff" i] {
|
||||
fill: @crust !important;
|
||||
}
|
||||
}
|
||||
|
||||
& when (@lookup = latte) {
|
||||
--color-overlay: #rgbify(@text)[];
|
||||
|
||||
.external-link {
|
||||
background: @subtext0;
|
||||
}
|
||||
|
||||
.nav {
|
||||
background: @text;
|
||||
}
|
||||
|
||||
a.title {
|
||||
--color-white: #rgbify(@base)[];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#rgbify(@color) {
|
||||
@rgb: red(@color), green(@color), blue(@color);
|
||||
}
|
||||
|
||||
/* deno-fmt-ignore */
|
||||
@catppuccin: {
|
||||
@latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
|
||||
@frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
|
||||
@macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
|
||||
@mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
|
||||
};
|
||||
@@ -1,9 +1,9 @@
|
||||
/* ==UserStyle==
|
||||
@name Arch Wiki Catppuccin
|
||||
@name Arch Wiki Catppuccin [STUB | UPDATE REQUIRED]
|
||||
@namespace github.com/catppuccin/userstyles/styles/arch-wiki
|
||||
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/arch-wiki
|
||||
@version 2024.12.28
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/arch-wiki/catppuccin.user.css
|
||||
@version 2024.12.29
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/arch-wiki/catppuccin.user.less
|
||||
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Aarch-wiki
|
||||
@description Soothing pastel theme for Arch Wiki
|
||||
@author Catppuccin
|
||||
@@ -13,520 +13,4 @@
|
||||
@var select lightFlavor "Light Flavor" ["latte:Latte*", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha"]
|
||||
@var select darkFlavor "Dark Flavor" ["latte:Latte", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha*"]
|
||||
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
|
||||
==/UserStyle== */
|
||||
|
||||
@-moz-document domain('wiki.archlinux.org') {
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
@media (prefers-color-scheme: light) {
|
||||
:root {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
|
||||
#catppuccin(@lookup, @accent) {
|
||||
@rosewater: @catppuccin[@@lookup][@rosewater];
|
||||
@flamingo: @catppuccin[@@lookup][@flamingo];
|
||||
@pink: @catppuccin[@@lookup][@pink];
|
||||
@mauve: @catppuccin[@@lookup][@mauve];
|
||||
@red: @catppuccin[@@lookup][@red];
|
||||
@maroon: @catppuccin[@@lookup][@maroon];
|
||||
@peach: @catppuccin[@@lookup][@peach];
|
||||
@yellow: @catppuccin[@@lookup][@yellow];
|
||||
@green: @catppuccin[@@lookup][@green];
|
||||
@teal: @catppuccin[@@lookup][@teal];
|
||||
@sky: @catppuccin[@@lookup][@sky];
|
||||
@sapphire: @catppuccin[@@lookup][@sapphire];
|
||||
@blue: @catppuccin[@@lookup][@blue];
|
||||
@lavender: @catppuccin[@@lookup][@lavender];
|
||||
@text: @catppuccin[@@lookup][@text];
|
||||
@subtext1: @catppuccin[@@lookup][@subtext1];
|
||||
@subtext0: @catppuccin[@@lookup][@subtext0];
|
||||
@overlay2: @catppuccin[@@lookup][@overlay2];
|
||||
@overlay1: @catppuccin[@@lookup][@overlay1];
|
||||
@overlay0: @catppuccin[@@lookup][@overlay0];
|
||||
@surface2: @catppuccin[@@lookup][@surface2];
|
||||
@surface1: @catppuccin[@@lookup][@surface1];
|
||||
@surface0: @catppuccin[@@lookup][@surface0];
|
||||
@base: @catppuccin[@@lookup][@base];
|
||||
@mantle: @catppuccin[@@lookup][@mantle];
|
||||
@crust: @catppuccin[@@lookup][@crust];
|
||||
@accent-color: @catppuccin[@@lookup][@@accent];
|
||||
|
||||
color-scheme: if(@lookup = latte, light, dark);
|
||||
|
||||
::selection {
|
||||
background-color: fade(@accent-color, 30%);
|
||||
}
|
||||
|
||||
input,
|
||||
textarea {
|
||||
&::placeholder {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
#content table,
|
||||
#content h1,
|
||||
#content h2,
|
||||
#content h3,
|
||||
#content h4,
|
||||
#content h5,
|
||||
#content pre,
|
||||
#content code,
|
||||
#content tt {
|
||||
color: @text !important;
|
||||
}
|
||||
|
||||
body.skin-vector-2022 .vector-sticky-header {
|
||||
color: @text !important;
|
||||
background-color: @mantle !important;
|
||||
border-bottom-color: @blue !important;
|
||||
}
|
||||
|
||||
#vector-main-menu-pinned-container,
|
||||
#vector-page-tools-pinned-container {
|
||||
background-color: @base !important;
|
||||
}
|
||||
|
||||
#ooui-php-191,
|
||||
#preferences .mw-htmlform-submit-buttons {
|
||||
background-color: @mantle !important;
|
||||
}
|
||||
|
||||
.mw-echo-ui-notificationItemWidget-content-message-header,
|
||||
.oo-ui-labelElement-label {
|
||||
color: @text !important;
|
||||
}
|
||||
|
||||
.oo-ui-optionWidget-selected {
|
||||
background-color: @surface2 !important;
|
||||
}
|
||||
|
||||
.oo-ui-buttonElement-framed.oo-ui-widget-disabled
|
||||
> .oo-ui-buttonElement-button {
|
||||
background-color: @surface0 !important;
|
||||
color: @text !important;
|
||||
border-color: @surface2 !important;
|
||||
filter: brightness(0.4);
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
.mw-htmlform-ooui .mw-htmlform-matrix tbody tr:nth-child(even) td {
|
||||
background-color: @surface1 !important;
|
||||
}
|
||||
|
||||
.mw-htmlform-ooui .mw-htmlform-matrix tbody tr:hover td {
|
||||
background-color: @surface2 !important;
|
||||
}
|
||||
|
||||
.mw-htmlform-ooui .mw-htmlform-matrix tbody tr:nth-child(odd) td,
|
||||
.mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled
|
||||
.oo-ui-tagMultiselectWidget-handle,
|
||||
.oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined
|
||||
.oo-ui-tagItemWidget.oo-ui-widget-enabled,
|
||||
.mw-rcfilters-ui-cell.mw-rcfilters-ui-filterTagMultiselectWidget-views-select,
|
||||
.mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend,
|
||||
.oo-ui-popupWidget-popup,
|
||||
.mw-echo-ui-notificationItemWidget,
|
||||
.mw-echo-ui-placeholderItemWidget {
|
||||
background-color: @surface0 !important;
|
||||
}
|
||||
|
||||
.mw-echo-ui-notificationsInboxWidget-toolbarWrapper {
|
||||
background-color: @base !important;
|
||||
}
|
||||
|
||||
#archnavbar {
|
||||
background-color: @mantle !important;
|
||||
border-bottom-color: @blue !important;
|
||||
}
|
||||
.mw-parser-output {
|
||||
background-color: @base !important;
|
||||
}
|
||||
|
||||
.mw-page-container {
|
||||
background-color: @base !important;
|
||||
}
|
||||
|
||||
.vector-header-container {
|
||||
background-color: @base !important;
|
||||
}
|
||||
|
||||
#content,
|
||||
header.mw-header li:not(.new),
|
||||
#mw-panel-toc,
|
||||
#mw-navigation li:not(.new),
|
||||
#mw-panel li:not(.new),
|
||||
#column-one li:not(.new),
|
||||
#footer {
|
||||
a:not([role="button"], .new) {
|
||||
color: @blue !important;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen {
|
||||
html.client-darkmode {
|
||||
background-color: @base;
|
||||
}
|
||||
}
|
||||
|
||||
.vector-feature-zebra-design-disabled,
|
||||
body {
|
||||
background-color: @base;
|
||||
}
|
||||
|
||||
#archnavbarlogo {
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" version="1" width="600" height="126"><path d="M159.568 34.427c-8.89-.014-16.267 1.809-19.12 2.803l-2.937 15.857c-.007.058 14.617-3.9 21.059-3.667 10.665.383 11.646 4.076 11.46 9.06.182.292-2.752-4.503-11.979-4.664-11.64-.2-28.069 4.122-28.046 21.692-.314 19.765 14.764 25.579 25.032 25.686 9.232-.168 13.563-3.496 15.934-5.28 3.115-3.257 6.679-6.532 10.078-10.462-3.216 5.844-6.005 9.884-8.907 12.977v2.611l14.033-2.361.096-38.144c-.143-5.399 3.096-26.057-26.703-26.108m-2.016 33.21c5.817.08 12.488 2.948 12.497 9.849.03 6.277-7.863 9.651-12.996 9.598-5.135-.053-11.949-4.036-11.979-10.155.099-5.47 6.426-9.432 12.478-9.291zm37.972-29.685-.095 63.166 16.348-3.15.027-35.814c.004-5.333 7.62-11.564 17.178-11.464 2.028-3.67 5.84-13.05 6.77-15.183-21.351-.051-21.623 6.137-25.336 9.18-.04-5.806-.013-9.292-.013-9.292zm92.002 8.292c-.158-.074-8.526-9.788-25.35-9.864-15.758-.262-33.433 5.847-33.716 32.27.138 23.232 16.979 32.311 33.805 32.488 18.007.187 25.172-11.26 25.602-11.543-2.149-1.863-10.196-9.837-10.196-9.837s-5.027 7.157-14.779 7.248c-9.755.093-18.234-7.54-18.354-18.189-.125-10.65 7.795-16.419 18.427-16.885 9.205-.002 14.516 5.943 14.516 5.943zm20.606-30.399-15.434 3.628.115 82.277 15.204-2.745.172-38.72c.033-4.06 5.874-10.295 15.626-10.097 9.325.097 11.41 6.215 11.384 6.988l.269 44.824 14.993-2.65.057-47.53c.099-4.574-10.018-14.233-26.28-14.302-7.729.012-12.009 1.762-14.187 3.052-3.726 2.879-7.985 5.637-12.17 9.157 3.869-4.97 7.117-8.407 10.29-10.961z" fill="@{text}" fill-rule="evenodd"/><path d="m360.136 17.218 6.962-1.742.33 82.95-7.074 1.204zm18.928 24.757 6.101-2.716.052 59.478-5.892 1.217zm-1.45-21.448 4.92-4.015 4.086 4.547-4.921 4.121zm19.024 20.365 6.962-1.421.033 12.434c.001.534 3.823-13.89 22.258-13.57 17.9.1 20.827 13.957 20.73 17.064l.221 43.725-6.102 1.324-.035-43.189c.07-1.261-2.79-11.927-15.439-11.966-12.646-.037-21.409 9.186-21.393 15.078l.1 38.047-7.07 1.847zm110.954 58.546-6.962 1.42-.033-12.433c-.001-.534-3.825 13.89-22.258 13.57-17.9-.1-20.827-13.957-20.73-17.064l-.221-43.725 7.397-1.494.114 43.19c.003 1.18 1.416 12.096 14.065 12.135 12.646.037 21.506-7.616 21.569-19.139l-.09-34.076 6.885-1.757zm13.645-59.037-4.882 3.82 18.717 24.494-19.963 28.3 5.179 3.843 18.766-26.28 19.368 26.902 4.791-3.82-20.757-28.765 16.56-23.262-5.092-4.305-15.085 21.525zM61.88 1.778c-5.385 13.203-8.633 21.839-14.629 34.649 3.676 3.896 8.188 8.434 15.516 13.559-7.878-3.242-13.252-6.497-17.267-9.874-7.673 16.011-19.695 38.818-44.09 82.65 19.174-11.068 34.037-17.893 47.889-20.497a35 35 0 0 1-.91-8.213l.023-.614c.304-12.284 6.694-21.73 14.264-21.09 7.57.642 13.454 11.126 13.15 23.41-.058 2.312-.319 4.536-.774 6.598 13.701 2.68 28.405 9.487 47.32 20.407-3.73-6.866-7.059-13.056-10.238-18.95-5.007-3.882-10.23-8.933-20.884-14.402 7.323 1.903 12.566 4.099 16.653 6.552C75.58 35.786 72.963 27.79 61.88 1.778" fill="@{blue}" fill-rule="evenodd"/><path d="M576.771 93.265V80.603h-4.73v-1.695h11.38v1.695h-4.75v12.662zm8.629 0V78.908h2.859l3.398 10.166q.47 1.42.686 2.125.245-.784.764-2.301l3.437-9.99h2.556v14.357h-1.831V81.25l-4.172 12.016h-1.714l-4.152-12.222v12.222h-1.832" font-weight="400" font-size="8.441" font-family="DejaVu Sans Mono" fill="@{subtext1}"/></svg>'
|
||||
);
|
||||
background: url("data:image/svg+xml,@{svg}") !important;
|
||||
background-size: 190px 40px !important;
|
||||
}
|
||||
.cdx-text-input__input:enabled:focus {
|
||||
border-color: @blue;
|
||||
box-shadow: @blue !important;
|
||||
}
|
||||
|
||||
.archwiki-template-box-tip {
|
||||
background-color: fadeout(hsla(90, 90%, 65%, 0.3), 10%) !important;
|
||||
border-color: fadeout(hsla(90, 90%, 75%, 0.3), 10%);
|
||||
color: @subtext1;
|
||||
}
|
||||
|
||||
.archwiki-template-box-note {
|
||||
background-color: fadeout(hsla(208, 100%, 61%, 0.3), 5%) !important;
|
||||
border-color: fadeout(hsla(208, 100%, 81%, 0.3), 5%) !important;
|
||||
color: @subtext1;
|
||||
}
|
||||
|
||||
.archwiki-template-box-warning {
|
||||
background-color: fadeout(hsla(7, 99%, 60%, 0.3), 5%) !important;
|
||||
border-color: fadeout(hsla(7, 99%, 80%, 0.3), 05%) !important;
|
||||
color: @subtext1;
|
||||
}
|
||||
|
||||
.firstHeading {
|
||||
color: @accent-color !important;
|
||||
}
|
||||
|
||||
#content {
|
||||
border-color: @overlay0;
|
||||
}
|
||||
|
||||
#content pre:not([class*="CodeMirror"]),
|
||||
#content code,
|
||||
#content tt {
|
||||
background-color: @surface0;
|
||||
color: @text;
|
||||
border-color: @overlay0;
|
||||
}
|
||||
|
||||
.vector-pinned-container {
|
||||
border-color: @overlay0 !important;
|
||||
}
|
||||
|
||||
.vector-pinnable-header-label {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
.vector-pinnable-header-toggle-button,
|
||||
.vector-pinnable-header-unpin-button {
|
||||
color: @mantle;
|
||||
background-color: @accent-color;
|
||||
border-color: @base;
|
||||
}
|
||||
|
||||
.wikitable {
|
||||
background-color: @base;
|
||||
}
|
||||
|
||||
.wikitable > tr > th,
|
||||
.wikitable > tr > td,
|
||||
.wikitable > * > tr > th,
|
||||
.wikitable > * > tr > td {
|
||||
color: @text;
|
||||
border-color: @crust;
|
||||
}
|
||||
|
||||
.wikitable > tr > th,
|
||||
.wikitable > * > tr > th {
|
||||
background-color: @mantle;
|
||||
color: @text;
|
||||
}
|
||||
|
||||
.pre {
|
||||
color: @mantle;
|
||||
}
|
||||
|
||||
.mw-headline {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
.plainlinks,
|
||||
.archwiki-template-man,
|
||||
.external text {
|
||||
color: multiply(@blue, #555);
|
||||
}
|
||||
|
||||
.cdx-button:enabled.cdx-button--weight-quiet,
|
||||
.cdx-button.cdx-button--fake-button--enabled,
|
||||
.cdx-button.cdx-button--fake-button--enabled.cdx-button--weight-quiet,
|
||||
.diff-context,
|
||||
.oo-ui-dropdownWidget.oo-ui-widget-enabled .oo-ui-dropdownWidget-handle,
|
||||
.oo-ui-checkboxInputWidget [type="checkbox"] + span {
|
||||
background-color: @surface0;
|
||||
color: @text;
|
||||
border-color: @surface2;
|
||||
}
|
||||
|
||||
.vector-feature-zebra-design-disabled,
|
||||
#contentSub:not(:empty) {
|
||||
color: @surface0 !important;
|
||||
}
|
||||
|
||||
.mw-editfont-monospace {
|
||||
background-color: @surface0;
|
||||
color: @text;
|
||||
border-color: @surface1;
|
||||
}
|
||||
|
||||
.diff-deletedline,
|
||||
.mw-message-box-warning {
|
||||
background-color: @yellow;
|
||||
color: @mantle;
|
||||
}
|
||||
|
||||
.diff-addedline {
|
||||
background-color: @sky;
|
||||
color: @mantle;
|
||||
}
|
||||
|
||||
.mw-message-box-error {
|
||||
background-color: @flamingo;
|
||||
border-color: @red;
|
||||
color: @base;
|
||||
}
|
||||
|
||||
.mw-number-text {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
.cdx-checkbox__icon {
|
||||
background-color: @surface0;
|
||||
}
|
||||
|
||||
.oo-ui-checkboxInputWidget.oo-ui-widget-enabled
|
||||
[type="checkbox"]:checked
|
||||
+ span,
|
||||
.cdx-checkbox__input:enabled:checked + .cdx-checkbox__icon,
|
||||
.cdx-button:enabled.cdx-button--weight-primary.cdx-button--action-progressive {
|
||||
background-color: @blue;
|
||||
border-color: @sapphire;
|
||||
color: @mantle !important;
|
||||
}
|
||||
|
||||
.vector-feature-zebra-design-disabled,
|
||||
#vector-toc-pinned-container,
|
||||
.vector-toc::after {
|
||||
background: linear-gradient(rgba(255, 255, 255, 0), @base) !important;
|
||||
}
|
||||
|
||||
#archnavbar ul li.anb-selected a {
|
||||
color: @accent-color !important;
|
||||
}
|
||||
|
||||
.archwiki-template-message {
|
||||
background-color: @base;
|
||||
}
|
||||
|
||||
.catlinks {
|
||||
background-color: @mantle;
|
||||
}
|
||||
|
||||
.mw-parser-output p {
|
||||
color: @text !important;
|
||||
}
|
||||
|
||||
.archwiki-template-meta-related-articles {
|
||||
background-color: @surface0;
|
||||
}
|
||||
|
||||
.archwiki-template-meta-related-articles p {
|
||||
color: @text;
|
||||
border-bottom-color: @blue;
|
||||
}
|
||||
|
||||
.archwiki-template-meta-related-articles ul li a {
|
||||
color: @blue important;
|
||||
}
|
||||
|
||||
.mw-plusminus-neg,
|
||||
a.new {
|
||||
color: @red !important;
|
||||
}
|
||||
|
||||
.mw-plusminus-pos {
|
||||
color: @green;
|
||||
}
|
||||
|
||||
.mw-plusminus-null {
|
||||
color: @subtext0;
|
||||
}
|
||||
|
||||
.oo-ui-textInputWidget .oo-ui-inputWidget-input,
|
||||
.mw-widget-dateInputWidget-handle,
|
||||
.oo-ui-buttonElement-framed.oo-ui-widget-enabled
|
||||
> .oo-ui-buttonElement-button,
|
||||
#pagehistory li.selected {
|
||||
background-color: @surface0 !important;
|
||||
color: @text !important;
|
||||
border-color: @surface2 !important;
|
||||
}
|
||||
|
||||
.oo-ui-menuSelectWidget {
|
||||
background-color: @surface0;
|
||||
border-color: @surface2;
|
||||
}
|
||||
|
||||
.oo-ui-OptionWidget-highlighted {
|
||||
background-color: @overlay0 !important;
|
||||
}
|
||||
|
||||
.oo-ui-menuOptionWidget.oo-ui-widget-enabled.oo-ui-optionWidget,
|
||||
.minoredit,
|
||||
.comment {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
.mw-footer-container {
|
||||
color: @text !important;
|
||||
}
|
||||
|
||||
#archnavbarlist li a {
|
||||
color: @blue !important;
|
||||
}
|
||||
|
||||
.anb-selected {
|
||||
color: @subtext1 !important;
|
||||
}
|
||||
|
||||
.mw-footer li {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
.vector-main-menu,
|
||||
.vector-pinnable-element {
|
||||
background-color: @base !important;
|
||||
}
|
||||
|
||||
#p-navigation ul li a {
|
||||
color: @blue !important;
|
||||
}
|
||||
|
||||
.archwiki-template-box-note a {
|
||||
color: @blue !important;
|
||||
}
|
||||
|
||||
.archwiki-template-box-note a:visited {
|
||||
color: @mauve !important;
|
||||
}
|
||||
|
||||
.mw-page-title-main {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
.vector-tab-noicon mw-list-item a {
|
||||
color: @blue;
|
||||
}
|
||||
|
||||
.mw-header {
|
||||
background-color: @base !important;
|
||||
color: @text;
|
||||
}
|
||||
|
||||
.mw-footer li a {
|
||||
color: @blue;
|
||||
}
|
||||
|
||||
.cdx-text-input__input:enabled {
|
||||
background-color: @surface0 !important;
|
||||
color: @text !important;
|
||||
border-color: @surface1;
|
||||
}
|
||||
|
||||
.cdx-button:enabled,
|
||||
.cdx-button.cdxbutton--fake-button--enabled {
|
||||
color: @mantle;
|
||||
background-color: @accent-color;
|
||||
border-color: @base;
|
||||
}
|
||||
|
||||
.cdx-menu {
|
||||
background-color: @surface0;
|
||||
}
|
||||
|
||||
.cdx-menu:hover {
|
||||
background-color: @base !important;
|
||||
}
|
||||
|
||||
.anb-home {
|
||||
color: @text !important;
|
||||
}
|
||||
|
||||
.vector-dropdown-content {
|
||||
background-color: @base !important;
|
||||
}
|
||||
|
||||
.mw-headline::before {
|
||||
color: @accent-color !important;
|
||||
}
|
||||
|
||||
.cdx-button {
|
||||
background-color: @base !important;
|
||||
color: @text !important;
|
||||
border-color: @base !important;
|
||||
}
|
||||
|
||||
.mw-body {
|
||||
background-color: @base !important;
|
||||
color: @text !important;
|
||||
border-color: @base !important;
|
||||
}
|
||||
|
||||
.mw-search-profile-tabs {
|
||||
background-color: @base !important;
|
||||
color: @text !important;
|
||||
border-color: @base !important;
|
||||
}
|
||||
|
||||
.mw-content-ltr {
|
||||
background-color: @base !important;
|
||||
}
|
||||
|
||||
.vector-sticky-pinned-container::after {
|
||||
background: @base !important;
|
||||
}
|
||||
|
||||
.cdx-search-input {
|
||||
border-color: @mantle !important;
|
||||
}
|
||||
|
||||
.oo-ui-widget:hover {
|
||||
background-color: @surface0 !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* prettier-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; };
|
||||
}
|
||||
|
||||
// vim:ft=less
|
||||
==/UserStyle== */
|
||||
@@ -0,0 +1,530 @@
|
||||
/* ==UserStyle==
|
||||
@name Arch Wiki Catppuccin
|
||||
@namespace github.com/catppuccin/userstyles/styles/arch-wiki
|
||||
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/arch-wiki
|
||||
@version 2024.12.29.1
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/arch-wiki/catppuccin.user.less
|
||||
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Aarch-wiki
|
||||
@description Soothing pastel theme for Arch Wiki
|
||||
@author Catppuccin
|
||||
@license MIT
|
||||
|
||||
@preprocessor less
|
||||
@var select lightFlavor "Light Flavor" ["latte:Latte*", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha"]
|
||||
@var select darkFlavor "Dark Flavor" ["latte:Latte", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha*"]
|
||||
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
|
||||
==/UserStyle== */
|
||||
|
||||
@-moz-document domain("wiki.archlinux.org") {
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
@media (prefers-color-scheme: light) {
|
||||
:root {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
|
||||
#catppuccin(@lookup, @accent) {
|
||||
@rosewater: @catppuccin[@@lookup][@rosewater];
|
||||
@flamingo: @catppuccin[@@lookup][@flamingo];
|
||||
@pink: @catppuccin[@@lookup][@pink];
|
||||
@mauve: @catppuccin[@@lookup][@mauve];
|
||||
@red: @catppuccin[@@lookup][@red];
|
||||
@maroon: @catppuccin[@@lookup][@maroon];
|
||||
@peach: @catppuccin[@@lookup][@peach];
|
||||
@yellow: @catppuccin[@@lookup][@yellow];
|
||||
@green: @catppuccin[@@lookup][@green];
|
||||
@teal: @catppuccin[@@lookup][@teal];
|
||||
@sky: @catppuccin[@@lookup][@sky];
|
||||
@sapphire: @catppuccin[@@lookup][@sapphire];
|
||||
@blue: @catppuccin[@@lookup][@blue];
|
||||
@lavender: @catppuccin[@@lookup][@lavender];
|
||||
@text: @catppuccin[@@lookup][@text];
|
||||
@subtext1: @catppuccin[@@lookup][@subtext1];
|
||||
@subtext0: @catppuccin[@@lookup][@subtext0];
|
||||
@overlay2: @catppuccin[@@lookup][@overlay2];
|
||||
@overlay1: @catppuccin[@@lookup][@overlay1];
|
||||
@overlay0: @catppuccin[@@lookup][@overlay0];
|
||||
@surface2: @catppuccin[@@lookup][@surface2];
|
||||
@surface1: @catppuccin[@@lookup][@surface1];
|
||||
@surface0: @catppuccin[@@lookup][@surface0];
|
||||
@base: @catppuccin[@@lookup][@base];
|
||||
@mantle: @catppuccin[@@lookup][@mantle];
|
||||
@crust: @catppuccin[@@lookup][@crust];
|
||||
@accent-color: @catppuccin[@@lookup][@@accent];
|
||||
|
||||
color-scheme: if(@lookup = latte, light, dark);
|
||||
|
||||
::selection {
|
||||
background-color: fade(@accent-color, 30%);
|
||||
}
|
||||
|
||||
input,
|
||||
textarea {
|
||||
&::placeholder {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
#content table,
|
||||
#content h1,
|
||||
#content h2,
|
||||
#content h3,
|
||||
#content h4,
|
||||
#content h5,
|
||||
#content pre,
|
||||
#content code,
|
||||
#content tt {
|
||||
color: @text !important;
|
||||
}
|
||||
|
||||
body.skin-vector-2022 .vector-sticky-header {
|
||||
color: @text !important;
|
||||
background-color: @mantle !important;
|
||||
border-bottom-color: @blue !important;
|
||||
}
|
||||
|
||||
#vector-main-menu-pinned-container,
|
||||
#vector-page-tools-pinned-container {
|
||||
background-color: @base !important;
|
||||
}
|
||||
|
||||
#ooui-php-191,
|
||||
#preferences .mw-htmlform-submit-buttons {
|
||||
background-color: @mantle !important;
|
||||
}
|
||||
|
||||
.mw-echo-ui-notificationItemWidget-content-message-header,
|
||||
.oo-ui-labelElement-label {
|
||||
color: @text !important;
|
||||
}
|
||||
|
||||
.oo-ui-optionWidget-selected {
|
||||
background-color: @surface2 !important;
|
||||
}
|
||||
|
||||
.oo-ui-buttonElement-framed.oo-ui-widget-disabled
|
||||
> .oo-ui-buttonElement-button {
|
||||
background-color: @surface0 !important;
|
||||
color: @text !important;
|
||||
border-color: @surface2 !important;
|
||||
filter: brightness(0.4);
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
.mw-htmlform-ooui .mw-htmlform-matrix tbody tr:nth-child(even) td {
|
||||
background-color: @surface1 !important;
|
||||
}
|
||||
|
||||
.mw-htmlform-ooui .mw-htmlform-matrix tbody tr:hover td {
|
||||
background-color: @surface2 !important;
|
||||
}
|
||||
|
||||
.mw-htmlform-ooui .mw-htmlform-matrix tbody tr:nth-child(odd) td,
|
||||
.mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled
|
||||
.oo-ui-tagMultiselectWidget-handle,
|
||||
.oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined
|
||||
.oo-ui-tagItemWidget.oo-ui-widget-enabled,
|
||||
.mw-rcfilters-ui-cell.mw-rcfilters-ui-filterTagMultiselectWidget-views-select,
|
||||
.mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend,
|
||||
.oo-ui-popupWidget-popup,
|
||||
.mw-echo-ui-notificationItemWidget,
|
||||
.mw-echo-ui-placeholderItemWidget {
|
||||
background-color: @surface0 !important;
|
||||
}
|
||||
|
||||
.mw-echo-ui-notificationsInboxWidget-toolbarWrapper {
|
||||
background-color: @base !important;
|
||||
}
|
||||
|
||||
#archnavbar {
|
||||
background-color: @mantle !important;
|
||||
border-bottom-color: @blue !important;
|
||||
}
|
||||
.mw-parser-output {
|
||||
background-color: @base !important;
|
||||
}
|
||||
|
||||
.mw-page-container {
|
||||
background-color: @base !important;
|
||||
}
|
||||
|
||||
.vector-header-container {
|
||||
background-color: @base !important;
|
||||
}
|
||||
|
||||
#content,
|
||||
header.mw-header li:not(.new),
|
||||
#mw-panel-toc,
|
||||
#mw-navigation li:not(.new),
|
||||
#mw-panel li:not(.new),
|
||||
#column-one li:not(.new),
|
||||
#footer {
|
||||
a:not([role="button"], .new) {
|
||||
color: @blue !important;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen {
|
||||
html.client-darkmode {
|
||||
background-color: @base;
|
||||
}
|
||||
}
|
||||
|
||||
.vector-feature-zebra-design-disabled,
|
||||
body {
|
||||
background-color: @base;
|
||||
}
|
||||
|
||||
#archnavbarlogo {
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" version="1" width="600" height="126"><path d="M159.568 34.427c-8.89-.014-16.267 1.809-19.12 2.803l-2.937 15.857c-.007.058 14.617-3.9 21.059-3.667 10.665.383 11.646 4.076 11.46 9.06.182.292-2.752-4.503-11.979-4.664-11.64-.2-28.069 4.122-28.046 21.692-.314 19.765 14.764 25.579 25.032 25.686 9.232-.168 13.563-3.496 15.934-5.28 3.115-3.257 6.679-6.532 10.078-10.462-3.216 5.844-6.005 9.884-8.907 12.977v2.611l14.033-2.361.096-38.144c-.143-5.399 3.096-26.057-26.703-26.108m-2.016 33.21c5.817.08 12.488 2.948 12.497 9.849.03 6.277-7.863 9.651-12.996 9.598-5.135-.053-11.949-4.036-11.979-10.155.099-5.47 6.426-9.432 12.478-9.291zm37.972-29.685-.095 63.166 16.348-3.15.027-35.814c.004-5.333 7.62-11.564 17.178-11.464 2.028-3.67 5.84-13.05 6.77-15.183-21.351-.051-21.623 6.137-25.336 9.18-.04-5.806-.013-9.292-.013-9.292zm92.002 8.292c-.158-.074-8.526-9.788-25.35-9.864-15.758-.262-33.433 5.847-33.716 32.27.138 23.232 16.979 32.311 33.805 32.488 18.007.187 25.172-11.26 25.602-11.543-2.149-1.863-10.196-9.837-10.196-9.837s-5.027 7.157-14.779 7.248c-9.755.093-18.234-7.54-18.354-18.189-.125-10.65 7.795-16.419 18.427-16.885 9.205-.002 14.516 5.943 14.516 5.943zm20.606-30.399-15.434 3.628.115 82.277 15.204-2.745.172-38.72c.033-4.06 5.874-10.295 15.626-10.097 9.325.097 11.41 6.215 11.384 6.988l.269 44.824 14.993-2.65.057-47.53c.099-4.574-10.018-14.233-26.28-14.302-7.729.012-12.009 1.762-14.187 3.052-3.726 2.879-7.985 5.637-12.17 9.157 3.869-4.97 7.117-8.407 10.29-10.961z" fill="@{text}" fill-rule="evenodd"/><path d="m360.136 17.218 6.962-1.742.33 82.95-7.074 1.204zm18.928 24.757 6.101-2.716.052 59.478-5.892 1.217zm-1.45-21.448 4.92-4.015 4.086 4.547-4.921 4.121zm19.024 20.365 6.962-1.421.033 12.434c.001.534 3.823-13.89 22.258-13.57 17.9.1 20.827 13.957 20.73 17.064l.221 43.725-6.102 1.324-.035-43.189c.07-1.261-2.79-11.927-15.439-11.966-12.646-.037-21.409 9.186-21.393 15.078l.1 38.047-7.07 1.847zm110.954 58.546-6.962 1.42-.033-12.433c-.001-.534-3.825 13.89-22.258 13.57-17.9-.1-20.827-13.957-20.73-17.064l-.221-43.725 7.397-1.494.114 43.19c.003 1.18 1.416 12.096 14.065 12.135 12.646.037 21.506-7.616 21.569-19.139l-.09-34.076 6.885-1.757zm13.645-59.037-4.882 3.82 18.717 24.494-19.963 28.3 5.179 3.843 18.766-26.28 19.368 26.902 4.791-3.82-20.757-28.765 16.56-23.262-5.092-4.305-15.085 21.525zM61.88 1.778c-5.385 13.203-8.633 21.839-14.629 34.649 3.676 3.896 8.188 8.434 15.516 13.559-7.878-3.242-13.252-6.497-17.267-9.874-7.673 16.011-19.695 38.818-44.09 82.65 19.174-11.068 34.037-17.893 47.889-20.497a35 35 0 0 1-.91-8.213l.023-.614c.304-12.284 6.694-21.73 14.264-21.09 7.57.642 13.454 11.126 13.15 23.41-.058 2.312-.319 4.536-.774 6.598 13.701 2.68 28.405 9.487 47.32 20.407-3.73-6.866-7.059-13.056-10.238-18.95-5.007-3.882-10.23-8.933-20.884-14.402 7.323 1.903 12.566 4.099 16.653 6.552C75.58 35.786 72.963 27.79 61.88 1.778" fill="@{blue}" fill-rule="evenodd"/><path d="M576.771 93.265V80.603h-4.73v-1.695h11.38v1.695h-4.75v12.662zm8.629 0V78.908h2.859l3.398 10.166q.47 1.42.686 2.125.245-.784.764-2.301l3.437-9.99h2.556v14.357h-1.831V81.25l-4.172 12.016h-1.714l-4.152-12.222v12.222h-1.832" font-weight="400" font-size="8.441" font-family="DejaVu Sans Mono" fill="@{subtext1}"/></svg>'
|
||||
);
|
||||
background: url("data:image/svg+xml,@{svg}") !important;
|
||||
background-size: 190px 40px !important;
|
||||
}
|
||||
.cdx-text-input__input:enabled:focus {
|
||||
border-color: @blue;
|
||||
box-shadow: @blue !important;
|
||||
}
|
||||
|
||||
.archwiki-template-box-tip {
|
||||
background-color: fadeout(hsla(90, 90%, 65%, 0.3), 10%) !important;
|
||||
border-color: fadeout(hsla(90, 90%, 75%, 0.3), 10%);
|
||||
color: @subtext1;
|
||||
}
|
||||
|
||||
.archwiki-template-box-note {
|
||||
background-color: fadeout(hsla(208, 100%, 61%, 0.3), 5%) !important;
|
||||
border-color: fadeout(hsla(208, 100%, 81%, 0.3), 5%) !important;
|
||||
color: @subtext1;
|
||||
}
|
||||
|
||||
.archwiki-template-box-warning {
|
||||
background-color: fadeout(hsla(7, 99%, 60%, 0.3), 5%) !important;
|
||||
border-color: fadeout(hsla(7, 99%, 80%, 0.3), 05%) !important;
|
||||
color: @subtext1;
|
||||
}
|
||||
|
||||
.firstHeading {
|
||||
color: @accent-color !important;
|
||||
}
|
||||
|
||||
#content {
|
||||
border-color: @overlay0;
|
||||
}
|
||||
|
||||
#content pre:not([class*="CodeMirror"]),
|
||||
#content code,
|
||||
#content tt {
|
||||
background-color: @surface0;
|
||||
color: @text;
|
||||
border-color: @overlay0;
|
||||
}
|
||||
|
||||
.vector-pinned-container {
|
||||
border-color: @overlay0 !important;
|
||||
}
|
||||
|
||||
.vector-pinnable-header-label {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
.vector-pinnable-header-toggle-button,
|
||||
.vector-pinnable-header-unpin-button {
|
||||
color: @mantle;
|
||||
background-color: @accent-color;
|
||||
border-color: @base;
|
||||
}
|
||||
|
||||
.wikitable {
|
||||
background-color: @base;
|
||||
}
|
||||
|
||||
.wikitable > tr > th,
|
||||
.wikitable > tr > td,
|
||||
.wikitable > * > tr > th,
|
||||
.wikitable > * > tr > td {
|
||||
color: @text;
|
||||
border-color: @crust;
|
||||
}
|
||||
|
||||
.wikitable > tr > th,
|
||||
.wikitable > * > tr > th {
|
||||
background-color: @mantle;
|
||||
color: @text;
|
||||
}
|
||||
|
||||
.pre {
|
||||
color: @mantle;
|
||||
}
|
||||
|
||||
.mw-headline {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
.plainlinks,
|
||||
.archwiki-template-man,
|
||||
.external text {
|
||||
color: multiply(@blue, #555);
|
||||
}
|
||||
|
||||
.cdx-button:enabled.cdx-button--weight-quiet,
|
||||
.cdx-button.cdx-button--fake-button--enabled,
|
||||
.cdx-button.cdx-button--fake-button--enabled.cdx-button--weight-quiet,
|
||||
.diff-context,
|
||||
.oo-ui-dropdownWidget.oo-ui-widget-enabled .oo-ui-dropdownWidget-handle,
|
||||
.oo-ui-checkboxInputWidget [type="checkbox"] + span {
|
||||
background-color: @surface0;
|
||||
color: @text;
|
||||
border-color: @surface2;
|
||||
}
|
||||
|
||||
.vector-feature-zebra-design-disabled,
|
||||
#contentSub:not(:empty) {
|
||||
color: @surface0 !important;
|
||||
}
|
||||
|
||||
.mw-editfont-monospace {
|
||||
background-color: @surface0;
|
||||
color: @text;
|
||||
border-color: @surface1;
|
||||
}
|
||||
|
||||
.diff-deletedline,
|
||||
.mw-message-box-warning {
|
||||
background-color: @yellow;
|
||||
color: @mantle;
|
||||
}
|
||||
|
||||
.diff-addedline {
|
||||
background-color: @sky;
|
||||
color: @mantle;
|
||||
}
|
||||
|
||||
.mw-message-box-error {
|
||||
background-color: @flamingo;
|
||||
border-color: @red;
|
||||
color: @base;
|
||||
}
|
||||
|
||||
.mw-number-text {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
.cdx-checkbox__icon {
|
||||
background-color: @surface0;
|
||||
}
|
||||
|
||||
.oo-ui-checkboxInputWidget.oo-ui-widget-enabled
|
||||
[type="checkbox"]:checked
|
||||
+ span,
|
||||
.cdx-checkbox__input:enabled:checked + .cdx-checkbox__icon,
|
||||
.cdx-button:enabled.cdx-button--weight-primary.cdx-button--action-progressive {
|
||||
background-color: @blue;
|
||||
border-color: @sapphire;
|
||||
color: @mantle !important;
|
||||
}
|
||||
|
||||
.vector-feature-zebra-design-disabled,
|
||||
#vector-toc-pinned-container,
|
||||
.vector-toc::after {
|
||||
background: linear-gradient(rgba(255, 255, 255, 0), @base) !important;
|
||||
}
|
||||
|
||||
#archnavbar ul li.anb-selected a {
|
||||
color: @accent-color !important;
|
||||
}
|
||||
|
||||
.archwiki-template-message {
|
||||
background-color: @base;
|
||||
}
|
||||
|
||||
.catlinks {
|
||||
background-color: @mantle;
|
||||
}
|
||||
|
||||
.mw-parser-output p {
|
||||
color: @text !important;
|
||||
}
|
||||
|
||||
.archwiki-template-meta-related-articles {
|
||||
background-color: @surface0;
|
||||
}
|
||||
|
||||
.archwiki-template-meta-related-articles p {
|
||||
color: @text;
|
||||
border-bottom-color: @blue;
|
||||
}
|
||||
|
||||
.archwiki-template-meta-related-articles ul li a {
|
||||
color: @blue important;
|
||||
}
|
||||
|
||||
.mw-plusminus-neg,
|
||||
a.new {
|
||||
color: @red !important;
|
||||
}
|
||||
|
||||
.mw-plusminus-pos {
|
||||
color: @green;
|
||||
}
|
||||
|
||||
.mw-plusminus-null {
|
||||
color: @subtext0;
|
||||
}
|
||||
|
||||
.oo-ui-textInputWidget .oo-ui-inputWidget-input,
|
||||
.mw-widget-dateInputWidget-handle,
|
||||
.oo-ui-buttonElement-framed.oo-ui-widget-enabled
|
||||
> .oo-ui-buttonElement-button,
|
||||
#pagehistory li.selected {
|
||||
background-color: @surface0 !important;
|
||||
color: @text !important;
|
||||
border-color: @surface2 !important;
|
||||
}
|
||||
|
||||
.oo-ui-menuSelectWidget {
|
||||
background-color: @surface0;
|
||||
border-color: @surface2;
|
||||
}
|
||||
|
||||
.oo-ui-OptionWidget-highlighted {
|
||||
background-color: @overlay0 !important;
|
||||
}
|
||||
|
||||
.oo-ui-menuOptionWidget.oo-ui-widget-enabled.oo-ui-optionWidget,
|
||||
.minoredit,
|
||||
.comment {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
.mw-footer-container {
|
||||
color: @text !important;
|
||||
}
|
||||
|
||||
#archnavbarlist li a {
|
||||
color: @blue !important;
|
||||
}
|
||||
|
||||
.anb-selected {
|
||||
color: @subtext1 !important;
|
||||
}
|
||||
|
||||
.mw-footer li {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
.vector-main-menu,
|
||||
.vector-pinnable-element {
|
||||
background-color: @base !important;
|
||||
}
|
||||
|
||||
#p-navigation ul li a {
|
||||
color: @blue !important;
|
||||
}
|
||||
|
||||
.archwiki-template-box-note a {
|
||||
color: @blue !important;
|
||||
}
|
||||
|
||||
.archwiki-template-box-note a:visited {
|
||||
color: @mauve !important;
|
||||
}
|
||||
|
||||
.mw-page-title-main {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
.vector-tab-noicon mw-list-item a {
|
||||
color: @blue;
|
||||
}
|
||||
|
||||
.mw-header {
|
||||
background-color: @base !important;
|
||||
color: @text;
|
||||
}
|
||||
|
||||
.mw-footer li a {
|
||||
color: @blue;
|
||||
}
|
||||
|
||||
.cdx-text-input__input:enabled {
|
||||
background-color: @surface0 !important;
|
||||
color: @text !important;
|
||||
border-color: @surface1;
|
||||
}
|
||||
|
||||
.cdx-button:enabled,
|
||||
.cdx-button.cdxbutton--fake-button--enabled {
|
||||
color: @mantle;
|
||||
background-color: @accent-color;
|
||||
border-color: @base;
|
||||
}
|
||||
|
||||
.cdx-menu {
|
||||
background-color: @surface0;
|
||||
}
|
||||
|
||||
.cdx-menu:hover {
|
||||
background-color: @base !important;
|
||||
}
|
||||
|
||||
.anb-home {
|
||||
color: @text !important;
|
||||
}
|
||||
|
||||
.vector-dropdown-content {
|
||||
background-color: @base !important;
|
||||
}
|
||||
|
||||
.mw-headline::before {
|
||||
color: @accent-color !important;
|
||||
}
|
||||
|
||||
.cdx-button {
|
||||
background-color: @base !important;
|
||||
color: @text !important;
|
||||
border-color: @base !important;
|
||||
}
|
||||
|
||||
.mw-body {
|
||||
background-color: @base !important;
|
||||
color: @text !important;
|
||||
border-color: @base !important;
|
||||
}
|
||||
|
||||
.mw-search-profile-tabs {
|
||||
background-color: @base !important;
|
||||
color: @text !important;
|
||||
border-color: @base !important;
|
||||
}
|
||||
|
||||
.mw-content-ltr {
|
||||
background-color: @base !important;
|
||||
}
|
||||
|
||||
.vector-sticky-pinned-container::after {
|
||||
background: @base !important;
|
||||
}
|
||||
|
||||
.cdx-search-input {
|
||||
border-color: @mantle !important;
|
||||
}
|
||||
|
||||
.oo-ui-widget:hover {
|
||||
background-color: @surface0 !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* deno-fmt-ignore */
|
||||
@catppuccin: {
|
||||
@latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
|
||||
@frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
|
||||
@macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
|
||||
@mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
|
||||
};
|
||||
@@ -1,9 +1,9 @@
|
||||
/* ==UserStyle==
|
||||
@name boringproxy Catppuccin
|
||||
@name boringproxy Catppuccin [STUB | UPDATE REQUIRED]
|
||||
@namespace github.com/catppuccin/userstyles/styles/boringproxy
|
||||
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/boringproxy
|
||||
@version 2024.12.28
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/boringproxy/catppuccin.user.css
|
||||
@version 2024.12.29
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/boringproxy/catppuccin.user.less
|
||||
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Aboringproxy
|
||||
@description Soothing pastel theme for boringproxy
|
||||
@author Catppuccin
|
||||
@@ -13,197 +13,4 @@
|
||||
@var select lightFlavor "Light Flavor" ["latte:Latte*", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha"]
|
||||
@var select darkFlavor "Dark Flavor" ["latte:Latte", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha*"]
|
||||
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
|
||||
==/UserStyle== */
|
||||
|
||||
@-moz-document domain("boring.example.com") {
|
||||
@media (prefers-color-scheme: light) {
|
||||
:root {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
|
||||
#catppuccin(@lookup, @accent) {
|
||||
@rosewater: @catppuccin[@@lookup][@rosewater];
|
||||
@flamingo: @catppuccin[@@lookup][@flamingo];
|
||||
@pink: @catppuccin[@@lookup][@pink];
|
||||
@mauve: @catppuccin[@@lookup][@mauve];
|
||||
@red: @catppuccin[@@lookup][@red];
|
||||
@maroon: @catppuccin[@@lookup][@maroon];
|
||||
@peach: @catppuccin[@@lookup][@peach];
|
||||
@yellow: @catppuccin[@@lookup][@yellow];
|
||||
@green: @catppuccin[@@lookup][@green];
|
||||
@teal: @catppuccin[@@lookup][@teal];
|
||||
@sky: @catppuccin[@@lookup][@sky];
|
||||
@sapphire: @catppuccin[@@lookup][@sapphire];
|
||||
@blue: @catppuccin[@@lookup][@blue];
|
||||
@lavender: @catppuccin[@@lookup][@lavender];
|
||||
@text: @catppuccin[@@lookup][@text];
|
||||
@subtext1: @catppuccin[@@lookup][@subtext1];
|
||||
@subtext0: @catppuccin[@@lookup][@subtext0];
|
||||
@overlay2: @catppuccin[@@lookup][@overlay2];
|
||||
@overlay1: @catppuccin[@@lookup][@overlay1];
|
||||
@overlay0: @catppuccin[@@lookup][@overlay0];
|
||||
@surface2: @catppuccin[@@lookup][@surface2];
|
||||
@surface1: @catppuccin[@@lookup][@surface1];
|
||||
@surface0: @catppuccin[@@lookup][@surface0];
|
||||
@base: @catppuccin[@@lookup][@base];
|
||||
@mantle: @catppuccin[@@lookup][@mantle];
|
||||
@crust: @catppuccin[@@lookup][@crust];
|
||||
@accent-color: @catppuccin[@@lookup][@@accent];
|
||||
|
||||
color-scheme: if(@lookup = latte, light, dark);
|
||||
|
||||
::selection {
|
||||
background-color: fade(@accent-color, 30%);
|
||||
}
|
||||
|
||||
input,
|
||||
textarea {
|
||||
&::placeholder {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
body {
|
||||
background: @base;
|
||||
}
|
||||
main {
|
||||
background: @crust;
|
||||
}
|
||||
.content {
|
||||
border-color: @overlay0;
|
||||
}
|
||||
|
||||
//Side Menu
|
||||
.menu {
|
||||
background: @mantle;
|
||||
}
|
||||
.menu-item {
|
||||
background: @crust;
|
||||
}
|
||||
.menu-item:hover {
|
||||
background: @surface2;
|
||||
color: @accent-color;
|
||||
}
|
||||
.menu-item:any-link {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
// Right SIde Button
|
||||
.button {
|
||||
border-color: @accent-color;
|
||||
background-color: @crust;
|
||||
color: @subtext1;
|
||||
}
|
||||
.button:hover {
|
||||
color: @surface0;
|
||||
background-color: @accent-color;
|
||||
border-color: @crust;
|
||||
}
|
||||
|
||||
// Top Headers
|
||||
.list {
|
||||
background-color: @crust;
|
||||
}
|
||||
|
||||
.list-item {
|
||||
color: @accent-color;
|
||||
}
|
||||
// Tunnel Table
|
||||
.tn-tunnel-link {
|
||||
color: @subtext1;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.tn-tunnel-table__cell {
|
||||
color: @text;
|
||||
}
|
||||
body a {
|
||||
color: @text;
|
||||
}
|
||||
body a:visited {
|
||||
color: @accent-color;
|
||||
}
|
||||
|
||||
.tn-attribute__name {
|
||||
color: @text;
|
||||
}
|
||||
.tn-attribute__value {
|
||||
color: @subtext0;
|
||||
}
|
||||
//Tunnel Adding
|
||||
.tunnel-adder h1 {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
.input {
|
||||
color: @text;
|
||||
}
|
||||
.input input {
|
||||
background-color: @crust;
|
||||
color: @subtext0;
|
||||
border-color: @accent-color;
|
||||
}
|
||||
|
||||
.input select {
|
||||
background-color: @crust;
|
||||
color: @subtext0;
|
||||
border-color: @accent-color;
|
||||
}
|
||||
|
||||
// Token Adding
|
||||
.token-adder {
|
||||
color: @text;
|
||||
}
|
||||
.token-adder select {
|
||||
background-color: @crust;
|
||||
color: @subtext0;
|
||||
border-color: @accent-color;
|
||||
}
|
||||
|
||||
// Client Adding
|
||||
.client-adder {
|
||||
color: @text;
|
||||
}
|
||||
.client-adder select {
|
||||
background-color: @crust;
|
||||
color: @subtext0;
|
||||
border-color: @accent-color;
|
||||
}
|
||||
.client-adder input {
|
||||
background-color: @crust;
|
||||
color: @subtext0;
|
||||
border-color: @accent-color;
|
||||
}
|
||||
|
||||
// User Adding
|
||||
.user-adder {
|
||||
color: @text;
|
||||
}
|
||||
.user-adder input {
|
||||
background-color: @crust;
|
||||
color: @subtext0;
|
||||
border-color: @accent-color;
|
||||
}
|
||||
// dialog
|
||||
.dialog__content {
|
||||
background-color: @crust;
|
||||
color: @text;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* prettier-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; };
|
||||
}
|
||||
|
||||
// vim:ft=less
|
||||
==/UserStyle== */
|
||||
@@ -0,0 +1,207 @@
|
||||
/* ==UserStyle==
|
||||
@name boringproxy Catppuccin
|
||||
@namespace github.com/catppuccin/userstyles/styles/boringproxy
|
||||
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/boringproxy
|
||||
@version 2024.12.29.1
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/boringproxy/catppuccin.user.less
|
||||
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Aboringproxy
|
||||
@description Soothing pastel theme for boringproxy
|
||||
@author Catppuccin
|
||||
@license MIT
|
||||
|
||||
@preprocessor less
|
||||
@var select lightFlavor "Light Flavor" ["latte:Latte*", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha"]
|
||||
@var select darkFlavor "Dark Flavor" ["latte:Latte", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha*"]
|
||||
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
|
||||
==/UserStyle== */
|
||||
|
||||
@-moz-document domain("boring.example.com") {
|
||||
@media (prefers-color-scheme: light) {
|
||||
:root {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
|
||||
#catppuccin(@lookup, @accent) {
|
||||
@rosewater: @catppuccin[@@lookup][@rosewater];
|
||||
@flamingo: @catppuccin[@@lookup][@flamingo];
|
||||
@pink: @catppuccin[@@lookup][@pink];
|
||||
@mauve: @catppuccin[@@lookup][@mauve];
|
||||
@red: @catppuccin[@@lookup][@red];
|
||||
@maroon: @catppuccin[@@lookup][@maroon];
|
||||
@peach: @catppuccin[@@lookup][@peach];
|
||||
@yellow: @catppuccin[@@lookup][@yellow];
|
||||
@green: @catppuccin[@@lookup][@green];
|
||||
@teal: @catppuccin[@@lookup][@teal];
|
||||
@sky: @catppuccin[@@lookup][@sky];
|
||||
@sapphire: @catppuccin[@@lookup][@sapphire];
|
||||
@blue: @catppuccin[@@lookup][@blue];
|
||||
@lavender: @catppuccin[@@lookup][@lavender];
|
||||
@text: @catppuccin[@@lookup][@text];
|
||||
@subtext1: @catppuccin[@@lookup][@subtext1];
|
||||
@subtext0: @catppuccin[@@lookup][@subtext0];
|
||||
@overlay2: @catppuccin[@@lookup][@overlay2];
|
||||
@overlay1: @catppuccin[@@lookup][@overlay1];
|
||||
@overlay0: @catppuccin[@@lookup][@overlay0];
|
||||
@surface2: @catppuccin[@@lookup][@surface2];
|
||||
@surface1: @catppuccin[@@lookup][@surface1];
|
||||
@surface0: @catppuccin[@@lookup][@surface0];
|
||||
@base: @catppuccin[@@lookup][@base];
|
||||
@mantle: @catppuccin[@@lookup][@mantle];
|
||||
@crust: @catppuccin[@@lookup][@crust];
|
||||
@accent-color: @catppuccin[@@lookup][@@accent];
|
||||
|
||||
color-scheme: if(@lookup = latte, light, dark);
|
||||
|
||||
::selection {
|
||||
background-color: fade(@accent-color, 30%);
|
||||
}
|
||||
|
||||
input,
|
||||
textarea {
|
||||
&::placeholder {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
body {
|
||||
background: @base;
|
||||
}
|
||||
main {
|
||||
background: @crust;
|
||||
}
|
||||
.content {
|
||||
border-color: @overlay0;
|
||||
}
|
||||
|
||||
//Side Menu
|
||||
.menu {
|
||||
background: @mantle;
|
||||
}
|
||||
.menu-item {
|
||||
background: @crust;
|
||||
}
|
||||
.menu-item:hover {
|
||||
background: @surface2;
|
||||
color: @accent-color;
|
||||
}
|
||||
.menu-item:any-link {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
// Right SIde Button
|
||||
.button {
|
||||
border-color: @accent-color;
|
||||
background-color: @crust;
|
||||
color: @subtext1;
|
||||
}
|
||||
.button:hover {
|
||||
color: @surface0;
|
||||
background-color: @accent-color;
|
||||
border-color: @crust;
|
||||
}
|
||||
|
||||
// Top Headers
|
||||
.list {
|
||||
background-color: @crust;
|
||||
}
|
||||
|
||||
.list-item {
|
||||
color: @accent-color;
|
||||
}
|
||||
// Tunnel Table
|
||||
.tn-tunnel-link {
|
||||
color: @subtext1;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.tn-tunnel-table__cell {
|
||||
color: @text;
|
||||
}
|
||||
body a {
|
||||
color: @text;
|
||||
}
|
||||
body a:visited {
|
||||
color: @accent-color;
|
||||
}
|
||||
|
||||
.tn-attribute__name {
|
||||
color: @text;
|
||||
}
|
||||
.tn-attribute__value {
|
||||
color: @subtext0;
|
||||
}
|
||||
//Tunnel Adding
|
||||
.tunnel-adder h1 {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
.input {
|
||||
color: @text;
|
||||
}
|
||||
.input input {
|
||||
background-color: @crust;
|
||||
color: @subtext0;
|
||||
border-color: @accent-color;
|
||||
}
|
||||
|
||||
.input select {
|
||||
background-color: @crust;
|
||||
color: @subtext0;
|
||||
border-color: @accent-color;
|
||||
}
|
||||
|
||||
// Token Adding
|
||||
.token-adder {
|
||||
color: @text;
|
||||
}
|
||||
.token-adder select {
|
||||
background-color: @crust;
|
||||
color: @subtext0;
|
||||
border-color: @accent-color;
|
||||
}
|
||||
|
||||
// Client Adding
|
||||
.client-adder {
|
||||
color: @text;
|
||||
}
|
||||
.client-adder select {
|
||||
background-color: @crust;
|
||||
color: @subtext0;
|
||||
border-color: @accent-color;
|
||||
}
|
||||
.client-adder input {
|
||||
background-color: @crust;
|
||||
color: @subtext0;
|
||||
border-color: @accent-color;
|
||||
}
|
||||
|
||||
// User Adding
|
||||
.user-adder {
|
||||
color: @text;
|
||||
}
|
||||
.user-adder input {
|
||||
background-color: @crust;
|
||||
color: @subtext0;
|
||||
border-color: @accent-color;
|
||||
}
|
||||
// dialog
|
||||
.dialog__content {
|
||||
background-color: @crust;
|
||||
color: @text;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* 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; };
|
||||
};
|
||||
@@ -1,9 +1,9 @@
|
||||
/* ==UserStyle==
|
||||
@name Brave Search Catppuccin
|
||||
@name Brave Search Catppuccin [STUB | UPDATE REQUIRED]
|
||||
@namespace github.com/catppuccin/userstyles/styles/brave-search
|
||||
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/brave-search
|
||||
@version 2024.12.28
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/brave-search/catppuccin.user.css
|
||||
@version 2024.12.29
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/brave-search/catppuccin.user.less
|
||||
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Abrave-search
|
||||
@description Soothing pastel theme for Brave Search
|
||||
@author Catppuccin
|
||||
@@ -13,201 +13,4 @@
|
||||
@var select lightFlavor "Light Flavor" ["latte:Latte*", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha"]
|
||||
@var select darkFlavor "Dark Flavor" ["latte:Latte", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha*"]
|
||||
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
|
||||
==/UserStyle== */
|
||||
|
||||
@-moz-document domain("search.brave.com") {
|
||||
:root.light {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
:root.dark {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
}
|
||||
:root:not(.light, .dark) {
|
||||
@media (prefers-color-scheme: light) {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
|
||||
#catppuccin(@lookup, @accent) {
|
||||
@rosewater: @catppuccin[@@lookup][@rosewater];
|
||||
@flamingo: @catppuccin[@@lookup][@flamingo];
|
||||
@pink: @catppuccin[@@lookup][@pink];
|
||||
@mauve: @catppuccin[@@lookup][@mauve];
|
||||
@red: @catppuccin[@@lookup][@red];
|
||||
@maroon: @catppuccin[@@lookup][@maroon];
|
||||
@peach: @catppuccin[@@lookup][@peach];
|
||||
@yellow: @catppuccin[@@lookup][@yellow];
|
||||
@green: @catppuccin[@@lookup][@green];
|
||||
@teal: @catppuccin[@@lookup][@teal];
|
||||
@sky: @catppuccin[@@lookup][@sky];
|
||||
@sapphire: @catppuccin[@@lookup][@sapphire];
|
||||
@blue: @catppuccin[@@lookup][@blue];
|
||||
@lavender: @catppuccin[@@lookup][@lavender];
|
||||
@text: @catppuccin[@@lookup][@text];
|
||||
@subtext1: @catppuccin[@@lookup][@subtext1];
|
||||
@subtext0: @catppuccin[@@lookup][@subtext0];
|
||||
@overlay2: @catppuccin[@@lookup][@overlay2];
|
||||
@overlay1: @catppuccin[@@lookup][@overlay1];
|
||||
@overlay0: @catppuccin[@@lookup][@overlay0];
|
||||
@surface2: @catppuccin[@@lookup][@surface2];
|
||||
@surface1: @catppuccin[@@lookup][@surface1];
|
||||
@surface0: @catppuccin[@@lookup][@surface0];
|
||||
@base: @catppuccin[@@lookup][@base];
|
||||
@mantle: @catppuccin[@@lookup][@mantle];
|
||||
@crust: @catppuccin[@@lookup][@crust];
|
||||
@accent-color: @catppuccin[@@lookup][@@accent];
|
||||
|
||||
color-scheme: if(@lookup = latte, light, dark);
|
||||
|
||||
::selection {
|
||||
background-color: fade(@accent-color, 30%);
|
||||
}
|
||||
|
||||
input,
|
||||
textarea {
|
||||
&::placeholder {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
--color-page-background: @base;
|
||||
--color-container-background: @crust;
|
||||
--color-container-highlight: @mantle;
|
||||
--color-serp-header-background: @crust;
|
||||
--color-text-interactive: @accent-color;
|
||||
--color-divider-subtle: @surface0;
|
||||
--color-divider-interactive: @accent-color;
|
||||
--color-text-primary: @text;
|
||||
--color-serp-bar-bg: @mantle;
|
||||
--color-serp-divider-subtle-container: @surface0;
|
||||
--color-gray-30: @subtext0;
|
||||
--color-gray-40: @overlay2;
|
||||
--color-text-secondary: @subtext1;
|
||||
--color-text-tertiary: @subtext0;
|
||||
--color-icon-default: @overlay2;
|
||||
--color-serp-snippet-background: @base;
|
||||
--color-link-default: @blue;
|
||||
--color-link-visited: @mauve;
|
||||
--color-tabs-search-text-default: @accent-color;
|
||||
--color-primary-50: @accent-color;
|
||||
--color-primitive-primary-60: @accent-color;
|
||||
--color-primitive-primary-70: darken(@accent-color, 5%);
|
||||
--color-container-interactive: transparent;
|
||||
--color-button-background: @accent-color;
|
||||
--color-button-disabled: fade(@surface2, 30%);
|
||||
--color-serp-settings-background: @mantle;
|
||||
|
||||
dialog {
|
||||
color: @text;
|
||||
|
||||
&::backdrop {
|
||||
background-color: fade(@crust, 30%);
|
||||
}
|
||||
}
|
||||
|
||||
#searchform::after {
|
||||
outline-color: @surface0;
|
||||
}
|
||||
#searchform-actions::before {
|
||||
background: none !important;
|
||||
}
|
||||
#submit-button {
|
||||
&:hover:not(:disabled) {
|
||||
background: linear-gradient(
|
||||
314deg,
|
||||
@peach 8.49%,
|
||||
@pink 43.72%,
|
||||
@mauve 99.51%
|
||||
);
|
||||
}
|
||||
|
||||
svg {
|
||||
fill: @overlay2;
|
||||
}
|
||||
}
|
||||
#searchbox::placeholder {
|
||||
color: @subtext0;
|
||||
}
|
||||
|
||||
.button.type--filled.theme--default {
|
||||
color: @base;
|
||||
|
||||
&:disabled {
|
||||
color: fade(@text, 50%);
|
||||
}
|
||||
}
|
||||
.button.type--outlined.theme--default:hover {
|
||||
background-color: @accent-color;
|
||||
border-color: @accent-color !important;
|
||||
color: @base !important;
|
||||
}
|
||||
.tab-item.active .icon {
|
||||
fill: @accent-color !important;
|
||||
}
|
||||
.tab-item.active ::after {
|
||||
background: @accent-color !important;
|
||||
}
|
||||
|
||||
.logo-img {
|
||||
@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
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
|
||||
.nav-logo .logo-large {
|
||||
@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>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
|
||||
.nav-logo .logo-small {
|
||||
@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>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
|
||||
.waves-bottom {
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" width="1433" height="200"><g fill="@{surface2}" clip-path="url(#a)"><path d="M1537.5 115.707v.484C984.718-184.723 431.932 226.405-120.854 36.569v-4.062C431.932 223.554 984.718-186.42 1537.5 115.707"/><path d="M1537.5 121.488v.508C984.718-165.002 431.932 260.262-120.854 84.758v-4.166C431.932 257.33 984.718-166.699 1537.5 121.488"/><path d="M1537.5 127.454v.508c-552.782-272.77-1105.568 166.976-1658.354 6.127v-4.246C431.932 291.949 984.718-146.551 1537.5 127.454"/><path d="M1537.5 133.454v.519C984.718-124.234 431.932 330.248-120.854 184.354v-4.327C431.932 327.201 984.718-126 1537.5 133.454"/><path d="M420.794 214C793.026 133.224 1165.25-25.213 1537.5 139.57v.577C1169.9-21.786 802.332 131.539 434.764 214z"/><path d="M558.841 214c326.213-91.162 652.429-203.868 978.659-68.233v.531C1214.58 12.775 891.676 122.584 568.78 214z"/><path d="M665.068 214c290.8-90.643 581.612-175.02 872.432-61.99v.519C1249.41 41.243 961.327 123.669 673.256 214z"/><path d="M755.368 214c260.712-85.45 521.402-149.944 782.132-55.724v.531C1279.18 66.064 1020.88 129.116 762.566 214z"/><path d="M835.948 214c233.842-77.949 467.692-127.557 701.552-49.435v.542C1305.8 88.22 1074.13 136.766 842.455 214z"/></g><defs><clipPath id="a"><path fill="#fff" d="M-32 0h1496v214H-32z"/></clipPath></defs></svg>'
|
||||
);
|
||||
background-image: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
|
||||
.waves-top {
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" width="1433" height="218"><g fill="@{surface2}" clip-path="url(#a)"><path d="M-90.855 51.976v-.7c797.89 434.34 1595.775-159.081 2393.665 114.927v5.863C1504.92-103.691 707.035 488.031-90.854 51.976Z"/><path d="M-90.855 43.631v-.733C707.035 457.15 1504.92-156.674 2302.81 96.664v6.013C1504.92-152.443 707.035 459.599-90.854 43.631Z"/><path d="M-90.855 35.07v-.733c797.89 393.665 1595.775-241.062 2393.665-8.894v6.13C1504.92-202.412 707.035 430.517-90.854 35.07Z"/><path d="M-90.855 26.359v-.75C707.035 398.288 1504.92-257.693 2302.81-47.11v6.246C1504.92-253.296 707.035 400.853-90.854 26.36Z"/><path d="M-90.855 17.515v-.75C707.035 368.174 1504.92-309.376 2302.81-120.697v6.313C1504.92-304.946 707.035 370.772-90.854 17.515Z"/><path d="M-90.855 8.537v-.766C707.035 337.76 1504.92-361.626 2302.81-195.05v6.346C1504.92-357.146 707.035 340.358-90.854 8.537Z"/><path d="M-90.855-.44v-.75C707.035 307.08 1504.92-414.26 2302.81-270.001v6.412C1504.92-409.762 707.035 309.711-90.854-.441Z"/><path d="M-90.855-9.485v-.766C707.035 276.266 1504.92-467.159 2302.81-345.287v6.43C1504.92-462.628 707.035 278.898-90.854-9.485Z"/><path d="M-90.855-18.562v-.783c797.89 264.731 1595.775-500.83 2393.665-401.41v6.446C1504.92-515.645 707.035 248.017-90.854-18.562Z"/><path d="M-90.855-27.657v-.782C707.035 214.489 1504.92-573.191 2302.81-496.14v6.429C1504.92-568.661 707.035 217.137-90.854-27.656Z"/><path d="M-90.855-36.7v-.784C707.035 183.692 1504.92-626.057 2302.81-571.492v6.429C1504.92-621.56 707.035 186.307-90.854-36.701Z"/><path d="M-90.855-45.712v-.716C707.035 153.045 1504.92-678.69 2302.81-646.377v6.362C1504.92-674.193 707.035 155.643-90.854-45.712Z"/><path d="M-90.855-54.64v-.782C707.035 122.63 1504.92-730.874 2302.81-720.697v6.363C1504.92-726.443 707.035 125.129-90.854-54.639Z"/><path d="M-90.855-63.5v-.766C707.035 92.55 1504.92-782.524 2302.81-794.283v6.229C1504.92-778.144 707.035 95.148-90.854-63.5Z"/><path d="M-90.855-72.245v-.733C581.533 41.516 1253.92-576.971 1926.28-794.282H1943C1265.04-583.518 587.102 44.714-90.855-72.245"/><path d="M-90.855-80.806v-.733C529.572 8.137 1150-526.488 1770.44-794.283h11.28C1157.51-529.536 533.344 10.769-90.854-80.806Z"/></g><defs><clipPath id="a"><path fill="#fff" d="M-2-73h1496v291H-2z"/></clipPath></defs></svg>'
|
||||
);
|
||||
background-image: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
|
||||
input[type="radio"]:checked::after {
|
||||
background-color: @accent-color;
|
||||
}
|
||||
|
||||
.feedback-footer {
|
||||
#logo {
|
||||
@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>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
height: 48px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* prettier-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; };
|
||||
}
|
||||
|
||||
// vim:ft=less
|
||||
==/UserStyle== */
|
||||
@@ -0,0 +1,211 @@
|
||||
/* ==UserStyle==
|
||||
@name Brave Search Catppuccin
|
||||
@namespace github.com/catppuccin/userstyles/styles/brave-search
|
||||
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/brave-search
|
||||
@version 2024.12.29.1
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/brave-search/catppuccin.user.less
|
||||
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Abrave-search
|
||||
@description Soothing pastel theme for Brave Search
|
||||
@author Catppuccin
|
||||
@license MIT
|
||||
|
||||
@preprocessor less
|
||||
@var select lightFlavor "Light Flavor" ["latte:Latte*", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha"]
|
||||
@var select darkFlavor "Dark Flavor" ["latte:Latte", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha*"]
|
||||
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
|
||||
==/UserStyle== */
|
||||
|
||||
@-moz-document domain("search.brave.com") {
|
||||
:root.light {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
:root.dark {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
}
|
||||
:root:not(.light, .dark) {
|
||||
@media (prefers-color-scheme: light) {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
|
||||
#catppuccin(@lookup, @accent) {
|
||||
@rosewater: @catppuccin[@@lookup][@rosewater];
|
||||
@flamingo: @catppuccin[@@lookup][@flamingo];
|
||||
@pink: @catppuccin[@@lookup][@pink];
|
||||
@mauve: @catppuccin[@@lookup][@mauve];
|
||||
@red: @catppuccin[@@lookup][@red];
|
||||
@maroon: @catppuccin[@@lookup][@maroon];
|
||||
@peach: @catppuccin[@@lookup][@peach];
|
||||
@yellow: @catppuccin[@@lookup][@yellow];
|
||||
@green: @catppuccin[@@lookup][@green];
|
||||
@teal: @catppuccin[@@lookup][@teal];
|
||||
@sky: @catppuccin[@@lookup][@sky];
|
||||
@sapphire: @catppuccin[@@lookup][@sapphire];
|
||||
@blue: @catppuccin[@@lookup][@blue];
|
||||
@lavender: @catppuccin[@@lookup][@lavender];
|
||||
@text: @catppuccin[@@lookup][@text];
|
||||
@subtext1: @catppuccin[@@lookup][@subtext1];
|
||||
@subtext0: @catppuccin[@@lookup][@subtext0];
|
||||
@overlay2: @catppuccin[@@lookup][@overlay2];
|
||||
@overlay1: @catppuccin[@@lookup][@overlay1];
|
||||
@overlay0: @catppuccin[@@lookup][@overlay0];
|
||||
@surface2: @catppuccin[@@lookup][@surface2];
|
||||
@surface1: @catppuccin[@@lookup][@surface1];
|
||||
@surface0: @catppuccin[@@lookup][@surface0];
|
||||
@base: @catppuccin[@@lookup][@base];
|
||||
@mantle: @catppuccin[@@lookup][@mantle];
|
||||
@crust: @catppuccin[@@lookup][@crust];
|
||||
@accent-color: @catppuccin[@@lookup][@@accent];
|
||||
|
||||
color-scheme: if(@lookup = latte, light, dark);
|
||||
|
||||
::selection {
|
||||
background-color: fade(@accent-color, 30%);
|
||||
}
|
||||
|
||||
input,
|
||||
textarea {
|
||||
&::placeholder {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
--color-page-background: @base;
|
||||
--color-container-background: @crust;
|
||||
--color-container-highlight: @mantle;
|
||||
--color-serp-header-background: @crust;
|
||||
--color-text-interactive: @accent-color;
|
||||
--color-divider-subtle: @surface0;
|
||||
--color-divider-interactive: @accent-color;
|
||||
--color-text-primary: @text;
|
||||
--color-serp-bar-bg: @mantle;
|
||||
--color-serp-divider-subtle-container: @surface0;
|
||||
--color-gray-30: @subtext0;
|
||||
--color-gray-40: @overlay2;
|
||||
--color-text-secondary: @subtext1;
|
||||
--color-text-tertiary: @subtext0;
|
||||
--color-icon-default: @overlay2;
|
||||
--color-serp-snippet-background: @base;
|
||||
--color-link-default: @blue;
|
||||
--color-link-visited: @mauve;
|
||||
--color-tabs-search-text-default: @accent-color;
|
||||
--color-primary-50: @accent-color;
|
||||
--color-primitive-primary-60: @accent-color;
|
||||
--color-primitive-primary-70: darken(@accent-color, 5%);
|
||||
--color-container-interactive: transparent;
|
||||
--color-button-background: @accent-color;
|
||||
--color-button-disabled: fade(@surface2, 30%);
|
||||
--color-serp-settings-background: @mantle;
|
||||
|
||||
dialog {
|
||||
color: @text;
|
||||
|
||||
&::backdrop {
|
||||
background-color: fade(@crust, 30%);
|
||||
}
|
||||
}
|
||||
|
||||
#searchform::after {
|
||||
outline-color: @surface0;
|
||||
}
|
||||
#searchform-actions::before {
|
||||
background: none !important;
|
||||
}
|
||||
#submit-button {
|
||||
&:hover:not(:disabled) {
|
||||
background: linear-gradient(
|
||||
314deg,
|
||||
@peach 8.49%,
|
||||
@pink 43.72%,
|
||||
@mauve 99.51%
|
||||
);
|
||||
}
|
||||
|
||||
svg {
|
||||
fill: @overlay2;
|
||||
}
|
||||
}
|
||||
#searchbox::placeholder {
|
||||
color: @subtext0;
|
||||
}
|
||||
|
||||
.button.type--filled.theme--default {
|
||||
color: @base;
|
||||
|
||||
&:disabled {
|
||||
color: fade(@text, 50%);
|
||||
}
|
||||
}
|
||||
.button.type--outlined.theme--default:hover {
|
||||
background-color: @accent-color;
|
||||
border-color: @accent-color !important;
|
||||
color: @base !important;
|
||||
}
|
||||
.tab-item.active .icon {
|
||||
fill: @accent-color !important;
|
||||
}
|
||||
.tab-item.active ::after {
|
||||
background: @accent-color !important;
|
||||
}
|
||||
|
||||
.logo-img {
|
||||
@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
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
|
||||
.nav-logo .logo-large {
|
||||
@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>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
|
||||
.nav-logo .logo-small {
|
||||
@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>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
|
||||
.waves-bottom {
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" width="1433" height="200"><g fill="@{surface2}" clip-path="url(#a)"><path d="M1537.5 115.707v.484C984.718-184.723 431.932 226.405-120.854 36.569v-4.062C431.932 223.554 984.718-186.42 1537.5 115.707"/><path d="M1537.5 121.488v.508C984.718-165.002 431.932 260.262-120.854 84.758v-4.166C431.932 257.33 984.718-166.699 1537.5 121.488"/><path d="M1537.5 127.454v.508c-552.782-272.77-1105.568 166.976-1658.354 6.127v-4.246C431.932 291.949 984.718-146.551 1537.5 127.454"/><path d="M1537.5 133.454v.519C984.718-124.234 431.932 330.248-120.854 184.354v-4.327C431.932 327.201 984.718-126 1537.5 133.454"/><path d="M420.794 214C793.026 133.224 1165.25-25.213 1537.5 139.57v.577C1169.9-21.786 802.332 131.539 434.764 214z"/><path d="M558.841 214c326.213-91.162 652.429-203.868 978.659-68.233v.531C1214.58 12.775 891.676 122.584 568.78 214z"/><path d="M665.068 214c290.8-90.643 581.612-175.02 872.432-61.99v.519C1249.41 41.243 961.327 123.669 673.256 214z"/><path d="M755.368 214c260.712-85.45 521.402-149.944 782.132-55.724v.531C1279.18 66.064 1020.88 129.116 762.566 214z"/><path d="M835.948 214c233.842-77.949 467.692-127.557 701.552-49.435v.542C1305.8 88.22 1074.13 136.766 842.455 214z"/></g><defs><clipPath id="a"><path fill="#fff" d="M-32 0h1496v214H-32z"/></clipPath></defs></svg>'
|
||||
);
|
||||
background-image: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
|
||||
.waves-top {
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" width="1433" height="218"><g fill="@{surface2}" clip-path="url(#a)"><path d="M-90.855 51.976v-.7c797.89 434.34 1595.775-159.081 2393.665 114.927v5.863C1504.92-103.691 707.035 488.031-90.854 51.976Z"/><path d="M-90.855 43.631v-.733C707.035 457.15 1504.92-156.674 2302.81 96.664v6.013C1504.92-152.443 707.035 459.599-90.854 43.631Z"/><path d="M-90.855 35.07v-.733c797.89 393.665 1595.775-241.062 2393.665-8.894v6.13C1504.92-202.412 707.035 430.517-90.854 35.07Z"/><path d="M-90.855 26.359v-.75C707.035 398.288 1504.92-257.693 2302.81-47.11v6.246C1504.92-253.296 707.035 400.853-90.854 26.36Z"/><path d="M-90.855 17.515v-.75C707.035 368.174 1504.92-309.376 2302.81-120.697v6.313C1504.92-304.946 707.035 370.772-90.854 17.515Z"/><path d="M-90.855 8.537v-.766C707.035 337.76 1504.92-361.626 2302.81-195.05v6.346C1504.92-357.146 707.035 340.358-90.854 8.537Z"/><path d="M-90.855-.44v-.75C707.035 307.08 1504.92-414.26 2302.81-270.001v6.412C1504.92-409.762 707.035 309.711-90.854-.441Z"/><path d="M-90.855-9.485v-.766C707.035 276.266 1504.92-467.159 2302.81-345.287v6.43C1504.92-462.628 707.035 278.898-90.854-9.485Z"/><path d="M-90.855-18.562v-.783c797.89 264.731 1595.775-500.83 2393.665-401.41v6.446C1504.92-515.645 707.035 248.017-90.854-18.562Z"/><path d="M-90.855-27.657v-.782C707.035 214.489 1504.92-573.191 2302.81-496.14v6.429C1504.92-568.661 707.035 217.137-90.854-27.656Z"/><path d="M-90.855-36.7v-.784C707.035 183.692 1504.92-626.057 2302.81-571.492v6.429C1504.92-621.56 707.035 186.307-90.854-36.701Z"/><path d="M-90.855-45.712v-.716C707.035 153.045 1504.92-678.69 2302.81-646.377v6.362C1504.92-674.193 707.035 155.643-90.854-45.712Z"/><path d="M-90.855-54.64v-.782C707.035 122.63 1504.92-730.874 2302.81-720.697v6.363C1504.92-726.443 707.035 125.129-90.854-54.639Z"/><path d="M-90.855-63.5v-.766C707.035 92.55 1504.92-782.524 2302.81-794.283v6.229C1504.92-778.144 707.035 95.148-90.854-63.5Z"/><path d="M-90.855-72.245v-.733C581.533 41.516 1253.92-576.971 1926.28-794.282H1943C1265.04-583.518 587.102 44.714-90.855-72.245"/><path d="M-90.855-80.806v-.733C529.572 8.137 1150-526.488 1770.44-794.283h11.28C1157.51-529.536 533.344 10.769-90.854-80.806Z"/></g><defs><clipPath id="a"><path fill="#fff" d="M-2-73h1496v291H-2z"/></clipPath></defs></svg>'
|
||||
);
|
||||
background-image: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
|
||||
input[type="radio"]:checked::after {
|
||||
background-color: @accent-color;
|
||||
}
|
||||
|
||||
.feedback-footer {
|
||||
#logo {
|
||||
@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>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
height: 48px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* 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; };
|
||||
};
|
||||
@@ -1,9 +1,9 @@
|
||||
/* ==UserStyle==
|
||||
@name Bluesky Social Catppuccin
|
||||
@name Bluesky Social Catppuccin [STUB | UPDATE REQUIRED]
|
||||
@namespace github.com/catppuccin/userstyles/styles/bsky
|
||||
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/bsky
|
||||
@version 2024.12.28
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/bsky/catppuccin.user.css
|
||||
@version 2024.12.29
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/bsky/catppuccin.user.less
|
||||
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Absky
|
||||
@description Soothing pastel theme for Bluesky Social
|
||||
@author Catppuccin
|
||||
@@ -13,606 +13,4 @@
|
||||
@var select lightFlavor "Light Flavor" ["latte:Latte*", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha"]
|
||||
@var select darkFlavor "Dark Flavor" ["latte:Latte", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha*"]
|
||||
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
|
||||
==/UserStyle== */
|
||||
|
||||
@-moz-document domain('bsky.app') {
|
||||
@media (prefers-color-scheme: light) {
|
||||
html.colorMode--system {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
html.colorMode--system {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
|
||||
html.theme--light {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
html.theme--dim,
|
||||
html.theme--dark {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
}
|
||||
|
||||
#catppuccin(@lookup, @accent) {
|
||||
@rosewater: @catppuccin[@@lookup][@rosewater];
|
||||
@flamingo: @catppuccin[@@lookup][@flamingo];
|
||||
@pink: @catppuccin[@@lookup][@pink];
|
||||
@mauve: @catppuccin[@@lookup][@mauve];
|
||||
@red: @catppuccin[@@lookup][@red];
|
||||
@maroon: @catppuccin[@@lookup][@maroon];
|
||||
@peach: @catppuccin[@@lookup][@peach];
|
||||
@yellow: @catppuccin[@@lookup][@yellow];
|
||||
@green: @catppuccin[@@lookup][@green];
|
||||
@teal: @catppuccin[@@lookup][@teal];
|
||||
@sky: @catppuccin[@@lookup][@sky];
|
||||
@sapphire: @catppuccin[@@lookup][@sapphire];
|
||||
@blue: @catppuccin[@@lookup][@blue];
|
||||
@lavender: @catppuccin[@@lookup][@lavender];
|
||||
@text: @catppuccin[@@lookup][@text];
|
||||
@subtext1: @catppuccin[@@lookup][@subtext1];
|
||||
@subtext0: @catppuccin[@@lookup][@subtext0];
|
||||
@overlay2: @catppuccin[@@lookup][@overlay2];
|
||||
@overlay1: @catppuccin[@@lookup][@overlay1];
|
||||
@overlay0: @catppuccin[@@lookup][@overlay0];
|
||||
@surface2: @catppuccin[@@lookup][@surface2];
|
||||
@surface1: @catppuccin[@@lookup][@surface1];
|
||||
@surface0: @catppuccin[@@lookup][@surface0];
|
||||
@base: @catppuccin[@@lookup][@base];
|
||||
@mantle: @catppuccin[@@lookup][@mantle];
|
||||
@crust: @catppuccin[@@lookup][@crust];
|
||||
@accent-color: @catppuccin[@@lookup][@@accent];
|
||||
|
||||
color-scheme: if(@lookup = latte, light, dark);
|
||||
|
||||
// fix general site background - this applies to the <html> element
|
||||
background-color: @base;
|
||||
|
||||
::selection {
|
||||
background-color: fade(@accent-color, 30%);
|
||||
}
|
||||
|
||||
input,
|
||||
textarea {
|
||||
&::placeholder {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
--text: @text;
|
||||
--background: @base;
|
||||
--backgroundLight: @base;
|
||||
|
||||
/* generic text */
|
||||
[style*="color: rgb(255, 255, 255)"],
|
||||
[style*="color: rgb(241, 243, 245)"]//,
|
||||
/* [style*="color: rgb(11, 15, 20)"] this breas on dark */ {
|
||||
color: @text !important;
|
||||
& when (@lookup = latte) {
|
||||
/* fix button text in latte */
|
||||
color: @base !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* some background color of follow button + hover */
|
||||
[style*="background-color: rgb(241, 243, 245)"] {
|
||||
background-color: if(@lookup = latte, @crust, @text) !important;
|
||||
}
|
||||
|
||||
[style*="color: rgb(11, 15, 20)"] {
|
||||
color: if(@lookup = latte, @text, @crust) !important;
|
||||
}
|
||||
|
||||
/* secondary text */
|
||||
[style*="rgb(169, 183, 197)"],
|
||||
[style*="rgb(140, 158, 178)"],
|
||||
[style*="rgb(84, 110, 138)"],
|
||||
[style*="rgb(66, 87, 108)"] {
|
||||
color: @subtext1 !important;
|
||||
}
|
||||
|
||||
// white bottons on the theme/color mode selection in settings
|
||||
div[style*="background-color: rgb(197, 207, 217)"], // dark
|
||||
div[style*="background-color: rgb(201, 210, 219)"], // dim
|
||||
div[style*="background-color: rgb(46, 63, 81)"] // light
|
||||
{
|
||||
background-color: @text !important;
|
||||
> div {
|
||||
color: @crust !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* generic blue inline (e.g. link text, etc) */
|
||||
[style*="color: rgb(16, 131, 254)"], // dark
|
||||
[style*="color: rgb(32, 139, 254)"] // dim
|
||||
{
|
||||
color: @accent-color !important;
|
||||
}
|
||||
/* generic blue inline underline (links) */
|
||||
[style*="text-decoration-color: rgb(16, 131, 254)"], // dark
|
||||
[style*="text-decoration-color: rgb(32, 139, 254)"] // dim
|
||||
{
|
||||
text-decoration-color: @accent-color !important;
|
||||
}
|
||||
|
||||
/* generic blue inline bg color (e.g. notification count) */
|
||||
[style*="background-color: rgb(16, 131, 254)"], // dark
|
||||
[style*="background-color: rgb(32, 139, 254)"] // dim
|
||||
{
|
||||
background-color: @accent-color !important;
|
||||
|
||||
/* notification count contrast fix, also chat message contrast fix (> div) */
|
||||
&[style*="color: rgb(241, 243, 245)"],
|
||||
&[style*="color: rgb(255, 255, 255)"],
|
||||
> div {
|
||||
color: @crust !important;
|
||||
}
|
||||
|
||||
/* icon color fix */
|
||||
path[fill="#ffffff"],
|
||||
path[fill="hsl(211, 20%, 95.3%)"] {
|
||||
fill: @crust!important;
|
||||
}
|
||||
}
|
||||
|
||||
/* sending/pending/failed direct message */
|
||||
[style*="background-color: rgb(1, 64, 132)"] {
|
||||
background-color: fadeout(@accent-color, 70%) !important;
|
||||
}
|
||||
|
||||
/* blue svg inline */
|
||||
[stroke="hsl(211, 99%, 53%)"],
|
||||
[stroke="#0085ff"] {
|
||||
stroke: @accent-color;
|
||||
}
|
||||
|
||||
[fill="hsl(211, 99%, 53%)"],
|
||||
[fill="hsl(211, 99%, 56%)"],
|
||||
[fill="#0085ff"] {
|
||||
fill: @accent-color;
|
||||
}
|
||||
|
||||
/* a lot of blue things (buttons etc) */
|
||||
.r-wzwllv,
|
||||
div[style*="background-color: rgb(0, 133, 255)"] {
|
||||
background-color: @accent-color !important;
|
||||
|
||||
/* notification count contrast fix, also chat message contrast fix (> div) */
|
||||
&[style*="color: rgb(241, 243, 245)"],
|
||||
> div {
|
||||
color: @crust !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* subscribe to labeler button */
|
||||
button[data-testid="toggleSubscribeBtn"] {
|
||||
> div {
|
||||
background-color: @mauve !important;
|
||||
> div {
|
||||
color: @crust !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* direct message "failed to send" text */
|
||||
span[style*="color: rgb(205, 10, 55)"] {
|
||||
color: @red !important;
|
||||
}
|
||||
|
||||
/* red button text (delete my account) */
|
||||
[style*="color: rgb(251, 162, 178)"] {
|
||||
color: @red !important;
|
||||
}
|
||||
|
||||
/* red button (delete, etc) */
|
||||
button[style*="background-color: rgb(244, 11, 66)"], // dark, light (same color)
|
||||
button[style*="background-color: rgb(246, 60, 103)"], // dark (hover)
|
||||
button[style*="background-color: rgb(245, 41, 88)"], // dim
|
||||
button[style*="background-color: rgb(247, 84, 122)"], // dim (hover)
|
||||
button[style*="background-color: rgb(205, 10, 55)"] // light (hover)
|
||||
{
|
||||
background-color: @red !important;
|
||||
&:hover {
|
||||
background-color: fade(@red, 70%) !important;
|
||||
}
|
||||
// text color
|
||||
> div {
|
||||
color: @crust !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* delete account button */
|
||||
[style^="background-color: rgb(79, 3, 20)"] {
|
||||
background-color: @red !important;
|
||||
}
|
||||
path[fill="#fba2b2"] {
|
||||
fill: @crust;
|
||||
}
|
||||
|
||||
/* generic background color */
|
||||
[style*="background-color: rgb(255, 255, 255)"],
|
||||
[style*="background-color: rgb(0, 0, 0)"],
|
||||
[style*="background-color: rgb(22, 30, 39)"] {
|
||||
background-color: @base !important;
|
||||
|
||||
& when (@lookup = latte) {
|
||||
/* fix button colors in latte */
|
||||
[style*="background-color: rgb(0, 0, 0)"] {
|
||||
background-color: @text !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* secondary background color */
|
||||
[style*="background-color: rgb(20, 25, 31)"], /* dark? */
|
||||
[style*="background-color: rgb(20, 27, 35)"], /* dark */
|
||||
[style*="background-color: rgb(30, 41, 54)"] /* dim */ {
|
||||
background-color: @mantle !important;
|
||||
}
|
||||
|
||||
/* secondary background color when active (e.g. search bar, hovering some buttons like cancel) */
|
||||
[style*="background-color: rgb(28, 39, 50)"], // dark
|
||||
[style*="background-color: rgb(38, 53, 68)"] // dim
|
||||
{
|
||||
background-color: @crust !important;
|
||||
}
|
||||
|
||||
/* some sort of tertiary background color with a slight accent */
|
||||
[style*="background-color: rgb(0, 25, 51)"] {
|
||||
background-color: fadeout(@accent-color, 70%) !important;
|
||||
}
|
||||
|
||||
/* loading circle */
|
||||
circle[style^="stroke: rgb(25, 118, 210)"] {
|
||||
stroke: @accent-color !important;
|
||||
}
|
||||
|
||||
/* wide site: new post button (w text) */
|
||||
button[style*="background-color: rgb(16, 131, 254)"], // dark
|
||||
button[style*="background-color: rgb(52, 150, 254)"], // dark (hover)
|
||||
button[style*="background-color: rgb(32, 139, 254)"], // dim
|
||||
button[style*="background-color: rgb(76, 162, 254)"] // dim (hover)
|
||||
{
|
||||
background-color: @accent-color !important;
|
||||
&:hover {
|
||||
background-color: fade(@accent-color, 70%) !important;
|
||||
}
|
||||
|
||||
> div {
|
||||
color: @crust !important;
|
||||
}
|
||||
svg > path {
|
||||
fill: @crust !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* borders */
|
||||
.css-175oi2r {
|
||||
border-color: @surface0 !important;
|
||||
}
|
||||
|
||||
/* fix selected tab bottom border issue caused by selector above */
|
||||
.css-175oi2r[style*="border-bottom-color: rgb(16, 131, 254)"] {
|
||||
border-bottom-color: @accent-color !important;
|
||||
}
|
||||
|
||||
/* fixes the bottom border on tabs (timeline) having a darker color */
|
||||
.r-oucylx {
|
||||
border-bottom-color: @base !important;
|
||||
}
|
||||
|
||||
/* current selected tab (acc page) !! KEEP THIS BELOW ABOVE DEFINITION !! */
|
||||
[style*="border-color: rgb(255, 255, 255)"] {
|
||||
border-color: @accent-color !important;
|
||||
}
|
||||
|
||||
/* settings highlight thing */
|
||||
[style="background-color: rgb(38, 39, 45)"] {
|
||||
background-color: @crust !important;
|
||||
}
|
||||
|
||||
/* thin site: bluesky text */
|
||||
.r-yovm8p {
|
||||
color: @blue;
|
||||
}
|
||||
|
||||
/* empty profile banner */
|
||||
.r-wuyfte {
|
||||
background-color: @blue;
|
||||
}
|
||||
|
||||
/* "invalid handle" warning */
|
||||
[style*="color: rgb(236, 72, 104); border-color: rgb(209, 16, 67)"] {
|
||||
color: @red !important;
|
||||
border-color: @red !important;
|
||||
}
|
||||
|
||||
/* end of feed text */
|
||||
.r-1521r3q {
|
||||
color: @overlay1;
|
||||
}
|
||||
|
||||
/* mobile side drawer */
|
||||
[data-testid="drawer"] {
|
||||
background-color: @base;
|
||||
}
|
||||
|
||||
/* feedback */
|
||||
.r-m7buhn {
|
||||
background-color: @blue;
|
||||
}
|
||||
|
||||
/* save, report, post modal button */
|
||||
[data-testid="sendReportBtn"],
|
||||
[data-testid="composerPublishBtn"],
|
||||
[data-testid="editProfileSaveBtn"] {
|
||||
background: unset !important;
|
||||
|
||||
/* "save changes" button in edit profile */
|
||||
> div[style*="background-image: linear-gradient(94.0544deg, rgb(90, 113, 250), rgb(0, 133, 255))"] {
|
||||
background: @accent-color !important;
|
||||
}
|
||||
|
||||
/* fix contrast issues */
|
||||
> div,
|
||||
> div > div {
|
||||
color: @crust !important;
|
||||
}
|
||||
}
|
||||
|
||||
[data-testid="saveBtn"] {
|
||||
> div[style*="background-image: linear-gradient"] {
|
||||
background: unset !important;
|
||||
background-color: @accent-color !important;
|
||||
> div {
|
||||
color: @crust !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// toast notifications (e.g. "copied to clipboard")
|
||||
.r-17c3jg3:has(> div[dir="auto"]) {
|
||||
background-color: @crust !important;
|
||||
|
||||
.r-jwli3a {
|
||||
color: @text !important;
|
||||
}
|
||||
> svg > path {
|
||||
fill: @text !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* draft "Discard" button */
|
||||
[style^="background-color: rgb(209, 16, 67)"] {
|
||||
background-color: @red !important;
|
||||
}
|
||||
|
||||
/* the round gradient post button in the bottom right when the page is thinner than usual */
|
||||
[data-testid="composeFAB"] > div {
|
||||
background: unset !important;
|
||||
background-color: @accent-color !important;
|
||||
|
||||
// fix contrast (inner symbol)
|
||||
.r-jwli3a {
|
||||
color: @crust !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* blue text only button (e.g. cancel post button) */
|
||||
div[style*="color: rgb(52, 150, 254)"],
|
||||
div[style*="color: rgb(76, 162, 254)"] {
|
||||
color: @accent-color !important;
|
||||
}
|
||||
|
||||
/* text color when writing a post */
|
||||
.ProseMirror,
|
||||
.ProseMirror-dark {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
/* some button background color (when hovering) */
|
||||
[style*="background-color: rgb(0, 44, 91)"],
|
||||
[style*="background-color: rgb(19, 63, 109)"] {
|
||||
background-color: fade(@accent-color, 30%) !important;
|
||||
}
|
||||
|
||||
/* several white buttons */
|
||||
button[style*="background-color: rgb(255, 255, 255)"]
|
||||
when
|
||||
not
|
||||
(@lookup = latte) {
|
||||
background-color: @text !important;
|
||||
}
|
||||
|
||||
/* the white buttons text */
|
||||
[style*="color: rgb(0, 0, 0)"] {
|
||||
color: @crust !important;
|
||||
}
|
||||
|
||||
/* replace dark fill icons with crust ones */
|
||||
path[fill="#000000"] {
|
||||
fill: @crust;
|
||||
}
|
||||
|
||||
/* fixes a contrast issue when the suggested follows button is enabled (very ugly selector) */
|
||||
button[data-testid="suggestedFollowsBtn"][style*="background-color: rgb(255, 255, 255)"]
|
||||
> svg
|
||||
> path {
|
||||
fill: @base !important;
|
||||
}
|
||||
|
||||
/* text inside most buttons */
|
||||
button > div > div[style~="color: rgb(0, 0, 0)"] {
|
||||
color: @base !important;
|
||||
}
|
||||
|
||||
/* search bar text */
|
||||
[role="search"],
|
||||
[data-testid="confirmCodeInput"] {
|
||||
--placeholderTextColor: @subtext1 !important;
|
||||
}
|
||||
|
||||
/* search bar icon */
|
||||
svg[style^="color: rgb(141, 142, 150)"] {
|
||||
color: @subtext1 !important;
|
||||
}
|
||||
|
||||
/* small icons */
|
||||
path[fill="#ffffff"],
|
||||
path[fill="hsl(211, 20%, 95.3%)"] {
|
||||
fill: @text;
|
||||
|
||||
& when (@lookup = latte) {
|
||||
fill: @base;
|
||||
}
|
||||
}
|
||||
|
||||
/* more gray small icons (seems to only be the trash can/delete icon) */
|
||||
path[fill="#8D8E96"] {
|
||||
fill: @subtext1;
|
||||
}
|
||||
|
||||
/* settings button at the top of the timeline, hashtag button/icon at top of timeline */
|
||||
path[fill="hsl(211, 24%, 70%)"],
|
||||
path[fill="hsl(211, 20%, 62.4%)"] {
|
||||
fill: @subtext1;
|
||||
}
|
||||
|
||||
/* x invite codes available icon */
|
||||
div[style*="background-color: rgb(191, 225, 255)"],
|
||||
div[style*="background-color: rgb(1, 37, 97)"] {
|
||||
background-color: fadeout(@accent-color, 70%) !important;
|
||||
> svg > path[fill="#52acfe"] {
|
||||
fill: @accent-color;
|
||||
}
|
||||
}
|
||||
|
||||
/* likes, reposts and comment counts/buttons under posts, maybe more */
|
||||
path[fill="hsl(211, 20%, 53%)"],
|
||||
[style*="color: rgb(111, 134, 159)"] {
|
||||
color: @subtext1 !important;
|
||||
fill: @subtext1 !important;
|
||||
}
|
||||
|
||||
/* heart/like */
|
||||
.r-84gixx,
|
||||
.r-1i89l9k,
|
||||
div[style*="color: rgb(236, 72, 153)"],
|
||||
button[data-testid="toggleLikeBtn"] > svg:has(path[fill^="hsl(346,"]) // feed like button
|
||||
{
|
||||
color: @red !important;
|
||||
> path {
|
||||
fill: @red !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* repost */
|
||||
.r-5ld2xk,
|
||||
[style*="color: rgb(69, 237, 159)"] {
|
||||
color: @green !important;
|
||||
> path {
|
||||
fill: @green !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* tiny people icon on post view ("Everybody can reply") */
|
||||
path[fill="hsl(211, 24%, 43.6%)"],
|
||||
/* icon above "you have no lists" */
|
||||
path[fill="hsl(211, 24%, 34.2%)"] {
|
||||
fill: @subtext0;
|
||||
}
|
||||
|
||||
/* onboarding: continue/next button */
|
||||
[data-testid="continueBtn"] {
|
||||
background-color: @accent-color !important;
|
||||
}
|
||||
[data-testid="continueBtn"] > div > div {
|
||||
color: @base !important;
|
||||
}
|
||||
[data-testid="continueBtn"] > div > svg > path {
|
||||
fill: @base !important;
|
||||
}
|
||||
|
||||
/* pretty self explanatory, user mentions in the post create modal */
|
||||
.mention {
|
||||
color: @accent-color;
|
||||
}
|
||||
|
||||
/* mentions in the notification tab (highlighted notifications) */
|
||||
div[style*="background-color: rgb(0, 17, 36)"], // dark
|
||||
div[style*="background-color: rgb(21, 41, 63)"], // dim
|
||||
div[style*="background-color: rgb(240, 247, 255)"] // light
|
||||
{
|
||||
background-color: fadeout(@accent-color, 70%) !important;
|
||||
.css-175oi2r:not([role="checkbox"] *) {
|
||||
background-color: transparent !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* generic blue background color inline (used for buttons in notifications tab) */
|
||||
button[style*="background-color: rgb(0, 133, 255)"] {
|
||||
background-color: @accent-color !important;
|
||||
}
|
||||
/* contrast fix for above */
|
||||
button[style*="background-color: rgb(0, 133, 255)"] > div > div {
|
||||
color: @base !important;
|
||||
}
|
||||
|
||||
/* other button in notifications tab, inner text */
|
||||
div[style*="color: rgb(82, 172, 254)"] {
|
||||
color: @accent-color !important;
|
||||
}
|
||||
|
||||
/* "No notifications yet!" text in the notifications tab */
|
||||
div[style*="color: rgb(141, 142, 150)"] {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
|
||||
/* login: wrong password highlight */
|
||||
.r-w7hjet {
|
||||
background-color: @red;
|
||||
}
|
||||
|
||||
/* please verify your email popup (green checkmark) */
|
||||
circle[fill="#20BC07"] {
|
||||
fill: @green;
|
||||
}
|
||||
|
||||
/* toggle circle */
|
||||
[style*="background-color: rgb(185, 185, 193)"] {
|
||||
background-color: @overlay2 !important;
|
||||
}
|
||||
|
||||
/* skeletons */
|
||||
.r-kdyh1x,
|
||||
.r-cpet4d {
|
||||
&[style*="background-color: rgb(20, 27, 35);"] {
|
||||
background-color: @surface0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* thread lines */
|
||||
div[style*="background-color: rgb(46, 63, 81)"].r-m5arl1 {
|
||||
background: @surface1 !important;
|
||||
}
|
||||
|
||||
line[stroke="hsl(211, 28%, 24.8%)"][stroke-width="2"] {
|
||||
stroke: @surface1 !important;
|
||||
}
|
||||
|
||||
circle[fill="hsl(211, 28%, 24.8%)"][r="1.5"] {
|
||||
fill: @surface1 !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* prettier-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; };
|
||||
}
|
||||
|
||||
// vim:ft=less
|
||||
==/UserStyle== */
|
||||
@@ -0,0 +1,617 @@
|
||||
/* ==UserStyle==
|
||||
@name Bluesky Social Catppuccin
|
||||
@namespace github.com/catppuccin/userstyles/styles/bsky
|
||||
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/bsky
|
||||
@version 2024.12.29.1
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/bsky/catppuccin.user.less
|
||||
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Absky
|
||||
@description Soothing pastel theme for Bluesky Social
|
||||
@author Catppuccin
|
||||
@license MIT
|
||||
|
||||
@preprocessor less
|
||||
@var select lightFlavor "Light Flavor" ["latte:Latte*", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha"]
|
||||
@var select darkFlavor "Dark Flavor" ["latte:Latte", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha*"]
|
||||
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
|
||||
==/UserStyle== */
|
||||
|
||||
@-moz-document domain("bsky.app") {
|
||||
@media (prefers-color-scheme: light) {
|
||||
html.colorMode--system {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
html.colorMode--system {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
|
||||
html.theme--light {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
html.theme--dim,
|
||||
html.theme--dark {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
}
|
||||
|
||||
#catppuccin(@lookup, @accent) {
|
||||
@rosewater: @catppuccin[@@lookup][@rosewater];
|
||||
@flamingo: @catppuccin[@@lookup][@flamingo];
|
||||
@pink: @catppuccin[@@lookup][@pink];
|
||||
@mauve: @catppuccin[@@lookup][@mauve];
|
||||
@red: @catppuccin[@@lookup][@red];
|
||||
@maroon: @catppuccin[@@lookup][@maroon];
|
||||
@peach: @catppuccin[@@lookup][@peach];
|
||||
@yellow: @catppuccin[@@lookup][@yellow];
|
||||
@green: @catppuccin[@@lookup][@green];
|
||||
@teal: @catppuccin[@@lookup][@teal];
|
||||
@sky: @catppuccin[@@lookup][@sky];
|
||||
@sapphire: @catppuccin[@@lookup][@sapphire];
|
||||
@blue: @catppuccin[@@lookup][@blue];
|
||||
@lavender: @catppuccin[@@lookup][@lavender];
|
||||
@text: @catppuccin[@@lookup][@text];
|
||||
@subtext1: @catppuccin[@@lookup][@subtext1];
|
||||
@subtext0: @catppuccin[@@lookup][@subtext0];
|
||||
@overlay2: @catppuccin[@@lookup][@overlay2];
|
||||
@overlay1: @catppuccin[@@lookup][@overlay1];
|
||||
@overlay0: @catppuccin[@@lookup][@overlay0];
|
||||
@surface2: @catppuccin[@@lookup][@surface2];
|
||||
@surface1: @catppuccin[@@lookup][@surface1];
|
||||
@surface0: @catppuccin[@@lookup][@surface0];
|
||||
@base: @catppuccin[@@lookup][@base];
|
||||
@mantle: @catppuccin[@@lookup][@mantle];
|
||||
@crust: @catppuccin[@@lookup][@crust];
|
||||
@accent-color: @catppuccin[@@lookup][@@accent];
|
||||
|
||||
color-scheme: if(@lookup = latte, light, dark);
|
||||
|
||||
// fix general site background - this applies to the <html> element
|
||||
background-color: @base;
|
||||
|
||||
::selection {
|
||||
background-color: fade(@accent-color, 30%);
|
||||
}
|
||||
|
||||
input,
|
||||
textarea {
|
||||
&::placeholder {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
--text: @text;
|
||||
--background: @base;
|
||||
--backgroundLight: @base;
|
||||
|
||||
/* generic text */
|
||||
[style*="color: rgb(255, 255, 255)"],
|
||||
[style*="color: rgb(241, 243, 245)"] //,
|
||||
/* [style*="color: rgb(11, 15, 20)"] this breas on dark */ {
|
||||
color: @text !important;
|
||||
& when (@lookup = latte) {
|
||||
/* fix button text in latte */
|
||||
color: @base !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* some background color of follow button + hover */
|
||||
[style*="background-color: rgb(241, 243, 245)"] {
|
||||
background-color: if(@lookup = latte, @crust, @text) !important;
|
||||
}
|
||||
|
||||
[style*="color: rgb(11, 15, 20)"] {
|
||||
color: if(@lookup = latte, @text, @crust) !important;
|
||||
}
|
||||
|
||||
/* secondary text */
|
||||
[style*="rgb(169, 183, 197)"],
|
||||
[style*="rgb(140, 158, 178)"],
|
||||
[style*="rgb(84, 110, 138)"],
|
||||
[style*="rgb(66, 87, 108)"] {
|
||||
color: @subtext1 !important;
|
||||
}
|
||||
|
||||
// white bottons on the theme/color mode selection in settings
|
||||
div[style*="background-color: rgb(197, 207, 217)"], // dark
|
||||
div[style*="background-color: rgb(201, 210, 219)"], // dim
|
||||
div[style*="background-color: rgb(46, 63, 81)"] // light
|
||||
{
|
||||
background-color: @text !important;
|
||||
> div {
|
||||
color: @crust !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* generic blue inline (e.g. link text, etc) */
|
||||
[style*="color: rgb(16, 131, 254)"], // dark
|
||||
[style*="color: rgb(32, 139, 254)"] // dim
|
||||
{
|
||||
color: @accent-color !important;
|
||||
}
|
||||
/* generic blue inline underline (links) */
|
||||
[style*="text-decoration-color: rgb(16, 131, 254)"], // dark
|
||||
[style*="text-decoration-color: rgb(32, 139, 254)"] // dim
|
||||
{
|
||||
text-decoration-color: @accent-color !important;
|
||||
}
|
||||
|
||||
/* generic blue inline bg color (e.g. notification count) */
|
||||
[style*="background-color: rgb(16, 131, 254)"], // dark
|
||||
[style*="background-color: rgb(32, 139, 254)"] // dim
|
||||
{
|
||||
background-color: @accent-color !important;
|
||||
|
||||
/* notification count contrast fix, also chat message contrast fix (> div) */
|
||||
&[style*="color: rgb(241, 243, 245)"],
|
||||
&[style*="color: rgb(255, 255, 255)"],
|
||||
> div {
|
||||
color: @crust !important;
|
||||
}
|
||||
|
||||
/* icon color fix */
|
||||
path[fill="#ffffff"],
|
||||
path[fill="hsl(211, 20%, 95.3%)"] {
|
||||
fill: @crust !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* sending/pending/failed direct message */
|
||||
[style*="background-color: rgb(1, 64, 132)"] {
|
||||
background-color: fadeout(@accent-color, 70%) !important;
|
||||
}
|
||||
|
||||
/* blue svg inline */
|
||||
[stroke="hsl(211, 99%, 53%)"],
|
||||
[stroke="#0085ff"] {
|
||||
stroke: @accent-color;
|
||||
}
|
||||
|
||||
[fill="hsl(211, 99%, 53%)"],
|
||||
[fill="hsl(211, 99%, 56%)"],
|
||||
[fill="#0085ff"] {
|
||||
fill: @accent-color;
|
||||
}
|
||||
|
||||
/* a lot of blue things (buttons etc) */
|
||||
.r-wzwllv,
|
||||
div[style*="background-color: rgb(0, 133, 255)"] {
|
||||
background-color: @accent-color !important;
|
||||
|
||||
/* notification count contrast fix, also chat message contrast fix (> div) */
|
||||
&[style*="color: rgb(241, 243, 245)"],
|
||||
> div {
|
||||
color: @crust !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* subscribe to labeler button */
|
||||
button[data-testid="toggleSubscribeBtn"] {
|
||||
> div {
|
||||
background-color: @mauve !important;
|
||||
> div {
|
||||
color: @crust !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* direct message "failed to send" text */
|
||||
span[style*="color: rgb(205, 10, 55)"] {
|
||||
color: @red !important;
|
||||
}
|
||||
|
||||
/* red button text (delete my account) */
|
||||
[style*="color: rgb(251, 162, 178)"] {
|
||||
color: @red !important;
|
||||
}
|
||||
|
||||
/* red button (delete, etc) */
|
||||
button[style*="background-color: rgb(244, 11, 66)"],
|
||||
// dark, light (same color)
|
||||
button[style*="background-color: rgb(246, 60, 103)"], // dark (hover)
|
||||
button[style*="background-color: rgb(245, 41, 88)"], // dim
|
||||
button[style*="background-color: rgb(247, 84, 122)"], // dim (hover)
|
||||
button[style*="background-color: rgb(205, 10, 55)"] // light (hover)
|
||||
{
|
||||
background-color: @red !important;
|
||||
&:hover {
|
||||
background-color: fade(@red, 70%) !important;
|
||||
}
|
||||
// text color
|
||||
> div {
|
||||
color: @crust !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* delete account button */
|
||||
[style^="background-color: rgb(79, 3, 20)"] {
|
||||
background-color: @red !important;
|
||||
}
|
||||
path[fill="#fba2b2"] {
|
||||
fill: @crust;
|
||||
}
|
||||
|
||||
/* generic background color */
|
||||
[style*="background-color: rgb(255, 255, 255)"],
|
||||
[style*="background-color: rgb(0, 0, 0)"],
|
||||
[style*="background-color: rgb(22, 30, 39)"] {
|
||||
background-color: @base !important;
|
||||
|
||||
& when (@lookup = latte) {
|
||||
/* fix button colors in latte */
|
||||
[style*="background-color: rgb(0, 0, 0)"] {
|
||||
background-color: @text !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* secondary background color */
|
||||
[style*="background-color: rgb(20, 25, 31)"], /* dark? */
|
||||
[style*="background-color: rgb(20, 27, 35)"], /* dark */
|
||||
[style*="background-color: rgb(30, 41, 54)"] /* dim */ {
|
||||
background-color: @mantle !important;
|
||||
}
|
||||
|
||||
/* secondary background color when active (e.g. search bar, hovering some buttons like cancel) */
|
||||
[style*="background-color: rgb(28, 39, 50)"], // dark
|
||||
[style*="background-color: rgb(38, 53, 68)"] // dim
|
||||
{
|
||||
background-color: @crust !important;
|
||||
}
|
||||
|
||||
/* some sort of tertiary background color with a slight accent */
|
||||
[style*="background-color: rgb(0, 25, 51)"] {
|
||||
background-color: fadeout(@accent-color, 70%) !important;
|
||||
}
|
||||
|
||||
/* loading circle */
|
||||
circle[style^="stroke: rgb(25, 118, 210)"] {
|
||||
stroke: @accent-color !important;
|
||||
}
|
||||
|
||||
/* wide site: new post button (w text) */
|
||||
button[style*="background-color: rgb(16, 131, 254)"], // dark
|
||||
button[style*="background-color: rgb(52, 150, 254)"], // dark (hover)
|
||||
button[style*="background-color: rgb(32, 139, 254)"], // dim
|
||||
button[style*="background-color: rgb(76, 162, 254)"] // dim (hover)
|
||||
{
|
||||
background-color: @accent-color !important;
|
||||
&:hover {
|
||||
background-color: fade(@accent-color, 70%) !important;
|
||||
}
|
||||
|
||||
> div {
|
||||
color: @crust !important;
|
||||
}
|
||||
svg > path {
|
||||
fill: @crust !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* borders */
|
||||
.css-175oi2r {
|
||||
border-color: @surface0 !important;
|
||||
}
|
||||
|
||||
/* fix selected tab bottom border issue caused by selector above */
|
||||
.css-175oi2r[style*="border-bottom-color: rgb(16, 131, 254)"] {
|
||||
border-bottom-color: @accent-color !important;
|
||||
}
|
||||
|
||||
/* fixes the bottom border on tabs (timeline) having a darker color */
|
||||
.r-oucylx {
|
||||
border-bottom-color: @base !important;
|
||||
}
|
||||
|
||||
/* current selected tab (acc page) !! KEEP THIS BELOW ABOVE DEFINITION !! */
|
||||
[style*="border-color: rgb(255, 255, 255)"] {
|
||||
border-color: @accent-color !important;
|
||||
}
|
||||
|
||||
/* settings highlight thing */
|
||||
[style="background-color: rgb(38, 39, 45)"] {
|
||||
background-color: @crust !important;
|
||||
}
|
||||
|
||||
/* thin site: bluesky text */
|
||||
.r-yovm8p {
|
||||
color: @blue;
|
||||
}
|
||||
|
||||
/* empty profile banner */
|
||||
.r-wuyfte {
|
||||
background-color: @blue;
|
||||
}
|
||||
|
||||
/* "invalid handle" warning */
|
||||
[style*="color: rgb(236, 72, 104); border-color: rgb(209, 16, 67)"] {
|
||||
color: @red !important;
|
||||
border-color: @red !important;
|
||||
}
|
||||
|
||||
/* end of feed text */
|
||||
.r-1521r3q {
|
||||
color: @overlay1;
|
||||
}
|
||||
|
||||
/* mobile side drawer */
|
||||
[data-testid="drawer"] {
|
||||
background-color: @base;
|
||||
}
|
||||
|
||||
/* feedback */
|
||||
.r-m7buhn {
|
||||
background-color: @blue;
|
||||
}
|
||||
|
||||
/* save, report, post modal button */
|
||||
[data-testid="sendReportBtn"],
|
||||
[data-testid="composerPublishBtn"],
|
||||
[data-testid="editProfileSaveBtn"] {
|
||||
background: unset !important;
|
||||
|
||||
/* "save changes" button in edit profile */
|
||||
> div[style*="background-image: linear-gradient(94.0544deg, rgb(90, 113, 250), rgb(0, 133, 255))"] {
|
||||
background: @accent-color !important;
|
||||
}
|
||||
|
||||
/* fix contrast issues */
|
||||
> div,
|
||||
> div > div {
|
||||
color: @crust !important;
|
||||
}
|
||||
}
|
||||
|
||||
[data-testid="saveBtn"] {
|
||||
> div[style*="background-image: linear-gradient"] {
|
||||
background: unset !important;
|
||||
background-color: @accent-color !important;
|
||||
> div {
|
||||
color: @crust !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// toast notifications (e.g. "copied to clipboard")
|
||||
.r-17c3jg3:has(> div[dir="auto"]) {
|
||||
background-color: @crust !important;
|
||||
|
||||
.r-jwli3a {
|
||||
color: @text !important;
|
||||
}
|
||||
> svg > path {
|
||||
fill: @text !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* draft "Discard" button */
|
||||
[style^="background-color: rgb(209, 16, 67)"] {
|
||||
background-color: @red !important;
|
||||
}
|
||||
|
||||
/* the round gradient post button in the bottom right when the page is thinner than usual */
|
||||
[data-testid="composeFAB"] > div {
|
||||
background: unset !important;
|
||||
background-color: @accent-color !important;
|
||||
|
||||
// fix contrast (inner symbol)
|
||||
.r-jwli3a {
|
||||
color: @crust !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* blue text only button (e.g. cancel post button) */
|
||||
div[style*="color: rgb(52, 150, 254)"],
|
||||
div[style*="color: rgb(76, 162, 254)"] {
|
||||
color: @accent-color !important;
|
||||
}
|
||||
|
||||
/* text color when writing a post */
|
||||
.ProseMirror,
|
||||
.ProseMirror-dark {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
/* some button background color (when hovering) */
|
||||
[style*="background-color: rgb(0, 44, 91)"],
|
||||
[style*="background-color: rgb(19, 63, 109)"] {
|
||||
background-color: fade(@accent-color, 30%) !important;
|
||||
}
|
||||
|
||||
/* several white buttons */
|
||||
button[style*="background-color: rgb(255, 255, 255)"] when not(
|
||||
@lookup = latte
|
||||
) {
|
||||
background-color: @text !important;
|
||||
}
|
||||
|
||||
/* the white buttons text */
|
||||
[style*="color: rgb(0, 0, 0)"] {
|
||||
color: @crust !important;
|
||||
}
|
||||
|
||||
/* replace dark fill icons with crust ones */
|
||||
path[fill="#000000"] {
|
||||
fill: @crust;
|
||||
}
|
||||
|
||||
/* fixes a contrast issue when the suggested follows button is enabled (very ugly selector) */
|
||||
button[data-testid="suggestedFollowsBtn"][style*="background-color: rgb(255, 255, 255)"]
|
||||
> svg
|
||||
> path {
|
||||
fill: @base !important;
|
||||
}
|
||||
|
||||
/* text inside most buttons */
|
||||
button > div > div[style~="color: rgb(0, 0, 0)"] {
|
||||
color: @base !important;
|
||||
}
|
||||
|
||||
/* search bar text */
|
||||
[role="search"],
|
||||
[data-testid="confirmCodeInput"] {
|
||||
--placeholderTextColor: @subtext1 !important;
|
||||
}
|
||||
|
||||
/* search bar icon */
|
||||
svg[style^="color: rgb(141, 142, 150)"] {
|
||||
color: @subtext1 !important;
|
||||
}
|
||||
|
||||
/* small icons */
|
||||
path[fill="#ffffff"],
|
||||
path[fill="hsl(211, 20%, 95.3%)"] {
|
||||
fill: @text;
|
||||
|
||||
& when (@lookup = latte) {
|
||||
fill: @base;
|
||||
}
|
||||
}
|
||||
|
||||
/* more gray small icons (seems to only be the trash can/delete icon) */
|
||||
path[fill="#8D8E96"] {
|
||||
fill: @subtext1;
|
||||
}
|
||||
|
||||
/* settings button at the top of the timeline, hashtag button/icon at top of timeline */
|
||||
path[fill="hsl(211, 24%, 70%)"],
|
||||
path[fill="hsl(211, 20%, 62.4%)"] {
|
||||
fill: @subtext1;
|
||||
}
|
||||
|
||||
/* x invite codes available icon */
|
||||
div[style*="background-color: rgb(191, 225, 255)"],
|
||||
div[style*="background-color: rgb(1, 37, 97)"] {
|
||||
background-color: fadeout(@accent-color, 70%) !important;
|
||||
> svg > path[fill="#52acfe"] {
|
||||
fill: @accent-color;
|
||||
}
|
||||
}
|
||||
|
||||
/* likes, reposts and comment counts/buttons under posts, maybe more */
|
||||
path[fill="hsl(211, 20%, 53%)"],
|
||||
[style*="color: rgb(111, 134, 159)"] {
|
||||
color: @subtext1 !important;
|
||||
fill: @subtext1 !important;
|
||||
}
|
||||
|
||||
/* heart/like */
|
||||
.r-84gixx,
|
||||
.r-1i89l9k,
|
||||
div[style*="color: rgb(236, 72, 153)"],
|
||||
button[data-testid="toggleLikeBtn"]
|
||||
> svg:has(path[fill^="hsl(346,"]) // feed like button
|
||||
{
|
||||
color: @red !important;
|
||||
> path {
|
||||
fill: @red !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* repost */
|
||||
.r-5ld2xk,
|
||||
[style*="color: rgb(69, 237, 159)"] {
|
||||
color: @green !important;
|
||||
> path {
|
||||
fill: @green !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* tiny people icon on post view ("Everybody can reply") */
|
||||
path[fill="hsl(211, 24%, 43.6%)"],
|
||||
/* icon above "you have no lists" */
|
||||
path[fill="hsl(211, 24%, 34.2%)"] {
|
||||
fill: @subtext0;
|
||||
}
|
||||
|
||||
/* onboarding: continue/next button */
|
||||
[data-testid="continueBtn"] {
|
||||
background-color: @accent-color !important;
|
||||
}
|
||||
[data-testid="continueBtn"] > div > div {
|
||||
color: @base !important;
|
||||
}
|
||||
[data-testid="continueBtn"] > div > svg > path {
|
||||
fill: @base !important;
|
||||
}
|
||||
|
||||
/* pretty self explanatory, user mentions in the post create modal */
|
||||
.mention {
|
||||
color: @accent-color;
|
||||
}
|
||||
|
||||
/* mentions in the notification tab (highlighted notifications) */
|
||||
div[style*="background-color: rgb(0, 17, 36)"], // dark
|
||||
div[style*="background-color: rgb(21, 41, 63)"], // dim
|
||||
div[style*="background-color: rgb(240, 247, 255)"] // light
|
||||
{
|
||||
background-color: fadeout(@accent-color, 70%) !important;
|
||||
.css-175oi2r:not([role="checkbox"] *) {
|
||||
background-color: transparent !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* generic blue background color inline (used for buttons in notifications tab) */
|
||||
button[style*="background-color: rgb(0, 133, 255)"] {
|
||||
background-color: @accent-color !important;
|
||||
}
|
||||
/* contrast fix for above */
|
||||
button[style*="background-color: rgb(0, 133, 255)"] > div > div {
|
||||
color: @base !important;
|
||||
}
|
||||
|
||||
/* other button in notifications tab, inner text */
|
||||
div[style*="color: rgb(82, 172, 254)"] {
|
||||
color: @accent-color !important;
|
||||
}
|
||||
|
||||
/* "No notifications yet!" text in the notifications tab */
|
||||
div[style*="color: rgb(141, 142, 150)"] {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
|
||||
/* login: wrong password highlight */
|
||||
.r-w7hjet {
|
||||
background-color: @red;
|
||||
}
|
||||
|
||||
/* please verify your email popup (green checkmark) */
|
||||
circle[fill="#20BC07"] {
|
||||
fill: @green;
|
||||
}
|
||||
|
||||
/* toggle circle */
|
||||
[style*="background-color: rgb(185, 185, 193)"] {
|
||||
background-color: @overlay2 !important;
|
||||
}
|
||||
|
||||
/* skeletons */
|
||||
.r-kdyh1x,
|
||||
.r-cpet4d {
|
||||
&[style*="background-color: rgb(20, 27, 35);"] {
|
||||
background-color: @surface0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* thread lines */
|
||||
div[style*="background-color: rgb(46, 63, 81)"].r-m5arl1 {
|
||||
background: @surface1 !important;
|
||||
}
|
||||
|
||||
line[stroke="hsl(211, 28%, 24.8%)"][stroke-width="2"] {
|
||||
stroke: @surface1 !important;
|
||||
}
|
||||
|
||||
circle[fill="hsl(211, 28%, 24.8%)"][r="1.5"] {
|
||||
fill: @surface1 !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* deno-fmt-ignore */
|
||||
@catppuccin: {
|
||||
@latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
|
||||
@frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
|
||||
@macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
|
||||
@mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
|
||||
};
|
||||
@@ -1,9 +1,9 @@
|
||||
/* ==UserStyle==
|
||||
@name bStats Catppuccin
|
||||
@name bStats Catppuccin [STUB | UPDATE REQUIRED]
|
||||
@namespace github.com/catppuccin/userstyles/styles/bstats
|
||||
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/bstats
|
||||
@version 2024.12.28
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/bstats/catppuccin.user.css
|
||||
@version 2024.12.29
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/bstats/catppuccin.user.less
|
||||
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Abstats
|
||||
@description Soothing pastel theme for bStats
|
||||
@author Catppuccin
|
||||
@@ -15,801 +15,4 @@
|
||||
@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 checkbox graphUseAccentColor "Graphs Use Accent" 0
|
||||
==/UserStyle== */
|
||||
|
||||
@-moz-document domain('bstats.org') {
|
||||
@media (prefers-color-scheme: light) {
|
||||
:root {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
|
||||
#catppuccin(@lookup, @accent) {
|
||||
@rosewater: @catppuccin[@@lookup][@rosewater];
|
||||
@flamingo: @catppuccin[@@lookup][@flamingo];
|
||||
@pink: @catppuccin[@@lookup][@pink];
|
||||
@mauve: @catppuccin[@@lookup][@mauve];
|
||||
@red: @catppuccin[@@lookup][@red];
|
||||
@maroon: @catppuccin[@@lookup][@maroon];
|
||||
@peach: @catppuccin[@@lookup][@peach];
|
||||
@yellow: @catppuccin[@@lookup][@yellow];
|
||||
@green: @catppuccin[@@lookup][@green];
|
||||
@teal: @catppuccin[@@lookup][@teal];
|
||||
@sky: @catppuccin[@@lookup][@sky];
|
||||
@sapphire: @catppuccin[@@lookup][@sapphire];
|
||||
@blue: @catppuccin[@@lookup][@blue];
|
||||
@lavender: @catppuccin[@@lookup][@lavender];
|
||||
@text: @catppuccin[@@lookup][@text];
|
||||
@subtext1: @catppuccin[@@lookup][@subtext1];
|
||||
@subtext0: @catppuccin[@@lookup][@subtext0];
|
||||
@overlay2: @catppuccin[@@lookup][@overlay2];
|
||||
@overlay1: @catppuccin[@@lookup][@overlay1];
|
||||
@overlay0: @catppuccin[@@lookup][@overlay0];
|
||||
@surface2: @catppuccin[@@lookup][@surface2];
|
||||
@surface1: @catppuccin[@@lookup][@surface1];
|
||||
@surface0: @catppuccin[@@lookup][@surface0];
|
||||
@base: @catppuccin[@@lookup][@base];
|
||||
@mantle: @catppuccin[@@lookup][@mantle];
|
||||
@crust: @catppuccin[@@lookup][@crust];
|
||||
@accent-color: @catppuccin[@@lookup][@@accent];
|
||||
|
||||
color-scheme: if(@lookup = latte, light, dark);
|
||||
|
||||
::selection {
|
||||
background-color: fade(@accent-color, 30%);
|
||||
}
|
||||
|
||||
input,
|
||||
textarea {
|
||||
&::placeholder {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
body,
|
||||
.collection-header,
|
||||
.collection-item,
|
||||
.grey.lighten-4,
|
||||
.page-footer .footer-copyright {
|
||||
background: @base !important;
|
||||
}
|
||||
.teal.darken-3,
|
||||
.teal.darken-2,
|
||||
.dropdown-content,
|
||||
.side-nav {
|
||||
background-color: @mantle !important;
|
||||
}
|
||||
|
||||
.teal {
|
||||
background-color: @surface0 !important;
|
||||
}
|
||||
|
||||
/* slide out nav text & icons */
|
||||
.subheader,
|
||||
.left {
|
||||
color: @text !important;
|
||||
}
|
||||
|
||||
.collection {
|
||||
border-color: @surface0;
|
||||
}
|
||||
.collection.with-header .collection-header,
|
||||
.collection .collection-item {
|
||||
border-bottom-color: @surface0;
|
||||
}
|
||||
|
||||
.collapsible {
|
||||
border-top-color: @surface1;
|
||||
border-right-color: @surface1;
|
||||
border-left-color: @surface1;
|
||||
}
|
||||
.collapsible-body {
|
||||
border-bottom-color: @surface1;
|
||||
}
|
||||
.collapsible-header {
|
||||
background-color: @surface0 !important;
|
||||
border-bottom-color: @surface1;
|
||||
}
|
||||
|
||||
blockquote {
|
||||
border-left-color: @maroon;
|
||||
}
|
||||
/* code box */
|
||||
.prettyprint,
|
||||
.withBox,
|
||||
.prettyprinted {
|
||||
background-color: @mantle !important;
|
||||
outline-color: @mantle;
|
||||
color: @overlay2;
|
||||
}
|
||||
.tag,
|
||||
.boolean {
|
||||
color: @blue;
|
||||
}
|
||||
.pln {
|
||||
color: @text;
|
||||
}
|
||||
.com {
|
||||
color: @overlay0;
|
||||
}
|
||||
.key {
|
||||
color: @red;
|
||||
}
|
||||
.clo,
|
||||
.opn,
|
||||
.pun {
|
||||
color: @yellow;
|
||||
}
|
||||
.str,
|
||||
.string,
|
||||
.atv {
|
||||
color: @green;
|
||||
}
|
||||
.atn {
|
||||
color: @mauve;
|
||||
}
|
||||
.number {
|
||||
color: @peach;
|
||||
}
|
||||
|
||||
p,
|
||||
h5,
|
||||
b,
|
||||
table,
|
||||
th,
|
||||
td,
|
||||
.white-text,
|
||||
nav .brand-logo,
|
||||
nav a,
|
||||
div.material-table .table-title,
|
||||
div.material-table table th,
|
||||
.card-title,
|
||||
.card-content,
|
||||
.container,
|
||||
.center {
|
||||
color: @text !important;
|
||||
}
|
||||
html,
|
||||
div.material-table table tr td,
|
||||
.grey-text.text-lighten-4,
|
||||
.page-footer .footer-copyright {
|
||||
color: @subtext1 !important;
|
||||
}
|
||||
.grey-text,
|
||||
.grey-text.text-darken-2,
|
||||
.input-field label,
|
||||
div.material-table .table-footer label,
|
||||
div.material-table .table-footer,
|
||||
label {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
.blue-text {
|
||||
color: @blue !important;
|
||||
}
|
||||
.red-text {
|
||||
color: @red !important;
|
||||
}
|
||||
.red {
|
||||
background-color: @red;
|
||||
}
|
||||
|
||||
/* discord logo on homepage */
|
||||
img[src="/images/discord.svg"] when (@lookup=latte) {
|
||||
filter: saturate(210%) hue-rotate(-20deg) brightness(82%);
|
||||
}
|
||||
img[src="/images/discord.svg"] when (@lookup=frappe) {
|
||||
filter: saturate(53%) hue-rotate(-10deg) brightness(147%) contrast(90%)
|
||||
sepia(15%) invert(2%);
|
||||
}
|
||||
img[src="/images/discord.svg"] when (@lookup=macchiato) {
|
||||
filter: saturate(52%) hue-rotate(-15deg) brightness(157%) contrast(90%)
|
||||
sepia(10%);
|
||||
}
|
||||
img[src="/images/discord.svg"] when (@lookup=mocha) {
|
||||
filter: saturate(38%) hue-rotate(-25deg) brightness(153%) sepia(6%);
|
||||
}
|
||||
|
||||
/* checkbox */
|
||||
[type="checkbox"] + label::before,
|
||||
[type="checkbox"]:not(.filled-in) + label::after {
|
||||
border-color: @subtext0;
|
||||
}
|
||||
[type="checkbox"]:checked + label::before {
|
||||
border-color: rgba(0, 0, 0, 0);
|
||||
border-right-color: @green;
|
||||
border-bottom-color: @green;
|
||||
}
|
||||
|
||||
/* table hover */
|
||||
div.material-table table tbody tr:hover {
|
||||
background-color: fade(@surface2, 40%);
|
||||
}
|
||||
/* nav hover */
|
||||
nav ul a:hover {
|
||||
background-color: fade(@surface2, 40%);
|
||||
}
|
||||
.dropdown-content li:hover,
|
||||
.dropdown-content li.active,
|
||||
.dropdown-content li.selected {
|
||||
background-color: fade(@surface2, 5%);
|
||||
}
|
||||
|
||||
.input-field label {
|
||||
color: @accent-color !important;
|
||||
}
|
||||
/* search unfocused */
|
||||
input:not([type]),
|
||||
input[type="text"],
|
||||
input[type="password"],
|
||||
input[type="email"],
|
||||
input[type="url"],
|
||||
input[type="time"],
|
||||
input[type="date"],
|
||||
input[type="datetime"],
|
||||
input[type="datetime-local"],
|
||||
input[type="tel"],
|
||||
input[type="number"],
|
||||
input[type="search"],
|
||||
textarea.materialize-textarea {
|
||||
border-bottom-color: @subtext0;
|
||||
box-shadow: 1 1px 0 0 @subtext0;
|
||||
}
|
||||
/* search focused */
|
||||
input:not([type]):focus:not([readonly]),
|
||||
input[type="text"]:focus:not([readonly]),
|
||||
input[type="password"]:focus:not([readonly]),
|
||||
input[type="email"]:focus:not([readonly]),
|
||||
input[type="url"]:focus:not([readonly]),
|
||||
input[type="time"]:focus:not([readonly]),
|
||||
input[type="date"]:focus:not([readonly]),
|
||||
input[type="datetime"]:focus:not([readonly]),
|
||||
input[type="datetime-local"]:focus:not([readonly]),
|
||||
input[type="tel"]:focus:not([readonly]),
|
||||
input[type="number"]:focus:not([readonly]),
|
||||
input[type="search"]:focus:not([readonly]),
|
||||
textarea.materialize-textarea:focus:not([readonly]) {
|
||||
border-bottom-color: @accent-color;
|
||||
box-shadow: 0 1px 0 0 @accent-color;
|
||||
}
|
||||
/* valid input */
|
||||
input:not([type]).valid,
|
||||
input:not([type]):focus.valid,
|
||||
input[type="text"].valid,
|
||||
input[type="text"]:focus.valid,
|
||||
input[type="password"].valid,
|
||||
input[type="password"]:focus.valid,
|
||||
input[type="email"].valid,
|
||||
input[type="email"]:focus.valid,
|
||||
input[type="url"].valid,
|
||||
input[type="url"]:focus.valid,
|
||||
input[type="time"].valid,
|
||||
input[type="time"]:focus.valid,
|
||||
input[type="date"].valid,
|
||||
input[type="date"]:focus.valid,
|
||||
input[type="datetime"].valid,
|
||||
input[type="datetime"]:focus.valid,
|
||||
input[type="datetime-local"].valid,
|
||||
input[type="datetime-local"]:focus.valid,
|
||||
input[type="tel"].valid,
|
||||
input[type="tel"]:focus.valid,
|
||||
input[type="number"].valid,
|
||||
input[type="number"]:focus.valid,
|
||||
input[type="search"].valid,
|
||||
input[type="search"]:focus.valid,
|
||||
textarea.materialize-textarea.valid,
|
||||
textarea.materialize-textarea:focus.valid {
|
||||
border-bottom-color: @green;
|
||||
box-shadow: 0 1px 0 0 @green;
|
||||
}
|
||||
|
||||
.teal-text,
|
||||
.teal-text.text-darken-2,
|
||||
.teal-text.text-lighten-3,
|
||||
a {
|
||||
color: @accent-color !important;
|
||||
}
|
||||
|
||||
.btn,
|
||||
.btn-large {
|
||||
color: @text !important;
|
||||
}
|
||||
.btn.disabled,
|
||||
.disabled.btn-large,
|
||||
.btn-floating.disabled,
|
||||
.btn-large.disabled,
|
||||
.btn-flat.disabled,
|
||||
.btn:disabled,
|
||||
.btn-floating:disabled,
|
||||
.btn-large:disabled,
|
||||
.btn-flat:disabled,
|
||||
.btn[disabled],
|
||||
[disabled].btn-large,
|
||||
.btn-floating[disabled],
|
||||
.btn-large[disabled],
|
||||
.btn-flat[disabled],
|
||||
.btn-large.red[disabled],
|
||||
.btn-large.red.disabled[id="delete_button"] {
|
||||
background-color: @mantle !important;
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
.btn-large.red[id="delete_button"] {
|
||||
color: @mantle !important;
|
||||
background-color: @red !important;
|
||||
}
|
||||
|
||||
.card {
|
||||
background-color: @base;
|
||||
border-color: @surface0;
|
||||
}
|
||||
|
||||
thead,
|
||||
div.material-table table tr td,
|
||||
div.material-table .table-header {
|
||||
border-bottom-color: @surface0;
|
||||
}
|
||||
|
||||
/* modals found in custom chart settings */
|
||||
.modal .modal-content,
|
||||
.modal .modal-footer {
|
||||
background-color: @surface0;
|
||||
}
|
||||
|
||||
/* custom chart dropdown menu */
|
||||
.select-wrapper input.select-dropdown {
|
||||
border-bottom-color: @subtext0;
|
||||
}
|
||||
.select-dropdown li.optgroup {
|
||||
border-top-color: @surface1;
|
||||
}
|
||||
.select-dropdown li.disabled,
|
||||
.select-dropdown li.disabled > span,
|
||||
.select-dropdown li.optgroup {
|
||||
color: @text;
|
||||
}
|
||||
.select-dropdown li.optgroup > span {
|
||||
color: @subtext1;
|
||||
}
|
||||
.dropdown-content li > a,
|
||||
.dropdown-content li > span {
|
||||
color: @accent-color;
|
||||
}
|
||||
|
||||
.divider {
|
||||
background-color: @surface1;
|
||||
}
|
||||
.caret {
|
||||
color: @overlay1 !important;
|
||||
}
|
||||
|
||||
/* custom chart lever */
|
||||
.switch label .lever {
|
||||
background-color: @overlay0;
|
||||
&::after {
|
||||
background-color: @overlay2;
|
||||
}
|
||||
}
|
||||
.switch label input[type="checkbox"]:checked + .lever {
|
||||
background-color: desaturate(darken(@accent-color, 25%), 50%);
|
||||
& when (@lookup=latte) {
|
||||
background-color: desaturate(lighten(@accent-color, 12%), 30%);
|
||||
}
|
||||
&::after {
|
||||
background-color: @accent-color;
|
||||
}
|
||||
}
|
||||
|
||||
/* custom chart filter data */
|
||||
.chip {
|
||||
color: @text;
|
||||
background-color: @surface1;
|
||||
}
|
||||
.chips .chip.selected {
|
||||
background-color: @accent-color;
|
||||
color: @base;
|
||||
}
|
||||
.chips.focus {
|
||||
border-bottom-color: @accent-color;
|
||||
box-shadow: 0 1px 0 0 @accent-color;
|
||||
}
|
||||
.chips .input {
|
||||
color: @text;
|
||||
}
|
||||
input[placeholder="Add an other value"] {
|
||||
border-bottom-color: @overlay2;
|
||||
}
|
||||
|
||||
/* HIGHCHARTS "let's hope this does'nt break"-section */
|
||||
/* all the charts */
|
||||
.highcharts-graph when (@graphUseAccentColor=1) {
|
||||
stroke: @accent-color;
|
||||
}
|
||||
.highcharts-graph when (@graphUseAccentColor=0) {
|
||||
stroke: @red;
|
||||
}
|
||||
/* "shadow" area below graph in time navigator */
|
||||
.highcharts-area {
|
||||
fill: fade(@red, 5%) !important;
|
||||
& when (@graphUseAccentColor=1) {
|
||||
fill: fade(@accent-color, 5%) !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* charts background */
|
||||
.highcharts-container {
|
||||
background: @base !important;
|
||||
}
|
||||
/* map blends in with background on latte flavor */
|
||||
.highcharts-map-series .highcharts-point {
|
||||
stroke: @base !important;
|
||||
& when (@lookup=latte) {
|
||||
stroke: @overlay0 !important;
|
||||
}
|
||||
}
|
||||
/* graph chart grid */
|
||||
.highcharts-grid.highcharts-yaxis-grid .highcharts-grid-line {
|
||||
stroke: @surface0;
|
||||
}
|
||||
/* bottom timeline line */
|
||||
.highcharts-tick,
|
||||
.highcharts-xaxis .highcharts-axis-line {
|
||||
stroke: @surface1;
|
||||
}
|
||||
/* bottom timeline & y axis text text */
|
||||
.highcharts-axis-labels.highcharts-xaxis-labels text,
|
||||
.highcharts-axis-labels.highcharts-yaxis-labels text {
|
||||
fill: @subtext1 !important;
|
||||
}
|
||||
|
||||
/* vertical line on graph hover */
|
||||
.highcharts-crosshair,
|
||||
.highcharts-crosshair-thin {
|
||||
stroke: @overlay2;
|
||||
}
|
||||
/* circle marker on graph */
|
||||
.highcharts-markers .highcharts-halo.highcharts-color-0 {
|
||||
fill: @red !important;
|
||||
stroke: none !important;
|
||||
& when (@graphUseAccentColor=1) {
|
||||
fill: @accent-color !important;
|
||||
}
|
||||
}
|
||||
.highcharts-markers path {
|
||||
fill: @red !important;
|
||||
stroke: @base !important;
|
||||
& when (@graphUseAccentColor=1) {
|
||||
fill: @accent-color !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* time navigator on bottom */
|
||||
/* active time span */
|
||||
.highcharts-navigator,
|
||||
.highcharts-navigator-mask-inside {
|
||||
fill: fade(@surface1, 33%);
|
||||
}
|
||||
.highcharts-navigator .highcharts-navigator-outline {
|
||||
stroke: @surface1;
|
||||
}
|
||||
/* navigator handles on the left & right */
|
||||
.highcharts-navigator .highcharts-navigator-handle {
|
||||
fill: @surface0;
|
||||
stroke: @overlay1;
|
||||
}
|
||||
/* vertical timestamp lines */
|
||||
.highcharts-grid.highcharts-xaxis-grid.highcharts-navigator-xaxis
|
||||
.highcharts-grid-line {
|
||||
stroke: @surface1;
|
||||
}
|
||||
/* time navigator timestamp text */
|
||||
.highcharts-xaxis-labels.highcharts-navigator-xaxis tspan {
|
||||
fill: @subtext0 !important;
|
||||
}
|
||||
|
||||
/* scrollbar */
|
||||
.highcharts-scrollbar,
|
||||
.highcharts-scrollbar-track {
|
||||
fill: @surface0;
|
||||
stroke: @surface1;
|
||||
}
|
||||
.highcharts-scrollbar,
|
||||
.highcharts-scrollbar-thumb {
|
||||
fill: @overlay1;
|
||||
stroke: @overlay1;
|
||||
}
|
||||
.highcharts-scrollbar .highcharts-scrollbar-rifles {
|
||||
stroke: @mantle;
|
||||
}
|
||||
.highcharts-scrollbar-button {
|
||||
fill: @overlay1;
|
||||
stroke: @overlay1;
|
||||
}
|
||||
.highcharts-scrollbar-arrow {
|
||||
fill: @mantle;
|
||||
}
|
||||
|
||||
/* buttons */
|
||||
.highcharts-button text {
|
||||
fill: @subtext1 !important;
|
||||
}
|
||||
.highcharts-button-box {
|
||||
fill: @surface0 !important;
|
||||
stroke: @surface0 !important;
|
||||
}
|
||||
.highcharts-button-symbol {
|
||||
fill: @subtext0 !important;
|
||||
stroke: @subtext0 !important;
|
||||
}
|
||||
/* normal state */
|
||||
.highcharts-button.highcharts-button-normal text {
|
||||
fill: @subtext1 !important;
|
||||
}
|
||||
.highcharts-button.highcharts-button-normal .highcharts-button-box {
|
||||
fill: @surface0 !important;
|
||||
stroke: @surface0 !important;
|
||||
}
|
||||
/* hover state */
|
||||
.highcharts-button.highcharts-button-hover text {
|
||||
fill: @text !important;
|
||||
}
|
||||
.highcharts-button.highcharts-button-hover .highcharts-button-box {
|
||||
fill: @surface2 !important;
|
||||
stroke: @surface2 !important;
|
||||
}
|
||||
/* pressed state */
|
||||
.highcharts-button.highcharts-button-pressed text {
|
||||
fill: @text !important;
|
||||
}
|
||||
.highcharts-button.highcharts-button-pressed .highcharts-button-box {
|
||||
fill: @surface2 !important;
|
||||
stroke: @surface2 !important;
|
||||
}
|
||||
/* disabled state */
|
||||
.highcharts-button.highcharts-button-disabled text {
|
||||
fill: @overlay0 !important;
|
||||
}
|
||||
.highcharts-button.highcharts-button-disabled .highcharts-button-box {
|
||||
fill: @base !important;
|
||||
stroke: @surface0 !important;
|
||||
}
|
||||
|
||||
/* "Load full data" button */
|
||||
.highcharts-menu {
|
||||
background: @surface0 !important;
|
||||
border-color: @surface1 !important;
|
||||
box-shadow: @mantle 3px 3px 10px !important;
|
||||
}
|
||||
.highcharts-menu-item {
|
||||
color: @text !important;
|
||||
&:hover {
|
||||
color: @base !important;
|
||||
background: @accent-color !important;
|
||||
}
|
||||
}
|
||||
/* pie text "shadow" */
|
||||
.highcharts-text-outline {
|
||||
stroke: @mantle;
|
||||
stroke-width: 2px;
|
||||
}
|
||||
/* pie text */
|
||||
.highcharts-label.highcharts-data-label tspan {
|
||||
fill: @subtext1;
|
||||
}
|
||||
/* drilldown pie text */
|
||||
.highcharts-label.highcharts-data-label.highcharts-drilldown-data-label
|
||||
tspan {
|
||||
fill: @blue;
|
||||
}
|
||||
.highcharts-label.highcharts-data-label.highcharts-drilldown-data-label
|
||||
text {
|
||||
fill: @blue !important;
|
||||
color: @blue !important;
|
||||
}
|
||||
/* pie subtitle */
|
||||
.highcharts-subtitle tspan {
|
||||
fill: @subtext0;
|
||||
}
|
||||
/* pie hover text */
|
||||
.highcharts-label.highcharts-tooltip text {
|
||||
fill: @subtext1 !important;
|
||||
color: @subtext1 !important;
|
||||
}
|
||||
/* hover text */
|
||||
.highcharts-label.highcharts-tooltip-box tspan {
|
||||
fill: @subtext1;
|
||||
}
|
||||
/* hover text red dot */
|
||||
.highcharts-label.highcharts-tooltip-box tspan[style="fill:#F44336"] {
|
||||
fill: @red !important;
|
||||
& when (@graphUseAccentColor=1) {
|
||||
fill: @accent-color !important;
|
||||
}
|
||||
}
|
||||
/* map hover text */
|
||||
.highcharts-label.highcharts-tooltip
|
||||
span:not(div.highcharts-label > span:nth-child(1) > span:nth-child(1)) {
|
||||
color: @subtext1 !important;
|
||||
}
|
||||
/* "No data to display" */
|
||||
.highcharts-label.highcharts-no-data tspan {
|
||||
fill: @subtext1;
|
||||
}
|
||||
/* axis label */
|
||||
.highcharts-axis-title tspan {
|
||||
fill: @subtext1;
|
||||
}
|
||||
|
||||
/* hover text background */
|
||||
.highcharts-label-box,
|
||||
.highcharts-tooltip-box {
|
||||
fill: @surface0;
|
||||
}
|
||||
|
||||
/* legend */
|
||||
/* legend title */
|
||||
.highcharts-label.highcharts-legend-title text {
|
||||
fill: @subtext1 !important;
|
||||
}
|
||||
/* legend labels */
|
||||
.highcharts-axis-labels,
|
||||
.highcharts-coloraxis-labels text {
|
||||
fill: @subtext0 !important;
|
||||
}
|
||||
/* vertical lines */
|
||||
.highcharts-legend-item
|
||||
.highcharts-grid.highcharts-coloraxis-grid
|
||||
.highcharts-grid-line {
|
||||
stroke: @base;
|
||||
}
|
||||
/* background only for bar chart legend */
|
||||
.highcharts-legend
|
||||
.highcharts-legend-box[fill="#FFFFFF"][stroke="#999999"] {
|
||||
fill: @surface0 !important;
|
||||
stroke: @surface1 !important;
|
||||
}
|
||||
/* bar chart entries */
|
||||
.highcharts-legend .highcharts-legend-item.highcharts-bar-series tspan {
|
||||
fill: @subtext1 !important;
|
||||
&:hover {
|
||||
fill: @text !important;
|
||||
}
|
||||
}
|
||||
.highcharts-legend
|
||||
.highcharts-legend-item.highcharts-bar-series.highcharts-legend-item-hidden
|
||||
tspan {
|
||||
fill: @overlay2 !important;
|
||||
&:hover {
|
||||
fill: @subtext0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
.highcharts-point {
|
||||
stroke: @base !important;
|
||||
}
|
||||
/* bar chart circle outline */
|
||||
.highcharts-legend .highcharts-legend-item.highcharts-bar-series rect {
|
||||
stroke: none !important;
|
||||
}
|
||||
/* disabled bar chart circle */
|
||||
.highcharts-legend
|
||||
.highcharts-legend-item.highcharts-bar-series.highcharts-legend-item-hidden
|
||||
rect {
|
||||
fill: @overlay0 !important;
|
||||
stroke: none !important;
|
||||
}
|
||||
/* bar & pie chart colors */
|
||||
/* color 0 */
|
||||
.highcharts-point.highcharts-color-0,
|
||||
.highcharts-halo.highcharts-color-0,
|
||||
.highcharts-legend-item.highcharts-bar-series.highcharts-color-0 rect {
|
||||
fill: @red !important;
|
||||
}
|
||||
.highcharts-data-label-connector.highcharts-color-0 {
|
||||
stroke: @red !important;
|
||||
}
|
||||
/* color 1 */
|
||||
.highcharts-point.highcharts-color-1,
|
||||
.highcharts-halo.highcharts-color-1,
|
||||
.highcharts-legend-item.highcharts-bar-series.highcharts-color-1 rect {
|
||||
fill: @green !important;
|
||||
}
|
||||
.highcharts-data-label-connector.highcharts-color-1 {
|
||||
stroke: @green !important;
|
||||
}
|
||||
/* color 2 */
|
||||
.highcharts-point.highcharts-color-2,
|
||||
.highcharts-halo.highcharts-color-2,
|
||||
.highcharts-legend-item.highcharts-bar-series.highcharts-color-2 rect {
|
||||
fill: @sky !important;
|
||||
}
|
||||
.highcharts-data-label-connector.highcharts-color-2 {
|
||||
stroke: @sky !important;
|
||||
}
|
||||
/* color 3 */
|
||||
.highcharts-point.highcharts-color-3,
|
||||
.highcharts-halo.highcharts-color-3,
|
||||
.highcharts-legend-item.highcharts-bar-series.highcharts-color-3 rect {
|
||||
fill: @peach !important;
|
||||
}
|
||||
.highcharts-data-label-connector.highcharts-color-3 {
|
||||
stroke: @peach !important;
|
||||
}
|
||||
/* color 4 */
|
||||
.highcharts-point.highcharts-color-4,
|
||||
.highcharts-halo.highcharts-color-4,
|
||||
.highcharts-legend-item.highcharts-bar-series.highcharts-color-4 rect {
|
||||
fill: @yellow !important;
|
||||
}
|
||||
.highcharts-data-label-connector.highcharts-color-4 {
|
||||
stroke: @yellow !important;
|
||||
}
|
||||
/* color 5 */
|
||||
.highcharts-point.highcharts-color-5,
|
||||
.highcharts-halo.highcharts-color-5,
|
||||
.highcharts-legend-item.highcharts-bar-series.highcharts-color-5 rect {
|
||||
fill: @teal !important;
|
||||
}
|
||||
.highcharts-data-label-connector.highcharts-color-5 {
|
||||
stroke: @teal !important;
|
||||
}
|
||||
/* color 6 */
|
||||
.highcharts-point.highcharts-color-6,
|
||||
.highcharts-halo.highcharts-color-6,
|
||||
.highcharts-legend-item.highcharts-bar-series.highcharts-color-6 rect {
|
||||
fill: @pink !important;
|
||||
}
|
||||
.highcharts-data-label-connector.highcharts-color-6 {
|
||||
stroke: @pink !important;
|
||||
}
|
||||
/* color 7 */
|
||||
.highcharts-point.highcharts-color-7,
|
||||
.highcharts-halo.highcharts-color-7,
|
||||
.highcharts-legend-item.highcharts-bar-series.highcharts-color-7 rect {
|
||||
fill: @flamingo !important;
|
||||
}
|
||||
.highcharts-data-label-connector.highcharts-color-7 {
|
||||
stroke: @flamingo !important;
|
||||
}
|
||||
/* color 8 */
|
||||
.highcharts-point.highcharts-color-8,
|
||||
.highcharts-halo.highcharts-color-8,
|
||||
.highcharts-legend-item.highcharts-bar-series.highcharts-color-8 rect {
|
||||
fill: @subtext0 !important;
|
||||
}
|
||||
.highcharts-data-label-connector.highcharts-color-8 {
|
||||
stroke: @subtext0 !important;
|
||||
}
|
||||
/* color 9 */
|
||||
.highcharts-point.highcharts-color-9,
|
||||
.highcharts-halo.highcharts-color-9,
|
||||
.highcharts-legend-item.highcharts-bar-series.highcharts-color-9 rect {
|
||||
fill: @blue !important;
|
||||
}
|
||||
.highcharts-data-label-connector.highcharts-color-9 {
|
||||
stroke: @blue !important;
|
||||
}
|
||||
/* color 10 */
|
||||
.highcharts-point.highcharts-color-10,
|
||||
.highcharts-halo.highcharts-color-10,
|
||||
.highcharts-legend-item.highcharts-bar-series.highcharts-color-10 rect {
|
||||
fill: @mauve !important;
|
||||
}
|
||||
.highcharts-data-label-connector.highcharts-color-10 {
|
||||
stroke: @mauve !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* prettier-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; };
|
||||
}
|
||||
|
||||
// vim:ft=less
|
||||
==/UserStyle== */
|
||||
@@ -0,0 +1,813 @@
|
||||
/* ==UserStyle==
|
||||
@name bStats Catppuccin
|
||||
@namespace github.com/catppuccin/userstyles/styles/bstats
|
||||
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/bstats
|
||||
@version 2024.12.29.1
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/bstats/catppuccin.user.less
|
||||
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Abstats
|
||||
@description Soothing pastel theme for bStats
|
||||
@author Catppuccin
|
||||
@license MIT
|
||||
|
||||
@preprocessor less
|
||||
@var select lightFlavor "Light Flavor" ["latte:Latte*", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha"]
|
||||
@var select darkFlavor "Dark Flavor" ["latte:Latte", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha*"]
|
||||
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
|
||||
|
||||
@var checkbox graphUseAccentColor "Graphs Use Accent" 0
|
||||
==/UserStyle== */
|
||||
|
||||
@-moz-document domain("bstats.org") {
|
||||
@media (prefers-color-scheme: light) {
|
||||
:root {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
|
||||
#catppuccin(@lookup, @accent) {
|
||||
@rosewater: @catppuccin[@@lookup][@rosewater];
|
||||
@flamingo: @catppuccin[@@lookup][@flamingo];
|
||||
@pink: @catppuccin[@@lookup][@pink];
|
||||
@mauve: @catppuccin[@@lookup][@mauve];
|
||||
@red: @catppuccin[@@lookup][@red];
|
||||
@maroon: @catppuccin[@@lookup][@maroon];
|
||||
@peach: @catppuccin[@@lookup][@peach];
|
||||
@yellow: @catppuccin[@@lookup][@yellow];
|
||||
@green: @catppuccin[@@lookup][@green];
|
||||
@teal: @catppuccin[@@lookup][@teal];
|
||||
@sky: @catppuccin[@@lookup][@sky];
|
||||
@sapphire: @catppuccin[@@lookup][@sapphire];
|
||||
@blue: @catppuccin[@@lookup][@blue];
|
||||
@lavender: @catppuccin[@@lookup][@lavender];
|
||||
@text: @catppuccin[@@lookup][@text];
|
||||
@subtext1: @catppuccin[@@lookup][@subtext1];
|
||||
@subtext0: @catppuccin[@@lookup][@subtext0];
|
||||
@overlay2: @catppuccin[@@lookup][@overlay2];
|
||||
@overlay1: @catppuccin[@@lookup][@overlay1];
|
||||
@overlay0: @catppuccin[@@lookup][@overlay0];
|
||||
@surface2: @catppuccin[@@lookup][@surface2];
|
||||
@surface1: @catppuccin[@@lookup][@surface1];
|
||||
@surface0: @catppuccin[@@lookup][@surface0];
|
||||
@base: @catppuccin[@@lookup][@base];
|
||||
@mantle: @catppuccin[@@lookup][@mantle];
|
||||
@crust: @catppuccin[@@lookup][@crust];
|
||||
@accent-color: @catppuccin[@@lookup][@@accent];
|
||||
|
||||
color-scheme: if(@lookup = latte, light, dark);
|
||||
|
||||
::selection {
|
||||
background-color: fade(@accent-color, 30%);
|
||||
}
|
||||
|
||||
input,
|
||||
textarea {
|
||||
&::placeholder {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
body,
|
||||
.collection-header,
|
||||
.collection-item,
|
||||
.grey.lighten-4,
|
||||
.page-footer .footer-copyright {
|
||||
background: @base !important;
|
||||
}
|
||||
.teal.darken-3,
|
||||
.teal.darken-2,
|
||||
.dropdown-content,
|
||||
.side-nav {
|
||||
background-color: @mantle !important;
|
||||
}
|
||||
|
||||
.teal {
|
||||
background-color: @surface0 !important;
|
||||
}
|
||||
|
||||
/* slide out nav text & icons */
|
||||
.subheader,
|
||||
.left {
|
||||
color: @text !important;
|
||||
}
|
||||
|
||||
.collection {
|
||||
border-color: @surface0;
|
||||
}
|
||||
.collection.with-header .collection-header,
|
||||
.collection .collection-item {
|
||||
border-bottom-color: @surface0;
|
||||
}
|
||||
|
||||
.collapsible {
|
||||
border-top-color: @surface1;
|
||||
border-right-color: @surface1;
|
||||
border-left-color: @surface1;
|
||||
}
|
||||
.collapsible-body {
|
||||
border-bottom-color: @surface1;
|
||||
}
|
||||
.collapsible-header {
|
||||
background-color: @surface0 !important;
|
||||
border-bottom-color: @surface1;
|
||||
}
|
||||
|
||||
blockquote {
|
||||
border-left-color: @maroon;
|
||||
}
|
||||
/* code box */
|
||||
.prettyprint,
|
||||
.withBox,
|
||||
.prettyprinted {
|
||||
background-color: @mantle !important;
|
||||
outline-color: @mantle;
|
||||
color: @overlay2;
|
||||
}
|
||||
.tag,
|
||||
.boolean {
|
||||
color: @blue;
|
||||
}
|
||||
.pln {
|
||||
color: @text;
|
||||
}
|
||||
.com {
|
||||
color: @overlay0;
|
||||
}
|
||||
.key {
|
||||
color: @red;
|
||||
}
|
||||
.clo,
|
||||
.opn,
|
||||
.pun {
|
||||
color: @yellow;
|
||||
}
|
||||
.str,
|
||||
.string,
|
||||
.atv {
|
||||
color: @green;
|
||||
}
|
||||
.atn {
|
||||
color: @mauve;
|
||||
}
|
||||
.number {
|
||||
color: @peach;
|
||||
}
|
||||
|
||||
p,
|
||||
h5,
|
||||
b,
|
||||
table,
|
||||
th,
|
||||
td,
|
||||
.white-text,
|
||||
nav .brand-logo,
|
||||
nav a,
|
||||
div.material-table .table-title,
|
||||
div.material-table table th,
|
||||
.card-title,
|
||||
.card-content,
|
||||
.container,
|
||||
.center {
|
||||
color: @text !important;
|
||||
}
|
||||
html,
|
||||
div.material-table table tr td,
|
||||
.grey-text.text-lighten-4,
|
||||
.page-footer .footer-copyright {
|
||||
color: @subtext1 !important;
|
||||
}
|
||||
.grey-text,
|
||||
.grey-text.text-darken-2,
|
||||
.input-field label,
|
||||
div.material-table .table-footer label,
|
||||
div.material-table .table-footer,
|
||||
label {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
.blue-text {
|
||||
color: @blue !important;
|
||||
}
|
||||
.red-text {
|
||||
color: @red !important;
|
||||
}
|
||||
.red {
|
||||
background-color: @red;
|
||||
}
|
||||
|
||||
/* discord logo on homepage */
|
||||
img[src="/images/discord.svg"] when (@lookup = latte) {
|
||||
filter: saturate(210%) hue-rotate(-20deg) brightness(82%);
|
||||
}
|
||||
img[src="/images/discord.svg"] when (@lookup = frappe) {
|
||||
filter: saturate(53%) hue-rotate(-10deg) brightness(147%) contrast(90%)
|
||||
sepia(15%) invert(2%);
|
||||
}
|
||||
img[src="/images/discord.svg"] when (@lookup = macchiato) {
|
||||
filter: saturate(52%) hue-rotate(-15deg) brightness(157%) contrast(90%)
|
||||
sepia(10%);
|
||||
}
|
||||
img[src="/images/discord.svg"] when (@lookup = mocha) {
|
||||
filter: saturate(38%) hue-rotate(-25deg) brightness(153%) sepia(6%);
|
||||
}
|
||||
|
||||
/* checkbox */
|
||||
[type="checkbox"] + label::before,
|
||||
[type="checkbox"]:not(.filled-in) + label::after {
|
||||
border-color: @subtext0;
|
||||
}
|
||||
[type="checkbox"]:checked + label::before {
|
||||
border-color: rgba(0, 0, 0, 0);
|
||||
border-right-color: @green;
|
||||
border-bottom-color: @green;
|
||||
}
|
||||
|
||||
/* table hover */
|
||||
div.material-table table tbody tr:hover {
|
||||
background-color: fade(@surface2, 40%);
|
||||
}
|
||||
/* nav hover */
|
||||
nav ul a:hover {
|
||||
background-color: fade(@surface2, 40%);
|
||||
}
|
||||
.dropdown-content li:hover,
|
||||
.dropdown-content li.active,
|
||||
.dropdown-content li.selected {
|
||||
background-color: fade(@surface2, 5%);
|
||||
}
|
||||
|
||||
.input-field label {
|
||||
color: @accent-color !important;
|
||||
}
|
||||
/* search unfocused */
|
||||
input:not([type]),
|
||||
input[type="text"],
|
||||
input[type="password"],
|
||||
input[type="email"],
|
||||
input[type="url"],
|
||||
input[type="time"],
|
||||
input[type="date"],
|
||||
input[type="datetime"],
|
||||
input[type="datetime-local"],
|
||||
input[type="tel"],
|
||||
input[type="number"],
|
||||
input[type="search"],
|
||||
textarea.materialize-textarea {
|
||||
border-bottom-color: @subtext0;
|
||||
box-shadow: 1 1px 0 0 @subtext0;
|
||||
}
|
||||
/* search focused */
|
||||
input:not([type]):focus:not([readonly]),
|
||||
input[type="text"]:focus:not([readonly]),
|
||||
input[type="password"]:focus:not([readonly]),
|
||||
input[type="email"]:focus:not([readonly]),
|
||||
input[type="url"]:focus:not([readonly]),
|
||||
input[type="time"]:focus:not([readonly]),
|
||||
input[type="date"]:focus:not([readonly]),
|
||||
input[type="datetime"]:focus:not([readonly]),
|
||||
input[type="datetime-local"]:focus:not([readonly]),
|
||||
input[type="tel"]:focus:not([readonly]),
|
||||
input[type="number"]:focus:not([readonly]),
|
||||
input[type="search"]:focus:not([readonly]),
|
||||
textarea.materialize-textarea:focus:not([readonly]) {
|
||||
border-bottom-color: @accent-color;
|
||||
box-shadow: 0 1px 0 0 @accent-color;
|
||||
}
|
||||
/* valid input */
|
||||
input:not([type]).valid,
|
||||
input:not([type]):focus.valid,
|
||||
input[type="text"].valid,
|
||||
input[type="text"]:focus.valid,
|
||||
input[type="password"].valid,
|
||||
input[type="password"]:focus.valid,
|
||||
input[type="email"].valid,
|
||||
input[type="email"]:focus.valid,
|
||||
input[type="url"].valid,
|
||||
input[type="url"]:focus.valid,
|
||||
input[type="time"].valid,
|
||||
input[type="time"]:focus.valid,
|
||||
input[type="date"].valid,
|
||||
input[type="date"]:focus.valid,
|
||||
input[type="datetime"].valid,
|
||||
input[type="datetime"]:focus.valid,
|
||||
input[type="datetime-local"].valid,
|
||||
input[type="datetime-local"]:focus.valid,
|
||||
input[type="tel"].valid,
|
||||
input[type="tel"]:focus.valid,
|
||||
input[type="number"].valid,
|
||||
input[type="number"]:focus.valid,
|
||||
input[type="search"].valid,
|
||||
input[type="search"]:focus.valid,
|
||||
textarea.materialize-textarea.valid,
|
||||
textarea.materialize-textarea:focus.valid {
|
||||
border-bottom-color: @green;
|
||||
box-shadow: 0 1px 0 0 @green;
|
||||
}
|
||||
|
||||
.teal-text,
|
||||
.teal-text.text-darken-2,
|
||||
.teal-text.text-lighten-3,
|
||||
a {
|
||||
color: @accent-color !important;
|
||||
}
|
||||
|
||||
.btn,
|
||||
.btn-large {
|
||||
color: @text !important;
|
||||
}
|
||||
.btn.disabled,
|
||||
.disabled.btn-large,
|
||||
.btn-floating.disabled,
|
||||
.btn-large.disabled,
|
||||
.btn-flat.disabled,
|
||||
.btn:disabled,
|
||||
.btn-floating:disabled,
|
||||
.btn-large:disabled,
|
||||
.btn-flat:disabled,
|
||||
.btn[disabled],
|
||||
[disabled].btn-large,
|
||||
.btn-floating[disabled],
|
||||
.btn-large[disabled],
|
||||
.btn-flat[disabled],
|
||||
.btn-large.red[disabled],
|
||||
.btn-large.red.disabled[id="delete_button"] {
|
||||
background-color: @mantle !important;
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
.btn-large.red[id="delete_button"] {
|
||||
color: @mantle !important;
|
||||
background-color: @red !important;
|
||||
}
|
||||
|
||||
.card {
|
||||
background-color: @base;
|
||||
border-color: @surface0;
|
||||
}
|
||||
|
||||
thead,
|
||||
div.material-table table tr td,
|
||||
div.material-table .table-header {
|
||||
border-bottom-color: @surface0;
|
||||
}
|
||||
|
||||
/* modals found in custom chart settings */
|
||||
.modal .modal-content,
|
||||
.modal .modal-footer {
|
||||
background-color: @surface0;
|
||||
}
|
||||
|
||||
/* custom chart dropdown menu */
|
||||
.select-wrapper input.select-dropdown {
|
||||
border-bottom-color: @subtext0;
|
||||
}
|
||||
.select-dropdown li.optgroup {
|
||||
border-top-color: @surface1;
|
||||
}
|
||||
.select-dropdown li.disabled,
|
||||
.select-dropdown li.disabled > span,
|
||||
.select-dropdown li.optgroup {
|
||||
color: @text;
|
||||
}
|
||||
.select-dropdown li.optgroup > span {
|
||||
color: @subtext1;
|
||||
}
|
||||
.dropdown-content li > a,
|
||||
.dropdown-content li > span {
|
||||
color: @accent-color;
|
||||
}
|
||||
|
||||
.divider {
|
||||
background-color: @surface1;
|
||||
}
|
||||
.caret {
|
||||
color: @overlay1 !important;
|
||||
}
|
||||
|
||||
/* custom chart lever */
|
||||
.switch label .lever {
|
||||
background-color: @overlay0;
|
||||
&::after {
|
||||
background-color: @overlay2;
|
||||
}
|
||||
}
|
||||
.switch label input[type="checkbox"]:checked + .lever {
|
||||
background-color: desaturate(darken(@accent-color, 25%), 50%);
|
||||
& when (@lookup = latte) {
|
||||
background-color: desaturate(lighten(@accent-color, 12%), 30%);
|
||||
}
|
||||
&::after {
|
||||
background-color: @accent-color;
|
||||
}
|
||||
}
|
||||
|
||||
/* custom chart filter data */
|
||||
.chip {
|
||||
color: @text;
|
||||
background-color: @surface1;
|
||||
}
|
||||
.chips .chip.selected {
|
||||
background-color: @accent-color;
|
||||
color: @base;
|
||||
}
|
||||
.chips.focus {
|
||||
border-bottom-color: @accent-color;
|
||||
box-shadow: 0 1px 0 0 @accent-color;
|
||||
}
|
||||
.chips .input {
|
||||
color: @text;
|
||||
}
|
||||
input[placeholder="Add an other value"] {
|
||||
border-bottom-color: @overlay2;
|
||||
}
|
||||
|
||||
/* HIGHCHARTS "let's hope this does'nt break"-section */
|
||||
/* all the charts */
|
||||
.highcharts-graph when (@graphUseAccentColor = 1) {
|
||||
stroke: @accent-color;
|
||||
}
|
||||
.highcharts-graph when (@graphUseAccentColor = 0) {
|
||||
stroke: @red;
|
||||
}
|
||||
/* "shadow" area below graph in time navigator */
|
||||
.highcharts-area {
|
||||
fill: fade(@red, 5%) !important;
|
||||
& when (@graphUseAccentColor = 1) {
|
||||
fill: fade(@accent-color, 5%) !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* charts background */
|
||||
.highcharts-container {
|
||||
background: @base !important;
|
||||
}
|
||||
/* map blends in with background on latte flavor */
|
||||
.highcharts-map-series .highcharts-point {
|
||||
stroke: @base !important;
|
||||
& when (@lookup = latte) {
|
||||
stroke: @overlay0 !important;
|
||||
}
|
||||
}
|
||||
/* graph chart grid */
|
||||
.highcharts-grid.highcharts-yaxis-grid .highcharts-grid-line {
|
||||
stroke: @surface0;
|
||||
}
|
||||
/* bottom timeline line */
|
||||
.highcharts-tick,
|
||||
.highcharts-xaxis .highcharts-axis-line {
|
||||
stroke: @surface1;
|
||||
}
|
||||
/* bottom timeline & y axis text text */
|
||||
.highcharts-axis-labels.highcharts-xaxis-labels text,
|
||||
.highcharts-axis-labels.highcharts-yaxis-labels text {
|
||||
fill: @subtext1 !important;
|
||||
}
|
||||
|
||||
/* vertical line on graph hover */
|
||||
.highcharts-crosshair,
|
||||
.highcharts-crosshair-thin {
|
||||
stroke: @overlay2;
|
||||
}
|
||||
/* circle marker on graph */
|
||||
.highcharts-markers .highcharts-halo.highcharts-color-0 {
|
||||
fill: @red !important;
|
||||
stroke: none !important;
|
||||
& when (@graphUseAccentColor = 1) {
|
||||
fill: @accent-color !important;
|
||||
}
|
||||
}
|
||||
.highcharts-markers path {
|
||||
fill: @red !important;
|
||||
stroke: @base !important;
|
||||
& when (@graphUseAccentColor = 1) {
|
||||
fill: @accent-color !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* time navigator on bottom */
|
||||
/* active time span */
|
||||
.highcharts-navigator,
|
||||
.highcharts-navigator-mask-inside {
|
||||
fill: fade(@surface1, 33%);
|
||||
}
|
||||
.highcharts-navigator .highcharts-navigator-outline {
|
||||
stroke: @surface1;
|
||||
}
|
||||
/* navigator handles on the left & right */
|
||||
.highcharts-navigator .highcharts-navigator-handle {
|
||||
fill: @surface0;
|
||||
stroke: @overlay1;
|
||||
}
|
||||
/* vertical timestamp lines */
|
||||
.highcharts-grid.highcharts-xaxis-grid.highcharts-navigator-xaxis
|
||||
.highcharts-grid-line {
|
||||
stroke: @surface1;
|
||||
}
|
||||
/* time navigator timestamp text */
|
||||
.highcharts-xaxis-labels.highcharts-navigator-xaxis tspan {
|
||||
fill: @subtext0 !important;
|
||||
}
|
||||
|
||||
/* scrollbar */
|
||||
.highcharts-scrollbar,
|
||||
.highcharts-scrollbar-track {
|
||||
fill: @surface0;
|
||||
stroke: @surface1;
|
||||
}
|
||||
.highcharts-scrollbar,
|
||||
.highcharts-scrollbar-thumb {
|
||||
fill: @overlay1;
|
||||
stroke: @overlay1;
|
||||
}
|
||||
.highcharts-scrollbar .highcharts-scrollbar-rifles {
|
||||
stroke: @mantle;
|
||||
}
|
||||
.highcharts-scrollbar-button {
|
||||
fill: @overlay1;
|
||||
stroke: @overlay1;
|
||||
}
|
||||
.highcharts-scrollbar-arrow {
|
||||
fill: @mantle;
|
||||
}
|
||||
|
||||
/* buttons */
|
||||
.highcharts-button text {
|
||||
fill: @subtext1 !important;
|
||||
}
|
||||
.highcharts-button-box {
|
||||
fill: @surface0 !important;
|
||||
stroke: @surface0 !important;
|
||||
}
|
||||
.highcharts-button-symbol {
|
||||
fill: @subtext0 !important;
|
||||
stroke: @subtext0 !important;
|
||||
}
|
||||
/* normal state */
|
||||
.highcharts-button.highcharts-button-normal text {
|
||||
fill: @subtext1 !important;
|
||||
}
|
||||
.highcharts-button.highcharts-button-normal .highcharts-button-box {
|
||||
fill: @surface0 !important;
|
||||
stroke: @surface0 !important;
|
||||
}
|
||||
/* hover state */
|
||||
.highcharts-button.highcharts-button-hover text {
|
||||
fill: @text !important;
|
||||
}
|
||||
.highcharts-button.highcharts-button-hover .highcharts-button-box {
|
||||
fill: @surface2 !important;
|
||||
stroke: @surface2 !important;
|
||||
}
|
||||
/* pressed state */
|
||||
.highcharts-button.highcharts-button-pressed text {
|
||||
fill: @text !important;
|
||||
}
|
||||
.highcharts-button.highcharts-button-pressed .highcharts-button-box {
|
||||
fill: @surface2 !important;
|
||||
stroke: @surface2 !important;
|
||||
}
|
||||
/* disabled state */
|
||||
.highcharts-button.highcharts-button-disabled text {
|
||||
fill: @overlay0 !important;
|
||||
}
|
||||
.highcharts-button.highcharts-button-disabled .highcharts-button-box {
|
||||
fill: @base !important;
|
||||
stroke: @surface0 !important;
|
||||
}
|
||||
|
||||
/* "Load full data" button */
|
||||
.highcharts-menu {
|
||||
background: @surface0 !important;
|
||||
border-color: @surface1 !important;
|
||||
box-shadow: @mantle 3px 3px 10px !important;
|
||||
}
|
||||
.highcharts-menu-item {
|
||||
color: @text !important;
|
||||
&:hover {
|
||||
color: @base !important;
|
||||
background: @accent-color !important;
|
||||
}
|
||||
}
|
||||
/* pie text "shadow" */
|
||||
.highcharts-text-outline {
|
||||
stroke: @mantle;
|
||||
stroke-width: 2px;
|
||||
}
|
||||
/* pie text */
|
||||
.highcharts-label.highcharts-data-label tspan {
|
||||
fill: @subtext1;
|
||||
}
|
||||
/* drilldown pie text */
|
||||
.highcharts-label.highcharts-data-label.highcharts-drilldown-data-label
|
||||
tspan {
|
||||
fill: @blue;
|
||||
}
|
||||
.highcharts-label.highcharts-data-label.highcharts-drilldown-data-label
|
||||
text {
|
||||
fill: @blue !important;
|
||||
color: @blue !important;
|
||||
}
|
||||
/* pie subtitle */
|
||||
.highcharts-subtitle tspan {
|
||||
fill: @subtext0;
|
||||
}
|
||||
/* pie hover text */
|
||||
.highcharts-label.highcharts-tooltip text {
|
||||
fill: @subtext1 !important;
|
||||
color: @subtext1 !important;
|
||||
}
|
||||
/* hover text */
|
||||
.highcharts-label.highcharts-tooltip-box tspan {
|
||||
fill: @subtext1;
|
||||
}
|
||||
/* hover text red dot */
|
||||
.highcharts-label.highcharts-tooltip-box tspan[style="fill:#F44336"] {
|
||||
fill: @red !important;
|
||||
& when (@graphUseAccentColor = 1) {
|
||||
fill: @accent-color !important;
|
||||
}
|
||||
}
|
||||
/* map hover text */
|
||||
.highcharts-label.highcharts-tooltip
|
||||
span:not(div.highcharts-label > span:nth-child(1) > span:nth-child(1)) {
|
||||
color: @subtext1 !important;
|
||||
}
|
||||
/* "No data to display" */
|
||||
.highcharts-label.highcharts-no-data tspan {
|
||||
fill: @subtext1;
|
||||
}
|
||||
/* axis label */
|
||||
.highcharts-axis-title tspan {
|
||||
fill: @subtext1;
|
||||
}
|
||||
|
||||
/* hover text background */
|
||||
.highcharts-label-box,
|
||||
.highcharts-tooltip-box {
|
||||
fill: @surface0;
|
||||
}
|
||||
|
||||
/* legend */
|
||||
/* legend title */
|
||||
.highcharts-label.highcharts-legend-title text {
|
||||
fill: @subtext1 !important;
|
||||
}
|
||||
/* legend labels */
|
||||
.highcharts-axis-labels,
|
||||
.highcharts-coloraxis-labels text {
|
||||
fill: @subtext0 !important;
|
||||
}
|
||||
/* vertical lines */
|
||||
.highcharts-legend-item
|
||||
.highcharts-grid.highcharts-coloraxis-grid
|
||||
.highcharts-grid-line {
|
||||
stroke: @base;
|
||||
}
|
||||
/* background only for bar chart legend */
|
||||
.highcharts-legend
|
||||
.highcharts-legend-box[fill="#FFFFFF"][stroke="#999999"] {
|
||||
fill: @surface0 !important;
|
||||
stroke: @surface1 !important;
|
||||
}
|
||||
/* bar chart entries */
|
||||
.highcharts-legend .highcharts-legend-item.highcharts-bar-series tspan {
|
||||
fill: @subtext1 !important;
|
||||
&:hover {
|
||||
fill: @text !important;
|
||||
}
|
||||
}
|
||||
.highcharts-legend
|
||||
.highcharts-legend-item.highcharts-bar-series.highcharts-legend-item-hidden
|
||||
tspan {
|
||||
fill: @overlay2 !important;
|
||||
&:hover {
|
||||
fill: @subtext0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
.highcharts-point {
|
||||
stroke: @base !important;
|
||||
}
|
||||
/* bar chart circle outline */
|
||||
.highcharts-legend .highcharts-legend-item.highcharts-bar-series rect {
|
||||
stroke: none !important;
|
||||
}
|
||||
/* disabled bar chart circle */
|
||||
.highcharts-legend
|
||||
.highcharts-legend-item.highcharts-bar-series.highcharts-legend-item-hidden
|
||||
rect {
|
||||
fill: @overlay0 !important;
|
||||
stroke: none !important;
|
||||
}
|
||||
/* bar & pie chart colors */
|
||||
/* color 0 */
|
||||
.highcharts-point.highcharts-color-0,
|
||||
.highcharts-halo.highcharts-color-0,
|
||||
.highcharts-legend-item.highcharts-bar-series.highcharts-color-0 rect {
|
||||
fill: @red !important;
|
||||
}
|
||||
.highcharts-data-label-connector.highcharts-color-0 {
|
||||
stroke: @red !important;
|
||||
}
|
||||
/* color 1 */
|
||||
.highcharts-point.highcharts-color-1,
|
||||
.highcharts-halo.highcharts-color-1,
|
||||
.highcharts-legend-item.highcharts-bar-series.highcharts-color-1 rect {
|
||||
fill: @green !important;
|
||||
}
|
||||
.highcharts-data-label-connector.highcharts-color-1 {
|
||||
stroke: @green !important;
|
||||
}
|
||||
/* color 2 */
|
||||
.highcharts-point.highcharts-color-2,
|
||||
.highcharts-halo.highcharts-color-2,
|
||||
.highcharts-legend-item.highcharts-bar-series.highcharts-color-2 rect {
|
||||
fill: @sky !important;
|
||||
}
|
||||
.highcharts-data-label-connector.highcharts-color-2 {
|
||||
stroke: @sky !important;
|
||||
}
|
||||
/* color 3 */
|
||||
.highcharts-point.highcharts-color-3,
|
||||
.highcharts-halo.highcharts-color-3,
|
||||
.highcharts-legend-item.highcharts-bar-series.highcharts-color-3 rect {
|
||||
fill: @peach !important;
|
||||
}
|
||||
.highcharts-data-label-connector.highcharts-color-3 {
|
||||
stroke: @peach !important;
|
||||
}
|
||||
/* color 4 */
|
||||
.highcharts-point.highcharts-color-4,
|
||||
.highcharts-halo.highcharts-color-4,
|
||||
.highcharts-legend-item.highcharts-bar-series.highcharts-color-4 rect {
|
||||
fill: @yellow !important;
|
||||
}
|
||||
.highcharts-data-label-connector.highcharts-color-4 {
|
||||
stroke: @yellow !important;
|
||||
}
|
||||
/* color 5 */
|
||||
.highcharts-point.highcharts-color-5,
|
||||
.highcharts-halo.highcharts-color-5,
|
||||
.highcharts-legend-item.highcharts-bar-series.highcharts-color-5 rect {
|
||||
fill: @teal !important;
|
||||
}
|
||||
.highcharts-data-label-connector.highcharts-color-5 {
|
||||
stroke: @teal !important;
|
||||
}
|
||||
/* color 6 */
|
||||
.highcharts-point.highcharts-color-6,
|
||||
.highcharts-halo.highcharts-color-6,
|
||||
.highcharts-legend-item.highcharts-bar-series.highcharts-color-6 rect {
|
||||
fill: @pink !important;
|
||||
}
|
||||
.highcharts-data-label-connector.highcharts-color-6 {
|
||||
stroke: @pink !important;
|
||||
}
|
||||
/* color 7 */
|
||||
.highcharts-point.highcharts-color-7,
|
||||
.highcharts-halo.highcharts-color-7,
|
||||
.highcharts-legend-item.highcharts-bar-series.highcharts-color-7 rect {
|
||||
fill: @flamingo !important;
|
||||
}
|
||||
.highcharts-data-label-connector.highcharts-color-7 {
|
||||
stroke: @flamingo !important;
|
||||
}
|
||||
/* color 8 */
|
||||
.highcharts-point.highcharts-color-8,
|
||||
.highcharts-halo.highcharts-color-8,
|
||||
.highcharts-legend-item.highcharts-bar-series.highcharts-color-8 rect {
|
||||
fill: @subtext0 !important;
|
||||
}
|
||||
.highcharts-data-label-connector.highcharts-color-8 {
|
||||
stroke: @subtext0 !important;
|
||||
}
|
||||
/* color 9 */
|
||||
.highcharts-point.highcharts-color-9,
|
||||
.highcharts-halo.highcharts-color-9,
|
||||
.highcharts-legend-item.highcharts-bar-series.highcharts-color-9 rect {
|
||||
fill: @blue !important;
|
||||
}
|
||||
.highcharts-data-label-connector.highcharts-color-9 {
|
||||
stroke: @blue !important;
|
||||
}
|
||||
/* color 10 */
|
||||
.highcharts-point.highcharts-color-10,
|
||||
.highcharts-halo.highcharts-color-10,
|
||||
.highcharts-legend-item.highcharts-bar-series.highcharts-color-10 rect {
|
||||
fill: @mauve !important;
|
||||
}
|
||||
.highcharts-data-label-connector.highcharts-color-10 {
|
||||
stroke: @mauve !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* deno-fmt-ignore */
|
||||
@catppuccin: {
|
||||
@latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
|
||||
@frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
|
||||
@macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
|
||||
@mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
|
||||
};
|
||||
@@ -1,9 +1,9 @@
|
||||
/* ==UserStyle==
|
||||
@name Canvas LMS Catppuccin
|
||||
@name Canvas LMS Catppuccin [STUB | UPDATE REQUIRED]
|
||||
@namespace github.com/catppuccin/userstyles/styles/canvas-lms
|
||||
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/canvas-lms
|
||||
@version 2024.12.28
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/canvas-lms/catppuccin.user.css
|
||||
@version 2024.12.29
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/canvas-lms/catppuccin.user.less
|
||||
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Acanvas-lms
|
||||
@description Soothing pastel theme for Canvas LMS
|
||||
@author Catppuccin
|
||||
@@ -13,177 +13,4 @@
|
||||
@var select lightFlavor "Light Flavor" ["latte:Latte*", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha"]
|
||||
@var select darkFlavor "Dark Flavor" ["latte:Latte", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha*"]
|
||||
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
|
||||
==/UserStyle== */
|
||||
|
||||
@-moz-document domain("instructure.com") {
|
||||
@media (prefers-color-scheme: light) {
|
||||
:root {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
|
||||
#catppuccin(@lookup, @accent) {
|
||||
@rosewater: @catppuccin[@@lookup][@rosewater];
|
||||
@flamingo: @catppuccin[@@lookup][@flamingo];
|
||||
@pink: @catppuccin[@@lookup][@pink];
|
||||
@mauve: @catppuccin[@@lookup][@mauve];
|
||||
@red: @catppuccin[@@lookup][@red];
|
||||
@maroon: @catppuccin[@@lookup][@maroon];
|
||||
@peach: @catppuccin[@@lookup][@peach];
|
||||
@yellow: @catppuccin[@@lookup][@yellow];
|
||||
@green: @catppuccin[@@lookup][@green];
|
||||
@teal: @catppuccin[@@lookup][@teal];
|
||||
@sky: @catppuccin[@@lookup][@sky];
|
||||
@sapphire: @catppuccin[@@lookup][@sapphire];
|
||||
@blue: @catppuccin[@@lookup][@blue];
|
||||
@lavender: @catppuccin[@@lookup][@lavender];
|
||||
@text: @catppuccin[@@lookup][@text];
|
||||
@subtext1: @catppuccin[@@lookup][@subtext1];
|
||||
@subtext0: @catppuccin[@@lookup][@subtext0];
|
||||
@overlay2: @catppuccin[@@lookup][@overlay2];
|
||||
@overlay1: @catppuccin[@@lookup][@overlay1];
|
||||
@overlay0: @catppuccin[@@lookup][@overlay0];
|
||||
@surface2: @catppuccin[@@lookup][@surface2];
|
||||
@surface1: @catppuccin[@@lookup][@surface1];
|
||||
@surface0: @catppuccin[@@lookup][@surface0];
|
||||
@base: @catppuccin[@@lookup][@base];
|
||||
@mantle: @catppuccin[@@lookup][@mantle];
|
||||
@crust: @catppuccin[@@lookup][@crust];
|
||||
@accent-color: @catppuccin[@@lookup][@@accent];
|
||||
|
||||
color-scheme: if(@lookup = latte, light, dark);
|
||||
|
||||
::selection {
|
||||
background-color: fade(@accent-color, 30%);
|
||||
}
|
||||
|
||||
input,
|
||||
textarea {
|
||||
&::placeholder {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
#breadcrumbs,
|
||||
#printQuizButton,
|
||||
#content,
|
||||
.navigation-tray-container,
|
||||
.ic-Dashboard-header__layout,
|
||||
.button-sidebar-wide,
|
||||
.access_tokens,
|
||||
.context_modules,
|
||||
.textarea-container,
|
||||
.Button,
|
||||
.panel,
|
||||
span {
|
||||
background-color: @base;
|
||||
color: @accent-color;
|
||||
}
|
||||
|
||||
#application,
|
||||
.comments,
|
||||
.module-sequence-footer-content,
|
||||
.immersive_reader_mount_point,
|
||||
.context_modules {
|
||||
background: @base !important;
|
||||
background-color: @base !important;
|
||||
color: @accent-color !important;
|
||||
}
|
||||
|
||||
a,
|
||||
.page-title {
|
||||
color: fadeout(@text, 80%) !important;
|
||||
}
|
||||
|
||||
* {
|
||||
color: @text !important;
|
||||
background-color: @base !important;
|
||||
}
|
||||
.ic-DashboardCard,
|
||||
.ic-DashboardCard__header_content,
|
||||
.ic-DashboardCard__action-container,
|
||||
.ic-DashboardCard__header-subtitle,
|
||||
.ic-DashboardCard__header-title,
|
||||
.ic-DashboardCard__header-term {
|
||||
background-color: @surface0 !important;
|
||||
}
|
||||
|
||||
.ic-app-header__main-navigation,
|
||||
.ic-app-header__logomark-container {
|
||||
background-color: @crust !important;
|
||||
}
|
||||
|
||||
.ic-app-header__menu-list-item.ic-app-header__menu-list-item--active
|
||||
.ic-app-header__menu-list-link {
|
||||
background-color: fadeout(@crust, 80%);
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: @base;
|
||||
}
|
||||
|
||||
#right-side .events_list .event-details::after,
|
||||
#right-side .events_list .todo-details::after,
|
||||
#right-side .to-do-list .event-details::after,
|
||||
#right-side .to-do-list .todo-details::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
height: 100%;
|
||||
width: 12px;
|
||||
background: linear-gradient(
|
||||
to right,
|
||||
rgba(255, 255, 255, 0) 0%,
|
||||
@surface0 80%
|
||||
);
|
||||
}
|
||||
|
||||
:root {
|
||||
--ic-brand-global-nav-avatar-border: @accent-color;
|
||||
--ic-brand-font-color-dark: fadeout(@accent-color, 80%);
|
||||
--ic-brand-primary: @accent-color;
|
||||
--ic-brand-global-nav-ic-icon-svg-fill: fadeout(@accent-color, 50%);
|
||||
--eMdva-color: @base !important;
|
||||
--ccWIh-color: @crust;
|
||||
}
|
||||
.unread_count,
|
||||
.menu-item-icon-container,
|
||||
.menu-item__badge,
|
||||
.nav-badge {
|
||||
color: fadeout(@text, 80%);
|
||||
}
|
||||
|
||||
.list-view a.active {
|
||||
border-left-color: #007fff;
|
||||
color: #007fff;
|
||||
}
|
||||
|
||||
// Fix file preview
|
||||
nav.ViewerControls * {
|
||||
background-color: @surface1 !important;
|
||||
}
|
||||
div.Pages,
|
||||
.Page-container {
|
||||
background-color: #f2f2f2 !important;
|
||||
}
|
||||
.Page-container * {
|
||||
background-color: transparent !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* prettier-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; };
|
||||
}
|
||||
|
||||
// vim:ft=less
|
||||
==/UserStyle== */
|
||||
@@ -0,0 +1,187 @@
|
||||
/* ==UserStyle==
|
||||
@name Canvas LMS Catppuccin
|
||||
@namespace github.com/catppuccin/userstyles/styles/canvas-lms
|
||||
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/canvas-lms
|
||||
@version 2024.12.29.1
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/canvas-lms/catppuccin.user.less
|
||||
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Acanvas-lms
|
||||
@description Soothing pastel theme for Canvas LMS
|
||||
@author Catppuccin
|
||||
@license MIT
|
||||
|
||||
@preprocessor less
|
||||
@var select lightFlavor "Light Flavor" ["latte:Latte*", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha"]
|
||||
@var select darkFlavor "Dark Flavor" ["latte:Latte", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha*"]
|
||||
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
|
||||
==/UserStyle== */
|
||||
|
||||
@-moz-document domain("instructure.com") {
|
||||
@media (prefers-color-scheme: light) {
|
||||
:root {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
|
||||
#catppuccin(@lookup, @accent) {
|
||||
@rosewater: @catppuccin[@@lookup][@rosewater];
|
||||
@flamingo: @catppuccin[@@lookup][@flamingo];
|
||||
@pink: @catppuccin[@@lookup][@pink];
|
||||
@mauve: @catppuccin[@@lookup][@mauve];
|
||||
@red: @catppuccin[@@lookup][@red];
|
||||
@maroon: @catppuccin[@@lookup][@maroon];
|
||||
@peach: @catppuccin[@@lookup][@peach];
|
||||
@yellow: @catppuccin[@@lookup][@yellow];
|
||||
@green: @catppuccin[@@lookup][@green];
|
||||
@teal: @catppuccin[@@lookup][@teal];
|
||||
@sky: @catppuccin[@@lookup][@sky];
|
||||
@sapphire: @catppuccin[@@lookup][@sapphire];
|
||||
@blue: @catppuccin[@@lookup][@blue];
|
||||
@lavender: @catppuccin[@@lookup][@lavender];
|
||||
@text: @catppuccin[@@lookup][@text];
|
||||
@subtext1: @catppuccin[@@lookup][@subtext1];
|
||||
@subtext0: @catppuccin[@@lookup][@subtext0];
|
||||
@overlay2: @catppuccin[@@lookup][@overlay2];
|
||||
@overlay1: @catppuccin[@@lookup][@overlay1];
|
||||
@overlay0: @catppuccin[@@lookup][@overlay0];
|
||||
@surface2: @catppuccin[@@lookup][@surface2];
|
||||
@surface1: @catppuccin[@@lookup][@surface1];
|
||||
@surface0: @catppuccin[@@lookup][@surface0];
|
||||
@base: @catppuccin[@@lookup][@base];
|
||||
@mantle: @catppuccin[@@lookup][@mantle];
|
||||
@crust: @catppuccin[@@lookup][@crust];
|
||||
@accent-color: @catppuccin[@@lookup][@@accent];
|
||||
|
||||
color-scheme: if(@lookup = latte, light, dark);
|
||||
|
||||
::selection {
|
||||
background-color: fade(@accent-color, 30%);
|
||||
}
|
||||
|
||||
input,
|
||||
textarea {
|
||||
&::placeholder {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
#breadcrumbs,
|
||||
#printQuizButton,
|
||||
#content,
|
||||
.navigation-tray-container,
|
||||
.ic-Dashboard-header__layout,
|
||||
.button-sidebar-wide,
|
||||
.access_tokens,
|
||||
.context_modules,
|
||||
.textarea-container,
|
||||
.Button,
|
||||
.panel,
|
||||
span {
|
||||
background-color: @base;
|
||||
color: @accent-color;
|
||||
}
|
||||
|
||||
#application,
|
||||
.comments,
|
||||
.module-sequence-footer-content,
|
||||
.immersive_reader_mount_point,
|
||||
.context_modules {
|
||||
background: @base !important;
|
||||
background-color: @base !important;
|
||||
color: @accent-color !important;
|
||||
}
|
||||
|
||||
a,
|
||||
.page-title {
|
||||
color: fadeout(@text, 80%) !important;
|
||||
}
|
||||
|
||||
* {
|
||||
color: @text !important;
|
||||
background-color: @base !important;
|
||||
}
|
||||
.ic-DashboardCard,
|
||||
.ic-DashboardCard__header_content,
|
||||
.ic-DashboardCard__action-container,
|
||||
.ic-DashboardCard__header-subtitle,
|
||||
.ic-DashboardCard__header-title,
|
||||
.ic-DashboardCard__header-term {
|
||||
background-color: @surface0 !important;
|
||||
}
|
||||
|
||||
.ic-app-header__main-navigation,
|
||||
.ic-app-header__logomark-container {
|
||||
background-color: @crust !important;
|
||||
}
|
||||
|
||||
.ic-app-header__menu-list-item.ic-app-header__menu-list-item--active
|
||||
.ic-app-header__menu-list-link {
|
||||
background-color: fadeout(@crust, 80%);
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: @base;
|
||||
}
|
||||
|
||||
#right-side .events_list .event-details::after,
|
||||
#right-side .events_list .todo-details::after,
|
||||
#right-side .to-do-list .event-details::after,
|
||||
#right-side .to-do-list .todo-details::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
height: 100%;
|
||||
width: 12px;
|
||||
background: linear-gradient(
|
||||
to right,
|
||||
rgba(255, 255, 255, 0) 0%,
|
||||
@surface0 80%
|
||||
);
|
||||
}
|
||||
|
||||
:root {
|
||||
--ic-brand-global-nav-avatar-border: @accent-color;
|
||||
--ic-brand-font-color-dark: fadeout(@accent-color, 80%);
|
||||
--ic-brand-primary: @accent-color;
|
||||
--ic-brand-global-nav-ic-icon-svg-fill: fadeout(@accent-color, 50%);
|
||||
--eMdva-color: @base !important;
|
||||
--ccWIh-color: @crust;
|
||||
}
|
||||
.unread_count,
|
||||
.menu-item-icon-container,
|
||||
.menu-item__badge,
|
||||
.nav-badge {
|
||||
color: fadeout(@text, 80%);
|
||||
}
|
||||
|
||||
.list-view a.active {
|
||||
border-left-color: #007fff;
|
||||
color: #007fff;
|
||||
}
|
||||
|
||||
// Fix file preview
|
||||
nav.ViewerControls * {
|
||||
background-color: @surface1 !important;
|
||||
}
|
||||
div.Pages,
|
||||
.Page-container {
|
||||
background-color: #f2f2f2 !important;
|
||||
}
|
||||
.Page-container * {
|
||||
background-color: transparent !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* deno-fmt-ignore */
|
||||
@catppuccin: {
|
||||
@latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
|
||||
@frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
|
||||
@macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
|
||||
@mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
|
||||
};
|
||||
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
@@ -1,9 +1,9 @@
|
||||
/* ==UserStyle==
|
||||
@name ChatReplay Catppuccin
|
||||
@name ChatReplay Catppuccin [STUB | UPDATE REQUIRED]
|
||||
@namespace github.com/catppuccin/userstyles/styles/chatreplay
|
||||
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/chatreplay
|
||||
@version 2024.12.28
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/chatreplay/catppuccin.user.css
|
||||
@version 2024.12.29
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/chatreplay/catppuccin.user.less
|
||||
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Achatreplay
|
||||
@description Soothing pastel theme for ChatReplay
|
||||
@author Catppuccin
|
||||
@@ -16,202 +16,4 @@
|
||||
|
||||
@var range bg-opacity "Background Opacity" [0.2 , -0.05 , 1 , 0.05]
|
||||
@var range bg-blur "Background Blur" [20, 0, 100, 1, 'px']
|
||||
==/UserStyle== */
|
||||
|
||||
@-moz-document domain("chatreplay.stream") {
|
||||
:root[dark] #chat-container {
|
||||
#catppuccin(@darkFlavor, @accentColor, chat);
|
||||
}
|
||||
:root #chat-container {
|
||||
#catppuccin(@lightFlavor, @accentColor, chat);
|
||||
}
|
||||
@media (prefers-color-scheme: light) {
|
||||
:root {
|
||||
#catppuccin(@lightFlavor, @accentColor, base);
|
||||
}
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root {
|
||||
#catppuccin(@darkFlavor, @accentColor, base);
|
||||
}
|
||||
}
|
||||
|
||||
/* prettier-ignore */
|
||||
@catppuccin: {
|
||||
@latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
|
||||
@frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
|
||||
@macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
|
||||
@mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
|
||||
}
|
||||
|
||||
#catppuccin(@lookup, @accent, @platform) {
|
||||
@rosewater: @catppuccin[@@lookup][@rosewater];
|
||||
@flamingo: @catppuccin[@@lookup][@flamingo];
|
||||
@pink: @catppuccin[@@lookup][@pink];
|
||||
@mauve: @catppuccin[@@lookup][@mauve];
|
||||
@red: @catppuccin[@@lookup][@red];
|
||||
@maroon: @catppuccin[@@lookup][@maroon];
|
||||
@peach: @catppuccin[@@lookup][@peach];
|
||||
@yellow: @catppuccin[@@lookup][@yellow];
|
||||
@green: @catppuccin[@@lookup][@green];
|
||||
@teal: @catppuccin[@@lookup][@teal];
|
||||
@sky: @catppuccin[@@lookup][@sky];
|
||||
@sapphire: @catppuccin[@@lookup][@sapphire];
|
||||
@blue: @catppuccin[@@lookup][@blue];
|
||||
@lavender: @catppuccin[@@lookup][@lavender];
|
||||
@text: @catppuccin[@@lookup][@text];
|
||||
@subtext1: @catppuccin[@@lookup][@subtext1];
|
||||
@subtext0: @catppuccin[@@lookup][@subtext0];
|
||||
@overlay2: @catppuccin[@@lookup][@overlay2];
|
||||
@overlay1: @catppuccin[@@lookup][@overlay1];
|
||||
@overlay0: @catppuccin[@@lookup][@overlay0];
|
||||
@surface2: @catppuccin[@@lookup][@surface2];
|
||||
@surface1: @catppuccin[@@lookup][@surface1];
|
||||
@surface0: @catppuccin[@@lookup][@surface0];
|
||||
@base: @catppuccin[@@lookup][@base];
|
||||
@mantle: @catppuccin[@@lookup][@mantle];
|
||||
@crust: @catppuccin[@@lookup][@crust];
|
||||
@accent-color: @catppuccin[@@lookup][@@accent];
|
||||
|
||||
color-scheme: if(@lookup = latte, light, dark);
|
||||
|
||||
::selection {
|
||||
background-color: fade(@accent-color, 30%);
|
||||
}
|
||||
|
||||
input,
|
||||
textarea {
|
||||
&::placeholder {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
& when (@platform = chat) {
|
||||
a:not(.username),
|
||||
i {
|
||||
color: @accent-color;
|
||||
}
|
||||
color: @text;
|
||||
--text-color: @text;
|
||||
--timestamp-color: @subtext1;
|
||||
--bg-color: @base;
|
||||
--bg-color-transparent: fade(@base, 10%);
|
||||
--settings-bg-color: @mantle;
|
||||
--btn-bg-color: @surface0;
|
||||
--bg-color-highlight: @surface0;
|
||||
--scrollbar-thumb: @surface0;
|
||||
--btn-hover-bg: @surface1;
|
||||
--link-color: @accent-color;
|
||||
--border-color: @surface0;
|
||||
--settings-shadow: 0 4px 8px rgba(@crust, 0.4), 0 0 4px rgba(@crust, 0.4);
|
||||
.message-notice {
|
||||
border-left-color: @accent-color;
|
||||
}
|
||||
.message--highlighted a {
|
||||
color: @accent-color;
|
||||
}
|
||||
.message--highlighted {
|
||||
background: @accent-color;
|
||||
border-color: @accent-color;
|
||||
color: @base;
|
||||
text-shadow: none;
|
||||
}
|
||||
.red-dot::after {
|
||||
background: @red;
|
||||
}
|
||||
&[overlay] {
|
||||
--bg-color: rgba(@base, var(--overlay-opacity));
|
||||
--bg-color-highlight: rgba(
|
||||
@base,
|
||||
max(0.4, calc(var(--overlay-opacity) * 1.2))
|
||||
);
|
||||
--text-shadow: -1px -1px 0px @base, 0px -1px 0px @base,
|
||||
1px -1px 0px @base, -1px 0px 0px @base, 1px 0px 0px @base,
|
||||
-1px 1px 0px @base, 0px 1px 0px @base, 1px 1px 0px @base;
|
||||
--text-color: @text;
|
||||
}
|
||||
.resume-scroll {
|
||||
background-color: @surface0;
|
||||
}
|
||||
}
|
||||
@keyframes rotating {
|
||||
0% {
|
||||
transform: rotate(0);
|
||||
}
|
||||
|
||||
100% {
|
||||
transform: rotate(360deg);
|
||||
scale: 1.5;
|
||||
fill: @red;
|
||||
}
|
||||
}
|
||||
|
||||
& when (@platform = base) {
|
||||
background-color: @base;
|
||||
color: @text;
|
||||
|
||||
body {
|
||||
color: @text;
|
||||
}
|
||||
.card {
|
||||
background: fade(@crust, 80%);
|
||||
}
|
||||
.card.c1cw4bqg.c1cw4bqg {
|
||||
color: @subtext0;
|
||||
}
|
||||
a,
|
||||
i {
|
||||
color: @accent-color;
|
||||
}
|
||||
button.gradient,
|
||||
.btn.gradient {
|
||||
background: linear-gradient(
|
||||
45deg,
|
||||
@accent-color,
|
||||
spin(@accent-color, 45)
|
||||
);
|
||||
color: @base;
|
||||
text-shadow: none;
|
||||
}
|
||||
button:not(.custom),
|
||||
.btn {
|
||||
background: @surface0;
|
||||
text-shadow: none;
|
||||
color: @text;
|
||||
}
|
||||
.item.zmyc33:hover,
|
||||
.item.active.zmyc33 {
|
||||
background-color: @surface0;
|
||||
}
|
||||
.video-title.damcrq,
|
||||
.logo-text.c1j5psx1.c1j5psx1 {
|
||||
color: @text;
|
||||
}
|
||||
[d="M 4,0 1,3 v 10 h 4 v 3 l 3,-3 h 2 L 15,8 V 0 Z m 10,7 -3,3 H 9 L 7,12 V 10 H 5 V 1 h 9 z"],
|
||||
[d="m 8.5,3 3,2 -3,2 z"] {
|
||||
fill: @accent-color;
|
||||
}
|
||||
[d="m 4,1 h 10 v 7 l -4,4 H 4 Z"] {
|
||||
fill: @base;
|
||||
}
|
||||
.delete.c19loos5.c19loos5 {
|
||||
border-color: @red;
|
||||
}
|
||||
.mark.z8oy0d.z8oy0d {
|
||||
background: @accent-color;
|
||||
color: @base;
|
||||
}
|
||||
.bg.c1ejz165.c1ejz165 {
|
||||
opacity: @bg-opacity;
|
||||
filter: blur(@bg-blur);
|
||||
}
|
||||
// .topbar-container.c1j5psx1.c1j5psx1 {
|
||||
// border-bottom: none;
|
||||
// }
|
||||
#inner-a.tmgko.tmgko {
|
||||
background: @mantle;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
// vim:ft=less
|
||||
==/UserStyle== */
|
||||
@@ -0,0 +1,217 @@
|
||||
/* ==UserStyle==
|
||||
@name ChatReplay Catppuccin
|
||||
@namespace github.com/catppuccin/userstyles/styles/chatreplay
|
||||
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/chatreplay
|
||||
@version 2024.12.29.1
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/chatreplay/catppuccin.user.less
|
||||
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Achatreplay
|
||||
@description Soothing pastel theme for ChatReplay
|
||||
@author Catppuccin
|
||||
@license MIT
|
||||
|
||||
@preprocessor less
|
||||
@var select lightFlavor "Light Flavor" ["latte:Latte*", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha"]
|
||||
@var select darkFlavor "Dark Flavor" ["latte:Latte", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha*"]
|
||||
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
|
||||
|
||||
@var range bg-opacity "Background Opacity" [0.2 , -0.05 , 1 , 0.05]
|
||||
@var range bg-blur "Background Blur" [20, 0, 100, 1, 'px']
|
||||
==/UserStyle== */
|
||||
|
||||
@-moz-document domain("chatreplay.stream") {
|
||||
:root[dark] #chat-container {
|
||||
#catppuccin(@darkFlavor, @accentColor, chat);
|
||||
}
|
||||
:root #chat-container {
|
||||
#catppuccin(@lightFlavor, @accentColor, chat);
|
||||
}
|
||||
@media (prefers-color-scheme: light) {
|
||||
:root {
|
||||
#catppuccin(@lightFlavor, @accentColor, base);
|
||||
}
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root {
|
||||
#catppuccin(@darkFlavor, @accentColor, base);
|
||||
}
|
||||
}
|
||||
|
||||
/* deno-fmt-ignore */
|
||||
@catppuccin: {
|
||||
@latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
|
||||
@frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
|
||||
@macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
|
||||
@mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
|
||||
};
|
||||
|
||||
#catppuccin(@lookup, @accent, @platform) {
|
||||
@rosewater: @catppuccin[@@lookup][@rosewater];
|
||||
@flamingo: @catppuccin[@@lookup][@flamingo];
|
||||
@pink: @catppuccin[@@lookup][@pink];
|
||||
@mauve: @catppuccin[@@lookup][@mauve];
|
||||
@red: @catppuccin[@@lookup][@red];
|
||||
@maroon: @catppuccin[@@lookup][@maroon];
|
||||
@peach: @catppuccin[@@lookup][@peach];
|
||||
@yellow: @catppuccin[@@lookup][@yellow];
|
||||
@green: @catppuccin[@@lookup][@green];
|
||||
@teal: @catppuccin[@@lookup][@teal];
|
||||
@sky: @catppuccin[@@lookup][@sky];
|
||||
@sapphire: @catppuccin[@@lookup][@sapphire];
|
||||
@blue: @catppuccin[@@lookup][@blue];
|
||||
@lavender: @catppuccin[@@lookup][@lavender];
|
||||
@text: @catppuccin[@@lookup][@text];
|
||||
@subtext1: @catppuccin[@@lookup][@subtext1];
|
||||
@subtext0: @catppuccin[@@lookup][@subtext0];
|
||||
@overlay2: @catppuccin[@@lookup][@overlay2];
|
||||
@overlay1: @catppuccin[@@lookup][@overlay1];
|
||||
@overlay0: @catppuccin[@@lookup][@overlay0];
|
||||
@surface2: @catppuccin[@@lookup][@surface2];
|
||||
@surface1: @catppuccin[@@lookup][@surface1];
|
||||
@surface0: @catppuccin[@@lookup][@surface0];
|
||||
@base: @catppuccin[@@lookup][@base];
|
||||
@mantle: @catppuccin[@@lookup][@mantle];
|
||||
@crust: @catppuccin[@@lookup][@crust];
|
||||
@accent-color: @catppuccin[@@lookup][@@accent];
|
||||
|
||||
color-scheme: if(@lookup = latte, light, dark);
|
||||
|
||||
::selection {
|
||||
background-color: fade(@accent-color, 30%);
|
||||
}
|
||||
|
||||
input,
|
||||
textarea {
|
||||
&::placeholder {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
& when (@platform = chat) {
|
||||
a:not(.username),
|
||||
i {
|
||||
color: @accent-color;
|
||||
}
|
||||
color: @text;
|
||||
--text-color: @text;
|
||||
--timestamp-color: @subtext1;
|
||||
--bg-color: @base;
|
||||
--bg-color-transparent: fade(@base, 10%);
|
||||
--settings-bg-color: @mantle;
|
||||
--btn-bg-color: @surface0;
|
||||
--bg-color-highlight: @surface0;
|
||||
--scrollbar-thumb: @surface0;
|
||||
--btn-hover-bg: @surface1;
|
||||
--link-color: @accent-color;
|
||||
--border-color: @surface0;
|
||||
--settings-shadow: 0 4px 8px rgba(@crust, 0.4), 0 0 4px rgba(@crust, 0.4);
|
||||
.message-notice {
|
||||
border-left-color: @accent-color;
|
||||
}
|
||||
.message--highlighted a {
|
||||
color: @accent-color;
|
||||
}
|
||||
.message--highlighted {
|
||||
background: @accent-color;
|
||||
border-color: @accent-color;
|
||||
color: @base;
|
||||
text-shadow: none;
|
||||
}
|
||||
.red-dot::after {
|
||||
background: @red;
|
||||
}
|
||||
&[overlay] {
|
||||
--bg-color: rgba(@base, var(--overlay-opacity));
|
||||
--bg-color-highlight: rgba(
|
||||
@base,
|
||||
max(0.4, calc(var(--overlay-opacity) * 1.2))
|
||||
);
|
||||
--text-shadow:
|
||||
-1px -1px 0px @base, 0px -1px 0px @base, 1px -1px 0px @base, -1px 0px
|
||||
0px @base, 1px 0px 0px @base, -1px 1px 0px @base, 0px 1px 0px @base,
|
||||
1px 1px 0px @base;
|
||||
--text-color: @text;
|
||||
}
|
||||
.resume-scroll {
|
||||
background-color: @surface0;
|
||||
}
|
||||
}
|
||||
@keyframes rotating {
|
||||
0% {
|
||||
transform: rotate(0);
|
||||
}
|
||||
|
||||
100% {
|
||||
transform: rotate(360deg);
|
||||
scale: 1.5;
|
||||
fill: @red;
|
||||
}
|
||||
}
|
||||
|
||||
& when (@platform = base) {
|
||||
background-color: @base;
|
||||
color: @text;
|
||||
|
||||
body {
|
||||
color: @text;
|
||||
}
|
||||
.card {
|
||||
background: fade(@crust, 80%);
|
||||
}
|
||||
.card.c1cw4bqg.c1cw4bqg {
|
||||
color: @subtext0;
|
||||
}
|
||||
a,
|
||||
i {
|
||||
color: @accent-color;
|
||||
}
|
||||
button.gradient,
|
||||
.btn.gradient {
|
||||
background: linear-gradient(
|
||||
45deg,
|
||||
@accent-color,
|
||||
spin(@accent-color, 45)
|
||||
);
|
||||
color: @base;
|
||||
text-shadow: none;
|
||||
}
|
||||
button:not(.custom),
|
||||
.btn {
|
||||
background: @surface0;
|
||||
text-shadow: none;
|
||||
color: @text;
|
||||
}
|
||||
.item.zmyc33:hover,
|
||||
.item.active.zmyc33 {
|
||||
background-color: @surface0;
|
||||
}
|
||||
.video-title.damcrq,
|
||||
.logo-text.c1j5psx1.c1j5psx1 {
|
||||
color: @text;
|
||||
}
|
||||
[d="M 4,0 1,3 v 10 h 4 v 3 l 3,-3 h 2 L 15,8 V 0 Z m 10,7 -3,3 H 9 L 7,12 V 10 H 5 V 1 h 9 z"],
|
||||
[d="m 8.5,3 3,2 -3,2 z"] {
|
||||
fill: @accent-color;
|
||||
}
|
||||
[d="m 4,1 h 10 v 7 l -4,4 H 4 Z"] {
|
||||
fill: @base;
|
||||
}
|
||||
.delete.c19loos5.c19loos5 {
|
||||
border-color: @red;
|
||||
}
|
||||
.mark.z8oy0d.z8oy0d {
|
||||
background: @accent-color;
|
||||
color: @base;
|
||||
}
|
||||
.bg.c1ejz165.c1ejz165 {
|
||||
opacity: @bg-opacity;
|
||||
filter: blur(@bg-blur);
|
||||
}
|
||||
// .topbar-container.c1j5psx1.c1j5psx1 {
|
||||
// border-bottom: none;
|
||||
// }
|
||||
#inner-a.tmgko.tmgko {
|
||||
background: @mantle;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,9 +1,9 @@
|
||||
/* ==UserStyle==
|
||||
@name Chess.com Catppuccin
|
||||
@name Chess.com Catppuccin [STUB | UPDATE REQUIRED]
|
||||
@namespace github.com/catppuccin/userstyles/styles/chess.com
|
||||
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/chess.com
|
||||
@version 2024.12.28
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/chess.com/catppuccin.user.css
|
||||
@version 2024.12.29
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/chess.com/catppuccin.user.less
|
||||
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Achess.com
|
||||
@description Soothing pastel theme for Chess.com
|
||||
@author Catppuccin
|
||||
@@ -15,730 +15,4 @@
|
||||
@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 highlightColor "Highlight" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve", "red:Red", "maroon:Maroon*", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
|
||||
==/UserStyle== */
|
||||
|
||||
@-moz-document domain("chess.com") {
|
||||
:root {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
|
||||
:root.dark-mode {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
}
|
||||
|
||||
#catppuccin(@lookup, @accent) {
|
||||
@rosewater: @catppuccin[@@lookup][@rosewater];
|
||||
@flamingo: @catppuccin[@@lookup][@flamingo];
|
||||
@pink: @catppuccin[@@lookup][@pink];
|
||||
@mauve: @catppuccin[@@lookup][@mauve];
|
||||
@red: @catppuccin[@@lookup][@red];
|
||||
@maroon: @catppuccin[@@lookup][@maroon];
|
||||
@peach: @catppuccin[@@lookup][@peach];
|
||||
@yellow: @catppuccin[@@lookup][@yellow];
|
||||
@green: @catppuccin[@@lookup][@green];
|
||||
@teal: @catppuccin[@@lookup][@teal];
|
||||
@sky: @catppuccin[@@lookup][@sky];
|
||||
@sapphire: @catppuccin[@@lookup][@sapphire];
|
||||
@blue: @catppuccin[@@lookup][@blue];
|
||||
@lavender: @catppuccin[@@lookup][@lavender];
|
||||
@text: @catppuccin[@@lookup][@text];
|
||||
@subtext1: @catppuccin[@@lookup][@subtext1];
|
||||
@subtext0: @catppuccin[@@lookup][@subtext0];
|
||||
@overlay2: @catppuccin[@@lookup][@overlay2];
|
||||
@overlay1: @catppuccin[@@lookup][@overlay1];
|
||||
@overlay0: @catppuccin[@@lookup][@overlay0];
|
||||
@surface2: @catppuccin[@@lookup][@surface2];
|
||||
@surface1: @catppuccin[@@lookup][@surface1];
|
||||
@surface0: @catppuccin[@@lookup][@surface0];
|
||||
@base: @catppuccin[@@lookup][@base];
|
||||
@mantle: @catppuccin[@@lookup][@mantle];
|
||||
@crust: @catppuccin[@@lookup][@crust];
|
||||
@accent-color: @catppuccin[@@lookup][@@accent];
|
||||
|
||||
@highlight-color: @catppuccin[@@lookup][@@highlightColor];
|
||||
|
||||
color-scheme: if(@lookup = latte, light, dark);
|
||||
|
||||
::selection {
|
||||
background-color: fade(@accent-color, 30%);
|
||||
}
|
||||
|
||||
input,
|
||||
textarea {
|
||||
&::placeholder {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
--color-bg-opaque: @mantle;
|
||||
--color-bg-opaque-lighter: @base;
|
||||
--color-bg-subtle: @surface1;
|
||||
--color-bg-subtler: @surface0;
|
||||
--color-bg-input: @mantle;
|
||||
--color-bg-speech: @surface0;
|
||||
--color-bg-secondary: @surface0;
|
||||
--color-bg-tertiary: @surface1;
|
||||
--color-bg-quaternary: @surface2;
|
||||
--color-gray-100: @overlay1;
|
||||
--color-text-speech: @text;
|
||||
|
||||
--color-icon-default: @subtext0;
|
||||
--color-icon-default-hovered: @subtext1;
|
||||
--color-icon-bolder: @subtext1;
|
||||
--color-icon-boldest: @text;
|
||||
|
||||
--color-text-boldest: @text;
|
||||
--color-text-bolder: @text;
|
||||
--color-text-default: @text;
|
||||
--color-text-default-hovered: @subtext1;
|
||||
--color-text-subtle: @subtext1;
|
||||
--color-text-placeholder: @subtext0;
|
||||
--color-text-inverse: @crust;
|
||||
--color-text-link: @blue;
|
||||
--color-text-link-hovered: @sky;
|
||||
|
||||
--color-border-default: @surface1;
|
||||
--color-border-subtle: @overlay2;
|
||||
--color-border-selected: @accent-color;
|
||||
|
||||
--color-green-300: @accent-color;
|
||||
--color-red-300: @red; /* Danger */
|
||||
--color-red-400: @red; /* Danger */
|
||||
--color-green-400: @green; /* Success */
|
||||
|
||||
/* Links */
|
||||
--color-blue-200: @sapphire;
|
||||
--color-blue-300: @sky;
|
||||
--color-blue-400: @blue;
|
||||
|
||||
--color-classification-blunder: @red;
|
||||
--color-classification-miss: @maroon;
|
||||
--color-classification-mistake: @peach;
|
||||
--color-classification-inaccuracy: @yellow;
|
||||
--color-classification-best: @green;
|
||||
--color-classification-excellent: @green;
|
||||
--color-classification-good: @teal;
|
||||
--color-classification-great: @blue;
|
||||
--color-classification-brilliant: @sapphire;
|
||||
--color-classification-book: @rosewater;
|
||||
|
||||
--color-icon-win: @green;
|
||||
--color-text-win: @green;
|
||||
--color-icon-draw: @subtext0;
|
||||
--color-text-draw: @subtext0;
|
||||
--color-bg-draw: @subtext0;
|
||||
--color-border-draw: var(--color-transparent-white-10);
|
||||
--color-icon-loss: @red;
|
||||
--color-text-loss: @red;
|
||||
--color-border-loss: @red;
|
||||
|
||||
--color-icon-bullet: @peach;
|
||||
--color-icon-blitz: @yellow;
|
||||
|
||||
body {
|
||||
--theme-background-color: @base !important;
|
||||
--theme-background-image: none;
|
||||
|
||||
--globalBackground: @mantle !important;
|
||||
--globalBackgroundOpaque: @mantle !important;
|
||||
--globalSecondaryBackground: @crust !important;
|
||||
--globalTertiaryBackground: @surface0 !important;
|
||||
--globalAccentBackground: @accent-color !important;
|
||||
--globalSecondaryAccentBackground: @surface0 !important;
|
||||
--globalSiteBackground: @base !important;
|
||||
--globalBorder: @surface0 !important;
|
||||
--globalColorThemeFull: @text !important;
|
||||
--globalColorThemeHigh: @text;
|
||||
--globalColorThemeMid: @overlay2 !important;
|
||||
--globalColorThemeLow: @overlay0 !important;
|
||||
--globalColorThemeLower: @base !important;
|
||||
--globalColorThemeLink: @sapphire !important;
|
||||
--globalColorThemeBlueToMid: @text;
|
||||
--globalOverlayBackground: @base !important;
|
||||
--globalColorWin: @green !important;
|
||||
--globalColorDraw: @accent-color !important;
|
||||
--globalColorLoss: @red !important;
|
||||
|
||||
--labelBgColor: @surface1;
|
||||
--activeLabelColor: @accent-color;
|
||||
--buttonBgColor: @text;
|
||||
|
||||
--nodeColor: @text;
|
||||
--nodeBackground: @yellow;
|
||||
}
|
||||
|
||||
/* Home page */
|
||||
.index-title,
|
||||
.index-info-item-counter {
|
||||
color: @text !important;
|
||||
}
|
||||
.index-info-item {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
.index-suggestion-title,
|
||||
.index-posts-title,
|
||||
.index-post-name {
|
||||
color: @text;
|
||||
}
|
||||
.index-quote-author,
|
||||
.index-quote-body,
|
||||
.index-post-author {
|
||||
color: @subtext1;
|
||||
}
|
||||
|
||||
.promo-title,
|
||||
.promo-rank {
|
||||
color: @text;
|
||||
}
|
||||
.promo-subtitle {
|
||||
color: @subtext1;
|
||||
}
|
||||
|
||||
.home-username-link {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
/* Lessons page */
|
||||
.level-title {
|
||||
color: @text;
|
||||
}
|
||||
.level-desc,
|
||||
.course-header-description strong {
|
||||
color: @subtext1;
|
||||
}
|
||||
|
||||
.lessons-search-filter {
|
||||
.form-dropdown-chevron,
|
||||
.form-dropdown-control-label,
|
||||
.form-dropdown-value {
|
||||
color: @subtext1;
|
||||
}
|
||||
}
|
||||
|
||||
/* Play lesson video */
|
||||
.lesson-status {
|
||||
background-color: @text;
|
||||
}
|
||||
|
||||
/* More page */
|
||||
.landing-header {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
/* UI */
|
||||
.v5-title-label {
|
||||
color: @text;
|
||||
}
|
||||
.v5-tabs-list,
|
||||
.v5-tabs-list-dark {
|
||||
--borderColor: @surface2;
|
||||
--tabTitleColor: @subtext0;
|
||||
--tabHoverTitleColor: @subtext1;
|
||||
--tabSelectedBorderColor: @subtext1;
|
||||
--tabSelectedTitleColor: @text;
|
||||
}
|
||||
.ui_v5-input-component {
|
||||
--borderColor: @surface0;
|
||||
--borderFocus: @surface1;
|
||||
--bgColor: @base;
|
||||
--textColor: @text;
|
||||
--secondaryTextColor: @subtext1;
|
||||
}
|
||||
.ui_v5-input-group-component {
|
||||
--inputIconColor: @subtext0;
|
||||
}
|
||||
.ui_v5-button-component {
|
||||
--boxShadow: none;
|
||||
--boxShadowHover: none;
|
||||
box-shadow: none;
|
||||
|
||||
&.ui_v5-button-basic {
|
||||
--basicColor: @text !important;
|
||||
--basicHoverColor: @text !important;
|
||||
--basicBgColor: @surface1 !important;
|
||||
--basicBghover: @surface2 !important;
|
||||
--borderColor: @surface0 !important;
|
||||
}
|
||||
|
||||
&.ui_v5-button-primary {
|
||||
color: @crust !important;
|
||||
background-color: @accent-color;
|
||||
|
||||
&:hover {
|
||||
background-color: darken(@accent-color, 5%);
|
||||
box-shadow: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
.ui_v5-select-component {
|
||||
--borderColor: @surface0;
|
||||
--borderFocus: @surface1;
|
||||
--bgColor: @base;
|
||||
--textColor: @text;
|
||||
--arrowColor: @subtext0;
|
||||
}
|
||||
.ui_pagination-item-component {
|
||||
--paginationColor: @text;
|
||||
--paginationBgColor: @surface1;
|
||||
--paginationBgHover: @surface2;
|
||||
--paginationColorMuted: @base;
|
||||
--paginationBgColorMuted: @overlay1;
|
||||
}
|
||||
|
||||
.nav-link-text {
|
||||
color: @text !important;
|
||||
}
|
||||
.nav-menu-area:last-of-type .icon-font-chess {
|
||||
color: @mantle !important;
|
||||
}
|
||||
.nav-link-main-design,
|
||||
.nav-link-main-link {
|
||||
color: @text !important;
|
||||
|
||||
&:hover {
|
||||
color: @subtext1 !important;
|
||||
}
|
||||
}
|
||||
|
||||
#tb {
|
||||
.toolbar-action-icon {
|
||||
color: @subtext1;
|
||||
}
|
||||
|
||||
.toolbar-action-wrapper:hover .toolbar-action-icon {
|
||||
color: @text !important;
|
||||
}
|
||||
}
|
||||
|
||||
#sb {
|
||||
color: @subtext0;
|
||||
|
||||
&.open {
|
||||
background-color: @mantle;
|
||||
}
|
||||
|
||||
.nav-action:hover {
|
||||
background-color: @surface0;
|
||||
color: @text;
|
||||
}
|
||||
|
||||
.nav-panel-shade,
|
||||
.nav-panel-theme-bg,
|
||||
.nav-action.has-popover + .nav-popover {
|
||||
background: @mantle !important;
|
||||
}
|
||||
|
||||
.nav-popover.dark .btn-link {
|
||||
color: @text;
|
||||
}
|
||||
.nav-menu-area:last-of-type {
|
||||
color: @text !important;
|
||||
}
|
||||
.nav-popover.nav-search {
|
||||
--search-bg-color: @surface0;
|
||||
}
|
||||
}
|
||||
|
||||
.nav-popover.dark {
|
||||
background: @mantle;
|
||||
}
|
||||
|
||||
.section-heading-component .back-link-component {
|
||||
color: currentcolor;
|
||||
}
|
||||
.section-heading-black {
|
||||
background-color: @surface1;
|
||||
color: @text;
|
||||
}
|
||||
.nav-section-header-component {
|
||||
background-color: @base;
|
||||
color: @text;
|
||||
}
|
||||
|
||||
.popover-friends-header,
|
||||
.popover-friends-content,
|
||||
.popover-messages-header,
|
||||
.popover-messages-content,
|
||||
.popover-settings-header,
|
||||
.popover-settings-content {
|
||||
background: @mantle;
|
||||
}
|
||||
|
||||
/* Buttons */
|
||||
|
||||
.selector-button-button,
|
||||
.time-selector-button-button {
|
||||
background: @surface0;
|
||||
|
||||
&:hover {
|
||||
background: @surface1;
|
||||
}
|
||||
}
|
||||
|
||||
.cc-switch-checkbox:not(.cc-switch-readonly):checked
|
||||
+ .cc-switch-label
|
||||
.cc-switch-button {
|
||||
background-color: @surface1;
|
||||
}
|
||||
|
||||
.cc-button-component,
|
||||
.cc-button-primary {
|
||||
--bgColor: @accent-color;
|
||||
--bgColorHover: darken(@accent-color, 5%);
|
||||
--textColor: @crust;
|
||||
--textColorHover: @crust;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.cc-button-primary,
|
||||
.cc-button-monetization {
|
||||
--borderBottomLine: darken(@accent-color, 2%);
|
||||
--borderBottomLineHover: darken(@accent-color, 4%);
|
||||
}
|
||||
|
||||
.cc-button-secondary {
|
||||
--bgColor: @surface0;
|
||||
--bgColorHover: darken(@surface0, 5%);
|
||||
--iconColor: @text;
|
||||
--iconColorHover: @text;
|
||||
--textColor: @text;
|
||||
--textColorHover: @text;
|
||||
}
|
||||
|
||||
.cc-button-danger {
|
||||
--bgColor: @red;
|
||||
--bgColorHover: darken(@red, 5%);
|
||||
color: @crust;
|
||||
}
|
||||
|
||||
.v5-section-shadow,
|
||||
.v5-section-shadow-hover {
|
||||
--linkHoverBackground: @surface1;
|
||||
--linkBoxShadow: 0 0.5rem 0 0 @surface2;
|
||||
}
|
||||
|
||||
/* Game */
|
||||
|
||||
.user-username-component,
|
||||
.cc-user-username-white,
|
||||
.cc-user-rating-white {
|
||||
color: @text;
|
||||
text-shadow: none;
|
||||
}
|
||||
|
||||
.user-tagline-rating.user-tagline-white {
|
||||
color: @overlay1;
|
||||
}
|
||||
|
||||
.clock-component.clock-black {
|
||||
background: @surface0;
|
||||
}
|
||||
.clock-component.clock-white {
|
||||
background: @text;
|
||||
}
|
||||
|
||||
.highlight {
|
||||
background: @highlight-color !important;
|
||||
opacity: 1 !important;
|
||||
}
|
||||
.hover-square rect {
|
||||
stroke: @overlay1 !important;
|
||||
}
|
||||
.hint {
|
||||
background-color: @overlay1;
|
||||
filter: drop-shadow(0 0 1px @crust);
|
||||
}
|
||||
.capture-hint {
|
||||
background-color: @overlay1;
|
||||
filter: drop-shadow(0 0 1px @crust);
|
||||
z-index: -1;
|
||||
}
|
||||
|
||||
/* Review/evaluation */
|
||||
|
||||
.evaluation-bar-bar {
|
||||
.evaluation-bar-black {
|
||||
background-color: @surface2;
|
||||
}
|
||||
.evaluation-bar-draw {
|
||||
background-color: @overlay1;
|
||||
}
|
||||
.evaluation-bar-white {
|
||||
background-color: @text;
|
||||
}
|
||||
}
|
||||
|
||||
.review-rating-white {
|
||||
background-color: @text;
|
||||
}
|
||||
.review-rating-black {
|
||||
background-color: @surface0;
|
||||
color: @text;
|
||||
}
|
||||
|
||||
.overview-view-new-game-button {
|
||||
background-color: @surface1;
|
||||
}
|
||||
|
||||
.arrow {
|
||||
fill: @overlay0 !important;
|
||||
}
|
||||
|
||||
g#winner [fill="#dbac16"] {
|
||||
fill: @yellow !important;
|
||||
}
|
||||
|
||||
/* Game over */
|
||||
|
||||
.modal-game-over-header-grey,
|
||||
.modal-game-over-header-black-win,
|
||||
.game-over-header-component {
|
||||
background-color: @base;
|
||||
color: @text;
|
||||
}
|
||||
|
||||
.modal-game-over-user-winner-active,
|
||||
.modal-game-over-user-crown {
|
||||
background: @lavender;
|
||||
}
|
||||
|
||||
.game-over-review-button-label {
|
||||
color: @crust;
|
||||
text-shadow: none;
|
||||
}
|
||||
|
||||
/* Ads */
|
||||
|
||||
.placeholder-ad-upgrade {
|
||||
background-color: @accent-color;
|
||||
}
|
||||
.placeholder-ad-link {
|
||||
color: @crust;
|
||||
}
|
||||
|
||||
.modal-trial-component.modal-trial-special-offer {
|
||||
.modal-trial-header-background {
|
||||
background-color: @accent-color;
|
||||
}
|
||||
}
|
||||
|
||||
.coach-nudges-modal-component {
|
||||
background: @mantle;
|
||||
}
|
||||
|
||||
.ready-to-play-banner-component {
|
||||
background-color: @mantle;
|
||||
|
||||
.ready-to-play-banner-title,
|
||||
.ready-to-play-banner-list {
|
||||
color: @text;
|
||||
}
|
||||
}
|
||||
|
||||
.notifications-links-trial .nav-link-text {
|
||||
color: @crust !important;
|
||||
}
|
||||
|
||||
/* Misc */
|
||||
|
||||
/* GM/IM/etc badge */
|
||||
--color-bg-chesstitle: @accent-color;
|
||||
.course-author-title,
|
||||
.course-header-author-title,
|
||||
.form-dropdown-short-title,
|
||||
.index-chess-title,
|
||||
.leaderboard-index-chess-title,
|
||||
.player-header-title,
|
||||
.category-headline-chess-title {
|
||||
color: @crust !important;
|
||||
}
|
||||
|
||||
.tooltip-body {
|
||||
background: @surface0;
|
||||
color: @text;
|
||||
|
||||
&::after {
|
||||
border-top-color: @surface0 !important;
|
||||
}
|
||||
}
|
||||
.popup-component {
|
||||
background-color: @surface0;
|
||||
color: @text;
|
||||
|
||||
&.popup-left .popup-arrow {
|
||||
border-left-color: @surface0;
|
||||
}
|
||||
&.popup-right .popup-arrow {
|
||||
border-right-color: @surface0;
|
||||
}
|
||||
}
|
||||
|
||||
/* Error banner */
|
||||
.alerts-alert {
|
||||
color: @crust;
|
||||
}
|
||||
|
||||
div.mode-selection-button-selected {
|
||||
> .mode-selection-button-description {
|
||||
color: @surface1;
|
||||
}
|
||||
|
||||
> .mode-selection-button-mode {
|
||||
color: @mantle;
|
||||
}
|
||||
}
|
||||
|
||||
.status-component {
|
||||
background-color: @accent-color;
|
||||
color: @crust;
|
||||
}
|
||||
|
||||
.navigation-footer-page-component,
|
||||
.navigation-footer-platform-icon {
|
||||
color: @subtext1;
|
||||
text-shadow: none;
|
||||
}
|
||||
|
||||
.download-button-button {
|
||||
color: @crust !important;
|
||||
}
|
||||
|
||||
.table-hover tbody tr:hover {
|
||||
background-color: @surface2;
|
||||
}
|
||||
|
||||
/* Board */
|
||||
@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>'
|
||||
);
|
||||
|
||||
#board-play-computer,
|
||||
.fade-in-overlay {
|
||||
background-image: url("data:image/svg+xml,@{board}");
|
||||
}
|
||||
|
||||
.coordinate-light {
|
||||
fill: @accent-color;
|
||||
}
|
||||
.coordinate-dark {
|
||||
fill: @surface0;
|
||||
}
|
||||
|
||||
/*
|
||||
The "Tatiana" piece set.
|
||||
|
||||
Author: sadsnake1
|
||||
License: CC BY-NC-SA 4.0 (https://creativecommons.org/licenses/by-nc-sa/4.0/)
|
||||
Source: https://github.com/sharechess/sharechess/tree/4f2f54c1340df59556f0f1d67e7b788c3322229c/public/pieces/tatiana
|
||||
*/
|
||||
|
||||
@bishop: '<svg clip-rule="evenodd" fill-rule="evenodd" viewBox="0 0 50 50" xmlns="http://www.w3.org/2000/svg" width="50" height="50"><path d="M25.004 5.75c-1.683 0 -3.047 1.099 -3.047 2.453 0 0.503 0.194 0.993 0.554 1.405 -2.54 3.306 -8.781 9.8 -8.985 16.336 -0.087 3.375 3.933 8.723 4.107 9.26 0.174 0.535 1.333 0.933 3.268 1.176 -1.33 4.59 -10.098 -1.079 -14.147 3.37l1.842 4.5c5.573 -3.122 9.967 3.15 16.409 -3.422v0.001c6.44 6.57 10.835 0.299 16.407 3.421l1.842 -4.5c-4.05 -4.448 -12.817 1.22 -14.148 -3.37 1.936 -0.243 3.095 -0.64 3.269 -1.177 0.174 -0.536 4.193 -5.884 4.107 -9.26 -0.205 -6.535 -6.445 -13.028 -8.986 -16.335 0.36 -0.412 0.554 -0.902 0.554 -1.405 0 -1.354 -1.363 -2.452 -3.046 -2.453z" fill="%BG%" stroke="%BORDER%" stroke-linejoin="round" stroke-width="1.5"/><path class="st32" d="M25.004 21.106c-0.699 0 -1.02 0.342 -1.02 1.025v2.453h-2.388q-0.96 0 -0.96 0.931 0 0.932 0.96 0.932h2.389V28.9c0 0.683 0.35 1.025 1.019 1.025 0.67 0 1.02 -0.342 1.02 -1.025v-2.453h2.475c0.612 0 0.932 -0.31 0.932 -0.932 0 -0.62 -0.32 -0.931 -0.932 -0.931h-2.476V22.13c0 -0.683 -0.35 -1.025 -1.019 -1.025" opacity=".5"/><path d="M25.004 5.75c-0.827 0 -1.62 0.27 -2.194 0.75 3.937 0.194 4.045 2.262 3.072 3.475 1.102 2.394 2.82 4.2 4.161 6.431 0 0 11.604 21.888 -13.358 17.253 0 0 0.63 1.553 2.03 2.28 0.7 0.364 1.164 0.396 2.185 0.441 1.324 0.08 5.334 0.537 6.306 0.69 1.937 7.056 13.332 0.012 15.127 4.93l0.921 -2.249c-3.726 -4.452 -9.996 1.063 -14.057 -3.31 1.38 -0.214 2.392 -0.603 2.954 -0.898 0 -0.143 4.422 -6.065 4.331 -9.6 -0.204 -6.534 -6.443 -13.026 -8.985 -16.334 0.36 -0.412 0.554 -0.904 0.554 -1.407 0 -1.354 -1.364 -2.452 -3.047 -2.452" opacity=".4" style="opacity:.25;paint-order:normal"/><path d="M23.797 6.898c-0.714 0.32 -1.265 0.95 -1.001 1.779 0.084 0.32 0.314 0.507 0.465 0.79a0.9 0.9 0 0 1 -0.143 0.73c-1.576 1.946 -5.566 6.411 -7.414 10.599 -0.704 1.735 -1.565 3.746 -1.396 5.648 0.475 3.413 3.388 7.392 3.388 7.392s-2.053 -4.357 -2.246 -7.021c-0.032 -7.08 5.8 -12.424 8.301 -17.1 -0.379 -1.577 -1.172 -1.464 0.046 -2.817M9.01 43.191c0 -0.058 -1.345 -3.262 -1.345 -3.262 2.92 -2.56 8.37 -0.3 11.229 -0.952 -4.286 0.847 -7.639 -0.51 -10.069 1.09z" fill="#fff" opacity=".25"/></svg>';
|
||||
@king: '<svg clip-rule="evenodd" fill-rule="evenodd" viewBox="0 0 50 50" xmlns="http://www.w3.org/2000/svg" width="50" height="50"><g stroke-width="1.04"><path d="M3281.9 -2090.7c6.361 0 11.51 -0.56 11.51 -1.249l1.342 -6.525c11.336 -7.821 6.689 -19.658 -3.35 -19.615 -2.083 0.01 -4.893 0.53 -6.264 1.338l-0.876 -4.1h3.895c1.17 0.13 1.77 -1.6 1.77 -2.668 0 -1.067 -0.592 -2.667 -1.77 -2.667h-3.388v-3.092c0 -0.97 -1.804 -1.455 -2.89 -1.455s-2.892 0.485 -2.892 1.455v3.092h-3.388c-1.18 0 -1.77 1.6 -1.77 2.667 0 1.068 0.6 2.799 1.77 2.668h3.895l-0.876 4.1c-1.37 -0.807 -4.18 -1.328 -6.264 -1.338 -10.038 -0.043 -14.685 11.794 -3.35 19.615l1.342 6.525c0 0.689 5.15 1.246 11.51 1.249h0.023z" fill="%BG%" stroke="%BORDER%" stroke-width="1.559" transform="matrix(.96234 0 0 .9617 -3133.3 2054.9)"/><path d="M3287.7 -2126.4c-0.55 -0.01 -0.968 0.097 -0.986 0.185 0.738 0.752 3.757 4.344 -3.738 3.792 -0.902 0.506 0.15 7.329 0.891 9.249 0 0 1.22 -0.547 2.05 -0.977 14.764 -4.253 12.707 12.372 3.903 15.299 -5.255 0.795 -13.114 1.12 -18.294 0.35l0.413 2.538c6.744 0.603 6.596 0.464 15.112 0.59 4.2 2.842 -11.95 3.965 -16.7 3.396 0.092 0.263 23.03 1.225 23.058 0.036l1.342 -6.56c11.335 -7.821 6.69 -19.657 -3.348 -19.615 -0.876 0 -1.877 0.103 -2.849 0.271l-3.411 1.065 -0.876 -4.099h3.894c1.027 0.294 1.743 -1.58 1.77 -2.668 0.151 -2.251 -1.43 -2.704 -2.228 -2.852z" opacity=".4" style="opacity:.25" transform="matrix(.96234 0 0 .9617 -3133.3 2054.9)"/><path d="M3282.9 -2129.8c-0.942 -0.253 -2.572 -0.194 -3.17 0.55 -0.044 0.056 -0.034 0.215 -0.033 0.296l0.028 3.576h-3.453c-0.296 0 -0.787 -0.016 -0.97 0.088 -0.37 0.206 -0.717 0.94 -0.75 1.79 -0.027 0.689 0.5 1.896 0.877 1.93 0.237 0.02 0.576 -0.029 1.182 -0.01 -1.884 -0.7 -1.398 -3.503 -0.2 -3.451l3.63 -0.028 -0.046 -3.143c-0.014 -0.97 0.65 -1.471 1.737 -1.471 0.427 0 1.428 0.04 1.924 0.191 -0.519 -0.301 -0.757 -0.316 -0.757 -0.316zm-3 10.6 -0.77 3.661c-1.37 -0.807 -4.11 -1.766 -6.193 -1.775 -9.415 -0.753 -14.415 10.655 -3.24 18.389l1.349 6.62 0.108 0.015 -0.452 -6.716c-10.51 -7.743 -6.864 -17.498 3.174 -17.455 2.084 0.01 4.254 0.978 5.625 1.785l0.908 -6.87z" fill="#fff" opacity=".25" style="paint-order:normal" transform="matrix(.96234 0 0 .9617 -3133.3 2054.9)"/></g></svg>';
|
||||
@knight: '<svg clip-rule="evenodd" fill-rule="evenodd" viewBox="0 0 50 50" xmlns="http://www.w3.org/2000/svg" width="50" height="50"><path d="m22.803 5.768 -2.495 0.468 -0.995 3.425 -2.169 -1.423 -1.427 0.424 0.76 4.951 -9.702 14.98c-0.358 5.956 1.871 6.017 6.143 7.648 4.973 -7.02 10.689 -5.017 15.371 -10.324 0.563 6.622 -15.845 9.2 -13.646 18.275l27.09 0.058c3.811 -16.778 1.02 -27.75 -14.607 -33.796z" style="clip-rule:evenodd;fill-rule:evenodd;fill:%BG%;stroke-linejoin:round;stroke-width:1.5;stroke:%BORDER%"/><path d="M21.619 17.718c-0.45 -0.01 -0.835 0.285 -1.09 0.609 -0.414 0.533 -0.63 1.178 -0.748 1.82 -0.044 0.278 -0.094 0.558 -0.077 0.838 0.026 0.098 0.144 0.063 0.217 0.044 0.632 -0.118 1.29 -0.128 1.907 -0.316 0.447 -0.14 0.801 -0.464 1.034 -0.84 0.233 -0.36 0.333 -0.773 0.471 -1.168 0.061 -0.138 0.045 -0.315 -0.096 -0.407 -0.232 -0.16 -0.513 -0.242 -0.772 -0.356 -0.254 -0.097 -0.505 -0.23 -0.788 -0.224z" style="clip-rule:evenodd;fill-rule:evenodd;opacity:.5"/><path d="m22.803 5.768 -1.247 0.234 3.807 5.702c19.045 8.125 18.868 24.79 6.86 32.524l9.51 0.021c3.81 -16.778 1.023 -27.75 -14.604 -33.796z" style="clip-rule:evenodd;fill-rule:evenodd;opacity:.25;"/><path d="M16.586 9.211c0.146 1.706 0.874 4.43 0.571 4.836l-9.61 14.73c-0.323 3.61 1.066 4.888 1.342 4.832 -0.087 0.01 -1.418 -2.128 -0.53 -4.647l9.67 -14.883 -1.432 -4.858c-0.14 -0.132 0.159 0.072 -0.01 -0.01z" style="clip-rule:evenodd;fill-rule:evenodd;fill:#fff;opacity:.25;"/><path d="M27.442 25.617s2.02 -2.624 1.99 -3.823 1.065 5.553 -1.303 6.363c-0.098 -0.413 0.272 -1.709 0.198 -1.993 -0.32 -1.224 -0.884 -0.417 -0.885 -0.547z" style="clip-rule:evenodd;fill-rule:evenodd;opacity:.25;stroke-width:.26458px;stroke:#000"/><path d="M28.727 28.005c-2.834 6.232 -14.734 8.14 -13.325 15.542 -1.072 -6.537 13.176 -8.88 13.325 -15.542" style="fill:#fff;opacity:.25"/><path d="M10.763 28.109s-0.047 2.386 -1.561 2.185c0 0 -1.834 -1.016 1.561 -2.185" style="fill:#000;opacity:.5"/></svg>';
|
||||
@rook: '<svg clip-rule="evenodd" fill-rule="evenodd" viewBox="0 0 50 50" xmlns="http://www.w3.org/2000/svg" width="50" height="50"><g stroke-width="1.079"><path d="m3329.1-2128.5-.643 2.608-3.389.194-.589-2.593-4.87 1.003v7.87c.846 2.112 1.968 2.466 3.027 3.027h2.162l-3.148 17.25c-4.314 2.456-5.284 3.57-5.284 8.502h31.034c0-4.933-.97-6.046-5.283-8.502l-3.148-17.25h2.161c1.06-.56 2.182-.915 3.027-3.027v-7.87l-4.87-1.003-.589 2.592-3.388-.194-.643-2.608h-2.784z" style="fill:%BG%;stroke-width:1.6185;stroke:%BORDER%" transform="matrix(.91877 0 0 .93482 -3036.3 1998.5)"/><path d="M3341.8-2127.8c4.172 12.439-14.069 10.218-21.331 9.793 0 0 .085 1.6 2.246 1.604h2.197-.036l-.092.503c13.852-1.045 11.329 3.048 13.773 15.557l-16.717.578-.111.613-1.051.613c5.434.595 23.899-3.102 22.257 7.89h4.543c.262-5.094-1.767-6.688-5.284-8.503l-2.962-17.53c.3-.194.96 0 1.922-.161 1.28-.213 2.624-1.483 3.08-2.748v-7.554z" opacity=".4" style="opacity:.25" transform="matrix(.91877 0 0 .93482 -3036.3 1998.5)"/><path d="m14.384 10.418 2.172-.444c-1.21.475-1.62 3.045-2.104 6.36-.146.994-.069-5.916-.069-5.916zm8.544-.935-.573 2.4 1.948-2.407zm9.372.28-.5 2.303 1.411-2.108zM19.07 20.609l-2.738 15.027L19.818 20.7zM11.444 43.23c-.013-.043-.031-1.011.152-1.914.209-1.023.696-2.006 1.489-2.64 1.46-1.168 2.686-1.828 2.825-1.832-2.104 1.627-4.052 3.62-4.466 6.386" opacity=".25" fill="#fff"/></g></svg>';
|
||||
@pawn: '<svg clip-rule="evenodd" fill-rule="evenodd" viewBox="0 0 50 50" xmlns="http://www.w3.org/2000/svg" width="50" height="50"><path d="M25 11.961c-3.39 0-6.032 2.505-6.032 5.818a6.2 6.2 0 0 0 1.976 4.514c-3.896 1.692-3.644 2.322-3.236 6.479h3.776c-1.66 8.227-9.02 6.338-8.862 15.47h24.755c.16-9.132-7.201-7.242-8.861-15.47h3.776c.408-4.157.66-4.787-3.237-6.48a6.2 6.2 0 0 0 1.976-4.513c0-3.313-2.64-5.818-6.031-5.818z" style="fill:%BG%;stroke-linejoin:round;stroke-width:1.5;stroke:%BORDER%"/><path d="M24.999 11.96a6.5 6.5 0 0 0-1.702.226c8.042 1.26 6.731 8.948 2.355 10.106 1.836.664 3.7 1.606 4.342 2.453.58.767.142 2.534.142 2.534l-12.555.204.128 1.02 5.694.021c1.711 8.098 14.126 6.628 13.968 15.718.158-9.09-7.118-7.642-8.829-15.74h3.752c.309-4.98 1.019-3.604-3.238-6.21a6.2 6.2 0 0 0 1.976-4.513c0-3.314-2.643-5.82-6.033-5.82z" style="fill:#000;opacity:.25"/><path d="M23.738 12.775c-.301-.106-4.279 1.245-3.986 5.297.12 1.658 1.217 3.176 1.38 3.141l.493.559s-.946-1.995-.946-3.7c0-3.157 3.064-5.3 3.064-5.3zm-1.571 16.489c-1.968 8.064-8.231 6.47-8.75 14.133v-.016c1.76-6.292 7.394-5.506 9.136-14.063z" style="fill:#fff;opacity:.25;"/><path d="M22.256 22.461c-1.397.672-3.813 1.37-3.942 2.788l1.761-.404c.144-.32.641-1.406 2.21-2.392z" style="fill:#fff;opacity:.25"/></svg>';
|
||||
@queen: '<svg clip-rule="evenodd" fill-rule="evenodd" viewBox="0 0 50 50" xmlns="http://www.w3.org/2000/svg" width="50" height="50"><g stroke-width="1.026"><path d="M3475.9-2129.1a4.37 4.37 0 0 0-4.373 4.367c0 1.98 1.34 3.71 3.258 4.216v11.158l-5.362-7.492c.485-.72.746-1.568.746-2.435a4.37 4.37 0 0 0-4.375-4.367 4.37 4.37 0 0 0-4.373 4.367c.065 2.14 1.935 3.816 4.328 4.365l.88 4.236 1.76 8.474 2.765 5.191 1.12 6.47c0 .801 4.318 1.45 9.647 1.45s9.648-.649 9.648-1.45l1.12-6.47 2.765-5.19 1.76-8.475.879-4.236c2.393-.55 4.264-2.225 4.328-4.365a4.37 4.37 0 0 0-4.373-4.367 4.37 4.37 0 0 0-4.374 4.367c0 .867.26 1.715.745 2.435l-5.361 7.493v-11.16a4.37 4.37 0 0 0 3.257-4.215 4.37 4.37 0 0 0-4.373-4.367 4.37 4.37 0 0 0-4.374 4.367c0 1.425.702 2.759 1.873 3.573l-3.52 10.364-3.52-10.364a4.36 4.36 0 0 0 1.874-3.573 4.37 4.37 0 0 0-4.374-4.367z" fill="%BG%" stroke="%BORDER%" stroke-width="1.538" transform="matrix(.98735 0 0 .96296 -3412.8 2056)"/><path d="M3498.4-2124c.95.986 3.299 5.321-2.077 8.733l-5.191 13.456c-6.962 1.255-14.694 1.553-20.32-.42l1.905 3.125c6.593 2.295 17.806.487 17.806.487-1.074 3.57-2.579 6.848-5.665 9.425 0 0 4.52.12 6.612-1.376l1.57-6.797 2.765-5.19 1.76-8.474.879-4.236c2.393-.55 4.264-2.225 4.328-4.365a4.37 4.37 0 0 0-4.372-4.368" opacity=".4" style="opacity:.25" transform="matrix(.98735 0 0 .96296 -3412.8 2056)"/><path d="M3475.9-2129.1c-.265 0-.524.028-.776.073 3.03 1.854 2.41 6 1.605 7.374l5.192 8.659-.776-1.801-2.744-6.364a4.36 4.36 0 0 0 1.874-3.574 4.37 4.37 0 0 0-4.375-4.367m12 0c-.265 0-.524.028-.776.073 4.562 1.318 1.776 6.566.654 6.989l1.238 10.482v-8.961a4.37 4.37 0 0 0 3.257-4.216 4.37 4.37 0 0 0-4.373-4.367m-22.2 5.4q-.398.002-.776.073c3.285 1.245 3.06 4.466 2.378 6.646l7.388 7.575-5.361-7.492a4.36 4.36 0 0 0 .745-2.435 4.37 4.37 0 0 0-4.374-4.367" opacity=".25" transform="matrix(.98735 0 0 .96296 -3412.8 2056)" fill="#010101"/><path d="M6.887 12.406s-3.273 2.607.121 5.31c-.219-.55-.906-3.763-.121-5.31m10.466-5.489c-.359-.156-3.303 2.198-1.152 5.148.1-.477-.836-3.765 1.152-5.148m12.144-.096c-.358-.156-3.505 2.176-1.307 5.2-.168-.553-.719-4.232 1.307-5.2M9.75 18.858l2.653 12.572 2.755 5.045 1.086 6.177.703.225-1.086-6.452-2.804-4.97zm29.72-6.74c-.36-.157-3.474 2.265-1.293 5.245-.21-.984-1.033-4.355 1.292-5.246" opacity=".25" fill="#fff"/></g></svg>';
|
||||
|
||||
#piece(@piece, @type) {
|
||||
@raw: if(
|
||||
@type = "white",
|
||||
replace(
|
||||
replace(
|
||||
replace(replace(@piece, "%BORDER%", @mantle), "%BG%", @text),
|
||||
"#fff",
|
||||
@mantle
|
||||
),
|
||||
"#000",
|
||||
@text
|
||||
),
|
||||
replace(
|
||||
replace(
|
||||
replace(replace(@piece, "%BORDER%", @mantle), "%BG%", @surface2),
|
||||
"#fff",
|
||||
@text
|
||||
),
|
||||
"#000",
|
||||
@mantle
|
||||
)
|
||||
);
|
||||
@svg: escape(@raw);
|
||||
@result: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
|
||||
--theme-board-style-image: url("data:image/svg+xml,@{board}");
|
||||
--theme-board-style-highlight-color: @highlight-color;
|
||||
|
||||
--theme-piece-set-wp: #piece(@pawn, "white") [];
|
||||
--theme-piece-set-wn: #piece(@knight, "white") [];
|
||||
--theme-piece-set-wr: #piece(@rook, "white") [];
|
||||
--theme-piece-set-wb: #piece(@bishop, "white") [];
|
||||
--theme-piece-set-wq: #piece(@queen, "white") [];
|
||||
--theme-piece-set-wk: #piece(@king, "white") [];
|
||||
--theme-piece-set-bp: #piece(@pawn, "black") [];
|
||||
--theme-piece-set-bn: #piece(@knight, "black") [];
|
||||
--theme-piece-set-bb: #piece(@bishop, "black") [];
|
||||
--theme-piece-set-br: #piece(@rook, "black") [];
|
||||
--theme-piece-set-bq: #piece(@queen, "black") [];
|
||||
--theme-piece-set-bk: #piece(@king, "black") [];
|
||||
|
||||
.board-popover-component {
|
||||
background-color: @surface0;
|
||||
}
|
||||
|
||||
.piece {
|
||||
/* Black */
|
||||
&.bp {
|
||||
background-image: #piece(@pawn, "black") [] !important;
|
||||
}
|
||||
&.bn {
|
||||
background-image: #piece(@knight, "black") [] !important;
|
||||
}
|
||||
&.bb {
|
||||
background-image: #piece(@bishop, "black") [] !important;
|
||||
}
|
||||
&.br {
|
||||
background-image: #piece(@rook, "black") [] !important;
|
||||
}
|
||||
&.bk {
|
||||
background-image: #piece(@king, "black") [] !important;
|
||||
}
|
||||
&.bq {
|
||||
background-image: #piece(@queen, "black") [] !important;
|
||||
}
|
||||
|
||||
/* White */
|
||||
&.wp {
|
||||
background-image: #piece(@pawn, "white") [] !important;
|
||||
}
|
||||
&.wn {
|
||||
background-image: #piece(@knight, "white") [] !important;
|
||||
}
|
||||
&.wb {
|
||||
background-image: #piece(@bishop, "white") [] !important;
|
||||
}
|
||||
&.wr {
|
||||
background-image: #piece(@rook, "white") [] !important;
|
||||
}
|
||||
&.wk {
|
||||
background-image: #piece(@king, "white") [] !important;
|
||||
}
|
||||
&.wq {
|
||||
background-image: #piece(@queen, "white") [] !important;
|
||||
}
|
||||
}
|
||||
|
||||
.chessboard-pkg-move-list-component .dark-row {
|
||||
background-color: @surface1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* prettier-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; };
|
||||
}
|
||||
|
||||
// vim:ft=less
|
||||
==/UserStyle== */
|
||||
@@ -0,0 +1,742 @@
|
||||
/* ==UserStyle==
|
||||
@name Chess.com Catppuccin
|
||||
@namespace github.com/catppuccin/userstyles/styles/chess.com
|
||||
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/chess.com
|
||||
@version 2024.12.29.1
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/chess.com/catppuccin.user.less
|
||||
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Achess.com
|
||||
@description Soothing pastel theme for Chess.com
|
||||
@author Catppuccin
|
||||
@license MIT
|
||||
|
||||
@preprocessor less
|
||||
@var select lightFlavor "Light Flavor" ["latte:Latte*", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha"]
|
||||
@var select darkFlavor "Dark Flavor" ["latte:Latte", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha*"]
|
||||
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
|
||||
|
||||
@var select highlightColor "Highlight" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve", "red:Red", "maroon:Maroon*", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
|
||||
==/UserStyle== */
|
||||
|
||||
@-moz-document domain("chess.com") {
|
||||
:root {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
|
||||
:root.dark-mode {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
}
|
||||
|
||||
#catppuccin(@lookup, @accent) {
|
||||
@rosewater: @catppuccin[@@lookup][@rosewater];
|
||||
@flamingo: @catppuccin[@@lookup][@flamingo];
|
||||
@pink: @catppuccin[@@lookup][@pink];
|
||||
@mauve: @catppuccin[@@lookup][@mauve];
|
||||
@red: @catppuccin[@@lookup][@red];
|
||||
@maroon: @catppuccin[@@lookup][@maroon];
|
||||
@peach: @catppuccin[@@lookup][@peach];
|
||||
@yellow: @catppuccin[@@lookup][@yellow];
|
||||
@green: @catppuccin[@@lookup][@green];
|
||||
@teal: @catppuccin[@@lookup][@teal];
|
||||
@sky: @catppuccin[@@lookup][@sky];
|
||||
@sapphire: @catppuccin[@@lookup][@sapphire];
|
||||
@blue: @catppuccin[@@lookup][@blue];
|
||||
@lavender: @catppuccin[@@lookup][@lavender];
|
||||
@text: @catppuccin[@@lookup][@text];
|
||||
@subtext1: @catppuccin[@@lookup][@subtext1];
|
||||
@subtext0: @catppuccin[@@lookup][@subtext0];
|
||||
@overlay2: @catppuccin[@@lookup][@overlay2];
|
||||
@overlay1: @catppuccin[@@lookup][@overlay1];
|
||||
@overlay0: @catppuccin[@@lookup][@overlay0];
|
||||
@surface2: @catppuccin[@@lookup][@surface2];
|
||||
@surface1: @catppuccin[@@lookup][@surface1];
|
||||
@surface0: @catppuccin[@@lookup][@surface0];
|
||||
@base: @catppuccin[@@lookup][@base];
|
||||
@mantle: @catppuccin[@@lookup][@mantle];
|
||||
@crust: @catppuccin[@@lookup][@crust];
|
||||
@accent-color: @catppuccin[@@lookup][@@accent];
|
||||
|
||||
@highlight-color: @catppuccin[@@lookup][@@highlightColor];
|
||||
|
||||
color-scheme: if(@lookup = latte, light, dark);
|
||||
|
||||
::selection {
|
||||
background-color: fade(@accent-color, 30%);
|
||||
}
|
||||
|
||||
input,
|
||||
textarea {
|
||||
&::placeholder {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
--color-bg-opaque: @mantle;
|
||||
--color-bg-opaque-lighter: @base;
|
||||
--color-bg-subtle: @surface1;
|
||||
--color-bg-subtler: @surface0;
|
||||
--color-bg-input: @mantle;
|
||||
--color-bg-speech: @surface0;
|
||||
--color-bg-secondary: @surface0;
|
||||
--color-bg-tertiary: @surface1;
|
||||
--color-bg-quaternary: @surface2;
|
||||
--color-gray-100: @overlay1;
|
||||
--color-text-speech: @text;
|
||||
|
||||
--color-icon-default: @subtext0;
|
||||
--color-icon-default-hovered: @subtext1;
|
||||
--color-icon-bolder: @subtext1;
|
||||
--color-icon-boldest: @text;
|
||||
|
||||
--color-text-boldest: @text;
|
||||
--color-text-bolder: @text;
|
||||
--color-text-default: @text;
|
||||
--color-text-default-hovered: @subtext1;
|
||||
--color-text-subtle: @subtext1;
|
||||
--color-text-placeholder: @subtext0;
|
||||
--color-text-inverse: @crust;
|
||||
--color-text-link: @blue;
|
||||
--color-text-link-hovered: @sky;
|
||||
|
||||
--color-border-default: @surface1;
|
||||
--color-border-subtle: @overlay2;
|
||||
--color-border-selected: @accent-color;
|
||||
|
||||
--color-green-300: @accent-color;
|
||||
--color-red-300: @red; /* Danger */
|
||||
--color-red-400: @red; /* Danger */
|
||||
--color-green-400: @green; /* Success */
|
||||
|
||||
/* Links */
|
||||
--color-blue-200: @sapphire;
|
||||
--color-blue-300: @sky;
|
||||
--color-blue-400: @blue;
|
||||
|
||||
--color-classification-blunder: @red;
|
||||
--color-classification-miss: @maroon;
|
||||
--color-classification-mistake: @peach;
|
||||
--color-classification-inaccuracy: @yellow;
|
||||
--color-classification-best: @green;
|
||||
--color-classification-excellent: @green;
|
||||
--color-classification-good: @teal;
|
||||
--color-classification-great: @blue;
|
||||
--color-classification-brilliant: @sapphire;
|
||||
--color-classification-book: @rosewater;
|
||||
|
||||
--color-icon-win: @green;
|
||||
--color-text-win: @green;
|
||||
--color-icon-draw: @subtext0;
|
||||
--color-text-draw: @subtext0;
|
||||
--color-bg-draw: @subtext0;
|
||||
--color-border-draw: var(--color-transparent-white-10);
|
||||
--color-icon-loss: @red;
|
||||
--color-text-loss: @red;
|
||||
--color-border-loss: @red;
|
||||
|
||||
--color-icon-bullet: @peach;
|
||||
--color-icon-blitz: @yellow;
|
||||
|
||||
body {
|
||||
--theme-background-color: @base !important;
|
||||
--theme-background-image: none;
|
||||
|
||||
--globalBackground: @mantle !important;
|
||||
--globalBackgroundOpaque: @mantle !important;
|
||||
--globalSecondaryBackground: @crust !important;
|
||||
--globalTertiaryBackground: @surface0 !important;
|
||||
--globalAccentBackground: @accent-color !important;
|
||||
--globalSecondaryAccentBackground: @surface0 !important;
|
||||
--globalSiteBackground: @base !important;
|
||||
--globalBorder: @surface0 !important;
|
||||
--globalColorThemeFull: @text !important;
|
||||
--globalColorThemeHigh: @text;
|
||||
--globalColorThemeMid: @overlay2 !important;
|
||||
--globalColorThemeLow: @overlay0 !important;
|
||||
--globalColorThemeLower: @base !important;
|
||||
--globalColorThemeLink: @sapphire !important;
|
||||
--globalColorThemeBlueToMid: @text;
|
||||
--globalOverlayBackground: @base !important;
|
||||
--globalColorWin: @green !important;
|
||||
--globalColorDraw: @accent-color !important;
|
||||
--globalColorLoss: @red !important;
|
||||
|
||||
--labelBgColor: @surface1;
|
||||
--activeLabelColor: @accent-color;
|
||||
--buttonBgColor: @text;
|
||||
|
||||
--nodeColor: @text;
|
||||
--nodeBackground: @yellow;
|
||||
}
|
||||
|
||||
/* Home page */
|
||||
.index-title,
|
||||
.index-info-item-counter {
|
||||
color: @text !important;
|
||||
}
|
||||
.index-info-item {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
.index-suggestion-title,
|
||||
.index-posts-title,
|
||||
.index-post-name {
|
||||
color: @text;
|
||||
}
|
||||
.index-quote-author,
|
||||
.index-quote-body,
|
||||
.index-post-author {
|
||||
color: @subtext1;
|
||||
}
|
||||
|
||||
.promo-title,
|
||||
.promo-rank {
|
||||
color: @text;
|
||||
}
|
||||
.promo-subtitle {
|
||||
color: @subtext1;
|
||||
}
|
||||
|
||||
.home-username-link {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
/* Lessons page */
|
||||
.level-title {
|
||||
color: @text;
|
||||
}
|
||||
.level-desc,
|
||||
.course-header-description strong {
|
||||
color: @subtext1;
|
||||
}
|
||||
|
||||
.lessons-search-filter {
|
||||
.form-dropdown-chevron,
|
||||
.form-dropdown-control-label,
|
||||
.form-dropdown-value {
|
||||
color: @subtext1;
|
||||
}
|
||||
}
|
||||
|
||||
/* Play lesson video */
|
||||
.lesson-status {
|
||||
background-color: @text;
|
||||
}
|
||||
|
||||
/* More page */
|
||||
.landing-header {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
/* UI */
|
||||
.v5-title-label {
|
||||
color: @text;
|
||||
}
|
||||
.v5-tabs-list,
|
||||
.v5-tabs-list-dark {
|
||||
--borderColor: @surface2;
|
||||
--tabTitleColor: @subtext0;
|
||||
--tabHoverTitleColor: @subtext1;
|
||||
--tabSelectedBorderColor: @subtext1;
|
||||
--tabSelectedTitleColor: @text;
|
||||
}
|
||||
.ui_v5-input-component {
|
||||
--borderColor: @surface0;
|
||||
--borderFocus: @surface1;
|
||||
--bgColor: @base;
|
||||
--textColor: @text;
|
||||
--secondaryTextColor: @subtext1;
|
||||
}
|
||||
.ui_v5-input-group-component {
|
||||
--inputIconColor: @subtext0;
|
||||
}
|
||||
.ui_v5-button-component {
|
||||
--boxShadow: none;
|
||||
--boxShadowHover: none;
|
||||
box-shadow: none;
|
||||
|
||||
&.ui_v5-button-basic {
|
||||
--basicColor: @text !important;
|
||||
--basicHoverColor: @text !important;
|
||||
--basicBgColor: @surface1 !important;
|
||||
--basicBghover: @surface2 !important;
|
||||
--borderColor: @surface0 !important;
|
||||
}
|
||||
|
||||
&.ui_v5-button-primary {
|
||||
color: @crust !important;
|
||||
background-color: @accent-color;
|
||||
|
||||
&:hover {
|
||||
background-color: darken(@accent-color, 5%);
|
||||
box-shadow: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
.ui_v5-select-component {
|
||||
--borderColor: @surface0;
|
||||
--borderFocus: @surface1;
|
||||
--bgColor: @base;
|
||||
--textColor: @text;
|
||||
--arrowColor: @subtext0;
|
||||
}
|
||||
.ui_pagination-item-component {
|
||||
--paginationColor: @text;
|
||||
--paginationBgColor: @surface1;
|
||||
--paginationBgHover: @surface2;
|
||||
--paginationColorMuted: @base;
|
||||
--paginationBgColorMuted: @overlay1;
|
||||
}
|
||||
|
||||
.nav-link-text {
|
||||
color: @text !important;
|
||||
}
|
||||
.nav-menu-area:last-of-type .icon-font-chess {
|
||||
color: @mantle !important;
|
||||
}
|
||||
.nav-link-main-design,
|
||||
.nav-link-main-link {
|
||||
color: @text !important;
|
||||
|
||||
&:hover {
|
||||
color: @subtext1 !important;
|
||||
}
|
||||
}
|
||||
|
||||
#tb {
|
||||
.toolbar-action-icon {
|
||||
color: @subtext1;
|
||||
}
|
||||
|
||||
.toolbar-action-wrapper:hover .toolbar-action-icon {
|
||||
color: @text !important;
|
||||
}
|
||||
}
|
||||
|
||||
#sb {
|
||||
color: @subtext0;
|
||||
|
||||
&.open {
|
||||
background-color: @mantle;
|
||||
}
|
||||
|
||||
.nav-action:hover {
|
||||
background-color: @surface0;
|
||||
color: @text;
|
||||
}
|
||||
|
||||
.nav-panel-shade,
|
||||
.nav-panel-theme-bg,
|
||||
.nav-action.has-popover + .nav-popover {
|
||||
background: @mantle !important;
|
||||
}
|
||||
|
||||
.nav-popover.dark .btn-link {
|
||||
color: @text;
|
||||
}
|
||||
.nav-menu-area:last-of-type {
|
||||
color: @text !important;
|
||||
}
|
||||
.nav-popover.nav-search {
|
||||
--search-bg-color: @surface0;
|
||||
}
|
||||
}
|
||||
|
||||
.nav-popover.dark {
|
||||
background: @mantle;
|
||||
}
|
||||
|
||||
.section-heading-component .back-link-component {
|
||||
color: currentcolor;
|
||||
}
|
||||
.section-heading-black {
|
||||
background-color: @surface1;
|
||||
color: @text;
|
||||
}
|
||||
.nav-section-header-component {
|
||||
background-color: @base;
|
||||
color: @text;
|
||||
}
|
||||
|
||||
.popover-friends-header,
|
||||
.popover-friends-content,
|
||||
.popover-messages-header,
|
||||
.popover-messages-content,
|
||||
.popover-settings-header,
|
||||
.popover-settings-content {
|
||||
background: @mantle;
|
||||
}
|
||||
|
||||
/* Buttons */
|
||||
|
||||
.selector-button-button,
|
||||
.time-selector-button-button {
|
||||
background: @surface0;
|
||||
|
||||
&:hover {
|
||||
background: @surface1;
|
||||
}
|
||||
}
|
||||
|
||||
.cc-switch-checkbox:not(.cc-switch-readonly):checked
|
||||
+ .cc-switch-label
|
||||
.cc-switch-button {
|
||||
background-color: @surface1;
|
||||
}
|
||||
|
||||
.cc-button-component,
|
||||
.cc-button-primary {
|
||||
--bgColor: @accent-color;
|
||||
--bgColorHover: darken(@accent-color, 5%);
|
||||
--textColor: @crust;
|
||||
--textColorHover: @crust;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.cc-button-primary,
|
||||
.cc-button-monetization {
|
||||
--borderBottomLine: darken(@accent-color, 2%);
|
||||
--borderBottomLineHover: darken(@accent-color, 4%);
|
||||
}
|
||||
|
||||
.cc-button-secondary {
|
||||
--bgColor: @surface0;
|
||||
--bgColorHover: darken(@surface0, 5%);
|
||||
--iconColor: @text;
|
||||
--iconColorHover: @text;
|
||||
--textColor: @text;
|
||||
--textColorHover: @text;
|
||||
}
|
||||
|
||||
.cc-button-danger {
|
||||
--bgColor: @red;
|
||||
--bgColorHover: darken(@red, 5%);
|
||||
color: @crust;
|
||||
}
|
||||
|
||||
.v5-section-shadow,
|
||||
.v5-section-shadow-hover {
|
||||
--linkHoverBackground: @surface1;
|
||||
--linkBoxShadow: 0 0.5rem 0 0 @surface2;
|
||||
}
|
||||
|
||||
/* Game */
|
||||
|
||||
.user-username-component,
|
||||
.cc-user-username-white,
|
||||
.cc-user-rating-white {
|
||||
color: @text;
|
||||
text-shadow: none;
|
||||
}
|
||||
|
||||
.user-tagline-rating.user-tagline-white {
|
||||
color: @overlay1;
|
||||
}
|
||||
|
||||
.clock-component.clock-black {
|
||||
background: @surface0;
|
||||
}
|
||||
.clock-component.clock-white {
|
||||
background: @text;
|
||||
}
|
||||
|
||||
.highlight {
|
||||
background: @highlight-color !important;
|
||||
opacity: 1 !important;
|
||||
}
|
||||
.hover-square rect {
|
||||
stroke: @overlay1 !important;
|
||||
}
|
||||
.hint {
|
||||
background-color: @overlay1;
|
||||
filter: drop-shadow(0 0 1px @crust);
|
||||
}
|
||||
.capture-hint {
|
||||
background-color: @overlay1;
|
||||
filter: drop-shadow(0 0 1px @crust);
|
||||
z-index: -1;
|
||||
}
|
||||
|
||||
/* Review/evaluation */
|
||||
|
||||
.evaluation-bar-bar {
|
||||
.evaluation-bar-black {
|
||||
background-color: @surface2;
|
||||
}
|
||||
.evaluation-bar-draw {
|
||||
background-color: @overlay1;
|
||||
}
|
||||
.evaluation-bar-white {
|
||||
background-color: @text;
|
||||
}
|
||||
}
|
||||
|
||||
.review-rating-white {
|
||||
background-color: @text;
|
||||
}
|
||||
.review-rating-black {
|
||||
background-color: @surface0;
|
||||
color: @text;
|
||||
}
|
||||
|
||||
.overview-view-new-game-button {
|
||||
background-color: @surface1;
|
||||
}
|
||||
|
||||
.arrow {
|
||||
fill: @overlay0 !important;
|
||||
}
|
||||
|
||||
g#winner [fill="#dbac16"] {
|
||||
fill: @yellow !important;
|
||||
}
|
||||
|
||||
/* Game over */
|
||||
|
||||
.modal-game-over-header-grey,
|
||||
.modal-game-over-header-black-win,
|
||||
.game-over-header-component {
|
||||
background-color: @base;
|
||||
color: @text;
|
||||
}
|
||||
|
||||
.modal-game-over-user-winner-active,
|
||||
.modal-game-over-user-crown {
|
||||
background: @lavender;
|
||||
}
|
||||
|
||||
.game-over-review-button-label {
|
||||
color: @crust;
|
||||
text-shadow: none;
|
||||
}
|
||||
|
||||
/* Ads */
|
||||
|
||||
.placeholder-ad-upgrade {
|
||||
background-color: @accent-color;
|
||||
}
|
||||
.placeholder-ad-link {
|
||||
color: @crust;
|
||||
}
|
||||
|
||||
.modal-trial-component.modal-trial-special-offer {
|
||||
.modal-trial-header-background {
|
||||
background-color: @accent-color;
|
||||
}
|
||||
}
|
||||
|
||||
.coach-nudges-modal-component {
|
||||
background: @mantle;
|
||||
}
|
||||
|
||||
.ready-to-play-banner-component {
|
||||
background-color: @mantle;
|
||||
|
||||
.ready-to-play-banner-title,
|
||||
.ready-to-play-banner-list {
|
||||
color: @text;
|
||||
}
|
||||
}
|
||||
|
||||
.notifications-links-trial .nav-link-text {
|
||||
color: @crust !important;
|
||||
}
|
||||
|
||||
/* Misc */
|
||||
|
||||
/* GM/IM/etc badge */
|
||||
--color-bg-chesstitle: @accent-color;
|
||||
.course-author-title,
|
||||
.course-header-author-title,
|
||||
.form-dropdown-short-title,
|
||||
.index-chess-title,
|
||||
.leaderboard-index-chess-title,
|
||||
.player-header-title,
|
||||
.category-headline-chess-title {
|
||||
color: @crust !important;
|
||||
}
|
||||
|
||||
.tooltip-body {
|
||||
background: @surface0;
|
||||
color: @text;
|
||||
|
||||
&::after {
|
||||
border-top-color: @surface0 !important;
|
||||
}
|
||||
}
|
||||
.popup-component {
|
||||
background-color: @surface0;
|
||||
color: @text;
|
||||
|
||||
&.popup-left .popup-arrow {
|
||||
border-left-color: @surface0;
|
||||
}
|
||||
&.popup-right .popup-arrow {
|
||||
border-right-color: @surface0;
|
||||
}
|
||||
}
|
||||
|
||||
/* Error banner */
|
||||
.alerts-alert {
|
||||
color: @crust;
|
||||
}
|
||||
|
||||
div.mode-selection-button-selected {
|
||||
> .mode-selection-button-description {
|
||||
color: @surface1;
|
||||
}
|
||||
|
||||
> .mode-selection-button-mode {
|
||||
color: @mantle;
|
||||
}
|
||||
}
|
||||
|
||||
.status-component {
|
||||
background-color: @accent-color;
|
||||
color: @crust;
|
||||
}
|
||||
|
||||
.navigation-footer-page-component,
|
||||
.navigation-footer-platform-icon {
|
||||
color: @subtext1;
|
||||
text-shadow: none;
|
||||
}
|
||||
|
||||
.download-button-button {
|
||||
color: @crust !important;
|
||||
}
|
||||
|
||||
.table-hover tbody tr:hover {
|
||||
background-color: @surface2;
|
||||
}
|
||||
|
||||
/* Board */
|
||||
@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>'
|
||||
);
|
||||
|
||||
#board-play-computer,
|
||||
.fade-in-overlay {
|
||||
background-image: url("data:image/svg+xml,@{board}");
|
||||
}
|
||||
|
||||
.coordinate-light {
|
||||
fill: @accent-color;
|
||||
}
|
||||
.coordinate-dark {
|
||||
fill: @surface0;
|
||||
}
|
||||
|
||||
/*
|
||||
The "Tatiana" piece set.
|
||||
|
||||
Author: sadsnake1
|
||||
License: CC BY-NC-SA 4.0 (https://creativecommons.org/licenses/by-nc-sa/4.0/)
|
||||
Source: https://github.com/sharechess/sharechess/tree/4f2f54c1340df59556f0f1d67e7b788c3322229c/public/pieces/tatiana
|
||||
*/
|
||||
|
||||
@bishop: '<svg clip-rule="evenodd" fill-rule="evenodd" viewBox="0 0 50 50" xmlns="http://www.w3.org/2000/svg" width="50" height="50"><path d="M25.004 5.75c-1.683 0 -3.047 1.099 -3.047 2.453 0 0.503 0.194 0.993 0.554 1.405 -2.54 3.306 -8.781 9.8 -8.985 16.336 -0.087 3.375 3.933 8.723 4.107 9.26 0.174 0.535 1.333 0.933 3.268 1.176 -1.33 4.59 -10.098 -1.079 -14.147 3.37l1.842 4.5c5.573 -3.122 9.967 3.15 16.409 -3.422v0.001c6.44 6.57 10.835 0.299 16.407 3.421l1.842 -4.5c-4.05 -4.448 -12.817 1.22 -14.148 -3.37 1.936 -0.243 3.095 -0.64 3.269 -1.177 0.174 -0.536 4.193 -5.884 4.107 -9.26 -0.205 -6.535 -6.445 -13.028 -8.986 -16.335 0.36 -0.412 0.554 -0.902 0.554 -1.405 0 -1.354 -1.363 -2.452 -3.046 -2.453z" fill="%BG%" stroke="%BORDER%" stroke-linejoin="round" stroke-width="1.5"/><path class="st32" d="M25.004 21.106c-0.699 0 -1.02 0.342 -1.02 1.025v2.453h-2.388q-0.96 0 -0.96 0.931 0 0.932 0.96 0.932h2.389V28.9c0 0.683 0.35 1.025 1.019 1.025 0.67 0 1.02 -0.342 1.02 -1.025v-2.453h2.475c0.612 0 0.932 -0.31 0.932 -0.932 0 -0.62 -0.32 -0.931 -0.932 -0.931h-2.476V22.13c0 -0.683 -0.35 -1.025 -1.019 -1.025" opacity=".5"/><path d="M25.004 5.75c-0.827 0 -1.62 0.27 -2.194 0.75 3.937 0.194 4.045 2.262 3.072 3.475 1.102 2.394 2.82 4.2 4.161 6.431 0 0 11.604 21.888 -13.358 17.253 0 0 0.63 1.553 2.03 2.28 0.7 0.364 1.164 0.396 2.185 0.441 1.324 0.08 5.334 0.537 6.306 0.69 1.937 7.056 13.332 0.012 15.127 4.93l0.921 -2.249c-3.726 -4.452 -9.996 1.063 -14.057 -3.31 1.38 -0.214 2.392 -0.603 2.954 -0.898 0 -0.143 4.422 -6.065 4.331 -9.6 -0.204 -6.534 -6.443 -13.026 -8.985 -16.334 0.36 -0.412 0.554 -0.904 0.554 -1.407 0 -1.354 -1.364 -2.452 -3.047 -2.452" opacity=".4" style="opacity:.25;paint-order:normal"/><path d="M23.797 6.898c-0.714 0.32 -1.265 0.95 -1.001 1.779 0.084 0.32 0.314 0.507 0.465 0.79a0.9 0.9 0 0 1 -0.143 0.73c-1.576 1.946 -5.566 6.411 -7.414 10.599 -0.704 1.735 -1.565 3.746 -1.396 5.648 0.475 3.413 3.388 7.392 3.388 7.392s-2.053 -4.357 -2.246 -7.021c-0.032 -7.08 5.8 -12.424 8.301 -17.1 -0.379 -1.577 -1.172 -1.464 0.046 -2.817M9.01 43.191c0 -0.058 -1.345 -3.262 -1.345 -3.262 2.92 -2.56 8.37 -0.3 11.229 -0.952 -4.286 0.847 -7.639 -0.51 -10.069 1.09z" fill="#fff" opacity=".25"/></svg>';
|
||||
@king: '<svg clip-rule="evenodd" fill-rule="evenodd" viewBox="0 0 50 50" xmlns="http://www.w3.org/2000/svg" width="50" height="50"><g stroke-width="1.04"><path d="M3281.9 -2090.7c6.361 0 11.51 -0.56 11.51 -1.249l1.342 -6.525c11.336 -7.821 6.689 -19.658 -3.35 -19.615 -2.083 0.01 -4.893 0.53 -6.264 1.338l-0.876 -4.1h3.895c1.17 0.13 1.77 -1.6 1.77 -2.668 0 -1.067 -0.592 -2.667 -1.77 -2.667h-3.388v-3.092c0 -0.97 -1.804 -1.455 -2.89 -1.455s-2.892 0.485 -2.892 1.455v3.092h-3.388c-1.18 0 -1.77 1.6 -1.77 2.667 0 1.068 0.6 2.799 1.77 2.668h3.895l-0.876 4.1c-1.37 -0.807 -4.18 -1.328 -6.264 -1.338 -10.038 -0.043 -14.685 11.794 -3.35 19.615l1.342 6.525c0 0.689 5.15 1.246 11.51 1.249h0.023z" fill="%BG%" stroke="%BORDER%" stroke-width="1.559" transform="matrix(.96234 0 0 .9617 -3133.3 2054.9)"/><path d="M3287.7 -2126.4c-0.55 -0.01 -0.968 0.097 -0.986 0.185 0.738 0.752 3.757 4.344 -3.738 3.792 -0.902 0.506 0.15 7.329 0.891 9.249 0 0 1.22 -0.547 2.05 -0.977 14.764 -4.253 12.707 12.372 3.903 15.299 -5.255 0.795 -13.114 1.12 -18.294 0.35l0.413 2.538c6.744 0.603 6.596 0.464 15.112 0.59 4.2 2.842 -11.95 3.965 -16.7 3.396 0.092 0.263 23.03 1.225 23.058 0.036l1.342 -6.56c11.335 -7.821 6.69 -19.657 -3.348 -19.615 -0.876 0 -1.877 0.103 -2.849 0.271l-3.411 1.065 -0.876 -4.099h3.894c1.027 0.294 1.743 -1.58 1.77 -2.668 0.151 -2.251 -1.43 -2.704 -2.228 -2.852z" opacity=".4" style="opacity:.25" transform="matrix(.96234 0 0 .9617 -3133.3 2054.9)"/><path d="M3282.9 -2129.8c-0.942 -0.253 -2.572 -0.194 -3.17 0.55 -0.044 0.056 -0.034 0.215 -0.033 0.296l0.028 3.576h-3.453c-0.296 0 -0.787 -0.016 -0.97 0.088 -0.37 0.206 -0.717 0.94 -0.75 1.79 -0.027 0.689 0.5 1.896 0.877 1.93 0.237 0.02 0.576 -0.029 1.182 -0.01 -1.884 -0.7 -1.398 -3.503 -0.2 -3.451l3.63 -0.028 -0.046 -3.143c-0.014 -0.97 0.65 -1.471 1.737 -1.471 0.427 0 1.428 0.04 1.924 0.191 -0.519 -0.301 -0.757 -0.316 -0.757 -0.316zm-3 10.6 -0.77 3.661c-1.37 -0.807 -4.11 -1.766 -6.193 -1.775 -9.415 -0.753 -14.415 10.655 -3.24 18.389l1.349 6.62 0.108 0.015 -0.452 -6.716c-10.51 -7.743 -6.864 -17.498 3.174 -17.455 2.084 0.01 4.254 0.978 5.625 1.785l0.908 -6.87z" fill="#fff" opacity=".25" style="paint-order:normal" transform="matrix(.96234 0 0 .9617 -3133.3 2054.9)"/></g></svg>';
|
||||
@knight: '<svg clip-rule="evenodd" fill-rule="evenodd" viewBox="0 0 50 50" xmlns="http://www.w3.org/2000/svg" width="50" height="50"><path d="m22.803 5.768 -2.495 0.468 -0.995 3.425 -2.169 -1.423 -1.427 0.424 0.76 4.951 -9.702 14.98c-0.358 5.956 1.871 6.017 6.143 7.648 4.973 -7.02 10.689 -5.017 15.371 -10.324 0.563 6.622 -15.845 9.2 -13.646 18.275l27.09 0.058c3.811 -16.778 1.02 -27.75 -14.607 -33.796z" style="clip-rule:evenodd;fill-rule:evenodd;fill:%BG%;stroke-linejoin:round;stroke-width:1.5;stroke:%BORDER%"/><path d="M21.619 17.718c-0.45 -0.01 -0.835 0.285 -1.09 0.609 -0.414 0.533 -0.63 1.178 -0.748 1.82 -0.044 0.278 -0.094 0.558 -0.077 0.838 0.026 0.098 0.144 0.063 0.217 0.044 0.632 -0.118 1.29 -0.128 1.907 -0.316 0.447 -0.14 0.801 -0.464 1.034 -0.84 0.233 -0.36 0.333 -0.773 0.471 -1.168 0.061 -0.138 0.045 -0.315 -0.096 -0.407 -0.232 -0.16 -0.513 -0.242 -0.772 -0.356 -0.254 -0.097 -0.505 -0.23 -0.788 -0.224z" style="clip-rule:evenodd;fill-rule:evenodd;opacity:.5"/><path d="m22.803 5.768 -1.247 0.234 3.807 5.702c19.045 8.125 18.868 24.79 6.86 32.524l9.51 0.021c3.81 -16.778 1.023 -27.75 -14.604 -33.796z" style="clip-rule:evenodd;fill-rule:evenodd;opacity:.25;"/><path d="M16.586 9.211c0.146 1.706 0.874 4.43 0.571 4.836l-9.61 14.73c-0.323 3.61 1.066 4.888 1.342 4.832 -0.087 0.01 -1.418 -2.128 -0.53 -4.647l9.67 -14.883 -1.432 -4.858c-0.14 -0.132 0.159 0.072 -0.01 -0.01z" style="clip-rule:evenodd;fill-rule:evenodd;fill:#fff;opacity:.25;"/><path d="M27.442 25.617s2.02 -2.624 1.99 -3.823 1.065 5.553 -1.303 6.363c-0.098 -0.413 0.272 -1.709 0.198 -1.993 -0.32 -1.224 -0.884 -0.417 -0.885 -0.547z" style="clip-rule:evenodd;fill-rule:evenodd;opacity:.25;stroke-width:.26458px;stroke:#000"/><path d="M28.727 28.005c-2.834 6.232 -14.734 8.14 -13.325 15.542 -1.072 -6.537 13.176 -8.88 13.325 -15.542" style="fill:#fff;opacity:.25"/><path d="M10.763 28.109s-0.047 2.386 -1.561 2.185c0 0 -1.834 -1.016 1.561 -2.185" style="fill:#000;opacity:.5"/></svg>';
|
||||
@rook: '<svg clip-rule="evenodd" fill-rule="evenodd" viewBox="0 0 50 50" xmlns="http://www.w3.org/2000/svg" width="50" height="50"><g stroke-width="1.079"><path d="m3329.1-2128.5-.643 2.608-3.389.194-.589-2.593-4.87 1.003v7.87c.846 2.112 1.968 2.466 3.027 3.027h2.162l-3.148 17.25c-4.314 2.456-5.284 3.57-5.284 8.502h31.034c0-4.933-.97-6.046-5.283-8.502l-3.148-17.25h2.161c1.06-.56 2.182-.915 3.027-3.027v-7.87l-4.87-1.003-.589 2.592-3.388-.194-.643-2.608h-2.784z" style="fill:%BG%;stroke-width:1.6185;stroke:%BORDER%" transform="matrix(.91877 0 0 .93482 -3036.3 1998.5)"/><path d="M3341.8-2127.8c4.172 12.439-14.069 10.218-21.331 9.793 0 0 .085 1.6 2.246 1.604h2.197-.036l-.092.503c13.852-1.045 11.329 3.048 13.773 15.557l-16.717.578-.111.613-1.051.613c5.434.595 23.899-3.102 22.257 7.89h4.543c.262-5.094-1.767-6.688-5.284-8.503l-2.962-17.53c.3-.194.96 0 1.922-.161 1.28-.213 2.624-1.483 3.08-2.748v-7.554z" opacity=".4" style="opacity:.25" transform="matrix(.91877 0 0 .93482 -3036.3 1998.5)"/><path d="m14.384 10.418 2.172-.444c-1.21.475-1.62 3.045-2.104 6.36-.146.994-.069-5.916-.069-5.916zm8.544-.935-.573 2.4 1.948-2.407zm9.372.28-.5 2.303 1.411-2.108zM19.07 20.609l-2.738 15.027L19.818 20.7zM11.444 43.23c-.013-.043-.031-1.011.152-1.914.209-1.023.696-2.006 1.489-2.64 1.46-1.168 2.686-1.828 2.825-1.832-2.104 1.627-4.052 3.62-4.466 6.386" opacity=".25" fill="#fff"/></g></svg>';
|
||||
@pawn: '<svg clip-rule="evenodd" fill-rule="evenodd" viewBox="0 0 50 50" xmlns="http://www.w3.org/2000/svg" width="50" height="50"><path d="M25 11.961c-3.39 0-6.032 2.505-6.032 5.818a6.2 6.2 0 0 0 1.976 4.514c-3.896 1.692-3.644 2.322-3.236 6.479h3.776c-1.66 8.227-9.02 6.338-8.862 15.47h24.755c.16-9.132-7.201-7.242-8.861-15.47h3.776c.408-4.157.66-4.787-3.237-6.48a6.2 6.2 0 0 0 1.976-4.513c0-3.313-2.64-5.818-6.031-5.818z" style="fill:%BG%;stroke-linejoin:round;stroke-width:1.5;stroke:%BORDER%"/><path d="M24.999 11.96a6.5 6.5 0 0 0-1.702.226c8.042 1.26 6.731 8.948 2.355 10.106 1.836.664 3.7 1.606 4.342 2.453.58.767.142 2.534.142 2.534l-12.555.204.128 1.02 5.694.021c1.711 8.098 14.126 6.628 13.968 15.718.158-9.09-7.118-7.642-8.829-15.74h3.752c.309-4.98 1.019-3.604-3.238-6.21a6.2 6.2 0 0 0 1.976-4.513c0-3.314-2.643-5.82-6.033-5.82z" style="fill:#000;opacity:.25"/><path d="M23.738 12.775c-.301-.106-4.279 1.245-3.986 5.297.12 1.658 1.217 3.176 1.38 3.141l.493.559s-.946-1.995-.946-3.7c0-3.157 3.064-5.3 3.064-5.3zm-1.571 16.489c-1.968 8.064-8.231 6.47-8.75 14.133v-.016c1.76-6.292 7.394-5.506 9.136-14.063z" style="fill:#fff;opacity:.25;"/><path d="M22.256 22.461c-1.397.672-3.813 1.37-3.942 2.788l1.761-.404c.144-.32.641-1.406 2.21-2.392z" style="fill:#fff;opacity:.25"/></svg>';
|
||||
@queen: '<svg clip-rule="evenodd" fill-rule="evenodd" viewBox="0 0 50 50" xmlns="http://www.w3.org/2000/svg" width="50" height="50"><g stroke-width="1.026"><path d="M3475.9-2129.1a4.37 4.37 0 0 0-4.373 4.367c0 1.98 1.34 3.71 3.258 4.216v11.158l-5.362-7.492c.485-.72.746-1.568.746-2.435a4.37 4.37 0 0 0-4.375-4.367 4.37 4.37 0 0 0-4.373 4.367c.065 2.14 1.935 3.816 4.328 4.365l.88 4.236 1.76 8.474 2.765 5.191 1.12 6.47c0 .801 4.318 1.45 9.647 1.45s9.648-.649 9.648-1.45l1.12-6.47 2.765-5.19 1.76-8.475.879-4.236c2.393-.55 4.264-2.225 4.328-4.365a4.37 4.37 0 0 0-4.373-4.367 4.37 4.37 0 0 0-4.374 4.367c0 .867.26 1.715.745 2.435l-5.361 7.493v-11.16a4.37 4.37 0 0 0 3.257-4.215 4.37 4.37 0 0 0-4.373-4.367 4.37 4.37 0 0 0-4.374 4.367c0 1.425.702 2.759 1.873 3.573l-3.52 10.364-3.52-10.364a4.36 4.36 0 0 0 1.874-3.573 4.37 4.37 0 0 0-4.374-4.367z" fill="%BG%" stroke="%BORDER%" stroke-width="1.538" transform="matrix(.98735 0 0 .96296 -3412.8 2056)"/><path d="M3498.4-2124c.95.986 3.299 5.321-2.077 8.733l-5.191 13.456c-6.962 1.255-14.694 1.553-20.32-.42l1.905 3.125c6.593 2.295 17.806.487 17.806.487-1.074 3.57-2.579 6.848-5.665 9.425 0 0 4.52.12 6.612-1.376l1.57-6.797 2.765-5.19 1.76-8.474.879-4.236c2.393-.55 4.264-2.225 4.328-4.365a4.37 4.37 0 0 0-4.372-4.368" opacity=".4" style="opacity:.25" transform="matrix(.98735 0 0 .96296 -3412.8 2056)"/><path d="M3475.9-2129.1c-.265 0-.524.028-.776.073 3.03 1.854 2.41 6 1.605 7.374l5.192 8.659-.776-1.801-2.744-6.364a4.36 4.36 0 0 0 1.874-3.574 4.37 4.37 0 0 0-4.375-4.367m12 0c-.265 0-.524.028-.776.073 4.562 1.318 1.776 6.566.654 6.989l1.238 10.482v-8.961a4.37 4.37 0 0 0 3.257-4.216 4.37 4.37 0 0 0-4.373-4.367m-22.2 5.4q-.398.002-.776.073c3.285 1.245 3.06 4.466 2.378 6.646l7.388 7.575-5.361-7.492a4.36 4.36 0 0 0 .745-2.435 4.37 4.37 0 0 0-4.374-4.367" opacity=".25" transform="matrix(.98735 0 0 .96296 -3412.8 2056)" fill="#010101"/><path d="M6.887 12.406s-3.273 2.607.121 5.31c-.219-.55-.906-3.763-.121-5.31m10.466-5.489c-.359-.156-3.303 2.198-1.152 5.148.1-.477-.836-3.765 1.152-5.148m12.144-.096c-.358-.156-3.505 2.176-1.307 5.2-.168-.553-.719-4.232 1.307-5.2M9.75 18.858l2.653 12.572 2.755 5.045 1.086 6.177.703.225-1.086-6.452-2.804-4.97zm29.72-6.74c-.36-.157-3.474 2.265-1.293 5.245-.21-.984-1.033-4.355 1.292-5.246" opacity=".25" fill="#fff"/></g></svg>';
|
||||
|
||||
#piece(@piece, @type) {
|
||||
@raw: if(
|
||||
@type = "white",
|
||||
replace(
|
||||
replace(
|
||||
replace(replace(@piece, "%BORDER%", @mantle), "%BG%", @text),
|
||||
"#fff",
|
||||
@mantle
|
||||
),
|
||||
"#000",
|
||||
@text
|
||||
),
|
||||
replace(
|
||||
replace(
|
||||
replace(replace(@piece, "%BORDER%", @mantle), "%BG%", @surface2),
|
||||
"#fff",
|
||||
@text
|
||||
),
|
||||
"#000",
|
||||
@mantle
|
||||
)
|
||||
);
|
||||
@svg: escape(@raw);
|
||||
@result: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
|
||||
--theme-board-style-image: url("data:image/svg+xml,@{board}");
|
||||
--theme-board-style-highlight-color: @highlight-color;
|
||||
|
||||
--theme-piece-set-wp: #piece(@pawn, "white")[];
|
||||
--theme-piece-set-wn: #piece(@knight, "white")[];
|
||||
--theme-piece-set-wr: #piece(@rook, "white")[];
|
||||
--theme-piece-set-wb: #piece(@bishop, "white")[];
|
||||
--theme-piece-set-wq: #piece(@queen, "white")[];
|
||||
--theme-piece-set-wk: #piece(@king, "white")[];
|
||||
--theme-piece-set-bp: #piece(@pawn, "black")[];
|
||||
--theme-piece-set-bn: #piece(@knight, "black")[];
|
||||
--theme-piece-set-bb: #piece(@bishop, "black")[];
|
||||
--theme-piece-set-br: #piece(@rook, "black")[];
|
||||
--theme-piece-set-bq: #piece(@queen, "black")[];
|
||||
--theme-piece-set-bk: #piece(@king, "black")[];
|
||||
|
||||
.board-popover-component {
|
||||
background-color: @surface0;
|
||||
}
|
||||
|
||||
.piece {
|
||||
/* Black */
|
||||
&.bp {
|
||||
background-image: #piece(@pawn, "black")[] !important;
|
||||
}
|
||||
&.bn {
|
||||
background-image: #piece(@knight, "black")[] !important;
|
||||
}
|
||||
&.bb {
|
||||
background-image: #piece(@bishop, "black")[] !important;
|
||||
}
|
||||
&.br {
|
||||
background-image: #piece(@rook, "black")[] !important;
|
||||
}
|
||||
&.bk {
|
||||
background-image: #piece(@king, "black")[] !important;
|
||||
}
|
||||
&.bq {
|
||||
background-image: #piece(@queen, "black")[] !important;
|
||||
}
|
||||
|
||||
/* White */
|
||||
&.wp {
|
||||
background-image: #piece(@pawn, "white")[] !important;
|
||||
}
|
||||
&.wn {
|
||||
background-image: #piece(@knight, "white")[] !important;
|
||||
}
|
||||
&.wb {
|
||||
background-image: #piece(@bishop, "white")[] !important;
|
||||
}
|
||||
&.wr {
|
||||
background-image: #piece(@rook, "white")[] !important;
|
||||
}
|
||||
&.wk {
|
||||
background-image: #piece(@king, "white")[] !important;
|
||||
}
|
||||
&.wq {
|
||||
background-image: #piece(@queen, "white")[] !important;
|
||||
}
|
||||
}
|
||||
|
||||
.chessboard-pkg-move-list-component .dark-row {
|
||||
background-color: @surface1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* 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; };
|
||||
};
|
||||
@@ -1,9 +1,9 @@
|
||||
/* ==UserStyle==
|
||||
@name Cinny Catppuccin
|
||||
@name Cinny Catppuccin [STUB | UPDATE REQUIRED]
|
||||
@namespace github.com/catppuccin/userstyles/styles/cinny
|
||||
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/cinny
|
||||
@version 2024.12.28
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/cinny/catppuccin.user.css
|
||||
@version 2024.12.29
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/cinny/catppuccin.user.less
|
||||
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Acinny
|
||||
@description Soothing pastel theme for Cinny
|
||||
@author Catppuccin
|
||||
@@ -13,270 +13,4 @@
|
||||
@var select lightFlavor "Light Flavor" ["latte:Latte*", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha"]
|
||||
@var select darkFlavor "Dark Flavor" ["latte:Latte", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha*"]
|
||||
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
|
||||
==/UserStyle== */
|
||||
|
||||
@-moz-document domain("cinny.in") {
|
||||
#catppuccin(@lookup, @accent) {
|
||||
@rosewater: @catppuccin[@@lookup][@rosewater];
|
||||
@rosewater: @catppuccin[@@lookup][@rosewater];
|
||||
@flamingo: @catppuccin[@@lookup][@flamingo];
|
||||
@pink: @catppuccin[@@lookup][@pink];
|
||||
@mauve: @catppuccin[@@lookup][@mauve];
|
||||
@red: @catppuccin[@@lookup][@red];
|
||||
@maroon: @catppuccin[@@lookup][@maroon];
|
||||
@peach: @catppuccin[@@lookup][@peach];
|
||||
@yellow: @catppuccin[@@lookup][@yellow];
|
||||
@green: @catppuccin[@@lookup][@green];
|
||||
@teal: @catppuccin[@@lookup][@teal];
|
||||
@sky: @catppuccin[@@lookup][@sky];
|
||||
@sapphire: @catppuccin[@@lookup][@sapphire];
|
||||
@blue: @catppuccin[@@lookup][@blue];
|
||||
@lavender: @catppuccin[@@lookup][@lavender];
|
||||
@text: @catppuccin[@@lookup][@text];
|
||||
@subtext1: @catppuccin[@@lookup][@subtext1];
|
||||
@subtext0: @catppuccin[@@lookup][@subtext0];
|
||||
@overlay2: @catppuccin[@@lookup][@overlay2];
|
||||
@overlay1: @catppuccin[@@lookup][@overlay1];
|
||||
@overlay0: @catppuccin[@@lookup][@overlay0];
|
||||
@surface2: @catppuccin[@@lookup][@surface2];
|
||||
@surface1: @catppuccin[@@lookup][@surface1];
|
||||
@surface0: @catppuccin[@@lookup][@surface0];
|
||||
@base: @catppuccin[@@lookup][@base];
|
||||
@mantle: @catppuccin[@@lookup][@mantle];
|
||||
@crust: @catppuccin[@@lookup][@crust];
|
||||
@accent-color: @catppuccin[@@lookup][@@accent];
|
||||
|
||||
color-scheme: if(@lookup = latte, light, dark);
|
||||
|
||||
::selection {
|
||||
background-color: fade(@accent-color, 30%);
|
||||
}
|
||||
|
||||
input,
|
||||
textarea {
|
||||
&::placeholder {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* Backgrounds */
|
||||
--bg-surface: @base;
|
||||
--bg-surface-transparent: fade(@base, 0%);
|
||||
--bg-surface-low: @mantle;
|
||||
--bg-surface-low-transparent: fade(@mantle, 0%);
|
||||
--bg-surface-extra-low: @crust;
|
||||
--bg-surface-extra-low-transparent: fade(@crust, 0%);
|
||||
--bg-surface-border: fade(@crust, 20%);
|
||||
--bg-surface-hover: @surface0;
|
||||
--bg-surface-active: @surface1;
|
||||
--bg-overlay: fade(@crust, 60%);
|
||||
--bg-overlay-low: fade(@crust, 80%);
|
||||
--bg-primary: @accent-color;
|
||||
--bg-primary-hover: fade(@accent-color, 80%);
|
||||
--bg-primary-active: fade(@accent-color, 70%);
|
||||
--bg-primary-border: fade(@accent-color, 38%);
|
||||
--bg-tooltip: @surface0;
|
||||
--bg-badge: @lavender;
|
||||
--bg-positive: @green;
|
||||
--bg-positive-hover: fade(@green, 8%);
|
||||
--bg-positive-active: fade(@green, 15%);
|
||||
--bg-positive-border: fade(@green, 40%);
|
||||
--bg-caution: @peach;
|
||||
--bg-caution-hover: fade(@peach, 8%);
|
||||
--bg-caution-active: fade(@peach, 15%);
|
||||
--bg-caution-border: fade(@peach, 40%);
|
||||
--bg-danger: @maroon;
|
||||
--bg-danger-hover: fade(@maroon, 5%);
|
||||
--bg-danger-active: fade(@maroon, 10%);
|
||||
--bg-danger-border: fade(@maroon, 20%);
|
||||
--bg-ping: fade(@green, 40%);
|
||||
--bg-ping-hover: fade(@green, 50%);
|
||||
|
||||
/* Texts */
|
||||
--tc-surface-high: @text;
|
||||
--tc-surface-normal: @text;
|
||||
--tc-surface-normal-low: @subtext1;
|
||||
--tc-surface-low: @subtext0;
|
||||
--tc-primary-high: @crust;
|
||||
--tc-primary-normal: @text;
|
||||
--tc-primary-low: @subtext1;
|
||||
--tc-tooltip: @subtext0;
|
||||
--tc-code: @mauve;
|
||||
--tc-link: @rosewater;
|
||||
--tc-badge: @crust;
|
||||
--tc-positive-high: @green;
|
||||
--tc-positive-normal: @green;
|
||||
--tc-positive-low: @green;
|
||||
--tc-caution-high: @peach;
|
||||
--tc-caution-normal: @peach;
|
||||
--tc-caution-low: @peach;
|
||||
--tc-danger-high: @maroon;
|
||||
--tc-danger-normal: @maroon;
|
||||
--tc-danger-low: @maroon;
|
||||
|
||||
/* Icons */
|
||||
--ic-surface-high: @text;
|
||||
--ic-surface-normal: @text;
|
||||
--ic-surface-low: @subtext1;
|
||||
--ic-primary-high: @crust;
|
||||
--ic-primary-normal: @crust;
|
||||
--ic-primary-low: @crust;
|
||||
--ic-positive-high: @green;
|
||||
--ic-positive-normal: @maroon;
|
||||
--ic-caution-high: @peach;
|
||||
--ic-caution-normal: @peach;
|
||||
--ic-danger-high: @maroon;
|
||||
--ic-danger-normal: @maroon;
|
||||
|
||||
/* Users */
|
||||
--mx-uc-1: @blue;
|
||||
--mx-uc-2: @pink;
|
||||
--mx-uc-3: @teal;
|
||||
--mx-uc-4: @red;
|
||||
--mx-uc-5: @peach;
|
||||
--mx-uc-6: @sky;
|
||||
--mx-uc-7: @mauve;
|
||||
--mx-uc-8: @green;
|
||||
|
||||
body.oq6d071w,
|
||||
&._15q3ngn0,
|
||||
&._15q3ngn1,
|
||||
&._15q3ngn2 {
|
||||
--oq6d070: @mantle;
|
||||
--oq6d071: @base;
|
||||
--oq6d072: @surface0;
|
||||
--oq6d073: @surface1;
|
||||
--oq6d074: @text;
|
||||
--oq6d075: @base;
|
||||
--oq6d076: @surface0;
|
||||
--oq6d077: @surface1;
|
||||
--oq6d078: @surface2;
|
||||
--oq6d079: @text;
|
||||
--oq6d07a: @mantle;
|
||||
--oq6d07b: @base;
|
||||
--oq6d07c: @surface0;
|
||||
--oq6d07d: @surface1;
|
||||
--oq6d07e: @text;
|
||||
|
||||
--oq6d07f: @subtext0;
|
||||
--oq6d07g: @overlay2;
|
||||
--oq6d07h: @overlay1;
|
||||
--oq6d07i: @overlay0;
|
||||
|
||||
--oq6d07j: @base;
|
||||
|
||||
--oq6d07k: fade(@accent-color, 50%);
|
||||
--oq6d07l: fade(@accent-color, 40%);
|
||||
--oq6d07m: fade(@accent-color, 30%);
|
||||
--oq6d07n: fade(@accent-color, 20%);
|
||||
|
||||
--oq6d07o: @text;
|
||||
--oq6d07p: @subtext1;
|
||||
--oq6d07q: @subtext0;
|
||||
--oq6d07r: @overlay2;
|
||||
--oq6d07s: @overlay1;
|
||||
|
||||
--oq6d07t: @mantle;
|
||||
--oq6d07u: @surface0;
|
||||
--oq6d07v: @surface1;
|
||||
--oq6d07w: @surface2;
|
||||
--oq6d07x: @overlay0;
|
||||
--oq6d07y: @subtext0;
|
||||
|
||||
--oq6d07z: fade(@green, 90%);
|
||||
--oq6d0710: fade(@green, 95%);
|
||||
--oq6d0711: fade(@green, 97.5%);
|
||||
--oq6d0712: @green;
|
||||
--oq6d0713: @surface0;
|
||||
--oq6d0714: fade(@surface0, 97.5%);
|
||||
--oq6d0715: fade(@surface0, 95%);
|
||||
--oq6d0716: fade(@surface0, 90%);
|
||||
--oq6d0717: fade(@surface0, 80%);
|
||||
|
||||
--oq6d0718: @green;
|
||||
|
||||
--oq6d0719: fade(@peach, 90%);
|
||||
--oq6d071a: fade(@peach, 95%);
|
||||
--oq6d071b: fade(@peach, 97.5%);
|
||||
--oq6d071c: @peach;
|
||||
--oq6d071d: fade(@surface0, 97.5%);
|
||||
--oq6d071e: fade(@surface0, 95%);
|
||||
--oq6d071f: fade(@surface0, 90%);
|
||||
--oq6d071g: fade(@surface0, 80%);
|
||||
--oq6d071h: fade(@surface0, 70%);
|
||||
|
||||
--oq6d071i: fade(@maroon, 90%);
|
||||
--oq6d071j: fade(@maroon, 95%);
|
||||
--oq6d071k: fade(@maroon, 97.5%);
|
||||
--oq6d071l: @maroon;
|
||||
--oq6d071m: fade(@surface0, 97.5%);
|
||||
--oq6d071n: fade(@surface0, 95%);
|
||||
--oq6d071o: fade(@surface0, 90%);
|
||||
--oq6d071p: fade(@surface0, 80%);
|
||||
--oq6d071q: fade(@surface0, 70%);
|
||||
--oq6d071r: fade(@surface0, 60%);
|
||||
--oq6d071s: fade(@maroon, 90%);
|
||||
|
||||
--oq6d071t: fade(@text, 50%);
|
||||
--oq6d071u: @crust;
|
||||
--oq6d071v: fade(@crust, 60%);
|
||||
}
|
||||
|
||||
/* Syntax highlighting */
|
||||
body.prism-light,
|
||||
&.prism-light,
|
||||
&.prism-dark {
|
||||
--prism-comment: @overlay2;
|
||||
--prism-punctuation: @overlay2;
|
||||
--prism-property: @yellow;
|
||||
--prism-boolean: @peach;
|
||||
--prism-selector: @green;
|
||||
--prism-operator: @sky;
|
||||
--prism-atrule: @mauve;
|
||||
--prism-keyword: @mauve;
|
||||
--prism-regex: @pink;
|
||||
}
|
||||
|
||||
/* Search results */
|
||||
._1m2qi7rn {
|
||||
background-color: @accent-color;
|
||||
color: @base;
|
||||
}
|
||||
|
||||
/* Footer */
|
||||
.footer {
|
||||
.text-s1,
|
||||
.text-h2,
|
||||
a {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
.footer__creator,
|
||||
.footer__menu-container .text-b3 {
|
||||
color: @subtext0;
|
||||
}
|
||||
|
||||
background-color: @base;
|
||||
}
|
||||
}
|
||||
|
||||
:root,
|
||||
.silver-theme {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
|
||||
.dark-theme,
|
||||
.butter-theme {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
|
||||
/* prettier-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; };
|
||||
}
|
||||
|
||||
// vim:ft=less
|
||||
==/UserStyle== */
|
||||
@@ -0,0 +1,280 @@
|
||||
/* ==UserStyle==
|
||||
@name Cinny Catppuccin
|
||||
@namespace github.com/catppuccin/userstyles/styles/cinny
|
||||
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/cinny
|
||||
@version 2024.12.29.1
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/cinny/catppuccin.user.less
|
||||
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Acinny
|
||||
@description Soothing pastel theme for Cinny
|
||||
@author Catppuccin
|
||||
@license MIT
|
||||
|
||||
@preprocessor less
|
||||
@var select lightFlavor "Light Flavor" ["latte:Latte*", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha"]
|
||||
@var select darkFlavor "Dark Flavor" ["latte:Latte", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha*"]
|
||||
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
|
||||
==/UserStyle== */
|
||||
|
||||
@-moz-document domain("cinny.in") {
|
||||
#catppuccin(@lookup, @accent) {
|
||||
@rosewater: @catppuccin[@@lookup][@rosewater];
|
||||
@rosewater: @catppuccin[@@lookup][@rosewater];
|
||||
@flamingo: @catppuccin[@@lookup][@flamingo];
|
||||
@pink: @catppuccin[@@lookup][@pink];
|
||||
@mauve: @catppuccin[@@lookup][@mauve];
|
||||
@red: @catppuccin[@@lookup][@red];
|
||||
@maroon: @catppuccin[@@lookup][@maroon];
|
||||
@peach: @catppuccin[@@lookup][@peach];
|
||||
@yellow: @catppuccin[@@lookup][@yellow];
|
||||
@green: @catppuccin[@@lookup][@green];
|
||||
@teal: @catppuccin[@@lookup][@teal];
|
||||
@sky: @catppuccin[@@lookup][@sky];
|
||||
@sapphire: @catppuccin[@@lookup][@sapphire];
|
||||
@blue: @catppuccin[@@lookup][@blue];
|
||||
@lavender: @catppuccin[@@lookup][@lavender];
|
||||
@text: @catppuccin[@@lookup][@text];
|
||||
@subtext1: @catppuccin[@@lookup][@subtext1];
|
||||
@subtext0: @catppuccin[@@lookup][@subtext0];
|
||||
@overlay2: @catppuccin[@@lookup][@overlay2];
|
||||
@overlay1: @catppuccin[@@lookup][@overlay1];
|
||||
@overlay0: @catppuccin[@@lookup][@overlay0];
|
||||
@surface2: @catppuccin[@@lookup][@surface2];
|
||||
@surface1: @catppuccin[@@lookup][@surface1];
|
||||
@surface0: @catppuccin[@@lookup][@surface0];
|
||||
@base: @catppuccin[@@lookup][@base];
|
||||
@mantle: @catppuccin[@@lookup][@mantle];
|
||||
@crust: @catppuccin[@@lookup][@crust];
|
||||
@accent-color: @catppuccin[@@lookup][@@accent];
|
||||
|
||||
color-scheme: if(@lookup = latte, light, dark);
|
||||
|
||||
::selection {
|
||||
background-color: fade(@accent-color, 30%);
|
||||
}
|
||||
|
||||
input,
|
||||
textarea {
|
||||
&::placeholder {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* Backgrounds */
|
||||
--bg-surface: @base;
|
||||
--bg-surface-transparent: fade(@base, 0%);
|
||||
--bg-surface-low: @mantle;
|
||||
--bg-surface-low-transparent: fade(@mantle, 0%);
|
||||
--bg-surface-extra-low: @crust;
|
||||
--bg-surface-extra-low-transparent: fade(@crust, 0%);
|
||||
--bg-surface-border: fade(@crust, 20%);
|
||||
--bg-surface-hover: @surface0;
|
||||
--bg-surface-active: @surface1;
|
||||
--bg-overlay: fade(@crust, 60%);
|
||||
--bg-overlay-low: fade(@crust, 80%);
|
||||
--bg-primary: @accent-color;
|
||||
--bg-primary-hover: fade(@accent-color, 80%);
|
||||
--bg-primary-active: fade(@accent-color, 70%);
|
||||
--bg-primary-border: fade(@accent-color, 38%);
|
||||
--bg-tooltip: @surface0;
|
||||
--bg-badge: @lavender;
|
||||
--bg-positive: @green;
|
||||
--bg-positive-hover: fade(@green, 8%);
|
||||
--bg-positive-active: fade(@green, 15%);
|
||||
--bg-positive-border: fade(@green, 40%);
|
||||
--bg-caution: @peach;
|
||||
--bg-caution-hover: fade(@peach, 8%);
|
||||
--bg-caution-active: fade(@peach, 15%);
|
||||
--bg-caution-border: fade(@peach, 40%);
|
||||
--bg-danger: @maroon;
|
||||
--bg-danger-hover: fade(@maroon, 5%);
|
||||
--bg-danger-active: fade(@maroon, 10%);
|
||||
--bg-danger-border: fade(@maroon, 20%);
|
||||
--bg-ping: fade(@green, 40%);
|
||||
--bg-ping-hover: fade(@green, 50%);
|
||||
|
||||
/* Texts */
|
||||
--tc-surface-high: @text;
|
||||
--tc-surface-normal: @text;
|
||||
--tc-surface-normal-low: @subtext1;
|
||||
--tc-surface-low: @subtext0;
|
||||
--tc-primary-high: @crust;
|
||||
--tc-primary-normal: @text;
|
||||
--tc-primary-low: @subtext1;
|
||||
--tc-tooltip: @subtext0;
|
||||
--tc-code: @mauve;
|
||||
--tc-link: @rosewater;
|
||||
--tc-badge: @crust;
|
||||
--tc-positive-high: @green;
|
||||
--tc-positive-normal: @green;
|
||||
--tc-positive-low: @green;
|
||||
--tc-caution-high: @peach;
|
||||
--tc-caution-normal: @peach;
|
||||
--tc-caution-low: @peach;
|
||||
--tc-danger-high: @maroon;
|
||||
--tc-danger-normal: @maroon;
|
||||
--tc-danger-low: @maroon;
|
||||
|
||||
/* Icons */
|
||||
--ic-surface-high: @text;
|
||||
--ic-surface-normal: @text;
|
||||
--ic-surface-low: @subtext1;
|
||||
--ic-primary-high: @crust;
|
||||
--ic-primary-normal: @crust;
|
||||
--ic-primary-low: @crust;
|
||||
--ic-positive-high: @green;
|
||||
--ic-positive-normal: @maroon;
|
||||
--ic-caution-high: @peach;
|
||||
--ic-caution-normal: @peach;
|
||||
--ic-danger-high: @maroon;
|
||||
--ic-danger-normal: @maroon;
|
||||
|
||||
/* Users */
|
||||
--mx-uc-1: @blue;
|
||||
--mx-uc-2: @pink;
|
||||
--mx-uc-3: @teal;
|
||||
--mx-uc-4: @red;
|
||||
--mx-uc-5: @peach;
|
||||
--mx-uc-6: @sky;
|
||||
--mx-uc-7: @mauve;
|
||||
--mx-uc-8: @green;
|
||||
|
||||
body.oq6d071w,
|
||||
&._15q3ngn0,
|
||||
&._15q3ngn1,
|
||||
&._15q3ngn2 {
|
||||
--oq6d070: @mantle;
|
||||
--oq6d071: @base;
|
||||
--oq6d072: @surface0;
|
||||
--oq6d073: @surface1;
|
||||
--oq6d074: @text;
|
||||
--oq6d075: @base;
|
||||
--oq6d076: @surface0;
|
||||
--oq6d077: @surface1;
|
||||
--oq6d078: @surface2;
|
||||
--oq6d079: @text;
|
||||
--oq6d07a: @mantle;
|
||||
--oq6d07b: @base;
|
||||
--oq6d07c: @surface0;
|
||||
--oq6d07d: @surface1;
|
||||
--oq6d07e: @text;
|
||||
|
||||
--oq6d07f: @subtext0;
|
||||
--oq6d07g: @overlay2;
|
||||
--oq6d07h: @overlay1;
|
||||
--oq6d07i: @overlay0;
|
||||
|
||||
--oq6d07j: @base;
|
||||
|
||||
--oq6d07k: fade(@accent-color, 50%);
|
||||
--oq6d07l: fade(@accent-color, 40%);
|
||||
--oq6d07m: fade(@accent-color, 30%);
|
||||
--oq6d07n: fade(@accent-color, 20%);
|
||||
|
||||
--oq6d07o: @text;
|
||||
--oq6d07p: @subtext1;
|
||||
--oq6d07q: @subtext0;
|
||||
--oq6d07r: @overlay2;
|
||||
--oq6d07s: @overlay1;
|
||||
|
||||
--oq6d07t: @mantle;
|
||||
--oq6d07u: @surface0;
|
||||
--oq6d07v: @surface1;
|
||||
--oq6d07w: @surface2;
|
||||
--oq6d07x: @overlay0;
|
||||
--oq6d07y: @subtext0;
|
||||
|
||||
--oq6d07z: fade(@green, 90%);
|
||||
--oq6d0710: fade(@green, 95%);
|
||||
--oq6d0711: fade(@green, 97.5%);
|
||||
--oq6d0712: @green;
|
||||
--oq6d0713: @surface0;
|
||||
--oq6d0714: fade(@surface0, 97.5%);
|
||||
--oq6d0715: fade(@surface0, 95%);
|
||||
--oq6d0716: fade(@surface0, 90%);
|
||||
--oq6d0717: fade(@surface0, 80%);
|
||||
|
||||
--oq6d0718: @green;
|
||||
|
||||
--oq6d0719: fade(@peach, 90%);
|
||||
--oq6d071a: fade(@peach, 95%);
|
||||
--oq6d071b: fade(@peach, 97.5%);
|
||||
--oq6d071c: @peach;
|
||||
--oq6d071d: fade(@surface0, 97.5%);
|
||||
--oq6d071e: fade(@surface0, 95%);
|
||||
--oq6d071f: fade(@surface0, 90%);
|
||||
--oq6d071g: fade(@surface0, 80%);
|
||||
--oq6d071h: fade(@surface0, 70%);
|
||||
|
||||
--oq6d071i: fade(@maroon, 90%);
|
||||
--oq6d071j: fade(@maroon, 95%);
|
||||
--oq6d071k: fade(@maroon, 97.5%);
|
||||
--oq6d071l: @maroon;
|
||||
--oq6d071m: fade(@surface0, 97.5%);
|
||||
--oq6d071n: fade(@surface0, 95%);
|
||||
--oq6d071o: fade(@surface0, 90%);
|
||||
--oq6d071p: fade(@surface0, 80%);
|
||||
--oq6d071q: fade(@surface0, 70%);
|
||||
--oq6d071r: fade(@surface0, 60%);
|
||||
--oq6d071s: fade(@maroon, 90%);
|
||||
|
||||
--oq6d071t: fade(@text, 50%);
|
||||
--oq6d071u: @crust;
|
||||
--oq6d071v: fade(@crust, 60%);
|
||||
}
|
||||
|
||||
/* Syntax highlighting */
|
||||
body.prism-light,
|
||||
&.prism-light,
|
||||
&.prism-dark {
|
||||
--prism-comment: @overlay2;
|
||||
--prism-punctuation: @overlay2;
|
||||
--prism-property: @yellow;
|
||||
--prism-boolean: @peach;
|
||||
--prism-selector: @green;
|
||||
--prism-operator: @sky;
|
||||
--prism-atrule: @mauve;
|
||||
--prism-keyword: @mauve;
|
||||
--prism-regex: @pink;
|
||||
}
|
||||
|
||||
/* Search results */
|
||||
._1m2qi7rn {
|
||||
background-color: @accent-color;
|
||||
color: @base;
|
||||
}
|
||||
|
||||
/* Footer */
|
||||
.footer {
|
||||
.text-s1,
|
||||
.text-h2,
|
||||
a {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
.footer__creator,
|
||||
.footer__menu-container .text-b3 {
|
||||
color: @subtext0;
|
||||
}
|
||||
|
||||
background-color: @base;
|
||||
}
|
||||
}
|
||||
|
||||
:root,
|
||||
.silver-theme {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
|
||||
.dark-theme,
|
||||
.butter-theme {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
|
||||
/* 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; };
|
||||
};
|
||||
@@ -1,9 +1,9 @@
|
||||
/* ==UserStyle==
|
||||
@name cobalt Catppuccin
|
||||
@name cobalt Catppuccin [STUB | UPDATE REQUIRED]
|
||||
@namespace github.com/catppuccin/userstyles/styles/cobalt
|
||||
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/cobalt
|
||||
@version 2024.12.28
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/cobalt/catppuccin.user.css
|
||||
@version 2024.12.29
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/cobalt/catppuccin.user.less
|
||||
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Acobalt
|
||||
@description Soothing pastel theme for cobalt
|
||||
@author Catppuccin
|
||||
@@ -13,134 +13,4 @@
|
||||
@var select lightFlavor "Light Flavor" ["latte:Latte*", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha"]
|
||||
@var select darkFlavor "Dark Flavor" ["latte:Latte", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha*"]
|
||||
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
|
||||
==/UserStyle== */
|
||||
|
||||
@-moz-document domain('cobalt.tools') {
|
||||
[data-theme="dark"] {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
}
|
||||
[data-theme="light"] {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
|
||||
#catppuccin(@lookup, @accent) {
|
||||
@rosewater: @catppuccin[@@lookup][@rosewater];
|
||||
@flamingo: @catppuccin[@@lookup][@flamingo];
|
||||
@pink: @catppuccin[@@lookup][@pink];
|
||||
@mauve: @catppuccin[@@lookup][@mauve];
|
||||
@red: @catppuccin[@@lookup][@red];
|
||||
@maroon: @catppuccin[@@lookup][@maroon];
|
||||
@peach: @catppuccin[@@lookup][@peach];
|
||||
@yellow: @catppuccin[@@lookup][@yellow];
|
||||
@green: @catppuccin[@@lookup][@green];
|
||||
@teal: @catppuccin[@@lookup][@teal];
|
||||
@sky: @catppuccin[@@lookup][@sky];
|
||||
@sapphire: @catppuccin[@@lookup][@sapphire];
|
||||
@blue: @catppuccin[@@lookup][@blue];
|
||||
@lavender: @catppuccin[@@lookup][@lavender];
|
||||
@text: @catppuccin[@@lookup][@text];
|
||||
@subtext1: @catppuccin[@@lookup][@subtext1];
|
||||
@subtext0: @catppuccin[@@lookup][@subtext0];
|
||||
@overlay2: @catppuccin[@@lookup][@overlay2];
|
||||
@overlay1: @catppuccin[@@lookup][@overlay1];
|
||||
@overlay0: @catppuccin[@@lookup][@overlay0];
|
||||
@surface2: @catppuccin[@@lookup][@surface2];
|
||||
@surface1: @catppuccin[@@lookup][@surface1];
|
||||
@surface0: @catppuccin[@@lookup][@surface0];
|
||||
@base: @catppuccin[@@lookup][@base];
|
||||
@mantle: @catppuccin[@@lookup][@mantle];
|
||||
@crust: @catppuccin[@@lookup][@crust];
|
||||
@accent-color: @catppuccin[@@lookup][@@accent];
|
||||
|
||||
color-scheme: if(@lookup = latte, light, dark);
|
||||
|
||||
::selection {
|
||||
background-color: fade(@accent-color, 30%);
|
||||
}
|
||||
|
||||
input,
|
||||
textarea {
|
||||
&::placeholder {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
--primary: @base;
|
||||
--secondary: @text;
|
||||
--gray: @subtext0;
|
||||
--blue: @blue;
|
||||
--green: @green;
|
||||
--red: @maroon;
|
||||
--dark-red: @red;
|
||||
--white: @crust;
|
||||
--button: @surface0;
|
||||
--button-hover: darken(@surface0, 5%);
|
||||
--button-active-hover: darken(@subtext0, 5%);
|
||||
--button-elevated: @surface1;
|
||||
--button-elevated-hover: darken(@surface1, 5%);
|
||||
--button-text: @text;
|
||||
--sidebar-bg: @mantle;
|
||||
--sidebar-hover: @surface0;
|
||||
--sidebar-highlight: @text;
|
||||
--input-border: @surface2;
|
||||
--popup-bg: @mantle;
|
||||
--toggle-bg-enabled: @accent-color;
|
||||
|
||||
#donate-page {
|
||||
--donate-gradient-start: @surface1 !important;
|
||||
--donate-gradient-end: @surface0 !important;
|
||||
}
|
||||
|
||||
#banner-left {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
#banner-subtitle {
|
||||
color: @subtext0;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.donate-card button {
|
||||
color: @text !important;
|
||||
}
|
||||
|
||||
.donate-card {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
.donate-card-title {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
.donate-card-subtitle {
|
||||
color: @subtext0;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
#input-container.focused {
|
||||
box-shadow: 0 0 0 2px @text inset !important;
|
||||
}
|
||||
|
||||
#input-dollar-sign {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
#donation-custom-input {
|
||||
color: @text !important;
|
||||
}
|
||||
|
||||
#cobalt-logo path {
|
||||
fill: @text;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* prettier-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; };
|
||||
}
|
||||
|
||||
// vim:ft=less
|
||||
==/UserStyle== */
|
||||
@@ -0,0 +1,144 @@
|
||||
/* ==UserStyle==
|
||||
@name cobalt Catppuccin
|
||||
@namespace github.com/catppuccin/userstyles/styles/cobalt
|
||||
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/cobalt
|
||||
@version 2024.12.29.1
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/cobalt/catppuccin.user.less
|
||||
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Acobalt
|
||||
@description Soothing pastel theme for cobalt
|
||||
@author Catppuccin
|
||||
@license MIT
|
||||
|
||||
@preprocessor less
|
||||
@var select lightFlavor "Light Flavor" ["latte:Latte*", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha"]
|
||||
@var select darkFlavor "Dark Flavor" ["latte:Latte", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha*"]
|
||||
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
|
||||
==/UserStyle== */
|
||||
|
||||
@-moz-document domain("cobalt.tools") {
|
||||
[data-theme="dark"] {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
}
|
||||
[data-theme="light"] {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
|
||||
#catppuccin(@lookup, @accent) {
|
||||
@rosewater: @catppuccin[@@lookup][@rosewater];
|
||||
@flamingo: @catppuccin[@@lookup][@flamingo];
|
||||
@pink: @catppuccin[@@lookup][@pink];
|
||||
@mauve: @catppuccin[@@lookup][@mauve];
|
||||
@red: @catppuccin[@@lookup][@red];
|
||||
@maroon: @catppuccin[@@lookup][@maroon];
|
||||
@peach: @catppuccin[@@lookup][@peach];
|
||||
@yellow: @catppuccin[@@lookup][@yellow];
|
||||
@green: @catppuccin[@@lookup][@green];
|
||||
@teal: @catppuccin[@@lookup][@teal];
|
||||
@sky: @catppuccin[@@lookup][@sky];
|
||||
@sapphire: @catppuccin[@@lookup][@sapphire];
|
||||
@blue: @catppuccin[@@lookup][@blue];
|
||||
@lavender: @catppuccin[@@lookup][@lavender];
|
||||
@text: @catppuccin[@@lookup][@text];
|
||||
@subtext1: @catppuccin[@@lookup][@subtext1];
|
||||
@subtext0: @catppuccin[@@lookup][@subtext0];
|
||||
@overlay2: @catppuccin[@@lookup][@overlay2];
|
||||
@overlay1: @catppuccin[@@lookup][@overlay1];
|
||||
@overlay0: @catppuccin[@@lookup][@overlay0];
|
||||
@surface2: @catppuccin[@@lookup][@surface2];
|
||||
@surface1: @catppuccin[@@lookup][@surface1];
|
||||
@surface0: @catppuccin[@@lookup][@surface0];
|
||||
@base: @catppuccin[@@lookup][@base];
|
||||
@mantle: @catppuccin[@@lookup][@mantle];
|
||||
@crust: @catppuccin[@@lookup][@crust];
|
||||
@accent-color: @catppuccin[@@lookup][@@accent];
|
||||
|
||||
color-scheme: if(@lookup = latte, light, dark);
|
||||
|
||||
::selection {
|
||||
background-color: fade(@accent-color, 30%);
|
||||
}
|
||||
|
||||
input,
|
||||
textarea {
|
||||
&::placeholder {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
--primary: @base;
|
||||
--secondary: @text;
|
||||
--gray: @subtext0;
|
||||
--blue: @blue;
|
||||
--green: @green;
|
||||
--red: @maroon;
|
||||
--dark-red: @red;
|
||||
--white: @crust;
|
||||
--button: @surface0;
|
||||
--button-hover: darken(@surface0, 5%);
|
||||
--button-active-hover: darken(@subtext0, 5%);
|
||||
--button-elevated: @surface1;
|
||||
--button-elevated-hover: darken(@surface1, 5%);
|
||||
--button-text: @text;
|
||||
--sidebar-bg: @mantle;
|
||||
--sidebar-hover: @surface0;
|
||||
--sidebar-highlight: @text;
|
||||
--input-border: @surface2;
|
||||
--popup-bg: @mantle;
|
||||
--toggle-bg-enabled: @accent-color;
|
||||
|
||||
#donate-page {
|
||||
--donate-gradient-start: @surface1 !important;
|
||||
--donate-gradient-end: @surface0 !important;
|
||||
}
|
||||
|
||||
#banner-left {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
#banner-subtitle {
|
||||
color: @subtext0;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.donate-card button {
|
||||
color: @text !important;
|
||||
}
|
||||
|
||||
.donate-card {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
.donate-card-title {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
.donate-card-subtitle {
|
||||
color: @subtext0;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
#input-container.focused {
|
||||
box-shadow: 0 0 0 2px @text inset !important;
|
||||
}
|
||||
|
||||
#input-dollar-sign {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
#donation-custom-input {
|
||||
color: @text !important;
|
||||
}
|
||||
|
||||
#cobalt-logo path {
|
||||
fill: @text;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* 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; };
|
||||
};
|
||||
@@ -1,9 +1,9 @@
|
||||
/* ==UserStyle==
|
||||
@name Codeberg Catppuccin
|
||||
@name Codeberg Catppuccin [STUB | UPDATE REQUIRED]
|
||||
@namespace github.com/catppuccin/userstyles/styles/codeberg
|
||||
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/codeberg
|
||||
@version 2024.12.28
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/codeberg/catppuccin.user.css
|
||||
@version 2024.12.29
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/codeberg/catppuccin.user.less
|
||||
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Acodeberg
|
||||
@description Soothing pastel theme for Codeberg
|
||||
@author Catppuccin
|
||||
@@ -13,122 +13,4 @@
|
||||
@var select lightFlavor "Light Flavor" ["latte:Latte*", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha"]
|
||||
@var select darkFlavor "Dark Flavor" ["latte:Latte", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha*"]
|
||||
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
|
||||
==/UserStyle== */
|
||||
|
||||
@-moz-document domain('codeberg.org') {
|
||||
@import (css)
|
||||
url("https://catppuccin.github.io/gitea/theme-catppuccin-@{lightFlavor}-@{accentColor}.css")
|
||||
(prefers-color-scheme: light);
|
||||
@import (css)
|
||||
url("https://catppuccin.github.io/gitea/theme-catppuccin-@{darkFlavor}-@{accentColor}.css")
|
||||
(prefers-color-scheme: dark);
|
||||
}
|
||||
|
||||
@-moz-document domain('codeberg.org') {
|
||||
#catppuccin(@lookup, @accent) {
|
||||
@rosewater: @catppuccin[@@lookup][@rosewater];
|
||||
@flamingo: @catppuccin[@@lookup][@flamingo];
|
||||
@pink: @catppuccin[@@lookup][@pink];
|
||||
@mauve: @catppuccin[@@lookup][@mauve];
|
||||
@red: @catppuccin[@@lookup][@red];
|
||||
@maroon: @catppuccin[@@lookup][@maroon];
|
||||
@peach: @catppuccin[@@lookup][@peach];
|
||||
@yellow: @catppuccin[@@lookup][@yellow];
|
||||
@green: @catppuccin[@@lookup][@green];
|
||||
@teal: @catppuccin[@@lookup][@teal];
|
||||
@sky: @catppuccin[@@lookup][@sky];
|
||||
@sapphire: @catppuccin[@@lookup][@sapphire];
|
||||
@blue: @catppuccin[@@lookup][@blue];
|
||||
@lavender: @catppuccin[@@lookup][@lavender];
|
||||
@text: @catppuccin[@@lookup][@text];
|
||||
@subtext1: @catppuccin[@@lookup][@subtext1];
|
||||
@subtext0: @catppuccin[@@lookup][@subtext0];
|
||||
@overlay2: @catppuccin[@@lookup][@overlay2];
|
||||
@overlay1: @catppuccin[@@lookup][@overlay1];
|
||||
@overlay0: @catppuccin[@@lookup][@overlay0];
|
||||
@surface2: @catppuccin[@@lookup][@surface2];
|
||||
@surface1: @catppuccin[@@lookup][@surface1];
|
||||
@surface0: @catppuccin[@@lookup][@surface0];
|
||||
@base: @catppuccin[@@lookup][@base];
|
||||
@mantle: @catppuccin[@@lookup][@mantle];
|
||||
@crust: @catppuccin[@@lookup][@crust];
|
||||
@accent-color: @catppuccin[@@lookup][@@accent];
|
||||
|
||||
/* Base styles not needed, themed in upstream Gitea port. */
|
||||
|
||||
--color-body: @base;
|
||||
--color-nav-text: @crust;
|
||||
--color-nav-hover-bg: darken(@accent-color, 5%);
|
||||
--color-secondary-nav-bg: @surface0;
|
||||
--color-link: @blue;
|
||||
--color-footer-text: @text;
|
||||
|
||||
.ui.secondary.menu .dropdown.item:hover,
|
||||
.ui.secondary.menu a.item:hover,
|
||||
.ui.secondary.menu a.active.item:hover {
|
||||
background-color: var(--color-nav-hover-bg);
|
||||
color: var(--color-black);
|
||||
}
|
||||
|
||||
.ui.basic.red.buttons .button,
|
||||
.ui.basic.red.button {
|
||||
&:hover,
|
||||
&:focus {
|
||||
background-color: @red;
|
||||
border-color: var(--color-light-border);
|
||||
color: @crust;
|
||||
}
|
||||
}
|
||||
|
||||
#codeberg-logo (@color) {
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24"><defs><linearGradient id="b" x1="42519.285" x2="42575.336" y1="-7078.7891" y2="-6966.9312" gradientUnits="userSpaceOnUse" href="#a"/><linearGradient id="a"><stop color="@{color}" offset="0" stop-opacity="0"/><stop offset=".495" stop-color="@{color}" stop-opacity=".3"/><stop offset="1" stop-color="@{color}" stop-opacity=".3"/></linearGradient></defs><path fill="url(#b)" d="M42519.285-7078.79a.76.568 0 0 0-.738.675l33.586 125.888a87.2 87.2 0 0 0 39.381-33.763l-71.565-92.52a.76.568 0 0 0-.664-.28" transform="translate(-5840.572 980.524)scale(.13766)"/><path fill="@{color}" d="M12.003.525A12.003 12.003 0 0 0 0 12.533 11.9 11.9 0 0 0 1.826 18.9L11.838 5.956c.068-.09.25-.09.324 0l10.007 12.939A11.9 11.9 0 0 0 24 12.522 12.003 12.003 0 0 0 12.003.525"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
|
||||
#navbar-logo img {
|
||||
#codeberg-logo(@crust);
|
||||
}
|
||||
.branding img {
|
||||
#codeberg-logo(@text);
|
||||
}
|
||||
|
||||
footer {
|
||||
.button:hover {
|
||||
background-color: @accent-color;
|
||||
color: @crust;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color: @blue !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* prettier-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; };
|
||||
}
|
||||
|
||||
// vim:ft=less
|
||||
==/UserStyle== */
|
||||
@@ -0,0 +1,132 @@
|
||||
/* ==UserStyle==
|
||||
@name Codeberg Catppuccin
|
||||
@namespace github.com/catppuccin/userstyles/styles/codeberg
|
||||
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/codeberg
|
||||
@version 2024.12.29.1
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/codeberg/catppuccin.user.less
|
||||
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Acodeberg
|
||||
@description Soothing pastel theme for Codeberg
|
||||
@author Catppuccin
|
||||
@license MIT
|
||||
|
||||
@preprocessor less
|
||||
@var select lightFlavor "Light Flavor" ["latte:Latte*", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha"]
|
||||
@var select darkFlavor "Dark Flavor" ["latte:Latte", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha*"]
|
||||
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
|
||||
==/UserStyle== */
|
||||
|
||||
@-moz-document domain("codeberg.org") {
|
||||
@import (css)
|
||||
url("https://catppuccin.github.io/gitea/theme-catppuccin-@{lightFlavor}-@{accentColor}.css")
|
||||
(prefers-color-scheme: light);
|
||||
@import (css)
|
||||
url("https://catppuccin.github.io/gitea/theme-catppuccin-@{darkFlavor}-@{accentColor}.css")
|
||||
(prefers-color-scheme: dark);
|
||||
}
|
||||
|
||||
@-moz-document domain("codeberg.org") {
|
||||
#catppuccin(@lookup, @accent) {
|
||||
@rosewater: @catppuccin[@@lookup][@rosewater];
|
||||
@flamingo: @catppuccin[@@lookup][@flamingo];
|
||||
@pink: @catppuccin[@@lookup][@pink];
|
||||
@mauve: @catppuccin[@@lookup][@mauve];
|
||||
@red: @catppuccin[@@lookup][@red];
|
||||
@maroon: @catppuccin[@@lookup][@maroon];
|
||||
@peach: @catppuccin[@@lookup][@peach];
|
||||
@yellow: @catppuccin[@@lookup][@yellow];
|
||||
@green: @catppuccin[@@lookup][@green];
|
||||
@teal: @catppuccin[@@lookup][@teal];
|
||||
@sky: @catppuccin[@@lookup][@sky];
|
||||
@sapphire: @catppuccin[@@lookup][@sapphire];
|
||||
@blue: @catppuccin[@@lookup][@blue];
|
||||
@lavender: @catppuccin[@@lookup][@lavender];
|
||||
@text: @catppuccin[@@lookup][@text];
|
||||
@subtext1: @catppuccin[@@lookup][@subtext1];
|
||||
@subtext0: @catppuccin[@@lookup][@subtext0];
|
||||
@overlay2: @catppuccin[@@lookup][@overlay2];
|
||||
@overlay1: @catppuccin[@@lookup][@overlay1];
|
||||
@overlay0: @catppuccin[@@lookup][@overlay0];
|
||||
@surface2: @catppuccin[@@lookup][@surface2];
|
||||
@surface1: @catppuccin[@@lookup][@surface1];
|
||||
@surface0: @catppuccin[@@lookup][@surface0];
|
||||
@base: @catppuccin[@@lookup][@base];
|
||||
@mantle: @catppuccin[@@lookup][@mantle];
|
||||
@crust: @catppuccin[@@lookup][@crust];
|
||||
@accent-color: @catppuccin[@@lookup][@@accent];
|
||||
|
||||
/* Base styles not needed, themed in upstream Gitea port. */
|
||||
|
||||
--color-body: @base;
|
||||
--color-nav-text: @crust;
|
||||
--color-nav-hover-bg: darken(@accent-color, 5%);
|
||||
--color-secondary-nav-bg: @surface0;
|
||||
--color-link: @blue;
|
||||
--color-footer-text: @text;
|
||||
|
||||
.ui.secondary.menu .dropdown.item:hover,
|
||||
.ui.secondary.menu a.item:hover,
|
||||
.ui.secondary.menu a.active.item:hover {
|
||||
background-color: var(--color-nav-hover-bg);
|
||||
color: var(--color-black);
|
||||
}
|
||||
|
||||
.ui.basic.red.buttons .button,
|
||||
.ui.basic.red.button {
|
||||
&:hover,
|
||||
&:focus {
|
||||
background-color: @red;
|
||||
border-color: var(--color-light-border);
|
||||
color: @crust;
|
||||
}
|
||||
}
|
||||
|
||||
#codeberg-logo(@color) {
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24"><defs><linearGradient id="b" x1="42519.285" x2="42575.336" y1="-7078.7891" y2="-6966.9312" gradientUnits="userSpaceOnUse" href="#a"/><linearGradient id="a"><stop color="@{color}" offset="0" stop-opacity="0"/><stop offset=".495" stop-color="@{color}" stop-opacity=".3"/><stop offset="1" stop-color="@{color}" stop-opacity=".3"/></linearGradient></defs><path fill="url(#b)" d="M42519.285-7078.79a.76.568 0 0 0-.738.675l33.586 125.888a87.2 87.2 0 0 0 39.381-33.763l-71.565-92.52a.76.568 0 0 0-.664-.28" transform="translate(-5840.572 980.524)scale(.13766)"/><path fill="@{color}" d="M12.003.525A12.003 12.003 0 0 0 0 12.533 11.9 11.9 0 0 0 1.826 18.9L11.838 5.956c.068-.09.25-.09.324 0l10.007 12.939A11.9 11.9 0 0 0 24 12.522 12.003 12.003 0 0 0 12.003.525"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
|
||||
#navbar-logo img {
|
||||
#codeberg-logo(@crust);
|
||||
}
|
||||
.branding img {
|
||||
#codeberg-logo(@text);
|
||||
}
|
||||
|
||||
footer {
|
||||
.button:hover {
|
||||
background-color: @accent-color;
|
||||
color: @crust;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color: @blue !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@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 */
|
||||
@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; };
|
||||
};
|
||||
@@ -1,9 +1,9 @@
|
||||
/* ==UserStyle==
|
||||
@name crates.io Catppuccin
|
||||
@name crates.io Catppuccin [STUB | UPDATE REQUIRED]
|
||||
@namespace github.com/catppuccin/userstyles/styles/crates.io
|
||||
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/crates.io
|
||||
@version 2024.12.28
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/crates.io/catppuccin.user.css
|
||||
@version 2024.12.29
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/crates.io/catppuccin.user.less
|
||||
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Acrates.io
|
||||
@description Soothing pastel theme for crates.io
|
||||
@author Catppuccin
|
||||
@@ -13,313 +13,4 @@
|
||||
@var select lightFlavor "Light Flavor" ["latte:Latte*", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha"]
|
||||
@var select darkFlavor "Dark Flavor" ["latte:Latte", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha*"]
|
||||
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
|
||||
==/UserStyle== */
|
||||
|
||||
@-moz-document domain('crates.io') {
|
||||
@import url("https://unpkg.com/@catppuccin/[email protected]/css/catppuccin-variables.important.css");
|
||||
|
||||
code.hljs {
|
||||
background: none !important;
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: light) {
|
||||
:root[data-color-scheme="system"] {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root[data-color-scheme="system"] {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
|
||||
:root[data-color-scheme="dark"] {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
}
|
||||
:root[data-color-scheme="light"] {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
|
||||
#catppuccin(@lookup, @accent) {
|
||||
@rosewater: @catppuccin[@@lookup][@rosewater];
|
||||
@flamingo: @catppuccin[@@lookup][@flamingo];
|
||||
@pink: @catppuccin[@@lookup][@pink];
|
||||
@mauve: @catppuccin[@@lookup][@mauve];
|
||||
@red: @catppuccin[@@lookup][@red];
|
||||
@maroon: @catppuccin[@@lookup][@maroon];
|
||||
@peach: @catppuccin[@@lookup][@peach];
|
||||
@yellow: @catppuccin[@@lookup][@yellow];
|
||||
@green: @catppuccin[@@lookup][@green];
|
||||
@teal: @catppuccin[@@lookup][@teal];
|
||||
@sky: @catppuccin[@@lookup][@sky];
|
||||
@sapphire: @catppuccin[@@lookup][@sapphire];
|
||||
@blue: @catppuccin[@@lookup][@blue];
|
||||
@lavender: @catppuccin[@@lookup][@lavender];
|
||||
@text: @catppuccin[@@lookup][@text];
|
||||
@subtext1: @catppuccin[@@lookup][@subtext1];
|
||||
@subtext0: @catppuccin[@@lookup][@subtext0];
|
||||
@overlay2: @catppuccin[@@lookup][@overlay2];
|
||||
@overlay1: @catppuccin[@@lookup][@overlay1];
|
||||
@overlay0: @catppuccin[@@lookup][@overlay0];
|
||||
@surface2: @catppuccin[@@lookup][@surface2];
|
||||
@surface1: @catppuccin[@@lookup][@surface1];
|
||||
@surface0: @catppuccin[@@lookup][@surface0];
|
||||
@base: @catppuccin[@@lookup][@base];
|
||||
@mantle: @catppuccin[@@lookup][@mantle];
|
||||
@crust: @catppuccin[@@lookup][@crust];
|
||||
@accent-color: @catppuccin[@@lookup][@@accent];
|
||||
|
||||
--ctp-rosewater: @rosewater;
|
||||
--ctp-flamingo: @flamingo;
|
||||
--ctp-pink: @pink;
|
||||
--ctp-mauve: @mauve;
|
||||
--ctp-red: @red;
|
||||
--ctp-maroon: @maroon;
|
||||
--ctp-peach: @peach;
|
||||
--ctp-yellow: @yellow;
|
||||
--ctp-green: @green;
|
||||
--ctp-teal: @teal;
|
||||
--ctp-sky: @sky;
|
||||
--ctp-sapphire: @sapphire;
|
||||
--ctp-blue: @blue;
|
||||
--ctp-lavender: @lavender;
|
||||
--ctp-text: @text;
|
||||
--ctp-subtext1: @subtext1;
|
||||
--ctp-subtext0: @subtext0;
|
||||
--ctp-overlay2: @overlay2;
|
||||
--ctp-overlay1: @overlay1;
|
||||
--ctp-overlay0: @overlay0;
|
||||
--ctp-surface2: @surface2;
|
||||
--ctp-surface1: @surface1;
|
||||
--ctp-surface0: @surface0;
|
||||
--ctp-base: @base;
|
||||
--ctp-mantle: @mantle;
|
||||
--ctp-crust: @crust;
|
||||
|
||||
color-scheme: if(@lookup = latte, light, dark);
|
||||
|
||||
::selection {
|
||||
background-color: fade(@accent-color, 30%);
|
||||
}
|
||||
|
||||
input,
|
||||
textarea {
|
||||
&::placeholder {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
&,
|
||||
* {
|
||||
--shadow: none !important;
|
||||
--csstools-color-scheme--dark: none;
|
||||
|
||||
--header-bg-color: @mantle;
|
||||
--main-color: @text;
|
||||
--main-color-light: @subtext1;
|
||||
--main-shadow-color: @surface0;
|
||||
--main-bg: @mantle;
|
||||
--main-bg-dark: @base;
|
||||
--gray-border: @surface0;
|
||||
--link-color: @accent-color;
|
||||
--link-hover-color: darken(@accent-color, 5%);
|
||||
--footer-header-color: @text;
|
||||
|
||||
/* Main article/readme background */
|
||||
--csstools-light-dark-toggle--49: @base;
|
||||
|
||||
/* Inline code background */
|
||||
--csstools-light-dark-toggle--85: @mantle;
|
||||
/* Code block background */
|
||||
--csstools-light-dark-toggle--86: @mantle;
|
||||
/* Copyable text hover */
|
||||
--csstools-light-dark-toggle--3: @base;
|
||||
|
||||
/* Versions cards */
|
||||
--csstools-light-dark-toggle--108: @base;
|
||||
--csstools-light-dark-toggle--110: @surface0;
|
||||
--csstools-light-dark-toggle--105: @surface0;
|
||||
[class*="_new"] {
|
||||
color: @green;
|
||||
}
|
||||
/* Dependencies cards */
|
||||
--csstools-light-dark-toggle--73: @base;
|
||||
--csstools-light-dark-toggle--69: @surface0;
|
||||
--grey600: @subtext0;
|
||||
--grey700: @text;
|
||||
/* Dependents cards */
|
||||
--csstools-light-dark-toggle--84: @base;
|
||||
--csstools-light-dark-toggle--81: @surface0;
|
||||
/* Search results cards */
|
||||
--csstools-light-dark-toggle--2: @base;
|
||||
/* Homepage cards */
|
||||
--csstools-light-dark-toggle--77: @base;
|
||||
--csstools-light-dark-toggle--80: @surface0;
|
||||
--csstools-light-dark-toggle--78: @subtext1;
|
||||
|
||||
/* Header search bar */
|
||||
--csstools-light-dark-toggle--33: @crust;
|
||||
--yellow500: @accent-color;
|
||||
--yellow700: darken(@accent-color, 5%);
|
||||
|
||||
/* Dropdown */
|
||||
--csstools-light-dark-toggle--20: @mantle;
|
||||
/* Dropdown items */
|
||||
[class*="_item_"] {
|
||||
button:hover,
|
||||
> a:hover,
|
||||
[class*="_selected_"] {
|
||||
background: @surface0;
|
||||
color: @text !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Toasts */
|
||||
.c-notification {
|
||||
--ecn-green: @green;
|
||||
--ecn-blue: @blue;
|
||||
--ecn-orange: @peach;
|
||||
--ecn-red: @red;
|
||||
|
||||
&,
|
||||
.c-notification__icon {
|
||||
color: @crust;
|
||||
}
|
||||
}
|
||||
|
||||
/* Tooltips */
|
||||
.ember-tooltip {
|
||||
color: @text;
|
||||
background-color: @crust;
|
||||
text-shadow: none;
|
||||
|
||||
&[x-placement^="top"] .ember-tooltip-arrow {
|
||||
border-top-color: @crust;
|
||||
}
|
||||
}
|
||||
|
||||
/* Icons and icon badges */
|
||||
[class*="downloads_"] [fill="#FFF"] {
|
||||
fill: @surface0 !important;
|
||||
}
|
||||
[fill="#B13B89"],
|
||||
[fill="#B84D94"],
|
||||
svg[class*="_download-icon"] {
|
||||
fill: @accent-color !important;
|
||||
}
|
||||
[stroke="#B84D94"] {
|
||||
stroke: @accent-color !important;
|
||||
}
|
||||
|
||||
/* Footer links */
|
||||
._content_hautyr {
|
||||
h1 {
|
||||
text-shadow: none;
|
||||
}
|
||||
|
||||
a {
|
||||
color: @accent-color;
|
||||
|
||||
&:hover {
|
||||
color: darken(@accent-color, 5%);
|
||||
text-shadow: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Misc header text */
|
||||
[class*="_header-inner_"] {
|
||||
&,
|
||||
a {
|
||||
color: @text;
|
||||
}
|
||||
}
|
||||
|
||||
/* Search bar magnifying glass icon */
|
||||
form[action="/search"] button {
|
||||
color: @crust;
|
||||
}
|
||||
|
||||
/* Sort by search results */
|
||||
._icon_xsqxju {
|
||||
color: @accent-color;
|
||||
}
|
||||
|
||||
/* Primary buttons */
|
||||
[class*="_tan-button_"],
|
||||
[class*="_yellow-button_"] {
|
||||
color: @crust;
|
||||
background: @accent-color;
|
||||
|
||||
&:hover {
|
||||
background-color: darken(@accent-color, 5%);
|
||||
}
|
||||
}
|
||||
|
||||
[class*="_red-button_"] {
|
||||
--bg-color-top: @maroon;
|
||||
--bg-color-bottom: @maroon;
|
||||
--bg-color-top-dark: @red;
|
||||
--bg-color-bottom-dark: @red;
|
||||
}
|
||||
|
||||
/* User email settings */
|
||||
[class*="_me-email_"] {
|
||||
[class*="_row_"] {
|
||||
border-color: @surface0;
|
||||
}
|
||||
[class*="_verified_"] {
|
||||
color: @green;
|
||||
}
|
||||
}
|
||||
|
||||
/* Logged out home page hero */
|
||||
[class*="_hero-title_"] {
|
||||
color: @text;
|
||||
text-shadow: none;
|
||||
}
|
||||
[class*="_hero-button_"] [class*="_icon_"] {
|
||||
color: @crust;
|
||||
}
|
||||
[class*="_blurb_"] [class*="_stats-value_"] {
|
||||
[class*="_label_"],
|
||||
svg {
|
||||
color: @subtext0;
|
||||
}
|
||||
}
|
||||
|
||||
/* User avatar backgrounds */
|
||||
[class*="_avatar_"] {
|
||||
background-color: @surface0;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
[class*="_yanked-badge_"] {
|
||||
background-color: @red;
|
||||
color: @crust;
|
||||
}
|
||||
|
||||
/* Tables in READMEs */
|
||||
table {
|
||||
th,
|
||||
td {
|
||||
border-color: @surface1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#rgbify(@color) {
|
||||
@rgb: red(@color), green(@color), blue(@color);
|
||||
}
|
||||
|
||||
/* prettier-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; };
|
||||
}
|
||||
|
||||
// vim:ft=less
|
||||
==/UserStyle== */
|
||||
@@ -0,0 +1,323 @@
|
||||
/* ==UserStyle==
|
||||
@name crates.io Catppuccin
|
||||
@namespace github.com/catppuccin/userstyles/styles/crates.io
|
||||
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/crates.io
|
||||
@version 2024.12.29.1
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/crates.io/catppuccin.user.less
|
||||
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Acrates.io
|
||||
@description Soothing pastel theme for crates.io
|
||||
@author Catppuccin
|
||||
@license MIT
|
||||
|
||||
@preprocessor less
|
||||
@var select lightFlavor "Light Flavor" ["latte:Latte*", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha"]
|
||||
@var select darkFlavor "Dark Flavor" ["latte:Latte", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha*"]
|
||||
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
|
||||
==/UserStyle== */
|
||||
|
||||
@-moz-document domain("crates.io") {
|
||||
@import url("https://unpkg.com/@catppuccin/[email protected]/css/catppuccin-variables.important.css");
|
||||
|
||||
code.hljs {
|
||||
background: none !important;
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: light) {
|
||||
:root[data-color-scheme="system"] {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root[data-color-scheme="system"] {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
|
||||
:root[data-color-scheme="dark"] {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
}
|
||||
:root[data-color-scheme="light"] {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
|
||||
#catppuccin(@lookup, @accent) {
|
||||
@rosewater: @catppuccin[@@lookup][@rosewater];
|
||||
@flamingo: @catppuccin[@@lookup][@flamingo];
|
||||
@pink: @catppuccin[@@lookup][@pink];
|
||||
@mauve: @catppuccin[@@lookup][@mauve];
|
||||
@red: @catppuccin[@@lookup][@red];
|
||||
@maroon: @catppuccin[@@lookup][@maroon];
|
||||
@peach: @catppuccin[@@lookup][@peach];
|
||||
@yellow: @catppuccin[@@lookup][@yellow];
|
||||
@green: @catppuccin[@@lookup][@green];
|
||||
@teal: @catppuccin[@@lookup][@teal];
|
||||
@sky: @catppuccin[@@lookup][@sky];
|
||||
@sapphire: @catppuccin[@@lookup][@sapphire];
|
||||
@blue: @catppuccin[@@lookup][@blue];
|
||||
@lavender: @catppuccin[@@lookup][@lavender];
|
||||
@text: @catppuccin[@@lookup][@text];
|
||||
@subtext1: @catppuccin[@@lookup][@subtext1];
|
||||
@subtext0: @catppuccin[@@lookup][@subtext0];
|
||||
@overlay2: @catppuccin[@@lookup][@overlay2];
|
||||
@overlay1: @catppuccin[@@lookup][@overlay1];
|
||||
@overlay0: @catppuccin[@@lookup][@overlay0];
|
||||
@surface2: @catppuccin[@@lookup][@surface2];
|
||||
@surface1: @catppuccin[@@lookup][@surface1];
|
||||
@surface0: @catppuccin[@@lookup][@surface0];
|
||||
@base: @catppuccin[@@lookup][@base];
|
||||
@mantle: @catppuccin[@@lookup][@mantle];
|
||||
@crust: @catppuccin[@@lookup][@crust];
|
||||
@accent-color: @catppuccin[@@lookup][@@accent];
|
||||
|
||||
--ctp-rosewater: @rosewater;
|
||||
--ctp-flamingo: @flamingo;
|
||||
--ctp-pink: @pink;
|
||||
--ctp-mauve: @mauve;
|
||||
--ctp-red: @red;
|
||||
--ctp-maroon: @maroon;
|
||||
--ctp-peach: @peach;
|
||||
--ctp-yellow: @yellow;
|
||||
--ctp-green: @green;
|
||||
--ctp-teal: @teal;
|
||||
--ctp-sky: @sky;
|
||||
--ctp-sapphire: @sapphire;
|
||||
--ctp-blue: @blue;
|
||||
--ctp-lavender: @lavender;
|
||||
--ctp-text: @text;
|
||||
--ctp-subtext1: @subtext1;
|
||||
--ctp-subtext0: @subtext0;
|
||||
--ctp-overlay2: @overlay2;
|
||||
--ctp-overlay1: @overlay1;
|
||||
--ctp-overlay0: @overlay0;
|
||||
--ctp-surface2: @surface2;
|
||||
--ctp-surface1: @surface1;
|
||||
--ctp-surface0: @surface0;
|
||||
--ctp-base: @base;
|
||||
--ctp-mantle: @mantle;
|
||||
--ctp-crust: @crust;
|
||||
|
||||
color-scheme: if(@lookup = latte, light, dark);
|
||||
|
||||
::selection {
|
||||
background-color: fade(@accent-color, 30%);
|
||||
}
|
||||
|
||||
input,
|
||||
textarea {
|
||||
&::placeholder {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
&,
|
||||
* {
|
||||
--shadow: none !important;
|
||||
--csstools-color-scheme--dark: none;
|
||||
|
||||
--header-bg-color: @mantle;
|
||||
--main-color: @text;
|
||||
--main-color-light: @subtext1;
|
||||
--main-shadow-color: @surface0;
|
||||
--main-bg: @mantle;
|
||||
--main-bg-dark: @base;
|
||||
--gray-border: @surface0;
|
||||
--link-color: @accent-color;
|
||||
--link-hover-color: darken(@accent-color, 5%);
|
||||
--footer-header-color: @text;
|
||||
|
||||
/* Main article/readme background */
|
||||
--csstools-light-dark-toggle--49: @base;
|
||||
|
||||
/* Inline code background */
|
||||
--csstools-light-dark-toggle--85: @mantle;
|
||||
/* Code block background */
|
||||
--csstools-light-dark-toggle--86: @mantle;
|
||||
/* Copyable text hover */
|
||||
--csstools-light-dark-toggle--3: @base;
|
||||
|
||||
/* Versions cards */
|
||||
--csstools-light-dark-toggle--108: @base;
|
||||
--csstools-light-dark-toggle--110: @surface0;
|
||||
--csstools-light-dark-toggle--105: @surface0;
|
||||
[class*="_new"] {
|
||||
color: @green;
|
||||
}
|
||||
/* Dependencies cards */
|
||||
--csstools-light-dark-toggle--73: @base;
|
||||
--csstools-light-dark-toggle--69: @surface0;
|
||||
--grey600: @subtext0;
|
||||
--grey700: @text;
|
||||
/* Dependents cards */
|
||||
--csstools-light-dark-toggle--84: @base;
|
||||
--csstools-light-dark-toggle--81: @surface0;
|
||||
/* Search results cards */
|
||||
--csstools-light-dark-toggle--2: @base;
|
||||
/* Homepage cards */
|
||||
--csstools-light-dark-toggle--77: @base;
|
||||
--csstools-light-dark-toggle--80: @surface0;
|
||||
--csstools-light-dark-toggle--78: @subtext1;
|
||||
|
||||
/* Header search bar */
|
||||
--csstools-light-dark-toggle--33: @crust;
|
||||
--yellow500: @accent-color;
|
||||
--yellow700: darken(@accent-color, 5%);
|
||||
|
||||
/* Dropdown */
|
||||
--csstools-light-dark-toggle--20: @mantle;
|
||||
/* Dropdown items */
|
||||
[class*="_item_"] {
|
||||
button:hover,
|
||||
> a:hover,
|
||||
[class*="_selected_"] {
|
||||
background: @surface0;
|
||||
color: @text !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Toasts */
|
||||
.c-notification {
|
||||
--ecn-green: @green;
|
||||
--ecn-blue: @blue;
|
||||
--ecn-orange: @peach;
|
||||
--ecn-red: @red;
|
||||
|
||||
&,
|
||||
.c-notification__icon {
|
||||
color: @crust;
|
||||
}
|
||||
}
|
||||
|
||||
/* Tooltips */
|
||||
.ember-tooltip {
|
||||
color: @text;
|
||||
background-color: @crust;
|
||||
text-shadow: none;
|
||||
|
||||
&[x-placement^="top"] .ember-tooltip-arrow {
|
||||
border-top-color: @crust;
|
||||
}
|
||||
}
|
||||
|
||||
/* Icons and icon badges */
|
||||
[class*="downloads_"] [fill="#FFF"] {
|
||||
fill: @surface0 !important;
|
||||
}
|
||||
[fill="#B13B89"],
|
||||
[fill="#B84D94"],
|
||||
svg[class*="_download-icon"] {
|
||||
fill: @accent-color !important;
|
||||
}
|
||||
[stroke="#B84D94"] {
|
||||
stroke: @accent-color !important;
|
||||
}
|
||||
|
||||
/* Footer links */
|
||||
._content_hautyr {
|
||||
h1 {
|
||||
text-shadow: none;
|
||||
}
|
||||
|
||||
a {
|
||||
color: @accent-color;
|
||||
|
||||
&:hover {
|
||||
color: darken(@accent-color, 5%);
|
||||
text-shadow: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Misc header text */
|
||||
[class*="_header-inner_"] {
|
||||
&,
|
||||
a {
|
||||
color: @text;
|
||||
}
|
||||
}
|
||||
|
||||
/* Search bar magnifying glass icon */
|
||||
form[action="/search"] button {
|
||||
color: @crust;
|
||||
}
|
||||
|
||||
/* Sort by search results */
|
||||
._icon_xsqxju {
|
||||
color: @accent-color;
|
||||
}
|
||||
|
||||
/* Primary buttons */
|
||||
[class*="_tan-button_"],
|
||||
[class*="_yellow-button_"] {
|
||||
color: @crust;
|
||||
background: @accent-color;
|
||||
|
||||
&:hover {
|
||||
background-color: darken(@accent-color, 5%);
|
||||
}
|
||||
}
|
||||
|
||||
[class*="_red-button_"] {
|
||||
--bg-color-top: @maroon;
|
||||
--bg-color-bottom: @maroon;
|
||||
--bg-color-top-dark: @red;
|
||||
--bg-color-bottom-dark: @red;
|
||||
}
|
||||
|
||||
/* User email settings */
|
||||
[class*="_me-email_"] {
|
||||
[class*="_row_"] {
|
||||
border-color: @surface0;
|
||||
}
|
||||
[class*="_verified_"] {
|
||||
color: @green;
|
||||
}
|
||||
}
|
||||
|
||||
/* Logged out home page hero */
|
||||
[class*="_hero-title_"] {
|
||||
color: @text;
|
||||
text-shadow: none;
|
||||
}
|
||||
[class*="_hero-button_"] [class*="_icon_"] {
|
||||
color: @crust;
|
||||
}
|
||||
[class*="_blurb_"] [class*="_stats-value_"] {
|
||||
[class*="_label_"],
|
||||
svg {
|
||||
color: @subtext0;
|
||||
}
|
||||
}
|
||||
|
||||
/* User avatar backgrounds */
|
||||
[class*="_avatar_"] {
|
||||
background-color: @surface0;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
[class*="_yanked-badge_"] {
|
||||
background-color: @red;
|
||||
color: @crust;
|
||||
}
|
||||
|
||||
/* Tables in READMEs */
|
||||
table {
|
||||
th,
|
||||
td {
|
||||
border-color: @surface1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#rgbify(@color) {
|
||||
@rgb: red(@color), green(@color), blue(@color);
|
||||
}
|
||||
|
||||
/* deno-fmt-ignore */
|
||||
@catppuccin: {
|
||||
@latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
|
||||
@frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
|
||||
@macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
|
||||
@mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
|
||||
};
|
||||
@@ -1,9 +1,9 @@
|
||||
/* ==UserStyle==
|
||||
@name Crowdin Catppuccin
|
||||
@name Crowdin Catppuccin [STUB | UPDATE REQUIRED]
|
||||
@namespace github.com/catppuccin/userstyles/styles/crowdin
|
||||
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/crowdin
|
||||
@version 2024.12.28
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/crowdin/catppuccin.user.css
|
||||
@version 2024.12.29
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/crowdin/catppuccin.user.less
|
||||
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Acrowdin
|
||||
@description Soothing pastel theme for Crowdin
|
||||
@author Catppuccin
|
||||
@@ -13,196 +13,4 @@
|
||||
@var select lightFlavor "Light Flavor" ["latte:Latte*", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha"]
|
||||
@var select darkFlavor "Dark Flavor" ["latte:Latte", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha*"]
|
||||
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
|
||||
==/UserStyle== */
|
||||
|
||||
@-moz-document regexp("https://crowdin.com(?!/translate).*")
|
||||
{
|
||||
@media (prefers-color-scheme: light) {
|
||||
:root {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
|
||||
#catppuccin(@lookup, @accent) {
|
||||
@rosewater: @catppuccin[@@lookup][@rosewater];
|
||||
@flamingo: @catppuccin[@@lookup][@flamingo];
|
||||
@pink: @catppuccin[@@lookup][@pink];
|
||||
@mauve: @catppuccin[@@lookup][@mauve];
|
||||
@red: @catppuccin[@@lookup][@red];
|
||||
@maroon: @catppuccin[@@lookup][@maroon];
|
||||
@peach: @catppuccin[@@lookup][@peach];
|
||||
@yellow: @catppuccin[@@lookup][@yellow];
|
||||
@green: @catppuccin[@@lookup][@green];
|
||||
@teal: @catppuccin[@@lookup][@teal];
|
||||
@sky: @catppuccin[@@lookup][@sky];
|
||||
@sapphire: @catppuccin[@@lookup][@sapphire];
|
||||
@blue: @catppuccin[@@lookup][@blue];
|
||||
@lavender: @catppuccin[@@lookup][@lavender];
|
||||
@text: @catppuccin[@@lookup][@text];
|
||||
@subtext1: @catppuccin[@@lookup][@subtext1];
|
||||
@subtext0: @catppuccin[@@lookup][@subtext0];
|
||||
@overlay2: @catppuccin[@@lookup][@overlay2];
|
||||
@overlay1: @catppuccin[@@lookup][@overlay1];
|
||||
@overlay0: @catppuccin[@@lookup][@overlay0];
|
||||
@surface2: @catppuccin[@@lookup][@surface2];
|
||||
@surface1: @catppuccin[@@lookup][@surface1];
|
||||
@surface0: @catppuccin[@@lookup][@surface0];
|
||||
@base: @catppuccin[@@lookup][@base];
|
||||
@mantle: @catppuccin[@@lookup][@mantle];
|
||||
@crust: @catppuccin[@@lookup][@crust];
|
||||
@accent-color: @catppuccin[@@lookup][@@accent];
|
||||
|
||||
color-scheme: if(@lookup = latte, light, dark);
|
||||
|
||||
::selection {
|
||||
background-color: fade(@accent-color, 30%);
|
||||
}
|
||||
|
||||
input,
|
||||
textarea {
|
||||
&::placeholder {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
:root:root:root:root:root {
|
||||
--app-bg: @mantle;
|
||||
--body-bg: @base;
|
||||
--light-bg: @surface0;
|
||||
--search-bg: @surface0;
|
||||
--super-light-bg: @surface1;
|
||||
--body-color: @text;
|
||||
--link-hover: @green;
|
||||
--primary: @green;
|
||||
--secondary: @rosewater;
|
||||
--tertiary: @pink;
|
||||
--primary-btn: @green;
|
||||
--primary-btn-hover: @teal;
|
||||
--warning-content: @yellow;
|
||||
--info: @blue;
|
||||
--crowdin-primary-blue-gray-05: @surface1;
|
||||
--crowdin-primary-blue-gray: @overlay0;
|
||||
}
|
||||
|
||||
.btn-primary,
|
||||
.btn-primary:hover {
|
||||
color: @base;
|
||||
}
|
||||
|
||||
.btn-outline-primary,
|
||||
.btn-outline-primary:hover {
|
||||
color: @green;
|
||||
border-color: @green;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@-moz-document regexp("https://crowdin.com/translate/.*")
|
||||
{
|
||||
@media (prefers-color-scheme: light) {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
}
|
||||
|
||||
#catppuccin(@lookup, @accent) {
|
||||
@rosewater: @catppuccin[@@lookup][@rosewater];
|
||||
@flamingo: @catppuccin[@@lookup][@flamingo];
|
||||
@pink: @catppuccin[@@lookup][@pink];
|
||||
@mauve: @catppuccin[@@lookup][@mauve];
|
||||
@red: @catppuccin[@@lookup][@red];
|
||||
@maroon: @catppuccin[@@lookup][@maroon];
|
||||
@peach: @catppuccin[@@lookup][@peach];
|
||||
@yellow: @catppuccin[@@lookup][@yellow];
|
||||
@green: @catppuccin[@@lookup][@green];
|
||||
@teal: @catppuccin[@@lookup][@teal];
|
||||
@sky: @catppuccin[@@lookup][@sky];
|
||||
@sapphire: @catppuccin[@@lookup][@sapphire];
|
||||
@blue: @catppuccin[@@lookup][@blue];
|
||||
@lavender: @catppuccin[@@lookup][@lavender];
|
||||
@text: @catppuccin[@@lookup][@text];
|
||||
@subtext1: @catppuccin[@@lookup][@subtext1];
|
||||
@subtext0: @catppuccin[@@lookup][@subtext0];
|
||||
@overlay2: @catppuccin[@@lookup][@overlay2];
|
||||
@overlay1: @catppuccin[@@lookup][@overlay1];
|
||||
@overlay0: @catppuccin[@@lookup][@overlay0];
|
||||
@surface2: @catppuccin[@@lookup][@surface2];
|
||||
@surface1: @catppuccin[@@lookup][@surface1];
|
||||
@surface0: @catppuccin[@@lookup][@surface0];
|
||||
@base: @catppuccin[@@lookup][@base];
|
||||
@mantle: @catppuccin[@@lookup][@mantle];
|
||||
@crust: @catppuccin[@@lookup][@crust];
|
||||
@accent-color: @catppuccin[@@lookup][@@accent];
|
||||
|
||||
color-scheme: if(@lookup = latte, light, dark);
|
||||
|
||||
::selection {
|
||||
background-color: fade(@accent-color, 30%);
|
||||
}
|
||||
|
||||
input,
|
||||
textarea {
|
||||
&::placeholder {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: @mantle !important;
|
||||
color: @text !important;
|
||||
}
|
||||
|
||||
#left_panel,
|
||||
.nav-tabs,
|
||||
.navbar-inner.editor-navbar,
|
||||
#discussions_control,
|
||||
#main_menu {
|
||||
background-color: @surface0 !important;
|
||||
}
|
||||
|
||||
#editor-center-layout,
|
||||
.editor-pane-inner,
|
||||
#translation_wrapper,
|
||||
#translation_text_container,
|
||||
.texts-to-translate-header,
|
||||
#right_panel,
|
||||
.texts-to-translate-paging,
|
||||
#asset_preview_wrapper.no-preview,
|
||||
.editor-pane-title-and-buttons-helper {
|
||||
background-color: @base !important;
|
||||
color: @text !important;
|
||||
}
|
||||
|
||||
.body.dark-theme #main_menu .nav-pills > li.active > a {
|
||||
background-color: @blue;
|
||||
}
|
||||
|
||||
.progress .bar-validate {
|
||||
background-color: @lavender;
|
||||
}
|
||||
.progress .bar-translate {
|
||||
background-color: @sapphire;
|
||||
}
|
||||
|
||||
a,
|
||||
.btn-link {
|
||||
color: @rosewater !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* prettier-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; };
|
||||
}
|
||||
|
||||
// vim:ft=less
|
||||
==/UserStyle== */
|
||||
@@ -0,0 +1,204 @@
|
||||
/* ==UserStyle==
|
||||
@name Crowdin Catppuccin
|
||||
@namespace github.com/catppuccin/userstyles/styles/crowdin
|
||||
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/crowdin
|
||||
@version 2024.12.29.1
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/crowdin/catppuccin.user.less
|
||||
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Acrowdin
|
||||
@description Soothing pastel theme for Crowdin
|
||||
@author Catppuccin
|
||||
@license MIT
|
||||
|
||||
@preprocessor less
|
||||
@var select lightFlavor "Light Flavor" ["latte:Latte*", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha"]
|
||||
@var select darkFlavor "Dark Flavor" ["latte:Latte", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha*"]
|
||||
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
|
||||
==/UserStyle== */
|
||||
|
||||
@-moz-document regexp("https://crowdin.com(?!/translate).*") {
|
||||
@media (prefers-color-scheme: light) {
|
||||
:root {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
|
||||
#catppuccin(@lookup, @accent) {
|
||||
@rosewater: @catppuccin[@@lookup][@rosewater];
|
||||
@flamingo: @catppuccin[@@lookup][@flamingo];
|
||||
@pink: @catppuccin[@@lookup][@pink];
|
||||
@mauve: @catppuccin[@@lookup][@mauve];
|
||||
@red: @catppuccin[@@lookup][@red];
|
||||
@maroon: @catppuccin[@@lookup][@maroon];
|
||||
@peach: @catppuccin[@@lookup][@peach];
|
||||
@yellow: @catppuccin[@@lookup][@yellow];
|
||||
@green: @catppuccin[@@lookup][@green];
|
||||
@teal: @catppuccin[@@lookup][@teal];
|
||||
@sky: @catppuccin[@@lookup][@sky];
|
||||
@sapphire: @catppuccin[@@lookup][@sapphire];
|
||||
@blue: @catppuccin[@@lookup][@blue];
|
||||
@lavender: @catppuccin[@@lookup][@lavender];
|
||||
@text: @catppuccin[@@lookup][@text];
|
||||
@subtext1: @catppuccin[@@lookup][@subtext1];
|
||||
@subtext0: @catppuccin[@@lookup][@subtext0];
|
||||
@overlay2: @catppuccin[@@lookup][@overlay2];
|
||||
@overlay1: @catppuccin[@@lookup][@overlay1];
|
||||
@overlay0: @catppuccin[@@lookup][@overlay0];
|
||||
@surface2: @catppuccin[@@lookup][@surface2];
|
||||
@surface1: @catppuccin[@@lookup][@surface1];
|
||||
@surface0: @catppuccin[@@lookup][@surface0];
|
||||
@base: @catppuccin[@@lookup][@base];
|
||||
@mantle: @catppuccin[@@lookup][@mantle];
|
||||
@crust: @catppuccin[@@lookup][@crust];
|
||||
@accent-color: @catppuccin[@@lookup][@@accent];
|
||||
|
||||
color-scheme: if(@lookup = latte, light, dark);
|
||||
|
||||
::selection {
|
||||
background-color: fade(@accent-color, 30%);
|
||||
}
|
||||
|
||||
input,
|
||||
textarea {
|
||||
&::placeholder {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
:root:root:root:root:root {
|
||||
--app-bg: @mantle;
|
||||
--body-bg: @base;
|
||||
--light-bg: @surface0;
|
||||
--search-bg: @surface0;
|
||||
--super-light-bg: @surface1;
|
||||
--body-color: @text;
|
||||
--link-hover: @green;
|
||||
--primary: @green;
|
||||
--secondary: @rosewater;
|
||||
--tertiary: @pink;
|
||||
--primary-btn: @green;
|
||||
--primary-btn-hover: @teal;
|
||||
--warning-content: @yellow;
|
||||
--info: @blue;
|
||||
--crowdin-primary-blue-gray-05: @surface1;
|
||||
--crowdin-primary-blue-gray: @overlay0;
|
||||
}
|
||||
|
||||
.btn-primary,
|
||||
.btn-primary:hover {
|
||||
color: @base;
|
||||
}
|
||||
|
||||
.btn-outline-primary,
|
||||
.btn-outline-primary:hover {
|
||||
color: @green;
|
||||
border-color: @green;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@-moz-document regexp("https://crowdin.com/translate/.*") {
|
||||
@media (prefers-color-scheme: light) {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
}
|
||||
|
||||
#catppuccin(@lookup, @accent) {
|
||||
@rosewater: @catppuccin[@@lookup][@rosewater];
|
||||
@flamingo: @catppuccin[@@lookup][@flamingo];
|
||||
@pink: @catppuccin[@@lookup][@pink];
|
||||
@mauve: @catppuccin[@@lookup][@mauve];
|
||||
@red: @catppuccin[@@lookup][@red];
|
||||
@maroon: @catppuccin[@@lookup][@maroon];
|
||||
@peach: @catppuccin[@@lookup][@peach];
|
||||
@yellow: @catppuccin[@@lookup][@yellow];
|
||||
@green: @catppuccin[@@lookup][@green];
|
||||
@teal: @catppuccin[@@lookup][@teal];
|
||||
@sky: @catppuccin[@@lookup][@sky];
|
||||
@sapphire: @catppuccin[@@lookup][@sapphire];
|
||||
@blue: @catppuccin[@@lookup][@blue];
|
||||
@lavender: @catppuccin[@@lookup][@lavender];
|
||||
@text: @catppuccin[@@lookup][@text];
|
||||
@subtext1: @catppuccin[@@lookup][@subtext1];
|
||||
@subtext0: @catppuccin[@@lookup][@subtext0];
|
||||
@overlay2: @catppuccin[@@lookup][@overlay2];
|
||||
@overlay1: @catppuccin[@@lookup][@overlay1];
|
||||
@overlay0: @catppuccin[@@lookup][@overlay0];
|
||||
@surface2: @catppuccin[@@lookup][@surface2];
|
||||
@surface1: @catppuccin[@@lookup][@surface1];
|
||||
@surface0: @catppuccin[@@lookup][@surface0];
|
||||
@base: @catppuccin[@@lookup][@base];
|
||||
@mantle: @catppuccin[@@lookup][@mantle];
|
||||
@crust: @catppuccin[@@lookup][@crust];
|
||||
@accent-color: @catppuccin[@@lookup][@@accent];
|
||||
|
||||
color-scheme: if(@lookup = latte, light, dark);
|
||||
|
||||
::selection {
|
||||
background-color: fade(@accent-color, 30%);
|
||||
}
|
||||
|
||||
input,
|
||||
textarea {
|
||||
&::placeholder {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: @mantle !important;
|
||||
color: @text !important;
|
||||
}
|
||||
|
||||
#left_panel,
|
||||
.nav-tabs,
|
||||
.navbar-inner.editor-navbar,
|
||||
#discussions_control,
|
||||
#main_menu {
|
||||
background-color: @surface0 !important;
|
||||
}
|
||||
|
||||
#editor-center-layout,
|
||||
.editor-pane-inner,
|
||||
#translation_wrapper,
|
||||
#translation_text_container,
|
||||
.texts-to-translate-header,
|
||||
#right_panel,
|
||||
.texts-to-translate-paging,
|
||||
#asset_preview_wrapper.no-preview,
|
||||
.editor-pane-title-and-buttons-helper {
|
||||
background-color: @base !important;
|
||||
color: @text !important;
|
||||
}
|
||||
|
||||
.body.dark-theme #main_menu .nav-pills > li.active > a {
|
||||
background-color: @blue;
|
||||
}
|
||||
|
||||
.progress .bar-validate {
|
||||
background-color: @lavender;
|
||||
}
|
||||
.progress .bar-translate {
|
||||
background-color: @sapphire;
|
||||
}
|
||||
|
||||
a,
|
||||
.btn-link {
|
||||
color: @rosewater !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* deno-fmt-ignore */
|
||||
@catppuccin: {
|
||||
@latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
|
||||
@frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
|
||||
@macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
|
||||
@mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
|
||||
};
|
||||
@@ -1,9 +1,9 @@
|
||||
/* ==UserStyle==
|
||||
@name DeepL Catppuccin
|
||||
@name DeepL Catppuccin [STUB | UPDATE REQUIRED]
|
||||
@namespace github.com/catppuccin/userstyles/styles/deepl
|
||||
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/deepl
|
||||
@version 2024.12.28
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/deepl/catppuccin.user.css
|
||||
@version 2024.12.29
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/deepl/catppuccin.user.less
|
||||
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Adeepl
|
||||
@description Soothing pastel theme for DeepL
|
||||
@author Catppuccin
|
||||
@@ -13,335 +13,4 @@
|
||||
@var select lightFlavor "Light Flavor" ["latte:Latte*", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha"]
|
||||
@var select darkFlavor "Dark Flavor" ["latte:Latte", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha*"]
|
||||
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
|
||||
==/UserStyle== */
|
||||
|
||||
@-moz-document regexp("https:\\/\\/www.deepl.com\\/?(.*\\/)translator.*$") {
|
||||
@media (prefers-color-scheme: light) {
|
||||
:root {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
|
||||
#catppuccin(@lookup, @accent) {
|
||||
@rosewater: @catppuccin[@@lookup][@rosewater];
|
||||
@flamingo: @catppuccin[@@lookup][@flamingo];
|
||||
@pink: @catppuccin[@@lookup][@pink];
|
||||
@mauve: @catppuccin[@@lookup][@mauve];
|
||||
@red: @catppuccin[@@lookup][@red];
|
||||
@maroon: @catppuccin[@@lookup][@maroon];
|
||||
@peach: @catppuccin[@@lookup][@peach];
|
||||
@yellow: @catppuccin[@@lookup][@yellow];
|
||||
@green: @catppuccin[@@lookup][@green];
|
||||
@teal: @catppuccin[@@lookup][@teal];
|
||||
@sky: @catppuccin[@@lookup][@sky];
|
||||
@sapphire: @catppuccin[@@lookup][@sapphire];
|
||||
@blue: @catppuccin[@@lookup][@blue];
|
||||
@lavender: @catppuccin[@@lookup][@lavender];
|
||||
@text: @catppuccin[@@lookup][@text];
|
||||
@subtext1: @catppuccin[@@lookup][@subtext1];
|
||||
@subtext0: @catppuccin[@@lookup][@subtext0];
|
||||
@overlay2: @catppuccin[@@lookup][@overlay2];
|
||||
@overlay1: @catppuccin[@@lookup][@overlay1];
|
||||
@overlay0: @catppuccin[@@lookup][@overlay0];
|
||||
@surface2: @catppuccin[@@lookup][@surface2];
|
||||
@surface1: @catppuccin[@@lookup][@surface1];
|
||||
@surface0: @catppuccin[@@lookup][@surface0];
|
||||
@base: @catppuccin[@@lookup][@base];
|
||||
@mantle: @catppuccin[@@lookup][@mantle];
|
||||
@crust: @catppuccin[@@lookup][@crust];
|
||||
@accent-color: @catppuccin[@@lookup][@@accent];
|
||||
|
||||
@text-filter: @catppuccin[@@lookup][@text_filter];
|
||||
@blue-filter: @catppuccin[@@lookup][@blue_filter];
|
||||
|
||||
color-scheme: if(@lookup = latte, light, dark);
|
||||
|
||||
::selection {
|
||||
background-color: fade(@accent-color, 30%);
|
||||
}
|
||||
|
||||
input,
|
||||
textarea {
|
||||
&::placeholder {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* header */
|
||||
.BasePageHeader-module--container--d81cb {
|
||||
background-color: @mantle !important;
|
||||
}
|
||||
|
||||
/* background */
|
||||
body {
|
||||
background-color: @base !important;
|
||||
color: @text !important;
|
||||
}
|
||||
|
||||
.bg-neutral-next-50,
|
||||
.bg-white,
|
||||
.contextual-menu-dragging-area,
|
||||
input {
|
||||
background-color: @base !important;
|
||||
}
|
||||
|
||||
.pageFooterV2-module--footerOuterContainer--0b055 {
|
||||
background-color: @mantle !important;
|
||||
}
|
||||
|
||||
.scrollablePopiverListRoot-module--root--588fe {
|
||||
background-color: @base !important;
|
||||
}
|
||||
|
||||
/* text color */
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
p,
|
||||
a,
|
||||
button,
|
||||
span,
|
||||
input,
|
||||
ul,
|
||||
li,
|
||||
.mb-3,
|
||||
.mb-4,
|
||||
.GlossaryModalWithIllustration-module--content--2bf03,
|
||||
.lmt__glossary_editor_glossaryName {
|
||||
color: @text !important;
|
||||
}
|
||||
|
||||
.text-neutral-next-600 {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
|
||||
/* privacy notice */
|
||||
.cookieBanner-module--container--9baef {
|
||||
background-color: @surface0 !important;
|
||||
color: @text !important;
|
||||
}
|
||||
|
||||
.button-module--button--4f58d.button-module--color_primaryAlt3--cd3cf {
|
||||
border-color: @text !important;
|
||||
}
|
||||
|
||||
/* side menu */
|
||||
.classicSidemenu-module--menuContainer--35157 {
|
||||
background-color: @base !important;
|
||||
}
|
||||
|
||||
/* borders */
|
||||
.border-black {
|
||||
border-color: @surface2 !important;
|
||||
}
|
||||
|
||||
.border-neutral-next-100,
|
||||
.StartFreeTrialButton-module--startFreeTrialButton--bd671 {
|
||||
border-color: @surface0 !important;
|
||||
}
|
||||
|
||||
.divide-y > :not([hidden]) ~ :not([hidden]) {
|
||||
border-color: @base;
|
||||
}
|
||||
|
||||
.TranslatorTab-module--active--0b6ea
|
||||
.TranslatorTab-module--innerLower--8a080 {
|
||||
background-color: @accent-color !important;
|
||||
}
|
||||
|
||||
.ring-neutral-next-900 {
|
||||
--tw-ring-color: @surface2;
|
||||
}
|
||||
|
||||
.border-neutral-next-900 {
|
||||
border-color: @surface2 !important;
|
||||
}
|
||||
|
||||
input {
|
||||
border-color: @surface0 !important;
|
||||
}
|
||||
|
||||
/* hover */
|
||||
button:hover,
|
||||
.bg-blue-next-500:hover {
|
||||
background-color: @surface1 !important;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
background-color: @mantle !important;
|
||||
}
|
||||
|
||||
.FlyoutMenuButton-module--flyoutMenuButton--97ae6:hover {
|
||||
background-color: @mantle !important;
|
||||
}
|
||||
|
||||
[class*="SourceTranslatorArea-module--focusBorder--"]:has(
|
||||
div[contenteditable="true"]:focus
|
||||
) {
|
||||
border-color: @accent-color;
|
||||
}
|
||||
|
||||
[class*="PageHeaderLink-module--pageHeaderLink--"]:not(
|
||||
[class*="PageHeaderLink-module--nohover--"]
|
||||
):hover {
|
||||
color: @accent-color;
|
||||
border-color: @accent-color;
|
||||
}
|
||||
|
||||
.hover\:bg-\[\#B4DAE8\]:hover {
|
||||
background-color: @surface2 !important;
|
||||
}
|
||||
|
||||
/* highlight */
|
||||
.bg-\[\#E1F0F5\] {
|
||||
background-color: @surface1 !important;
|
||||
}
|
||||
|
||||
/* buttons */
|
||||
.TranslatorTab-module--cardButton--4b203,
|
||||
.bg-\[\#EDF8FC\] {
|
||||
background-color: @surface0 !important;
|
||||
border-color: @surface0 !important;
|
||||
}
|
||||
|
||||
.StartFreeTrialButton-module--startFreeTrialButton--bd671,
|
||||
.bg-blue-next-50 {
|
||||
background-color: @surface0 !important;
|
||||
}
|
||||
|
||||
.bg-blue-next-500 {
|
||||
background-color: @surface0;
|
||||
border-color: @surface0;
|
||||
}
|
||||
|
||||
.LanguageSelector-module--wrapper--f9f17 {
|
||||
--button-background: @surface0 !important;
|
||||
--button-border-color: @surface0 !important;
|
||||
color: @base !important;
|
||||
}
|
||||
|
||||
.CareerBanner-module--container--2ac20 {
|
||||
background-color: @surface0 !important;
|
||||
}
|
||||
|
||||
/* glossary button */
|
||||
.lmt__glossaryButton,
|
||||
.lmt__glossaryButton__desktop:hover,
|
||||
.ModalDialogContent-module--content--5751e {
|
||||
background-color: @surface0 !important;
|
||||
}
|
||||
|
||||
.lmt__glossary_acceptButton,
|
||||
.lmt__glossary_editor,
|
||||
.lmt__glossary_editor_subBar_top,
|
||||
.lmt__glossary_editor_subBar_bottom,
|
||||
.lmt__glossary_editor_mainBar,
|
||||
.Select-module--wrapper--53ec7 .Select-module--flyout--c91f3,
|
||||
.lmt_firstEntry-content,
|
||||
.lmt__glossary_newEntry_langButton,
|
||||
.Select-module--wrapper--53ec7,
|
||||
.Select-module--button--f032e {
|
||||
background-color: @surface0 !important;
|
||||
border-color: @surface0 !important;
|
||||
}
|
||||
|
||||
.desktop-glossary-overwrites .lmt__language_select__menu {
|
||||
background-color: @surface0 !important;
|
||||
color: @text !important;
|
||||
}
|
||||
|
||||
.lmt__glossary_newEntry_langDropdown.lmt__language_select__menu
|
||||
button
|
||||
.langName {
|
||||
color: @text !important;
|
||||
}
|
||||
|
||||
/* pro banner */
|
||||
.ProBanner2021-module--wrapper--c7e3d,
|
||||
.p-8 {
|
||||
background: @base !important;
|
||||
}
|
||||
|
||||
/* some button colors */
|
||||
.badge-module--badge--c9ebe.badge-module--proDark--a4d4e {
|
||||
background-color: @green;
|
||||
color: @base !important;
|
||||
}
|
||||
|
||||
.button-module--button--a854e.button-module--color_secondary--f171e {
|
||||
background-color: @peach;
|
||||
border-color: @peach !important;
|
||||
color: @base !important;
|
||||
}
|
||||
|
||||
.button-module--button--a854e.button-module--variant_outline--b937c {
|
||||
background-color: @surface0 !important;
|
||||
border-color: @surface0 !important;
|
||||
}
|
||||
|
||||
.button-module--button--a854e.button-module--color_primary--bfa59 {
|
||||
background-color: @blue !important;
|
||||
border-color: @blue !important;
|
||||
color: @base !important;
|
||||
}
|
||||
|
||||
/* dropdowns */
|
||||
.ProductUpdatesContainer-module--updateContainer--16394,
|
||||
.ProductUpdateFooter-module--updateFooter--b46f0,
|
||||
.LanguageSelector-module--flyout--6bfe6 {
|
||||
background-color: @base !important;
|
||||
border-color: @surface0 !important;
|
||||
}
|
||||
|
||||
/* allow mic/get extension prompt */
|
||||
.bg-neutral-next-900,
|
||||
.bg-blue-next-800 {
|
||||
background-color: @surface0 !important;
|
||||
color: @text !important;
|
||||
}
|
||||
|
||||
/* icons, svgs and images */
|
||||
svg {
|
||||
color: @text !important;
|
||||
}
|
||||
|
||||
.lmt__glossary_ad_checkmark,
|
||||
.lmt__glossary_arrowDown {
|
||||
border-color: @text !important;
|
||||
}
|
||||
|
||||
path,
|
||||
.DeeplLogoText-module--logoText--34a4f,
|
||||
.ProBanner2021-module--lockitem--febe3,
|
||||
.FlyoutMenuButton-module--flyoutMenuButton--97ae6::after,
|
||||
#top-navi-sidemenu-opener,
|
||||
.pageFooterV2-module--socialMediaLinks--71305,
|
||||
.ProBanner2021-module--checkitem--2d8e7,
|
||||
[src*="https://static.deepl.com/img/app_desktop.svg"]
|
||||
{
|
||||
filter: @text-filter;
|
||||
}
|
||||
|
||||
.Logo-module--logoImg--1ee7e,
|
||||
.LogoLink-module--logoText--33735,
|
||||
.deeplLogo-module--logo--ffd7a {
|
||||
filter: @blue-filter;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* prettier-ignore */
|
||||
@catppuccin: {
|
||||
@latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @blue_filter: brightness(0) saturate(100%) invert(26%) sepia(100%) saturate(1906%) hue-rotate(213deg) brightness(97%) contrast(97%); @lavender: #7287fd; @text: #4c4f69; @text_filter: brightness(0) saturate(100%) invert(31%) sepia(12%) saturate(1015%) hue-rotate(196deg) brightness(94%) contrast(91%); @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
|
||||
@frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @blue_filter: brightness(0) saturate(100%) invert(68%) sepia(9%) saturate(1948%) hue-rotate(186deg) brightness(98%) contrast(90%); @lavender: #babbf1; @text: #c6d0f5; @text_filter: brightness(0) saturate(100%) invert(80%) sepia(11%) saturate(726%) hue-rotate(192deg) brightness(104%) contrast(92%); @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
|
||||
@macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @blue_filter: brightness(0) saturate(100%) invert(65%) sepia(13%) saturate(1397%) hue-rotate(184deg) brightness(103%) contrast(91%); @lavender: #b7bdf8; @text: #cad3f5; @text_filter: brightness(0) saturate(100%) invert(84%) sepia(5%) saturate(1385%) hue-rotate(192deg) brightness(101%) contrast(92%); @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
|
||||
@mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @blue_filter: brightness(0) saturate(100%) invert(65%) sepia(51%) saturate(534%) hue-rotate(188deg) brightness(98%) contrast(101%); @lavender: #b4befe; @text: #cdd6f4; @text_filter: brightness(0) saturate(100%) invert(87%) sepia(6%) saturate(985%) hue-rotate(191deg) brightness(96%) contrast(99%); @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
|
||||
}
|
||||
|
||||
// vim:ft=less
|
||||
==/UserStyle== */
|
||||
@@ -0,0 +1,344 @@
|
||||
/* ==UserStyle==
|
||||
@name DeepL Catppuccin
|
||||
@namespace github.com/catppuccin/userstyles/styles/deepl
|
||||
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/deepl
|
||||
@version 2024.12.29.1
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/deepl/catppuccin.user.less
|
||||
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Adeepl
|
||||
@description Soothing pastel theme for DeepL
|
||||
@author Catppuccin
|
||||
@license MIT
|
||||
|
||||
@preprocessor less
|
||||
@var select lightFlavor "Light Flavor" ["latte:Latte*", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha"]
|
||||
@var select darkFlavor "Dark Flavor" ["latte:Latte", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha*"]
|
||||
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
|
||||
==/UserStyle== */
|
||||
|
||||
@-moz-document regexp("https:\\/\\/www.deepl.com\\/?(.*\\/)translator.*$") {
|
||||
@media (prefers-color-scheme: light) {
|
||||
:root {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
|
||||
#catppuccin(@lookup, @accent) {
|
||||
@rosewater: @catppuccin[@@lookup][@rosewater];
|
||||
@flamingo: @catppuccin[@@lookup][@flamingo];
|
||||
@pink: @catppuccin[@@lookup][@pink];
|
||||
@mauve: @catppuccin[@@lookup][@mauve];
|
||||
@red: @catppuccin[@@lookup][@red];
|
||||
@maroon: @catppuccin[@@lookup][@maroon];
|
||||
@peach: @catppuccin[@@lookup][@peach];
|
||||
@yellow: @catppuccin[@@lookup][@yellow];
|
||||
@green: @catppuccin[@@lookup][@green];
|
||||
@teal: @catppuccin[@@lookup][@teal];
|
||||
@sky: @catppuccin[@@lookup][@sky];
|
||||
@sapphire: @catppuccin[@@lookup][@sapphire];
|
||||
@blue: @catppuccin[@@lookup][@blue];
|
||||
@lavender: @catppuccin[@@lookup][@lavender];
|
||||
@text: @catppuccin[@@lookup][@text];
|
||||
@subtext1: @catppuccin[@@lookup][@subtext1];
|
||||
@subtext0: @catppuccin[@@lookup][@subtext0];
|
||||
@overlay2: @catppuccin[@@lookup][@overlay2];
|
||||
@overlay1: @catppuccin[@@lookup][@overlay1];
|
||||
@overlay0: @catppuccin[@@lookup][@overlay0];
|
||||
@surface2: @catppuccin[@@lookup][@surface2];
|
||||
@surface1: @catppuccin[@@lookup][@surface1];
|
||||
@surface0: @catppuccin[@@lookup][@surface0];
|
||||
@base: @catppuccin[@@lookup][@base];
|
||||
@mantle: @catppuccin[@@lookup][@mantle];
|
||||
@crust: @catppuccin[@@lookup][@crust];
|
||||
@accent-color: @catppuccin[@@lookup][@@accent];
|
||||
|
||||
@text-filter: @catppuccin[@@lookup][@text_filter];
|
||||
@blue-filter: @catppuccin[@@lookup][@blue_filter];
|
||||
|
||||
color-scheme: if(@lookup = latte, light, dark);
|
||||
|
||||
::selection {
|
||||
background-color: fade(@accent-color, 30%);
|
||||
}
|
||||
|
||||
input,
|
||||
textarea {
|
||||
&::placeholder {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* header */
|
||||
.BasePageHeader-module--container--d81cb {
|
||||
background-color: @mantle !important;
|
||||
}
|
||||
|
||||
/* background */
|
||||
body {
|
||||
background-color: @base !important;
|
||||
color: @text !important;
|
||||
}
|
||||
|
||||
.bg-neutral-next-50,
|
||||
.bg-white,
|
||||
.contextual-menu-dragging-area,
|
||||
input {
|
||||
background-color: @base !important;
|
||||
}
|
||||
|
||||
.pageFooterV2-module--footerOuterContainer--0b055 {
|
||||
background-color: @mantle !important;
|
||||
}
|
||||
|
||||
.scrollablePopiverListRoot-module--root--588fe {
|
||||
background-color: @base !important;
|
||||
}
|
||||
|
||||
/* text color */
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
p,
|
||||
a,
|
||||
button,
|
||||
span,
|
||||
input,
|
||||
ul,
|
||||
li,
|
||||
.mb-3,
|
||||
.mb-4,
|
||||
.GlossaryModalWithIllustration-module--content--2bf03,
|
||||
.lmt__glossary_editor_glossaryName {
|
||||
color: @text !important;
|
||||
}
|
||||
|
||||
.text-neutral-next-600 {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
|
||||
/* privacy notice */
|
||||
.cookieBanner-module--container--9baef {
|
||||
background-color: @surface0 !important;
|
||||
color: @text !important;
|
||||
}
|
||||
|
||||
.button-module--button--4f58d.button-module--color_primaryAlt3--cd3cf {
|
||||
border-color: @text !important;
|
||||
}
|
||||
|
||||
/* side menu */
|
||||
.classicSidemenu-module--menuContainer--35157 {
|
||||
background-color: @base !important;
|
||||
}
|
||||
|
||||
/* borders */
|
||||
.border-black {
|
||||
border-color: @surface2 !important;
|
||||
}
|
||||
|
||||
.border-neutral-next-100,
|
||||
.StartFreeTrialButton-module--startFreeTrialButton--bd671 {
|
||||
border-color: @surface0 !important;
|
||||
}
|
||||
|
||||
.divide-y > :not([hidden]) ~ :not([hidden]) {
|
||||
border-color: @base;
|
||||
}
|
||||
|
||||
.TranslatorTab-module--active--0b6ea
|
||||
.TranslatorTab-module--innerLower--8a080 {
|
||||
background-color: @accent-color !important;
|
||||
}
|
||||
|
||||
.ring-neutral-next-900 {
|
||||
--tw-ring-color: @surface2;
|
||||
}
|
||||
|
||||
.border-neutral-next-900 {
|
||||
border-color: @surface2 !important;
|
||||
}
|
||||
|
||||
input {
|
||||
border-color: @surface0 !important;
|
||||
}
|
||||
|
||||
/* hover */
|
||||
button:hover,
|
||||
.bg-blue-next-500:hover {
|
||||
background-color: @surface1 !important;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
background-color: @mantle !important;
|
||||
}
|
||||
|
||||
.FlyoutMenuButton-module--flyoutMenuButton--97ae6:hover {
|
||||
background-color: @mantle !important;
|
||||
}
|
||||
|
||||
[class*="SourceTranslatorArea-module--focusBorder--"]:has(
|
||||
div[contenteditable="true"]:focus
|
||||
) {
|
||||
border-color: @accent-color;
|
||||
}
|
||||
|
||||
[class*="PageHeaderLink-module--pageHeaderLink--"]:not(
|
||||
[class*="PageHeaderLink-module--nohover--"]
|
||||
):hover {
|
||||
color: @accent-color;
|
||||
border-color: @accent-color;
|
||||
}
|
||||
|
||||
.hover\:bg-\[\#B4DAE8\]:hover {
|
||||
background-color: @surface2 !important;
|
||||
}
|
||||
|
||||
/* highlight */
|
||||
.bg-\[\#E1F0F5\] {
|
||||
background-color: @surface1 !important;
|
||||
}
|
||||
|
||||
/* buttons */
|
||||
.TranslatorTab-module--cardButton--4b203,
|
||||
.bg-\[\#EDF8FC\] {
|
||||
background-color: @surface0 !important;
|
||||
border-color: @surface0 !important;
|
||||
}
|
||||
|
||||
.StartFreeTrialButton-module--startFreeTrialButton--bd671,
|
||||
.bg-blue-next-50 {
|
||||
background-color: @surface0 !important;
|
||||
}
|
||||
|
||||
.bg-blue-next-500 {
|
||||
background-color: @surface0;
|
||||
border-color: @surface0;
|
||||
}
|
||||
|
||||
.LanguageSelector-module--wrapper--f9f17 {
|
||||
--button-background: @surface0 !important;
|
||||
--button-border-color: @surface0 !important;
|
||||
color: @base !important;
|
||||
}
|
||||
|
||||
.CareerBanner-module--container--2ac20 {
|
||||
background-color: @surface0 !important;
|
||||
}
|
||||
|
||||
/* glossary button */
|
||||
.lmt__glossaryButton,
|
||||
.lmt__glossaryButton__desktop:hover,
|
||||
.ModalDialogContent-module--content--5751e {
|
||||
background-color: @surface0 !important;
|
||||
}
|
||||
|
||||
.lmt__glossary_acceptButton,
|
||||
.lmt__glossary_editor,
|
||||
.lmt__glossary_editor_subBar_top,
|
||||
.lmt__glossary_editor_subBar_bottom,
|
||||
.lmt__glossary_editor_mainBar,
|
||||
.Select-module--wrapper--53ec7 .Select-module--flyout--c91f3,
|
||||
.lmt_firstEntry-content,
|
||||
.lmt__glossary_newEntry_langButton,
|
||||
.Select-module--wrapper--53ec7,
|
||||
.Select-module--button--f032e {
|
||||
background-color: @surface0 !important;
|
||||
border-color: @surface0 !important;
|
||||
}
|
||||
|
||||
.desktop-glossary-overwrites .lmt__language_select__menu {
|
||||
background-color: @surface0 !important;
|
||||
color: @text !important;
|
||||
}
|
||||
|
||||
.lmt__glossary_newEntry_langDropdown.lmt__language_select__menu
|
||||
button
|
||||
.langName {
|
||||
color: @text !important;
|
||||
}
|
||||
|
||||
/* pro banner */
|
||||
.ProBanner2021-module--wrapper--c7e3d,
|
||||
.p-8 {
|
||||
background: @base !important;
|
||||
}
|
||||
|
||||
/* some button colors */
|
||||
.badge-module--badge--c9ebe.badge-module--proDark--a4d4e {
|
||||
background-color: @green;
|
||||
color: @base !important;
|
||||
}
|
||||
|
||||
.button-module--button--a854e.button-module--color_secondary--f171e {
|
||||
background-color: @peach;
|
||||
border-color: @peach !important;
|
||||
color: @base !important;
|
||||
}
|
||||
|
||||
.button-module--button--a854e.button-module--variant_outline--b937c {
|
||||
background-color: @surface0 !important;
|
||||
border-color: @surface0 !important;
|
||||
}
|
||||
|
||||
.button-module--button--a854e.button-module--color_primary--bfa59 {
|
||||
background-color: @blue !important;
|
||||
border-color: @blue !important;
|
||||
color: @base !important;
|
||||
}
|
||||
|
||||
/* dropdowns */
|
||||
.ProductUpdatesContainer-module--updateContainer--16394,
|
||||
.ProductUpdateFooter-module--updateFooter--b46f0,
|
||||
.LanguageSelector-module--flyout--6bfe6 {
|
||||
background-color: @base !important;
|
||||
border-color: @surface0 !important;
|
||||
}
|
||||
|
||||
/* allow mic/get extension prompt */
|
||||
.bg-neutral-next-900,
|
||||
.bg-blue-next-800 {
|
||||
background-color: @surface0 !important;
|
||||
color: @text !important;
|
||||
}
|
||||
|
||||
/* icons, svgs and images */
|
||||
svg {
|
||||
color: @text !important;
|
||||
}
|
||||
|
||||
.lmt__glossary_ad_checkmark,
|
||||
.lmt__glossary_arrowDown {
|
||||
border-color: @text !important;
|
||||
}
|
||||
|
||||
path,
|
||||
.DeeplLogoText-module--logoText--34a4f,
|
||||
.ProBanner2021-module--lockitem--febe3,
|
||||
.FlyoutMenuButton-module--flyoutMenuButton--97ae6::after,
|
||||
#top-navi-sidemenu-opener,
|
||||
.pageFooterV2-module--socialMediaLinks--71305,
|
||||
.ProBanner2021-module--checkitem--2d8e7,
|
||||
[src*="https://static.deepl.com/img/app_desktop.svg"] {
|
||||
filter: @text-filter;
|
||||
}
|
||||
|
||||
.Logo-module--logoImg--1ee7e,
|
||||
.LogoLink-module--logoText--33735,
|
||||
.deeplLogo-module--logo--ffd7a {
|
||||
filter: @blue-filter;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* deno-fmt-ignore */
|
||||
@catppuccin: {
|
||||
@latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @blue_filter: brightness(0) saturate(100%) invert(26%) sepia(100%) saturate(1906%) hue-rotate(213deg) brightness(97%) contrast(97%); @lavender: #7287fd; @text: #4c4f69; @text_filter: brightness(0) saturate(100%) invert(31%) sepia(12%) saturate(1015%) hue-rotate(196deg) brightness(94%) contrast(91%); @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
|
||||
@frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @blue_filter: brightness(0) saturate(100%) invert(68%) sepia(9%) saturate(1948%) hue-rotate(186deg) brightness(98%) contrast(90%); @lavender: #babbf1; @text: #c6d0f5; @text_filter: brightness(0) saturate(100%) invert(80%) sepia(11%) saturate(726%) hue-rotate(192deg) brightness(104%) contrast(92%); @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
|
||||
@macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @blue_filter: brightness(0) saturate(100%) invert(65%) sepia(13%) saturate(1397%) hue-rotate(184deg) brightness(103%) contrast(91%); @lavender: #b7bdf8; @text: #cad3f5; @text_filter: brightness(0) saturate(100%) invert(84%) sepia(5%) saturate(1385%) hue-rotate(192deg) brightness(101%) contrast(92%); @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
|
||||
@mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @blue_filter: brightness(0) saturate(100%) invert(65%) sepia(51%) saturate(534%) hue-rotate(188deg) brightness(98%) contrast(101%); @lavender: #b4befe; @text: #cdd6f4; @text_filter: brightness(0) saturate(100%) invert(87%) sepia(6%) saturate(985%) hue-rotate(191deg) brightness(96%) contrast(99%); @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
|
||||
};
|
||||
@@ -1,9 +1,9 @@
|
||||
/* ==UserStyle==
|
||||
@name docs.rs Catppuccin
|
||||
@name docs.rs Catppuccin [STUB | UPDATE REQUIRED]
|
||||
@namespace github.com/catppuccin/userstyles/styles/docs.rs
|
||||
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/docs.rs
|
||||
@version 2024.12.28
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/docs.rs/catppuccin.user.css
|
||||
@version 2024.12.29
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/docs.rs/catppuccin.user.less
|
||||
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Adocs.rs
|
||||
@description Soothing pastel theme for docs.rs
|
||||
@author Catppuccin
|
||||
@@ -13,328 +13,4 @@
|
||||
@var select lightFlavor "Light Flavor" ["latte:Latte*", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha"]
|
||||
@var select darkFlavor "Dark Flavor" ["latte:Latte", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha*"]
|
||||
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
|
||||
==/UserStyle== */
|
||||
|
||||
@-moz-document domain('docs.rs'), domain('doc.rust-lang.org') {
|
||||
@media (prefers-color-scheme: light) {
|
||||
:root:not([data-docs-rs-theme]) {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root:not([data-docs-rs-theme]) {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
|
||||
:root[data-docs-rs-theme="dark"] {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
}
|
||||
:root[data-docs-rs-theme="light"] {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
|
||||
#catppuccin(@lookup, @accent) {
|
||||
@rosewater: @catppuccin[@@lookup][@rosewater];
|
||||
@flamingo: @catppuccin[@@lookup][@flamingo];
|
||||
@pink: @catppuccin[@@lookup][@pink];
|
||||
@mauve: @catppuccin[@@lookup][@mauve];
|
||||
@red: @catppuccin[@@lookup][@red];
|
||||
@maroon: @catppuccin[@@lookup][@maroon];
|
||||
@peach: @catppuccin[@@lookup][@peach];
|
||||
@yellow: @catppuccin[@@lookup][@yellow];
|
||||
@green: @catppuccin[@@lookup][@green];
|
||||
@teal: @catppuccin[@@lookup][@teal];
|
||||
@sky: @catppuccin[@@lookup][@sky];
|
||||
@sapphire: @catppuccin[@@lookup][@sapphire];
|
||||
@blue: @catppuccin[@@lookup][@blue];
|
||||
@lavender: @catppuccin[@@lookup][@lavender];
|
||||
@text: @catppuccin[@@lookup][@text];
|
||||
@subtext1: @catppuccin[@@lookup][@subtext1];
|
||||
@subtext0: @catppuccin[@@lookup][@subtext0];
|
||||
@overlay2: @catppuccin[@@lookup][@overlay2];
|
||||
@overlay1: @catppuccin[@@lookup][@overlay1];
|
||||
@overlay0: @catppuccin[@@lookup][@overlay0];
|
||||
@surface2: @catppuccin[@@lookup][@surface2];
|
||||
@surface1: @catppuccin[@@lookup][@surface1];
|
||||
@surface0: @catppuccin[@@lookup][@surface0];
|
||||
@base: @catppuccin[@@lookup][@base];
|
||||
@mantle: @catppuccin[@@lookup][@mantle];
|
||||
@crust: @catppuccin[@@lookup][@crust];
|
||||
@accent-color: @catppuccin[@@lookup][@@accent];
|
||||
|
||||
color-scheme: if(@lookup = latte, light, dark);
|
||||
|
||||
::selection {
|
||||
background-color: fade(@accent-color, 30%);
|
||||
}
|
||||
|
||||
input,
|
||||
textarea {
|
||||
&::placeholder {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
--color-background-code: @mantle;
|
||||
--color-background: @base;
|
||||
--input-color: @text;
|
||||
--input-box-shadow-focus: 0 0 8px 4px @accent-color;
|
||||
--color-border-light: @surface2;
|
||||
--color-border: @surface0;
|
||||
--color-doc-link-background: @accent-color;
|
||||
--color-doc-link-hover: @accent-color;
|
||||
--color-error-hover: red;
|
||||
--color-error: red;
|
||||
--color-macro: red;
|
||||
--color-menu-border: red;
|
||||
--color-menu-header-background: red;
|
||||
--color-navbar-standard: @text;
|
||||
--color-standard: @subtext1;
|
||||
--color-brand: @text;
|
||||
--color-struct: red;
|
||||
--color-type: @peach;
|
||||
--color-url: @accent-color;
|
||||
--color-warn-background: @peach;
|
||||
--color-warn-msg: @crust;
|
||||
--color-warn-hover: red;
|
||||
--color-warn: @peach;
|
||||
--color-background-input: @mantle;
|
||||
--color-table-header-background: @surface0;
|
||||
--color-table-header: @text;
|
||||
--color-search-focus: red;
|
||||
--chart-title-color: red;
|
||||
--chart-grid: red;
|
||||
|
||||
--main-background-color: @base;
|
||||
--main-color: @text;
|
||||
--settings-input-color: @accent-color;
|
||||
--settings-input-border-color: @surface0;
|
||||
--settings-button-color: @text;
|
||||
--settings-button-border-focus: @accent-color;
|
||||
--sidebar-background-color: @mantle;
|
||||
--sidebar-background-color-hover: @crust;
|
||||
--source-sidebar-background-selected: @surface0;
|
||||
--source-sidebar-background-hover: @base;
|
||||
--code-block-background-color: @mantle;
|
||||
--headings-border-bottom-color: @overlay1;
|
||||
--border-color: @surface0;
|
||||
--button-background-color: @mantle;
|
||||
--right-side-color: @surface2;
|
||||
--code-attribute-color: @yellow;
|
||||
--toggles-color: @subtext1;
|
||||
--search-input-focused-border-color: @accent-color;
|
||||
--copy-path-button-color: @text;
|
||||
--codeblock-error-hover-color: @red;
|
||||
--codeblock-error-color: fade(@red, 70%);
|
||||
--codeblock-ignore-hover-color: @red;
|
||||
--codeblock-ignore-color: fade(@red, 70%);
|
||||
--warning-border-color: red;
|
||||
--type-link-color: @sky;
|
||||
--trait-link-color: @mauve;
|
||||
--assoc-item-link-color: @yellow;
|
||||
--function-link-color: @green;
|
||||
--macro-link-color: @green;
|
||||
--keyword-link-color: @yellow;
|
||||
--mod-link-color: @accent-color;
|
||||
--link-color: @accent-color;
|
||||
--sidebar-link-color: @accent-color;
|
||||
--sidebar-current-link-background-color: @surface0;
|
||||
--search-result-link-focus-background-color: fade(@accent-color, 20%);
|
||||
--search-result-border-color: @surface0;
|
||||
--search-color: @text;
|
||||
--search-error-code-background-color: red;
|
||||
--search-results-alias-color: red;
|
||||
--search-results-grey-color: @subtext1;
|
||||
--search-tab-title-count-color: @subtext0;
|
||||
--search-tab-button-not-selected-border-top-color: @crust;
|
||||
--search-tab-button-not-selected-background: @crust;
|
||||
--search-tab-button-selected-border-top-color: @accent-color;
|
||||
--search-tab-button-selected-background: @base;
|
||||
--stab-background-color: @surface0;
|
||||
--stab-code-color: @accent-color;
|
||||
--code-highlight-kw-color: @mauve;
|
||||
--code-highlight-kw-2-color: @mauve;
|
||||
--code-highlight-lifetime-color: @blue;
|
||||
--code-highlight-prelude-color: @yellow;
|
||||
--code-highlight-prelude-val-color: @yellow;
|
||||
--code-highlight-number-color: @peach;
|
||||
--code-highlight-string-color: @green;
|
||||
--code-highlight-literal-color: @red;
|
||||
--code-highlight-attribute-color: @yellow;
|
||||
--code-highlight-self-color: @red;
|
||||
--code-highlight-macro-color: @blue;
|
||||
--code-highlight-question-mark-color: @teal;
|
||||
--code-highlight-comment-color: @overlay2;
|
||||
--code-highlight-doc-comment-color: @overlay2;
|
||||
--color-syntax-foreground: inherit;
|
||||
--color-syntax-attribute: @yellow;
|
||||
--color-syntax-background: @mantle;
|
||||
--color-syntax-bool: @red;
|
||||
--color-syntax-comment: @overlay2;
|
||||
--color-syntax-doc-comment: @overlay2;
|
||||
--color-syntax-keyword1: @mauve;
|
||||
--color-syntax-keyword2: @mauve;
|
||||
--color-syntax-lifetime: @blue;
|
||||
--color-syntax-macro: @blue;
|
||||
--color-syntax-number: @peach;
|
||||
--color-syntax-prelude-ty: @yellow;
|
||||
--color-syntax-prelude-val: @yellow;
|
||||
--color-syntax-question-mark: @teal;
|
||||
--color-syntax-self: @red;
|
||||
--color-syntax-string: @green;
|
||||
--src-line-numbers-span-color: @accent-color;
|
||||
--src-line-number-highlighted-background-color: fade(@accent-color, 30%);
|
||||
--test-arrow-color: #dedede;
|
||||
--test-arrow-background-color: red;
|
||||
--test-arrow-hover-color: #dedede;
|
||||
--test-arrow-hover-background-color: red;
|
||||
--target-background-color: fade(@accent-color, 10%);
|
||||
--target-border-color: @accent-color;
|
||||
--kbd-color: @text;
|
||||
--kbd-background: @mantle;
|
||||
--kbd-box-shadow-color: @surface1;
|
||||
--crate-search-hover-border: red;
|
||||
--src-sidebar-background-selected: @surface0;
|
||||
--src-sidebar-background-hover: @surface1;
|
||||
--table-alt-row-background-color: @mantle;
|
||||
--codeblock-link-background: fade(@surface0, 50%);
|
||||
--scrape-example-toggle-line-background: red;
|
||||
--scrape-example-toggle-line-hover-background: red;
|
||||
--scrape-example-code-line-highlight: fade(@accent-color, 40%);
|
||||
--scrape-example-code-line-highlight-focus: fade(@accent-color, 40%);
|
||||
--scrape-example-help-border-color: @subtext0;
|
||||
--scrape-example-help-color: @subtext1;
|
||||
--scrape-example-help-hover-border-color: @text;
|
||||
--scrape-example-help-hover-color: @text;
|
||||
--scrape-example-code-wrapper-background-start: @base;
|
||||
--scrape-example-code-wrapper-background-end: @base;
|
||||
--sidebar-resizer-hover: @sky;
|
||||
--sidebar-resizer-active: @sapphire;
|
||||
|
||||
select {
|
||||
background-color: @mantle;
|
||||
border-color: @surface0;
|
||||
}
|
||||
|
||||
hr {
|
||||
border-color: @overlay1;
|
||||
}
|
||||
|
||||
.rust-logo {
|
||||
@svg: escape(
|
||||
'<svg height="106" width="106" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g transform="translate(53 53)"><path stroke="@{text}" fill="@{crust}" stroke-linejoin="round" d="M-8.5-14.5h13c8 0 8 8 0 8h-13Zm-31 37h40v-11h-9v-8h10c11 0 5 19 14 19h25v-19h-6v2c0 8-9 7-10 2s-5-9-6-9c15-8 6-24-6-24h-47v11h10v26h-15Z"/><g mask="url(#a)"><circle r="43" fill="none" stroke="@{crust}" stroke-width="9"/><path id="b" stroke="@{crust}" stroke-width="3" stroke-linejoin="round" d="m46 3 5-3-5-3z"/><use xlink:href="#b" transform="rotate(11.25)"/><use xlink:href="#b" transform="rotate(22.5)"/><use xlink:href="#b" transform="rotate(33.75)"/><use xlink:href="#b" transform="rotate(45)"/><use xlink:href="#b" transform="rotate(56.25)"/><use xlink:href="#b" transform="rotate(67.5)"/><use xlink:href="#b" transform="rotate(78.75)"/><use xlink:href="#b" transform="rotate(90)"/><use xlink:href="#b" transform="rotate(101.25)"/><use xlink:href="#b" transform="rotate(112.5)"/><use xlink:href="#b" transform="rotate(123.75)"/><use xlink:href="#b" transform="rotate(135)"/><use xlink:href="#b" transform="rotate(146.25)"/><use xlink:href="#b" transform="rotate(157.5)"/><use xlink:href="#b" transform="rotate(168.75)"/><use xlink:href="#b" transform="rotate(180)"/><use xlink:href="#b" transform="rotate(191.25)"/><use xlink:href="#b" transform="rotate(202.5)"/><use xlink:href="#b" transform="rotate(213.75)"/><use xlink:href="#b" transform="rotate(225)"/><use xlink:href="#b" transform="rotate(236.25)"/><use xlink:href="#b" transform="rotate(247.5)"/><use xlink:href="#b" transform="rotate(258.75)"/><use xlink:href="#b" transform="rotate(270)"/><use xlink:href="#b" transform="rotate(281.25)"/><use xlink:href="#b" transform="rotate(292.5)"/><use xlink:href="#b" transform="rotate(303.75)"/><use xlink:href="#b" transform="rotate(315)"/><use xlink:href="#b" transform="rotate(326.25)"/><use xlink:href="#b" transform="rotate(337.5)"/><use xlink:href="#b" transform="rotate(348.75)"/><path id="c" stroke="@{crust}" stroke-width="6" stroke-linejoin="round" d="m-7-42 7 7 7-7z"/><use xlink:href="#c" transform="rotate(72)"/><use xlink:href="#c" transform="rotate(144)"/><use xlink:href="#c" transform="rotate(216)"/><use xlink:href="#c" transform="rotate(288)"/></g><mask id="a"><path fill="#fff" d="M-60-60H60V60H-60z"/><circle id="d" cy="-40" r="3"/><use xlink:href="#d" transform="rotate(72)"/><use xlink:href="#d" transform="rotate(144)"/><use xlink:href="#d" transform="rotate(216)"/><use xlink:href="#d" transform="rotate(288)"/></mask></g></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
|
||||
img[alt="Change settings"] {
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" width="27.434" height="29.5" viewBox="0 0 27.434 29.5" fill="@{text}"><path d="M27.316 18.39a2.7 2.7 0 0 0-.98-1.46 1.6 1.6 0 0 1-.016-.762l.035-.176v-1.191c0-1.246-.003-1.278-.046-1.473a1.7 1.7 0 0 1 .007-.805c.477-.343.829-.859.997-1.472.257-.957.074-2.094-.508-3.117l-.594-1.032c-.746-1.304-1.965-2.117-3.18-2.117-.379 0-.75.078-1.086.235a1.96 1.96 0 0 1-.855-.391l-.102-.082-.117-.063-1.855-1.07-.094-.055-.106-.043c-.378-.156-.66-.41-.77-.554C17.919 1.172 16.349 0 14.297 0h-1.155c-2.043 0-3.61 1.152-3.75 2.723-.114.14-.391.382-.758.527l-.102.04-.094.05-1.94 1.066-.134.074-.117.094a2 2 0 0 1-.832.403 2.5 2.5 0 0 0-1.008-.211c-1.199 0-2.414.82-3.168 2.14l-.59 1.032c-.41.718-.64 1.523-.64 2.257-.004.953.36 1.758 1.012 2.258a1.9 1.9 0 0 1-.016.785c-.04.168-.063.282-.063 1.563 0 1.148 0 1.148.016 1.261l.008.075.015.074c.075.344.047.64.012.8-.644.5-1.004 1.302-.992 2.259.008.726.238 1.52.648 2.242l.59 1.027c.758 1.332 1.965 2.16 3.149 2.16.324 0 .644-.062.937-.187.168.039.492.156.813.418l.11.086.124.07 2.047 1.156.102.059.105.043c.363.144.648.379.766.52.164 1.519 1.718 2.632 3.746 2.632h1.156c2.035 0 3.598-1.133 3.746-2.672.117-.144.402-.394.773-.55l.114-.047.101-.063 1.961-1.156.106-.063.097-.078c.309-.246.653-.37.832-.398.313.136.66.21 1.016.21 1.2 0 2.41-.82 3.164-2.14l.594-1.031c.59-1.028.777-2.164.52-3.117Zm-2.043 2.247-.59 1.031c-.437.766-1.105 1.25-1.636 1.25a.7.7 0 0 1-.371-.094 1.15 1.15 0 0 0-.567-.129c-.593 0-1.382.297-2.007.797l-1.961 1.156c-1.016.426-1.848 1.293-1.848 1.93 0 .64-.898 1.16-1.996 1.16H13.14c-1.102 0-2-.515-2-1.14 0-.63-.832-1.477-1.852-1.887l-2.047-1.16c-.637-.512-1.426-.813-2.008-.813-.199 0-.379.035-.515.114a.65.65 0 0 1-.332.085c-.52 0-1.18-.5-1.621-1.273l-.59-1.031c-.543-.953-.555-1.98-.024-2.285.532-.305.782-1.434.551-2.504V14.8c0-1.09.02-1.18.02-1.18.238-1.074-.008-2.203-.551-2.516-.54-.304-.54-1.34.008-2.293l.59-1.03c.437-.766 1.101-1.255 1.636-1.255a.73.73 0 0 1 .364.094c.152.086.343.125.566.125.594 0 1.379-.297 2.004-.793l1.945-1.066c1.02-.407 1.856-1.278 1.856-1.934s.898-1.191 2-1.191h1.156c1.098 0 1.996.543 1.996 1.21 0 .669.832 1.555 1.848 1.973L20 6.012c.617.492 1.402.777 2.012.777.242 0 .453-.047.62-.14a.8.8 0 0 1 .403-.102c.55 0 1.223.476 1.652 1.23l.59 1.032c.543.953.52 2.004-.062 2.336-.574.332-.86 1.48-.625 2.554 0 0 .008.04.008 1.102v1.011c-.215 1.051.07 2.176.636 2.5.567.325.586 1.368.04 2.325Zm0 0"/><path d="M13.61 7.61a7.084 7.084 0 0 0-7.083 7.085 7.085 7.085 0 1 0 14.168 0A7.09 7.09 0 0 0 13.61 7.61m0 12.41a5.33 5.33 0 0 1-5.325-5.325 5.33 5.33 0 0 1 5.324-5.32 5.327 5.327 0 0 1 5.325 5.32 5.33 5.33 0 0 1-5.325 5.325Zm0 0"/><path d="M13.684 9.906a4.72 4.72 0 0 0-4.72 4.719 4.72 4.72 0 0 0 4.72 4.719 4.724 4.724 0 0 0 4.714-4.719 4.724 4.724 0 0 0-4.714-4.719m0 7.676a2.954 2.954 0 1 1 0-5.91 2.953 2.953 0 0 1 2.953 2.953 2.957 2.957 0 0 1-2.953 2.957m0 0"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
#settings-menu {
|
||||
img[alt="Change settings"] {
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" width="27.434" height="29.5" viewBox="0 0 27.434 29.5" fill="@{text}"><path d="M27.316 18.39a2.7 2.7 0 0 0-.98-1.46 1.6 1.6 0 0 1-.016-.762l.035-.176v-1.191c0-1.246-.003-1.278-.046-1.473a1.7 1.7 0 0 1 .007-.805c.477-.343.829-.859.997-1.472.257-.957.074-2.094-.508-3.117l-.594-1.032c-.746-1.304-1.965-2.117-3.18-2.117-.379 0-.75.078-1.086.235a1.96 1.96 0 0 1-.855-.391l-.102-.082-.117-.063-1.855-1.07-.094-.055-.106-.043c-.378-.156-.66-.41-.77-.554C17.919 1.172 16.349 0 14.297 0h-1.155c-2.043 0-3.61 1.152-3.75 2.723-.114.14-.391.382-.758.527l-.102.04-.094.05-1.94 1.066-.134.074-.117.094a2 2 0 0 1-.832.403 2.5 2.5 0 0 0-1.008-.211c-1.199 0-2.414.82-3.168 2.14l-.59 1.032c-.41.718-.64 1.523-.64 2.257-.004.953.36 1.758 1.012 2.258a1.9 1.9 0 0 1-.016.785c-.04.168-.063.282-.063 1.563 0 1.148 0 1.148.016 1.261l.008.075.015.074c.075.344.047.64.012.8-.644.5-1.004 1.302-.992 2.259.008.726.238 1.52.648 2.242l.59 1.027c.758 1.332 1.965 2.16 3.149 2.16.324 0 .644-.062.937-.187.168.039.492.156.813.418l.11.086.124.07 2.047 1.156.102.059.105.043c.363.144.648.379.766.52.164 1.519 1.718 2.632 3.746 2.632h1.156c2.035 0 3.598-1.133 3.746-2.672.117-.144.402-.394.773-.55l.114-.047.101-.063 1.961-1.156.106-.063.097-.078c.309-.246.653-.37.832-.398.313.136.66.21 1.016.21 1.2 0 2.41-.82 3.164-2.14l.594-1.031c.59-1.028.777-2.164.52-3.117Zm-2.043 2.247-.59 1.031c-.437.766-1.105 1.25-1.636 1.25a.7.7 0 0 1-.371-.094 1.15 1.15 0 0 0-.567-.129c-.593 0-1.382.297-2.007.797l-1.961 1.156c-1.016.426-1.848 1.293-1.848 1.93 0 .64-.898 1.16-1.996 1.16H13.14c-1.102 0-2-.515-2-1.14 0-.63-.832-1.477-1.852-1.887l-2.047-1.16c-.637-.512-1.426-.813-2.008-.813-.199 0-.379.035-.515.114a.65.65 0 0 1-.332.085c-.52 0-1.18-.5-1.621-1.273l-.59-1.031c-.543-.953-.555-1.98-.024-2.285.532-.305.782-1.434.551-2.504V14.8c0-1.09.02-1.18.02-1.18.238-1.074-.008-2.203-.551-2.516-.54-.304-.54-1.34.008-2.293l.59-1.03c.437-.766 1.101-1.255 1.636-1.255a.73.73 0 0 1 .364.094c.152.086.343.125.566.125.594 0 1.379-.297 2.004-.793l1.945-1.066c1.02-.407 1.856-1.278 1.856-1.934s.898-1.191 2-1.191h1.156c1.098 0 1.996.543 1.996 1.21 0 .669.832 1.555 1.848 1.973L20 6.012c.617.492 1.402.777 2.012.777.242 0 .453-.047.62-.14a.8.8 0 0 1 .403-.102c.55 0 1.223.476 1.652 1.23l.59 1.032c.543.953.52 2.004-.062 2.336-.574.332-.86 1.48-.625 2.554 0 0 .008.04.008 1.102v1.011c-.215 1.051.07 2.176.636 2.5.567.325.586 1.368.04 2.325Zm0 0"/><path d="M13.61 7.61a7.084 7.084 0 0 0-7.083 7.085 7.085 7.085 0 1 0 14.168 0A7.09 7.09 0 0 0 13.61 7.61m0 12.41a5.33 5.33 0 0 1-5.325-5.325 5.33 5.33 0 0 1 5.324-5.32 5.327 5.327 0 0 1 5.325 5.32 5.33 5.33 0 0 1-5.325 5.325Zm0 0"/><path d="M13.684 9.906a4.72 4.72 0 0 0-4.72 4.719 4.72 4.72 0 0 0 4.72 4.719 4.724 4.724 0 0 0 4.714-4.719 4.724 4.724 0 0 0-4.714-4.719m0 7.676a2.954 2.954 0 1 1 0-5.91 2.953 2.953 0 0 1 2.953 2.953 2.957 2.957 0 0 1-2.953 2.957m0 0"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
|
||||
> a:not(:has(img))::before {
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="0 0 12 12" fill="@{text}"><path d="M10.25 6c0-.124-.026-.241-.037-.363l1.608-1.554-1.25-2.166-2.132.61a4 4 0 0 0-.65-.37L7.25 0h-2.5l-.54 2.157a4 4 0 0 0-.649.37l-2.132-.61-1.25 2.166 1.608 1.554c-.01.122-.037.239-.037.363s.026.241.037.363L.179 7.917l1.25 2.166 2.132-.61q.307.213.65.37L4.75 12h2.5l.54-2.157a4 4 0 0 0 .649-.37l2.132.61 1.25-2.166-1.608-1.554c.01-.122.037-.239.037-.363M6 7.5a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
}
|
||||
|
||||
.setting-check input:checked {
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 40"><path d="m7 23 10 7 16-20" fill="none" stroke="@{crust}" stroke-width="5"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
|
||||
#copy-path {
|
||||
@raw: '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="25" viewBox="0 0 24 25" fill="%COLOR%"><path d="M18 20h2v3c0 1-1 2-2 2H2c-.998 0-2-1-2-2V5c0-.911.755-1.667 1.667-1.667h5A3.323 3.323 0 0 1 10 0a3.323 3.323 0 0 1 3.333 3.333h5A1.68 1.68 0 0 1 20 5v8.333h-2V9H2v14h16zM3 7h14c0-.911-.793-1.667-1.75-1.667H13.5c-.957 0-1.75-.755-1.75-1.666C11.75 2.755 10.957 2 10 2s-1.75.755-1.75 1.667c0 .911-.793 1.666-1.75 1.666H4.75C3.793 5.333 3 6.09 3 7"/><path d="M4 19h6v2H4zm8-8H4v2h8zm-8 6h4v-2H4zm11-2v-3l-4.5 4.5L15 21v-3l8.027-.032L23 15z"/></svg>';
|
||||
@raw_before: '<svg xmlns="http://www.w3.org/2000/svg" width="19" height="18" viewBox="0 0 24 25" fill="%COLOR%"><path d="M18 20h2v3c0 1-1 2-2 2H2c-.998 0-2-1-2-2V5c0-.911.755-1.667 1.667-1.667h5A3.323 3.323 0 0 1 10 0a3.323 3.323 0 0 1 3.333 3.333h5A1.68 1.68 0 0 1 20 5v8.333h-2V9H2v14h16zM3 7h14c0-.911-.793-1.667-1.75-1.667H13.5c-.957 0-1.75-.755-1.75-1.666C11.75 2.755 10.957 2 10 2s-1.75.755-1.75 1.667c0 .911-.793 1.666-1.75 1.666H4.75C3.793 5.333 3 6.09 3 7"/><path d="M4 19h6v2H4zm8-8H4v2h8zm-8 6h4v-2H4zm11-2v-3l-4.5 4.5L15 21v-3l8.027-.032L23 15z"/></svg>';
|
||||
|
||||
> img {
|
||||
@svg: escape(replace(@raw, "%COLOR%", @subtext0));
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
filter: none;
|
||||
}
|
||||
&:hover > img {
|
||||
@svg: escape(replace(@raw, "%COLOR%", @text));
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
filter: none;
|
||||
}
|
||||
|
||||
&:not(:has(> img)) {
|
||||
&::before {
|
||||
@svg: escape(replace(@raw_before, "%COLOR%", @subtext0));
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
filter: none;
|
||||
}
|
||||
|
||||
&:hover::before {
|
||||
@svg: escape(replace(@raw_before, "%COLOR%", @text));
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
filter: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
details.toggle {
|
||||
@plus: escape(
|
||||
'<svg width="17" height="17" shape-rendering="crispEdges" stroke="@{text}" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M5 2.5H2.5v12H5m7-12h2.5v12H12m-7-6h7M8.5 12V5"/></svg>'
|
||||
);
|
||||
@minus: escape(
|
||||
'<svg width="17" height="17" shape-rendering="crispEdges" stroke="@{text}" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M5 2.5H2.5v12H5m7-12h2.5v12H12m-7-6h7"/></svg>'
|
||||
);
|
||||
|
||||
> summary::before {
|
||||
background: url("data:image/svg+xml,@{plus}") no-repeat top left;
|
||||
filter: none;
|
||||
}
|
||||
|
||||
&[open] > summary::before {
|
||||
background: url("data:image/svg+xml,@{minus}") no-repeat top left;
|
||||
}
|
||||
}
|
||||
|
||||
.src #sidebar-button > a::before {
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22 22" fill="none" stroke="@{text}"><path d="M16 9V5h-6V4L8 2H4L2 4v16h13l6-11H6L2 19" stroke-width="1.25"/><path d="M15 7H4v3" stroke-width=".75"/><path d="M3.75 10v1.25" stroke-width=".375"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
|
||||
.pure-menu-link {
|
||||
color: @subtext0;
|
||||
|
||||
&:hover {
|
||||
color: @text;
|
||||
}
|
||||
}
|
||||
.pure-table {
|
||||
&,
|
||||
td,
|
||||
th {
|
||||
border-color: @surface0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* prettier-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; };
|
||||
}
|
||||
|
||||
// vim:ft=less
|
||||
==/UserStyle== */
|
||||
@@ -0,0 +1,338 @@
|
||||
/* ==UserStyle==
|
||||
@name docs.rs Catppuccin
|
||||
@namespace github.com/catppuccin/userstyles/styles/docs.rs
|
||||
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/docs.rs
|
||||
@version 2024.12.29.1
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/docs.rs/catppuccin.user.less
|
||||
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Adocs.rs
|
||||
@description Soothing pastel theme for docs.rs
|
||||
@author Catppuccin
|
||||
@license MIT
|
||||
|
||||
@preprocessor less
|
||||
@var select lightFlavor "Light Flavor" ["latte:Latte*", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha"]
|
||||
@var select darkFlavor "Dark Flavor" ["latte:Latte", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha*"]
|
||||
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
|
||||
==/UserStyle== */
|
||||
|
||||
@-moz-document domain("docs.rs"), domain("doc.rust-lang.org") {
|
||||
@media (prefers-color-scheme: light) {
|
||||
:root:not([data-docs-rs-theme]) {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root:not([data-docs-rs-theme]) {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
|
||||
:root[data-docs-rs-theme="dark"] {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
}
|
||||
:root[data-docs-rs-theme="light"] {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
|
||||
#catppuccin(@lookup, @accent) {
|
||||
@rosewater: @catppuccin[@@lookup][@rosewater];
|
||||
@flamingo: @catppuccin[@@lookup][@flamingo];
|
||||
@pink: @catppuccin[@@lookup][@pink];
|
||||
@mauve: @catppuccin[@@lookup][@mauve];
|
||||
@red: @catppuccin[@@lookup][@red];
|
||||
@maroon: @catppuccin[@@lookup][@maroon];
|
||||
@peach: @catppuccin[@@lookup][@peach];
|
||||
@yellow: @catppuccin[@@lookup][@yellow];
|
||||
@green: @catppuccin[@@lookup][@green];
|
||||
@teal: @catppuccin[@@lookup][@teal];
|
||||
@sky: @catppuccin[@@lookup][@sky];
|
||||
@sapphire: @catppuccin[@@lookup][@sapphire];
|
||||
@blue: @catppuccin[@@lookup][@blue];
|
||||
@lavender: @catppuccin[@@lookup][@lavender];
|
||||
@text: @catppuccin[@@lookup][@text];
|
||||
@subtext1: @catppuccin[@@lookup][@subtext1];
|
||||
@subtext0: @catppuccin[@@lookup][@subtext0];
|
||||
@overlay2: @catppuccin[@@lookup][@overlay2];
|
||||
@overlay1: @catppuccin[@@lookup][@overlay1];
|
||||
@overlay0: @catppuccin[@@lookup][@overlay0];
|
||||
@surface2: @catppuccin[@@lookup][@surface2];
|
||||
@surface1: @catppuccin[@@lookup][@surface1];
|
||||
@surface0: @catppuccin[@@lookup][@surface0];
|
||||
@base: @catppuccin[@@lookup][@base];
|
||||
@mantle: @catppuccin[@@lookup][@mantle];
|
||||
@crust: @catppuccin[@@lookup][@crust];
|
||||
@accent-color: @catppuccin[@@lookup][@@accent];
|
||||
|
||||
color-scheme: if(@lookup = latte, light, dark);
|
||||
|
||||
::selection {
|
||||
background-color: fade(@accent-color, 30%);
|
||||
}
|
||||
|
||||
input,
|
||||
textarea {
|
||||
&::placeholder {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
--color-background-code: @mantle;
|
||||
--color-background: @base;
|
||||
--input-color: @text;
|
||||
--input-box-shadow-focus: 0 0 8px 4px @accent-color;
|
||||
--color-border-light: @surface2;
|
||||
--color-border: @surface0;
|
||||
--color-doc-link-background: @accent-color;
|
||||
--color-doc-link-hover: @accent-color;
|
||||
--color-error-hover: red;
|
||||
--color-error: red;
|
||||
--color-macro: red;
|
||||
--color-menu-border: red;
|
||||
--color-menu-header-background: red;
|
||||
--color-navbar-standard: @text;
|
||||
--color-standard: @subtext1;
|
||||
--color-brand: @text;
|
||||
--color-struct: red;
|
||||
--color-type: @peach;
|
||||
--color-url: @accent-color;
|
||||
--color-warn-background: @peach;
|
||||
--color-warn-msg: @crust;
|
||||
--color-warn-hover: red;
|
||||
--color-warn: @peach;
|
||||
--color-background-input: @mantle;
|
||||
--color-table-header-background: @surface0;
|
||||
--color-table-header: @text;
|
||||
--color-search-focus: red;
|
||||
--chart-title-color: red;
|
||||
--chart-grid: red;
|
||||
|
||||
--main-background-color: @base;
|
||||
--main-color: @text;
|
||||
--settings-input-color: @accent-color;
|
||||
--settings-input-border-color: @surface0;
|
||||
--settings-button-color: @text;
|
||||
--settings-button-border-focus: @accent-color;
|
||||
--sidebar-background-color: @mantle;
|
||||
--sidebar-background-color-hover: @crust;
|
||||
--source-sidebar-background-selected: @surface0;
|
||||
--source-sidebar-background-hover: @base;
|
||||
--code-block-background-color: @mantle;
|
||||
--headings-border-bottom-color: @overlay1;
|
||||
--border-color: @surface0;
|
||||
--button-background-color: @mantle;
|
||||
--right-side-color: @surface2;
|
||||
--code-attribute-color: @yellow;
|
||||
--toggles-color: @subtext1;
|
||||
--search-input-focused-border-color: @accent-color;
|
||||
--copy-path-button-color: @text;
|
||||
--codeblock-error-hover-color: @red;
|
||||
--codeblock-error-color: fade(@red, 70%);
|
||||
--codeblock-ignore-hover-color: @red;
|
||||
--codeblock-ignore-color: fade(@red, 70%);
|
||||
--warning-border-color: red;
|
||||
--type-link-color: @sky;
|
||||
--trait-link-color: @mauve;
|
||||
--assoc-item-link-color: @yellow;
|
||||
--function-link-color: @green;
|
||||
--macro-link-color: @green;
|
||||
--keyword-link-color: @yellow;
|
||||
--mod-link-color: @accent-color;
|
||||
--link-color: @accent-color;
|
||||
--sidebar-link-color: @accent-color;
|
||||
--sidebar-current-link-background-color: @surface0;
|
||||
--search-result-link-focus-background-color: fade(@accent-color, 20%);
|
||||
--search-result-border-color: @surface0;
|
||||
--search-color: @text;
|
||||
--search-error-code-background-color: red;
|
||||
--search-results-alias-color: red;
|
||||
--search-results-grey-color: @subtext1;
|
||||
--search-tab-title-count-color: @subtext0;
|
||||
--search-tab-button-not-selected-border-top-color: @crust;
|
||||
--search-tab-button-not-selected-background: @crust;
|
||||
--search-tab-button-selected-border-top-color: @accent-color;
|
||||
--search-tab-button-selected-background: @base;
|
||||
--stab-background-color: @surface0;
|
||||
--stab-code-color: @accent-color;
|
||||
--code-highlight-kw-color: @mauve;
|
||||
--code-highlight-kw-2-color: @mauve;
|
||||
--code-highlight-lifetime-color: @blue;
|
||||
--code-highlight-prelude-color: @yellow;
|
||||
--code-highlight-prelude-val-color: @yellow;
|
||||
--code-highlight-number-color: @peach;
|
||||
--code-highlight-string-color: @green;
|
||||
--code-highlight-literal-color: @red;
|
||||
--code-highlight-attribute-color: @yellow;
|
||||
--code-highlight-self-color: @red;
|
||||
--code-highlight-macro-color: @blue;
|
||||
--code-highlight-question-mark-color: @teal;
|
||||
--code-highlight-comment-color: @overlay2;
|
||||
--code-highlight-doc-comment-color: @overlay2;
|
||||
--color-syntax-foreground: inherit;
|
||||
--color-syntax-attribute: @yellow;
|
||||
--color-syntax-background: @mantle;
|
||||
--color-syntax-bool: @red;
|
||||
--color-syntax-comment: @overlay2;
|
||||
--color-syntax-doc-comment: @overlay2;
|
||||
--color-syntax-keyword1: @mauve;
|
||||
--color-syntax-keyword2: @mauve;
|
||||
--color-syntax-lifetime: @blue;
|
||||
--color-syntax-macro: @blue;
|
||||
--color-syntax-number: @peach;
|
||||
--color-syntax-prelude-ty: @yellow;
|
||||
--color-syntax-prelude-val: @yellow;
|
||||
--color-syntax-question-mark: @teal;
|
||||
--color-syntax-self: @red;
|
||||
--color-syntax-string: @green;
|
||||
--src-line-numbers-span-color: @accent-color;
|
||||
--src-line-number-highlighted-background-color: fade(@accent-color, 30%);
|
||||
--test-arrow-color: #dedede;
|
||||
--test-arrow-background-color: red;
|
||||
--test-arrow-hover-color: #dedede;
|
||||
--test-arrow-hover-background-color: red;
|
||||
--target-background-color: fade(@accent-color, 10%);
|
||||
--target-border-color: @accent-color;
|
||||
--kbd-color: @text;
|
||||
--kbd-background: @mantle;
|
||||
--kbd-box-shadow-color: @surface1;
|
||||
--crate-search-hover-border: red;
|
||||
--src-sidebar-background-selected: @surface0;
|
||||
--src-sidebar-background-hover: @surface1;
|
||||
--table-alt-row-background-color: @mantle;
|
||||
--codeblock-link-background: fade(@surface0, 50%);
|
||||
--scrape-example-toggle-line-background: red;
|
||||
--scrape-example-toggle-line-hover-background: red;
|
||||
--scrape-example-code-line-highlight: fade(@accent-color, 40%);
|
||||
--scrape-example-code-line-highlight-focus: fade(@accent-color, 40%);
|
||||
--scrape-example-help-border-color: @subtext0;
|
||||
--scrape-example-help-color: @subtext1;
|
||||
--scrape-example-help-hover-border-color: @text;
|
||||
--scrape-example-help-hover-color: @text;
|
||||
--scrape-example-code-wrapper-background-start: @base;
|
||||
--scrape-example-code-wrapper-background-end: @base;
|
||||
--sidebar-resizer-hover: @sky;
|
||||
--sidebar-resizer-active: @sapphire;
|
||||
|
||||
select {
|
||||
background-color: @mantle;
|
||||
border-color: @surface0;
|
||||
}
|
||||
|
||||
hr {
|
||||
border-color: @overlay1;
|
||||
}
|
||||
|
||||
.rust-logo {
|
||||
@svg: escape(
|
||||
'<svg height="106" width="106" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g transform="translate(53 53)"><path stroke="@{text}" fill="@{crust}" stroke-linejoin="round" d="M-8.5-14.5h13c8 0 8 8 0 8h-13Zm-31 37h40v-11h-9v-8h10c11 0 5 19 14 19h25v-19h-6v2c0 8-9 7-10 2s-5-9-6-9c15-8 6-24-6-24h-47v11h10v26h-15Z"/><g mask="url(#a)"><circle r="43" fill="none" stroke="@{crust}" stroke-width="9"/><path id="b" stroke="@{crust}" stroke-width="3" stroke-linejoin="round" d="m46 3 5-3-5-3z"/><use xlink:href="#b" transform="rotate(11.25)"/><use xlink:href="#b" transform="rotate(22.5)"/><use xlink:href="#b" transform="rotate(33.75)"/><use xlink:href="#b" transform="rotate(45)"/><use xlink:href="#b" transform="rotate(56.25)"/><use xlink:href="#b" transform="rotate(67.5)"/><use xlink:href="#b" transform="rotate(78.75)"/><use xlink:href="#b" transform="rotate(90)"/><use xlink:href="#b" transform="rotate(101.25)"/><use xlink:href="#b" transform="rotate(112.5)"/><use xlink:href="#b" transform="rotate(123.75)"/><use xlink:href="#b" transform="rotate(135)"/><use xlink:href="#b" transform="rotate(146.25)"/><use xlink:href="#b" transform="rotate(157.5)"/><use xlink:href="#b" transform="rotate(168.75)"/><use xlink:href="#b" transform="rotate(180)"/><use xlink:href="#b" transform="rotate(191.25)"/><use xlink:href="#b" transform="rotate(202.5)"/><use xlink:href="#b" transform="rotate(213.75)"/><use xlink:href="#b" transform="rotate(225)"/><use xlink:href="#b" transform="rotate(236.25)"/><use xlink:href="#b" transform="rotate(247.5)"/><use xlink:href="#b" transform="rotate(258.75)"/><use xlink:href="#b" transform="rotate(270)"/><use xlink:href="#b" transform="rotate(281.25)"/><use xlink:href="#b" transform="rotate(292.5)"/><use xlink:href="#b" transform="rotate(303.75)"/><use xlink:href="#b" transform="rotate(315)"/><use xlink:href="#b" transform="rotate(326.25)"/><use xlink:href="#b" transform="rotate(337.5)"/><use xlink:href="#b" transform="rotate(348.75)"/><path id="c" stroke="@{crust}" stroke-width="6" stroke-linejoin="round" d="m-7-42 7 7 7-7z"/><use xlink:href="#c" transform="rotate(72)"/><use xlink:href="#c" transform="rotate(144)"/><use xlink:href="#c" transform="rotate(216)"/><use xlink:href="#c" transform="rotate(288)"/></g><mask id="a"><path fill="#fff" d="M-60-60H60V60H-60z"/><circle id="d" cy="-40" r="3"/><use xlink:href="#d" transform="rotate(72)"/><use xlink:href="#d" transform="rotate(144)"/><use xlink:href="#d" transform="rotate(216)"/><use xlink:href="#d" transform="rotate(288)"/></mask></g></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
|
||||
img[alt="Change settings"] {
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" width="27.434" height="29.5" viewBox="0 0 27.434 29.5" fill="@{text}"><path d="M27.316 18.39a2.7 2.7 0 0 0-.98-1.46 1.6 1.6 0 0 1-.016-.762l.035-.176v-1.191c0-1.246-.003-1.278-.046-1.473a1.7 1.7 0 0 1 .007-.805c.477-.343.829-.859.997-1.472.257-.957.074-2.094-.508-3.117l-.594-1.032c-.746-1.304-1.965-2.117-3.18-2.117-.379 0-.75.078-1.086.235a1.96 1.96 0 0 1-.855-.391l-.102-.082-.117-.063-1.855-1.07-.094-.055-.106-.043c-.378-.156-.66-.41-.77-.554C17.919 1.172 16.349 0 14.297 0h-1.155c-2.043 0-3.61 1.152-3.75 2.723-.114.14-.391.382-.758.527l-.102.04-.094.05-1.94 1.066-.134.074-.117.094a2 2 0 0 1-.832.403 2.5 2.5 0 0 0-1.008-.211c-1.199 0-2.414.82-3.168 2.14l-.59 1.032c-.41.718-.64 1.523-.64 2.257-.004.953.36 1.758 1.012 2.258a1.9 1.9 0 0 1-.016.785c-.04.168-.063.282-.063 1.563 0 1.148 0 1.148.016 1.261l.008.075.015.074c.075.344.047.64.012.8-.644.5-1.004 1.302-.992 2.259.008.726.238 1.52.648 2.242l.59 1.027c.758 1.332 1.965 2.16 3.149 2.16.324 0 .644-.062.937-.187.168.039.492.156.813.418l.11.086.124.07 2.047 1.156.102.059.105.043c.363.144.648.379.766.52.164 1.519 1.718 2.632 3.746 2.632h1.156c2.035 0 3.598-1.133 3.746-2.672.117-.144.402-.394.773-.55l.114-.047.101-.063 1.961-1.156.106-.063.097-.078c.309-.246.653-.37.832-.398.313.136.66.21 1.016.21 1.2 0 2.41-.82 3.164-2.14l.594-1.031c.59-1.028.777-2.164.52-3.117Zm-2.043 2.247-.59 1.031c-.437.766-1.105 1.25-1.636 1.25a.7.7 0 0 1-.371-.094 1.15 1.15 0 0 0-.567-.129c-.593 0-1.382.297-2.007.797l-1.961 1.156c-1.016.426-1.848 1.293-1.848 1.93 0 .64-.898 1.16-1.996 1.16H13.14c-1.102 0-2-.515-2-1.14 0-.63-.832-1.477-1.852-1.887l-2.047-1.16c-.637-.512-1.426-.813-2.008-.813-.199 0-.379.035-.515.114a.65.65 0 0 1-.332.085c-.52 0-1.18-.5-1.621-1.273l-.59-1.031c-.543-.953-.555-1.98-.024-2.285.532-.305.782-1.434.551-2.504V14.8c0-1.09.02-1.18.02-1.18.238-1.074-.008-2.203-.551-2.516-.54-.304-.54-1.34.008-2.293l.59-1.03c.437-.766 1.101-1.255 1.636-1.255a.73.73 0 0 1 .364.094c.152.086.343.125.566.125.594 0 1.379-.297 2.004-.793l1.945-1.066c1.02-.407 1.856-1.278 1.856-1.934s.898-1.191 2-1.191h1.156c1.098 0 1.996.543 1.996 1.21 0 .669.832 1.555 1.848 1.973L20 6.012c.617.492 1.402.777 2.012.777.242 0 .453-.047.62-.14a.8.8 0 0 1 .403-.102c.55 0 1.223.476 1.652 1.23l.59 1.032c.543.953.52 2.004-.062 2.336-.574.332-.86 1.48-.625 2.554 0 0 .008.04.008 1.102v1.011c-.215 1.051.07 2.176.636 2.5.567.325.586 1.368.04 2.325Zm0 0"/><path d="M13.61 7.61a7.084 7.084 0 0 0-7.083 7.085 7.085 7.085 0 1 0 14.168 0A7.09 7.09 0 0 0 13.61 7.61m0 12.41a5.33 5.33 0 0 1-5.325-5.325 5.33 5.33 0 0 1 5.324-5.32 5.327 5.327 0 0 1 5.325 5.32 5.33 5.33 0 0 1-5.325 5.325Zm0 0"/><path d="M13.684 9.906a4.72 4.72 0 0 0-4.72 4.719 4.72 4.72 0 0 0 4.72 4.719 4.724 4.724 0 0 0 4.714-4.719 4.724 4.724 0 0 0-4.714-4.719m0 7.676a2.954 2.954 0 1 1 0-5.91 2.953 2.953 0 0 1 2.953 2.953 2.957 2.957 0 0 1-2.953 2.957m0 0"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
#settings-menu {
|
||||
img[alt="Change settings"] {
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" width="27.434" height="29.5" viewBox="0 0 27.434 29.5" fill="@{text}"><path d="M27.316 18.39a2.7 2.7 0 0 0-.98-1.46 1.6 1.6 0 0 1-.016-.762l.035-.176v-1.191c0-1.246-.003-1.278-.046-1.473a1.7 1.7 0 0 1 .007-.805c.477-.343.829-.859.997-1.472.257-.957.074-2.094-.508-3.117l-.594-1.032c-.746-1.304-1.965-2.117-3.18-2.117-.379 0-.75.078-1.086.235a1.96 1.96 0 0 1-.855-.391l-.102-.082-.117-.063-1.855-1.07-.094-.055-.106-.043c-.378-.156-.66-.41-.77-.554C17.919 1.172 16.349 0 14.297 0h-1.155c-2.043 0-3.61 1.152-3.75 2.723-.114.14-.391.382-.758.527l-.102.04-.094.05-1.94 1.066-.134.074-.117.094a2 2 0 0 1-.832.403 2.5 2.5 0 0 0-1.008-.211c-1.199 0-2.414.82-3.168 2.14l-.59 1.032c-.41.718-.64 1.523-.64 2.257-.004.953.36 1.758 1.012 2.258a1.9 1.9 0 0 1-.016.785c-.04.168-.063.282-.063 1.563 0 1.148 0 1.148.016 1.261l.008.075.015.074c.075.344.047.64.012.8-.644.5-1.004 1.302-.992 2.259.008.726.238 1.52.648 2.242l.59 1.027c.758 1.332 1.965 2.16 3.149 2.16.324 0 .644-.062.937-.187.168.039.492.156.813.418l.11.086.124.07 2.047 1.156.102.059.105.043c.363.144.648.379.766.52.164 1.519 1.718 2.632 3.746 2.632h1.156c2.035 0 3.598-1.133 3.746-2.672.117-.144.402-.394.773-.55l.114-.047.101-.063 1.961-1.156.106-.063.097-.078c.309-.246.653-.37.832-.398.313.136.66.21 1.016.21 1.2 0 2.41-.82 3.164-2.14l.594-1.031c.59-1.028.777-2.164.52-3.117Zm-2.043 2.247-.59 1.031c-.437.766-1.105 1.25-1.636 1.25a.7.7 0 0 1-.371-.094 1.15 1.15 0 0 0-.567-.129c-.593 0-1.382.297-2.007.797l-1.961 1.156c-1.016.426-1.848 1.293-1.848 1.93 0 .64-.898 1.16-1.996 1.16H13.14c-1.102 0-2-.515-2-1.14 0-.63-.832-1.477-1.852-1.887l-2.047-1.16c-.637-.512-1.426-.813-2.008-.813-.199 0-.379.035-.515.114a.65.65 0 0 1-.332.085c-.52 0-1.18-.5-1.621-1.273l-.59-1.031c-.543-.953-.555-1.98-.024-2.285.532-.305.782-1.434.551-2.504V14.8c0-1.09.02-1.18.02-1.18.238-1.074-.008-2.203-.551-2.516-.54-.304-.54-1.34.008-2.293l.59-1.03c.437-.766 1.101-1.255 1.636-1.255a.73.73 0 0 1 .364.094c.152.086.343.125.566.125.594 0 1.379-.297 2.004-.793l1.945-1.066c1.02-.407 1.856-1.278 1.856-1.934s.898-1.191 2-1.191h1.156c1.098 0 1.996.543 1.996 1.21 0 .669.832 1.555 1.848 1.973L20 6.012c.617.492 1.402.777 2.012.777.242 0 .453-.047.62-.14a.8.8 0 0 1 .403-.102c.55 0 1.223.476 1.652 1.23l.59 1.032c.543.953.52 2.004-.062 2.336-.574.332-.86 1.48-.625 2.554 0 0 .008.04.008 1.102v1.011c-.215 1.051.07 2.176.636 2.5.567.325.586 1.368.04 2.325Zm0 0"/><path d="M13.61 7.61a7.084 7.084 0 0 0-7.083 7.085 7.085 7.085 0 1 0 14.168 0A7.09 7.09 0 0 0 13.61 7.61m0 12.41a5.33 5.33 0 0 1-5.325-5.325 5.33 5.33 0 0 1 5.324-5.32 5.327 5.327 0 0 1 5.325 5.32 5.33 5.33 0 0 1-5.325 5.325Zm0 0"/><path d="M13.684 9.906a4.72 4.72 0 0 0-4.72 4.719 4.72 4.72 0 0 0 4.72 4.719 4.724 4.724 0 0 0 4.714-4.719 4.724 4.724 0 0 0-4.714-4.719m0 7.676a2.954 2.954 0 1 1 0-5.91 2.953 2.953 0 0 1 2.953 2.953 2.957 2.957 0 0 1-2.953 2.957m0 0"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
|
||||
> a:not(:has(img))::before {
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="0 0 12 12" fill="@{text}"><path d="M10.25 6c0-.124-.026-.241-.037-.363l1.608-1.554-1.25-2.166-2.132.61a4 4 0 0 0-.65-.37L7.25 0h-2.5l-.54 2.157a4 4 0 0 0-.649.37l-2.132-.61-1.25 2.166 1.608 1.554c-.01.122-.037.239-.037.363s.026.241.037.363L.179 7.917l1.25 2.166 2.132-.61q.307.213.65.37L4.75 12h2.5l.54-2.157a4 4 0 0 0 .649-.37l2.132.61 1.25-2.166-1.608-1.554c.01-.122.037-.239.037-.363M6 7.5a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
}
|
||||
|
||||
.setting-check input:checked {
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 40"><path d="m7 23 10 7 16-20" fill="none" stroke="@{crust}" stroke-width="5"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
|
||||
#copy-path {
|
||||
@raw: '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="25" viewBox="0 0 24 25" fill="%COLOR%"><path d="M18 20h2v3c0 1-1 2-2 2H2c-.998 0-2-1-2-2V5c0-.911.755-1.667 1.667-1.667h5A3.323 3.323 0 0 1 10 0a3.323 3.323 0 0 1 3.333 3.333h5A1.68 1.68 0 0 1 20 5v8.333h-2V9H2v14h16zM3 7h14c0-.911-.793-1.667-1.75-1.667H13.5c-.957 0-1.75-.755-1.75-1.666C11.75 2.755 10.957 2 10 2s-1.75.755-1.75 1.667c0 .911-.793 1.666-1.75 1.666H4.75C3.793 5.333 3 6.09 3 7"/><path d="M4 19h6v2H4zm8-8H4v2h8zm-8 6h4v-2H4zm11-2v-3l-4.5 4.5L15 21v-3l8.027-.032L23 15z"/></svg>';
|
||||
@raw_before: '<svg xmlns="http://www.w3.org/2000/svg" width="19" height="18" viewBox="0 0 24 25" fill="%COLOR%"><path d="M18 20h2v3c0 1-1 2-2 2H2c-.998 0-2-1-2-2V5c0-.911.755-1.667 1.667-1.667h5A3.323 3.323 0 0 1 10 0a3.323 3.323 0 0 1 3.333 3.333h5A1.68 1.68 0 0 1 20 5v8.333h-2V9H2v14h16zM3 7h14c0-.911-.793-1.667-1.75-1.667H13.5c-.957 0-1.75-.755-1.75-1.666C11.75 2.755 10.957 2 10 2s-1.75.755-1.75 1.667c0 .911-.793 1.666-1.75 1.666H4.75C3.793 5.333 3 6.09 3 7"/><path d="M4 19h6v2H4zm8-8H4v2h8zm-8 6h4v-2H4zm11-2v-3l-4.5 4.5L15 21v-3l8.027-.032L23 15z"/></svg>';
|
||||
|
||||
> img {
|
||||
@svg: escape(replace(@raw, "%COLOR%", @subtext0));
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
filter: none;
|
||||
}
|
||||
&:hover > img {
|
||||
@svg: escape(replace(@raw, "%COLOR%", @text));
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
filter: none;
|
||||
}
|
||||
|
||||
&:not(:has(> img)) {
|
||||
&::before {
|
||||
@svg: escape(replace(@raw_before, "%COLOR%", @subtext0));
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
filter: none;
|
||||
}
|
||||
|
||||
&:hover::before {
|
||||
@svg: escape(replace(@raw_before, "%COLOR%", @text));
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
filter: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
details.toggle {
|
||||
@plus: escape(
|
||||
'<svg width="17" height="17" shape-rendering="crispEdges" stroke="@{text}" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M5 2.5H2.5v12H5m7-12h2.5v12H12m-7-6h7M8.5 12V5"/></svg>'
|
||||
);
|
||||
@minus: escape(
|
||||
'<svg width="17" height="17" shape-rendering="crispEdges" stroke="@{text}" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M5 2.5H2.5v12H5m7-12h2.5v12H12m-7-6h7"/></svg>'
|
||||
);
|
||||
|
||||
> summary::before {
|
||||
background: url("data:image/svg+xml,@{plus}") no-repeat top left;
|
||||
filter: none;
|
||||
}
|
||||
|
||||
&[open] > summary::before {
|
||||
background: url("data:image/svg+xml,@{minus}") no-repeat top left;
|
||||
}
|
||||
}
|
||||
|
||||
.src #sidebar-button > a::before {
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22 22" fill="none" stroke="@{text}"><path d="M16 9V5h-6V4L8 2H4L2 4v16h13l6-11H6L2 19" stroke-width="1.25"/><path d="M15 7H4v3" stroke-width=".75"/><path d="M3.75 10v1.25" stroke-width=".375"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
|
||||
.pure-menu-link {
|
||||
color: @subtext0;
|
||||
|
||||
&:hover {
|
||||
color: @text;
|
||||
}
|
||||
}
|
||||
.pure-table {
|
||||
&,
|
||||
td,
|
||||
th {
|
||||
border-color: @surface0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* 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; };
|
||||
};
|
||||
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
@@ -1,9 +1,9 @@
|
||||
/* ==UserStyle==
|
||||
@name Ecosia Catppuccin
|
||||
@name Ecosia Catppuccin [STUB | UPDATE REQUIRED]
|
||||
@namespace github.com/catppuccin/userstyles/styles/ecosia
|
||||
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/ecosia
|
||||
@version 2024.12.28
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/ecosia/catppuccin.user.css
|
||||
@version 2024.12.29
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/ecosia/catppuccin.user.less
|
||||
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Aecosia
|
||||
@description Soothing pastel theme for Ecosia
|
||||
@author Catppuccin
|
||||
@@ -13,138 +13,4 @@
|
||||
@var select lightFlavor "Light Flavor" ["latte:Latte*", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha"]
|
||||
@var select darkFlavor "Dark Flavor" ["latte:Latte", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha*"]
|
||||
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
|
||||
==/UserStyle== */
|
||||
|
||||
@-moz-document domain("ecosia.org") {
|
||||
:root.light {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
|
||||
:root.dark {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
}
|
||||
|
||||
#catppuccin(@lookup, @accent) {
|
||||
@rosewater: @catppuccin[@@lookup][@rosewater];
|
||||
@flamingo: @catppuccin[@@lookup][@flamingo];
|
||||
@pink: @catppuccin[@@lookup][@pink];
|
||||
@mauve: @catppuccin[@@lookup][@mauve];
|
||||
@red: @catppuccin[@@lookup][@red];
|
||||
@maroon: @catppuccin[@@lookup][@maroon];
|
||||
@peach: @catppuccin[@@lookup][@peach];
|
||||
@yellow: @catppuccin[@@lookup][@yellow];
|
||||
@green: @catppuccin[@@lookup][@green];
|
||||
@teal: @catppuccin[@@lookup][@teal];
|
||||
@sky: @catppuccin[@@lookup][@sky];
|
||||
@sapphire: @catppuccin[@@lookup][@sapphire];
|
||||
@blue: @catppuccin[@@lookup][@blue];
|
||||
@lavender: @catppuccin[@@lookup][@lavender];
|
||||
@text: @catppuccin[@@lookup][@text];
|
||||
@subtext1: @catppuccin[@@lookup][@subtext1];
|
||||
@subtext0: @catppuccin[@@lookup][@subtext0];
|
||||
@overlay2: @catppuccin[@@lookup][@overlay2];
|
||||
@overlay1: @catppuccin[@@lookup][@overlay1];
|
||||
@overlay0: @catppuccin[@@lookup][@overlay0];
|
||||
@surface2: @catppuccin[@@lookup][@surface2];
|
||||
@surface1: @catppuccin[@@lookup][@surface1];
|
||||
@surface0: @catppuccin[@@lookup][@surface0];
|
||||
@base: @catppuccin[@@lookup][@base];
|
||||
@mantle: @catppuccin[@@lookup][@mantle];
|
||||
@crust: @catppuccin[@@lookup][@crust];
|
||||
@accent-color: @catppuccin[@@lookup][@@accent];
|
||||
|
||||
color-scheme: if(@lookup = latte, light, dark);
|
||||
|
||||
::selection {
|
||||
background-color: fade(@accent-color, 30%);
|
||||
}
|
||||
|
||||
input,
|
||||
textarea {
|
||||
&::placeholder {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
--color-brand-primary: @accent-color !important;
|
||||
--color-brand-secondary: @crust !important;
|
||||
--color-error: @red !important;
|
||||
--color-success: @green !important;
|
||||
--color-disabled: @overlay1 !important;
|
||||
--color-button-background-primary: @accent-color !important;
|
||||
--color-button-background-primary-active: @accent-color !important;
|
||||
--color-button-background-primary-hover: @accent-color;
|
||||
--color-button-background-secondary: @surface0 !important;
|
||||
--color-button-background-secondary-active: @surface2 !important;
|
||||
--color-button-background-secondary-hover: @surface1 !important;
|
||||
--color-button-content-primary: @base !important;
|
||||
--color-button-content-secondary: @text !important;
|
||||
--color-button-content-tertiary: @accent-color !important;
|
||||
--color-button-border: @surface0 !important;
|
||||
--color-button-background-transparent-hover: @surface1;
|
||||
--color-button-background-transparent-active: @surface2;
|
||||
--color-background-primary: @base !important;
|
||||
--color-background-secondary: @crust !important;
|
||||
--color-background-tertiary: @mantle !important;
|
||||
--color-background-quaternary: @surface0;
|
||||
--color-background-elevation-1: @mantle !important;
|
||||
--color-highlighter: @surface0 !important;
|
||||
--color-highlight-primary: @surface0 !important;
|
||||
--color-overlay-primary: @overlay0 !important;
|
||||
--color-overlay-secondary: @overlay1 !important;
|
||||
--color-text-primary: @text !important;
|
||||
--color-text-secondary: @subtext0 !important;
|
||||
--color-text-tertiary: @text !important;
|
||||
--color-link-primary: @sapphire !important;
|
||||
--color-link-secondary: @sky !important;
|
||||
--color-url: @sapphire !important;
|
||||
--color-link-results-default: @sapphire !important;
|
||||
--color-link-results-visited: @teal !important;
|
||||
--color-decorative-icon: @accent-color !important;
|
||||
--color-elevation-layer-1: @surface1;
|
||||
--color-elevation-layer-2: @surface2;
|
||||
--color-decorative-border-1: @surface1 !important;
|
||||
--color-focused: @accent-color !important;
|
||||
--color-form-border-default: @surface0 !important;
|
||||
--color-form-border-hover: @surface1 !important;
|
||||
--color-form-border-primary-active: @accent-color !important;
|
||||
--color-tripadvisor-rating: @subtext0 !important;
|
||||
--color-tree-counter-tree-tall: @yellow !important;
|
||||
--color-green-leaf-icon-color-top: @green !important;
|
||||
--color-green-leaf-icon-color-bottom: @green !important;
|
||||
--color-fossil-fuel-icon-color-top: @flamingo !important;
|
||||
--color-fossil-fuel-icon-color-bottom: @maroon !important;
|
||||
|
||||
/* search page */
|
||||
--color-above-fold-background: @surface0 !important;
|
||||
--color-above-fold-background-addon: @overlay1 !important;
|
||||
--color-above-fold-text: @text !important;
|
||||
--color-section-wrapper-background-gray: @surface1 !important;
|
||||
--color-section-wrapper-background-dark-green: @surface0 !important;
|
||||
--color-section-wrapper-background-light-green: @surface0 !important;
|
||||
--color-section-header-title: @text !important;
|
||||
--color-projects-title: @text !important;
|
||||
--color-projects-description: @surface1;
|
||||
--color-financial-report-total-background: @surface0 !important;
|
||||
--color-financial-report-total-text: @text !important;
|
||||
--color-forest-background-addon: @surface1 !important;
|
||||
--color-forest-background-secondary: @surface0 !important;
|
||||
--color-before-after-text: @text !important;
|
||||
|
||||
/* override color digit on homepage */
|
||||
.count__digit,
|
||||
.counter__description {
|
||||
color: @text !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* prettier-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; };
|
||||
}
|
||||
|
||||
// vim:ft=less
|
||||
==/UserStyle== */
|
||||
@@ -0,0 +1,148 @@
|
||||
/* ==UserStyle==
|
||||
@name Ecosia Catppuccin
|
||||
@namespace github.com/catppuccin/userstyles/styles/ecosia
|
||||
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/ecosia
|
||||
@version 2024.12.29.1
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/ecosia/catppuccin.user.less
|
||||
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Aecosia
|
||||
@description Soothing pastel theme for Ecosia
|
||||
@author Catppuccin
|
||||
@license MIT
|
||||
|
||||
@preprocessor less
|
||||
@var select lightFlavor "Light Flavor" ["latte:Latte*", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha"]
|
||||
@var select darkFlavor "Dark Flavor" ["latte:Latte", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha*"]
|
||||
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
|
||||
==/UserStyle== */
|
||||
|
||||
@-moz-document domain("ecosia.org") {
|
||||
:root.light {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
|
||||
:root.dark {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
}
|
||||
|
||||
#catppuccin(@lookup, @accent) {
|
||||
@rosewater: @catppuccin[@@lookup][@rosewater];
|
||||
@flamingo: @catppuccin[@@lookup][@flamingo];
|
||||
@pink: @catppuccin[@@lookup][@pink];
|
||||
@mauve: @catppuccin[@@lookup][@mauve];
|
||||
@red: @catppuccin[@@lookup][@red];
|
||||
@maroon: @catppuccin[@@lookup][@maroon];
|
||||
@peach: @catppuccin[@@lookup][@peach];
|
||||
@yellow: @catppuccin[@@lookup][@yellow];
|
||||
@green: @catppuccin[@@lookup][@green];
|
||||
@teal: @catppuccin[@@lookup][@teal];
|
||||
@sky: @catppuccin[@@lookup][@sky];
|
||||
@sapphire: @catppuccin[@@lookup][@sapphire];
|
||||
@blue: @catppuccin[@@lookup][@blue];
|
||||
@lavender: @catppuccin[@@lookup][@lavender];
|
||||
@text: @catppuccin[@@lookup][@text];
|
||||
@subtext1: @catppuccin[@@lookup][@subtext1];
|
||||
@subtext0: @catppuccin[@@lookup][@subtext0];
|
||||
@overlay2: @catppuccin[@@lookup][@overlay2];
|
||||
@overlay1: @catppuccin[@@lookup][@overlay1];
|
||||
@overlay0: @catppuccin[@@lookup][@overlay0];
|
||||
@surface2: @catppuccin[@@lookup][@surface2];
|
||||
@surface1: @catppuccin[@@lookup][@surface1];
|
||||
@surface0: @catppuccin[@@lookup][@surface0];
|
||||
@base: @catppuccin[@@lookup][@base];
|
||||
@mantle: @catppuccin[@@lookup][@mantle];
|
||||
@crust: @catppuccin[@@lookup][@crust];
|
||||
@accent-color: @catppuccin[@@lookup][@@accent];
|
||||
|
||||
color-scheme: if(@lookup = latte, light, dark);
|
||||
|
||||
::selection {
|
||||
background-color: fade(@accent-color, 30%);
|
||||
}
|
||||
|
||||
input,
|
||||
textarea {
|
||||
&::placeholder {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
--color-brand-primary: @accent-color !important;
|
||||
--color-brand-secondary: @crust !important;
|
||||
--color-error: @red !important;
|
||||
--color-success: @green !important;
|
||||
--color-disabled: @overlay1 !important;
|
||||
--color-button-background-primary: @accent-color !important;
|
||||
--color-button-background-primary-active: @accent-color !important;
|
||||
--color-button-background-primary-hover: @accent-color;
|
||||
--color-button-background-secondary: @surface0 !important;
|
||||
--color-button-background-secondary-active: @surface2 !important;
|
||||
--color-button-background-secondary-hover: @surface1 !important;
|
||||
--color-button-content-primary: @base !important;
|
||||
--color-button-content-secondary: @text !important;
|
||||
--color-button-content-tertiary: @accent-color !important;
|
||||
--color-button-border: @surface0 !important;
|
||||
--color-button-background-transparent-hover: @surface1;
|
||||
--color-button-background-transparent-active: @surface2;
|
||||
--color-background-primary: @base !important;
|
||||
--color-background-secondary: @crust !important;
|
||||
--color-background-tertiary: @mantle !important;
|
||||
--color-background-quaternary: @surface0;
|
||||
--color-background-elevation-1: @mantle !important;
|
||||
--color-highlighter: @surface0 !important;
|
||||
--color-highlight-primary: @surface0 !important;
|
||||
--color-overlay-primary: @overlay0 !important;
|
||||
--color-overlay-secondary: @overlay1 !important;
|
||||
--color-text-primary: @text !important;
|
||||
--color-text-secondary: @subtext0 !important;
|
||||
--color-text-tertiary: @text !important;
|
||||
--color-link-primary: @sapphire !important;
|
||||
--color-link-secondary: @sky !important;
|
||||
--color-url: @sapphire !important;
|
||||
--color-link-results-default: @sapphire !important;
|
||||
--color-link-results-visited: @teal !important;
|
||||
--color-decorative-icon: @accent-color !important;
|
||||
--color-elevation-layer-1: @surface1;
|
||||
--color-elevation-layer-2: @surface2;
|
||||
--color-decorative-border-1: @surface1 !important;
|
||||
--color-focused: @accent-color !important;
|
||||
--color-form-border-default: @surface0 !important;
|
||||
--color-form-border-hover: @surface1 !important;
|
||||
--color-form-border-primary-active: @accent-color !important;
|
||||
--color-tripadvisor-rating: @subtext0 !important;
|
||||
--color-tree-counter-tree-tall: @yellow !important;
|
||||
--color-green-leaf-icon-color-top: @green !important;
|
||||
--color-green-leaf-icon-color-bottom: @green !important;
|
||||
--color-fossil-fuel-icon-color-top: @flamingo !important;
|
||||
--color-fossil-fuel-icon-color-bottom: @maroon !important;
|
||||
|
||||
/* search page */
|
||||
--color-above-fold-background: @surface0 !important;
|
||||
--color-above-fold-background-addon: @overlay1 !important;
|
||||
--color-above-fold-text: @text !important;
|
||||
--color-section-wrapper-background-gray: @surface1 !important;
|
||||
--color-section-wrapper-background-dark-green: @surface0 !important;
|
||||
--color-section-wrapper-background-light-green: @surface0 !important;
|
||||
--color-section-header-title: @text !important;
|
||||
--color-projects-title: @text !important;
|
||||
--color-projects-description: @surface1;
|
||||
--color-financial-report-total-background: @surface0 !important;
|
||||
--color-financial-report-total-text: @text !important;
|
||||
--color-forest-background-addon: @surface1 !important;
|
||||
--color-forest-background-secondary: @surface0 !important;
|
||||
--color-before-after-text: @text !important;
|
||||
|
||||
/* override color digit on homepage */
|
||||
.count__digit,
|
||||
.counter__description {
|
||||
color: @text !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* deno-fmt-ignore */
|
||||
@catppuccin: {
|
||||
@latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
|
||||
@frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
|
||||
@macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
|
||||
@mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
|
||||
};
|
||||
@@ -1,9 +1,9 @@
|
||||
/* ==UserStyle==
|
||||
@name Elk Catppuccin
|
||||
@name Elk Catppuccin [STUB | UPDATE REQUIRED]
|
||||
@namespace github.com/catppuccin/userstyles/styles/elk
|
||||
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/elk
|
||||
@version 2024.12.28
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/elk/catppuccin.user.css
|
||||
@version 2024.12.29
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/elk/catppuccin.user.less
|
||||
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Aelk
|
||||
@description Soothing pastel theme for Elk
|
||||
@author Catppuccin
|
||||
@@ -13,143 +13,4 @@
|
||||
@var select lightFlavor "Light Flavor" ["latte:Latte*", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha"]
|
||||
@var select darkFlavor "Dark Flavor" ["latte:Latte", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha*"]
|
||||
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
|
||||
==/UserStyle== */
|
||||
|
||||
@-moz-document domain("elk.zone") {
|
||||
:root.dark {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
}
|
||||
:root.light {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
|
||||
#catppuccin(@lookup, @accent) {
|
||||
@rosewater: @catppuccin[@@lookup][@rosewater];
|
||||
@flamingo: @catppuccin[@@lookup][@flamingo];
|
||||
@pink: @catppuccin[@@lookup][@pink];
|
||||
@mauve: @catppuccin[@@lookup][@mauve];
|
||||
@red: @catppuccin[@@lookup][@red];
|
||||
@maroon: @catppuccin[@@lookup][@maroon];
|
||||
@peach: @catppuccin[@@lookup][@peach];
|
||||
@yellow: @catppuccin[@@lookup][@yellow];
|
||||
@green: @catppuccin[@@lookup][@green];
|
||||
@teal: @catppuccin[@@lookup][@teal];
|
||||
@sky: @catppuccin[@@lookup][@sky];
|
||||
@sapphire: @catppuccin[@@lookup][@sapphire];
|
||||
@blue: @catppuccin[@@lookup][@blue];
|
||||
@lavender: @catppuccin[@@lookup][@lavender];
|
||||
@text: @catppuccin[@@lookup][@text];
|
||||
@subtext1: @catppuccin[@@lookup][@subtext1];
|
||||
@subtext0: @catppuccin[@@lookup][@subtext0];
|
||||
@overlay2: @catppuccin[@@lookup][@overlay2];
|
||||
@overlay1: @catppuccin[@@lookup][@overlay1];
|
||||
@overlay0: @catppuccin[@@lookup][@overlay0];
|
||||
@surface2: @catppuccin[@@lookup][@surface2];
|
||||
@surface1: @catppuccin[@@lookup][@surface1];
|
||||
@surface0: @catppuccin[@@lookup][@surface0];
|
||||
@base: @catppuccin[@@lookup][@base];
|
||||
@mantle: @catppuccin[@@lookup][@mantle];
|
||||
@crust: @catppuccin[@@lookup][@crust];
|
||||
@accent-color: @catppuccin[@@lookup][@@accent];
|
||||
|
||||
color-scheme: if(@lookup = latte, light, dark);
|
||||
|
||||
::selection {
|
||||
background-color: fade(@accent-color, 30%);
|
||||
}
|
||||
|
||||
input,
|
||||
textarea {
|
||||
&::placeholder {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
--c-primary: @accent-color !important;
|
||||
--c-primary-active: lighten(@accent-color, 10%) !important;
|
||||
--c-primary-light: @surface0 !important;
|
||||
--c-border: @surface0 !important;
|
||||
--c-border-dark: @surface1 !important;
|
||||
--c-bg-base: @base !important;
|
||||
--rgb-bg-base: #rgbify(@mantle) [] !important;
|
||||
--c-bg-active: @surface0 !important;
|
||||
--c-bg-code: @surface0 !important;
|
||||
--c-bg-selection: @accent-color !important;
|
||||
--c-bg-fade: @surface0 !important;
|
||||
--c-text-base: @text !important;
|
||||
--c-text-code: @rosewater !important;
|
||||
--c-text-secondary: @subtext0 !important;
|
||||
--c-text-secondary-light: @subtext1 !important;
|
||||
--c-bg-btn-disabled: @surface1 !important;
|
||||
--c-text-btn-disabled: @text !important;
|
||||
--c-text-btn: @text !important;
|
||||
--c-success: @green !important;
|
||||
--c-warning: @yellow !important;
|
||||
--c-error: @red !important;
|
||||
--c-danger: @red !important;
|
||||
--c-danger-active: lighten(@red, 10%) !important;
|
||||
--c-bg-dm: @surface0 !important;
|
||||
|
||||
.btn-solid,
|
||||
[btn-solid=""] {
|
||||
color: var(--c-bg-base);
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-thumb {
|
||||
background: fade(@surface1, 70%);
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-thumb:hover {
|
||||
background: fade(@surface1, 80%);
|
||||
}
|
||||
|
||||
[text-red],
|
||||
[text-red-600],
|
||||
[hover^="text-red"]:hover {
|
||||
color: rgba(#rgbify(@red) [], var(--un-text-opacity));
|
||||
}
|
||||
|
||||
[text-blue],
|
||||
[hover^="text-blue"]:hover {
|
||||
color: rgba(#rgbify(@blue) [], var(--un-text-opacity));
|
||||
}
|
||||
|
||||
[text-green],
|
||||
[hover^="text-green"]:hover {
|
||||
color: rgba(#rgbify(@green) [], var(--un-text-opacity));
|
||||
}
|
||||
|
||||
[text-yellow],
|
||||
[hover^="text-yellow"]:hover {
|
||||
color: rgba(#rgbify(@yellow) [], var(--un-text-opacity));
|
||||
}
|
||||
|
||||
[text-purple],
|
||||
[hover^="text-purple"]:hover {
|
||||
color: rgba(#rgbify(@lavender) [], var(--un-text-opacity));
|
||||
}
|
||||
|
||||
[group-hover^="bg-purple/10"]:hover {
|
||||
background-color: fade(@lavender, 10%);
|
||||
}
|
||||
|
||||
.filter-saturate-0,
|
||||
[filter-saturate-0=""] {
|
||||
filter: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#rgbify(@color) {
|
||||
@rgb: red(@color), green(@color), blue(@color);
|
||||
}
|
||||
|
||||
/* prettier-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; };
|
||||
}
|
||||
|
||||
// vim:ft=less
|
||||
==/UserStyle== */
|
||||
@@ -0,0 +1,153 @@
|
||||
/* ==UserStyle==
|
||||
@name Elk Catppuccin
|
||||
@namespace github.com/catppuccin/userstyles/styles/elk
|
||||
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/elk
|
||||
@version 2024.12.29.1
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/elk/catppuccin.user.less
|
||||
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Aelk
|
||||
@description Soothing pastel theme for Elk
|
||||
@author Catppuccin
|
||||
@license MIT
|
||||
|
||||
@preprocessor less
|
||||
@var select lightFlavor "Light Flavor" ["latte:Latte*", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha"]
|
||||
@var select darkFlavor "Dark Flavor" ["latte:Latte", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha*"]
|
||||
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
|
||||
==/UserStyle== */
|
||||
|
||||
@-moz-document domain("elk.zone") {
|
||||
:root.dark {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
}
|
||||
:root.light {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
|
||||
#catppuccin(@lookup, @accent) {
|
||||
@rosewater: @catppuccin[@@lookup][@rosewater];
|
||||
@flamingo: @catppuccin[@@lookup][@flamingo];
|
||||
@pink: @catppuccin[@@lookup][@pink];
|
||||
@mauve: @catppuccin[@@lookup][@mauve];
|
||||
@red: @catppuccin[@@lookup][@red];
|
||||
@maroon: @catppuccin[@@lookup][@maroon];
|
||||
@peach: @catppuccin[@@lookup][@peach];
|
||||
@yellow: @catppuccin[@@lookup][@yellow];
|
||||
@green: @catppuccin[@@lookup][@green];
|
||||
@teal: @catppuccin[@@lookup][@teal];
|
||||
@sky: @catppuccin[@@lookup][@sky];
|
||||
@sapphire: @catppuccin[@@lookup][@sapphire];
|
||||
@blue: @catppuccin[@@lookup][@blue];
|
||||
@lavender: @catppuccin[@@lookup][@lavender];
|
||||
@text: @catppuccin[@@lookup][@text];
|
||||
@subtext1: @catppuccin[@@lookup][@subtext1];
|
||||
@subtext0: @catppuccin[@@lookup][@subtext0];
|
||||
@overlay2: @catppuccin[@@lookup][@overlay2];
|
||||
@overlay1: @catppuccin[@@lookup][@overlay1];
|
||||
@overlay0: @catppuccin[@@lookup][@overlay0];
|
||||
@surface2: @catppuccin[@@lookup][@surface2];
|
||||
@surface1: @catppuccin[@@lookup][@surface1];
|
||||
@surface0: @catppuccin[@@lookup][@surface0];
|
||||
@base: @catppuccin[@@lookup][@base];
|
||||
@mantle: @catppuccin[@@lookup][@mantle];
|
||||
@crust: @catppuccin[@@lookup][@crust];
|
||||
@accent-color: @catppuccin[@@lookup][@@accent];
|
||||
|
||||
color-scheme: if(@lookup = latte, light, dark);
|
||||
|
||||
::selection {
|
||||
background-color: fade(@accent-color, 30%);
|
||||
}
|
||||
|
||||
input,
|
||||
textarea {
|
||||
&::placeholder {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
--c-primary: @accent-color !important;
|
||||
--c-primary-active: lighten(@accent-color, 10%) !important;
|
||||
--c-primary-light: @surface0 !important;
|
||||
--c-border: @surface0 !important;
|
||||
--c-border-dark: @surface1 !important;
|
||||
--c-bg-base: @base !important;
|
||||
--rgb-bg-base: #rgbify(@mantle)[] !important;
|
||||
--c-bg-active: @surface0 !important;
|
||||
--c-bg-code: @surface0 !important;
|
||||
--c-bg-selection: @accent-color !important;
|
||||
--c-bg-fade: @surface0 !important;
|
||||
--c-text-base: @text !important;
|
||||
--c-text-code: @rosewater !important;
|
||||
--c-text-secondary: @subtext0 !important;
|
||||
--c-text-secondary-light: @subtext1 !important;
|
||||
--c-bg-btn-disabled: @surface1 !important;
|
||||
--c-text-btn-disabled: @text !important;
|
||||
--c-text-btn: @text !important;
|
||||
--c-success: @green !important;
|
||||
--c-warning: @yellow !important;
|
||||
--c-error: @red !important;
|
||||
--c-danger: @red !important;
|
||||
--c-danger-active: lighten(@red, 10%) !important;
|
||||
--c-bg-dm: @surface0 !important;
|
||||
|
||||
.btn-solid,
|
||||
[btn-solid=""] {
|
||||
color: var(--c-bg-base);
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-thumb {
|
||||
background: fade(@surface1, 70%);
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-thumb:hover {
|
||||
background: fade(@surface1, 80%);
|
||||
}
|
||||
|
||||
[text-red],
|
||||
[text-red-600],
|
||||
[hover^="text-red"]:hover {
|
||||
color: rgba(#rgbify(@red)[], var(--un-text-opacity));
|
||||
}
|
||||
|
||||
[text-blue],
|
||||
[hover^="text-blue"]:hover {
|
||||
color: rgba(#rgbify(@blue)[], var(--un-text-opacity));
|
||||
}
|
||||
|
||||
[text-green],
|
||||
[hover^="text-green"]:hover {
|
||||
color: rgba(#rgbify(@green)[], var(--un-text-opacity));
|
||||
}
|
||||
|
||||
[text-yellow],
|
||||
[hover^="text-yellow"]:hover {
|
||||
color: rgba(#rgbify(@yellow)[], var(--un-text-opacity));
|
||||
}
|
||||
|
||||
[text-purple],
|
||||
[hover^="text-purple"]:hover {
|
||||
color: rgba(#rgbify(@lavender)[], var(--un-text-opacity));
|
||||
}
|
||||
|
||||
[group-hover^="bg-purple/10"]:hover {
|
||||
background-color: fade(@lavender, 10%);
|
||||
}
|
||||
|
||||
.filter-saturate-0,
|
||||
[filter-saturate-0=""] {
|
||||
filter: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#rgbify(@color) {
|
||||
@rgb: red(@color), green(@color), blue(@color);
|
||||
}
|
||||
|
||||
/* deno-fmt-ignore */
|
||||
@catppuccin: {
|
||||
@latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
|
||||
@frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
|
||||
@macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
|
||||
@mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
|
||||
};
|
||||
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
@@ -1,9 +1,9 @@
|
||||
/* ==UserStyle==
|
||||
@name freedesktop.org Catppuccin
|
||||
@name freedesktop.org Catppuccin [STUB | UPDATE REQUIRED]
|
||||
@namespace github.com/catppuccin/userstyles/styles/freedesktop
|
||||
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/freedesktop
|
||||
@version 2024.12.28
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/freedesktop/catppuccin.user.css
|
||||
@version 2024.12.29
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/freedesktop/catppuccin.user.less
|
||||
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Afreedesktop
|
||||
@description Soothing pastel theme for freedesktop.org
|
||||
@author Catppuccin
|
||||
@@ -13,137 +13,4 @@
|
||||
@var select lightFlavor "Light Flavor" ["latte:Latte*", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha"]
|
||||
@var select darkFlavor "Dark Flavor" ["latte:Latte", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha*"]
|
||||
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
|
||||
==/UserStyle== */
|
||||
|
||||
@-moz-document domain('www.freedesktop.org'), domain('specifications.freedesktop.org') {
|
||||
@media (prefers-color-scheme: light) {
|
||||
:root {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
|
||||
#catppuccin(@lookup, @accent) {
|
||||
@rosewater: @catppuccin[@@lookup][@rosewater];
|
||||
@flamingo: @catppuccin[@@lookup][@flamingo];
|
||||
@pink: @catppuccin[@@lookup][@pink];
|
||||
@mauve: @catppuccin[@@lookup][@mauve];
|
||||
@red: @catppuccin[@@lookup][@red];
|
||||
@maroon: @catppuccin[@@lookup][@maroon];
|
||||
@peach: @catppuccin[@@lookup][@peach];
|
||||
@yellow: @catppuccin[@@lookup][@yellow];
|
||||
@green: @catppuccin[@@lookup][@green];
|
||||
@teal: @catppuccin[@@lookup][@teal];
|
||||
@sky: @catppuccin[@@lookup][@sky];
|
||||
@sapphire: @catppuccin[@@lookup][@sapphire];
|
||||
@blue: @catppuccin[@@lookup][@blue];
|
||||
@lavender: @catppuccin[@@lookup][@lavender];
|
||||
@text: @catppuccin[@@lookup][@text];
|
||||
@subtext1: @catppuccin[@@lookup][@subtext1];
|
||||
@subtext0: @catppuccin[@@lookup][@subtext0];
|
||||
@overlay2: @catppuccin[@@lookup][@overlay2];
|
||||
@overlay1: @catppuccin[@@lookup][@overlay1];
|
||||
@overlay0: @catppuccin[@@lookup][@overlay0];
|
||||
@surface2: @catppuccin[@@lookup][@surface2];
|
||||
@surface1: @catppuccin[@@lookup][@surface1];
|
||||
@surface0: @catppuccin[@@lookup][@surface0];
|
||||
@base: @catppuccin[@@lookup][@base];
|
||||
@mantle: @catppuccin[@@lookup][@mantle];
|
||||
@crust: @catppuccin[@@lookup][@crust];
|
||||
@accent-color: @catppuccin[@@lookup][@@accent];
|
||||
|
||||
color-scheme: if(@lookup = latte, light, dark);
|
||||
|
||||
::selection {
|
||||
background-color: fade(@accent-color, 30%);
|
||||
}
|
||||
|
||||
input,
|
||||
textarea {
|
||||
&::placeholder {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: @base;
|
||||
color: @text;
|
||||
}
|
||||
|
||||
#content h1,
|
||||
#content h2,
|
||||
#content h3 {
|
||||
color: @accent-color;
|
||||
}
|
||||
|
||||
.pageheader {
|
||||
background-color: @mantle;
|
||||
border-color: @crust;
|
||||
color: @subtext1;
|
||||
}
|
||||
|
||||
.pageheader .actions ul li a,
|
||||
input[type="submit"] {
|
||||
background-color: transparent;
|
||||
color: @accent-color;
|
||||
border-color: @accent-color;
|
||||
}
|
||||
|
||||
input#searchbox {
|
||||
color: @subtext1;
|
||||
background-color: @overlay0;
|
||||
border-color: @overlay1;
|
||||
box-shadow: none;
|
||||
&:focus {
|
||||
border-color: @accent-color;
|
||||
outline-color: none;
|
||||
outline-style: none;
|
||||
}
|
||||
}
|
||||
|
||||
.headerpath .title {
|
||||
color: @subtext1;
|
||||
}
|
||||
|
||||
a:link {
|
||||
color: @blue;
|
||||
}
|
||||
|
||||
a:visited {
|
||||
color: @lavender;
|
||||
}
|
||||
code {
|
||||
background-color: @crust;
|
||||
color: @text;
|
||||
}
|
||||
|
||||
pre {
|
||||
background-color: @mantle;
|
||||
border-color: @surface0;
|
||||
|
||||
code {
|
||||
background-color: @mantle;
|
||||
color: @text;
|
||||
}
|
||||
}
|
||||
|
||||
hr {
|
||||
border-style: solid;
|
||||
border-color: @surface1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* prettier-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; };
|
||||
}
|
||||
|
||||
// vim:ft=less
|
||||
==/UserStyle== */
|
||||
@@ -0,0 +1,148 @@
|
||||
/* ==UserStyle==
|
||||
@name freedesktop.org Catppuccin
|
||||
@namespace github.com/catppuccin/userstyles/styles/freedesktop
|
||||
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/freedesktop
|
||||
@version 2024.12.29.1
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/freedesktop/catppuccin.user.less
|
||||
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Afreedesktop
|
||||
@description Soothing pastel theme for freedesktop.org
|
||||
@author Catppuccin
|
||||
@license MIT
|
||||
|
||||
@preprocessor less
|
||||
@var select lightFlavor "Light Flavor" ["latte:Latte*", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha"]
|
||||
@var select darkFlavor "Dark Flavor" ["latte:Latte", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha*"]
|
||||
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
|
||||
==/UserStyle== */
|
||||
|
||||
@-moz-document domain("www.freedesktop.org"),
|
||||
domain("specifications.freedesktop.org") {
|
||||
@media (prefers-color-scheme: light) {
|
||||
:root {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
|
||||
#catppuccin(@lookup, @accent) {
|
||||
@rosewater: @catppuccin[@@lookup][@rosewater];
|
||||
@flamingo: @catppuccin[@@lookup][@flamingo];
|
||||
@pink: @catppuccin[@@lookup][@pink];
|
||||
@mauve: @catppuccin[@@lookup][@mauve];
|
||||
@red: @catppuccin[@@lookup][@red];
|
||||
@maroon: @catppuccin[@@lookup][@maroon];
|
||||
@peach: @catppuccin[@@lookup][@peach];
|
||||
@yellow: @catppuccin[@@lookup][@yellow];
|
||||
@green: @catppuccin[@@lookup][@green];
|
||||
@teal: @catppuccin[@@lookup][@teal];
|
||||
@sky: @catppuccin[@@lookup][@sky];
|
||||
@sapphire: @catppuccin[@@lookup][@sapphire];
|
||||
@blue: @catppuccin[@@lookup][@blue];
|
||||
@lavender: @catppuccin[@@lookup][@lavender];
|
||||
@text: @catppuccin[@@lookup][@text];
|
||||
@subtext1: @catppuccin[@@lookup][@subtext1];
|
||||
@subtext0: @catppuccin[@@lookup][@subtext0];
|
||||
@overlay2: @catppuccin[@@lookup][@overlay2];
|
||||
@overlay1: @catppuccin[@@lookup][@overlay1];
|
||||
@overlay0: @catppuccin[@@lookup][@overlay0];
|
||||
@surface2: @catppuccin[@@lookup][@surface2];
|
||||
@surface1: @catppuccin[@@lookup][@surface1];
|
||||
@surface0: @catppuccin[@@lookup][@surface0];
|
||||
@base: @catppuccin[@@lookup][@base];
|
||||
@mantle: @catppuccin[@@lookup][@mantle];
|
||||
@crust: @catppuccin[@@lookup][@crust];
|
||||
@accent-color: @catppuccin[@@lookup][@@accent];
|
||||
|
||||
color-scheme: if(@lookup = latte, light, dark);
|
||||
|
||||
::selection {
|
||||
background-color: fade(@accent-color, 30%);
|
||||
}
|
||||
|
||||
input,
|
||||
textarea {
|
||||
&::placeholder {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: @base;
|
||||
color: @text;
|
||||
}
|
||||
|
||||
#content h1,
|
||||
#content h2,
|
||||
#content h3 {
|
||||
color: @accent-color;
|
||||
}
|
||||
|
||||
.pageheader {
|
||||
background-color: @mantle;
|
||||
border-color: @crust;
|
||||
color: @subtext1;
|
||||
}
|
||||
|
||||
.pageheader .actions ul li a,
|
||||
input[type="submit"] {
|
||||
background-color: transparent;
|
||||
color: @accent-color;
|
||||
border-color: @accent-color;
|
||||
}
|
||||
|
||||
input#searchbox {
|
||||
color: @subtext1;
|
||||
background-color: @overlay0;
|
||||
border-color: @overlay1;
|
||||
box-shadow: none;
|
||||
&:focus {
|
||||
border-color: @accent-color;
|
||||
outline-color: none;
|
||||
outline-style: none;
|
||||
}
|
||||
}
|
||||
|
||||
.headerpath .title {
|
||||
color: @subtext1;
|
||||
}
|
||||
|
||||
a:link {
|
||||
color: @blue;
|
||||
}
|
||||
|
||||
a:visited {
|
||||
color: @lavender;
|
||||
}
|
||||
code {
|
||||
background-color: @crust;
|
||||
color: @text;
|
||||
}
|
||||
|
||||
pre {
|
||||
background-color: @mantle;
|
||||
border-color: @surface0;
|
||||
|
||||
code {
|
||||
background-color: @mantle;
|
||||
color: @text;
|
||||
}
|
||||
}
|
||||
|
||||
hr {
|
||||
border-style: solid;
|
||||
border-color: @surface1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* 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; };
|
||||
};
|
||||
@@ -1,9 +1,9 @@
|
||||
/* ==UserStyle==
|
||||
@name Ghostty.org Catppuccin
|
||||
@name Ghostty.org Catppuccin [STUB | UPDATE REQUIRED]
|
||||
@namespace github.com/catppuccin/userstyles/styles/ghostty.org
|
||||
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/ghostty.org
|
||||
@version 0.0.1
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/ghostty.org/catppuccin.user.css
|
||||
@version 2024.12.29
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/ghostty.org/catppuccin.user.less
|
||||
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Aghostty.org
|
||||
@description Soothing pastel theme for Ghostty.org
|
||||
@author Catppuccin
|
||||
@@ -13,140 +13,4 @@
|
||||
@var select lightFlavor "Light Flavor" ["latte:Latte*", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha"]
|
||||
@var select darkFlavor "Dark Flavor" ["latte:Latte", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha*"]
|
||||
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
|
||||
==/UserStyle== */
|
||||
|
||||
@-moz-document domain('ghostty.org') {
|
||||
@import url("https://unpkg.com/@catppuccin/[email protected]/css/catppuccin-variables.important.css");
|
||||
|
||||
@media (prefers-color-scheme: light) {
|
||||
:root,
|
||||
body {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root,
|
||||
body {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
|
||||
#catppuccin(@lookup, @accent) {
|
||||
@rosewater: @catppuccin[@@lookup][@rosewater];
|
||||
@flamingo: @catppuccin[@@lookup][@flamingo];
|
||||
@pink: @catppuccin[@@lookup][@pink];
|
||||
@mauve: @catppuccin[@@lookup][@mauve];
|
||||
@red: @catppuccin[@@lookup][@red];
|
||||
@maroon: @catppuccin[@@lookup][@maroon];
|
||||
@peach: @catppuccin[@@lookup][@peach];
|
||||
@yellow: @catppuccin[@@lookup][@yellow];
|
||||
@green: @catppuccin[@@lookup][@green];
|
||||
@teal: @catppuccin[@@lookup][@teal];
|
||||
@sky: @catppuccin[@@lookup][@sky];
|
||||
@sapphire: @catppuccin[@@lookup][@sapphire];
|
||||
@blue: @catppuccin[@@lookup][@blue];
|
||||
@lavender: @catppuccin[@@lookup][@lavender];
|
||||
@text: @catppuccin[@@lookup][@text];
|
||||
@subtext1: @catppuccin[@@lookup][@subtext1];
|
||||
@subtext0: @catppuccin[@@lookup][@subtext0];
|
||||
@overlay2: @catppuccin[@@lookup][@overlay2];
|
||||
@overlay1: @catppuccin[@@lookup][@overlay1];
|
||||
@overlay0: @catppuccin[@@lookup][@overlay0];
|
||||
@surface2: @catppuccin[@@lookup][@surface2];
|
||||
@surface1: @catppuccin[@@lookup][@surface1];
|
||||
@surface0: @catppuccin[@@lookup][@surface0];
|
||||
@base: @catppuccin[@@lookup][@base];
|
||||
@mantle: @catppuccin[@@lookup][@mantle];
|
||||
@crust: @catppuccin[@@lookup][@crust];
|
||||
@accent-color: @catppuccin[@@lookup][@@accent];
|
||||
|
||||
--ctp-rosewater: @rosewater;
|
||||
--ctp-flamingo: @flamingo;
|
||||
--ctp-pink: @pink;
|
||||
--ctp-mauve: @mauve;
|
||||
--ctp-red: @red;
|
||||
--ctp-maroon: @maroon;
|
||||
--ctp-peach: @peach;
|
||||
--ctp-yellow: @yellow;
|
||||
--ctp-green: @green;
|
||||
--ctp-teal: @teal;
|
||||
--ctp-sky: @sky;
|
||||
--ctp-sapphire: @sapphire;
|
||||
--ctp-blue: @blue;
|
||||
--ctp-lavender: @lavender;
|
||||
--ctp-text: @text;
|
||||
--ctp-subtext1: @subtext1;
|
||||
--ctp-subtext0: @subtext0;
|
||||
--ctp-overlay2: @overlay2;
|
||||
--ctp-overlay1: @overlay1;
|
||||
--ctp-overlay0: @overlay0;
|
||||
--ctp-surface2: @surface2;
|
||||
--ctp-surface1: @surface1;
|
||||
--ctp-surface0: @surface0;
|
||||
--ctp-base: @base;
|
||||
--ctp-mantle: @mantle;
|
||||
--ctp-crust: @crust;
|
||||
|
||||
color-scheme: if(@lookup = latte, light, dark);
|
||||
|
||||
::selection {
|
||||
background-color: fade(@accent-color, 30%);
|
||||
}
|
||||
|
||||
input,
|
||||
textarea {
|
||||
&::placeholder {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
--brand-color: @accent-color;
|
||||
--brand-color-hsl: #hslify(@accent-color) [];
|
||||
--gray-0: @base;
|
||||
--gray-1: @surface0;
|
||||
--gray-2: @surface1;
|
||||
--gray-3: @overlay1;
|
||||
--gray-4: @subtext0;
|
||||
--gray-5: @subtext1;
|
||||
--gray-6: @subtext1;
|
||||
--gray-7: @subtext1;
|
||||
--gray-8: @text;
|
||||
--gray-9: @text;
|
||||
--black: @crust;
|
||||
--white: @text;
|
||||
|
||||
--callout-note: @blue;
|
||||
--callout-tip: @green;
|
||||
--callout-important: @mauve;
|
||||
--callout-warning: @yellow;
|
||||
--callout-caution: @red;
|
||||
|
||||
[class*="Link_buttonLink"]:hover,
|
||||
ul [class*="NavTree_active"] {
|
||||
color: @crust !important;
|
||||
}
|
||||
|
||||
img[alt="Ghostty"] {
|
||||
@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>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#hslify(@color) {
|
||||
@raw: e(
|
||||
%("%s, %s%, %s%", hue(@color), saturation(@color), lightness(@color))
|
||||
);
|
||||
}
|
||||
|
||||
/* prettier-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; };
|
||||
}
|
||||
|
||||
// vim:ft=less
|
||||
==/UserStyle== */
|
||||
@@ -0,0 +1,150 @@
|
||||
/* ==UserStyle==
|
||||
@name Ghostty.org Catppuccin
|
||||
@namespace github.com/catppuccin/userstyles/styles/ghostty.org
|
||||
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/ghostty.org
|
||||
@version 2024.12.29.1
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/ghostty.org/catppuccin.user.less
|
||||
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Aghostty.org
|
||||
@description Soothing pastel theme for Ghostty.org
|
||||
@author Catppuccin
|
||||
@license MIT
|
||||
|
||||
@preprocessor less
|
||||
@var select lightFlavor "Light Flavor" ["latte:Latte*", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha"]
|
||||
@var select darkFlavor "Dark Flavor" ["latte:Latte", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha*"]
|
||||
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
|
||||
==/UserStyle== */
|
||||
|
||||
@-moz-document domain("ghostty.org") {
|
||||
@import url("https://unpkg.com/@catppuccin/[email protected]/css/catppuccin-variables.important.css");
|
||||
|
||||
@media (prefers-color-scheme: light) {
|
||||
:root,
|
||||
body {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root,
|
||||
body {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
|
||||
#catppuccin(@lookup, @accent) {
|
||||
@rosewater: @catppuccin[@@lookup][@rosewater];
|
||||
@flamingo: @catppuccin[@@lookup][@flamingo];
|
||||
@pink: @catppuccin[@@lookup][@pink];
|
||||
@mauve: @catppuccin[@@lookup][@mauve];
|
||||
@red: @catppuccin[@@lookup][@red];
|
||||
@maroon: @catppuccin[@@lookup][@maroon];
|
||||
@peach: @catppuccin[@@lookup][@peach];
|
||||
@yellow: @catppuccin[@@lookup][@yellow];
|
||||
@green: @catppuccin[@@lookup][@green];
|
||||
@teal: @catppuccin[@@lookup][@teal];
|
||||
@sky: @catppuccin[@@lookup][@sky];
|
||||
@sapphire: @catppuccin[@@lookup][@sapphire];
|
||||
@blue: @catppuccin[@@lookup][@blue];
|
||||
@lavender: @catppuccin[@@lookup][@lavender];
|
||||
@text: @catppuccin[@@lookup][@text];
|
||||
@subtext1: @catppuccin[@@lookup][@subtext1];
|
||||
@subtext0: @catppuccin[@@lookup][@subtext0];
|
||||
@overlay2: @catppuccin[@@lookup][@overlay2];
|
||||
@overlay1: @catppuccin[@@lookup][@overlay1];
|
||||
@overlay0: @catppuccin[@@lookup][@overlay0];
|
||||
@surface2: @catppuccin[@@lookup][@surface2];
|
||||
@surface1: @catppuccin[@@lookup][@surface1];
|
||||
@surface0: @catppuccin[@@lookup][@surface0];
|
||||
@base: @catppuccin[@@lookup][@base];
|
||||
@mantle: @catppuccin[@@lookup][@mantle];
|
||||
@crust: @catppuccin[@@lookup][@crust];
|
||||
@accent-color: @catppuccin[@@lookup][@@accent];
|
||||
|
||||
--ctp-rosewater: @rosewater;
|
||||
--ctp-flamingo: @flamingo;
|
||||
--ctp-pink: @pink;
|
||||
--ctp-mauve: @mauve;
|
||||
--ctp-red: @red;
|
||||
--ctp-maroon: @maroon;
|
||||
--ctp-peach: @peach;
|
||||
--ctp-yellow: @yellow;
|
||||
--ctp-green: @green;
|
||||
--ctp-teal: @teal;
|
||||
--ctp-sky: @sky;
|
||||
--ctp-sapphire: @sapphire;
|
||||
--ctp-blue: @blue;
|
||||
--ctp-lavender: @lavender;
|
||||
--ctp-text: @text;
|
||||
--ctp-subtext1: @subtext1;
|
||||
--ctp-subtext0: @subtext0;
|
||||
--ctp-overlay2: @overlay2;
|
||||
--ctp-overlay1: @overlay1;
|
||||
--ctp-overlay0: @overlay0;
|
||||
--ctp-surface2: @surface2;
|
||||
--ctp-surface1: @surface1;
|
||||
--ctp-surface0: @surface0;
|
||||
--ctp-base: @base;
|
||||
--ctp-mantle: @mantle;
|
||||
--ctp-crust: @crust;
|
||||
|
||||
color-scheme: if(@lookup = latte, light, dark);
|
||||
|
||||
::selection {
|
||||
background-color: fade(@accent-color, 30%);
|
||||
}
|
||||
|
||||
input,
|
||||
textarea {
|
||||
&::placeholder {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
--brand-color: @accent-color;
|
||||
--brand-color-hsl: #hslify(@accent-color)[];
|
||||
--gray-0: @base;
|
||||
--gray-1: @surface0;
|
||||
--gray-2: @surface1;
|
||||
--gray-3: @overlay1;
|
||||
--gray-4: @subtext0;
|
||||
--gray-5: @subtext1;
|
||||
--gray-6: @subtext1;
|
||||
--gray-7: @subtext1;
|
||||
--gray-8: @text;
|
||||
--gray-9: @text;
|
||||
--black: @crust;
|
||||
--white: @text;
|
||||
|
||||
--callout-note: @blue;
|
||||
--callout-tip: @green;
|
||||
--callout-important: @mauve;
|
||||
--callout-warning: @yellow;
|
||||
--callout-caution: @red;
|
||||
|
||||
[class*="Link_buttonLink"]:hover,
|
||||
ul [class*="NavTree_active"] {
|
||||
color: @crust !important;
|
||||
}
|
||||
|
||||
img[alt="Ghostty"] {
|
||||
@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>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#hslify(@color) {
|
||||
@raw: e(
|
||||
%("%s, %s%, %s%", hue(@color), saturation(@color), lightness(@color))
|
||||
);
|
||||
}
|
||||
|
||||
/* deno-fmt-ignore */
|
||||
@catppuccin: {
|
||||
@latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
|
||||
@frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
|
||||
@macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
|
||||
@mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
|
||||
};
|
||||
@@ -1,9 +1,9 @@
|
||||
/* ==UserStyle==
|
||||
@name GitHub Catppuccin
|
||||
@name GitHub Catppuccin [STUB | UPDATE REQUIRED]
|
||||
@namespace github.com/catppuccin/userstyles/styles/github
|
||||
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/github
|
||||
@version 2024.12.28.2
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/github/catppuccin.user.css
|
||||
@version 2024.12.29
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/github/catppuccin.user.less
|
||||
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Agithub
|
||||
@description Soothing pastel theme for GitHub
|
||||
@author Catppuccin
|
||||
@@ -13,903 +13,4 @@
|
||||
@var select lightFlavor "Light Flavor" ["latte:Latte*", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha"]
|
||||
@var select darkFlavor "Dark Flavor" ["latte:Latte", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha*"]
|
||||
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
|
||||
==/UserStyle== */
|
||||
|
||||
@-moz-document regexp("https:\/\/(gist\.)*github\.com(?!((\/.+?\/.+?\/commit\/[A-Fa-f0-9]+\.(patch|diff)$)|\/home$|\/features($|\/.*)|\/marketplace($|\?.*|\/.*)|\/organizations\/plan)).*$"), url-prefix("https://viewscreen.githubusercontent.com/diff/img")
|
||||
{
|
||||
[data-color-mode="auto"] {
|
||||
@media (prefers-color-scheme: light) {
|
||||
&[data-light-theme="light"] {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
&[data-light-theme="dark"] {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
&[data-dark-theme="light"] {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
&[data-dark-theme="dark"] {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
}
|
||||
[data-color-mode="light"][data-light-theme="dark"],
|
||||
[data-color-mode="dark"][data-dark-theme="dark"] {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
}
|
||||
[data-color-mode="light"][data-light-theme="light"],
|
||||
[data-color-mode="dark"][data-dark-theme="light"] {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
|
||||
html:not([data-light-theme="light"], [data-light-theme="dark"])
|
||||
body:not(.logged-out)::after,
|
||||
html:not([data-dark-theme="dark"], [data-dark-theme="light"])
|
||||
body:not(.logged-out)::after {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
padding: 1rem;
|
||||
margin: 1rem;
|
||||
border-radius: 0.5rem;
|
||||
max-width: 40ch;
|
||||
background-color: var(--color-danger-fg);
|
||||
color: var(--color-header-bg);
|
||||
content: "Unsupported GitHub theme detected! Please switch to the default light/dark theme via the GitHub Appearance settings to get the best experience for the Catppuccin GitHub userstyle.";
|
||||
z-index: 9999;
|
||||
}
|
||||
|
||||
#catppuccin(@lookup, @accent) {
|
||||
@rosewater: @catppuccin[@@lookup][@rosewater];
|
||||
@flamingo: @catppuccin[@@lookup][@flamingo];
|
||||
@pink: @catppuccin[@@lookup][@pink];
|
||||
@mauve: @catppuccin[@@lookup][@mauve];
|
||||
@red: @catppuccin[@@lookup][@red];
|
||||
@maroon: @catppuccin[@@lookup][@maroon];
|
||||
@peach: @catppuccin[@@lookup][@peach];
|
||||
@yellow: @catppuccin[@@lookup][@yellow];
|
||||
@green: @catppuccin[@@lookup][@green];
|
||||
@teal: @catppuccin[@@lookup][@teal];
|
||||
@sky: @catppuccin[@@lookup][@sky];
|
||||
@sapphire: @catppuccin[@@lookup][@sapphire];
|
||||
@blue: @catppuccin[@@lookup][@blue];
|
||||
@lavender: @catppuccin[@@lookup][@lavender];
|
||||
@text: @catppuccin[@@lookup][@text];
|
||||
@subtext1: @catppuccin[@@lookup][@subtext1];
|
||||
@subtext0: @catppuccin[@@lookup][@subtext0];
|
||||
@overlay2: @catppuccin[@@lookup][@overlay2];
|
||||
@overlay1: @catppuccin[@@lookup][@overlay1];
|
||||
@overlay0: @catppuccin[@@lookup][@overlay0];
|
||||
@surface2: @catppuccin[@@lookup][@surface2];
|
||||
@surface1: @catppuccin[@@lookup][@surface1];
|
||||
@surface0: @catppuccin[@@lookup][@surface0];
|
||||
@base: @catppuccin[@@lookup][@base];
|
||||
@mantle: @catppuccin[@@lookup][@mantle];
|
||||
@crust: @catppuccin[@@lookup][@crust];
|
||||
@accent-color: @catppuccin[@@lookup][@@accent];
|
||||
|
||||
color-scheme: if(@lookup = latte, light, dark);
|
||||
|
||||
::selection {
|
||||
background-color: fade(@accent-color, 30%);
|
||||
}
|
||||
|
||||
input,
|
||||
textarea {
|
||||
&::placeholder {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
}
|
||||
.cm-placeholder {
|
||||
color: @subtext0;
|
||||
}
|
||||
|
||||
accent-color: @accent-color;
|
||||
color: @text;
|
||||
|
||||
--color-social-reaction-bg-reacted-hover: fade(@accent-color, 30%);
|
||||
--color-notifications-button-hover-bg: fade(@accent-color, 60%);
|
||||
--color-workflow-card-header-shadow: rgba(27, 31, 35, 0.04);
|
||||
--color-icon-directory: var(--fgColor-muted, var(--color-fg-muted));
|
||||
--color-calendar-halloween-graph-day-L1-bg: fadeout(
|
||||
@accent-color,
|
||||
60%
|
||||
) !important;
|
||||
--color-calendar-halloween-graph-day-L2-bg: fadeout(
|
||||
@accent-color,
|
||||
40%
|
||||
) !important;
|
||||
--color-calendar-halloween-graph-day-L3-bg: fadeout(
|
||||
@accent-color,
|
||||
20%
|
||||
) !important;
|
||||
--color-calendar-halloween-graph-day-L4-bg: @accent-color !important;
|
||||
--color-calendar-winter-graph-day-L1-bg: fadeout(
|
||||
@accent-color,
|
||||
60%
|
||||
) !important;
|
||||
--color-calendar-winter-graph-day-L2-bg: fadeout(
|
||||
@accent-color,
|
||||
40%
|
||||
) !important;
|
||||
--color-calendar-winter-graph-day-L3-bg: fadeout(
|
||||
@accent-color,
|
||||
20%
|
||||
) !important;
|
||||
--color-calendar-winter-graph-day-L4-bg: @accent-color !important;
|
||||
--color-calendar-graph-day-bg: @surface0 !important;
|
||||
--color-calendar-graph-day-border: transparent !important;
|
||||
--color-calendar-graph-day-L1-bg: fadeout(@accent-color, 60%) !important;
|
||||
--color-calendar-graph-day-L2-bg: fadeout(@accent-color, 40%) !important;
|
||||
--color-calendar-graph-day-L3-bg: fadeout(@accent-color, 20%) !important;
|
||||
--color-calendar-graph-day-L4-bg: @accent-color !important;
|
||||
--color-calendar-graph-day-L2-border: transparent !important;
|
||||
--color-calendar-graph-day-L3-border: transparent !important;
|
||||
--color-calendar-graph-day-L4-border: transparent !important;
|
||||
--color-user-mention-fg: @accent-color;
|
||||
--color-user-mention-bg: fade(@accent-color, 30%);
|
||||
--color-dashboard-feed-bg: var(--color-scale-gray-9);
|
||||
--color-mktg-btn-shadow-outline: rgba(255, 255, 255, 0.25) 0 0 0 1px inset;
|
||||
--color-marketing-icon-secondary: var(--color-scale-blue-5);
|
||||
--color-project-header-bg: var(--color-scale-gray-9);
|
||||
--color-project-sidebar-bg: var(--color-scale-gray-8);
|
||||
--color-project-gradient-in: var(--color-scale-gray-8);
|
||||
--color-project-gradient-out: rgba(22, 27, 34, 0);
|
||||
--color-diff-blob-selected-line-highlight-mix-blend-mode: screen;
|
||||
--topicTag-borderColor: #0000;
|
||||
--highlight-neutral-bgColor: fade(@yellow, 30%);
|
||||
--page-header-bgColor: @crust;
|
||||
--diffBlob-additionNum-bgColor: fadeout(@green, 70%);
|
||||
--diffBlob-additionNum-fgColor: @text;
|
||||
--diffBlob-additionLine-bgColor: fadeout(@green, 85%);
|
||||
--diffBlob-additionWord-bgColor: fadeout(@green, 70%);
|
||||
--diffBlob-additionWord-fgColor: @text;
|
||||
--diffBlob-deletionNum-bgColor: fadeout(@red, 70%);
|
||||
--diffBlob-deletionNum-fgColor: @text;
|
||||
--diffBlob-deletionLine-bgColor: fadeout(@red, 85%);
|
||||
--diffBlob-deletionWord-bgColor: fadeout(@red, 70%);
|
||||
--diffBlob-deletionWord-fgColor: @text;
|
||||
--diffBlob-hunkNum-bgColor-rest: fadeout(@accent-color, 60%);
|
||||
--diffBlob-hunkNum-bgColor-hover: fade(@accent-color, 75%);
|
||||
--diffBlob-hunkLine-bgColor: fadeout(@accent-color, 75%);
|
||||
--diffBlob-expander-iconColor: @subtext0;
|
||||
--diffBlob-emptyNum-bgColor: @mantle;
|
||||
--diffBlob-emptyLine-bgColor: @mantle;
|
||||
--codeMirror-fgColor: @text;
|
||||
--codeMirror-bgColor: @base;
|
||||
--codeMirror-gutters-bgColor: @base;
|
||||
--codeMirror-gutterMarker-fgColor-default: @base;
|
||||
--codeMirror-gutterMarker-fgColor-muted: @overlay0;
|
||||
--codeMirror-lineNumber-fgColor: @overlay1;
|
||||
--codeMirror-cursor-fgColor: @text;
|
||||
--codeMirror-selection-bgColor: #388bfd66;
|
||||
--codeMirror-activeline-bgColor: #6e768166;
|
||||
--codeMirror-matchingBracket-fgColor: @text;
|
||||
--codeMirror-lines-bgColor: @base;
|
||||
--codeMirror-syntax-fgColor-comment: @overlay2;
|
||||
--codeMirror-syntax-fgColor-constant: @blue;
|
||||
--codeMirror-syntax-fgColor-entity: @blue;
|
||||
--codeMirror-syntax-fgColor-keyword: @mauve;
|
||||
--codeMirror-syntax-fgColor-storage: @peach;
|
||||
--codeMirror-syntax-fgColor-string: @green;
|
||||
--codeMirror-syntax-fgColor-support: #79c0ff;
|
||||
--codeMirror-syntax-fgColor-variable: @peach;
|
||||
--header-fgColor-default: @text;
|
||||
--header-fgColor-logo: @text;
|
||||
--header-bgColor: @crust;
|
||||
--header-borderColor-divider: #8b949e;
|
||||
--headerSearch-bgColor: @mantle;
|
||||
--headerSearch-borderColor: @surface0;
|
||||
--avatar-bgColor: fade(@text, 26%);
|
||||
--avatar-borderColor: @surface0;
|
||||
--avatar-shadow: 0px 0px 0px 2px #0d1117;
|
||||
--avatarStack-fade-bgColor-default: @surface1;
|
||||
--avatarStack-fade-bgColor-muted: #21262d;
|
||||
--control-bgColor-rest: @red;
|
||||
--control-bgColor-hover: #292e36;
|
||||
--control-bgColor-active: @surface1;
|
||||
--control-bgColor-disabled: fade(@mantle, 60%);
|
||||
--control-bgColor-selected: #161b22;
|
||||
--control-fgColor-rest: @text;
|
||||
--control-fgColor-placeholder: #484f58;
|
||||
--control-fgColor-disabled: fade(@subtext0, 70%);
|
||||
--control-borderColor-rest: @surface1;
|
||||
--control-borderColor-emphasis: #666e79;
|
||||
--control-borderColor-disabled: fade(@surface1, 75%);
|
||||
--control-borderColor-selected: #f0f6fc;
|
||||
--control-borderColor-success: @green;
|
||||
--control-borderColor-danger: @red;
|
||||
--control-borderColor-warning: @yellow;
|
||||
--control-iconColor-rest: #848d97;
|
||||
--control-transparent-bgColor-rest: #0000;
|
||||
--control-transparent-bgColor-hover: fade(@surface2, 20%);
|
||||
--control-transparent-bgColor-active: fade(@overlay0, 50%);
|
||||
--control-transparent-bgColor-disabled: #21262db3;
|
||||
--control-transparent-bgColor-selected: #b1bac414;
|
||||
--control-transparent-borderColor-rest: #0000;
|
||||
--control-transparent-borderColor-hover: #0000;
|
||||
--control-transparent-borderColor-active: #0000;
|
||||
--control-danger-fgColor-rest: @red;
|
||||
--control-danger-fgColor-hover: @crust;
|
||||
--control-danger-bgColor-hover: fade(@red, 80%);
|
||||
--control-danger-bgColor-active: @red;
|
||||
--control-checked-bgColor-rest: @accent-color;
|
||||
--control-checked-bgColor-hover: lighten(@accent-color, 5%);
|
||||
--control-checked-bgColor-active: lighten(@accent-color, 5%);
|
||||
--control-checked-bgColor-disabled: #6e7681;
|
||||
--control-checked-fgColor-rest: @crust;
|
||||
--control-checked-fgColor-disabled: #010409;
|
||||
--control-checked-borderColor-rest: @accent-color;
|
||||
--control-checked-borderColor-hover: @accent-color;
|
||||
--control-checked-borderColor-active: @accent-color;
|
||||
--control-checked-borderColor-disabled: @surface0;
|
||||
--controlTrack-bgColor-rest: @surface0;
|
||||
--controlTrack-bgColor-hover: @surface1;
|
||||
--controlTrack-bgColor-active: @surface2;
|
||||
--controlTrack-bgColor-disabled: #6e7681;
|
||||
--controlTrack-fgColor-rest: #848d97;
|
||||
--controlTrack-fgColor-disabled: @text;
|
||||
--controlTrack-borderColor-rest: #0000;
|
||||
--controlTrack-borderColor-disabled: #6e7681;
|
||||
--controlKnob-bgColor-rest: @base;
|
||||
--controlKnob-bgColor-disabled: #21262db3;
|
||||
--controlKnob-bgColor-checked: @text;
|
||||
--controlKnob-borderColor-rest: @surface2;
|
||||
--controlKnob-borderColor-disabled: #21262db3;
|
||||
--controlKnob-borderColor-checked: @blue;
|
||||
--button-default-fgColor-rest: @text;
|
||||
--button-default-bgColor-rest: @surface0;
|
||||
--button-default-bgColor-hover: @surface1;
|
||||
--button-default-bgColor-active: @surface2;
|
||||
--button-default-bgColor-selected: @surface2;
|
||||
--button-default-bgColor-disabled: fade(@surface0, 70%);
|
||||
--button-default-borderColor-rest: @surface1;
|
||||
--button-default-borderColor-hover: @surface1;
|
||||
--button-default-borderColor-active: @surface1;
|
||||
--button-default-borderColor-disabled: fade(@surface0, 70%);
|
||||
--button-default-shadow-resting: 0px 0px 0px 0px #000;
|
||||
--button-primary-fgColor-rest: @base;
|
||||
--button-primary-fgColor-disabled: fade(@base, 60%);
|
||||
--button-primary-iconColor-rest: @base;
|
||||
--button-primary-bgColor-rest: @green;
|
||||
--button-primary-bgColor-hover: lighten(@green, 5%);
|
||||
--button-primary-bgColor-active: saturate(@green, 5%);
|
||||
--button-primary-bgColor-disabled: fade(@green, 70%);
|
||||
--button-primary-borderColor-rest: @green;
|
||||
--button-primary-borderColor-hover: @green;
|
||||
--button-primary-borderColor-active: @green;
|
||||
--button-primary-borderColor-disabled: fade(@green, 70%);
|
||||
--button-primary-shadow-selected: 0px 0px 0px 0px #000;
|
||||
--button-invisible-fgColor-rest: @text;
|
||||
--button-invisible-fgColor-hover: lighten(@accent-color, 10%);
|
||||
--button-invisible-fgColor-disabled: #6e7681;
|
||||
--button-invisible-iconColor-rest: @overlay2;
|
||||
--button-invisible-iconColor-hover: #e6edf3;
|
||||
--button-invisible-iconColor-disabled: #6e7681;
|
||||
--button-invisible-bgColor-rest: #0000;
|
||||
--button-invisible-bgColor-hover: #b1bac41f;
|
||||
--button-invisible-bgColor-active: #b1bac433;
|
||||
--button-invisible-bgColor-disabled: fade(@surface1, 70%);
|
||||
--button-invisible-borderColor-rest: #0000;
|
||||
--button-invisible-borderColor-hover: #0000;
|
||||
--button-invisible-borderColor-disabled: fade(@surface1, 70%);
|
||||
--button-outline-fgColor-rest: #388bfd;
|
||||
--button-outline-fgColor-hover: #58a6ff;
|
||||
--button-outline-fgColor-active: @text;
|
||||
--button-outline-fgColor-disabled: #4493f880;
|
||||
--button-outline-bgColor-rest: #f0f6fc;
|
||||
--button-outline-bgColor-hover: @surface1;
|
||||
--button-outline-bgColor-active: #0d419d;
|
||||
--button-outline-bgColor-disabled: #0d1117;
|
||||
--button-outline-borderColor-hover: #f0f6fc1a;
|
||||
--button-outline-borderColor-selected: #f0f6fc1a;
|
||||
--button-outline-shadow-selected: 0px 0px 0px 0px #000;
|
||||
--button-danger-fgColor-rest: @red;
|
||||
--button-danger-fgColor-hover: @base;
|
||||
--button-danger-fgColor-active: @base;
|
||||
--button-danger-fgColor-disabled: fade(@red, 50%);
|
||||
--button-danger-iconColor-rest: @red;
|
||||
--button-danger-iconColor-hover: @crust;
|
||||
--button-danger-bgColor-rest: @surface0;
|
||||
--button-danger-bgColor-hover: @red;
|
||||
--button-danger-bgColor-active: darken(@red, 5%);
|
||||
--button-danger-bgColor-disabled: @base;
|
||||
--button-danger-borderColor-rest: @surface1;
|
||||
--button-danger-borderColor-hover: @red;
|
||||
--button-danger-borderColor-active: darken(@red, 5%);
|
||||
--button-danger-shadow-selected: 0px 0px 0px 0px #000;
|
||||
--button-inactive-fgColor: #8b949e;
|
||||
--button-inactive-bgColor: #21262d;
|
||||
--button-star-iconColor: @yellow;
|
||||
--buttonCounter-default-bgColor-rest: @surface1;
|
||||
--buttonCounter-invisible-bgColor-rest: @surface1;
|
||||
--buttonCounter-primary-bgColor-rest: #04260f33;
|
||||
--buttonCounter-outline-bgColor-rest: #051d4d33;
|
||||
--buttonCounter-outline-bgColor-hover: #051d4d33;
|
||||
--buttonCounter-outline-bgColor-disabled: #1f6feb0d;
|
||||
--buttonCounter-outline-fgColor-rest: #388bfd;
|
||||
--buttonCounter-outline-fgColor-hover: #58a6ff;
|
||||
--buttonCounter-outline-fgColor-disabled: #4493f880;
|
||||
--buttonCounter-danger-bgColor-hover: fade(@text, 20%);
|
||||
--buttonCounter-danger-bgColor-disabled: #da36330d;
|
||||
--buttonCounter-danger-bgColor-rest: #49020233;
|
||||
--buttonCounter-danger-fgColor-rest: @red;
|
||||
--buttonCounter-danger-fgColor-hover: @text;
|
||||
--buttonCounter-danger-fgColor-disabled: fade(@red, 50%);
|
||||
--focus-outlineColor: @accent-color;
|
||||
--menu-bgColor-active: @mantle;
|
||||
--overlay-bgColor: @base;
|
||||
--overlay-borderColor: @surface0;
|
||||
--overlay-backdrop-bgColor: #161b2266;
|
||||
--selectMenu-borderColor: #484f58;
|
||||
--selectMenu-bgColor-active: #0c2d6b;
|
||||
--sideNav-bgColor-selected: #21262d;
|
||||
--skeletonLoader-bgColor: #161b22;
|
||||
--timelineBadge-bgColor: @mantle;
|
||||
--treeViewItem-leadingVisual-iconColor-rest: @subtext0;
|
||||
--underlineNav-borderColor-active: @accent-color;
|
||||
--underlineNav-borderColor-hover: #6e768166;
|
||||
--underlineNav-iconColor-rest: #848d97;
|
||||
--selection-bgColor: fade(@accent-color, 30%);
|
||||
--reactionButton-selected-bgColor-rest: fade(@accent-color, 20%);
|
||||
--reactionButton-selected-bgColor-hover: fade(@accent-color, 35%);
|
||||
--reactionButton-selected-fgColor-rest: @accent-color;
|
||||
--reactionButton-selected-fgColor-hover: @accent-color;
|
||||
--fgColor-default: @text;
|
||||
--fgColor-muted: @subtext1;
|
||||
--fgColor-onEmphasis: @base;
|
||||
--fgColor-white: if(@lookup = latte, @crust, @text);
|
||||
--fgColor-disabled: @surface2;
|
||||
--fgColor-link: @accent-color;
|
||||
--fgColor-neutral: @subtext1;
|
||||
--fgColor-accent: @accent-color;
|
||||
--fgColor-success: @green;
|
||||
--fgColor-attention: @yellow;
|
||||
--fgColor-severe: @peach;
|
||||
--fgColor-danger: @red;
|
||||
--fgColor-open: @green;
|
||||
--fgColor-closed: @red;
|
||||
--fgColor-done: @mauve;
|
||||
--fgColor-sponsors: @pink;
|
||||
--bgColor-default: @base;
|
||||
--bgColor-muted: @mantle;
|
||||
--bgColor-inset: @crust;
|
||||
--bgColor-emphasis: @overlay2;
|
||||
--bgColor-inverse: @text;
|
||||
--bgColor-disabled: #21262db3;
|
||||
--bgColor-transparent: #0000;
|
||||
--bgColor-neutral-muted: fade(@surface0, 40%);
|
||||
--bgColor-neutral-emphasis: @subtext0;
|
||||
--bgColor-accent-muted: fade(@accent-color, 20%);
|
||||
--bgColor-accent-emphasis: @accent-color;
|
||||
--bgColor-success-muted: #2ea04326;
|
||||
--bgColor-success-emphasis: @green;
|
||||
--bgColor-attention-muted: fade(@yellow, 15%);
|
||||
--bgColor-attention-emphasis: @yellow;
|
||||
--bgColor-severe-muted: fade(@peach, 26%);
|
||||
--bgColor-severe-emphasis: @peach;
|
||||
--bgColor-danger-muted: fade(@red, 26%);
|
||||
--bgColor-danger-emphasis: @red;
|
||||
--bgColor-open-muted: #2ea0431a;
|
||||
--bgColor-open-emphasis: @green;
|
||||
--bgColor-closed-muted: fade(@red, 15%);
|
||||
--bgColor-closed-emphasis: @red;
|
||||
--bgColor-done-muted: #a371f726;
|
||||
--bgColor-done-emphasis: @mauve;
|
||||
--bgColor-sponsors-muted: #db61a21a;
|
||||
--bgColor-sponsors-emphasis: @pink;
|
||||
--borderColor-default: @surface1;
|
||||
--borderColor-muted: @surface0;
|
||||
--borderColor-emphasis: #484f58;
|
||||
--borderColor-disabled: #21262db3;
|
||||
--borderColor-transparent: #0000;
|
||||
--borderColor-neutral-muted: #6e768166;
|
||||
--borderColor-neutral-emphasis: #6e7681;
|
||||
--borderColor-accent-muted: fade(@accent-color, 50%);
|
||||
--borderColor-accent-emphasis: @accent-color;
|
||||
--borderColor-success-muted: darken(@green, 5%);
|
||||
--borderColor-success-emphasis: @green;
|
||||
--borderColor-attention-muted: fade(@flamingo, 30%);
|
||||
--borderColor-attention-emphasis: @flamingo;
|
||||
--borderColor-severe-muted: @peach;
|
||||
--borderColor-severe-emphasis: #bd561d;
|
||||
--borderColor-danger-muted: @red;
|
||||
--borderColor-danger-emphasis: @red;
|
||||
--borderColor-open-muted: darken(@green, 5%);
|
||||
--borderColor-open-emphasis: @green;
|
||||
--borderColor-closed-muted: @red;
|
||||
--borderColor-closed-emphasis: @red;
|
||||
--borderColor-done-muted: @lavender;
|
||||
--borderColor-done-emphasis: @mauve;
|
||||
--borderColor-sponsors-muted: #db61a266;
|
||||
--borderColor-sponsors-emphasis: @pink;
|
||||
& when (@lookup =latte) {
|
||||
--color-ansi-black: @subtext1;
|
||||
--color-ansi-black-bright: @subtext0;
|
||||
--color-ansi-gray: @subtext0;
|
||||
--color-ansi-white: @surface2;
|
||||
--color-ansi-white-bright: @surface1;
|
||||
}
|
||||
& when not (@lookup =latte) {
|
||||
--color-ansi-black: @surface1;
|
||||
--color-ansi-black-bright: @surface2;
|
||||
--color-ansi-gray: @surface2;
|
||||
--color-ansi-white: @subtext1;
|
||||
--color-ansi-white-bright: @subtext0;
|
||||
}
|
||||
--color-ansi-red: @red;
|
||||
--color-ansi-red-bright: @red;
|
||||
--color-ansi-green: @green;
|
||||
--color-ansi-green-bright: @green;
|
||||
--color-ansi-yellow: @yellow;
|
||||
--color-ansi-yellow-bright: @yellow;
|
||||
--color-ansi-blue: @blue;
|
||||
--color-ansi-blue-bright: @blue;
|
||||
--color-ansi-magenta: @pink;
|
||||
--color-ansi-magenta-bright: @pink;
|
||||
--color-ansi-cyan: @teal;
|
||||
--color-ansi-cyan-bright: @teal;
|
||||
--color-prettylights-syntax-comment: @overlay2;
|
||||
--color-prettylights-syntax-constant: @blue;
|
||||
--color-prettylights-syntax-constant-other-reference-link: @blue;
|
||||
--color-prettylights-syntax-entity: @blue;
|
||||
--color-prettylights-syntax-storage-modifier-import: @peach;
|
||||
--color-prettylights-syntax-entity-tag: @blue;
|
||||
--color-prettylights-syntax-keyword: @mauve;
|
||||
--color-prettylights-syntax-string: @green;
|
||||
--color-prettylights-syntax-variable: @peach;
|
||||
--color-prettylights-syntax-invalid-illegal-text: @red;
|
||||
--color-prettylights-syntax-invalid-illegal-bg: fadeout(@red, 85%);
|
||||
--color-prettylights-syntax-markup-heading: @red;
|
||||
--color-prettylights-syntax-markup-italic: @yellow;
|
||||
--color-prettylights-syntax-markup-bold: @yellow;
|
||||
--color-prettylights-syntax-markup-deleted-text: @text;
|
||||
--color-prettylights-syntax-markup-deleted-bg: fadeout(@red, 60%);
|
||||
--color-prettylights-syntax-markup-inserted-text: @text;
|
||||
--color-prettylights-syntax-markup-inserted-bg: fadeout(@green, 60%);
|
||||
--color-prettylights-syntax-markup-changed-text: @text;
|
||||
--color-prettylights-syntax-markup-changed-bg: fadeout(@yellow, 60%);
|
||||
--color-prettylights-syntax-markup-ignored-text: @text;
|
||||
--bgColor-white: @base;
|
||||
--color-scale-white: @base;
|
||||
--color-scale-gray-3: @overlay2;
|
||||
--color-scale-gray-5: @overlay0;
|
||||
--color-scale-gray-6: @surface1;
|
||||
--color-scale-gray-7: @surface1;
|
||||
--color-scale-blue-2: @sky;
|
||||
--color-scale-blue-5: @blue;
|
||||
--color-scale-green-3: @green;
|
||||
--color-scale-green-4: @green;
|
||||
--color-scale-yellow-3: @peach;
|
||||
--color-scale-orange-4: @peach;
|
||||
--color-scale-red-4: @red;
|
||||
--shadow-inset: inset 0px 1px 0px 0px @crust;
|
||||
--shadow-resting-xsmall: 0px 1px 0px 0px @crust;
|
||||
--shadow-resting-small: 0px 1px 0px 0px @crust, 0px 1px 3px 0px @crust;
|
||||
--shadow-resting-medium: 0px 3px 6px 0px @crust;
|
||||
--shadow-floating-small: 0px 0px 0px 1px @base, 0px 6px 12px -3px @crust,
|
||||
0px 6px 18px 0px @crust;
|
||||
--shadow-floating-medium: 0px 0px 0px 1px @surface0,
|
||||
0px 8px 16px -4px @crust, 0px 4px 32px -4px @crust,
|
||||
0px 24px 48px -12px @crust, 0px 48px 96px -24px @crust;
|
||||
--shadow-floating-large: 0px 0px 0px 1px @surface0,
|
||||
0px 24px 48px 0px #010409;
|
||||
--shadow-floating-xlarge: 0px 0px 0px 1px @surface0,
|
||||
0px 32px 64px 0px #010409;
|
||||
--shadow-floating-legacy: 0px 6px 12px -3px @crust, 0px 6px 18px 0px @crust;
|
||||
--outline-focus: @blue solid 2px;
|
||||
|
||||
/* Customer Terms & Agreements Page: https://github.com/customer-terms */
|
||||
.enterprise-customer-agreement {
|
||||
color: @text !important;
|
||||
|
||||
&:hover {
|
||||
.octicon,
|
||||
h3 {
|
||||
color: @accent-color !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Enhanced Repo Insights Views - https://github.com/orgs/community/discussions/135572 */
|
||||
--data-blue-color-emphasis: @accent-color;
|
||||
--data-red-color-emphasis: @red;
|
||||
--data-green-color-emphasis: @green;
|
||||
|
||||
/* Copilot Chat */
|
||||
--display-green-fgColor: @green;
|
||||
--display-teal-fgColor: @teal;
|
||||
--display-purple-fgColor: @mauve;
|
||||
--display-blue-fgColor: @blue;
|
||||
--display-pink-fgColor: @pink;
|
||||
--display-gray-fgColor: @subtext0;
|
||||
react-app[app-name="copilot-immersive-v1"],
|
||||
copilot-dashboard-entrypoint {
|
||||
button {
|
||||
color: @text;
|
||||
}
|
||||
}
|
||||
|
||||
--tooltip-fgColor: @base;
|
||||
--tooltip-bgColor: @overlay2;
|
||||
|
||||
/* Refined GitHub */
|
||||
--rgh-heat-color: @peach;
|
||||
|
||||
.turbo-progress-bar {
|
||||
background-color: @accent-color;
|
||||
}
|
||||
|
||||
.form-select {
|
||||
@svg: escape(
|
||||
'<svg width="16" height="16" viewBox="0 0 16 16" fill="@{subtext0}" xmlns="http://www.w3.org/2000/svg"><path d="m4.427 9.427 3.396 3.396a.25.25 0 0 0 .354 0l3.396-3.396A.25.25 0 0 0 11.396 9H4.604a.25.25 0 0 0-.177.427M4.423 6.47 7.82 3.072a.25.25 0 0 1 .354 0L11.57 6.47a.25.25 0 0 1-.177.427H4.6a.25.25 0 0 1-.177-.427"/></svg>'
|
||||
);
|
||||
background-image: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
|
||||
img[src="https://github.githubassets.com/assets/mona-loading-default-c3c7aad1282f.gif"]
|
||||
{
|
||||
content: url("https://giscus.catppuccin.com/assets/loading_48x48.gif");
|
||||
}
|
||||
|
||||
/* Header when logged out */
|
||||
.HeaderMenu-link {
|
||||
color: @text;
|
||||
|
||||
&:hover {
|
||||
color: @text;
|
||||
}
|
||||
}
|
||||
.header-search-button {
|
||||
&.placeholder {
|
||||
color: @subtext0;
|
||||
}
|
||||
|
||||
svg {
|
||||
fill: @text !important;
|
||||
}
|
||||
}
|
||||
.HeaderMenu-toggle-bar {
|
||||
background-color: @text;
|
||||
}
|
||||
.notification-indicator .mail-status {
|
||||
background-image: linear-gradient(
|
||||
@accent-color,
|
||||
darken(@accent-color, 5%)
|
||||
);
|
||||
}
|
||||
|
||||
.CheckStep {
|
||||
.ansifg-r {
|
||||
color: var(--color-ansi-red);
|
||||
}
|
||||
.ansifg-y {
|
||||
color: var(--color-ansi-yellow);
|
||||
}
|
||||
.ansifg-g {
|
||||
color: var(--color-ansi-green);
|
||||
}
|
||||
.ansifg-b {
|
||||
color: var(--color-ansi-blue);
|
||||
}
|
||||
.ansifg-c {
|
||||
color: var(--color-ansi-cyan);
|
||||
}
|
||||
.ansifg-m {
|
||||
color: var(--color-ansi-magenta);
|
||||
}
|
||||
.ansifg-gr {
|
||||
color: var(--color-ansi-gray);
|
||||
}
|
||||
}
|
||||
|
||||
.js-activity-overview-graph .js-highlight-blob {
|
||||
fill: @accent-color;
|
||||
stroke: @accent-color;
|
||||
}
|
||||
|
||||
.subnav-link.selected {
|
||||
border-bottom-color: @accent-color;
|
||||
}
|
||||
|
||||
/* Pull request check in progress indicator */
|
||||
[stroke="#DBAB0A"] {
|
||||
stroke: fade(@yellow, 70%) !important;
|
||||
}
|
||||
[fill="#DBAB0A"] {
|
||||
fill: @yellow !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@-moz-document url-prefix("https://viewscreen.githubusercontent.com/markdown/mermaid")
|
||||
{
|
||||
[data-color-mode="auto"] {
|
||||
@media (prefers-color-scheme: light) {
|
||||
&[data-light-theme="light"] {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
&[data-light-theme="dark"] {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
&[data-dark-theme="light"] {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
&[data-dark-theme="dark"] {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
}
|
||||
[data-color-mode="light"][data-light-theme="dark"],
|
||||
[data-color-mode="dark"][data-dark-theme="dark"] {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
}
|
||||
[data-color-mode="light"][data-light-theme="light"],
|
||||
[data-color-mode="dark"][data-dark-theme="light"] {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
|
||||
#catppuccin(@lookup, @accent) {
|
||||
@rosewater: @catppuccin[@@lookup][@rosewater];
|
||||
@flamingo: @catppuccin[@@lookup][@flamingo];
|
||||
@pink: @catppuccin[@@lookup][@pink];
|
||||
@mauve: @catppuccin[@@lookup][@mauve];
|
||||
@red: @catppuccin[@@lookup][@red];
|
||||
@maroon: @catppuccin[@@lookup][@maroon];
|
||||
@peach: @catppuccin[@@lookup][@peach];
|
||||
@yellow: @catppuccin[@@lookup][@yellow];
|
||||
@green: @catppuccin[@@lookup][@green];
|
||||
@teal: @catppuccin[@@lookup][@teal];
|
||||
@sky: @catppuccin[@@lookup][@sky];
|
||||
@sapphire: @catppuccin[@@lookup][@sapphire];
|
||||
@blue: @catppuccin[@@lookup][@blue];
|
||||
@lavender: @catppuccin[@@lookup][@lavender];
|
||||
@text: @catppuccin[@@lookup][@text];
|
||||
@subtext1: @catppuccin[@@lookup][@subtext1];
|
||||
@subtext0: @catppuccin[@@lookup][@subtext0];
|
||||
@overlay2: @catppuccin[@@lookup][@overlay2];
|
||||
@overlay1: @catppuccin[@@lookup][@overlay1];
|
||||
@overlay0: @catppuccin[@@lookup][@overlay0];
|
||||
@surface2: @catppuccin[@@lookup][@surface2];
|
||||
@surface1: @catppuccin[@@lookup][@surface1];
|
||||
@surface0: @catppuccin[@@lookup][@surface0];
|
||||
@base: @catppuccin[@@lookup][@base];
|
||||
@mantle: @catppuccin[@@lookup][@mantle];
|
||||
@crust: @catppuccin[@@lookup][@crust];
|
||||
@accent-color: @catppuccin[@@lookup][@@accent];
|
||||
|
||||
::selection {
|
||||
background-color: fade(@accent-color, 30%);
|
||||
}
|
||||
|
||||
background-color: @base;
|
||||
|
||||
--color-btn-text: @text;
|
||||
--color-btn-bg: @surface0;
|
||||
--color-btn-border: @surface1;
|
||||
--color-btn-hover-bg: @surface1;
|
||||
--color-btn-hover-border: @surface2;
|
||||
--color-btn-active-bg: @surface2;
|
||||
--color-btn-selected-bg: @surface2;
|
||||
--color-btn-counter-bg: @surface2;
|
||||
--color-btn-outline-text: @accent-color;
|
||||
--color-fg-muted: @subtext1;
|
||||
--button-default-fgColor-rest: @text;
|
||||
--button-default-bgColor-rest: @surface0;
|
||||
--button-default-bgColor-hover: @surface1;
|
||||
--button-default-bgColor-active: @surface2;
|
||||
--button-default-bgColor-selected: @surface2;
|
||||
--button-default-bgColor-disabled: fade(@surface0, 70%);
|
||||
--button-default-borderColor-rest: @surface1;
|
||||
--button-default-borderColor-hover: @surface1;
|
||||
--button-default-borderColor-active: @surface1;
|
||||
--button-default-borderColor-disabled: fade(@surface0, 70%);
|
||||
|
||||
#diagram {
|
||||
.node rect,
|
||||
.node circle,
|
||||
.node ellipse,
|
||||
.node polygon,
|
||||
.node path {
|
||||
fill: fade(@accent-color, 10%);
|
||||
stroke: @accent-color;
|
||||
}
|
||||
|
||||
.cluster rect {
|
||||
fill: @surface0;
|
||||
stroke: @surface2;
|
||||
}
|
||||
|
||||
.label text,
|
||||
span,
|
||||
p {
|
||||
fill: @text;
|
||||
color: @text;
|
||||
}
|
||||
|
||||
.flowchart-link {
|
||||
stroke: @subtext0;
|
||||
}
|
||||
.marker {
|
||||
stroke: @subtext0;
|
||||
fill: @subtext0;
|
||||
}
|
||||
|
||||
.edgeLabel {
|
||||
background-color: @crust;
|
||||
p {
|
||||
background-color: @surface2;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.octicon {
|
||||
fill: var(--color-fg-muted) !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@-moz-document regexp("https:\/\/notebooks\.githubusercontent\.com\/view\/ipynb.*") {
|
||||
:root {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
}
|
||||
|
||||
#catppuccin(@lookup, @accent) {
|
||||
@rosewater: @catppuccin[@@lookup][@rosewater];
|
||||
@flamingo: @catppuccin[@@lookup][@flamingo];
|
||||
@pink: @catppuccin[@@lookup][@pink];
|
||||
@mauve: @catppuccin[@@lookup][@mauve];
|
||||
@red: @catppuccin[@@lookup][@red];
|
||||
@maroon: @catppuccin[@@lookup][@maroon];
|
||||
@peach: @catppuccin[@@lookup][@peach];
|
||||
@yellow: @catppuccin[@@lookup][@yellow];
|
||||
@green: @catppuccin[@@lookup][@green];
|
||||
@teal: @catppuccin[@@lookup][@teal];
|
||||
@sky: @catppuccin[@@lookup][@sky];
|
||||
@sapphire: @catppuccin[@@lookup][@sapphire];
|
||||
@blue: @catppuccin[@@lookup][@blue];
|
||||
@lavender: @catppuccin[@@lookup][@lavender];
|
||||
@text: @catppuccin[@@lookup][@text];
|
||||
@subtext1: @catppuccin[@@lookup][@subtext1];
|
||||
@subtext0: @catppuccin[@@lookup][@subtext0];
|
||||
@overlay2: @catppuccin[@@lookup][@overlay2];
|
||||
@overlay1: @catppuccin[@@lookup][@overlay1];
|
||||
@overlay0: @catppuccin[@@lookup][@overlay0];
|
||||
@surface2: @catppuccin[@@lookup][@surface2];
|
||||
@surface1: @catppuccin[@@lookup][@surface1];
|
||||
@surface0: @catppuccin[@@lookup][@surface0];
|
||||
@base: @catppuccin[@@lookup][@base];
|
||||
@mantle: @catppuccin[@@lookup][@mantle];
|
||||
@crust: @catppuccin[@@lookup][@crust];
|
||||
@accent-color: @catppuccin[@@lookup][@@accent];
|
||||
|
||||
color-scheme: if(@lookup = latte, light, dark);
|
||||
|
||||
::selection {
|
||||
background-color: fade(@accent-color, 30%);
|
||||
}
|
||||
|
||||
input,
|
||||
textarea {
|
||||
&::placeholder {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
--jp-border-color0: var(--color-scale-gray-7);
|
||||
--jp-border-color1: var(--color-scale-gray-7);
|
||||
--jp-border-color2: var(--color-scale-gray-8);
|
||||
--jp-border-color3: var(--color-scale-gray-9);
|
||||
--jp-ui-font-color0: @text;
|
||||
--jp-ui-font-color1: fadeout(@text, 13%);
|
||||
--jp-ui-font-color2: fadeout(@text, 46%);
|
||||
--jp-ui-font-color3: fadeout(@text, 72%);
|
||||
--jp-ui-inverse-font-color0: @crust;
|
||||
--jp-ui-inverse-font-color1: fadeout(@crust, 20%);
|
||||
--jp-ui-inverse-font-color2: fadeout(@crust, 50%);
|
||||
--jp-ui-inverse-font-color3: fadeout(@crust, 70%);
|
||||
--jp-content-font-color0: @text;
|
||||
--jp-content-font-color1: @text;
|
||||
--jp-content-font-color2: fadeout(@text, 30%);
|
||||
--jp-content-font-color3: fadeout(@text, 50%);
|
||||
--jp-content-link-color: @sapphire;
|
||||
--jp-layout-color0: @base !important;
|
||||
--jp-layout-color1: var(--color-scale-gray-9);
|
||||
--jp-layout-color2: var(--color-scale-gray-8);
|
||||
--jp-layout-color3: var(--color-scale-gray-7);
|
||||
--jp-layout-color4: var(--color-scale-gray-6);
|
||||
--jp-inverse-layout-color0: var(--color-scale-white);
|
||||
--jp-inverse-layout-color1: var(--color-scale-white);
|
||||
--jp-inverse-layout-color2: var(--color-scale-gray-2);
|
||||
--jp-inverse-layout-color3: var(--color-scale-gray-4);
|
||||
--jp-inverse-layout-color4: var(--color-scale-gray-6);
|
||||
--jp-brand-color0: var(--color-scale-blue-7);
|
||||
--jp-brand-color1: var(--color-scale-blue-5);
|
||||
--jp-brand-color2: var(--color-scale-blue-3);
|
||||
--jp-brand-color3: var(--color-scale-blue-1);
|
||||
--jp-brand-color4: var(--color-scale-blue-0);
|
||||
--jp-accent-color0: var(--color-scale-green-7);
|
||||
--jp-accent-color1: var(--color-scale-green-5);
|
||||
--jp-accent-color2: var(--color-scale-green-3);
|
||||
--jp-accent-color3: var(--color-scale-green-1);
|
||||
--jp-warn-color0: var(--color-scale-orange-7);
|
||||
--jp-warn-color1: var(--color-scale-orange-5);
|
||||
--jp-warn-color2: var(--color-scale-orange-3);
|
||||
--jp-warn-color3: var(--color-scale-orange-1);
|
||||
--jp-error-color0: var(--color-scale-red-7);
|
||||
--jp-error-color1: var(--color-scale-red-5);
|
||||
--jp-error-color2: var(--color-scale-red-3);
|
||||
--jp-error-color3: var(--color-scale-red-1);
|
||||
--jp-success-color0: var(--color-scale-green-7);
|
||||
--jp-success-color1: var(--color-scale-green-5);
|
||||
--jp-success-color2: var(--color-scale-green-3);
|
||||
--jp-success-color3: var(--color-scale-green-1);
|
||||
--jp-info-color0: var(--color-scale-blue-7);
|
||||
--jp-info-color1: var(--color-scale-blue-5);
|
||||
--jp-info-color2: var(--color-scale-blue-3);
|
||||
--jp-info-color3: var(--color-scale-blue-1);
|
||||
--jp-cell-editor-background: @mantle;
|
||||
--jp-cell-editor-border-color: var(--color-scale-gray-7);
|
||||
--jp-cell-editor-box-shadow: inset 0 0 2px var(--color-scale-blue-3);
|
||||
--jp-cell-prompt-not-active-font-color: fadeout(@text, 50%);
|
||||
--jp-cell-inprompt-font-color: var(--color-scale-blue-6);
|
||||
--jp-cell-outprompt-font-color: var(--color-scale-coral-6);
|
||||
--jp-notebook-multiselected-color: fadeout(@overlay2, 86%);
|
||||
--jp-rendermime-error-background: fadeout(@red, 82%);
|
||||
--jp-rendermime-table-row-background: var(--color-scale-gray-9);
|
||||
--jp-rendermime-table-row-hover-background: fadeout(@surface2, 86%);
|
||||
--jp-dialog-background: fadeout(@crust, 40%);
|
||||
--jp-toolbar-box-shadow: 0px 0px 2px 0px fadeout(@crust, 20%);
|
||||
--jp-input-box-shadow: inset 0 0 2px var(--color-scale-blue-3);
|
||||
--jp-input-background: var(--color-scale-gray-8);
|
||||
--jp-input-active-box-shadow-color: fadeout(@blue, 70%);
|
||||
--jp-editor-selected-focused-background: fadeout(@blue, 86%);
|
||||
--jp-mirror-editor-keyword-color: var(--color-scale-green-5);
|
||||
--jp-mirror-editor-atom-color: var(--color-scale-blue-3);
|
||||
--jp-mirror-editor-number-color: var(--color-scale-green-4);
|
||||
--jp-mirror-editor-def-color: var(--color-scale-blue-6);
|
||||
--jp-mirror-editor-variable-color: var(--color-scale-gray-3);
|
||||
--jp-mirror-editor-variable-2-color: var(--color-scale-blue-4);
|
||||
--jp-mirror-editor-variable-3-color: var(--color-scale-green-6);
|
||||
--jp-mirror-editor-punctuation-color: var(--color-scale-blue-4);
|
||||
--jp-mirror-editor-property-color: var(--color-scale-blue-4);
|
||||
--jp-mirror-editor-operator-color: @mauve;
|
||||
--jp-mirror-editor-comment-color: @subtext0;
|
||||
--jp-mirror-editor-string-color: @peach;
|
||||
--jp-mirror-editor-string-2-color: var(--color-scale-purple-3);
|
||||
--jp-mirror-editor-meta-color: @mauve;
|
||||
--jp-mirror-editor-qualifier-color: var(--color-scale-gray-5);
|
||||
--jp-mirror-editor-builtin-color: var(--color-scale-green-6);
|
||||
--jp-mirror-editor-bracket-color: var(--color-scale-gray-2);
|
||||
--jp-mirror-editor-tag-color: var(--color-scale-blue-7);
|
||||
--jp-mirror-editor-attribute-color: var(--color-scale-blue-7);
|
||||
--jp-mirror-editor-header-color: var(--color-scale-blue-5);
|
||||
--jp-mirror-editor-quote-color: var(--color-scale-green-3);
|
||||
--jp-mirror-editor-link-color: var(--color-scale-blue-7);
|
||||
--jp-mirror-editor-error-color: @red;
|
||||
--jp-mirror-editor-hr-color: var(--color-scale-gray-8);
|
||||
--jp-vega-background: var(--color-scale-gray-4);
|
||||
--jp-search-selected-match-background-color: @yellow;
|
||||
--jp-search-selected-match-color: @crust;
|
||||
--jp-icon-contrast-color0: var(--color-scale-purple-6);
|
||||
--jp-icon-contrast-color1: var(--color-scale-green-6);
|
||||
--jp-icon-contrast-color2: var(--color-scale-pink-6);
|
||||
--jp-icon-contrast-color3: var(--color-scale-blue-6);
|
||||
}
|
||||
}
|
||||
|
||||
/* prettier-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; };
|
||||
}
|
||||
|
||||
// vim:ft=less
|
||||
==/UserStyle== */
|
||||
@@ -0,0 +1,917 @@
|
||||
/* ==UserStyle==
|
||||
@name GitHub Catppuccin
|
||||
@namespace github.com/catppuccin/userstyles/styles/github
|
||||
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/github
|
||||
@version 2024.12.29.1
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/github/catppuccin.user.less
|
||||
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Agithub
|
||||
@description Soothing pastel theme for GitHub
|
||||
@author Catppuccin
|
||||
@license MIT
|
||||
|
||||
@preprocessor less
|
||||
@var select lightFlavor "Light Flavor" ["latte:Latte*", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha"]
|
||||
@var select darkFlavor "Dark Flavor" ["latte:Latte", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha*"]
|
||||
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
|
||||
==/UserStyle== */
|
||||
|
||||
@-moz-document regexp(
|
||||
"https:\/\/(gist\.)*github\.com(?!((\/.+?\/.+?\/commit\/[A-Fa-f0-9]+\.(patch|diff)$)|\/home$|\/features($|\/.*)|\/marketplace($|\?.*|\/.*)|\/organizations\/plan)).*$"
|
||||
),
|
||||
url-prefix("https://viewscreen.githubusercontent.com/diff/img") {
|
||||
[data-color-mode="auto"] {
|
||||
@media (prefers-color-scheme: light) {
|
||||
&[data-light-theme="light"] {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
&[data-light-theme="dark"] {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
&[data-dark-theme="light"] {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
&[data-dark-theme="dark"] {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
}
|
||||
[data-color-mode="light"][data-light-theme="dark"],
|
||||
[data-color-mode="dark"][data-dark-theme="dark"] {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
}
|
||||
[data-color-mode="light"][data-light-theme="light"],
|
||||
[data-color-mode="dark"][data-dark-theme="light"] {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
|
||||
html:not([data-light-theme="light"], [data-light-theme="dark"])
|
||||
body:not(.logged-out)::after,
|
||||
html:not([data-dark-theme="dark"], [data-dark-theme="light"])
|
||||
body:not(.logged-out)::after {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
padding: 1rem;
|
||||
margin: 1rem;
|
||||
border-radius: 0.5rem;
|
||||
max-width: 40ch;
|
||||
background-color: var(--color-danger-fg);
|
||||
color: var(--color-header-bg);
|
||||
content: "Unsupported GitHub theme detected! Please switch to the default light/dark theme via the GitHub Appearance settings to get the best experience for the Catppuccin GitHub userstyle.";
|
||||
z-index: 9999;
|
||||
}
|
||||
|
||||
#catppuccin(@lookup, @accent) {
|
||||
@rosewater: @catppuccin[@@lookup][@rosewater];
|
||||
@flamingo: @catppuccin[@@lookup][@flamingo];
|
||||
@pink: @catppuccin[@@lookup][@pink];
|
||||
@mauve: @catppuccin[@@lookup][@mauve];
|
||||
@red: @catppuccin[@@lookup][@red];
|
||||
@maroon: @catppuccin[@@lookup][@maroon];
|
||||
@peach: @catppuccin[@@lookup][@peach];
|
||||
@yellow: @catppuccin[@@lookup][@yellow];
|
||||
@green: @catppuccin[@@lookup][@green];
|
||||
@teal: @catppuccin[@@lookup][@teal];
|
||||
@sky: @catppuccin[@@lookup][@sky];
|
||||
@sapphire: @catppuccin[@@lookup][@sapphire];
|
||||
@blue: @catppuccin[@@lookup][@blue];
|
||||
@lavender: @catppuccin[@@lookup][@lavender];
|
||||
@text: @catppuccin[@@lookup][@text];
|
||||
@subtext1: @catppuccin[@@lookup][@subtext1];
|
||||
@subtext0: @catppuccin[@@lookup][@subtext0];
|
||||
@overlay2: @catppuccin[@@lookup][@overlay2];
|
||||
@overlay1: @catppuccin[@@lookup][@overlay1];
|
||||
@overlay0: @catppuccin[@@lookup][@overlay0];
|
||||
@surface2: @catppuccin[@@lookup][@surface2];
|
||||
@surface1: @catppuccin[@@lookup][@surface1];
|
||||
@surface0: @catppuccin[@@lookup][@surface0];
|
||||
@base: @catppuccin[@@lookup][@base];
|
||||
@mantle: @catppuccin[@@lookup][@mantle];
|
||||
@crust: @catppuccin[@@lookup][@crust];
|
||||
@accent-color: @catppuccin[@@lookup][@@accent];
|
||||
|
||||
color-scheme: if(@lookup = latte, light, dark);
|
||||
|
||||
::selection {
|
||||
background-color: fade(@accent-color, 30%);
|
||||
}
|
||||
|
||||
input,
|
||||
textarea {
|
||||
&::placeholder {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
}
|
||||
.cm-placeholder {
|
||||
color: @subtext0;
|
||||
}
|
||||
|
||||
accent-color: @accent-color;
|
||||
color: @text;
|
||||
|
||||
--color-social-reaction-bg-reacted-hover: fade(@accent-color, 30%);
|
||||
--color-notifications-button-hover-bg: fade(@accent-color, 60%);
|
||||
--color-workflow-card-header-shadow: rgba(27, 31, 35, 0.04);
|
||||
--color-icon-directory: var(--fgColor-muted, var(--color-fg-muted));
|
||||
--color-calendar-halloween-graph-day-L1-bg: fadeout(
|
||||
@accent-color,
|
||||
60%
|
||||
) !important;
|
||||
--color-calendar-halloween-graph-day-L2-bg: fadeout(
|
||||
@accent-color,
|
||||
40%
|
||||
) !important;
|
||||
--color-calendar-halloween-graph-day-L3-bg: fadeout(
|
||||
@accent-color,
|
||||
20%
|
||||
) !important;
|
||||
--color-calendar-halloween-graph-day-L4-bg: @accent-color !important;
|
||||
--color-calendar-winter-graph-day-L1-bg: fadeout(
|
||||
@accent-color,
|
||||
60%
|
||||
) !important;
|
||||
--color-calendar-winter-graph-day-L2-bg: fadeout(
|
||||
@accent-color,
|
||||
40%
|
||||
) !important;
|
||||
--color-calendar-winter-graph-day-L3-bg: fadeout(
|
||||
@accent-color,
|
||||
20%
|
||||
) !important;
|
||||
--color-calendar-winter-graph-day-L4-bg: @accent-color !important;
|
||||
--color-calendar-graph-day-bg: @surface0 !important;
|
||||
--color-calendar-graph-day-border: transparent !important;
|
||||
--color-calendar-graph-day-L1-bg: fadeout(@accent-color, 60%) !important;
|
||||
--color-calendar-graph-day-L2-bg: fadeout(@accent-color, 40%) !important;
|
||||
--color-calendar-graph-day-L3-bg: fadeout(@accent-color, 20%) !important;
|
||||
--color-calendar-graph-day-L4-bg: @accent-color !important;
|
||||
--color-calendar-graph-day-L2-border: transparent !important;
|
||||
--color-calendar-graph-day-L3-border: transparent !important;
|
||||
--color-calendar-graph-day-L4-border: transparent !important;
|
||||
--color-user-mention-fg: @accent-color;
|
||||
--color-user-mention-bg: fade(@accent-color, 30%);
|
||||
--color-dashboard-feed-bg: var(--color-scale-gray-9);
|
||||
--color-mktg-btn-shadow-outline: rgba(255, 255, 255, 0.25) 0 0 0 1px inset;
|
||||
--color-marketing-icon-secondary: var(--color-scale-blue-5);
|
||||
--color-project-header-bg: var(--color-scale-gray-9);
|
||||
--color-project-sidebar-bg: var(--color-scale-gray-8);
|
||||
--color-project-gradient-in: var(--color-scale-gray-8);
|
||||
--color-project-gradient-out: rgba(22, 27, 34, 0);
|
||||
--color-diff-blob-selected-line-highlight-mix-blend-mode: screen;
|
||||
--topicTag-borderColor: #0000;
|
||||
--highlight-neutral-bgColor: fade(@yellow, 30%);
|
||||
--page-header-bgColor: @crust;
|
||||
--diffBlob-additionNum-bgColor: fadeout(@green, 70%);
|
||||
--diffBlob-additionNum-fgColor: @text;
|
||||
--diffBlob-additionLine-bgColor: fadeout(@green, 85%);
|
||||
--diffBlob-additionWord-bgColor: fadeout(@green, 70%);
|
||||
--diffBlob-additionWord-fgColor: @text;
|
||||
--diffBlob-deletionNum-bgColor: fadeout(@red, 70%);
|
||||
--diffBlob-deletionNum-fgColor: @text;
|
||||
--diffBlob-deletionLine-bgColor: fadeout(@red, 85%);
|
||||
--diffBlob-deletionWord-bgColor: fadeout(@red, 70%);
|
||||
--diffBlob-deletionWord-fgColor: @text;
|
||||
--diffBlob-hunkNum-bgColor-rest: fadeout(@accent-color, 60%);
|
||||
--diffBlob-hunkNum-bgColor-hover: fade(@accent-color, 75%);
|
||||
--diffBlob-hunkLine-bgColor: fadeout(@accent-color, 75%);
|
||||
--diffBlob-expander-iconColor: @subtext0;
|
||||
--diffBlob-emptyNum-bgColor: @mantle;
|
||||
--diffBlob-emptyLine-bgColor: @mantle;
|
||||
--codeMirror-fgColor: @text;
|
||||
--codeMirror-bgColor: @base;
|
||||
--codeMirror-gutters-bgColor: @base;
|
||||
--codeMirror-gutterMarker-fgColor-default: @base;
|
||||
--codeMirror-gutterMarker-fgColor-muted: @overlay0;
|
||||
--codeMirror-lineNumber-fgColor: @overlay1;
|
||||
--codeMirror-cursor-fgColor: @text;
|
||||
--codeMirror-selection-bgColor: #388bfd66;
|
||||
--codeMirror-activeline-bgColor: #6e768166;
|
||||
--codeMirror-matchingBracket-fgColor: @text;
|
||||
--codeMirror-lines-bgColor: @base;
|
||||
--codeMirror-syntax-fgColor-comment: @overlay2;
|
||||
--codeMirror-syntax-fgColor-constant: @blue;
|
||||
--codeMirror-syntax-fgColor-entity: @blue;
|
||||
--codeMirror-syntax-fgColor-keyword: @mauve;
|
||||
--codeMirror-syntax-fgColor-storage: @peach;
|
||||
--codeMirror-syntax-fgColor-string: @green;
|
||||
--codeMirror-syntax-fgColor-support: #79c0ff;
|
||||
--codeMirror-syntax-fgColor-variable: @peach;
|
||||
--header-fgColor-default: @text;
|
||||
--header-fgColor-logo: @text;
|
||||
--header-bgColor: @crust;
|
||||
--header-borderColor-divider: #8b949e;
|
||||
--headerSearch-bgColor: @mantle;
|
||||
--headerSearch-borderColor: @surface0;
|
||||
--avatar-bgColor: fade(@text, 26%);
|
||||
--avatar-borderColor: @surface0;
|
||||
--avatar-shadow: 0px 0px 0px 2px #0d1117;
|
||||
--avatarStack-fade-bgColor-default: @surface1;
|
||||
--avatarStack-fade-bgColor-muted: #21262d;
|
||||
--control-bgColor-rest: @red;
|
||||
--control-bgColor-hover: #292e36;
|
||||
--control-bgColor-active: @surface1;
|
||||
--control-bgColor-disabled: fade(@mantle, 60%);
|
||||
--control-bgColor-selected: #161b22;
|
||||
--control-fgColor-rest: @text;
|
||||
--control-fgColor-placeholder: #484f58;
|
||||
--control-fgColor-disabled: fade(@subtext0, 70%);
|
||||
--control-borderColor-rest: @surface1;
|
||||
--control-borderColor-emphasis: #666e79;
|
||||
--control-borderColor-disabled: fade(@surface1, 75%);
|
||||
--control-borderColor-selected: #f0f6fc;
|
||||
--control-borderColor-success: @green;
|
||||
--control-borderColor-danger: @red;
|
||||
--control-borderColor-warning: @yellow;
|
||||
--control-iconColor-rest: #848d97;
|
||||
--control-transparent-bgColor-rest: #0000;
|
||||
--control-transparent-bgColor-hover: fade(@surface2, 20%);
|
||||
--control-transparent-bgColor-active: fade(@overlay0, 50%);
|
||||
--control-transparent-bgColor-disabled: #21262db3;
|
||||
--control-transparent-bgColor-selected: #b1bac414;
|
||||
--control-transparent-borderColor-rest: #0000;
|
||||
--control-transparent-borderColor-hover: #0000;
|
||||
--control-transparent-borderColor-active: #0000;
|
||||
--control-danger-fgColor-rest: @red;
|
||||
--control-danger-fgColor-hover: @crust;
|
||||
--control-danger-bgColor-hover: fade(@red, 80%);
|
||||
--control-danger-bgColor-active: @red;
|
||||
--control-checked-bgColor-rest: @accent-color;
|
||||
--control-checked-bgColor-hover: lighten(@accent-color, 5%);
|
||||
--control-checked-bgColor-active: lighten(@accent-color, 5%);
|
||||
--control-checked-bgColor-disabled: #6e7681;
|
||||
--control-checked-fgColor-rest: @crust;
|
||||
--control-checked-fgColor-disabled: #010409;
|
||||
--control-checked-borderColor-rest: @accent-color;
|
||||
--control-checked-borderColor-hover: @accent-color;
|
||||
--control-checked-borderColor-active: @accent-color;
|
||||
--control-checked-borderColor-disabled: @surface0;
|
||||
--controlTrack-bgColor-rest: @surface0;
|
||||
--controlTrack-bgColor-hover: @surface1;
|
||||
--controlTrack-bgColor-active: @surface2;
|
||||
--controlTrack-bgColor-disabled: #6e7681;
|
||||
--controlTrack-fgColor-rest: #848d97;
|
||||
--controlTrack-fgColor-disabled: @text;
|
||||
--controlTrack-borderColor-rest: #0000;
|
||||
--controlTrack-borderColor-disabled: #6e7681;
|
||||
--controlKnob-bgColor-rest: @base;
|
||||
--controlKnob-bgColor-disabled: #21262db3;
|
||||
--controlKnob-bgColor-checked: @text;
|
||||
--controlKnob-borderColor-rest: @surface2;
|
||||
--controlKnob-borderColor-disabled: #21262db3;
|
||||
--controlKnob-borderColor-checked: @blue;
|
||||
--button-default-fgColor-rest: @text;
|
||||
--button-default-bgColor-rest: @surface0;
|
||||
--button-default-bgColor-hover: @surface1;
|
||||
--button-default-bgColor-active: @surface2;
|
||||
--button-default-bgColor-selected: @surface2;
|
||||
--button-default-bgColor-disabled: fade(@surface0, 70%);
|
||||
--button-default-borderColor-rest: @surface1;
|
||||
--button-default-borderColor-hover: @surface1;
|
||||
--button-default-borderColor-active: @surface1;
|
||||
--button-default-borderColor-disabled: fade(@surface0, 70%);
|
||||
--button-default-shadow-resting: 0px 0px 0px 0px #000;
|
||||
--button-primary-fgColor-rest: @base;
|
||||
--button-primary-fgColor-disabled: fade(@base, 60%);
|
||||
--button-primary-iconColor-rest: @base;
|
||||
--button-primary-bgColor-rest: @green;
|
||||
--button-primary-bgColor-hover: lighten(@green, 5%);
|
||||
--button-primary-bgColor-active: saturate(@green, 5%);
|
||||
--button-primary-bgColor-disabled: fade(@green, 70%);
|
||||
--button-primary-borderColor-rest: @green;
|
||||
--button-primary-borderColor-hover: @green;
|
||||
--button-primary-borderColor-active: @green;
|
||||
--button-primary-borderColor-disabled: fade(@green, 70%);
|
||||
--button-primary-shadow-selected: 0px 0px 0px 0px #000;
|
||||
--button-invisible-fgColor-rest: @text;
|
||||
--button-invisible-fgColor-hover: lighten(@accent-color, 10%);
|
||||
--button-invisible-fgColor-disabled: #6e7681;
|
||||
--button-invisible-iconColor-rest: @overlay2;
|
||||
--button-invisible-iconColor-hover: #e6edf3;
|
||||
--button-invisible-iconColor-disabled: #6e7681;
|
||||
--button-invisible-bgColor-rest: #0000;
|
||||
--button-invisible-bgColor-hover: #b1bac41f;
|
||||
--button-invisible-bgColor-active: #b1bac433;
|
||||
--button-invisible-bgColor-disabled: fade(@surface1, 70%);
|
||||
--button-invisible-borderColor-rest: #0000;
|
||||
--button-invisible-borderColor-hover: #0000;
|
||||
--button-invisible-borderColor-disabled: fade(@surface1, 70%);
|
||||
--button-outline-fgColor-rest: #388bfd;
|
||||
--button-outline-fgColor-hover: #58a6ff;
|
||||
--button-outline-fgColor-active: @text;
|
||||
--button-outline-fgColor-disabled: #4493f880;
|
||||
--button-outline-bgColor-rest: #f0f6fc;
|
||||
--button-outline-bgColor-hover: @surface1;
|
||||
--button-outline-bgColor-active: #0d419d;
|
||||
--button-outline-bgColor-disabled: #0d1117;
|
||||
--button-outline-borderColor-hover: #f0f6fc1a;
|
||||
--button-outline-borderColor-selected: #f0f6fc1a;
|
||||
--button-outline-shadow-selected: 0px 0px 0px 0px #000;
|
||||
--button-danger-fgColor-rest: @red;
|
||||
--button-danger-fgColor-hover: @base;
|
||||
--button-danger-fgColor-active: @base;
|
||||
--button-danger-fgColor-disabled: fade(@red, 50%);
|
||||
--button-danger-iconColor-rest: @red;
|
||||
--button-danger-iconColor-hover: @crust;
|
||||
--button-danger-bgColor-rest: @surface0;
|
||||
--button-danger-bgColor-hover: @red;
|
||||
--button-danger-bgColor-active: darken(@red, 5%);
|
||||
--button-danger-bgColor-disabled: @base;
|
||||
--button-danger-borderColor-rest: @surface1;
|
||||
--button-danger-borderColor-hover: @red;
|
||||
--button-danger-borderColor-active: darken(@red, 5%);
|
||||
--button-danger-shadow-selected: 0px 0px 0px 0px #000;
|
||||
--button-inactive-fgColor: #8b949e;
|
||||
--button-inactive-bgColor: #21262d;
|
||||
--button-star-iconColor: @yellow;
|
||||
--buttonCounter-default-bgColor-rest: @surface1;
|
||||
--buttonCounter-invisible-bgColor-rest: @surface1;
|
||||
--buttonCounter-primary-bgColor-rest: #04260f33;
|
||||
--buttonCounter-outline-bgColor-rest: #051d4d33;
|
||||
--buttonCounter-outline-bgColor-hover: #051d4d33;
|
||||
--buttonCounter-outline-bgColor-disabled: #1f6feb0d;
|
||||
--buttonCounter-outline-fgColor-rest: #388bfd;
|
||||
--buttonCounter-outline-fgColor-hover: #58a6ff;
|
||||
--buttonCounter-outline-fgColor-disabled: #4493f880;
|
||||
--buttonCounter-danger-bgColor-hover: fade(@text, 20%);
|
||||
--buttonCounter-danger-bgColor-disabled: #da36330d;
|
||||
--buttonCounter-danger-bgColor-rest: #49020233;
|
||||
--buttonCounter-danger-fgColor-rest: @red;
|
||||
--buttonCounter-danger-fgColor-hover: @text;
|
||||
--buttonCounter-danger-fgColor-disabled: fade(@red, 50%);
|
||||
--focus-outlineColor: @accent-color;
|
||||
--menu-bgColor-active: @mantle;
|
||||
--overlay-bgColor: @base;
|
||||
--overlay-borderColor: @surface0;
|
||||
--overlay-backdrop-bgColor: #161b2266;
|
||||
--selectMenu-borderColor: #484f58;
|
||||
--selectMenu-bgColor-active: #0c2d6b;
|
||||
--sideNav-bgColor-selected: #21262d;
|
||||
--skeletonLoader-bgColor: #161b22;
|
||||
--timelineBadge-bgColor: @mantle;
|
||||
--treeViewItem-leadingVisual-iconColor-rest: @subtext0;
|
||||
--underlineNav-borderColor-active: @accent-color;
|
||||
--underlineNav-borderColor-hover: #6e768166;
|
||||
--underlineNav-iconColor-rest: #848d97;
|
||||
--selection-bgColor: fade(@accent-color, 30%);
|
||||
--reactionButton-selected-bgColor-rest: fade(@accent-color, 20%);
|
||||
--reactionButton-selected-bgColor-hover: fade(@accent-color, 35%);
|
||||
--reactionButton-selected-fgColor-rest: @accent-color;
|
||||
--reactionButton-selected-fgColor-hover: @accent-color;
|
||||
--fgColor-default: @text;
|
||||
--fgColor-muted: @subtext1;
|
||||
--fgColor-onEmphasis: @base;
|
||||
--fgColor-white: if(@lookup = latte, @crust, @text);
|
||||
--fgColor-disabled: @surface2;
|
||||
--fgColor-link: @accent-color;
|
||||
--fgColor-neutral: @subtext1;
|
||||
--fgColor-accent: @accent-color;
|
||||
--fgColor-success: @green;
|
||||
--fgColor-attention: @yellow;
|
||||
--fgColor-severe: @peach;
|
||||
--fgColor-danger: @red;
|
||||
--fgColor-open: @green;
|
||||
--fgColor-closed: @red;
|
||||
--fgColor-done: @mauve;
|
||||
--fgColor-sponsors: @pink;
|
||||
--bgColor-default: @base;
|
||||
--bgColor-muted: @mantle;
|
||||
--bgColor-inset: @crust;
|
||||
--bgColor-emphasis: @overlay2;
|
||||
--bgColor-inverse: @text;
|
||||
--bgColor-disabled: #21262db3;
|
||||
--bgColor-transparent: #0000;
|
||||
--bgColor-neutral-muted: fade(@surface0, 40%);
|
||||
--bgColor-neutral-emphasis: @subtext0;
|
||||
--bgColor-accent-muted: fade(@accent-color, 20%);
|
||||
--bgColor-accent-emphasis: @accent-color;
|
||||
--bgColor-success-muted: #2ea04326;
|
||||
--bgColor-success-emphasis: @green;
|
||||
--bgColor-attention-muted: fade(@yellow, 15%);
|
||||
--bgColor-attention-emphasis: @yellow;
|
||||
--bgColor-severe-muted: fade(@peach, 26%);
|
||||
--bgColor-severe-emphasis: @peach;
|
||||
--bgColor-danger-muted: fade(@red, 26%);
|
||||
--bgColor-danger-emphasis: @red;
|
||||
--bgColor-open-muted: #2ea0431a;
|
||||
--bgColor-open-emphasis: @green;
|
||||
--bgColor-closed-muted: fade(@red, 15%);
|
||||
--bgColor-closed-emphasis: @red;
|
||||
--bgColor-done-muted: #a371f726;
|
||||
--bgColor-done-emphasis: @mauve;
|
||||
--bgColor-sponsors-muted: #db61a21a;
|
||||
--bgColor-sponsors-emphasis: @pink;
|
||||
--borderColor-default: @surface1;
|
||||
--borderColor-muted: @surface0;
|
||||
--borderColor-emphasis: #484f58;
|
||||
--borderColor-disabled: #21262db3;
|
||||
--borderColor-transparent: #0000;
|
||||
--borderColor-neutral-muted: #6e768166;
|
||||
--borderColor-neutral-emphasis: #6e7681;
|
||||
--borderColor-accent-muted: fade(@accent-color, 50%);
|
||||
--borderColor-accent-emphasis: @accent-color;
|
||||
--borderColor-success-muted: darken(@green, 5%);
|
||||
--borderColor-success-emphasis: @green;
|
||||
--borderColor-attention-muted: fade(@flamingo, 30%);
|
||||
--borderColor-attention-emphasis: @flamingo;
|
||||
--borderColor-severe-muted: @peach;
|
||||
--borderColor-severe-emphasis: #bd561d;
|
||||
--borderColor-danger-muted: @red;
|
||||
--borderColor-danger-emphasis: @red;
|
||||
--borderColor-open-muted: darken(@green, 5%);
|
||||
--borderColor-open-emphasis: @green;
|
||||
--borderColor-closed-muted: @red;
|
||||
--borderColor-closed-emphasis: @red;
|
||||
--borderColor-done-muted: @lavender;
|
||||
--borderColor-done-emphasis: @mauve;
|
||||
--borderColor-sponsors-muted: #db61a266;
|
||||
--borderColor-sponsors-emphasis: @pink;
|
||||
& when (@lookup = latte) {
|
||||
--color-ansi-black: @subtext1;
|
||||
--color-ansi-black-bright: @subtext0;
|
||||
--color-ansi-gray: @subtext0;
|
||||
--color-ansi-white: @surface2;
|
||||
--color-ansi-white-bright: @surface1;
|
||||
}
|
||||
& when not(@lookup = latte) {
|
||||
--color-ansi-black: @surface1;
|
||||
--color-ansi-black-bright: @surface2;
|
||||
--color-ansi-gray: @surface2;
|
||||
--color-ansi-white: @subtext1;
|
||||
--color-ansi-white-bright: @subtext0;
|
||||
}
|
||||
--color-ansi-red: @red;
|
||||
--color-ansi-red-bright: @red;
|
||||
--color-ansi-green: @green;
|
||||
--color-ansi-green-bright: @green;
|
||||
--color-ansi-yellow: @yellow;
|
||||
--color-ansi-yellow-bright: @yellow;
|
||||
--color-ansi-blue: @blue;
|
||||
--color-ansi-blue-bright: @blue;
|
||||
--color-ansi-magenta: @pink;
|
||||
--color-ansi-magenta-bright: @pink;
|
||||
--color-ansi-cyan: @teal;
|
||||
--color-ansi-cyan-bright: @teal;
|
||||
--color-prettylights-syntax-comment: @overlay2;
|
||||
--color-prettylights-syntax-constant: @blue;
|
||||
--color-prettylights-syntax-constant-other-reference-link: @blue;
|
||||
--color-prettylights-syntax-entity: @blue;
|
||||
--color-prettylights-syntax-storage-modifier-import: @peach;
|
||||
--color-prettylights-syntax-entity-tag: @blue;
|
||||
--color-prettylights-syntax-keyword: @mauve;
|
||||
--color-prettylights-syntax-string: @green;
|
||||
--color-prettylights-syntax-variable: @peach;
|
||||
--color-prettylights-syntax-invalid-illegal-text: @red;
|
||||
--color-prettylights-syntax-invalid-illegal-bg: fadeout(@red, 85%);
|
||||
--color-prettylights-syntax-markup-heading: @red;
|
||||
--color-prettylights-syntax-markup-italic: @yellow;
|
||||
--color-prettylights-syntax-markup-bold: @yellow;
|
||||
--color-prettylights-syntax-markup-deleted-text: @text;
|
||||
--color-prettylights-syntax-markup-deleted-bg: fadeout(@red, 60%);
|
||||
--color-prettylights-syntax-markup-inserted-text: @text;
|
||||
--color-prettylights-syntax-markup-inserted-bg: fadeout(@green, 60%);
|
||||
--color-prettylights-syntax-markup-changed-text: @text;
|
||||
--color-prettylights-syntax-markup-changed-bg: fadeout(@yellow, 60%);
|
||||
--color-prettylights-syntax-markup-ignored-text: @text;
|
||||
--bgColor-white: @base;
|
||||
--color-scale-white: @base;
|
||||
--color-scale-gray-3: @overlay2;
|
||||
--color-scale-gray-5: @overlay0;
|
||||
--color-scale-gray-6: @surface1;
|
||||
--color-scale-gray-7: @surface1;
|
||||
--color-scale-blue-2: @sky;
|
||||
--color-scale-blue-5: @blue;
|
||||
--color-scale-green-3: @green;
|
||||
--color-scale-green-4: @green;
|
||||
--color-scale-yellow-3: @peach;
|
||||
--color-scale-orange-4: @peach;
|
||||
--color-scale-red-4: @red;
|
||||
--shadow-inset: inset 0px 1px 0px 0px @crust;
|
||||
--shadow-resting-xsmall: 0px 1px 0px 0px @crust;
|
||||
--shadow-resting-small: 0px 1px 0px 0px @crust, 0px 1px 3px 0px @crust;
|
||||
--shadow-resting-medium: 0px 3px 6px 0px @crust;
|
||||
--shadow-floating-small:
|
||||
0px 0px 0px 1px @base, 0px 6px 12px -3px @crust, 0px 6px 18px 0px @crust;
|
||||
--shadow-floating-medium:
|
||||
0px 0px 0px 1px @surface0, 0px 8px 16px -4px @crust, 0px 4px 32px -4px
|
||||
@crust, 0px 24px 48px -12px @crust, 0px 48px 96px -24px @crust;
|
||||
--shadow-floating-large:
|
||||
0px 0px 0px 1px @surface0, 0px 24px 48px 0px #010409;
|
||||
--shadow-floating-xlarge:
|
||||
0px 0px 0px 1px @surface0, 0px 32px 64px 0px #010409;
|
||||
--shadow-floating-legacy: 0px 6px 12px -3px @crust, 0px 6px 18px 0px @crust;
|
||||
--outline-focus: @blue solid 2px;
|
||||
|
||||
/* Customer Terms & Agreements Page: https://github.com/customer-terms */
|
||||
.enterprise-customer-agreement {
|
||||
color: @text !important;
|
||||
|
||||
&:hover {
|
||||
.octicon,
|
||||
h3 {
|
||||
color: @accent-color !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Enhanced Repo Insights Views - https://github.com/orgs/community/discussions/135572 */
|
||||
--data-blue-color-emphasis: @accent-color;
|
||||
--data-red-color-emphasis: @red;
|
||||
--data-green-color-emphasis: @green;
|
||||
|
||||
/* Copilot Chat */
|
||||
--display-green-fgColor: @green;
|
||||
--display-teal-fgColor: @teal;
|
||||
--display-purple-fgColor: @mauve;
|
||||
--display-blue-fgColor: @blue;
|
||||
--display-pink-fgColor: @pink;
|
||||
--display-gray-fgColor: @subtext0;
|
||||
react-app[app-name="copilot-immersive-v1"],
|
||||
copilot-dashboard-entrypoint {
|
||||
button {
|
||||
color: @text;
|
||||
}
|
||||
}
|
||||
|
||||
--tooltip-fgColor: @base;
|
||||
--tooltip-bgColor: @overlay2;
|
||||
|
||||
/* Refined GitHub */
|
||||
--rgh-heat-color: @peach;
|
||||
|
||||
.turbo-progress-bar {
|
||||
background-color: @accent-color;
|
||||
}
|
||||
|
||||
.form-select {
|
||||
@svg: escape(
|
||||
'<svg width="16" height="16" viewBox="0 0 16 16" fill="@{subtext0}" xmlns="http://www.w3.org/2000/svg"><path d="m4.427 9.427 3.396 3.396a.25.25 0 0 0 .354 0l3.396-3.396A.25.25 0 0 0 11.396 9H4.604a.25.25 0 0 0-.177.427M4.423 6.47 7.82 3.072a.25.25 0 0 1 .354 0L11.57 6.47a.25.25 0 0 1-.177.427H4.6a.25.25 0 0 1-.177-.427"/></svg>'
|
||||
);
|
||||
background-image: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
|
||||
img[src="https://github.githubassets.com/assets/mona-loading-default-c3c7aad1282f.gif"] {
|
||||
content: url("https://giscus.catppuccin.com/assets/loading_48x48.gif");
|
||||
}
|
||||
|
||||
/* Header when logged out */
|
||||
.HeaderMenu-link {
|
||||
color: @text;
|
||||
|
||||
&:hover {
|
||||
color: @text;
|
||||
}
|
||||
}
|
||||
.header-search-button {
|
||||
&.placeholder {
|
||||
color: @subtext0;
|
||||
}
|
||||
|
||||
svg {
|
||||
fill: @text !important;
|
||||
}
|
||||
}
|
||||
.HeaderMenu-toggle-bar {
|
||||
background-color: @text;
|
||||
}
|
||||
.notification-indicator .mail-status {
|
||||
background-image: linear-gradient(
|
||||
@accent-color,
|
||||
darken(@accent-color, 5%)
|
||||
);
|
||||
}
|
||||
|
||||
.CheckStep {
|
||||
.ansifg-r {
|
||||
color: var(--color-ansi-red);
|
||||
}
|
||||
.ansifg-y {
|
||||
color: var(--color-ansi-yellow);
|
||||
}
|
||||
.ansifg-g {
|
||||
color: var(--color-ansi-green);
|
||||
}
|
||||
.ansifg-b {
|
||||
color: var(--color-ansi-blue);
|
||||
}
|
||||
.ansifg-c {
|
||||
color: var(--color-ansi-cyan);
|
||||
}
|
||||
.ansifg-m {
|
||||
color: var(--color-ansi-magenta);
|
||||
}
|
||||
.ansifg-gr {
|
||||
color: var(--color-ansi-gray);
|
||||
}
|
||||
}
|
||||
|
||||
.js-activity-overview-graph .js-highlight-blob {
|
||||
fill: @accent-color;
|
||||
stroke: @accent-color;
|
||||
}
|
||||
|
||||
.subnav-link.selected {
|
||||
border-bottom-color: @accent-color;
|
||||
}
|
||||
|
||||
/* Pull request check in progress indicator */
|
||||
[stroke="#DBAB0A"] {
|
||||
stroke: fade(@yellow, 70%) !important;
|
||||
}
|
||||
[fill="#DBAB0A"] {
|
||||
fill: @yellow !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@-moz-document url-prefix(
|
||||
"https://viewscreen.githubusercontent.com/markdown/mermaid"
|
||||
) {
|
||||
[data-color-mode="auto"] {
|
||||
@media (prefers-color-scheme: light) {
|
||||
&[data-light-theme="light"] {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
&[data-light-theme="dark"] {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
&[data-dark-theme="light"] {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
&[data-dark-theme="dark"] {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
}
|
||||
[data-color-mode="light"][data-light-theme="dark"],
|
||||
[data-color-mode="dark"][data-dark-theme="dark"] {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
}
|
||||
[data-color-mode="light"][data-light-theme="light"],
|
||||
[data-color-mode="dark"][data-dark-theme="light"] {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
|
||||
#catppuccin(@lookup, @accent) {
|
||||
@rosewater: @catppuccin[@@lookup][@rosewater];
|
||||
@flamingo: @catppuccin[@@lookup][@flamingo];
|
||||
@pink: @catppuccin[@@lookup][@pink];
|
||||
@mauve: @catppuccin[@@lookup][@mauve];
|
||||
@red: @catppuccin[@@lookup][@red];
|
||||
@maroon: @catppuccin[@@lookup][@maroon];
|
||||
@peach: @catppuccin[@@lookup][@peach];
|
||||
@yellow: @catppuccin[@@lookup][@yellow];
|
||||
@green: @catppuccin[@@lookup][@green];
|
||||
@teal: @catppuccin[@@lookup][@teal];
|
||||
@sky: @catppuccin[@@lookup][@sky];
|
||||
@sapphire: @catppuccin[@@lookup][@sapphire];
|
||||
@blue: @catppuccin[@@lookup][@blue];
|
||||
@lavender: @catppuccin[@@lookup][@lavender];
|
||||
@text: @catppuccin[@@lookup][@text];
|
||||
@subtext1: @catppuccin[@@lookup][@subtext1];
|
||||
@subtext0: @catppuccin[@@lookup][@subtext0];
|
||||
@overlay2: @catppuccin[@@lookup][@overlay2];
|
||||
@overlay1: @catppuccin[@@lookup][@overlay1];
|
||||
@overlay0: @catppuccin[@@lookup][@overlay0];
|
||||
@surface2: @catppuccin[@@lookup][@surface2];
|
||||
@surface1: @catppuccin[@@lookup][@surface1];
|
||||
@surface0: @catppuccin[@@lookup][@surface0];
|
||||
@base: @catppuccin[@@lookup][@base];
|
||||
@mantle: @catppuccin[@@lookup][@mantle];
|
||||
@crust: @catppuccin[@@lookup][@crust];
|
||||
@accent-color: @catppuccin[@@lookup][@@accent];
|
||||
|
||||
::selection {
|
||||
background-color: fade(@accent-color, 30%);
|
||||
}
|
||||
|
||||
background-color: @base;
|
||||
|
||||
--color-btn-text: @text;
|
||||
--color-btn-bg: @surface0;
|
||||
--color-btn-border: @surface1;
|
||||
--color-btn-hover-bg: @surface1;
|
||||
--color-btn-hover-border: @surface2;
|
||||
--color-btn-active-bg: @surface2;
|
||||
--color-btn-selected-bg: @surface2;
|
||||
--color-btn-counter-bg: @surface2;
|
||||
--color-btn-outline-text: @accent-color;
|
||||
--color-fg-muted: @subtext1;
|
||||
--button-default-fgColor-rest: @text;
|
||||
--button-default-bgColor-rest: @surface0;
|
||||
--button-default-bgColor-hover: @surface1;
|
||||
--button-default-bgColor-active: @surface2;
|
||||
--button-default-bgColor-selected: @surface2;
|
||||
--button-default-bgColor-disabled: fade(@surface0, 70%);
|
||||
--button-default-borderColor-rest: @surface1;
|
||||
--button-default-borderColor-hover: @surface1;
|
||||
--button-default-borderColor-active: @surface1;
|
||||
--button-default-borderColor-disabled: fade(@surface0, 70%);
|
||||
|
||||
#diagram {
|
||||
.node rect,
|
||||
.node circle,
|
||||
.node ellipse,
|
||||
.node polygon,
|
||||
.node path {
|
||||
fill: fade(@accent-color, 10%);
|
||||
stroke: @accent-color;
|
||||
}
|
||||
|
||||
.cluster rect {
|
||||
fill: @surface0;
|
||||
stroke: @surface2;
|
||||
}
|
||||
|
||||
.label text,
|
||||
span,
|
||||
p {
|
||||
fill: @text;
|
||||
color: @text;
|
||||
}
|
||||
|
||||
.flowchart-link {
|
||||
stroke: @subtext0;
|
||||
}
|
||||
.marker {
|
||||
stroke: @subtext0;
|
||||
fill: @subtext0;
|
||||
}
|
||||
|
||||
.edgeLabel {
|
||||
background-color: @crust;
|
||||
p {
|
||||
background-color: @surface2;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.octicon {
|
||||
fill: var(--color-fg-muted) !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@-moz-document regexp(
|
||||
"https:\/\/notebooks\.githubusercontent\.com\/view\/ipynb.*"
|
||||
) {
|
||||
:root {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
}
|
||||
|
||||
#catppuccin(@lookup, @accent) {
|
||||
@rosewater: @catppuccin[@@lookup][@rosewater];
|
||||
@flamingo: @catppuccin[@@lookup][@flamingo];
|
||||
@pink: @catppuccin[@@lookup][@pink];
|
||||
@mauve: @catppuccin[@@lookup][@mauve];
|
||||
@red: @catppuccin[@@lookup][@red];
|
||||
@maroon: @catppuccin[@@lookup][@maroon];
|
||||
@peach: @catppuccin[@@lookup][@peach];
|
||||
@yellow: @catppuccin[@@lookup][@yellow];
|
||||
@green: @catppuccin[@@lookup][@green];
|
||||
@teal: @catppuccin[@@lookup][@teal];
|
||||
@sky: @catppuccin[@@lookup][@sky];
|
||||
@sapphire: @catppuccin[@@lookup][@sapphire];
|
||||
@blue: @catppuccin[@@lookup][@blue];
|
||||
@lavender: @catppuccin[@@lookup][@lavender];
|
||||
@text: @catppuccin[@@lookup][@text];
|
||||
@subtext1: @catppuccin[@@lookup][@subtext1];
|
||||
@subtext0: @catppuccin[@@lookup][@subtext0];
|
||||
@overlay2: @catppuccin[@@lookup][@overlay2];
|
||||
@overlay1: @catppuccin[@@lookup][@overlay1];
|
||||
@overlay0: @catppuccin[@@lookup][@overlay0];
|
||||
@surface2: @catppuccin[@@lookup][@surface2];
|
||||
@surface1: @catppuccin[@@lookup][@surface1];
|
||||
@surface0: @catppuccin[@@lookup][@surface0];
|
||||
@base: @catppuccin[@@lookup][@base];
|
||||
@mantle: @catppuccin[@@lookup][@mantle];
|
||||
@crust: @catppuccin[@@lookup][@crust];
|
||||
@accent-color: @catppuccin[@@lookup][@@accent];
|
||||
|
||||
color-scheme: if(@lookup = latte, light, dark);
|
||||
|
||||
::selection {
|
||||
background-color: fade(@accent-color, 30%);
|
||||
}
|
||||
|
||||
input,
|
||||
textarea {
|
||||
&::placeholder {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
--jp-border-color0: var(--color-scale-gray-7);
|
||||
--jp-border-color1: var(--color-scale-gray-7);
|
||||
--jp-border-color2: var(--color-scale-gray-8);
|
||||
--jp-border-color3: var(--color-scale-gray-9);
|
||||
--jp-ui-font-color0: @text;
|
||||
--jp-ui-font-color1: fadeout(@text, 13%);
|
||||
--jp-ui-font-color2: fadeout(@text, 46%);
|
||||
--jp-ui-font-color3: fadeout(@text, 72%);
|
||||
--jp-ui-inverse-font-color0: @crust;
|
||||
--jp-ui-inverse-font-color1: fadeout(@crust, 20%);
|
||||
--jp-ui-inverse-font-color2: fadeout(@crust, 50%);
|
||||
--jp-ui-inverse-font-color3: fadeout(@crust, 70%);
|
||||
--jp-content-font-color0: @text;
|
||||
--jp-content-font-color1: @text;
|
||||
--jp-content-font-color2: fadeout(@text, 30%);
|
||||
--jp-content-font-color3: fadeout(@text, 50%);
|
||||
--jp-content-link-color: @sapphire;
|
||||
--jp-layout-color0: @base !important;
|
||||
--jp-layout-color1: var(--color-scale-gray-9);
|
||||
--jp-layout-color2: var(--color-scale-gray-8);
|
||||
--jp-layout-color3: var(--color-scale-gray-7);
|
||||
--jp-layout-color4: var(--color-scale-gray-6);
|
||||
--jp-inverse-layout-color0: var(--color-scale-white);
|
||||
--jp-inverse-layout-color1: var(--color-scale-white);
|
||||
--jp-inverse-layout-color2: var(--color-scale-gray-2);
|
||||
--jp-inverse-layout-color3: var(--color-scale-gray-4);
|
||||
--jp-inverse-layout-color4: var(--color-scale-gray-6);
|
||||
--jp-brand-color0: var(--color-scale-blue-7);
|
||||
--jp-brand-color1: var(--color-scale-blue-5);
|
||||
--jp-brand-color2: var(--color-scale-blue-3);
|
||||
--jp-brand-color3: var(--color-scale-blue-1);
|
||||
--jp-brand-color4: var(--color-scale-blue-0);
|
||||
--jp-accent-color0: var(--color-scale-green-7);
|
||||
--jp-accent-color1: var(--color-scale-green-5);
|
||||
--jp-accent-color2: var(--color-scale-green-3);
|
||||
--jp-accent-color3: var(--color-scale-green-1);
|
||||
--jp-warn-color0: var(--color-scale-orange-7);
|
||||
--jp-warn-color1: var(--color-scale-orange-5);
|
||||
--jp-warn-color2: var(--color-scale-orange-3);
|
||||
--jp-warn-color3: var(--color-scale-orange-1);
|
||||
--jp-error-color0: var(--color-scale-red-7);
|
||||
--jp-error-color1: var(--color-scale-red-5);
|
||||
--jp-error-color2: var(--color-scale-red-3);
|
||||
--jp-error-color3: var(--color-scale-red-1);
|
||||
--jp-success-color0: var(--color-scale-green-7);
|
||||
--jp-success-color1: var(--color-scale-green-5);
|
||||
--jp-success-color2: var(--color-scale-green-3);
|
||||
--jp-success-color3: var(--color-scale-green-1);
|
||||
--jp-info-color0: var(--color-scale-blue-7);
|
||||
--jp-info-color1: var(--color-scale-blue-5);
|
||||
--jp-info-color2: var(--color-scale-blue-3);
|
||||
--jp-info-color3: var(--color-scale-blue-1);
|
||||
--jp-cell-editor-background: @mantle;
|
||||
--jp-cell-editor-border-color: var(--color-scale-gray-7);
|
||||
--jp-cell-editor-box-shadow: inset 0 0 2px var(--color-scale-blue-3);
|
||||
--jp-cell-prompt-not-active-font-color: fadeout(@text, 50%);
|
||||
--jp-cell-inprompt-font-color: var(--color-scale-blue-6);
|
||||
--jp-cell-outprompt-font-color: var(--color-scale-coral-6);
|
||||
--jp-notebook-multiselected-color: fadeout(@overlay2, 86%);
|
||||
--jp-rendermime-error-background: fadeout(@red, 82%);
|
||||
--jp-rendermime-table-row-background: var(--color-scale-gray-9);
|
||||
--jp-rendermime-table-row-hover-background: fadeout(@surface2, 86%);
|
||||
--jp-dialog-background: fadeout(@crust, 40%);
|
||||
--jp-toolbar-box-shadow: 0px 0px 2px 0px fadeout(@crust, 20%);
|
||||
--jp-input-box-shadow: inset 0 0 2px var(--color-scale-blue-3);
|
||||
--jp-input-background: var(--color-scale-gray-8);
|
||||
--jp-input-active-box-shadow-color: fadeout(@blue, 70%);
|
||||
--jp-editor-selected-focused-background: fadeout(@blue, 86%);
|
||||
--jp-mirror-editor-keyword-color: var(--color-scale-green-5);
|
||||
--jp-mirror-editor-atom-color: var(--color-scale-blue-3);
|
||||
--jp-mirror-editor-number-color: var(--color-scale-green-4);
|
||||
--jp-mirror-editor-def-color: var(--color-scale-blue-6);
|
||||
--jp-mirror-editor-variable-color: var(--color-scale-gray-3);
|
||||
--jp-mirror-editor-variable-2-color: var(--color-scale-blue-4);
|
||||
--jp-mirror-editor-variable-3-color: var(--color-scale-green-6);
|
||||
--jp-mirror-editor-punctuation-color: var(--color-scale-blue-4);
|
||||
--jp-mirror-editor-property-color: var(--color-scale-blue-4);
|
||||
--jp-mirror-editor-operator-color: @mauve;
|
||||
--jp-mirror-editor-comment-color: @subtext0;
|
||||
--jp-mirror-editor-string-color: @peach;
|
||||
--jp-mirror-editor-string-2-color: var(--color-scale-purple-3);
|
||||
--jp-mirror-editor-meta-color: @mauve;
|
||||
--jp-mirror-editor-qualifier-color: var(--color-scale-gray-5);
|
||||
--jp-mirror-editor-builtin-color: var(--color-scale-green-6);
|
||||
--jp-mirror-editor-bracket-color: var(--color-scale-gray-2);
|
||||
--jp-mirror-editor-tag-color: var(--color-scale-blue-7);
|
||||
--jp-mirror-editor-attribute-color: var(--color-scale-blue-7);
|
||||
--jp-mirror-editor-header-color: var(--color-scale-blue-5);
|
||||
--jp-mirror-editor-quote-color: var(--color-scale-green-3);
|
||||
--jp-mirror-editor-link-color: var(--color-scale-blue-7);
|
||||
--jp-mirror-editor-error-color: @red;
|
||||
--jp-mirror-editor-hr-color: var(--color-scale-gray-8);
|
||||
--jp-vega-background: var(--color-scale-gray-4);
|
||||
--jp-search-selected-match-background-color: @yellow;
|
||||
--jp-search-selected-match-color: @crust;
|
||||
--jp-icon-contrast-color0: var(--color-scale-purple-6);
|
||||
--jp-icon-contrast-color1: var(--color-scale-green-6);
|
||||
--jp-icon-contrast-color2: var(--color-scale-pink-6);
|
||||
--jp-icon-contrast-color3: var(--color-scale-blue-6);
|
||||
}
|
||||
}
|
||||
|
||||
/* deno-fmt-ignore */
|
||||
@catppuccin: {
|
||||
@latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
|
||||
@frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
|
||||
@macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
|
||||
@mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
|
||||
};
|
||||
@@ -1,9 +1,9 @@
|
||||
/* ==UserStyle==
|
||||
@name Gmail Catppuccin
|
||||
@name Gmail Catppuccin [STUB | UPDATE REQUIRED]
|
||||
@namespace github.com/catppuccin/userstyles/styles/gmail
|
||||
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/gmail
|
||||
@version 2024.12.28
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/gmail/catppuccin.user.css
|
||||
@version 2024.12.29
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/gmail/catppuccin.user.less
|
||||
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Agmail
|
||||
@description Soothing pastel theme for Gmail
|
||||
@author Catppuccin
|
||||
@@ -13,978 +13,4 @@
|
||||
@var select lightFlavor "Light Flavor" ["latte:Latte*", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha"]
|
||||
@var select darkFlavor "Dark Flavor" ["latte:Latte", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha*"]
|
||||
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
|
||||
==/UserStyle== */
|
||||
|
||||
@-moz-document domain("mail.google.com") {
|
||||
@media (prefers-color-scheme: light) {
|
||||
:root {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
|
||||
#catppuccin(@lookup, @accent) {
|
||||
@rosewater: @catppuccin[@@lookup][@rosewater];
|
||||
@flamingo: @catppuccin[@@lookup][@flamingo];
|
||||
@pink: @catppuccin[@@lookup][@pink];
|
||||
@mauve: @catppuccin[@@lookup][@mauve];
|
||||
@red: @catppuccin[@@lookup][@red];
|
||||
@maroon: @catppuccin[@@lookup][@maroon];
|
||||
@peach: @catppuccin[@@lookup][@peach];
|
||||
@yellow: @catppuccin[@@lookup][@yellow];
|
||||
@green: @catppuccin[@@lookup][@green];
|
||||
@teal: @catppuccin[@@lookup][@teal];
|
||||
@sky: @catppuccin[@@lookup][@sky];
|
||||
@sapphire: @catppuccin[@@lookup][@sapphire];
|
||||
@blue: @catppuccin[@@lookup][@blue];
|
||||
@lavender: @catppuccin[@@lookup][@lavender];
|
||||
@text: @catppuccin[@@lookup][@text];
|
||||
@subtext1: @catppuccin[@@lookup][@subtext1];
|
||||
@subtext0: @catppuccin[@@lookup][@subtext0];
|
||||
@overlay2: @catppuccin[@@lookup][@overlay2];
|
||||
@overlay1: @catppuccin[@@lookup][@overlay1];
|
||||
@overlay0: @catppuccin[@@lookup][@overlay0];
|
||||
@surface2: @catppuccin[@@lookup][@surface2];
|
||||
@surface1: @catppuccin[@@lookup][@surface1];
|
||||
@surface0: @catppuccin[@@lookup][@surface0];
|
||||
@base: @catppuccin[@@lookup][@base];
|
||||
@mantle: @catppuccin[@@lookup][@mantle];
|
||||
@crust: @catppuccin[@@lookup][@crust];
|
||||
@accent-color: @catppuccin[@@lookup][@@accent];
|
||||
|
||||
@crust-filter: @catppuccin[@@lookup][@crust_filter];
|
||||
@text-filter: @catppuccin[@@lookup][@text_filter];
|
||||
@yellow-filter: @catppuccin[@@lookup][@yellow_filter];
|
||||
|
||||
color-scheme: if(@lookup = latte, light, dark);
|
||||
|
||||
::selection {
|
||||
background-color: fade(@accent-color, 30%);
|
||||
}
|
||||
|
||||
input,
|
||||
textarea {
|
||||
&::placeholder {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
|
||||
caret-color: @text;
|
||||
}
|
||||
|
||||
#input-styling {
|
||||
input,
|
||||
select,
|
||||
button {
|
||||
background-color: @mantle;
|
||||
color: @text;
|
||||
border-color: @surface0;
|
||||
border-style: solid;
|
||||
border-width: 1px;
|
||||
box-shadow: none;
|
||||
}
|
||||
}
|
||||
|
||||
* {
|
||||
text-shadow: none !important;
|
||||
}
|
||||
|
||||
/* Gmail logo */
|
||||
[src="https://ssl.gstatic.com/ui/v1/icons/mail/rfr/logo_gmail_lockup_default_1x_r5.png"],
|
||||
[src="https://ssl.gstatic.com/ui/v1/icons/mail/rfr/logo_gmail_lockup_dark_1x_r5.png"]
|
||||
{
|
||||
height: unset !important;
|
||||
width: unset !important;
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="17.727 14.319 30 22.5" width="30" height="22.5"><path fill="@{blue}" d="M19.773 36.819h4.773V25.227l-6.819-5.114v14.659a2.044 2.044 0 0 0 2.045 2.045"/><path fill="@{green}" d="M40.909 36.819h4.773a2.044 2.044 0 0 0 2.045-2.045v-14.66l-6.819 5.114"/><path fill="@{yellow}" d="M40.909 16.364v8.864l6.819-5.114v-2.727c0-2.529-2.888-3.971-4.909-2.455"/><path fill="@{red}" d="M24.545 25.227v-8.863l8.181 6.136 8.181-6.136v8.864l-8.181 6.136m-15-13.977v2.727l6.819 5.114v-8.864l-1.909-1.431c-2.025-1.517-4.91-.075-4.91 2.455"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
|
||||
/* Tooltips */
|
||||
.T-ays-iP,
|
||||
.gb_Ac {
|
||||
background-color: @crust;
|
||||
color: @text;
|
||||
}
|
||||
|
||||
/* Buttons */
|
||||
|
||||
/* Solid primary */
|
||||
.T-I-atl {
|
||||
background-color: @accent-color;
|
||||
color: @crust;
|
||||
}
|
||||
|
||||
/* Transparent primary */
|
||||
.l0,
|
||||
div.b8 .a8k,
|
||||
.bAo > .ad {
|
||||
color: @accent-color;
|
||||
|
||||
&::before {
|
||||
background-color: @accent-color;
|
||||
}
|
||||
}
|
||||
|
||||
/* Transparent secondary */
|
||||
.bs0 > .acM,
|
||||
.bti > .btg,
|
||||
.a8Y > .T-I-ax7 {
|
||||
color: @text;
|
||||
|
||||
/* Disabled */
|
||||
&.acN {
|
||||
color: @subtext0;
|
||||
}
|
||||
|
||||
&:hover::before {
|
||||
background-color: @overlay2;
|
||||
}
|
||||
}
|
||||
|
||||
/* Header and sidebars */
|
||||
.w-asV,
|
||||
.bkL,
|
||||
.bhZ.bym,
|
||||
.bhZ.bjB,
|
||||
.bhZ.bym.baA {
|
||||
background-color: @mantle;
|
||||
}
|
||||
/* Header icons */
|
||||
.gb_Lc svg,
|
||||
.gb_Pc.gb_Uc svg,
|
||||
.gb_Lc .gb_rd .gb_sd,
|
||||
.gb_Lc .gb_rd .gb_Kc,
|
||||
.gb_Lc .gb_rd .gb_ud,
|
||||
.gb_Pc.gb_Uc .gb_sd {
|
||||
color: @text;
|
||||
}
|
||||
/* Search mail input */
|
||||
.gb_Lc .gb_hd {
|
||||
background-color: @crust;
|
||||
|
||||
.gb_je,
|
||||
svg {
|
||||
color: @text;
|
||||
}
|
||||
}
|
||||
/* Active search / filter modal */
|
||||
.gssb_c {
|
||||
/* Icons */
|
||||
button svg,
|
||||
.asor {
|
||||
filter: @text-filter;
|
||||
}
|
||||
|
||||
/* Recent searches */
|
||||
.aRp,
|
||||
.gssb_e,
|
||||
.gssb_m {
|
||||
background-color: @base;
|
||||
color: @text;
|
||||
}
|
||||
|
||||
/* Hovered recent searches */
|
||||
.gssb_i {
|
||||
background-color: @surface0;
|
||||
|
||||
> .gssb_a {
|
||||
border-left-color: @accent-color;
|
||||
}
|
||||
|
||||
/* X icon */
|
||||
.gsaq_b {
|
||||
filter: @text-filter;
|
||||
}
|
||||
}
|
||||
|
||||
.aSP,
|
||||
.gssb_e {
|
||||
border-color: @surface2;
|
||||
}
|
||||
|
||||
/* Separator */
|
||||
.gssb_l {
|
||||
background-color: @surface0;
|
||||
}
|
||||
|
||||
/* Search results */
|
||||
|
||||
/* Icons */
|
||||
.gsoi_0,
|
||||
.asor_o,
|
||||
.gsoi_msra {
|
||||
filter: @text-filter;
|
||||
}
|
||||
|
||||
/* People involved */
|
||||
.asor_e {
|
||||
color: @subtext0;
|
||||
}
|
||||
}
|
||||
/* Pill filters */
|
||||
.H2 {
|
||||
background-color: @base;
|
||||
border-color: @surface0;
|
||||
color: @subtext1;
|
||||
fill: @subtext1;
|
||||
|
||||
&:hover {
|
||||
background-color: @mantle;
|
||||
}
|
||||
|
||||
&.bws {
|
||||
background-color: @accent-color;
|
||||
color: @crust;
|
||||
fill: @crust;
|
||||
|
||||
.HV {
|
||||
filter: @crust-filter;
|
||||
}
|
||||
|
||||
&:hover .H1 {
|
||||
background-color: darken(@accent-color, 5%);
|
||||
}
|
||||
}
|
||||
}
|
||||
.aqc .H2 {
|
||||
border-color: @text;
|
||||
color: @text;
|
||||
|
||||
&.bws {
|
||||
background-color: @surface2;
|
||||
color: @mantle;
|
||||
}
|
||||
}
|
||||
/* Advanced search/filters modal */
|
||||
.ZF-z6,
|
||||
.ZF-zT,
|
||||
.ZF-Av .lJ,
|
||||
.ZF-Av .lN {
|
||||
background-color: @base;
|
||||
|
||||
&,
|
||||
.boo > .ZG,
|
||||
.boo .aQl > .J-JN-M-I-Jm,
|
||||
.boo .aaa > .J-JN-M-I-Jm,
|
||||
.boo .ZE > .J-JN-M-I-Jm {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
.btl.acK,
|
||||
.btn::before {
|
||||
filter: @text-filter;
|
||||
}
|
||||
|
||||
/* Text inputs */
|
||||
.nr {
|
||||
background-color: @base;
|
||||
color: @text;
|
||||
|
||||
&:focus {
|
||||
box-shadow: inset 0 -1px 0 0 @accent-color;
|
||||
}
|
||||
}
|
||||
|
||||
/* Calendar input */
|
||||
.bs5::after {
|
||||
filter: @text-filter;
|
||||
}
|
||||
.J-JB-KA,
|
||||
.J-JB-KA-JS,
|
||||
.J-JB-KA-Jk,
|
||||
.J-JB-KA-LG {
|
||||
background-color: @base;
|
||||
color: @text;
|
||||
border-color: @surface0;
|
||||
|
||||
/* Past days */
|
||||
.J-JB-KA-Ku-Kk {
|
||||
color: @subtext0;
|
||||
}
|
||||
/* Future days */
|
||||
.J-JB-KA-a1R-JB.J-JB-KA-LH,
|
||||
.J-JB-KA-a1R-JB.J-JB-KA-Ku-Kk,
|
||||
.J-JB-KA-JB.J-JB-KA-a1R-JB {
|
||||
color: @subtext1;
|
||||
}
|
||||
|
||||
/* Hovered day */
|
||||
.J-JB-KA-JB:not(.J-JB-KA-K8, .J-JB-KA-KO):hover {
|
||||
color: @crust;
|
||||
|
||||
&::before {
|
||||
background-color: fade(@accent-color, 70%);
|
||||
}
|
||||
}
|
||||
|
||||
/* Selected day */
|
||||
.J-JB-KA-KO {
|
||||
color: @crust;
|
||||
|
||||
&::before {
|
||||
background-color: @accent-color;
|
||||
}
|
||||
}
|
||||
|
||||
/* Unselected today */
|
||||
.J-JB-KA-K8 {
|
||||
color: @crust;
|
||||
|
||||
&::before {
|
||||
background-color: @overlay2;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Checkbox inputs */
|
||||
.bs1 + .bs3,
|
||||
.btj + .aD {
|
||||
color: @text;
|
||||
|
||||
&::before {
|
||||
filter: @text-filter;
|
||||
}
|
||||
}
|
||||
|
||||
/* Dropdown/select inputs */
|
||||
.J-JN-M-I {
|
||||
color: @text;
|
||||
}
|
||||
}
|
||||
|
||||
/* Sidebar selected item */
|
||||
.TK .TO.nZ:active,
|
||||
.TK .TO.ol:active,
|
||||
.TK .TO.nZ,
|
||||
.TK .TO.ol,
|
||||
.byl .TK .nZ.aBP,
|
||||
.byl .TK .nZ.aS3,
|
||||
.byl .TK .nZ.aS4,
|
||||
.byl .TK .nZ.aS5,
|
||||
.byl .TK .nZ.aS6,
|
||||
.VDSZAf.H5o3mc {
|
||||
background-color: @surface0;
|
||||
}
|
||||
.TO.NQ,
|
||||
.n6 .ah9:hover,
|
||||
.n6 .ah9.aiu:hover,
|
||||
.n6 .ah9:focus,
|
||||
.TK .TO:active,
|
||||
.n6 .ah9.aiu:active,
|
||||
.CL:hover,
|
||||
.H5o3mc:not(.VDSZAf):hover,
|
||||
.CL.NQ,
|
||||
.H5o3mc:not(.VDSZAf).NQ {
|
||||
background-color: @surface1;
|
||||
}
|
||||
.byl .TK .TO.nZ > .aHS-bnt .n0,
|
||||
.TK .nZ > .aHS-bnt .bsU,
|
||||
.byl .TK .nZ.aS3 .nU > .n0,
|
||||
.TK .nZ.aS3 .bsU,
|
||||
.byl .TK .nZ.aS4 .nU > .n0,
|
||||
.TK .nZ.aS4 .bsU,
|
||||
.byl .TK .nZ.aS5 .nU > .n0,
|
||||
.TK .nZ.aS5 .bsU,
|
||||
.byl .TK .nZ.aS6 .nU > .n0,
|
||||
.TK .nZ.aS6 .bsU,
|
||||
.TK .TO.nZ .nU > .n0,
|
||||
.TK .ol.NQ .nU > .n0,
|
||||
.TK .TO.ol .nU > .n0,
|
||||
.TK .nZ .bsU,
|
||||
.TK .ol .bsU,
|
||||
.VDSZAf.H5o3mc > .Q7,
|
||||
.TO .nU > .n0,
|
||||
.TO.NQ .nU > .n0,
|
||||
.TO.nZ .nU > .n0,
|
||||
.ah9 > .CJ,
|
||||
.n3 > .CL > .CK,
|
||||
.aAv,
|
||||
.bsU {
|
||||
color: @text;
|
||||
}
|
||||
/* Icons */
|
||||
.nZ > .TN.aHS-bnt .qj,
|
||||
.TO:not(.nZ) > .TN > .qj:not([style*="background-color"]),
|
||||
.n6 .n4 .G-asx,
|
||||
.aAw .aAu,
|
||||
.pM,
|
||||
.TO.nZ > .TN > .qj,
|
||||
.n3 .CL::before {
|
||||
filter: @text-filter;
|
||||
}
|
||||
|
||||
/* Compose email button */
|
||||
.z0 > .L3 {
|
||||
background-color: @accent-color;
|
||||
color: @crust;
|
||||
|
||||
&:focus {
|
||||
background-color: @text;
|
||||
}
|
||||
}
|
||||
.WR .z0 > .L3::before,
|
||||
.WR.anZ .z0 > .L3::before {
|
||||
filter: @crust-filter;
|
||||
}
|
||||
|
||||
/* Top section of inbox */
|
||||
.bkK > .nH {
|
||||
background-color: @surface0;
|
||||
|
||||
/* Icons */
|
||||
.bzn,
|
||||
.aqJ .amJ,
|
||||
.adg .adk {
|
||||
filter: @text-filter;
|
||||
}
|
||||
}
|
||||
/* Inbox categories */
|
||||
.aKx > .aKz {
|
||||
color: @text;
|
||||
}
|
||||
/* Icons */
|
||||
.aAy > div {
|
||||
filter: @text-filter;
|
||||
}
|
||||
/* Currently selected category */
|
||||
.J-KU-KO::before {
|
||||
background-color: @text;
|
||||
}
|
||||
/* Inbox categories hover */
|
||||
.aRz.J-KU:hover {
|
||||
background-color: @surface1;
|
||||
}
|
||||
/* Email count / pagination */
|
||||
div[aria-label="Show more messages"] {
|
||||
.Dj {
|
||||
color: @subtext1;
|
||||
}
|
||||
|
||||
&::before {
|
||||
background-color: @text;
|
||||
}
|
||||
}
|
||||
.h0 {
|
||||
color: @subtext1;
|
||||
}
|
||||
/* Inbox footer */
|
||||
.md.mj,
|
||||
.aeU .ma,
|
||||
.ma .mb,
|
||||
.ae3 .l6,
|
||||
.l9,
|
||||
.l8,
|
||||
.aiD {
|
||||
color: @subtext1;
|
||||
}
|
||||
/* Storage progress bar */
|
||||
.aiC {
|
||||
background-color: @overlay0;
|
||||
|
||||
.aiA {
|
||||
background-color: @subtext0;
|
||||
}
|
||||
}
|
||||
/* External link icon */
|
||||
.aiz {
|
||||
filter: @text-filter;
|
||||
}
|
||||
|
||||
/* Read emails */
|
||||
.yO {
|
||||
background-color: @base;
|
||||
color: @text;
|
||||
|
||||
box-shadow: inset 0 -1px 0 0 @surface0;
|
||||
|
||||
&:hover {
|
||||
box-shadow:
|
||||
inset 1px 0 0 @surface0,
|
||||
inset -1px 0 0 @surface0,
|
||||
0 0 4px 0 @surface1,
|
||||
0 0 6px 2px @surface1;
|
||||
}
|
||||
}
|
||||
/* Read email text */
|
||||
.zE {
|
||||
color: @text;
|
||||
}
|
||||
// Select icon
|
||||
.xY > .T-Jo,
|
||||
td.apU > .T-KT.aXw::before,
|
||||
// Important icon
|
||||
.pG .a9q,
|
||||
// Delete/trash icon
|
||||
.aqN,
|
||||
// Hover action icons
|
||||
.bqY li {
|
||||
filter: @text-filter;
|
||||
}
|
||||
/* Important icon filled, star icon filled */
|
||||
.ha .a9q.pH,
|
||||
.a9q.pH,
|
||||
.aoj,
|
||||
td.apU > .T-KT.T-KT-Jp::before {
|
||||
filter: @yellow-filter;
|
||||
}
|
||||
.pG:hover > .a9q::before {
|
||||
background-color: fade(@yellow, 30%);
|
||||
}
|
||||
/* Read email dates */
|
||||
.yO > .xW {
|
||||
color: @subtext0;
|
||||
}
|
||||
/* Read email summary truncated */
|
||||
.y2 {
|
||||
color: @subtext1;
|
||||
}
|
||||
/* Selected unread emails */
|
||||
.x7 {
|
||||
background-color: @accent-color;
|
||||
color: @mantle;
|
||||
|
||||
/* Dates */
|
||||
.xW {
|
||||
color: @crust;
|
||||
}
|
||||
|
||||
// Select icon
|
||||
.xY > .T-Jo,
|
||||
// Star icon
|
||||
td.apU > .T-KT.aXw::before,
|
||||
// Important icon
|
||||
.pG .a9q,
|
||||
// Delete/trash icon
|
||||
.aqN,
|
||||
// Hover action icons
|
||||
.bqY li {
|
||||
filter: @crust-filter;
|
||||
}
|
||||
}
|
||||
/* Unsubscribe button */
|
||||
.aOd.T-I {
|
||||
color: @text;
|
||||
box-shadow: inset 0 0 0 1px @surface2;
|
||||
}
|
||||
/* Draft text */
|
||||
.boq {
|
||||
color: @red;
|
||||
}
|
||||
/* No drafts message, trash 30 days message */
|
||||
.TD,
|
||||
.Tm .ya {
|
||||
background-color: @surface1;
|
||||
color: @text;
|
||||
}
|
||||
/* Your social/promotions/updates tab is empty */
|
||||
.aRs {
|
||||
background-color: @base;
|
||||
color: @subtext0;
|
||||
|
||||
.aRv {
|
||||
color: @text;
|
||||
}
|
||||
.aRq {
|
||||
color: @accent-color;
|
||||
}
|
||||
}
|
||||
/* You could lose access banner */
|
||||
.GR {
|
||||
background-color: @base;
|
||||
|
||||
/* Primary text */
|
||||
.GX {
|
||||
color: @text;
|
||||
}
|
||||
/* Subtext */
|
||||
.GT {
|
||||
color: @subtext1;
|
||||
}
|
||||
|
||||
/* Dismiss button */
|
||||
.GW {
|
||||
color: @text;
|
||||
|
||||
&::before {
|
||||
background-color: @text;
|
||||
}
|
||||
}
|
||||
/* Add recovery info button */
|
||||
.GV {
|
||||
color: @accent-color;
|
||||
|
||||
&::before {
|
||||
background-color: @accent-color;
|
||||
}
|
||||
}
|
||||
}
|
||||
/* Attachments chips */
|
||||
.brc {
|
||||
box-shadow: inset 0 0 0 1px @surface0;
|
||||
color: @text;
|
||||
|
||||
&:hover {
|
||||
background-color: @surface0;
|
||||
}
|
||||
}
|
||||
|
||||
/* Floating menu */
|
||||
.J-M,
|
||||
.OO.Pa {
|
||||
background-color: @surface1;
|
||||
|
||||
/* Menu section header */
|
||||
.J-awr,
|
||||
.asc {
|
||||
color: @subtext1;
|
||||
}
|
||||
|
||||
/* Menu item */
|
||||
|
||||
.J-N,
|
||||
.J-Ks-KO .J-N-Jz,
|
||||
.J-N-JT .J-N-Jz,
|
||||
.J-N-JW .J-N-Jz,
|
||||
.J-LC,
|
||||
.J-JK,
|
||||
.bmz {
|
||||
color: @text;
|
||||
}
|
||||
/* Disabled */
|
||||
.J-N-JE .J-N-atj,
|
||||
.J-N-JE .J-N-Jz {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
|
||||
/* Checkmark, arrow, checkbox, star, calendar icon */
|
||||
.J-Ks-KO .J-N-Jo,
|
||||
.asi .J-Ks-KO::before,
|
||||
.J-Ph-hFsbo,
|
||||
.J-LC-Jo,
|
||||
.bi4 > .T-KT:not(.T-KT-Jp, .byM)::before,
|
||||
.aaA.mYVwse,
|
||||
.J-N-JX {
|
||||
filter: @text-filter;
|
||||
}
|
||||
.bmz.bjF::before {
|
||||
border-color: @subtext0;
|
||||
}
|
||||
|
||||
/* Hovered menu item */
|
||||
.J-N-JT,
|
||||
.J-N-JW,
|
||||
.J-LC-JT,
|
||||
.J-LC-JW,
|
||||
.J-JK-JT,
|
||||
.J-JK-JW,
|
||||
.bmz.bk5 {
|
||||
background-color: @surface2;
|
||||
border-color: @overlay1;
|
||||
}
|
||||
|
||||
/* Menu section divider */
|
||||
.J-Kh {
|
||||
border-top-color: @surface2;
|
||||
}
|
||||
}
|
||||
/* Modal search input */
|
||||
.agd .J-M-JJ input {
|
||||
background-color: @surface1;
|
||||
color: @text;
|
||||
}
|
||||
.bqf {
|
||||
box-shadow: inset 0 -2px 0 0 @surface2;
|
||||
|
||||
&:focus {
|
||||
box-shadow: inset 0 -2px 0 0 @accent-color;
|
||||
}
|
||||
}
|
||||
/* Magnifying glass icon */
|
||||
.A0 {
|
||||
filter: @text-filter;
|
||||
}
|
||||
/* Edit label modal */
|
||||
div.Kj-JD {
|
||||
background-color: @base;
|
||||
|
||||
/* Edit label text */
|
||||
span.Kj-JD-K7-K0 {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
/* Close X icon */
|
||||
span.Kj-JD-K7-Jq::after {
|
||||
filter: @text-filter;
|
||||
}
|
||||
|
||||
#input-styling();
|
||||
|
||||
/* Input labels */
|
||||
div.Kj-JD-Jz {
|
||||
color: @subtext1;
|
||||
}
|
||||
|
||||
/* Cancel button */
|
||||
div.Kj-JD-Jl > button,
|
||||
.bBh .Kj-JD-Jl > .J-at1-auR {
|
||||
color: @subtext1;
|
||||
}
|
||||
|
||||
/* Save button */
|
||||
div.Kj-JD-Jl > button.J-at1-atl,
|
||||
div.Kj-JD-Jl > button.J-at1-auR {
|
||||
background-color: @accent-color;
|
||||
color: @crust;
|
||||
}
|
||||
}
|
||||
|
||||
/* Toast notifications */
|
||||
.bAp.b8.UC .vh {
|
||||
background-color: @crust;
|
||||
color: @text;
|
||||
}
|
||||
/* Close icon */
|
||||
.b8 .bBe .bBf {
|
||||
filter: @text-filter;
|
||||
}
|
||||
|
||||
/* Compose mail window */
|
||||
/* Top header bar */
|
||||
.Hy.Hy .m,
|
||||
.IG {
|
||||
background-color: @mantle;
|
||||
|
||||
.Hp,
|
||||
.zu,
|
||||
.H,
|
||||
.Iy .az9 {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
.Hm img,
|
||||
.SB,
|
||||
.b7 .mK,
|
||||
.bAm .aaq .mK,
|
||||
.Un .mK,
|
||||
.HX .mK,
|
||||
.HQ .Un::after {
|
||||
filter: @text-filter;
|
||||
}
|
||||
}
|
||||
.aaZ,
|
||||
.Ap,
|
||||
.Am,
|
||||
.aDg > .aDj,
|
||||
.aoP .Ar,
|
||||
.wO,
|
||||
.aoT,
|
||||
.agP,
|
||||
.aGb,
|
||||
.GQ {
|
||||
color: @text;
|
||||
caret-color: @text;
|
||||
|
||||
&,
|
||||
&::before {
|
||||
background: @base;
|
||||
}
|
||||
}
|
||||
.gQ,
|
||||
.gO,
|
||||
.oL {
|
||||
color: @subtext0;
|
||||
}
|
||||
/* Bottom toolbar icons */
|
||||
.aaA,
|
||||
.btC .dv,
|
||||
.btC .og.T-I-J3,
|
||||
.btC .J-N-JX.og.T-I-J3,
|
||||
.btC .Y1,
|
||||
.btC .Xv.T-I.J-JN-M-I > .J-JN-M-I-JG,
|
||||
.J-JN-M-I-JG,
|
||||
.J-Z-M-I-J6-H > .J-Z-M-I-JG {
|
||||
filter: @text-filter;
|
||||
}
|
||||
/* Floating toolbar (expanded window) */
|
||||
.J-Z {
|
||||
background-color: @mantle;
|
||||
|
||||
.J-Z-I,
|
||||
.J-Z-M-I {
|
||||
color: @subtext1;
|
||||
}
|
||||
}
|
||||
/* Send button */
|
||||
.gU .v7.T-I:not(.btz),
|
||||
.gU .hG:not(.v6) {
|
||||
background-color: @accent-color;
|
||||
color: @crust;
|
||||
}
|
||||
.hG > .G-asx,
|
||||
.SI .hG > .G-asx {
|
||||
filter: @crust-filter;
|
||||
}
|
||||
/* Contact autofill */
|
||||
.afC,
|
||||
.bvx {
|
||||
background: @mantle;
|
||||
|
||||
/* Contact list item */
|
||||
.agJ {
|
||||
.aL8,
|
||||
.aXS {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
background: @base;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
--pkw-background: @mantle;
|
||||
--pkw-outline: @surface0;
|
||||
--pkw-outline-variant: @surface0;
|
||||
--pkw-on-surface-variant: @text;
|
||||
/* Contact chip */
|
||||
.agh,
|
||||
.bbV {
|
||||
background: @base;
|
||||
|
||||
.afV {
|
||||
background: @base;
|
||||
color: @text;
|
||||
|
||||
&:hover {
|
||||
background: @surface0;
|
||||
color: @text;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Settings */
|
||||
.dt {
|
||||
color: @text;
|
||||
}
|
||||
/* Navigation header */
|
||||
.v {
|
||||
/* Tabs */
|
||||
.fY,
|
||||
.f1 {
|
||||
background-color: @surface0;
|
||||
|
||||
.f0 {
|
||||
color: @text;
|
||||
}
|
||||
}
|
||||
|
||||
/* Currently selected tab */
|
||||
.fZ {
|
||||
box-shadow: inset 0 -2px 0 0 @accent-color;
|
||||
}
|
||||
}
|
||||
/* Main panel */
|
||||
.r4 {
|
||||
background-color: @base;
|
||||
color: @text;
|
||||
|
||||
/* Dividers */
|
||||
.r7 td,
|
||||
.Jb .J0:not(:last-child) {
|
||||
border-bottom-color: @surface0;
|
||||
}
|
||||
|
||||
/* Links */
|
||||
.r7 .e,
|
||||
.sA,
|
||||
.r4 .e,
|
||||
.el {
|
||||
color: @accent-color;
|
||||
}
|
||||
|
||||
#input-styling();
|
||||
.qK,
|
||||
.qL {
|
||||
background-color: @mantle;
|
||||
}
|
||||
.nr,
|
||||
.Ar {
|
||||
background-color: @base;
|
||||
color: @text;
|
||||
border-color: @surface0 !important;
|
||||
}
|
||||
/* Some buttons */
|
||||
.Uu {
|
||||
box-shadow: inset 0 0 0 1px @surface0;
|
||||
color: @accent-color;
|
||||
}
|
||||
}
|
||||
/* Labels page */
|
||||
.alO {
|
||||
background-color: @base;
|
||||
color: @text;
|
||||
|
||||
.rb {
|
||||
color: @subtext1;
|
||||
}
|
||||
|
||||
/* Table items */
|
||||
.To.Ze {
|
||||
background-color: @surface0;
|
||||
}
|
||||
|
||||
/* Links */
|
||||
.alP {
|
||||
color: @accent-color;
|
||||
}
|
||||
|
||||
/* Dividers */
|
||||
.rZ {
|
||||
background-color: @surface0;
|
||||
}
|
||||
}
|
||||
|
||||
/* Confirm popup modal */
|
||||
div[aria-modal="true"] {
|
||||
--gm3-dialog-refactored-container-color: @base;
|
||||
--gm3-dialog-refactored-supporting-text-color: @text;
|
||||
--gm3-dialog-refactored-headline-color: @text;
|
||||
|
||||
/* Buttons */
|
||||
[data-mdc-dialog-action="ok"] {
|
||||
background-color: @accent-color;
|
||||
--gm3-button-text-label-text-color: @crust;
|
||||
--gm3-button-text-hover-label-text-color: @crust;
|
||||
--gm3-button-text-pressed-label-text-color: @crust;
|
||||
}
|
||||
|
||||
[data-mdc-dialog-action="cancel"] {
|
||||
--gm3-button-text-label-text-color: @subtext1;
|
||||
--gm3-button-text-hover-label-text-color: @text;
|
||||
--gm3-button-text-focus-label-text-color: @text;
|
||||
--gm3-button-text-pressed-label-text-color: @text;
|
||||
|
||||
&:hover,
|
||||
&:focus,
|
||||
&:active {
|
||||
background-color: @surface0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* prettier-ignore */
|
||||
@catppuccin: {
|
||||
@latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @yellow_filter: brightness(0) saturate(100%) invert(84%) sepia(47%) saturate(5389%) hue-rotate(348deg) brightness(92%) contrast(90%);; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @text_filter: brightness(0) saturate(100%) invert(31%) sepia(12%) saturate(1015%) hue-rotate(196deg) brightness(94%) contrast(91%); @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; @crust_filter: brightness(0) saturate(100%) invert(96%) sepia(3%) saturate(583%) hue-rotate(187deg) brightness(92%) contrast(97%); };
|
||||
@frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @yellow_filter: brightness(0) saturate(100%) invert(79%) sepia(20%) saturate(586%) hue-rotate(1deg) brightness(103%) contrast(84%); @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @text_filter: brightness(0) saturate(100%) invert(80%) sepia(11%) saturate(726%) hue-rotate(192deg) brightness(104%) contrast(92%); @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; @crust_filter: brightness(0) saturate(100%) invert(11%) sepia(6%) saturate(3257%) hue-rotate(192deg) brightness(93%) contrast(88%); };
|
||||
@macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @yellow_filter: brightness(0) saturate(100%) invert(87%) sepia(24%) saturate(488%) hue-rotate(350deg) brightness(97%) contrast(93%); @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @text_filter: brightness(0) saturate(100%) invert(84%) sepia(5%) saturate(1385%) hue-rotate(192deg) brightness(101%) contrast(92%); @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; @crust_filter: brightness(0) saturate(100%) invert(9%) sepia(7%) saturate(2560%) hue-rotate(198deg) brightness(95%) contrast(97%); };
|
||||
@mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @yellow_filter: brightness(0) saturate(100%) invert(83%) sepia(35%) saturate(324%) hue-rotate(347deg) brightness(105%) contrast(95%); @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @text_filter: brightness(0) saturate(100%) invert(87%) sepia(6%) saturate(985%) hue-rotate(191deg) brightness(96%) contrast(99%); @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; @crust_filter: brightness(0) saturate(100%) invert(3%) sepia(12%) saturate(3951%) hue-rotate(206deg) brightness(96%) contrast(92%); };
|
||||
}
|
||||
|
||||
// vim:ft=less
|
||||
==/UserStyle== */
|
||||
@@ -0,0 +1,987 @@
|
||||
/* ==UserStyle==
|
||||
@name Gmail Catppuccin
|
||||
@namespace github.com/catppuccin/userstyles/styles/gmail
|
||||
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/gmail
|
||||
@version 2024.12.29.1
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/gmail/catppuccin.user.less
|
||||
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Agmail
|
||||
@description Soothing pastel theme for Gmail
|
||||
@author Catppuccin
|
||||
@license MIT
|
||||
|
||||
@preprocessor less
|
||||
@var select lightFlavor "Light Flavor" ["latte:Latte*", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha"]
|
||||
@var select darkFlavor "Dark Flavor" ["latte:Latte", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha*"]
|
||||
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
|
||||
==/UserStyle== */
|
||||
|
||||
@-moz-document domain("mail.google.com") {
|
||||
@media (prefers-color-scheme: light) {
|
||||
:root {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
|
||||
#catppuccin(@lookup, @accent) {
|
||||
@rosewater: @catppuccin[@@lookup][@rosewater];
|
||||
@flamingo: @catppuccin[@@lookup][@flamingo];
|
||||
@pink: @catppuccin[@@lookup][@pink];
|
||||
@mauve: @catppuccin[@@lookup][@mauve];
|
||||
@red: @catppuccin[@@lookup][@red];
|
||||
@maroon: @catppuccin[@@lookup][@maroon];
|
||||
@peach: @catppuccin[@@lookup][@peach];
|
||||
@yellow: @catppuccin[@@lookup][@yellow];
|
||||
@green: @catppuccin[@@lookup][@green];
|
||||
@teal: @catppuccin[@@lookup][@teal];
|
||||
@sky: @catppuccin[@@lookup][@sky];
|
||||
@sapphire: @catppuccin[@@lookup][@sapphire];
|
||||
@blue: @catppuccin[@@lookup][@blue];
|
||||
@lavender: @catppuccin[@@lookup][@lavender];
|
||||
@text: @catppuccin[@@lookup][@text];
|
||||
@subtext1: @catppuccin[@@lookup][@subtext1];
|
||||
@subtext0: @catppuccin[@@lookup][@subtext0];
|
||||
@overlay2: @catppuccin[@@lookup][@overlay2];
|
||||
@overlay1: @catppuccin[@@lookup][@overlay1];
|
||||
@overlay0: @catppuccin[@@lookup][@overlay0];
|
||||
@surface2: @catppuccin[@@lookup][@surface2];
|
||||
@surface1: @catppuccin[@@lookup][@surface1];
|
||||
@surface0: @catppuccin[@@lookup][@surface0];
|
||||
@base: @catppuccin[@@lookup][@base];
|
||||
@mantle: @catppuccin[@@lookup][@mantle];
|
||||
@crust: @catppuccin[@@lookup][@crust];
|
||||
@accent-color: @catppuccin[@@lookup][@@accent];
|
||||
|
||||
@crust-filter: @catppuccin[@@lookup][@crust_filter];
|
||||
@text-filter: @catppuccin[@@lookup][@text_filter];
|
||||
@yellow-filter: @catppuccin[@@lookup][@yellow_filter];
|
||||
|
||||
color-scheme: if(@lookup = latte, light, dark);
|
||||
|
||||
::selection {
|
||||
background-color: fade(@accent-color, 30%);
|
||||
}
|
||||
|
||||
input,
|
||||
textarea {
|
||||
&::placeholder {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
|
||||
caret-color: @text;
|
||||
}
|
||||
|
||||
#input-styling {
|
||||
input,
|
||||
select,
|
||||
button {
|
||||
background-color: @mantle;
|
||||
color: @text;
|
||||
border-color: @surface0;
|
||||
border-style: solid;
|
||||
border-width: 1px;
|
||||
box-shadow: none;
|
||||
}
|
||||
}
|
||||
|
||||
* {
|
||||
text-shadow: none !important;
|
||||
}
|
||||
|
||||
/* Gmail logo */
|
||||
[src="https://ssl.gstatic.com/ui/v1/icons/mail/rfr/logo_gmail_lockup_default_1x_r5.png"],
|
||||
[src="https://ssl.gstatic.com/ui/v1/icons/mail/rfr/logo_gmail_lockup_dark_1x_r5.png"] {
|
||||
height: unset !important;
|
||||
width: unset !important;
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="17.727 14.319 30 22.5" width="30" height="22.5"><path fill="@{blue}" d="M19.773 36.819h4.773V25.227l-6.819-5.114v14.659a2.044 2.044 0 0 0 2.045 2.045"/><path fill="@{green}" d="M40.909 36.819h4.773a2.044 2.044 0 0 0 2.045-2.045v-14.66l-6.819 5.114"/><path fill="@{yellow}" d="M40.909 16.364v8.864l6.819-5.114v-2.727c0-2.529-2.888-3.971-4.909-2.455"/><path fill="@{red}" d="M24.545 25.227v-8.863l8.181 6.136 8.181-6.136v8.864l-8.181 6.136m-15-13.977v2.727l6.819 5.114v-8.864l-1.909-1.431c-2.025-1.517-4.91-.075-4.91 2.455"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
|
||||
/* Tooltips */
|
||||
.T-ays-iP,
|
||||
.gb_Ac {
|
||||
background-color: @crust;
|
||||
color: @text;
|
||||
}
|
||||
|
||||
/* Buttons */
|
||||
|
||||
/* Solid primary */
|
||||
.T-I-atl {
|
||||
background-color: @accent-color;
|
||||
color: @crust;
|
||||
}
|
||||
|
||||
/* Transparent primary */
|
||||
.l0,
|
||||
div.b8 .a8k,
|
||||
.bAo > .ad {
|
||||
color: @accent-color;
|
||||
|
||||
&::before {
|
||||
background-color: @accent-color;
|
||||
}
|
||||
}
|
||||
|
||||
/* Transparent secondary */
|
||||
.bs0 > .acM,
|
||||
.bti > .btg,
|
||||
.a8Y > .T-I-ax7 {
|
||||
color: @text;
|
||||
|
||||
/* Disabled */
|
||||
&.acN {
|
||||
color: @subtext0;
|
||||
}
|
||||
|
||||
&:hover::before {
|
||||
background-color: @overlay2;
|
||||
}
|
||||
}
|
||||
|
||||
/* Header and sidebars */
|
||||
.w-asV,
|
||||
.bkL,
|
||||
.bhZ.bym,
|
||||
.bhZ.bjB,
|
||||
.bhZ.bym.baA {
|
||||
background-color: @mantle;
|
||||
}
|
||||
/* Header icons */
|
||||
.gb_Lc svg,
|
||||
.gb_Pc.gb_Uc svg,
|
||||
.gb_Lc .gb_rd .gb_sd,
|
||||
.gb_Lc .gb_rd .gb_Kc,
|
||||
.gb_Lc .gb_rd .gb_ud,
|
||||
.gb_Pc.gb_Uc .gb_sd {
|
||||
color: @text;
|
||||
}
|
||||
/* Search mail input */
|
||||
.gb_Lc .gb_hd {
|
||||
background-color: @crust;
|
||||
|
||||
.gb_je,
|
||||
svg {
|
||||
color: @text;
|
||||
}
|
||||
}
|
||||
/* Active search / filter modal */
|
||||
.gssb_c {
|
||||
/* Icons */
|
||||
button svg,
|
||||
.asor {
|
||||
filter: @text-filter;
|
||||
}
|
||||
|
||||
/* Recent searches */
|
||||
.aRp,
|
||||
.gssb_e,
|
||||
.gssb_m {
|
||||
background-color: @base;
|
||||
color: @text;
|
||||
}
|
||||
|
||||
/* Hovered recent searches */
|
||||
.gssb_i {
|
||||
background-color: @surface0;
|
||||
|
||||
> .gssb_a {
|
||||
border-left-color: @accent-color;
|
||||
}
|
||||
|
||||
/* X icon */
|
||||
.gsaq_b {
|
||||
filter: @text-filter;
|
||||
}
|
||||
}
|
||||
|
||||
.aSP,
|
||||
.gssb_e {
|
||||
border-color: @surface2;
|
||||
}
|
||||
|
||||
/* Separator */
|
||||
.gssb_l {
|
||||
background-color: @surface0;
|
||||
}
|
||||
|
||||
/* Search results */
|
||||
|
||||
/* Icons */
|
||||
.gsoi_0,
|
||||
.asor_o,
|
||||
.gsoi_msra {
|
||||
filter: @text-filter;
|
||||
}
|
||||
|
||||
/* People involved */
|
||||
.asor_e {
|
||||
color: @subtext0;
|
||||
}
|
||||
}
|
||||
/* Pill filters */
|
||||
.H2 {
|
||||
background-color: @base;
|
||||
border-color: @surface0;
|
||||
color: @subtext1;
|
||||
fill: @subtext1;
|
||||
|
||||
&:hover {
|
||||
background-color: @mantle;
|
||||
}
|
||||
|
||||
&.bws {
|
||||
background-color: @accent-color;
|
||||
color: @crust;
|
||||
fill: @crust;
|
||||
|
||||
.HV {
|
||||
filter: @crust-filter;
|
||||
}
|
||||
|
||||
&:hover .H1 {
|
||||
background-color: darken(@accent-color, 5%);
|
||||
}
|
||||
}
|
||||
}
|
||||
.aqc .H2 {
|
||||
border-color: @text;
|
||||
color: @text;
|
||||
|
||||
&.bws {
|
||||
background-color: @surface2;
|
||||
color: @mantle;
|
||||
}
|
||||
}
|
||||
/* Advanced search/filters modal */
|
||||
.ZF-z6,
|
||||
.ZF-zT,
|
||||
.ZF-Av .lJ,
|
||||
.ZF-Av .lN {
|
||||
background-color: @base;
|
||||
|
||||
&,
|
||||
.boo > .ZG,
|
||||
.boo .aQl > .J-JN-M-I-Jm,
|
||||
.boo .aaa > .J-JN-M-I-Jm,
|
||||
.boo .ZE > .J-JN-M-I-Jm {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
.btl.acK,
|
||||
.btn::before {
|
||||
filter: @text-filter;
|
||||
}
|
||||
|
||||
/* Text inputs */
|
||||
.nr {
|
||||
background-color: @base;
|
||||
color: @text;
|
||||
|
||||
&:focus {
|
||||
box-shadow: inset 0 -1px 0 0 @accent-color;
|
||||
}
|
||||
}
|
||||
|
||||
/* Calendar input */
|
||||
.bs5::after {
|
||||
filter: @text-filter;
|
||||
}
|
||||
.J-JB-KA,
|
||||
.J-JB-KA-JS,
|
||||
.J-JB-KA-Jk,
|
||||
.J-JB-KA-LG {
|
||||
background-color: @base;
|
||||
color: @text;
|
||||
border-color: @surface0;
|
||||
|
||||
/* Past days */
|
||||
.J-JB-KA-Ku-Kk {
|
||||
color: @subtext0;
|
||||
}
|
||||
/* Future days */
|
||||
.J-JB-KA-a1R-JB.J-JB-KA-LH,
|
||||
.J-JB-KA-a1R-JB.J-JB-KA-Ku-Kk,
|
||||
.J-JB-KA-JB.J-JB-KA-a1R-JB {
|
||||
color: @subtext1;
|
||||
}
|
||||
|
||||
/* Hovered day */
|
||||
.J-JB-KA-JB:not(.J-JB-KA-K8, .J-JB-KA-KO):hover {
|
||||
color: @crust;
|
||||
|
||||
&::before {
|
||||
background-color: fade(@accent-color, 70%);
|
||||
}
|
||||
}
|
||||
|
||||
/* Selected day */
|
||||
.J-JB-KA-KO {
|
||||
color: @crust;
|
||||
|
||||
&::before {
|
||||
background-color: @accent-color;
|
||||
}
|
||||
}
|
||||
|
||||
/* Unselected today */
|
||||
.J-JB-KA-K8 {
|
||||
color: @crust;
|
||||
|
||||
&::before {
|
||||
background-color: @overlay2;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Checkbox inputs */
|
||||
.bs1 + .bs3,
|
||||
.btj + .aD {
|
||||
color: @text;
|
||||
|
||||
&::before {
|
||||
filter: @text-filter;
|
||||
}
|
||||
}
|
||||
|
||||
/* Dropdown/select inputs */
|
||||
.J-JN-M-I {
|
||||
color: @text;
|
||||
}
|
||||
}
|
||||
|
||||
/* Sidebar selected item */
|
||||
.TK .TO.nZ:active,
|
||||
.TK .TO.ol:active,
|
||||
.TK .TO.nZ,
|
||||
.TK .TO.ol,
|
||||
.byl .TK .nZ.aBP,
|
||||
.byl .TK .nZ.aS3,
|
||||
.byl .TK .nZ.aS4,
|
||||
.byl .TK .nZ.aS5,
|
||||
.byl .TK .nZ.aS6,
|
||||
.VDSZAf.H5o3mc {
|
||||
background-color: @surface0;
|
||||
}
|
||||
.TO.NQ,
|
||||
.n6 .ah9:hover,
|
||||
.n6 .ah9.aiu:hover,
|
||||
.n6 .ah9:focus,
|
||||
.TK .TO:active,
|
||||
.n6 .ah9.aiu:active,
|
||||
.CL:hover,
|
||||
.H5o3mc:not(.VDSZAf):hover,
|
||||
.CL.NQ,
|
||||
.H5o3mc:not(.VDSZAf).NQ {
|
||||
background-color: @surface1;
|
||||
}
|
||||
.byl .TK .TO.nZ > .aHS-bnt .n0,
|
||||
.TK .nZ > .aHS-bnt .bsU,
|
||||
.byl .TK .nZ.aS3 .nU > .n0,
|
||||
.TK .nZ.aS3 .bsU,
|
||||
.byl .TK .nZ.aS4 .nU > .n0,
|
||||
.TK .nZ.aS4 .bsU,
|
||||
.byl .TK .nZ.aS5 .nU > .n0,
|
||||
.TK .nZ.aS5 .bsU,
|
||||
.byl .TK .nZ.aS6 .nU > .n0,
|
||||
.TK .nZ.aS6 .bsU,
|
||||
.TK .TO.nZ .nU > .n0,
|
||||
.TK .ol.NQ .nU > .n0,
|
||||
.TK .TO.ol .nU > .n0,
|
||||
.TK .nZ .bsU,
|
||||
.TK .ol .bsU,
|
||||
.VDSZAf.H5o3mc > .Q7,
|
||||
.TO .nU > .n0,
|
||||
.TO.NQ .nU > .n0,
|
||||
.TO.nZ .nU > .n0,
|
||||
.ah9 > .CJ,
|
||||
.n3 > .CL > .CK,
|
||||
.aAv,
|
||||
.bsU {
|
||||
color: @text;
|
||||
}
|
||||
/* Icons */
|
||||
.nZ > .TN.aHS-bnt .qj,
|
||||
.TO:not(.nZ) > .TN > .qj:not([style*="background-color"]),
|
||||
.n6 .n4 .G-asx,
|
||||
.aAw .aAu,
|
||||
.pM,
|
||||
.TO.nZ > .TN > .qj,
|
||||
.n3 .CL::before {
|
||||
filter: @text-filter;
|
||||
}
|
||||
|
||||
/* Compose email button */
|
||||
.z0 > .L3 {
|
||||
background-color: @accent-color;
|
||||
color: @crust;
|
||||
|
||||
&:focus {
|
||||
background-color: @text;
|
||||
}
|
||||
}
|
||||
.WR .z0 > .L3::before,
|
||||
.WR.anZ .z0 > .L3::before {
|
||||
filter: @crust-filter;
|
||||
}
|
||||
|
||||
/* Top section of inbox */
|
||||
.bkK > .nH {
|
||||
background-color: @surface0;
|
||||
|
||||
/* Icons */
|
||||
.bzn,
|
||||
.aqJ .amJ,
|
||||
.adg .adk {
|
||||
filter: @text-filter;
|
||||
}
|
||||
}
|
||||
/* Inbox categories */
|
||||
.aKx > .aKz {
|
||||
color: @text;
|
||||
}
|
||||
/* Icons */
|
||||
.aAy > div {
|
||||
filter: @text-filter;
|
||||
}
|
||||
/* Currently selected category */
|
||||
.J-KU-KO::before {
|
||||
background-color: @text;
|
||||
}
|
||||
/* Inbox categories hover */
|
||||
.aRz.J-KU:hover {
|
||||
background-color: @surface1;
|
||||
}
|
||||
/* Email count / pagination */
|
||||
div[aria-label="Show more messages"] {
|
||||
.Dj {
|
||||
color: @subtext1;
|
||||
}
|
||||
|
||||
&::before {
|
||||
background-color: @text;
|
||||
}
|
||||
}
|
||||
.h0 {
|
||||
color: @subtext1;
|
||||
}
|
||||
/* Inbox footer */
|
||||
.md.mj,
|
||||
.aeU .ma,
|
||||
.ma .mb,
|
||||
.ae3 .l6,
|
||||
.l9,
|
||||
.l8,
|
||||
.aiD {
|
||||
color: @subtext1;
|
||||
}
|
||||
/* Storage progress bar */
|
||||
.aiC {
|
||||
background-color: @overlay0;
|
||||
|
||||
.aiA {
|
||||
background-color: @subtext0;
|
||||
}
|
||||
}
|
||||
/* External link icon */
|
||||
.aiz {
|
||||
filter: @text-filter;
|
||||
}
|
||||
|
||||
/* Read emails */
|
||||
.yO {
|
||||
background-color: @base;
|
||||
color: @text;
|
||||
|
||||
box-shadow: inset 0 -1px 0 0 @surface0;
|
||||
|
||||
&:hover {
|
||||
box-shadow:
|
||||
inset 1px 0 0 @surface0,
|
||||
inset -1px 0 0 @surface0,
|
||||
0 0 4px 0 @surface1,
|
||||
0 0 6px 2px @surface1;
|
||||
}
|
||||
}
|
||||
/* Read email text */
|
||||
.zE {
|
||||
color: @text;
|
||||
}
|
||||
// Select icon
|
||||
.xY > .T-Jo,
|
||||
td.apU > .T-KT.aXw::before,
|
||||
// Important icon
|
||||
.pG .a9q,
|
||||
// Delete/trash icon
|
||||
.aqN,
|
||||
// Hover action icons
|
||||
.bqY li {
|
||||
filter: @text-filter;
|
||||
}
|
||||
/* Important icon filled, star icon filled */
|
||||
.ha .a9q.pH,
|
||||
.a9q.pH,
|
||||
.aoj,
|
||||
td.apU > .T-KT.T-KT-Jp::before {
|
||||
filter: @yellow-filter;
|
||||
}
|
||||
.pG:hover > .a9q::before {
|
||||
background-color: fade(@yellow, 30%);
|
||||
}
|
||||
/* Read email dates */
|
||||
.yO > .xW {
|
||||
color: @subtext0;
|
||||
}
|
||||
/* Read email summary truncated */
|
||||
.y2 {
|
||||
color: @subtext1;
|
||||
}
|
||||
/* Selected unread emails */
|
||||
.x7 {
|
||||
background-color: @accent-color;
|
||||
color: @mantle;
|
||||
|
||||
/* Dates */
|
||||
.xW {
|
||||
color: @crust;
|
||||
}
|
||||
|
||||
// Select icon
|
||||
.xY > .T-Jo,
|
||||
// Star icon
|
||||
td.apU > .T-KT.aXw::before,
|
||||
// Important icon
|
||||
.pG .a9q,
|
||||
// Delete/trash icon
|
||||
.aqN,
|
||||
// Hover action icons
|
||||
.bqY li {
|
||||
filter: @crust-filter;
|
||||
}
|
||||
}
|
||||
/* Unsubscribe button */
|
||||
.aOd.T-I {
|
||||
color: @text;
|
||||
box-shadow: inset 0 0 0 1px @surface2;
|
||||
}
|
||||
/* Draft text */
|
||||
.boq {
|
||||
color: @red;
|
||||
}
|
||||
/* No drafts message, trash 30 days message */
|
||||
.TD,
|
||||
.Tm .ya {
|
||||
background-color: @surface1;
|
||||
color: @text;
|
||||
}
|
||||
/* Your social/promotions/updates tab is empty */
|
||||
.aRs {
|
||||
background-color: @base;
|
||||
color: @subtext0;
|
||||
|
||||
.aRv {
|
||||
color: @text;
|
||||
}
|
||||
.aRq {
|
||||
color: @accent-color;
|
||||
}
|
||||
}
|
||||
/* You could lose access banner */
|
||||
.GR {
|
||||
background-color: @base;
|
||||
|
||||
/* Primary text */
|
||||
.GX {
|
||||
color: @text;
|
||||
}
|
||||
/* Subtext */
|
||||
.GT {
|
||||
color: @subtext1;
|
||||
}
|
||||
|
||||
/* Dismiss button */
|
||||
.GW {
|
||||
color: @text;
|
||||
|
||||
&::before {
|
||||
background-color: @text;
|
||||
}
|
||||
}
|
||||
/* Add recovery info button */
|
||||
.GV {
|
||||
color: @accent-color;
|
||||
|
||||
&::before {
|
||||
background-color: @accent-color;
|
||||
}
|
||||
}
|
||||
}
|
||||
/* Attachments chips */
|
||||
.brc {
|
||||
box-shadow: inset 0 0 0 1px @surface0;
|
||||
color: @text;
|
||||
|
||||
&:hover {
|
||||
background-color: @surface0;
|
||||
}
|
||||
}
|
||||
|
||||
/* Floating menu */
|
||||
.J-M,
|
||||
.OO.Pa {
|
||||
background-color: @surface1;
|
||||
|
||||
/* Menu section header */
|
||||
.J-awr,
|
||||
.asc {
|
||||
color: @subtext1;
|
||||
}
|
||||
|
||||
/* Menu item */
|
||||
|
||||
.J-N,
|
||||
.J-Ks-KO .J-N-Jz,
|
||||
.J-N-JT .J-N-Jz,
|
||||
.J-N-JW .J-N-Jz,
|
||||
.J-LC,
|
||||
.J-JK,
|
||||
.bmz {
|
||||
color: @text;
|
||||
}
|
||||
/* Disabled */
|
||||
.J-N-JE .J-N-atj,
|
||||
.J-N-JE .J-N-Jz {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
|
||||
/* Checkmark, arrow, checkbox, star, calendar icon */
|
||||
.J-Ks-KO .J-N-Jo,
|
||||
.asi .J-Ks-KO::before,
|
||||
.J-Ph-hFsbo,
|
||||
.J-LC-Jo,
|
||||
.bi4 > .T-KT:not(.T-KT-Jp, .byM)::before,
|
||||
.aaA.mYVwse,
|
||||
.J-N-JX {
|
||||
filter: @text-filter;
|
||||
}
|
||||
.bmz.bjF::before {
|
||||
border-color: @subtext0;
|
||||
}
|
||||
|
||||
/* Hovered menu item */
|
||||
.J-N-JT,
|
||||
.J-N-JW,
|
||||
.J-LC-JT,
|
||||
.J-LC-JW,
|
||||
.J-JK-JT,
|
||||
.J-JK-JW,
|
||||
.bmz.bk5 {
|
||||
background-color: @surface2;
|
||||
border-color: @overlay1;
|
||||
}
|
||||
|
||||
/* Menu section divider */
|
||||
.J-Kh {
|
||||
border-top-color: @surface2;
|
||||
}
|
||||
}
|
||||
/* Modal search input */
|
||||
.agd .J-M-JJ input {
|
||||
background-color: @surface1;
|
||||
color: @text;
|
||||
}
|
||||
.bqf {
|
||||
box-shadow: inset 0 -2px 0 0 @surface2;
|
||||
|
||||
&:focus {
|
||||
box-shadow: inset 0 -2px 0 0 @accent-color;
|
||||
}
|
||||
}
|
||||
/* Magnifying glass icon */
|
||||
.A0 {
|
||||
filter: @text-filter;
|
||||
}
|
||||
/* Edit label modal */
|
||||
div.Kj-JD {
|
||||
background-color: @base;
|
||||
|
||||
/* Edit label text */
|
||||
span.Kj-JD-K7-K0 {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
/* Close X icon */
|
||||
span.Kj-JD-K7-Jq::after {
|
||||
filter: @text-filter;
|
||||
}
|
||||
|
||||
#input-styling();
|
||||
|
||||
/* Input labels */
|
||||
div.Kj-JD-Jz {
|
||||
color: @subtext1;
|
||||
}
|
||||
|
||||
/* Cancel button */
|
||||
div.Kj-JD-Jl > button,
|
||||
.bBh .Kj-JD-Jl > .J-at1-auR {
|
||||
color: @subtext1;
|
||||
}
|
||||
|
||||
/* Save button */
|
||||
div.Kj-JD-Jl > button.J-at1-atl,
|
||||
div.Kj-JD-Jl > button.J-at1-auR {
|
||||
background-color: @accent-color;
|
||||
color: @crust;
|
||||
}
|
||||
}
|
||||
|
||||
/* Toast notifications */
|
||||
.bAp.b8.UC .vh {
|
||||
background-color: @crust;
|
||||
color: @text;
|
||||
}
|
||||
/* Close icon */
|
||||
.b8 .bBe .bBf {
|
||||
filter: @text-filter;
|
||||
}
|
||||
|
||||
/* Compose mail window */
|
||||
/* Top header bar */
|
||||
.Hy.Hy .m,
|
||||
.IG {
|
||||
background-color: @mantle;
|
||||
|
||||
.Hp,
|
||||
.zu,
|
||||
.H,
|
||||
.Iy .az9 {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
.Hm img,
|
||||
.SB,
|
||||
.b7 .mK,
|
||||
.bAm .aaq .mK,
|
||||
.Un .mK,
|
||||
.HX .mK,
|
||||
.HQ .Un::after {
|
||||
filter: @text-filter;
|
||||
}
|
||||
}
|
||||
.aaZ,
|
||||
.Ap,
|
||||
.Am,
|
||||
.aDg > .aDj,
|
||||
.aoP .Ar,
|
||||
.wO,
|
||||
.aoT,
|
||||
.agP,
|
||||
.aGb,
|
||||
.GQ {
|
||||
color: @text;
|
||||
caret-color: @text;
|
||||
|
||||
&,
|
||||
&::before {
|
||||
background: @base;
|
||||
}
|
||||
}
|
||||
.gQ,
|
||||
.gO,
|
||||
.oL {
|
||||
color: @subtext0;
|
||||
}
|
||||
/* Bottom toolbar icons */
|
||||
.aaA,
|
||||
.btC .dv,
|
||||
.btC .og.T-I-J3,
|
||||
.btC .J-N-JX.og.T-I-J3,
|
||||
.btC .Y1,
|
||||
.btC .Xv.T-I.J-JN-M-I > .J-JN-M-I-JG,
|
||||
.J-JN-M-I-JG,
|
||||
.J-Z-M-I-J6-H > .J-Z-M-I-JG {
|
||||
filter: @text-filter;
|
||||
}
|
||||
/* Floating toolbar (expanded window) */
|
||||
.J-Z {
|
||||
background-color: @mantle;
|
||||
|
||||
.J-Z-I,
|
||||
.J-Z-M-I {
|
||||
color: @subtext1;
|
||||
}
|
||||
}
|
||||
/* Send button */
|
||||
.gU .v7.T-I:not(.btz),
|
||||
.gU .hG:not(.v6) {
|
||||
background-color: @accent-color;
|
||||
color: @crust;
|
||||
}
|
||||
.hG > .G-asx,
|
||||
.SI .hG > .G-asx {
|
||||
filter: @crust-filter;
|
||||
}
|
||||
/* Contact autofill */
|
||||
.afC,
|
||||
.bvx {
|
||||
background: @mantle;
|
||||
|
||||
/* Contact list item */
|
||||
.agJ {
|
||||
.aL8,
|
||||
.aXS {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
background: @base;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
--pkw-background: @mantle;
|
||||
--pkw-outline: @surface0;
|
||||
--pkw-outline-variant: @surface0;
|
||||
--pkw-on-surface-variant: @text;
|
||||
/* Contact chip */
|
||||
.agh,
|
||||
.bbV {
|
||||
background: @base;
|
||||
|
||||
.afV {
|
||||
background: @base;
|
||||
color: @text;
|
||||
|
||||
&:hover {
|
||||
background: @surface0;
|
||||
color: @text;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Settings */
|
||||
.dt {
|
||||
color: @text;
|
||||
}
|
||||
/* Navigation header */
|
||||
.v {
|
||||
/* Tabs */
|
||||
.fY,
|
||||
.f1 {
|
||||
background-color: @surface0;
|
||||
|
||||
.f0 {
|
||||
color: @text;
|
||||
}
|
||||
}
|
||||
|
||||
/* Currently selected tab */
|
||||
.fZ {
|
||||
box-shadow: inset 0 -2px 0 0 @accent-color;
|
||||
}
|
||||
}
|
||||
/* Main panel */
|
||||
.r4 {
|
||||
background-color: @base;
|
||||
color: @text;
|
||||
|
||||
/* Dividers */
|
||||
.r7 td,
|
||||
.Jb .J0:not(:last-child) {
|
||||
border-bottom-color: @surface0;
|
||||
}
|
||||
|
||||
/* Links */
|
||||
.r7 .e,
|
||||
.sA,
|
||||
.r4 .e,
|
||||
.el {
|
||||
color: @accent-color;
|
||||
}
|
||||
|
||||
#input-styling();
|
||||
.qK,
|
||||
.qL {
|
||||
background-color: @mantle;
|
||||
}
|
||||
.nr,
|
||||
.Ar {
|
||||
background-color: @base;
|
||||
color: @text;
|
||||
border-color: @surface0 !important;
|
||||
}
|
||||
/* Some buttons */
|
||||
.Uu {
|
||||
box-shadow: inset 0 0 0 1px @surface0;
|
||||
color: @accent-color;
|
||||
}
|
||||
}
|
||||
/* Labels page */
|
||||
.alO {
|
||||
background-color: @base;
|
||||
color: @text;
|
||||
|
||||
.rb {
|
||||
color: @subtext1;
|
||||
}
|
||||
|
||||
/* Table items */
|
||||
.To.Ze {
|
||||
background-color: @surface0;
|
||||
}
|
||||
|
||||
/* Links */
|
||||
.alP {
|
||||
color: @accent-color;
|
||||
}
|
||||
|
||||
/* Dividers */
|
||||
.rZ {
|
||||
background-color: @surface0;
|
||||
}
|
||||
}
|
||||
|
||||
/* Confirm popup modal */
|
||||
div[aria-modal="true"] {
|
||||
--gm3-dialog-refactored-container-color: @base;
|
||||
--gm3-dialog-refactored-supporting-text-color: @text;
|
||||
--gm3-dialog-refactored-headline-color: @text;
|
||||
|
||||
/* Buttons */
|
||||
[data-mdc-dialog-action="ok"] {
|
||||
background-color: @accent-color;
|
||||
--gm3-button-text-label-text-color: @crust;
|
||||
--gm3-button-text-hover-label-text-color: @crust;
|
||||
--gm3-button-text-pressed-label-text-color: @crust;
|
||||
}
|
||||
|
||||
[data-mdc-dialog-action="cancel"] {
|
||||
--gm3-button-text-label-text-color: @subtext1;
|
||||
--gm3-button-text-hover-label-text-color: @text;
|
||||
--gm3-button-text-focus-label-text-color: @text;
|
||||
--gm3-button-text-pressed-label-text-color: @text;
|
||||
|
||||
&:hover,
|
||||
&:focus,
|
||||
&:active {
|
||||
background-color: @surface0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* deno-fmt-ignore */
|
||||
@catppuccin: {
|
||||
@latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @yellow_filter: brightness(0) saturate(100%) invert(84%) sepia(47%) saturate(5389%) hue-rotate(348deg) brightness(92%) contrast(90%);; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @text_filter: brightness(0) saturate(100%) invert(31%) sepia(12%) saturate(1015%) hue-rotate(196deg) brightness(94%) contrast(91%); @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; @crust_filter: brightness(0) saturate(100%) invert(96%) sepia(3%) saturate(583%) hue-rotate(187deg) brightness(92%) contrast(97%); };
|
||||
@frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @yellow_filter: brightness(0) saturate(100%) invert(79%) sepia(20%) saturate(586%) hue-rotate(1deg) brightness(103%) contrast(84%); @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @text_filter: brightness(0) saturate(100%) invert(80%) sepia(11%) saturate(726%) hue-rotate(192deg) brightness(104%) contrast(92%); @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; @crust_filter: brightness(0) saturate(100%) invert(11%) sepia(6%) saturate(3257%) hue-rotate(192deg) brightness(93%) contrast(88%); };
|
||||
@macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @yellow_filter: brightness(0) saturate(100%) invert(87%) sepia(24%) saturate(488%) hue-rotate(350deg) brightness(97%) contrast(93%); @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @text_filter: brightness(0) saturate(100%) invert(84%) sepia(5%) saturate(1385%) hue-rotate(192deg) brightness(101%) contrast(92%); @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; @crust_filter: brightness(0) saturate(100%) invert(9%) sepia(7%) saturate(2560%) hue-rotate(198deg) brightness(95%) contrast(97%); };
|
||||
@mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @yellow_filter: brightness(0) saturate(100%) invert(83%) sepia(35%) saturate(324%) hue-rotate(347deg) brightness(105%) contrast(95%); @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @text_filter: brightness(0) saturate(100%) invert(87%) sepia(6%) saturate(985%) hue-rotate(191deg) brightness(96%) contrast(99%); @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; @crust_filter: brightness(0) saturate(100%) invert(3%) sepia(12%) saturate(3951%) hue-rotate(206deg) brightness(96%) contrast(92%); };
|
||||
};
|
||||
@@ -1,9 +1,9 @@
|
||||
/* ==UserStyle==
|
||||
@name go.dev Catppuccin
|
||||
@name go.dev Catppuccin [STUB | UPDATE REQUIRED]
|
||||
@namespace github.com/catppuccin/userstyles/styles/go.dev
|
||||
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/go.dev
|
||||
@version 2024.12.28
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/go.dev/catppuccin.user.css
|
||||
@version 2024.12.29
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/go.dev/catppuccin.user.less
|
||||
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Ago.dev
|
||||
@description Soothing pastel theme for go.dev
|
||||
@author Catppuccin
|
||||
@@ -13,928 +13,4 @@
|
||||
@var select lightFlavor "Light Flavor" ["latte:Latte*", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha"]
|
||||
@var select darkFlavor "Dark Flavor" ["latte:Latte", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha*"]
|
||||
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
|
||||
==/UserStyle== */
|
||||
|
||||
@-moz-document domain('go.dev') {
|
||||
@media (prefers-color-scheme: light) {
|
||||
:root[data-theme="auto"],
|
||||
:root:not([data-theme]) {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
: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) {
|
||||
@rosewater: @catppuccin[@@lookup][@rosewater];
|
||||
@flamingo: @catppuccin[@@lookup][@flamingo];
|
||||
@pink: @catppuccin[@@lookup][@pink];
|
||||
@mauve: @catppuccin[@@lookup][@mauve];
|
||||
@red: @catppuccin[@@lookup][@red];
|
||||
@maroon: @catppuccin[@@lookup][@maroon];
|
||||
@peach: @catppuccin[@@lookup][@peach];
|
||||
@yellow: @catppuccin[@@lookup][@yellow];
|
||||
@green: @catppuccin[@@lookup][@green];
|
||||
@teal: @catppuccin[@@lookup][@teal];
|
||||
@sky: @catppuccin[@@lookup][@sky];
|
||||
@sapphire: @catppuccin[@@lookup][@sapphire];
|
||||
@blue: @catppuccin[@@lookup][@blue];
|
||||
@lavender: @catppuccin[@@lookup][@lavender];
|
||||
@text: @catppuccin[@@lookup][@text];
|
||||
@subtext1: @catppuccin[@@lookup][@subtext1];
|
||||
@subtext0: @catppuccin[@@lookup][@subtext0];
|
||||
@overlay2: @catppuccin[@@lookup][@overlay2];
|
||||
@overlay1: @catppuccin[@@lookup][@overlay1];
|
||||
@overlay0: @catppuccin[@@lookup][@overlay0];
|
||||
@surface2: @catppuccin[@@lookup][@surface2];
|
||||
@surface1: @catppuccin[@@lookup][@surface1];
|
||||
@surface0: @catppuccin[@@lookup][@surface0];
|
||||
@base: @catppuccin[@@lookup][@base];
|
||||
@mantle: @catppuccin[@@lookup][@mantle];
|
||||
@crust: @catppuccin[@@lookup][@crust];
|
||||
@accent-color: @catppuccin[@@lookup][@@accent];
|
||||
|
||||
color-scheme: if(@lookup = latte, light, dark);
|
||||
|
||||
::selection {
|
||||
background-color: fade(@accent-color, 30%);
|
||||
}
|
||||
|
||||
input,
|
||||
textarea {
|
||||
&::placeholder {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
background-color: @base;
|
||||
|
||||
--abbey: @mantle;
|
||||
--black-1: @crust;
|
||||
--color-border: @surface2;
|
||||
--color-background: @base;
|
||||
--color-background-accented: @mantle;
|
||||
--color-background-banner: @mantle;
|
||||
--color-background-card-footer: @crust;
|
||||
--color-background-code: @surface0; // Code Snippets
|
||||
--color-background-info: @surface1;
|
||||
--color-background-inverted: @crust;
|
||||
--color-background-logo: @text;
|
||||
--color-background-playground-input: @mantle;
|
||||
--color-brand-primary: @accent-color; // Affects most Go-Color Elements
|
||||
--color-button: @accent-color;
|
||||
--color-button-accented: @accent-color;
|
||||
--color-button-text: @crust;
|
||||
--color-button-text-disabled: @subtext0;
|
||||
--color-bright-text-link: @accent-color;
|
||||
--color-text: @text;
|
||||
--color-text-link: @accent-color;
|
||||
--color-text-subtle: @subtext1;
|
||||
--focus-box-shadow: 0 0 0.0625rem 0.0625rem @accent-color; // Only modifies color;
|
||||
--gray-2: @surface0;
|
||||
--gray-3: @text;
|
||||
--gray-6: @crust;
|
||||
--pink: @red;
|
||||
--turq-dark: @accent-color;
|
||||
--white: @text;
|
||||
--border-code: 0.0625rem @surface2 solid;
|
||||
|
||||
.btn {
|
||||
background: @accent-color;
|
||||
color: @crust;
|
||||
}
|
||||
// /dl page in go.dev
|
||||
.Downloads {
|
||||
div.filename img {
|
||||
@svg: escape(
|
||||
'<svg width="14" height="13" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M2.992 12.992V12q.928 0 1.408-.176.384-.127.512-.384.08-.144.08-.448H.496L0 10.496v-10L.496 0h12.992L14 .496v9.248l-1.008-1.008V.992h-12V10H6.72l-.496.496 2.496 2.496zm7.856 0 2.512-2.496-.72-.704-1.648 1.664V4.992H10v6.448L8.352 9.792l-.704.704 2.496 2.496z" fill="@{text}"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
|
||||
table.downloadtable {
|
||||
--color-background-accented: @surface0;
|
||||
}
|
||||
}
|
||||
// Main Page Footer & Pkg.go Footer
|
||||
.Footer,
|
||||
.go-Footer {
|
||||
background-color: @mantle;
|
||||
|
||||
button[aria-label="Shorcuts Modal"] img.go-Icon {
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="@{text}"><path d="M20 5H4c-1.1 0-1.99.9-1.99 2L2 17c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2m-9 3h2v2h-2zm0 3h2v2h-2zM8 8h2v2H8zm0 3h2v2H8zm-1 2H5v-2h2zm0-3H5V8h2zm9 7H8v-2h8zm0-4h-2v-2h2zm0-3h-2V8h2zm3 3h-2v-2h2zm0-3h-2V8h2z"/><path d="M0 0h24v24H0zm0 0h24v24H0z" fill="none"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
filter: none;
|
||||
}
|
||||
|
||||
img.Footer-gopher,
|
||||
img.go-Footer-gopher {
|
||||
@svg: escape(
|
||||
'<svg viewBox="0 0 1431 901" xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="2"><path d="M335.6 867.8c-.6-33-1.1-47.7-2.2-69.6-.6-10.6-.7-11.2-2.4-10-1 .7-5.7 4.6-10.6 8.6-15.4 12.5-25.1 16.2-47.4 17.7-12.7.9-17.2 2.1-32 9-7.5 3.5-15.5 6.8-17.8 7.5-3.1.8-15.6.9-45 .4l-40.7-.7-9.5 4c-18.4 7.8-31.9 11-41.5 9.8-9-1.2-21.4-4.4-26.4-7-11.5-5.8-23.1-18.3-38.8-42-19.7-29.6-24.6-42-19.2-48.9 1.2-1.5 4.9-4.1 8.3-5.8 11.3-5.6 11.9-6.4 14.1-17.1 1.2-6 7.3-8.4 13.3-5.3 3.7 2 9.4 8.1 13.4 14.6 4.4 7.1 4.6 7.5 6.9 20.5 2.8 15.5 8.5 38.9 10.8 44 1.8 4 2.4 4.5 7.7 6.1 8.5 2.4 23.5 1.5 32.9-2.1 3.9-1.4 12.2-4 18.5-5.6 11.1-2.9 12.5-3.1 36.5-3.4 35-.4 54.8-3.6 62.5-10.1 7-5.9 28-56.1 35.4-84.8 5.2-19.7 5.7-30.9 2.2-46.5-5.3-23.4-13.3-77.8-14.3-96.6-.6-11.5 1-23.3 6-46l2.2-10-5.1-5.2c-6.2-6.1-11.4-15.1-14.4-24.8-3-9.6-3.8-28.1-1.6-38.4.9-4.1 1.5-7.5 1.3-7.6-.1-.1-3.1-2.2-6.7-4.7-22-15.4-33.1-36.4-33.3-62.8-.1-13.6 1.3-22.8 5.9-37 4.6-14.5 10.8-24.6 21.3-35 10.1-10 18.1-14.9 30.8-19 13.1-4.2 20.8-5.3 38.3-5.3h15.6l2.3-11.1c3.4-16.3 8.6-32.9 13.7-43.4 7.5-15.5 20.5-27 45.1-39.9 8.5-4.4 12.6-7.4 19.3-13.8 5.3-5.1 14.5-12.1 24.5-18.8 18.3-12.1 35.8-26.7 47.2-39.4 11.3-12.7 14.6-15.6 26.8-23.7 18.8-12.5 55-31.8 79.1-42.1 14.6-6.3 23-8.3 62.4-14.9 18.4-3.2 39.1-6.9 46-8.4C689.2.6 690.3.5 723.5.5c35.9 0 51.2.9 82.5 5.1 21.1 2.8 34.6 6 44 10.2 6.9 3.2 34.5 13.3 62 22.7 43.7 15.1 57 19.9 62.5 22.7 14.2 7.1 36.1 24.7 70 56.3 20.2 18.8 22 20.2 42.9 34.5 32.3 22 35.4 26.2 48.7 67.5 12.3 38.2 11 35 14.5 34.8 5.6-.3 24.6 1.7 31.3 3.3 3.6.8 11.2 3.8 16.8 6.5 21.8 10.7 35.3 28.8 43.1 57.8 2.1 8.1 2.6 11.8 2.6 24.1.1 13.4-.1 15.2-2.8 23.3-4.6 14-14.3 27.1-25.6 34.8l-5.1 3.4.8 10c1.3 16.4.8 39-1.1 48.4-1.8 8.9-6.1 19.3-9.2 22.5-1.6 1.7-1.8 3.2-1.6 10.2.4 8.1-1.6 26.9-4.3 40.7-1.3 7-1.3 7.3 1 11.2 1.3 2.2 5.1 7.2 8.5 11 3.4 3.9 7 8.7 8.1 10.8 5.5 10.4 8.6 35.4 7.5 60-1.3 29.3-4.8 40.9-26.6 86.4-8.6 18-11.4 25.6-10.6 29.7.8 4.3 5.3 10.7 10.6 15.1 6.7 5.6 29 20.3 40.9 26.9 7.7 4.4 12.9 8.3 20.5 15.5 13.2 12.5 18.7 15.5 28.1 15.5 12.6-.1 19.7-5.3 28.4-21 7.6-13.7 11-18 26.9-34.5 15.4-15.9 23.6-22.5 35.2-28.4 19.8-10 37.8-9.9 49.2.3 5.7 5.2 7.8 9.2 7.8 15.1 0 5.5-1.3 8.4-6.2 13.7-8.2 8.9-22 16.5-44.2 24.3-13.7 4.9-18.2 7.7-29.8 19.1l-10.6 10.5-4.1 12.8c-2.2 7-5.3 14.6-7 17-6.8 9.8-24.2 23.7-31.5 25.1-2.5.5-5.8-.2-13-2.8-11.8-4.3-21-6.3-35.2-7.5-18.2-1.7-31.8-7.6-66.6-29.4-16.9-10.5-27.8-16.7-29.3-16.7-.3 0-.3 14.5.1 32.3.4 17.7.4 36.1 0 41l-.8 8.7H336.3z" fill="@{crust}" fill-rule="nonzero"/><g fill="@{text}" fill-rule="nonzero"><path d="M348 874.8c0-14.5-.7-42.9-1.5-63.3l-1.4-37 3.7-3c13.5-10.9 22.7-22.5 31.7-39.8 6.6-12.9 6.9-15.6 2.8-35.8-4.9-24.8-3.7-39.6 5.9-75.9 1.7-6.3 3.3-12.5 3.6-13.7.2-1.3.8-2.3 1.1-2.3.4 0 5.4 2.4 11.2 5.4 12.3 6.5 27.3 11.8 41.3 14.8 8.1 1.7 13.6 2.1 27.6 2.2 36.6.1 71.3-8.2 103.4-24.6 10.3-5.3 29.9-17.9 31.3-20.1.4-.6 1.2 2.6 1.9 7.1 2.7 19.2 13 30 32 33.5l6.9 1.3-.3 7.5c-.1 4.1-.7 16.4-1.2 27.4-1.5 32-1.4 37.2 1.4 43.1 6.6 14.1 24 21.9 41 18.4 7.5-1.5 19.9-7.9 26.2-13.4l4.9-4.3 4.4 3.4c9.7 7.4 24.6 12.6 36.1 12.5 15.9-.1 29.1-10.4 33.7-26.4 2.3-8.3 2.8-35.4.9-53.4-.9-8.3-1.6-15.6-1.6-16.2 0-.7 1.2-1.2 2.8-1.2 4.6 0 15.6-2.7 20.5-5 11.2-5.3 19.3-16.8 21.8-31.2.7-4 1.3-7.4 1.5-7.6.1-.2 2.8 1.3 6 3.4 16 10.2 42.3 20.6 65.4 25.8 21.5 4.8 32.9 6 57 6 24.9.1 33.7-1.2 51.9-7.6 21.5-7.5 49.1-24.7 63-39.2 1.9-2 3.8-3.6 4.2-3.6s1 4.6 1.3 10.3c1.9 28.8 5.2 44.5 12.6 59.2 8 16.1 9.4 22.4 9.4 45.5l.1 19.5-5.1 17.5c-7.1 24.1-9.6 36.5-9.8 48.5-.1 8.7.2 10.6 2.3 14.4 4.8 9.1 17.7 20.5 33.8 30l7.3 4.3.2 43.7.3 43.6v14.95c4.5.9-86 3.267-390.7 3.367L348 914.264z"/><path d="M1288.5 863.9c-9.3-3.7-23.3-6.8-35.4-7.9-19.1-1.6-30.4-6.5-65.8-28.6-10.1-6.3-25.1-15-33.4-19.4-26.6-14.2-40.8-24.9-45.5-34.6-2.5-5-2.6-6.2-2.1-13.4.8-9.8 4.4-26.3 10.4-46.9 4.1-14.3 4.5-16.8 5-29.9.9-23.2-2.5-40.5-10.8-55.7-6.9-12.7-10.5-31.3-11.5-59.5l-.6-16.5 5.8-7c9.6-11.7 18.8-26.7 24.2-39.3l2.3-5.3 4.7.8c2.6.4 11.9.7 20.7.6 15.3-.1 23.9-1.3 32.9-4.9 1.8-.7 1.9-.3 1.2 8.2-.3 4.9-1.8 16.3-3.2 25.4-1.4 9-2.3 17.7-2 19.3.7 3.4 5 9.8 12.9 19 3.3 3.8 6.8 9.2 7.9 11.9 3.2 8.4 4.8 22.9 4.8 42.8 0 34-2.1 41.6-24.5 89.5-5.7 12.1-10.8 23.8-11.4 26-3.6 13.4 1.7 24.2 18.2 36.4 10.2 7.6 27 18.4 38.7 24.9 4.6 2.5 11.7 8.1 18.4 14.2 6.3 5.9 13.5 11.5 17 13.3 5.7 3 6.8 3.2 16.1 3.2 8.9 0 10.6-.3 15.7-2.8 7.4-3.6 15.4-12.4 21.3-23.2 2.6-4.7 6.3-10.7 8.3-13.4 4.6-6 28-30.7 28.5-30.1.2.3 2.3 6 4.5 12.8l4.1 12.2-5.7 3.6c-7.1 4.6-25.8 22.7-28.2 27.4-.9 1.9-3.1 8-4.8 13.5-3.6 11.5-7.2 17.5-14.5 24.1-6.4 5.8-15 11.4-17.4 11.4-1-.1-4-1-6.8-2.1m-1211-30.5c-10.4-2.2-16.8-5.6-24.2-12.6-7.8-7.5-15.4-17.3-26.3-34-8.1-12.2-18-30.7-18-33.4 0-.7 3.5-3.1 7.8-5.3 10.6-5.3 14.7-10.2 16.4-19.6.4-1.7 1-1.4 4.6 2.4 6.5 7.1 8.7 12.3 11.7 27.6 5.4 28.8 10.4 45.2 14.8 49.4 8 7.5 31.7 8.7 48.8 2.5 19.8-7.2 22.1-7.6 52.9-8.4 46.7-1.3 64-5.5 71.8-17.8 11.3-17.5 31.6-70.9 36.2-94.9 2.9-15.5 2.5-29-1.8-48.8-6.4-30.2-13.7-85.3-12Line truncated
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
|
||||
img.go-Footer-googleLogoImg,
|
||||
img.Footer-googleLogoImg {
|
||||
@svg: escape(
|
||||
'<svg width="74" height="24" xmlns="http://www.w3.org/2000/svg"><path d="M.128 9.276c0-5.105 4.32-9.261 9.457-9.261 2.842 0 4.865 1.107 6.388 2.552l-1.796 1.785c-1.091-1.017-2.569-1.807-4.592-1.807-3.75 0-6.683 3.004-6.683 6.731s2.932 6.732 6.683 6.732c2.432 0 3.82-.971 4.706-1.853.727-.722 1.204-1.761 1.386-3.184H9.585V8.44h8.57c.091.451.137.993.137 1.58 0 1.898-.523 4.248-2.206 5.92-1.636 1.693-3.728 2.597-6.5 2.597-5.139 0-9.458-4.156-9.458-9.262m25.09 6.914c-1.819 0-3.387-1.491-3.387-3.615 0-2.146 1.568-3.614 3.387-3.614s3.387 1.468 3.387 3.614c0 2.124-1.569 3.615-3.387 3.615m0-9.578c-3.32 0-6.024 2.507-6.024 5.963 0 3.434 2.705 5.964 6.024 5.964s6.024-2.53 6.024-5.964c0-3.456-2.706-5.963-6.024-5.963m13.142 9.578c-1.82 0-3.388-1.491-3.388-3.615 0-2.146 1.569-3.614 3.387-3.614s3.387 1.468 3.387 3.614c0 2.124-1.568 3.615-3.387 3.615m0-9.578c-3.319 0-6.024 2.507-6.024 5.963 0 3.434 2.705 5.964 6.024 5.964s6.024-2.53 6.024-5.964c0-3.456-2.705-5.963-6.024-5.963m13.107 9.578c-1.818 0-3.341-1.514-3.341-3.592 0-2.1 1.523-3.637 3.341-3.637 1.796 0 3.206 1.536 3.206 3.637 0 2.078-1.41 3.592-3.206 3.592m3.024-9.217v.972h-.091c-.591-.7-1.728-1.333-3.16-1.333-3 0-5.751 2.62-5.751 5.986 0 3.343 2.75 5.941 5.75 5.941 1.433 0 2.57-.633 3.16-1.356h.092v.859c0 2.281-1.228 3.501-3.206 3.501-1.614 0-2.614-1.152-3.023-2.123l-2.296.949c.66 1.581 2.41 3.524 5.32 3.524 3.091 0 5.705-1.808 5.705-6.212V6.972zm6.956 11.204h-2.637V.647h2.637zm7.024-9.261c1.046 0 1.932.52 2.228 1.265l-5.365 2.214c-.068-2.305 1.796-3.48 3.137-3.48m.205 7.275c-1.342 0-2.296-.61-2.91-1.807l8.025-3.298-.273-.678c-.5-1.333-2.024-3.795-5.138-3.795-3.092 0-5.66 2.417-5.66 5.963 0 3.344 2.546 5.964 5.956 5.964 2.75 0 4.342-1.672 5-2.643L71.63 14.54c-.682.994-1.614 1.649-2.955 1.649" fill="@{text}" fill-rule="evenodd"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
}
|
||||
// Main Page Footer Get Started
|
||||
.GettingStartedGo-primaryCta {
|
||||
color: @crust;
|
||||
}
|
||||
|
||||
// Main Page Carousel
|
||||
.GoCarousel button {
|
||||
background-color: @text;
|
||||
color: @crust;
|
||||
}
|
||||
// Download button in /learn
|
||||
.Learn-heroAction {
|
||||
background-color: @accent-color;
|
||||
|
||||
.js-downloadBtn {
|
||||
color: @crust;
|
||||
}
|
||||
}
|
||||
// Active indicator in /learn
|
||||
.LearnNav .active svg circle {
|
||||
fill: @accent-color;
|
||||
}
|
||||
|
||||
.LeftNav a.active,
|
||||
.LeftNav a:hover {
|
||||
background-color: fade(@accent-color, 30%);
|
||||
|
||||
img {
|
||||
@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>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
}
|
||||
// /solutions/use-cases & Why Use Go / 4 icons
|
||||
.MarketingCardList,
|
||||
.WhyGo-reasons .WhyGo-reasonIcon {
|
||||
img.LightMode-img[alt="cloud icon"],
|
||||
img.DarkMode-img[alt="cloud icon"],
|
||||
img[alt="Sphere"] {
|
||||
@svg: escape(
|
||||
'<svg width="59px" height="59px" viewBox="0 0 59 59" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><path d="M58.968 28.25q-.026-.564-.072-1.124v-.012C57.742 12.746 46.253 1.258 31.884.104h-.004A31 31 0 0 0 29.504 0h-.009q-.625.001-1.243.032-.571.026-1.136.074C12.368 1.295.652 13.358.03 28.249q-.03.617-.031 1.242v.024a26 26 0 0 0 .033 1.242c.632 14.89 12.34 26.946 27.082 28.137l.01.001c.375.03.75.057 1.13.073q.616.03 1.24.032h.009q.628-.001 1.246-.031.566-.026 1.127-.073h.008C46.62 57.71 58.334 45.65 58.967 30.757q.032-.616.033-1.242v-.024q-.001-.624-.032-1.241M20.988 3.79c-2.221 2.143-4.111 5.121-5.558 8.696a2.83 2.83 0 0 0-2.539 2.81c0 .02.006.037.006.056-3.784 1.503-6.945 3.501-9.185 5.84 2.648-8.198 9.107-14.69 17.276-17.403m-7.2 13.713c-.743 2.944-1.188 6.166-1.344 9.556-.494.29-.891.72-1.136 1.242H4.204a2.84 2.84 0 0 0-1.361-1.365c1.252-3.877 5.283-7.232 10.946-9.433M4.204 30.7h7.106c.244.521.642.95 1.135 1.24.15 3.262.575 6.362 1.271 9.218-.068.069-.124.15-.185.226-5.525-2.203-9.455-5.507-10.688-9.321a2.85 2.85 0 0 0 1.36-1.363m-.412 7.307c2.238 2.32 5.378 4.283 9.167 5.752a2.84 2.84 0 0 0 2.242 2.185c1.47 3.83 3.45 7.005 5.788 9.263a27.2 27.2 0 0 1-17.197-17.2M28.3 54.795c-.6.282-1.082.763-1.364 1.362-3.847-1.245-7.18-5.233-9.386-10.833q.052-.04.102-.084c2.84.704 5.925 1.137 9.17 1.3.3.64.824 1.152 1.478 1.425zm0-12.074a2.84 2.84 0 0 0-1.482 1.433 46 46 0 0 1-8.263-1.174 2.82 2.82 0 0 0-2.564-2.636 46 46 0 0 1-1.15-8.183 2.83 2.83 0 0 0 1.6-1.46h10.384c.299.638.822 1.15 1.475 1.421zm0-15.843a2.84 2.84 0 0 0-1.476 1.423H16.44a2.83 2.83 0 0 0-1.6-1.462c.163-3.095.602-6.038 1.286-8.742a2.82 2.82 0 0 0 2.335-2.06c2.726-.663 5.692-1.078 8.801-1.216.263.383.623.69 1.037.906zm0-16.164a2.83 2.83 0 0 0-1.408 1.723 47 47 0 0 0-8.808 1.267 3 3 0 0 0-.368-.436c2.203-5.384 5.467-9.21 9.22-10.425.282.6.763 1.081 1.363 1.362zM55.287 21.19c-2.24-2.342-5.399-4.334-9.185-5.84 0-.019.005-.037.005-.055a2.83 2.83 0 0 0-2.64-2.82c-1.482-3.594-3.406-6.609-5.657-8.762A27.22 27.22 0 0 1 55.287 21.19m.87 5.746a2.84 2.84 0 0 0-1.362 1.364h-6.668a2.84 2.84 0 0 0-1.57-1.452c-.17-3.313-.655-6.468-1.413-9.375 5.7 2.203 9.753 5.57 11.012 9.463M30.698 4.205a2.84 2.84 0 0 0 1.365-1.362c3.752 1.214 7.012 5.04 9.218 10.425-.135.133-.26.278-.367.436a47 47 0 0 0-8.585-1.253 2.84 2.84 0 0 0-1.63-1.853zm0 11.638c.508-.211.94-.567 1.249-1.014 3.032.148 5.923.56 8.587 1.205a2.83 2.83 0 0 0 2.337 2.063c.696 2.76 1.14 5.775 1.295 8.943-.51.29-.922.727-1.173 1.262H31.957a2.84 2.84 0 0 0-1.258-1.308zm0 16.164c.55-.287.993-.744 1.257-1.306h11.04c.25.534.662.97 1.17 1.26-.143 2.955-.54 5.774-1.157 8.383a2.82 2.82 0 0 0-2.565 2.637c-2.635.63-5.487 1.035-8.477 1.182a2.83 2.83 0 0 0-1.268-1.327zm1.365 24.15a2.84 2.84 0 0 0-1.365-1.362V47.85a2.84 2.84 0 0 0 1.253-1.299c3.329-.153 6.49-.59 9.395-1.311q.05.043.103.084c-2.206 5.6-5.54 9.588-9.386 10.833m5.75-.874c2.368-2.268 4.384-5.478 5.89-9.329a2.83 2.83 0 0 0 2.336-2.192c3.786-1.469 6.928-3.434 9.167-5.754-2.708 8.173-9.2 14.627-17.393 17.275m7.656-13.898c-.073-.09-.145-.182-.23-.263.7-2.797 1.155-5.81 1.317-8.97a2.83 2.83 0 0 0 1.569-1.451h6.67c.282.598.763 1.08 1.36 1.362-1.234 3.813-5.16 7.118-10.686 9.322" fill="@{text}" fill-rule="nonzero" stroke="none" stroke-width="1"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
|
||||
img.LightMode-img[alt="CLI icon"],
|
||||
img.DarkMode-img[alt="CLI icon"],
|
||||
img[alt="Command Line"] {
|
||||
@svg: escape(
|
||||
'<svg width="62px" height="59px" viewBox="0 0 62 59" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g fill="@{text}" fill-rule="nonzero" stroke="none" stroke-width="1"><path d="M0 11h62v48H0zm59.182 2.824H2.818v42.352h56.364z"/><rect x="9" y="6" width="45" height="3"/><rect x="14" y="0" width="34" height="3"/><path d="M21.4 42c-.414 0-.76-.142-1.035-.495-.484-.566-.415-1.486.207-1.981l6.975-6.014-7.044-6.014c-.553-.495-.69-1.415-.207-1.981s1.38-.707 1.933-.212l8.288 7.075c.345.283.483.637.483 1.061 0 .425-.207.85-.483 1.061l-8.288 7.075a.98.98 0 0 1-.828.425m19.224 3h-8.25C31.619 45 31 44.325 31 43.5s.619-1.5 1.375-1.5h8.25c.756 0 1.375.675 1.375 1.5s-.619 1.5-1.375 1.5"/></g></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
|
||||
img.LightMode-img[alt="web dev icon"],
|
||||
img.DarkMode-img[alt="web dev icon"],
|
||||
img[alt="Code"] {
|
||||
@svg: escape(
|
||||
'<svg width="75px" height="50px" viewBox="0 0 75 50" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g fill="@{text}" fill-rule="nonzero" stroke="none" stroke-width="1"><polygon points="17 24.484525 31 18 31 20.5366715 19.8950953 25.4706244 19.8950953 25.5270717 31 30.4898241 31 33 17 26.515475"/><polygon points="33 33 39.6555652 13 42 13 35.3455491 33"/><polygon points="58 26.5719223 44 33 44 30.4898241 55.28351 25.5270717 55.28351 25.4717764 44 20.5090239 44 18 58 24.4280777"/><polygon points="71.2505274 50 3.75064464 50 0 47 75 47"/><path d="M70.999 46h-2.341V3.036a.71.71 0 0 0-.703-.7H8.044a.71.71 0 0 0-.703.7V46H5V3.036A3.043 3.043 0 0 1 8.044 0h59.912A3.043 3.043 0 0 1 71 3.036V46z"/><path d="M30.831 45H0v2h33c-1.105 0-1.989-.877-2.169-2m13.336 0c-.18 1.123-1.062 2-2.167 2h33v-2z"/></g></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
|
||||
img.LightMode-img[alt="ops icon"],
|
||||
img.DarkMode-img[alt="ops icon"],
|
||||
img[alt="Sphere"][src="/images/icons/gear-dark.svg"],
|
||||
img[alt="Sphere"][src="/images/icons/gear.svg"] {
|
||||
@svg: escape(
|
||||
'<svg width="61px" height="61px" viewBox="0 0 61 61" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g fill="@{text}" fill-rule="nonzero" stroke="none" stroke-width="1"><path d="M30.5 22c-4.668 0-8.5 3.783-8.5 8.5 0 4.668 3.832 8.5 8.5 8.5s8.5-3.783 8.5-8.5c0-4.668-3.832-8.5-8.5-8.5m0 15.035c-3.587 0-6.535-2.948-6.535-6.535s2.948-6.535 6.535-6.535 6.535 2.948 6.535 6.535-2.948 6.535-6.535 6.535"/><path d="M51.886 37.805c-.242-1.057-.873-1.922-1.747-2.403l-2.184-1.25c.194-1.105.29-2.21.29-3.267 0-1.586-.145-2.98-.533-4.373l2.184-1.298c1.942-1.105 2.573-3.171 1.553-4.95l-1.796-3.075c-.728-1.202-2.087-2.018-3.494-2.018-.631 0-1.262.144-1.845.48l-2.475 1.442a17.5 17.5 0 0 0-6.504-3.556v-2.74c0-2.21-1.505-3.796-3.544-3.796H28.2c-2.184-.048-4.028 1.73-4.028 3.796v2.884a17.7 17.7 0 0 0-6.407 3.748l-2.33-1.345a4.3 4.3 0 0 0-2.136-.577c-1.262 0-2.33.625-2.96 1.73L8.54 20.313c-.485.865-.68 1.922-.437 2.931.243 1.057.874 1.922 1.796 2.45l2.282 1.25a17.8 17.8 0 0 0-.437 3.94c0 1.25.145 2.548.388 3.75l-2.038 1.153c-1.942 1.105-2.573 3.171-1.554 4.95l1.796 3.075c.728 1.201 2.087 2.018 3.495 2.018.631 0 1.262-.144 1.844-.48l1.99-1.153c1.99 1.826 4.418 3.171 6.99 3.94v2.067c0 2.21 1.505 3.796 3.543 3.796h3.592c2.185 0 4.029-1.73 4.029-3.845l-.049-2.21c2.573-.865 4.951-2.259 6.893-4.133l1.893 1.105a4.3 4.3 0 0 0 2.136.577c1.262 0 2.33-.625 2.96-1.73l1.796-3.076c.534-.817.68-1.922.437-2.883m-2.087 1.97-1.796 3.076c-.34.625-.922.769-1.31.769-.389 0-.777-.096-1.165-.337l-3.204-1.826-.534.529c-1.99 2.066-4.514 3.604-7.28 4.373l-.729.192.097 3.653c0 1.009-.97 1.874-2.087 1.874H28.2c-1.164 0-1.601-1.01-1.601-1.874v-3.509l-.728-.192a16.4 16.4 0 0 1-7.378-4.18l-.534-.53-3.252 1.875c-.243.144-.534.24-.874.24-.728 0-1.456-.432-1.844-1.057l-1.796-3.076c-.583-1.009.097-1.874.873-2.306l3.301-1.875-.194-.72c-.34-1.298-.486-2.643-.486-3.99 0-1.393.195-2.786.534-4.18l.194-.72-3.591-1.971c-.437-.24-.728-.673-.826-1.202a1.9 1.9 0 0 1 .243-1.537l1.796-3.076c.34-.625.922-.769 1.31-.769.389 0 .777.096 1.166.337l3.591 2.066.534-.529c2.039-1.97 4.272-3.267 6.844-3.988l.631-.193v-4.325c0-1.009.971-1.874 2.087-1.874h3.592c1.165 0 1.602 1.01 1.602 1.922l.049 4.23.728.192c2.62.672 5 1.97 6.94 3.748l.535.48 3.689-2.162c.242-.144.533-.24.873-.24.728 0 1.456.432 1.845 1.057l1.796 3.076c.582 1.009-.097 1.874-.874 2.306l-3.495 2.019.243.72c.437 1.442.63 2.884.63 4.566 0 1.201-.145 2.403-.387 3.556l-.146.673 3.398 1.922c.436.24.728.673.825 1.201.097.577 0 1.106-.243 1.586"/><path d="M12.99 7.006a.96.96 0 0 0 .58-.185C22.383.792 34.537.19 44.076 5.15l-3.1 1.252L51 9 45.722.421l-.436 3.293c-10.265-5.472-23.339-4.87-32.878 1.623-.436.278-.532.88-.242 1.298.194.232.533.371.823.371M5.17 15.928l1.247 3.1L9 9 .42 14.28l3.275.437C-1.75 24.987-1.15 38.068 5.309 47.612a.95.95 0 0 0 .738.388c.185 0 .37-.048.554-.194.415-.29.508-.92.23-1.356C.835 37.632.19 25.52 5.172 15.928M46.478 54.18c-8.813 6.031-20.966 6.634-30.554 1.67l3.1-1.252L9 52l5.278 8.582.436-3.293C19.362 59.794 24.592 61 29.82 61c6.295 0 12.541-1.81 17.77-5.335.437-.278.533-.881.243-1.299a1.074 1.074 0 0 0-1.356-.186m9.217-41.771c-.277-.437-.878-.534-1.293-.243-.416.291-.508.921-.23 1.358 6.001 8.823 6.602 20.992 1.661 30.543l-1.246-3.103L52 51l8.542-5.284-3.278-.437c5.494-10.23 4.894-23.32-1.57-32.87"/></g></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
}
|
||||
// Mobile Nav Drawer
|
||||
.NavigationDrawer {
|
||||
.NavigationDrawer-header {
|
||||
border-bottom-color: @surface2;
|
||||
}
|
||||
|
||||
// Drawer Selection
|
||||
.NavigationDrawer-listItem--active {
|
||||
background-color: fade(@accent-color, 30%);
|
||||
}
|
||||
}
|
||||
// /play
|
||||
.PlayPage {
|
||||
.lines div {
|
||||
color: @overlay1; // Line numbers
|
||||
}
|
||||
}
|
||||
// Run Button for Code Snippet
|
||||
.Playground-runButton {
|
||||
border-color: @accent-color;
|
||||
}
|
||||
// Go Main Header
|
||||
.Site-header,
|
||||
.go-Header {
|
||||
background: @crust;
|
||||
|
||||
.Header-menuItem--active a,
|
||||
.go-Header-menuItem--active a {
|
||||
border-bottom-color: @accent-color;
|
||||
}
|
||||
// Mobile Burger Icon
|
||||
button.Header-navOpen--white,
|
||||
button.go-Header-navOpen--white {
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M0 0h24v24H0z" fill="none"/><path d="M3 18h18v-2H3zm0-5h18v-2H3zm0-7v2h18V6z" fill="@{text}"/></svg>'
|
||||
);
|
||||
background-image: url("data:image/svg+xml,@{svg}");
|
||||
filter: none;
|
||||
}
|
||||
}
|
||||
// 'What's Possible With Go'
|
||||
.WhyGo-reasons {
|
||||
.WhyGo-reasonPackagesHeader img {
|
||||
@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>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
|
||||
.WhyGo-reasonShowMoreLink a {
|
||||
color: @crust;
|
||||
}
|
||||
|
||||
img.WhyGo-reasonShowMoreImg {
|
||||
@svg: escape(
|
||||
'<svg viewBox="0 0 1200 945" xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="2"><path d="m811 927-14-4a287 287 0 0 1-58-36c-14-7-29-20-40-31l-22-17-18-14c-24-17-46-36-67-57-4-3-10-7-12-10l-27-21c-9-9-10-9-24-4l-31 6c-2 0-4 0-6 2l-7 11c-4 8-4 9-3 13 0 2 3 6 6 9 5 7 20 21 20 32 4 6 4 16 4 23 0 11-1 23-9 32-10 12-22 21-32 22l-10 2c-12 2-13 2-15 0l-3-3h-1c-2 1-11-1-13-3l-8-5c-14-9-23-27-25-43l1-16v-8l-1-2 2-2 4-6c0-3 3-7 5-11 4-6 4-6 3-12 0-7-3-12-11-19-6-6-16-6-24-7-4 0-10-1-14 3l-5 4c-1 2-12 10-19 13-8 6-17 0-26 4s-12 17-24 17h-1v-1l5-6c9-11 11-15 7-18-7-7-20 13-25 13h-1v-1l7-8c10-9 11-12 6-19-2-2-4-7-4-9l-4-8c-10-7-22-8-33-12-7-3-7-5-13-9l-4-2h-1v2l6 9a63 63 0 0 1 16 22c5 5 16 24 20 34l8 17c3 7 3 13 0 17l-2 5c-9 12-21 12-32 2-2-2-24-17-24-25l-4-6c-8-15-10-18-14-30-9-22-10-47-18-70-2-4-3-4-11-7-6-1-14-5-16-8-5-5-3-18 0-23 7-11-4-22-10-30a456 456 0 0 1-40-54c-7-10-19-33-22-41-4-13-4-18-3-24 2-8 6-16 16-12 2 0 3 2 5 3 19 9 30 29 38 47 3 6 7 12 9 19l13 37 4 14 5 12 5 10 2 1 3-1c3-2 10-19 13-33 4-17 6-22 9-23 7-7 9-18 13-27 1-3 3-10 7-12a322 322 0 0 0 19-23l6-6 5-8c5-5 2-7-29-31-8-5-16-12-23-19-5-2-7-6-12-8l-7-6-10-7c-12-6-19-13-29-21-9-7-17-14-18-18l-3-10c0-10 3-24 15-24l12-3c4-1 25-3 21-13l-4-7-11-17-11-17-27-32c-7-7-9-13-8-22 1-10 3-13 18-24 5-4 15-11 19-12l10-5c11-5 30-12 38-13l12-3 33-3c17-3 37-2 51 2 13 5 35 17 56 33l12 8 13 9 33 24 13 10a447 447 0 0 1 40 28l12 7 4 2 2-1c0-12 9-25 18-33 11-7 15-9 30-7l6 1v-1c0-2 23-19 26-19l8-4c7-3 8-4 11-10l6-7c6-5 12 4 14 8 3 4 3 4 14 7a234 234 0 0 1 49 17c7 6 18 13 23 15l7 2 9-2c4 0 6 0 9 2 9 4 18 12 12 23l-9 10c-4 5-4 5-4 18 1 14 1 14-2 21-7 14-3 16-8 30-2 10 0 12 11 6 9-4 19-14 26-25 6-8 10-12 18-17 5-3 7-5 9-10 7-12 10-14 23-18 9-2 17 0 44 10 11 4 17 8 25 13l11 6c12 0 18-10 24-19 6-11 9-14 19-21 4-3 7-9 12-9l5-2c1-1 16-10 19-10 10-6 33-12 40-11 14 2 30 11 40 21 4 0 11 10 13 12 2 0 6 4 8 9l4 8c8 9 12 45 8 64l-3 17-3 17-3 11c-3 9-5 11-10 19-3 3-3 4-2 6l11 12c22 21 43 44 48 52l6 10c8 10 9 21 3 29-2 3-4 4-10 6l-21 7c-5 0-22-2-27-4l-28-13-25-12-7-5-4-2-5-2c-7-7-11 0-18 5-14 12-19 15-32 22l-16 9-26 19c-4 4-7 6-11 7l-8 3c-5 3-4 6 5 13l15 15 16 14 37 29 18 17c14 12 25 29 16 48-3 7-11 16-20 23-12 9-12 10-17 24-3 10-9 26 1 34l15 10c12 8 17 14 22 22 4 7 6 22 1 29-2 5-11 13-18 16-45 20-80 33-93 35l-20 2-18 1zM83 700l-3-6-1-2c-3-2-9-27-11-45-4-37-2-62 7-80l4-9 1-4h2l-1 3-3 10c-8 18-9 34-7 64 1 26 4 30 10 55 1 3 1 8 4 11l2 6v2h-1zm-30-62-2-22q-3-36 9-60c6-14 10-20 13-20h1v3h-1l-4 7-6 11c-3 4-7 16-8 23-2 10-1 46 1 53l-1 4-1 2zm886-441c0-3 5-5 7-6 5-3 19-11 23-15l9-2 16-4a185 185 0 0 1 83-11c11 2 27 3 37 10l10 5 9 6 8 5 5 4 1 2v1h-1l-8-4-8-5-3-1c-2-3-19-12-26-13l-11-3a193 193 0 0 0-58 1c-11 1-27 5-47 12-9 3-16 3-25 7-7 3-14 6-19 11l-2 1zm-41-26c0-1 8-8 15-12l16-13c14-10 21-15 30-17l15-5 12-5 18-6c15-5 25-8 36-8l16-3c8-2 15-4 23-4 3 0 10 0 10 5v1l-2-1c-5-2-18-1-32 4l-15 3c-5 0-17 2-22 5l-16 5-13 5-3 2-1 1h-2c-1-1-19 5-26 8-14 7-27 16-39 25-10 8-15 11-18 11h-2z" fill="@{crust}" fill-rule="nonzero"/><path d="M809 922c-7-2-18-8-22-11l-7-4-31-21-12-8c-12-8-12-7-23-17l-33-26-14-10-24-19a215 215 0 0 1-37-31l-8-8-15-13-17-15c-2-2-9-6-8-11s9-2 11 0c10 5 18 13 27 20l58 49c10 10 37 32 46 39l12 9 53 40c8 7 22 16 27 18l15 4c17 3 36 2 58-4l39-12 29-10c5-1 14-4 19-7l10-4h2l1 2c1 5-5 9-22 17a147 147 0 0 0-24 10l-5 2c-9 4-46 16-59 19-23 4-23 2-46 2m9-17c-8 0-18-3-23-6-6-2-17-10-22-14l-12-9-14-12-17-13c-7-4-9-7-15-12-1-1-4-4-6-4l-7-6c-4-6-26-22-31-26l-38-30-36-30-11-10-9-9c-1-3 0-5 3-6 7-1 17-5 23-8l15-6 16-6c10-6 15 0 23 6a1831 1831 0 0 0 58 47c11 13 26 21 41 30l30 16 21 6c3 1 9 9 14 18 23 39 32 52 36 54 2 0 9-3 9-6 1-2-1-12-3-18-6-14-13-28-18-43-4-10 2-14 11-17 10-3 18-6 28-2 9 4 14 8 16 13v11a184 184 0 0 0-1 40c2 11 11 2 12-3 3-4 7-21 10-25 3-9 7-9 15-1l9 6c7 3 14 9 16 14 6 12-8 26-19 28l-4 2c-3 2-14 7-37 14l-12 4c-3 2-8 3-10 3l-16 4c-14 5-34 7-45 6m-369-28-13-3-9-3c-5-3-15-13-19-20-5-8-6-15-6-28 1-10 1-11 4-18 4-10 9-17 18-23s29-12 35-10c3 0 21 9 27 13 7 5 16 18 18 26 3 10 2 15-3 30-3 11-5 15-8 18-8 10-22 17-31 18zm19-33c3-2 10-5 10-10v-11c0-12 0-13-3-16-3-4-10-9-14-10l-9 3-10 6c-8 7-8 21-3 29 1 1 3 6 5 7l4 2c6 1 14 2 20 0m386 22-16-24-3-7c-5-7-14-22-17-30l2-4 7-1c5 0 6 1 8 5a276 276 0 0 1 15 29c11 22 13 30 11 33-1 3-4 2-7-1m50-19c-1-3 0-13 4-34l2-23c1-17 2-20 5-22 3-3 10-4 11-2 3 2 2 6-3 23l-6 26c-1 9-7 29-8 32l-3 2h-1zm-652-29c-5-3-13-8-15-12l-3-3-5-6-7-10-3-6c-9-13-11-20-22-61l-4-17-3-19-3-14 1-1 1 1 7 12 9 15 13 16 14 17c7 9 12 17 23 38 8 16 11 21 14 39 1 3-1 6-3 8-3 4-9 5-14 3m553-24-18-3c-17-8-26-13-37-21l-16-11-16-13c-15-15-23-21-40-34l-12-9-42-32-14-10c-4-3-12-9-17-15-11-10-30-25-39-30-24-15-43-38-67-53l-30-23-14-11-15-12-12-9-16-12c-4-3-8-9-13-11l-3-1v-1l-9-8-11-9-10-8c-9-12-23-21-36-30l-16-12c-16-14-33-27-45-35s-22-19-35-25l-32-27c-14-10-29-23-32-27l-10-9c-12-11-27-27-31-34-3-6-4-12-1-13h1l1 2a352 352 0 0 1 19 20c14 14 20 20 38 34l33 25 18 14 22 16c16 10 21 14 44 33l27 22 11 9c9 9 19 15 28 23 16 15 27 23 57 Line truncated
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
}
|
||||
// /doc/install icon
|
||||
img.CopyPaste-icon {
|
||||
@svg: escape(
|
||||
'<svg width="14" height="16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M10.992 0h-6L4 .992V4H.992L0 4.992V15.04l.992.96H9.04l.96-.96V12h3.12l.88-.96V2.992zm0 1.408 1.584 1.584h-1.584zm-2 13.584h-8v-10H4v6.048l.992.96h4zm4-4h-8v-10H10V4h2.992z" fill="@{text}"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
// Go Main Logo
|
||||
.Site-header .Header-logo,
|
||||
.NavigationDrawer-logo,
|
||||
.go-Header .go-Header-logo,
|
||||
.go-NavigationDrawer .go-NavigationDrawer-logo,
|
||||
.top-bar img.gopherlogo,
|
||||
.go-Main-headerLogo,
|
||||
.SearchResults-headerLogo img[alt="Go"] {
|
||||
@svg: escape(
|
||||
'<svg height="78" viewBox="0 0 207 78" width="207" xmlns="http://www.w3.org/2000/svg"><g fill="@{text}" fill-rule="evenodd"><path d="M16.2 24.1c-.4 0-.5-.2-.3-.5l2.1-2.7c.2-.3.7-.5 1.1-.5h35.7c.4 0 .5.3.3.6l-1.7 2.6c-.2.3-.7.6-1 .6zM1.1 33.3c-.4 0-.5-.2-.3-.5l2.1-2.7c.2-.3.7-.5 1.1-.5h45.6c.4 0 .6.3.5.6l-.8 2.4c-.1.4-.5.6-.9.6zm24.2 9.2c-.4 0-.5-.3-.3-.6l1.4-2.5c.2-.3.6-.6 1-.6h20c.4 0 .6.3.6.7l-.2 2.4c0 .4-.4.7-.7.7z"/><g transform="translate(55)"><path d="M74.1 22.3c-6.3 1.6-10.6 2.8-16.8 4.4-1.5.4-1.6.5-2.9-1-1.5-1.7-2.6-2.8-4.7-3.8-6.3-3.1-12.4-2.2-18.1 1.5-6.8 4.4-10.3 10.9-10.2 19 .1 8 5.6 14.6 13.5 15.7 6.8.9 12.5-1.5 17-6.6.9-1.1 1.7-2.3 2.7-3.7H35.3c-2.1 0-2.6-1.3-1.9-3 1.3-3.1 3.7-8.3 5.1-10.9.3-.6 1-1.6 2.5-1.6h36.4c-.2 2.7-.2 5.4-.6 8.1-1.1 7.2-3.8 13.8-8.2 19.6-7.2 9.5-16.6 15.4-28.5 17-9.8 1.3-18.9-.6-26.9-6.6C5.8 64.8 1.6 57.4.5 48.2-.8 37.3 2.4 27.5 9 18.9 16.1 9.6 25.5 3.7 37 1.6 46.4-.1 55.4 1 63.5 6.5c5.3 3.5 9.1 8.3 11.6 14.1.6.9.2 1.4-1 1.7"/><path d="M107.2 77.6c-9.1-.2-17.4-2.8-24.4-8.8-5.9-5.1-9.6-11.6-10.8-19.3-1.8-11.3 1.3-21.3 8.1-30.2 7.3-9.6 16.1-14.6 28-16.7 10.2-1.8 19.8-.8 28.5 5.1 7.9 5.4 12.8 12.7 14.1 22.3 1.7 13.5-2.2 24.5-11.5 33.9-6.6 6.7-14.7 10.9-24 12.8-2.7.5-5.4.6-8 .9M131 37.2c-.1-1.3-.1-2.3-.3-3.3-1.8-9.9-10.9-15.5-20.4-13.3-9.3 2.1-15.3 8-17.5 17.4-1.8 7.8 2 15.7 9.2 18.9 5.5 2.4 11 2.1 16.3-.6 7.9-4.1 12.2-10.5 12.7-19.1" fill-rule="nonzero"/></g></g></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
// Theme Selector Icons
|
||||
.Footer img[alt="Dark theme"],
|
||||
.go-Footer img[alt="Dark theme"],
|
||||
.top-bar img.go-Icon--inverted[data-value="dark"] {
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="@{text}"><path d="M0 0h24v24H0z" fill="none"/><path d="M10 2c-1.82 0-3.53.5-5 1.35C7.99 5.08 10 8.3 10 12s-2.01 6.92-5 8.65C6.47 21.5 8.18 22 10 22c5.52 0 10-4.48 10-10S15.52 2 10 2"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
filter: none;
|
||||
}
|
||||
// Right Arrow Icons
|
||||
.go-NavigationDrawer-listItem a[href="#"] img.go-Icon {
|
||||
@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>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
filter: none;
|
||||
}
|
||||
|
||||
.SiteBreadcrumb .BreadcrumbNav-li::after {
|
||||
@svg: escape(
|
||||
'<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="m5.06 12.393.94.94L11.333 8 6 2.667l-.94.94L9.447 8" fill="@{text}"/></svg>'
|
||||
);
|
||||
background-image: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
|
||||
.Footer img[alt="Light theme"],
|
||||
.go-Footer img[alt="Light theme"],
|
||||
.top-bar img.go-Icon--inverted[data-value="light"] {
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="24px" viewBox="0 0 24 24" width="24px" fill="@{text}"><rect fill="none" height="24" width="24"/><path d="M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5M2 13h2c.55 0 1-.45 1-1s-.45-1-1-1H2c-.55 0-1 .45-1 1s.45 1 1 1m18 0h2c.55 0 1-.45 1-1s-.45-1-1-1h-2c-.55 0-1 .45-1 1s.45 1 1 1M11 2v2c0 .55.45 1 1 1s1-.45 1-1V2c0-.55-.45-1-1-1s-1 .45-1 1m0 18v2c0 .55.45 1 1 1s1-.45 1-1v-2c0-.55-.45-1-1-1s-1 .45-1 1M5.99 4.58a.996.996 0 0 0-1.41 0 .996.996 0 0 0 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0s.39-1.03 0-1.41zm12.37 12.37a.996.996 0 0 0-1.41 0 .996.996 0 0 0 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0a.996.996 0 0 0 0-1.41zm1.06-10.96a.996.996 0 0 0 0-1.41.996.996 0 0 0-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41s1.03.39 1.41 0zM7.05 18.36a.996.996 0 0 0 0-1.41.996.996 0 0 0-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41s1.03.39 1.41 0z"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
filter: none;
|
||||
}
|
||||
|
||||
.Footer img[alt="System theme"],
|
||||
.go-Footer img[alt="System theme"],
|
||||
.top-bar img.go-Icon--inverted[data-value="auto"] {
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="@{text}"><path d="M0 0h24v24H0z" fill="none"/><path d="M20 15.31 23.31 12 20 8.69V4h-4.69L12 .69 8.69 4H4v4.69L.69 12 4 15.31V20h4.69L12 23.31 15.31 20H20zM12 18V6c3.31 0 6 2.69 6 6s-2.69 6-6 6"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
filter: none;
|
||||
}
|
||||
// Menu Active Selector
|
||||
img.TabSection-underline {
|
||||
@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>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
// Code Snippet Highlights
|
||||
pre {
|
||||
.comment {
|
||||
color: @overlay2;
|
||||
}
|
||||
ins {
|
||||
color: @blue;
|
||||
}
|
||||
}
|
||||
// Companies in Main Page Contrast
|
||||
& when (@lookup = latte) {
|
||||
.WhoUsesCaseStudyList-caseStudyLink {
|
||||
background-color: @surface0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@-moz-document domain('pkg.go.dev') {
|
||||
@media (prefers-color-scheme: light) {
|
||||
:root[data-theme="auto"],
|
||||
:root:not([data-theme]) {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
: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) {
|
||||
@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];
|
||||
|
||||
// Pkg.go Carousel
|
||||
.go-Carousel {
|
||||
.go-Carousel-nextSlide img {
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="@{text}"><path d="M0 0h24v24H0z" fill="none"/><path d="m10 17 5-5-5-5z"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
filter: none;
|
||||
}
|
||||
|
||||
.go-Carousel-prevSlide img {
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="@{text}"><path d="m14 7-5 5 5 5z"/><path d="M24 0v24H0V0z" fill="none" opacity=".87"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
filter: none;
|
||||
}
|
||||
}
|
||||
// Alert Chips
|
||||
.go-Chip--alert {
|
||||
color: @crust;
|
||||
}
|
||||
// Pkg.go Clipboard Icon
|
||||
.go-Clipboard img.go-Icon {
|
||||
@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>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
filter: none;
|
||||
}
|
||||
// Pkg.go Header
|
||||
.go-Header {
|
||||
.go-Header-submenu {
|
||||
border-color: @accent-color;
|
||||
}
|
||||
|
||||
// Triangle Icon Accented
|
||||
.go-Header-menuItem:hover img.go-Icon[alt="submenu dropdown icon"],
|
||||
.go-Header-menuItem:focus-within
|
||||
img.go-Icon[alt="submenu dropdown icon"] {
|
||||
@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>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
filter: none;
|
||||
}
|
||||
}
|
||||
// Triangle Icon
|
||||
.go-Header,
|
||||
.go-Main-navMobile {
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="@{text}"><path d="M0 0h24v24H0z" fill="none"/><path d="m7 10 5 5 5-5z"/></svg>'
|
||||
);
|
||||
|
||||
img.go-Icon[alt="submenu dropdown icon"] {
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
filter: none;
|
||||
}
|
||||
|
||||
.go-Select {
|
||||
background-image: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
}
|
||||
// Info Icon
|
||||
.go-Main-banner .go-Message .go-Icon {
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="@{text}"><path d="M0 0h24v24H0z" fill="none"/><path d="M11 7h2v2h-2zm0 4h2v6h-2zm1-9C6.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 8"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
filter: none;
|
||||
}
|
||||
// Pkg.go Subheader
|
||||
.go-Main-header {
|
||||
background-color: @mantle;
|
||||
}
|
||||
// Pkg.go Fixed Header
|
||||
.go-Main-header[data-raised="true"] {
|
||||
background-color: @crust;
|
||||
}
|
||||
// Pkg.go Package Documentation Mobile Dropdown Icon
|
||||
.go-Main-navMobile label.go-Label::before {
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="@{text}"><path d="M0 0h24v24H0z" fill="none" opacity=".87"/><path d="M0 0h24v24H0z" fill="none"/><path d="M4 13c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1m0 4c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1m0-8c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1m3 4h14v-2H7zm0 4h14v-2H7zM7 7v2h14V7z"/></svg>'
|
||||
);
|
||||
background-image: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
// Pkg.go Mobile Navigation Drawer
|
||||
.go-NavigationDrawer {
|
||||
.go-NavigationDrawer-header {
|
||||
border-bottom-color: @overlay2;
|
||||
}
|
||||
|
||||
.go-NavigationDrawer-listItem--active {
|
||||
background-color: fade(@accent-color, 30%);
|
||||
}
|
||||
}
|
||||
//Pkg.go Search Bar
|
||||
.go-SearchForm {
|
||||
input[type="search"]::-webkit-search-cancel-button {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.go-Footer {
|
||||
background-color: @crust;
|
||||
}
|
||||
// Pkg.go Shortcut Helpers
|
||||
.go-ShortcutKey::after {
|
||||
background-color: @text;
|
||||
}
|
||||
// External Link Icon
|
||||
.Homepage-helpLink, .UnitFiles-titleLink, a[href='https://www.meetup.com/pro/go'], a[href='https://github.com/golang/go/wiki/Conferences']
|
||||
{
|
||||
@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>'
|
||||
);
|
||||
|
||||
img,
|
||||
img.go-Icon,
|
||||
img.go-Icon:not(.go-Icon--accented) {
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
filter: none;
|
||||
}
|
||||
|
||||
a::after {
|
||||
background-image: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
}
|
||||
// 'Jump to' Dialog - Desktop
|
||||
.JumpDialog {
|
||||
.JumpDialog-active {
|
||||
color: @crust;
|
||||
}
|
||||
|
||||
.go-Button[aria-label="Close"] img.go-Icon {
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="@{text}"><path d="M0 0h24v24H0z" fill="none"/><path d="M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
filter: none;
|
||||
}
|
||||
}
|
||||
// Pkg.go Package Search Results
|
||||
.SearchResults-header {
|
||||
input[type="search"]::-webkit-search-cancel-button {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
// Search Icon
|
||||
.SearchResults-header,
|
||||
.go-SearchForm {
|
||||
button[aria-label="Submit search"] img.go-Icon {
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="@{text}"><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>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
filter: none;
|
||||
}
|
||||
}
|
||||
// Search Icon in pkg.go - Accented
|
||||
form.Homepage-search--symbol::before {
|
||||
@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>'
|
||||
);
|
||||
background-image: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
|
||||
.ShortcutsDialog {
|
||||
.go-Button[aria-label="Close"] img.go-Icon {
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="@{text}"><path d="M0 0h24v24H0z" fill="none"/><path d="M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
filter: none;
|
||||
}
|
||||
}
|
||||
// Pkg.go Package Page
|
||||
.UnitDetails {
|
||||
#section-documentation img.go-Icon {
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="@{text}"><path d="M0 0h24v24H0z" fill="none"/><path d="m16 6-1.41 1.41L19.17 12l-4.58 4.59L16 18l6-6zM8 18l1.41-1.41L4.83 12l4.58-4.59L8 6l-6 6z"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
filter: none;
|
||||
}
|
||||
|
||||
.UnitReadme-title img.go-Icon {
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="@{text}"><path d="M0 0h24v24H0z" fill="none"/><path d="M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2M4 18V6h7v12zm16 0h-7V6h7zm-6-9.5h5V10h-5zm0 2.5h5v1.5h-5zm0 2.5h5V15h-5zm-7.25-.81"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
filter: none;
|
||||
}
|
||||
}
|
||||
|
||||
.UnitDirectories img.go-Icon {
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="@{text}"><path d="M0 0h24v24H0z" fill="none"/><path d="M20 6h-8l-2-2H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2m0 12H4V8h16z"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
filter: none;
|
||||
}
|
||||
|
||||
.UnitFiles img.go-Icon {
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="@{text}"><path d="M0 0h24v24H0z" fill="none"/><path d="M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8zM6 20V4h7v5h5v11z"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
filter: none;
|
||||
}
|
||||
// Pkg.go Package Details Section
|
||||
.UnitMeta {
|
||||
.UnitMeta-details {
|
||||
img.go-Icon {
|
||||
// Question Tooltip
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="@{text}"><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 2m1 17h-2v-2h2zm2.07-7.75-.9.92C13.45 12.9 13 13.5 13 15h-2v-.5c0-1.1.45-2.1 1.17-2.83l1.24-1.26c.37-.36.59-.86.59-1.41 0-1.1-.9-2-2-2s-2 .9-2 2H8c0-2.21 1.79-4 4-4s4 1.79 4 4c0 .88-.36 1.68-.93 2.25"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
filter: none;
|
||||
}
|
||||
|
||||
img.go-Icon[alt="unchecked"] {
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="@{text}"><path d="M0 0h24v24H0z" fill="none" opacity=".87"/><path d="M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 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 8m3.59-13L12 10.59 8.41 7 7 8.41 10.59 12 7 15.59 8.41 17 12 13.41 15.59 17 17 15.59 13.41 12 17 8.41z"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
filter: none;
|
||||
}
|
||||
|
||||
img.go-Icon.go-Icon--accented[alt="checked"] {
|
||||
@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>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
filter: none;
|
||||
}
|
||||
}
|
||||
|
||||
.UnitMeta-links {
|
||||
img.go-Icon {
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="@{text}"><path d="M0 0h24v24H0z" fill="none"/><path d="M12 1 3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5zm0 10.99h7c-.53 4.12-3.28 7.79-7 8.94V12H5V6.3l7-3.11z"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
filter: none;
|
||||
}
|
||||
|
||||
img.depsdev-Icon {
|
||||
@svg: escape(
|
||||
'<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="m13.587 16.204 2.217 2.217c.26.253.26.667.007.927l-.008.008L3.342 31.81a.653.653 0 0 1-.92 0L.19 29.58a.653.653 0 0 1 0-.92l12.462-12.462a.655.655 0 0 1 .928-.008c0 .008.007.015.007.015" fill="@{subtext0}"/><circle cx="17" cy="15" r="13" stroke="@{text}" stroke-width="4"/><circle cx="17" cy="15" r="4" stroke="@{text}" stroke-width="4"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
}
|
||||
}
|
||||
// Deprecated Chip
|
||||
span.Documentation-deprecatedTag {
|
||||
color: @crust;
|
||||
}
|
||||
// Code Snippet Highlights
|
||||
pre {
|
||||
.comment {
|
||||
color: @overlay2;
|
||||
}
|
||||
ins {
|
||||
color: @blue;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@-moz-document url-prefix("https://go.dev/tour")
|
||||
{
|
||||
@media (prefers-color-scheme: light) {
|
||||
:root[data-theme="auto"],
|
||||
:root:not([data-theme]) {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
: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) {
|
||||
@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];
|
||||
|
||||
#editor-container {
|
||||
#left-side {
|
||||
.slide-content {
|
||||
background-color: @base;
|
||||
|
||||
a {
|
||||
color: @accent-color;
|
||||
}
|
||||
|
||||
code {
|
||||
background-color: @accent-color !important;
|
||||
color: @crust;
|
||||
}
|
||||
|
||||
h2,
|
||||
li,
|
||||
p {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
pre {
|
||||
background-color: @mantle;
|
||||
color: @text;
|
||||
}
|
||||
}
|
||||
|
||||
.module-bar {
|
||||
background-color: @mantle;
|
||||
color: @text;
|
||||
|
||||
a {
|
||||
color: @accent-color;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#right-side {
|
||||
background-color: @base;
|
||||
|
||||
#explorer {
|
||||
background-color: @mantle;
|
||||
}
|
||||
|
||||
#file-editor {
|
||||
.CodeMirror {
|
||||
background-color: @base;
|
||||
|
||||
.CodeMirror-lines {
|
||||
background-color: @base;
|
||||
color: @text;
|
||||
|
||||
.CodeMirror-linenumber {
|
||||
color: @overlay1;
|
||||
}
|
||||
|
||||
span.cm-atom {
|
||||
color: @blue;
|
||||
}
|
||||
|
||||
span.cm-comment {
|
||||
color: @peach;
|
||||
}
|
||||
|
||||
span.cm-keyword {
|
||||
color: @mauve;
|
||||
}
|
||||
|
||||
span.cm-number {
|
||||
color: @green;
|
||||
}
|
||||
|
||||
span.cm-string {
|
||||
color: @red;
|
||||
}
|
||||
|
||||
span.cm-variable {
|
||||
color: @text;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.CodeMirror-gutters {
|
||||
background-color: @mantle;
|
||||
border-right-color: @surface2;
|
||||
}
|
||||
}
|
||||
|
||||
#file-menu {
|
||||
background-color: @mantle;
|
||||
}
|
||||
|
||||
.output {
|
||||
background-color: @base;
|
||||
|
||||
span.stdout {
|
||||
color: @subtext0;
|
||||
}
|
||||
|
||||
span.system {
|
||||
color: @text;
|
||||
}
|
||||
}
|
||||
|
||||
a {
|
||||
background-color: @text;
|
||||
color: @crust;
|
||||
}
|
||||
|
||||
a#run {
|
||||
background-color: @accent-color;
|
||||
}
|
||||
|
||||
pre.info {
|
||||
background-color: @surface0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
div[vertical-slide],
|
||||
div[horizontal-slide] {
|
||||
background-color: @surface2;
|
||||
}
|
||||
}
|
||||
|
||||
.toc {
|
||||
background-color: @base;
|
||||
|
||||
.toc-page.ng-scope {
|
||||
background-color: @mantle;
|
||||
color: @text;
|
||||
}
|
||||
|
||||
.toc-module.ng-scope {
|
||||
background-color: @mantle;
|
||||
span.ng-binding {
|
||||
background-color: @base;
|
||||
color: @accent-color;
|
||||
}
|
||||
|
||||
.toc-lesson span.ng-binding {
|
||||
background-color: @mantle;
|
||||
color: @text;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.top-bar {
|
||||
background-color: @crust;
|
||||
color: @text;
|
||||
|
||||
span.nav {
|
||||
svg {
|
||||
fill: @text;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.wrapper.ng-scope {
|
||||
background-color: @base;
|
||||
|
||||
.container {
|
||||
background-color: @base;
|
||||
|
||||
.lesson.ng-scope {
|
||||
background-color: @mantle;
|
||||
}
|
||||
|
||||
h1,
|
||||
p {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
a {
|
||||
color: @accent-color;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* prettier-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; };
|
||||
}
|
||||
|
||||
// vim:ft=less
|
||||
==/UserStyle== */
|
||||
@@ -0,0 +1,940 @@
|
||||
/* ==UserStyle==
|
||||
@name go.dev Catppuccin
|
||||
@namespace github.com/catppuccin/userstyles/styles/go.dev
|
||||
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/go.dev
|
||||
@version 2024.12.29.1
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/go.dev/catppuccin.user.less
|
||||
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Ago.dev
|
||||
@description Soothing pastel theme for go.dev
|
||||
@author Catppuccin
|
||||
@license MIT
|
||||
|
||||
@preprocessor less
|
||||
@var select lightFlavor "Light Flavor" ["latte:Latte*", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha"]
|
||||
@var select darkFlavor "Dark Flavor" ["latte:Latte", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha*"]
|
||||
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
|
||||
==/UserStyle== */
|
||||
|
||||
@-moz-document domain("go.dev") {
|
||||
@media (prefers-color-scheme: light) {
|
||||
:root[data-theme="auto"],
|
||||
:root:not([data-theme]) {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
: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) {
|
||||
@rosewater: @catppuccin[@@lookup][@rosewater];
|
||||
@flamingo: @catppuccin[@@lookup][@flamingo];
|
||||
@pink: @catppuccin[@@lookup][@pink];
|
||||
@mauve: @catppuccin[@@lookup][@mauve];
|
||||
@red: @catppuccin[@@lookup][@red];
|
||||
@maroon: @catppuccin[@@lookup][@maroon];
|
||||
@peach: @catppuccin[@@lookup][@peach];
|
||||
@yellow: @catppuccin[@@lookup][@yellow];
|
||||
@green: @catppuccin[@@lookup][@green];
|
||||
@teal: @catppuccin[@@lookup][@teal];
|
||||
@sky: @catppuccin[@@lookup][@sky];
|
||||
@sapphire: @catppuccin[@@lookup][@sapphire];
|
||||
@blue: @catppuccin[@@lookup][@blue];
|
||||
@lavender: @catppuccin[@@lookup][@lavender];
|
||||
@text: @catppuccin[@@lookup][@text];
|
||||
@subtext1: @catppuccin[@@lookup][@subtext1];
|
||||
@subtext0: @catppuccin[@@lookup][@subtext0];
|
||||
@overlay2: @catppuccin[@@lookup][@overlay2];
|
||||
@overlay1: @catppuccin[@@lookup][@overlay1];
|
||||
@overlay0: @catppuccin[@@lookup][@overlay0];
|
||||
@surface2: @catppuccin[@@lookup][@surface2];
|
||||
@surface1: @catppuccin[@@lookup][@surface1];
|
||||
@surface0: @catppuccin[@@lookup][@surface0];
|
||||
@base: @catppuccin[@@lookup][@base];
|
||||
@mantle: @catppuccin[@@lookup][@mantle];
|
||||
@crust: @catppuccin[@@lookup][@crust];
|
||||
@accent-color: @catppuccin[@@lookup][@@accent];
|
||||
|
||||
color-scheme: if(@lookup = latte, light, dark);
|
||||
|
||||
::selection {
|
||||
background-color: fade(@accent-color, 30%);
|
||||
}
|
||||
|
||||
input,
|
||||
textarea {
|
||||
&::placeholder {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
background-color: @base;
|
||||
|
||||
--abbey: @mantle;
|
||||
--black-1: @crust;
|
||||
--color-border: @surface2;
|
||||
--color-background: @base;
|
||||
--color-background-accented: @mantle;
|
||||
--color-background-banner: @mantle;
|
||||
--color-background-card-footer: @crust;
|
||||
--color-background-code: @surface0; // Code Snippets
|
||||
--color-background-info: @surface1;
|
||||
--color-background-inverted: @crust;
|
||||
--color-background-logo: @text;
|
||||
--color-background-playground-input: @mantle;
|
||||
--color-brand-primary: @accent-color; // Affects most Go-Color Elements
|
||||
--color-button: @accent-color;
|
||||
--color-button-accented: @accent-color;
|
||||
--color-button-text: @crust;
|
||||
--color-button-text-disabled: @subtext0;
|
||||
--color-bright-text-link: @accent-color;
|
||||
--color-text: @text;
|
||||
--color-text-link: @accent-color;
|
||||
--color-text-subtle: @subtext1;
|
||||
--focus-box-shadow: 0 0 0.0625rem 0.0625rem
|
||||
@accent-color; // Only modifies color;
|
||||
--gray-2: @surface0;
|
||||
--gray-3: @text;
|
||||
--gray-6: @crust;
|
||||
--pink: @red;
|
||||
--turq-dark: @accent-color;
|
||||
--white: @text;
|
||||
--border-code: 0.0625rem @surface2 solid;
|
||||
|
||||
.btn {
|
||||
background: @accent-color;
|
||||
color: @crust;
|
||||
}
|
||||
// /dl page in go.dev
|
||||
.Downloads {
|
||||
div.filename img {
|
||||
@svg: escape(
|
||||
'<svg width="14" height="13" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M2.992 12.992V12q.928 0 1.408-.176.384-.127.512-.384.08-.144.08-.448H.496L0 10.496v-10L.496 0h12.992L14 .496v9.248l-1.008-1.008V.992h-12V10H6.72l-.496.496 2.496 2.496zm7.856 0 2.512-2.496-.72-.704-1.648 1.664V4.992H10v6.448L8.352 9.792l-.704.704 2.496 2.496z" fill="@{text}"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
|
||||
table.downloadtable {
|
||||
--color-background-accented: @surface0;
|
||||
}
|
||||
}
|
||||
// Main Page Footer & Pkg.go Footer
|
||||
.Footer,
|
||||
.go-Footer {
|
||||
background-color: @mantle;
|
||||
|
||||
button[aria-label="Shorcuts Modal"] img.go-Icon {
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="@{text}"><path d="M20 5H4c-1.1 0-1.99.9-1.99 2L2 17c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2m-9 3h2v2h-2zm0 3h2v2h-2zM8 8h2v2H8zm0 3h2v2H8zm-1 2H5v-2h2zm0-3H5V8h2zm9 7H8v-2h8zm0-4h-2v-2h2zm0-3h-2V8h2zm3 3h-2v-2h2zm0-3h-2V8h2z"/><path d="M0 0h24v24H0zm0 0h24v24H0z" fill="none"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
filter: none;
|
||||
}
|
||||
|
||||
img.Footer-gopher,
|
||||
img.go-Footer-gopher {
|
||||
@svg: escape(
|
||||
'<svg viewBox="0 0 1431 901" xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="2"><path d="M335.6 867.8c-.6-33-1.1-47.7-2.2-69.6-.6-10.6-.7-11.2-2.4-10-1 .7-5.7 4.6-10.6 8.6-15.4 12.5-25.1 16.2-47.4 17.7-12.7.9-17.2 2.1-32 9-7.5 3.5-15.5 6.8-17.8 7.5-3.1.8-15.6.9-45 .4l-40.7-.7-9.5 4c-18.4 7.8-31.9 11-41.5 9.8-9-1.2-21.4-4.4-26.4-7-11.5-5.8-23.1-18.3-38.8-42-19.7-29.6-24.6-42-19.2-48.9 1.2-1.5 4.9-4.1 8.3-5.8 11.3-5.6 11.9-6.4 14.1-17.1 1.2-6 7.3-8.4 13.3-5.3 3.7 2 9.4 8.1 13.4 14.6 4.4 7.1 4.6 7.5 6.9 20.5 2.8 15.5 8.5 38.9 10.8 44 1.8 4 2.4 4.5 7.7 6.1 8.5 2.4 23.5 1.5 32.9-2.1 3.9-1.4 12.2-4 18.5-5.6 11.1-2.9 12.5-3.1 36.5-3.4 35-.4 54.8-3.6 62.5-10.1 7-5.9 28-56.1 35.4-84.8 5.2-19.7 5.7-30.9 2.2-46.5-5.3-23.4-13.3-77.8-14.3-96.6-.6-11.5 1-23.3 6-46l2.2-10-5.1-5.2c-6.2-6.1-11.4-15.1-14.4-24.8-3-9.6-3.8-28.1-1.6-38.4.9-4.1 1.5-7.5 1.3-7.6-.1-.1-3.1-2.2-6.7-4.7-22-15.4-33.1-36.4-33.3-62.8-.1-13.6 1.3-22.8 5.9-37 4.6-14.5 10.8-24.6 21.3-35 10.1-10 18.1-14.9 30.8-19 13.1-4.2 20.8-5.3 38.3-5.3h15.6l2.3-11.1c3.4-16.3 8.6-32.9 13.7-43.4 7.5-15.5 20.5-27 45.1-39.9 8.5-4.4 12.6-7.4 19.3-13.8 5.3-5.1 14.5-12.1 24.5-18.8 18.3-12.1 35.8-26.7 47.2-39.4 11.3-12.7 14.6-15.6 26.8-23.7 18.8-12.5 55-31.8 79.1-42.1 14.6-6.3 23-8.3 62.4-14.9 18.4-3.2 39.1-6.9 46-8.4C689.2.6 690.3.5 723.5.5c35.9 0 51.2.9 82.5 5.1 21.1 2.8 34.6 6 44 10.2 6.9 3.2 34.5 13.3 62 22.7 43.7 15.1 57 19.9 62.5 22.7 14.2 7.1 36.1 24.7 70 56.3 20.2 18.8 22 20.2 42.9 34.5 32.3 22 35.4 26.2 48.7 67.5 12.3 38.2 11 35 14.5 34.8 5.6-.3 24.6 1.7 31.3 3.3 3.6.8 11.2 3.8 16.8 6.5 21.8 10.7 35.3 28.8 43.1 57.8 2.1 8.1 2.6 11.8 2.6 24.1.1 13.4-.1 15.2-2.8 23.3-4.6 14-14.3 27.1-25.6 34.8l-5.1 3.4.8 10c1.3 16.4.8 39-1.1 48.4-1.8 8.9-6.1 19.3-9.2 22.5-1.6 1.7-1.8 3.2-1.6 10.2.4 8.1-1.6 26.9-4.3 40.7-1.3 7-1.3 7.3 1 11.2 1.3 2.2 5.1 7.2 8.5 11 3.4 3.9 7 8.7 8.1 10.8 5.5 10.4 8.6 35.4 7.5 60-1.3 29.3-4.8 40.9-26.6 86.4-8.6 18-11.4 25.6-10.6 29.7.8 4.3 5.3 10.7 10.6 15.1 6.7 5.6 29 20.3 40.9 26.9 7.7 4.4 12.9 8.3 20.5 15.5 13.2 12.5 18.7 15.5 28.1 15.5 12.6-.1 19.7-5.3 28.4-21 7.6-13.7 11-18 26.9-34.5 15.4-15.9 23.6-22.5 35.2-28.4 19.8-10 37.8-9.9 49.2.3 5.7 5.2 7.8 9.2 7.8 15.1 0 5.5-1.3 8.4-6.2 13.7-8.2 8.9-22 16.5-44.2 24.3-13.7 4.9-18.2 7.7-29.8 19.1l-10.6 10.5-4.1 12.8c-2.2 7-5.3 14.6-7 17-6.8 9.8-24.2 23.7-31.5 25.1-2.5.5-5.8-.2-13-2.8-11.8-4.3-21-6.3-35.2-7.5-18.2-1.7-31.8-7.6-66.6-29.4-16.9-10.5-27.8-16.7-29.3-16.7-.3 0-.3 14.5.1 32.3.4 17.7.4 36.1 0 41l-.8 8.7H336.3z" fill="@{crust}" fill-rule="nonzero"/><g fill="@{text}" fill-rule="nonzero"><path d="M348 874.8c0-14.5-.7-42.9-1.5-63.3l-1.4-37 3.7-3c13.5-10.9 22.7-22.5 31.7-39.8 6.6-12.9 6.9-15.6 2.8-35.8-4.9-24.8-3.7-39.6 5.9-75.9 1.7-6.3 3.3-12.5 3.6-13.7.2-1.3.8-2.3 1.1-2.3.4 0 5.4 2.4 11.2 5.4 12.3 6.5 27.3 11.8 41.3 14.8 8.1 1.7 13.6 2.1 27.6 2.2 36.6.1 71.3-8.2 103.4-24.6 10.3-5.3 29.9-17.9 31.3-20.1.4-.6 1.2 2.6 1.9 7.1 2.7 19.2 13 30 32 33.5l6.9 1.3-.3 7.5c-.1 4.1-.7 16.4-1.2 27.4-1.5 32-1.4 37.2 1.4 43.1 6.6 14.1 24 21.9 41 18.4 7.5-1.5 19.9-7.9 26.2-13.4l4.9-4.3 4.4 3.4c9.7 7.4 24.6 12.6 36.1 12.5 15.9-.1 29.1-10.4 33.7-26.4 2.3-8.3 2.8-35.4.9-53.4-.9-8.3-1.6-15.6-1.6-16.2 0-.7 1.2-1.2 2.8-1.2 4.6 0 15.6-2.7 20.5-5 11.2-5.3 19.3-16.8 21.8-31.2.7-4 1.3-7.4 1.5-7.6.1-.2 2.8 1.3 6 3.4 16 10.2 42.3 20.6 65.4 25.8 21.5 4.8 32.9 6 57 6 24.9.1 33.7-1.2 51.9-7.6 21.5-7.5 49.1-24.7 63-39.2 1.9-2 3.8-3.6 4.2-3.6s1 4.6 1.3 10.3c1.9 28.8 5.2 44.5 12.6 59.2 8 16.1 9.4 22.4 9.4 45.5l.1 19.5-5.1 17.5c-7.1 24.1-9.6 36.5-9.8 48.5-.1 8.7.2 10.6 2.3 14.4 4.8 9.1 17.7 20.5 33.8 30l7.3 4.3.2 43.7.3 43.6v14.95c4.5.9-86 3.267-390.7 3.367L348 914.264z"/><path d="M1288.5 863.9c-9.3-3.7-23.3-6.8-35.4-7.9-19.1-1.6-30.4-6.5-65.8-28.6-10.1-6.3-25.1-15-33.4-19.4-26.6-14.2-40.8-24.9-45.5-34.6-2.5-5-2.6-6.2-2.1-13.4.8-9.8 4.4-26.3 10.4-46.9 4.1-14.3 4.5-16.8 5-29.9.9-23.2-2.5-40.5-10.8-55.7-6.9-12.7-10.5-31.3-11.5-59.5l-.6-16.5 5.8-7c9.6-11.7 18.8-26.7 24.2-39.3l2.3-5.3 4.7.8c2.6.4 11.9.7 20.7.6 15.3-.1 23.9-1.3 32.9-4.9 1.8-.7 1.9-.3 1.2 8.2-.3 4.9-1.8 16.3-3.2 25.4-1.4 9-2.3 17.7-2 19.3.7 3.4 5 9.8 12.9 19 3.3 3.8 6.8 9.2 7.9 11.9 3.2 8.4 4.8 22.9 4.8 42.8 0 34-2.1 41.6-24.5 89.5-5.7 12.1-10.8 23.8-11.4 26-3.6 13.4 1.7 24.2 18.2 36.4 10.2 7.6 27 18.4 38.7 24.9 4.6 2.5 11.7 8.1 18.4 14.2 6.3 5.9 13.5 11.5 17 13.3 5.7 3 6.8 3.2 16.1 3.2 8.9 0 10.6-.3 15.7-2.8 7.4-3.6 15.4-12.4 21.3-23.2 2.6-4.7 6.3-10.7 8.3-13.4 4.6-6 28-30.7 28.5-30.1.2.3 2.3 6 4.5 12.8l4.1 12.2-5.7 3.6c-7.1 4.6-25.8 22.7-28.2 27.4-.9 1.9-3.1 8-4.8 13.5-3.6 11.5-7.2 17.5-14.5 24.1-6.4 5.8-15 11.4-17.4 11.4-1-.1-4-1-6.8-2.1m-1211-30.5c-10.4-2.2-16.8-5.6-24.2-12.6-7.8-7.5-15.4-17.3-26.3-34-8.1-12.2-18-30.7-18-33.4 0-.7 3.5-3.1 7.8-5.3 10.6-5.3 14.7-10.2 16.4-19.6.4-1.7 1-1.4 4.6 2.4 6.5 7.1 8.7 12.3 11.7 27.6 5.4 28.8 10.4 45.2 14.8 49.4 8 7.5 31.7 8.7 48.8 2.5 19.8-7.2 22.1-7.6 52.9-8.4 46.7-1.3 64-5.5 71.8-17.8 11.3-17.5 31.6-70.9 36.2-94.9 2.9-15.5 2.5-29-1.8-48.8-6.4-30.2-13.7-85.3-12Line truncated
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
|
||||
img.go-Footer-googleLogoImg,
|
||||
img.Footer-googleLogoImg {
|
||||
@svg: escape(
|
||||
'<svg width="74" height="24" xmlns="http://www.w3.org/2000/svg"><path d="M.128 9.276c0-5.105 4.32-9.261 9.457-9.261 2.842 0 4.865 1.107 6.388 2.552l-1.796 1.785c-1.091-1.017-2.569-1.807-4.592-1.807-3.75 0-6.683 3.004-6.683 6.731s2.932 6.732 6.683 6.732c2.432 0 3.82-.971 4.706-1.853.727-.722 1.204-1.761 1.386-3.184H9.585V8.44h8.57c.091.451.137.993.137 1.58 0 1.898-.523 4.248-2.206 5.92-1.636 1.693-3.728 2.597-6.5 2.597-5.139 0-9.458-4.156-9.458-9.262m25.09 6.914c-1.819 0-3.387-1.491-3.387-3.615 0-2.146 1.568-3.614 3.387-3.614s3.387 1.468 3.387 3.614c0 2.124-1.569 3.615-3.387 3.615m0-9.578c-3.32 0-6.024 2.507-6.024 5.963 0 3.434 2.705 5.964 6.024 5.964s6.024-2.53 6.024-5.964c0-3.456-2.706-5.963-6.024-5.963m13.142 9.578c-1.82 0-3.388-1.491-3.388-3.615 0-2.146 1.569-3.614 3.387-3.614s3.387 1.468 3.387 3.614c0 2.124-1.568 3.615-3.387 3.615m0-9.578c-3.319 0-6.024 2.507-6.024 5.963 0 3.434 2.705 5.964 6.024 5.964s6.024-2.53 6.024-5.964c0-3.456-2.705-5.963-6.024-5.963m13.107 9.578c-1.818 0-3.341-1.514-3.341-3.592 0-2.1 1.523-3.637 3.341-3.637 1.796 0 3.206 1.536 3.206 3.637 0 2.078-1.41 3.592-3.206 3.592m3.024-9.217v.972h-.091c-.591-.7-1.728-1.333-3.16-1.333-3 0-5.751 2.62-5.751 5.986 0 3.343 2.75 5.941 5.75 5.941 1.433 0 2.57-.633 3.16-1.356h.092v.859c0 2.281-1.228 3.501-3.206 3.501-1.614 0-2.614-1.152-3.023-2.123l-2.296.949c.66 1.581 2.41 3.524 5.32 3.524 3.091 0 5.705-1.808 5.705-6.212V6.972zm6.956 11.204h-2.637V.647h2.637zm7.024-9.261c1.046 0 1.932.52 2.228 1.265l-5.365 2.214c-.068-2.305 1.796-3.48 3.137-3.48m.205 7.275c-1.342 0-2.296-.61-2.91-1.807l8.025-3.298-.273-.678c-.5-1.333-2.024-3.795-5.138-3.795-3.092 0-5.66 2.417-5.66 5.963 0 3.344 2.546 5.964 5.956 5.964 2.75 0 4.342-1.672 5-2.643L71.63 14.54c-.682.994-1.614 1.649-2.955 1.649" fill="@{text}" fill-rule="evenodd"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
}
|
||||
// Main Page Footer Get Started
|
||||
.GettingStartedGo-primaryCta {
|
||||
color: @crust;
|
||||
}
|
||||
|
||||
// Main Page Carousel
|
||||
.GoCarousel button {
|
||||
background-color: @text;
|
||||
color: @crust;
|
||||
}
|
||||
// Download button in /learn
|
||||
.Learn-heroAction {
|
||||
background-color: @accent-color;
|
||||
|
||||
.js-downloadBtn {
|
||||
color: @crust;
|
||||
}
|
||||
}
|
||||
// Active indicator in /learn
|
||||
.LearnNav .active svg circle {
|
||||
fill: @accent-color;
|
||||
}
|
||||
|
||||
.LeftNav a.active,
|
||||
.LeftNav a:hover {
|
||||
background-color: fade(@accent-color, 30%);
|
||||
|
||||
img {
|
||||
@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>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
}
|
||||
// /solutions/use-cases & Why Use Go / 4 icons
|
||||
.MarketingCardList,
|
||||
.WhyGo-reasons .WhyGo-reasonIcon {
|
||||
img.LightMode-img[alt="cloud icon"],
|
||||
img.DarkMode-img[alt="cloud icon"],
|
||||
img[alt="Sphere"] {
|
||||
@svg: escape(
|
||||
'<svg width="59px" height="59px" viewBox="0 0 59 59" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><path d="M58.968 28.25q-.026-.564-.072-1.124v-.012C57.742 12.746 46.253 1.258 31.884.104h-.004A31 31 0 0 0 29.504 0h-.009q-.625.001-1.243.032-.571.026-1.136.074C12.368 1.295.652 13.358.03 28.249q-.03.617-.031 1.242v.024a26 26 0 0 0 .033 1.242c.632 14.89 12.34 26.946 27.082 28.137l.01.001c.375.03.75.057 1.13.073q.616.03 1.24.032h.009q.628-.001 1.246-.031.566-.026 1.127-.073h.008C46.62 57.71 58.334 45.65 58.967 30.757q.032-.616.033-1.242v-.024q-.001-.624-.032-1.241M20.988 3.79c-2.221 2.143-4.111 5.121-5.558 8.696a2.83 2.83 0 0 0-2.539 2.81c0 .02.006.037.006.056-3.784 1.503-6.945 3.501-9.185 5.84 2.648-8.198 9.107-14.69 17.276-17.403m-7.2 13.713c-.743 2.944-1.188 6.166-1.344 9.556-.494.29-.891.72-1.136 1.242H4.204a2.84 2.84 0 0 0-1.361-1.365c1.252-3.877 5.283-7.232 10.946-9.433M4.204 30.7h7.106c.244.521.642.95 1.135 1.24.15 3.262.575 6.362 1.271 9.218-.068.069-.124.15-.185.226-5.525-2.203-9.455-5.507-10.688-9.321a2.85 2.85 0 0 0 1.36-1.363m-.412 7.307c2.238 2.32 5.378 4.283 9.167 5.752a2.84 2.84 0 0 0 2.242 2.185c1.47 3.83 3.45 7.005 5.788 9.263a27.2 27.2 0 0 1-17.197-17.2M28.3 54.795c-.6.282-1.082.763-1.364 1.362-3.847-1.245-7.18-5.233-9.386-10.833q.052-.04.102-.084c2.84.704 5.925 1.137 9.17 1.3.3.64.824 1.152 1.478 1.425zm0-12.074a2.84 2.84 0 0 0-1.482 1.433 46 46 0 0 1-8.263-1.174 2.82 2.82 0 0 0-2.564-2.636 46 46 0 0 1-1.15-8.183 2.83 2.83 0 0 0 1.6-1.46h10.384c.299.638.822 1.15 1.475 1.421zm0-15.843a2.84 2.84 0 0 0-1.476 1.423H16.44a2.83 2.83 0 0 0-1.6-1.462c.163-3.095.602-6.038 1.286-8.742a2.82 2.82 0 0 0 2.335-2.06c2.726-.663 5.692-1.078 8.801-1.216.263.383.623.69 1.037.906zm0-16.164a2.83 2.83 0 0 0-1.408 1.723 47 47 0 0 0-8.808 1.267 3 3 0 0 0-.368-.436c2.203-5.384 5.467-9.21 9.22-10.425.282.6.763 1.081 1.363 1.362zM55.287 21.19c-2.24-2.342-5.399-4.334-9.185-5.84 0-.019.005-.037.005-.055a2.83 2.83 0 0 0-2.64-2.82c-1.482-3.594-3.406-6.609-5.657-8.762A27.22 27.22 0 0 1 55.287 21.19m.87 5.746a2.84 2.84 0 0 0-1.362 1.364h-6.668a2.84 2.84 0 0 0-1.57-1.452c-.17-3.313-.655-6.468-1.413-9.375 5.7 2.203 9.753 5.57 11.012 9.463M30.698 4.205a2.84 2.84 0 0 0 1.365-1.362c3.752 1.214 7.012 5.04 9.218 10.425-.135.133-.26.278-.367.436a47 47 0 0 0-8.585-1.253 2.84 2.84 0 0 0-1.63-1.853zm0 11.638c.508-.211.94-.567 1.249-1.014 3.032.148 5.923.56 8.587 1.205a2.83 2.83 0 0 0 2.337 2.063c.696 2.76 1.14 5.775 1.295 8.943-.51.29-.922.727-1.173 1.262H31.957a2.84 2.84 0 0 0-1.258-1.308zm0 16.164c.55-.287.993-.744 1.257-1.306h11.04c.25.534.662.97 1.17 1.26-.143 2.955-.54 5.774-1.157 8.383a2.82 2.82 0 0 0-2.565 2.637c-2.635.63-5.487 1.035-8.477 1.182a2.83 2.83 0 0 0-1.268-1.327zm1.365 24.15a2.84 2.84 0 0 0-1.365-1.362V47.85a2.84 2.84 0 0 0 1.253-1.299c3.329-.153 6.49-.59 9.395-1.311q.05.043.103.084c-2.206 5.6-5.54 9.588-9.386 10.833m5.75-.874c2.368-2.268 4.384-5.478 5.89-9.329a2.83 2.83 0 0 0 2.336-2.192c3.786-1.469 6.928-3.434 9.167-5.754-2.708 8.173-9.2 14.627-17.393 17.275m7.656-13.898c-.073-.09-.145-.182-.23-.263.7-2.797 1.155-5.81 1.317-8.97a2.83 2.83 0 0 0 1.569-1.451h6.67c.282.598.763 1.08 1.36 1.362-1.234 3.813-5.16 7.118-10.686 9.322" fill="@{text}" fill-rule="nonzero" stroke="none" stroke-width="1"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
|
||||
img.LightMode-img[alt="CLI icon"],
|
||||
img.DarkMode-img[alt="CLI icon"],
|
||||
img[alt="Command Line"] {
|
||||
@svg: escape(
|
||||
'<svg width="62px" height="59px" viewBox="0 0 62 59" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g fill="@{text}" fill-rule="nonzero" stroke="none" stroke-width="1"><path d="M0 11h62v48H0zm59.182 2.824H2.818v42.352h56.364z"/><rect x="9" y="6" width="45" height="3"/><rect x="14" y="0" width="34" height="3"/><path d="M21.4 42c-.414 0-.76-.142-1.035-.495-.484-.566-.415-1.486.207-1.981l6.975-6.014-7.044-6.014c-.553-.495-.69-1.415-.207-1.981s1.38-.707 1.933-.212l8.288 7.075c.345.283.483.637.483 1.061 0 .425-.207.85-.483 1.061l-8.288 7.075a.98.98 0 0 1-.828.425m19.224 3h-8.25C31.619 45 31 44.325 31 43.5s.619-1.5 1.375-1.5h8.25c.756 0 1.375.675 1.375 1.5s-.619 1.5-1.375 1.5"/></g></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
|
||||
img.LightMode-img[alt="web dev icon"],
|
||||
img.DarkMode-img[alt="web dev icon"],
|
||||
img[alt="Code"] {
|
||||
@svg: escape(
|
||||
'<svg width="75px" height="50px" viewBox="0 0 75 50" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g fill="@{text}" fill-rule="nonzero" stroke="none" stroke-width="1"><polygon points="17 24.484525 31 18 31 20.5366715 19.8950953 25.4706244 19.8950953 25.5270717 31 30.4898241 31 33 17 26.515475"/><polygon points="33 33 39.6555652 13 42 13 35.3455491 33"/><polygon points="58 26.5719223 44 33 44 30.4898241 55.28351 25.5270717 55.28351 25.4717764 44 20.5090239 44 18 58 24.4280777"/><polygon points="71.2505274 50 3.75064464 50 0 47 75 47"/><path d="M70.999 46h-2.341V3.036a.71.71 0 0 0-.703-.7H8.044a.71.71 0 0 0-.703.7V46H5V3.036A3.043 3.043 0 0 1 8.044 0h59.912A3.043 3.043 0 0 1 71 3.036V46z"/><path d="M30.831 45H0v2h33c-1.105 0-1.989-.877-2.169-2m13.336 0c-.18 1.123-1.062 2-2.167 2h33v-2z"/></g></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
|
||||
img.LightMode-img[alt="ops icon"],
|
||||
img.DarkMode-img[alt="ops icon"],
|
||||
img[alt="Sphere"][src="/images/icons/gear-dark.svg"],
|
||||
img[alt="Sphere"][src="/images/icons/gear.svg"] {
|
||||
@svg: escape(
|
||||
'<svg width="61px" height="61px" viewBox="0 0 61 61" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g fill="@{text}" fill-rule="nonzero" stroke="none" stroke-width="1"><path d="M30.5 22c-4.668 0-8.5 3.783-8.5 8.5 0 4.668 3.832 8.5 8.5 8.5s8.5-3.783 8.5-8.5c0-4.668-3.832-8.5-8.5-8.5m0 15.035c-3.587 0-6.535-2.948-6.535-6.535s2.948-6.535 6.535-6.535 6.535 2.948 6.535 6.535-2.948 6.535-6.535 6.535"/><path d="M51.886 37.805c-.242-1.057-.873-1.922-1.747-2.403l-2.184-1.25c.194-1.105.29-2.21.29-3.267 0-1.586-.145-2.98-.533-4.373l2.184-1.298c1.942-1.105 2.573-3.171 1.553-4.95l-1.796-3.075c-.728-1.202-2.087-2.018-3.494-2.018-.631 0-1.262.144-1.845.48l-2.475 1.442a17.5 17.5 0 0 0-6.504-3.556v-2.74c0-2.21-1.505-3.796-3.544-3.796H28.2c-2.184-.048-4.028 1.73-4.028 3.796v2.884a17.7 17.7 0 0 0-6.407 3.748l-2.33-1.345a4.3 4.3 0 0 0-2.136-.577c-1.262 0-2.33.625-2.96 1.73L8.54 20.313c-.485.865-.68 1.922-.437 2.931.243 1.057.874 1.922 1.796 2.45l2.282 1.25a17.8 17.8 0 0 0-.437 3.94c0 1.25.145 2.548.388 3.75l-2.038 1.153c-1.942 1.105-2.573 3.171-1.554 4.95l1.796 3.075c.728 1.201 2.087 2.018 3.495 2.018.631 0 1.262-.144 1.844-.48l1.99-1.153c1.99 1.826 4.418 3.171 6.99 3.94v2.067c0 2.21 1.505 3.796 3.543 3.796h3.592c2.185 0 4.029-1.73 4.029-3.845l-.049-2.21c2.573-.865 4.951-2.259 6.893-4.133l1.893 1.105a4.3 4.3 0 0 0 2.136.577c1.262 0 2.33-.625 2.96-1.73l1.796-3.076c.534-.817.68-1.922.437-2.883m-2.087 1.97-1.796 3.076c-.34.625-.922.769-1.31.769-.389 0-.777-.096-1.165-.337l-3.204-1.826-.534.529c-1.99 2.066-4.514 3.604-7.28 4.373l-.729.192.097 3.653c0 1.009-.97 1.874-2.087 1.874H28.2c-1.164 0-1.601-1.01-1.601-1.874v-3.509l-.728-.192a16.4 16.4 0 0 1-7.378-4.18l-.534-.53-3.252 1.875c-.243.144-.534.24-.874.24-.728 0-1.456-.432-1.844-1.057l-1.796-3.076c-.583-1.009.097-1.874.873-2.306l3.301-1.875-.194-.72c-.34-1.298-.486-2.643-.486-3.99 0-1.393.195-2.786.534-4.18l.194-.72-3.591-1.971c-.437-.24-.728-.673-.826-1.202a1.9 1.9 0 0 1 .243-1.537l1.796-3.076c.34-.625.922-.769 1.31-.769.389 0 .777.096 1.166.337l3.591 2.066.534-.529c2.039-1.97 4.272-3.267 6.844-3.988l.631-.193v-4.325c0-1.009.971-1.874 2.087-1.874h3.592c1.165 0 1.602 1.01 1.602 1.922l.049 4.23.728.192c2.62.672 5 1.97 6.94 3.748l.535.48 3.689-2.162c.242-.144.533-.24.873-.24.728 0 1.456.432 1.845 1.057l1.796 3.076c.582 1.009-.097 1.874-.874 2.306l-3.495 2.019.243.72c.437 1.442.63 2.884.63 4.566 0 1.201-.145 2.403-.387 3.556l-.146.673 3.398 1.922c.436.24.728.673.825 1.201.097.577 0 1.106-.243 1.586"/><path d="M12.99 7.006a.96.96 0 0 0 .58-.185C22.383.792 34.537.19 44.076 5.15l-3.1 1.252L51 9 45.722.421l-.436 3.293c-10.265-5.472-23.339-4.87-32.878 1.623-.436.278-.532.88-.242 1.298.194.232.533.371.823.371M5.17 15.928l1.247 3.1L9 9 .42 14.28l3.275.437C-1.75 24.987-1.15 38.068 5.309 47.612a.95.95 0 0 0 .738.388c.185 0 .37-.048.554-.194.415-.29.508-.92.23-1.356C.835 37.632.19 25.52 5.172 15.928M46.478 54.18c-8.813 6.031-20.966 6.634-30.554 1.67l3.1-1.252L9 52l5.278 8.582.436-3.293C19.362 59.794 24.592 61 29.82 61c6.295 0 12.541-1.81 17.77-5.335.437-.278.533-.881.243-1.299a1.074 1.074 0 0 0-1.356-.186m9.217-41.771c-.277-.437-.878-.534-1.293-.243-.416.291-.508.921-.23 1.358 6.001 8.823 6.602 20.992 1.661 30.543l-1.246-3.103L52 51l8.542-5.284-3.278-.437c5.494-10.23 4.894-23.32-1.57-32.87"/></g></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
}
|
||||
// Mobile Nav Drawer
|
||||
.NavigationDrawer {
|
||||
.NavigationDrawer-header {
|
||||
border-bottom-color: @surface2;
|
||||
}
|
||||
|
||||
// Drawer Selection
|
||||
.NavigationDrawer-listItem--active {
|
||||
background-color: fade(@accent-color, 30%);
|
||||
}
|
||||
}
|
||||
// /play
|
||||
.PlayPage {
|
||||
.lines div {
|
||||
color: @overlay1; // Line numbers
|
||||
}
|
||||
}
|
||||
// Run Button for Code Snippet
|
||||
.Playground-runButton {
|
||||
border-color: @accent-color;
|
||||
}
|
||||
// Go Main Header
|
||||
.Site-header,
|
||||
.go-Header {
|
||||
background: @crust;
|
||||
|
||||
.Header-menuItem--active a,
|
||||
.go-Header-menuItem--active a {
|
||||
border-bottom-color: @accent-color;
|
||||
}
|
||||
// Mobile Burger Icon
|
||||
button.Header-navOpen--white,
|
||||
button.go-Header-navOpen--white {
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M0 0h24v24H0z" fill="none"/><path d="M3 18h18v-2H3zm0-5h18v-2H3zm0-7v2h18V6z" fill="@{text}"/></svg>'
|
||||
);
|
||||
background-image: url("data:image/svg+xml,@{svg}");
|
||||
filter: none;
|
||||
}
|
||||
}
|
||||
// 'What's Possible With Go'
|
||||
.WhyGo-reasons {
|
||||
.WhyGo-reasonPackagesHeader img {
|
||||
@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>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
|
||||
.WhyGo-reasonShowMoreLink a {
|
||||
color: @crust;
|
||||
}
|
||||
|
||||
img.WhyGo-reasonShowMoreImg {
|
||||
@svg: escape(
|
||||
'<svg viewBox="0 0 1200 945" xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="2"><path d="m811 927-14-4a287 287 0 0 1-58-36c-14-7-29-20-40-31l-22-17-18-14c-24-17-46-36-67-57-4-3-10-7-12-10l-27-21c-9-9-10-9-24-4l-31 6c-2 0-4 0-6 2l-7 11c-4 8-4 9-3 13 0 2 3 6 6 9 5 7 20 21 20 32 4 6 4 16 4 23 0 11-1 23-9 32-10 12-22 21-32 22l-10 2c-12 2-13 2-15 0l-3-3h-1c-2 1-11-1-13-3l-8-5c-14-9-23-27-25-43l1-16v-8l-1-2 2-2 4-6c0-3 3-7 5-11 4-6 4-6 3-12 0-7-3-12-11-19-6-6-16-6-24-7-4 0-10-1-14 3l-5 4c-1 2-12 10-19 13-8 6-17 0-26 4s-12 17-24 17h-1v-1l5-6c9-11 11-15 7-18-7-7-20 13-25 13h-1v-1l7-8c10-9 11-12 6-19-2-2-4-7-4-9l-4-8c-10-7-22-8-33-12-7-3-7-5-13-9l-4-2h-1v2l6 9a63 63 0 0 1 16 22c5 5 16 24 20 34l8 17c3 7 3 13 0 17l-2 5c-9 12-21 12-32 2-2-2-24-17-24-25l-4-6c-8-15-10-18-14-30-9-22-10-47-18-70-2-4-3-4-11-7-6-1-14-5-16-8-5-5-3-18 0-23 7-11-4-22-10-30a456 456 0 0 1-40-54c-7-10-19-33-22-41-4-13-4-18-3-24 2-8 6-16 16-12 2 0 3 2 5 3 19 9 30 29 38 47 3 6 7 12 9 19l13 37 4 14 5 12 5 10 2 1 3-1c3-2 10-19 13-33 4-17 6-22 9-23 7-7 9-18 13-27 1-3 3-10 7-12a322 322 0 0 0 19-23l6-6 5-8c5-5 2-7-29-31-8-5-16-12-23-19-5-2-7-6-12-8l-7-6-10-7c-12-6-19-13-29-21-9-7-17-14-18-18l-3-10c0-10 3-24 15-24l12-3c4-1 25-3 21-13l-4-7-11-17-11-17-27-32c-7-7-9-13-8-22 1-10 3-13 18-24 5-4 15-11 19-12l10-5c11-5 30-12 38-13l12-3 33-3c17-3 37-2 51 2 13 5 35 17 56 33l12 8 13 9 33 24 13 10a447 447 0 0 1 40 28l12 7 4 2 2-1c0-12 9-25 18-33 11-7 15-9 30-7l6 1v-1c0-2 23-19 26-19l8-4c7-3 8-4 11-10l6-7c6-5 12 4 14 8 3 4 3 4 14 7a234 234 0 0 1 49 17c7 6 18 13 23 15l7 2 9-2c4 0 6 0 9 2 9 4 18 12 12 23l-9 10c-4 5-4 5-4 18 1 14 1 14-2 21-7 14-3 16-8 30-2 10 0 12 11 6 9-4 19-14 26-25 6-8 10-12 18-17 5-3 7-5 9-10 7-12 10-14 23-18 9-2 17 0 44 10 11 4 17 8 25 13l11 6c12 0 18-10 24-19 6-11 9-14 19-21 4-3 7-9 12-9l5-2c1-1 16-10 19-10 10-6 33-12 40-11 14 2 30 11 40 21 4 0 11 10 13 12 2 0 6 4 8 9l4 8c8 9 12 45 8 64l-3 17-3 17-3 11c-3 9-5 11-10 19-3 3-3 4-2 6l11 12c22 21 43 44 48 52l6 10c8 10 9 21 3 29-2 3-4 4-10 6l-21 7c-5 0-22-2-27-4l-28-13-25-12-7-5-4-2-5-2c-7-7-11 0-18 5-14 12-19 15-32 22l-16 9-26 19c-4 4-7 6-11 7l-8 3c-5 3-4 6 5 13l15 15 16 14 37 29 18 17c14 12 25 29 16 48-3 7-11 16-20 23-12 9-12 10-17 24-3 10-9 26 1 34l15 10c12 8 17 14 22 22 4 7 6 22 1 29-2 5-11 13-18 16-45 20-80 33-93 35l-20 2-18 1zM83 700l-3-6-1-2c-3-2-9-27-11-45-4-37-2-62 7-80l4-9 1-4h2l-1 3-3 10c-8 18-9 34-7 64 1 26 4 30 10 55 1 3 1 8 4 11l2 6v2h-1zm-30-62-2-22q-3-36 9-60c6-14 10-20 13-20h1v3h-1l-4 7-6 11c-3 4-7 16-8 23-2 10-1 46 1 53l-1 4-1 2zm886-441c0-3 5-5 7-6 5-3 19-11 23-15l9-2 16-4a185 185 0 0 1 83-11c11 2 27 3 37 10l10 5 9 6 8 5 5 4 1 2v1h-1l-8-4-8-5-3-1c-2-3-19-12-26-13l-11-3a193 193 0 0 0-58 1c-11 1-27 5-47 12-9 3-16 3-25 7-7 3-14 6-19 11l-2 1zm-41-26c0-1 8-8 15-12l16-13c14-10 21-15 30-17l15-5 12-5 18-6c15-5 25-8 36-8l16-3c8-2 15-4 23-4 3 0 10 0 10 5v1l-2-1c-5-2-18-1-32 4l-15 3c-5 0-17 2-22 5l-16 5-13 5-3 2-1 1h-2c-1-1-19 5-26 8-14 7-27 16-39 25-10 8-15 11-18 11h-2z" fill="@{crust}" fill-rule="nonzero"/><path d="M809 922c-7-2-18-8-22-11l-7-4-31-21-12-8c-12-8-12-7-23-17l-33-26-14-10-24-19a215 215 0 0 1-37-31l-8-8-15-13-17-15c-2-2-9-6-8-11s9-2 11 0c10 5 18 13 27 20l58 49c10 10 37 32 46 39l12 9 53 40c8 7 22 16 27 18l15 4c17 3 36 2 58-4l39-12 29-10c5-1 14-4 19-7l10-4h2l1 2c1 5-5 9-22 17a147 147 0 0 0-24 10l-5 2c-9 4-46 16-59 19-23 4-23 2-46 2m9-17c-8 0-18-3-23-6-6-2-17-10-22-14l-12-9-14-12-17-13c-7-4-9-7-15-12-1-1-4-4-6-4l-7-6c-4-6-26-22-31-26l-38-30-36-30-11-10-9-9c-1-3 0-5 3-6 7-1 17-5 23-8l15-6 16-6c10-6 15 0 23 6a1831 1831 0 0 0 58 47c11 13 26 21 41 30l30 16 21 6c3 1 9 9 14 18 23 39 32 52 36 54 2 0 9-3 9-6 1-2-1-12-3-18-6-14-13-28-18-43-4-10 2-14 11-17 10-3 18-6 28-2 9 4 14 8 16 13v11a184 184 0 0 0-1 40c2 11 11 2 12-3 3-4 7-21 10-25 3-9 7-9 15-1l9 6c7 3 14 9 16 14 6 12-8 26-19 28l-4 2c-3 2-14 7-37 14l-12 4c-3 2-8 3-10 3l-16 4c-14 5-34 7-45 6m-369-28-13-3-9-3c-5-3-15-13-19-20-5-8-6-15-6-28 1-10 1-11 4-18 4-10 9-17 18-23s29-12 35-10c3 0 21 9 27 13 7 5 16 18 18 26 3 10 2 15-3 30-3 11-5 15-8 18-8 10-22 17-31 18zm19-33c3-2 10-5 10-10v-11c0-12 0-13-3-16-3-4-10-9-14-10l-9 3-10 6c-8 7-8 21-3 29 1 1 3 6 5 7l4 2c6 1 14 2 20 0m386 22-16-24-3-7c-5-7-14-22-17-30l2-4 7-1c5 0 6 1 8 5a276 276 0 0 1 15 29c11 22 13 30 11 33-1 3-4 2-7-1m50-19c-1-3 0-13 4-34l2-23c1-17 2-20 5-22 3-3 10-4 11-2 3 2 2 6-3 23l-6 26c-1 9-7 29-8 32l-3 2h-1zm-652-29c-5-3-13-8-15-12l-3-3-5-6-7-10-3-6c-9-13-11-20-22-61l-4-17-3-19-3-14 1-1 1 1 7 12 9 15 13 16 14 17c7 9 12 17 23 38 8 16 11 21 14 39 1 3-1 6-3 8-3 4-9 5-14 3m553-24-18-3c-17-8-26-13-37-21l-16-11-16-13c-15-15-23-21-40-34l-12-9-42-32-14-10c-4-3-12-9-17-15-11-10-30-25-39-30-24-15-43-38-67-53l-30-23-14-11-15-12-12-9-16-12c-4-3-8-9-13-11l-3-1v-1l-9-8-11-9-10-8c-9-12-23-21-36-30l-16-12c-16-14-33-27-45-35s-22-19-35-25l-32-27c-14-10-29-23-32-27l-10-9c-12-11-27-27-31-34-3-6-4-12-1-13h1l1 2a352 352 0 0 1 19 20c14 14 20 20 38 34l33 25 18 14 22 16c16 10 21 14 44 33l27 22 11 9c9 9 19 15 28 23 16 15 27 23 57 Line truncated
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
}
|
||||
// /doc/install icon
|
||||
img.CopyPaste-icon {
|
||||
@svg: escape(
|
||||
'<svg width="14" height="16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M10.992 0h-6L4 .992V4H.992L0 4.992V15.04l.992.96H9.04l.96-.96V12h3.12l.88-.96V2.992zm0 1.408 1.584 1.584h-1.584zm-2 13.584h-8v-10H4v6.048l.992.96h4zm4-4h-8v-10H10V4h2.992z" fill="@{text}"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
// Go Main Logo
|
||||
.Site-header .Header-logo,
|
||||
.NavigationDrawer-logo,
|
||||
.go-Header .go-Header-logo,
|
||||
.go-NavigationDrawer .go-NavigationDrawer-logo,
|
||||
.top-bar img.gopherlogo,
|
||||
.go-Main-headerLogo,
|
||||
.SearchResults-headerLogo img[alt="Go"] {
|
||||
@svg: escape(
|
||||
'<svg height="78" viewBox="0 0 207 78" width="207" xmlns="http://www.w3.org/2000/svg"><g fill="@{text}" fill-rule="evenodd"><path d="M16.2 24.1c-.4 0-.5-.2-.3-.5l2.1-2.7c.2-.3.7-.5 1.1-.5h35.7c.4 0 .5.3.3.6l-1.7 2.6c-.2.3-.7.6-1 .6zM1.1 33.3c-.4 0-.5-.2-.3-.5l2.1-2.7c.2-.3.7-.5 1.1-.5h45.6c.4 0 .6.3.5.6l-.8 2.4c-.1.4-.5.6-.9.6zm24.2 9.2c-.4 0-.5-.3-.3-.6l1.4-2.5c.2-.3.6-.6 1-.6h20c.4 0 .6.3.6.7l-.2 2.4c0 .4-.4.7-.7.7z"/><g transform="translate(55)"><path d="M74.1 22.3c-6.3 1.6-10.6 2.8-16.8 4.4-1.5.4-1.6.5-2.9-1-1.5-1.7-2.6-2.8-4.7-3.8-6.3-3.1-12.4-2.2-18.1 1.5-6.8 4.4-10.3 10.9-10.2 19 .1 8 5.6 14.6 13.5 15.7 6.8.9 12.5-1.5 17-6.6.9-1.1 1.7-2.3 2.7-3.7H35.3c-2.1 0-2.6-1.3-1.9-3 1.3-3.1 3.7-8.3 5.1-10.9.3-.6 1-1.6 2.5-1.6h36.4c-.2 2.7-.2 5.4-.6 8.1-1.1 7.2-3.8 13.8-8.2 19.6-7.2 9.5-16.6 15.4-28.5 17-9.8 1.3-18.9-.6-26.9-6.6C5.8 64.8 1.6 57.4.5 48.2-.8 37.3 2.4 27.5 9 18.9 16.1 9.6 25.5 3.7 37 1.6 46.4-.1 55.4 1 63.5 6.5c5.3 3.5 9.1 8.3 11.6 14.1.6.9.2 1.4-1 1.7"/><path d="M107.2 77.6c-9.1-.2-17.4-2.8-24.4-8.8-5.9-5.1-9.6-11.6-10.8-19.3-1.8-11.3 1.3-21.3 8.1-30.2 7.3-9.6 16.1-14.6 28-16.7 10.2-1.8 19.8-.8 28.5 5.1 7.9 5.4 12.8 12.7 14.1 22.3 1.7 13.5-2.2 24.5-11.5 33.9-6.6 6.7-14.7 10.9-24 12.8-2.7.5-5.4.6-8 .9M131 37.2c-.1-1.3-.1-2.3-.3-3.3-1.8-9.9-10.9-15.5-20.4-13.3-9.3 2.1-15.3 8-17.5 17.4-1.8 7.8 2 15.7 9.2 18.9 5.5 2.4 11 2.1 16.3-.6 7.9-4.1 12.2-10.5 12.7-19.1" fill-rule="nonzero"/></g></g></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
// Theme Selector Icons
|
||||
.Footer img[alt="Dark theme"],
|
||||
.go-Footer img[alt="Dark theme"],
|
||||
.top-bar img.go-Icon--inverted[data-value="dark"] {
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="@{text}"><path d="M0 0h24v24H0z" fill="none"/><path d="M10 2c-1.82 0-3.53.5-5 1.35C7.99 5.08 10 8.3 10 12s-2.01 6.92-5 8.65C6.47 21.5 8.18 22 10 22c5.52 0 10-4.48 10-10S15.52 2 10 2"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
filter: none;
|
||||
}
|
||||
// Right Arrow Icons
|
||||
.go-NavigationDrawer-listItem a[href="#"] img.go-Icon {
|
||||
@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>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
filter: none;
|
||||
}
|
||||
|
||||
.SiteBreadcrumb .BreadcrumbNav-li::after {
|
||||
@svg: escape(
|
||||
'<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="m5.06 12.393.94.94L11.333 8 6 2.667l-.94.94L9.447 8" fill="@{text}"/></svg>'
|
||||
);
|
||||
background-image: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
|
||||
.Footer img[alt="Light theme"],
|
||||
.go-Footer img[alt="Light theme"],
|
||||
.top-bar img.go-Icon--inverted[data-value="light"] {
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="24px" viewBox="0 0 24 24" width="24px" fill="@{text}"><rect fill="none" height="24" width="24"/><path d="M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5M2 13h2c.55 0 1-.45 1-1s-.45-1-1-1H2c-.55 0-1 .45-1 1s.45 1 1 1m18 0h2c.55 0 1-.45 1-1s-.45-1-1-1h-2c-.55 0-1 .45-1 1s.45 1 1 1M11 2v2c0 .55.45 1 1 1s1-.45 1-1V2c0-.55-.45-1-1-1s-1 .45-1 1m0 18v2c0 .55.45 1 1 1s1-.45 1-1v-2c0-.55-.45-1-1-1s-1 .45-1 1M5.99 4.58a.996.996 0 0 0-1.41 0 .996.996 0 0 0 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0s.39-1.03 0-1.41zm12.37 12.37a.996.996 0 0 0-1.41 0 .996.996 0 0 0 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0a.996.996 0 0 0 0-1.41zm1.06-10.96a.996.996 0 0 0 0-1.41.996.996 0 0 0-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41s1.03.39 1.41 0zM7.05 18.36a.996.996 0 0 0 0-1.41.996.996 0 0 0-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41s1.03.39 1.41 0z"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
filter: none;
|
||||
}
|
||||
|
||||
.Footer img[alt="System theme"],
|
||||
.go-Footer img[alt="System theme"],
|
||||
.top-bar img.go-Icon--inverted[data-value="auto"] {
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="@{text}"><path d="M0 0h24v24H0z" fill="none"/><path d="M20 15.31 23.31 12 20 8.69V4h-4.69L12 .69 8.69 4H4v4.69L.69 12 4 15.31V20h4.69L12 23.31 15.31 20H20zM12 18V6c3.31 0 6 2.69 6 6s-2.69 6-6 6"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
filter: none;
|
||||
}
|
||||
// Menu Active Selector
|
||||
img.TabSection-underline {
|
||||
@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>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
// Code Snippet Highlights
|
||||
pre {
|
||||
.comment {
|
||||
color: @overlay2;
|
||||
}
|
||||
ins {
|
||||
color: @blue;
|
||||
}
|
||||
}
|
||||
// Companies in Main Page Contrast
|
||||
& when (@lookup = latte) {
|
||||
.WhoUsesCaseStudyList-caseStudyLink {
|
||||
background-color: @surface0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@-moz-document domain("pkg.go.dev") {
|
||||
@media (prefers-color-scheme: light) {
|
||||
:root[data-theme="auto"],
|
||||
:root:not([data-theme]) {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
: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) {
|
||||
@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];
|
||||
|
||||
// Pkg.go Carousel
|
||||
.go-Carousel {
|
||||
.go-Carousel-nextSlide img {
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="@{text}"><path d="M0 0h24v24H0z" fill="none"/><path d="m10 17 5-5-5-5z"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
filter: none;
|
||||
}
|
||||
|
||||
.go-Carousel-prevSlide img {
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="@{text}"><path d="m14 7-5 5 5 5z"/><path d="M24 0v24H0V0z" fill="none" opacity=".87"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
filter: none;
|
||||
}
|
||||
}
|
||||
// Alert Chips
|
||||
.go-Chip--alert {
|
||||
color: @crust;
|
||||
}
|
||||
// Pkg.go Clipboard Icon
|
||||
.go-Clipboard img.go-Icon {
|
||||
@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>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
filter: none;
|
||||
}
|
||||
// Pkg.go Header
|
||||
.go-Header {
|
||||
.go-Header-submenu {
|
||||
border-color: @accent-color;
|
||||
}
|
||||
|
||||
// Triangle Icon Accented
|
||||
.go-Header-menuItem:hover img.go-Icon[alt="submenu dropdown icon"],
|
||||
.go-Header-menuItem:focus-within
|
||||
img.go-Icon[alt="submenu dropdown icon"] {
|
||||
@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>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
filter: none;
|
||||
}
|
||||
}
|
||||
// Triangle Icon
|
||||
.go-Header,
|
||||
.go-Main-navMobile {
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="@{text}"><path d="M0 0h24v24H0z" fill="none"/><path d="m7 10 5 5 5-5z"/></svg>'
|
||||
);
|
||||
|
||||
img.go-Icon[alt="submenu dropdown icon"] {
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
filter: none;
|
||||
}
|
||||
|
||||
.go-Select {
|
||||
background-image: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
}
|
||||
// Info Icon
|
||||
.go-Main-banner .go-Message .go-Icon {
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="@{text}"><path d="M0 0h24v24H0z" fill="none"/><path d="M11 7h2v2h-2zm0 4h2v6h-2zm1-9C6.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 8"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
filter: none;
|
||||
}
|
||||
// Pkg.go Subheader
|
||||
.go-Main-header {
|
||||
background-color: @mantle;
|
||||
}
|
||||
// Pkg.go Fixed Header
|
||||
.go-Main-header[data-raised="true"] {
|
||||
background-color: @crust;
|
||||
}
|
||||
// Pkg.go Package Documentation Mobile Dropdown Icon
|
||||
.go-Main-navMobile label.go-Label::before {
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="@{text}"><path d="M0 0h24v24H0z" fill="none" opacity=".87"/><path d="M0 0h24v24H0z" fill="none"/><path d="M4 13c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1m0 4c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1m0-8c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1m3 4h14v-2H7zm0 4h14v-2H7zM7 7v2h14V7z"/></svg>'
|
||||
);
|
||||
background-image: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
// Pkg.go Mobile Navigation Drawer
|
||||
.go-NavigationDrawer {
|
||||
.go-NavigationDrawer-header {
|
||||
border-bottom-color: @overlay2;
|
||||
}
|
||||
|
||||
.go-NavigationDrawer-listItem--active {
|
||||
background-color: fade(@accent-color, 30%);
|
||||
}
|
||||
}
|
||||
//Pkg.go Search Bar
|
||||
.go-SearchForm {
|
||||
input[type="search"]::-webkit-search-cancel-button {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.go-Footer {
|
||||
background-color: @crust;
|
||||
}
|
||||
// Pkg.go Shortcut Helpers
|
||||
.go-ShortcutKey::after {
|
||||
background-color: @text;
|
||||
}
|
||||
// External Link Icon
|
||||
.Homepage-helpLink,
|
||||
.UnitFiles-titleLink,
|
||||
a[href="https://www.meetup.com/pro/go"],
|
||||
a[href="https://github.com/golang/go/wiki/Conferences"] {
|
||||
@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>'
|
||||
);
|
||||
|
||||
img,
|
||||
img.go-Icon,
|
||||
img.go-Icon:not(.go-Icon--accented) {
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
filter: none;
|
||||
}
|
||||
|
||||
a::after {
|
||||
background-image: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
}
|
||||
// 'Jump to' Dialog - Desktop
|
||||
.JumpDialog {
|
||||
.JumpDialog-active {
|
||||
color: @crust;
|
||||
}
|
||||
|
||||
.go-Button[aria-label="Close"] img.go-Icon {
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="@{text}"><path d="M0 0h24v24H0z" fill="none"/><path d="M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
filter: none;
|
||||
}
|
||||
}
|
||||
// Pkg.go Package Search Results
|
||||
.SearchResults-header {
|
||||
input[type="search"]::-webkit-search-cancel-button {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
// Search Icon
|
||||
.SearchResults-header,
|
||||
.go-SearchForm {
|
||||
button[aria-label="Submit search"] img.go-Icon {
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="@{text}"><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>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
filter: none;
|
||||
}
|
||||
}
|
||||
// Search Icon in pkg.go - Accented
|
||||
form.Homepage-search--symbol::before {
|
||||
@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>'
|
||||
);
|
||||
background-image: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
|
||||
.ShortcutsDialog {
|
||||
.go-Button[aria-label="Close"] img.go-Icon {
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="@{text}"><path d="M0 0h24v24H0z" fill="none"/><path d="M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
filter: none;
|
||||
}
|
||||
}
|
||||
// Pkg.go Package Page
|
||||
.UnitDetails {
|
||||
#section-documentation img.go-Icon {
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="@{text}"><path d="M0 0h24v24H0z" fill="none"/><path d="m16 6-1.41 1.41L19.17 12l-4.58 4.59L16 18l6-6zM8 18l1.41-1.41L4.83 12l4.58-4.59L8 6l-6 6z"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
filter: none;
|
||||
}
|
||||
|
||||
.UnitReadme-title img.go-Icon {
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="@{text}"><path d="M0 0h24v24H0z" fill="none"/><path d="M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2M4 18V6h7v12zm16 0h-7V6h7zm-6-9.5h5V10h-5zm0 2.5h5v1.5h-5zm0 2.5h5V15h-5zm-7.25-.81"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
filter: none;
|
||||
}
|
||||
}
|
||||
|
||||
.UnitDirectories img.go-Icon {
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="@{text}"><path d="M0 0h24v24H0z" fill="none"/><path d="M20 6h-8l-2-2H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2m0 12H4V8h16z"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
filter: none;
|
||||
}
|
||||
|
||||
.UnitFiles img.go-Icon {
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="@{text}"><path d="M0 0h24v24H0z" fill="none"/><path d="M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8zM6 20V4h7v5h5v11z"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
filter: none;
|
||||
}
|
||||
// Pkg.go Package Details Section
|
||||
.UnitMeta {
|
||||
.UnitMeta-details {
|
||||
img.go-Icon {
|
||||
// Question Tooltip
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="@{text}"><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 2m1 17h-2v-2h2zm2.07-7.75-.9.92C13.45 12.9 13 13.5 13 15h-2v-.5c0-1.1.45-2.1 1.17-2.83l1.24-1.26c.37-.36.59-.86.59-1.41 0-1.1-.9-2-2-2s-2 .9-2 2H8c0-2.21 1.79-4 4-4s4 1.79 4 4c0 .88-.36 1.68-.93 2.25"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
filter: none;
|
||||
}
|
||||
|
||||
img.go-Icon[alt="unchecked"] {
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="@{text}"><path d="M0 0h24v24H0z" fill="none" opacity=".87"/><path d="M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 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 8m3.59-13L12 10.59 8.41 7 7 8.41 10.59 12 7 15.59 8.41 17 12 13.41 15.59 17 17 15.59 13.41 12 17 8.41z"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
filter: none;
|
||||
}
|
||||
|
||||
img.go-Icon.go-Icon--accented[alt="checked"] {
|
||||
@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>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
filter: none;
|
||||
}
|
||||
}
|
||||
|
||||
.UnitMeta-links {
|
||||
img.go-Icon {
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="@{text}"><path d="M0 0h24v24H0z" fill="none"/><path d="M12 1 3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5zm0 10.99h7c-.53 4.12-3.28 7.79-7 8.94V12H5V6.3l7-3.11z"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
filter: none;
|
||||
}
|
||||
|
||||
img.depsdev-Icon {
|
||||
@svg: escape(
|
||||
'<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="m13.587 16.204 2.217 2.217c.26.253.26.667.007.927l-.008.008L3.342 31.81a.653.653 0 0 1-.92 0L.19 29.58a.653.653 0 0 1 0-.92l12.462-12.462a.655.655 0 0 1 .928-.008c0 .008.007.015.007.015" fill="@{subtext0}"/><circle cx="17" cy="15" r="13" stroke="@{text}" stroke-width="4"/><circle cx="17" cy="15" r="4" stroke="@{text}" stroke-width="4"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
}
|
||||
}
|
||||
// Deprecated Chip
|
||||
span.Documentation-deprecatedTag {
|
||||
color: @crust;
|
||||
}
|
||||
// Code Snippet Highlights
|
||||
pre {
|
||||
.comment {
|
||||
color: @overlay2;
|
||||
}
|
||||
ins {
|
||||
color: @blue;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@-moz-document url-prefix("https://go.dev/tour") {
|
||||
@media (prefers-color-scheme: light) {
|
||||
:root[data-theme="auto"],
|
||||
:root:not([data-theme]) {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
: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) {
|
||||
@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];
|
||||
|
||||
#editor-container {
|
||||
#left-side {
|
||||
.slide-content {
|
||||
background-color: @base;
|
||||
|
||||
a {
|
||||
color: @accent-color;
|
||||
}
|
||||
|
||||
code {
|
||||
background-color: @accent-color !important;
|
||||
color: @crust;
|
||||
}
|
||||
|
||||
h2,
|
||||
li,
|
||||
p {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
pre {
|
||||
background-color: @mantle;
|
||||
color: @text;
|
||||
}
|
||||
}
|
||||
|
||||
.module-bar {
|
||||
background-color: @mantle;
|
||||
color: @text;
|
||||
|
||||
a {
|
||||
color: @accent-color;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#right-side {
|
||||
background-color: @base;
|
||||
|
||||
#explorer {
|
||||
background-color: @mantle;
|
||||
}
|
||||
|
||||
#file-editor {
|
||||
.CodeMirror {
|
||||
background-color: @base;
|
||||
|
||||
.CodeMirror-lines {
|
||||
background-color: @base;
|
||||
color: @text;
|
||||
|
||||
.CodeMirror-linenumber {
|
||||
color: @overlay1;
|
||||
}
|
||||
|
||||
span.cm-atom {
|
||||
color: @blue;
|
||||
}
|
||||
|
||||
span.cm-comment {
|
||||
color: @peach;
|
||||
}
|
||||
|
||||
span.cm-keyword {
|
||||
color: @mauve;
|
||||
}
|
||||
|
||||
span.cm-number {
|
||||
color: @green;
|
||||
}
|
||||
|
||||
span.cm-string {
|
||||
color: @red;
|
||||
}
|
||||
|
||||
span.cm-variable {
|
||||
color: @text;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.CodeMirror-gutters {
|
||||
background-color: @mantle;
|
||||
border-right-color: @surface2;
|
||||
}
|
||||
}
|
||||
|
||||
#file-menu {
|
||||
background-color: @mantle;
|
||||
}
|
||||
|
||||
.output {
|
||||
background-color: @base;
|
||||
|
||||
span.stdout {
|
||||
color: @subtext0;
|
||||
}
|
||||
|
||||
span.system {
|
||||
color: @text;
|
||||
}
|
||||
}
|
||||
|
||||
a {
|
||||
background-color: @text;
|
||||
color: @crust;
|
||||
}
|
||||
|
||||
a#run {
|
||||
background-color: @accent-color;
|
||||
}
|
||||
|
||||
pre.info {
|
||||
background-color: @surface0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
div[vertical-slide],
|
||||
div[horizontal-slide] {
|
||||
background-color: @surface2;
|
||||
}
|
||||
}
|
||||
|
||||
.toc {
|
||||
background-color: @base;
|
||||
|
||||
.toc-page.ng-scope {
|
||||
background-color: @mantle;
|
||||
color: @text;
|
||||
}
|
||||
|
||||
.toc-module.ng-scope {
|
||||
background-color: @mantle;
|
||||
span.ng-binding {
|
||||
background-color: @base;
|
||||
color: @accent-color;
|
||||
}
|
||||
|
||||
.toc-lesson span.ng-binding {
|
||||
background-color: @mantle;
|
||||
color: @text;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.top-bar {
|
||||
background-color: @crust;
|
||||
color: @text;
|
||||
|
||||
span.nav {
|
||||
svg {
|
||||
fill: @text;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.wrapper.ng-scope {
|
||||
background-color: @base;
|
||||
|
||||
.container {
|
||||
background-color: @base;
|
||||
|
||||
.lesson.ng-scope {
|
||||
background-color: @mantle;
|
||||
}
|
||||
|
||||
h1,
|
||||
p {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
a {
|
||||
color: @accent-color;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* deno-fmt-ignore */
|
||||
@catppuccin: {
|
||||
@latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
|
||||
@frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
|
||||
@macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
|
||||
@mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
|
||||
};
|
||||
@@ -1,9 +1,9 @@
|
||||
/* ==UserStyle==
|
||||
@name Google Drive Catppuccin
|
||||
@name Google Drive Catppuccin [STUB | UPDATE REQUIRED]
|
||||
@namespace github.com/catppuccin/userstyles/styles/google-drive
|
||||
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/google-drive
|
||||
@version 2024.12.28
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/google-drive/catppuccin.user.css
|
||||
@version 2024.12.29
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/google-drive/catppuccin.user.less
|
||||
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Agoogle-drive
|
||||
@description Soothing pastel theme for Google Drive
|
||||
@author Catppuccin
|
||||
@@ -13,677 +13,4 @@
|
||||
@var select lightFlavor "Light Flavor" ["latte:Latte*", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha"]
|
||||
@var select darkFlavor "Dark Flavor" ["latte:Latte", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha*"]
|
||||
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
|
||||
==/UserStyle== */
|
||||
|
||||
@-moz-document domain('drive.google.com') {
|
||||
:root:has(.KkxPLb) {
|
||||
.vhoiae.vhoiae.vhoiae,
|
||||
& {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
:root:has(.LgGVmb) {
|
||||
.vhoiae.vhoiae.vhoiae,
|
||||
& {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
|
||||
#catppuccin(@lookup, @accent) {
|
||||
@rosewater: @catppuccin[@@lookup][@rosewater];
|
||||
@flamingo: @catppuccin[@@lookup][@flamingo];
|
||||
@pink: @catppuccin[@@lookup][@pink];
|
||||
@mauve: @catppuccin[@@lookup][@mauve];
|
||||
@red: @catppuccin[@@lookup][@red];
|
||||
@maroon: @catppuccin[@@lookup][@maroon];
|
||||
@peach: @catppuccin[@@lookup][@peach];
|
||||
@yellow: @catppuccin[@@lookup][@yellow];
|
||||
@green: @catppuccin[@@lookup][@green];
|
||||
@teal: @catppuccin[@@lookup][@teal];
|
||||
@sky: @catppuccin[@@lookup][@sky];
|
||||
@sapphire: @catppuccin[@@lookup][@sapphire];
|
||||
@blue: @catppuccin[@@lookup][@blue];
|
||||
@lavender: @catppuccin[@@lookup][@lavender];
|
||||
@text: @catppuccin[@@lookup][@text];
|
||||
@subtext1: @catppuccin[@@lookup][@subtext1];
|
||||
@subtext0: @catppuccin[@@lookup][@subtext0];
|
||||
@overlay2: @catppuccin[@@lookup][@overlay2];
|
||||
@overlay1: @catppuccin[@@lookup][@overlay1];
|
||||
@overlay0: @catppuccin[@@lookup][@overlay0];
|
||||
@surface2: @catppuccin[@@lookup][@surface2];
|
||||
@surface1: @catppuccin[@@lookup][@surface1];
|
||||
@surface0: @catppuccin[@@lookup][@surface0];
|
||||
@base: @catppuccin[@@lookup][@base];
|
||||
@mantle: @catppuccin[@@lookup][@mantle];
|
||||
@crust: @catppuccin[@@lookup][@crust];
|
||||
@accent-color: @catppuccin[@@lookup][@@accent];
|
||||
|
||||
color-scheme: if(@lookup = latte, light, dark);
|
||||
|
||||
::selection {
|
||||
background-color: fade(@accent-color, 30%);
|
||||
}
|
||||
|
||||
input,
|
||||
textarea {
|
||||
&::placeholder {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
--dt-on-background: @text;
|
||||
--dt-on-background-secondary: @subtext0;
|
||||
--dt-background: @base;
|
||||
--dt-on-surface: @text;
|
||||
--dt-inverse-surface: @text;
|
||||
--dt-on-surface-secondary: @subtext0;
|
||||
--dt-on-surface-variant: @text;
|
||||
--dt-surface-variant: @surface0;
|
||||
--dt-inverse-on-surface: @surface0;
|
||||
--dt-surface: @base;
|
||||
--dt-surface-tint: @accent-color;
|
||||
--dt-shadow-elevation-1: 0px 3px 1px -2px fade(@base, 20%),
|
||||
0px 2px 2px 0px fade(@base, 14%), 0px 1px 5px 0px fade(@base, 12%);
|
||||
--dt-shadow-elevation-2: 0px 2px 4px -1px fade(@base, 20%),
|
||||
0px 4px 5px 0px fade(@base, 14%), 0px 1px 10px 0px fade(@base, 12%);
|
||||
--dt-shadow-elevation-3: 0px 5px 5px -3px fade(@base, 20%),
|
||||
0px 8px 10px 1px fade(@base, 14%), 0px 3px 14px 2px fade(@base, 12%);
|
||||
--dt-shadow-elevation-4: 0px 5px 5px -3px fade(@base, 20%),
|
||||
0px 8px 10px 1px fade(@base, 14%), 0px 3px 14px 2px fade(@base, 12%);
|
||||
--dt-shadow-elevation-5: 0px 8px 10px -6px fade(@base, 20%),
|
||||
0px 16px 24px 2px fade(@base, 14%), 0px 6px 30px 5px fade(@base, 12%);
|
||||
--dt-surface-container-lowest: @crust;
|
||||
--dt-surface-container-low: @mantle;
|
||||
--dt-surface-container: @surface0;
|
||||
--dt-surface-container-high: @surface1;
|
||||
--dt-surface-container-highest: @surface2;
|
||||
--dt-surface-dim: @crust;
|
||||
--dt-surface-bright: @base;
|
||||
--dt-on-primary-container: @text;
|
||||
--dt-primary-container-icon: @text;
|
||||
--dt-primary-container-link: @text;
|
||||
--dt-primary: @accent-color;
|
||||
--dt-primary-action: @accent-color;
|
||||
--dt-primary-action-stateful: @accent-color;
|
||||
--dt-primary-outline: @accent-color;
|
||||
--dt-primary-action-state-layer: @accent-color;
|
||||
--dt-primary-container: @surface0;
|
||||
--dt-on-primary: @base;
|
||||
--dt-primary-icon: @base;
|
||||
--dt-primary-link: @base;
|
||||
--dt-on-secondary-container: @text;
|
||||
--dt-secondary-container-icon: @text;
|
||||
--dt-secondary-container-link: @text;
|
||||
--dt-secondary: @accent-color;
|
||||
--dt-secondary-action: @accent-color;
|
||||
--dt-secondary-action-stateful: @accent-color;
|
||||
--dt-secondary-outline: @accent-color;
|
||||
--dt-secondary-action-state-layer: @accent-color;
|
||||
--dt-secondary-container: @surface0;
|
||||
--dt-on-secondary: @base;
|
||||
--dt-secondary-icon: @base;
|
||||
--dt-secondary-link: @base;
|
||||
--dt-on-tertiary-container: @text;
|
||||
--dt-tertiary-container-icon: @text;
|
||||
--dt-tertiary-container-link: @text;
|
||||
--dt-tertiary: @accent-color;
|
||||
--dt-tertiary-action: @accent-color;
|
||||
--dt-tertiary-action-stateful: @accent-color;
|
||||
--dt-tertiary-outline: @accent-color;
|
||||
--dt-tertiary-action-state-layer: @accent-color;
|
||||
--dt-tertiary-container: @surface0;
|
||||
--dt-on-tertiary: @base;
|
||||
--dt-tertiary-icon: @base;
|
||||
--dt-tertiary-link: @base;
|
||||
--dt-on-neutral-container: @text;
|
||||
--dt-neutral-container-icon: @text;
|
||||
--dt-neutral-container-link: @text;
|
||||
--dt-neutral: @surface0;
|
||||
--dt-neutral-action: @text;
|
||||
--dt-neutral-action-stateful: @text;
|
||||
--dt-neutral-outline: @surface0;
|
||||
--dt-neutral-action-state-layer: @surface0;
|
||||
--dt-neutral-container: @surface0;
|
||||
--dt-on-neutral: @text;
|
||||
--dt-neutral-icon: @surface0;
|
||||
--dt-neutral-link: @surface0;
|
||||
--dt-on-warning-container: @yellow;
|
||||
--dt-warning-container-icon: @yellow;
|
||||
--dt-warning-container-link: @yellow;
|
||||
--dt-warning: @yellow;
|
||||
--dt-warning-action: @yellow;
|
||||
--dt-warning-action-stateful: @yellow;
|
||||
--dt-warning-outline: @yellow;
|
||||
--dt-warning-action-state-layer: @yellow;
|
||||
--dt-warning-container: @surface0;
|
||||
--dt-on-warning: @base;
|
||||
--dt-warning-icon: @yellow;
|
||||
--dt-warning-link: @yellow;
|
||||
--dt-on-error-container: @red;
|
||||
--dt-error-container-icon: @red;
|
||||
--dt-error-container-link: @red;
|
||||
--dt-error: @red;
|
||||
--dt-error-action: @red;
|
||||
--dt-error-action-stateful: @red;
|
||||
--dt-error-outline: @red;
|
||||
--dt-error-action-state-layer: @surface1;
|
||||
--dt-error-container: @surface1;
|
||||
--dt-on-error: @base;
|
||||
--dt-error-icon: @base;
|
||||
--dt-error-link: @base;
|
||||
--dt-mime-type-blue: @blue;
|
||||
--dt-mime-type-dark-blue: @blue;
|
||||
--dt-mime-type-green: @green;
|
||||
--dt-mime-type-grey: @overlay0;
|
||||
--dt-mime-type-purple: @mauve;
|
||||
--dt-mime-type-deep-purple: @mauve;
|
||||
--dt-mime-type-red: @red;
|
||||
--dt-mime-type-yellow: @yellow;
|
||||
--dt-disabled: @overlay0;
|
||||
--dt-on-disabled: @text;
|
||||
--dt-outline: @overlay0;
|
||||
--dt-outline-variant: @surface2;
|
||||
--dt-light-info-banner-button: @text;
|
||||
--dt-light-neutral-banner-button: @text;
|
||||
--dt-light-success-banner-button: @green;
|
||||
--dt-light-warning-banner-button: @yellow;
|
||||
--dt-light-error-banner-button: @red;
|
||||
|
||||
--gm3-sys-color-background: @base;
|
||||
--gm3-sys-color-background-rgb: #rgbify(@base) [];
|
||||
--gm3-sys-color-error: @red;
|
||||
--gm3-sys-color-error-rgb: #rgbify(@red) [];
|
||||
--gm3-sys-color-error-container: @surface2;
|
||||
--gm3-sys-color-error-container-rgb: #rgbify(@surface2) [];
|
||||
--gm3-sys-color-inverse-on-surface: @surface0;
|
||||
--gm3-sys-color-inverse-on-surface-rgb: #rgbify(@surface0) [];
|
||||
--gm3-sys-color-inverse-primary: red;
|
||||
--gm3-sys-color-inverse-primary-rgb: 255, 0, 0;
|
||||
--gm3-sys-color-inverse-surface: @text;
|
||||
--gm3-sys-color-inverse-surface-rgb: #rgbify(@text) [];
|
||||
--gm3-sys-color-on-background: @text;
|
||||
--gm3-sys-color-on-background-rgb: #rgbify(@text) [];
|
||||
--gm3-sys-color-on-error: @base;
|
||||
--gm3-sys-color-on-error-rgb: #rgbify(@base) [];
|
||||
--gm3-sys-color-on-error-container: @red;
|
||||
--gm3-sys-color-on-error-container-rgb: #rgbify(@red) [];
|
||||
--gm3-sys-color-on-primary: @base;
|
||||
--gm3-sys-color-on-primary-rgb: #rgbify(@base) [];
|
||||
--gm3-sys-color-on-primary-container: @text;
|
||||
--gm3-sys-color-on-primary-container-rgb: #rgbify(@text) [];
|
||||
--gm3-sys-color-on-primary-fixed: @base;
|
||||
--gm3-sys-color-on-primary-fixed-rgb: #rgbify(@base);
|
||||
--gm3-sys-color-on-primary-fixed-variant: @base;
|
||||
--gm3-sys-color-on-primary-fixed-variant-rgb: #rgbify(@base);
|
||||
--gm3-sys-color-on-secondary: @base;
|
||||
--gm3-sys-color-on-secondary-rgb: #rgbify(@base) [];
|
||||
--gm3-sys-color-on-secondary-container: @text;
|
||||
--gm3-sys-color-on-secondary-container-rgb: #rgbify(@text) [];
|
||||
--gm3-sys-color-on-secondary-fixed: @base;
|
||||
--gm3-sys-color-on-secondary-fixed-rgb: #rgbify(@base) [];
|
||||
--gm3-sys-color-on-secondary-fixed-variant: @base;
|
||||
--gm3-sys-color-on-secondary-fixed-variant-rgb: #rgbify(@base) [];
|
||||
--gm3-sys-color-on-surface: @text;
|
||||
--gm3-sys-color-on-surface-rgb: #rgbify(@text) [];
|
||||
--gm3-sys-color-on-surface-variant: @text;
|
||||
--gm3-sys-color-on-surface-variant-rgb: #rgbify(@text) [];
|
||||
--gm3-sys-color-on-tertiary: @base;
|
||||
--gm3-sys-color-on-tertiary-rgb: #rgbify(@base) [];
|
||||
--gm3-sys-color-on-tertiary-container: @text;
|
||||
--gm3-sys-color-on-tertiary-container-rgb: #rgbify(@text) [];
|
||||
--gm3-sys-color-on-tertiary-fixed: @base;
|
||||
--gm3-sys-color-on-tertiary-fixed-rgb: #rgbify(@base) [];
|
||||
--gm3-sys-color-on-tertiary-fixed-variant: @base;
|
||||
--gm3-sys-color-on-tertiary-fixed-variant-rgb: #rgbify(@base) [];
|
||||
--gm3-sys-color-outline: @overlay0;
|
||||
--gm3-sys-color-outline-rgb: #rgbify(@overlay0) [];
|
||||
--gm3-sys-color-outline-variant: @surface2;
|
||||
--gm3-sys-color-outline-variant-rgb: #rgbify(@surface2) [];
|
||||
--gm3-sys-color-primary: @accent-color;
|
||||
--gm3-sys-color-primary-rgb: #rgbify(@accent-color) [];
|
||||
--gm3-sys-color-primary-container: @surface0;
|
||||
--gm3-sys-color-primary-container-rgb: #rgbify(@surface0) [];
|
||||
--gm3-sys-color-primary-fixed: @accent-color;
|
||||
--gm3-sys-color-primary-fixed-rgb: #rgbify(@accent-color) [];
|
||||
--gm3-sys-color-primary-fixed-dim: @accent-color;
|
||||
--gm3-sys-color-primary-fixed-dim-rgb: #rgbify(@accent-color) [];
|
||||
--gm3-sys-color-secondary: @accent-color;
|
||||
--gm3-sys-color-secondary-rgb: #rgbify(@accent-color);
|
||||
--gm3-sys-color-secondary-container: @surface0;
|
||||
--gm3-sys-color-secondary-container-rgb: #rgbify(@surface0) [];
|
||||
--gm3-sys-color-secondary-fixed: #c2e7ff;
|
||||
--gm3-sys-color-secondary-fixed-rgb: 194, 231, 255;
|
||||
--gm3-sys-color-secondary-fixed-dim: #7fcfff;
|
||||
--gm3-sys-color-secondary-fixed-dim-rgb: 127, 207, 255;
|
||||
--gm3-sys-color-surface: @base;
|
||||
--gm3-sys-color-surface-rgb: #rgbify(@base) [];
|
||||
--gm3-sys-color-surface-bright: @base;
|
||||
--gm3-sys-color-surface-bright-rgb: #rgbify(@base) [];
|
||||
--gm3-sys-color-surface-container: @surface0;
|
||||
--gm3-sys-color-surface-container-rgb: #rgbify(@surface0) [];
|
||||
--gm3-sys-color-surface-container-high: @surface1;
|
||||
--gm3-sys-color-surface-container-high-rgb: #rgbify(@surface1) [];
|
||||
--gm3-sys-color-surface-container-highest: @surface2;
|
||||
--gm3-sys-color-surface-container-highest-rgb: #rgbify(@surface2) [];
|
||||
--gm3-sys-color-surface-container-low: @mantle;
|
||||
--gm3-sys-color-surface-container-low-rgb: #rgbify(@mantle) [];
|
||||
--gm3-sys-color-surface-container-lowest: @crust;
|
||||
--gm3-sys-color-surface-container-lowest-rgb: #rgbify(@crust) [];
|
||||
--gm3-sys-color-surface-dim: @crust;
|
||||
--gm3-sys-color-surface-dim-rgb: #rgbify(@crust) [];
|
||||
--gm3-sys-color-surface-tint: @accent-color;
|
||||
--gm3-sys-color-surface-tint-rgb: #rgbify(@accent-color) [];
|
||||
--gm3-sys-color-surface-variant: @surface0;
|
||||
--gm3-sys-color-surface-variant-rgb: #rgbify(@surface0) [];
|
||||
--gm3-sys-color-tertiary: @accent-color;
|
||||
--gm3-sys-color-tertiary-rgb: #rgbify(@accent-color) [];
|
||||
--gm3-sys-color-tertiary-container: @surface0;
|
||||
--gm3-sys-color-tertiary-container-rgb: #rgbify(@surface0);
|
||||
--gm3-sys-color-tertiary-fixed: @accent-color;
|
||||
--gm3-sys-color-tertiary-fixed-rgb: #rgbify(@accent-color) [];
|
||||
--gm3-sys-color-tertiary-fixed-dim: @accent-color;
|
||||
--gm3-sys-color-tertiary-fixed-dim-rgb: #rgbify(@accent-color) [];
|
||||
|
||||
& when (@lookup = latte) {
|
||||
--dt-scrim: fade(@text, 50%);
|
||||
--dt-scrim-2x: fade(@text, 50%);
|
||||
--gm3-sys-color-scrim: @text;
|
||||
--gm3-sys-color-scrim-rgb: #rgbify(@text) [];
|
||||
--gm3-sys-color-shadow: @text;
|
||||
--gm3-sys-color-shadow-rgb: #rgbify(@text) [];
|
||||
}
|
||||
|
||||
& when not (@lookup = latte) {
|
||||
--dt-scrim: fade(@base, 50%);
|
||||
--dt-scrim-2x: fade(@base, 50%);
|
||||
--gm3-sys-color-scrim: @base;
|
||||
--gm3-sys-color-scrim-rgb: #rgbify(@base) [];
|
||||
--gm3-sys-color-shadow: @base;
|
||||
--gm3-sys-color-shadow-rgb: #rgbify(@base) [];
|
||||
}
|
||||
|
||||
/* Settings menu title & back button */
|
||||
.gb_Pc svg,
|
||||
.gb_Uc.gb_Zc svg,
|
||||
.gb_Pc .gb_gd .gb_od,
|
||||
.gb_Pc .gb_gd .gb_Oc,
|
||||
.gb_Pc .gb_gd .gb_id,
|
||||
.gb_Uc.gb_Zc .gb_od {
|
||||
color: @text !important;
|
||||
}
|
||||
|
||||
/* Settings menu Storage total used icon */
|
||||
.VBJTHe svg path {
|
||||
fill: @text;
|
||||
}
|
||||
|
||||
/* Drive sync checkbox disabled */
|
||||
.MlG5Jc gm-checkbox[disabled] ~ .VfPpkd-ga,
|
||||
.MlG5Jc gm-radio[disabled] ~ .VfPpkd-ga,
|
||||
.MlG5Jc .VfPpkd-Qa-Qu-db ~ .VfPpkd-ga,
|
||||
.MlG5Jc .VfPpkd-Eg-Qu-db ~ .VfPpkd-ga {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
|
||||
/* Quota hover box-shadow */
|
||||
.KnDsIf:hover,
|
||||
.KnDsIf:focus,
|
||||
.al9hA {
|
||||
box-shadow: 0 2px 6px @overlay0;
|
||||
}
|
||||
|
||||
/* Quota Google Drive */
|
||||
.kJzqSb {
|
||||
color: @blue;
|
||||
}
|
||||
|
||||
/* Quota Google Photos */
|
||||
.L1pqQb {
|
||||
color: @yellow;
|
||||
}
|
||||
|
||||
/* Quota Gmail */
|
||||
.au0LDe {
|
||||
color: @red;
|
||||
}
|
||||
|
||||
/* Google Account outline */
|
||||
.gb_Ea.gb_i {
|
||||
border-color: @overlay0;
|
||||
background-color: @surface0;
|
||||
}
|
||||
.gb_Ea.gb_i:focus,
|
||||
.gb_Ea.gb_i:hover {
|
||||
border-color: @subtext0;
|
||||
}
|
||||
|
||||
/* File preview (separate tab) background */
|
||||
&.ndfHFb-c4YZDc-uoC0bf.ndfHFb-c4YZDc-i5oIFb .ndfHFb-c4YZDc-bnBfGc {
|
||||
background-color: @base;
|
||||
}
|
||||
.a-b-uoC0bf.a-b-L .a-b-jl /* File preview (in Drive) background */ {
|
||||
background-color: fade(@base, 85%);
|
||||
}
|
||||
|
||||
/* File preview (separate tab) top bar */
|
||||
&.ndfHFb-c4YZDc-uoC0bf.ndfHFb-c4YZDc-i5oIFb .ndfHFb-c4YZDc-Wrql6b.ndfHFb-c4YZDc-Wrql6b-Hyc8Sd,
|
||||
.a-b-uoC0bf.a-b-L .a-b-K.a-b-K-Hyc8Sd /* File preview (in Drive) top bar */ {
|
||||
background-color: fade(@base, 85%);
|
||||
}
|
||||
|
||||
/* File preview (separate tab) bottom bar */
|
||||
.ndfHFb-c4YZDc-q77wGc .ndfHFb-c4YZDc-DARUcf-NnAfwf-i5oIFb, .ndfHFb-c4YZDc-q77wGc .ndfHFb-c4YZDc-nJjxad-nK2kYb-i5oIFb,
|
||||
.a-b-vo .a-b-La-yc-L, .a-b-vo .a-b-Kb-ac-L /* File preview (in Drive) bottom bar */ {
|
||||
background-color: fade(@base, 85%);
|
||||
color: @text !important;
|
||||
/* File preview (separate tab) page input */
|
||||
.ndfHFb-c4YZDc-DARUcf-NGme3c-YPqjbf,
|
||||
.a-b-La-su-vb /* File preview (in Drive) page input */ {
|
||||
background-color: fade(@base, 50%);
|
||||
color: @text;
|
||||
}
|
||||
}
|
||||
|
||||
/* File preview (separate tab) share button */
|
||||
&.ndfHFb-c4YZDc-uoC0bf .zAYgkb-uoC0bf .tk3N6e-LgbsSe, &.ndfHFb-c4YZDc-uoC0bf .zAYgkb-mAKE4e-LQLjdd-xl07Ob-LgbsSe.VIpgJd-Kb3HCc-xl07Ob-LgbsSe,
|
||||
.a-b-uoC0bf .ae-uoC0bf .g-d, .a-b-uoC0bf .ae-mAKE4e-Hc-w-d.h-R-w-d /* File preview (in Drive) share button */ {
|
||||
background-color: @accent-color;
|
||||
color: @base;
|
||||
/* File preview (separate tab) share icon */
|
||||
.IyROMc-euCgFf-LJSvSb,
|
||||
.ae-c /* File preview (in Drive) share icon */ {
|
||||
& when (@lookup = latte) {
|
||||
filter: brightness(0) invert(97%) sepia(4%) saturate(152%)
|
||||
hue-rotate(183deg) brightness(94%) contrast(106%);
|
||||
}
|
||||
& when (@lookup = frappe) {
|
||||
filter: brightness(0) invert(15%) sepia(8%) saturate(2252%)
|
||||
hue-rotate(192deg) brightness(98%) contrast(85%);
|
||||
}
|
||||
& when (@lookup = macchiato) {
|
||||
filter: brightness(0) invert(13%) sepia(26%) saturate(823%)
|
||||
hue-rotate(195deg) brightness(90%) contrast(92%);
|
||||
}
|
||||
& when (@lookup = mocha) {
|
||||
filter: brightness(0) invert(10%) sepia(36%) saturate(650%)
|
||||
hue-rotate(201deg) brightness(90%) contrast(93%);
|
||||
}
|
||||
}
|
||||
/* File preview (separate tab) share triangle */
|
||||
.VIpgJd-Kb3HCc-xl07Ob-LgbsSe-j4gsHd,
|
||||
.h-R-w-d-Re /* File preview (in Drive) share triangle */ {
|
||||
border-color: @base transparent !important;
|
||||
}
|
||||
}
|
||||
/* File preview (separate tab) share Quick options */
|
||||
.zAYgkb-NhlrFc-xl07Ob-BvBYQ,
|
||||
.h-w.ae-NhlrFc-w /* File preview (in Drive) share Quick options */ {
|
||||
background-color: @base;
|
||||
* {
|
||||
color: @text !important;
|
||||
}
|
||||
/* File preview (in Drive) share Quick options current share level container */
|
||||
.h-v-x {
|
||||
opacity: 100%;
|
||||
}
|
||||
/* File preview (separate tab) share Quick options divider */
|
||||
.zAYgkb-NhlrFc-gqMrKb,
|
||||
.ae-NhlrFc-Yo /* File preview (in Drive) share Quick options divider */ {
|
||||
border-color: @overlay0;
|
||||
}
|
||||
/* File preview (separate tab) share Quick options row hover */
|
||||
.VIpgJd-j7LFlb-sn54Q,
|
||||
.h-v-pc /* File preview (in Drive) share Quick options row hover */ {
|
||||
background-color: @surface0;
|
||||
}
|
||||
/* File preview (separate tab) share Quick options row icon */
|
||||
.IyROMc-euCgFf-LJSvSb,
|
||||
.ba-ea-i /* File preview (in Drive) share Quick options row icon */ {
|
||||
& when (@lookup = latte) {
|
||||
filter: brightness(0) invert(31%) sepia(10%) saturate(1268%)
|
||||
hue-rotate(196deg) brightness(90%) contrast(86%);
|
||||
}
|
||||
& when (@lookup = frappe) {
|
||||
filter: brightness(0) invert(80%) sepia(7%) saturate(1070%)
|
||||
hue-rotate(192deg) brightness(104%) contrast(92%);
|
||||
}
|
||||
& when (@lookup = macchiato) {
|
||||
filter: brightness(0) invert(84%) sepia(13%) saturate(579%)
|
||||
hue-rotate(193deg) brightness(99%) contrast(94%);
|
||||
}
|
||||
& when (@lookup = mocha) {
|
||||
filter: brightness(0) invert(84%) sepia(19%) saturate(370%)
|
||||
hue-rotate(192deg) brightness(98%) contrast(95%);
|
||||
}
|
||||
}
|
||||
}
|
||||
/* File preview (separate tab) Print, Download, 3 dots */
|
||||
.ndfHFb-c4YZDc-Bz112c:not([style]),
|
||||
.ndfHFb-c4YZDc-Bz112c[style*="googlematerialicons"],
|
||||
.ndfHFb-c4YZDc-Bz112c[style="user-select: none;"],
|
||||
.ndfHFb-c4YZDc-Wrql6b-htvI8d-wcotoc-wHEfpf-ndfHFb-Bz112c /* File preview (separate tab) Save to drive */,
|
||||
.ndfHFb-c4YZDc-Wrql6b-w37qKe-Bz112c /* File preview (separate tab) Save to drive (clicked) */,
|
||||
/* File preview (in Drive) Print, Download, 3 dots */
|
||||
.a-b-c:not([style]),
|
||||
.a-b-c[style*="googlematerialicons"],
|
||||
.a-b-c[style="user-select: none;"],
|
||||
.a-b-K-zc-Eb-bg-a-c /* File preview (in Drive) Save to drive */,
|
||||
.a-b-K-X-c /* File preview (in Drive) Save to drive (clicked) */ {
|
||||
& when (@lookup = latte) {
|
||||
filter: brightness(0) invert(31%) sepia(10%) saturate(1268%)
|
||||
hue-rotate(196deg) brightness(90%) contrast(86%);
|
||||
}
|
||||
& when (@lookup = frappe) {
|
||||
filter: brightness(0) invert(80%) sepia(7%) saturate(1070%)
|
||||
hue-rotate(192deg) brightness(104%) contrast(92%);
|
||||
}
|
||||
& when (@lookup = macchiato) {
|
||||
filter: brightness(0) invert(84%) sepia(13%) saturate(579%)
|
||||
hue-rotate(193deg) brightness(99%) contrast(94%);
|
||||
}
|
||||
& when (@lookup = mocha) {
|
||||
filter: brightness(0) invert(84%) sepia(19%) saturate(370%)
|
||||
hue-rotate(192deg) brightness(98%) contrast(95%);
|
||||
}
|
||||
}
|
||||
/* File preview (separate tab) File title */
|
||||
.ndfHFb-c4YZDc-Wrql6b-V1ur5d,
|
||||
.a-b-cg-Zf /* File preview (in Drive) File title */ {
|
||||
color: @text;
|
||||
}
|
||||
/* File preview (separate tab) 3 dots menu item hover */
|
||||
.ndfHFb-c4YZDc-j7LFlb:hover,
|
||||
.a-b-v:hover /* File preview (in Drive) 3 dots menu item hover */ {
|
||||
background-color: @surface0;
|
||||
}
|
||||
/* File preview (separate tab) No preview available */
|
||||
.ndfHFb-c4YZDc-EglORb-haAclf,
|
||||
.a-b-Tb-j /* File preview (in Drive) No preview available */ {
|
||||
background-color: @surface0;
|
||||
color: @text;
|
||||
/* File preview (separate tab) No preview available Download */
|
||||
.ndfHFb-c4YZDc-bN97Pc-nupQLb-LgbsSe,
|
||||
.a-b-x-rb-d /* File preview (in Drive) No preview available Download */ {
|
||||
background-color: @surface1;
|
||||
color: @text;
|
||||
text-shadow: none;
|
||||
border-color: transparent;
|
||||
&:hover {
|
||||
background-color: @surface2;
|
||||
background-image: none;
|
||||
}
|
||||
}
|
||||
/* File preview (separate tab) No preview available Download icon */
|
||||
.ndfHFb-c4YZDc-bN97Pc-nupQLb-LgbsSe-Bz112c,
|
||||
.a-b-x-rb-d-c /* File preview (in Drive) No preview available Download icon */ {
|
||||
& when (@lookup = latte) {
|
||||
filter: brightness(0) invert(31%) sepia(10%) saturate(1268%)
|
||||
hue-rotate(196deg) brightness(90%) contrast(86%);
|
||||
}
|
||||
& when (@lookup = frappe) {
|
||||
filter: brightness(0) invert(80%) sepia(7%) saturate(1070%)
|
||||
hue-rotate(192deg) brightness(104%) contrast(92%);
|
||||
}
|
||||
& when (@lookup = macchiato) {
|
||||
filter: brightness(0) invert(84%) sepia(13%) saturate(579%)
|
||||
hue-rotate(193deg) brightness(99%) contrast(94%);
|
||||
}
|
||||
& when (@lookup = mocha) {
|
||||
filter: brightness(0) invert(84%) sepia(19%) saturate(370%)
|
||||
hue-rotate(192deg) brightness(98%) contrast(95%);
|
||||
}
|
||||
}
|
||||
}
|
||||
/* File preview (in Drive) text document */
|
||||
.a-b-r-x,
|
||||
.ndfHFb-c4YZDc-fmcmS-bN97Pc /* File preview (separate tab) text document */ {
|
||||
&,
|
||||
pre {
|
||||
background-color: @surface0 !important;
|
||||
color: @text !important;
|
||||
}
|
||||
}
|
||||
/* File preview (in Drive) comment on image */
|
||||
.Yk-efwuC {
|
||||
background-color: @surface0 !important;
|
||||
/* File preview (in Drive) comment on image person */
|
||||
.Yk-Vq7Udc {
|
||||
background-color: @surface0 !important;
|
||||
[data-name] {
|
||||
color: @text !important;
|
||||
}
|
||||
/* Comment text */
|
||||
.Yk-eKrold-Sg.Yk-eKrold-Sg {
|
||||
color: @text !important;
|
||||
}
|
||||
/* Comment date */
|
||||
.Yk-eKrold-bi {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
}
|
||||
/* File preview (in Drive) comments */
|
||||
.Yk-efwuC-vb-Gd {
|
||||
background-color: @surface0;
|
||||
&,
|
||||
* {
|
||||
color: @text !important;
|
||||
}
|
||||
[role="textbox"] {
|
||||
background-color: @surface1;
|
||||
border-color: @overlay0;
|
||||
&::before {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
}
|
||||
[role="button"] {
|
||||
background-color: @surface1 !important;
|
||||
/* needed to override border-color */
|
||||
&[role="button"] {
|
||||
border-color: @overlay0 !important;
|
||||
}
|
||||
&[aria-disabled="true"] {
|
||||
background-color: @surface1 !important;
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Drive sharing window material icon */
|
||||
.SbpzSe .VfPpkd-StrnGf-rymPhb-f7MjDc {
|
||||
color: @accent-color;
|
||||
}
|
||||
|
||||
/* Drive sharing window access hover */
|
||||
.lfDNBb:hover, .lfDNBb:focus-within,
|
||||
.ZelW3e:hover .FYhd9e, .ZelW3e:focus-within .FYhd9e /* Drive sharing window person row hover */ {
|
||||
background-color: @surface0;
|
||||
}
|
||||
|
||||
/* Drive sharing iframe (in Drive) */
|
||||
.lb-k-x {
|
||||
color-scheme: unset;
|
||||
}
|
||||
/* Drive sharing iframe (file preview separate tab) */
|
||||
.XKSfm-Sx9Kwc-bN97Pc {
|
||||
color-scheme: auto; /* unset doesn't work? */
|
||||
}
|
||||
[role="tooltip"],
|
||||
.Kk7lMc-Ca /* Drive applications sidebar tooltip */,
|
||||
.gb_2e /* Drive google account tooltip */ {
|
||||
background-color: @surface2;
|
||||
*,
|
||||
& {
|
||||
color: @text !important;
|
||||
}
|
||||
border-color: transparent;
|
||||
/* File preview (separate tab) tooltip arrow */
|
||||
.tk3N6e-suEOdc-jQ8oHc,
|
||||
.tk3N6e-suEOdc-ez0xG {
|
||||
border-color: @surface2 transparent !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* Drive applications sidebar close button */
|
||||
.Kk7lMc-QWPxkf-d-j .Yb-Il-d .Yb-Il-d-c-j {
|
||||
background-color: @surface0;
|
||||
path:nth-child(1) {
|
||||
stroke: @text;
|
||||
}
|
||||
}
|
||||
/* Drive applications sidebar get addons */
|
||||
.Yb-Il-d#qJTzr .Yb-Il-d-c-j {
|
||||
& when (@lookup = latte) {
|
||||
filter: brightness(0) invert(31%) sepia(10%) saturate(1268%)
|
||||
hue-rotate(196deg) brightness(90%) contrast(86%);
|
||||
}
|
||||
& when (@lookup = frappe) {
|
||||
filter: brightness(0) invert(80%) sepia(7%) saturate(1070%)
|
||||
hue-rotate(192deg) brightness(104%) contrast(92%);
|
||||
}
|
||||
& when (@lookup = macchiato) {
|
||||
filter: brightness(0) invert(84%) sepia(13%) saturate(579%)
|
||||
hue-rotate(193deg) brightness(99%) contrast(94%);
|
||||
}
|
||||
& when (@lookup = mocha) {
|
||||
filter: brightness(0) invert(84%) sepia(19%) saturate(370%)
|
||||
hue-rotate(192deg) brightness(98%) contrast(95%);
|
||||
}
|
||||
}
|
||||
/* Drive applications sidebar close button white background */
|
||||
.Yb-Il-d-c-Nd {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
/* Drive icon */
|
||||
[src="//ssl.gstatic.com/images/branding/product/1x/drive_2020q4_48dp.png"]
|
||||
{
|
||||
@darkBlue: mix(@blue, @base, 80%);
|
||||
@darkGreen: mix(@green, @base, 80%);
|
||||
|
||||
@svg: escape(
|
||||
'<svg viewBox="0 0 87.3 78" xmlns="http://www.w3.org/2000/svg"><path d="m6.6 66.85 3.85 6.65c.8 1.4 1.95 2.5 3.3 3.3L27.5 53H0c0 1.55.4 3.1 1.2 4.5z" fill="@{darkBlue}"/><path d="M43.65 25 29.9 1.2c-1.35.8-2.5 1.9-3.3 3.3l-25.4 44A9.06 9.06 0 0 0 0 53h27.5z" fill="@{green}"/><path d="M73.55 76.8c1.35-.8 2.5-1.9 3.3-3.3l1.6-2.75L86.1 57.5c.8-1.4 1.2-2.95 1.2-4.5H59.798l5.852 11.5z" fill="@{red}"/><path d="M43.65 25 57.4 1.2C56.05.4 54.5 0 52.9 0H34.4c-1.6 0-3.15.45-4.5 1.2z" fill="@{darkGreen}"/><path d="M59.8 53H27.5L13.75 76.8c1.35.8 2.9 1.2 4.5 1.2h50.8c1.6 0 3.15-.45 4.5-1.2z" fill="@{blue}"/><path d="m73.4 26.5-12.7-22c-.8-1.4-1.95-2.5-3.3-3.3L43.65 25 59.8 53h27.45c0-1.55-.4-3.1-1.2-4.5z" fill="@{yellow}"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
|
||||
/* Drive upload checkmark */
|
||||
.z-Ea-Fj-c svg path {
|
||||
fill: @green;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#rgbify(@color) {
|
||||
@rgb: red(@color), green(@color), blue(@color);
|
||||
}
|
||||
|
||||
/* prettier-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; };
|
||||
}
|
||||
|
||||
// vim:ft=less
|
||||
==/UserStyle== */
|
||||
@@ -0,0 +1,714 @@
|
||||
/* ==UserStyle==
|
||||
@name Google Drive Catppuccin
|
||||
@namespace github.com/catppuccin/userstyles/styles/google-drive
|
||||
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/google-drive
|
||||
@version 2024.12.29.1
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/google-drive/catppuccin.user.less
|
||||
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Agoogle-drive
|
||||
@description Soothing pastel theme for Google Drive
|
||||
@author Catppuccin
|
||||
@license MIT
|
||||
|
||||
@preprocessor less
|
||||
@var select lightFlavor "Light Flavor" ["latte:Latte*", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha"]
|
||||
@var select darkFlavor "Dark Flavor" ["latte:Latte", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha*"]
|
||||
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
|
||||
==/UserStyle== */
|
||||
|
||||
@-moz-document domain("drive.google.com") {
|
||||
:root:has(.KkxPLb) {
|
||||
.vhoiae.vhoiae.vhoiae,
|
||||
& {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
:root:has(.LgGVmb) {
|
||||
.vhoiae.vhoiae.vhoiae,
|
||||
& {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
|
||||
#catppuccin(@lookup, @accent) {
|
||||
@rosewater: @catppuccin[@@lookup][@rosewater];
|
||||
@flamingo: @catppuccin[@@lookup][@flamingo];
|
||||
@pink: @catppuccin[@@lookup][@pink];
|
||||
@mauve: @catppuccin[@@lookup][@mauve];
|
||||
@red: @catppuccin[@@lookup][@red];
|
||||
@maroon: @catppuccin[@@lookup][@maroon];
|
||||
@peach: @catppuccin[@@lookup][@peach];
|
||||
@yellow: @catppuccin[@@lookup][@yellow];
|
||||
@green: @catppuccin[@@lookup][@green];
|
||||
@teal: @catppuccin[@@lookup][@teal];
|
||||
@sky: @catppuccin[@@lookup][@sky];
|
||||
@sapphire: @catppuccin[@@lookup][@sapphire];
|
||||
@blue: @catppuccin[@@lookup][@blue];
|
||||
@lavender: @catppuccin[@@lookup][@lavender];
|
||||
@text: @catppuccin[@@lookup][@text];
|
||||
@subtext1: @catppuccin[@@lookup][@subtext1];
|
||||
@subtext0: @catppuccin[@@lookup][@subtext0];
|
||||
@overlay2: @catppuccin[@@lookup][@overlay2];
|
||||
@overlay1: @catppuccin[@@lookup][@overlay1];
|
||||
@overlay0: @catppuccin[@@lookup][@overlay0];
|
||||
@surface2: @catppuccin[@@lookup][@surface2];
|
||||
@surface1: @catppuccin[@@lookup][@surface1];
|
||||
@surface0: @catppuccin[@@lookup][@surface0];
|
||||
@base: @catppuccin[@@lookup][@base];
|
||||
@mantle: @catppuccin[@@lookup][@mantle];
|
||||
@crust: @catppuccin[@@lookup][@crust];
|
||||
@accent-color: @catppuccin[@@lookup][@@accent];
|
||||
|
||||
color-scheme: if(@lookup = latte, light, dark);
|
||||
|
||||
::selection {
|
||||
background-color: fade(@accent-color, 30%);
|
||||
}
|
||||
|
||||
input,
|
||||
textarea {
|
||||
&::placeholder {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
--dt-on-background: @text;
|
||||
--dt-on-background-secondary: @subtext0;
|
||||
--dt-background: @base;
|
||||
--dt-on-surface: @text;
|
||||
--dt-inverse-surface: @text;
|
||||
--dt-on-surface-secondary: @subtext0;
|
||||
--dt-on-surface-variant: @text;
|
||||
--dt-surface-variant: @surface0;
|
||||
--dt-inverse-on-surface: @surface0;
|
||||
--dt-surface: @base;
|
||||
--dt-surface-tint: @accent-color;
|
||||
--dt-shadow-elevation-1:
|
||||
0px 3px 1px -2px fade(@base, 20%), 0px 2px 2px 0px fade(@base, 14%), 0px
|
||||
1px 5px 0px fade(@base, 12%);
|
||||
--dt-shadow-elevation-2:
|
||||
0px 2px 4px -1px fade(@base, 20%), 0px 4px 5px 0px fade(@base, 14%), 0px
|
||||
1px 10px 0px fade(@base, 12%);
|
||||
--dt-shadow-elevation-3:
|
||||
0px 5px 5px -3px fade(@base, 20%), 0px 8px 10px 1px fade(@base, 14%), 0px
|
||||
3px 14px 2px fade(@base, 12%);
|
||||
--dt-shadow-elevation-4:
|
||||
0px 5px 5px -3px fade(@base, 20%), 0px 8px 10px 1px fade(@base, 14%), 0px
|
||||
3px 14px 2px fade(@base, 12%);
|
||||
--dt-shadow-elevation-5:
|
||||
0px 8px 10px -6px fade(@base, 20%), 0px 16px 24px 2px fade(@base, 14%),
|
||||
0px 6px 30px 5px fade(@base, 12%);
|
||||
--dt-surface-container-lowest: @crust;
|
||||
--dt-surface-container-low: @mantle;
|
||||
--dt-surface-container: @surface0;
|
||||
--dt-surface-container-high: @surface1;
|
||||
--dt-surface-container-highest: @surface2;
|
||||
--dt-surface-dim: @crust;
|
||||
--dt-surface-bright: @base;
|
||||
--dt-on-primary-container: @text;
|
||||
--dt-primary-container-icon: @text;
|
||||
--dt-primary-container-link: @text;
|
||||
--dt-primary: @accent-color;
|
||||
--dt-primary-action: @accent-color;
|
||||
--dt-primary-action-stateful: @accent-color;
|
||||
--dt-primary-outline: @accent-color;
|
||||
--dt-primary-action-state-layer: @accent-color;
|
||||
--dt-primary-container: @surface0;
|
||||
--dt-on-primary: @base;
|
||||
--dt-primary-icon: @base;
|
||||
--dt-primary-link: @base;
|
||||
--dt-on-secondary-container: @text;
|
||||
--dt-secondary-container-icon: @text;
|
||||
--dt-secondary-container-link: @text;
|
||||
--dt-secondary: @accent-color;
|
||||
--dt-secondary-action: @accent-color;
|
||||
--dt-secondary-action-stateful: @accent-color;
|
||||
--dt-secondary-outline: @accent-color;
|
||||
--dt-secondary-action-state-layer: @accent-color;
|
||||
--dt-secondary-container: @surface0;
|
||||
--dt-on-secondary: @base;
|
||||
--dt-secondary-icon: @base;
|
||||
--dt-secondary-link: @base;
|
||||
--dt-on-tertiary-container: @text;
|
||||
--dt-tertiary-container-icon: @text;
|
||||
--dt-tertiary-container-link: @text;
|
||||
--dt-tertiary: @accent-color;
|
||||
--dt-tertiary-action: @accent-color;
|
||||
--dt-tertiary-action-stateful: @accent-color;
|
||||
--dt-tertiary-outline: @accent-color;
|
||||
--dt-tertiary-action-state-layer: @accent-color;
|
||||
--dt-tertiary-container: @surface0;
|
||||
--dt-on-tertiary: @base;
|
||||
--dt-tertiary-icon: @base;
|
||||
--dt-tertiary-link: @base;
|
||||
--dt-on-neutral-container: @text;
|
||||
--dt-neutral-container-icon: @text;
|
||||
--dt-neutral-container-link: @text;
|
||||
--dt-neutral: @surface0;
|
||||
--dt-neutral-action: @text;
|
||||
--dt-neutral-action-stateful: @text;
|
||||
--dt-neutral-outline: @surface0;
|
||||
--dt-neutral-action-state-layer: @surface0;
|
||||
--dt-neutral-container: @surface0;
|
||||
--dt-on-neutral: @text;
|
||||
--dt-neutral-icon: @surface0;
|
||||
--dt-neutral-link: @surface0;
|
||||
--dt-on-warning-container: @yellow;
|
||||
--dt-warning-container-icon: @yellow;
|
||||
--dt-warning-container-link: @yellow;
|
||||
--dt-warning: @yellow;
|
||||
--dt-warning-action: @yellow;
|
||||
--dt-warning-action-stateful: @yellow;
|
||||
--dt-warning-outline: @yellow;
|
||||
--dt-warning-action-state-layer: @yellow;
|
||||
--dt-warning-container: @surface0;
|
||||
--dt-on-warning: @base;
|
||||
--dt-warning-icon: @yellow;
|
||||
--dt-warning-link: @yellow;
|
||||
--dt-on-error-container: @red;
|
||||
--dt-error-container-icon: @red;
|
||||
--dt-error-container-link: @red;
|
||||
--dt-error: @red;
|
||||
--dt-error-action: @red;
|
||||
--dt-error-action-stateful: @red;
|
||||
--dt-error-outline: @red;
|
||||
--dt-error-action-state-layer: @surface1;
|
||||
--dt-error-container: @surface1;
|
||||
--dt-on-error: @base;
|
||||
--dt-error-icon: @base;
|
||||
--dt-error-link: @base;
|
||||
--dt-mime-type-blue: @blue;
|
||||
--dt-mime-type-dark-blue: @blue;
|
||||
--dt-mime-type-green: @green;
|
||||
--dt-mime-type-grey: @overlay0;
|
||||
--dt-mime-type-purple: @mauve;
|
||||
--dt-mime-type-deep-purple: @mauve;
|
||||
--dt-mime-type-red: @red;
|
||||
--dt-mime-type-yellow: @yellow;
|
||||
--dt-disabled: @overlay0;
|
||||
--dt-on-disabled: @text;
|
||||
--dt-outline: @overlay0;
|
||||
--dt-outline-variant: @surface2;
|
||||
--dt-light-info-banner-button: @text;
|
||||
--dt-light-neutral-banner-button: @text;
|
||||
--dt-light-success-banner-button: @green;
|
||||
--dt-light-warning-banner-button: @yellow;
|
||||
--dt-light-error-banner-button: @red;
|
||||
|
||||
--gm3-sys-color-background: @base;
|
||||
--gm3-sys-color-background-rgb: #rgbify(@base)[];
|
||||
--gm3-sys-color-error: @red;
|
||||
--gm3-sys-color-error-rgb: #rgbify(@red)[];
|
||||
--gm3-sys-color-error-container: @surface2;
|
||||
--gm3-sys-color-error-container-rgb: #rgbify(@surface2)[];
|
||||
--gm3-sys-color-inverse-on-surface: @surface0;
|
||||
--gm3-sys-color-inverse-on-surface-rgb: #rgbify(@surface0)[];
|
||||
--gm3-sys-color-inverse-primary: red;
|
||||
--gm3-sys-color-inverse-primary-rgb: 255, 0, 0;
|
||||
--gm3-sys-color-inverse-surface: @text;
|
||||
--gm3-sys-color-inverse-surface-rgb: #rgbify(@text)[];
|
||||
--gm3-sys-color-on-background: @text;
|
||||
--gm3-sys-color-on-background-rgb: #rgbify(@text)[];
|
||||
--gm3-sys-color-on-error: @base;
|
||||
--gm3-sys-color-on-error-rgb: #rgbify(@base)[];
|
||||
--gm3-sys-color-on-error-container: @red;
|
||||
--gm3-sys-color-on-error-container-rgb: #rgbify(@red)[];
|
||||
--gm3-sys-color-on-primary: @base;
|
||||
--gm3-sys-color-on-primary-rgb: #rgbify(@base)[];
|
||||
--gm3-sys-color-on-primary-container: @text;
|
||||
--gm3-sys-color-on-primary-container-rgb: #rgbify(@text)[];
|
||||
--gm3-sys-color-on-primary-fixed: @base;
|
||||
--gm3-sys-color-on-primary-fixed-rgb: #rgbify(@base);
|
||||
--gm3-sys-color-on-primary-fixed-variant: @base;
|
||||
--gm3-sys-color-on-primary-fixed-variant-rgb: #rgbify(@base);
|
||||
--gm3-sys-color-on-secondary: @base;
|
||||
--gm3-sys-color-on-secondary-rgb: #rgbify(@base)[];
|
||||
--gm3-sys-color-on-secondary-container: @text;
|
||||
--gm3-sys-color-on-secondary-container-rgb: #rgbify(@text)[];
|
||||
--gm3-sys-color-on-secondary-fixed: @base;
|
||||
--gm3-sys-color-on-secondary-fixed-rgb: #rgbify(@base)[];
|
||||
--gm3-sys-color-on-secondary-fixed-variant: @base;
|
||||
--gm3-sys-color-on-secondary-fixed-variant-rgb: #rgbify(@base)[];
|
||||
--gm3-sys-color-on-surface: @text;
|
||||
--gm3-sys-color-on-surface-rgb: #rgbify(@text)[];
|
||||
--gm3-sys-color-on-surface-variant: @text;
|
||||
--gm3-sys-color-on-surface-variant-rgb: #rgbify(@text)[];
|
||||
--gm3-sys-color-on-tertiary: @base;
|
||||
--gm3-sys-color-on-tertiary-rgb: #rgbify(@base)[];
|
||||
--gm3-sys-color-on-tertiary-container: @text;
|
||||
--gm3-sys-color-on-tertiary-container-rgb: #rgbify(@text)[];
|
||||
--gm3-sys-color-on-tertiary-fixed: @base;
|
||||
--gm3-sys-color-on-tertiary-fixed-rgb: #rgbify(@base)[];
|
||||
--gm3-sys-color-on-tertiary-fixed-variant: @base;
|
||||
--gm3-sys-color-on-tertiary-fixed-variant-rgb: #rgbify(@base)[];
|
||||
--gm3-sys-color-outline: @overlay0;
|
||||
--gm3-sys-color-outline-rgb: #rgbify(@overlay0)[];
|
||||
--gm3-sys-color-outline-variant: @surface2;
|
||||
--gm3-sys-color-outline-variant-rgb: #rgbify(@surface2)[];
|
||||
--gm3-sys-color-primary: @accent-color;
|
||||
--gm3-sys-color-primary-rgb: #rgbify(@accent-color)[];
|
||||
--gm3-sys-color-primary-container: @surface0;
|
||||
--gm3-sys-color-primary-container-rgb: #rgbify(@surface0)[];
|
||||
--gm3-sys-color-primary-fixed: @accent-color;
|
||||
--gm3-sys-color-primary-fixed-rgb: #rgbify(@accent-color)[];
|
||||
--gm3-sys-color-primary-fixed-dim: @accent-color;
|
||||
--gm3-sys-color-primary-fixed-dim-rgb: #rgbify(@accent-color)[];
|
||||
--gm3-sys-color-secondary: @accent-color;
|
||||
--gm3-sys-color-secondary-rgb: #rgbify(@accent-color);
|
||||
--gm3-sys-color-secondary-container: @surface0;
|
||||
--gm3-sys-color-secondary-container-rgb: #rgbify(@surface0)[];
|
||||
--gm3-sys-color-secondary-fixed: #c2e7ff;
|
||||
--gm3-sys-color-secondary-fixed-rgb: 194, 231, 255;
|
||||
--gm3-sys-color-secondary-fixed-dim: #7fcfff;
|
||||
--gm3-sys-color-secondary-fixed-dim-rgb: 127, 207, 255;
|
||||
--gm3-sys-color-surface: @base;
|
||||
--gm3-sys-color-surface-rgb: #rgbify(@base)[];
|
||||
--gm3-sys-color-surface-bright: @base;
|
||||
--gm3-sys-color-surface-bright-rgb: #rgbify(@base)[];
|
||||
--gm3-sys-color-surface-container: @surface0;
|
||||
--gm3-sys-color-surface-container-rgb: #rgbify(@surface0)[];
|
||||
--gm3-sys-color-surface-container-high: @surface1;
|
||||
--gm3-sys-color-surface-container-high-rgb: #rgbify(@surface1)[];
|
||||
--gm3-sys-color-surface-container-highest: @surface2;
|
||||
--gm3-sys-color-surface-container-highest-rgb: #rgbify(@surface2)[];
|
||||
--gm3-sys-color-surface-container-low: @mantle;
|
||||
--gm3-sys-color-surface-container-low-rgb: #rgbify(@mantle)[];
|
||||
--gm3-sys-color-surface-container-lowest: @crust;
|
||||
--gm3-sys-color-surface-container-lowest-rgb: #rgbify(@crust)[];
|
||||
--gm3-sys-color-surface-dim: @crust;
|
||||
--gm3-sys-color-surface-dim-rgb: #rgbify(@crust)[];
|
||||
--gm3-sys-color-surface-tint: @accent-color;
|
||||
--gm3-sys-color-surface-tint-rgb: #rgbify(@accent-color)[];
|
||||
--gm3-sys-color-surface-variant: @surface0;
|
||||
--gm3-sys-color-surface-variant-rgb: #rgbify(@surface0)[];
|
||||
--gm3-sys-color-tertiary: @accent-color;
|
||||
--gm3-sys-color-tertiary-rgb: #rgbify(@accent-color)[];
|
||||
--gm3-sys-color-tertiary-container: @surface0;
|
||||
--gm3-sys-color-tertiary-container-rgb: #rgbify(@surface0);
|
||||
--gm3-sys-color-tertiary-fixed: @accent-color;
|
||||
--gm3-sys-color-tertiary-fixed-rgb: #rgbify(@accent-color)[];
|
||||
--gm3-sys-color-tertiary-fixed-dim: @accent-color;
|
||||
--gm3-sys-color-tertiary-fixed-dim-rgb: #rgbify(@accent-color)[];
|
||||
|
||||
& when (@lookup = latte) {
|
||||
--dt-scrim: fade(@text, 50%);
|
||||
--dt-scrim-2x: fade(@text, 50%);
|
||||
--gm3-sys-color-scrim: @text;
|
||||
--gm3-sys-color-scrim-rgb: #rgbify(@text)[];
|
||||
--gm3-sys-color-shadow: @text;
|
||||
--gm3-sys-color-shadow-rgb: #rgbify(@text)[];
|
||||
}
|
||||
|
||||
& when not(@lookup = latte) {
|
||||
--dt-scrim: fade(@base, 50%);
|
||||
--dt-scrim-2x: fade(@base, 50%);
|
||||
--gm3-sys-color-scrim: @base;
|
||||
--gm3-sys-color-scrim-rgb: #rgbify(@base)[];
|
||||
--gm3-sys-color-shadow: @base;
|
||||
--gm3-sys-color-shadow-rgb: #rgbify(@base)[];
|
||||
}
|
||||
|
||||
/* Settings menu title & back button */
|
||||
.gb_Pc svg,
|
||||
.gb_Uc.gb_Zc svg,
|
||||
.gb_Pc .gb_gd .gb_od,
|
||||
.gb_Pc .gb_gd .gb_Oc,
|
||||
.gb_Pc .gb_gd .gb_id,
|
||||
.gb_Uc.gb_Zc .gb_od {
|
||||
color: @text !important;
|
||||
}
|
||||
|
||||
/* Settings menu Storage total used icon */
|
||||
.VBJTHe svg path {
|
||||
fill: @text;
|
||||
}
|
||||
|
||||
/* Drive sync checkbox disabled */
|
||||
.MlG5Jc gm-checkbox[disabled] ~ .VfPpkd-ga,
|
||||
.MlG5Jc gm-radio[disabled] ~ .VfPpkd-ga,
|
||||
.MlG5Jc .VfPpkd-Qa-Qu-db ~ .VfPpkd-ga,
|
||||
.MlG5Jc .VfPpkd-Eg-Qu-db ~ .VfPpkd-ga {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
|
||||
/* Quota hover box-shadow */
|
||||
.KnDsIf:hover,
|
||||
.KnDsIf:focus,
|
||||
.al9hA {
|
||||
box-shadow: 0 2px 6px @overlay0;
|
||||
}
|
||||
|
||||
/* Quota Google Drive */
|
||||
.kJzqSb {
|
||||
color: @blue;
|
||||
}
|
||||
|
||||
/* Quota Google Photos */
|
||||
.L1pqQb {
|
||||
color: @yellow;
|
||||
}
|
||||
|
||||
/* Quota Gmail */
|
||||
.au0LDe {
|
||||
color: @red;
|
||||
}
|
||||
|
||||
/* Google Account outline */
|
||||
.gb_Ea.gb_i {
|
||||
border-color: @overlay0;
|
||||
background-color: @surface0;
|
||||
}
|
||||
.gb_Ea.gb_i:focus,
|
||||
.gb_Ea.gb_i:hover {
|
||||
border-color: @subtext0;
|
||||
}
|
||||
|
||||
/* File preview (separate tab) background */
|
||||
&.ndfHFb-c4YZDc-uoC0bf.ndfHFb-c4YZDc-i5oIFb .ndfHFb-c4YZDc-bnBfGc {
|
||||
background-color: @base;
|
||||
}
|
||||
.a-b-uoC0bf.a-b-L .a-b-jl /* File preview (in Drive) background */ {
|
||||
background-color: fade(@base, 85%);
|
||||
}
|
||||
|
||||
/* File preview (separate tab) top bar */
|
||||
&.ndfHFb-c4YZDc-uoC0bf.ndfHFb-c4YZDc-i5oIFb
|
||||
.ndfHFb-c4YZDc-Wrql6b.ndfHFb-c4YZDc-Wrql6b-Hyc8Sd,
|
||||
.a-b-uoC0bf.a-b-L .a-b-K.a-b-K-Hyc8Sd /* File preview (in Drive) top bar */
|
||||
{
|
||||
background-color: fade(@base, 85%);
|
||||
}
|
||||
|
||||
/* File preview (separate tab) bottom bar */
|
||||
.ndfHFb-c4YZDc-q77wGc .ndfHFb-c4YZDc-DARUcf-NnAfwf-i5oIFb,
|
||||
.ndfHFb-c4YZDc-q77wGc .ndfHFb-c4YZDc-nJjxad-nK2kYb-i5oIFb,
|
||||
.a-b-vo .a-b-La-yc-L,
|
||||
.a-b-vo .a-b-Kb-ac-L /* File preview (in Drive) bottom bar */ {
|
||||
background-color: fade(@base, 85%);
|
||||
color: @text !important;
|
||||
/* File preview (separate tab) page input */
|
||||
.ndfHFb-c4YZDc-DARUcf-NGme3c-YPqjbf,
|
||||
.a-b-La-su-vb /* File preview (in Drive) page input */ {
|
||||
background-color: fade(@base, 50%);
|
||||
color: @text;
|
||||
}
|
||||
}
|
||||
|
||||
/* File preview (separate tab) share button */
|
||||
&.ndfHFb-c4YZDc-uoC0bf .zAYgkb-uoC0bf .tk3N6e-LgbsSe,
|
||||
&.ndfHFb-c4YZDc-uoC0bf
|
||||
.zAYgkb-mAKE4e-LQLjdd-xl07Ob-LgbsSe.VIpgJd-Kb3HCc-xl07Ob-LgbsSe,
|
||||
.a-b-uoC0bf .ae-uoC0bf .g-d,
|
||||
.a-b-uoC0bf
|
||||
.ae-mAKE4e-Hc-w-d.h-R-w-d /* File preview (in Drive) share button */ {
|
||||
background-color: @accent-color;
|
||||
color: @base;
|
||||
/* File preview (separate tab) share icon */
|
||||
.IyROMc-euCgFf-LJSvSb,
|
||||
.ae-c /* File preview (in Drive) share icon */ {
|
||||
& when (@lookup = latte) {
|
||||
filter: brightness(0) invert(97%) sepia(4%) saturate(152%) hue-rotate(
|
||||
183deg
|
||||
) brightness(94%) contrast(106%);
|
||||
}
|
||||
& when (@lookup = frappe) {
|
||||
filter: brightness(0) invert(15%) sepia(8%) saturate(2252%)
|
||||
hue-rotate(192deg) brightness(98%) contrast(85%);
|
||||
}
|
||||
& when (@lookup = macchiato) {
|
||||
filter: brightness(0) invert(13%) sepia(26%) saturate(823%)
|
||||
hue-rotate(195deg) brightness(90%) contrast(92%);
|
||||
}
|
||||
& when (@lookup = mocha) {
|
||||
filter: brightness(0) invert(10%) sepia(36%) saturate(650%)
|
||||
hue-rotate(201deg) brightness(90%) contrast(93%);
|
||||
}
|
||||
}
|
||||
/* File preview (separate tab) share triangle */
|
||||
.VIpgJd-Kb3HCc-xl07Ob-LgbsSe-j4gsHd,
|
||||
.h-R-w-d-Re /* File preview (in Drive) share triangle */ {
|
||||
border-color: @base transparent !important;
|
||||
}
|
||||
}
|
||||
/* File preview (separate tab) share Quick options */
|
||||
.zAYgkb-NhlrFc-xl07Ob-BvBYQ,
|
||||
.h-w.ae-NhlrFc-w /* File preview (in Drive) share Quick options */ {
|
||||
background-color: @base;
|
||||
* {
|
||||
color: @text !important;
|
||||
}
|
||||
/* File preview (in Drive) share Quick options current share level container */
|
||||
.h-v-x {
|
||||
opacity: 100%;
|
||||
}
|
||||
/* File preview (separate tab) share Quick options divider */
|
||||
.zAYgkb-NhlrFc-gqMrKb,
|
||||
.ae-NhlrFc-Yo /* File preview (in Drive) share Quick options divider */ {
|
||||
border-color: @overlay0;
|
||||
}
|
||||
/* File preview (separate tab) share Quick options row hover */
|
||||
.VIpgJd-j7LFlb-sn54Q,
|
||||
.h-v-pc /* File preview (in Drive) share Quick options row hover */ {
|
||||
background-color: @surface0;
|
||||
}
|
||||
/* File preview (separate tab) share Quick options row icon */
|
||||
.IyROMc-euCgFf-LJSvSb,
|
||||
.ba-ea-i /* File preview (in Drive) share Quick options row icon */ {
|
||||
& when (@lookup = latte) {
|
||||
filter: brightness(0) invert(31%) sepia(10%) saturate(1268%)
|
||||
hue-rotate(196deg) brightness(90%) contrast(86%);
|
||||
}
|
||||
& when (@lookup = frappe) {
|
||||
filter: brightness(0) invert(80%) sepia(7%) saturate(1070%)
|
||||
hue-rotate(192deg) brightness(104%) contrast(92%);
|
||||
}
|
||||
& when (@lookup = macchiato) {
|
||||
filter: brightness(0) invert(84%) sepia(13%) saturate(579%)
|
||||
hue-rotate(193deg) brightness(99%) contrast(94%);
|
||||
}
|
||||
& when (@lookup = mocha) {
|
||||
filter: brightness(0) invert(84%) sepia(19%) saturate(370%)
|
||||
hue-rotate(192deg) brightness(98%) contrast(95%);
|
||||
}
|
||||
}
|
||||
}
|
||||
/* File preview (separate tab) Print, Download, 3 dots */
|
||||
.ndfHFb-c4YZDc-Bz112c:not([style]),
|
||||
.ndfHFb-c4YZDc-Bz112c[style*="googlematerialicons"],
|
||||
.ndfHFb-c4YZDc-Bz112c[style="user-select: none;"],
|
||||
.ndfHFb-c4YZDc-Wrql6b-htvI8d-wcotoc-wHEfpf-ndfHFb-Bz112c
|
||||
/* File preview (separate tab) Save to drive */,
|
||||
.ndfHFb-c4YZDc-Wrql6b-w37qKe-Bz112c
|
||||
/* File preview (separate tab) Save to drive (clicked) */,
|
||||
/* File preview (in Drive) Print, Download, 3 dots */
|
||||
.a-b-c:not([style]),
|
||||
.a-b-c[style*="googlematerialicons"],
|
||||
.a-b-c[style="user-select: none;"],
|
||||
.a-b-K-zc-Eb-bg-a-c /* File preview (in Drive) Save to drive */,
|
||||
.a-b-K-X-c /* File preview (in Drive) Save to drive (clicked) */ {
|
||||
& when (@lookup = latte) {
|
||||
filter: brightness(0) invert(31%) sepia(10%) saturate(1268%) hue-rotate(
|
||||
196deg
|
||||
) brightness(90%) contrast(86%);
|
||||
}
|
||||
& when (@lookup = frappe) {
|
||||
filter: brightness(0) invert(80%) sepia(7%) saturate(1070%) hue-rotate(
|
||||
192deg
|
||||
) brightness(104%) contrast(92%);
|
||||
}
|
||||
& when (@lookup = macchiato) {
|
||||
filter: brightness(0) invert(84%) sepia(13%) saturate(579%) hue-rotate(
|
||||
193deg
|
||||
) brightness(99%) contrast(94%);
|
||||
}
|
||||
& when (@lookup = mocha) {
|
||||
filter: brightness(0) invert(84%) sepia(19%) saturate(370%) hue-rotate(
|
||||
192deg
|
||||
) brightness(98%) contrast(95%);
|
||||
}
|
||||
}
|
||||
/* File preview (separate tab) File title */
|
||||
.ndfHFb-c4YZDc-Wrql6b-V1ur5d,
|
||||
.a-b-cg-Zf /* File preview (in Drive) File title */ {
|
||||
color: @text;
|
||||
}
|
||||
/* File preview (separate tab) 3 dots menu item hover */
|
||||
.ndfHFb-c4YZDc-j7LFlb:hover,
|
||||
.a-b-v:hover /* File preview (in Drive) 3 dots menu item hover */ {
|
||||
background-color: @surface0;
|
||||
}
|
||||
/* File preview (separate tab) No preview available */
|
||||
.ndfHFb-c4YZDc-EglORb-haAclf,
|
||||
.a-b-Tb-j /* File preview (in Drive) No preview available */ {
|
||||
background-color: @surface0;
|
||||
color: @text;
|
||||
/* File preview (separate tab) No preview available Download */
|
||||
.ndfHFb-c4YZDc-bN97Pc-nupQLb-LgbsSe,
|
||||
.a-b-x-rb-d /* File preview (in Drive) No preview available Download */ {
|
||||
background-color: @surface1;
|
||||
color: @text;
|
||||
text-shadow: none;
|
||||
border-color: transparent;
|
||||
&:hover {
|
||||
background-color: @surface2;
|
||||
background-image: none;
|
||||
}
|
||||
}
|
||||
/* File preview (separate tab) No preview available Download icon */
|
||||
.ndfHFb-c4YZDc-bN97Pc-nupQLb-LgbsSe-Bz112c,
|
||||
.a-b-x-rb-d-c /* File preview (in Drive) No preview available Download icon */
|
||||
{
|
||||
& when (@lookup = latte) {
|
||||
filter: brightness(0) invert(31%) sepia(10%) saturate(1268%)
|
||||
hue-rotate(196deg) brightness(90%) contrast(86%);
|
||||
}
|
||||
& when (@lookup = frappe) {
|
||||
filter: brightness(0) invert(80%) sepia(7%) saturate(1070%)
|
||||
hue-rotate(192deg) brightness(104%) contrast(92%);
|
||||
}
|
||||
& when (@lookup = macchiato) {
|
||||
filter: brightness(0) invert(84%) sepia(13%) saturate(579%)
|
||||
hue-rotate(193deg) brightness(99%) contrast(94%);
|
||||
}
|
||||
& when (@lookup = mocha) {
|
||||
filter: brightness(0) invert(84%) sepia(19%) saturate(370%)
|
||||
hue-rotate(192deg) brightness(98%) contrast(95%);
|
||||
}
|
||||
}
|
||||
}
|
||||
/* File preview (in Drive) text document */
|
||||
.a-b-r-x,
|
||||
.ndfHFb-c4YZDc-fmcmS-bN97Pc /* File preview (separate tab) text document */
|
||||
{
|
||||
&,
|
||||
pre {
|
||||
background-color: @surface0 !important;
|
||||
color: @text !important;
|
||||
}
|
||||
}
|
||||
/* File preview (in Drive) comment on image */
|
||||
.Yk-efwuC {
|
||||
background-color: @surface0 !important;
|
||||
/* File preview (in Drive) comment on image person */
|
||||
.Yk-Vq7Udc {
|
||||
background-color: @surface0 !important;
|
||||
[data-name] {
|
||||
color: @text !important;
|
||||
}
|
||||
/* Comment text */
|
||||
.Yk-eKrold-Sg.Yk-eKrold-Sg {
|
||||
color: @text !important;
|
||||
}
|
||||
/* Comment date */
|
||||
.Yk-eKrold-bi {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
}
|
||||
/* File preview (in Drive) comments */
|
||||
.Yk-efwuC-vb-Gd {
|
||||
background-color: @surface0;
|
||||
&,
|
||||
* {
|
||||
color: @text !important;
|
||||
}
|
||||
[role="textbox"] {
|
||||
background-color: @surface1;
|
||||
border-color: @overlay0;
|
||||
&::before {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
}
|
||||
[role="button"] {
|
||||
background-color: @surface1 !important;
|
||||
/* needed to override border-color */
|
||||
&[role="button"] {
|
||||
border-color: @overlay0 !important;
|
||||
}
|
||||
&[aria-disabled="true"] {
|
||||
background-color: @surface1 !important;
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Drive sharing window material icon */
|
||||
.SbpzSe .VfPpkd-StrnGf-rymPhb-f7MjDc {
|
||||
color: @accent-color;
|
||||
}
|
||||
|
||||
/* Drive sharing window access hover */
|
||||
.lfDNBb:hover,
|
||||
.lfDNBb:focus-within,
|
||||
.ZelW3e:hover .FYhd9e,
|
||||
.ZelW3e:focus-within .FYhd9e /* Drive sharing window person row hover */ {
|
||||
background-color: @surface0;
|
||||
}
|
||||
|
||||
/* Drive sharing iframe (in Drive) */
|
||||
.lb-k-x {
|
||||
color-scheme: unset;
|
||||
}
|
||||
/* Drive sharing iframe (file preview separate tab) */
|
||||
.XKSfm-Sx9Kwc-bN97Pc {
|
||||
color-scheme: auto; /* unset doesn't work? */
|
||||
}
|
||||
[role="tooltip"],
|
||||
.Kk7lMc-Ca /* Drive applications sidebar tooltip */,
|
||||
.gb_2e /* Drive google account tooltip */ {
|
||||
background-color: @surface2;
|
||||
*,
|
||||
& {
|
||||
color: @text !important;
|
||||
}
|
||||
border-color: transparent;
|
||||
/* File preview (separate tab) tooltip arrow */
|
||||
.tk3N6e-suEOdc-jQ8oHc,
|
||||
.tk3N6e-suEOdc-ez0xG {
|
||||
border-color: @surface2 transparent !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* Drive applications sidebar close button */
|
||||
.Kk7lMc-QWPxkf-d-j .Yb-Il-d .Yb-Il-d-c-j {
|
||||
background-color: @surface0;
|
||||
path:nth-child(1) {
|
||||
stroke: @text;
|
||||
}
|
||||
}
|
||||
/* Drive applications sidebar get addons */
|
||||
.Yb-Il-d#qJTzr .Yb-Il-d-c-j {
|
||||
& when (@lookup = latte) {
|
||||
filter: brightness(0) invert(31%) sepia(10%) saturate(1268%) hue-rotate(
|
||||
196deg
|
||||
) brightness(90%) contrast(86%);
|
||||
}
|
||||
& when (@lookup = frappe) {
|
||||
filter: brightness(0) invert(80%) sepia(7%) saturate(1070%) hue-rotate(
|
||||
192deg
|
||||
) brightness(104%) contrast(92%);
|
||||
}
|
||||
& when (@lookup = macchiato) {
|
||||
filter: brightness(0) invert(84%) sepia(13%) saturate(579%) hue-rotate(
|
||||
193deg
|
||||
) brightness(99%) contrast(94%);
|
||||
}
|
||||
& when (@lookup = mocha) {
|
||||
filter: brightness(0) invert(84%) sepia(19%) saturate(370%) hue-rotate(
|
||||
192deg
|
||||
) brightness(98%) contrast(95%);
|
||||
}
|
||||
}
|
||||
/* Drive applications sidebar close button white background */
|
||||
.Yb-Il-d-c-Nd {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
/* Drive icon */
|
||||
[src="//ssl.gstatic.com/images/branding/product/1x/drive_2020q4_48dp.png"] {
|
||||
@darkBlue: mix(@blue, @base, 80%);
|
||||
@darkGreen: mix(@green, @base, 80%);
|
||||
|
||||
@svg: escape(
|
||||
'<svg viewBox="0 0 87.3 78" xmlns="http://www.w3.org/2000/svg"><path d="m6.6 66.85 3.85 6.65c.8 1.4 1.95 2.5 3.3 3.3L27.5 53H0c0 1.55.4 3.1 1.2 4.5z" fill="@{darkBlue}"/><path d="M43.65 25 29.9 1.2c-1.35.8-2.5 1.9-3.3 3.3l-25.4 44A9.06 9.06 0 0 0 0 53h27.5z" fill="@{green}"/><path d="M73.55 76.8c1.35-.8 2.5-1.9 3.3-3.3l1.6-2.75L86.1 57.5c.8-1.4 1.2-2.95 1.2-4.5H59.798l5.852 11.5z" fill="@{red}"/><path d="M43.65 25 57.4 1.2C56.05.4 54.5 0 52.9 0H34.4c-1.6 0-3.15.45-4.5 1.2z" fill="@{darkGreen}"/><path d="M59.8 53H27.5L13.75 76.8c1.35.8 2.9 1.2 4.5 1.2h50.8c1.6 0 3.15-.45 4.5-1.2z" fill="@{blue}"/><path d="m73.4 26.5-12.7-22c-.8-1.4-1.95-2.5-3.3-3.3L43.65 25 59.8 53h27.45c0-1.55-.4-3.1-1.2-4.5z" fill="@{yellow}"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
|
||||
/* Drive upload checkmark */
|
||||
.z-Ea-Fj-c svg path {
|
||||
fill: @green;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#rgbify(@color) {
|
||||
@rgb: red(@color), green(@color), blue(@color);
|
||||
}
|
||||
|
||||
/* deno-fmt-ignore */
|
||||
@catppuccin: {
|
||||
@latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
|
||||
@frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
|
||||
@macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
|
||||
@mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
|
||||
};
|
||||
@@ -1,9 +1,9 @@
|
||||
/* ==UserStyle==
|
||||
@name Google Gemini Catppuccin
|
||||
@name Google Gemini Catppuccin [STUB | UPDATE REQUIRED]
|
||||
@namespace github.com/catppuccin/userstyles/styles/google-gemini
|
||||
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/google-gemini
|
||||
@version 2024.12.28
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/google-gemini/catppuccin.user.css
|
||||
@version 2024.12.29
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/google-gemini/catppuccin.user.less
|
||||
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Agoogle-gemini
|
||||
@description Soothing pastel theme for Google Gemini
|
||||
@author Catppuccin
|
||||
@@ -13,415 +13,4 @@
|
||||
@var select lightFlavor "Light Flavor" ["latte:Latte*", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha"]
|
||||
@var select darkFlavor "Dark Flavor" ["latte:Latte", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha*"]
|
||||
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
|
||||
==/UserStyle== */
|
||||
|
||||
@-moz-document domain('gemini.google.com') {
|
||||
@import url("https://unpkg.com/@catppuccin/[email protected]/css/catppuccin-variables.important.css");
|
||||
|
||||
:root .dark-theme {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
}
|
||||
|
||||
:root .light-theme {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
|
||||
#catppuccin(@lookup, @accent) {
|
||||
@rosewater: @catppuccin[@@lookup][@rosewater];
|
||||
@flamingo: @catppuccin[@@lookup][@flamingo];
|
||||
@pink: @catppuccin[@@lookup][@pink];
|
||||
@mauve: @catppuccin[@@lookup][@mauve];
|
||||
@red: @catppuccin[@@lookup][@red];
|
||||
@maroon: @catppuccin[@@lookup][@maroon];
|
||||
@peach: @catppuccin[@@lookup][@peach];
|
||||
@yellow: @catppuccin[@@lookup][@yellow];
|
||||
@green: @catppuccin[@@lookup][@green];
|
||||
@teal: @catppuccin[@@lookup][@teal];
|
||||
@sky: @catppuccin[@@lookup][@sky];
|
||||
@sapphire: @catppuccin[@@lookup][@sapphire];
|
||||
@blue: @catppuccin[@@lookup][@blue];
|
||||
@lavender: @catppuccin[@@lookup][@lavender];
|
||||
@text: @catppuccin[@@lookup][@text];
|
||||
@subtext1: @catppuccin[@@lookup][@subtext1];
|
||||
@subtext0: @catppuccin[@@lookup][@subtext0];
|
||||
@overlay2: @catppuccin[@@lookup][@overlay2];
|
||||
@overlay1: @catppuccin[@@lookup][@overlay1];
|
||||
@overlay0: @catppuccin[@@lookup][@overlay0];
|
||||
@surface2: @catppuccin[@@lookup][@surface2];
|
||||
@surface1: @catppuccin[@@lookup][@surface1];
|
||||
@surface0: @catppuccin[@@lookup][@surface0];
|
||||
@base: @catppuccin[@@lookup][@base];
|
||||
@mantle: @catppuccin[@@lookup][@mantle];
|
||||
@crust: @catppuccin[@@lookup][@crust];
|
||||
@accent-color: @catppuccin[@@lookup][@@accent];
|
||||
|
||||
--ctp-rosewater: @rosewater;
|
||||
--ctp-flamingo: @flamingo;
|
||||
--ctp-pink: @pink;
|
||||
--ctp-mauve: @mauve;
|
||||
--ctp-red: @red;
|
||||
--ctp-maroon: @maroon;
|
||||
--ctp-peach: @peach;
|
||||
--ctp-yellow: @yellow;
|
||||
--ctp-green: @green;
|
||||
--ctp-teal: @teal;
|
||||
--ctp-sky: @sky;
|
||||
--ctp-sapphire: @sapphire;
|
||||
--ctp-blue: @blue;
|
||||
--ctp-lavender: @lavender;
|
||||
--ctp-text: @text;
|
||||
--ctp-subtext1: @subtext1;
|
||||
--ctp-subtext0: @subtext0;
|
||||
--ctp-overlay2: @overlay2;
|
||||
--ctp-overlay1: @overlay1;
|
||||
--ctp-overlay0: @overlay0;
|
||||
--ctp-surface2: @surface2;
|
||||
--ctp-surface1: @surface1;
|
||||
--ctp-surface0: @surface0;
|
||||
--ctp-base: @base;
|
||||
--ctp-mantle: @mantle;
|
||||
--ctp-crust: @crust;
|
||||
|
||||
color-scheme: if(@lookup =latte, light, dark);
|
||||
|
||||
::selection {
|
||||
background-color: fade(@accent-color, 30%);
|
||||
}
|
||||
|
||||
input,
|
||||
textarea {
|
||||
&::placeholder {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
--bard-color-neutral-90: @mantle;
|
||||
--bard-color-on-selected-conversation-metadata-v2: @text;
|
||||
--bard-color-surface-container: @mantle;
|
||||
--bard-color-on-surface-opacity-38: @surface2 !important;
|
||||
--bard-color-surface-container-highest: lighten(@base, 5%);
|
||||
--bard-color-response-container-flipped-background: @surface0;
|
||||
--bard-color-inverse-on-surface: darken(@mantle, 1%);
|
||||
--bard-color-sidenav-mobile-controls: @text;
|
||||
--bard-color-main-container-background: @base;
|
||||
--bard-color-main-container-background-rgb: #rgbify(@base) [];
|
||||
--bard-color-window-container-background: @base;
|
||||
--bard-color-response-container-background: @base;
|
||||
--bard-color-response-container-background-rgb: #rgbify(@base) [];
|
||||
--bard-color-onhover-conversation-metadata-button-v2: @surface1;
|
||||
--bard-color-selected-conversation-metadata-button-v2: fade(
|
||||
@accent-color,
|
||||
40%
|
||||
);
|
||||
--bard-color-new-conversation-button: @surface0;
|
||||
--bard-color-on-new-conversation-button: @text;
|
||||
--bard-color-onhover-conversation-metadata-v2: @surface0;
|
||||
--bard-color-sidenav-upgrade-button: @surface0;
|
||||
--bard-color-form-field-placeholder: @subtext0;
|
||||
--bard-color-discovery-carousel-background: @mantle;
|
||||
--bard-color-discovery-carousel-icon: @accent-color;
|
||||
--bard-color-example-prompt-background: @crust;
|
||||
--bard-color-bard-mode-logo-prefix: @subtext1;
|
||||
--bard-color-neutral-96: @crust;
|
||||
--bard-color-adv-marketing-basic-background: @surface0;
|
||||
--bard-color-adv-marketing-product-background: @surface0;
|
||||
--bard-color-adv-marketing-disclaimer: @subtext0;
|
||||
--bard-color-input-area-buttons-selected-background: fade(
|
||||
@accent-color,
|
||||
70%
|
||||
);
|
||||
--bard-color-zero-state-card-selected: fade(@accent-color, 30%);
|
||||
--bard-color-zero-state-prompt-chip-background: fade(@accent-color, 50%);
|
||||
--bard-color-zero-state-prompt-chip-text: lighten(@accent-color, 5%);
|
||||
--bard-color-regular-banner: @accent-color;
|
||||
--bard-color-regular-banner-text: @crust;
|
||||
--bard-color-skeleton-loader-background-1-rgb: #rgbify(@mantle) [];
|
||||
--bard-color-skeleton-loader-background-2-rgb: #rgbify(@accent-color) [];
|
||||
--bard-color-skeleton-loader-background-3-rgb: #rgbify(@accent-color) [];
|
||||
--bard-color-brand-text-gradient-stop-1: @blue;
|
||||
--bard-color-brand-text-gradient-stop-2: @sapphire;
|
||||
--bard-color-brand-text-gradient-stop-3: @peach;
|
||||
--bard-color-on-surface-opacity-12: fade(@teal, 10%);
|
||||
--bard-color-footer-background: @mantle;
|
||||
--bard-color-draft-chip-background: @surface0;
|
||||
--bard-color-processing-animation-color-1: @surface1;
|
||||
--bard-color-processing-animation-color-2: @crust;
|
||||
--bard-color-tunable-selection-button: @mantle;
|
||||
--bard-color-tunable-selection-button-icon: @text;
|
||||
--bard-color-feedback-form-container-background: @mantle;
|
||||
--bard-color-fact-check-tooltip-entailed-highlight: fade(@green, 25%);
|
||||
--bard-color-fact-check-tooltip-entailed-selected: fade(@green, 35%);
|
||||
--bard-color-fact-check-tooltip-contradictory-highlight: fade(@red, 25%);
|
||||
--bard-color-fact-check-tooltip-contradictory-selected: fade(@red, 40%);
|
||||
--bard-color-factuality-form-background: @mantle;
|
||||
--bard-color-fact-check-button-complete: @surface0;
|
||||
--bard-color-fact-check-button-loading: @surface1;
|
||||
--bard-color-tunable-selection-menu-text: @text;
|
||||
--bard-color-tunable-selection-menu-background: @mantle;
|
||||
--bard-color-tunable-selection-textarea-background: @base;
|
||||
--bard-color-tunable-selection-shimmer-non-advanced: @accent-color;
|
||||
--bard-color-onegooglebar-product-controls: @text;
|
||||
--bard-color-adv-marketing-check: @text;
|
||||
|
||||
--mdc-switch-selected-hover-handle-color: lighten(@accent-color, 10%);
|
||||
--mdc-switch-selected-focus-handle-color: lighten(@accent-color, 10%);
|
||||
--mdc-switch-selected-pressed-handle-color: lighten(@accent-color, 15%);
|
||||
--mdc-switch-selected-track-color: fade(@accent-color, 50%);
|
||||
--mdc-switch-selected-hover-track-color: fade(@accent-color, 50%);
|
||||
--mdc-switch-selected-focus-track-color: fade(@accent-color, 50%);
|
||||
--mdc-switch-selected-pressed-track-color: fade(@accent-color, 50%);
|
||||
--mdc-switch-selected-handle-color: @accent-color;
|
||||
--mdc-switch-unselected-handle-color: @subtext0;
|
||||
--mdc-switch-unselected-hover-handle-color: @subtext1;
|
||||
--mdc-switch-unselected-focus-handle-color: @text;
|
||||
--mdc-switch-unselected-pressed-handle-color: @text;
|
||||
--mdc-switch-unselected-track-color: @surface2;
|
||||
--mdc-switch-unselected-hover-track-color: @surface2;
|
||||
--mdc-switch-unselected-pressed-track-color: @surface2;
|
||||
--mdc-switch-unselected-focus-track-color: @surface2;
|
||||
--mdc-checkbox-selected-icon-color: @accent-color;
|
||||
--mdc-checkbox-selected-checkmark-color: var(--gem-sys-color--on-primary);
|
||||
--mdc-checkbox-selected-hover-icon-color: @accent-color;
|
||||
--mdc-checkbox-selected-pressed-icon-color: @accent-color;
|
||||
--mdc-checkbox-selected-focus-icon-color: @accent-color;
|
||||
--mdc-checkbox-selected-focus-state-layer-color: @accent-color;
|
||||
--mdc-checkbox-selected-hover-state-layer-color: @accent-color;
|
||||
--mdc-checkbox-selected-pressed-state-layer-color: @text;
|
||||
--mdc-checkbox-unselected-pressed-state-layer-color: @accent-color;
|
||||
--mdc-checkbox-unselected-focus-state-layer-color: @text;
|
||||
--mdc-checkbox-unselected-hover-state-layer-color: @text;
|
||||
--mdc-checkbox-unselected-focus-icon-color: @text;
|
||||
--mdc-checkbox-unselected-icon-color: @subtext1;
|
||||
--mdc-checkbox-unselected-hover-icon-color: @text;
|
||||
--mdc-text-button-label-text-color: @subtext1;
|
||||
--mdc-text-button-hover-label-text-color: @overlay2;
|
||||
--mdc-list-list-item-hover-label-text-color: @text;
|
||||
--mdc-filled-button-label-text-color: @crust;
|
||||
--mdc-circular-progress-active-indicator-color: @accent-color;
|
||||
--mdc-outlined-button-focus-outline-color: @text;
|
||||
--mdc-outlined-button-hover-label-text-color: @subtext1;
|
||||
--mdc-list-list-item-focus-label-text-color: @text;
|
||||
--mdc-icon-button-disabled-icon-color: @surface2;
|
||||
--mdc-outlined-text-field-input-text-color: @text;
|
||||
--mdc-outlined-text-field-focus-outline-color: @accent-color;
|
||||
--mdc-outlined-text-field-outline-color: @overlay1;
|
||||
|
||||
--mat-app-text-color: @text;
|
||||
--mat-text-button-state-layer-color: @overlay2;
|
||||
--mat-sidenav-container-text-color: @text;
|
||||
--mat-expansion-header-text-color: @text;
|
||||
--mat-expansion-header-indicator-color: @text;
|
||||
--mat-expansion-container-text-color: @text;
|
||||
--mat-checkbox-label-text-color: @text;
|
||||
--mat-bottom-sheet-container-text-color: @text;
|
||||
--mat-bottom-sheet-container-background-color: @base;
|
||||
--mat-menu-item-hover-state-layer-color: @surface0;
|
||||
--mat-menu-item-focus-state-layer-color: @surface0;
|
||||
--mat-menu-item-label-text-color: @text;
|
||||
--mat-menu-container-color: @base;
|
||||
--mat-menu-item-icon-color: @text;
|
||||
--mat-filled-button-state-layer-color: @overlay2;
|
||||
--mat-focus-indicator-border-color: @accent-color;
|
||||
--mat-fab-small-hover-state-layer-opacity: 1;
|
||||
--mat-divider-color: @overlay2;
|
||||
|
||||
--gm-outlinedtextfield-outline-color: @subtext0;
|
||||
--gm-outlinedtextfield-outline-color--stateful: @accent-color;
|
||||
--gm-outlinedtextfield-ink-color: @text;
|
||||
--gm3-sys-color-on-secondary-container: @crust;
|
||||
--gm3-sys-color-secondary-container: @text;
|
||||
|
||||
--gem-sys-color--surface: @base;
|
||||
--gem-sys-color--surface-container: @mantle;
|
||||
--gem-sys-color--surface--rgb: #rgbify(@base) [];
|
||||
--gem-sys-color--on-surface: @text;
|
||||
--gem-sys-color--on-surface-variant: @subtext1;
|
||||
--gem-sys-color--outline-variant: @surface1;
|
||||
--gem-sys-color--surface-container-high: @surface0;
|
||||
--gem-sys-color--surface-container-low: lighten(@mantle, 2%);
|
||||
--gem-sys-color--outline: @subtext0;
|
||||
--gem-sys-color--on-primary-container: @text;
|
||||
--gem-sys-color--on-primary-fixed: darken(@accent-color, 40%);
|
||||
--gem-sys-color--on-primary: darken(@accent-color, 60%);
|
||||
--gem-sys-color--primary: @accent-color;
|
||||
--gem-sys-color--primary-container: fade(@accent-color, 60%);
|
||||
--gem-sys-color--on-surface--rgb: #rgbify(@subtext0) [];
|
||||
--gem-sys-color--surface-dim--rgb: #rgbify(@crust) [];
|
||||
--gem-sys-color--surface-container-highest: @surface0;
|
||||
--gem-sys-color--primary-fixed: @text;
|
||||
--gem-sys-color--on-secondary: fade(@accent-color, 30%);
|
||||
--gem-sys-color--surface-variant: @surface0;
|
||||
|
||||
--og-theme-color: @text;
|
||||
|
||||
.action-icon {
|
||||
--gem-sys-color--on-primary: @accent-color;
|
||||
--gem-sys-color--on-surface-variant: @mantle;
|
||||
}
|
||||
.draft-preview-label-chip.selected {
|
||||
color: @crust;
|
||||
}
|
||||
.buttons-container-link-button {
|
||||
color: @crust;
|
||||
}
|
||||
.mdc-text-field--outlined:hover:not(
|
||||
.mdc-text-field--disabled,
|
||||
.mdc-text-field--focused
|
||||
) {
|
||||
& .mdc-notched-outline__leading,
|
||||
& .mdc-notched-outline__trailing {
|
||||
border-color: @text !important;
|
||||
}
|
||||
}
|
||||
.gmat-mdc-dialog .mat-mdc-dialog-container {
|
||||
.mdc-dialog__content {
|
||||
color: @subtext0;
|
||||
}
|
||||
.mdc-dialog__title {
|
||||
color: @text;
|
||||
}
|
||||
}
|
||||
.gmat-mdc-button.mat-mdc-outlined-button.mat-unthemed {
|
||||
--mdc-outlined-button-outline-color: @overlay0;
|
||||
--mdc-outlined-button-label-text-color: @subtext0;
|
||||
}
|
||||
.gmat-mdc-button.mat-mdc-outlined-button {
|
||||
--mat-outlined-button-state-layer-color: @overlay2;
|
||||
}
|
||||
.gmat-mdc-button.mat-mdc-outlined-button:not(
|
||||
.mat-mdc-button-disabled,
|
||||
[disabled],
|
||||
:disabled
|
||||
).mdc-ripple-upgraded--background-focused,
|
||||
.gmat-mdc-button.mat-mdc-outlined-button:not(
|
||||
.mat-mdc-button-disabled,
|
||||
[disabled],
|
||||
:disabled,
|
||||
.mdc-ripple-upgraded
|
||||
):focus {
|
||||
color: @text;
|
||||
}
|
||||
.gmat-mdc-chip {
|
||||
--mdc-chip-label-text-color: @subtext0;
|
||||
}
|
||||
.gmat-mdc-chip.gmat-hairline-chip {
|
||||
--mdc-chip-outline-color: @subtext0;
|
||||
}
|
||||
.gmat-mdc-chip.cdk-focused {
|
||||
--mdc-chip-label-text-color: @text;
|
||||
}
|
||||
.mat-mdc-standard-chip {
|
||||
--mdc-chip-hover-state-layer-color: @overlay1;
|
||||
--mdc-chip-focus-state-layer-color: @overlay2;
|
||||
}
|
||||
.mdc-tooltip__surface {
|
||||
--mdc-plain-tooltip-container-color: @overlay0;
|
||||
--mdc-plain-tooltip-supporting-text-color: @text;
|
||||
}
|
||||
.mdc-form-field {
|
||||
--mdc-form-field-label-text-color: @text;
|
||||
}
|
||||
.mdc-icon-button {
|
||||
--mdc-icon-button-icon-color: @text !important;
|
||||
}
|
||||
.mdc-dialog__surface {
|
||||
background-color: @base !important;
|
||||
}
|
||||
.expandable-button:disabled {
|
||||
color: rgba(var(--gem-sys-color--on-surface--rgb), 0.38);
|
||||
}
|
||||
.mat-mdc-progress-bar {
|
||||
--mdc-linear-progress-active-indicator-color: @accent-color;
|
||||
--mdc-linear-progress-track-color: fade(@accent-color, 50%);
|
||||
}
|
||||
.mdc-list-item,
|
||||
.gmat-mdc-list {
|
||||
--mdc-list-list-item-hover-state-layer-color: @overlay1;
|
||||
--mdc-list-list-item-label-text-color: @text;
|
||||
--mdc-list-list-item-leading-icon-color: @text;
|
||||
--mdc-list-list-item-focus-state-layer-color: @overlay2;
|
||||
}
|
||||
.gmat-mdc-button.mat-mdc-button.mat-primary {
|
||||
--mdc-text-button-label-text-color: @accent-color;
|
||||
--mdc-text-button-hover-label-text-color: lighten(@accent-color, 5%);
|
||||
--mdc-text-button-focus-label-text-color: lighten(@accent-color, 8%);
|
||||
}
|
||||
.gmat-mdc-button.mat-mdc-button.mat-unthemed {
|
||||
--mat-text-button-state-layer-color: @overlay2;
|
||||
}
|
||||
.gmat-mdc-button.mat-mdc-icon-button {
|
||||
--mat-icon-button-state-layer-color: @overlay2;
|
||||
}
|
||||
.gmat-mdc-button.mat-mdc-fab:not(
|
||||
.mat-mdc-button-disabled
|
||||
).mat-primary.gmat-mdc-fab-fill {
|
||||
--mdc-fab-container-color: @accent-color;
|
||||
--mat-fab-foreground-color: @crust;
|
||||
}
|
||||
.gmat-mdc-button.mat-mdc-mini-fab:not(
|
||||
.mat-mdc-button-disabled
|
||||
).mat-primary.gmat-mdc-fab-outline {
|
||||
--mat-fab-small-state-layer-color: @surface0;
|
||||
}
|
||||
.mat-mdc-fab:not(.mdc-riple-upgraded):focus::before,
|
||||
.mat-mdc-mini-fab:not(.mdc-riple-upgraded):focus::before {
|
||||
background: @surface2;
|
||||
}
|
||||
.mat-mdc-menu-panel {
|
||||
background-color: @base !important;
|
||||
}
|
||||
.mat-mdc-fab.mat-accent {
|
||||
--mat-fab-foreground-color: @text;
|
||||
}
|
||||
.xap-count-badge-dot {
|
||||
background-color: @red;
|
||||
}
|
||||
& when (@lookup = latte) {
|
||||
--gem-sys-color--on-primary-fixed: @accent-color;
|
||||
--gem-sys-color--on-primary: @mantle;
|
||||
--gem-sys-color--primary-fixed: @crust;
|
||||
}
|
||||
[data-mat-icon-name="search"] svg {
|
||||
> path:nth-child(1) {
|
||||
fill: @blue;
|
||||
}
|
||||
> path:nth-child(2) {
|
||||
fill: @green;
|
||||
}
|
||||
> path:nth-child(3) {
|
||||
fill: @yellow;
|
||||
}
|
||||
> path:nth-child(4) {
|
||||
fill: @red;
|
||||
}
|
||||
}
|
||||
.google-logo img {
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" width="148" height="48" viewBox="0 0 148 48"><path d="M113 2.43h4.93v33.53H113zM49.5 14.04c-6.31 0-11.45 4.82-11.45 11.46 0 6.6 5.14 11.46 11.45 11.46S60.95 32.1 60.95 25.5c0-6.64-5.14-11.46-11.45-11.46m0 18.4c-3.46 0-6.44-2.86-6.44-6.94 0-4.12 2.98-6.94 6.44-6.94s6.44 2.82 6.44 6.94c0 4.08-2.98 6.94-6.44 6.94m25-18.35c-6.31 0-11.45 4.82-11.45 11.46 0 6.6 5.14 11.46 11.45 11.46s11.45-4.86 11.45-11.46c0-6.65-5.14-11.46-11.45-11.46m0 18.4c-3.46 0-6.44-2.86-6.44-6.94 0-4.12 2.98-6.94 6.44-6.94s6.44 2.82 6.44 6.94c0 4.07-2.98 6.94-6.44 6.94m30.73-15.84h-.17c-1.13-1.34-3.3-2.56-6.03-2.56-5.73 0-10.98 5.03-10.98 11.5C88.05 32.01 93.3 37 99.03 37c2.73 0 4.9-1.22 6.03-2.6h.17v1.65c0 4.38-2.34 6.73-6.12 6.73-3.08 0-4.99-2.21-5.77-4.08l-4.38 1.82c1.26 3.04 4.6 6.77 10.15 6.77 5.9 0 10.89-3.47 10.89-11.93V15h-4.77zm-5.78 15.84c-3.47 0-6.38-2.91-6.38-6.9 0-4.04 2.91-6.99 6.38-6.99 3.43 0 6.12 2.95 6.12 6.99 0 3.99-2.69 6.9-6.12 6.9m-71.22-4.08c1.39-1.39 2.32-3.42 2.67-6.41H19.22v-4.76H35.6c.17.87.3 2.06.3 3.2 0 3.66-1 8.19-4.22 11.41-3.14 3.27-7.14 5.01-12.46 5.01C9.38 36.86 1.1 28.84 1.1 19S9.38 1.14 19.22 1.14c5.44 0 9.32 2.13 12.24 4.92L28.02 9.5c-2.09-1.96-4.92-3.48-8.8-3.48-7.19 0-12.81 5.79-12.81 12.98s5.62 12.98 12.81 12.98c4.66 0 7.32-1.87 9.01-3.57m103.54 4.08c-2.56 0-4.38-1.17-5.55-3.47l15.32-6.34-.52-1.3c-.95-2.56-3.86-7.29-9.81-7.29-5.9 0-10.81 4.64-10.81 11.46 0 6.42 4.86 11.46 11.37 11.46 5.25 0 8.29-3.21 9.55-5.08l-3.91-2.6c-1.3 1.9-3.08 3.16-5.64 3.16m-.39-13.98c2 0 3.69 1 4.25 2.43l-10.24 4.25c-.13-4.42 3.43-6.68 5.99-6.68" fill="@{subtext1}"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
[src="https://www.gstatic.com/lamda/images/replit_dark_24px_7d0347bf84c2570074db9.svg"],
|
||||
[src="https://www.gstatic.com/lamda/images/replit_light_24px_3a2ee6003110f3c8460c9.svg"]
|
||||
{
|
||||
@svg: escape(
|
||||
'<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M12.334 8.669H5.252A1.25 1.25 0 0 1 4 7.417V3.252C4 2.559 4.56 2 5.252 2h5.83c.693 0 1.252.56 1.252 1.252z" fill="@{text}"/><path d="M19.416 15.333h-7.082V8.668h7.082c.689 0 1.248.56 1.248 1.248v4.165a1.25 1.25 0 0 1-1.248 1.252M11.082 22h-5.83a1.25 1.25 0 0 1-1.248-1.247v-4.165c0-.689.56-1.248 1.248-1.248h7.082v5.417c0 .68-.56 1.243-1.252 1.243" fill="@{text}"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#rgbify(@color) {
|
||||
@rgb: red(@color), green(@color), blue(@color);
|
||||
}
|
||||
|
||||
/* prettier-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; };
|
||||
}
|
||||
|
||||
// vim:ft=less
|
||||
==/UserStyle== */
|
||||
@@ -0,0 +1,424 @@
|
||||
/* ==UserStyle==
|
||||
@name Google Gemini Catppuccin
|
||||
@namespace github.com/catppuccin/userstyles/styles/google-gemini
|
||||
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/google-gemini
|
||||
@version 2024.12.29.1
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/google-gemini/catppuccin.user.less
|
||||
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Agoogle-gemini
|
||||
@description Soothing pastel theme for Google Gemini
|
||||
@author Catppuccin
|
||||
@license MIT
|
||||
|
||||
@preprocessor less
|
||||
@var select lightFlavor "Light Flavor" ["latte:Latte*", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha"]
|
||||
@var select darkFlavor "Dark Flavor" ["latte:Latte", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha*"]
|
||||
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
|
||||
==/UserStyle== */
|
||||
|
||||
@-moz-document domain("gemini.google.com") {
|
||||
@import url("https://unpkg.com/@catppuccin/[email protected]/css/catppuccin-variables.important.css");
|
||||
|
||||
:root .dark-theme {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
}
|
||||
|
||||
:root .light-theme {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
|
||||
#catppuccin(@lookup, @accent) {
|
||||
@rosewater: @catppuccin[@@lookup][@rosewater];
|
||||
@flamingo: @catppuccin[@@lookup][@flamingo];
|
||||
@pink: @catppuccin[@@lookup][@pink];
|
||||
@mauve: @catppuccin[@@lookup][@mauve];
|
||||
@red: @catppuccin[@@lookup][@red];
|
||||
@maroon: @catppuccin[@@lookup][@maroon];
|
||||
@peach: @catppuccin[@@lookup][@peach];
|
||||
@yellow: @catppuccin[@@lookup][@yellow];
|
||||
@green: @catppuccin[@@lookup][@green];
|
||||
@teal: @catppuccin[@@lookup][@teal];
|
||||
@sky: @catppuccin[@@lookup][@sky];
|
||||
@sapphire: @catppuccin[@@lookup][@sapphire];
|
||||
@blue: @catppuccin[@@lookup][@blue];
|
||||
@lavender: @catppuccin[@@lookup][@lavender];
|
||||
@text: @catppuccin[@@lookup][@text];
|
||||
@subtext1: @catppuccin[@@lookup][@subtext1];
|
||||
@subtext0: @catppuccin[@@lookup][@subtext0];
|
||||
@overlay2: @catppuccin[@@lookup][@overlay2];
|
||||
@overlay1: @catppuccin[@@lookup][@overlay1];
|
||||
@overlay0: @catppuccin[@@lookup][@overlay0];
|
||||
@surface2: @catppuccin[@@lookup][@surface2];
|
||||
@surface1: @catppuccin[@@lookup][@surface1];
|
||||
@surface0: @catppuccin[@@lookup][@surface0];
|
||||
@base: @catppuccin[@@lookup][@base];
|
||||
@mantle: @catppuccin[@@lookup][@mantle];
|
||||
@crust: @catppuccin[@@lookup][@crust];
|
||||
@accent-color: @catppuccin[@@lookup][@@accent];
|
||||
|
||||
--ctp-rosewater: @rosewater;
|
||||
--ctp-flamingo: @flamingo;
|
||||
--ctp-pink: @pink;
|
||||
--ctp-mauve: @mauve;
|
||||
--ctp-red: @red;
|
||||
--ctp-maroon: @maroon;
|
||||
--ctp-peach: @peach;
|
||||
--ctp-yellow: @yellow;
|
||||
--ctp-green: @green;
|
||||
--ctp-teal: @teal;
|
||||
--ctp-sky: @sky;
|
||||
--ctp-sapphire: @sapphire;
|
||||
--ctp-blue: @blue;
|
||||
--ctp-lavender: @lavender;
|
||||
--ctp-text: @text;
|
||||
--ctp-subtext1: @subtext1;
|
||||
--ctp-subtext0: @subtext0;
|
||||
--ctp-overlay2: @overlay2;
|
||||
--ctp-overlay1: @overlay1;
|
||||
--ctp-overlay0: @overlay0;
|
||||
--ctp-surface2: @surface2;
|
||||
--ctp-surface1: @surface1;
|
||||
--ctp-surface0: @surface0;
|
||||
--ctp-base: @base;
|
||||
--ctp-mantle: @mantle;
|
||||
--ctp-crust: @crust;
|
||||
|
||||
color-scheme: if(@lookup = latte, light, dark);
|
||||
|
||||
::selection {
|
||||
background-color: fade(@accent-color, 30%);
|
||||
}
|
||||
|
||||
input,
|
||||
textarea {
|
||||
&::placeholder {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
--bard-color-neutral-90: @mantle;
|
||||
--bard-color-on-selected-conversation-metadata-v2: @text;
|
||||
--bard-color-surface-container: @mantle;
|
||||
--bard-color-on-surface-opacity-38: @surface2 !important;
|
||||
--bard-color-surface-container-highest: lighten(@base, 5%);
|
||||
--bard-color-response-container-flipped-background: @surface0;
|
||||
--bard-color-inverse-on-surface: darken(@mantle, 1%);
|
||||
--bard-color-sidenav-mobile-controls: @text;
|
||||
--bard-color-main-container-background: @base;
|
||||
--bard-color-main-container-background-rgb: #rgbify(@base)[];
|
||||
--bard-color-window-container-background: @base;
|
||||
--bard-color-response-container-background: @base;
|
||||
--bard-color-response-container-background-rgb: #rgbify(@base)[];
|
||||
--bard-color-onhover-conversation-metadata-button-v2: @surface1;
|
||||
--bard-color-selected-conversation-metadata-button-v2: fade(
|
||||
@accent-color,
|
||||
40%
|
||||
);
|
||||
--bard-color-new-conversation-button: @surface0;
|
||||
--bard-color-on-new-conversation-button: @text;
|
||||
--bard-color-onhover-conversation-metadata-v2: @surface0;
|
||||
--bard-color-sidenav-upgrade-button: @surface0;
|
||||
--bard-color-form-field-placeholder: @subtext0;
|
||||
--bard-color-discovery-carousel-background: @mantle;
|
||||
--bard-color-discovery-carousel-icon: @accent-color;
|
||||
--bard-color-example-prompt-background: @crust;
|
||||
--bard-color-bard-mode-logo-prefix: @subtext1;
|
||||
--bard-color-neutral-96: @crust;
|
||||
--bard-color-adv-marketing-basic-background: @surface0;
|
||||
--bard-color-adv-marketing-product-background: @surface0;
|
||||
--bard-color-adv-marketing-disclaimer: @subtext0;
|
||||
--bard-color-input-area-buttons-selected-background: fade(
|
||||
@accent-color,
|
||||
70%
|
||||
);
|
||||
--bard-color-zero-state-card-selected: fade(@accent-color, 30%);
|
||||
--bard-color-zero-state-prompt-chip-background: fade(@accent-color, 50%);
|
||||
--bard-color-zero-state-prompt-chip-text: lighten(@accent-color, 5%);
|
||||
--bard-color-regular-banner: @accent-color;
|
||||
--bard-color-regular-banner-text: @crust;
|
||||
--bard-color-skeleton-loader-background-1-rgb: #rgbify(@mantle)[];
|
||||
--bard-color-skeleton-loader-background-2-rgb: #rgbify(@accent-color)[];
|
||||
--bard-color-skeleton-loader-background-3-rgb: #rgbify(@accent-color)[];
|
||||
--bard-color-brand-text-gradient-stop-1: @blue;
|
||||
--bard-color-brand-text-gradient-stop-2: @sapphire;
|
||||
--bard-color-brand-text-gradient-stop-3: @peach;
|
||||
--bard-color-on-surface-opacity-12: fade(@teal, 10%);
|
||||
--bard-color-footer-background: @mantle;
|
||||
--bard-color-draft-chip-background: @surface0;
|
||||
--bard-color-processing-animation-color-1: @surface1;
|
||||
--bard-color-processing-animation-color-2: @crust;
|
||||
--bard-color-tunable-selection-button: @mantle;
|
||||
--bard-color-tunable-selection-button-icon: @text;
|
||||
--bard-color-feedback-form-container-background: @mantle;
|
||||
--bard-color-fact-check-tooltip-entailed-highlight: fade(@green, 25%);
|
||||
--bard-color-fact-check-tooltip-entailed-selected: fade(@green, 35%);
|
||||
--bard-color-fact-check-tooltip-contradictory-highlight: fade(@red, 25%);
|
||||
--bard-color-fact-check-tooltip-contradictory-selected: fade(@red, 40%);
|
||||
--bard-color-factuality-form-background: @mantle;
|
||||
--bard-color-fact-check-button-complete: @surface0;
|
||||
--bard-color-fact-check-button-loading: @surface1;
|
||||
--bard-color-tunable-selection-menu-text: @text;
|
||||
--bard-color-tunable-selection-menu-background: @mantle;
|
||||
--bard-color-tunable-selection-textarea-background: @base;
|
||||
--bard-color-tunable-selection-shimmer-non-advanced: @accent-color;
|
||||
--bard-color-onegooglebar-product-controls: @text;
|
||||
--bard-color-adv-marketing-check: @text;
|
||||
|
||||
--mdc-switch-selected-hover-handle-color: lighten(@accent-color, 10%);
|
||||
--mdc-switch-selected-focus-handle-color: lighten(@accent-color, 10%);
|
||||
--mdc-switch-selected-pressed-handle-color: lighten(@accent-color, 15%);
|
||||
--mdc-switch-selected-track-color: fade(@accent-color, 50%);
|
||||
--mdc-switch-selected-hover-track-color: fade(@accent-color, 50%);
|
||||
--mdc-switch-selected-focus-track-color: fade(@accent-color, 50%);
|
||||
--mdc-switch-selected-pressed-track-color: fade(@accent-color, 50%);
|
||||
--mdc-switch-selected-handle-color: @accent-color;
|
||||
--mdc-switch-unselected-handle-color: @subtext0;
|
||||
--mdc-switch-unselected-hover-handle-color: @subtext1;
|
||||
--mdc-switch-unselected-focus-handle-color: @text;
|
||||
--mdc-switch-unselected-pressed-handle-color: @text;
|
||||
--mdc-switch-unselected-track-color: @surface2;
|
||||
--mdc-switch-unselected-hover-track-color: @surface2;
|
||||
--mdc-switch-unselected-pressed-track-color: @surface2;
|
||||
--mdc-switch-unselected-focus-track-color: @surface2;
|
||||
--mdc-checkbox-selected-icon-color: @accent-color;
|
||||
--mdc-checkbox-selected-checkmark-color: var(--gem-sys-color--on-primary);
|
||||
--mdc-checkbox-selected-hover-icon-color: @accent-color;
|
||||
--mdc-checkbox-selected-pressed-icon-color: @accent-color;
|
||||
--mdc-checkbox-selected-focus-icon-color: @accent-color;
|
||||
--mdc-checkbox-selected-focus-state-layer-color: @accent-color;
|
||||
--mdc-checkbox-selected-hover-state-layer-color: @accent-color;
|
||||
--mdc-checkbox-selected-pressed-state-layer-color: @text;
|
||||
--mdc-checkbox-unselected-pressed-state-layer-color: @accent-color;
|
||||
--mdc-checkbox-unselected-focus-state-layer-color: @text;
|
||||
--mdc-checkbox-unselected-hover-state-layer-color: @text;
|
||||
--mdc-checkbox-unselected-focus-icon-color: @text;
|
||||
--mdc-checkbox-unselected-icon-color: @subtext1;
|
||||
--mdc-checkbox-unselected-hover-icon-color: @text;
|
||||
--mdc-text-button-label-text-color: @subtext1;
|
||||
--mdc-text-button-hover-label-text-color: @overlay2;
|
||||
--mdc-list-list-item-hover-label-text-color: @text;
|
||||
--mdc-filled-button-label-text-color: @crust;
|
||||
--mdc-circular-progress-active-indicator-color: @accent-color;
|
||||
--mdc-outlined-button-focus-outline-color: @text;
|
||||
--mdc-outlined-button-hover-label-text-color: @subtext1;
|
||||
--mdc-list-list-item-focus-label-text-color: @text;
|
||||
--mdc-icon-button-disabled-icon-color: @surface2;
|
||||
--mdc-outlined-text-field-input-text-color: @text;
|
||||
--mdc-outlined-text-field-focus-outline-color: @accent-color;
|
||||
--mdc-outlined-text-field-outline-color: @overlay1;
|
||||
|
||||
--mat-app-text-color: @text;
|
||||
--mat-text-button-state-layer-color: @overlay2;
|
||||
--mat-sidenav-container-text-color: @text;
|
||||
--mat-expansion-header-text-color: @text;
|
||||
--mat-expansion-header-indicator-color: @text;
|
||||
--mat-expansion-container-text-color: @text;
|
||||
--mat-checkbox-label-text-color: @text;
|
||||
--mat-bottom-sheet-container-text-color: @text;
|
||||
--mat-bottom-sheet-container-background-color: @base;
|
||||
--mat-menu-item-hover-state-layer-color: @surface0;
|
||||
--mat-menu-item-focus-state-layer-color: @surface0;
|
||||
--mat-menu-item-label-text-color: @text;
|
||||
--mat-menu-container-color: @base;
|
||||
--mat-menu-item-icon-color: @text;
|
||||
--mat-filled-button-state-layer-color: @overlay2;
|
||||
--mat-focus-indicator-border-color: @accent-color;
|
||||
--mat-fab-small-hover-state-layer-opacity: 1;
|
||||
--mat-divider-color: @overlay2;
|
||||
|
||||
--gm-outlinedtextfield-outline-color: @subtext0;
|
||||
--gm-outlinedtextfield-outline-color--stateful: @accent-color;
|
||||
--gm-outlinedtextfield-ink-color: @text;
|
||||
--gm3-sys-color-on-secondary-container: @crust;
|
||||
--gm3-sys-color-secondary-container: @text;
|
||||
|
||||
--gem-sys-color--surface: @base;
|
||||
--gem-sys-color--surface-container: @mantle;
|
||||
--gem-sys-color--surface--rgb: #rgbify(@base)[];
|
||||
--gem-sys-color--on-surface: @text;
|
||||
--gem-sys-color--on-surface-variant: @subtext1;
|
||||
--gem-sys-color--outline-variant: @surface1;
|
||||
--gem-sys-color--surface-container-high: @surface0;
|
||||
--gem-sys-color--surface-container-low: lighten(@mantle, 2%);
|
||||
--gem-sys-color--outline: @subtext0;
|
||||
--gem-sys-color--on-primary-container: @text;
|
||||
--gem-sys-color--on-primary-fixed: darken(@accent-color, 40%);
|
||||
--gem-sys-color--on-primary: darken(@accent-color, 60%);
|
||||
--gem-sys-color--primary: @accent-color;
|
||||
--gem-sys-color--primary-container: fade(@accent-color, 60%);
|
||||
--gem-sys-color--on-surface--rgb: #rgbify(@subtext0)[];
|
||||
--gem-sys-color--surface-dim--rgb: #rgbify(@crust)[];
|
||||
--gem-sys-color--surface-container-highest: @surface0;
|
||||
--gem-sys-color--primary-fixed: @text;
|
||||
--gem-sys-color--on-secondary: fade(@accent-color, 30%);
|
||||
--gem-sys-color--surface-variant: @surface0;
|
||||
|
||||
--og-theme-color: @text;
|
||||
|
||||
.action-icon {
|
||||
--gem-sys-color--on-primary: @accent-color;
|
||||
--gem-sys-color--on-surface-variant: @mantle;
|
||||
}
|
||||
.draft-preview-label-chip.selected {
|
||||
color: @crust;
|
||||
}
|
||||
.buttons-container-link-button {
|
||||
color: @crust;
|
||||
}
|
||||
.mdc-text-field--outlined:hover:not(
|
||||
.mdc-text-field--disabled,
|
||||
.mdc-text-field--focused
|
||||
) {
|
||||
& .mdc-notched-outline__leading,
|
||||
& .mdc-notched-outline__trailing {
|
||||
border-color: @text !important;
|
||||
}
|
||||
}
|
||||
.gmat-mdc-dialog .mat-mdc-dialog-container {
|
||||
.mdc-dialog__content {
|
||||
color: @subtext0;
|
||||
}
|
||||
.mdc-dialog__title {
|
||||
color: @text;
|
||||
}
|
||||
}
|
||||
.gmat-mdc-button.mat-mdc-outlined-button.mat-unthemed {
|
||||
--mdc-outlined-button-outline-color: @overlay0;
|
||||
--mdc-outlined-button-label-text-color: @subtext0;
|
||||
}
|
||||
.gmat-mdc-button.mat-mdc-outlined-button {
|
||||
--mat-outlined-button-state-layer-color: @overlay2;
|
||||
}
|
||||
.gmat-mdc-button.mat-mdc-outlined-button:not(
|
||||
.mat-mdc-button-disabled,
|
||||
[disabled],
|
||||
:disabled
|
||||
).mdc-ripple-upgraded--background-focused,
|
||||
.gmat-mdc-button.mat-mdc-outlined-button:not(
|
||||
.mat-mdc-button-disabled,
|
||||
[disabled],
|
||||
:disabled,
|
||||
.mdc-ripple-upgraded
|
||||
):focus {
|
||||
color: @text;
|
||||
}
|
||||
.gmat-mdc-chip {
|
||||
--mdc-chip-label-text-color: @subtext0;
|
||||
}
|
||||
.gmat-mdc-chip.gmat-hairline-chip {
|
||||
--mdc-chip-outline-color: @subtext0;
|
||||
}
|
||||
.gmat-mdc-chip.cdk-focused {
|
||||
--mdc-chip-label-text-color: @text;
|
||||
}
|
||||
.mat-mdc-standard-chip {
|
||||
--mdc-chip-hover-state-layer-color: @overlay1;
|
||||
--mdc-chip-focus-state-layer-color: @overlay2;
|
||||
}
|
||||
.mdc-tooltip__surface {
|
||||
--mdc-plain-tooltip-container-color: @overlay0;
|
||||
--mdc-plain-tooltip-supporting-text-color: @text;
|
||||
}
|
||||
.mdc-form-field {
|
||||
--mdc-form-field-label-text-color: @text;
|
||||
}
|
||||
.mdc-icon-button {
|
||||
--mdc-icon-button-icon-color: @text !important;
|
||||
}
|
||||
.mdc-dialog__surface {
|
||||
background-color: @base !important;
|
||||
}
|
||||
.expandable-button:disabled {
|
||||
color: rgba(var(--gem-sys-color--on-surface--rgb), 0.38);
|
||||
}
|
||||
.mat-mdc-progress-bar {
|
||||
--mdc-linear-progress-active-indicator-color: @accent-color;
|
||||
--mdc-linear-progress-track-color: fade(@accent-color, 50%);
|
||||
}
|
||||
.mdc-list-item,
|
||||
.gmat-mdc-list {
|
||||
--mdc-list-list-item-hover-state-layer-color: @overlay1;
|
||||
--mdc-list-list-item-label-text-color: @text;
|
||||
--mdc-list-list-item-leading-icon-color: @text;
|
||||
--mdc-list-list-item-focus-state-layer-color: @overlay2;
|
||||
}
|
||||
.gmat-mdc-button.mat-mdc-button.mat-primary {
|
||||
--mdc-text-button-label-text-color: @accent-color;
|
||||
--mdc-text-button-hover-label-text-color: lighten(@accent-color, 5%);
|
||||
--mdc-text-button-focus-label-text-color: lighten(@accent-color, 8%);
|
||||
}
|
||||
.gmat-mdc-button.mat-mdc-button.mat-unthemed {
|
||||
--mat-text-button-state-layer-color: @overlay2;
|
||||
}
|
||||
.gmat-mdc-button.mat-mdc-icon-button {
|
||||
--mat-icon-button-state-layer-color: @overlay2;
|
||||
}
|
||||
.gmat-mdc-button.mat-mdc-fab:not(
|
||||
.mat-mdc-button-disabled
|
||||
).mat-primary.gmat-mdc-fab-fill {
|
||||
--mdc-fab-container-color: @accent-color;
|
||||
--mat-fab-foreground-color: @crust;
|
||||
}
|
||||
.gmat-mdc-button.mat-mdc-mini-fab:not(
|
||||
.mat-mdc-button-disabled
|
||||
).mat-primary.gmat-mdc-fab-outline {
|
||||
--mat-fab-small-state-layer-color: @surface0;
|
||||
}
|
||||
.mat-mdc-fab:not(.mdc-riple-upgraded):focus::before,
|
||||
.mat-mdc-mini-fab:not(.mdc-riple-upgraded):focus::before {
|
||||
background: @surface2;
|
||||
}
|
||||
.mat-mdc-menu-panel {
|
||||
background-color: @base !important;
|
||||
}
|
||||
.mat-mdc-fab.mat-accent {
|
||||
--mat-fab-foreground-color: @text;
|
||||
}
|
||||
.xap-count-badge-dot {
|
||||
background-color: @red;
|
||||
}
|
||||
& when (@lookup = latte) {
|
||||
--gem-sys-color--on-primary-fixed: @accent-color;
|
||||
--gem-sys-color--on-primary: @mantle;
|
||||
--gem-sys-color--primary-fixed: @crust;
|
||||
}
|
||||
[data-mat-icon-name="search"] svg {
|
||||
> path:nth-child(1) {
|
||||
fill: @blue;
|
||||
}
|
||||
> path:nth-child(2) {
|
||||
fill: @green;
|
||||
}
|
||||
> path:nth-child(3) {
|
||||
fill: @yellow;
|
||||
}
|
||||
> path:nth-child(4) {
|
||||
fill: @red;
|
||||
}
|
||||
}
|
||||
.google-logo img {
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" width="148" height="48" viewBox="0 0 148 48"><path d="M113 2.43h4.93v33.53H113zM49.5 14.04c-6.31 0-11.45 4.82-11.45 11.46 0 6.6 5.14 11.46 11.45 11.46S60.95 32.1 60.95 25.5c0-6.64-5.14-11.46-11.45-11.46m0 18.4c-3.46 0-6.44-2.86-6.44-6.94 0-4.12 2.98-6.94 6.44-6.94s6.44 2.82 6.44 6.94c0 4.08-2.98 6.94-6.44 6.94m25-18.35c-6.31 0-11.45 4.82-11.45 11.46 0 6.6 5.14 11.46 11.45 11.46s11.45-4.86 11.45-11.46c0-6.65-5.14-11.46-11.45-11.46m0 18.4c-3.46 0-6.44-2.86-6.44-6.94 0-4.12 2.98-6.94 6.44-6.94s6.44 2.82 6.44 6.94c0 4.07-2.98 6.94-6.44 6.94m30.73-15.84h-.17c-1.13-1.34-3.3-2.56-6.03-2.56-5.73 0-10.98 5.03-10.98 11.5C88.05 32.01 93.3 37 99.03 37c2.73 0 4.9-1.22 6.03-2.6h.17v1.65c0 4.38-2.34 6.73-6.12 6.73-3.08 0-4.99-2.21-5.77-4.08l-4.38 1.82c1.26 3.04 4.6 6.77 10.15 6.77 5.9 0 10.89-3.47 10.89-11.93V15h-4.77zm-5.78 15.84c-3.47 0-6.38-2.91-6.38-6.9 0-4.04 2.91-6.99 6.38-6.99 3.43 0 6.12 2.95 6.12 6.99 0 3.99-2.69 6.9-6.12 6.9m-71.22-4.08c1.39-1.39 2.32-3.42 2.67-6.41H19.22v-4.76H35.6c.17.87.3 2.06.3 3.2 0 3.66-1 8.19-4.22 11.41-3.14 3.27-7.14 5.01-12.46 5.01C9.38 36.86 1.1 28.84 1.1 19S9.38 1.14 19.22 1.14c5.44 0 9.32 2.13 12.24 4.92L28.02 9.5c-2.09-1.96-4.92-3.48-8.8-3.48-7.19 0-12.81 5.79-12.81 12.98s5.62 12.98 12.81 12.98c4.66 0 7.32-1.87 9.01-3.57m103.54 4.08c-2.56 0-4.38-1.17-5.55-3.47l15.32-6.34-.52-1.3c-.95-2.56-3.86-7.29-9.81-7.29-5.9 0-10.81 4.64-10.81 11.46 0 6.42 4.86 11.46 11.37 11.46 5.25 0 8.29-3.21 9.55-5.08l-3.91-2.6c-1.3 1.9-3.08 3.16-5.64 3.16m-.39-13.98c2 0 3.69 1 4.25 2.43l-10.24 4.25c-.13-4.42 3.43-6.68 5.99-6.68" fill="@{subtext1}"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
[src="https://www.gstatic.com/lamda/images/replit_dark_24px_7d0347bf84c2570074db9.svg"],
|
||||
[src="https://www.gstatic.com/lamda/images/replit_light_24px_3a2ee6003110f3c8460c9.svg"] {
|
||||
@svg: escape(
|
||||
'<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M12.334 8.669H5.252A1.25 1.25 0 0 1 4 7.417V3.252C4 2.559 4.56 2 5.252 2h5.83c.693 0 1.252.56 1.252 1.252z" fill="@{text}"/><path d="M19.416 15.333h-7.082V8.668h7.082c.689 0 1.248.56 1.248 1.248v4.165a1.25 1.25 0 0 1-1.248 1.252M11.082 22h-5.83a1.25 1.25 0 0 1-1.248-1.247v-4.165c0-.689.56-1.248 1.248-1.248h7.082v5.417c0 .68-.56 1.243-1.252 1.243" fill="@{text}"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#rgbify(@color) {
|
||||
@rgb: red(@color), green(@color), blue(@color);
|
||||
}
|
||||
|
||||
/* deno-fmt-ignore */
|
||||
@catppuccin: {
|
||||
@latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
|
||||
@frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
|
||||
@macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
|
||||
@mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
|
||||
};
|
||||
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
@@ -1,9 +1,9 @@
|
||||
/* ==UserStyle==
|
||||
@name Grabify Catppuccin
|
||||
@name Grabify Catppuccin [STUB | UPDATE REQUIRED]
|
||||
@namespace github.com/catppuccin/userstyles/styles/grabify
|
||||
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/grabify
|
||||
@version 2024.12.28
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/grabify/catppuccin.user.css
|
||||
@version 2024.12.29
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/grabify/catppuccin.user.less
|
||||
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Agrabify
|
||||
@description Soothing pastel theme for Grabify
|
||||
@author Catppuccin
|
||||
@@ -13,560 +13,4 @@
|
||||
@var select lightFlavor "Light Flavor" ["latte:Latte*", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha"]
|
||||
@var select darkFlavor "Dark Flavor" ["latte:Latte", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha*"]
|
||||
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
|
||||
==/UserStyle== */
|
||||
|
||||
@-moz-document domain('grabify.link') {
|
||||
@media (prefers-color-scheme: light) {
|
||||
:root {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
|
||||
#catppuccin(@lookup, @accent) {
|
||||
@rosewater: @catppuccin[@@lookup][@rosewater];
|
||||
@flamingo: @catppuccin[@@lookup][@flamingo];
|
||||
@pink: @catppuccin[@@lookup][@pink];
|
||||
@mauve: @catppuccin[@@lookup][@mauve];
|
||||
@red: @catppuccin[@@lookup][@red];
|
||||
@maroon: @catppuccin[@@lookup][@maroon];
|
||||
@peach: @catppuccin[@@lookup][@peach];
|
||||
@yellow: @catppuccin[@@lookup][@yellow];
|
||||
@green: @catppuccin[@@lookup][@green];
|
||||
@teal: @catppuccin[@@lookup][@teal];
|
||||
@sky: @catppuccin[@@lookup][@sky];
|
||||
@sapphire: @catppuccin[@@lookup][@sapphire];
|
||||
@blue: @catppuccin[@@lookup][@blue];
|
||||
@lavender: @catppuccin[@@lookup][@lavender];
|
||||
@text: @catppuccin[@@lookup][@text];
|
||||
@subtext1: @catppuccin[@@lookup][@subtext1];
|
||||
@subtext0: @catppuccin[@@lookup][@subtext0];
|
||||
@overlay2: @catppuccin[@@lookup][@overlay2];
|
||||
@overlay1: @catppuccin[@@lookup][@overlay1];
|
||||
@overlay0: @catppuccin[@@lookup][@overlay0];
|
||||
@surface2: @catppuccin[@@lookup][@surface2];
|
||||
@surface1: @catppuccin[@@lookup][@surface1];
|
||||
@surface0: @catppuccin[@@lookup][@surface0];
|
||||
@base: @catppuccin[@@lookup][@base];
|
||||
@mantle: @catppuccin[@@lookup][@mantle];
|
||||
@crust: @catppuccin[@@lookup][@crust];
|
||||
@accent-color: @catppuccin[@@lookup][@@accent];
|
||||
|
||||
color-scheme: if(@lookup = latte, light, dark);
|
||||
|
||||
::selection {
|
||||
background-color: fade(@accent-color, 30%);
|
||||
}
|
||||
|
||||
input,
|
||||
textarea {
|
||||
&::placeholder {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
background-color: @base;
|
||||
|
||||
a {
|
||||
color: @accent-color;
|
||||
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: darken(@accent-color, 5%);
|
||||
}
|
||||
|
||||
&[style*="color: "] {
|
||||
color: @accent-color !important;
|
||||
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: darken(@accent-color, 5%) !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
hr,
|
||||
.light-shaded {
|
||||
background-color: @surface0;
|
||||
}
|
||||
|
||||
body,
|
||||
strong,
|
||||
article :is(h1, h2, li),
|
||||
.content :is(h1, h2, h3),
|
||||
.label,
|
||||
.radio:hover,
|
||||
.checkbox:hover,
|
||||
.title,
|
||||
.subtitle,
|
||||
.pw-post-title,
|
||||
.pw-post-body-paragraph {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
// Live support box
|
||||
#wrapper ~ div:has(iframe[style*="color-scheme:light"]) {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.has-text-white {
|
||||
color: @text !important;
|
||||
}
|
||||
|
||||
.has-text-white-ter {
|
||||
color: @subtext1 !important;
|
||||
}
|
||||
|
||||
.has-text-grey,
|
||||
.is-author-metadata,
|
||||
figcaption,
|
||||
article blockquote p {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
|
||||
.navbar {
|
||||
background-color: @crust;
|
||||
border-color: @surface0;
|
||||
}
|
||||
|
||||
.navbar-item,
|
||||
.navbar-link {
|
||||
color: @text;
|
||||
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: @accent-color !important;
|
||||
}
|
||||
}
|
||||
|
||||
.navbar-link:not(.is-arrowless)::after {
|
||||
border-color: @accent-color;
|
||||
}
|
||||
|
||||
.navbar-dropdown {
|
||||
background-color: @crust;
|
||||
color: @text;
|
||||
border-top-color: @surface0;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.has-gradient-bg.to-bottom-left {
|
||||
background: @mantle;
|
||||
}
|
||||
|
||||
.landing-hero {
|
||||
background: @mantle;
|
||||
}
|
||||
|
||||
polygon[fill="white"] {
|
||||
fill: @base !important;
|
||||
}
|
||||
|
||||
[style*="color: red"],
|
||||
[style*="color: rgb(224, 36, 36);"],
|
||||
[style*="color: rgb(224, 185, 36);"],
|
||||
[style="color: rgb(33, 150, 243);"] {
|
||||
color: @accent-color !important;
|
||||
}
|
||||
|
||||
[style="color: rgb(44, 62, 80);"],
|
||||
[style="font-style: italic; color: rgb(0, 0, 0);"] {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
|
||||
[style="color: rgb(41, 182, 246);"] {
|
||||
color: @blue !important;
|
||||
}
|
||||
|
||||
[style="color: rgb(0, 150, 136);"] {
|
||||
color: @teal !important;
|
||||
}
|
||||
|
||||
[style="color: rgb(139, 195, 74);"] {
|
||||
color: @green !important;
|
||||
}
|
||||
|
||||
.how-it-works-box {
|
||||
background-color: @mantle;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
[data-tooltip] {
|
||||
&.has-tooltip-arrow {
|
||||
&.has-tooltip-right::after {
|
||||
border-right-color: @surface0;
|
||||
}
|
||||
|
||||
&.has-tooltip-bottom::after {
|
||||
border-bottom-color: @surface0;
|
||||
}
|
||||
|
||||
&.has-tooltip-left::after {
|
||||
border-left-color: @surface0;
|
||||
}
|
||||
|
||||
&.has-tooltip-top::after {
|
||||
border-top-color: @surface0;
|
||||
}
|
||||
}
|
||||
|
||||
&::before {
|
||||
background-color: @surface0;
|
||||
color: @text;
|
||||
}
|
||||
}
|
||||
|
||||
[aria-label="Share Post"] path {
|
||||
fill: @text;
|
||||
}
|
||||
|
||||
.dropdown-content {
|
||||
background-color: @mantle;
|
||||
|
||||
a.dropdown-item {
|
||||
color: @text !important;
|
||||
|
||||
&:hover {
|
||||
background-color: @crust;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.footer {
|
||||
background-color: @mantle !important;
|
||||
color: @text;
|
||||
|
||||
.footer-separator {
|
||||
background-color: @surface0;
|
||||
}
|
||||
}
|
||||
|
||||
.switch[type="checkbox"] {
|
||||
+ label {
|
||||
&::before {
|
||||
background-color: @surface0;
|
||||
}
|
||||
|
||||
&::after {
|
||||
background-color: @text;
|
||||
}
|
||||
}
|
||||
|
||||
&:checked + label {
|
||||
&::before {
|
||||
background-color: @accent-color;
|
||||
}
|
||||
|
||||
&::after {
|
||||
background-color: @base;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.message.is-primary {
|
||||
background: transparent;
|
||||
|
||||
.message-header {
|
||||
background-color: @mantle;
|
||||
color: @text;
|
||||
}
|
||||
|
||||
.message-body {
|
||||
background-color: @surface0;
|
||||
color: @text;
|
||||
}
|
||||
}
|
||||
|
||||
.button {
|
||||
&:not(.is-ghost),
|
||||
&.is-light {
|
||||
border-color: @surface0;
|
||||
background-color: @mantle;
|
||||
|
||||
&,
|
||||
strong {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
&:hover,
|
||||
&.is-hovered {
|
||||
background-color: @crust;
|
||||
}
|
||||
}
|
||||
|
||||
&.is-primary,
|
||||
&.is-info,
|
||||
&.is-link {
|
||||
background-color: @accent-color;
|
||||
|
||||
&,
|
||||
strong {
|
||||
color: @crust;
|
||||
}
|
||||
|
||||
&:hover,
|
||||
&.is-hovered {
|
||||
background-color: darken(@accent-color, 5%);
|
||||
}
|
||||
}
|
||||
|
||||
&.is-info.is-outlined {
|
||||
border-color: @accent-color;
|
||||
background: transparent;
|
||||
|
||||
&,
|
||||
strong {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
&:hover,
|
||||
&.is-hovered {
|
||||
color: @accent-color;
|
||||
}
|
||||
}
|
||||
|
||||
&.is-danger {
|
||||
background-color: @red;
|
||||
|
||||
&,
|
||||
strong {
|
||||
color: @crust;
|
||||
}
|
||||
|
||||
&:hover,
|
||||
&.is-hovered {
|
||||
background-color: darken(@red, 5%);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.input {
|
||||
background-color: @mantle;
|
||||
box-shadow: none;
|
||||
border-color: @surface0;
|
||||
color: @text;
|
||||
}
|
||||
|
||||
.card {
|
||||
background-color: @mantle;
|
||||
color: @text;
|
||||
border-color: @surface0;
|
||||
|
||||
.card__description,
|
||||
.card__title,
|
||||
.card__website {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
.card__image {
|
||||
border-bottom-color: @surface0;
|
||||
}
|
||||
}
|
||||
|
||||
.box {
|
||||
box-shadow: none;
|
||||
color: @text;
|
||||
background-color: @mantle !important;
|
||||
border-color: @surface0 !important;
|
||||
}
|
||||
|
||||
.table {
|
||||
background-color: @mantle;
|
||||
|
||||
&.is-hoverable tbody tr:hover,
|
||||
&.is-striped tbody tr:nth-child(2n) {
|
||||
background-color: @crust !important;
|
||||
}
|
||||
|
||||
.sortable th[data-sorted] {
|
||||
&:hover {
|
||||
background-color: @crust;
|
||||
color: @text;
|
||||
}
|
||||
|
||||
&::after {
|
||||
color: @text;
|
||||
}
|
||||
}
|
||||
|
||||
th,
|
||||
td {
|
||||
border-color: @surface0;
|
||||
color: @text;
|
||||
|
||||
&[style*="color:"] {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.log-table {
|
||||
:is(.is-table-date, .is-table-ip, .is-table-country) div:nth-child(2),
|
||||
.is-table-referrer .is-no-referrer {
|
||||
color: @subtext0;
|
||||
}
|
||||
}
|
||||
|
||||
.notification {
|
||||
&.is-success {
|
||||
background-color: @green;
|
||||
}
|
||||
|
||||
&.is-warning {
|
||||
background-color: @yellow;
|
||||
}
|
||||
|
||||
&.is-danger {
|
||||
background-color: @red;
|
||||
}
|
||||
|
||||
&,
|
||||
strong {
|
||||
color: @crust;
|
||||
}
|
||||
}
|
||||
|
||||
#ab {
|
||||
// Ad block detection modal
|
||||
.css1.css2,
|
||||
.ab_footer {
|
||||
background-color: @base !important;
|
||||
box-shadow: 0 2px 12px 0 fade(@crust, 20%);
|
||||
}
|
||||
|
||||
[style*="color: rgb(44, 62, 80)"] {
|
||||
color: @text !important;
|
||||
}
|
||||
}
|
||||
|
||||
#ab,
|
||||
.modal-background {
|
||||
background-color: fade(@crust, 65%) !important;
|
||||
}
|
||||
|
||||
.modal-card-head,
|
||||
.modal-card-body,
|
||||
.modal-card-foot {
|
||||
background-color: @base;
|
||||
border-color: @surface0;
|
||||
}
|
||||
|
||||
.modal-card-title {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
.delete {
|
||||
&::before,
|
||||
&::after {
|
||||
background-color: @text;
|
||||
}
|
||||
}
|
||||
|
||||
#root .app {
|
||||
// Ad block disable instructions
|
||||
[style="color: rgb(0, 0, 0);"] {
|
||||
color: @text !important;
|
||||
}
|
||||
|
||||
.btn {
|
||||
background-color: @accent-color;
|
||||
|
||||
&[style="background-color: rgb(23, 188, 156);"] {
|
||||
background-color: @accent-color !important;
|
||||
}
|
||||
|
||||
[style="color: rgb(255, 255, 255);"] {
|
||||
color: @mantle !important;
|
||||
}
|
||||
|
||||
&.btn-outline {
|
||||
background: @crust;
|
||||
box-shadow: inset 0 0 0 1px @surface0; // the outline property exists for a reason...
|
||||
}
|
||||
}
|
||||
|
||||
.blockers {
|
||||
.blocker.selected,
|
||||
.blocker:hover {
|
||||
background-color: @mantle;
|
||||
}
|
||||
|
||||
.arrow-icon path {
|
||||
fill: @text !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.select {
|
||||
&:not(.is-multiple, .is-loading)::after {
|
||||
border-color: @text;
|
||||
}
|
||||
|
||||
select {
|
||||
background-color: @mantle;
|
||||
border-color: @surface0;
|
||||
color: @text;
|
||||
|
||||
&:focus {
|
||||
box-shadow: 0 0 0 0.125em @surface0; // once again, just use outline
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
img[src$="images/grabify.svg"] {
|
||||
@svg: escape(
|
||||
'<svg viewBox="0 0 610 132" xmlns="http://www.w3.org/2000/svg"><path d="M65.92 131.88c-9.22 0-17.96-1.69-25.97-5.02-8-3.32-15.06-8.01-20.99-13.94S8.33 99.91 5.01 91.88C1.69 83.86 0 75.12 0 65.91c0-9.24 1.59-17.96 4.74-25.9 3.24-8.18 7.96-15.37 14.06-21.37C24.86 12.67 32.2 8 40.6 4.75 48.77 1.6 57.85 0 67.59 0c5 0 9.81.43 14.32 1.27 4.49.84 8.74 2.03 12.65 3.53.81.31 1.6.63 2.38.97V1.02h48.56c8.45 0 15.98.95 22.38 2.81 7.12 2.08 13.22 5.18 18.13 9.21 5.36 4.41 9.35 9.79 11.86 15.98 2.24 5.54 3.38 11.55 3.38 17.85 0 2.37-.16 4.71-.49 7l20.46-52.85h47.02l13.37 34.53V1.02h52.54c8.11 0 15.02.78 21.14 2.4 4.46 1.18 8.51 2.76 12.1 4.72V1.02h138.57c7.52 0 12.68 2.82 15.69 5.19 3.22 2.54 5.8 5.73 7.68 9.49l2.29 4.71 2.1-4.37c.87-1.84 1.99-3.62 3.33-5.28 1.33-1.64 2.85-3.13 4.51-4.43a25.5 25.5 0 0 1 6.78-3.76c2.78-1.03 5.74-1.55 8.78-1.55h50.81l-47.38 81.03v48.8h-57.89v-48.8l-9.46-16.18V94.4h-32.01v36.45h-93.8v-7.27c-2.97 1.67-6.2 3.08-9.66 4.22-6.17 2.03-13.11 3.06-20.62 3.06h-61.84c-5.75 0-10.87-1.59-15.22-4.72-4.26-3.06-7.4-7.27-9.08-12.18l-1.39-4.12h-9.68l-1.47 4.33c-1.6 4.49-4.45 8.34-8.45 11.45-4.43 3.43-9.84 5.24-15.65 5.24h-42.34c-6.57 0-12.48-2.02-17.14-5.73v5.73H96.96v-4.01c-1.98.76-4.03 1.43-6.11 2-3.81 1.06-7.89 1.84-12.13 2.34-4 .45-8.31.69-12.8.69" fill="@{surface0}"/><path d="M47.5 44.24c2.29-2.61 5.07-4.64 8.32-6.07 3.26-1.44 6.92-2.15 10.99-2.15 2.19 0 4.16.11 5.91.32 1.76.21 3.43.56 5.01 1.03s3.14 1.08 4.66 1.83 3.14 1.64 4.85 2.67q2.055 1.29 3.99 1.29c.99 0 1.9-.26 2.73-.77s1.55-1.22 2.15-2.12l6.3-9.58c-1.89-1.8-4.03-3.47-6.43-5.01s-5.05-2.87-7.94-3.99q-4.335-1.665-9.48-2.64c-3.43-.64-7.09-.96-10.99-.96-7.54 0-14.37 1.18-20.47 3.54-6.11 2.36-11.31 5.66-15.62 9.9s-7.62 9.29-9.93 15.14-3.47 12.27-3.47 19.25c0 6.86 1.21 13.21 3.63 19.06s5.76 10.91 10.03 15.17c4.26 4.26 9.31 7.61 15.14 10.03s12.17 3.63 19.03 3.63c3.81 0 7.38-.19 10.7-.58s6.45-.99 9.39-1.8 5.7-1.85 8.29-3.12c2.59-1.26 5.09-2.77 7.49-4.53V64.25h-33.3v11.96c0 1.12.39 2.04 1.16 2.76.77.73 1.84 1.09 3.21 1.09h9.26v14.21c-2.06.86-4.24 1.54-6.56 2.06-2.31.51-4.97.77-7.97.77-3.94 0-7.58-.7-10.9-2.09s-6.19-3.42-8.61-6.07c-2.42-2.66-4.32-5.91-5.69-9.77s-2.06-8.27-2.06-13.24c0-4.5.62-8.58 1.86-12.25 1.26-3.68 3.03-6.82 5.32-9.44m186.12-25.13-36.26 93.66h16.97c1.8 0 3.32-.48 4.56-1.45 1.24-.96 2.08-2.05 2.51-3.25l5.53-16.33h35.61l5.53 16.33c.47 1.37 1.32 2.5 2.54 3.38s2.77 1.32 4.66 1.32h16.84l-36.26-93.66zm-1.67 57.85 8.61-25.52c.64-1.63 1.33-3.56 2.06-5.79s1.44-4.65 2.12-7.26q1.095 3.855 2.22 7.17c1.125 3.315 1.4 4.13 1.96 5.75l8.61 25.65zm-63.53-.7a20.6 20.6 0 0 0-4.08-2.7q4.56-1.74 8.07-4.44c3.51-2.7 4.31-3.85 5.91-6.14 1.61-2.29 2.82-4.79 3.63-7.49s1.22-5.57 1.22-8.61c0-3.99-.69-7.67-2.06-11.06s-3.57-6.32-6.59-8.81-6.92-4.42-11.7-5.82c-4.78-1.39-10.55-2.09-17.32-2.09h-30.47v93.66h21.73V78.11h5.53c1.67 0 2.97.26 3.89.77s1.72 1.37 2.41 2.57l15.56 27.19c1.59 2.74 4.2 4.11 7.84 4.11h19.67l-19.93-32.59c-.94-1.53-2.05-2.83-3.31-3.9m-7.36-22.02c-.6 1.78-1.56 3.33-2.89 4.66s-3.03 2.37-5.11 3.12-4.6 1.13-7.55 1.13h-8.74V35.37h8.73c5.61 0 9.76 1.16 12.44 3.47s4.02 5.53 4.02 9.64q0 3.09-.9 5.76M354.09 64.3q4.245-1.545 7.26-3.63c3.015-2.085 3.66-2.95 4.95-4.66s2.23-3.55 2.83-5.5.9-3.97.9-6.08c0-3.86-.65-7.35-1.96-10.48s-3.4-5.79-6.27-7.97c-2.87-2.19-6.58-3.88-11.12-5.08s-10.05-1.8-16.52-1.8H299.7v93.66h37.41c5.61 0 10.61-.72 14.98-2.15 4.37-1.44 8.05-3.43 11.02-5.98q4.47-3.825 6.78-8.97c2.31-5.145 2.31-7.14 2.31-11.12 0-5.27-1.48-9.59-4.44-12.95-2.94-3.36-7.5-5.79-13.67-7.29m-32.66-28.93h12.73c2.44 0 4.55.19 6.33.58s3.25 1.03 4.4 1.93c1.16.9 2.01 2.09 2.57 3.57s.84 3.33.84 5.56c0 2.27-.35 4.16-1.06 5.66s-1.74 2.68-3.09 3.54-2.99 1.46-4.92 1.8-4.09.51-6.49.51h-11.31zm28.73 53.16c-.39 1.46-1.09 2.76-2.12 3.92s-2.45 2.1-4.28 2.83c-1.82.73-4.17 1.09-7.04 1.09h-15.3V73.04h15.17c2.74 0 5.01.26 6.81.77s3.25 1.24 4.34 2.19c1.09.94 1.86 2.1 2.31 3.47s.68 2.92.68 4.63c.01 1.5-.18 2.98-.57 4.43m71.1 24.24h21.86V76.32h32.01V59.54h-32.01V35.82h38.44V19.11h-60.3zm135.88-93.66c-.9 0-1.73.14-2.48.42s-1.41.64-1.99 1.09-1.09.95-1.54 1.51-.8 1.12-1.06 1.67l-13.11 27.26c-1.03 2.14-1.99 4.14-2.89 5.98s-1.67 3.69-2.31 5.53c-.69-1.8-1.48-3.62-2.38-5.46s-1.89-3.86-2.96-6.04l-13.24-27.26c-.69-1.37-1.59-2.5-2.7-3.38s-2.61-1.32-4.5-1.32h-19.16l33.94 58.05v35.61h21.73V77.16l33.94-58.05zm-171.66 93.66h21.86V19.11h-21.86z" fill="@{text}"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
|
||||
img[src$="images/grabify-inverted.svg"] {
|
||||
@svg: escape(
|
||||
'<svg viewBox="0 0 610 132" xmlns="http://www.w3.org/2000/svg"><path d="M65.92 131.88c-9.22 0-17.96-1.69-25.97-5.02-8-3.32-15.06-8.01-20.99-13.94S8.33 99.91 5.01 91.88C1.69 83.86 0 75.12 0 65.91c0-9.24 1.59-17.96 4.74-25.9 3.24-8.18 7.96-15.37 14.06-21.37C24.86 12.67 32.2 8 40.6 4.75 48.77 1.6 57.85 0 67.59 0c5 0 9.81.43 14.32 1.27 4.49.84 8.74 2.03 12.65 3.53.81.31 1.6.63 2.38.97V1.02h48.56c8.45 0 15.98.95 22.38 2.81 7.12 2.08 13.22 5.18 18.13 9.21 5.36 4.41 9.35 9.79 11.86 15.98 2.24 5.54 3.38 11.55 3.38 17.85 0 2.37-.16 4.71-.49 7l20.46-52.85h47.02l13.37 34.53V1.02h52.54c8.11 0 15.02.78 21.14 2.4 4.46 1.18 8.51 2.76 12.1 4.72V1.02h138.57c7.52 0 12.68 2.82 15.69 5.19 3.22 2.54 5.8 5.73 7.68 9.49l2.29 4.71 2.1-4.37c.87-1.84 1.99-3.62 3.33-5.28 1.33-1.64 2.85-3.13 4.51-4.43a25.5 25.5 0 0 1 6.78-3.76c2.78-1.03 5.74-1.55 8.78-1.55h50.81l-47.38 81.03v48.8h-57.89v-48.8l-9.46-16.18V94.4h-32.01v36.45h-93.8v-7.27c-2.97 1.67-6.2 3.08-9.66 4.22-6.17 2.03-13.11 3.06-20.62 3.06h-61.84c-5.75 0-10.87-1.59-15.22-4.72-4.26-3.06-7.4-7.27-9.08-12.18l-1.39-4.12h-9.68l-1.47 4.33c-1.6 4.49-4.45 8.34-8.45 11.45-4.43 3.43-9.84 5.24-15.65 5.24h-42.34c-6.57 0-12.48-2.02-17.14-5.73v5.73H96.96v-4.01c-1.98.76-4.03 1.43-6.11 2-3.81 1.06-7.89 1.84-12.13 2.34-4 .45-8.31.69-12.8.69" fill="@{text}"/><path d="M47.5 44.24c2.29-2.61 5.07-4.64 8.32-6.07 3.26-1.44 6.92-2.15 10.99-2.15 2.19 0 4.16.11 5.91.32 1.76.21 3.43.56 5.01 1.03s3.14 1.08 4.66 1.83 3.14 1.64 4.85 2.67q2.055 1.29 3.99 1.29c.99 0 1.9-.26 2.73-.77s1.55-1.22 2.15-2.12l6.3-9.58c-1.89-1.8-4.03-3.47-6.43-5.01s-5.05-2.87-7.94-3.99q-4.335-1.665-9.48-2.64c-3.43-.64-7.09-.96-10.99-.96-7.54 0-14.37 1.18-20.47 3.54-6.11 2.36-11.31 5.66-15.62 9.9s-7.62 9.29-9.93 15.14-3.47 12.27-3.47 19.25c0 6.86 1.21 13.21 3.63 19.06s5.76 10.91 10.03 15.17c4.26 4.26 9.31 7.61 15.14 10.03s12.17 3.63 19.03 3.63c3.81 0 7.38-.19 10.7-.58s6.45-.99 9.39-1.8 5.7-1.85 8.29-3.12c2.59-1.26 5.09-2.77 7.49-4.53V64.25h-33.3v11.96c0 1.12.39 2.04 1.16 2.76.77.73 1.84 1.09 3.21 1.09h9.26v14.21c-2.06.86-4.24 1.54-6.56 2.06-2.31.51-4.97.77-7.97.77-3.94 0-7.58-.7-10.9-2.09s-6.19-3.42-8.61-6.07c-2.42-2.66-4.32-5.91-5.69-9.77s-2.06-8.27-2.06-13.24c0-4.5.62-8.58 1.86-12.25 1.26-3.68 3.03-6.82 5.32-9.44m186.12-25.13-36.26 93.66h16.97c1.8 0 3.32-.48 4.56-1.45 1.24-.96 2.08-2.05 2.51-3.25l5.53-16.33h35.61l5.53 16.33c.47 1.37 1.32 2.5 2.54 3.38s2.77 1.32 4.66 1.32h16.84l-36.26-93.66zm-1.67 57.85 8.61-25.52c.64-1.63 1.33-3.56 2.06-5.79s1.44-4.65 2.12-7.26q1.095 3.855 2.22 7.17c1.125 3.315 1.4 4.13 1.96 5.75l8.61 25.65zm-63.53-.7a20.6 20.6 0 0 0-4.08-2.7q4.56-1.74 8.07-4.44c3.51-2.7 4.31-3.85 5.91-6.14 1.61-2.29 2.82-4.79 3.63-7.49s1.22-5.57 1.22-8.61c0-3.99-.69-7.67-2.06-11.06s-3.57-6.32-6.59-8.81-6.92-4.42-11.7-5.82c-4.78-1.39-10.55-2.09-17.32-2.09h-30.47v93.66h21.73V78.11h5.53c1.67 0 2.97.26 3.89.77s1.72 1.37 2.41 2.57l15.56 27.19c1.59 2.74 4.2 4.11 7.84 4.11h19.67l-19.93-32.59c-.94-1.53-2.05-2.83-3.31-3.9m-7.36-22.02c-.6 1.78-1.56 3.33-2.89 4.66s-3.03 2.37-5.11 3.12-4.6 1.13-7.55 1.13h-8.74V35.37h8.73c5.61 0 9.76 1.16 12.44 3.47s4.02 5.53 4.02 9.64q0 3.09-.9 5.76M354.09 64.3q4.245-1.545 7.26-3.63c3.015-2.085 3.66-2.95 4.95-4.66s2.23-3.55 2.83-5.5.9-3.97.9-6.08c0-3.86-.65-7.35-1.96-10.48s-3.4-5.79-6.27-7.97c-2.87-2.19-6.58-3.88-11.12-5.08s-10.05-1.8-16.52-1.8H299.7v93.66h37.41c5.61 0 10.61-.72 14.98-2.15 4.37-1.44 8.05-3.43 11.02-5.98q4.47-3.825 6.78-8.97c2.31-5.145 2.31-7.14 2.31-11.12 0-5.27-1.48-9.59-4.44-12.95-2.94-3.36-7.5-5.79-13.67-7.29m-32.66-28.93h12.73c2.44 0 4.55.19 6.33.58s3.25 1.03 4.4 1.93c1.16.9 2.01 2.09 2.57 3.57s.84 3.33.84 5.56c0 2.27-.35 4.16-1.06 5.66s-1.74 2.68-3.09 3.54-2.99 1.46-4.92 1.8-4.09.51-6.49.51h-11.31zm28.73 53.16c-.39 1.46-1.09 2.76-2.12 3.92s-2.45 2.1-4.28 2.83c-1.82.73-4.17 1.09-7.04 1.09h-15.3V73.04h15.17c2.74 0 5.01.26 6.81.77s3.25 1.24 4.34 2.19c1.09.94 1.86 2.1 2.31 3.47s.68 2.92.68 4.63c.01 1.5-.18 2.98-.57 4.43m71.1 24.24h21.86V76.32h32.01V59.54h-32.01V35.82h38.44V19.11h-60.3zm135.88-93.66c-.9 0-1.73.14-2.48.42s-1.41.64-1.99 1.09-1.09.95-1.54 1.51-.8 1.12-1.06 1.67l-13.11 27.26c-1.03 2.14-1.99 4.14-2.89 5.98s-1.67 3.69-2.31 5.53c-.69-1.8-1.48-3.62-2.38-5.46s-1.89-3.86-2.96-6.04l-13.24-27.26c-.69-1.37-1.59-2.5-2.7-3.38s-2.61-1.32-4.5-1.32h-19.16l33.94 58.05v35.61h21.73V77.16l33.94-58.05zm-171.66 93.66h21.86V19.11h-21.86z" fill="@{surface0}"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
|
||||
img[src$="images/homepage/2.svg"] {
|
||||
@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>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
|
||||
img[src$="images/homepage/4.svg"] {
|
||||
@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>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
|
||||
img[src$="images/homepage/5.svg"] {
|
||||
@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>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
|
||||
.is-world-background {
|
||||
@svg: escape(
|
||||
'<svg viewBox="0 0 950 620" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" fill="@{base}"><path d="m781.68 324.4-2.31 8.68-12.53 4.23-3.75-4.4-1.82.5 3.4 13.12 5.09.57 6.79 2.57v2.57l3.11-.57 4.53-6.27v-5.13l2.55-5.13 2.83.57-3.4-7.13-.52-4.59zm71.08 23.89-.37 24.44 3.52-.19 4.63-5.41 3.89.19 2.5 2.24.83 6.9 7.96 4.2 2.04-.75v-2.52l-6.39-5.32-3.15-7.28 2.5-1.21-1.85-4.01-3.7-.09-.93-4.29-9.81-6.62zM137.49 225.43l4.83 15.21-2.25 1.26.25 3.02 4.25 3.27v6.05l5.25 5.04-2.25-14.86-3-9.83.75-6.8 2.5.25 1 2.27-1 5.79 13 25.44v9.07l10.5 12.34 11.5 5.29 4.75-2.77 6.75 5.54 4-4.03-1.75-4.54 5.75-1.76 1.75 1.01 1.75-1.76h2.75l5-8.82-2.5-2.27-9.75 2.27-2.25 6.55-5.75 1.01-6.75-2.77-3-9.57 2.27-12.07-4.64-2.89-2.21-11.59-1.85-.79-3.38 3.43-3.88-2.07-1.52-7.73-15.37-1.61-7.94-5.97zm380.28-81.77-5.6-.2-3.55 2.17-.05 1.61 2.3 2.17 7.15 1.21zm-43.89 83.83-4.08-1.37-16.98 3.19-3.7 2.81 2.26 11.67-6.75.27-4.06 6.53-9.67 2.32.03 4.75 31.85 24.35 5.43.46 18.11-14.15-1.81-2.28-3.4-.46-2.04-3.42v-14.15l-1.36-1.37.23-3.65-3.62-3.65-.45-3.88 1.58-1.14-.68-4.11z"/><path d="M448.29 232.28h-11.55l-2.26 5.02-5.21 2.51-4.3 11.64-8.38 5.02-11.77 19.39 11.55-.23.45-5.7h2.94v-7.76h10.19l.23-10.04 9.74-2.28 4.08-6.62 6.34-.23z"/><path d="m404.9 276.66 2.18 2.85-.45 12.32 3.17-2.28 2.26-.46 3.17 1.14 3.62 5.02 3.4-2.28 16.53-.23-4.08-27.61 4.38-.02-8.16-6.25.01 4.06-10.33.01-.05 7.75-2.97-.01-.38 5.72z"/><path d="m410.12 290.32-3.94 2.86-.9 1.6-.28 1.6 1.45 1.04 4.84-.07 3.11-.84.35 1.53-.28 2.02 2.97 1.46.62.7 3.94.14.14-1.74-3.6-4.32-4.01-5.43-2.49-1.04z"/><path d="m406.89 298.34-.13 1.11 6.92-.1.35-1.03-.15-1.04-1.99.81zm-.1 1.88 1.24 3.01.69-1.86 8.41.88-3.64-1.87z"/><path d="m408.6 304.53 1.4 2.77 3.93-3.38.04-1.04-4.63-.67z"/><path d="m410.42 307.94 3.04 4.68 3.96-3.44 4.06-.18 3.38 4.49 2.87 1.89 1.08-2.1.96-.54-.07-4.62-1.91-5.48-5.86.65-7.25-.58-.04 1.86z"/><path d="m413.93 313.13 5.65 5.46 4.03-4.89-2.52-3.95-3.47.35zm6.24 6.06 10.98 7.34-.26-5.56-3.32-3.91-3.24-2.87z"/><path d="m432.07 326.75 4.28-3.03 5.32-.93 5.43 1.17-2.77-4.19-.81-2.56.81-7.57-4.85.23-2.2-2.1-4.62.12-2.2.35.23 5.12-1.16.47-1.39 2.56 3.58 4.19zm-12.61-30.91 3.08-2.11 17.12-.1-3.96-27.54 4.52-.13 21.87 16.69 2.94.42-1.11 9.28-13.75 1.25-10.61 7.92-1.93 5.42-7.37.31-1.88-5.41-5.65.4.22-1.77z"/><path d="m450.59 294.28 3.64-.29 5.97 8.44-5.54 4.18-4.01-1.03-5.39.07-.87 3.16-4.52.22-1.24-1.69 1.6-5.14zm10.3 7.72 2.55-.06 2.3-3.45 3.86-.69 4.11 2.51 8.77.25 6.78-2.76 2.55-2.19.19-2.88 4.73-4.77 1.25-10.53-3.11-6.52-7.96-1.94-18.42 14.36-2.61-.25-1.12 9.97-9.4.94z"/><path d="m444.34 317.05 1.12 2.63 2.92 4.58 1.62-.06 4.42-2.51-.31-14.29-3.42-1-4.79.13zm10.88 4.2 2.68-1.57-.06-10.35-1.74-2.82-1.12.94z"/><path d="M458.71 319.49h2.12l.12-6.02 2.68-3.89-.12-6.77-2.43-.06-4.17 3.26 1.74 3.32z"/><path d="m461.57 319.37 3.92.19 4.73 5.27 2.3.63 1.8-.88 2.74-.38.93-3.82 3.73-2.45 4.04-.19 7.4-13.61-.12-3.07-3.42-2.63-6.84 3.01-9.15-.13-4.36-2.76-3.11.69-1.62 2.82-.12 7.96-2.61 3.7zm13.34-92.04 5.53-2.23 1.82 1.18.07 1.44-.85 1.11.13 1.97.85.46v3.54l-.98 1.64.13 1.05 3.71 1.31-2.99 4.65-1.17-.07-.2 3.74-1.3.2-1.11-.98.26-3.8-3.64-3.54-.46-3.08 1.76-1.38z"/><path d="m480.05 248.03 1.56-.26.46-3.6h.78l3.19-5.24 7.87 2.29 2.15 3.34 7.74 3.54 4.03-1.7-.39-1.7-1.76-1.7.2-1.18 2.86-2.42h5.66l2.15 2.88 4.55.66.59 36.89-3.38-.13-20.42-10.62-2.21 1.25-8.39-2.1-2.28-3.01-3.32-.46-1.69-3.01zm41.88-4.97 2.67.07 5.2 1.44 2.47.07 3.06-2.56h1.43l2.6 1.44h3.29l.59-.04 2.08 5.98.59 1.93.55 2.89-.98.72-1.69-.85-1.95-6.36-1.76-.13-.13 2.16 1.17 3.74 9.37 11.6.2 4.98-2.73 3.15-25.64-.29z"/><path d="m492.79 296 .13-2.95 4.74-4.61 1.27-11.32-3.16-6.04 2.21-1.13 21.4 11.15-.13 10.94-3.77 3.21v5.64l2.47 4.78h-4.36l-7.22 7.14-.19 2.16-5.33-.07-.07.98-3.04-.4-2.08-3.93-1.56-.77.2-1.2 1.96-1.5v-7.02l-2.71-.42-3.27-2.43zm56.29 14.34-2.943-4.943-.309-3.596-.707.135-.191 1.107-3.858 5.635-3.078-1.469-3.07 2.572-6.352-.365-2.81-2.246-4.034 2.065-.152 1.375-1.23.74 12.32 12.68 6.71.38.979 1.49 9.602.17.078-2.15.82-1.49 3.201-.41-3.99-5.79h-2.94l-.75-4.11 2.36-1.04z"/><path d="m552 270.61-3.69 3.72-25.8-.23.279 6.57-2.46-.07-.179 11.83-3.73 3.211-.15 4.94 2.69 5.31 2.95 1.74-.045.414 4.02-2.058 3.066 2.449 5.639.324 3.257-2.728 2.887 1.375 3.25-4.748.274-1.576 2.476-.471.385 4.47 2.476 4.16 6.004-12.911v-7.85l4.362-5.14zm-74.18 53.67 3.22 2.96-.23 4.58 17.66-.41 1.44-1.62-5.06-5.45-.75-1.97 3.22-6.03-2.19-4-1.84-.99v-2.03l2.13-1.39.12-6.32-1.69-.19-.03 3.32-7.42 13.85-4.54.23-3.11 2.14z"/><path d="m556.71 294.7-.25-5.89 3.96-4.62 1.07.82 1.95 6.52 9.36 6.97-1.7 2.09-6.85-5.89zm14.77 6.84-.57 3.36 3.96-.06.06-4.94-1.45-.89z"/><path d="m549.49 311.76 7.28-16.2 7.23.04 6.41 5.57-.45 4.59h4.97l.51 2.76 8.04 4.81 4.96.25-9.43 10.13-12.95 3.99h-3.21l-5.72-4.88-2.26-.95-4.38-6.45-2.89.04-.34-2.96z"/><path d="m575.74 305.04 4.08 2.78 1.21-.06 10.13-3.48 1.15 3.71-.81 3.13-2.19 1.74-5.47-.35-7.83-4.81zm23.88-5.39 2.13 2.38 2.88-1.74 1.04-.35-1.32-1.28-2.53.75z"/><path d="m591.97 304.05 4.37-1.68 1.5Line truncated
|
||||
);
|
||||
background-image: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* prettier-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; };
|
||||
}
|
||||
|
||||
// vim:ft=less
|
||||
==/UserStyle== */
|
||||
@@ -0,0 +1,571 @@
|
||||
/* ==UserStyle==
|
||||
@name Grabify Catppuccin
|
||||
@namespace github.com/catppuccin/userstyles/styles/grabify
|
||||
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/grabify
|
||||
@version 2024.12.29.1
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/grabify/catppuccin.user.less
|
||||
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Agrabify
|
||||
@description Soothing pastel theme for Grabify
|
||||
@author Catppuccin
|
||||
@license MIT
|
||||
|
||||
@preprocessor less
|
||||
@var select lightFlavor "Light Flavor" ["latte:Latte*", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha"]
|
||||
@var select darkFlavor "Dark Flavor" ["latte:Latte", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha*"]
|
||||
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
|
||||
==/UserStyle== */
|
||||
|
||||
@-moz-document domain("grabify.link") {
|
||||
@media (prefers-color-scheme: light) {
|
||||
:root {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
|
||||
#catppuccin(@lookup, @accent) {
|
||||
@rosewater: @catppuccin[@@lookup][@rosewater];
|
||||
@flamingo: @catppuccin[@@lookup][@flamingo];
|
||||
@pink: @catppuccin[@@lookup][@pink];
|
||||
@mauve: @catppuccin[@@lookup][@mauve];
|
||||
@red: @catppuccin[@@lookup][@red];
|
||||
@maroon: @catppuccin[@@lookup][@maroon];
|
||||
@peach: @catppuccin[@@lookup][@peach];
|
||||
@yellow: @catppuccin[@@lookup][@yellow];
|
||||
@green: @catppuccin[@@lookup][@green];
|
||||
@teal: @catppuccin[@@lookup][@teal];
|
||||
@sky: @catppuccin[@@lookup][@sky];
|
||||
@sapphire: @catppuccin[@@lookup][@sapphire];
|
||||
@blue: @catppuccin[@@lookup][@blue];
|
||||
@lavender: @catppuccin[@@lookup][@lavender];
|
||||
@text: @catppuccin[@@lookup][@text];
|
||||
@subtext1: @catppuccin[@@lookup][@subtext1];
|
||||
@subtext0: @catppuccin[@@lookup][@subtext0];
|
||||
@overlay2: @catppuccin[@@lookup][@overlay2];
|
||||
@overlay1: @catppuccin[@@lookup][@overlay1];
|
||||
@overlay0: @catppuccin[@@lookup][@overlay0];
|
||||
@surface2: @catppuccin[@@lookup][@surface2];
|
||||
@surface1: @catppuccin[@@lookup][@surface1];
|
||||
@surface0: @catppuccin[@@lookup][@surface0];
|
||||
@base: @catppuccin[@@lookup][@base];
|
||||
@mantle: @catppuccin[@@lookup][@mantle];
|
||||
@crust: @catppuccin[@@lookup][@crust];
|
||||
@accent-color: @catppuccin[@@lookup][@@accent];
|
||||
|
||||
color-scheme: if(@lookup = latte, light, dark);
|
||||
|
||||
::selection {
|
||||
background-color: fade(@accent-color, 30%);
|
||||
}
|
||||
|
||||
input,
|
||||
textarea {
|
||||
&::placeholder {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
background-color: @base;
|
||||
|
||||
a {
|
||||
color: @accent-color;
|
||||
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: darken(@accent-color, 5%);
|
||||
}
|
||||
|
||||
&[style*="color: "] {
|
||||
color: @accent-color !important;
|
||||
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: darken(@accent-color, 5%) !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
hr,
|
||||
.light-shaded {
|
||||
background-color: @surface0;
|
||||
}
|
||||
|
||||
body,
|
||||
strong,
|
||||
article :is(h1, h2, li),
|
||||
.content :is(h1, h2, h3),
|
||||
.label,
|
||||
.radio:hover,
|
||||
.checkbox:hover,
|
||||
.title,
|
||||
.subtitle,
|
||||
.pw-post-title,
|
||||
.pw-post-body-paragraph {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
// Live support box
|
||||
#wrapper ~ div:has(iframe[style*="color-scheme:light"]) {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.has-text-white {
|
||||
color: @text !important;
|
||||
}
|
||||
|
||||
.has-text-white-ter {
|
||||
color: @subtext1 !important;
|
||||
}
|
||||
|
||||
.has-text-grey,
|
||||
.is-author-metadata,
|
||||
figcaption,
|
||||
article blockquote p {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
|
||||
.navbar {
|
||||
background-color: @crust;
|
||||
border-color: @surface0;
|
||||
}
|
||||
|
||||
.navbar-item,
|
||||
.navbar-link {
|
||||
color: @text;
|
||||
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: @accent-color !important;
|
||||
}
|
||||
}
|
||||
|
||||
.navbar-link:not(.is-arrowless)::after {
|
||||
border-color: @accent-color;
|
||||
}
|
||||
|
||||
.navbar-dropdown {
|
||||
background-color: @crust;
|
||||
color: @text;
|
||||
border-top-color: @surface0;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.has-gradient-bg.to-bottom-left {
|
||||
background: @mantle;
|
||||
}
|
||||
|
||||
.landing-hero {
|
||||
background: @mantle;
|
||||
}
|
||||
|
||||
polygon[fill="white"] {
|
||||
fill: @base !important;
|
||||
}
|
||||
|
||||
[style*="color: red"],
|
||||
[style*="color: rgb(224, 36, 36);"],
|
||||
[style*="color: rgb(224, 185, 36);"],
|
||||
[style="color: rgb(33, 150, 243);"] {
|
||||
color: @accent-color !important;
|
||||
}
|
||||
|
||||
[style="color: rgb(44, 62, 80);"],
|
||||
[style="font-style: italic; color: rgb(0, 0, 0);"] {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
|
||||
[style="color: rgb(41, 182, 246);"] {
|
||||
color: @blue !important;
|
||||
}
|
||||
|
||||
[style="color: rgb(0, 150, 136);"] {
|
||||
color: @teal !important;
|
||||
}
|
||||
|
||||
[style="color: rgb(139, 195, 74);"] {
|
||||
color: @green !important;
|
||||
}
|
||||
|
||||
.how-it-works-box {
|
||||
background-color: @mantle;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
[data-tooltip] {
|
||||
&.has-tooltip-arrow {
|
||||
&.has-tooltip-right::after {
|
||||
border-right-color: @surface0;
|
||||
}
|
||||
|
||||
&.has-tooltip-bottom::after {
|
||||
border-bottom-color: @surface0;
|
||||
}
|
||||
|
||||
&.has-tooltip-left::after {
|
||||
border-left-color: @surface0;
|
||||
}
|
||||
|
||||
&.has-tooltip-top::after {
|
||||
border-top-color: @surface0;
|
||||
}
|
||||
}
|
||||
|
||||
&::before {
|
||||
background-color: @surface0;
|
||||
color: @text;
|
||||
}
|
||||
}
|
||||
|
||||
[aria-label="Share Post"] path {
|
||||
fill: @text;
|
||||
}
|
||||
|
||||
.dropdown-content {
|
||||
background-color: @mantle;
|
||||
|
||||
a.dropdown-item {
|
||||
color: @text !important;
|
||||
|
||||
&:hover {
|
||||
background-color: @crust;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.footer {
|
||||
background-color: @mantle !important;
|
||||
color: @text;
|
||||
|
||||
.footer-separator {
|
||||
background-color: @surface0;
|
||||
}
|
||||
}
|
||||
|
||||
.switch[type="checkbox"] {
|
||||
+ label {
|
||||
&::before {
|
||||
background-color: @surface0;
|
||||
}
|
||||
|
||||
&::after {
|
||||
background-color: @text;
|
||||
}
|
||||
}
|
||||
|
||||
&:checked + label {
|
||||
&::before {
|
||||
background-color: @accent-color;
|
||||
}
|
||||
|
||||
&::after {
|
||||
background-color: @base;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.message.is-primary {
|
||||
background: transparent;
|
||||
|
||||
.message-header {
|
||||
background-color: @mantle;
|
||||
color: @text;
|
||||
}
|
||||
|
||||
.message-body {
|
||||
background-color: @surface0;
|
||||
color: @text;
|
||||
}
|
||||
}
|
||||
|
||||
.button {
|
||||
&:not(.is-ghost),
|
||||
&.is-light {
|
||||
border-color: @surface0;
|
||||
background-color: @mantle;
|
||||
|
||||
&,
|
||||
strong {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
&:hover,
|
||||
&.is-hovered {
|
||||
background-color: @crust;
|
||||
}
|
||||
}
|
||||
|
||||
&.is-primary,
|
||||
&.is-info,
|
||||
&.is-link {
|
||||
background-color: @accent-color;
|
||||
|
||||
&,
|
||||
strong {
|
||||
color: @crust;
|
||||
}
|
||||
|
||||
&:hover,
|
||||
&.is-hovered {
|
||||
background-color: darken(@accent-color, 5%);
|
||||
}
|
||||
}
|
||||
|
||||
&.is-info.is-outlined {
|
||||
border-color: @accent-color;
|
||||
background: transparent;
|
||||
|
||||
&,
|
||||
strong {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
&:hover,
|
||||
&.is-hovered {
|
||||
color: @accent-color;
|
||||
}
|
||||
}
|
||||
|
||||
&.is-danger {
|
||||
background-color: @red;
|
||||
|
||||
&,
|
||||
strong {
|
||||
color: @crust;
|
||||
}
|
||||
|
||||
&:hover,
|
||||
&.is-hovered {
|
||||
background-color: darken(@red, 5%);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.input {
|
||||
background-color: @mantle;
|
||||
box-shadow: none;
|
||||
border-color: @surface0;
|
||||
color: @text;
|
||||
}
|
||||
|
||||
.card {
|
||||
background-color: @mantle;
|
||||
color: @text;
|
||||
border-color: @surface0;
|
||||
|
||||
.card__description,
|
||||
.card__title,
|
||||
.card__website {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
.card__image {
|
||||
border-bottom-color: @surface0;
|
||||
}
|
||||
}
|
||||
|
||||
.box {
|
||||
box-shadow: none;
|
||||
color: @text;
|
||||
background-color: @mantle !important;
|
||||
border-color: @surface0 !important;
|
||||
}
|
||||
|
||||
.table {
|
||||
background-color: @mantle;
|
||||
|
||||
&.is-hoverable tbody tr:hover,
|
||||
&.is-striped tbody tr:nth-child(2n) {
|
||||
background-color: @crust !important;
|
||||
}
|
||||
|
||||
.sortable th[data-sorted] {
|
||||
&:hover {
|
||||
background-color: @crust;
|
||||
color: @text;
|
||||
}
|
||||
|
||||
&::after {
|
||||
color: @text;
|
||||
}
|
||||
}
|
||||
|
||||
th,
|
||||
td {
|
||||
border-color: @surface0;
|
||||
color: @text;
|
||||
|
||||
&[style*="color:"] {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.log-table {
|
||||
:is(.is-table-date, .is-table-ip, .is-table-country) div:nth-child(2),
|
||||
.is-table-referrer .is-no-referrer {
|
||||
color: @subtext0;
|
||||
}
|
||||
}
|
||||
|
||||
.notification {
|
||||
&.is-success {
|
||||
background-color: @green;
|
||||
}
|
||||
|
||||
&.is-warning {
|
||||
background-color: @yellow;
|
||||
}
|
||||
|
||||
&.is-danger {
|
||||
background-color: @red;
|
||||
}
|
||||
|
||||
&,
|
||||
strong {
|
||||
color: @crust;
|
||||
}
|
||||
}
|
||||
|
||||
#ab {
|
||||
// Ad block detection modal
|
||||
.css1.css2,
|
||||
.ab_footer {
|
||||
background-color: @base !important;
|
||||
box-shadow: 0 2px 12px 0 fade(@crust, 20%);
|
||||
}
|
||||
|
||||
[style*="color: rgb(44, 62, 80)"] {
|
||||
color: @text !important;
|
||||
}
|
||||
}
|
||||
|
||||
#ab,
|
||||
.modal-background {
|
||||
background-color: fade(@crust, 65%) !important;
|
||||
}
|
||||
|
||||
.modal-card-head,
|
||||
.modal-card-body,
|
||||
.modal-card-foot {
|
||||
background-color: @base;
|
||||
border-color: @surface0;
|
||||
}
|
||||
|
||||
.modal-card-title {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
.delete {
|
||||
&::before,
|
||||
&::after {
|
||||
background-color: @text;
|
||||
}
|
||||
}
|
||||
|
||||
#root .app {
|
||||
// Ad block disable instructions
|
||||
[style="color: rgb(0, 0, 0);"] {
|
||||
color: @text !important;
|
||||
}
|
||||
|
||||
.btn {
|
||||
background-color: @accent-color;
|
||||
|
||||
&[style="background-color: rgb(23, 188, 156);"] {
|
||||
background-color: @accent-color !important;
|
||||
}
|
||||
|
||||
[style="color: rgb(255, 255, 255);"] {
|
||||
color: @mantle !important;
|
||||
}
|
||||
|
||||
&.btn-outline {
|
||||
background: @crust;
|
||||
box-shadow: inset 0 0 0 1px
|
||||
@surface0; // the outline property exists for a reason...
|
||||
}
|
||||
}
|
||||
|
||||
.blockers {
|
||||
.blocker.selected,
|
||||
.blocker:hover {
|
||||
background-color: @mantle;
|
||||
}
|
||||
|
||||
.arrow-icon path {
|
||||
fill: @text !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.select {
|
||||
&:not(.is-multiple, .is-loading)::after {
|
||||
border-color: @text;
|
||||
}
|
||||
|
||||
select {
|
||||
background-color: @mantle;
|
||||
border-color: @surface0;
|
||||
color: @text;
|
||||
|
||||
&:focus {
|
||||
box-shadow: 0 0 0 0.125em @surface0; // once again, just use outline
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
img[src$="images/grabify.svg"] {
|
||||
@svg: escape(
|
||||
'<svg viewBox="0 0 610 132" xmlns="http://www.w3.org/2000/svg"><path d="M65.92 131.88c-9.22 0-17.96-1.69-25.97-5.02-8-3.32-15.06-8.01-20.99-13.94S8.33 99.91 5.01 91.88C1.69 83.86 0 75.12 0 65.91c0-9.24 1.59-17.96 4.74-25.9 3.24-8.18 7.96-15.37 14.06-21.37C24.86 12.67 32.2 8 40.6 4.75 48.77 1.6 57.85 0 67.59 0c5 0 9.81.43 14.32 1.27 4.49.84 8.74 2.03 12.65 3.53.81.31 1.6.63 2.38.97V1.02h48.56c8.45 0 15.98.95 22.38 2.81 7.12 2.08 13.22 5.18 18.13 9.21 5.36 4.41 9.35 9.79 11.86 15.98 2.24 5.54 3.38 11.55 3.38 17.85 0 2.37-.16 4.71-.49 7l20.46-52.85h47.02l13.37 34.53V1.02h52.54c8.11 0 15.02.78 21.14 2.4 4.46 1.18 8.51 2.76 12.1 4.72V1.02h138.57c7.52 0 12.68 2.82 15.69 5.19 3.22 2.54 5.8 5.73 7.68 9.49l2.29 4.71 2.1-4.37c.87-1.84 1.99-3.62 3.33-5.28 1.33-1.64 2.85-3.13 4.51-4.43a25.5 25.5 0 0 1 6.78-3.76c2.78-1.03 5.74-1.55 8.78-1.55h50.81l-47.38 81.03v48.8h-57.89v-48.8l-9.46-16.18V94.4h-32.01v36.45h-93.8v-7.27c-2.97 1.67-6.2 3.08-9.66 4.22-6.17 2.03-13.11 3.06-20.62 3.06h-61.84c-5.75 0-10.87-1.59-15.22-4.72-4.26-3.06-7.4-7.27-9.08-12.18l-1.39-4.12h-9.68l-1.47 4.33c-1.6 4.49-4.45 8.34-8.45 11.45-4.43 3.43-9.84 5.24-15.65 5.24h-42.34c-6.57 0-12.48-2.02-17.14-5.73v5.73H96.96v-4.01c-1.98.76-4.03 1.43-6.11 2-3.81 1.06-7.89 1.84-12.13 2.34-4 .45-8.31.69-12.8.69" fill="@{surface0}"/><path d="M47.5 44.24c2.29-2.61 5.07-4.64 8.32-6.07 3.26-1.44 6.92-2.15 10.99-2.15 2.19 0 4.16.11 5.91.32 1.76.21 3.43.56 5.01 1.03s3.14 1.08 4.66 1.83 3.14 1.64 4.85 2.67q2.055 1.29 3.99 1.29c.99 0 1.9-.26 2.73-.77s1.55-1.22 2.15-2.12l6.3-9.58c-1.89-1.8-4.03-3.47-6.43-5.01s-5.05-2.87-7.94-3.99q-4.335-1.665-9.48-2.64c-3.43-.64-7.09-.96-10.99-.96-7.54 0-14.37 1.18-20.47 3.54-6.11 2.36-11.31 5.66-15.62 9.9s-7.62 9.29-9.93 15.14-3.47 12.27-3.47 19.25c0 6.86 1.21 13.21 3.63 19.06s5.76 10.91 10.03 15.17c4.26 4.26 9.31 7.61 15.14 10.03s12.17 3.63 19.03 3.63c3.81 0 7.38-.19 10.7-.58s6.45-.99 9.39-1.8 5.7-1.85 8.29-3.12c2.59-1.26 5.09-2.77 7.49-4.53V64.25h-33.3v11.96c0 1.12.39 2.04 1.16 2.76.77.73 1.84 1.09 3.21 1.09h9.26v14.21c-2.06.86-4.24 1.54-6.56 2.06-2.31.51-4.97.77-7.97.77-3.94 0-7.58-.7-10.9-2.09s-6.19-3.42-8.61-6.07c-2.42-2.66-4.32-5.91-5.69-9.77s-2.06-8.27-2.06-13.24c0-4.5.62-8.58 1.86-12.25 1.26-3.68 3.03-6.82 5.32-9.44m186.12-25.13-36.26 93.66h16.97c1.8 0 3.32-.48 4.56-1.45 1.24-.96 2.08-2.05 2.51-3.25l5.53-16.33h35.61l5.53 16.33c.47 1.37 1.32 2.5 2.54 3.38s2.77 1.32 4.66 1.32h16.84l-36.26-93.66zm-1.67 57.85 8.61-25.52c.64-1.63 1.33-3.56 2.06-5.79s1.44-4.65 2.12-7.26q1.095 3.855 2.22 7.17c1.125 3.315 1.4 4.13 1.96 5.75l8.61 25.65zm-63.53-.7a20.6 20.6 0 0 0-4.08-2.7q4.56-1.74 8.07-4.44c3.51-2.7 4.31-3.85 5.91-6.14 1.61-2.29 2.82-4.79 3.63-7.49s1.22-5.57 1.22-8.61c0-3.99-.69-7.67-2.06-11.06s-3.57-6.32-6.59-8.81-6.92-4.42-11.7-5.82c-4.78-1.39-10.55-2.09-17.32-2.09h-30.47v93.66h21.73V78.11h5.53c1.67 0 2.97.26 3.89.77s1.72 1.37 2.41 2.57l15.56 27.19c1.59 2.74 4.2 4.11 7.84 4.11h19.67l-19.93-32.59c-.94-1.53-2.05-2.83-3.31-3.9m-7.36-22.02c-.6 1.78-1.56 3.33-2.89 4.66s-3.03 2.37-5.11 3.12-4.6 1.13-7.55 1.13h-8.74V35.37h8.73c5.61 0 9.76 1.16 12.44 3.47s4.02 5.53 4.02 9.64q0 3.09-.9 5.76M354.09 64.3q4.245-1.545 7.26-3.63c3.015-2.085 3.66-2.95 4.95-4.66s2.23-3.55 2.83-5.5.9-3.97.9-6.08c0-3.86-.65-7.35-1.96-10.48s-3.4-5.79-6.27-7.97c-2.87-2.19-6.58-3.88-11.12-5.08s-10.05-1.8-16.52-1.8H299.7v93.66h37.41c5.61 0 10.61-.72 14.98-2.15 4.37-1.44 8.05-3.43 11.02-5.98q4.47-3.825 6.78-8.97c2.31-5.145 2.31-7.14 2.31-11.12 0-5.27-1.48-9.59-4.44-12.95-2.94-3.36-7.5-5.79-13.67-7.29m-32.66-28.93h12.73c2.44 0 4.55.19 6.33.58s3.25 1.03 4.4 1.93c1.16.9 2.01 2.09 2.57 3.57s.84 3.33.84 5.56c0 2.27-.35 4.16-1.06 5.66s-1.74 2.68-3.09 3.54-2.99 1.46-4.92 1.8-4.09.51-6.49.51h-11.31zm28.73 53.16c-.39 1.46-1.09 2.76-2.12 3.92s-2.45 2.1-4.28 2.83c-1.82.73-4.17 1.09-7.04 1.09h-15.3V73.04h15.17c2.74 0 5.01.26 6.81.77s3.25 1.24 4.34 2.19c1.09.94 1.86 2.1 2.31 3.47s.68 2.92.68 4.63c.01 1.5-.18 2.98-.57 4.43m71.1 24.24h21.86V76.32h32.01V59.54h-32.01V35.82h38.44V19.11h-60.3zm135.88-93.66c-.9 0-1.73.14-2.48.42s-1.41.64-1.99 1.09-1.09.95-1.54 1.51-.8 1.12-1.06 1.67l-13.11 27.26c-1.03 2.14-1.99 4.14-2.89 5.98s-1.67 3.69-2.31 5.53c-.69-1.8-1.48-3.62-2.38-5.46s-1.89-3.86-2.96-6.04l-13.24-27.26c-.69-1.37-1.59-2.5-2.7-3.38s-2.61-1.32-4.5-1.32h-19.16l33.94 58.05v35.61h21.73V77.16l33.94-58.05zm-171.66 93.66h21.86V19.11h-21.86z" fill="@{text}"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
|
||||
img[src$="images/grabify-inverted.svg"] {
|
||||
@svg: escape(
|
||||
'<svg viewBox="0 0 610 132" xmlns="http://www.w3.org/2000/svg"><path d="M65.92 131.88c-9.22 0-17.96-1.69-25.97-5.02-8-3.32-15.06-8.01-20.99-13.94S8.33 99.91 5.01 91.88C1.69 83.86 0 75.12 0 65.91c0-9.24 1.59-17.96 4.74-25.9 3.24-8.18 7.96-15.37 14.06-21.37C24.86 12.67 32.2 8 40.6 4.75 48.77 1.6 57.85 0 67.59 0c5 0 9.81.43 14.32 1.27 4.49.84 8.74 2.03 12.65 3.53.81.31 1.6.63 2.38.97V1.02h48.56c8.45 0 15.98.95 22.38 2.81 7.12 2.08 13.22 5.18 18.13 9.21 5.36 4.41 9.35 9.79 11.86 15.98 2.24 5.54 3.38 11.55 3.38 17.85 0 2.37-.16 4.71-.49 7l20.46-52.85h47.02l13.37 34.53V1.02h52.54c8.11 0 15.02.78 21.14 2.4 4.46 1.18 8.51 2.76 12.1 4.72V1.02h138.57c7.52 0 12.68 2.82 15.69 5.19 3.22 2.54 5.8 5.73 7.68 9.49l2.29 4.71 2.1-4.37c.87-1.84 1.99-3.62 3.33-5.28 1.33-1.64 2.85-3.13 4.51-4.43a25.5 25.5 0 0 1 6.78-3.76c2.78-1.03 5.74-1.55 8.78-1.55h50.81l-47.38 81.03v48.8h-57.89v-48.8l-9.46-16.18V94.4h-32.01v36.45h-93.8v-7.27c-2.97 1.67-6.2 3.08-9.66 4.22-6.17 2.03-13.11 3.06-20.62 3.06h-61.84c-5.75 0-10.87-1.59-15.22-4.72-4.26-3.06-7.4-7.27-9.08-12.18l-1.39-4.12h-9.68l-1.47 4.33c-1.6 4.49-4.45 8.34-8.45 11.45-4.43 3.43-9.84 5.24-15.65 5.24h-42.34c-6.57 0-12.48-2.02-17.14-5.73v5.73H96.96v-4.01c-1.98.76-4.03 1.43-6.11 2-3.81 1.06-7.89 1.84-12.13 2.34-4 .45-8.31.69-12.8.69" fill="@{text}"/><path d="M47.5 44.24c2.29-2.61 5.07-4.64 8.32-6.07 3.26-1.44 6.92-2.15 10.99-2.15 2.19 0 4.16.11 5.91.32 1.76.21 3.43.56 5.01 1.03s3.14 1.08 4.66 1.83 3.14 1.64 4.85 2.67q2.055 1.29 3.99 1.29c.99 0 1.9-.26 2.73-.77s1.55-1.22 2.15-2.12l6.3-9.58c-1.89-1.8-4.03-3.47-6.43-5.01s-5.05-2.87-7.94-3.99q-4.335-1.665-9.48-2.64c-3.43-.64-7.09-.96-10.99-.96-7.54 0-14.37 1.18-20.47 3.54-6.11 2.36-11.31 5.66-15.62 9.9s-7.62 9.29-9.93 15.14-3.47 12.27-3.47 19.25c0 6.86 1.21 13.21 3.63 19.06s5.76 10.91 10.03 15.17c4.26 4.26 9.31 7.61 15.14 10.03s12.17 3.63 19.03 3.63c3.81 0 7.38-.19 10.7-.58s6.45-.99 9.39-1.8 5.7-1.85 8.29-3.12c2.59-1.26 5.09-2.77 7.49-4.53V64.25h-33.3v11.96c0 1.12.39 2.04 1.16 2.76.77.73 1.84 1.09 3.21 1.09h9.26v14.21c-2.06.86-4.24 1.54-6.56 2.06-2.31.51-4.97.77-7.97.77-3.94 0-7.58-.7-10.9-2.09s-6.19-3.42-8.61-6.07c-2.42-2.66-4.32-5.91-5.69-9.77s-2.06-8.27-2.06-13.24c0-4.5.62-8.58 1.86-12.25 1.26-3.68 3.03-6.82 5.32-9.44m186.12-25.13-36.26 93.66h16.97c1.8 0 3.32-.48 4.56-1.45 1.24-.96 2.08-2.05 2.51-3.25l5.53-16.33h35.61l5.53 16.33c.47 1.37 1.32 2.5 2.54 3.38s2.77 1.32 4.66 1.32h16.84l-36.26-93.66zm-1.67 57.85 8.61-25.52c.64-1.63 1.33-3.56 2.06-5.79s1.44-4.65 2.12-7.26q1.095 3.855 2.22 7.17c1.125 3.315 1.4 4.13 1.96 5.75l8.61 25.65zm-63.53-.7a20.6 20.6 0 0 0-4.08-2.7q4.56-1.74 8.07-4.44c3.51-2.7 4.31-3.85 5.91-6.14 1.61-2.29 2.82-4.79 3.63-7.49s1.22-5.57 1.22-8.61c0-3.99-.69-7.67-2.06-11.06s-3.57-6.32-6.59-8.81-6.92-4.42-11.7-5.82c-4.78-1.39-10.55-2.09-17.32-2.09h-30.47v93.66h21.73V78.11h5.53c1.67 0 2.97.26 3.89.77s1.72 1.37 2.41 2.57l15.56 27.19c1.59 2.74 4.2 4.11 7.84 4.11h19.67l-19.93-32.59c-.94-1.53-2.05-2.83-3.31-3.9m-7.36-22.02c-.6 1.78-1.56 3.33-2.89 4.66s-3.03 2.37-5.11 3.12-4.6 1.13-7.55 1.13h-8.74V35.37h8.73c5.61 0 9.76 1.16 12.44 3.47s4.02 5.53 4.02 9.64q0 3.09-.9 5.76M354.09 64.3q4.245-1.545 7.26-3.63c3.015-2.085 3.66-2.95 4.95-4.66s2.23-3.55 2.83-5.5.9-3.97.9-6.08c0-3.86-.65-7.35-1.96-10.48s-3.4-5.79-6.27-7.97c-2.87-2.19-6.58-3.88-11.12-5.08s-10.05-1.8-16.52-1.8H299.7v93.66h37.41c5.61 0 10.61-.72 14.98-2.15 4.37-1.44 8.05-3.43 11.02-5.98q4.47-3.825 6.78-8.97c2.31-5.145 2.31-7.14 2.31-11.12 0-5.27-1.48-9.59-4.44-12.95-2.94-3.36-7.5-5.79-13.67-7.29m-32.66-28.93h12.73c2.44 0 4.55.19 6.33.58s3.25 1.03 4.4 1.93c1.16.9 2.01 2.09 2.57 3.57s.84 3.33.84 5.56c0 2.27-.35 4.16-1.06 5.66s-1.74 2.68-3.09 3.54-2.99 1.46-4.92 1.8-4.09.51-6.49.51h-11.31zm28.73 53.16c-.39 1.46-1.09 2.76-2.12 3.92s-2.45 2.1-4.28 2.83c-1.82.73-4.17 1.09-7.04 1.09h-15.3V73.04h15.17c2.74 0 5.01.26 6.81.77s3.25 1.24 4.34 2.19c1.09.94 1.86 2.1 2.31 3.47s.68 2.92.68 4.63c.01 1.5-.18 2.98-.57 4.43m71.1 24.24h21.86V76.32h32.01V59.54h-32.01V35.82h38.44V19.11h-60.3zm135.88-93.66c-.9 0-1.73.14-2.48.42s-1.41.64-1.99 1.09-1.09.95-1.54 1.51-.8 1.12-1.06 1.67l-13.11 27.26c-1.03 2.14-1.99 4.14-2.89 5.98s-1.67 3.69-2.31 5.53c-.69-1.8-1.48-3.62-2.38-5.46s-1.89-3.86-2.96-6.04l-13.24-27.26c-.69-1.37-1.59-2.5-2.7-3.38s-2.61-1.32-4.5-1.32h-19.16l33.94 58.05v35.61h21.73V77.16l33.94-58.05zm-171.66 93.66h21.86V19.11h-21.86z" fill="@{surface0}"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
|
||||
img[src$="images/homepage/2.svg"] {
|
||||
@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>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
|
||||
img[src$="images/homepage/4.svg"] {
|
||||
@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>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
|
||||
img[src$="images/homepage/5.svg"] {
|
||||
@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>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
|
||||
.is-world-background {
|
||||
@svg: escape(
|
||||
'<svg viewBox="0 0 950 620" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" fill="@{base}"><path d="m781.68 324.4-2.31 8.68-12.53 4.23-3.75-4.4-1.82.5 3.4 13.12 5.09.57 6.79 2.57v2.57l3.11-.57 4.53-6.27v-5.13l2.55-5.13 2.83.57-3.4-7.13-.52-4.59zm71.08 23.89-.37 24.44 3.52-.19 4.63-5.41 3.89.19 2.5 2.24.83 6.9 7.96 4.2 2.04-.75v-2.52l-6.39-5.32-3.15-7.28 2.5-1.21-1.85-4.01-3.7-.09-.93-4.29-9.81-6.62zM137.49 225.43l4.83 15.21-2.25 1.26.25 3.02 4.25 3.27v6.05l5.25 5.04-2.25-14.86-3-9.83.75-6.8 2.5.25 1 2.27-1 5.79 13 25.44v9.07l10.5 12.34 11.5 5.29 4.75-2.77 6.75 5.54 4-4.03-1.75-4.54 5.75-1.76 1.75 1.01 1.75-1.76h2.75l5-8.82-2.5-2.27-9.75 2.27-2.25 6.55-5.75 1.01-6.75-2.77-3-9.57 2.27-12.07-4.64-2.89-2.21-11.59-1.85-.79-3.38 3.43-3.88-2.07-1.52-7.73-15.37-1.61-7.94-5.97zm380.28-81.77-5.6-.2-3.55 2.17-.05 1.61 2.3 2.17 7.15 1.21zm-43.89 83.83-4.08-1.37-16.98 3.19-3.7 2.81 2.26 11.67-6.75.27-4.06 6.53-9.67 2.32.03 4.75 31.85 24.35 5.43.46 18.11-14.15-1.81-2.28-3.4-.46-2.04-3.42v-14.15l-1.36-1.37.23-3.65-3.62-3.65-.45-3.88 1.58-1.14-.68-4.11z"/><path d="M448.29 232.28h-11.55l-2.26 5.02-5.21 2.51-4.3 11.64-8.38 5.02-11.77 19.39 11.55-.23.45-5.7h2.94v-7.76h10.19l.23-10.04 9.74-2.28 4.08-6.62 6.34-.23z"/><path d="m404.9 276.66 2.18 2.85-.45 12.32 3.17-2.28 2.26-.46 3.17 1.14 3.62 5.02 3.4-2.28 16.53-.23-4.08-27.61 4.38-.02-8.16-6.25.01 4.06-10.33.01-.05 7.75-2.97-.01-.38 5.72z"/><path d="m410.12 290.32-3.94 2.86-.9 1.6-.28 1.6 1.45 1.04 4.84-.07 3.11-.84.35 1.53-.28 2.02 2.97 1.46.62.7 3.94.14.14-1.74-3.6-4.32-4.01-5.43-2.49-1.04z"/><path d="m406.89 298.34-.13 1.11 6.92-.1.35-1.03-.15-1.04-1.99.81zm-.1 1.88 1.24 3.01.69-1.86 8.41.88-3.64-1.87z"/><path d="m408.6 304.53 1.4 2.77 3.93-3.38.04-1.04-4.63-.67z"/><path d="m410.42 307.94 3.04 4.68 3.96-3.44 4.06-.18 3.38 4.49 2.87 1.89 1.08-2.1.96-.54-.07-4.62-1.91-5.48-5.86.65-7.25-.58-.04 1.86z"/><path d="m413.93 313.13 5.65 5.46 4.03-4.89-2.52-3.95-3.47.35zm6.24 6.06 10.98 7.34-.26-5.56-3.32-3.91-3.24-2.87z"/><path d="m432.07 326.75 4.28-3.03 5.32-.93 5.43 1.17-2.77-4.19-.81-2.56.81-7.57-4.85.23-2.2-2.1-4.62.12-2.2.35.23 5.12-1.16.47-1.39 2.56 3.58 4.19zm-12.61-30.91 3.08-2.11 17.12-.1-3.96-27.54 4.52-.13 21.87 16.69 2.94.42-1.11 9.28-13.75 1.25-10.61 7.92-1.93 5.42-7.37.31-1.88-5.41-5.65.4.22-1.77z"/><path d="m450.59 294.28 3.64-.29 5.97 8.44-5.54 4.18-4.01-1.03-5.39.07-.87 3.16-4.52.22-1.24-1.69 1.6-5.14zm10.3 7.72 2.55-.06 2.3-3.45 3.86-.69 4.11 2.51 8.77.25 6.78-2.76 2.55-2.19.19-2.88 4.73-4.77 1.25-10.53-3.11-6.52-7.96-1.94-18.42 14.36-2.61-.25-1.12 9.97-9.4.94z"/><path d="m444.34 317.05 1.12 2.63 2.92 4.58 1.62-.06 4.42-2.51-.31-14.29-3.42-1-4.79.13zm10.88 4.2 2.68-1.57-.06-10.35-1.74-2.82-1.12.94z"/><path d="M458.71 319.49h2.12l.12-6.02 2.68-3.89-.12-6.77-2.43-.06-4.17 3.26 1.74 3.32z"/><path d="m461.57 319.37 3.92.19 4.73 5.27 2.3.63 1.8-.88 2.74-.38.93-3.82 3.73-2.45 4.04-.19 7.4-13.61-.12-3.07-3.42-2.63-6.84 3.01-9.15-.13-4.36-2.76-3.11.69-1.62 2.82-.12 7.96-2.61 3.7zm13.34-92.04 5.53-2.23 1.82 1.18.07 1.44-.85 1.11.13 1.97.85.46v3.54l-.98 1.64.13 1.05 3.71 1.31-2.99 4.65-1.17-.07-.2 3.74-1.3.2-1.11-.98.26-3.8-3.64-3.54-.46-3.08 1.76-1.38z"/><path d="m480.05 248.03 1.56-.26.46-3.6h.78l3.19-5.24 7.87 2.29 2.15 3.34 7.74 3.54 4.03-1.7-.39-1.7-1.76-1.7.2-1.18 2.86-2.42h5.66l2.15 2.88 4.55.66.59 36.89-3.38-.13-20.42-10.62-2.21 1.25-8.39-2.1-2.28-3.01-3.32-.46-1.69-3.01zm41.88-4.97 2.67.07 5.2 1.44 2.47.07 3.06-2.56h1.43l2.6 1.44h3.29l.59-.04 2.08 5.98.59 1.93.55 2.89-.98.72-1.69-.85-1.95-6.36-1.76-.13-.13 2.16 1.17 3.74 9.37 11.6.2 4.98-2.73 3.15-25.64-.29z"/><path d="m492.79 296 .13-2.95 4.74-4.61 1.27-11.32-3.16-6.04 2.21-1.13 21.4 11.15-.13 10.94-3.77 3.21v5.64l2.47 4.78h-4.36l-7.22 7.14-.19 2.16-5.33-.07-.07.98-3.04-.4-2.08-3.93-1.56-.77.2-1.2 1.96-1.5v-7.02l-2.71-.42-3.27-2.43zm56.29 14.34-2.943-4.943-.309-3.596-.707.135-.191 1.107-3.858 5.635-3.078-1.469-3.07 2.572-6.352-.365-2.81-2.246-4.034 2.065-.152 1.375-1.23.74 12.32 12.68 6.71.38.979 1.49 9.602.17.078-2.15.82-1.49 3.201-.41-3.99-5.79h-2.94l-.75-4.11 2.36-1.04z"/><path d="m552 270.61-3.69 3.72-25.8-.23.279 6.57-2.46-.07-.179 11.83-3.73 3.211-.15 4.94 2.69 5.31 2.95 1.74-.045.414 4.02-2.058 3.066 2.449 5.639.324 3.257-2.728 2.887 1.375 3.25-4.748.274-1.576 2.476-.471.385 4.47 2.476 4.16 6.004-12.911v-7.85l4.362-5.14zm-74.18 53.67 3.22 2.96-.23 4.58 17.66-.41 1.44-1.62-5.06-5.45-.75-1.97 3.22-6.03-2.19-4-1.84-.99v-2.03l2.13-1.39.12-6.32-1.69-.19-.03 3.32-7.42 13.85-4.54.23-3.11 2.14z"/><path d="m556.71 294.7-.25-5.89 3.96-4.62 1.07.82 1.95 6.52 9.36 6.97-1.7 2.09-6.85-5.89zm14.77 6.84-.57 3.36 3.96-.06.06-4.94-1.45-.89z"/><path d="m549.49 311.76 7.28-16.2 7.23.04 6.41 5.57-.45 4.59h4.97l.51 2.76 8.04 4.81 4.96.25-9.43 10.13-12.95 3.99h-3.21l-5.72-4.88-2.26-.95-4.38-6.45-2.89.04-.34-2.96z"/><path d="m575.74 305.04 4.08 2.78 1.21-.06 10.13-3.48 1.15 3.71-.81 3.13-2.19 1.74-5.47-.35-7.83-4.81zm23.88-5.39 2.13 2.38 2.88-1.74 1.04-.35-1.32-1.28-2.53.75z"/><path d="m591.97 304.05 4.37-1.68 1.5Line truncated
|
||||
);
|
||||
background-image: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* 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; };
|
||||
};
|
||||
@@ -1,9 +1,9 @@
|
||||
/* ==UserStyle==
|
||||
@name Graphite Catppuccin
|
||||
@name Graphite Catppuccin [STUB | UPDATE REQUIRED]
|
||||
@namespace github.com/catppuccin/userstyles/styles/graphite
|
||||
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/graphite
|
||||
@version 2024.12.28
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/graphite/catppuccin.user.css
|
||||
@version 2024.12.29
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/graphite/catppuccin.user.less
|
||||
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Agraphite
|
||||
@description Soothing pastel theme for Graphite
|
||||
@author Catppuccin
|
||||
@@ -13,100 +13,4 @@
|
||||
@var select lightFlavor "Light Flavor" ["latte:Latte*", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha"]
|
||||
@var select darkFlavor "Dark Flavor" ["latte:Latte", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha*"]
|
||||
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
|
||||
==/UserStyle== */
|
||||
|
||||
@-moz-document domain('app.graphite.dev') {
|
||||
:root[data-theme="light"] {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
:root[data-theme="dark"] {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
}
|
||||
|
||||
#createset(@color, @type) {
|
||||
--color-@{type}-default: @color;
|
||||
--color-@{type}-lowest-contrast: darken(@color, 60%);
|
||||
--color-@{type}-low-contrast: @color;
|
||||
--color-@{type}-high-contrast: @color;
|
||||
--color-@{type}-highest-contrast: lighten(@color, 10%);
|
||||
}
|
||||
|
||||
#catppuccin(@lookup, @accent) {
|
||||
@rosewater: @catppuccin[@@lookup][@rosewater];
|
||||
@flamingo: @catppuccin[@@lookup][@flamingo];
|
||||
@pink: @catppuccin[@@lookup][@pink];
|
||||
@mauve: @catppuccin[@@lookup][@mauve];
|
||||
@red: @catppuccin[@@lookup][@red];
|
||||
@maroon: @catppuccin[@@lookup][@maroon];
|
||||
@peach: @catppuccin[@@lookup][@peach];
|
||||
@yellow: @catppuccin[@@lookup][@yellow];
|
||||
@green: @catppuccin[@@lookup][@green];
|
||||
@teal: @catppuccin[@@lookup][@teal];
|
||||
@sky: @catppuccin[@@lookup][@sky];
|
||||
@sapphire: @catppuccin[@@lookup][@sapphire];
|
||||
@blue: @catppuccin[@@lookup][@blue];
|
||||
@lavender: @catppuccin[@@lookup][@lavender];
|
||||
@text: @catppuccin[@@lookup][@text];
|
||||
@subtext1: @catppuccin[@@lookup][@subtext1];
|
||||
@subtext0: @catppuccin[@@lookup][@subtext0];
|
||||
@overlay2: @catppuccin[@@lookup][@overlay2];
|
||||
@overlay1: @catppuccin[@@lookup][@overlay1];
|
||||
@overlay0: @catppuccin[@@lookup][@overlay0];
|
||||
@surface2: @catppuccin[@@lookup][@surface2];
|
||||
@surface1: @catppuccin[@@lookup][@surface1];
|
||||
@surface0: @catppuccin[@@lookup][@surface0];
|
||||
@base: @catppuccin[@@lookup][@base];
|
||||
@mantle: @catppuccin[@@lookup][@mantle];
|
||||
@crust: @catppuccin[@@lookup][@crust];
|
||||
@accent-color: @catppuccin[@@lookup][@@accent];
|
||||
|
||||
color-scheme: if(@lookup = latte, light, dark);
|
||||
|
||||
::selection {
|
||||
background-color: fade(@accent-color, 30%);
|
||||
}
|
||||
|
||||
input,
|
||||
textarea {
|
||||
&::placeholder {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
--color-bg-light: @base;
|
||||
--color-bg-med: @mantle;
|
||||
--color-bg-dark: @crust;
|
||||
|
||||
--text-color-light: @crust; // this means on a light background
|
||||
--text-color-default: @text;
|
||||
--text-color-low-contrast: @text;
|
||||
--text-color-high-contrast: @text;
|
||||
--text-color-disabled: @subtext0;
|
||||
|
||||
--btn-color-neutral-selected: @surface0;
|
||||
--btn-color-neutral-default: @surface0;
|
||||
--btn-color-neutral-hover: @surface0;
|
||||
|
||||
--icon-color-default: @text;
|
||||
|
||||
--border-color-default: @surface1;
|
||||
|
||||
--color-gray-60: @surface0;
|
||||
|
||||
#createset(@accent-color, emphasis);
|
||||
#createset(@green, positive);
|
||||
#createset(@peach, caution);
|
||||
#createset(@red, negative);
|
||||
#createset(@mauve, action);
|
||||
}
|
||||
}
|
||||
|
||||
/* prettier-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; };
|
||||
}
|
||||
|
||||
// vim:ft=less
|
||||
==/UserStyle== */
|
||||
@@ -0,0 +1,110 @@
|
||||
/* ==UserStyle==
|
||||
@name Graphite Catppuccin
|
||||
@namespace github.com/catppuccin/userstyles/styles/graphite
|
||||
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/graphite
|
||||
@version 2024.12.29.1
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/graphite/catppuccin.user.less
|
||||
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Agraphite
|
||||
@description Soothing pastel theme for Graphite
|
||||
@author Catppuccin
|
||||
@license MIT
|
||||
|
||||
@preprocessor less
|
||||
@var select lightFlavor "Light Flavor" ["latte:Latte*", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha"]
|
||||
@var select darkFlavor "Dark Flavor" ["latte:Latte", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha*"]
|
||||
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
|
||||
==/UserStyle== */
|
||||
|
||||
@-moz-document domain("app.graphite.dev") {
|
||||
:root[data-theme="light"] {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
:root[data-theme="dark"] {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
}
|
||||
|
||||
#createset(@color, @type) {
|
||||
--color-@{type}-default: @color;
|
||||
--color-@{type}-lowest-contrast: darken(@color, 60%);
|
||||
--color-@{type}-low-contrast: @color;
|
||||
--color-@{type}-high-contrast: @color;
|
||||
--color-@{type}-highest-contrast: lighten(@color, 10%);
|
||||
}
|
||||
|
||||
#catppuccin(@lookup, @accent) {
|
||||
@rosewater: @catppuccin[@@lookup][@rosewater];
|
||||
@flamingo: @catppuccin[@@lookup][@flamingo];
|
||||
@pink: @catppuccin[@@lookup][@pink];
|
||||
@mauve: @catppuccin[@@lookup][@mauve];
|
||||
@red: @catppuccin[@@lookup][@red];
|
||||
@maroon: @catppuccin[@@lookup][@maroon];
|
||||
@peach: @catppuccin[@@lookup][@peach];
|
||||
@yellow: @catppuccin[@@lookup][@yellow];
|
||||
@green: @catppuccin[@@lookup][@green];
|
||||
@teal: @catppuccin[@@lookup][@teal];
|
||||
@sky: @catppuccin[@@lookup][@sky];
|
||||
@sapphire: @catppuccin[@@lookup][@sapphire];
|
||||
@blue: @catppuccin[@@lookup][@blue];
|
||||
@lavender: @catppuccin[@@lookup][@lavender];
|
||||
@text: @catppuccin[@@lookup][@text];
|
||||
@subtext1: @catppuccin[@@lookup][@subtext1];
|
||||
@subtext0: @catppuccin[@@lookup][@subtext0];
|
||||
@overlay2: @catppuccin[@@lookup][@overlay2];
|
||||
@overlay1: @catppuccin[@@lookup][@overlay1];
|
||||
@overlay0: @catppuccin[@@lookup][@overlay0];
|
||||
@surface2: @catppuccin[@@lookup][@surface2];
|
||||
@surface1: @catppuccin[@@lookup][@surface1];
|
||||
@surface0: @catppuccin[@@lookup][@surface0];
|
||||
@base: @catppuccin[@@lookup][@base];
|
||||
@mantle: @catppuccin[@@lookup][@mantle];
|
||||
@crust: @catppuccin[@@lookup][@crust];
|
||||
@accent-color: @catppuccin[@@lookup][@@accent];
|
||||
|
||||
color-scheme: if(@lookup = latte, light, dark);
|
||||
|
||||
::selection {
|
||||
background-color: fade(@accent-color, 30%);
|
||||
}
|
||||
|
||||
input,
|
||||
textarea {
|
||||
&::placeholder {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
--color-bg-light: @base;
|
||||
--color-bg-med: @mantle;
|
||||
--color-bg-dark: @crust;
|
||||
|
||||
--text-color-light: @crust; // this means on a light background
|
||||
--text-color-default: @text;
|
||||
--text-color-low-contrast: @text;
|
||||
--text-color-high-contrast: @text;
|
||||
--text-color-disabled: @subtext0;
|
||||
|
||||
--btn-color-neutral-selected: @surface0;
|
||||
--btn-color-neutral-default: @surface0;
|
||||
--btn-color-neutral-hover: @surface0;
|
||||
|
||||
--icon-color-default: @text;
|
||||
|
||||
--border-color-default: @surface1;
|
||||
|
||||
--color-gray-60: @surface0;
|
||||
|
||||
#createset(@accent-color, emphasis);
|
||||
#createset(@green, positive);
|
||||
#createset(@peach, caution);
|
||||
#createset(@red, negative);
|
||||
#createset(@mauve, action);
|
||||
}
|
||||
}
|
||||
|
||||
/* deno-fmt-ignore */
|
||||
@catppuccin: {
|
||||
@latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
|
||||
@frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
|
||||
@macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
|
||||
@mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
|
||||
};
|
||||
@@ -1,9 +1,9 @@
|
||||
/* ==UserStyle==
|
||||
@name Hackage Catppuccin
|
||||
@name Hackage Catppuccin [STUB | UPDATE REQUIRED]
|
||||
@namespace github.com/catppuccin/userstyles/styles/hackage
|
||||
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/hackage
|
||||
@version 2024.12.28
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/hackage/catppuccin.user.css
|
||||
@version 2024.12.29
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/hackage/catppuccin.user.less
|
||||
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Ahackage
|
||||
@description Soothing pastel theme for Hackage
|
||||
@author Catppuccin
|
||||
@@ -13,795 +13,4 @@
|
||||
@var select lightFlavor "Light Flavor" ["latte:Latte*", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha"]
|
||||
@var select darkFlavor "Dark Flavor" ["latte:Latte", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha*"]
|
||||
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
|
||||
==/UserStyle== */
|
||||
|
||||
@-moz-document domain("hackage.haskell.org") {
|
||||
@media (prefers-color-scheme: light) {
|
||||
:root {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
|
||||
#catppuccin(@lookup, @accent) {
|
||||
@rosewater: @catppuccin[@@lookup][@rosewater];
|
||||
@flamingo: @catppuccin[@@lookup][@flamingo];
|
||||
@pink: @catppuccin[@@lookup][@pink];
|
||||
@mauve: @catppuccin[@@lookup][@mauve];
|
||||
@red: @catppuccin[@@lookup][@red];
|
||||
@maroon: @catppuccin[@@lookup][@maroon];
|
||||
@peach: @catppuccin[@@lookup][@peach];
|
||||
@yellow: @catppuccin[@@lookup][@yellow];
|
||||
@green: @catppuccin[@@lookup][@green];
|
||||
@teal: @catppuccin[@@lookup][@teal];
|
||||
@sky: @catppuccin[@@lookup][@sky];
|
||||
@sapphire: @catppuccin[@@lookup][@sapphire];
|
||||
@blue: @catppuccin[@@lookup][@blue];
|
||||
@lavender: @catppuccin[@@lookup][@lavender];
|
||||
@text: @catppuccin[@@lookup][@text];
|
||||
@subtext1: @catppuccin[@@lookup][@subtext1];
|
||||
@subtext0: @catppuccin[@@lookup][@subtext0];
|
||||
@overlay2: @catppuccin[@@lookup][@overlay2];
|
||||
@overlay1: @catppuccin[@@lookup][@overlay1];
|
||||
@overlay0: @catppuccin[@@lookup][@overlay0];
|
||||
@surface2: @catppuccin[@@lookup][@surface2];
|
||||
@surface1: @catppuccin[@@lookup][@surface1];
|
||||
@surface0: @catppuccin[@@lookup][@surface0];
|
||||
@base: @catppuccin[@@lookup][@base];
|
||||
@mantle: @catppuccin[@@lookup][@mantle];
|
||||
@crust: @catppuccin[@@lookup][@crust];
|
||||
@accent-color: @catppuccin[@@lookup][@@accent];
|
||||
@text-filter: @catppuccin[@@lookup][@text-filter];
|
||||
@synopsis-filter: @catppuccin[@@lookup][@synopsis-filter];
|
||||
|
||||
color-scheme: if(@lookup = latte, light, dark);
|
||||
|
||||
::selection {
|
||||
background-color: fade(@accent-color, 30%);
|
||||
}
|
||||
|
||||
input,
|
||||
textarea {
|
||||
&::placeholder {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
&,
|
||||
body {
|
||||
background-color: @base;
|
||||
color: @text;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
background-color: inherit;
|
||||
}
|
||||
|
||||
a[href]:link {
|
||||
color: @accent-color;
|
||||
}
|
||||
a[href]:visited {
|
||||
color: average(@overlay2, @accent-color);
|
||||
}
|
||||
|
||||
a[href].def:link,
|
||||
a[href].def:visited {
|
||||
color: @subtext0;
|
||||
}
|
||||
a[href].def:hover {
|
||||
color: average(@overlay2, @subtext0);
|
||||
}
|
||||
|
||||
.caption,
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6,
|
||||
summary,
|
||||
.section1,
|
||||
.section2,
|
||||
.section3,
|
||||
.section4,
|
||||
.section5,
|
||||
.section6 {
|
||||
color: overlay(@accent-color, @surface0);
|
||||
filter: none;
|
||||
}
|
||||
|
||||
.collapser::before,
|
||||
.expander::before,
|
||||
.noexpander::before {
|
||||
color: @accent-color;
|
||||
}
|
||||
|
||||
pre {
|
||||
background-color: @mantle;
|
||||
border-color: @surface1;
|
||||
}
|
||||
|
||||
blockquote {
|
||||
background-color: @surface0;
|
||||
border-color: @accent-color;
|
||||
}
|
||||
|
||||
.src,
|
||||
.decl,
|
||||
.declname,
|
||||
.declbut,
|
||||
.topdecl,
|
||||
.arg {
|
||||
background-color: @mantle;
|
||||
color: @text;
|
||||
}
|
||||
|
||||
.declbut {
|
||||
border-color: @overlay0 !important;
|
||||
a {
|
||||
color: @overlay2 !important;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Headers
|
||||
*/
|
||||
|
||||
#page-header,
|
||||
#package-header {
|
||||
background-color: @accent-color;
|
||||
color: @surface1;
|
||||
border-color: shade(@accent-color, 25%);
|
||||
}
|
||||
|
||||
#page-header .caption,
|
||||
#package-header .caption,
|
||||
#page-header a:link,
|
||||
#page-header a:visited {
|
||||
color: @base !important;
|
||||
}
|
||||
|
||||
#module-header .caption,
|
||||
.modulebar {
|
||||
color: @accent-color;
|
||||
border-color: @surface1;
|
||||
}
|
||||
|
||||
#module-header {
|
||||
background-color: inherit;
|
||||
}
|
||||
|
||||
#package-header {
|
||||
&,
|
||||
#page-menu {
|
||||
a:link,
|
||||
a:visited {
|
||||
color: @base;
|
||||
}
|
||||
}
|
||||
a:hover {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
ul.links li {
|
||||
border-color: @overlay0;
|
||||
|
||||
&:hover {
|
||||
background-color: transparent;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
ul.links li form {
|
||||
input,
|
||||
button {
|
||||
color: @base;
|
||||
}
|
||||
}
|
||||
|
||||
.topbar {
|
||||
background-color: @accent-color;
|
||||
|
||||
.topbut {
|
||||
border-color: @overlay0;
|
||||
|
||||
a {
|
||||
background-color: transparent;
|
||||
color: @base;
|
||||
}
|
||||
}
|
||||
.title {
|
||||
color: @base;
|
||||
}
|
||||
}
|
||||
|
||||
.botbar {
|
||||
background-color: @crust;
|
||||
color: @text;
|
||||
}
|
||||
|
||||
/*
|
||||
* Style selectors (for old packages)
|
||||
*/
|
||||
|
||||
#style-menu {
|
||||
background-color: @mantle;
|
||||
|
||||
li {
|
||||
&,
|
||||
a {
|
||||
color: @text !important;
|
||||
}
|
||||
+ li {
|
||||
border-color: @overlay2;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Versions
|
||||
*/
|
||||
|
||||
a.unpreferred[href]:link,
|
||||
a.unpreferred[href]:visited {
|
||||
color: @yellow;
|
||||
}
|
||||
|
||||
a.deprecated[href]:link,
|
||||
a.deprecated[href]:visited {
|
||||
color: @red;
|
||||
}
|
||||
|
||||
.versions {
|
||||
a.normal[href]:link,
|
||||
a.normal[href]:visited {
|
||||
color: @green;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Readme style
|
||||
*/
|
||||
|
||||
.embedded-author-content {
|
||||
border-color: @accent-color;
|
||||
}
|
||||
|
||||
/*
|
||||
* Contents & synopsis
|
||||
*/
|
||||
|
||||
#contents-list {
|
||||
background-color: @mantle;
|
||||
}
|
||||
|
||||
#table-of-contents {
|
||||
background-color: @base;
|
||||
border-color: @surface1;
|
||||
}
|
||||
|
||||
#synopsis {
|
||||
summary,
|
||||
#control\.syn {
|
||||
filter: @synopsis-filter;
|
||||
}
|
||||
|
||||
ul {
|
||||
&,
|
||||
li.src {
|
||||
background-color: @surface0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Quick jump
|
||||
*/
|
||||
|
||||
#search p.error {
|
||||
color: @red;
|
||||
}
|
||||
|
||||
#search-form,
|
||||
#search-results {
|
||||
box-shadow: 2px 2px 6px fade(@mantle, 20%);
|
||||
}
|
||||
|
||||
#search-form {
|
||||
input {
|
||||
border-color: @accent-color;
|
||||
}
|
||||
}
|
||||
|
||||
#search-results {
|
||||
border-color: @accent-color;
|
||||
|
||||
& > ul > li {
|
||||
border-bottom-color: @overlay0;
|
||||
}
|
||||
}
|
||||
|
||||
.search-module > ul > li > a[href].active-link {
|
||||
background-color: @surface2;
|
||||
}
|
||||
|
||||
.search-result ul.subs::after {
|
||||
color: @subtext1;
|
||||
}
|
||||
|
||||
.more-results,
|
||||
.more-results::before {
|
||||
color: @subtext0;
|
||||
}
|
||||
|
||||
.keyboard-shortcuts th {
|
||||
color: @accent-color;
|
||||
}
|
||||
|
||||
.key {
|
||||
background-color: @mantle;
|
||||
color: @text;
|
||||
border-color: @mantle;
|
||||
}
|
||||
|
||||
/*
|
||||
* Dropdown
|
||||
*/
|
||||
|
||||
.dropdown-menu {
|
||||
background-color: @surface0;
|
||||
border-color: @surface0;
|
||||
|
||||
button {
|
||||
background-color: @accent-color;
|
||||
color: @mantle;
|
||||
border-color: @surface2;
|
||||
|
||||
&:hover,
|
||||
&:active {
|
||||
background-color: @accent-color;
|
||||
color: @mantle;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Tables
|
||||
*/
|
||||
|
||||
table {
|
||||
&.info {
|
||||
background-color: @base;
|
||||
color: @subtext1;
|
||||
border-color: @surface1;
|
||||
}
|
||||
|
||||
&.fancy {
|
||||
&,
|
||||
tr {
|
||||
border-color: @surface1;
|
||||
}
|
||||
tr.even td {
|
||||
background-color: @mantle;
|
||||
}
|
||||
}
|
||||
|
||||
&.fancy,
|
||||
&.properties,
|
||||
&.dataTable.compact.fancy tbody {
|
||||
th,
|
||||
td {
|
||||
background-color: @base;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.doc {
|
||||
th,
|
||||
td {
|
||||
border-color: @surface1;
|
||||
}
|
||||
th {
|
||||
background-color: @mantle;
|
||||
}
|
||||
}
|
||||
|
||||
.infohead,
|
||||
.infoval {
|
||||
color: @subtext1;
|
||||
}
|
||||
|
||||
div#table_length.dataTables_length,
|
||||
div#table_filter.dataTables_filter {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
div #description table {
|
||||
&,
|
||||
tr td {
|
||||
border-color: @surface1;
|
||||
}
|
||||
th {
|
||||
background-color: @mantle;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Source links
|
||||
*/
|
||||
|
||||
#interface {
|
||||
.src {
|
||||
.link,
|
||||
.selflink {
|
||||
color: @overlay2 !important;
|
||||
background-color: transparent !important;
|
||||
}
|
||||
}
|
||||
p.src .link {
|
||||
background-color: transparent;
|
||||
color: @overlay2;
|
||||
border-color: @overlay1;
|
||||
}
|
||||
|
||||
span.fixity,
|
||||
span.rightedge {
|
||||
color: @overlay1;
|
||||
border-left-color: @overlay1;
|
||||
}
|
||||
span.fixity {
|
||||
color: @overlay1;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Paginator
|
||||
*/
|
||||
|
||||
.paginator {
|
||||
span {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
a {
|
||||
color: @overlay1;
|
||||
|
||||
&[href]:link,
|
||||
&:link:hover {
|
||||
color: @accent-color;
|
||||
}
|
||||
&:visited,
|
||||
&:visited:hover {
|
||||
color: average(@overlay2, @accent-color);
|
||||
}
|
||||
&:link:hover,
|
||||
&:visited:hover {
|
||||
background-image: none;
|
||||
background-color: @surface1;
|
||||
border-color: transparent;
|
||||
}
|
||||
}
|
||||
|
||||
.current,
|
||||
.current:hover {
|
||||
background-image: none;
|
||||
background-color: @surface0;
|
||||
color: @accent-color;
|
||||
border-color: transparent;
|
||||
}
|
||||
}
|
||||
|
||||
.paginate_button {
|
||||
background-color: @overlay0;
|
||||
}
|
||||
|
||||
/*
|
||||
* Search query
|
||||
*/
|
||||
|
||||
#browseTable th {
|
||||
border-color: @surface1;
|
||||
}
|
||||
|
||||
#fatalError {
|
||||
color: @red;
|
||||
}
|
||||
|
||||
input:invalid {
|
||||
border-color: @yellow;
|
||||
box-shadow: 0 0 10px @yellow;
|
||||
}
|
||||
|
||||
input {
|
||||
background-color: @mantle;
|
||||
border-style: solid;
|
||||
border-color: @surface0;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
input[type="range"] {
|
||||
-moz-appearance: none;
|
||||
-webkit-appearance: none;
|
||||
appearance: none;
|
||||
background-color: @mantle;
|
||||
height: 0.2em !important;
|
||||
|
||||
&::-moz-range-thumb,
|
||||
&::-webkit-slider-thumb {
|
||||
background-color: @text;
|
||||
border-color: @surface0;
|
||||
height: 1em !important;
|
||||
}
|
||||
}
|
||||
|
||||
input[type="submit"] {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
input[type="range"]:hover,
|
||||
input[type="submit"]:hover {
|
||||
background-color: @crust;
|
||||
}
|
||||
|
||||
/*
|
||||
* Others
|
||||
*/
|
||||
|
||||
.candidate-warn {
|
||||
background-color: @mantle;
|
||||
border-color: @red;
|
||||
}
|
||||
|
||||
.candidate-info {
|
||||
background-color: @mantle;
|
||||
border-color: @blue;
|
||||
}
|
||||
|
||||
.box {
|
||||
background-color: @base;
|
||||
border-color: @base;
|
||||
}
|
||||
|
||||
div#modal #content,
|
||||
#search-results {
|
||||
background-color: @surface0;
|
||||
}
|
||||
|
||||
.subs,
|
||||
.top > .doc,
|
||||
.subs > .doc {
|
||||
border-left-color: @surface1;
|
||||
}
|
||||
|
||||
.subs .subs p.src {
|
||||
background-color: @mantle;
|
||||
}
|
||||
|
||||
.top p.src {
|
||||
border-color: @surface0;
|
||||
}
|
||||
|
||||
.warning,
|
||||
strong.warning {
|
||||
color: @red;
|
||||
}
|
||||
|
||||
small.info,
|
||||
.flags-table .flag-disabled {
|
||||
color: @subtext0;
|
||||
}
|
||||
|
||||
.text-button {
|
||||
color: @accent-color;
|
||||
}
|
||||
|
||||
p.registration-email {
|
||||
border-color: @accent-color;
|
||||
}
|
||||
|
||||
:target {
|
||||
background-image: linear-gradient(
|
||||
to bottom,
|
||||
transparent 0%,
|
||||
transparent 65%,
|
||||
average(@surface0, @yellow) 60%,
|
||||
average(@surface0, @yellow) 100%
|
||||
);
|
||||
}
|
||||
:target:hover {
|
||||
background-image: linear-gradient(
|
||||
to bottom,
|
||||
overlay(@surface0, @yellow) 0%,
|
||||
overlay(@surface0, @yellow) 100%
|
||||
);
|
||||
}
|
||||
|
||||
#footer {
|
||||
background-color: @crust;
|
||||
color: @subtext1;
|
||||
border-color: @overlay0;
|
||||
}
|
||||
|
||||
/*
|
||||
* MathJax
|
||||
*/
|
||||
|
||||
#MathJax_Message {
|
||||
background-color: @mantle;
|
||||
border-color: @surface1;
|
||||
color: @text;
|
||||
}
|
||||
|
||||
#MathJax_About,
|
||||
#MathJax_Help,
|
||||
.MathJax_Menu {
|
||||
background-color: @surface0;
|
||||
color: @text;
|
||||
border-color: @accent-color;
|
||||
box-shadow: 0 10px 20px @mantle;
|
||||
-webkit-box-shadow: 0 10px 20px @mantle;
|
||||
-moz-box-shadow: 0 10px 20px @mantle;
|
||||
}
|
||||
|
||||
#MathJax_About > span,
|
||||
#MathJax_HelpContent {
|
||||
background-color: @surface1 !important;
|
||||
color: @subtext1 !important;
|
||||
border-color: @overlay0 !important;
|
||||
}
|
||||
|
||||
.MathJax_MenuArrow {
|
||||
color: @subtext1;
|
||||
}
|
||||
|
||||
.MathJax_MenuRule {
|
||||
border-top-color: @overlay0;
|
||||
}
|
||||
|
||||
.MathJax_MenuActive {
|
||||
background-color: @surface1;
|
||||
color: @text;
|
||||
}
|
||||
|
||||
.MathJax_MenuDisabled {
|
||||
color: @overlay2;
|
||||
}
|
||||
|
||||
.MathJax_MenuDisabled:focus,
|
||||
.MathJax_MenuLabel:focus {
|
||||
background-color: @surface1;
|
||||
}
|
||||
|
||||
#MathJax_AboutClose,
|
||||
#MathJax_HelpClose {
|
||||
border-color: @surface2;
|
||||
color: @subtext0;
|
||||
span {
|
||||
background-color: @surface2;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
color: @text !important;
|
||||
border-color: @overlay0 !important;
|
||||
span {
|
||||
background-color: @overlay0 !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
span.mathjax img {
|
||||
filter: @text-filter;
|
||||
}
|
||||
|
||||
/*
|
||||
* Sources
|
||||
*/
|
||||
|
||||
span.definition,
|
||||
.hs-identifier {
|
||||
color: @blue;
|
||||
}
|
||||
|
||||
.hs-identifier.hs-type {
|
||||
color: @yellow;
|
||||
}
|
||||
|
||||
span.keyword,
|
||||
.hs-keyword {
|
||||
color: @mauve;
|
||||
}
|
||||
|
||||
span.str,
|
||||
span.char,
|
||||
.hs-string,
|
||||
.hs-char,
|
||||
.hs-str,
|
||||
.hs-chr {
|
||||
color: @green;
|
||||
}
|
||||
|
||||
.hs-number {
|
||||
color: @peach;
|
||||
}
|
||||
|
||||
.hs-operator {
|
||||
color: @sky;
|
||||
}
|
||||
|
||||
span.keyglyph,
|
||||
span.layout,
|
||||
span.conop,
|
||||
.hs-keyglyph,
|
||||
.hs-layout,
|
||||
.hs-glyph,
|
||||
.hs-special {
|
||||
color: @overlay2;
|
||||
}
|
||||
|
||||
span.comment,
|
||||
.hs-comment,
|
||||
.hs-comment a {
|
||||
color: @overlay0;
|
||||
}
|
||||
|
||||
span.cpp,
|
||||
.hs-pragma,
|
||||
.hs-cpp {
|
||||
color: @pink;
|
||||
}
|
||||
|
||||
pre a {
|
||||
&:link,
|
||||
&:visited {
|
||||
border-bottom-color: @surface0;
|
||||
}
|
||||
&:hover,
|
||||
&.hover-highlight {
|
||||
background-color: @surface0;
|
||||
}
|
||||
}
|
||||
|
||||
span.annot {
|
||||
color: @text;
|
||||
|
||||
&:hover {
|
||||
background-color: @surface1;
|
||||
}
|
||||
|
||||
span.annottext {
|
||||
background-color: @surface0;
|
||||
border-color: @accent-color;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* prettier-ignore */
|
||||
@catppuccin: {
|
||||
@latte: {
|
||||
@rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8;
|
||||
@text-filter: brightness(0) saturate(100%) invert(30%) sepia(10%) saturate(1259%) hue-rotate(196deg) brightness(97%) contrast(91%);
|
||||
@synopsis-filter: sepia(100%) invert(100%) saturate(0) invert(94%) sepia(7%) saturate(345%) hue-rotate(188deg) brightness(91%) contrast(87%);
|
||||
};
|
||||
@frappe: {
|
||||
@rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634;
|
||||
@text-filter: brightness(0) saturate(100%) invert(84%) sepia(5%) saturate(1519%) hue-rotate(192deg) brightness(100%) contrast(93%);
|
||||
@synopsis-filter: sepia(100%) invert(100%) saturate(0) invert(25%) sepia(25%) saturate(486%) hue-rotate(193deg) brightness(90%) contrast(89%);
|
||||
};
|
||||
@macchiato: {
|
||||
@rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926;
|
||||
@text-filter: brightness(0) saturate(100%) invert(81%) sepia(9%) saturate(726%) hue-rotate(192deg) brightness(104%) contrast(92%);
|
||||
@synopsis-filter: sepia(100%) invert(100%) saturate(0) invert(19%) sepia(15%) saturate(979%) hue-rotate(193deg) brightness(101%) contrast(90%);
|
||||
};
|
||||
@mocha: {
|
||||
@rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b;
|
||||
@text-filter: brightness(0) saturate(100%) invert(85%) sepia(6%) saturate(1356%) hue-rotate(194deg) brightness(103%) contrast(91%);
|
||||
@synopsis-filter: sepia(100%) invert(100%) saturate(0) invert(17%) sepia(17%) saturate(874%) hue-rotate(198deg) brightness(90%) contrast(89%);
|
||||
};
|
||||
}
|
||||
|
||||
// vim:ft=less
|
||||
==/UserStyle== */
|
||||
@@ -0,0 +1,805 @@
|
||||
/* ==UserStyle==
|
||||
@name Hackage Catppuccin
|
||||
@namespace github.com/catppuccin/userstyles/styles/hackage
|
||||
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/hackage
|
||||
@version 2024.12.29.1
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/hackage/catppuccin.user.less
|
||||
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Ahackage
|
||||
@description Soothing pastel theme for Hackage
|
||||
@author Catppuccin
|
||||
@license MIT
|
||||
|
||||
@preprocessor less
|
||||
@var select lightFlavor "Light Flavor" ["latte:Latte*", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha"]
|
||||
@var select darkFlavor "Dark Flavor" ["latte:Latte", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha*"]
|
||||
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
|
||||
==/UserStyle== */
|
||||
|
||||
@-moz-document domain("hackage.haskell.org") {
|
||||
@media (prefers-color-scheme: light) {
|
||||
:root {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
|
||||
#catppuccin(@lookup, @accent) {
|
||||
@rosewater: @catppuccin[@@lookup][@rosewater];
|
||||
@flamingo: @catppuccin[@@lookup][@flamingo];
|
||||
@pink: @catppuccin[@@lookup][@pink];
|
||||
@mauve: @catppuccin[@@lookup][@mauve];
|
||||
@red: @catppuccin[@@lookup][@red];
|
||||
@maroon: @catppuccin[@@lookup][@maroon];
|
||||
@peach: @catppuccin[@@lookup][@peach];
|
||||
@yellow: @catppuccin[@@lookup][@yellow];
|
||||
@green: @catppuccin[@@lookup][@green];
|
||||
@teal: @catppuccin[@@lookup][@teal];
|
||||
@sky: @catppuccin[@@lookup][@sky];
|
||||
@sapphire: @catppuccin[@@lookup][@sapphire];
|
||||
@blue: @catppuccin[@@lookup][@blue];
|
||||
@lavender: @catppuccin[@@lookup][@lavender];
|
||||
@text: @catppuccin[@@lookup][@text];
|
||||
@subtext1: @catppuccin[@@lookup][@subtext1];
|
||||
@subtext0: @catppuccin[@@lookup][@subtext0];
|
||||
@overlay2: @catppuccin[@@lookup][@overlay2];
|
||||
@overlay1: @catppuccin[@@lookup][@overlay1];
|
||||
@overlay0: @catppuccin[@@lookup][@overlay0];
|
||||
@surface2: @catppuccin[@@lookup][@surface2];
|
||||
@surface1: @catppuccin[@@lookup][@surface1];
|
||||
@surface0: @catppuccin[@@lookup][@surface0];
|
||||
@base: @catppuccin[@@lookup][@base];
|
||||
@mantle: @catppuccin[@@lookup][@mantle];
|
||||
@crust: @catppuccin[@@lookup][@crust];
|
||||
@accent-color: @catppuccin[@@lookup][@@accent];
|
||||
@text-filter: @catppuccin[@@lookup][@text-filter];
|
||||
@synopsis-filter: @catppuccin[@@lookup][@synopsis-filter];
|
||||
|
||||
color-scheme: if(@lookup = latte, light, dark);
|
||||
|
||||
::selection {
|
||||
background-color: fade(@accent-color, 30%);
|
||||
}
|
||||
|
||||
input,
|
||||
textarea {
|
||||
&::placeholder {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
&,
|
||||
body {
|
||||
background-color: @base;
|
||||
color: @text;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
background-color: inherit;
|
||||
}
|
||||
|
||||
a[href]:link {
|
||||
color: @accent-color;
|
||||
}
|
||||
a[href]:visited {
|
||||
color: average(@overlay2, @accent-color);
|
||||
}
|
||||
|
||||
a[href].def:link,
|
||||
a[href].def:visited {
|
||||
color: @subtext0;
|
||||
}
|
||||
a[href].def:hover {
|
||||
color: average(@overlay2, @subtext0);
|
||||
}
|
||||
|
||||
.caption,
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6,
|
||||
summary,
|
||||
.section1,
|
||||
.section2,
|
||||
.section3,
|
||||
.section4,
|
||||
.section5,
|
||||
.section6 {
|
||||
color: overlay(@accent-color, @surface0);
|
||||
filter: none;
|
||||
}
|
||||
|
||||
.collapser::before,
|
||||
.expander::before,
|
||||
.noexpander::before {
|
||||
color: @accent-color;
|
||||
}
|
||||
|
||||
pre {
|
||||
background-color: @mantle;
|
||||
border-color: @surface1;
|
||||
}
|
||||
|
||||
blockquote {
|
||||
background-color: @surface0;
|
||||
border-color: @accent-color;
|
||||
}
|
||||
|
||||
.src,
|
||||
.decl,
|
||||
.declname,
|
||||
.declbut,
|
||||
.topdecl,
|
||||
.arg {
|
||||
background-color: @mantle;
|
||||
color: @text;
|
||||
}
|
||||
|
||||
.declbut {
|
||||
border-color: @overlay0 !important;
|
||||
a {
|
||||
color: @overlay2 !important;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Headers
|
||||
*/
|
||||
|
||||
#page-header,
|
||||
#package-header {
|
||||
background-color: @accent-color;
|
||||
color: @surface1;
|
||||
border-color: shade(@accent-color, 25%);
|
||||
}
|
||||
|
||||
#page-header .caption,
|
||||
#package-header .caption,
|
||||
#page-header a:link,
|
||||
#page-header a:visited {
|
||||
color: @base !important;
|
||||
}
|
||||
|
||||
#module-header .caption,
|
||||
.modulebar {
|
||||
color: @accent-color;
|
||||
border-color: @surface1;
|
||||
}
|
||||
|
||||
#module-header {
|
||||
background-color: inherit;
|
||||
}
|
||||
|
||||
#package-header {
|
||||
&,
|
||||
#page-menu {
|
||||
a:link,
|
||||
a:visited {
|
||||
color: @base;
|
||||
}
|
||||
}
|
||||
a:hover {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
ul.links li {
|
||||
border-color: @overlay0;
|
||||
|
||||
&:hover {
|
||||
background-color: transparent;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
ul.links li form {
|
||||
input,
|
||||
button {
|
||||
color: @base;
|
||||
}
|
||||
}
|
||||
|
||||
.topbar {
|
||||
background-color: @accent-color;
|
||||
|
||||
.topbut {
|
||||
border-color: @overlay0;
|
||||
|
||||
a {
|
||||
background-color: transparent;
|
||||
color: @base;
|
||||
}
|
||||
}
|
||||
.title {
|
||||
color: @base;
|
||||
}
|
||||
}
|
||||
|
||||
.botbar {
|
||||
background-color: @crust;
|
||||
color: @text;
|
||||
}
|
||||
|
||||
/*
|
||||
* Style selectors (for old packages)
|
||||
*/
|
||||
|
||||
#style-menu {
|
||||
background-color: @mantle;
|
||||
|
||||
li {
|
||||
&,
|
||||
a {
|
||||
color: @text !important;
|
||||
}
|
||||
+ li {
|
||||
border-color: @overlay2;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Versions
|
||||
*/
|
||||
|
||||
a.unpreferred[href]:link,
|
||||
a.unpreferred[href]:visited {
|
||||
color: @yellow;
|
||||
}
|
||||
|
||||
a.deprecated[href]:link,
|
||||
a.deprecated[href]:visited {
|
||||
color: @red;
|
||||
}
|
||||
|
||||
.versions {
|
||||
a.normal[href]:link,
|
||||
a.normal[href]:visited {
|
||||
color: @green;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Readme style
|
||||
*/
|
||||
|
||||
.embedded-author-content {
|
||||
border-color: @accent-color;
|
||||
}
|
||||
|
||||
/*
|
||||
* Contents & synopsis
|
||||
*/
|
||||
|
||||
#contents-list {
|
||||
background-color: @mantle;
|
||||
}
|
||||
|
||||
#table-of-contents {
|
||||
background-color: @base;
|
||||
border-color: @surface1;
|
||||
}
|
||||
|
||||
#synopsis {
|
||||
summary,
|
||||
#control\.syn {
|
||||
filter: @synopsis-filter;
|
||||
}
|
||||
|
||||
ul {
|
||||
&,
|
||||
li.src {
|
||||
background-color: @surface0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Quick jump
|
||||
*/
|
||||
|
||||
#search p.error {
|
||||
color: @red;
|
||||
}
|
||||
|
||||
#search-form,
|
||||
#search-results {
|
||||
box-shadow: 2px 2px 6px fade(@mantle, 20%);
|
||||
}
|
||||
|
||||
#search-form {
|
||||
input {
|
||||
border-color: @accent-color;
|
||||
}
|
||||
}
|
||||
|
||||
#search-results {
|
||||
border-color: @accent-color;
|
||||
|
||||
& > ul > li {
|
||||
border-bottom-color: @overlay0;
|
||||
}
|
||||
}
|
||||
|
||||
.search-module > ul > li > a[href].active-link {
|
||||
background-color: @surface2;
|
||||
}
|
||||
|
||||
.search-result ul.subs::after {
|
||||
color: @subtext1;
|
||||
}
|
||||
|
||||
.more-results,
|
||||
.more-results::before {
|
||||
color: @subtext0;
|
||||
}
|
||||
|
||||
.keyboard-shortcuts th {
|
||||
color: @accent-color;
|
||||
}
|
||||
|
||||
.key {
|
||||
background-color: @mantle;
|
||||
color: @text;
|
||||
border-color: @mantle;
|
||||
}
|
||||
|
||||
/*
|
||||
* Dropdown
|
||||
*/
|
||||
|
||||
.dropdown-menu {
|
||||
background-color: @surface0;
|
||||
border-color: @surface0;
|
||||
|
||||
button {
|
||||
background-color: @accent-color;
|
||||
color: @mantle;
|
||||
border-color: @surface2;
|
||||
|
||||
&:hover,
|
||||
&:active {
|
||||
background-color: @accent-color;
|
||||
color: @mantle;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Tables
|
||||
*/
|
||||
|
||||
table {
|
||||
&.info {
|
||||
background-color: @base;
|
||||
color: @subtext1;
|
||||
border-color: @surface1;
|
||||
}
|
||||
|
||||
&.fancy {
|
||||
&,
|
||||
tr {
|
||||
border-color: @surface1;
|
||||
}
|
||||
tr.even td {
|
||||
background-color: @mantle;
|
||||
}
|
||||
}
|
||||
|
||||
&.fancy,
|
||||
&.properties,
|
||||
&.dataTable.compact.fancy tbody {
|
||||
th,
|
||||
td {
|
||||
background-color: @base;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.doc {
|
||||
th,
|
||||
td {
|
||||
border-color: @surface1;
|
||||
}
|
||||
th {
|
||||
background-color: @mantle;
|
||||
}
|
||||
}
|
||||
|
||||
.infohead,
|
||||
.infoval {
|
||||
color: @subtext1;
|
||||
}
|
||||
|
||||
div#table_length.dataTables_length,
|
||||
div#table_filter.dataTables_filter {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
div #description table {
|
||||
&,
|
||||
tr td {
|
||||
border-color: @surface1;
|
||||
}
|
||||
th {
|
||||
background-color: @mantle;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Source links
|
||||
*/
|
||||
|
||||
#interface {
|
||||
.src {
|
||||
.link,
|
||||
.selflink {
|
||||
color: @overlay2 !important;
|
||||
background-color: transparent !important;
|
||||
}
|
||||
}
|
||||
p.src .link {
|
||||
background-color: transparent;
|
||||
color: @overlay2;
|
||||
border-color: @overlay1;
|
||||
}
|
||||
|
||||
span.fixity,
|
||||
span.rightedge {
|
||||
color: @overlay1;
|
||||
border-left-color: @overlay1;
|
||||
}
|
||||
span.fixity {
|
||||
color: @overlay1;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Paginator
|
||||
*/
|
||||
|
||||
.paginator {
|
||||
span {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
a {
|
||||
color: @overlay1;
|
||||
|
||||
&[href]:link,
|
||||
&:link:hover {
|
||||
color: @accent-color;
|
||||
}
|
||||
&:visited,
|
||||
&:visited:hover {
|
||||
color: average(@overlay2, @accent-color);
|
||||
}
|
||||
&:link:hover,
|
||||
&:visited:hover {
|
||||
background-image: none;
|
||||
background-color: @surface1;
|
||||
border-color: transparent;
|
||||
}
|
||||
}
|
||||
|
||||
.current,
|
||||
.current:hover {
|
||||
background-image: none;
|
||||
background-color: @surface0;
|
||||
color: @accent-color;
|
||||
border-color: transparent;
|
||||
}
|
||||
}
|
||||
|
||||
.paginate_button {
|
||||
background-color: @overlay0;
|
||||
}
|
||||
|
||||
/*
|
||||
* Search query
|
||||
*/
|
||||
|
||||
#browseTable th {
|
||||
border-color: @surface1;
|
||||
}
|
||||
|
||||
#fatalError {
|
||||
color: @red;
|
||||
}
|
||||
|
||||
input:invalid {
|
||||
border-color: @yellow;
|
||||
box-shadow: 0 0 10px @yellow;
|
||||
}
|
||||
|
||||
input {
|
||||
background-color: @mantle;
|
||||
border-style: solid;
|
||||
border-color: @surface0;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
input[type="range"] {
|
||||
-moz-appearance: none;
|
||||
-webkit-appearance: none;
|
||||
appearance: none;
|
||||
background-color: @mantle;
|
||||
height: 0.2em !important;
|
||||
|
||||
&::-moz-range-thumb,
|
||||
&::-webkit-slider-thumb {
|
||||
background-color: @text;
|
||||
border-color: @surface0;
|
||||
height: 1em !important;
|
||||
}
|
||||
}
|
||||
|
||||
input[type="submit"] {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
input[type="range"]:hover,
|
||||
input[type="submit"]:hover {
|
||||
background-color: @crust;
|
||||
}
|
||||
|
||||
/*
|
||||
* Others
|
||||
*/
|
||||
|
||||
.candidate-warn {
|
||||
background-color: @mantle;
|
||||
border-color: @red;
|
||||
}
|
||||
|
||||
.candidate-info {
|
||||
background-color: @mantle;
|
||||
border-color: @blue;
|
||||
}
|
||||
|
||||
.box {
|
||||
background-color: @base;
|
||||
border-color: @base;
|
||||
}
|
||||
|
||||
div#modal #content,
|
||||
#search-results {
|
||||
background-color: @surface0;
|
||||
}
|
||||
|
||||
.subs,
|
||||
.top > .doc,
|
||||
.subs > .doc {
|
||||
border-left-color: @surface1;
|
||||
}
|
||||
|
||||
.subs .subs p.src {
|
||||
background-color: @mantle;
|
||||
}
|
||||
|
||||
.top p.src {
|
||||
border-color: @surface0;
|
||||
}
|
||||
|
||||
.warning,
|
||||
strong.warning {
|
||||
color: @red;
|
||||
}
|
||||
|
||||
small.info,
|
||||
.flags-table .flag-disabled {
|
||||
color: @subtext0;
|
||||
}
|
||||
|
||||
.text-button {
|
||||
color: @accent-color;
|
||||
}
|
||||
|
||||
p.registration-email {
|
||||
border-color: @accent-color;
|
||||
}
|
||||
|
||||
:target {
|
||||
background-image: linear-gradient(
|
||||
to bottom,
|
||||
transparent 0%,
|
||||
transparent 65%,
|
||||
average(@surface0, @yellow) 60%,
|
||||
average(@surface0, @yellow) 100%
|
||||
);
|
||||
}
|
||||
:target:hover {
|
||||
background-image: linear-gradient(
|
||||
to bottom,
|
||||
overlay(@surface0, @yellow) 0%,
|
||||
overlay(@surface0, @yellow) 100%
|
||||
);
|
||||
}
|
||||
|
||||
#footer {
|
||||
background-color: @crust;
|
||||
color: @subtext1;
|
||||
border-color: @overlay0;
|
||||
}
|
||||
|
||||
/*
|
||||
* MathJax
|
||||
*/
|
||||
|
||||
#MathJax_Message {
|
||||
background-color: @mantle;
|
||||
border-color: @surface1;
|
||||
color: @text;
|
||||
}
|
||||
|
||||
#MathJax_About,
|
||||
#MathJax_Help,
|
||||
.MathJax_Menu {
|
||||
background-color: @surface0;
|
||||
color: @text;
|
||||
border-color: @accent-color;
|
||||
box-shadow: 0 10px 20px @mantle;
|
||||
-webkit-box-shadow: 0 10px 20px @mantle;
|
||||
-moz-box-shadow: 0 10px 20px @mantle;
|
||||
}
|
||||
|
||||
#MathJax_About > span,
|
||||
#MathJax_HelpContent {
|
||||
background-color: @surface1 !important;
|
||||
color: @subtext1 !important;
|
||||
border-color: @overlay0 !important;
|
||||
}
|
||||
|
||||
.MathJax_MenuArrow {
|
||||
color: @subtext1;
|
||||
}
|
||||
|
||||
.MathJax_MenuRule {
|
||||
border-top-color: @overlay0;
|
||||
}
|
||||
|
||||
.MathJax_MenuActive {
|
||||
background-color: @surface1;
|
||||
color: @text;
|
||||
}
|
||||
|
||||
.MathJax_MenuDisabled {
|
||||
color: @overlay2;
|
||||
}
|
||||
|
||||
.MathJax_MenuDisabled:focus,
|
||||
.MathJax_MenuLabel:focus {
|
||||
background-color: @surface1;
|
||||
}
|
||||
|
||||
#MathJax_AboutClose,
|
||||
#MathJax_HelpClose {
|
||||
border-color: @surface2;
|
||||
color: @subtext0;
|
||||
span {
|
||||
background-color: @surface2;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
color: @text !important;
|
||||
border-color: @overlay0 !important;
|
||||
span {
|
||||
background-color: @overlay0 !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
span.mathjax img {
|
||||
filter: @text-filter;
|
||||
}
|
||||
|
||||
/*
|
||||
* Sources
|
||||
*/
|
||||
|
||||
span.definition,
|
||||
.hs-identifier {
|
||||
color: @blue;
|
||||
}
|
||||
|
||||
.hs-identifier.hs-type {
|
||||
color: @yellow;
|
||||
}
|
||||
|
||||
span.keyword,
|
||||
.hs-keyword {
|
||||
color: @mauve;
|
||||
}
|
||||
|
||||
span.str,
|
||||
span.char,
|
||||
.hs-string,
|
||||
.hs-char,
|
||||
.hs-str,
|
||||
.hs-chr {
|
||||
color: @green;
|
||||
}
|
||||
|
||||
.hs-number {
|
||||
color: @peach;
|
||||
}
|
||||
|
||||
.hs-operator {
|
||||
color: @sky;
|
||||
}
|
||||
|
||||
span.keyglyph,
|
||||
span.layout,
|
||||
span.conop,
|
||||
.hs-keyglyph,
|
||||
.hs-layout,
|
||||
.hs-glyph,
|
||||
.hs-special {
|
||||
color: @overlay2;
|
||||
}
|
||||
|
||||
span.comment,
|
||||
.hs-comment,
|
||||
.hs-comment a {
|
||||
color: @overlay0;
|
||||
}
|
||||
|
||||
span.cpp,
|
||||
.hs-pragma,
|
||||
.hs-cpp {
|
||||
color: @pink;
|
||||
}
|
||||
|
||||
pre a {
|
||||
&:link,
|
||||
&:visited {
|
||||
border-bottom-color: @surface0;
|
||||
}
|
||||
&:hover,
|
||||
&.hover-highlight {
|
||||
background-color: @surface0;
|
||||
}
|
||||
}
|
||||
|
||||
span.annot {
|
||||
color: @text;
|
||||
|
||||
&:hover {
|
||||
background-color: @surface1;
|
||||
}
|
||||
|
||||
span.annottext {
|
||||
background-color: @surface0;
|
||||
border-color: @accent-color;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* deno-fmt-ignore */
|
||||
@catppuccin: {
|
||||
@latte: {
|
||||
@rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8;
|
||||
@text-filter: brightness(0) saturate(100%) invert(30%) sepia(10%) saturate(1259%) hue-rotate(196deg) brightness(97%) contrast(91%);
|
||||
@synopsis-filter: sepia(100%) invert(100%) saturate(0) invert(94%) sepia(7%) saturate(345%) hue-rotate(188deg) brightness(91%) contrast(87%);
|
||||
};
|
||||
@frappe: {
|
||||
@rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634;
|
||||
@text-filter: brightness(0) saturate(100%) invert(84%) sepia(5%) saturate(1519%) hue-rotate(192deg) brightness(100%) contrast(93%);
|
||||
@synopsis-filter: sepia(100%) invert(100%) saturate(0) invert(25%) sepia(25%) saturate(486%) hue-rotate(193deg) brightness(90%) contrast(89%);
|
||||
};
|
||||
@macchiato: {
|
||||
@rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926;
|
||||
@text-filter: brightness(0) saturate(100%) invert(81%) sepia(9%) saturate(726%) hue-rotate(192deg) brightness(104%) contrast(92%);
|
||||
@synopsis-filter: sepia(100%) invert(100%) saturate(0) invert(19%) sepia(15%) saturate(979%) hue-rotate(193deg) brightness(101%) contrast(90%);
|
||||
};
|
||||
@mocha: {
|
||||
@rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b;
|
||||
@text-filter: brightness(0) saturate(100%) invert(85%) sepia(6%) saturate(1356%) hue-rotate(194deg) brightness(103%) contrast(91%);
|
||||
@synopsis-filter: sepia(100%) invert(100%) saturate(0) invert(17%) sepia(17%) saturate(874%) hue-rotate(198deg) brightness(90%) contrast(89%);
|
||||
};
|
||||
};
|
||||
@@ -1,9 +1,9 @@
|
||||
/* ==UserStyle==
|
||||
@name Hacker News Catppuccin
|
||||
@name Hacker News Catppuccin [STUB | UPDATE REQUIRED]
|
||||
@namespace github.com/catppuccin/userstyles/styles/hacker-news
|
||||
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/hacker-news
|
||||
@version 2024.12.28
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/hacker-news/catppuccin.user.css
|
||||
@version 2024.12.29
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/hacker-news/catppuccin.user.less
|
||||
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Ahacker-news
|
||||
@description Soothing pastel theme for Hacker News
|
||||
@author Catppuccin
|
||||
@@ -13,198 +13,4 @@
|
||||
@var select lightFlavor "Light Flavor" ["latte:Latte*", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha"]
|
||||
@var select darkFlavor "Dark Flavor" ["latte:Latte", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha*"]
|
||||
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
|
||||
==/UserStyle== */
|
||||
|
||||
@-moz-document domain("news.ycombinator.com") {
|
||||
@media (prefers-color-scheme: light) {
|
||||
:root {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
|
||||
#catppuccin(@lookup, @accent) {
|
||||
@rosewater: @catppuccin[@@lookup][@rosewater];
|
||||
@flamingo: @catppuccin[@@lookup][@flamingo];
|
||||
@pink: @catppuccin[@@lookup][@pink];
|
||||
@mauve: @catppuccin[@@lookup][@mauve];
|
||||
@red: @catppuccin[@@lookup][@red];
|
||||
@maroon: @catppuccin[@@lookup][@maroon];
|
||||
@peach: @catppuccin[@@lookup][@peach];
|
||||
@yellow: @catppuccin[@@lookup][@yellow];
|
||||
@green: @catppuccin[@@lookup][@green];
|
||||
@teal: @catppuccin[@@lookup][@teal];
|
||||
@sky: @catppuccin[@@lookup][@sky];
|
||||
@sapphire: @catppuccin[@@lookup][@sapphire];
|
||||
@blue: @catppuccin[@@lookup][@blue];
|
||||
@lavender: @catppuccin[@@lookup][@lavender];
|
||||
@text: @catppuccin[@@lookup][@text];
|
||||
@subtext1: @catppuccin[@@lookup][@subtext1];
|
||||
@subtext0: @catppuccin[@@lookup][@subtext0];
|
||||
@overlay2: @catppuccin[@@lookup][@overlay2];
|
||||
@overlay1: @catppuccin[@@lookup][@overlay1];
|
||||
@overlay0: @catppuccin[@@lookup][@overlay0];
|
||||
@surface2: @catppuccin[@@lookup][@surface2];
|
||||
@surface1: @catppuccin[@@lookup][@surface1];
|
||||
@surface0: @catppuccin[@@lookup][@surface0];
|
||||
@base: @catppuccin[@@lookup][@base];
|
||||
@mantle: @catppuccin[@@lookup][@mantle];
|
||||
@crust: @catppuccin[@@lookup][@crust];
|
||||
@accent-color: @catppuccin[@@lookup][@@accent];
|
||||
|
||||
color-scheme: if(@lookup = latte, light, dark);
|
||||
|
||||
::selection {
|
||||
background-color: fade(@accent-color, 30%);
|
||||
}
|
||||
|
||||
input,
|
||||
textarea {
|
||||
&::placeholder {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
[bgcolor="#fafaf0"],
|
||||
[bgcolor="#f6f6ef"] {
|
||||
background-color: @base;
|
||||
}
|
||||
body {
|
||||
background-color: @mantle;
|
||||
color: @text;
|
||||
}
|
||||
|
||||
td {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
/* Header */
|
||||
td[bgcolor="#ff6600"] {
|
||||
background-color: @accent-color;
|
||||
|
||||
.pagetop,
|
||||
.pagetop a {
|
||||
color: @crust !important;
|
||||
}
|
||||
|
||||
img[src="y18.svg"] {
|
||||
@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>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
border-color: @crust !important;
|
||||
}
|
||||
|
||||
[color="#ffffff"] {
|
||||
color: @crust;
|
||||
}
|
||||
}
|
||||
|
||||
td[bgcolor="#ffffaa"] {
|
||||
background-color: @yellow;
|
||||
|
||||
td {
|
||||
color: @crust;
|
||||
}
|
||||
}
|
||||
|
||||
.subtext,
|
||||
.comhead {
|
||||
&,
|
||||
a:link,
|
||||
a:visited,
|
||||
a:hover {
|
||||
color: @overlay2 !important;
|
||||
}
|
||||
}
|
||||
|
||||
a:link {
|
||||
color: @blue;
|
||||
&:hover {
|
||||
color: @sky;
|
||||
}
|
||||
}
|
||||
.hnmore a:link,
|
||||
a:visited {
|
||||
color: @lavender;
|
||||
}
|
||||
|
||||
[color="#3c963c"] {
|
||||
color: @green;
|
||||
}
|
||||
|
||||
/* Story points */
|
||||
.score {
|
||||
color: @subtext0;
|
||||
}
|
||||
|
||||
/* Story ranking number */
|
||||
.title {
|
||||
color: @lavender;
|
||||
}
|
||||
|
||||
/* Comment text */
|
||||
.commtext {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
/* Comment box */
|
||||
input,
|
||||
textarea,
|
||||
select {
|
||||
background-color: @mantle;
|
||||
color: @text;
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
border-color: @surface0;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
input {
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
/* Poll questions */
|
||||
td.comment > div > font {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
/* Text post content */
|
||||
.toptext {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
.votearrow {
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" height="32" viewBox="0 0 32 16" width="32"><path d="M2 27 16-2l14 29z" fill="@{subtext0}"/></svg>'
|
||||
);
|
||||
background-image: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
|
||||
.yclinks {
|
||||
color: @surface2;
|
||||
}
|
||||
|
||||
b {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
table[bgcolor="#ff6600"] {
|
||||
background-color: @accent-color;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* prettier-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; };
|
||||
}
|
||||
|
||||
// vim:ft=less
|
||||
==/UserStyle== */
|
||||
@@ -0,0 +1,208 @@
|
||||
/* ==UserStyle==
|
||||
@name Hacker News Catppuccin
|
||||
@namespace github.com/catppuccin/userstyles/styles/hacker-news
|
||||
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/hacker-news
|
||||
@version 2024.12.29.1
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/hacker-news/catppuccin.user.less
|
||||
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Ahacker-news
|
||||
@description Soothing pastel theme for Hacker News
|
||||
@author Catppuccin
|
||||
@license MIT
|
||||
|
||||
@preprocessor less
|
||||
@var select lightFlavor "Light Flavor" ["latte:Latte*", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha"]
|
||||
@var select darkFlavor "Dark Flavor" ["latte:Latte", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha*"]
|
||||
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
|
||||
==/UserStyle== */
|
||||
|
||||
@-moz-document domain("news.ycombinator.com") {
|
||||
@media (prefers-color-scheme: light) {
|
||||
:root {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
|
||||
#catppuccin(@lookup, @accent) {
|
||||
@rosewater: @catppuccin[@@lookup][@rosewater];
|
||||
@flamingo: @catppuccin[@@lookup][@flamingo];
|
||||
@pink: @catppuccin[@@lookup][@pink];
|
||||
@mauve: @catppuccin[@@lookup][@mauve];
|
||||
@red: @catppuccin[@@lookup][@red];
|
||||
@maroon: @catppuccin[@@lookup][@maroon];
|
||||
@peach: @catppuccin[@@lookup][@peach];
|
||||
@yellow: @catppuccin[@@lookup][@yellow];
|
||||
@green: @catppuccin[@@lookup][@green];
|
||||
@teal: @catppuccin[@@lookup][@teal];
|
||||
@sky: @catppuccin[@@lookup][@sky];
|
||||
@sapphire: @catppuccin[@@lookup][@sapphire];
|
||||
@blue: @catppuccin[@@lookup][@blue];
|
||||
@lavender: @catppuccin[@@lookup][@lavender];
|
||||
@text: @catppuccin[@@lookup][@text];
|
||||
@subtext1: @catppuccin[@@lookup][@subtext1];
|
||||
@subtext0: @catppuccin[@@lookup][@subtext0];
|
||||
@overlay2: @catppuccin[@@lookup][@overlay2];
|
||||
@overlay1: @catppuccin[@@lookup][@overlay1];
|
||||
@overlay0: @catppuccin[@@lookup][@overlay0];
|
||||
@surface2: @catppuccin[@@lookup][@surface2];
|
||||
@surface1: @catppuccin[@@lookup][@surface1];
|
||||
@surface0: @catppuccin[@@lookup][@surface0];
|
||||
@base: @catppuccin[@@lookup][@base];
|
||||
@mantle: @catppuccin[@@lookup][@mantle];
|
||||
@crust: @catppuccin[@@lookup][@crust];
|
||||
@accent-color: @catppuccin[@@lookup][@@accent];
|
||||
|
||||
color-scheme: if(@lookup = latte, light, dark);
|
||||
|
||||
::selection {
|
||||
background-color: fade(@accent-color, 30%);
|
||||
}
|
||||
|
||||
input,
|
||||
textarea {
|
||||
&::placeholder {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
[bgcolor="#fafaf0"],
|
||||
[bgcolor="#f6f6ef"] {
|
||||
background-color: @base;
|
||||
}
|
||||
body {
|
||||
background-color: @mantle;
|
||||
color: @text;
|
||||
}
|
||||
|
||||
td {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
/* Header */
|
||||
td[bgcolor="#ff6600"] {
|
||||
background-color: @accent-color;
|
||||
|
||||
.pagetop,
|
||||
.pagetop a {
|
||||
color: @crust !important;
|
||||
}
|
||||
|
||||
img[src="y18.svg"] {
|
||||
@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>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
border-color: @crust !important;
|
||||
}
|
||||
|
||||
[color="#ffffff"] {
|
||||
color: @crust;
|
||||
}
|
||||
}
|
||||
|
||||
td[bgcolor="#ffffaa"] {
|
||||
background-color: @yellow;
|
||||
|
||||
td {
|
||||
color: @crust;
|
||||
}
|
||||
}
|
||||
|
||||
.subtext,
|
||||
.comhead {
|
||||
&,
|
||||
a:link,
|
||||
a:visited,
|
||||
a:hover {
|
||||
color: @overlay2 !important;
|
||||
}
|
||||
}
|
||||
|
||||
a:link {
|
||||
color: @blue;
|
||||
&:hover {
|
||||
color: @sky;
|
||||
}
|
||||
}
|
||||
.hnmore a:link,
|
||||
a:visited {
|
||||
color: @lavender;
|
||||
}
|
||||
|
||||
[color="#3c963c"] {
|
||||
color: @green;
|
||||
}
|
||||
|
||||
/* Story points */
|
||||
.score {
|
||||
color: @subtext0;
|
||||
}
|
||||
|
||||
/* Story ranking number */
|
||||
.title {
|
||||
color: @lavender;
|
||||
}
|
||||
|
||||
/* Comment text */
|
||||
.commtext {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
/* Comment box */
|
||||
input,
|
||||
textarea,
|
||||
select {
|
||||
background-color: @mantle;
|
||||
color: @text;
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
border-color: @surface0;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
input {
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
/* Poll questions */
|
||||
td.comment > div > font {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
/* Text post content */
|
||||
.toptext {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
.votearrow {
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" height="32" viewBox="0 0 32 16" width="32"><path d="M2 27 16-2l14 29z" fill="@{subtext0}"/></svg>'
|
||||
);
|
||||
background-image: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
|
||||
.yclinks {
|
||||
color: @surface2;
|
||||
}
|
||||
|
||||
b {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
table[bgcolor="#ff6600"] {
|
||||
background-color: @accent-color;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* deno-fmt-ignore */
|
||||
@catppuccin: {
|
||||
@latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
|
||||
@frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
|
||||
@macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
|
||||
@mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
|
||||
};
|
||||
@@ -1,9 +1,9 @@
|
||||
/* ==UserStyle==
|
||||
@name Have I Been Pwned Catppuccin
|
||||
@name Have I Been Pwned Catppuccin [STUB | UPDATE REQUIRED]
|
||||
@namespace github.com/catppuccin/userstyles/styles/have-i-been-pwned
|
||||
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/have-i-been-pwned
|
||||
@version 2024.12.28
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/have-i-been-pwned/catppuccin.user.css
|
||||
@version 2024.12.29
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/have-i-been-pwned/catppuccin.user.less
|
||||
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Ahave-i-been-pwned
|
||||
@description Soothing pastel theme for Have I Been Pwned
|
||||
@author Catppuccin
|
||||
@@ -13,451 +13,4 @@
|
||||
@var select lightFlavor "Light Flavor" ["latte:Latte*", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha"]
|
||||
@var select darkFlavor "Dark Flavor" ["latte:Latte", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha*"]
|
||||
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
|
||||
==/UserStyle== */
|
||||
|
||||
@-moz-document domain('haveibeenpwned.com') {
|
||||
@media (prefers-color-scheme: light) {
|
||||
:root {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
|
||||
#catppuccin(@lookup, @accent) {
|
||||
@rosewater: @catppuccin[@@lookup][@rosewater];
|
||||
@flamingo: @catppuccin[@@lookup][@flamingo];
|
||||
@pink: @catppuccin[@@lookup][@pink];
|
||||
@mauve: @catppuccin[@@lookup][@mauve];
|
||||
@red: @catppuccin[@@lookup][@red];
|
||||
@maroon: @catppuccin[@@lookup][@maroon];
|
||||
@peach: @catppuccin[@@lookup][@peach];
|
||||
@yellow: @catppuccin[@@lookup][@yellow];
|
||||
@green: @catppuccin[@@lookup][@green];
|
||||
@teal: @catppuccin[@@lookup][@teal];
|
||||
@sky: @catppuccin[@@lookup][@sky];
|
||||
@sapphire: @catppuccin[@@lookup][@sapphire];
|
||||
@blue: @catppuccin[@@lookup][@blue];
|
||||
@lavender: @catppuccin[@@lookup][@lavender];
|
||||
@text: @catppuccin[@@lookup][@text];
|
||||
@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];
|
||||
|
||||
color-scheme: if(@lookup = latte, light, dark);
|
||||
|
||||
::selection {
|
||||
background-color: fade(@accent-color, 30%);
|
||||
}
|
||||
|
||||
input,
|
||||
textarea {
|
||||
&::placeholder {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: @base;
|
||||
color: @text;
|
||||
}
|
||||
|
||||
hr {
|
||||
border-color: @surface0;
|
||||
}
|
||||
|
||||
a {
|
||||
&,
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: @text;
|
||||
border-bottom-color: @surface2;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
background-color: fade(@accent-color, 30%);
|
||||
}
|
||||
}
|
||||
|
||||
img.pwnLogo.large.modalLogo {
|
||||
filter: @text_filter;
|
||||
}
|
||||
|
||||
.bodyGradient {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
.modal-header {
|
||||
background: @crust;
|
||||
|
||||
.close {
|
||||
color: @text;
|
||||
}
|
||||
}
|
||||
|
||||
.fa-loader,
|
||||
.loaderText {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
#postNotificationCallsToAction {
|
||||
.btn {
|
||||
background-color: @crust;
|
||||
color: @text;
|
||||
}
|
||||
|
||||
a.socialLink {
|
||||
&,
|
||||
&:link,
|
||||
&:visited {
|
||||
color: @text;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.modal-content {
|
||||
background-color: @base;
|
||||
border-color: @surface0;
|
||||
}
|
||||
|
||||
.main {
|
||||
background-color: @mantle;
|
||||
color: @text;
|
||||
}
|
||||
|
||||
.main-logo .logo {
|
||||
border-color: @accent-color;
|
||||
background-color: fade(@accent-color, 30%);
|
||||
}
|
||||
|
||||
.pwnedCompanyList {
|
||||
a,
|
||||
a:hover {
|
||||
color: @text;
|
||||
border-bottom-color: @surface2;
|
||||
}
|
||||
|
||||
td {
|
||||
color: @subtext0;
|
||||
}
|
||||
}
|
||||
|
||||
footer {
|
||||
a,
|
||||
p {
|
||||
color: @subtext0;
|
||||
}
|
||||
}
|
||||
|
||||
.unverified {
|
||||
&,
|
||||
a {
|
||||
color: darken(@red, 50%) !important;
|
||||
border-bottom-color: darken(@red, 50%) !important;
|
||||
}
|
||||
}
|
||||
|
||||
.navbar-inverse {
|
||||
border-color: @surface0;
|
||||
background-color: @crust;
|
||||
|
||||
.navbar-toggle {
|
||||
border-color: @surface0;
|
||||
|
||||
&:hover,
|
||||
&:focus {
|
||||
background-color: @surface0;
|
||||
}
|
||||
|
||||
.icon-bar {
|
||||
background-color: @text;
|
||||
}
|
||||
}
|
||||
|
||||
.navbar-brand {
|
||||
color: @text;
|
||||
border-color: @text !important;
|
||||
}
|
||||
|
||||
li.active > a {
|
||||
&,
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: @text;
|
||||
background-color: @crust;
|
||||
}
|
||||
}
|
||||
|
||||
li > a {
|
||||
color: @subtext0;
|
||||
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: @text;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
img.pwnLogo {
|
||||
&[src$="/List.png"],
|
||||
&[src$="/Email.png"] {
|
||||
filter: @text_filter;
|
||||
}
|
||||
}
|
||||
|
||||
.form-control {
|
||||
background-color: @crust;
|
||||
color: @text;
|
||||
border-color: @surface0 !important;
|
||||
|
||||
&:focus {
|
||||
box-shadow: 0 0 8px fade(@accent-color, 30%);
|
||||
}
|
||||
}
|
||||
|
||||
.btn-primary {
|
||||
color: @text;
|
||||
background-color: @crust;
|
||||
border-color: @surface0 !important;
|
||||
|
||||
&:hover {
|
||||
background-color: fade(@accent-color, 30%);
|
||||
}
|
||||
}
|
||||
|
||||
.btn-success {
|
||||
background-color: @green;
|
||||
color: @base;
|
||||
border-color: @surface0;
|
||||
}
|
||||
|
||||
.progress-bar {
|
||||
background-color: @accent-color;
|
||||
}
|
||||
|
||||
.form-group .termsOfUse {
|
||||
background-color: @base;
|
||||
}
|
||||
|
||||
.termsOfUse {
|
||||
background-color: @mantle;
|
||||
|
||||
&,
|
||||
a {
|
||||
color: @subtext0;
|
||||
border-bottom-color: @surface2;
|
||||
}
|
||||
}
|
||||
|
||||
.secondaryHeader {
|
||||
background-color: @mantle;
|
||||
}
|
||||
|
||||
.sensitive {
|
||||
color: @yellow;
|
||||
}
|
||||
|
||||
.sensitive-fade {
|
||||
color: @subtext0;
|
||||
}
|
||||
|
||||
.panel-primary {
|
||||
border-color: @surface0;
|
||||
|
||||
& > .panel-heading,
|
||||
& > .panel-footer {
|
||||
color: @text;
|
||||
border-color: @surface0;
|
||||
background-color: @mantle;
|
||||
}
|
||||
}
|
||||
|
||||
#noPwnage {
|
||||
background: @green;
|
||||
|
||||
a.socialLink {
|
||||
color: @base !important;
|
||||
}
|
||||
}
|
||||
|
||||
#invalidAccount {
|
||||
background: @yellow;
|
||||
}
|
||||
|
||||
#pwnedWebsitesContainer {
|
||||
hr {
|
||||
border-color: @surface0;
|
||||
}
|
||||
|
||||
& > .pwnedRow {
|
||||
background: @red;
|
||||
|
||||
.pwnedWebsite {
|
||||
color: @base;
|
||||
|
||||
a {
|
||||
color: @base;
|
||||
border-bottom-color: @base;
|
||||
|
||||
&:hover {
|
||||
background-color: transparent !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
a.socialLink {
|
||||
color: @base !important;
|
||||
}
|
||||
}
|
||||
|
||||
.pwnResultBanner {
|
||||
color: @base;
|
||||
|
||||
a {
|
||||
color: @base;
|
||||
border-bottom-color: @base !important;
|
||||
|
||||
&:hover {
|
||||
background-color: transparent !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#Cloudflare img {
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1239.3 310.1"><path d="M1158.5 187.7c-3.4 0-6.1-2.7-6.1-6.1 0-3.3 2.7-6.1 6.1-6.1 3.3 0 6.1 2.7 6.1 6.1s-2.8 6.1-6.1 6.1m0-11c-2.7 0-4.9 2.2-4.9 4.9s2.2 4.9 4.9 4.9 4.9-2.2 4.9-4.9-2.2-4.9-4.9-4.9m3.1 8.1h-1.4l-1.2-2.3h-1.6v2.3h-1.3v-6.7h3.2c1.4 0 2.3.9 2.3 2.2 0 1-.6 1.7-1.4 2zm-2.4-3.5c.5 0 1-.3 1-1 0-.8-.4-1-1-1h-2v2zM523 174.9h15.6v42.5h27.1V231H523zm58.8 28.2v-.1c0-16.1 13-29.2 30.3-29.2s30.1 12.9 30.1 29v.2c0 16.1-13 29.2-30.3 29.2-17.2-.1-30.1-13-30.1-29.1m44.6 0v-.1c0-8.1-5.8-15.1-14.4-15.1-8.5 0-14.2 6.9-14.2 15v.2c0 8.1 5.8 15.1 14.3 15.1 8.6-.1 14.3-7 14.3-15.1m34.9 3.3v-31.5h15.8v31.2c0 8.1 4.1 11.9 10.3 11.9s10.3-3.7 10.3-11.5v-31.6h15.8V206c0 18.1-10.3 26-26.3 26-15.9.1-25.9-8-25.9-25.6m76-31.5H759c20 0 31.7 11.5 31.7 27.7v.2c0 16.2-11.8 28.2-32 28.2h-21.3zm21.9 42.3c9.3 0 15.5-5.1 15.5-14.2v-.2c0-9-6.2-14.2-15.5-14.2h-6.3v28.5zm54-42.3h44.9v13.7h-29.4v9.5h26.6V211h-26.6v20h-15.5zm66.5 0h15.5v42.5h27.2V231h-42.7zm83.3-.4h15l23.9 56.5h-16.7l-4.1-10h-21.6l-4 10h-16.3zm13.7 34.4-6.2-15.9-6.3 15.9zm45.2-34h26.5c8.6 0 14.5 2.2 18.3 6.1 3.3 3.2 5 7.5 5 13.1v.2c0 8.6-4.6 14.3-11.5 17.2l13.4 19.6h-18l-11.3-17h-6.8v17H1022zm25.8 27c5.3 0 8.3-2.6 8.3-6.6v-.3c0-4.4-3.2-6.6-8.4-6.6h-10.2v13.5zm46.4-27h45.1v13.3h-29.7v8.4h26.9v12.3h-26.9v8.9h30.1V231h-45.5zM489 209.7c-2.2 4.9-6.8 8.4-12.8 8.4-8.5 0-14.3-7.1-14.3-15.1v-.2c0-8.1 5.7-15 14.2-15 6.4 0 11.3 3.9 13.3 9.3h16.4c-2.6-13.4-14.4-23.3-29.6-23.3-17.3 0-30.3 13.1-30.3 29.2v.2c0 16.1 12.8 29 30.1 29 14.8 0 26.4-9.6 29.4-22.4zm-97.9-40.1L348.2 145l-7.4-3.2-175.5 1.3v89l225.8.1z" fill="@{text}"/><path d="M313 224c2.1-7.2 1.3-13.8-2.2-18.7-3.2-4.5-8.6-7.1-15.1-7.4l-123.1-1.6c-.8 0-1.5-.4-1.9-1s-.5-1.4-.3-2.2c.4-1.2 1.6-2.1 2.9-2.2l124.2-1.6c14.7-.7 30.7-12.6 36.3-27.2l7.1-18.5c.3-.8.4-1.6.2-2.4-8-36.2-40.3-63.2-78.9-63.2-35.6 0-65.8 23-76.6 54.9-7-5.2-15.9-8-25.5-7.1-17.1 1.7-30.8 15.4-32.5 32.5-.4 4.4-.1 8.7.9 12.7-27.9.8-50.2 23.6-50.2 51.7 0 2.5.2 5 .5 7.5.2 1.2 1.2 2.1 2.4 2.1h227.2c1.3 0 2.5-.9 2.9-2.2zm39.2-79.1c-1.1 0-2.3 0-3.4.1-.8 0-1.5.6-1.8 1.4l-4.8 16.7c-2.1 7.2-1.3 13.8 2.2 18.7 3.2 4.5 8.6 7.1 15.1 7.4l26.2 1.6c.8 0 1.5.4 1.9 1s.5 1.5.3 2.2c-.4 1.2-1.6 2.1-2.9 2.2l-27.3 1.6c-14.8.7-30.7 12.6-36.3 27.2l-2 5.1c-.4 1 .3 2 1.4 2h93.8c1.1 0 2.1-.7 2.4-1.8 1.6-5.8 2.5-11.9 2.5-18.2 0-37.1-30.1-67.2-67.3-67.2" fill="@{peach}"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
|
||||
pre,
|
||||
code {
|
||||
background-color: @mantle;
|
||||
color: @text;
|
||||
border-color: @surface0;
|
||||
}
|
||||
|
||||
thead tr {
|
||||
border-color: @surface0;
|
||||
}
|
||||
|
||||
.bitcoinAddress {
|
||||
background-color: @mantle;
|
||||
color: @text;
|
||||
}
|
||||
|
||||
.bg-info {
|
||||
background-color: @mantle;
|
||||
color: @text;
|
||||
}
|
||||
|
||||
.subscriptions {
|
||||
.rpm10 {
|
||||
border-color: @teal;
|
||||
|
||||
h4,
|
||||
h5,
|
||||
.price {
|
||||
background-color: @teal;
|
||||
color: @base;
|
||||
}
|
||||
}
|
||||
|
||||
.rpm50 {
|
||||
border-color: @green;
|
||||
|
||||
h4,
|
||||
h5,
|
||||
.price {
|
||||
background-color: @green;
|
||||
color: @base;
|
||||
}
|
||||
}
|
||||
|
||||
.rpm100 {
|
||||
border-color: @yellow;
|
||||
|
||||
h4,
|
||||
h5,
|
||||
.price {
|
||||
background-color: @yellow;
|
||||
color: @base;
|
||||
}
|
||||
}
|
||||
|
||||
.rpm500 {
|
||||
border-color: @peach;
|
||||
|
||||
h4,
|
||||
h5,
|
||||
.price {
|
||||
background-color: @peach;
|
||||
color: @base;
|
||||
}
|
||||
}
|
||||
|
||||
.description {
|
||||
color: @text;
|
||||
}
|
||||
}
|
||||
|
||||
.finePrint {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
.table-bordered {
|
||||
&,
|
||||
th,
|
||||
td {
|
||||
border-color: @surface0;
|
||||
}
|
||||
}
|
||||
|
||||
.dropdown-menu {
|
||||
background-color: @base;
|
||||
|
||||
& > li > a {
|
||||
&:hover,
|
||||
&:focus {
|
||||
background-color: @mantle;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
ul.nav li.dropdown:hover {
|
||||
background-color: @base;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
#searchContainer {
|
||||
background-color: @mantle;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* prettier-ignore */
|
||||
@catppuccin: {
|
||||
@latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @text_filter: brightness(0) saturate(100%) invert(30%) sepia(7%) saturate(1674%) hue-rotate(196deg) brightness(97%) contrast(91%); @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
|
||||
@frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @text_filter: brightness(0) saturate(100%) invert(74%) sepia(16%) saturate(454%) hue-rotate(192deg) brightness(110%) contrast(92%); @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
|
||||
@macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @text_filter: brightness(0) saturate(100%) invert(82%) sepia(77%) saturate(662%) hue-rotate(181deg) brightness(103%) contrast(92%); @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
|
||||
@mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @text_filter: brightness(0) saturate(100%) invert(88%) sepia(10%) saturate(1247%) hue-rotate(191deg) brightness(99%) contrast(93%); @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
|
||||
}
|
||||
|
||||
// vim:ft=less
|
||||
==/UserStyle== */
|
||||
@@ -0,0 +1,461 @@
|
||||
/* ==UserStyle==
|
||||
@name Have I Been Pwned Catppuccin
|
||||
@namespace github.com/catppuccin/userstyles/styles/have-i-been-pwned
|
||||
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/have-i-been-pwned
|
||||
@version 2024.12.29.1
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/have-i-been-pwned/catppuccin.user.less
|
||||
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Ahave-i-been-pwned
|
||||
@description Soothing pastel theme for Have I Been Pwned
|
||||
@author Catppuccin
|
||||
@license MIT
|
||||
|
||||
@preprocessor less
|
||||
@var select lightFlavor "Light Flavor" ["latte:Latte*", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha"]
|
||||
@var select darkFlavor "Dark Flavor" ["latte:Latte", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha*"]
|
||||
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
|
||||
==/UserStyle== */
|
||||
|
||||
@-moz-document domain("haveibeenpwned.com") {
|
||||
@media (prefers-color-scheme: light) {
|
||||
:root {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
|
||||
#catppuccin(@lookup, @accent) {
|
||||
@rosewater: @catppuccin[@@lookup][@rosewater];
|
||||
@flamingo: @catppuccin[@@lookup][@flamingo];
|
||||
@pink: @catppuccin[@@lookup][@pink];
|
||||
@mauve: @catppuccin[@@lookup][@mauve];
|
||||
@red: @catppuccin[@@lookup][@red];
|
||||
@maroon: @catppuccin[@@lookup][@maroon];
|
||||
@peach: @catppuccin[@@lookup][@peach];
|
||||
@yellow: @catppuccin[@@lookup][@yellow];
|
||||
@green: @catppuccin[@@lookup][@green];
|
||||
@teal: @catppuccin[@@lookup][@teal];
|
||||
@sky: @catppuccin[@@lookup][@sky];
|
||||
@sapphire: @catppuccin[@@lookup][@sapphire];
|
||||
@blue: @catppuccin[@@lookup][@blue];
|
||||
@lavender: @catppuccin[@@lookup][@lavender];
|
||||
@text: @catppuccin[@@lookup][@text];
|
||||
@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];
|
||||
|
||||
color-scheme: if(@lookup = latte, light, dark);
|
||||
|
||||
::selection {
|
||||
background-color: fade(@accent-color, 30%);
|
||||
}
|
||||
|
||||
input,
|
||||
textarea {
|
||||
&::placeholder {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: @base;
|
||||
color: @text;
|
||||
}
|
||||
|
||||
hr {
|
||||
border-color: @surface0;
|
||||
}
|
||||
|
||||
a {
|
||||
&,
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: @text;
|
||||
border-bottom-color: @surface2;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
background-color: fade(@accent-color, 30%);
|
||||
}
|
||||
}
|
||||
|
||||
img.pwnLogo.large.modalLogo {
|
||||
filter: @text_filter;
|
||||
}
|
||||
|
||||
.bodyGradient {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
.modal-header {
|
||||
background: @crust;
|
||||
|
||||
.close {
|
||||
color: @text;
|
||||
}
|
||||
}
|
||||
|
||||
.fa-loader,
|
||||
.loaderText {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
#postNotificationCallsToAction {
|
||||
.btn {
|
||||
background-color: @crust;
|
||||
color: @text;
|
||||
}
|
||||
|
||||
a.socialLink {
|
||||
&,
|
||||
&:link,
|
||||
&:visited {
|
||||
color: @text;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.modal-content {
|
||||
background-color: @base;
|
||||
border-color: @surface0;
|
||||
}
|
||||
|
||||
.main {
|
||||
background-color: @mantle;
|
||||
color: @text;
|
||||
}
|
||||
|
||||
.main-logo .logo {
|
||||
border-color: @accent-color;
|
||||
background-color: fade(@accent-color, 30%);
|
||||
}
|
||||
|
||||
.pwnedCompanyList {
|
||||
a,
|
||||
a:hover {
|
||||
color: @text;
|
||||
border-bottom-color: @surface2;
|
||||
}
|
||||
|
||||
td {
|
||||
color: @subtext0;
|
||||
}
|
||||
}
|
||||
|
||||
footer {
|
||||
a,
|
||||
p {
|
||||
color: @subtext0;
|
||||
}
|
||||
}
|
||||
|
||||
.unverified {
|
||||
&,
|
||||
a {
|
||||
color: darken(@red, 50%) !important;
|
||||
border-bottom-color: darken(@red, 50%) !important;
|
||||
}
|
||||
}
|
||||
|
||||
.navbar-inverse {
|
||||
border-color: @surface0;
|
||||
background-color: @crust;
|
||||
|
||||
.navbar-toggle {
|
||||
border-color: @surface0;
|
||||
|
||||
&:hover,
|
||||
&:focus {
|
||||
background-color: @surface0;
|
||||
}
|
||||
|
||||
.icon-bar {
|
||||
background-color: @text;
|
||||
}
|
||||
}
|
||||
|
||||
.navbar-brand {
|
||||
color: @text;
|
||||
border-color: @text !important;
|
||||
}
|
||||
|
||||
li.active > a {
|
||||
&,
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: @text;
|
||||
background-color: @crust;
|
||||
}
|
||||
}
|
||||
|
||||
li > a {
|
||||
color: @subtext0;
|
||||
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: @text;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
img.pwnLogo {
|
||||
&[src$="/List.png"],
|
||||
&[src$="/Email.png"] {
|
||||
filter: @text_filter;
|
||||
}
|
||||
}
|
||||
|
||||
.form-control {
|
||||
background-color: @crust;
|
||||
color: @text;
|
||||
border-color: @surface0 !important;
|
||||
|
||||
&:focus {
|
||||
box-shadow: 0 0 8px fade(@accent-color, 30%);
|
||||
}
|
||||
}
|
||||
|
||||
.btn-primary {
|
||||
color: @text;
|
||||
background-color: @crust;
|
||||
border-color: @surface0 !important;
|
||||
|
||||
&:hover {
|
||||
background-color: fade(@accent-color, 30%);
|
||||
}
|
||||
}
|
||||
|
||||
.btn-success {
|
||||
background-color: @green;
|
||||
color: @base;
|
||||
border-color: @surface0;
|
||||
}
|
||||
|
||||
.progress-bar {
|
||||
background-color: @accent-color;
|
||||
}
|
||||
|
||||
.form-group .termsOfUse {
|
||||
background-color: @base;
|
||||
}
|
||||
|
||||
.termsOfUse {
|
||||
background-color: @mantle;
|
||||
|
||||
&,
|
||||
a {
|
||||
color: @subtext0;
|
||||
border-bottom-color: @surface2;
|
||||
}
|
||||
}
|
||||
|
||||
.secondaryHeader {
|
||||
background-color: @mantle;
|
||||
}
|
||||
|
||||
.sensitive {
|
||||
color: @yellow;
|
||||
}
|
||||
|
||||
.sensitive-fade {
|
||||
color: @subtext0;
|
||||
}
|
||||
|
||||
.panel-primary {
|
||||
border-color: @surface0;
|
||||
|
||||
& > .panel-heading,
|
||||
& > .panel-footer {
|
||||
color: @text;
|
||||
border-color: @surface0;
|
||||
background-color: @mantle;
|
||||
}
|
||||
}
|
||||
|
||||
#noPwnage {
|
||||
background: @green;
|
||||
|
||||
a.socialLink {
|
||||
color: @base !important;
|
||||
}
|
||||
}
|
||||
|
||||
#invalidAccount {
|
||||
background: @yellow;
|
||||
}
|
||||
|
||||
#pwnedWebsitesContainer {
|
||||
hr {
|
||||
border-color: @surface0;
|
||||
}
|
||||
|
||||
& > .pwnedRow {
|
||||
background: @red;
|
||||
|
||||
.pwnedWebsite {
|
||||
color: @base;
|
||||
|
||||
a {
|
||||
color: @base;
|
||||
border-bottom-color: @base;
|
||||
|
||||
&:hover {
|
||||
background-color: transparent !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
a.socialLink {
|
||||
color: @base !important;
|
||||
}
|
||||
}
|
||||
|
||||
.pwnResultBanner {
|
||||
color: @base;
|
||||
|
||||
a {
|
||||
color: @base;
|
||||
border-bottom-color: @base !important;
|
||||
|
||||
&:hover {
|
||||
background-color: transparent !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#Cloudflare img {
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1239.3 310.1"><path d="M1158.5 187.7c-3.4 0-6.1-2.7-6.1-6.1 0-3.3 2.7-6.1 6.1-6.1 3.3 0 6.1 2.7 6.1 6.1s-2.8 6.1-6.1 6.1m0-11c-2.7 0-4.9 2.2-4.9 4.9s2.2 4.9 4.9 4.9 4.9-2.2 4.9-4.9-2.2-4.9-4.9-4.9m3.1 8.1h-1.4l-1.2-2.3h-1.6v2.3h-1.3v-6.7h3.2c1.4 0 2.3.9 2.3 2.2 0 1-.6 1.7-1.4 2zm-2.4-3.5c.5 0 1-.3 1-1 0-.8-.4-1-1-1h-2v2zM523 174.9h15.6v42.5h27.1V231H523zm58.8 28.2v-.1c0-16.1 13-29.2 30.3-29.2s30.1 12.9 30.1 29v.2c0 16.1-13 29.2-30.3 29.2-17.2-.1-30.1-13-30.1-29.1m44.6 0v-.1c0-8.1-5.8-15.1-14.4-15.1-8.5 0-14.2 6.9-14.2 15v.2c0 8.1 5.8 15.1 14.3 15.1 8.6-.1 14.3-7 14.3-15.1m34.9 3.3v-31.5h15.8v31.2c0 8.1 4.1 11.9 10.3 11.9s10.3-3.7 10.3-11.5v-31.6h15.8V206c0 18.1-10.3 26-26.3 26-15.9.1-25.9-8-25.9-25.6m76-31.5H759c20 0 31.7 11.5 31.7 27.7v.2c0 16.2-11.8 28.2-32 28.2h-21.3zm21.9 42.3c9.3 0 15.5-5.1 15.5-14.2v-.2c0-9-6.2-14.2-15.5-14.2h-6.3v28.5zm54-42.3h44.9v13.7h-29.4v9.5h26.6V211h-26.6v20h-15.5zm66.5 0h15.5v42.5h27.2V231h-42.7zm83.3-.4h15l23.9 56.5h-16.7l-4.1-10h-21.6l-4 10h-16.3zm13.7 34.4-6.2-15.9-6.3 15.9zm45.2-34h26.5c8.6 0 14.5 2.2 18.3 6.1 3.3 3.2 5 7.5 5 13.1v.2c0 8.6-4.6 14.3-11.5 17.2l13.4 19.6h-18l-11.3-17h-6.8v17H1022zm25.8 27c5.3 0 8.3-2.6 8.3-6.6v-.3c0-4.4-3.2-6.6-8.4-6.6h-10.2v13.5zm46.4-27h45.1v13.3h-29.7v8.4h26.9v12.3h-26.9v8.9h30.1V231h-45.5zM489 209.7c-2.2 4.9-6.8 8.4-12.8 8.4-8.5 0-14.3-7.1-14.3-15.1v-.2c0-8.1 5.7-15 14.2-15 6.4 0 11.3 3.9 13.3 9.3h16.4c-2.6-13.4-14.4-23.3-29.6-23.3-17.3 0-30.3 13.1-30.3 29.2v.2c0 16.1 12.8 29 30.1 29 14.8 0 26.4-9.6 29.4-22.4zm-97.9-40.1L348.2 145l-7.4-3.2-175.5 1.3v89l225.8.1z" fill="@{text}"/><path d="M313 224c2.1-7.2 1.3-13.8-2.2-18.7-3.2-4.5-8.6-7.1-15.1-7.4l-123.1-1.6c-.8 0-1.5-.4-1.9-1s-.5-1.4-.3-2.2c.4-1.2 1.6-2.1 2.9-2.2l124.2-1.6c14.7-.7 30.7-12.6 36.3-27.2l7.1-18.5c.3-.8.4-1.6.2-2.4-8-36.2-40.3-63.2-78.9-63.2-35.6 0-65.8 23-76.6 54.9-7-5.2-15.9-8-25.5-7.1-17.1 1.7-30.8 15.4-32.5 32.5-.4 4.4-.1 8.7.9 12.7-27.9.8-50.2 23.6-50.2 51.7 0 2.5.2 5 .5 7.5.2 1.2 1.2 2.1 2.4 2.1h227.2c1.3 0 2.5-.9 2.9-2.2zm39.2-79.1c-1.1 0-2.3 0-3.4.1-.8 0-1.5.6-1.8 1.4l-4.8 16.7c-2.1 7.2-1.3 13.8 2.2 18.7 3.2 4.5 8.6 7.1 15.1 7.4l26.2 1.6c.8 0 1.5.4 1.9 1s.5 1.5.3 2.2c-.4 1.2-1.6 2.1-2.9 2.2l-27.3 1.6c-14.8.7-30.7 12.6-36.3 27.2l-2 5.1c-.4 1 .3 2 1.4 2h93.8c1.1 0 2.1-.7 2.4-1.8 1.6-5.8 2.5-11.9 2.5-18.2 0-37.1-30.1-67.2-67.3-67.2" fill="@{peach}"/></svg>'
|
||||
);
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
|
||||
pre,
|
||||
code {
|
||||
background-color: @mantle;
|
||||
color: @text;
|
||||
border-color: @surface0;
|
||||
}
|
||||
|
||||
thead tr {
|
||||
border-color: @surface0;
|
||||
}
|
||||
|
||||
.bitcoinAddress {
|
||||
background-color: @mantle;
|
||||
color: @text;
|
||||
}
|
||||
|
||||
.bg-info {
|
||||
background-color: @mantle;
|
||||
color: @text;
|
||||
}
|
||||
|
||||
.subscriptions {
|
||||
.rpm10 {
|
||||
border-color: @teal;
|
||||
|
||||
h4,
|
||||
h5,
|
||||
.price {
|
||||
background-color: @teal;
|
||||
color: @base;
|
||||
}
|
||||
}
|
||||
|
||||
.rpm50 {
|
||||
border-color: @green;
|
||||
|
||||
h4,
|
||||
h5,
|
||||
.price {
|
||||
background-color: @green;
|
||||
color: @base;
|
||||
}
|
||||
}
|
||||
|
||||
.rpm100 {
|
||||
border-color: @yellow;
|
||||
|
||||
h4,
|
||||
h5,
|
||||
.price {
|
||||
background-color: @yellow;
|
||||
color: @base;
|
||||
}
|
||||
}
|
||||
|
||||
.rpm500 {
|
||||
border-color: @peach;
|
||||
|
||||
h4,
|
||||
h5,
|
||||
.price {
|
||||
background-color: @peach;
|
||||
color: @base;
|
||||
}
|
||||
}
|
||||
|
||||
.description {
|
||||
color: @text;
|
||||
}
|
||||
}
|
||||
|
||||
.finePrint {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
.table-bordered {
|
||||
&,
|
||||
th,
|
||||
td {
|
||||
border-color: @surface0;
|
||||
}
|
||||
}
|
||||
|
||||
.dropdown-menu {
|
||||
background-color: @base;
|
||||
|
||||
& > li > a {
|
||||
&:hover,
|
||||
&:focus {
|
||||
background-color: @mantle;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
ul.nav li.dropdown:hover {
|
||||
background-color: @base;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
#searchContainer {
|
||||
background-color: @mantle;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* deno-fmt-ignore */
|
||||
@catppuccin: {
|
||||
@latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @text_filter: brightness(0) saturate(100%) invert(30%) sepia(7%) saturate(1674%) hue-rotate(196deg) brightness(97%) contrast(91%); @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
|
||||
@frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @text_filter: brightness(0) saturate(100%) invert(74%) sepia(16%) saturate(454%) hue-rotate(192deg) brightness(110%) contrast(92%); @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
|
||||
@macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @text_filter: brightness(0) saturate(100%) invert(82%) sepia(77%) saturate(662%) hue-rotate(181deg) brightness(103%) contrast(92%); @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
|
||||
@mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @text_filter: brightness(0) saturate(100%) invert(88%) sepia(10%) saturate(1247%) hue-rotate(191deg) brightness(99%) contrast(93%); @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
|
||||
};
|
||||
@@ -1,9 +1,9 @@
|
||||
/* ==UserStyle==
|
||||
@name Holodex Catppuccin
|
||||
@name Holodex Catppuccin [STUB | UPDATE REQUIRED]
|
||||
@namespace github.com/catppuccin/userstyles/styles/holodex
|
||||
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/holodex
|
||||
@version 2024.12.28
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/holodex/catppuccin.user.css
|
||||
@version 2024.12.29
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/holodex/catppuccin.user.less
|
||||
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Aholodex
|
||||
@description Soothing pastel theme for Holodex
|
||||
@author Catppuccin
|
||||
@@ -13,263 +13,4 @@
|
||||
@var select lightFlavor "Light Flavor" ["latte:Latte*", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha"]
|
||||
@var select darkFlavor "Dark Flavor" ["latte:Latte", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha*"]
|
||||
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
|
||||
==/UserStyle== */
|
||||
|
||||
@-moz-document domain('holodex.net') {
|
||||
:root:has(.theme--dark) {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
}
|
||||
|
||||
:root:has(.theme--light) {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
|
||||
#catppuccin(@lookup, @accent) {
|
||||
@rosewater: @catppuccin[@@lookup][@rosewater];
|
||||
@flamingo: @catppuccin[@@lookup][@flamingo];
|
||||
@pink: @catppuccin[@@lookup][@pink];
|
||||
@mauve: @catppuccin[@@lookup][@mauve];
|
||||
@red: @catppuccin[@@lookup][@red];
|
||||
@maroon: @catppuccin[@@lookup][@maroon];
|
||||
@peach: @catppuccin[@@lookup][@peach];
|
||||
@yellow: @catppuccin[@@lookup][@yellow];
|
||||
@green: @catppuccin[@@lookup][@green];
|
||||
@teal: @catppuccin[@@lookup][@teal];
|
||||
@sky: @catppuccin[@@lookup][@sky];
|
||||
@sapphire: @catppuccin[@@lookup][@sapphire];
|
||||
@blue: @catppuccin[@@lookup][@blue];
|
||||
@lavender: @catppuccin[@@lookup][@lavender];
|
||||
@text: @catppuccin[@@lookup][@text];
|
||||
@subtext1: @catppuccin[@@lookup][@subtext1];
|
||||
@subtext0: @catppuccin[@@lookup][@subtext0];
|
||||
@overlay2: @catppuccin[@@lookup][@overlay2];
|
||||
@overlay1: @catppuccin[@@lookup][@overlay1];
|
||||
@overlay0: @catppuccin[@@lookup][@overlay0];
|
||||
@surface2: @catppuccin[@@lookup][@surface2];
|
||||
@surface1: @catppuccin[@@lookup][@surface1];
|
||||
@surface0: @catppuccin[@@lookup][@surface0];
|
||||
@base: @catppuccin[@@lookup][@base];
|
||||
@mantle: @catppuccin[@@lookup][@mantle];
|
||||
@crust: @catppuccin[@@lookup][@crust];
|
||||
@accent-color: @catppuccin[@@lookup][@@accent];
|
||||
|
||||
color-scheme: if(@lookup = latte, light, dark);
|
||||
|
||||
::selection {
|
||||
background-color: fade(@accent-color, 30%);
|
||||
}
|
||||
|
||||
input,
|
||||
textarea {
|
||||
&::placeholder {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
--v-anchor-base: @accent-color;
|
||||
--v-primary-base: @accent-color;
|
||||
--v-primary-lighten1: lighten(@accent-color, 4%);
|
||||
--v-primary-lighten2: lighten(@accent-color, 8%);
|
||||
--v-primary-lighten3: lighten(@accent-color, 9%);
|
||||
--v-primary-lighten4: lighten(@accent-color, 18%);
|
||||
--v-primary-lighten5: lighten(@accent-color, 19%);
|
||||
--v-primary-darken1: darken(@accent-color, 14%);
|
||||
--v-primary-darken2: darken(@accent-color, 31%);
|
||||
--v-primary-darken3: darken(@accent-color, 35%);
|
||||
--v-primary-darken4: darken(@accent-color, 43%);
|
||||
|
||||
--v-accent-base: @accent-color;
|
||||
--v-accent-lighten1: lighten(@accent-color, 4%);
|
||||
--v-accent-lighten2: lighten(@accent-color, 8%);
|
||||
--v-accent-lighten3: lighten(@accent-color, 9%);
|
||||
--v-accent-lighten4: lighten(@accent-color, 18%);
|
||||
--v-accent-lighten5: lighten(@accent-color, 19%);
|
||||
--v-accent-darken1: darken(@accent-color, 14%);
|
||||
--v-accent-darken2: darken(@accent-color, 31%);
|
||||
--v-accent-darken3: darken(@accent-color, 35%);
|
||||
--v-accent-darken4: darken(@accent-color, 43%);
|
||||
|
||||
--v-secondary-base: @accent-color;
|
||||
--v-secondary-lighten1: lighten(@accent-color, 4%);
|
||||
--v-secondary-lighten2: lighten(@accent-color, 8%);
|
||||
--v-secondary-lighten3: lighten(@accent-color, 9%);
|
||||
--v-secondary-lighten4: lighten(@accent-color, 18%);
|
||||
--v-secondary-lighten5: lighten(@accent-color, 19%);
|
||||
--v-secondary-darken1: darken(@accent-color, 14%);
|
||||
--v-secondary-darken2: darken(@accent-color, 31%);
|
||||
--v-secondary-darken3: darken(@accent-color, 35%);
|
||||
--v-secondary-darken4: darken(@accent-color, 43%);
|
||||
|
||||
--v-error-base: @red;
|
||||
--v-error-lighten1: lighten(@red, 4%);
|
||||
--v-error-lighten2: lighten(@red, 8%);
|
||||
--v-error-lighten3: lighten(@red, 9%);
|
||||
--v-error-lighten4: lighten(@red, 18%);
|
||||
--v-error-lighten5: lighten(@red, 19%);
|
||||
--v-error-darken1: darken(@red, 14%);
|
||||
--v-error-darken2: darken(@red, 31%);
|
||||
--v-error-darken3: darken(@red, 35%);
|
||||
--v-error-darken4: darken(@red, 43%);
|
||||
|
||||
--v-info-base: @blue;
|
||||
--v-info-lighten1: lighten(@blue, 4%);
|
||||
--v-info-lighten2: lighten(@blue, 8%);
|
||||
--v-info-lighten3: lighten(@blue, 9%);
|
||||
--v-info-lighten4: lighten(@blue, 18%);
|
||||
--v-info-lighten5: lighten(@blue, 19%);
|
||||
--v-info-darken1: darken(@blue, 14%);
|
||||
--v-info-darken2: darken(@blue, 31%);
|
||||
--v-info-darken3: darken(@blue, 35%);
|
||||
--v-info-darken4: darken(@blue, 43%);
|
||||
|
||||
--v-success-base: @green;
|
||||
--v-success-lighten1: lighten(@green, 4%);
|
||||
--v-success-lighten2: lighten(@green, 8%);
|
||||
--v-success-lighten3: lighten(@green, 9%);
|
||||
--v-success-lighten4: lighten(@green, 18%);
|
||||
--v-success-lighten5: lighten(@green, 19%);
|
||||
--v-success-darken1: darken(@green, 14%);
|
||||
--v-success-darken2: darken(@green, 31%);
|
||||
--v-success-darken3: darken(@green, 35%);
|
||||
--v-success-darken4: darken(@green, 43%);
|
||||
|
||||
--v-warning-base: @yellow;
|
||||
--v-warning-lighten1: lighten(@yellow, 4%);
|
||||
--v-warning-lighten2: lighten(@yellow, 8%);
|
||||
--v-warning-lighten3: lighten(@yellow, 9%);
|
||||
--v-warning-lighten4: lighten(@yellow, 18%);
|
||||
--v-warning-lighten5: lighten(@yellow, 19%);
|
||||
--v-warning-darken1: darken(@yellow, 14%);
|
||||
--v-warning-darken2: darken(@yellow, 31%);
|
||||
--v-warning-darken3: darken(@yellow, 35%);
|
||||
--v-warning-darken4: darken(@yellow, 43%);
|
||||
|
||||
--v-background-base: @base;
|
||||
--v-background-lighten1: lighten(@base, 4%);
|
||||
--v-background-lighten2: lighten(@base, 8%);
|
||||
--v-background-lighten3: lighten(@base, 9%);
|
||||
--v-background-lighten4: lighten(@base, 18%);
|
||||
--v-background-lighten5: lighten(@base, 19%);
|
||||
--v-background-darken1: darken(@base, 14%);
|
||||
--v-background-darken2: darken(@base, 31%);
|
||||
--v-background-darken3: darken(@base, 35%);
|
||||
--v-background-darken4: darken(@base, 43%);
|
||||
|
||||
div.v-application {
|
||||
background: @base !important;
|
||||
color: @text;
|
||||
}
|
||||
|
||||
header#top-bar,
|
||||
header.v-toolbar,
|
||||
div.v-navigation-drawer__content,
|
||||
div#bottom-bar,
|
||||
div.v-main__wrap > div,
|
||||
div.v-select__selections,
|
||||
div.v-slide-group__wrapper,
|
||||
div.v-bottom-navigation,
|
||||
div.v-select__slot,
|
||||
div.v-input__slot,
|
||||
div.v-overlay__scrim {
|
||||
background: @base !important;
|
||||
}
|
||||
div.v-sheet {
|
||||
background: @base;
|
||||
border-color: @base;
|
||||
}
|
||||
|
||||
.v-btn.v-btn--has-bg:not(.nav-btn) {
|
||||
background-color: @surface0 !important;
|
||||
}
|
||||
|
||||
.v-list,
|
||||
.v-list-item,
|
||||
.v-card,
|
||||
.v-sheet,
|
||||
.v-select__selections,
|
||||
.v-label,
|
||||
.text--secondary,
|
||||
.v-input__slot input {
|
||||
color: @text !important;
|
||||
path:not([fill*="iid-1"]) {
|
||||
fill: @text;
|
||||
}
|
||||
}
|
||||
|
||||
.v-messages,
|
||||
.v-list-item__subtitle,
|
||||
.v-tab:not(.v-tab--active) {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
|
||||
svg.logo path {
|
||||
fill: darken(@accent-color, 2%) !important;
|
||||
|
||||
&:last-child {
|
||||
fill: darken(@blue, 8%) !important;
|
||||
}
|
||||
}
|
||||
|
||||
.v-chip {
|
||||
background: @blue;
|
||||
}
|
||||
|
||||
.primary--text,
|
||||
.name-vtuber {
|
||||
color: @accent-color !important;
|
||||
}
|
||||
|
||||
.text-live {
|
||||
color: @red;
|
||||
}
|
||||
|
||||
.stream-count-chip {
|
||||
color: @crust !important;
|
||||
}
|
||||
|
||||
.nav-btn.v-btn--active {
|
||||
color: @accent-color !important;
|
||||
}
|
||||
|
||||
div.v-sheet.v-alert {
|
||||
background: none !important;
|
||||
color: @yellow !important;
|
||||
|
||||
.v-icon path {
|
||||
fill: @yellow !important;
|
||||
}
|
||||
}
|
||||
|
||||
hr {
|
||||
border-color: @base;
|
||||
}
|
||||
|
||||
// Snack
|
||||
div.v-snack {
|
||||
color: @text;
|
||||
|
||||
div.v-sheet {
|
||||
background: @surface0 !important;
|
||||
}
|
||||
|
||||
button.v-btn--text {
|
||||
color: @text !important;
|
||||
}
|
||||
|
||||
button.v-btn--is-elevated.v-btn--has-bg {
|
||||
background: @accent-color !important;
|
||||
color: @base;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* prettier-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; };
|
||||
}
|
||||
|
||||
// vim:ft=less
|
||||
==/UserStyle== */
|
||||
Loaded 100 of 256 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user