style: format code with prettier
This commit is contained in:
1 parent
ca60f1bd25
commit
739a6b0f6d
2 files changed
+31
-27
No files matched your search
@@ -84,12 +84,14 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
// hardcoded to #fff
|
// hardcoded to #fff
|
||||||
.label, .badge {
|
.label,
|
||||||
|
.badge {
|
||||||
color: @crust;
|
color: @crust;
|
||||||
}
|
}
|
||||||
|
|
||||||
// hardcoded to #005580
|
// hardcoded to #005580
|
||||||
a:hover, a:focus {
|
a:hover,
|
||||||
|
a:focus {
|
||||||
color: @text;
|
color: @text;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -52,7 +52,7 @@
|
|||||||
@mantle: @catppuccin[@@lookup][@mantle];
|
@mantle: @catppuccin[@@lookup][@mantle];
|
||||||
@crust: @catppuccin[@@lookup][@crust];
|
@crust: @catppuccin[@@lookup][@crust];
|
||||||
@accent-color: @catppuccin[@@lookup][@@accent];
|
@accent-color: @catppuccin[@@lookup][@@accent];
|
||||||
|
|
||||||
--bgColor-default: @base;
|
--bgColor-default: @base;
|
||||||
--bgColor-emphasis: @crust;
|
--bgColor-emphasis: @crust;
|
||||||
--fgColor-default: @text;
|
--fgColor-default: @text;
|
||||||
@@ -77,11 +77,11 @@
|
|||||||
--fgColor-danger: @red;
|
--fgColor-danger: @red;
|
||||||
--control-danger-fgColor-hover: @red;
|
--control-danger-fgColor-hover: @red;
|
||||||
--control-danger-bgColor-hover: @mantle;
|
--control-danger-bgColor-hover: @mantle;
|
||||||
|
|
||||||
input[type="checkbox"] {
|
input[type="checkbox"] {
|
||||||
--fgColor-onEmphasis: @surface0;
|
--fgColor-onEmphasis: @surface0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Create post box */
|
/* Create post box */
|
||||||
--codeMirror-fgColor: @text;
|
--codeMirror-fgColor: @text;
|
||||||
--bgColor-muted: @base;
|
--bgColor-muted: @base;
|
||||||
@@ -89,7 +89,7 @@
|
|||||||
--color-prettylights-syntax-markup-heading: @text;
|
--color-prettylights-syntax-markup-heading: @text;
|
||||||
--color-prettylights-syntax-markup-inserted-text: @subtext0;
|
--color-prettylights-syntax-markup-inserted-text: @subtext0;
|
||||||
--color-prettylights-syntax-string: @blue;
|
--color-prettylights-syntax-string: @blue;
|
||||||
|
|
||||||
/* Header */
|
/* Header */
|
||||||
--header-bgColor: @mantle;
|
--header-bgColor: @mantle;
|
||||||
--header-fgColor-default: @text;
|
--header-fgColor-default: @text;
|
||||||
@@ -101,73 +101,74 @@
|
|||||||
--headerSearch-borderColor: @overlay0;
|
--headerSearch-borderColor: @overlay0;
|
||||||
--color-prettylights-syntax-variable: @mauve;
|
--color-prettylights-syntax-variable: @mauve;
|
||||||
--color-prettylights-syntax-markup-list: @text;
|
--color-prettylights-syntax-markup-list: @text;
|
||||||
|
|
||||||
/* Style the button to change theme when light theme is on */
|
/* Style the button to change theme when light theme is on */
|
||||||
button[style="--button-color: #e7dfc3;"] {
|
button[style="--button-color: #e7dfc3;"] {
|
||||||
svg {
|
svg {
|
||||||
color: @sky;
|
color: @sky;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
svg[fill="#0969da"] {
|
svg[fill="#0969da"] {
|
||||||
fill: @blue;
|
fill: @blue;
|
||||||
}
|
}
|
||||||
svg[fill="#2da44e"] {
|
svg[fill="#2da44e"] {
|
||||||
fill: @green;
|
fill: @green;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Style the "Search with Google" overlay box */
|
/* Style the "Search with Google" overlay box */
|
||||||
div[class*="Overlay__StyledOverlay"] {
|
div[class*="Overlay__StyledOverlay"] {
|
||||||
background: @base;
|
background: @base;
|
||||||
|
|
||||||
h2 {
|
h2 {
|
||||||
color: @text;
|
color: @text;
|
||||||
}
|
}
|
||||||
|
|
||||||
.gsc-control-cse {
|
.gsc-control-cse {
|
||||||
background: @base;
|
background: @base;
|
||||||
border-color: transparent;
|
border-color: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
.gsc-input-box {
|
.gsc-input-box {
|
||||||
background: @base;
|
background: @base;
|
||||||
border-color: @overlay0;
|
border-color: @overlay0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.gsc-input {
|
.gsc-input {
|
||||||
background: transparent;
|
background: transparent;
|
||||||
color: @text;
|
color: @text;
|
||||||
}
|
}
|
||||||
|
|
||||||
.gsc-search-button > button {
|
.gsc-search-button > button {
|
||||||
border-color: @overlay0;
|
border-color: @overlay0;
|
||||||
background: @base !important;
|
background: @base !important;
|
||||||
|
|
||||||
svg {
|
svg {
|
||||||
fill: @text;
|
fill: @text;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.gsc-completion-container {
|
.gsc-completion-container {
|
||||||
background: @base !important;
|
background: @base !important;
|
||||||
border-color: @overlay0;
|
border-color: @overlay0;
|
||||||
|
|
||||||
.gsc-completion-selected {
|
.gsc-completion-selected {
|
||||||
background: @crust;
|
background: @crust;
|
||||||
}
|
}
|
||||||
|
|
||||||
span {
|
span {
|
||||||
color: @text !important;
|
color: @text !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.gsc-refinementhActive, .gsc-refinementhInactive {
|
.gsc-refinementhActive,
|
||||||
|
.gsc-refinementhInactive {
|
||||||
color: @text;
|
color: @text;
|
||||||
background: @base;
|
background: @base;
|
||||||
border-color: @accent-color;
|
border-color: @accent-color;
|
||||||
}
|
}
|
||||||
|
|
||||||
.gsc-option-menu-container {
|
.gsc-option-menu-container {
|
||||||
color: @text;
|
color: @text;
|
||||||
.gsc-selected-option-container {
|
.gsc-selected-option-container {
|
||||||
@@ -182,7 +183,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.gsc-result-info,
|
.gsc-result-info,
|
||||||
.gsc-orderby-label,
|
.gsc-orderby-label,
|
||||||
.gs-label,
|
.gs-label,
|
||||||
@@ -191,9 +192,11 @@
|
|||||||
.gsc-option-menu-item,
|
.gsc-option-menu-item,
|
||||||
.gscb_a {
|
.gscb_a {
|
||||||
color: @text !important;
|
color: @text !important;
|
||||||
b { color: @text !important; }
|
b {
|
||||||
|
color: @text !important;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.gsc-webResult {
|
.gsc-webResult {
|
||||||
border-color: transparent;
|
border-color: transparent;
|
||||||
background: @base;
|
background: @base;
|
||||||
@@ -201,13 +204,13 @@
|
|||||||
color: @accent-color;
|
color: @accent-color;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.gsc-cursor-page {
|
.gsc-cursor-page {
|
||||||
background: @base;
|
background: @base;
|
||||||
color: @text;
|
color: @text;
|
||||||
border-color: @text;
|
border-color: @text;
|
||||||
}
|
}
|
||||||
|
|
||||||
.gcsc-find-more-on-google {
|
.gcsc-find-more-on-google {
|
||||||
color: @text;
|
color: @text;
|
||||||
svg {
|
svg {
|
||||||
@@ -216,7 +219,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
:root:has(div[data-color-mode="dark"]) {
|
:root:has(div[data-color-mode="dark"]) {
|
||||||
#catppuccin(@darkFlavor, @accentColor);
|
#catppuccin(@darkFlavor, @accentColor);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user