forked from catppuccin/userstyles
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: uncenter <[email protected]>
- Loading branch information
1 parent
ab27a2c
commit 4c877c7
Showing
3 changed files
with
370 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,359 @@ | ||
/* ==UserStyle== | ||
@name Google Gemini Catppuccin | ||
@namespace github.com/catppuccin/userstyles/styles/google-gemini | ||
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/google-gemini | ||
@version 0.0.1 | ||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/google-gemini/catppuccin.user.css | ||
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Agoogle-gemini | ||
@description Soothing pastel theme for Google Gemini | ||
@author Catppuccin | ||
@license MIT | ||
@preprocessor less | ||
@var select lightFlavor "Light Flavor" ["latte:Latte*", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha"] | ||
@var select darkFlavor "Dark Flavor" ["latte:Latte", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha*"] | ||
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"] | ||
==/UserStyle== */ | ||
|
||
@-moz-document domain('gemini.google.com') { | ||
@import url("https://unpkg.com/@catppuccin/[email protected]/css/catppuccin.variables.important.css"); | ||
|
||
:root body.dark-theme { | ||
#catppuccin(@darkFlavor, @accentColor); | ||
} | ||
|
||
:root body.light-theme { | ||
#catppuccin(@lightFlavor, @accentColor); | ||
} | ||
|
||
#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]; | ||
|
||
--ctp-rosewater: #rgbify(@rosewater) []; | ||
--ctp-flamingo: #rgbify(@flamingo) []; | ||
--ctp-pink: #rgbify(@pink) []; | ||
--ctp-mauve: #rgbify(@mauve) []; | ||
--ctp-red: #rgbify(@red) []; | ||
--ctp-maroon: #rgbify(@maroon) []; | ||
--ctp-peach: #rgbify(@peach) []; | ||
--ctp-yellow: #rgbify(@yellow) []; | ||
--ctp-green: #rgbify(@green) []; | ||
--ctp-teal: #rgbify(@teal) []; | ||
--ctp-sky: #rgbify(@sky) []; | ||
--ctp-sapphire: #rgbify(@sapphire) []; | ||
--ctp-blue: #rgbify(@blue) []; | ||
--ctp-lavender: #rgbify(@lavender) []; | ||
--ctp-text: #rgbify(@text) []; | ||
--ctp-subtext1: #rgbify(@subtext1) []; | ||
--ctp-subtext0: #rgbify(@subtext0) []; | ||
--ctp-overlay2: #rgbify(@overlay2) []; | ||
--ctp-overlay1: #rgbify(@overlay1) []; | ||
--ctp-overlay0: #rgbify(@overlay0) []; | ||
--ctp-surface2: #rgbify(@surface2) []; | ||
--ctp-surface1: #rgbify(@surface1) []; | ||
--ctp-surface0: #rgbify(@surface0) []; | ||
--ctp-base: #rgbify(@base) []; | ||
--ctp-mantle: #rgbify(@mantle) []; | ||
--ctp-crust: #rgbify(@crust) []; | ||
|
||
color-scheme: if(@lookup =latte, light, dark); | ||
|
||
::selection { | ||
background-color: fade(@accent-color, 30%); | ||
} | ||
|
||
input, | ||
textarea { | ||
&::placeholder { | ||
color: @subtext0 !important; | ||
} | ||
} | ||
|
||
--bard-color-primary: @accent-color; | ||
--bard-color-primary-background: @base; | ||
--bard-color-primary-opacity-08: fade(@accent-color, 8%); | ||
--bard-color-outline: @overlay2; | ||
--bard-color-on-primary: darken(@accent-color, 10%); | ||
--bard-color-on-primary-container: @text; | ||
--bard-color-on-selected-conversation-metadata-v2: @text; | ||
--bard-color-surface-container: @mantle; | ||
--bard-color-on-surface-opacity-38: @surface2 !important; | ||
--bard-color-surface-container-low: lighten(@mantle, 2%); | ||
--bard-color-surface-container-highest: lighten(@base, 5%); | ||
--bard-color-surface-container-high: @surface0; | ||
--bard-color-response-container-flipped-background: @surface0; | ||
--bard-color-inverse-on-surface: darken(@mantle, 1%); | ||
--bard-color-sidenav-mobile-controls: @text; | ||
--bard-color-outline-variant: @subtext0; | ||
--bard-color-main-container-background: @base; | ||
--bard-color-main-container-background-rgb: #rgbify(@base) []; | ||
--bard-color-window-container-background: @base; | ||
--bard-color-response-container-background: @base; | ||
--bard-color-response-container-background-rgb: #rgbify(@base) []; | ||
--bard-color-selected-conversation-metadata-v2: fade(@accent-color, 50%); | ||
--bard-color-onhover-conversation-metadata-button-v2: @surface1; | ||
--bard-color-selected-conversation-metadata-button-v2: fade( | ||
@accent-color, | ||
40% | ||
); | ||
--bard-color-new-conversation-button: @surface0; | ||
--bard-color-on-new-conversation-button: @text; | ||
--bard-color-onhover-conversation-metadata-v2: @surface0; | ||
--bard-color-on-surface: @text; | ||
--bard-color-on-surface-variant: @subtext1; | ||
--bard-color-sidenav-upgrade-button: @surface0; | ||
--bard-color-form-field-placeholder: @subtext0; | ||
--bard-color-extensions-window-container-background: @crust; | ||
--bard-color-extension-card-container-background: @mantle; | ||
--bard-color-discovery-carousel-background: @mantle; | ||
--bard-color-example-prompt-background: @crust; | ||
--bard-color-bard-mode-logo-prefix: @subtext1; | ||
--bard-color-discovery-carousel-icon: @accent-color; | ||
--bard-color-neutral-96: @crust; | ||
--bard-color-adv-marketing-basic-background: @base; | ||
--bard-color-adv-marketing-product-background: @surface0; | ||
--bard-color-adv-marketing-disclaimer: @subtext0; | ||
--bard-color-input-area-buttons-selected-background: fade( | ||
@accent-color, | ||
70% | ||
); | ||
--bard-color-zero-state-card-selected: fade(@accent-color, 30%); | ||
--bard-color-zero-state-prompt-chip-background: fade(@accent-color, 50%); | ||
--bard-color-zero-state-prompt-chip-text: lighten(@accent-color, 5%); | ||
--bard-color-regular-banner: @accent-color; | ||
--bard-color-regular-banner-text: @crust; | ||
--bard-color-surface-dim-rgb: #rgbify(@crust) []; | ||
--bard-color-on-surface-rgb: #rgbify(@subtext0) []; | ||
--bard-color-surface: @crust; | ||
--bard-color-skeleton-loader-background-1-rgb: #rgbify(@mantle) []; | ||
--bard-color-skeleton-loader-background-2-rgb: #rgbify(@accent-color) []; | ||
--bard-color-skeleton-loader-background-3-rgb: #rgbify(@accent-color) []; | ||
--bard-color-brand-text-gradient-stop-1: @blue; | ||
--bard-color-brand-text-gradient-stop-2: @sapphire; | ||
--bard-color-brand-text-gradient-stop-3: @peach; | ||
--bard-color-on-surface-opacity-12: fade(@teal, 10%); | ||
--bard-color-footer-background: @mantle; | ||
--bard-color-draft-chip-background: @surface0; | ||
--bard-color-processing-animation-color-1: @surface1; | ||
--bard-color-processing-animation-color-2: @crust; | ||
--bard-color-tunable-selection-button: @mantle; | ||
--bard-color-tunable-selection-button-icon: @text; | ||
--bard-color-feedback-form-container-background: @mantle; | ||
--bard-color-fact-check-tooltip-entailed-highlight: fade(@green, 25%); | ||
--bard-color-fact-check-tooltip-entailed-selected: fade(@green, 35%); | ||
--bard-color-fact-check-tooltip-contradictory-highlight: fade(@red, 25%); | ||
--bard-color-fact-check-tooltip-contradictory-selected: fade(@red, 40%); | ||
--bard-color-factuality-form-background: @mantle; | ||
--bard-color-fact-check-button-complete: @surface0; | ||
--bard-color-fact-check-button-loading: @surface1; | ||
|
||
--mdc-switch-selected-hover-handle-color: lighten(@accent-color, 10%); | ||
--mdc-switch-selected-focus-handle-color: lighten(@accent-color, 10%); | ||
--mdc-switch-selected-pressed-handle-color: lighten(@accent-color, 15%); | ||
--mdc-switch-selected-track-color: fade(@accent-color, 50%); | ||
--mdc-switch-selected-hover-track-color: fade(@accent-color, 50%); | ||
--mdc-switch-selected-focus-track-color: fade(@accent-color, 50%); | ||
--mdc-switch-selected-pressed-track-color: fade(@accent-color, 50%); | ||
--mdc-switch-selected-handle-color: @accent-color; | ||
--mdc-switch-unselected-handle-color: @subtext0; | ||
--mdc-switch-unselected-hover-handle-color: @subtext1; | ||
--mdc-switch-unselected-focus-handle-color: @text; | ||
--mdc-switch-unselected-pressed-handle-color: @text; | ||
--mdc-switch-unselected-track-color: @surface2; | ||
--mdc-switch-unselected-hover-track-color: @surface2; | ||
--mdc-switch-unselected-pressed-track-color: @surface2; | ||
--mdc-switch-unselected-focus-track-color: @surface2; | ||
--mdc-text-button-label-text-color: @subtext1; | ||
--mdc-text-button-hover-label-text-color: @overlay2; | ||
--mdc-list-list-item-hover-label-text-color: @text; | ||
--mdc-filled-button-label-text-color: @text; | ||
--mdc-circular-progress-active-indicator-color: @accent-color; | ||
|
||
--mat-app-text-color: @text; | ||
--mat-text-button-state-layer-color: @overlay2; | ||
--mat-icon-color: @text; | ||
--mat-sidenav-container-text-color: @text; | ||
--mat-expansion-header-text-color: @text; | ||
--mat-expansion-header-indicator-color: @text; | ||
--mat-expansion-container-text-color: @text; | ||
--mat-bottom-sheet-container-text-color: @text; | ||
--mat-bottom-sheet-container-background-color: @base; | ||
--mat-menu-item-hover-state-layer-color: @surface0; | ||
--mat-menu-item-focus-state-layer-color: @surface0; | ||
--mat-menu-item-label-text-color: @text; | ||
--mat-menu-container-color: @base; | ||
--mat-menu-item-icon-color: @text; | ||
--mat-filled-button-state-layer-color: @overlay2; | ||
|
||
--gm-outlinedtextfield-outline-color: @subtext0; | ||
--gm-outlinedtextfield-outline-color--stateful: @accent-color; | ||
--gm-outlinedtextfield-ink-color: @text; | ||
--gm3-sys-color-on-secondary-container: @crust; | ||
--gm3-sys-color-secondary-container: @text; | ||
|
||
--og-theme-color: @text; | ||
|
||
.button-pressed { | ||
--bard-color-primary: @mantle; | ||
} | ||
.action-icon { | ||
--bard-color-on-surface-variant: @mantle; | ||
} | ||
button[mat-flat-button] { | ||
--bard-color-on-primary: @crust; | ||
} | ||
.draft-preview-label-chip.selected { | ||
color: @crust; | ||
} | ||
.buttons-container-link-button { | ||
color: @crust; | ||
} | ||
.link-icon { | ||
--mat-icon-color: @crust; | ||
} | ||
.mdc-text-field--outlined:hover:not( | ||
.mdc-text-field--disabled, | ||
.mdc-text-field--focused | ||
) { | ||
& .mdc-notched-outline__leading, | ||
& .mdc-notched-outline__trailing { | ||
border-color: @text !important; | ||
} | ||
} | ||
.gmat-mdc-chip { | ||
--mdc-chip-label-text-color: @subtext0; | ||
} | ||
.gmat-mdc-chip.gmat-hairline-chip { | ||
--mdc-chip-outline-color: @subtext0; | ||
} | ||
.gmat-mdc-chip.cdk-focused { | ||
--mdc-chip-label-text-color: @text; | ||
} | ||
.mat-mdc-standard-chip { | ||
--mdc-chip-hover-state-layer-color: @overlay1; | ||
--mdc-chip-focus-state-layer-color: @overlay2; | ||
} | ||
.mdc-tooltip__surface { | ||
--mdc-plain-tooltip-container-color: @overlay0; | ||
--mdc-plain-tooltip-supporting-text-color: @text; | ||
} | ||
.mdc-checkbox { | ||
--mdc-checkbox-selected-icon-color: @accent-color; | ||
--mdc-checkbox-selected-checkmark-color: @crust; | ||
} | ||
.mdc-form-field { | ||
--mdc-form-field-label-text-color: @text; | ||
} | ||
.mdc-icon-button { | ||
--mdc-icon-button-icon-color: @text !important; | ||
} | ||
.mdc-dialog__surface { | ||
background-color: @base !important; | ||
} | ||
.mat-mdc-button-disabled { | ||
--mat-icon-color: rgba(var(--bard-color-on-surface-rgb), 0.38); | ||
} | ||
.mat-mdc-progress-bar { | ||
--mdc-linear-progress-active-indicator-color: @accent-color; | ||
--mdc-linear-progress-track-color: fade(@accent-color, 50%); | ||
} | ||
.mdc-list-item__primary-text, | ||
.gmat-mdc-list { | ||
--mdc-list-list-item-hover-state-layer-color: @overlay1; | ||
--mdc-list-list-item-label-text-color: @text; | ||
--mdc-list-list-item-leading-icon-color: @text; | ||
--mdc-list-list-item-focus-state-layer-color: @overlay2; | ||
} | ||
.gmat-mdc-button.mat-mdc-button.mat-primary { | ||
--mdc-text-button-label-text-color: @accent-color; | ||
--mdc-text-button-hover-label-text-color: lighten(@accent-color, 5%); | ||
--mdc-text-button-focus-label-text-color: lighten(@accent-color, 8%); | ||
} | ||
.gmat-mdc-button.mat-mdc-button.mat-unthemed { | ||
--mat-text-button-state-layer-color: @overlay2; | ||
} | ||
.gmat-mdc-button.mat-mdc-icon-button { | ||
--mat-icon-button-state-layer-color: @overlay2; | ||
} | ||
.gmat-mdc-button.mat-mdc-fab:not( | ||
.mat-mdc-button-disabled | ||
).mat-primary.gmat-mdc-fab-fill { | ||
--mdc-fab-container-color: @accent-color; | ||
--mat-fab-foreground-color: @crust; | ||
} | ||
.mat-mdc-menu-panel { | ||
background-color: @base !important; | ||
} | ||
.xap-count-badge-dot { | ||
background-color: @red; | ||
} | ||
.experiment-updates-banner-icon { | ||
color: @crust; | ||
} | ||
.banner-close-button { | ||
--mat-icon-color: @crust; | ||
} | ||
[data-mat-icon-name="search"] svg { | ||
> path:nth-child(1) { | ||
fill: @blue; | ||
} | ||
> path:nth-child(2) { | ||
fill: @green; | ||
} | ||
> path:nth-child(3) { | ||
fill: @yellow; | ||
} | ||
> path:nth-child(4) { | ||
fill: @red; | ||
} | ||
} | ||
[src="https://www.gstatic.com/lamda/images/replit_dark_24px_7d0347bf84c2570074db9.svg"], | ||
[src="https://www.gstatic.com/lamda/images/replit_light_24px_3a2ee6003110f3c8460c9.svg"] | ||
{ | ||
@svg: escape( | ||
'<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M12.334 8.669H5.252A1.25 1.25 0 0 1 4 7.417V3.252C4 2.559 4.56 2 5.252 2h5.83c.693 0 1.252.56 1.252 1.252z" fill="@{text}"/><path d="M19.416 15.333h-7.082V8.668h7.082c.689 0 1.248.56 1.248 1.248v4.165a1.25 1.25 0 0 1-1.248 1.252M11.082 22h-5.83a1.25 1.25 0 0 1-1.248-1.247v-4.165c0-.689.56-1.248 1.248-1.248h7.082v5.417c0 .68-.56 1.243-1.252 1.243" fill="@{text}"/></svg>' | ||
); | ||
content: url("data:image/svg+xml,@{svg}"); | ||
} | ||
} | ||
} | ||
|
||
#rgbify(@color) { | ||
@rgb-raw: red(@color), green(@color), blue(@color); | ||
} | ||
|
||
/* prettier-ignore */ | ||
@catppuccin: { | ||
@latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; }; | ||
@frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; }; | ||
@macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; }; | ||
@mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; }; | ||
} | ||
|
||
// vim:ft=less |
Git LFS file not shown