Commit 5145783
committed
feat: inline designer undo/redo SVGs in CCB with currentColor
- Replace the fa-rotate-left / fa-rotate-right glyphs on #ccbUndoBtn /
#ccbRedoBtn with inline designer SVGs (src/styles/images/{undo,redo}.svg).
- Drop the designer asset's hardcoded fill/stroke colors; use fill:
currentColor only so the icons inherit .ccb-btn color (hover/active
follow free). No bg-coupled stroke — keeps the asset and stylesheet
free of themed hardcodes.
- Render at 15x11 via CSS (.ccb-edit-icon) to match the visual weight
of the surrounding CCB icons without needing the old stroke trim.1 parent f08921e commit 5145783
5 files changed
Lines changed: 18 additions & 20 deletions
File tree
- src
- styles
- images
- test
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
949 | 949 | | |
950 | 950 | | |
951 | 951 | | |
952 | | - | |
| 952 | + | |
| 953 | + | |
| 954 | + | |
953 | 955 | | |
954 | 956 | | |
955 | | - | |
| 957 | + | |
| 958 | + | |
| 959 | + | |
956 | 960 | | |
957 | 961 | | |
958 | 962 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
76 | 82 | | |
77 | 83 | | |
78 | 84 | | |
| |||
Loading
Loading
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | 14 | | |
33 | 15 | | |
34 | 16 | | |
| |||
0 commit comments