refactor(tree-wide): misc improvements (#1547)
This commit is contained in:
1 parent
3e6ecfbf86
commit
6121f23d7c
126 files changed
+8047
-8021
No files matched your search
+168
-152
@@ -19,45 +19,45 @@
|
||||
@import url("https://python.catppuccin.com/pygments/catppuccin-variables.important.css");
|
||||
|
||||
.tw-root--theme-dark {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
#catppuccin(@darkFlavor);
|
||||
}
|
||||
.tw-root--theme-light {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
#catppuccin(@lightFlavor);
|
||||
}
|
||||
|
||||
#catppuccin(@lookup, @accent) {
|
||||
@rosewater: @catppuccin[@@lookup][@rosewater];
|
||||
@flamingo: @catppuccin[@@lookup][@flamingo];
|
||||
@pink: @catppuccin[@@lookup][@pink];
|
||||
@mauve: @catppuccin[@@lookup][@mauve];
|
||||
@red: @catppuccin[@@lookup][@red];
|
||||
@maroon: @catppuccin[@@lookup][@maroon];
|
||||
@peach: @catppuccin[@@lookup][@peach];
|
||||
@yellow: @catppuccin[@@lookup][@yellow];
|
||||
@green: @catppuccin[@@lookup][@green];
|
||||
@teal: @catppuccin[@@lookup][@teal];
|
||||
@sky: @catppuccin[@@lookup][@sky];
|
||||
@sapphire: @catppuccin[@@lookup][@sapphire];
|
||||
@blue: @catppuccin[@@lookup][@blue];
|
||||
@lavender: @catppuccin[@@lookup][@lavender];
|
||||
@text: @catppuccin[@@lookup][@text];
|
||||
@subtext1: @catppuccin[@@lookup][@subtext1];
|
||||
@subtext0: @catppuccin[@@lookup][@subtext0];
|
||||
@overlay2: @catppuccin[@@lookup][@overlay2];
|
||||
@overlay1: @catppuccin[@@lookup][@overlay1];
|
||||
@overlay0: @catppuccin[@@lookup][@overlay0];
|
||||
@surface2: @catppuccin[@@lookup][@surface2];
|
||||
@surface1: @catppuccin[@@lookup][@surface1];
|
||||
@surface0: @catppuccin[@@lookup][@surface0];
|
||||
@base: @catppuccin[@@lookup][@base];
|
||||
@mantle: @catppuccin[@@lookup][@mantle];
|
||||
@crust: @catppuccin[@@lookup][@crust];
|
||||
@accent-color: @catppuccin[@@lookup][@@accent];
|
||||
#catppuccin(@flavor) {
|
||||
@rosewater: @catppuccin[@@flavor][@rosewater];
|
||||
@flamingo: @catppuccin[@@flavor][@flamingo];
|
||||
@pink: @catppuccin[@@flavor][@pink];
|
||||
@mauve: @catppuccin[@@flavor][@mauve];
|
||||
@red: @catppuccin[@@flavor][@red];
|
||||
@maroon: @catppuccin[@@flavor][@maroon];
|
||||
@peach: @catppuccin[@@flavor][@peach];
|
||||
@yellow: @catppuccin[@@flavor][@yellow];
|
||||
@green: @catppuccin[@@flavor][@green];
|
||||
@teal: @catppuccin[@@flavor][@teal];
|
||||
@sky: @catppuccin[@@flavor][@sky];
|
||||
@sapphire: @catppuccin[@@flavor][@sapphire];
|
||||
@blue: @catppuccin[@@flavor][@blue];
|
||||
@lavender: @catppuccin[@@flavor][@lavender];
|
||||
@text: @catppuccin[@@flavor][@text];
|
||||
@subtext1: @catppuccin[@@flavor][@subtext1];
|
||||
@subtext0: @catppuccin[@@flavor][@subtext0];
|
||||
@overlay2: @catppuccin[@@flavor][@overlay2];
|
||||
@overlay1: @catppuccin[@@flavor][@overlay1];
|
||||
@overlay0: @catppuccin[@@flavor][@overlay0];
|
||||
@surface2: @catppuccin[@@flavor][@surface2];
|
||||
@surface1: @catppuccin[@@flavor][@surface1];
|
||||
@surface0: @catppuccin[@@flavor][@surface0];
|
||||
@base: @catppuccin[@@flavor][@base];
|
||||
@mantle: @catppuccin[@@flavor][@mantle];
|
||||
@crust: @catppuccin[@@flavor][@crust];
|
||||
@accent: @catppuccin[@@flavor][@@accentColor];
|
||||
|
||||
color-scheme: if(@lookup = latte, light, dark);
|
||||
color-scheme: if(@flavor = latte, light, dark);
|
||||
|
||||
::selection {
|
||||
background-color: fade(@accent-color, 30%);
|
||||
background-color: fade(@accent, 30%);
|
||||
}
|
||||
|
||||
input,
|
||||
@@ -149,16 +149,16 @@
|
||||
--color-white: @text;
|
||||
--color-black: @crust;
|
||||
--color-info: @blue;
|
||||
--color-twitch-purple: @accent-color;
|
||||
--color-twitch-purple-4: @accent-color;
|
||||
--color-twitch-purple-5: @accent-color;
|
||||
--color-twitch-purple-6: @accent-color;
|
||||
--color-twitch-purple-7: @accent-color;
|
||||
--color-twitch-purple-8: @accent-color;
|
||||
--color-twitch-purple-9: @accent-color;
|
||||
--color-twitch-purple-10: @accent-color;
|
||||
--color-twitch-purple-11: @accent-color;
|
||||
--color-twitch-purple-12: @accent-color;
|
||||
--color-twitch-purple: @accent;
|
||||
--color-twitch-purple-4: @accent;
|
||||
--color-twitch-purple-5: @accent;
|
||||
--color-twitch-purple-6: @accent;
|
||||
--color-twitch-purple-7: @accent;
|
||||
--color-twitch-purple-8: @accent;
|
||||
--color-twitch-purple-9: @accent;
|
||||
--color-twitch-purple-10: @accent;
|
||||
--color-twitch-purple-11: @accent;
|
||||
--color-twitch-purple-12: @accent;
|
||||
--color-orange-7: @yellow;
|
||||
--color-orange-8: @yellow;
|
||||
--color-orange-9: @yellow;
|
||||
@@ -212,13 +212,13 @@
|
||||
--color-magenta-11: @pink;
|
||||
--color-magenta-12: @pink;
|
||||
--color-magenta-14: @pink;
|
||||
--color-red-4: @accent-color;
|
||||
--color-red-5: @accent-color;
|
||||
--color-red-6: @accent-color;
|
||||
--color-red-7: @accent-color;
|
||||
--color-red-8: @accent-color;
|
||||
--color-red-9: @accent-color;
|
||||
--color-red-10: @accent-color;
|
||||
--color-red-4: @accent;
|
||||
--color-red-5: @accent;
|
||||
--color-red-6: @accent;
|
||||
--color-red-7: @accent;
|
||||
--color-red-8: @accent;
|
||||
--color-red-9: @accent;
|
||||
--color-red-10: @accent;
|
||||
--color-red-11: @peach;
|
||||
--color-red-12: @peach;
|
||||
--color-red-14: @peach;
|
||||
@@ -235,7 +235,7 @@
|
||||
--color-vk: @blue;
|
||||
--color-amazon: @yellow;
|
||||
--color-background-button-text-hover: @surface0;
|
||||
--color-text-accessible-red: @accent-color;
|
||||
--color-text-accessible-red: @accent;
|
||||
--color-border-input-checkbox: @subtext0;
|
||||
--color-border-input-checkbox-hover: @text;
|
||||
--color-text-label: @text;
|
||||
@@ -262,19 +262,19 @@
|
||||
--color-background-input-checkbox-checked-background: @crust;
|
||||
}
|
||||
|
||||
--color-text-link: @accent-color;
|
||||
--color-text-link-active: darken(@accent-color, 5%);
|
||||
--color-text-link-focus: darken(@accent-color, 5%);
|
||||
--color-text-link-hover: darken(@accent-color, 5%);
|
||||
--color-text-link-visited: @accent-color;
|
||||
--color-text-link: @accent;
|
||||
--color-text-link-active: darken(@accent, 5%);
|
||||
--color-text-link-focus: darken(@accent, 5%);
|
||||
--color-text-link-hover: darken(@accent, 5%);
|
||||
--color-text-link-visited: @accent;
|
||||
|
||||
&,
|
||||
[class*="ScAccentRegionCssVars"] {
|
||||
--color-accent: @accent-color;
|
||||
--color-accent: @accent;
|
||||
}
|
||||
/* Hardcoded accent color */
|
||||
[style="color: rgb(160, 84, 255);"] {
|
||||
color: @accent-color !important;
|
||||
color: @accent !important;
|
||||
}
|
||||
|
||||
/* Full screened video player title & description */
|
||||
@@ -296,7 +296,7 @@
|
||||
}
|
||||
|
||||
a {
|
||||
color: @accent-color;
|
||||
color: @accent;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -325,7 +325,7 @@
|
||||
p {
|
||||
color: @text;
|
||||
}
|
||||
border-color: @accent-color;
|
||||
border-color: @accent;
|
||||
}
|
||||
|
||||
/* `Includes paid promotion` label */
|
||||
@@ -362,7 +362,7 @@
|
||||
div[data-test-selector="header-content"] span,
|
||||
div[data-test-selector="community-prediction-highlight-body__outcome-points"]
|
||||
span {
|
||||
color: @accent-color;
|
||||
color: @accent;
|
||||
}
|
||||
|
||||
button[data-test-selector="community-prediction-highlight-header__how-to-play"],
|
||||
@@ -382,7 +382,7 @@
|
||||
|
||||
div.mystery-gift-chat-banner {
|
||||
span {
|
||||
color: @accent-color;
|
||||
color: @accent;
|
||||
}
|
||||
|
||||
p {
|
||||
@@ -418,7 +418,7 @@
|
||||
|
||||
div[data-test-selector="seekbar-interaction-area__interactionArea"]
|
||||
span[data-test-selector="seekbar-segment__segment"] {
|
||||
background: @accent-color !important;
|
||||
background: @accent !important;
|
||||
}
|
||||
|
||||
/* Seekbar DMCA muted segment */
|
||||
@@ -485,7 +485,7 @@
|
||||
/* Usercard mod log tabs */
|
||||
|
||||
.viewer-card-mod-drawer-tab--active {
|
||||
box-shadow: 0 calc(var(--border-width-default) * -3) 0 @accent-color inset
|
||||
box-shadow: 0 calc(var(--border-width-default) * -3) 0 @accent inset
|
||||
!important;
|
||||
}
|
||||
|
||||
@@ -504,7 +504,7 @@
|
||||
/* Viewercard username */
|
||||
|
||||
div.viewer-card-header__display-name h4 {
|
||||
color: @accent-color !important;
|
||||
color: @accent !important;
|
||||
}
|
||||
|
||||
/* Viewercard metadata */
|
||||
@@ -555,9 +555,9 @@
|
||||
color: @subtext0;
|
||||
}
|
||||
.chat-line__message-body--highlighted {
|
||||
background-color: @accent-color;
|
||||
background-color: @accent;
|
||||
color: @crust;
|
||||
border-color: @accent-color;
|
||||
border-color: @accent;
|
||||
}
|
||||
.chat-scrollable-area__message-container {
|
||||
background-color: @mantle;
|
||||
@@ -586,11 +586,11 @@
|
||||
|
||||
&:hover,
|
||||
.active {
|
||||
color: @accent-color;
|
||||
color: @accent;
|
||||
}
|
||||
}
|
||||
.navigation-link__active-indicator {
|
||||
background-color: @accent-color !important;
|
||||
background-color: @accent !important;
|
||||
}
|
||||
.chat-room {
|
||||
background: @mantle;
|
||||
@@ -653,7 +653,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
[data-a-target="preview-card-image-link"] when (@lookup = latte) {
|
||||
[data-a-target="preview-card-image-link"] when (@flavor = latte) {
|
||||
--color-background-overlay-alt: fade(@text, 80%);
|
||||
.tw-media-card-stat,
|
||||
p,
|
||||
@@ -729,12 +729,12 @@
|
||||
/* Privacy center */
|
||||
|
||||
.privacy-center-root__number-item {
|
||||
background: @accent-color;
|
||||
background: @accent;
|
||||
color: @base;
|
||||
}
|
||||
|
||||
.privacy-center-accordion {
|
||||
border-color: @accent-color;
|
||||
border-color: @accent;
|
||||
}
|
||||
|
||||
.privacy-center-home-tabs {
|
||||
@@ -785,7 +785,7 @@
|
||||
}
|
||||
|
||||
.creator-home-focus-position {
|
||||
background: linear-gradient(@accent-color, @base);
|
||||
background: linear-gradient(@accent, @base);
|
||||
}
|
||||
|
||||
/* Shield mode tray */
|
||||
@@ -855,7 +855,7 @@
|
||||
|
||||
.unban-requests-action-button__selected {
|
||||
color: @base !important;
|
||||
background: @accent-color;
|
||||
background: @accent;
|
||||
}
|
||||
|
||||
.unban-requests-tabs__load-previous > div {
|
||||
@@ -935,7 +935,7 @@
|
||||
div p {
|
||||
color: @text !important;
|
||||
}
|
||||
& when (@lookup = latte) {
|
||||
& when (@flavor = latte) {
|
||||
div,
|
||||
div p {
|
||||
color: @base !important;
|
||||
@@ -944,7 +944,7 @@
|
||||
}
|
||||
|
||||
.vertical-selector a:hover {
|
||||
background: darken(@accent-color, 5%);
|
||||
background: darken(@accent, 5%);
|
||||
}
|
||||
|
||||
/* Chat popouts */
|
||||
@@ -970,7 +970,7 @@
|
||||
background: @teal;
|
||||
}
|
||||
|
||||
.player-controls when (@lookup = latte) {
|
||||
.player-controls when (@flavor = latte) {
|
||||
--color-text-button-overlay: @base !important;
|
||||
--color-background-range-overlay-fill: @base !important;
|
||||
--color-text-button-overlay-hover: @mantle !important;
|
||||
@@ -998,20 +998,40 @@
|
||||
|
||||
@-moz-document domain("dashboard.twitch.tv") {
|
||||
.tw-root--theme-dark {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
#catppuccin(@darkFlavor);
|
||||
}
|
||||
.tw-root--theme-light {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
#catppuccin(@lightFlavor);
|
||||
}
|
||||
|
||||
#catppuccin(@lookup, @accent) {
|
||||
@text: @catppuccin[@@lookup][@text];
|
||||
@green: @catppuccin[@@lookup][@green];
|
||||
@base: @catppuccin[@@lookup][@base];
|
||||
@mantle: @catppuccin[@@lookup][@mantle];
|
||||
@crust: @catppuccin[@@lookup][@crust];
|
||||
@surface0: @catppuccin[@@lookup][@surface0];
|
||||
@accent-color: @catppuccin[@@lookup][@@accent];
|
||||
#catppuccin(@flavor) {
|
||||
@rosewater: @catppuccin[@@flavor][@rosewater];
|
||||
@flamingo: @catppuccin[@@flavor][@flamingo];
|
||||
@pink: @catppuccin[@@flavor][@pink];
|
||||
@mauve: @catppuccin[@@flavor][@mauve];
|
||||
@red: @catppuccin[@@flavor][@red];
|
||||
@maroon: @catppuccin[@@flavor][@maroon];
|
||||
@peach: @catppuccin[@@flavor][@peach];
|
||||
@yellow: @catppuccin[@@flavor][@yellow];
|
||||
@green: @catppuccin[@@flavor][@green];
|
||||
@teal: @catppuccin[@@flavor][@teal];
|
||||
@sky: @catppuccin[@@flavor][@sky];
|
||||
@sapphire: @catppuccin[@@flavor][@sapphire];
|
||||
@blue: @catppuccin[@@flavor][@blue];
|
||||
@lavender: @catppuccin[@@flavor][@lavender];
|
||||
@text: @catppuccin[@@flavor][@text];
|
||||
@subtext1: @catppuccin[@@flavor][@subtext1];
|
||||
@subtext0: @catppuccin[@@flavor][@subtext0];
|
||||
@overlay2: @catppuccin[@@flavor][@overlay2];
|
||||
@overlay1: @catppuccin[@@flavor][@overlay1];
|
||||
@overlay0: @catppuccin[@@flavor][@overlay0];
|
||||
@surface2: @catppuccin[@@flavor][@surface2];
|
||||
@surface1: @catppuccin[@@flavor][@surface1];
|
||||
@surface0: @catppuccin[@@flavor][@surface0];
|
||||
@base: @catppuccin[@@flavor][@base];
|
||||
@mantle: @catppuccin[@@flavor][@mantle];
|
||||
@crust: @catppuccin[@@flavor][@crust];
|
||||
@accent: @catppuccin[@@flavor][@@accentColor];
|
||||
|
||||
article button {
|
||||
--color-fill-current: @base !important;
|
||||
@@ -1069,16 +1089,15 @@
|
||||
/* Analytics */
|
||||
|
||||
.top-stats-tab--active {
|
||||
color: @accent-color !important;
|
||||
box-shadow: 0 calc(var(--border-width-default) * -3) 0 @accent-color
|
||||
inset;
|
||||
color: @accent !important;
|
||||
box-shadow: 0 calc(var(--border-width-default) * -3) 0 @accent inset;
|
||||
.top-stats-tab__title {
|
||||
color: @accent-color !important;
|
||||
color: @accent !important;
|
||||
}
|
||||
}
|
||||
|
||||
.top-stats-tab:hover {
|
||||
box-shadow: inset 0 -2px 0 @accent-color, 0 4px 6px -4px @accent-color;
|
||||
box-shadow: inset 0 -2px 0 @accent, 0 4px 6px -4px @accent;
|
||||
background: @base !important;
|
||||
}
|
||||
|
||||
@@ -1113,8 +1132,7 @@
|
||||
/* Research */
|
||||
|
||||
.time-to-stream-tab--active {
|
||||
box-shadow: 0 calc(var(--border-width-default) * -3) 0 @accent-color
|
||||
inset;
|
||||
box-shadow: 0 calc(var(--border-width-default) * -3) 0 @accent inset;
|
||||
}
|
||||
|
||||
/* Collection thumbnails */
|
||||
@@ -1169,45 +1187,43 @@
|
||||
|
||||
@-moz-document domain("dev.twitch.tv"),
|
||||
url-prefix("https://discuss.dev.twitch.com/embed/topics") {
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root {
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
:root {
|
||||
@media (prefers-color-scheme: light) {
|
||||
#catppuccin(@lightFlavor);
|
||||
}
|
||||
}
|
||||
@media (prefers-color-scheme: light) {
|
||||
:root {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
@media (prefers-color-scheme: dark) {
|
||||
#catppuccin(@darkFlavor);
|
||||
}
|
||||
}
|
||||
|
||||
#catppuccin(@lookup, @accent) {
|
||||
@rosewater: @catppuccin[@@lookup][@rosewater];
|
||||
@flamingo: @catppuccin[@@lookup][@flamingo];
|
||||
@pink: @catppuccin[@@lookup][@pink];
|
||||
@mauve: @catppuccin[@@lookup][@mauve];
|
||||
@red: @catppuccin[@@lookup][@red];
|
||||
@maroon: @catppuccin[@@lookup][@maroon];
|
||||
@peach: @catppuccin[@@lookup][@peach];
|
||||
@yellow: @catppuccin[@@lookup][@yellow];
|
||||
@green: @catppuccin[@@lookup][@green];
|
||||
@teal: @catppuccin[@@lookup][@teal];
|
||||
@sky: @catppuccin[@@lookup][@sky];
|
||||
@sapphire: @catppuccin[@@lookup][@sapphire];
|
||||
@blue: @catppuccin[@@lookup][@blue];
|
||||
@lavender: @catppuccin[@@lookup][@lavender];
|
||||
@text: @catppuccin[@@lookup][@text];
|
||||
@subtext1: @catppuccin[@@lookup][@subtext1];
|
||||
@subtext0: @catppuccin[@@lookup][@subtext0];
|
||||
@overlay2: @catppuccin[@@lookup][@overlay2];
|
||||
@overlay1: @catppuccin[@@lookup][@overlay1];
|
||||
@overlay0: @catppuccin[@@lookup][@overlay0];
|
||||
@surface2: @catppuccin[@@lookup][@surface2];
|
||||
@surface1: @catppuccin[@@lookup][@surface1];
|
||||
@surface0: @catppuccin[@@lookup][@surface0];
|
||||
@base: @catppuccin[@@lookup][@base];
|
||||
@mantle: @catppuccin[@@lookup][@mantle];
|
||||
@crust: @catppuccin[@@lookup][@crust];
|
||||
@accent-color: @catppuccin[@@lookup][@@accent];
|
||||
#catppuccin(@flavor) {
|
||||
@rosewater: @catppuccin[@@flavor][@rosewater];
|
||||
@flamingo: @catppuccin[@@flavor][@flamingo];
|
||||
@pink: @catppuccin[@@flavor][@pink];
|
||||
@mauve: @catppuccin[@@flavor][@mauve];
|
||||
@red: @catppuccin[@@flavor][@red];
|
||||
@maroon: @catppuccin[@@flavor][@maroon];
|
||||
@peach: @catppuccin[@@flavor][@peach];
|
||||
@yellow: @catppuccin[@@flavor][@yellow];
|
||||
@green: @catppuccin[@@flavor][@green];
|
||||
@teal: @catppuccin[@@flavor][@teal];
|
||||
@sky: @catppuccin[@@flavor][@sky];
|
||||
@sapphire: @catppuccin[@@flavor][@sapphire];
|
||||
@blue: @catppuccin[@@flavor][@blue];
|
||||
@lavender: @catppuccin[@@flavor][@lavender];
|
||||
@text: @catppuccin[@@flavor][@text];
|
||||
@subtext1: @catppuccin[@@flavor][@subtext1];
|
||||
@subtext0: @catppuccin[@@flavor][@subtext0];
|
||||
@overlay2: @catppuccin[@@flavor][@overlay2];
|
||||
@overlay1: @catppuccin[@@flavor][@overlay1];
|
||||
@overlay0: @catppuccin[@@flavor][@overlay0];
|
||||
@surface2: @catppuccin[@@flavor][@surface2];
|
||||
@surface1: @catppuccin[@@flavor][@surface1];
|
||||
@surface0: @catppuccin[@@flavor][@surface0];
|
||||
@base: @catppuccin[@@flavor][@base];
|
||||
@mantle: @catppuccin[@@flavor][@mantle];
|
||||
@crust: @catppuccin[@@flavor][@crust];
|
||||
@accent: @catppuccin[@@flavor][@@accentColor];
|
||||
|
||||
--ctp-rosewater: @rosewater;
|
||||
--ctp-flamingo: @flamingo;
|
||||
@@ -1247,19 +1263,19 @@
|
||||
|
||||
a.btn,
|
||||
button.btn {
|
||||
border-color: @accent-color;
|
||||
background: @accent-color !important;
|
||||
border-color: @accent;
|
||||
background: @accent !important;
|
||||
color: @base !important;
|
||||
}
|
||||
|
||||
a.btn:hover,
|
||||
button.btn:hover {
|
||||
background: fade(@accent-color, 80%) !important;
|
||||
background: fade(@accent, 80%) !important;
|
||||
}
|
||||
|
||||
/* Recent announcements */
|
||||
.topics-list .topic-list-item .main-link a {
|
||||
color: @accent-color;
|
||||
color: @accent;
|
||||
}
|
||||
|
||||
.topic-created-at,
|
||||
@@ -1283,7 +1299,7 @@
|
||||
border-color: @crust !important;
|
||||
}
|
||||
a.btn.light {
|
||||
background: fade(@accent-color, 10%) !important;
|
||||
background: fade(@accent, 10%) !important;
|
||||
color: @text !important;
|
||||
}
|
||||
.nav__links a {
|
||||
@@ -1293,8 +1309,8 @@
|
||||
color: @subtext0;
|
||||
}
|
||||
&.active {
|
||||
color: @accent-color;
|
||||
border-color: @accent-color;
|
||||
color: @accent;
|
||||
border-color: @accent;
|
||||
}
|
||||
}
|
||||
.nav__logo svg path {
|
||||
@@ -1313,7 +1329,7 @@
|
||||
color: @text !important;
|
||||
}
|
||||
a:hover {
|
||||
color: @accent-color !important;
|
||||
color: @accent !important;
|
||||
}
|
||||
|
||||
svg path {
|
||||
@@ -1327,7 +1343,7 @@
|
||||
* {
|
||||
color: @mantle !important;
|
||||
}
|
||||
background: @accent-color;
|
||||
background: @accent;
|
||||
}
|
||||
.content-alternate-2 {
|
||||
background: @base;
|
||||
@@ -1343,8 +1359,8 @@
|
||||
}
|
||||
|
||||
.sandbox-tab.active {
|
||||
color: @accent-color !important;
|
||||
border-color: @accent-color !important;
|
||||
color: @accent !important;
|
||||
border-color: @accent !important;
|
||||
}
|
||||
|
||||
.hero,
|
||||
@@ -1387,7 +1403,7 @@
|
||||
}
|
||||
|
||||
blockquote {
|
||||
border-color: @accent-color;
|
||||
border-color: @accent;
|
||||
background: @mantle;
|
||||
}
|
||||
|
||||
@@ -1398,7 +1414,7 @@
|
||||
background: @base;
|
||||
border-color: @base !important;
|
||||
a {
|
||||
color: @accent-color;
|
||||
color: @accent;
|
||||
}
|
||||
border-bottom-color: @surface0 !important;
|
||||
border-image: none;
|
||||
@@ -1406,8 +1422,8 @@
|
||||
}
|
||||
|
||||
code {
|
||||
border-color: @accent-color !important;
|
||||
background: fade(@accent-color, 5%) !important;
|
||||
border-color: @accent !important;
|
||||
background: fade(@accent, 5%) !important;
|
||||
color: @text !important;
|
||||
}
|
||||
|
||||
@@ -1426,7 +1442,7 @@
|
||||
/* Pills */
|
||||
.pill-new {
|
||||
color: @base !important;
|
||||
background: @accent-color !important;
|
||||
background: @accent !important;
|
||||
}
|
||||
.pill-beta {
|
||||
color: @base !important;
|
||||
@@ -1444,10 +1460,10 @@
|
||||
color: @text !important;
|
||||
}
|
||||
dl dd a.active-highlight {
|
||||
color: @accent-color !important;
|
||||
color: @accent !important;
|
||||
}
|
||||
dl dd a.active-highlight::before {
|
||||
border-left-color: @accent-color !important;
|
||||
border-left-color: @accent !important;
|
||||
}
|
||||
dt a:hover {
|
||||
background: @base !important;
|
||||
@@ -1462,7 +1478,7 @@
|
||||
}
|
||||
&:focus {
|
||||
background: @crust !important;
|
||||
box-shadow: 0 0 3px 1px fade(@accent-color, 70%);
|
||||
box-shadow: 0 0 3px 1px fade(@accent, 70%);
|
||||
color: @text;
|
||||
}
|
||||
}
|
||||
@@ -1479,7 +1495,7 @@
|
||||
}
|
||||
|
||||
.algolia-docsearch-suggestion--highlight {
|
||||
background: @accent-color !important;
|
||||
background: @accent !important;
|
||||
color: @base !important;
|
||||
}
|
||||
|
||||
@@ -1513,7 +1529,7 @@
|
||||
color: @text !important;
|
||||
}
|
||||
a {
|
||||
color: @accent-color !important;
|
||||
color: @accent !important;
|
||||
}
|
||||
.story__links a {
|
||||
color: @base !important;
|
||||
@@ -1527,12 +1543,12 @@
|
||||
fill: @text;
|
||||
}
|
||||
button {
|
||||
border-color: @accent-color !important;
|
||||
border-color: @accent !important;
|
||||
}
|
||||
|
||||
.tag button {
|
||||
background: @accent-color !important;
|
||||
border-color: @accent-color !important;
|
||||
background: @accent !important;
|
||||
border-color: @accent !important;
|
||||
}
|
||||
|
||||
.author {
|
||||
|
||||
Reference in new issue
Block a user