-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
231 lines (222 loc) · 7.65 KB
/
Copy pathindex.html
File metadata and controls
231 lines (222 loc) · 7.65 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
<!doctype html>
<html lang="en" data-theme="dark">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="Malin's workbench — canonical libraries and copy-to-start scaffolds." />
<title>Workbench</title>
<!-- No-flash theme init: must run BEFORE stylesheets -->
<script>
(function () {
var root = document.documentElement;
root.dataset.theme = localStorage.getItem("theme") || "dark";
root.dataset.palette = localStorage.getItem("palette") || "default";
})();
</script>
<link rel="stylesheet" href="./libraries/design-system/tokens/index.css" />
<link rel="stylesheet" href="./libraries/design-system/base/reset.css" />
<link rel="stylesheet" href="./libraries/design-system/base/base.css" />
<link rel="stylesheet" href="./libraries/design-system/primitives/index.css" />
<link rel="stylesheet" href="./libraries/design-system/components/index.css" />
<link rel="stylesheet" href="./libraries/design-system/utilities/index.css" />
<style>
/* dashboard-local chrome only — self-namespaced, not part of the design system */
.wb-header {
display: flex;
flex-wrap: wrap;
align-items: flex-start;
justify-content: space-between;
gap: var(--space-4);
padding-block: var(--space-6) var(--space-4);
}
.wb-header h1 {
font-family: var(--font-display);
font-weight: 600;
letter-spacing: -0.01em;
}
.wb-rule {
width: 64px;
height: 2px;
border-radius: 2px;
background: var(--accent);
margin-block: var(--space-3) var(--space-2);
}
.wb-tagline {
color: var(--text-muted);
max-width: var(--reading-width);
}
.wb-header-actions {
display: flex;
gap: var(--space-3);
align-items: center;
padding-top: var(--space-2);
}
.wb-tier {
padding-block: var(--space-5) 0;
}
.wb-tier h2 {
font-family: var(--font-display);
font-weight: 600;
letter-spacing: 0;
}
.wb-tier-intro {
color: var(--text-faint);
font-size: var(--text-sm);
margin-block: var(--space-1) var(--space-4);
}
.wb-grid {
display: grid;
gap: var(--space-4);
grid-template-columns: 1fr;
}
@media (min-width: 768px) {
.wb-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
.wb-grid { grid-template-columns: repeat(3, 1fr); }
.wb-grid-4 { grid-template-columns: repeat(4, 1fr); }
}
.wb-card {
display: flex;
flex-direction: column;
gap: var(--space-2);
min-height: 44px;
padding: var(--space-4) var(--space-5);
background: var(--card-bg);
border: 1px solid var(--border-soft);
border-radius: var(--radius-lg);
color: inherit;
text-decoration: none;
transition: border-color var(--duration-base) var(--ease-standard);
}
.wb-card strong {
font-family: var(--font-display);
font-weight: 600;
font-size: var(--text-lg);
color: var(--text);
}
.wb-card p {
font-size: var(--text-sm);
margin: 0;
}
.wb-card .wb-cue {
margin-top: auto;
padding-top: var(--space-2);
font-size: var(--text-xs);
letter-spacing: 0.08em;
text-transform: uppercase;
color: var(--text-faint);
transition: color var(--duration-base) var(--ease-standard);
}
a.wb-card:hover,
a.wb-card:focus-visible {
border-color: rgb(var(--accent-rgb) / 55%);
}
a.wb-card:hover .wb-cue,
a.wb-card:focus-visible .wb-cue {
color: var(--accent);
}
.wb-footer {
margin-block: var(--space-6) var(--space-5);
padding-top: var(--space-4);
border-top: 1px solid var(--border-soft);
display: flex;
flex-wrap: wrap;
gap: var(--space-4);
justify-content: space-between;
color: var(--text-faint);
font-size: var(--text-sm);
}
@media (prefers-reduced-motion: reduce) {
.wb-card, .wb-card .wb-cue { transition: none; }
}
</style>
</head>
<body>
<a class="skip-link" href="#main">Skip to content</a>
<header class="container wb-header">
<div>
<h1>Workbench</h1>
<div class="wb-rule" aria-hidden="true"></div>
<p class="wb-tagline">
One source of truth — canonical libraries, copy-to-start scaffolds,
and the tool that keeps every project in sync.
</p>
</div>
<div class="wb-header-actions">
<a class="btn" href="https://github.com/malinfossum/workbench">GitHub</a>
<button type="button" class="btn" data-theme-toggle>Toggle theme</button>
</div>
</header>
<main id="main" class="container">
<section class="wb-tier" aria-labelledby="libs">
<h2 id="libs">Libraries</h2>
<p class="wb-tier-intro">Canonical and versioned — edited here, extracted into projects, never patched downstream.</p>
<div class="wb-grid">
<a class="wb-card" href="./libraries/design-system/gallery/">
<strong>Design System</strong>
<p>Tokens, primitives, components, compositions — dark-first and accessible by default.</p>
<span class="wb-cue">Browse the gallery</span>
</a>
<a class="wb-card" href="./libraries/storyboard/">
<strong>Storyboard</strong>
<p>Screens, flows & states — clickable app mocks, designed before the build.</p>
<span class="wb-cue">Open the demo</span>
</a>
</div>
</section>
<section class="wb-tier" aria-labelledby="scaffolds">
<h2 id="scaffolds">Scaffolds</h2>
<p class="wb-tier-intro">Copied once to start a project, then owned by it. Each card opens the setup guide.</p>
<div class="wb-grid wb-grid-4">
<a class="wb-card" href="./guide/#web-vite">
<strong>web-vite</strong>
<p>Vanilla-JS MVC web starter, Vite + Biome — the pattern pre-wired, the design system bundled.</p>
<span class="wb-cue">Get started</span>
</a>
<a class="wb-card" href="./guide/#csharp-console">
<strong>csharp-console</strong>
<p>One script that turns a fresh <code>dotnet new console</code> into a configured project.</p>
<span class="wb-cue">Get started</span>
</a>
<a class="wb-card" href="./guide/#csharp-layered">
<strong>csharp-layered</strong>
<p>Class library, console front-end, and NUnit — the layering that later scales to an API.</p>
<span class="wb-cue">Get started</span>
</a>
<a class="wb-card" href="./guide/#csharp-api">
<strong>csharp-api</strong>
<p>ASP.NET Core Web API — controllers, EF Core + SQLite, xUnit, layered API + repository shape.</p>
<span class="wb-cue">Get started</span>
</a>
<a class="wb-card" href="./guide/#csharp-wpf">
<strong>csharp-wpf</strong>
<p>WPF/MVVM desktop starter — CommunityToolkit.Mvvm, a Services I/O boundary, design-system tokens in XAML.</p>
<span class="wb-cue">Get started</span>
</a>
</div>
</section>
<section class="wb-tier" aria-labelledby="more">
<h2 id="more">Docs</h2>
<p class="wb-tier-intro">How the workbench is built and why.</p>
<div class="wb-grid">
<a class="wb-card" href="./guide/">
<strong>Setup guide</strong>
<p>Get the workbench, pick a scaffold, and sync the design system into any project.</p>
<span class="wb-cue">Read the guide</span>
</a>
<a class="wb-card" href="./docs/">
<strong>Specs & plans</strong>
<p>The design documents behind each release — restructure, extract tool, scaffold refresh.</p>
<span class="wb-cue">Browse docs</span>
</a>
</div>
</section>
<footer class="wb-footer">
<span>Workbench v2.1.0 · MIT</span>
<span><a href="https://github.com/malinfossum">malinfossum</a></span>
</footer>
</main>
<script src="./libraries/design-system/theme/theme-toggle.js"></script>
</body>
</html>