Commit 0088486
Lukas Gundermann
style: Adjust button themes for improved contrast and consistency
This commit refactors the button theme overrides to enhance visual styling, particularly for dark mode. Changes focus on adjusting background colors, border colors, and text/icon colors to improve contrast and create a more consistent look across different button states.
### Key Changes:
* **Primary Outlined Button (Dark Mode):**
* The default state now has a transparent background (`Colors.gray.withAlpha(0)`) for a ghost-like appearance.
* The default border color is now `Colors.gray[200]`.
* The hovered background color has been darkened from `gray[300]` to `gray[600]`.
* Text and icon colors have been changed from `Colors.black` to `Colors.gray[200]` to ensure readability on the new darker backgrounds.
* **Destructive (Red) Button:**
* The border color for default and hovered states is now unified to `Colors.red[600]`.
* The text and icon colors have been adjusted from `Colors.white` to `Colors.gray[100]` for a slightly softer appearance.1 parent 31bd0d3 commit 0088486
1 file changed
Lines changed: 24 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
34 | 36 | | |
35 | | - | |
| 37 | + | |
36 | 38 | | |
37 | 39 | | |
38 | 40 | | |
39 | 41 | | |
40 | 42 | | |
41 | | - | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
42 | 46 | | |
43 | 47 | | |
44 | | - | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
45 | 51 | | |
46 | 52 | | |
47 | 53 | | |
| |||
56 | 62 | | |
57 | 63 | | |
58 | 64 | | |
59 | | - | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
60 | 68 | | |
61 | 69 | | |
62 | 70 | | |
63 | | - | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
64 | 74 | | |
65 | 75 | | |
66 | | - | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
67 | 79 | | |
68 | 80 | | |
69 | 81 | | |
| |||
109 | 121 | | |
110 | 122 | | |
111 | 123 | | |
112 | | - | |
| 124 | + | |
113 | 125 | | |
114 | 126 | | |
115 | 127 | | |
116 | 128 | | |
117 | | - | |
| 129 | + | |
118 | 130 | | |
119 | 131 | | |
120 | 132 | | |
121 | 133 | | |
122 | | - | |
| 134 | + | |
123 | 135 | | |
124 | 136 | | |
125 | | - | |
| 137 | + | |
126 | 138 | | |
127 | 139 | | |
128 | 140 | | |
| |||
0 commit comments