fix(pinstrest): assorted bugs (#558)

This commit is contained in:
Isabel authored and GitHub committed 2024-02-25 16:00:23 +00:00
1 parent b6001b26b9
commit 09b66e22cd
1 file changed
+45 -35
+45 -35
View File
@@ -2,17 +2,17 @@
@name Pinterest Catppuccin @name Pinterest Catppuccin
@namespace github.com/catppuccin/userstyles/styles/pinterest @namespace github.com/catppuccin/userstyles/styles/pinterest
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/pinterest @homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/pinterest
@version 1.1.1 @version 1.1.2
@description Soothing pastel theme for Pinterest
@author Catppuccin
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/pinterest/catppuccin.user.css @updateURL https://github.com/catppuccin/userstyles/raw/main/styles/pinterest/catppuccin.user.css
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Apinterest @supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Apinterest
@description Soothing pastel theme for Pinterest
@author Catppuccin
@license MIT @license MIT
@preprocessor less @preprocessor less
@var select lightFlavor "Light Flavor" [ "latte:Latte*", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha" ] @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 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" ] @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== */ ==/UserStyle== */
@-moz-document regexp("^https?:\\/\\/(www|[a-z]{2}).pinterest.(com(.(au|mx))?|co(.(uk|kr))?|at|ca|ch|cl|de|dk|es|fr|ie|it|jp|nz|ph|pt|ru|se)\\/.*") { @-moz-document regexp("^https?:\\/\\/(www|[a-z]{2}).pinterest.(com(.(au|mx))?|co(.(uk|kr))?|at|ca|ch|cl|de|dk|es|fr|ie|it|jp|nz|ph|pt|ru|se)\\/.*") {
@@ -52,7 +52,7 @@
@base: @catppuccin[@@lookup][@base]; @base: @catppuccin[@@lookup][@base];
@mantle: @catppuccin[@@lookup][@mantle]; @mantle: @catppuccin[@@lookup][@mantle];
@crust: @catppuccin[@@lookup][@crust]; @crust: @catppuccin[@@lookup][@crust];
@accentColor: @catppuccin[@@lookup][@@accent]; @accent-color: @catppuccin[@@lookup][@@accent];
:root { :root {
--color-text-light: if((@lookup = latte), @mantle, @text); --color-text-light: if((@lookup = latte), @mantle, @text);
@@ -60,29 +60,42 @@
--color-text-default: @text; --color-text-default: @text;
--color-text-inverse: @mantle; --color-text-inverse: @mantle;
--color-text-subtle: @subtext0; --color-text-subtle: @subtext0;
--color-text-error: @accentColor; --color-text-error: @accent-color;
--color-text-shopping: @accentColor; --color-text-shopping: @accent-color;
--color-text-link: @accentColor; --color-text-link: @accent-color;
--color-text-icon-light: if((@lookup = latte), @mantle, @subtext1); --color-text-icon-light: if((@lookup = latte), @mantle, @subtext1);
--color-text-icon-dark: if((@lookup = latte), @subtext1, @mantle); --color-text-icon-dark: if((@lookup = latte), @subtext1, @mantle);
--color-text-icon-default: @subtext1; --color-text-icon-default: @subtext0;
--color-icon-subtle: @subtext1;
--color-text-icon-inverse: @mantle; --color-text-icon-inverse: @mantle;
--color-text-icon-subtle: @subtext0; --color-text-icon-subtle: @subtext0;
--color-text-icon-error: @accentColor; --color-text-icon-error: @accent-color;
--color-text-icon-brand-primary: @accentColor; --color-text-icon-brand-primary: @accent-color;
--color-background-light: if((@lookup = latte), @mantle, @subtext1); --color-background-light: if((@lookup = latte), @mantle, @subtext1);
--color-background-dark: if((@lookup = latte), @text, @mantle); --color-background-dark: if((@lookup = latte), @text, @mantle);
--color-background-default: @base; --color-background-default: @base;
--color-background-inverse-base: @subtext1; --color-background-inverse-base: @subtext1;
--color-background-primary-base: @accentColor; --color-background-primary-base: @accent-color;
--color-background-secondary-base: @mantle; --color-background-secondary-base: @mantle;
--color-background-secondary-active: @mantle; --color-background-secondary-active: @mantle;
--color-background-selected-base: @subtext1; --color-background-selected-base: @subtext1;
--color-border-container: @mantle; --color-background-box-default: @mantle;
--color-background-box-selected: @accent-color;
--color-background-box-secondary: @surface1;
--color-background-overlay: @surface0;
--color-background-tag-primary-hover: @surface2;
--color-background-box-light: @mantle;
--color-background-button-secondary-default: @surface0;
--color-background-button-secondary-hover: @surface1;
--color-background-tag-primary-default: @surface1;
--color-background-button-disabled-default: darken(@mantle, 2%);
--color-background-formfield-primary: @surface0;
--color-border-container: @surface1;
--color-border-default: @mantle; --color-border-default: @mantle;
--g-colorTransparentWhite: fadeout(@base, 30%); --g-colorTransparentWhite: fadeout(@base, 30%);
--g-colorTransparentDarkGray: fadeout(@mantle, 20%); --g-colorTransparentDarkGray: fadeout(@mantle, 20%);
--g-colorGray0: @mantle; --g-colorGray0: @mantle;
@@ -94,14 +107,14 @@
--g-colorGray100Active: darken(@surface0, 5%); --g-colorGray100Active: darken(@surface0, 5%);
--g-colorGray200: @subtext0; --g-colorGray200: @subtext0;
--g-colorGray300: @subtext1; --g-colorGray300: @subtext1;
--g-colorRed100: @accentColor; --g-colorRed100: @accent-color;
--g-colorRed100Hovered: darken(@accentColor, 7.5%); --g-colorRed100Hovered: darken(@accent-color, 7.5%);
--g-colorRed100Active: darken(@accentColor, 10%); --g-colorRed100Active: darken(@accent-color, 10%);
--g-color-focus: fadeout(@accentColor, 50%); --g-color-focus: fadeout(@accent-color, 50%);
--color-gray-roboflow-400: @crust; --color-gray-roboflow-400: @crust;
--color-gray-roboflow-200: @mantle; --color-gray-roboflow-200: @mantle;
--g-blue: @accentColor; --g-blue: @accent-color;
--color-background-info-base: @blue; --color-background-info-base: @blue;
--color-background-error-base: @red; --color-background-error-base: @red;
--color-background-warning-base: @peach; --color-background-warning-base: @peach;
@@ -120,8 +133,8 @@
--epr-category-label-bg-color: @base; --epr-category-label-bg-color: @base;
--epr-search-input-bg-color: @mantle; --epr-search-input-bg-color: @mantle;
--epr-skin-tone-picker-menu-color: @mantle; --epr-skin-tone-picker-menu-color: @mantle;
--epr-category-icon-active-color: @accentColor; --epr-category-icon-active-color: @accent-color;
--epr-highlight-color: @accentColor; --epr-highlight-color: @accent-color;
--epr-hover-bg-color: @surface0; --epr-hover-bg-color: @surface0;
--epr-focus-bg-color: @surface0; --epr-focus-bg-color: @surface0;
} }
@@ -147,7 +160,7 @@
} }
svg circle[fill="white"] ~ path[fill="#e60023"] { svg circle[fill="white"] ~ path[fill="#e60023"] {
fill: @accentColor !important; fill: @accent-color !important;
} }
div#mweb-unauth-container, div#mweb-unauth-container,
@@ -157,11 +170,8 @@
/* Header & Search */ /* Header & Search */
div[data-test-id="header-Header"] div.P_h { div[data-test-id="header-Header"] div.P_h span.xnr {
background-color: @mantle !important; color: @text !important;
span.xnr {
color: @text !important;
}
} }
div[data-test-id="one-bar-pill"] { div[data-test-id="one-bar-pill"] {
@@ -339,7 +349,7 @@
} }
div.SaveButton__background--enabled { div.SaveButton__background--enabled {
background-color: @accentColor !important; background-color: @accent-color !important;
color: @mantle !important; color: @mantle !important;
} }
@@ -456,7 +466,7 @@
} }
div[data-test-id="editor-canvas-container"] div { div[data-test-id="editor-canvas-container"] div {
border-color: @accentColor !important; border-color: @accent-color !important;
} }
input[data-test-id="storyboard-editor-details-text-size"] { input[data-test-id="storyboard-editor-details-text-size"] {
@@ -500,17 +510,17 @@
} }
button[data-test-id="login-signup-toggle"] { button[data-test-id="login-signup-toggle"] {
color: @accentColor !important; color: @accent-color !important;
} }
button.red.active { button.red.active {
background-color: @accentColor !important; background-color: @accent-color !important;
color: @crust !important; color: @crust !important;
} }
button.red.active:hover, button.red.active:hover,
button.red.active:focus { button.red.active:focus {
background-color: darken(@accentColor, 2.5%) !important; background-color: darken(@accent-color, 2.5%) !important;
} }
span[data-test-id="terms-of-service"], span[data-test-id="terms-of-service"],
@@ -518,7 +528,7 @@
color: @subtext1 !important; color: @subtext1 !important;
a { a {
color: @accentColor !important; color: @accent-color !important;
} }
} }
} }
@@ -539,7 +549,7 @@
} }
span[data-test-id="terms-of-service"] a { span[data-test-id="terms-of-service"] a {
color: @accentColor !important; color: @accent-color !important;
} }
div[data-test-id="breadcrumbs-list"] div.MIw.Rym.zI7.iyn.Hsu, div[data-test-id="breadcrumbs-list"] div.MIw.Rym.zI7.iyn.Hsu,