|
35 | 35 | cursor: pointer; |
36 | 36 | display: inline-block; |
37 | 37 | font: inherit; |
38 | | - font-weight: 500; |
| 38 | + font-size: 0.875rem; |
| 39 | + font-weight: 700; // bold |
39 | 40 | line-height: 1; |
40 | 41 | margin: 0; |
41 | 42 | padding: 0; |
|
86 | 87 | /// ------------------------------------ /// |
87 | 88 |
|
88 | 89 | @mixin hxButton--primary { |
89 | | - background-color: $cyan-900; |
| 90 | + background-color: $blue-500; |
| 91 | + border: none; |
90 | 92 | color: $gray-0; |
91 | 93 |
|
92 | 94 | &:hover { |
|
107 | 109 | } |
108 | 110 |
|
109 | 111 | @mixin hxButton-active--primary { |
110 | | - background-color: $cyan-700; |
| 112 | + background-color: $blue-900; |
111 | 113 | border-color: transparent; |
112 | 114 | color: $gray-0; |
113 | 115 | } |
114 | 116 |
|
115 | 117 | @mixin hxButton-disabled--primary { |
116 | | - background-color: $gray-400; |
| 118 | + background-color: $gray-500; |
117 | 119 | border-color: transparent; |
118 | | - color: $gray-700; |
| 120 | + color: $gray-0; |
119 | 121 | } |
120 | 122 |
|
121 | 123 | @mixin hxButton-focus--primary { |
122 | | - box-shadow: $focus-glow; |
| 124 | + box-shadow: 0 0 4px rgba($blue-700, 0.5); |
123 | 125 | outline: none; |
124 | 126 | } |
125 | 127 |
|
126 | 128 | @mixin hxButton-hover--primary { |
127 | | - background-color: $cyan-500; |
| 129 | + background-color: $blue-700; |
128 | 130 | border-color: transparent; |
129 | 131 | color: $gray-0; |
130 | 132 | } |
|
134 | 136 | /// -------------------------------------- /// |
135 | 137 |
|
136 | 138 | @mixin hxButton--secondary { |
137 | | - border: 1px solid $cyan-900; |
138 | | - color: $cyan-900; |
| 139 | + background-color: transparent; |
| 140 | + border: 1px solid $blue-500; |
| 141 | + color: $blue-500; |
139 | 142 |
|
140 | 143 | &:hover { |
141 | 144 | @include hxButton-hover--secondary; |
|
155 | 158 | } |
156 | 159 |
|
157 | 160 | @mixin hxButton-active--secondary { |
158 | | - background-color: $cyan-700; |
159 | | - border-color: transparent; |
160 | | - color: $gray-0; |
| 161 | + background-color: transparent; |
| 162 | + border: 1px solid $blue-900; |
| 163 | + color: $blue-900; |
161 | 164 | } |
162 | 165 |
|
163 | 166 | @mixin hxButton-disabled--secondary { |
164 | 167 | background-color: transparent; |
165 | | - border-color: $gray-400; |
166 | | - color: $gray-400; |
| 168 | + border: 1px solid $gray-500; |
| 169 | + color: $gray-500; |
167 | 170 | } |
168 | 171 |
|
169 | 172 | @mixin hxButton-focus--secondary { |
170 | | - box-shadow: $focus-glow; |
| 173 | + box-shadow: 0 0 4px rgba($blue-700, 0.5); |
171 | 174 | } |
172 | 175 |
|
173 | 176 | @mixin hxButton-hover--secondary { |
174 | | - background-color: $cyan-500; |
175 | | - border-color: transparent; |
176 | | - color: $gray-0; |
| 177 | + background-color: transparent; |
| 178 | + border: 1px solid $blue-700; |
| 179 | + color: $blue-700; |
177 | 180 | } |
178 | 181 |
|
179 | 182 |
|
|
183 | 186 |
|
184 | 187 | @mixin hxButton--tertiary { |
185 | 188 | background-color: transparent; |
186 | | - border: 0; |
187 | | - color: $cyan-900; |
| 189 | + border: none; |
| 190 | + color: $blue-500; |
188 | 191 |
|
189 | | - // This class will be removed in HelixUI-v1.0.0. |
| 192 | + // TODO: deprecated Button and Button Bar styles |
190 | 193 | &.hxDeprecated { |
191 | 194 | padding-left: 0; |
192 | 195 | padding-right: 0; |
|
212 | 215 | @mixin hxButton-active--tertiary { |
213 | 216 | background-color: transparent; |
214 | 217 | border-color: transparent; |
215 | | - color: $cyan-700; |
| 218 | + color: $blue-900; |
216 | 219 | } |
217 | 220 |
|
218 | 221 | @mixin hxButton-disabled--tertiary { |
219 | 222 | background-color: transparent; |
220 | 223 | border-color: transparent; |
221 | | - color: $gray-400; |
| 224 | + color: $gray-500; |
222 | 225 | } |
223 | 226 |
|
224 | 227 | @mixin hxButton-focus--tertiary { |
225 | | - box-shadow: $focus-glow; |
| 228 | + box-shadow: 0 0 4px rgba($blue-700, 0.5); |
| 229 | + outline: none; |
226 | 230 | } |
227 | 231 |
|
228 | 232 | @mixin hxButton-hover--tertiary { |
229 | 233 | background-color: transparent; |
230 | 234 | border-color: transparent; |
231 | | - color: $cyan-500; |
| 235 | + color: $blue-700; |
232 | 236 | } |
0 commit comments