From 739a6b0f6da264d2314c067e33fb1b3f1b73ebd7 Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 5 Mar 2024 16:13:38 +0000 Subject: [PATCH] style: format code with prettier --- styles/nixos-search/catppuccin.user.css | 6 ++- styles/tabnews/catppuccin.user.css | 52 +++++++++++++------------ 2 files changed, 31 insertions(+), 27 deletions(-) diff --git a/styles/nixos-search/catppuccin.user.css b/styles/nixos-search/catppuccin.user.css index 56513e88..e4e85cc0 100644 --- a/styles/nixos-search/catppuccin.user.css +++ b/styles/nixos-search/catppuccin.user.css @@ -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; } } diff --git a/styles/tabnews/catppuccin.user.css b/styles/tabnews/catppuccin.user.css index 58b442e0..58f6ddd4 100644 --- a/styles/tabnews/catppuccin.user.css +++ b/styles/tabnews/catppuccin.user.css @@ -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); }