Skip to content

feat(theme): filesystem theme scan (#107) - #138

Merged
ZhuchkaTriplesix merged 2 commits into
devfrom
issue/107-theme-registry-scan
Jun 14, 2026
Merged

feat(theme): filesystem theme scan (#107)#138
ZhuchkaTriplesix merged 2 commits into
devfrom
issue/107-theme-registry-scan

Conversation

@ZhuchkaTriplesix

Copy link
Copy Markdown
Member

Summary

  • Add ThemeRegistryService.loadThemeDefinitions() to scan themes/ and themes/imported/.
  • Detect querya.theme.v1 vs VS Code JSON/JSONC and extract lightweight metadata only.
  • Skip broken files without crashing; sort results by name; hash content for cache keys.

Test plan

  • flutter test test/core/theme/theme_registry_service_test.dart

Closes #107

Add ThemeRegistryService with async metadata-only scan for custom and VS Code
JSON/JSONC files under app support themes directories.
@github-actions github-actions Bot added theme Theming, colors, VS Code themes filesystem Theme parser epic label: filesystem performance Theme parser epic label: performance labels Jun 14, 2026
@github-actions github-actions Bot added this to the Theme system milestone Jun 14, 2026

@ZhuchkaTriplesix ZhuchkaTriplesix left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

123

@ZhuchkaTriplesix
ZhuchkaTriplesix merged commit 59811d7 into dev Jun 14, 2026
4 checks passed
@ZhuchkaTriplesix
ZhuchkaTriplesix deleted the issue/107-theme-registry-scan branch June 15, 2026 04:13
ZhuchkaTriplesix added a commit that referenced this pull request Jul 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

filesystem Theme parser epic label: filesystem performance Theme parser epic label: performance theme Theming, colors, VS Code themes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant