Commit 155b62e
committed
refactor(quote): light workbench + native widgets replacing brutalist ones
Shifts the Workbench palette from warm near-black to a warm cream light
mode. #FAF7F0 ground with deep ink text and the same muted terracotta
#C4643A accent. The page now exposes the palette as CSS custom
properties (--wb-bg, --wb-surface, --wb-ink, --wb-accent, etc.) so
embedded widgets can theme themselves without cross-file plumbing.
Replaces the brutalist-variant shared widgets (CustomSlider,
CustomDropdown, CustomColorPicker) inside the quote generator with
three local Workbench-native components:
- WbSlider: accent-filled linear track with a bordered circle thumb
that scales on hover, live value read-out in tabular nums
- WbDropdown: styled native <select> with rounded surface, hover and
focus ring states, chevron caret
- WbColorPicker: rounded swatch opening the native color picker paired
with an editable hex field in JetBrains Mono
Also updates the alignment toggle to use Workbench 'wb-icon-btn' styling
with an accent-soft active state, replaces the preset buttons with
Workbench cards, and adds the four new themes (libretto, chalkboard,
tarot, ransom) to the Theme Style dropdown so they are directly
selectable.
Rewrites the download buttons as rounded JetBrains Mono chips that flip
to terracotta on hover. Updates the CanvasPreview container from the
old dark bg-[#111] surface to a white Workbench card. Removes the page
level CSS overrides that were targeting the old brutalist classes —
styling now lives with the widgets.1 parent cb9a9b4 commit 155b62e
4 files changed
Lines changed: 497 additions & 731 deletions
File tree
- src
- app/QuoteGenerator
- components
- pages/apps
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | | - | |
| 106 | + | |
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
131 | 120 | | |
132 | 121 | | |
133 | 122 | | |
| |||
141 | 130 | | |
142 | 131 | | |
143 | 132 | | |
144 | | - | |
145 | | - | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
146 | 152 | | |
147 | 153 | | |
148 | 154 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
793 | 793 | | |
794 | 794 | | |
795 | 795 | | |
796 | | - | |
| 796 | + | |
| 797 | + | |
| 798 | + | |
| 799 | + | |
| 800 | + | |
| 801 | + | |
| 802 | + | |
| 803 | + | |
797 | 804 | | |
798 | 805 | | |
799 | 806 | | |
| |||
0 commit comments