174 lines
16 KiB
Plaintext
174 lines
16 KiB
Plaintext
/* ==UserStyle==
|
|
@name gleam.run Catppuccin
|
|
@namespace github.com/catppuccin/userstyles/styles/gleam.run
|
|
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/gleam.run
|
|
@version 2026.08.16
|
|
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/gleam.run/catppuccin.user.less
|
|
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Agleam.run
|
|
@description Soothing pastel theme for gleam.run
|
|
@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/std/v1.less";
|
|
|
|
@-moz-document domain("gleam.run") {
|
|
@import url("https://prismjs.catppuccin.com/variables.important.css");
|
|
@import url("https://unpkg.com/@catppuccin/[email protected]/css/catppuccin-variables.important.css");
|
|
|
|
code.hljs {
|
|
background: none !important;
|
|
}
|
|
|
|
body {
|
|
@media (prefers-color-scheme: light) {
|
|
#catppuccin(@lightFlavor);
|
|
}
|
|
@media (prefers-color-scheme: dark) {
|
|
#catppuccin(@darkFlavor);
|
|
}
|
|
|
|
&.theme-light {
|
|
#catppuccin(@lightFlavor);
|
|
}
|
|
&.theme-dark {
|
|
#catppuccin(@darkFlavor);
|
|
}
|
|
}
|
|
|
|
#catppuccin(@flavor) {
|
|
#lib.palette();
|
|
#lib.defaults();
|
|
#lib.css-variables();
|
|
|
|
--color-text-main: @text;
|
|
|
|
--color-underwater-blue: @base;
|
|
--color-black: @mantle;
|
|
--color-blacker: @crust;
|
|
--color-white: @text;
|
|
--color-faff-pink: @accent;
|
|
--color-aged-plastic-yellow: @text;
|
|
--color-code-grey: @subtext1;
|
|
--color-code-blue: @sky;
|
|
--color-code-green: @green;
|
|
--color-code-dark-grey: @overlay2;
|
|
--color-code-yellow: @yellow;
|
|
--color-code-red: @red;
|
|
--color-code-orange: @peach;
|
|
--color-code-light-pink: @pink;
|
|
|
|
--charcoal: var(--color-charcoal);
|
|
--underwater-blue: var(--color-underwater-blue);
|
|
--black: var(--color-black);
|
|
--blacker: var(--color-blacker);
|
|
--white: var(--color-white);
|
|
--faff-pink: var(--color-faff-pink);
|
|
--aged-plastic-yellow: var(--color-aged-plastic-yellow);
|
|
--unnamed-blue: var(--color-unnamed-blue);
|
|
--code-grey: var(--color-code-grey);
|
|
--code-blue: var(--color-code-blue);
|
|
--code-green: var(--color-code-green);
|
|
--code-dark-grey: var(--color-code-dark-grey);
|
|
--code-yellow: var(--color-code-yellow);
|
|
--code-red: var(--color-code-red);
|
|
--code-orange: var(--color-code-orange);
|
|
--code-light-pink: var(--color-code-light-pink);
|
|
|
|
img[src="https://gleam.run/images/lucy/lucy.svg"],
|
|
img[src="/images/lucy/lucy.svg"] {
|
|
@svg: escape(
|
|
'<svg width="2105" height="2016" viewBox="0 0 2105 2016" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M842.026 129.177c28.088-79.594 132.505-98.005 186.124-32.82l281.02 341.663c34.77 42.276 86.23 67.327 140.97 68.66l442.64 10.77c84.51 2.055 134.14 95.497 88.67 166.533l-238.58 372.667a188.1 188.1 0 0 0-27.87 75.23 188 188 0 0 0 6 79.99l126.34 423.83c24.08 80.75-49.46 157.01-131.31 135.74l-428.48-111.33c-26.19-6.81-53.54-7.9-80.19-3.2a188.4 188.4 0 0 0-74.25 30.43l-364.553 251.17c-69.644 47.97-164.828 1.47-169.831-82.65l-26.224-441.48c-3.245-54.64-30.129-105.14-73.636-138.37l-351.663-268.6c-67.026-51.194-52.344-155.98 26.363-186.816L585.833 659.08c50.98-19.973 90.766-61.113 108.98-112.732z" fill="@{accent}"/><path d="M918.91 20.388c-49.941 8.807-95.59 41.965-114.49 95.516L657.186 533.07c-14.355 40.671-45.666 73.053-85.859 88.801L159.044 783.395C53.25 824.843 32.792 970.356 122.981 1039.24l351.663 268.57a148 148 0 0 1 40.884 48.15 148 148 0 0 1 17.097 60.8l26.21 441.47c6.724 113.26 138.833 177.69 232.452 113.21l.002-.01 364.581-251.17v-.01a148.5 148.5 0 0 1 121.68-21.45l428.49 111.31c110.02 28.59 212.13-77.15 179.71-185.89v.01l-126.33-423.82c-6.09-20.41-7.7-41.89-4.73-62.99a147.9 147.9 0 0 1 21.96-59.22v-.01l238.6-372.677-.01-.002c61.2-95.578-7.78-225.314-121.37-228.077l-442.66-10.753c-43.15-1.048-83.65-20.767-111.04-54.073L1059.15 70.955c-36.07-43.854-90.309-59.396-140.254-50.588m13.444 76.246c22.695-4.002 47.479 3.838 65.025 25.166l281.015 341.643c42.14 51.241 104.57 81.62 170.88 83.233l442.66 10.753c55.43 1.346 85.71 58.488 55.94 104.974l-238.59 372.678c-35.79 55.87-45.47 124.63-26.53 188.2l126.34 423.81c15.73 52.78-29.25 99.55-82.93 85.61l-428.49-111.32c-64.21-16.69-132.57-4.63-187.2 33.02l-364.576 251.17c-45.679 31.47-103.939 2.9-107.208-52.07l-26.207-441.47c-3.932-66.23-36.555-127.51-89.283-167.79L171.524 975.65c-43.862-33.499-34.944-97.55 16.679-117.783l412.282-161.526c61.771-24.202 110.04-74.101 132.123-136.67v-.002l147.234-417.165c9.192-26.041 29.798-41.886 52.493-45.889" fill="@{crust}"/><path d="M790.631 1144.08c42.736-7.54 71.273-48.29 63.739-91.02-7.534-42.74-48.285-71.267-91.021-63.731-42.736 7.537-71.273 48.291-63.739 91.021s48.286 71.27 91.021 63.73m633.069-111.63c42.73-7.53 71.27-48.286 63.73-91.018-7.53-42.733-48.28-71.266-91.02-63.729-42.73 7.536-71.27 48.288-63.74 91.021 7.54 42.736 48.29 71.266 91.03 63.726m-381.61 94.12c-4.9 1.89-9.38 4.73-13.19 8.35a40.04 40.04 0 0 0-12.4 27.99c-.13 5.25.78 10.48 2.67 15.38a104.5 104.5 0 0 0 21.79 34.37 104.1 104.1 0 0 0 33.29 23.41l.01.01c12.51 5.54 25.99 8.56 39.68 8.89h.03c13.68.32 27.29-2.05 40.06-6.98h.01a104.1 104.1 0 0 0 34.36-21.78h.01v-.01c9.91-9.44 17.86-20.75 23.4-33.26 5.56-12.53 8.58-26.04 8.9-39.74.25-10.6-3.72-20.87-11.04-28.55a40.04 40.04 0 0 0-43.38-9.69 40 40 0 0 0-13.18 8.37c-3.8 3.62-6.85 7.96-8.97 12.77a40 40 0 0 0-3.4 15.23c-.08 3.17-.78 6.3-2.07 9.2v.01l-.01.02a24.4 24.4 0 0 1-5.44 7.74c-2.31 2.2-5.02 3.92-7.99 5.06l-.02.01c-2.98 1.15-6.15 1.7-9.34 1.63-3.18-.08-6.32-.79-9.23-2.08h-.02l-.01-.01a24.3 24.3 0 0 1-7.73-5.43v-.01a24.2 24.2 0 0 1-5.07-8 39.96 39.96 0 0 0-21.12-22.16c-4.8-2.13-9.98-3.29-15.23-3.42s-10.47.78-15.37 2.68" fill="@{crust}"/></svg>'
|
|
);
|
|
content: url("data:image/svg+xml,@{svg}");
|
|
}
|
|
.hero-lucy-container:hover .hero-lucy, .logo:hover .footer-lucy {
|
|
@svg: escape(
|
|
'<svg width="2105" height="2016" viewBox="0 0 2105 2016" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M842.17 129.185c28.088-79.594 132.5-98.004 186.12-32.819l281.02 341.662c34.77 42.277 86.23 67.327 140.97 68.66l442.64 10.77c84.51 2.056 134.14 95.502 88.67 166.533l-238.58 372.679a188.05 188.05 0 0 0-27.87 75.22 188 188 0 0 0 6 79.99l126.34 423.83c24.08 80.76-49.46 157.02-131.31 135.75l-428.48-111.34c-26.19-6.81-53.54-7.9-80.19-3.2a188.6 188.6 0 0 0-74.25 30.43l-364.56 251.17c-69.641 47.98-164.831 1.48-169.829-82.64l-26.224-441.49c-3.245-54.63-30.129-105.14-73.635-138.37l-351.664-268.6c-67.025-51.194-52.343-155.981 26.364-186.816L585.971 659.09c50.98-19.973 90.766-61.113 108.981-112.732z" fill="@{accent}"/><path d="M918.858 20.365c-49.94 8.806-95.585 41.963-114.483 95.515L657.157 533.053c-14.352 40.672-45.661 73.054-85.851 88.8L159.037 783.367C53.245 824.813 32.795 970.329 122.985 1039.21l351.662 268.6a148.2 148.2 0 0 1 40.886 48.15 148.1 148.1 0 0 1 17.099 60.81l26.225 441.49c6.729 113.26 138.844 177.7 232.453 113.21l364.56-251.17v-.01a148.5 148.5 0 0 1 121.68-21.45l428.49 111.34c110.01 28.59 212.12-77.15 179.7-185.89l-126.34-423.83a147.9 147.9 0 0 1-4.73-62.99 148 148 0 0 1 21.95-59.22v-.01l238.58-372.675v-.002c61.19-95.577-7.79-225.324-121.38-228.087l-442.64-10.77c-43.15-1.05-83.65-20.771-111.05-54.079L1059.11 70.96c-36.08-43.856-90.312-59.4-140.252-50.595m13.447 76.249c22.694-4.002 47.478 3.84 65.024 25.169l281.011 341.658c42.15 51.245 104.57 81.627 170.89 83.241l442.64 10.769c55.44 1.349 85.72 58.493 55.96 104.977l-238.59 372.682c-35.78 55.87-45.46 124.62-26.51 188.2l126.35 423.84c15.73 52.77-29.25 99.55-82.92 85.6l-428.49-111.34c-64.21-16.69-132.57-4.64-187.2 33.01l-364.548 251.17h-.002c-45.673 31.47-103.939 2.9-107.204-52.08l-26.224-441.48c-3.934-66.23-36.558-127.52-89.286-167.79L171.544 975.638c-43.862-33.502-34.948-97.559 16.675-117.782L600.49 696.339c61.767-24.199 110.032-74.098 132.11-136.663l-.001-.002 147.218-417.172c9.19-26.041 29.795-41.886 52.489-45.887" fill="@{crust}"/><path d="M1035.64 1124.95a40 40 0 0 0-22.16 21.12c-4.3 9.7-4.57 20.71-.75 30.6a104.4 104.4 0 0 0 21.79 34.38 104.1 104.1 0 0 0 33.29 23.41l.01.01c12.51 5.54 26 8.56 39.68 8.89l.01.01h.02c13.68.32 27.28-2.05 40.05-6.98h.01a104.3 104.3 0 0 0 34.37-21.78l.01-.01c9.91-9.45 17.86-20.75 23.4-33.27 5.55-12.53 8.58-26.03 8.9-39.73a40.03 40.03 0 0 0-11.05-28.56 40.02 40.02 0 0 0-28-12.37c-5.25-.12-10.48.79-15.38 2.68-4.9 1.9-9.37 4.74-13.17 8.37-3.8 3.62-6.85 7.96-8.98 12.77a40 40 0 0 0-3.4 15.23c-.07 3.17-.77 6.3-2.06 9.2l-.01.01-.01.02a24.3 24.3 0 0 1-5.44 7.74v.01a24.3 24.3 0 0 1-7.99 5.05l-.01.01c-2.98 1.15-6.15 1.7-9.34 1.63-3.18-.08-6.32-.79-9.23-2.08h-.02l-.01-.01a24.1 24.1 0 0 1-7.73-5.43v-.01a24.4 24.4 0 0 1-5.08-8 40 40 0 0 0-21.11-22.17 40.04 40.04 0 0 0-30.61-.74M687.713 969.904a40 40 0 0 0-34.761 56.716 39.9 39.9 0 0 0 9.172 12.62 40 40 0 0 0 13.307 8.16l28.763 10.61-23.396 19.81a40.02 40.02 0 0 0-14.016 27.22 40.02 40.02 0 0 0 9.335 29.16 40.03 40.03 0 0 0 27.218 14.01 40 40 0 0 0 29.156-9.33l75.731-64.12a40.03 40.03 0 0 0 11.768-16.93 40.03 40.03 0 0 0 1.774-20.55 40 40 0 0 0-8.692-18.69 40 40 0 0 0-16.849-11.89l-93.096-34.353a40 40 0 0 0-15.414-2.443m756.117-133.323a40 40 0 0 0-13.66 7.57l-75.72 64.123a40 40 0 0 0-11.77 16.931 40 40 0 0 0-1.77 20.541 39.99 39.99 0 0 0 25.54 30.581l93.09 34.353a40 40 0 0 0 51.37-23.678 40.1 40.1 0 0 0 2.45-15.416 40.1 40.1 0 0 0-3.65-15.176 39.8 39.8 0 0 0-9.17-12.628 40 40 0 0 0-13.3-8.156l-28.76-10.613 23.39-19.81a40.1 40.1 0 0 0 9.72-12.216c2.4-4.67 3.86-9.768 4.3-15.003a40.1 40.1 0 0 0-1.77-15.507 40 40 0 0 0-7.57-13.65 40 40 0 0 0-19.51-12.603 40 40 0 0 0-23.22.357" fill="@{crust}"/></svg>'
|
|
);
|
|
content: url("data:image/svg+xml,@{svg}");
|
|
}
|
|
|
|
.pride .page-header {
|
|
@svg: escape(
|
|
'<svg width="1920" height="780" viewBox="0 0 1920 780" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#a)"><path fill="@{red}" d="m-315.199 100.192 2016.665-734.006 88.169 242.242L-227.03 342.434z"/><path fill="@{peach}" d="M-227.03 342.435 1789.635-391.57l72.613 199.502-2016.665 734.006z"/><path fill="@{yellow}" d="M-154.417 541.937 1862.248-192.07 1934.86 7.432-81.805 741.438z"/><path fill="@{green}" d="M-81.805 741.44 1934.86 7.432l72.613 199.502L-9.192 940.94z"/><path fill="@{blue}" d="m-9.192 940.94 2016.665-734.006 72.613 199.501L63.42 1140.441z"/><path fill="@{mauve}" d="m63.42 1140.44 2016.666-734.006 103.734 285.008-2016.665 734.006z"/><path fill="#fff" fill-opacity=".56" d="m-315.199 100.192 2016.665-734.006 482.58 1325.878L167.381 1426.07z"/></g><defs><clipPath id="a"><path fill="#fff" d="M0 0h1920v780H0z"/></clipPath></defs></svg>'
|
|
);
|
|
background-image: url("data:image/svg+xml,@{svg}");
|
|
}
|
|
|
|
.home-waves {
|
|
@svg: escape(
|
|
'<svg preserveAspectRatio="none" width="1920" height="122" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M463.5 21.13C180-26.413 0 21.13 0 21.13v100h1920V71.087c-190-49.957-273.5-71-498-49.957-224.5 21.044-281.21 44.66-540 49.957-172.829 3.537-307.645-31.366-418.5-49.957" fill="@{base}"/><path d="M1458 33.087c283.5-47.543 462 0 462 0v88.044H0V71.087C190 21.13 310 53.674 498 21.13s342-12.543 540 49.957c172.37 3.528 308.43-19.289 419.12-37.853z" fill="@{base}" fill-opacity=".28"/></svg>'
|
|
);
|
|
content: url("data:image/svg+xml,@{svg}");
|
|
}
|
|
|
|
p > code, li > code {
|
|
background-color: @surface0;
|
|
opacity: 1;
|
|
}
|
|
|
|
/* gleam.run home */
|
|
.button {
|
|
color: @crust !important;
|
|
background-color: @accent;
|
|
}
|
|
.home-still-here {
|
|
.button {
|
|
background-color: @text;
|
|
color: @crust;
|
|
}
|
|
|
|
/* Wanna keep in touch? */
|
|
input[type="submit"] {
|
|
background-color: @text !important;
|
|
color: @crust;
|
|
}
|
|
input[type="email"] {
|
|
background-color: @mantle;
|
|
color: @text;
|
|
}
|
|
}
|
|
|
|
/* tour.gleam.run */
|
|
--color-text: @text;
|
|
--color-link: @text;
|
|
--color-background: @base;
|
|
--color-background-dim: @crust;
|
|
--color-text-accent: @accent;
|
|
--color-accent-muted: fade(@accent, 50%);
|
|
|
|
--code-background: @base;
|
|
--code-token-base: @text;
|
|
--color-code: @accent;
|
|
|
|
/* packages.gleam.run */
|
|
--page-background: @base;
|
|
--card-background: @surface0;
|
|
--card-border: @surface1;
|
|
--card-border-highlight: @surface2;
|
|
--text-regular: @text;
|
|
--text-highlight: @text;
|
|
img[src="/static/packages-icon.svg"] {
|
|
@svg: escape(
|
|
'<svg width="47" height="51" viewBox="0 0 47 51" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M7.833 22.578 29.728 34.87a3.2 3.2 0 0 0 3.192 0l8.205-4.617a3.78 3.78 0 0 0 1.92-3.287 3.76 3.76 0 0 0-1.92-3.28l-1.987-1.119m0 0L23.5 13.762 5.875 23.68a3.78 3.78 0 0 0-1.92 3.286 3.77 3.77 0 0 0 1.92 3.287l8.186 4.617a3.24 3.24 0 0 0 3.212 0z" stroke="@{crust}" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><mask id="a" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="3" y="-3" width="42" height="35"><path d="m23.5 31.5-20-11L6.888 4.048l11.75-6.881L44.569.405 43 20.5z" fill="black"/></mask><g mask="url(#a)"><path d="M19.26 4.092c.486-1.406 2.294-1.732 3.223-.58l4.869 6.037a3.24 3.24 0 0 0 2.442 1.213l7.668.19c1.464.036 2.323 1.687 1.536 2.942l-4.133 6.585a3.4 3.4 0 0 0-.379 2.742l2.188 7.488c.418 1.427-.856 2.774-2.274 2.399l-7.423-1.967a3.2 3.2 0 0 0-2.675.48l-6.316 4.438c-1.206.848-2.855.026-2.942-1.46l-.454-7.8a3.34 3.34 0 0 0-1.276-2.445L7.222 19.61c-1.16-.905-.906-2.756.457-3.301l7.142-2.854a3.3 3.3 0 0 0 1.888-1.992z" fill="@{accent}"/><path d="M20.59 2.17a2.56 2.56 0 0 0-1.982 1.687l-2.551 7.37a2.6 2.6 0 0 1-1.487 1.57L7.428 15.65c-1.833.732-2.188 3.303-.625 4.52l6.092 4.745a2.6 2.6 0 0 1 .708.85c.173.333.274.7.296 1.075l.454 7.8c.117 2.001 2.405 3.14 4.027 2l6.316-4.438a2.52 2.52 0 0 1 2.108-.38l7.423 1.968c1.906.505 3.674-1.363 3.113-3.284l-2.189-7.488a2.67 2.67 0 0 1 .299-2.16l4.133-6.584c1.06-1.69-.135-3.981-2.102-4.03l-7.669-.19a2.55 2.55 0 0 1-1.924-.955L23.02 3.063c-.625-.775-1.564-1.049-2.43-.893m.234 1.346c.393-.07.822.068 1.126.445l4.868 6.036a3.93 3.93 0 0 0 2.96 1.47l7.669.19c.96.025 1.484 1.034.969 1.856l-4.133 6.584a4.1 4.1 0 0 0-.46 3.325l2.189 7.488c.272.933-.507 1.76-1.437 1.513l-7.423-1.967a3.9 3.9 0 0 0-3.243.583l-6.315 4.438c-.792.556-1.801.051-1.858-.92l-.454-7.8a4.06 4.06 0 0 0-1.546-2.964l-6.092-4.745c-.76-.592-.606-1.724.289-2.081l7.142-2.854a4 4 0 0 0 2.289-2.415l2.55-7.37c.16-.46.516-.74.91-.812" fill="@{crust}"/><path d="M18.369 22.023c.74-.133 1.234-.853 1.104-1.608a1.364 1.364 0 0 0-1.577-1.126c-.74.133-1.235.853-1.104 1.608.13.755.836 1.26 1.577 1.126m10.967-1.972c.74-.133 1.234-.853 1.104-1.608a1.364 1.364 0 0 0-1.577-1.126c-.74.133-1.235.853-1.104 1.608.13.755.836 1.26 1.577 1.126m-6.611 1.663a.7.7 0 0 0-.384.373.72.72 0 0 0-.013.54c.085.226.213.433.377.608a1.8 1.8 0 0 0 1.265.57 1.78 1.78 0 0 0 1.29-.507 1.87 1.87 0 0 0 .56-1.29.72.72 0 0 0-.192-.505.688.688 0 0 0-1.135.203.7.7 0 0 0-.06.269.43.43 0 0 1-.268.389.417.417 0 0 1-.544-.245.7.7 0 0 0-.366-.392.68.68 0 0 0-.53-.013" fill="@{crust}"/></g><path d="M23.5 48.976V31.37M5.875 23.681a3.78 3.78 0 0 0-1.92 3.286 3.77 3.77 0 0 0 1.92 3.287l8.186 4.617a3.24 3.24 0 0 0 3.212 0l21.865-12.303 1.987 1.119a3.76 3.76 0 0 1 1.404 5.183 3.8 3.8 0 0 1-1.404 1.384l-8.205 4.617a3.21 3.21 0 0 1-3.193 0L7.834 22.578m31.334 8.791v7.571a4.03 4.03 0 0 1-2.174 3.58l-11.75 6.026a3.78 3.78 0 0 1-3.486 0l-11.75-6.026a4.03 4.03 0 0 1-2.174-3.58v-7.57" stroke="@{crust}" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>'
|
|
);
|
|
content: url("data:image/svg+xml,@{svg}");
|
|
}
|
|
.darkmode-toggle {
|
|
filter: @crust-filter;
|
|
}
|
|
.page-nav a {
|
|
color: @crust;
|
|
}
|
|
.package-button img {
|
|
filter: @accent-filter;
|
|
}
|
|
}
|
|
}
|