Commit f25e2bb
Use the AryaOS design kit instead of a local copy of the old palette (#5)
app.scss defined its own :root palette -- teal #35a58f accent, #74d8a4 ok,
#ff8a7a danger -- which is the pre-kit console theme. cockpit-shared was
already a dependency, but pinned at v1.0.0 and used only for its TypeScript
modules, so the design system in theme.scss was never reaching this plugin at
all. The local block was not merely redundant, it was the only palette.
Bumps the dependency to v1.3.0 (the first tag containing theme.scss; 1.2.0
added it but was never tagged), imports the kit, and deletes the local
override so the plugin inherits it.
Verified in the built CSS rather than assumed: --sns-accent, --sns-brand,
#56b4e9 and #e4610f are present, #35a58f appears zero times, and every
relative url() in the bundle resolves on disk.
build.js also now copies the kit's webfonts into dist/fonts. theme.scss
references them as url(./fonts/*.woff2) relative to the stylesheet, and
*.woff2 is listed in esbuild's `external`, so those URLs are emitted
untouched. Without the copy the CSS still loads and the palette still applies
-- only the typography silently falls back to system fonts.
Claude-Session: https://claude.ai/code/session_0197da7dhvcPoHxYKamrYqyM
Co-authored-by: gba <gba@brute.undef.net>
Co-authored-by: Claude <noreply@anthropic.com>1 parent 4736f24 commit f25e2bb
4 files changed
Lines changed: 23 additions & 20 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
111 | 126 | | |
112 | 127 | | |
113 | 128 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
3 | 7 | | |
4 | 8 | | |
5 | 9 | | |
6 | 10 | | |
7 | 11 | | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | 12 | | |
25 | 13 | | |
26 | 14 | | |
| |||
0 commit comments