Move theme files into themes/ directory with multi-theme support#3
Merged
Move theme files into themes/ directory with multi-theme support#3
Conversation
Theme files (Main.qml, metadata.desktop, theme.conf, assets/, components/, faces/) now live under themes/default/ instead of the project root. This enables a multi-theme workflow where users copy themes/default/ to create new themes and preview them independently. Scripts accept an optional -theme flag (defaulting to "default"): ./scripts/preview.sh -theme foobar ./scripts/test-sddm.sh -theme foobar ./scripts/lint-qml.sh -theme foobar Preview and lint scripts create temporary symlinks (preview/components, preview/assets) pointing to the selected theme so QML relative imports resolve correctly. Symlinks are cleaned up on exit and gitignored. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
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
Main.qml,metadata.desktop,theme.conf,assets/,components/,faces/) moved from project root intothemes/default/preview.sh,test-sddm.sh,lint-qml.sh) now accept an optional-theme <name>flag, defaulting to"default"themes/default/tothemes/foobar/, then run./scripts/preview.sh -theme foobarto develop itTest plan
./scripts/preview.shlaunches the default theme with background image./scripts/preview.sh -theme defaultbehaves identically./scripts/preview.sh -theme nonexistentprints error and lists available themes./scripts/lint-qml.shpasses static and runtime checksthemes/defaulttothemes/test, run./scripts/preview.sh -theme test🤖 Generated with Claude Code