/* ==UserStyle== @name Google Photos Catppuccin @namespace github.com/catppuccin/userstyles/styles/google-photos @homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/google-photos @version 0.0.2 @updateURL https://github.com/catppuccin/userstyles/raw/main/styles/google-photos/catppuccin.user.css @supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Agoogle-photos @description Soothing pastel theme for Google Photos @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('photos.google.com') { @media (prefers-color-scheme: light) { :root { #catppuccin(@lightFlavor, @accentColor); } } @media (prefers-color-scheme: dark) { :root { #catppuccin(@darkFlavor, @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]; color-scheme: if(@lookup = latte, light, dark); ::selection { background-color: fade(@accent-color, 30%); } input, textarea { &::placeholder { color: @subtext0 !important; } } --pkw-background: @surface0; --gm3-dialog-refactored-container-color: @base; --pkw-on-surface-variant: @subtext0; --pkw-on-surface: @text; --gm-colortextbutton-ink-color: @blue; .gp1Lgf { --gm3-card-outlined-hover-outline-color: @surface2; --gm3-card-outlined-container-color: @surface0; --gm3-card-outlined-outline-color: @surface2; } .hIolmc { --gm3-chip-assist-flat-label-text-color: @text; --gm3-chip-assist-flat-hover-label-text-color: @accent-color; --gm3-chip-assist-flat-outline-color: @surface2; --gm3-sys-color-outline: @surface2; } .I2nt9 { --gm3-text-field-filled-container-color: @surface2; --gm3-text-field-filled-input-text-color: @text; --gm3-sys-color-primary: @accent-color; --gm3-sys-color-on-surface: @text; --gm3-text-field-filled-caret-color: @accent-color; --gm3-text-field-filled-label-text-color: @text; } /* checkbox */ --mdc-checkbox-selected-icon-color: @accent-color; --mdc-checkbox-selected-checkmark-color: @mantle; --mdc-checkbox-unselected-icon-color: @surface0; /* editing photo sidebar */ .dm7YTc .FcHdhd { --gm3-navigation-drawer-coplanar-container-color: @base; } /* loading circle */ .DMuDh { --gm3-circular-progress-active-indicator-color: @accent-color; } /* main background */ .uGCjIb, .HnzzId, body { background-color: @base !important; } /* top bar */ .QtDoYb { background-color: @crust; border-color: @crust; } /* search bar in the top bar */ .Aul2T, .cI2tlc .jBmls { background-color: @surface0 !important; } .LAL5ie .ZAGvjd { color: @text; } .l9dCke, .ggIr1e, .OmFprf { border-color: @surface1 !important; } .LAL5ie .jBmls { border-top-color: @surface1; } .obNJBf.wH28vf > .lEclge { color: @text; } .obNJBf { color: @subtext0; } /* the word photos in the google photos logo */ .EIug8e { color: @text; } /* the text in the carousel at the top of the main page */ .oedbUb { color: @text; } /* date of when the photos were taken */ .xA0gfb { color: @subtext1; } /* place where photos were taken */ .LzExud { color: @subtext0; } /* top and sidebar svgs */ .v1262d, .gb_Ra.gb_Ja svg { fill: @text !important; } .uprWmb .v1262d { fill: @mantle !important; } /* sidebar */ .RSjvib { background-color: @crust; } .uprWmb:hover, .uprWmb { background: @accent-color !important; } .HksvWb, .HEHjMc { color: @text; } .uprWmb .HksvWb { color: @mantle !important; } .ylKyWb { color: @subtext0; } .lJ21id { background-color: @surface0; } .Olf00, .J0dufb { background-color: @accent-color !important; color: @mantle; } /* sidebar slider */ .bButFf { background-color: @surface0; border-bottom-color: @accent-color; color: @text; } /* year when scrolling */ .HrGXnb { background-color: @surface0; color: @text; } /* unlock storage discount button */ .z3RRjd:not(:disabled) { color: @accent-color; border-color: @surface0; } /* search bar */ .fXq1Rc:not(.A82uMb) .Aul2T.qs41qe { background: @surface1; } /* storage used bar */ .XCxRFf { background-color: @accent-color; box-shadow: 2px 0 0 lighten(@accent-color, 10%); } .DFG23b { background-color: @overlay0; } /* carousel buttons */ .yhB1zd { background: @surface0; } /* favorites page */ .ZEmz6b { color: @text; } /* albums page */ /* background */ .gN5aAe, .eReC4e { background-color: @base; } /* album title */ .mfQCMe { color: @text; } .kmqzh .tL9Q4c { color: @text; background-color: @surface0; } /* # of photos in album */ .UV4Xae { color: @subtext0; } /* album date */ .UmNiJe { color: @subtext0; } /* play highlights button */ .HQ97kd { color: @text; background-color: @base; } /* sharing dialog */ .ju3TMb, .hUsHhf, .ex6r4d, .dqAVOd { color: @text; background-color: @surface0; } .J2j0Cc.uH98yc { background-color: @surface2; } /* ... menu in album */ .s2VtY.JPdR6b { background-color: @surface0; } .o7Osof .oJeWuf { color: @text; } /* add to album */ .Purf9b { background-color: @base; } .Pk50Ic { background: @accent-color; } /* explore page */ .OgirMe, .dykGZb { color: @text; } /* names under faces */ .hsohWb { color: @text; } /* text in photos */ .ydXkjb, .WABMHe, .fn6ocf { color: @text; } /* categories inside the footer */ .QmUPuf { color: @text; } .QkA5Vc:not(:disabled) { color: @subtext0; } /* cannot connect page */ .Ih0h6e, .aPRVsf { color: @text; } /* rety button */ .RSxr8 { background-color: darken(@accent-color, 15%); } /* sharing page */ /* item */ .I7yCae { color: @text; } .DcsHOb { border-color: @surface2; } /* partner sharing dialog */ .VfPpkd-P5QLlc, .I4p4db, .t1IGPc, .Co16uf { background-color: @surface0; } .osOuXd:not(.VfPpkd-O1htCb-OWXEXe-OWB6Me) .VfPpkd-TkwUic, .osOuXd .VfPpkd-YPmvEd { background-color: @surface2; } .V639qd .VfPpkd-cnG4Wd, .fpyzKd, .osOuXd:not(.VfPpkd-O1htCb-OWXEXe-OWB6Me) .VfPpkd-uusGie-fmcmS, .osOuXd.VfPpkd-OkbHre.VfPpkd-rymPhb-Gtdoyb, .VfPpkd-OkbHre .VfPpkd-rymPhb-fpDzbe-fmcmS, .jc9Jq, .Qwsrhf, .VfPpkd-k2Wrsb { color: @text; } .osOuXd .VfPpkd-OkbHre.VfPpkd-rymPhb-ibnC6b.VfPpkd-rymPhb-ibnC6b-OWXEXe-gk6SMd { background-color: @overlay2; } /* disabled text */ .oFJeZc:disabled { color: @surface2; } /* the small arrow in the dropdown box */ .hqBSCb:not(.VfPpkd-O1htCb-OWXEXe-OWB6Me).VfPpkd-O1htCb-OWXEXe-XpnDCe .VfPpkd-t08AT-Bz112c { fill: @accent-color; } /* sharing via links subpage */ /* background */ .Cv8Rjc { background-color: @base; } /* page title & subtitle */ .UtdETd, .wMLcHf { color: @text; } /* date when it was shared */ .DtcBIe { color: @subtext1; } /* item border */ .j90Xnb { border-color: @surface1; } /* settings page */ /* main text */ .P0eWkf, .rvEjke, .IGdgBf, .Sn08je { color: @text; } /* top bar */ .eReC4e.FbgB9 { border-color: @surface0; } /* upload button */ .s4MBmb { color: @text; } /* subtext */ .fYwTV, .rN6Qmb, .eT2rxc, .EqBDpe, .cuFkEd { color: @subtext0; } /* "view" button links */ .oFJeZc:not(:disabled) { color: @accent-color; } /* sectional borders */ .X0f2Ie, .TYKfpe { border-color: @surface0 !important; } /* storage discount button */ .kDryjd:not(:disabled) { background-color: @accent-color; color: @crust; } /* selected radial selector */ .bEtrNb .VfPpkd-gBXA9-bMcfAe:enabled:checked + .VfPpkd-RsCWK .VfPpkd-wVo5xe-LkdAo, .bEtrNb .VfPpkd-gBXA9-bMcfAe:enabled + .VfPpkd-RsCWK .VfPpkd-Z5TpLc-LkdAo { border-color: @accent-color; } /* unselected radial selector */ .bEtrNb .VfPpkd-gBXA9-bMcfAe:enabled:not(:checked) + .VfPpkd-RsCWK .VfPpkd-wVo5xe-LkdAo { border-color: @surface0; } /* switch that is in the off position */ .OKFoxe .VfPpkd-uMhiad::before { background: @mantle; } .OKFoxe:disabled .VfPpkd-l6JLsf::before { background-color: @surface1 !important; } .OKFoxe.VfPpkd-scr2fc-OWXEXe-uqeOfd:disabled .VfPpkd-pafCAf { fill: @accent-color; } /* switch that is in the on position */ .OKFoxe.VfPpkd-scr2fc-OWXEXe-gk6SMd:enabled .VfPpkd-uMhiad::after { background-color: @accent-color; } .OKFoxe.VfPpkd-scr2fc-OWXEXe-gk6SMd:enabled .VfPpkd-pafCAf { fill: @mantle; } .OKFoxe:enabled .VfPpkd-l6JLsf::after { background: @surface1; } /* print orders page */ .fwAVoc { color: @text; } /* privacy page */ .UNOf0e, .bTd6c { color: @text; } /* footer */ .rniux { color: @subtext0; } /* slideshow buttons */ .UPRhTe { background-color: @base; } /* activity log page */ /* main backgroound */ .X67EZe { background-color: @surface0; } /* main text */ .vLZJlf, .GiPflf, .iEGkef { color: @text; } /* type of activity */ .PDX3vc.LMgvRb { color: @green; } .y03tld .e2CuFe { border-top-color: @green; } /* reached the end */ .EIkL5b { color: @subtext0; } /* utilities page */ /* headings */ .ARSUIf { color: @text; } /* elements */ .FkWMmd { color: @text; } .lnQi4 { border-color: @surface2; } /* "new" pill thingy idk what to call this lol */ .Li8WFe { color: @mantle; background-color: @accent-color; } /* create highlight video subpage */ .a4dmPd { border-color: @surface0; } .BH0KJc { color: @text; } .z3RRjd:disabled { color: @subtext0; } .IZzwM.bu4MSb { --gm3-chip-input-without-avatar-label-text-color: @text; --gm3-chip-input-without-avatar-with-trailing-icon-trailing-icon-color: @text; background-color: @overlay0; } /* trash page */ .NSzyed { color: @text; } /* storage page */ .hwDBSe, .tzFvIf, .BZXMjd .MrqLTc { color: @text; } .gyqWff, .BZXMjd .chfDde { color: @subtext0; } /* how much storage is used bar */ .O4tDGf:nth-of-type(1), .vN9JEc:nth-of-type(1) > .ZbKZ3d { background-color: @accent-color; } .O4tDGf:nth-of-type(2), .vN9JEc:nth-of-type(2) > .ZbKZ3d { background-color: lighten(@accent-color, 15%); } .yVr0Vb { background-color: @overlay0; } /* google 1 more storage border */ .BZXMjd.mPxwXe { background-image: conic-gradient(@surface0, @surface0), conic-gradient( from 2deg, @peach 0deg, @peach 90deg, @green 90deg, @green 180deg, @blue 180deg, @blue 270deg, @red 270deg, @red 1turn ), linear-gradient(@surface2, @surface2); } /* review and delete */ .nfTM4e, .UKzvpf .ASWyTc, .TTlRAe .oevqcc { color: @text; } .UKzvpf .YvjW7c { color: @subtext0; } .UKzvpf:not(:last-child) .e0CX4d::after { background-color: @overlay0; } .KVhwqd .TTlRAe .e0CX4d, .TTlRAe:not(:last-child) .e0CX4d { border-color: @overlay0; } /* photo editing sidebar */ .gmtNPe { background-color: @surface0; } .bYXAhf, .hGASzd, .YFLDdf, .QEQULc { color: @text; } .dm7YTc .kDryjd:disabled { color: fade(@text, 35%); background-color: fade(@base, 40%); } .ALaST { border-color: @surface0; } /* cropping tol */ .j1AIcc { background-color: @surface0; } .TERVqe { background-color: @mantle; } /* effect sliders */ .dm7YTc .fEUJ5b .dCWhBf, .dm7YTc .fEUJ5b .R4GWv, .dm7YTc .fEUJ5b.qoCZef .dCWhBf, .dm7YTc .fEUJ5b.qoCZef .R4GWv, .dm7YTc .fEUJ5b.qs41qe .dCWhBf, .dm7YTc .fEUJ5b.qs41qe .R4GWv, .dm7YTc .fEUJ5b .bBKqme { background-color: @accent-color; } /* filters tool */ .XlI4Ne { color: @text; } /* pen tool */ .W3FYdb { background-color: @surface0; } /* photo info */ .Q77Pt { background-color: @base; } .WUbige { color: @text; } .wiOkb, .R9U8ab, .x1LMef { color: @text; } .JzSi2b, .oBMhZb { color: @subtext0; } .KefOhc { border-bottom-color: @surface0; } /* editing date/location */ .rrk4We:not(.VfPpkd-fmcmS-yrriRe-OWXEXe-OWB6Me), .sGhbA, .LAL5ie .jBmls, .VfPpkd-fmcmS-OyKIhb::after { background-color: @surface2; } .oMg70c:not(.VfPpkd-fmcmS-yrriRe-OWXEXe-OWB6Me) .VfPpkd-NLUYnc-V67aGc, .oMg70c:not(.VfPpkd-fmcmS-yrriRe-OWXEXe-OWB6Me) .VfPpkd-NLUYnc-V67aGc-OWXEXe-TATcMc-KLRBe, .oMg70c:not(.VfPpkd-fmcmS-yrriRe-OWXEXe-OWB6Me) .VfPpkd-fmcmS-wGMbrd, .sGhbA, .osOuXd:not(.VfPpkd-O1htCb-OWXEXe-OWB6Me) .VfPpkd-NLUYnc-V67aGc-OWXEXe-TATcMc-KLRBe, .BnQsec, .mplJGb { color: @text; } .osOuXd:not(.VfPpkd-O1htCb-OWXEXe-OWB6Me) .VfPpkd-RWgCYc-ksKsZd::after { border-color: @accent-color; } .ddaf0 .qggZ5d .d1dlne::after { background-color: @accent-color; } .pRVpNc { color: @subtext0; } /* unsupported videos page */ /* video title & amount of vid selected */ .nTuy2b, .dSfdaf, .rtExYb { color: @text; } /* date & size of vid */ .iKLDRc { color: @subtext0; } /* selected video backgrounc */ .s67Ibf.UYcdu { background: fade(@accent-color, 40%); } /* skipped suggestions page */ /* suggestion background */ .AbQ7md { background: @surface0; border-color: @surface2; } /* date of suggestion */ .Vy0KAc { color: @text; } a { color: @blue; } .ATUW8c { box-shadow: 0 0 0 1px var(--pkw-outline, (@surface2)) inset; } // google 1 icon .BZXMjd.mPxwXe .oXxEid { @svg: escape( '' ); background-image: url("data:image/svg+xml,@{svg}") !important; } //google logo .UDKXKd, .uuRyud { @svg: escape( '' ); background-image: url("data:image/svg+xml,@{svg}") !important; } // app store install button .ASbIvd { @svg: escape( '' ); background-image: url("data:image/svg+xml,@{svg}") !important; & when (@lookup =latte) { @svg: escape( '' ); background-image: url("data:image/svg+xml,@{svg}") !important; } } //google play install button .Od6mvf { @svg: escape( '' ); background-image: url("data:image/svg+xml,@{svg}") !important; & when (@lookup =latte) { @svg: escape( '' ); background-image: url("data:image/svg+xml,@{svg}") !important; } } // sharing .MmE0qc { @svg: escape( '' ); background-image: url("data:image/svg+xml,@{svg}") !important; } // favorites image .ryy2Zd { @svg: escape( '' ); background-image: url("data:image/svg+xml,@{svg}") !important; } //album image .AAF8rf { @svg: escape( '' ); background-image: url("data:image/svg+xml,@{svg}") !important; } //archive image .ZgMovb { @svg: escape( '' ); background-image: url("data:image/svg+xml,@{svg}") !important; } // no photo orders image .raQi0b { @svg: escape( '' ); background-image: url("data:image/svg+xml,@{svg}") !important; & when (@lookup =latte) { @svg: escape( '' ); background-image: url("data:image/svg+xml,@{svg}") !important; } } //app download page image .TN5Asf { @svg: escape( '' ); background-image: url("data:image/svg+xml,@{svg}") !important; & when (@lookup =latte) { @svg: escape( '' ); background-image: url("data:image/svg+xml,@{svg}") !important; } } //google shield icon .SAdUce { @svg: escape( '' ); background-image: url("data:image/svg+xml,@{svg}") !important; & when (@lookup =latte) { @svg: escape( '' ); background-image: url("data:image/svg+xml,@{svg}") !important; } } //trash icon .bR1LEf { @svg: escape( '' ); background-image: url("data:image/svg+xml,@{svg}") !important; } // sharing buddy icon .PfAiBf { @svg: escape( '' ); background-image: url("data:image/svg+xml,@{svg}") !important; } // add photos svg .nlmbYc { @svg: escape( '' ); background-image: url("data:image/svg+xml,@{svg}") !important; } } } /* 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