You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: primary-colored square outline on active toggle buttons
- Add 'active' expression to each toolbar icon button in widgets.py
- Buttons switch to variant='outlined' + color='primary' when on
- CSS forces icon color to stay black via .tcmap-icon-black and
.tcmap-editor-icon selectors (only border gets primary color)
- border-radius: 4px gives square outline shape
- Wavelet example toolbar buttons use same pattern
Copy file name to clipboardExpand all lines: README.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -128,15 +128,15 @@ The toolbar has three areas, left to right:
128
128
129
129
| # | Off | On | Toggle | Description |
130
130
|---|-----|-----|--------|-------------|
131
-
| 1 | <imgsrc="https://cdn.jsdelivr.net/npm/@mdi/svg/svg/palette-outline.svg"width="24"> | <imgsrc="https://cdn.jsdelivr.net/npm/@mdi/svg/svg/palette.svg"width="24"> | Category Filter | Shows/hides category checkboxes (Sequential, Multi-Sequential, Diverging, Cyclic) in the *Settings panel* to control which presets appear in the list. |
132
-
| 2 | <imgsrc="https://cdn.jsdelivr.net/npm/@mdi/svg/svg/blinds.svg"width="24"> | <imgsrc="https://cdn.jsdelivr.net/npm/@mdi/svg/svg/blinds-open.svg"width="24"> | Colorblind Safe | Limits the *Preset list* to colorblind-safe presets only. Filters within the selected categories. |
133
-
| 3 | <imgsrc="https://cdn.jsdelivr.net/npm/@mdi/svg/svg/invert-colors-off.svg"width="24"> | <imgsrc="https://cdn.jsdelivr.net/npm/@mdi/svg/svg/invert-colors.svg"width="24"> | Invert | Reverses the colormap direction (shown in the *Colorbar* and *Preset list*). |
134
-
| 4a | <imgsrc="https://cdn.jsdelivr.net/npm/@mdi/svg/svg/stairs.svg"width="24"> || Scale: Linear | Click to switch to Log scale. In diverging mode, switches to SymLog. |
135
-
| 4b | <imgsrc="https://cdn.jsdelivr.net/npm/@mdi/svg/svg/math-log.svg"width="24"> || Scale: Log | Click to switch to SymLog scale. **Note**: Not available in diverging mode. |
136
-
| 4c | <imgsrc="https://cdn.jsdelivr.net/npm/@mdi/svg/svg/sine-wave.svg"width="24"> || Scale: SymLog | Click to return to Linear scale. |
137
-
| 5 | <imgsrc="https://cdn.jsdelivr.net/npm/@mdi/svg/svg/triangle-outline.svg"width="24"> | <imgsrc="https://cdn.jsdelivr.net/npm/@mdi/svg/svg/triangle.svg"width="24"> | Δ Difference | Enters diverging mode: forces diverging-only presets in *Preset list*, symmetric range around zero, and exposes \|max\| and ε controls in *Settings panel*. |
138
-
| 6 | <imgsrc="https://cdn.jsdelivr.net/npm/@mdi/svg/svg/pencil.svg"width="24"> | <imgsrc="https://cdn.jsdelivr.net/npm/@mdi/svg/svg/arrow-expand-horizontal.svg"width="24"> | Custom Range | Toggles between data-driven range and manual Min/Max inputs exposed in the *Settings panel*. Locked (not shown in *Settings panel*)in diverging mode. |
139
-
| 7 | <imgsrc="https://cdn.jsdelivr.net/npm/@mdi/svg/svg/gradient-horizontal.svg"width="24"> | <imgsrc="https://cdn.jsdelivr.net/npm/@mdi/svg/svg/view-sequential.svg"width="24"> | Discrete | Switches between continuous gradient and discrete color banding. Exposes "Colors per tick interval" (Linear) or "Colors per magnitude" (Log/SymLog) control in *Settings panel*. |
131
+
| 1 | <imgsrc="https://cdn.jsdelivr.net/npm/@mdi/svg/svg/palette-outline.svg"width="24"> | <imgsrc="https://cdn.jsdelivr.net/npm/@mdi/svg/svg/palette.svg"width="24"style="border: 2pxsolid#1867C0; border-radius: 4px; padding: 2px;"> | Category Filter | Shows/hides category checkboxes (Sequential, Multi-Sequential, Diverging, Cyclic) in the *Settings panel* to control which presets appear in the list. |
132
+
| 2 | <imgsrc="https://cdn.jsdelivr.net/npm/@mdi/svg/svg/blinds.svg"width="24"> | <imgsrc="https://cdn.jsdelivr.net/npm/@mdi/svg/svg/blinds-open.svg"width="24"style="border: 2pxsolid#1867C0; border-radius: 4px; padding: 2px;"> | Colorblind Safe | Limits the *Preset list* to colorblind-safe presets only. Filters within the selected categories. |
133
+
| 3 | <imgsrc="https://cdn.jsdelivr.net/npm/@mdi/svg/svg/invert-colors-off.svg"width="24"> | <imgsrc="https://cdn.jsdelivr.net/npm/@mdi/svg/svg/invert-colors.svg"width="24"style="border: 2pxsolid#1867C0; border-radius: 4px; padding: 2px;"> | Invert | Reverses the colormap direction (shown in the *Colorbar* and *Preset list*). |
134
+
| 4a | <imgsrc="https://cdn.jsdelivr.net/npm/@mdi/svg/svg/stairs.svg"width="24"style="border: 2pxsolid#1867C0; border-radius: 4px; padding: 2px;"> || Scale: Linear | Click to switch to Log scale. In diverging mode, switches to SymLog. |
135
+
| 4b | <imgsrc="https://cdn.jsdelivr.net/npm/@mdi/svg/svg/math-log.svg"width="24"style="border: 2pxsolid#1867C0; border-radius: 4px; padding: 2px;"> || Scale: Log | Click to switch to SymLog scale. **Note**: Not available in diverging mode. |
136
+
| 4c | <imgsrc="https://cdn.jsdelivr.net/npm/@mdi/svg/svg/sine-wave.svg"width="24"style="border: 2pxsolid#1867C0; border-radius: 4px; padding: 2px;"> || Scale: SymLog | Click to return to Linear scale. |
137
+
| 5 | <imgsrc="https://cdn.jsdelivr.net/npm/@mdi/svg/svg/triangle-outline.svg"width="24"> | <imgsrc="https://cdn.jsdelivr.net/npm/@mdi/svg/svg/triangle.svg"width="24"style="border: 2pxsolid#1867C0; border-radius: 4px; padding: 2px;"> | Δ Difference | Enters diverging mode: forces diverging-only presets in *Preset list*, symmetric range around zero, and exposes \|max\| and ε controls in *Settings panel*. |
138
+
| 6 | <imgsrc="https://cdn.jsdelivr.net/npm/@mdi/svg/svg/pencil.svg"width="24"> | <imgsrc="https://cdn.jsdelivr.net/npm/@mdi/svg/svg/arrow-expand-horizontal.svg"width="24"style="border: 2pxsolid#1867C0; border-radius: 4px; padding: 2px;"> | Custom Range | Toggles between data-driven range and manual Min/Max inputs exposed in the *Settings panel*. Locked (not shown in *Settings panel*)in diverging mode. |
139
+
| 7 | <imgsrc="https://cdn.jsdelivr.net/npm/@mdi/svg/svg/gradient-horizontal.svg"width="24"> | <imgsrc="https://cdn.jsdelivr.net/npm/@mdi/svg/svg/view-sequential.svg"width="24"style="border: 2pxsolid#1867C0; border-radius: 4px; padding: 2px;"> | Discrete | Switches between continuous gradient and discrete color banding. Exposes "Colors per tick interval" (Linear) or "Colors per magnitude" (Log/SymLog) control in *Settings panel*. |
0 commit comments