diff --git a/scripts/userstyles.yml b/scripts/userstyles.yml index 8345dd3b..3d797554 100644 --- a/scripts/userstyles.yml +++ b/scripts/userstyles.yml @@ -285,6 +285,14 @@ userstyles: readme: app-link: "https://google.com" current-maintainers: [*gitmuslim] + google-photos: + name: Google Photos + category: leisure + icon: google + color: sapphire + readme: + app-link: "https://photos.google.com" + current-maintainers: [*genshibe] graphite: name: Graphite category: development diff --git a/styles/google-photos/assets/catwalk.webp b/styles/google-photos/assets/catwalk.webp new file mode 100644 index 00000000..a62a540b --- /dev/null +++ b/styles/google-photos/assets/catwalk.webp @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8f7715dbbe9c5f5ef6c705ce514417c976303b0ef1ae2fa26f3be3692de8f065 +size 135204 diff --git a/styles/google-photos/assets/frappe.webp b/styles/google-photos/assets/frappe.webp new file mode 100644 index 00000000..bb38b6d2 --- /dev/null +++ b/styles/google-photos/assets/frappe.webp @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:37c720a2e0e857c726e423697ae017c1880a808149c0ac6c6109199cbc4ae543 +size 67206 diff --git a/styles/google-photos/assets/latte.webp b/styles/google-photos/assets/latte.webp new file mode 100644 index 00000000..d6d4450a --- /dev/null +++ b/styles/google-photos/assets/latte.webp @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:77d4ace320d549b16cde498a7c604246189ce27b2d61484db7e37294f2c97ea9 +size 72534 diff --git a/styles/google-photos/assets/macchiato.webp b/styles/google-photos/assets/macchiato.webp new file mode 100644 index 00000000..2731c751 --- /dev/null +++ b/styles/google-photos/assets/macchiato.webp @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d6b03e2612389c1482c08f18a46b0414eda844e2fb20be97d64a49ac8d41815e +size 69230 diff --git a/styles/google-photos/assets/mocha.webp b/styles/google-photos/assets/mocha.webp new file mode 100644 index 00000000..c1c2e27d --- /dev/null +++ b/styles/google-photos/assets/mocha.webp @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ec66577051d148f363549c3f6bda2d78d4b1862cb426dd6a99ed3df15b189239 +size 72102 diff --git a/styles/google-photos/catppuccin.user.css b/styles/google-photos/catppuccin.user.css new file mode 100644 index 00000000..557caa0c --- /dev/null +++ b/styles/google-photos/catppuccin.user.css @@ -0,0 +1,438 @@ +/* ==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.1 +@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') { + /* 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; }; + } + + #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]; + + .sggKId, + .uGCjIb, + .RSjvib, + .eReC4e, + .IdqZse, + .s2VtY.JPdR6b, + .NZp2ef, + .VfPpkd-P5QLlc, + .d1DKne { + background-color: @base !important; + } + + body, + .ph43Af, + .HksvWb, + .oUj9s, + .EIug8e, + .bButFf, + .OgirMe, + .dykGZb, + .QmUPuf, + .QkA5Vc:not(:disabled), + .DbkDob, + .g3VIld .uJOXyd, + .BeTwM, + .mKmjtc, + .GVzd9d, + .bCPWJc, + .Qizfvf, + .LAL5ie .ZAGvjd, + .obNJBf, + .HiceN, + .mSbCD, + .C96I0d, + .Ecvatc, + .FkWMmd, + .ARSUIf, + .s4MBmb, + .o7Osof, + .P0eWkf, + .rvEjke, + .oJeWuf, + .fYwTV, + .IGdgBf, + .rN6Qmb, + .eT2rxc, + .QWd4Mb, + .BrvAFe, + .CqtWH, + .hcClrf, + .Yyy4Hc, + .MXxZYe, + .NbrDvb, + .Me6kjf, + .eG8RPc, + .uohCYc, + .cC1eCc .VfPpkd-cnG4Wd, + .sYyz6c, + .UHqjs, + .tzFvIf, + .gyqWff, + .hwDBSe, + .nfTM4e, + .UKzvpf .ASWyTc, + .YvjW7c, + .MrqLTc, + .chfDde, + .l9UZue, + .hEFMYc, + .uNz2Jf, + .PzGzq, + .RjkZqc, + .HVXTVd, + .RSjvib .ylKyWb, + .LzExud, + .rtExYb, + .HEHjMc, + .x1LMef, + .hsohWb, + .ZEmz6b, + .HhLEze { + color: @text !important; + } + + .HEHjMc:hover { + color: @subtext0; + } + + .Cv8Rjc, + .fXq1Rc.DKHcHb, + .Aul2T, + .EHzcec { + background: @base; + } + + .ytp-panel-menu { + color: @text; + } + + .OKFoxe:enabled .VfPpkd-l6JLsf::after, + .OKFoxe.VfPpkd-scr2fc-OWXEXe-gk6SMd:enabled .VfPpkd-uMhiad::after, + .OKFoxe:disabled .VfPpkd-l6JLsf::before, + .VfPpkd-l6JLsf::after { + background: @blue; + } + + .cI2tlc .jBmls { + background: @surface0; + border-top-color: @surface0; + } + + .OKFoxe.VfPpkd-scr2fc-OWXEXe-gk6SMd:enabled .VfPpkd-pafCAf { + fill: @crust; + } + + .VfPpkd-lw9akd:hover { + background-color: @sky; + } + + .kDryjd:not(:disabled) { + background-color: @blue; + color: @mantle; + } + + .MGxLdb { + background-color: @surface0; + color: @blue; + } + + .HksvWb:hover, + .RSjvib:hover { + color: @overlay2 !important; + } + + .Olf00, + .J0dufb { + background-color: @red; + color: @mantle; + } + + .XCxRFf, + .VfPpkd-Jh9lGc::before, + .VfPpkd-RsCWK::before, + .vN9JEc:nth-of-type(1) > .ZbKZ3d, + .O4tDGf:nth-of-type(1), + .mVK51d, + .PnVRO .VfPpkd-muHVFf-bMcfAe:enabled:checked ~ .VfPpkd-YQoJzd { + background-color: @blue !important; + } + + .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); + } + + .OKFoxe .VfPpkd-uMhiad::before, + .VfPpkd-uMhiad::after { + background: @overlay2; + } + + .O4tDGf:nth-of-type(2), + .vN9JEc:nth-of-type(2) > .ZbKZ3d { + background-color: @red !important; + } + + .xA0gfb { + color: @subtext0; + } + + .QtDoYb { + background-color: @mantle; + border-bottom-color: @crust; + } + + .G6iPcb, + .v1262d { + fill: @text !important; + } + + .gb_Pa svg, + .gb_Tc svg, + .gb_fd .gb_od, + .gb_5c .gb_od { + color: @text; + } + + .RHM0Dc, + .sVtWTe.Sn08je, + .zFDl9c, + .VfPpkd-muHVFf-bMcfAe:enabled ~ .VfPpkd-YQoJzd .VfPpkd-HUofsb, + .yhB1zd { + color: @crust; + } + + a, + .z3RRjd:not(:disabled), + .oFJeZc:not(:disabled), + .oaNMjd, + .o7Osof.N2RpBe .oJeWuf, + .UdpEGd, + .LzExud.aJDEse { + color: @blue; + } + + .z3RRjd:not(:disabled), + .QYw5Ld, + .CxyEyc, + .gp1Lgf, + .lnQi4, + .nYXeLb, + .fXq1Rc:not(.A82uMb) .QtDoYb.zeBArf .Aul2T, + .bEtrNb + .VfPpkd-gBXA9-bMcfAe:enabled:not(:checked) + + .VfPpkd-RsCWK + .VfPpkd-wVo5xe-LkdAo, + .X0f2Ie, + .YzU3ub.Sn08je, + .eReC4e.FbgB9 { + border-color: @surface1; + } + + .uprWmb, + .uprWmb:hover, + .DFG23b, + .lJ21id, + .bButFf, + .g3VIld, + .QYw5Ld, + .CxyEyc, + .gp1Lgf, + .ajQY2, + .yVr0Vb, + .fXq1Rc.DKHcHb .Aul2T, + .yhB1zd { + background-color: @surface0; + } + + .bButFf, + .VfPpkd-Z5TpLc-LkdAo, + .bEtrNb + .VfPpkd-gBXA9-bMcfAe:enabled:checked + + .VfPpkd-RsCWK + .VfPpkd-wVo5xe-LkdAo, + .o7Osof.N2RpBe::before, + .rtMuCd, + .VfPpkd-muHVFf-bMcfAe:enabled:checked ~ .VfPpkd-YQoJzd { + border-color: @blue !important; + } + + // 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; + } + + //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; + } + } + + @media (prefers-color-scheme: light) { + :root { + #catppuccin(@lightFlavor, @accentColor); + } + } + + @media (prefers-color-scheme: dark) { + :root { + #catppuccin(@darkFlavor, @accentColor); + } + } +}