-
-
Notifications
You must be signed in to change notification settings - Fork 291
feat(google-messages): init #2187
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
titandrive
wants to merge
22
commits into
catppuccin:main
Choose a base branch
from
titandrive:feat/google-messages
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
f355c42
Add Catppuccin theme for Google Messages
titandrive 5a4f565
Create README.md for Google Messages theme
titandrive 9cffea0
Delete styles/google-messages/README.md
titandrive ca43e86
Create README.md for Google Messages style
titandrive 2ca1050
Update README with new userstyle link and maintainer
titandrive 19c0716
Delete styles/google-messages/README.md
titandrive ec9804b
Add README for Google Messages style
titandrive 5f17ef5
Remove flavor parameter from catppuccin function
titandrive eff8d28
Pass flavor parameter to lib.palette function
titandrive a2b3561
Refactor Catppuccin theme styles for Google Messages
titandrive 611183f
Refactor Catppuccin theme variables usage
titandrive 7201ded
Update catpuccin.user.less
titandrive f2390cc
Delete styles/google-messages/catpuccin.user.less
titandrive 35833ab
Create Catppuccin theme for Google Messages
titandrive 81356f5
Fix link in README for catppuccin user style
titandrive 0177ac2
Update theme colors for dark mode support
titandrive b30d2b9
Refactor styles for Google Messages Catppuccin theme
titandrive 9ca81e0
Update colors for message components in catppuccin theme
titandrive a57474e
Add new maintainer and Google Drive userstyle
titandrive 9fc7f78
Update metadata and version for Catppuccin theme
titandrive 56ae871
Remove selection background color from LESS file
titandrive 33db4b8
Delete styles/google-messages/README.md
titandrive File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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,252 @@ | ||
| /* ==UserStyle== | ||
| @name Google Messages Catppuccin | ||
| @namespace github.com/catppuccin/userstyles/styles/google-messages | ||
| @homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/google-messages | ||
| @version 2000.01.01 | ||
| @updateURL https://github.com/catppuccin/userstyles/raw/main/styles/google-messages/catppuccin.user.less | ||
| @supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Agoogle-messages | ||
| @description Soothing pastel theme for Google Messages | ||
| @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== */ | ||
|
|
||
| @import "https://userstyles.catppuccin.com/lib/lib.less"; | ||
|
|
||
| @-moz-document domain("messages.google.com") { | ||
| body.material-next-msg { | ||
| &:not(.dark-theme) { | ||
| #catppuccin(@lightFlavor); | ||
| } | ||
| &.dark-theme.dark-theme { | ||
| #catppuccin(@darkFlavor); | ||
| } | ||
| } | ||
|
|
||
| #catppuccin(@flavor) { | ||
| #lib.palette(); | ||
| #lib.defaults(); | ||
|
|
||
| --body-bg-color: @base; | ||
| --scroll-bar-bg-color: @overlay0; | ||
| --button-hover-bg-color: @surface1; | ||
| --cdk-overlay-backdrop-bg-color: fade(@crust, 50%); | ||
| --dialog-bg-color: @mantle; | ||
| --icon-button-color: @subtext0; | ||
| --icon-button-disabled-color: @overlay1; | ||
| --mat-chip-bg-color: @surface1; | ||
| --mat-chip-color: @text; | ||
| --mat-menu-bg-color: @mantle; | ||
| --mat-menu-bg-color-hover: @surface0; | ||
| --mat-menu-color: @text; | ||
| --mat-menu-disabled-color: @overlay1; | ||
| --mat-snackbar-bg-color: @surface2; | ||
| --mat-snackbar-border-color: @surface2; | ||
| --mat-snackbar-color: @text; | ||
| --mat-snackbar-action-color: @accent; | ||
| --mat-snackbar-btn-hover-focus-bg-color: fade(@surface1, 80%); | ||
| --mat-slide-toggle-bar-bg-color: fade(@accent, 54%); | ||
| --mat-slide-toggle-thumb-bg-color: @accent; | ||
| --mat-slide-toggle-disabled-bg-color: fade(@overlay0, 12%); | ||
| --mat-app-background-color: @base; | ||
| --mat-app-text-color: @text; | ||
| --mat-dialog-container-color: @mantle; | ||
| --mat-dialog-subhead-color: @text; | ||
| --mat-dialog-supporting-text-color: @subtext0; | ||
| --mat-menu-container-color: @mantle; | ||
| --mat-menu-divider-color: @surface1; | ||
| --mat-menu-item-label-text-color: @text; | ||
| --mat-menu-item-icon-color: @subtext0; | ||
| --mat-menu-item-hover-state-layer-color: fade(@text, 8%); | ||
| --mat-menu-item-focus-state-layer-color: fade(@text, 12%); | ||
| --mat-list-list-item-label-text-color: @text; | ||
| --mat-list-list-item-supporting-text-color: @subtext0; | ||
| --mat-list-list-item-leading-icon-color: @subtext0; | ||
| --mat-list-list-item-trailing-supporting-text-color: @subtext0; | ||
| --mat-list-list-item-trailing-icon-color: @subtext0; | ||
| --mat-list-list-item-selected-trailing-icon-color: @accent; | ||
| --mat-list-list-item-hover-label-text-color: @text; | ||
| --mat-list-list-item-hover-state-layer-color: @text; | ||
| --mat-list-list-item-focus-label-text-color: @text; | ||
| --mat-list-list-item-focus-state-layer-color: @text; | ||
| --mat-select-panel-background-color: @mantle; | ||
| --mat-select-enabled-trigger-text-color: @text; | ||
| --mat-select-placeholder-text-color: @subtext0; | ||
| --mat-select-enabled-arrow-color: @subtext0; | ||
| --mat-select-focused-arrow-color: @accent; | ||
| --mat-select-invalid-arrow-color: @red; | ||
| --mat-option-label-text-color: @text; | ||
| --mat-option-selected-state-label-text-color: @accent; | ||
| --mat-option-hover-state-layer-color: fade(@text, 8%); | ||
| --mat-option-focus-state-layer-color: fade(@text, 12%); | ||
| --mat-option-selected-state-layer-color: fade(@accent, 12%); | ||
| --mat-tooltip-container-color: @surface2; | ||
| --mat-tooltip-supporting-text-color: @text; | ||
| --mat-snack-bar-container-color: @surface2; | ||
| --mat-snack-bar-supporting-text-color: @text; | ||
| --mat-snack-bar-button-color: @accent; | ||
| --mat-progress-spinner-active-indicator-color: @accent; | ||
| --mat-slider-active-track-color: @accent; | ||
| --mat-slider-focus-handle-color: @accent; | ||
| --mat-slider-hover-handle-color: @accent; | ||
| --mat-slider-handle-color: @accent; | ||
| --mat-slider-inactive-track-color: @surface1; | ||
| --mat-slider-ripple-color: @accent; | ||
| --mat-slide-toggle-selected-handle-color: @accent; | ||
| --mat-slide-toggle-selected-track-color: fade(@accent, 60%); | ||
| --mat-slide-toggle-label-text-color: @text; | ||
| --mat-slide-toggle-handle-surface-color: @base; | ||
| --mat-slide-toggle-unselected-handle-color: @overlay1; | ||
| --mat-slide-toggle-unselected-track-color: @surface1; | ||
| --mat-checkbox-label-text-color: @text; | ||
| --mat-checkbox-selected-checkmark-color: @base; | ||
| --mat-checkbox-selected-icon-color: @accent; | ||
| --mat-checkbox-selected-focus-icon-color: @accent; | ||
| --mat-checkbox-selected-hover-icon-color: @accent; | ||
| --mat-checkbox-selected-pressed-icon-color: @accent; | ||
| --mat-checkbox-unselected-icon-color: @overlay1; | ||
| --mat-checkbox-unselected-hover-icon-color: @text; | ||
| --mat-checkbox-unselected-focus-icon-color: @text; | ||
| --mat-card-elevated-container-color: @mantle; | ||
| --mat-card-outlined-container-color: @mantle; | ||
| --mat-card-filled-container-color: @mantle; | ||
| --mat-card-outlined-outline-color: @surface1; | ||
| --mat-card-subtitle-text-color: @subtext0; | ||
| --mat-button-filled-container-color: @accent; | ||
| --mat-button-filled-label-text-color: @base; | ||
| --mat-button-protected-container-color: @surface0; | ||
| --mat-button-protected-label-text-color: @text; | ||
| --mat-button-outlined-label-text-color: @text; | ||
| --mat-button-outlined-outline-color: @surface1; | ||
| --mat-button-text-label-text-color: @accent; | ||
| --mat-button-tonal-container-color: @surface1; | ||
| --mat-button-tonal-label-text-color: @text; | ||
| --mat-ripple-color: fade(@accent, 12%); | ||
| --mat-icon-button-state-layer-color: @text; | ||
| --mat-icon-button-ripple-color: fade(@text, 12%); | ||
| --mat-focus-indicator-border-color: @accent; | ||
|
|
||
| input, textarea { | ||
| &::placeholder { | ||
| color: @subtext0 !important; | ||
| } | ||
| } | ||
|
|
||
| mws-picker-wrapper { | ||
| --box-bg-color: @mantle; | ||
| --picker-elevation: 0 0 2px fade(@crust, 30%),0 2px 16px fade(@crust, 60%); | ||
| --picker-tab-focus-bg-color: @surface0; | ||
| --tab-header-border-color: @surface2; | ||
| } | ||
|
|
||
| mws-emoji-picker-page-v2 { | ||
| --picker-font-color: @subtext0; | ||
| --emoji-picker-diversity-indicator-color: @overlay0; | ||
| --emoji-picker-header-box-shadow: 0 2px 6px 0 fade(@crust, 45%); | ||
| } | ||
|
|
||
| mws-message-compose-picker-buttons { | ||
| --picker-button-fill-color: @subtext0; | ||
| --picker-button-selected-fill-color: @text; | ||
| } | ||
|
|
||
| mw-nav-drawer { | ||
| --nav-drawer-bg-color: @mantle; | ||
| --nav-drawer-border-color: @surface0; | ||
| --nav-drawer-color: @text; | ||
| --nav-drawer-box-shadow: 0 4px 4px 0 fade(@crust, 30%),0 8px 12px 6px fade(@crust, 15%); | ||
| } | ||
|
|
||
| mws-message-compose { | ||
| --input-bg-color: @surface0; | ||
| --input-color: @text; | ||
| --input-bg-fade-color: @base; | ||
| --input-bg-transparent-fade-color: fade(@base, 0%); | ||
| --input-shadow: 0 1px 5px 0 fade(@crust, 15%),0 4px 4px 0 fade(@crust, 10%),0 -0.1px 3px 0 fade(@crust, 8%); | ||
| --input-reply-header-container-color: @surface1; | ||
| } | ||
|
|
||
| mws-autosize-textarea { | ||
| --autosize-textarea-placeholder-disabled-color: @overlay1; | ||
| } | ||
|
|
||
| mws-header { | ||
| --header-bg-color: fade(@mantle, 96%); | ||
| --header-color: @text; | ||
| --header-back-button-color: @text; | ||
| --header-back-box-shadow: 0 2px 6px 0 fade(@crust, 45%); | ||
| } | ||
|
|
||
| mw-branded-header { | ||
| --branded-header-bg-color: @mantle; | ||
| --branded-header-border-color: @surface0; | ||
| } | ||
|
|
||
| mw-fab-link { | ||
| --fab-icon-container-bg-color: @accent; | ||
| --fab-label-color: @base; | ||
| --fab-icon-container-disabled-bg-color: @surface1; | ||
| --fab-label-disabled-color: @overlay1; | ||
| } | ||
|
|
||
| mw-main-nav { | ||
| --main-nav-host-bg-color: @mantle; | ||
| --main-nav-host-border-color: @crust; | ||
| --main-nav-header-color: @text; | ||
| --main-nav-header-menu-color: @subtext0; | ||
| --main-nav-header-box-shadow: 0 2px 6px 0 fade(@crust, 45%); | ||
| } | ||
|
|
||
| mws-conversation-list-item { | ||
| --conv-list-item-checked-avatar-bg-color: @accent; | ||
| --conv-list-item-checked-avatar-color: @base; | ||
| --conv-list-item-edit-mode-bg-color: fade(@accent, 20%); | ||
| --conv-name-color: @text; | ||
| --conv-snippet-color: @subtext0; | ||
| --list-grey-hover-bg-color: @surface0; | ||
| --list-grey-selected-bg-color: @surface1; | ||
| --conv-notification-icon-fill: @subtext0; | ||
| --conv-list-selected-indicator-bg-color: @accent; | ||
| } | ||
|
|
||
| mw-conversation-container { | ||
| --conv-container-host-bg-color: @base; | ||
| --legacy-compose-readonly-bg-color: @surface0; | ||
| --legacy-conversation-readonly-color: @subtext0; | ||
| } | ||
|
|
||
| mws-conversations-list { | ||
| --conversations-load-more-bg-color: @mantle; | ||
| --conversations-load-more-color: @text; | ||
| } | ||
|
|
||
| mws-message-part-content { | ||
| --incoming-bg-color: @surface0; | ||
| --xms-outgoing-bg-color: @lavender; | ||
| --xms-outgoing-color: @base; | ||
| --rcs-incoming-bg-color: @surface1; | ||
| --rcs-outgoing-bg-color: @blue; | ||
| --rcs-outgoing-color: @base; | ||
| --empty-bg-color: @base; | ||
| --replied-to-message-outer--container-color: @base; | ||
| --message-reply-header-container-color: @surface0; | ||
| } | ||
|
|
||
| mws-messages-list { | ||
| --messages-load-more-bg-color: @surface0; | ||
| --messages-load-more-color: @text; | ||
| --typing-indicator-row-color: @subtext0; | ||
| } | ||
|
|
||
| mws-message-send-button { | ||
| .container { | ||
| --button-active-color: @accent; | ||
| --button-inactive-color: @overlay1; | ||
| } | ||
| } | ||
| } | ||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.