diff --git a/.github/PULL_REQUEST_TEMPLATE/userstyle-creation.md b/.github/PULL_REQUEST_TEMPLATE/userstyle-creation.md index 86e1c2bd..6fc6375a 100644 --- a/.github/PULL_REQUEST_TEMPLATE/userstyle-creation.md +++ b/.github/PULL_REQUEST_TEMPLATE/userstyle-creation.md @@ -24,4 +24,4 @@ Feel free to leave this section empty if you don't have anything more to say. - [ ] I have followed the template and kept the preprocessor as [LESS](https://lesscss.org/#overview). - [ ] I have made sure to update the [`userstyles.yml`](https://github.com/catppuccin/userstyles/blob/main/scripts/userstyles.yml) file with information about the new userstyle. - [ ] I have included the following files: - - [ ] `catppuccin.user.less` - all the CSS for the userstyle, based on the template. \ No newline at end of file + - [ ] `catppuccin.user.less` - all the CSS for the userstyle, based on the template. diff --git a/docs/userstylesyml.md b/docs/userstylesyml.md index a5b2fecd..01b24d8a 100644 --- a/docs/userstylesyml.md +++ b/docs/userstylesyml.md @@ -38,8 +38,8 @@ The [`userstyles.yml`](https://github.com/catppuccin/userstyles/tree/main/script The `past-maintainers` field contains a list of maintainers who have maintained the port in the past. We encourage all maintainers to add/remove themselves from this list as they see fit. ## Adding yourself as a maintainer -1. Add a new entry to the end of the `collaborators` array in the `userstyles.yml` file. The entry should be made under your GitHub username. The following example shows a new entry for a user with the GitHub username "Pepperjack". +1. Add a new entry to the end of the `collaborators` array in the `userstyles.yml` file. The entry should be made under your GitHub username. The following example shows a new entry for a user with the GitHub username "Pepperjack". ```yaml collaborators: diff --git a/styles/pinterest/catppuccin.user.less b/styles/pinterest/catppuccin.user.less index 2a35bef8..955fadc5 100644 --- a/styles/pinterest/catppuccin.user.less +++ b/styles/pinterest/catppuccin.user.less @@ -124,19 +124,22 @@ --color-background-tabs-default-hover: @surface0; --color-background-button-semitransparentwhite-default: fade(@base, 80%); --color-background-button-semitransparentwhite-hover: @surface0; - --color-background-button-semitransparentdefault-default: fade(@surface1, 80%); + --color-background-button-semitransparentdefault-default: fade( + @surface1, + 80% + ); --color-background-button-semitransparentdefault-hover: @surface2; --color-background-switch-default-selected: @accent; --color-background-switch-default-unselected: @base; --color-background-switch-hover-selected: @accent; --color-background-switch-hover-unselected: @surface0; --color-background-switch-pressed-selected: fade(@accent, 50%); - --color-background-switch-pressed-unselected: fade(@accent, 50%); + --color-background-switch-pressed-unselected: fade(@accent, 50%); --color-background-checkbox-disabled: darken(@mantle, 2%); --color-background-checkbox-checked-default: @accent; --color-background-checkbox-checked-: @red; --color-background-checkbox-unchecked-default: @base; - --color-background-checkbox-unchecked-: @red; + --color-background-checkbox-unchecked-: @red; --color-border-container: @surface1; --color-border-default: @mantle; --color-border-popover-primary: @surface0; @@ -147,14 +150,14 @@ --color-border-switch-focus-inner: @surface2; --color-border-switch-focus-outer: @surface2; --color-border-switch-hover-unselected: @surface2; - --color-border-switch-pressed-unselected: @surface2; + --color-border-switch-pressed-unselected: @surface2; --color-border-checkbox-checked-default: @accent; --color-border-checkbox-checked-: @red; --color-border-checkbox-disabled: darken(@mantle, 2%); --color-border-checkbox-unchecked-default: @surface1; --color-border-checkbox-unchecked-: @red; --color-border-checkbox-unchecked-hover: @surface2; - --color-border-checkbox-unchecked-pressed: fade(@accent, 50%); + --color-border-checkbox-unchecked-pressed: fade(@accent, 50%); --color-text-success: @green; --color-text-warning: @yellow; --color-icon-default: @subtext1; @@ -210,7 +213,7 @@ --color-background-success-base: @green; // Currently unsupported syntax by the Less parser the Deno formatter uses, see https://github.com/g-plane/raffia/issues/9. - + // @colors: { // 01: @blue; // 02: @teal; @@ -356,14 +359,17 @@ --color-text-dark: var(--color-text-inverse); } - div[data-test-id="product-price-filter-one-bar-pill"] button[data-test-id="one-bar-pill"] svg { + div[data-test-id="product-price-filter-one-bar-pill"] + button[data-test-id="one-bar-pill"] + svg { color: @base !important; } div[data-test-id="one-bar-navigation-arrows"] { - background: linear-gradient(to left, @base, transparent 40px), linear-gradient(to right, @base, transparent 40px) !important; + background: + linear-gradient(to left, @base, transparent 40px), + linear-gradient(to right, @base, transparent 40px) !important; } - div#searchBoxContainer { // search bar > div { @@ -406,66 +412,90 @@ nav#VerticalNavContent { a[data-test-id="home-tab"] div { &[style*="M11.3217 0.307444C11.7345 0.0407477"] { - @svg: escape(''); - background-image: url(~'data:image/svg+xml,@{svg}') !important; + @svg: escape( + '' + ); + background-image: url(~"data:image/svg+xml,@{svg}") !important; } &[style*="M21.6834 22H2.31659V7.61275"] { - @svg: escape(''); - background-image: url(~'data:image/svg+xml,@{svg}') !important; + @svg: escape( + '' + ); + background-image: url(~"data:image/svg+xml,@{svg}") !important; } } a[data-test-id="create-tab"] div { &[style*="M19 3.5H5C4.17157 3.5"] { - @svg: escape(''); + @svg: escape( + '' + ); background-image: url("data:image/svg+xml,@{svg}") !important; } &[style*="M12 4.75C12.6904 4.75"] { - @svg: escape(''); + @svg: escape( + '' + ); background-image: url("data:image/svg+xml,@{svg}") !important; } } div[aria-label*="Updates"] div { &[style*="M16.5 14.227"] { - @svg: escape(''); + @svg: escape( + '' + ); background-image: url("data:image/svg+xml,@{svg}") !important; } &[style*="clip0_449_32470"] { - @svg: escape(''); + @svg: escape( + '' + ); background-image: url(~"data:image/svg+xml,@{svg}") !important; } } div[data-test-id="notifications-button"] div[style*="background-image"] { &[style*="clip0_800_18532"] { - @svg: escape(''); - background-image: url("data:image/svg+xml,@{svg}") !important; + @svg: escape( + '' + ); + background-image: url("data:image/svg+xml,@{svg}") !important; } &[style*="clip0_449_32468"] { - @svg: escape(''); + @svg: escape( + '' + ); background-image: url("data:image/svg+xml,@{svg}") !important; } } - + div[data-test-id="vertical-nav-more-options-button"] div { &[style*="clip0_449_32461"] { - @svg: escape(''); - background-image: url("data:image/svg+xml,@{svg}") !important; + @svg: escape( + '' + ); + background-image: url("data:image/svg+xml,@{svg}") !important; } &[style*="clip0_449_32472"] { - @svg: escape(''); + @svg: escape( + '' + ); background-image: url("data:image/svg+xml,@{svg}") !important; } } a[data-test-id="today-tab"] div { &[style*="clip0_449_32453"] { - @svg: escape(''); + @svg: escape( + '' + ); background-image: url("data:image/svg+xml,@{svg}") !important; - } + } &[style*="clip0_449_32464"] { - @svg: escape(''); + @svg: escape( + '' + ); background-image: url("data:image/svg+xml,@{svg}") !important; } } @@ -474,12 +504,12 @@ div[data-test-id="homefeed-feed"] { div[style*="background-color:#ffffff"], div[style*="background-color: rgb(255, 255, 255)"] { - background-color: @base !important; + background-color: @base !important; } } /* Pins */ - + // image container [data-test-id="closeup-image-main"] div div { background-color: @mantle !important; @@ -493,21 +523,21 @@ color: var(--color-text-inverse) !important; } } - + // pin icons button[data-test-id="feedback-button"], div[data-test-id="share-icon-button"] { div div { background-color: @base; - &:hover { - background-color: @surface0; - } + &:hover { + background-color: @surface0; } + } } - + // board name to save to // preview / dropdown - [data-test-id="PinBetterSaveDropdown"], + [data-test-id="PinBetterSaveDropdown"], div[data-test-id="boardSelectionDropdown"] { .B1n { color: var(--color-text-light); @@ -637,7 +667,7 @@ } // comment bar - div[data-test-id='comment-editor-container'] { + div[data-test-id="comment-editor-container"] { color: @text !important; } div[data-test-id="inline-comment-composer-container"] { @@ -655,9 +685,10 @@ div[data-test-id="more-description-container"], div[data-test-id="less-description-container"] { background-color: @base !important; - div:first-child { - background: linear-gradient(90deg, transparent 0%, @base 100%) !important; - } + div:first-child { + background: linear-gradient(90deg, transparent 0%, @base 100%) + !important; + } } div[data-test-id="truncated-text"] { @@ -711,8 +742,10 @@ } div div { div[style*='background-image: url("https://s.pinimg.com/webapp/reactionHeartOutline-24ab75a6.svg")'] { - @svg: escape(''); - background-image: url("data:image/svg+xml,@{svg}") !important; + @svg: escape( + '' + ); + background-image: url("data:image/svg+xml,@{svg}") !important; } div[style*='background-image: url("https://s.pinimg.com/webapp/loveStatic-31fc2a99.svg")'] { @darkened-red: darken(@red, 50%); @@ -836,7 +869,7 @@ color: @subtext1; caret-color: @text !important; } - + textarea[data-gestalt-valid-html="TextArea"] { background-color: transparent !important; } @@ -887,7 +920,7 @@ div[data-test-id="drag-behavior-container"] { background-color: @surface1 !important; } - + div[data-test-id="drag-behavior-container"] div div { border-color: @surface2 !important; } @@ -957,7 +990,7 @@ div[data-test-id="hero-module-title"] h3 { color: if(@flavor = latte, @base, @text) !important; } - } + } // today article header div[data-test-id="today-article-header"] { @@ -1081,17 +1114,20 @@ // pin peek variant div[data-test-id="peek-variant-shopping-module-container"] { div[data-test-id="peek-variant-top-gradient"] { - background: linear-gradient(0deg, transparent 0%, @base 100%) !important; + background: linear-gradient(0deg, transparent 0%, @base 100%) + !important; } - - div[style*="background: linear-gradient"]:not([data-test-id="peek-variant-top-gradient"]) { + + div[style*="background: linear-gradient"]:not( + [data-test-id="peek-variant-top-gradient"] + ) { background: linear-gradient(transparent 0%, @base 100%) !important; } } // pin shopping div[data-testid="product-metadata-details-flex"] { - div[style*='border-top'] { + div[style*="border-top"] { border-color: @surface0 !important; } } @@ -1102,10 +1138,10 @@ background: linear-gradient(@base 0%, transparent 90%) !important; } &[style*="linear-gradient(rgba(255, 255, 255, 0)"] { - background: linear-gradient(transparent 0%, @base 90%) !important; + background: linear-gradient(transparent 0%, @base 90%) !important; } } - + div[data-test-id="outline-box"] { box-shadow: @subtext1 0 0 0 2px inset, @base 0 0 0 4px inset !important; }