Skip to content

TP-24: Add built-in theme assets - #150

Merged
ZhuchkaTriplesix merged 2 commits into
devfrom
issue/119-builtin-theme-assets
Jun 14, 2026
Merged

TP-24: Add built-in theme assets#150
ZhuchkaTriplesix merged 2 commits into
devfrom
issue/119-builtin-theme-assets

Conversation

@ZhuchkaTriplesix

Copy link
Copy Markdown
Member

Summary

  • Bundle cyberpunk-neon.json in assets/themes/ and register it via BuiltinThemeAssets manifest.
  • Extend ThemeRegistryService to index and load built-in themes from the Flutter asset bundle (rootBundle), with injectable assetLoader for tests.
  • Keep Querya Dark/Light as synthetic presets; asset-backed builtins appear in the picker alongside filesystem themes.

Test plan

  • flutter test test/core/theme/theme_registry_builtin_assets_test.dart
  • flutter test test/core/theme/theme_controller_test.dart --concurrency=1
  • flutter test test/core/theme/theme_registry_service_test.dart
  • Verify Cyberpunk Neon appears in Preferences → Appearance theme picker in a release/profile build

Closes #119

Bundle cyberpunk-neon in assets/themes and load it via ThemeRegistryService
so release builds expose curated themes without depending on repo samples.
@github-actions github-actions Bot added documentation Improvements or additions to documentation theme Theming, colors, VS Code themes assets Theme parser epic label: assets 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 bc010eb into dev Jun 14, 2026
3 checks passed
@ZhuchkaTriplesix
ZhuchkaTriplesix deleted the issue/119-builtin-theme-assets 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

assets Theme parser epic label: assets documentation Improvements or additions to documentation theme Theming, colors, VS Code themes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant