aboutsummaryrefslogtreecommitdiff
path: root/demo
diff options
context:
space:
mode:
authornetop://ウィビ <paul@webb.page>2026-04-25 12:29:59 -0700
committernetop://ウィビ <paul@webb.page>2026-04-25 12:29:59 -0700
commitdc5fff0c0afdf832b9b000e13ddc633f72749e01 (patch)
tree5730bd4ea089dadbc9c7f057a3988104fb662827 /demo
parenta2118aa39a00e02cdf3f6c306e17fd04676ea518 (diff)
downloaduchu-dc5fff0c0afdf832b9b000e13ddc633f72749e01.tar.gz
uchu-dc5fff0c0afdf832b9b000e13ddc633f72749e01.zip
fantastic update
Diffstat (limited to '')
-rw-r--r--demo/asset/style/uchu-reduced.css56
-rw-r--r--demo/asset/style/uchu.css168
-rw-r--r--demo/index.html10
-rw-r--r--demo/simple.html6
4 files changed, 232 insertions, 8 deletions
diff --git a/demo/asset/style/uchu-reduced.css b/demo/asset/style/uchu-reduced.css
new file mode 100644
index 0000000..11bf87d
--- /dev/null
+++ b/demo/asset/style/uchu-reduced.css
@@ -0,0 +1,56 @@
+/* Generated from src/index.ts — do not edit by hand */
+
+:root {
+ --uchu-light-blue-raw: 89.66% 0.046 260.67;
+ --uchu-light-blue: oklch(89.66% 0.046 260.67);
+ --uchu-blue-raw: 80.17% 0.091 258.88;
+ --uchu-blue: oklch(62.39% 0.181 258.33);
+ --uchu-dark-blue-raw: 70.94% 0.136 258.06;
+ --uchu-dark-blue: oklch(43.48% 0.17 260.2);
+ --uchu-light-gray-raw: 95.57% 0.003 286.35;
+ --uchu-light-gray: oklch(95.57% 0.003 286.35);
+ --uchu-gray-raw: 92.04% 0.002 197.12;
+ --uchu-gray: oklch(84.68% 0.002 197.12);
+ --uchu-dark-gray-raw: 88.28% 0.003 286.34;
+ --uchu-dark-gray: oklch(63.12% 0.004 219.55);
+ --uchu-light-green-raw: 93.96% 0.05 148.74;
+ --uchu-light-green: oklch(93.96% 0.05 148.74);
+ --uchu-green-raw: 88.77% 0.096 147.71;
+ --uchu-green: oklch(79.33% 0.179 145.62);
+ --uchu-dark-green-raw: 83.74% 0.139 146.57;
+ --uchu-dark-green: oklch(58.83% 0.158 145.05);
+ --uchu-light-orange-raw: 93.83% 0.037 56.93;
+ --uchu-light-orange: oklch(93.83% 0.037 56.93);
+ --uchu-orange-raw: 88.37% 0.072 55.8;
+ --uchu-orange: oklch(78.75% 0.141 54.32);
+ --uchu-dark-orange-raw: 83.56% 0.107 56.49;
+ --uchu-dark-orange: oklch(58.28% 0.128 52.2);
+ --uchu-light-pink-raw: 95.8% 0.023 354.27;
+ --uchu-light-pink: oklch(95.8% 0.023 354.27);
+ --uchu-pink-raw: 92.14% 0.046 352.31;
+ --uchu-pink: oklch(85.43% 0.09 354.1);
+ --uchu-dark-pink-raw: 88.9% 0.066 354.39;
+ --uchu-dark-pink: oklch(64.11% 0.084 353.91);
+ --uchu-light-purple-raw: 89.1% 0.046 305.24;
+ --uchu-light-purple: oklch(89.1% 0.046 305.24);
+ --uchu-purple-raw: 78.68% 0.091 305;
+ --uchu-purple: oklch(58.47% 0.181 302.06);
+ --uchu-dark-purple-raw: 68.5% 0.136 303.78;
+ --uchu-dark-purple: oklch(39.46% 0.164 298.29);
+ --uchu-light-red-raw: 88.98% 0.052 3.28;
+ --uchu-light-red: oklch(88.98% 0.052 3.28);
+ --uchu-red-raw: 78.78% 0.109 4.54;
+ --uchu-red: oklch(62.73% 0.209 12.37);
+ --uchu-dark-red-raw: 69.86% 0.162 7.82;
+ --uchu-dark-red: oklch(45.8% 0.177 17.7);
+ --uchu-light-yellow-raw: 97.05% 0.039 91.2;
+ --uchu-light-yellow: oklch(97.05% 0.039 91.2);
+ --uchu-yellow-raw: 95% 0.07 92.39;
+ --uchu-yellow: oklch(90.92% 0.125 92.56);
+ --uchu-dark-yellow-raw: 92.76% 0.098 92.58;
+ --uchu-dark-yellow: oklch(69.14% 0.109 91.04);
+ --uchu-light-yin-raw: 91.87% 0.003 264.54;
+ --uchu-light-yin: oklch(91.87% 0.003 264.54);
+ --uchu-yang: oklch(99.4% 0 0);
+ --uchu-yin: oklch(14.38% 0.007 256.88);
+}
diff --git a/demo/asset/style/uchu.css b/demo/asset/style/uchu.css
new file mode 100644
index 0000000..d74d64e
--- /dev/null
+++ b/demo/asset/style/uchu.css
@@ -0,0 +1,168 @@
+/* Generated from src/colors.ts — do not edit by hand */
+
+:root {
+ --uchu-blue-1-raw: 89.66% 0.046 260.67;
+ --uchu-blue-1: oklch(89.66% 0.046 260.67);
+ --uchu-blue-2-raw: 80.17% 0.091 258.88;
+ --uchu-blue-2: oklch(80.17% 0.091 258.88);
+ --uchu-blue-3-raw: 70.94% 0.136 258.06;
+ --uchu-blue-3: oklch(70.94% 0.136 258.06);
+ --uchu-blue-4-raw: 62.39% 0.181 258.33;
+ --uchu-blue-4: oklch(62.39% 0.181 258.33);
+ --uchu-blue-5-raw: 54.87% 0.222 260.33;
+ --uchu-blue-5: oklch(54.87% 0.222 260.33);
+ --uchu-blue-6-raw: 51.15% 0.204 260.17;
+ --uchu-blue-6: oklch(51.15% 0.204 260.17);
+ --uchu-blue-7-raw: 47.36% 0.185 259.89;
+ --uchu-blue-7: oklch(47.36% 0.185 259.89);
+ --uchu-blue-8-raw: 43.48% 0.17 260.2;
+ --uchu-blue-8: oklch(43.48% 0.17 260.2);
+ --uchu-blue-9-raw: 39.53% 0.15 259.87;
+ --uchu-blue-9: oklch(39.53% 0.15 259.87);
+ --uchu-gray-1-raw: 95.57% 0.003 286.35;
+ --uchu-gray-1: oklch(95.57% 0.003 286.35);
+ --uchu-gray-2-raw: 92.04% 0.002 197.12;
+ --uchu-gray-2: oklch(92.04% 0.002 197.12);
+ --uchu-gray-3-raw: 88.28% 0.003 286.34;
+ --uchu-gray-3: oklch(88.28% 0.003 286.34);
+ --uchu-gray-4-raw: 84.68% 0.002 197.12;
+ --uchu-gray-4: oklch(84.68% 0.002 197.12);
+ --uchu-gray-5-raw: 80.73% 0.002 247.84;
+ --uchu-gray-5: oklch(80.73% 0.002 247.84);
+ --uchu-gray-6-raw: 75.03% 0.002 247.85;
+ --uchu-gray-6: oklch(75.03% 0.002 247.85);
+ --uchu-gray-7-raw: 69.01% 0.003 286.32;
+ --uchu-gray-7: oklch(69.01% 0.003 286.32);
+ --uchu-gray-8-raw: 63.12% 0.004 219.55;
+ --uchu-gray-8: oklch(63.12% 0.004 219.55);
+ --uchu-gray-9-raw: 56.82% 0.004 247.89;
+ --uchu-gray-9: oklch(56.82% 0.004 247.89);
+ --uchu-green-1-raw: 93.96% 0.05 148.74;
+ --uchu-green-1: oklch(93.96% 0.05 148.74);
+ --uchu-green-2-raw: 88.77% 0.096 147.71;
+ --uchu-green-2: oklch(88.77% 0.096 147.71);
+ --uchu-green-3-raw: 83.74% 0.139 146.57;
+ --uchu-green-3: oklch(83.74% 0.139 146.57);
+ --uchu-green-4-raw: 79.33% 0.179 145.62;
+ --uchu-green-4: oklch(79.33% 0.179 145.62);
+ --uchu-green-5-raw: 75.23% 0.209 144.64;
+ --uchu-green-5: oklch(75.23% 0.209 144.64);
+ --uchu-green-6-raw: 70.03% 0.194 144.71;
+ --uchu-green-6: oklch(70.03% 0.194 144.71);
+ --uchu-green-7-raw: 64.24% 0.175 144.92;
+ --uchu-green-7: oklch(64.24% 0.175 144.92);
+ --uchu-green-8-raw: 58.83% 0.158 145.05;
+ --uchu-green-8: oklch(58.83% 0.158 145.05);
+ --uchu-green-9-raw: 52.77% 0.138 145.41;
+ --uchu-green-9: oklch(52.77% 0.138 145.41);
+ --uchu-orange-1-raw: 93.83% 0.037 56.93;
+ --uchu-orange-1: oklch(93.83% 0.037 56.93);
+ --uchu-orange-2-raw: 88.37% 0.072 55.8;
+ --uchu-orange-2: oklch(88.37% 0.072 55.8);
+ --uchu-orange-3-raw: 83.56% 0.107 56.49;
+ --uchu-orange-3: oklch(83.56% 0.107 56.49);
+ --uchu-orange-4-raw: 78.75% 0.141 54.32;
+ --uchu-orange-4: oklch(78.75% 0.141 54.32);
+ --uchu-orange-5-raw: 74.61% 0.171 51.56;
+ --uchu-orange-5: oklch(74.61% 0.171 51.56);
+ --uchu-orange-6-raw: 69.33% 0.157 52.18;
+ --uchu-orange-6: oklch(69.33% 0.157 52.18);
+ --uchu-orange-7-raw: 63.8% 0.142 52.1;
+ --uchu-orange-7: oklch(63.8% 0.142 52.1);
+ --uchu-orange-8-raw: 58.28% 0.128 52.2;
+ --uchu-orange-8: oklch(58.28% 0.128 52.2);
+ --uchu-orange-9-raw: 52.49% 0.113 51.98;
+ --uchu-orange-9: oklch(52.49% 0.113 51.98);
+ --uchu-pink-1-raw: 95.8% 0.023 354.27;
+ --uchu-pink-1: oklch(95.8% 0.023 354.27);
+ --uchu-pink-2-raw: 92.14% 0.046 352.31;
+ --uchu-pink-2: oklch(92.14% 0.046 352.31);
+ --uchu-pink-3-raw: 88.9% 0.066 354.39;
+ --uchu-pink-3: oklch(88.9% 0.066 354.39);
+ --uchu-pink-4-raw: 85.43% 0.09 354.1;
+ --uchu-pink-4: oklch(85.43% 0.09 354.1);
+ --uchu-pink-5-raw: 82.23% 0.112 355.33;
+ --uchu-pink-5: oklch(82.23% 0.112 355.33);
+ --uchu-pink-6-raw: 76.37% 0.101 355.37;
+ --uchu-pink-6: oklch(76.37% 0.101 355.37);
+ --uchu-pink-7-raw: 70.23% 0.092 354.96;
+ --uchu-pink-7: oklch(70.23% 0.092 354.96);
+ --uchu-pink-8-raw: 64.11% 0.084 353.91;
+ --uchu-pink-8: oklch(64.11% 0.084 353.91);
+ --uchu-pink-9-raw: 57.68% 0.074 353.14;
+ --uchu-pink-9: oklch(57.68% 0.074 353.14);
+ --uchu-purple-1-raw: 89.1% 0.046 305.24;
+ --uchu-purple-1: oklch(89.1% 0.046 305.24);
+ --uchu-purple-2-raw: 78.68% 0.091 305;
+ --uchu-purple-2: oklch(78.68% 0.091 305);
+ --uchu-purple-3-raw: 68.5% 0.136 303.78;
+ --uchu-purple-3: oklch(68.5% 0.136 303.78);
+ --uchu-purple-4-raw: 58.47% 0.181 302.06;
+ --uchu-purple-4: oklch(58.47% 0.181 302.06);
+ --uchu-purple-5-raw: 49.39% 0.215 298.31;
+ --uchu-purple-5: oklch(49.39% 0.215 298.31);
+ --uchu-purple-6-raw: 46.11% 0.198 298.4;
+ --uchu-purple-6: oklch(46.11% 0.198 298.4);
+ --uchu-purple-7-raw: 42.77% 0.181 298.49;
+ --uchu-purple-7: oklch(42.77% 0.181 298.49);
+ --uchu-purple-8-raw: 39.46% 0.164 298.29;
+ --uchu-purple-8: oklch(39.46% 0.164 298.29);
+ --uchu-purple-9-raw: 36.01% 0.145 298.35;
+ --uchu-purple-9: oklch(36.01% 0.145 298.35);
+ --uchu-red-1-raw: 88.98% 0.052 3.28;
+ --uchu-red-1: oklch(88.98% 0.052 3.28);
+ --uchu-red-2-raw: 78.78% 0.109 4.54;
+ --uchu-red-2: oklch(78.78% 0.109 4.54);
+ --uchu-red-3-raw: 69.86% 0.162 7.82;
+ --uchu-red-3: oklch(69.86% 0.162 7.82);
+ --uchu-red-4-raw: 62.73% 0.209 12.37;
+ --uchu-red-4: oklch(62.73% 0.209 12.37);
+ --uchu-red-5-raw: 58.63% 0.231 19.6;
+ --uchu-red-5: oklch(58.63% 0.231 19.6);
+ --uchu-red-6-raw: 54.41% 0.214 19.06;
+ --uchu-red-6: oklch(54.41% 0.214 19.06);
+ --uchu-red-7-raw: 49.95% 0.195 18.34;
+ --uchu-red-7: oklch(49.95% 0.195 18.34);
+ --uchu-red-8-raw: 45.8% 0.177 17.7;
+ --uchu-red-8: oklch(45.8% 0.177 17.7);
+ --uchu-red-9-raw: 41.17% 0.157 16.58;
+ --uchu-red-9: oklch(41.17% 0.157 16.58);
+ --uchu-yellow-1-raw: 97.05% 0.039 91.2;
+ --uchu-yellow-1: oklch(97.05% 0.039 91.2);
+ --uchu-yellow-2-raw: 95% 0.07 92.39;
+ --uchu-yellow-2: oklch(95% 0.07 92.39);
+ --uchu-yellow-3-raw: 92.76% 0.098 92.58;
+ --uchu-yellow-3: oklch(92.76% 0.098 92.58);
+ --uchu-yellow-4-raw: 90.92% 0.125 92.56;
+ --uchu-yellow-4: oklch(90.92% 0.125 92.56);
+ --uchu-yellow-5-raw: 89% 0.146 91.5;
+ --uchu-yellow-5: oklch(89% 0.146 91.5);
+ --uchu-yellow-6-raw: 82.39% 0.133 91.5;
+ --uchu-yellow-6: oklch(82.39% 0.133 91.5);
+ --uchu-yellow-7-raw: 75.84% 0.122 92.21;
+ --uchu-yellow-7: oklch(75.84% 0.122 92.21);
+ --uchu-yellow-8-raw: 69.14% 0.109 91.04;
+ --uchu-yellow-8: oklch(69.14% 0.109 91.04);
+ --uchu-yellow-9-raw: 62.29% 0.097 91.9;
+ --uchu-yellow-9: oklch(62.29% 0.097 91.9);
+ --uchu-yin-1-raw: 91.87% 0.003 264.54;
+ --uchu-yin-1: oklch(91.87% 0.003 264.54);
+ --uchu-yin-2-raw: 84.61% 0.004 286.31;
+ --uchu-yin-2: oklch(84.61% 0.004 286.31);
+ --uchu-yin-3-raw: 76.89% 0.004 247.87;
+ --uchu-yin-3: oklch(76.89% 0.004 247.87);
+ --uchu-yin-4-raw: 69.17% 0.004 247.88;
+ --uchu-yin-4: oklch(69.17% 0.004 247.88);
+ --uchu-yin-5-raw: 61.01% 0.005 271.34;
+ --uchu-yin-5: oklch(61.01% 0.005 271.34);
+ --uchu-yin-6-raw: 52.79% 0.005 271.32;
+ --uchu-yin-6: oklch(52.79% 0.005 271.32);
+ --uchu-yin-7-raw: 43.87% 0.005 271.3;
+ --uchu-yin-7: oklch(43.87% 0.005 271.3);
+ --uchu-yin-8-raw: 35.02% 0.005 236.66;
+ --uchu-yin-8: oklch(35.02% 0.005 236.66);
+ --uchu-yin-9-raw: 25.11% 0.006 258.36;
+ --uchu-yin-9: oklch(25.11% 0.006 258.36);
+ --uchu-yang: oklch(99.4% 0 0);
+ --uchu-yin: oklch(14.38% 0.007 256.88);
+}
diff --git a/demo/index.html b/demo/index.html
index b54ec2b..e71570f 100644
--- a/demo/index.html
+++ b/demo/index.html
@@ -24,7 +24,7 @@
<link rel="canonical" href="https://uchu.style"/>
<link rel="icon" href="./favicon.svg"/>
- <link href="../definitions/style/color_expanded.css" rel="stylesheet"/>
+ <link href="./asset/style/uchu.css" rel="stylesheet"/>
<link href="./asset/style/shared.css?v=2025.02.19" rel="stylesheet"/>
<style>
@@ -875,7 +875,7 @@
<p>the color palette for internet lovers<br/>by <a href="https://webb.page?ref=uchu.style">NetOperator Wibby</a></p>
<nav class="links">
- <a class="link" href="https://github.com/NeverCease/uchu" target="_blank">Repo</a>
+ <a class="link" href="https://code.webb.page/nevercease/uchu.git/about/" target="_blank">Repo</a>
<a class="link" href="./simple.html">Simple Palette</a>
</nav>
</section>
@@ -1240,17 +1240,17 @@
<ul class="swatches">
<li class="swatch">
<h3>2</h3>
- <p>oklch(88.37% 0.07258208750520016 55.80328658240742)</p>
+ <p>oklch(88.37% 0.072 55.8)</p>
</li>
<li class="swatch">
<h3>3</h3>
- <p>oklch(83.56% 0.10753627570574478 56.492594564236946)</p>
+ <p>oklch(83.56% 0.107 56.49)</p>
</li>
<li class="swatch">
<h3>4</h3>
- <p>oklch(78.75% 0.14163582809066333 54.32911089172009)</p>
+ <p>oklch(78.75% 0.141 54.32)</p>
</li>
<li class="swatch">
diff --git a/demo/simple.html b/demo/simple.html
index 0936244..e1d95f1 100644
--- a/demo/simple.html
+++ b/demo/simple.html
@@ -24,7 +24,7 @@
<link rel="canonical" href="https://uchu.style"/>
<link rel="icon" href="./favicon.svg"/>
- <link href="../definitions/style/color.css" rel="stylesheet"/>
+ <link href="./asset/style/uchu-reduced.css" rel="stylesheet"/>
<link href="./asset/style/shared.css?v=2025.02.19" rel="stylesheet"/>
<style>
@@ -401,7 +401,7 @@
<p>the color palette for internet lovers<br/>by <a href="https://webb.page?ref=uchu.style">NetOperator Wibby</a></p>
<nav class="links">
- <a class="link" href="https://github.com/NeverCease/uchu" target="_blank">Repo</a>
+ <a class="link" href="https://code.webb.page/nevercease/uchu.git/about/" target="_blank">Repo</a>
<a class="link" href="./index.html">Expanded Palette</a>
</nav>
</section>
@@ -548,7 +548,7 @@
<ul class="swatches">
<li class="swatch">
<h3><span>var(</span>--uchu-orange<span>)</span></h3>
- <p>oklch(78.75% 0.14163582809066333 54.32911089172009)</p>
+ <p>oklch(78.75% 0.141 54.32)</p>
</li>
<li class="swatch">