diff --git a/styles/gmail/catppuccin.user.css b/styles/gmail/catppuccin.user.css index ad80e51b..c92367ec 100644 --- a/styles/gmail/catppuccin.user.css +++ b/styles/gmail/catppuccin.user.css @@ -80,11 +80,6 @@ } /* input box */ - .nr { - background-color: @surface1 !important; - color: @text !important; - } - .bs0 > .acM, .bti > .btg { color: @text !important; @@ -159,7 +154,8 @@ background: @surface0 !important; } .gb_Lc .gb_3e, - .gb_Ee.gb_Fe .gb_Ze { + .gb_Ee.gb_Fe .gb_Ze, + .gb_Pc .gb_we { color: @text !important; } .gb_Ee.gb_Fe button svg { @@ -178,6 +174,50 @@ background: @surface0 !important; color: @text !important; } + /* selected unread email */ + .x7 { + color: @mantle !important; + background: @accent-color !important; + } + + /* checkbox */ + .bzn .G-tF .T-Jo { + filter: brightness(0) saturate(100%) invert(28%) sepia(17%) saturate(835%) + hue-rotate(196deg) brightness(150%) contrast(75%); + } + + /* keyboard dropdown */ + .d-Na-JG-M { + background-color: @surface1 !important; + } + .d-Na-N { + color: @text !important; + } + .d-Na-N-JW { + background-color: fade(@accent-color, 20%) !important; + } + .d-Na-JX-I, + .d-Na-J3, + .d-Na-N.d-Na-KO .d-Na-Jo { + filter: brightness(0) saturate(90%) invert(28%) sepia(17%) saturate(835%) + hue-rotate(196deg) brightness(250%) contrast(75%); + } + .d-Na-axR, + .RK-Jk.RK-Qq-axH { + border-color: @overlay0; + } + + /* virtual keyboard */ + .RK-H { + background-color: @surface0 !important; + } + .RK-QJ { + color: @text; + } + .RK-Jk { + color: @text !important; + background-image: linear-gradient(to bottom, @surface1, @surface2); + } /* left bar */ .CL.Q7:hover, @@ -284,19 +324,94 @@ .T-I-JW > .asa::before { background: @surface0 !important; } - /* forward/reply buttons */ - .amn > .ams { + + /* attachements in comfortable mode */ + .brg { color: @text !important; } - .amr .amn > .ams { - background: @base !important; - border-color: @surface0 !important; + + /* date when the message was sent */ + .yO > .xW { + color: fade(@text, 50%) !important; + } + .bq3 { + color: @text !important; + } + + /* unsub button */ + .aJ6 { + color: @text; + } + .aOd.T-I { + box-shadow: inset 0 0 0 1px fade(@text, 50%) !important; + } + + /* svgs */ + .gb_Pc svg, + .gb_Uc.gb_Zc svg, + .gb_Pc .gb_gd .gb_od, + .gb_Pc .gb_gd .gb_Oc, + .gb_Pc .gb_gd .gb_id, + .gb_Uc.gb_Zc .gb_od { + color: @text !important; } /* send one now */ .x0 { color: @text !important; } + /* compose window */ + .afW { + border-color: @surface1; + } + .afV { + background: @surface2 !important; + box-shadow: 0 0 0 1px @overlay0 inset; + color: @text !important; + } + .akl, + .aoT, + .aYF, + .agP, + .az9, + .gQ { + color: @text; + } + .IZ, + .agP, + .agh, + .gQ, + .afx { + background: @surface0 !important; + } + .oL, + .gO { + color: @subtext0; + } + /* message sent dialog */ + .vh { + color: @text !important; + } + /* Gmail logo */ + [src="https://ssl.gstatic.com/ui/v1/icons/mail/rfr/logo_gmail_lockup_default_1x_r5.png"], + [src="https://ssl.gstatic.com/ui/v1/icons/mail/rfr/logo_gmail_lockup_dark_1x_r5.png"] + { + height: unset !important; + width: unset !important; + @svg: escape( + '' + ); + content: url("data:image/svg+xml,@{svg}"); + } + /* x new */ + .aDG { + background-color: @crust !important; + color: @text !important; + } + .aKs { + color: @subtext1 !important; + } + /* theme */ div.Kj-JD { background-color: @base; @@ -384,10 +499,18 @@ .aAy > .aKp, .xY > .T-Jo, .T-I .T-I-J3, - td.apU > .T-KT.aXw::before { - filter: brightness(0) saturate(100%) invert(28%) sepia(17%) saturate(835%) - hue-rotate(196deg) brightness(150%) contrast(75%); + td.apU > .T-KT.aXw::before, + .bqX:not(.pW):hover::before, + .nZ > .TN.aHS-bnt .qj::before{ + filter: brightness(0) saturate(90%) invert(28%) sepia(17%) saturate(835%) + hue-rotate(196deg) brightness(250%) contrast(75%); } + + .WR .z0 > .L3::before { + filter: brightness(0) saturate(80%) invert(28%) sepia(17%) saturate(835%) + hue-rotate(196deg) brightness(20%) contrast(75%); + } + td.apU > .T-KT.T-KT-Jp::before { filter: brightness(0) saturate(100%) invert(28%) sepia(17%) saturate(835%) hue-rotate(337deg) brightness(300%); @@ -397,7 +520,57 @@ .OB, .Q1:not(:checked) + .Vo::before, .SV { - filter: invert(1); + filter: brightness(0) saturate(100%) invert(28%) sepia(17%) saturate(835%) + hue-rotate(196deg) brightness(250%) contrast(75%); + } + .brC-aMv-auO .aT5-aOt-I-JX { + fill: @accent-color; + } + .brC-aMv-auO .brC-dA-I.aT5-aOt-I-Jp .aT5-aOt-I-JX-atM { + background-color: @base; + } + + /* sidebar icons */ + .TO:not(.nZ) .qj:not(.aEe), + .n3 .CL.Q7::before, + .n3 .CL.Wj::before, + .n3 .CL.H5o3mc::before, + .n6 .n4 .G-asx, + .n6 .air .G-asx, + .TN .TH { + filter: brightness(0) saturate(80%) invert(28%) sepia(17%) saturate(835%) + hue-rotate(196deg) brightness(220%) contrast(75%); + } + + /* help dropdown */ + .t9 { + background-color: @surface0 !important; + } + .ua { + color: @text !important; + } + .ua.bk5 { + background-color: @overlay0; + } + + /* labels */ + .J-awr { + color: @text; + } + .J-N-Jz { + color: @text !important; + } + .J-Kh { + border-color: @text; + } + + /* sidebar */ + .bsU { + color: @text; + } + .aAw .aAu { + filter: brightness(0) saturate(100%) invert(28%) sepia(17%) saturate(835%) + hue-rotate(196deg) brightness(250%) contrast(75%); } /* svgs */ @@ -435,7 +608,8 @@ .aaZ .J-N-JX.a5, .aaZ .J-N-JX.a2X, [role="toolbar"] [role="button"]:not(.H2, .Ol) { - filter: invert(1) !important; + filter: brightness(0) saturate(100%) invert(28%) sepia(17%) saturate(835%) + hue-rotate(196deg) brightness(250%) contrast(75%) !important; } /* advanced settings */