mirror of
https://github.com/notion-enhancer/notion-enhancer.git
synced 2025-04-17 18:29:03 +00:00
198 lines
7.8 KiB
CSS
198 lines
7.8 KiB
CSS
/**
|
|
* notion-enhancer
|
|
* (c) 2023 dragonwocky <thedragonring.bod@gmail.com> (https://dragonwocky.me/)
|
|
* (https://notion-enhancer.github.io/) under the MIT license
|
|
*/
|
|
|
|
body.dark {
|
|
--theme--font-sans: ui-sans-serif, -apple-system, BlinkMacSystemFont,
|
|
"Segoe UI", Helvetica, "Apple Color Emoji", Arial, sans-serif,
|
|
"Segoe UI Emoji", "Segoe UI Symbol";
|
|
--theme--font-serif: Lyon-Text, Georgia, ui-serif, serif;
|
|
--theme--font-mono: iawriter-mono, Nitti, Menlo, Courier, monospace;
|
|
--theme--font-code: SFMono-Regular, Menlo, Consolas, "PT Mono",
|
|
"Liberation Mono", Courier, monospace;
|
|
|
|
--theme--fg-primary: rgba(255, 255, 255, 0.81);
|
|
--theme--fg-secondary: #9b9b9b;
|
|
--theme--fg-border: #2f2f2f;
|
|
--theme--fg-gray: rgba(155, 155, 155, 1);
|
|
--theme--fg-brown: rgba(186, 133, 111, 1);
|
|
--theme--fg-orange: rgba(199, 125, 72, 1);
|
|
--theme--fg-yellow: rgba(202, 152, 73, 1);
|
|
--theme--fg-green: rgba(82, 158, 114, 1);
|
|
--theme--fg-blue: rgba(94, 135, 201, 1);
|
|
--theme--fg-purple: rgba(157, 104, 211, 1);
|
|
--theme--fg-pink: rgba(209, 87, 150, 1);
|
|
--theme--fg-red: rgba(223, 84, 82, 1);
|
|
|
|
--theme--bg-primary: #191919;
|
|
--theme--bg-secondary: #202020;
|
|
--theme--bg-hover: rgba(255, 255, 255, 0.055);
|
|
--theme--bg-overlay: rgba(15, 15, 15, 0.8);
|
|
--theme--bg-light_gray: #373737;
|
|
--theme--bg-gray: #5a5a5a;
|
|
--theme--bg-brown: #603b2c;
|
|
--theme--bg-orange: #854c1d;
|
|
--theme--bg-yellow: #89632a;
|
|
--theme--bg-green: #2b593f;
|
|
--theme--bg-blue: #28456c;
|
|
--theme--bg-purple: #492f64;
|
|
--theme--bg-pink: #69314c;
|
|
--theme--bg-red: #6e3630;
|
|
|
|
--theme--dim-light_gray: #1c1c1c;
|
|
--theme--dim-gray: #202020;
|
|
--theme--dim-brown: #231e1c;
|
|
--theme--dim-orange: #251f1b;
|
|
--theme--dim-yellow: #231f1a;
|
|
--theme--dim-green: #1d2220;
|
|
--theme--dim-blue: #1b1f22;
|
|
--theme--dim-purple: #1f1d21;
|
|
--theme--dim-pink: #231c1f;
|
|
--theme--dim-red: #241e1d;
|
|
|
|
--theme--accent-primary: #2383e2;
|
|
--theme--accent-primary_hover: #0075d3;
|
|
--theme--accent-primary_contrast: #fff;
|
|
--theme--accent-primary_transparent: rgba(35, 131, 226, 0.14);
|
|
--theme--accent-secondary: #eb5757;
|
|
--theme--accent-secondary_hover: rgba(235, 87, 87, 0.1);
|
|
--theme--accent-secondary_contrast: #fff;
|
|
|
|
--theme--scrollbar-track: rgba(202, 204, 206, 0.04);
|
|
--theme--scrollbar-thumb: #474c50;
|
|
--theme--scrollbar-thumb_hover: rgba(202, 204, 206, 0.3);
|
|
|
|
--theme--code-inline_fg: #eb5757;
|
|
--theme--code-inline_bg: rgba(135, 131, 120, 0.15);
|
|
--theme--code-block_fg: rgba(255, 255, 255, 0.81);
|
|
--theme--code-block_bg: rgba(255, 255, 255, 0.03);
|
|
--theme--code-keyword: #d1949e;
|
|
--theme--code-builtin: #bde052;
|
|
--theme--code-class_name: rgba(255, 255, 255, 0.81);
|
|
--theme--code-function: var(--theme--code-class_name);
|
|
--theme--code-boolean: var(--theme--code-keyword);
|
|
--theme--code-number: var(--theme--code-keyword);
|
|
--theme--code-string: var(--theme--code-builtin);
|
|
--theme--code-char: var(--theme--code-builtin);
|
|
--theme--code-symbol: var(--theme--code-keyword);
|
|
--theme--code-regex: #e90;
|
|
--theme--code-url: #f5b83d;
|
|
--theme--code-operator: var(--theme--code-url);
|
|
--theme--code-variable: var(--theme--code-url);
|
|
--theme--code-constant: var(--theme--code-keyword);
|
|
--theme--code-property: var(--theme--code-keyword);
|
|
--theme--code-punctuation: var(--theme--code-class_name);
|
|
--theme--code-important: var(--theme--code-regex);
|
|
--theme--code-comment: #998066;
|
|
--theme--code-tag: var(--theme--code-keyword);
|
|
--theme--code-attr_name: var(--theme--code-builtin);
|
|
--theme--code-attr_value: var(--theme--code-keyword);
|
|
--theme--code-namespace: var(--theme--code-class_name);
|
|
--theme--code-prolog: var(--theme--code-comment);
|
|
--theme--code-doctype: var(--theme--code-comment);
|
|
--theme--code-cdata: var(--theme--code-comment);
|
|
--theme--code-entity: var(--theme--code-url);
|
|
--theme--code-atrule: var(--theme--code-keyword);
|
|
--theme--code-selector: var(--theme--code-builtin);
|
|
--theme--code-inserted: var(--theme--code-builtin);
|
|
--theme--code-deleted: red;
|
|
}
|
|
|
|
body:not(.dark) {
|
|
--theme--font-sans: ui-sans-serif, -apple-system, BlinkMacSystemFont,
|
|
"Segoe UI", Helvetica, "Apple Color Emoji", Arial, sans-serif,
|
|
"Segoe UI Emoji", "Segoe UI Symbol";
|
|
--theme--font-serif: Lyon-Text, Georgia, ui-serif, serif;
|
|
--theme--font-mono: iawriter-mono, Nitti, Menlo, Courier, monospace;
|
|
--theme--font-code: SFMono-Regular, Menlo, Consolas, "PT Mono",
|
|
"Liberation Mono", Courier, monospace;
|
|
|
|
--theme--fg-primary: #37352f;
|
|
--theme--fg-secondary: rgba(25, 23, 17, 0.6);
|
|
--theme--fg-border: #e9e9e7;
|
|
--theme--fg-gray: rgba(120, 119, 116, 1);
|
|
--theme--fg-brown: rgba(159, 107, 83, 1);
|
|
--theme--fg-orange: rgba(217, 115, 13, 1);
|
|
--theme--fg-yellow: rgba(203, 145, 47, 1);
|
|
--theme--fg-green: rgba(68, 131, 97, 1);
|
|
--theme--fg-blue: rgba(51, 126, 169, 1);
|
|
--theme--fg-purple: rgba(144, 101, 176, 1);
|
|
--theme--fg-pink: rgba(193, 76, 138, 1);
|
|
--theme--fg-red: rgba(212, 76, 71, 1);
|
|
|
|
--theme--bg-primary: #fff;
|
|
--theme--bg-secondary: #fbfbfa;
|
|
--theme--bg-hover: rgba(55, 53, 47, 0.08);
|
|
--theme--bg-overlay: rgba(15, 15, 15, 0.6);
|
|
--theme--bg-light_gray: rgba(227, 226, 224, 0.5);
|
|
--theme--bg-gray: #e3e2e0;
|
|
--theme--bg-brown: #eee0da;
|
|
--theme--bg-orange: #fadec9;
|
|
--theme--bg-yellow: #fdecc8;
|
|
--theme--bg-green: #dbeddb;
|
|
--theme--bg-blue: #d3e5ef;
|
|
--theme--bg-purple: #e8deee;
|
|
--theme--bg-pink: #f5e0e9;
|
|
--theme--bg-red: #ffe2dd;
|
|
|
|
--theme--dim-light_gray: rgba(249, 249, 245, 0.5);
|
|
--theme--dim-gray: rgba(247, 247, 245, 0.7);
|
|
--theme--dim-brown: rgba(250, 246, 245, 0.7);
|
|
--theme--dim-orange: rgba(252, 245, 242, 0.7);
|
|
--theme--dim-yellow: rgba(250, 247, 237, 0.7);
|
|
--theme--dim-green: rgba(244, 248, 243, 0.7);
|
|
--theme--dim-blue: rgba(241, 248, 251, 0.7);
|
|
--theme--dim-purple: rgba(249, 246, 252, 0.7);
|
|
--theme--dim-pink: rgba(251, 245, 251, 0.7);
|
|
--theme--dim-red: rgba(253, 245, 243, 0.7);
|
|
|
|
--theme--accent-primary: #2383e2;
|
|
--theme--accent-primary_hover: #0075d3;
|
|
--theme--accent-primary_contrast: #fff;
|
|
--theme--accent-primary_transparent: rgba(35, 131, 226, 0.14);
|
|
--theme--accent-secondary: #eb5757;
|
|
--theme--accent-secondary_contrast: #fff;
|
|
--theme--accent-secondary_hover: rgba(235, 87, 87, 0.1);
|
|
|
|
--theme--scrollbar-track: #edece9;
|
|
--theme--scrollbar-thumb: #d3d1cb;
|
|
--theme--scrollbar-thumb_hover: #aeaca6;
|
|
|
|
--theme--code-inline_fg: #eb5757;
|
|
--theme--code-inline_bg: rgba(135, 131, 120, 0.15);
|
|
--theme--code-block_fg: #37352f;
|
|
--theme--code-block_bg: #f7f6f3;
|
|
--theme--code-keyword: #07a;
|
|
--theme--code-builtin: #690;
|
|
--theme--code-class_name: #dd4a68;
|
|
--theme--code-function: var(--theme--code-class_name);
|
|
--theme--code-boolean: #905;
|
|
--theme--code-number: var(--theme--code-boolean);
|
|
--theme--code-string: var(--theme--code-builtin);
|
|
--theme--code-char: var(--theme--code-builtin);
|
|
--theme--code-symbol: var(--theme--code-boolean);
|
|
--theme--code-regex: #e90;
|
|
--theme--code-url: #9a6e3a;
|
|
--theme--code-operator: var(--theme--code-url);
|
|
--theme--code-variable: var(--theme--code-regex);
|
|
--theme--code-constant: var(--theme--code-boolean);
|
|
--theme--code-property: var(--theme--code-boolean);
|
|
--theme--code-punctuation: #999;
|
|
--theme--code-important: var(--theme--code-regex);
|
|
--theme--code-comment: #708090;
|
|
--theme--code-tag: var(--theme--code-boolean);
|
|
--theme--code-attr_name: var(--theme--code-builtin);
|
|
--theme--code-attr_value: var(--theme--code-keyword);
|
|
--theme--code-namespace: #37352f;
|
|
--theme--code-prolog: var(--theme--code-comment);
|
|
--theme--code-doctype: var(--theme--code-comment);
|
|
--theme--code-cdata: var(--theme--code-comment);
|
|
--theme--code-entity: var(--theme--code-url);
|
|
--theme--code-atrule: var(--theme--code-keyword);
|
|
--theme--code-selector: var(--theme--code-builtin);
|
|
--theme--code-inserted: var(--theme--code-builtin);
|
|
--theme--code-deleted: var(--theme--code-boolean);
|
|
}
|