Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions scripts/userstyles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,13 @@ userstyles:
categories: [development, wiki]
color: text
current-maintainers: [*ashish0kumar]
docker:
name: Docker
link: https://app.docker.com
categories: [package_registry, development]
icon: docker
color: blue
current-maintainers: [*AlwaysNur]
docs.deno.com:
name: docs.deno.com
link: https://docs.deno.com
Expand Down
117 changes: 117 additions & 0 deletions styles/docker/catppuccin.user.less
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
/* ==UserStyle==
@name Docker Catppuccin
@namespace github.com/catppuccin/userstyles/styles/docker
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/docker
@version 2000.01.01
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/docker/catppuccin.user.less
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Adocker
@description Soothing pastel theme for Docker
@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== */
@import "https://userstyles.catppuccin.com/lib/lib.less";
@import "https://raw.githubusercontent.com/catppuccin/userstyles/feat/mui-lib/lib/mui.less";

@-moz-document regexp('https?:\/\/[^\.]+\.docker\.com[^\s]*') {

:root.dark {
#catppuccin(@darkFlavor);
}

:root.light {
#catppuccin(@lightFlavor);
}

#catppuccin(@flavor) {
#lib.palette();
#lib.defaults();
#__mui.base();
#__mui.with-name(docker);
}
}

@-moz-document domain("login.docker.com") {
:root {
@media (prefers-color-scheme: light) {
#catppuccin(@lightFlavor);
}

@media (prefers-color-scheme: dark) {
#catppuccin(@darkFlavor);
}
}

#catppuccin(@flavor) {
#lib.palette();
#lib.defaults();

body {
--page-background-color: @base;
}

--primary-color: @accent !important;
--link-color: @accent;
--primary-color-no-override: @accent;
--page-background-color: #000;
--info-color: #0a66e1;
--success-color: @green;
--error-color-values: 208,
14,
23;
--error-color: @red;
--error-text-color: #fff;
--warning-color: @yellow;
--button-font-color: @base;

--widget-background-color: @mantle;
--box-border-color: @overlay0;

--social-button-border-color: @text;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
--social-button-border-color: @text;
--social-button-border-color: @overlay0;

--secondary-button-text-color: @subtext0;

--presentational-content-color: @text;
--brand-primary-color: #3f59e4;
--gray-lightest: #f1f2f3;
--gray-light: #dee2e6;
--gray-mid: #c2c8d0;
--gray-dark: #6f7780;
--gray-darkest: #2d333a;
--gray-mid-dark: #686868;
--gray-social-border: #8e8e8e;
Comment on lines +78 to +85
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we know where these are?

--title-font-color: @text;
--font-default-color: @text;

--input-background-color: @base;
--font-light-color: @overlay0;
--base-focus-color: @accent;
--input-border-color: @overlay0;

#footer-links a {
color: @accent;

&:visited {
color: @mauve;
}
}
Comment on lines +94 to +100
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
#footer-links a {
color: @accent;
&:visited {
color: @mauve;
}
}
#footer-links a {
color: @blue;
&:visited {
color: @mauve;
}
}

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Haha, the old link dilemma.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Haha, the old link dilemma.

input {
caret-color: @subtext0;
}
span[data-provider^="google"] {
@svg: escape('<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 48 48"><defs><path id="a" d="M44.5 20H24v8.5h11.8C34.7 33.9 30.1 37 24 37c-7.2 0-13-5.8-13-13s5.8-13 13-13c3.1 0 5.9 1.1 8.1 2.9l6.4-6.4C34.6 4.1 29.6 2 24 2 11.8 2 2 11.8 2 24s9.8 22 22 22c11 0 21-8 21-22 0-1.3-.2-2.7-.5-4"/></defs><clipPath id="b"><use xlink:href="#a" overflow="visible"/></clipPath><path clip-path="url(#b)" fill="@{yellow}" d="M0 37V11l17 13z"/><path clip-path="url(#b)" fill="@{red}" d="m0 11 17 13 7-6.1L48 14V0H0z"/><path clip-path="url(#b)" fill="@{green}" d="m0 37 30-23 7.9 1L48 0v48H0z"/><path clip-path="url(#b)" fill="@{blue}" d="M48 48 17 24l-4-3 35-10z"/></svg>');
background-image: url("data:image/svg+xml,@{svg}");
}
span[data-provider^="github"] {
@svg: escape('<svg width="20" height="20" xmlns="http://www.w3.org/2000/svg"><path d="M10 0C4.477 0 0 4.36 0 9.74c0 4.304 2.865 7.955 6.839 9.243.5.09.682-.211.682-.47 0-.23-.008-.843-.013-1.656-2.782.588-3.369-1.306-3.369-1.306-.454-1.125-1.11-1.425-1.11-1.425-.908-.604.069-.592.069-.592 1.003.069 1.531 1.004 1.531 1.004.892 1.488 2.341 1.059 2.91.81.092-.63.35-1.06.636-1.303-2.22-.245-4.555-1.081-4.555-4.814 0-1.063.39-1.933 1.029-2.613-.103-.247-.446-1.238.098-2.578 0 0 .84-.262 2.75.998A9.8 9.8 0 0 1 10 4.71c.85.004 1.705.112 2.504.328 1.909-1.26 2.747-.998 2.747-.998.546 1.34.203 2.331.1 2.578.64.68 1.028 1.55 1.028 2.613 0 3.742-2.339 4.566-4.566 4.807.359.3.678.895.678 1.804 0 1.301-.012 2.352-.012 2.671 0 .261.18.564.688.47C17.137 17.69 20 14.042 20 9.74 20 4.36 15.522 0 10 0" fill="@{text}" fill-rule="evenodd"/></svg>');
background-image: url("data:image/svg+xml,@{svg}");
}
#prompt-logo-center {
@svg: escape('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2333.95 530.79" fill="@{accent}"><path d="M661.56 218.08c-16.49-11.1-59.81-15.84-91.3-7.35-1.69-31.37-17.88-57.81-47.47-80.88l-10.95-7.35-7.3 11.03c-14.35 21.78-20.4 50.81-18.26 77.2 1.69 16.26 7.34 34.53 18.26 47.79-40.99 23.78-78.78 18.38-246.12 18.38H.06c-.75 37.79 5.32 110.47 51.54 169.64 5.11 6.54 10.7 12.86 16.78 18.95 37.58 37.63 94.36 65.23 179.26 65.3 129.53.12 240.5-69.9 308.01-239.18 22.21.36 80.85 3.98 109.55-51.47.7-.93 7.3-14.7 7.3-14.7l-10.94-7.35Zm-492.89-34.55H96.02v72.65h72.65zm93.85 0h-72.65v72.65h72.65zm93.86 0h-72.65v72.65h72.65zm93.86 0h-72.65v72.65h72.65zm-375.43 0H2.16v72.65h72.65zm93.86-91.76H96.02v72.65h72.65zm93.85 0h-72.65v72.65h72.65zm93.86 0h-72.65v72.65h72.65zm0-91.77h-72.65v72.65h72.65zm1973.06 419.3c0 18.94-14.87 33.81-34.21 33.81s-34.42-14.87-34.42-33.81 15.27-33.4 34.42-33.4 34.21 14.87 34.21 33.4m-60.07 0c0 14.87 11 26.68 26.07 26.68s25.46-11.81 25.46-26.47-10.8-26.89-25.65-26.89-25.87 12.02-25.87 26.68Zm20.58 17.52h-7.74v-33.4c3.04-.61 7.33-1.02 12.82-1.02 6.32 0 9.16 1.02 11.61 2.45 1.84 1.42 3.26 4.07 3.26 7.33 0 3.67-2.85 6.52-6.91 7.74v.41c3.24 1.21 5.08 3.66 6.1 8.14 1.01 5.09 1.62 7.13 2.45 8.35h-8.35c-1.02-1.22-1.64-4.27-2.65-8.15-.61-3.66-2.65-5.29-6.93-5.29h-3.66v13.45Zm.19-18.94h3.66c4.28 0 7.74-1.42 7.74-4.88 0-3.06-2.23-5.11-7.13-5.11-2.03 0-3.46.21-4.27.43zM1017.16 81.28c-4.79-4.68-10.54-7.06-17.43-7.06s-12.81 2.38-17.42 7.06c-4.62 4.68-6.88 10.68-6.88 17.83v119.4c-23.7-19.59-51.05-29.47-82.16-29.47-36.16 0-67.08 13.06-92.7 39.27-25.62 26.12-38.34 57.72-38.34 94.78s12.81 68.57 38.34 94.78c25.62 26.12 56.46 39.27 92.7 39.27s66.74-13.06 92.7-39.27c25.62-25.86 38.34-57.45 38.34-94.78V99.11c0-7.15-2.35-13.15-7.15-17.83m-48.18 274.11v.18c-4.27 10.15-10.11 19.06-17.51 26.65-7.4 7.68-16.12 13.68-26.05 18.18-10.02 4.5-20.65 6.71-32.06 6.71s-22.3-2.21-32.32-6.71-18.65-10.5-25.96-18.09c-7.32-7.59-13.15-16.5-17.42-26.65-4.27-10.24-6.45-21.09-6.45-32.57s2.18-22.33 6.45-32.57 10.11-19.06 17.42-26.65c7.32-7.59 16.03-13.59 25.96-18.09 10.02-4.5 20.74-6.71 32.32-6.71s22.04 2.21 32.06 6.71 18.65 10.5 26.05 18.18 13.24 16.59 17.51 26.65c4.27 10.15 6.45 20.92 6.45 32.39s-2.18 22.33-6.45 32.39m1130.79-83.75c-6.36-15.89-16.05-30.27-28.76-43.16l-.17-.09c-25.88-26.12-56.82-39.27-92.7-39.27s-67.09 13.06-92.71 39.27c-25.62 26.12-38.33 57.72-38.33 94.78s12.81 68.57 38.33 94.78c25.62 26.12 56.47 39.27 92.71 39.27 32.92 0 61.41-10.85 85.64-32.56 4.69-4.94 7.06-10.94 7.06-17.92s-2.26-13.15-6.89-17.83c-4.61-4.68-10.45-7.06-17.42-7.06-6.09.18-11.5 2.21-16.11 6.27-7.32 6.35-15.25 11.21-23.87 14.39-8.63 3.18-18.04 4.77-28.31 4.77-9.07 0-17.78-1.41-26.05-4.32-8.29-2.91-16.03-6.89-22.92-12.09-6.98-5.21-12.98-11.38-18.12-18.71-5.14-7.24-9.06-15.27-11.67-24.09h185.32c6.87 0 12.62-2.38 17.42-7.06s7.15-10.68 7.15-17.83c0-18.53-3.24-35.74-9.58-51.54Zm-200.48 26.65c2.53-8.74 6.36-16.77 11.5-24.09 5.15-7.24 11.24-13.5 18.21-18.71 7.06-5.21 14.72-9.18 23.17-12.09 8.44-2.91 17.06-4.32 25.97-4.32s17.51 1.41 25.86 4.32c8.37 2.91 16.05 6.88 22.92 12.09 6.98 5.21 13.07 11.38 18.21 18.71 5.22 7.24 9.16 15.27 11.86 24.09h-157.71Zm428.22-92.4c-4.36-4.32-9.85-7.68-16.47-10.15s-13.85-4.15-21.78-5.12c-7.84-.97-15.25-1.41-22.12-1.41-15.61 0-30.24 2.56-44 7.68-13.77 5.12-26.49 12.44-38.17 21.97v-4.76c0-6.88-2.35-12.71-7.15-17.56-4.78-4.85-10.45-7.32-17.15-7.32s-12.64 2.47-17.42 7.32c-4.8 4.85-7.15 10.77-7.15 17.56v218.25c0 6.88 2.35 12.71 7.15 17.56 4.78 4.85 10.53 7.32 17.42 7.32s12.45-2.47 17.15-7.32c4.8-4.85 7.15-10.77 7.15-17.56V323.18c0-11.65 2.18-22.59 6.45-32.83s10.11-19.06 17.51-26.65c7.42-7.59 16.13-13.59 26.05-17.92 10.02-4.41 20.66-6.62 32.08-6.62s22.2 2.03 32.06 6c3.91 1.77 7.32 2.65 10.28 2.65 3.4 0 6.62-.62 9.58-1.94s5.58-3.09 7.76-5.38 3.91-4.94 5.22-8.03c1.31-3 2.01-6.27 2.01-9.8 0-6.88-2.18-12.44-6.53-16.77h.08Zm-1023.02 65.84c-6.36-15.8-15.86-30.27-28.66-43.33-25.87-26.12-56.8-39.27-92.7-39.27s-67.08 13.06-92.7 39.27c-25.62 26.12-38.33 57.72-38.33 94.78s12.81 68.57 38.33 94.78c25.62 26.12 56.46 39.27 92.7 39.27s66.74-13.06 92.7-39.27c25.62-25.86 38.34-57.45 38.34-94.78-.18-18.53-3.4-35.65-9.67-51.45Zm-45.65 83.66v.18c-4.27 10.15-10.11 19.06-17.51 26.65-7.4 7.68-16.12 13.68-26.05 18.18s-20.65 6.71-32.06 6.71-22.3-2.21-32.32-6.71-18.65-10.5-25.96-18.09c-7.32-7.59-13.15-16.5-17.42-26.65-4.27-10.24-6.45-21.09-6.45-32.57s2.18-22.33 6.45-32.57 10.11-19.06 17.42-26.65c7.32-7.59 16.03-13.59 25.96-18.09 10.02-4.5 20.74-6.71 32.32-6.71s22.04 2.21 32.06 6.71 18.65 10.5 26.05 18.18 13.24 16.59 17.51 26.65c4.27 10.15 6.45 20.92 6.45 32.39s-2.18 22.33-6.45 32.39m569.78-141.38c0-3.35-.7-6.53-2-9.53-1.31-3-3.05-5.73-5.23-8.03-2.18-2.29-4.79-4.15-7.75-5.38s-6.18-1.94-9.58-1.94c-4.88 0-9.24 1.24-13.07 3.8l-139.92 93.11V99.29c0-7.06-2.35-12.97-7.14-17.83-4.79-4.85-10.45-7.32-17.16-7.32s-12.63 2.47-17.43 7.32c-4.79 4.85-7.14 10.77-7.14 17.83V432c0 6.88 2.35 12.8 7.14 17.74s10.54 7.41 17.43 7.41 12.46-2.47 17.16-7.41c4.79-4.94 7.14-10.86 7.14-17.74v-86.4l28.58-19.15 108.12 124.17c4.36 4.32 9.85 6.44 16.38 6.44 3.4 0 6.62-.62 9.58-1.94 2.96-1.24 5.58-3.09 7.75-5.38 2.18-2.29 3.92-4.94 5.23-8.03 1.31-3 2-6.27 2-9.53 0-6.53-2.26-12.36-6.8-17.47l-100.63-115.87 98.01-65.13c6.27-4.32 9.32-10.94 9.32-19.86v.18Zm-414.26 49.69c7.49-7.59 16.21-13.59 26.23-17.92 10.02-4.41 20.65-6.62 32.06-6.62 10.28 0 19.78 1.77 28.58 5.29 8.71 3.53 17.08 8.74 25 15.53 4.7 3.79 10.02 5.73 15.94 5.73 7.06 0 12.81-2.38 17.43-7.15s6.88-10.77 6.88-17.92-2.79-13.77-8.45-18.88c-24.05-21.71-52.53-32.57-85.38-32.57-36.16 0-67.08 13.06-92.7 39.27-25.62 26.12-38.33 57.72-38.33 94.78s12.81 68.57 38.33 94.78c25.62 26.12 56.46 39.27 92.7 39.27 32.76 0 61.25-10.85 85.38-32.57 5.14-5.29 7.76-11.38 7.76-18.44s-2.27-13.15-6.88-17.83c-4.62-4.68-10.45-7.06-17.42-7.06-5.92.18-11.07 1.94-15.42 5.29-7.84 6.88-16.03 12-24.83 15.44-8.71 3.44-18.21 5.12-28.58 5.12-11.41 0-22.04-2.21-32.06-6.62s-18.73-10.41-26.23-17.91c-7.49-7.5-13.42-16.5-17.69-26.65-4.27-10.24-6.45-21.18-6.45-32.83s2.18-22.59 6.45-32.83 10.19-19.06 17.69-26.65v-.09Z" class="cls-1"/></svg>');
content: url("data:image/svg+xml,@{svg}");
}
}
}