Commit ed0f9c7
Make the card-chooser selection trigger a primary dropdown button
The "N selected" bulk-selection trigger was a flat teal pill that read as
a regression from the previous dropdown. Keep BoxelDropdown + Menu (the
right primitives for an action menu) and restyle the trigger as a proper
primary dropdown button, modeled on the boxel-ui primary Button / highlight
ContextButton:
- highlight fill with --boxel-highlight-foreground text, deepening to
--boxel-highlight-hover on hover and while the menu is open
- roomier internal spacing and a taller min-height so the content is no
longer squished
- keyboard focus draws a ring outside the button and no longer darkens the
fill (deepening is reserved for hover / open)
- the caret flips to point up while the menu is open
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 88db2a4 commit ed0f9c7
1 file changed
Lines changed: 24 additions & 6 deletions
Lines changed: 24 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
144 | 149 | | |
145 | 150 | | |
146 | 151 | | |
147 | | - | |
148 | | - | |
149 | | - | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
150 | 155 | | |
151 | | - | |
| 156 | + | |
152 | 157 | | |
153 | | - | |
| 158 | + | |
154 | 159 | | |
155 | 160 | | |
| 161 | + | |
156 | 162 | | |
157 | 163 | | |
158 | | - | |
| 164 | + | |
159 | 165 | | |
160 | 166 | | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
161 | 173 | | |
162 | 174 | | |
163 | 175 | | |
| |||
169 | 181 | | |
170 | 182 | | |
171 | 183 | | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
172 | 190 | | |
173 | 191 | | |
174 | 192 | | |
| |||
0 commit comments