Adopt AryaOS design kit and restore page scrolling - #9
Merged
Conversation
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. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0197da7dhvcPoHxYKamrYqyM
# Conflicts: # package-lock.json # package.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Validation