@akanjs/cli 3.1.2-rc.4 → 3.2.0-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.build-stamp +1 -1
- package/{CodeAgent-z34p8m91.js → CodeAgent-h6g8dg3a.js} +2 -2
- package/{CodeTui-nvd9fk3g.js → CodeTui-n9gacepn.js} +1 -1
- package/README.ko.md +9 -0
- package/README.md +9 -0
- package/TunnelShare-k3ja4w9x.js +14 -0
- package/{agent.command-962mp3kg.js → agent.command-2f657613.js} +19 -17
- package/akanCode.js +2 -2
- package/{application.command-1nr0bqq1.js → application.command-yb8v177e.js} +35 -21
- package/{applicationBuildRunner-xy7hnfzq.js → applicationBuildRunner-sctcmkyx.js} +55 -16
- package/buildBatch.proc.js +7 -7
- package/{cloud.command-cj7b3m6y.js → cloud.command-et06ja22.js} +35 -18
- package/cloud.script-s6rbrwer.js +30 -0
- package/{code.command-asq7xrr6.js → code.command-7m67c7zc.js} +6 -6
- package/commandManifest.json +1 -1
- package/{context.command-fw4g2pw1.js → context.command-569z0rqf.js} +20 -19
- package/context.runner-ms8v1rxy.js +29 -0
- package/{guideline.command-43gfjsjv.js → guideline.command-gnv3e8p8.js} +2 -2
- package/guidelines/akanApi/akanApi.instruction.md +317 -0
- package/guidelines/conventions/rules/app.md +5 -5
- package/guidelines/conventions/rules/config.md +1 -1
- package/guidelines/conventions/rules/gates.md +10 -5
- package/incrementalBuilder.proc.js +69 -39
- package/{index-0tkj05cz.js → index-0fb3cpbt.js} +3 -3
- package/{index-6t7fkx73.js → index-1q1cjn8s.js} +21 -11
- package/{index-90q0w90q.js → index-3wjbhj2n.js} +1 -1
- package/{index-6zgt7zmx.js → index-48d5qsj3.js} +4 -4
- package/{index-z47rw9ez.js → index-5w9my9qe.js} +8 -8
- package/{index-qwe079ww.js → index-6wpaq392.js} +61 -15
- package/{index-kc871vpc.js → index-7xdpww43.js} +69 -12
- package/index-7y5yghjg.js +2969 -0
- package/{index-38patcx6.js → index-8g7tdsk4.js} +249 -696
- package/{index-kdswbvys.js → index-8pb9yvp8.js} +63 -21
- package/{index-hmj94es2.js → index-8ts9774g.js} +4 -4
- package/{index-r0q2ka2b.js → index-93ewzmp6.js} +43 -14
- package/{index-y0y0pnx8.js → index-9tbgb4d8.js} +1 -1
- package/index-abgh0jve.js +126 -0
- package/{index-t0hk1kxq.js → index-aj3ehkcx.js} +1 -1
- package/{index-demt944k.js → index-d4n1wmrz.js} +37 -4
- package/{index-sra1a5f8.js → index-drz9e84d.js} +22 -8
- package/{index-gfh90r3t.js → index-e3vmjtph.js} +2 -2
- package/{index-k64mhwbw.js → index-eajbmk10.js} +2 -1
- package/{index-g0yds382.js → index-ed6ea0qp.js} +1 -1
- package/{index-ap6ac70m.js → index-fjr4d6yd.js} +444 -368
- package/index-hqrkqxx2.js +176 -0
- package/{index-jzpeny42.js → index-jdamtr7e.js} +3 -3
- package/{index-ampz4vgv.js → index-kpdv34rq.js} +4 -4
- package/{index-kc6ffq0s.js → index-ktb3wcqz.js} +73 -34
- package/{index-dcm66hss.js → index-mmym5xmb.js} +4 -2
- package/{index-8d9r465x.js → index-mqntfzv5.js} +2 -2
- package/{index-4am4dvmf.js → index-ny2k80mv.js} +15 -3
- package/index-p6hjwt2d.js +1668 -0
- package/{index-53h0053j.js → index-rc5fvqj2.js} +12 -14
- package/{index-r8t5sq7z.js → index-ryrm5z2c.js} +66 -19
- package/{index-jzz6ye8x.js → index-s2grpzef.js} +40 -8
- package/{index-38by07nw.js → index-sr5da35e.js} +32 -9
- package/{index-qev8p5wp.js → index-sy481q2x.js} +1 -1
- package/{index-ck64kxrn.js → index-thckcabc.js} +2 -2
- package/{index-wymcdsas.js → index-vkzfk7qt.js} +25 -23
- package/{index-vkpqe29t.js → index-w639tvkd.js} +24 -125
- package/index-ygdbn9jn.js +122 -0
- package/{index-w60zxxye.js → index-zpv14wpy.js} +3 -3
- package/{index-2yan1ajk.js → index-zxsygkda.js} +18 -9
- package/index.js +24 -23
- package/{library.command-zh29tjdd.js → library.command-1gp5qe3r.js} +3 -3
- package/{localRegistry.command-k9pn9ahj.js → localRegistry.command-v3g21rex.js} +25 -16
- package/{module.command-dgpqs9fz.js → module.command-4xz9he6h.js} +6 -6
- package/{package.command-1je4hsca.js → package.command-s7qpnn1g.js} +12 -3
- package/package.json +2 -2
- package/{page.command-cgsasanh.js → page.command-fan34c49.js} +3 -3
- package/{pipeline.command-tb46sa8v.js → pipeline.command-ph4fnn9w.js} +2 -2
- package/{primitive.command-bzsy23x5.js → primitive.command-3fqh8emf.js} +7 -7
- package/{projectTypecheck-h8rgaczy.js → projectTypecheck-vkb40hjc.js} +1 -1
- package/{quality.command-120m9h6v.js → quality.command-ecj6exsh.js} +15 -10
- package/{repair.command-6m4wd0qv.js → repair.command-fe9jw719.js} +6 -6
- package/{scalar.command-3dn5hsc6.js → scalar.command-cnvfhk0n.js} +5 -5
- package/skills/akan-debug/SKILL.md +2 -1
- package/skills/akan-page/SKILL.md +16 -7
- package/skills/akan-service/SKILL.md +48 -19
- package/{subspace.command-s8nyfqbn.js → subspace.command-yxtt3v3e.js} +8 -8
- package/templates/app/lib/___appName__/__appName__.abstract.md.template +6 -0
- package/templates/app/page/_index.tsx +4 -284
- package/templates/app/page/_layout.tsx +1 -26
- package/templates/app/page/styles.css.template +58 -318
- package/templates/appSample/page/_index.tsx +281 -0
- package/templates/appSample/page/_layout.tsx +55 -0
- package/templates/appSample/page/styles.css.template +327 -0
- package/templates/libRoot/lib/___libName__/__libName__.abstract.md.template +6 -0
- package/templates/workspaceRoot/package.json.template +1 -12
- package/{tunnel.command-8mwrqkr3.js → tunnel.command-ggj38mqf.js} +7 -7
- package/{verify.command-2pspfy7k.js → verify.command-w9ttxkdz.js} +16 -14
- package/{workflow.command-7sy5vnsj.js → workflow.command-ss8devj0.js} +12 -12
- package/{workspace.command-x518tdv4.js → workspace.command-rw1p0xeq.js} +50 -38
- package/TunnelShare-jwbb50kz.js +0 -14
- package/cloud.script-8kr7qgfa.js +0 -27
- package/context.runner-p6m5cxk3.js +0 -28
- package/index-d894868w.js +0 -842
- package/index-re2kfscb.js +0 -1363
- /package/templates/{app → appSample}/page/_overrides.tsx +0 -0
- /package/templates/{app → appSample}/public/fonts/Pretendard-Black.woff2 +0 -0
- /package/templates/{app → appSample}/public/fonts/Pretendard-Bold.woff2 +0 -0
- /package/templates/{app → appSample}/public/fonts/Pretendard-ExtraBold.woff2 +0 -0
- /package/templates/{app → appSample}/public/fonts/Pretendard-ExtraLight.woff2 +0 -0
- /package/templates/{app → appSample}/public/fonts/Pretendard-Light.woff2 +0 -0
- /package/templates/{app → appSample}/public/fonts/Pretendard-Medium.woff2 +0 -0
- /package/templates/{app → appSample}/public/fonts/Pretendard-Regular.woff2 +0 -0
- /package/templates/{app → appSample}/public/fonts/Pretendard-SemiBold.woff2 +0 -0
- /package/templates/{app → appSample}/public/fonts/Pretendard-Thin.woff2 +0 -0
- /package/templates/{app → appSample}/public/jelly/cloud.webp +0 -0
- /package/templates/{app → appSample}/public/jelly/comet.webp +0 -0
- /package/templates/{app → appSample}/public/jelly/moon.webp +0 -0
- /package/templates/{app → appSample}/public/jelly/planet.webp +0 -0
- /package/templates/{app → appSample}/public/jelly/rocket.webp +0 -0
- /package/templates/{app → appSample}/public/jelly/star.webp +0 -0
- /package/templates/{app → appSample}/public/jelly/sugar.webp +0 -0
- /package/templates/{app → appSample}/public/logo.png +0 -0
- /package/templates/{app → appSample}/ui/Recipe/index.ts +0 -0
- /package/templates/{app → appSample}/ui/Recipe/jellyButton.ts +0 -0
|
@@ -20,33 +20,8 @@ export default function getContent(scanInfo: AppInfo | LibInfo | null, dict: Dic
|
|
|
20
20
|
${isUsingShared ? 'import { Auth } from "@libs/shared/ui";\n' : ""}import { rootLayout } from "akanjs/client";
|
|
21
21
|
|
|
22
22
|
export default rootLayout()
|
|
23
|
-
.fonts([
|
|
24
|
-
{
|
|
25
|
-
name: "pretendard",
|
|
26
|
-
default: true,
|
|
27
|
-
paths: [
|
|
28
|
-
{ src: "/fonts/Pretendard-Thin.woff2", weight: 100 },
|
|
29
|
-
{ src: "/fonts/Pretendard-ExtraLight.woff2", weight: 200 },
|
|
30
|
-
{ src: "/fonts/Pretendard-Light.woff2", weight: 300 },
|
|
31
|
-
{ src: "/fonts/Pretendard-Regular.woff2", weight: 400 },
|
|
32
|
-
{ src: "/fonts/Pretendard-Medium.woff2", weight: 500 },
|
|
33
|
-
{ src: "/fonts/Pretendard-SemiBold.woff2", weight: 600 },
|
|
34
|
-
{ src: "/fonts/Pretendard-Bold.woff2", weight: 700 },
|
|
35
|
-
{ src: "/fonts/Pretendard-ExtraBold.woff2", weight: 800 },
|
|
36
|
-
{ src: "/fonts/Pretendard-Black.woff2", weight: 900 },
|
|
37
|
-
],
|
|
38
|
-
},
|
|
39
|
-
])
|
|
40
23
|
.theme("light")
|
|
41
|
-
.head(
|
|
42
|
-
<>
|
|
43
|
-
<title>${dict.appName}</title>
|
|
44
|
-
<link rel="icon" href="/favicon.ico" sizes="32x32" />
|
|
45
|
-
<link rel="icon" type="image/png" sizes="512x512" href="/logo.png" />
|
|
46
|
-
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
|
|
47
|
-
<meta name="theme-color" content="#f1f1ee" />
|
|
48
|
-
</>,
|
|
49
|
-
)
|
|
24
|
+
.head(<title>${dict.appName}</title>)
|
|
50
25
|
.render(({ children }) => {
|
|
51
26
|
return ${rendered};
|
|
52
27
|
});
|
|
@@ -1,327 +1,67 @@
|
|
|
1
1
|
@import "tailwindcss";
|
|
2
2
|
@import "akanjs/ui/styles.css";
|
|
3
3
|
|
|
4
|
-
/* The jelly star palette. akanjs/ui/styles.css owns the theme system (token mapping, dark variant, runtime
|
|
5
|
-
data-theme switching), so a rebrand only overrides the token values below. The star red (--jelly) is a fill
|
|
6
|
-
color; --primary carries white text, so it is one step darker to keep 4.5:1 contrast. */
|
|
7
4
|
:root,
|
|
5
|
+
[data-theme="dark"] {
|
|
6
|
+
--background: #0a0a0a;
|
|
7
|
+
--foreground: #fafafa;
|
|
8
|
+
--primary: #fafafa;
|
|
9
|
+
--primary-foreground: #171717;
|
|
10
|
+
--secondary: #262626;
|
|
11
|
+
--secondary-foreground: #fafafa;
|
|
12
|
+
--accent: #262626;
|
|
13
|
+
--accent-foreground: #fafafa;
|
|
14
|
+
--neutral: #262626;
|
|
15
|
+
--neutral-foreground: #fafafa;
|
|
16
|
+
--info: #3b82f6;
|
|
17
|
+
--info-foreground: #ffffff;
|
|
18
|
+
--success: #22c55e;
|
|
19
|
+
--success-foreground: #052e16;
|
|
20
|
+
--warning: #f59e0b;
|
|
21
|
+
--warning-foreground: #1a1a1a;
|
|
22
|
+
--destructive: #ef4444;
|
|
23
|
+
--destructive-foreground: #fafafa;
|
|
24
|
+
--open: #22c55e;
|
|
25
|
+
--open-foreground: #052e16;
|
|
26
|
+
--muted: #262626;
|
|
27
|
+
--muted-foreground: #a3a3a3;
|
|
28
|
+
--card: #171717;
|
|
29
|
+
--card-foreground: #fafafa;
|
|
30
|
+
--popover: #171717;
|
|
31
|
+
--popover-foreground: #fafafa;
|
|
32
|
+
--border: #262626;
|
|
33
|
+
--input: #262626;
|
|
34
|
+
--ring: #d4d4d4;
|
|
35
|
+
}
|
|
36
|
+
|
|
8
37
|
[data-theme="light"] {
|
|
9
|
-
--background: #
|
|
10
|
-
--foreground: #
|
|
11
|
-
--primary: #
|
|
12
|
-
--primary-foreground: #
|
|
13
|
-
--secondary: #
|
|
14
|
-
--secondary-foreground: #
|
|
15
|
-
--accent: #
|
|
16
|
-
--accent-foreground: #
|
|
17
|
-
--neutral: #
|
|
18
|
-
--neutral-foreground: #
|
|
19
|
-
--info: #
|
|
38
|
+
--background: #ffffff;
|
|
39
|
+
--foreground: #0a0a0a;
|
|
40
|
+
--primary: #171717;
|
|
41
|
+
--primary-foreground: #fafafa;
|
|
42
|
+
--secondary: #f5f5f5;
|
|
43
|
+
--secondary-foreground: #171717;
|
|
44
|
+
--accent: #f5f5f5;
|
|
45
|
+
--accent-foreground: #171717;
|
|
46
|
+
--neutral: #f5f5f5;
|
|
47
|
+
--neutral-foreground: #171717;
|
|
48
|
+
--info: #2563eb;
|
|
20
49
|
--info-foreground: #ffffff;
|
|
21
|
-
--success: #
|
|
50
|
+
--success: #16a34a;
|
|
22
51
|
--success-foreground: #ffffff;
|
|
23
|
-
--warning: #
|
|
24
|
-
--warning-foreground: #
|
|
25
|
-
--destructive: #
|
|
26
|
-
--destructive-foreground: #
|
|
27
|
-
--open: #
|
|
28
|
-
--open-foreground: #
|
|
29
|
-
--muted: #
|
|
30
|
-
--muted-foreground: #
|
|
31
|
-
--card: #
|
|
32
|
-
--card-foreground: #
|
|
52
|
+
--warning: #d97706;
|
|
53
|
+
--warning-foreground: #ffffff;
|
|
54
|
+
--destructive: #dc2626;
|
|
55
|
+
--destructive-foreground: #fafafa;
|
|
56
|
+
--open: #16a34a;
|
|
57
|
+
--open-foreground: #ffffff;
|
|
58
|
+
--muted: #f5f5f5;
|
|
59
|
+
--muted-foreground: #737373;
|
|
60
|
+
--card: #ffffff;
|
|
61
|
+
--card-foreground: #0a0a0a;
|
|
33
62
|
--popover: #ffffff;
|
|
34
|
-
--popover-foreground: #
|
|
35
|
-
--border: #
|
|
36
|
-
--input: #
|
|
37
|
-
--ring: #
|
|
38
|
-
--jelly: #ef3a2d;
|
|
39
|
-
--studio-shadow: color-mix(in oklab, #3a2a20 16%, transparent);
|
|
40
|
-
--sky-top: #dfe5f7;
|
|
41
|
-
--sky-bottom: #f6eadf;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
[data-theme="dark"] {
|
|
45
|
-
--background: #0f1129;
|
|
46
|
-
--foreground: #f3f1fb;
|
|
47
|
-
--primary: #e02d27;
|
|
48
|
-
--primary-foreground: #ffffff;
|
|
49
|
-
--secondary: #f3f1fb;
|
|
50
|
-
--secondary-foreground: #0f1129;
|
|
51
|
-
--accent: #a585e0;
|
|
52
|
-
--accent-foreground: #0f1129;
|
|
53
|
-
--neutral: #262a4d;
|
|
54
|
-
--neutral-foreground: #f3f1fb;
|
|
55
|
-
--info: #4b8ef0;
|
|
56
|
-
--info-foreground: #0f1129;
|
|
57
|
-
--success: #7cc23a;
|
|
58
|
-
--success-foreground: #0f1129;
|
|
59
|
-
--warning: #f6c437;
|
|
60
|
-
--warning-foreground: #0f1129;
|
|
61
|
-
--destructive: #e5383b;
|
|
62
|
-
--destructive-foreground: #ffffff;
|
|
63
|
-
--open: #7cc23a;
|
|
64
|
-
--open-foreground: #0f1129;
|
|
65
|
-
--muted: #1a1d3b;
|
|
66
|
-
--muted-foreground: #a6a8c9;
|
|
67
|
-
--card: #161935;
|
|
68
|
-
--card-foreground: #f3f1fb;
|
|
69
|
-
--popover: #1b1e40;
|
|
70
|
-
--popover-foreground: #f3f1fb;
|
|
71
|
-
--border: #2b2f57;
|
|
72
|
-
--input: #33376a;
|
|
73
|
-
--ring: #f0392e;
|
|
74
|
-
--jelly: #f2402f;
|
|
75
|
-
--studio-shadow: color-mix(in oklab, #02030f 65%, transparent);
|
|
76
|
-
--sky-top: #25215f;
|
|
77
|
-
--sky-bottom: #2d1749;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
:root {
|
|
81
|
-
--planet: #1f6fe0;
|
|
82
|
-
--rocket: #82c43c;
|
|
83
|
-
--moon: #f6e27a;
|
|
84
|
-
--cloud: #a585e0;
|
|
85
|
-
--comet: #e3228e;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
@theme inline {
|
|
89
|
-
--color-jelly: var(--jelly);
|
|
90
|
-
--color-planet: var(--planet);
|
|
91
|
-
--color-rocket: var(--rocket);
|
|
92
|
-
--color-moon: var(--moon);
|
|
93
|
-
--color-cloud: var(--cloud);
|
|
94
|
-
--color-comet: var(--comet);
|
|
95
|
-
--radius-box: 1.5rem;
|
|
96
|
-
--radius-field: 0.875rem;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
/* A sampled damped spring: overshoots the target by 18%, wobbles twice and settles. */
|
|
100
|
-
@theme {
|
|
101
|
-
--ease-jelly: linear(0, 0.42 6%, 0.86 13%, 1.12 21%, 1.18 26%, 1.13 32%, 1 41%, 0.95 48%, 0.97 56%, 1.01 66%, 1.005 78%, 1);
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
/* html and body both paint a background color, so body's background is not propagated to the canvas: the sky
|
|
105
|
-
sits on body, and isolation keeps the grain layer above body's own background. */
|
|
106
|
-
@layer base {
|
|
107
|
-
body {
|
|
108
|
-
isolation: isolate;
|
|
109
|
-
background-image:
|
|
110
|
-
radial-gradient(120% 60% at 50% -14%, var(--sky-top), transparent 64%),
|
|
111
|
-
radial-gradient(110% 55% at 50% 114%, var(--sky-bottom), transparent 68%);
|
|
112
|
-
background-attachment: fixed;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
body::before {
|
|
116
|
-
content: "";
|
|
117
|
-
position: fixed;
|
|
118
|
-
inset: 0;
|
|
119
|
-
z-index: -1;
|
|
120
|
-
pointer-events: none;
|
|
121
|
-
opacity: 0.06;
|
|
122
|
-
mix-blend-mode: multiply;
|
|
123
|
-
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
[data-theme="dark"] body::before {
|
|
127
|
-
opacity: 0.1;
|
|
128
|
-
mix-blend-mode: overlay;
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
h1,
|
|
132
|
-
h2 {
|
|
133
|
-
letter-spacing: -0.035em;
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
::selection {
|
|
137
|
-
background-color: color-mix(in oklab, var(--jelly) 24%, transparent);
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
@keyframes jelly-intro {
|
|
142
|
-
from {
|
|
143
|
-
opacity: 0;
|
|
144
|
-
translate: 0 1.25rem;
|
|
145
|
-
filter: blur(6px);
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
@keyframes jelly-breathe {
|
|
150
|
-
0%,
|
|
151
|
-
100% {
|
|
152
|
-
scale: 1 1;
|
|
153
|
-
}
|
|
154
|
-
50% {
|
|
155
|
-
scale: 1.035 0.965;
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
@keyframes jelly-wobble {
|
|
160
|
-
0% {
|
|
161
|
-
scale: 1 1;
|
|
162
|
-
}
|
|
163
|
-
16% {
|
|
164
|
-
scale: 1.16 0.86;
|
|
165
|
-
}
|
|
166
|
-
32% {
|
|
167
|
-
scale: 0.9 1.1;
|
|
168
|
-
}
|
|
169
|
-
48% {
|
|
170
|
-
scale: 1.06 0.95;
|
|
171
|
-
}
|
|
172
|
-
64% {
|
|
173
|
-
scale: 0.97 1.03;
|
|
174
|
-
}
|
|
175
|
-
82% {
|
|
176
|
-
scale: 1.01 0.99;
|
|
177
|
-
}
|
|
178
|
-
100% {
|
|
179
|
-
scale: 1 1;
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
@keyframes jelly-float {
|
|
184
|
-
0%,
|
|
185
|
-
100% {
|
|
186
|
-
translate: 0 0;
|
|
187
|
-
rotate: calc(var(--float-tilt, 4deg) * -1);
|
|
188
|
-
}
|
|
189
|
-
50% {
|
|
190
|
-
translate: 0 calc(var(--float-rise, 0.9rem) * -1);
|
|
191
|
-
rotate: var(--float-tilt, 4deg);
|
|
192
|
-
}
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
@utility intro-rise {
|
|
196
|
-
@media (prefers-reduced-motion: no-preference) {
|
|
197
|
-
animation: jelly-intro 1.1s cubic-bezier(0.16, 1, 0.3, 1) both;
|
|
198
|
-
animation-delay: var(--intro-delay, 0ms);
|
|
199
|
-
}
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
@utility jelly-breathe {
|
|
203
|
-
transform-origin: 50% 100%;
|
|
204
|
-
@media (prefers-reduced-motion: no-preference) {
|
|
205
|
-
animation: jelly-breathe 3.2s ease-in-out infinite;
|
|
206
|
-
}
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
@utility jelly-wobble {
|
|
210
|
-
transform-origin: 50% 100%;
|
|
211
|
-
@media (prefers-reduced-motion: no-preference) {
|
|
212
|
-
animation: jelly-wobble 0.9s ease-out both;
|
|
213
|
-
}
|
|
214
|
-
}
|
|
215
|
-
|
|
216
|
-
@utility jelly-float {
|
|
217
|
-
@media (prefers-reduced-motion: no-preference) {
|
|
218
|
-
animation: jelly-float var(--float-duration, 6s) ease-in-out var(--float-delay, 0s) infinite;
|
|
219
|
-
}
|
|
220
|
-
}
|
|
221
|
-
|
|
222
|
-
@utility squish {
|
|
223
|
-
transition:
|
|
224
|
-
scale 700ms var(--ease-jelly),
|
|
225
|
-
translate 700ms var(--ease-jelly);
|
|
226
|
-
&:hover {
|
|
227
|
-
scale: 1.04 0.97;
|
|
228
|
-
}
|
|
229
|
-
&:active {
|
|
230
|
-
scale: 1.08 0.9;
|
|
231
|
-
transition-duration: 90ms;
|
|
232
|
-
}
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
@utility tint-* {
|
|
236
|
-
--tint: --value(--color-*);
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
/* A gummy surface. public/jelly/sugar.webp is a high-pass of the logo star's sugar coating (128 gray = no change),
|
|
240
|
-
laid on in hard-light so every tint gets the same sugar grain. */
|
|
241
|
-
@utility jelly {
|
|
242
|
-
--jelly-tint: var(--tint, var(--primary));
|
|
243
|
-
--jelly-deep: color-mix(in oklab, var(--jelly-tint) 70%, black);
|
|
244
|
-
--jelly-haze: color-mix(in oklab, var(--jelly-tint) 55%, white);
|
|
245
|
-
background-color: var(--jelly-tint);
|
|
246
|
-
background-image:
|
|
247
|
-
url("/jelly/sugar.webp"),
|
|
248
|
-
radial-gradient(120% 95% at 26% -8%, color-mix(in oklab, white 26%, transparent), transparent 58%),
|
|
249
|
-
radial-gradient(110% 90% at 60% 125%, color-mix(in oklab, var(--jelly-deep) 30%, transparent), transparent 60%);
|
|
250
|
-
background-size:
|
|
251
|
-
100px 100px,
|
|
252
|
-
100% 100%,
|
|
253
|
-
100% 100%;
|
|
254
|
-
background-repeat: repeat, no-repeat, no-repeat;
|
|
255
|
-
background-blend-mode: hard-light, normal, normal;
|
|
256
|
-
box-shadow:
|
|
257
|
-
inset 0 0 0 1px color-mix(in oklab, var(--jelly-haze) 40%, transparent),
|
|
258
|
-
inset 0 0 8px 1px color-mix(in oklab, white 20%, transparent),
|
|
259
|
-
inset 0 -3px 6px color-mix(in oklab, var(--jelly-deep) 28%, transparent),
|
|
260
|
-
0 6px 10px -6px color-mix(in oklab, var(--jelly-deep) 65%, transparent),
|
|
261
|
-
0 1px 2px color-mix(in oklab, black 12%, transparent);
|
|
262
|
-
}
|
|
263
|
-
|
|
264
|
-
@utility jelly-glass {
|
|
265
|
-
--jelly-tint: var(--tint, var(--card));
|
|
266
|
-
background-color: color-mix(in oklab, var(--card) 95%, var(--jelly-tint));
|
|
267
|
-
background-image:
|
|
268
|
-
radial-gradient(120% 70% at 20% -20%, color-mix(in oklab, white 55%, transparent), transparent 60%),
|
|
269
|
-
radial-gradient(90% 60% at 100% 120%, color-mix(in oklab, var(--jelly-tint) 9%, transparent), transparent 70%);
|
|
270
|
-
box-shadow:
|
|
271
|
-
inset 0 1px 0 color-mix(in oklab, white 70%, transparent),
|
|
272
|
-
inset 0 -1px 0 color-mix(in oklab, var(--jelly-tint) 14%, transparent),
|
|
273
|
-
0 22px 44px -28px var(--studio-shadow),
|
|
274
|
-
0 2px 6px -3px var(--studio-shadow);
|
|
275
|
-
@variant dark {
|
|
276
|
-
background-color: color-mix(in oklab, var(--card) 92%, var(--jelly-tint));
|
|
277
|
-
background-image:
|
|
278
|
-
radial-gradient(120% 70% at 20% -20%, color-mix(in oklab, white 7%, transparent), transparent 60%),
|
|
279
|
-
radial-gradient(90% 60% at 100% 120%, color-mix(in oklab, var(--jelly-tint) 14%, transparent), transparent 70%);
|
|
280
|
-
box-shadow:
|
|
281
|
-
inset 0 1px 0 color-mix(in oklab, white 11%, transparent),
|
|
282
|
-
inset 0 -1px 0 color-mix(in oklab, var(--jelly-tint) 18%, transparent),
|
|
283
|
-
0 22px 44px -28px var(--studio-shadow),
|
|
284
|
-
0 2px 6px -3px var(--studio-shadow);
|
|
285
|
-
}
|
|
286
|
-
}
|
|
287
|
-
|
|
288
|
-
/* The same sugar, clipped to the glyphs of plain text-primary text. Clipping replaces the element's background, so
|
|
289
|
-
elements with a surface of their own (bg-*, jelly, glass) and currentColor drawings are skipped, and icons inside
|
|
290
|
-
get their color back. */
|
|
291
|
-
.text-primary:not(svg, [class*="bg-"], [class*="jelly"], [class*="glass"], [class*="-current"]) {
|
|
292
|
-
background-color: var(--primary);
|
|
293
|
-
background-image:
|
|
294
|
-
url("/jelly/sugar.webp"),
|
|
295
|
-
linear-gradient(
|
|
296
|
-
to bottom,
|
|
297
|
-
color-mix(in oklab, black 8%, var(--primary)),
|
|
298
|
-
color-mix(in oklab, white 14%, var(--primary)) 22%,
|
|
299
|
-
var(--primary) 60%,
|
|
300
|
-
color-mix(in oklab, black 8%, var(--primary))
|
|
301
|
-
);
|
|
302
|
-
background-size:
|
|
303
|
-
100px 100px,
|
|
304
|
-
100% 1lh;
|
|
305
|
-
background-origin: content-box;
|
|
306
|
-
background-blend-mode: hard-light, normal;
|
|
307
|
-
-webkit-background-clip: text;
|
|
308
|
-
background-clip: text;
|
|
309
|
-
color: transparent;
|
|
310
|
-
text-decoration-color: var(--primary);
|
|
311
|
-
& :is(svg, [class*="-current"]) {
|
|
312
|
-
color: var(--primary);
|
|
313
|
-
}
|
|
314
|
-
/* A heading's tight leading pushes descenders out of the box, where a text-clipped background is never painted. */
|
|
315
|
-
:is(h1, h2, h3, h4, h5, h6) & {
|
|
316
|
-
padding-block: 0.15em;
|
|
317
|
-
margin-block: -0.15em;
|
|
318
|
-
}
|
|
319
|
-
}
|
|
320
|
-
|
|
321
|
-
/* A descendant with a surface of its own covers the clipped sugar, so the transparent color it inherits would leave
|
|
322
|
-
it blank. It takes the primary color back; layered under utilities, a text-* class of its own still wins. */
|
|
323
|
-
@layer base {
|
|
324
|
-
.text-primary:not(svg, [class*="bg-"], [class*="jelly"], [class*="glass"], [class*="-current"]) [class*="bg-"]:not([class*="bg-clip"]) {
|
|
325
|
-
color: var(--primary);
|
|
326
|
-
}
|
|
63
|
+
--popover-foreground: #0a0a0a;
|
|
64
|
+
--border: #e5e5e5;
|
|
65
|
+
--input: #e5e5e5;
|
|
66
|
+
--ring: #0a0a0a;
|
|
327
67
|
}
|