Skip to content

Add Theme Builder panel with live color presets - #16

Merged
GizzZmo merged 4 commits into
mainfrom
copilot/make-theme-builder-with-presets
Jun 3, 2026
Merged

Add Theme Builder panel with live color presets#16
GizzZmo merged 4 commits into
mainfrom
copilot/make-theme-builder-with-presets

Conversation

Copilot AI commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

Description

Adds an in-editor theme builder so users can switch UI themes from presets and fine-tune colors in real time.
This addresses the request for a theme builder with presets by making theme state runtime-configurable and immediately reflected across custom painting and JUCE component styling.

  • Theme system refactor

    • Introduced CyberpunkLookAndFeel::ThemePalette and runtime applyTheme()/getTheme().
    • Replaced hardcoded color usage in custom draw paths with active theme values.
  • Theme Builder UI

    • Added a dedicated THEME BUILDER panel in PluginEditor.
    • Added preset selector: Matrix Green, Cyan Pulse, Magenta Glow, Amber Terminal, Custom.
    • Added Hue/Saturation/Brightness controls for custom palette tuning.
  • Live update wiring

    • Preset selection applies full palette immediately.
    • H/S/B edits auto-switch to Custom and repaint instantly.
    • Control-to-theme synchronization keeps sliders aligned with active palette.
themePresetCombo.addItem("Matrix Green", themePresetMatrix);
themePresetCombo.addItem("Cyan Pulse", themePresetCyan);
themePresetCombo.addItem("Magenta Glow", themePresetMagenta);
themePresetCombo.addItem("Amber Terminal", themePresetAmber);
themePresetCombo.addItem("Custom", themePresetCustom);

cyberpunkLF.applyTheme(makeThemeFromHSB(h, s, b));
repaint();

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Performance improvement
  • Code refactoring

Testing

  • Tested in DAW (specify which one):
  • Verified VST3 functionality
  • Verified AU functionality (macOS only)
  • Tested on platform(s):

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • Any dependent changes have been merged and published

Screenshots (if applicable)

@GizzZmo
GizzZmo marked this pull request as ready for review June 3, 2026 19:39
Copilot AI review requested due to automatic review settings June 3, 2026 19:39
@GizzZmo
GizzZmo merged commit 883d600 into main Jun 3, 2026
7 checks passed
@GizzZmo
GizzZmo deleted the copilot/make-theme-builder-with-presets branch June 3, 2026 19:41
Copilot AI removed the request for review from Copilot June 3, 2026 20:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants