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