Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(google-gemini): misc #1410

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
91 changes: 46 additions & 45 deletions styles/google-gemini/catppuccin.user.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
@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.4
@version 0.0.5
@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
Expand Down Expand Up @@ -95,10 +95,7 @@
}
}

--bard-color-primary-background: @base;
--bard-color-primary-opacity-08: fade(@accent-color, 8%);
--bard-color-neutral-90: @mantle;
--bard-color-on-primary: darken(@accent-color, 10%);
--bard-color-on-selected-conversation-metadata-v2: @text;
--bard-color-surface-container: @mantle;
--bard-color-on-surface-opacity-38: @surface2 !important;
Expand All @@ -111,7 +108,6 @@
--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,
Expand All @@ -120,15 +116,12 @@
--bard-color-new-conversation-button: @surface0;
--bard-color-on-new-conversation-button: @text;
--bard-color-onhover-conversation-metadata-v2: @surface0;

--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-discovery-carousel-icon: @accent-color;
--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: @surface0;
--bard-color-adv-marketing-product-background: @surface0;
Expand Down Expand Up @@ -167,7 +160,7 @@
--bard-color-tunable-selection-menu-background: @mantle;
--bard-color-tunable-selection-textarea-background: @base;
--bard-color-tunable-selection-shimmer-non-advanced: @accent-color;
--bard-color-action-tooltip-background: darken(@accent-color, 20%);
--bard-color-onegooglebar-product-controls: @text;
--bard-color-adv-marketing-check: @text;

--mdc-switch-selected-hover-handle-color: lighten(@accent-color, 10%);
Expand All @@ -186,22 +179,40 @@
--mdc-switch-unselected-hover-track-color: @surface2;
--mdc-switch-unselected-pressed-track-color: @surface2;
--mdc-switch-unselected-focus-track-color: @surface2;
--mdc-checkbox-selected-icon-color: @accent-color;
--mdc-checkbox-selected-checkmark-color: var(--gem-sys-color--on-primary);
--mdc-checkbox-selected-hover-icon-color: @accent-color;
--mdc-checkbox-selected-pressed-icon-color: @accent-color;
--mdc-checkbox-selected-focus-icon-color: @accent-color;
--mdc-checkbox-selected-focus-state-layer-color: @accent-color;
--mdc-checkbox-selected-hover-state-layer-color: @accent-color;
--mdc-checkbox-selected-pressed-state-layer-color: @text;
--mdc-checkbox-unselected-pressed-state-layer-color: @accent-color;
--mdc-checkbox-unselected-focus-state-layer-color: @text;
--mdc-checkbox-unselected-hover-state-layer-color: @text;
--mdc-checkbox-unselected-focus-icon-color: @text;
--mdc-checkbox-unselected-icon-color: @subtext1;
--mdc-checkbox-unselected-hover-icon-color: @text;
--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-filled-button-label-text-color: @crust;
--mdc-circular-progress-active-indicator-color: @accent-color;
--mdc-outlined-button-focus-outline-color: @text;
--mdc-outlined-button-hover-label-text-color: @subtext1;
--mdc-list-list-item-focus-label-text-color: @text;
--mdc-icon-button-disabled-icon-color: @surface2;
--mdc-outlined-text-field-input-text-color: @text;
--mdc-outlined-text-field-focus-outline-color: @accent-color;
--mdc-outlined-text-field-outline-color: @overlay1;

--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-checkbox-label-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;
Expand All @@ -210,8 +221,9 @@
--mat-menu-container-color: @base;
--mat-menu-item-icon-color: @text;
--mat-filled-button-state-layer-color: @overlay2;
--mat-focus-indicator-border-color: @accent-color;
--mat-fab-small-hover-state-layer-opacity: 1;
--mat-divider-color: @surface0;
--mat-divider-color: @overlay2;

--gm-outlinedtextfield-outline-color: @subtext0;
--gm-outlinedtextfield-outline-color--stateful: @accent-color;
Expand All @@ -221,40 +233,37 @@

--gem-sys-color--surface: @base;
--gem-sys-color--surface-container: @mantle;
--gem-sys-color--surface--rgb: #rgbify(@base) [];
--gem-sys-color--on-surface: @text;
--gem-sys-color--on-surface-variant: @subtext1;
--gem-sys-color--outline-variant: @subtext0;
--gem-sys-color--surface-container-high: @surface0;
--gem-sys-color--surface-container-low: lighten(@mantle, 2%);
--gem-sys-color--outline: @subtext0;
--gem-sys-color--on-surface-variant: @subtext1;
--gem-sys-color--on-primary-container: @text;
--gem-sys-color--on-primary-fixed: darken(@accent-color, 40%);
--gem-sys-color--on-primary: darken(@accent-color, 60%);
--gem-sys-color--primary: @accent-color;
--gem-sys-color--primary-container: fade(@accent-color, 60%);
--gem-sys-color--on-surface--rgb: #rgbify(@subtext0) [];
--gem-sys-color--surface-dim--rgb: #rgbify(@crust) [];
--gem-sys-color--surface-container-highest: @surface0;
--gem-sys-color--primary-fixed: @text;
--gem-sys-color--on-secondary: fade(@accent-color, 30%);
--gem-sys-color--surface-variant: @surface0;

--og-theme-color: @text;

.new-feature {
background: @surface2;
}
.button-pressed {
--bard-color-primary: @mantle;
}
.action-icon {
--gem-sys-color--on-primary: @accent-color;
--gem-sys-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
Expand Down Expand Up @@ -309,10 +318,6 @@
--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;
}
Expand All @@ -322,8 +327,8 @@
.mdc-dialog__surface {
background-color: @base !important;
}
.mat-mdc-button-disabled {
--mat-icon-color: rgba(var(--bard-color-on-surface-rgb), 0.38);
.expandable-button:disabled {
color: rgba(var(--gem-sys-color--on-surface--rgb), 0.38);
}
.mat-mdc-progress-bar {
--mdc-linear-progress-active-indicator-color: @accent-color;
Expand Down Expand Up @@ -365,26 +370,16 @@
.mat-mdc-menu-panel {
background-color: @base !important;
}
.mat-mdc-tab-group,
.mat-mdc-tab-nav-bar {
--mat-tab-header-inactive-label-text-color: @subtext0;
--mat-tab-header-inactive-hover-label-text-color: @subtext0;
--mat-tab-header-inactive-focus-label-text-color: @subtext0;
}
.mat-mdc-fab.mat-accent {
--mat-fab-foreground-color: @text;
}
.xap-count-badge-dot {
background-color: @red;
}
.experiment-updates-banner-icon {
color: @crust;
}
.banner-close-button {
--mat-icon-color: @crust;
}
& when (@lookup = latte) {
--bard-color-action-tooltip-background: lighten(@accent-color, 30%);
--gem-sys-color--on-primary-fixed: @accent-color;
--gem-sys-color--on-primary: @mantle;
--gem-sys-color--primary-fixed: @crust;
}
[data-mat-icon-name="search"] svg {
> path:nth-child(1) {
Expand All @@ -400,6 +395,12 @@
fill: @red;
}
}
.google-logo img {
@svg: escape(
'<svg xmlns="http://www.w3.org/2000/svg" width="148" height="48" viewBox="0 0 148 48"><path d="M113 2.43h4.93v33.53H113zM49.5 14.04c-6.31 0-11.45 4.82-11.45 11.46 0 6.6 5.14 11.46 11.45 11.46S60.95 32.1 60.95 25.5c0-6.64-5.14-11.46-11.45-11.46m0 18.4c-3.46 0-6.44-2.86-6.44-6.94 0-4.12 2.98-6.94 6.44-6.94s6.44 2.82 6.44 6.94c0 4.08-2.98 6.94-6.44 6.94m25-18.35c-6.31 0-11.45 4.82-11.45 11.46 0 6.6 5.14 11.46 11.45 11.46s11.45-4.86 11.45-11.46c0-6.65-5.14-11.46-11.45-11.46m0 18.4c-3.46 0-6.44-2.86-6.44-6.94 0-4.12 2.98-6.94 6.44-6.94s6.44 2.82 6.44 6.94c0 4.07-2.98 6.94-6.44 6.94m30.73-15.84h-.17c-1.13-1.34-3.3-2.56-6.03-2.56-5.73 0-10.98 5.03-10.98 11.5C88.05 32.01 93.3 37 99.03 37c2.73 0 4.9-1.22 6.03-2.6h.17v1.65c0 4.38-2.34 6.73-6.12 6.73-3.08 0-4.99-2.21-5.77-4.08l-4.38 1.82c1.26 3.04 4.6 6.77 10.15 6.77 5.9 0 10.89-3.47 10.89-11.93V15h-4.77zm-5.78 15.84c-3.47 0-6.38-2.91-6.38-6.9 0-4.04 2.91-6.99 6.38-6.99 3.43 0 6.12 2.95 6.12 6.99 0 3.99-2.69 6.9-6.12 6.9m-71.22-4.08c1.39-1.39 2.32-3.42 2.67-6.41H19.22v-4.76H35.6c.17.87.3 2.06.3 3.2 0 3.66-1 8.19-4.22 11.41-3.14 3.27-7.14 5.01-12.46 5.01C9.38 36.86 1.1 28.84 1.1 19S9.38 1.14 19.22 1.14c5.44 0 9.32 2.13 12.24 4.92L28.02 9.5c-2.09-1.96-4.92-3.48-8.8-3.48-7.19 0-12.81 5.79-12.81 12.98s5.62 12.98 12.81 12.98c4.66 0 7.32-1.87 9.01-3.57m103.54 4.08c-2.56 0-4.38-1.17-5.55-3.47l15.32-6.34-.52-1.3c-.95-2.56-3.86-7.29-9.81-7.29-5.9 0-10.81 4.64-10.81 11.46 0 6.42 4.86 11.46 11.37 11.46 5.25 0 8.29-3.21 9.55-5.08l-3.91-2.6c-1.3 1.9-3.08 3.16-5.64 3.16m-.39-13.98c2 0 3.69 1 4.25 2.43l-10.24 4.25c-.13-4.42 3.43-6.68 5.99-6.68" fill="@{subtext1}"/></svg>'
);
content: url("data:image/svg+xml,@{svg}");
}
[src="https://www.gstatic.com/lamda/images/replit_dark_24px_7d0347bf84c2570074db9.svg"],
[src="https://www.gstatic.com/lamda/images/replit_light_24px_3a2ee6003110f3c8460c9.svg"]
{
Expand Down
Loading