Skip to content

Commit 5bdaa8c

Browse files
feat(button): new color palette specs
1 parent eb547a4 commit 5bdaa8c

File tree

3 files changed

+16
-18
lines changed

3 files changed

+16
-18
lines changed

src/scss/components/button/mixins/_hxButton.scss

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@
8686
/// ------------------------------------ ///
8787

8888
@mixin hxButton--primary {
89-
background-color: $cyan-900;
89+
background-color: $blue-500;
9090
color: $gray-0;
9191

9292
&:hover {
@@ -107,15 +107,15 @@
107107
}
108108

109109
@mixin hxButton-active--primary {
110-
background-color: $cyan-700;
110+
background-color: $blue-900;
111111
border-color: transparent;
112112
color: $gray-0;
113113
}
114114

115115
@mixin hxButton-disabled--primary {
116-
background-color: $gray-400;
116+
background-color: $gray-500;
117117
border-color: transparent;
118-
color: $gray-700;
118+
color: $gray-0;
119119
}
120120

121121
@mixin hxButton-focus--primary {
@@ -124,7 +124,7 @@
124124
}
125125

126126
@mixin hxButton-hover--primary {
127-
background-color: $cyan-500;
127+
background-color: $blue-700;
128128
border-color: transparent;
129129
color: $gray-0;
130130
}
@@ -134,8 +134,8 @@
134134
/// -------------------------------------- ///
135135

136136
@mixin hxButton--secondary {
137-
border: 1px solid $cyan-900;
138-
color: $cyan-900;
137+
border: 1px solid $blue-900;
138+
color: $blue-900;
139139

140140
&:hover {
141141
@include hxButton-hover--secondary;
@@ -155,23 +155,23 @@
155155
}
156156

157157
@mixin hxButton-active--secondary {
158-
background-color: $cyan-700;
158+
background-color: $blue-900;
159159
border-color: transparent;
160160
color: $gray-0;
161161
}
162162

163163
@mixin hxButton-disabled--secondary {
164164
background-color: transparent;
165-
border-color: $gray-400;
166-
color: $gray-400;
165+
border: 1px solid $gray-500;
166+
color: $gray-500;
167167
}
168168

169169
@mixin hxButton-focus--secondary {
170170
box-shadow: $focus-glow;
171171
}
172172

173173
@mixin hxButton-hover--secondary {
174-
background-color: $cyan-500;
174+
background-color: $blue-700;
175175
border-color: transparent;
176176
color: $gray-0;
177177
}
@@ -184,7 +184,7 @@
184184
@mixin hxButton--tertiary {
185185
background-color: transparent;
186186
border: 0;
187-
color: $cyan-900;
187+
color: $blue-500;
188188

189189
// This class will be removed in HelixUI-v1.0.0.
190190
&.hxDeprecated {
@@ -212,13 +212,13 @@
212212
@mixin hxButton-active--tertiary {
213213
background-color: transparent;
214214
border-color: transparent;
215-
color: $cyan-700;
215+
color: $blue-900;
216216
}
217217

218218
@mixin hxButton-disabled--tertiary {
219219
background-color: transparent;
220220
border-color: transparent;
221-
color: $gray-400;
221+
color: $gray-500;
222222
}
223223

224224
@mixin hxButton-focus--tertiary {
@@ -228,5 +228,5 @@
228228
@mixin hxButton-hover--tertiary {
229229
background-color: transparent;
230230
border-color: transparent;
231-
color: $cyan-500;
231+
color: $blue-700;
232232
}

src/scss/components/pill/_index.scss

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ hx-status {
1313
color: $gray-750;
1414
display: inline-block;
1515
font-size: 0.625rem; // 10px
16-
height: 1rem;
17-
line-height: 1;
1816
max-width: 100%;
1917
overflow: hidden;
2018
padding: 0.3em 0.8em 0.2em; // 3px 8px 2px

src/scss/components/popover/_index.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ hx-popover {
3939
color: $gray-900;
4040
flex-shrink: 0;
4141
font-size: 1rem;
42-
font-weight: 500;
42+
font-weight: 600;
4343
padding: map-get($space, md);
4444
text-transform: none;
4545
}

0 commit comments

Comments
 (0)