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

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

No files matched your search

+193 -193
View File
@@ -22,29 +22,29 @@
[data-color-mode="auto"] {
@media (prefers-color-scheme: light) {
&[data-light-theme="light"] {
#catppuccin(@lightFlavor, @accentColor);
#catppuccin(@lightFlavor);
}
&[data-light-theme="dark"] {
#catppuccin(@darkFlavor, @accentColor);
#catppuccin(@darkFlavor);
}
}
@media (prefers-color-scheme: dark) {
&[data-dark-theme="light"] {
#catppuccin(@lightFlavor, @accentColor);
#catppuccin(@lightFlavor);
}
&[data-dark-theme="dark"] {
#catppuccin(@darkFlavor, @accentColor);
#catppuccin(@darkFlavor);
}
}
}
[data-color-mode="light"][data-light-theme="dark"],
[data-color-mode="dark"][data-dark-theme="dark"] {
#catppuccin(@darkFlavor, @accentColor);
#catppuccin(@darkFlavor);
}
[data-color-mode="light"][data-light-theme="light"],
[data-color-mode="dark"][data-dark-theme="light"] {
#catppuccin(@lightFlavor, @accentColor);
#catppuccin(@lightFlavor);
}
html:not([data-light-theme="light"], [data-light-theme="dark"])
@@ -64,39 +64,39 @@
z-index: 9999;
}
#catppuccin(@lookup, @accent) {
@rosewater: @catppuccin[@@lookup][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo];
@pink: @catppuccin[@@lookup][@pink];
@mauve: @catppuccin[@@lookup][@mauve];
@red: @catppuccin[@@lookup][@red];
@maroon: @catppuccin[@@lookup][@maroon];
@peach: @catppuccin[@@lookup][@peach];
@yellow: @catppuccin[@@lookup][@yellow];
@green: @catppuccin[@@lookup][@green];
@teal: @catppuccin[@@lookup][@teal];
@sky: @catppuccin[@@lookup][@sky];
@sapphire: @catppuccin[@@lookup][@sapphire];
@blue: @catppuccin[@@lookup][@blue];
@lavender: @catppuccin[@@lookup][@lavender];
@text: @catppuccin[@@lookup][@text];
@subtext1: @catppuccin[@@lookup][@subtext1];
@subtext0: @catppuccin[@@lookup][@subtext0];
@overlay2: @catppuccin[@@lookup][@overlay2];
@overlay1: @catppuccin[@@lookup][@overlay1];
@overlay0: @catppuccin[@@lookup][@overlay0];
@surface2: @catppuccin[@@lookup][@surface2];
@surface1: @catppuccin[@@lookup][@surface1];
@surface0: @catppuccin[@@lookup][@surface0];
@base: @catppuccin[@@lookup][@base];
@mantle: @catppuccin[@@lookup][@mantle];
@crust: @catppuccin[@@lookup][@crust];
@accent-color: @catppuccin[@@lookup][@@accent];
#catppuccin(@flavor) {
@rosewater: @catppuccin[@@flavor][@rosewater];
@flamingo: @catppuccin[@@flavor][@flamingo];
@pink: @catppuccin[@@flavor][@pink];
@mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@flavor][@surface2];
@surface1: @catppuccin[@@flavor][@surface1];
@surface0: @catppuccin[@@flavor][@surface0];
@base: @catppuccin[@@flavor][@base];
@mantle: @catppuccin[@@flavor][@mantle];
@crust: @catppuccin[@@flavor][@crust];
@accent: @catppuccin[@@flavor][@@accentColor];
color-scheme: if(@lookup = latte, light, dark);
color-scheme: if(@flavor = latte, light, dark);
::selection {
background-color: fade(@accent-color, 30%);
background-color: fade(@accent, 30%);
}
input,
@@ -109,50 +109,50 @@
color: @subtext0;
}
accent-color: @accent-color;
accent-color: @accent;
color: @text;
--color-social-reaction-bg-reacted-hover: fade(@accent-color, 30%);
--color-notifications-button-hover-bg: fade(@accent-color, 60%);
--color-social-reaction-bg-reacted-hover: fade(@accent, 30%);
--color-notifications-button-hover-bg: fade(@accent, 60%);
--color-workflow-card-header-shadow: rgba(27, 31, 35, 0.04);
--color-icon-directory: var(--fgColor-muted, var(--color-fg-muted));
--color-calendar-halloween-graph-day-L1-bg: fadeout(
@accent-color,
60%
) !important;
--color-calendar-halloween-graph-day-L2-bg: fadeout(
@accent-color,
--color-calendar-halloween-graph-day-L1-bg: fade(
@accent,
40%
) !important;
--color-calendar-halloween-graph-day-L3-bg: fadeout(
@accent-color,
20%
) !important;
--color-calendar-halloween-graph-day-L4-bg: @accent-color !important;
--color-calendar-winter-graph-day-L1-bg: fadeout(
@accent-color,
--color-calendar-halloween-graph-day-L2-bg: fade(
@accent,
60%
) !important;
--color-calendar-winter-graph-day-L2-bg: fadeout(
@accent-color,
--color-calendar-halloween-graph-day-L3-bg: fade(
@accent,
80%
) !important;
--color-calendar-halloween-graph-day-L4-bg: @accent !important;
--color-calendar-winter-graph-day-L1-bg: fade(
@accent,
40%
) !important;
--color-calendar-winter-graph-day-L3-bg: fadeout(
@accent-color,
20%
--color-calendar-winter-graph-day-L2-bg: fade(
@accent,
60%
) !important;
--color-calendar-winter-graph-day-L4-bg: @accent-color !important;
--color-calendar-winter-graph-day-L3-bg: fade(
@accent,
80%
) !important;
--color-calendar-winter-graph-day-L4-bg: @accent !important;
--color-calendar-graph-day-bg: @surface0 !important;
--color-calendar-graph-day-border: transparent !important;
--color-calendar-graph-day-L1-bg: fadeout(@accent-color, 60%) !important;
--color-calendar-graph-day-L2-bg: fadeout(@accent-color, 40%) !important;
--color-calendar-graph-day-L3-bg: fadeout(@accent-color, 20%) !important;
--color-calendar-graph-day-L4-bg: @accent-color !important;
--color-calendar-graph-day-L1-bg: fade(@accent, 40%) !important;
--color-calendar-graph-day-L2-bg: fade(@accent, 60%) !important;
--color-calendar-graph-day-L3-bg: fade(@accent, 80%) !important;
--color-calendar-graph-day-L4-bg: @accent !important;
--color-calendar-graph-day-L2-border: transparent !important;
--color-calendar-graph-day-L3-border: transparent !important;
--color-calendar-graph-day-L4-border: transparent !important;
--color-user-mention-fg: @accent-color;
--color-user-mention-bg: fade(@accent-color, 30%);
--color-user-mention-fg: @accent;
--color-user-mention-bg: fade(@accent, 30%);
--color-dashboard-feed-bg: var(--color-scale-gray-9);
--color-mktg-btn-shadow-outline: rgba(255, 255, 255, 0.25) 0 0 0 1px inset;
--color-marketing-icon-secondary: var(--color-scale-blue-5);
@@ -164,19 +164,19 @@
--topicTag-borderColor: #0000;
--highlight-neutral-bgColor: fade(@yellow, 30%);
--page-header-bgColor: @crust;
--diffBlob-additionNum-bgColor: fadeout(@green, 70%);
--diffBlob-additionNum-bgColor: fade(@green, 30%);
--diffBlob-additionNum-fgColor: @text;
--diffBlob-additionLine-bgColor: fadeout(@green, 85%);
--diffBlob-additionWord-bgColor: fadeout(@green, 70%);
--diffBlob-additionLine-bgColor: fade(@green, 15%);
--diffBlob-additionWord-bgColor: fade(@green, 30%);
--diffBlob-additionWord-fgColor: @text;
--diffBlob-deletionNum-bgColor: fadeout(@red, 70%);
--diffBlob-deletionNum-bgColor: fade(@red, 30%);
--diffBlob-deletionNum-fgColor: @text;
--diffBlob-deletionLine-bgColor: fadeout(@red, 85%);
--diffBlob-deletionWord-bgColor: fadeout(@red, 70%);
--diffBlob-deletionLine-bgColor: fade(@red, 15%);
--diffBlob-deletionWord-bgColor: fade(@red, 30%);
--diffBlob-deletionWord-fgColor: @text;
--diffBlob-hunkNum-bgColor-rest: fadeout(@accent-color, 60%);
--diffBlob-hunkNum-bgColor-hover: fade(@accent-color, 75%);
--diffBlob-hunkLine-bgColor: fadeout(@accent-color, 75%);
--diffBlob-hunkNum-bgColor-rest: fade(@accent, 40%);
--diffBlob-hunkNum-bgColor-hover: fade(@accent, 75%);
--diffBlob-hunkLine-bgColor: fade(@accent, 25%);
--diffBlob-expander-iconColor: @subtext0;
--diffBlob-emptyNum-bgColor: @mantle;
--diffBlob-emptyLine-bgColor: @mantle;
@@ -238,15 +238,15 @@
--control-danger-fgColor-hover: @crust;
--control-danger-bgColor-hover: fade(@red, 80%);
--control-danger-bgColor-active: @red;
--control-checked-bgColor-rest: @accent-color;
--control-checked-bgColor-hover: lighten(@accent-color, 5%);
--control-checked-bgColor-active: lighten(@accent-color, 5%);
--control-checked-bgColor-rest: @accent;
--control-checked-bgColor-hover: lighten(@accent, 5%);
--control-checked-bgColor-active: lighten(@accent, 5%);
--control-checked-bgColor-disabled: #6e7681;
--control-checked-fgColor-rest: @crust;
--control-checked-fgColor-disabled: #010409;
--control-checked-borderColor-rest: @accent-color;
--control-checked-borderColor-hover: @accent-color;
--control-checked-borderColor-active: @accent-color;
--control-checked-borderColor-rest: @accent;
--control-checked-borderColor-hover: @accent;
--control-checked-borderColor-active: @accent;
--control-checked-borderColor-disabled: @surface0;
--controlTrack-bgColor-rest: @surface0;
--controlTrack-bgColor-hover: @surface1;
@@ -286,7 +286,7 @@
--button-primary-borderColor-disabled: fade(@green, 70%);
--button-primary-shadow-selected: 0px 0px 0px 0px #000;
--button-invisible-fgColor-rest: @text;
--button-invisible-fgColor-hover: lighten(@accent-color, 10%);
--button-invisible-fgColor-hover: lighten(@accent, 10%);
--button-invisible-fgColor-disabled: #6e7681;
--button-invisible-iconColor-rest: @overlay2;
--button-invisible-iconColor-hover: #e6edf3;
@@ -341,7 +341,7 @@
--buttonCounter-danger-fgColor-rest: @red;
--buttonCounter-danger-fgColor-hover: @text;
--buttonCounter-danger-fgColor-disabled: fade(@red, 50%);
--focus-outlineColor: @accent-color;
--focus-outlineColor: @accent;
--menu-bgColor-active: @mantle;
--overlay-bgColor: @base;
--overlay-borderColor: @surface0;
@@ -352,22 +352,22 @@
--skeletonLoader-bgColor: #161b22;
--timelineBadge-bgColor: @mantle;
--treeViewItem-leadingVisual-iconColor-rest: @subtext0;
--underlineNav-borderColor-active: @accent-color;
--underlineNav-borderColor-active: @accent;
--underlineNav-borderColor-hover: #6e768166;
--underlineNav-iconColor-rest: #848d97;
--selection-bgColor: fade(@accent-color, 30%);
--reactionButton-selected-bgColor-rest: fade(@accent-color, 20%);
--reactionButton-selected-bgColor-hover: fade(@accent-color, 35%);
--reactionButton-selected-fgColor-rest: @accent-color;
--reactionButton-selected-fgColor-hover: @accent-color;
--selection-bgColor: fade(@accent, 30%);
--reactionButton-selected-bgColor-rest: fade(@accent, 20%);
--reactionButton-selected-bgColor-hover: fade(@accent, 35%);
--reactionButton-selected-fgColor-rest: @accent;
--reactionButton-selected-fgColor-hover: @accent;
--fgColor-default: @text;
--fgColor-muted: @subtext1;
--fgColor-onEmphasis: @base;
--fgColor-white: if(@lookup = latte, @crust, @text);
--fgColor-white: if(@flavor = latte, @crust, @text);
--fgColor-disabled: @surface2;
--fgColor-link: @accent-color;
--fgColor-link: @accent;
--fgColor-neutral: @subtext1;
--fgColor-accent: @accent-color;
--fgColor-accent: @accent;
--fgColor-success: @green;
--fgColor-attention: @yellow;
--fgColor-severe: @peach;
@@ -385,8 +385,8 @@
--bgColor-transparent: #0000;
--bgColor-neutral-muted: fade(@surface0, 40%);
--bgColor-neutral-emphasis: @subtext0;
--bgColor-accent-muted: fade(@accent-color, 20%);
--bgColor-accent-emphasis: @accent-color;
--bgColor-accent-muted: fade(@accent, 20%);
--bgColor-accent-emphasis: @accent;
--bgColor-success-muted: #2ea04326;
--bgColor-success-emphasis: @green;
--bgColor-attention-muted: fade(@yellow, 15%);
@@ -410,8 +410,8 @@
--borderColor-transparent: #0000;
--borderColor-neutral-muted: #6e768166;
--borderColor-neutral-emphasis: #6e7681;
--borderColor-accent-muted: fade(@accent-color, 50%);
--borderColor-accent-emphasis: @accent-color;
--borderColor-accent-muted: fade(@accent, 50%);
--borderColor-accent-emphasis: @accent;
--borderColor-success-muted: darken(@green, 5%);
--borderColor-success-emphasis: @green;
--borderColor-attention-muted: fade(@flamingo, 30%);
@@ -428,14 +428,14 @@
--borderColor-done-emphasis: @mauve;
--borderColor-sponsors-muted: #db61a266;
--borderColor-sponsors-emphasis: @pink;
& when (@lookup = latte) {
& when (@flavor = latte) {
--color-ansi-black: @subtext1;
--color-ansi-black-bright: @subtext0;
--color-ansi-gray: @subtext0;
--color-ansi-white: @surface2;
--color-ansi-white-bright: @surface1;
}
& when not(@lookup = latte) {
& when not(@flavor = latte) {
--color-ansi-black: @surface1;
--color-ansi-black-bright: @surface2;
--color-ansi-gray: @surface2;
@@ -464,16 +464,16 @@
--color-prettylights-syntax-string: @green;
--color-prettylights-syntax-variable: @peach;
--color-prettylights-syntax-invalid-illegal-text: @red;
--color-prettylights-syntax-invalid-illegal-bg: fadeout(@red, 85%);
--color-prettylights-syntax-invalid-illegal-bg: fade(@red, 15%);
--color-prettylights-syntax-markup-heading: @red;
--color-prettylights-syntax-markup-italic: @yellow;
--color-prettylights-syntax-markup-bold: @yellow;
--color-prettylights-syntax-markup-deleted-text: @text;
--color-prettylights-syntax-markup-deleted-bg: fadeout(@red, 60%);
--color-prettylights-syntax-markup-deleted-bg: fade(@red, 40%);
--color-prettylights-syntax-markup-inserted-text: @text;
--color-prettylights-syntax-markup-inserted-bg: fadeout(@green, 60%);
--color-prettylights-syntax-markup-inserted-bg: fade(@green, 40%);
--color-prettylights-syntax-markup-changed-text: @text;
--color-prettylights-syntax-markup-changed-bg: fadeout(@yellow, 60%);
--color-prettylights-syntax-markup-changed-bg: fade(@yellow, 40%);
--color-prettylights-syntax-markup-ignored-text: @text;
--bgColor-white: @base;
--color-scale-white: @base;
@@ -511,13 +511,13 @@
&:hover {
.octicon,
h3 {
color: @accent-color !important;
color: @accent !important;
}
}
}
/* Enhanced Repo Insights Views - https://github.com/orgs/community/discussions/135572 */
--data-blue-color-emphasis: @accent-color;
--data-blue-color-emphasis: @accent;
--data-red-color-emphasis: @red;
--data-green-color-emphasis: @green;
@@ -542,7 +542,7 @@
--rgh-heat-color: @peach;
.turbo-progress-bar {
background-color: @accent-color;
background-color: @accent;
}
.form-select {
@@ -578,8 +578,8 @@
}
.notification-indicator .mail-status {
background-image: linear-gradient(
@accent-color,
darken(@accent-color, 5%)
@accent,
darken(@accent, 5%)
);
}
@@ -608,12 +608,12 @@
}
.js-activity-overview-graph .js-highlight-blob {
fill: @accent-color;
stroke: @accent-color;
fill: @accent;
stroke: @accent;
}
.subnav-link.selected {
border-bottom-color: @accent-color;
border-bottom-color: @accent;
}
/* Pull request check in progress indicator */
@@ -632,62 +632,62 @@
[data-color-mode="auto"] {
@media (prefers-color-scheme: light) {
&[data-light-theme="light"] {
#catppuccin(@lightFlavor, @accentColor);
#catppuccin(@lightFlavor);
}
&[data-light-theme="dark"] {
#catppuccin(@darkFlavor, @accentColor);
#catppuccin(@darkFlavor);
}
}
@media (prefers-color-scheme: dark) {
&[data-dark-theme="light"] {
#catppuccin(@lightFlavor, @accentColor);
#catppuccin(@lightFlavor);
}
&[data-dark-theme="dark"] {
#catppuccin(@darkFlavor, @accentColor);
#catppuccin(@darkFlavor);
}
}
}
[data-color-mode="light"][data-light-theme="dark"],
[data-color-mode="dark"][data-dark-theme="dark"] {
#catppuccin(@darkFlavor, @accentColor);
#catppuccin(@darkFlavor);
}
[data-color-mode="light"][data-light-theme="light"],
[data-color-mode="dark"][data-dark-theme="light"] {
#catppuccin(@lightFlavor, @accentColor);
#catppuccin(@lightFlavor);
}
#catppuccin(@lookup, @accent) {
@rosewater: @catppuccin[@@lookup][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo];
@pink: @catppuccin[@@lookup][@pink];
@mauve: @catppuccin[@@lookup][@mauve];
@red: @catppuccin[@@lookup][@red];
@maroon: @catppuccin[@@lookup][@maroon];
@peach: @catppuccin[@@lookup][@peach];
@yellow: @catppuccin[@@lookup][@yellow];
@green: @catppuccin[@@lookup][@green];
@teal: @catppuccin[@@lookup][@teal];
@sky: @catppuccin[@@lookup][@sky];
@sapphire: @catppuccin[@@lookup][@sapphire];
@blue: @catppuccin[@@lookup][@blue];
@lavender: @catppuccin[@@lookup][@lavender];
@text: @catppuccin[@@lookup][@text];
@subtext1: @catppuccin[@@lookup][@subtext1];
@subtext0: @catppuccin[@@lookup][@subtext0];
@overlay2: @catppuccin[@@lookup][@overlay2];
@overlay1: @catppuccin[@@lookup][@overlay1];
@overlay0: @catppuccin[@@lookup][@overlay0];
@surface2: @catppuccin[@@lookup][@surface2];
@surface1: @catppuccin[@@lookup][@surface1];
@surface0: @catppuccin[@@lookup][@surface0];
@base: @catppuccin[@@lookup][@base];
@mantle: @catppuccin[@@lookup][@mantle];
@crust: @catppuccin[@@lookup][@crust];
@accent-color: @catppuccin[@@lookup][@@accent];
#catppuccin(@flavor) {
@rosewater: @catppuccin[@@flavor][@rosewater];
@flamingo: @catppuccin[@@flavor][@flamingo];
@pink: @catppuccin[@@flavor][@pink];
@mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@flavor][@surface2];
@surface1: @catppuccin[@@flavor][@surface1];
@surface0: @catppuccin[@@flavor][@surface0];
@base: @catppuccin[@@flavor][@base];
@mantle: @catppuccin[@@flavor][@mantle];
@crust: @catppuccin[@@flavor][@crust];
@accent: @catppuccin[@@flavor][@@accentColor];
::selection {
background-color: fade(@accent-color, 30%);
background-color: fade(@accent, 30%);
}
background-color: @base;
@@ -700,7 +700,7 @@
--color-btn-active-bg: @surface2;
--color-btn-selected-bg: @surface2;
--color-btn-counter-bg: @surface2;
--color-btn-outline-text: @accent-color;
--color-btn-outline-text: @accent;
--color-fg-muted: @subtext1;
--button-default-fgColor-rest: @text;
--button-default-bgColor-rest: @surface0;
@@ -719,8 +719,8 @@
.node ellipse,
.node polygon,
.node path {
fill: fade(@accent-color, 10%);
stroke: @accent-color;
fill: fade(@accent, 10%);
stroke: @accent;
}
.cluster rect {
@@ -761,42 +761,42 @@
"https:\/\/notebooks\.githubusercontent\.com\/view\/ipynb.*"
) {
:root {
#catppuccin(@darkFlavor, @accentColor);
#catppuccin(@darkFlavor);
}
#catppuccin(@lookup, @accent) {
@rosewater: @catppuccin[@@lookup][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo];
@pink: @catppuccin[@@lookup][@pink];
@mauve: @catppuccin[@@lookup][@mauve];
@red: @catppuccin[@@lookup][@red];
@maroon: @catppuccin[@@lookup][@maroon];
@peach: @catppuccin[@@lookup][@peach];
@yellow: @catppuccin[@@lookup][@yellow];
@green: @catppuccin[@@lookup][@green];
@teal: @catppuccin[@@lookup][@teal];
@sky: @catppuccin[@@lookup][@sky];
@sapphire: @catppuccin[@@lookup][@sapphire];
@blue: @catppuccin[@@lookup][@blue];
@lavender: @catppuccin[@@lookup][@lavender];
@text: @catppuccin[@@lookup][@text];
@subtext1: @catppuccin[@@lookup][@subtext1];
@subtext0: @catppuccin[@@lookup][@subtext0];
@overlay2: @catppuccin[@@lookup][@overlay2];
@overlay1: @catppuccin[@@lookup][@overlay1];
@overlay0: @catppuccin[@@lookup][@overlay0];
@surface2: @catppuccin[@@lookup][@surface2];
@surface1: @catppuccin[@@lookup][@surface1];
@surface0: @catppuccin[@@lookup][@surface0];
@base: @catppuccin[@@lookup][@base];
@mantle: @catppuccin[@@lookup][@mantle];
@crust: @catppuccin[@@lookup][@crust];
@accent-color: @catppuccin[@@lookup][@@accent];
#catppuccin(@flavor) {
@rosewater: @catppuccin[@@flavor][@rosewater];
@flamingo: @catppuccin[@@flavor][@flamingo];
@pink: @catppuccin[@@flavor][@pink];
@mauve: @catppuccin[@@flavor][@mauve];
@red: @catppuccin[@@flavor][@red];
@maroon: @catppuccin[@@flavor][@maroon];
@peach: @catppuccin[@@flavor][@peach];
@yellow: @catppuccin[@@flavor][@yellow];
@green: @catppuccin[@@flavor][@green];
@teal: @catppuccin[@@flavor][@teal];
@sky: @catppuccin[@@flavor][@sky];
@sapphire: @catppuccin[@@flavor][@sapphire];
@blue: @catppuccin[@@flavor][@blue];
@lavender: @catppuccin[@@flavor][@lavender];
@text: @catppuccin[@@flavor][@text];
@subtext1: @catppuccin[@@flavor][@subtext1];
@subtext0: @catppuccin[@@flavor][@subtext0];
@overlay2: @catppuccin[@@flavor][@overlay2];
@overlay1: @catppuccin[@@flavor][@overlay1];
@overlay0: @catppuccin[@@flavor][@overlay0];
@surface2: @catppuccin[@@flavor][@surface2];
@surface1: @catppuccin[@@flavor][@surface1];
@surface0: @catppuccin[@@flavor][@surface0];
@base: @catppuccin[@@flavor][@base];
@mantle: @catppuccin[@@flavor][@mantle];
@crust: @catppuccin[@@flavor][@crust];
@accent: @catppuccin[@@flavor][@@accentColor];
color-scheme: if(@lookup = latte, light, dark);
color-scheme: if(@flavor = latte, light, dark);
::selection {
background-color: fade(@accent-color, 30%);
background-color: fade(@accent, 30%);
}
input,
@@ -811,17 +811,17 @@
--jp-border-color2: var(--color-scale-gray-8);
--jp-border-color3: var(--color-scale-gray-9);
--jp-ui-font-color0: @text;
--jp-ui-font-color1: fadeout(@text, 13%);
--jp-ui-font-color2: fadeout(@text, 46%);
--jp-ui-font-color3: fadeout(@text, 72%);
--jp-ui-font-color1: fade(@text, 87%);
--jp-ui-font-color2: fade(@text, 54%);
--jp-ui-font-color3: fade(@text, 28%);
--jp-ui-inverse-font-color0: @crust;
--jp-ui-inverse-font-color1: fadeout(@crust, 20%);
--jp-ui-inverse-font-color2: fadeout(@crust, 50%);
--jp-ui-inverse-font-color3: fadeout(@crust, 70%);
--jp-ui-inverse-font-color1: fade(@crust, 80%);
--jp-ui-inverse-font-color2: fade(@crust, 50%);
--jp-ui-inverse-font-color3: fade(@crust, 30%);
--jp-content-font-color0: @text;
--jp-content-font-color1: @text;
--jp-content-font-color2: fadeout(@text, 30%);
--jp-content-font-color3: fadeout(@text, 50%);
--jp-content-font-color2: fade(@text, 70%);
--jp-content-font-color3: fade(@text, 50%);
--jp-content-link-color: @sapphire;
--jp-layout-color0: @base !important;
--jp-layout-color1: var(--color-scale-gray-9);
@@ -861,19 +861,19 @@
--jp-cell-editor-background: @mantle;
--jp-cell-editor-border-color: var(--color-scale-gray-7);
--jp-cell-editor-box-shadow: inset 0 0 2px var(--color-scale-blue-3);
--jp-cell-prompt-not-active-font-color: fadeout(@text, 50%);
--jp-cell-prompt-not-active-font-color: fade(@text, 50%);
--jp-cell-inprompt-font-color: var(--color-scale-blue-6);
--jp-cell-outprompt-font-color: var(--color-scale-coral-6);
--jp-notebook-multiselected-color: fadeout(@overlay2, 86%);
--jp-rendermime-error-background: fadeout(@red, 82%);
--jp-notebook-multiselected-color: fade(@overlay2, 14%);
--jp-rendermime-error-background: fade(@red, 18%);
--jp-rendermime-table-row-background: var(--color-scale-gray-9);
--jp-rendermime-table-row-hover-background: fadeout(@surface2, 86%);
--jp-dialog-background: fadeout(@crust, 40%);
--jp-toolbar-box-shadow: 0px 0px 2px 0px fadeout(@crust, 20%);
--jp-rendermime-table-row-hover-background: fade(@surface2, 14%);
--jp-dialog-background: fade(@crust, 60%);
--jp-toolbar-box-shadow: 0px 0px 2px 0px fade(@crust, 80%);
--jp-input-box-shadow: inset 0 0 2px var(--color-scale-blue-3);
--jp-input-background: var(--color-scale-gray-8);
--jp-input-active-box-shadow-color: fadeout(@blue, 70%);
--jp-editor-selected-focused-background: fadeout(@blue, 86%);
--jp-input-active-box-shadow-color: fade(@blue, 30%);
--jp-editor-selected-focused-background: fade(@blue, 14%);
--jp-mirror-editor-keyword-color: var(--color-scale-green-5);
--jp-mirror-editor-atom-color: var(--color-scale-blue-3);
--jp-mirror-editor-number-color: var(--color-scale-green-4);