stagecraft 0.1.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/AGENT.md +792 -0
- package/LICENSE +21 -0
- package/README.md +210 -0
- package/bin/cli.js +51 -0
- package/bin/export.js +137 -0
- package/bin/init.js +52 -0
- package/bin/lib/edit-ops.js +405 -0
- package/bin/serve.js +278 -0
- package/dist/stagecraft.bundle.css +4443 -0
- package/dist/stagecraft.bundle.js +7621 -0
- package/dist/themes/brand.bundle.css +5262 -0
- package/dist/themes/neon.bundle.css +5289 -0
- package/dist/themes/paper.bundle.css +5276 -0
- package/dist/themes/phosphor.bundle.css +4443 -0
- package/dist/themes/shopware.bundle.css +5850 -0
- package/examples/closing-card.js +74 -0
- package/examples/orchestration-graph.js +156 -0
- package/examples/terminal-log.js +109 -0
- package/examples/token-stream.js +96 -0
- package/examples/whoami.js +90 -0
- package/package.json +41 -0
- package/src/components/activity-list.js +75 -0
- package/src/components/agenda.js +79 -0
- package/src/components/bar-chart.js +162 -0
- package/src/components/before-after.js +135 -0
- package/src/components/bento.js +73 -0
- package/src/components/big-number.js +87 -0
- package/src/components/callout.js +75 -0
- package/src/components/checklist.js +81 -0
- package/src/components/code-block.js +141 -0
- package/src/components/code-diff.js +98 -0
- package/src/components/compare.js +85 -0
- package/src/components/counter.js +80 -0
- package/src/components/cta.js +69 -0
- package/src/components/cycle.js +146 -0
- package/src/components/definition.js +96 -0
- package/src/components/donut-chart.js +179 -0
- package/src/components/full-image.js +82 -0
- package/src/components/funnel.js +111 -0
- package/src/components/gauge.js +147 -0
- package/src/components/heatmap.js +141 -0
- package/src/components/image-grid.js +80 -0
- package/src/components/image-text.js +96 -0
- package/src/components/kinetic-text.js +72 -0
- package/src/components/kpi.js +106 -0
- package/src/components/line-chart.js +215 -0
- package/src/components/manifesto.js +104 -0
- package/src/components/marquee.js +63 -0
- package/src/components/matrix2x2.js +151 -0
- package/src/components/pillars.js +80 -0
- package/src/components/pricing.js +90 -0
- package/src/components/process-flow.js +133 -0
- package/src/components/progress.js +136 -0
- package/src/components/punchline.js +82 -0
- package/src/components/pyramid.js +107 -0
- package/src/components/qanda.js +60 -0
- package/src/components/quote.js +70 -0
- package/src/components/roadmap.js +130 -0
- package/src/components/section-card.js +45 -0
- package/src/components/shift-arrow.js +41 -0
- package/src/components/spark-line.js +147 -0
- package/src/components/spotlight.js +85 -0
- package/src/components/statement.js +106 -0
- package/src/components/stats.js +91 -0
- package/src/components/steps.js +83 -0
- package/src/components/swot.js +110 -0
- package/src/components/team-grid.js +87 -0
- package/src/components/testimonial.js +99 -0
- package/src/components/timeline.js +91 -0
- package/src/components/tip.js +63 -0
- package/src/components/venn.js +198 -0
- package/src/edit-mode.js +1256 -0
- package/src/engine.js +823 -0
- package/src/helpers.js +169 -0
- package/src/transitions.js +101 -0
- package/starter/index.html +40 -0
- package/starter/slides/00-title.js +12 -0
- package/starter/stagecraft.config.js +8 -0
- package/themes/brand/base.css +4 -0
- package/themes/brand/components-business.css +173 -0
- package/themes/brand/components-chart.css +65 -0
- package/themes/brand/components-content.css +126 -0
- package/themes/brand/components-data.css +162 -0
- package/themes/brand/components-diagram.css +115 -0
- package/themes/brand/components-layout.css +112 -0
- package/themes/brand/components.css +46 -0
- package/themes/brand/manifest.json +20 -0
- package/themes/brand/tokens.css +20 -0
- package/themes/brand/transitions.css +4 -0
- package/themes/neon/base.css +10 -0
- package/themes/neon/components-business.css +189 -0
- package/themes/neon/components-chart.css +70 -0
- package/themes/neon/components-content.css +112 -0
- package/themes/neon/components-data.css +160 -0
- package/themes/neon/components-diagram.css +109 -0
- package/themes/neon/components-layout.css +87 -0
- package/themes/neon/components.css +87 -0
- package/themes/neon/manifest.json +21 -0
- package/themes/neon/tokens.css +17 -0
- package/themes/neon/transitions.css +13 -0
- package/themes/paper/base.css +9 -0
- package/themes/paper/components-business.css +196 -0
- package/themes/paper/components-chart.css +74 -0
- package/themes/paper/components-content.css +108 -0
- package/themes/paper/components-data.css +168 -0
- package/themes/paper/components-diagram.css +89 -0
- package/themes/paper/components-layout.css +105 -0
- package/themes/paper/components.css +60 -0
- package/themes/paper/manifest.json +10 -0
- package/themes/paper/tokens.css +21 -0
- package/themes/paper/transitions.css +11 -0
- package/themes/phosphor/base.css +511 -0
- package/themes/phosphor/components-business.css +818 -0
- package/themes/phosphor/components-chart.css +415 -0
- package/themes/phosphor/components-content.css +530 -0
- package/themes/phosphor/components-data.css +824 -0
- package/themes/phosphor/components-diagram.css +427 -0
- package/themes/phosphor/components-layout.css +450 -0
- package/themes/phosphor/components.css +223 -0
- package/themes/phosphor/manifest.json +11 -0
- package/themes/phosphor/tokens.css +17 -0
- package/themes/phosphor/transitions.css +213 -0
- package/themes/shopware/base.css +94 -0
- package/themes/shopware/components-business.css +344 -0
- package/themes/shopware/components-chart.css +121 -0
- package/themes/shopware/components-content.css +169 -0
- package/themes/shopware/components-data.css +219 -0
- package/themes/shopware/components-diagram.css +129 -0
- package/themes/shopware/components-layout.css +166 -0
- package/themes/shopware/components.css +83 -0
- package/themes/shopware/manifest.json +21 -0
- package/themes/shopware/tokens.css +68 -0
- package/themes/shopware/transitions.css +22 -0
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
/* Stagecraft — Shopware theme: layout component overrides.
|
|
2
|
+
*
|
|
3
|
+
* Light Meteor product look: white cards, 1px zinc borders that turn brand
|
|
4
|
+
* blue on hover, subtle shadows, Inter throughout, no glow on text.
|
|
5
|
+
*/
|
|
6
|
+
@import url('../phosphor/components-layout.css');
|
|
7
|
+
|
|
8
|
+
/* ---------------------------------------------------------------------------
|
|
9
|
+
* ImageText
|
|
10
|
+
* ------------------------------------------------------------------------- */
|
|
11
|
+
:root[data-theme="shopware"] .it-figure {
|
|
12
|
+
background: var(--bg-elevated);
|
|
13
|
+
border-radius: var(--radius-md);
|
|
14
|
+
}
|
|
15
|
+
:root[data-theme="shopware"] .it-img {
|
|
16
|
+
filter: none;
|
|
17
|
+
}
|
|
18
|
+
:root[data-theme="shopware"] .it-img-frame {
|
|
19
|
+
border-radius: var(--radius-md);
|
|
20
|
+
box-shadow:
|
|
21
|
+
inset 0 0 0 1px var(--border-primary),
|
|
22
|
+
var(--shadow-md);
|
|
23
|
+
}
|
|
24
|
+
:root[data-theme="shopware"] .it-heading {
|
|
25
|
+
font-family: var(--display);
|
|
26
|
+
font-weight: 600;
|
|
27
|
+
letter-spacing: -0.025em;
|
|
28
|
+
}
|
|
29
|
+
:root[data-theme="shopware"] .it-line { color: var(--fg); font-family: var(--body); }
|
|
30
|
+
:root[data-theme="shopware"] .it-caption { color: var(--dim); }
|
|
31
|
+
|
|
32
|
+
/* ---------------------------------------------------------------------------
|
|
33
|
+
* FullImage — light scrims for light theme
|
|
34
|
+
* ------------------------------------------------------------------------- */
|
|
35
|
+
:root[data-theme="shopware"] .fi-scrim--center { background: radial-gradient(ellipse at center, rgba(255,255,255,0.60) 0%, rgba(255,255,255,0.05) 70%); }
|
|
36
|
+
:root[data-theme="shopware"] .fi-scrim--top { background: linear-gradient(180deg, rgba(255,255,255,0.88), transparent 55%); }
|
|
37
|
+
:root[data-theme="shopware"] .fi-scrim--bottom-left { background: linear-gradient(45deg, rgba(255,255,255,0.92), transparent 65%); }
|
|
38
|
+
:root[data-theme="shopware"] .fi-scrim--bottom-right { background: linear-gradient(315deg, rgba(255,255,255,0.92), transparent 65%); }
|
|
39
|
+
|
|
40
|
+
:root[data-theme="shopware"] .fi-headline {
|
|
41
|
+
color: var(--fg);
|
|
42
|
+
font-family: var(--display);
|
|
43
|
+
font-weight: 600;
|
|
44
|
+
letter-spacing: -0.025em;
|
|
45
|
+
text-shadow: 0 1px 14px rgba(255,255,255,0.6);
|
|
46
|
+
}
|
|
47
|
+
:root[data-theme="shopware"] .fi-body {
|
|
48
|
+
color: var(--fg);
|
|
49
|
+
font-family: var(--body);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
/* ---------------------------------------------------------------------------
|
|
53
|
+
* Quote — sans-serif at weight 600, no italic, brand-blue marks
|
|
54
|
+
* ------------------------------------------------------------------------- */
|
|
55
|
+
:root[data-theme="shopware"] .q-mark {
|
|
56
|
+
color: var(--accent);
|
|
57
|
+
text-shadow: none;
|
|
58
|
+
font-family: var(--display);
|
|
59
|
+
font-weight: 600;
|
|
60
|
+
}
|
|
61
|
+
:root[data-theme="shopware"] .q-text {
|
|
62
|
+
font-family: var(--display);
|
|
63
|
+
font-style: normal;
|
|
64
|
+
font-weight: 600;
|
|
65
|
+
letter-spacing: -0.02em;
|
|
66
|
+
color: var(--fg);
|
|
67
|
+
}
|
|
68
|
+
:root[data-theme="shopware"] .q-author { color: var(--fg); font-weight: 600; }
|
|
69
|
+
:root[data-theme="shopware"] .q-role,
|
|
70
|
+
:root[data-theme="shopware"] .q-source { color: var(--dim); }
|
|
71
|
+
:root[data-theme="shopware"] .q-sep { color: var(--border-primary); }
|
|
72
|
+
|
|
73
|
+
/* ---------------------------------------------------------------------------
|
|
74
|
+
* BigNumber — brand blue, no glow
|
|
75
|
+
* ------------------------------------------------------------------------- */
|
|
76
|
+
:root[data-theme="shopware"] .bn-num {
|
|
77
|
+
color: var(--accent);
|
|
78
|
+
text-shadow: none;
|
|
79
|
+
font-family: var(--display);
|
|
80
|
+
font-weight: 600;
|
|
81
|
+
}
|
|
82
|
+
:root[data-theme="shopware"] .bn-unit { color: var(--dim); font-family: var(--display); }
|
|
83
|
+
:root[data-theme="shopware"] .bn-label { color: var(--fg); font-family: var(--display); }
|
|
84
|
+
:root[data-theme="shopware"] .bn-caption { color: var(--dim); }
|
|
85
|
+
|
|
86
|
+
/* ---------------------------------------------------------------------------
|
|
87
|
+
* Stats — white card, 1px border, brand stripe on top
|
|
88
|
+
* ------------------------------------------------------------------------- */
|
|
89
|
+
:root[data-theme="shopware"] .stat {
|
|
90
|
+
background: var(--bg);
|
|
91
|
+
border: 1px solid var(--border-primary);
|
|
92
|
+
border-radius: var(--radius-md);
|
|
93
|
+
box-shadow: var(--shadow-sm);
|
|
94
|
+
transition: opacity 700ms ease-out, transform 800ms cubic-bezier(0.16, 1, 0.3, 1),
|
|
95
|
+
border-color 200ms ease, box-shadow 200ms ease;
|
|
96
|
+
}
|
|
97
|
+
:root[data-theme="shopware"] .stat:hover {
|
|
98
|
+
border-color: var(--accent);
|
|
99
|
+
box-shadow: var(--shadow-md);
|
|
100
|
+
}
|
|
101
|
+
:root[data-theme="shopware"] .stat::before {
|
|
102
|
+
height: 2px;
|
|
103
|
+
background: var(--border-primary);
|
|
104
|
+
border-top-left-radius: var(--radius-md);
|
|
105
|
+
border-top-right-radius: var(--radius-md);
|
|
106
|
+
}
|
|
107
|
+
:root[data-theme="shopware"] .stat--accent::before { background: var(--accent); box-shadow: none; }
|
|
108
|
+
:root[data-theme="shopware"] .stat--amber::before { background: var(--amber); }
|
|
109
|
+
:root[data-theme="shopware"] .stat--blue::before { background: var(--blue); }
|
|
110
|
+
:root[data-theme="shopware"] .stat--red::before { background: var(--red); }
|
|
111
|
+
|
|
112
|
+
:root[data-theme="shopware"] .stat-num { color: var(--fg); text-shadow: none; font-family: var(--display); font-weight: 600; }
|
|
113
|
+
:root[data-theme="shopware"] .stat-unit { color: var(--dim); }
|
|
114
|
+
:root[data-theme="shopware"] .stat--accent .stat-num { color: var(--accent); text-shadow: none; }
|
|
115
|
+
:root[data-theme="shopware"] .stat--amber .stat-num { color: var(--amber); }
|
|
116
|
+
:root[data-theme="shopware"] .stat--blue .stat-num { color: var(--blue); }
|
|
117
|
+
:root[data-theme="shopware"] .stat--red .stat-num { color: var(--red); }
|
|
118
|
+
:root[data-theme="shopware"] .stat-label { color: var(--dim); }
|
|
119
|
+
|
|
120
|
+
/* ---------------------------------------------------------------------------
|
|
121
|
+
* Bento — soft tinted backgrounds per color, white default
|
|
122
|
+
* ------------------------------------------------------------------------- */
|
|
123
|
+
:root[data-theme="shopware"] .bento-cell {
|
|
124
|
+
background: var(--bg);
|
|
125
|
+
border: 1px solid var(--border-primary);
|
|
126
|
+
border-radius: var(--radius-md);
|
|
127
|
+
box-shadow: var(--shadow-sm);
|
|
128
|
+
transition: opacity 700ms ease-out, transform 800ms cubic-bezier(0.16, 1, 0.3, 1),
|
|
129
|
+
border-color 200ms ease, box-shadow 200ms ease;
|
|
130
|
+
}
|
|
131
|
+
:root[data-theme="shopware"] .bento-cell:hover {
|
|
132
|
+
border-color: var(--accent);
|
|
133
|
+
box-shadow: var(--shadow-md);
|
|
134
|
+
}
|
|
135
|
+
:root[data-theme="shopware"] .bento-cell--accent {
|
|
136
|
+
border-color: var(--accent);
|
|
137
|
+
background: var(--accent-soft);
|
|
138
|
+
box-shadow: var(--shadow-sm);
|
|
139
|
+
}
|
|
140
|
+
:root[data-theme="shopware"] .bento-cell--accent .bento-heading { color: var(--accent); }
|
|
141
|
+
:root[data-theme="shopware"] .bento-cell--amber {
|
|
142
|
+
border-color: color-mix(in srgb, var(--amber) 45%, var(--border-primary));
|
|
143
|
+
background: var(--amber-soft);
|
|
144
|
+
}
|
|
145
|
+
:root[data-theme="shopware"] .bento-cell--amber .bento-heading { color: var(--amber); }
|
|
146
|
+
:root[data-theme="shopware"] .bento-cell--blue {
|
|
147
|
+
border-color: color-mix(in srgb, var(--blue) 45%, var(--border-primary));
|
|
148
|
+
background: var(--blue-soft);
|
|
149
|
+
}
|
|
150
|
+
:root[data-theme="shopware"] .bento-cell--blue .bento-heading { color: var(--blue); }
|
|
151
|
+
|
|
152
|
+
:root[data-theme="shopware"] .bento-cell--image .bento-heading {
|
|
153
|
+
color: #ffffff;
|
|
154
|
+
text-shadow: 0 1px 14px rgba(0,0,0,0.55);
|
|
155
|
+
}
|
|
156
|
+
:root[data-theme="shopware"] .bento-cell--image .bento-body {
|
|
157
|
+
color: #ffffff;
|
|
158
|
+
opacity: 0.92;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
:root[data-theme="shopware"] .bento-heading {
|
|
162
|
+
font-family: var(--display);
|
|
163
|
+
font-weight: 600;
|
|
164
|
+
letter-spacing: -0.02em;
|
|
165
|
+
}
|
|
166
|
+
:root[data-theme="shopware"] .bento-body { color: var(--dim); font-family: var(--body); }
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
/* Stagecraft — Shopware theme component overrides.
|
|
2
|
+
*
|
|
3
|
+
* Cascade: phosphor base components (unscoped) → shopware family overrides
|
|
4
|
+
* (scoped by :root[data-theme="shopware"]).
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
@import url('../phosphor/components.css');
|
|
8
|
+
|
|
9
|
+
@import url('./components-layout.css');
|
|
10
|
+
@import url('./components-diagram.css');
|
|
11
|
+
@import url('./components-chart.css');
|
|
12
|
+
@import url('./components-data.css');
|
|
13
|
+
@import url('./components-business.css');
|
|
14
|
+
@import url('./components-content.css');
|
|
15
|
+
|
|
16
|
+
/* -----------------------------------------------------------------------------
|
|
17
|
+
* Core 6 overrides (KineticText, SectionCard, ActivityList, Compare, Counter,
|
|
18
|
+
* ShiftArrow) for the Shopware brand
|
|
19
|
+
* --------------------------------------------------------------------------- */
|
|
20
|
+
|
|
21
|
+
/* KineticText — Inter, no glow, brand-blue for accent lines */
|
|
22
|
+
:root[data-theme="shopware"] .kinetic .line {
|
|
23
|
+
font-family: var(--display);
|
|
24
|
+
font-weight: 600;
|
|
25
|
+
letter-spacing: -0.02em;
|
|
26
|
+
}
|
|
27
|
+
:root[data-theme="shopware"] .kinetic .line.accent { color: var(--accent); }
|
|
28
|
+
:root[data-theme="shopware"] .kinetic .line.dim { color: var(--dim); }
|
|
29
|
+
:root[data-theme="shopware"] .kinetic .line.amber { color: var(--amber); }
|
|
30
|
+
:root[data-theme="shopware"] .kinetic .line.blue { color: var(--blue); }
|
|
31
|
+
|
|
32
|
+
/* SectionCard — clean number-rule-title-tag pattern with brand */
|
|
33
|
+
:root[data-theme="shopware"] .sec-num { color: var(--dim); }
|
|
34
|
+
:root[data-theme="shopware"] .sec-line { background: var(--border-primary); }
|
|
35
|
+
:root[data-theme="shopware"] .sec-title {
|
|
36
|
+
color: var(--fg);
|
|
37
|
+
font-weight: 600;
|
|
38
|
+
}
|
|
39
|
+
:root[data-theme="shopware"] .sec-title .accent { color: var(--accent); }
|
|
40
|
+
:root[data-theme="shopware"] .sec-tag { color: var(--dim); font-style: italic; }
|
|
41
|
+
|
|
42
|
+
/* ActivityList */
|
|
43
|
+
:root[data-theme="shopware"] .activity .num {
|
|
44
|
+
color: var(--accent);
|
|
45
|
+
font-weight: 600;
|
|
46
|
+
letter-spacing: 0.15em;
|
|
47
|
+
}
|
|
48
|
+
:root[data-theme="shopware"] .activity .name { font-weight: 600; }
|
|
49
|
+
:root[data-theme="shopware"] .activity .name .accent { color: var(--accent); }
|
|
50
|
+
:root[data-theme="shopware"] .activity .desc { color: var(--dim); }
|
|
51
|
+
|
|
52
|
+
/* Compare */
|
|
53
|
+
:root[data-theme="shopware"] .compare-h.old::before { color: var(--dim); }
|
|
54
|
+
:root[data-theme="shopware"] .compare-h.new::before { color: var(--accent); }
|
|
55
|
+
:root[data-theme="shopware"] .compare-list { color: var(--fg); }
|
|
56
|
+
:root[data-theme="shopware"] .compare-list.strikethrough li { color: var(--dim); }
|
|
57
|
+
:root[data-theme="shopware"] .compare-list.accent li::before { color: var(--accent); }
|
|
58
|
+
:root[data-theme="shopware"] .compare-divider {
|
|
59
|
+
background: linear-gradient(to bottom, transparent, var(--border-primary) 20%, var(--border-primary) 80%, transparent);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
/* Counter — large brand number, no glow */
|
|
63
|
+
:root[data-theme="shopware"] .counter-num { color: var(--fg); font-weight: 600; }
|
|
64
|
+
:root[data-theme="shopware"] .counter-num.accent { color: var(--accent); }
|
|
65
|
+
:root[data-theme="shopware"] .counter-num.amber { color: var(--amber); }
|
|
66
|
+
:root[data-theme="shopware"] .counter-num.blue { color: var(--blue); }
|
|
67
|
+
:root[data-theme="shopware"] .counter-num.red { color: var(--red); }
|
|
68
|
+
:root[data-theme="shopware"] .counter-label { color: var(--dim); }
|
|
69
|
+
:root[data-theme="shopware"] .counter-label.accent .dot { background: var(--accent); box-shadow: none; }
|
|
70
|
+
:root[data-theme="shopware"] .counter-label.amber .dot { background: var(--amber); }
|
|
71
|
+
:root[data-theme="shopware"] .counter-label.blue .dot { background: var(--blue); }
|
|
72
|
+
:root[data-theme="shopware"] .counter-label.red .dot { background: var(--red); }
|
|
73
|
+
:root[data-theme="shopware"] .counter-foot { color: var(--dim); }
|
|
74
|
+
:root[data-theme="shopware"] .counter-foot .accent { color: var(--accent); }
|
|
75
|
+
|
|
76
|
+
/* ShiftArrow */
|
|
77
|
+
:root[data-theme="shopware"] .shift-from {
|
|
78
|
+
color: var(--dim);
|
|
79
|
+
text-decoration-color: var(--dim-2);
|
|
80
|
+
font-weight: 500;
|
|
81
|
+
}
|
|
82
|
+
:root[data-theme="shopware"] .shift-to { color: var(--accent); font-weight: 600; }
|
|
83
|
+
:root[data-theme="shopware"] .shift-arrow { color: var(--accent); }
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "shopware",
|
|
3
|
+
"displayName": "Shopware",
|
|
4
|
+
"description": "Official Shopware brand. Light, Inter, brand-blue, Meteor design tokens.",
|
|
5
|
+
"fonts": [
|
|
6
|
+
"https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap",
|
|
7
|
+
"https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0&display=swap"
|
|
8
|
+
],
|
|
9
|
+
"stylesheets": [
|
|
10
|
+
"tokens.css",
|
|
11
|
+
"base.css",
|
|
12
|
+
"components.css",
|
|
13
|
+
"components-layout.css",
|
|
14
|
+
"components-diagram.css",
|
|
15
|
+
"components-chart.css",
|
|
16
|
+
"components-data.css",
|
|
17
|
+
"components-business.css",
|
|
18
|
+
"components-content.css",
|
|
19
|
+
"transitions.css"
|
|
20
|
+
]
|
|
21
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
/* Stagecraft — Shopware theme tokens
|
|
2
|
+
*
|
|
3
|
+
* Sourced from the Meteor design system (@shopware-ag/meteor-tokens v1.4.0)
|
|
4
|
+
* which is Shopware's official open-source token system.
|
|
5
|
+
* Brand: #0870ff (brand/500)
|
|
6
|
+
* Family palette: blue · zinc · slate · purple · pumpkin · pink · yellow · cyan · emerald
|
|
7
|
+
*
|
|
8
|
+
* https://shopware.design/tokens/ · https://github.com/shopware/meteor
|
|
9
|
+
*/
|
|
10
|
+
:root[data-theme="shopware"] {
|
|
11
|
+
/* Surface — soft white-on-light-grey hierarchy */
|
|
12
|
+
--bg: #ffffff; /* zinc/0 */
|
|
13
|
+
--bg-elevated: #fafbfe; /* zinc/50 */
|
|
14
|
+
--bg-tertiary: #f2f3f8; /* zinc/75 */
|
|
15
|
+
|
|
16
|
+
/* Text */
|
|
17
|
+
--fg: #1e1e24; /* zinc/900 */
|
|
18
|
+
--dim: #696a6e; /* zinc/600 */
|
|
19
|
+
--dim-2: #e2e3e9; /* zinc/100 — used for borders + faint lines */
|
|
20
|
+
|
|
21
|
+
/* Brand */
|
|
22
|
+
--accent: #0870ff; /* brand/500 — the signature Shopware blue */
|
|
23
|
+
--accent-hover: #005cd7; /* brand/600 */
|
|
24
|
+
--accent-pressed: #0042a0; /* brand/700 */
|
|
25
|
+
--accent-soft: #f0f6ff; /* brand/50 — pale tinted bg */
|
|
26
|
+
--accent-glow: rgba(8, 112, 255, 0.28);
|
|
27
|
+
|
|
28
|
+
/* Secondary blue (cyan-ish for variety) */
|
|
29
|
+
--blue: #189eff; /* blue/500 — used in charts as the second blue */
|
|
30
|
+
--blue-soft: #eef6ff; /* blue/50 */
|
|
31
|
+
|
|
32
|
+
/* Semantic — directly from Meteor */
|
|
33
|
+
--amber: #fbaf18; /* orange/500 — warning */
|
|
34
|
+
--amber-soft: #fff3e3; /* orange/50 */
|
|
35
|
+
--red: #e2262a; /* red/500 — critical */
|
|
36
|
+
--red-soft: #fff2f0; /* red/50 */
|
|
37
|
+
--green: #36d046; /* green/500 — positive */
|
|
38
|
+
--green-soft: #e1ffe0; /* green/50 */
|
|
39
|
+
--purple: #633bc6; /* purple/700 — accent / icon emphasis */
|
|
40
|
+
--purple-soft: #f5f4ff; /* purple/50 */
|
|
41
|
+
--cyan: #2fc3f0; /* cyan/500 */
|
|
42
|
+
--pink: #ff5ea1; /* pink/500 */
|
|
43
|
+
|
|
44
|
+
/* Borders */
|
|
45
|
+
--border-primary: #e2e3e9; /* zinc/100 */
|
|
46
|
+
--border-secondary: #cdced4; /* zinc/200 */
|
|
47
|
+
--border-brand: #0870ff; /* brand/500 */
|
|
48
|
+
|
|
49
|
+
/* Typography */
|
|
50
|
+
--mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
|
|
51
|
+
--display: 'Inter', system-ui, -apple-system, sans-serif;
|
|
52
|
+
--body: 'Inter', system-ui, -apple-system, sans-serif;
|
|
53
|
+
|
|
54
|
+
/* Radii — Shopware uses subtle rounding throughout (~4-8px) */
|
|
55
|
+
--radius-sm: 4px;
|
|
56
|
+
--radius-md: 6px;
|
|
57
|
+
--radius-lg: 10px;
|
|
58
|
+
--radius-pill: 999px;
|
|
59
|
+
|
|
60
|
+
/* Elevation — flat with subtle shadows */
|
|
61
|
+
--shadow-sm: 0 1px 2px rgba(30, 30, 36, 0.04), 0 1px 3px rgba(30, 30, 36, 0.06);
|
|
62
|
+
--shadow-md: 0 4px 12px rgba(30, 30, 36, 0.06), 0 2px 4px rgba(30, 30, 36, 0.04);
|
|
63
|
+
--shadow-brand: 0 8px 24px rgba(8, 112, 255, 0.18);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
/* Disable the cinematic body decorations for this clean light theme */
|
|
67
|
+
:root[data-theme="shopware"] body::before,
|
|
68
|
+
:root[data-theme="shopware"] body::after { display: none; }
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/* Shopware transitions — phosphor baseline + clean product-flavored overrides. */
|
|
2
|
+
|
|
3
|
+
@import url('../phosphor/transitions.css');
|
|
4
|
+
|
|
5
|
+
/* Glitch is too theatrical for the corporate Shopware aesthetic.
|
|
6
|
+
* Replace with a soft tinted fade that respects the brand. */
|
|
7
|
+
:root[data-theme="shopware"] .tx-glitch-overlay { display: none; }
|
|
8
|
+
:root[data-theme="shopware"] .slide.tx-glitch-enter,
|
|
9
|
+
:root[data-theme="shopware"] .tx-glitch-enter {
|
|
10
|
+
animation: tx-shopware-soft 600ms cubic-bezier(0.16, 1, 0.3, 1) both;
|
|
11
|
+
}
|
|
12
|
+
@keyframes tx-shopware-soft {
|
|
13
|
+
from { opacity: 0; transform: translateY(8px); }
|
|
14
|
+
to { opacity: 1; transform: translateY(0); }
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
/* Shatter softened: just a clean fade-up */
|
|
18
|
+
:root[data-theme="shopware"] .slide.tx-shatter-enter,
|
|
19
|
+
:root[data-theme="shopware"] .tx-shatter-enter {
|
|
20
|
+
animation: tx-shopware-soft 700ms cubic-bezier(0.16, 1, 0.3, 1) both;
|
|
21
|
+
filter: none;
|
|
22
|
+
}
|