Skip to content

Commit e760a17

Browse files
authored
Merge pull request #831 from HelixDesignSystem/surf-2171-button-update-specs
feat(various): update component specs
2 parents 43f2a16 + 03dbc76 commit e760a17

File tree

6 files changed

+20
-9
lines changed

6 files changed

+20
-9
lines changed

src/scss/_vars.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -151,12 +151,12 @@ $font-sans-serif: "Open Sans", "Roboto", "Helvetica Neue", "Helvetica", "Arial",
151151
$font-monospace: "Open Sans Condensed", "Roboto Mono", monospace;
152152

153153
// ==== FOCUS STATE =====
154-
$focus-glow: 0 0 4px rgba($cyan-700, 0.5);
154+
$focus-glow: 0 0 4px rgba($blue-700, 0.5);
155155
$focus-glow-disabled: $focus-glow;
156-
$focus-glow-invalid: 0 0 4px rgba($red-900, 0.5);
156+
$focus-glow-invalid: 0 0 4px rgba($red-status-900, 0.5);
157157

158158
$app-nav-width: 15rem;
159-
$corner-radius: 2px;
159+
//$corner-radius: 2px; // Deprecated for Button- v2.0 Specs
160160

161161
// ==== Z-INDEX =====
162162
$drawer-z-index: 50;

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
@mixin hxButton($weight: secondary, $size: medium) {
2-
border-radius: $corner-radius;
32
display: inline-flex;
43
justify-content: center;
54

src/scss/components/button/mixins/_hxButtonBar.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
border-radius: 0;
66

77
&:first-child {
8-
border-radius: $corner-radius 0 0 $corner-radius;
8+
border-radius: 0; // Removed - v2.0 Specs
99
}
1010

1111
&:last-child {
12-
border-radius: 0 $corner-radius $corner-radius 0;
12+
border-radius: 0; // Removed - v2.0 Specs
1313
}
1414

1515
+ .hxBtn {

src/scss/components/checkbox/_index.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,11 @@ hx-checkbox-control {
2626
}
2727

2828
> label {
29+
// Checkbox v2.0 specs
30+
font-size: 1rem;
31+
color: $gray-950;
32+
font-weight: 400; // normal
33+
2934
// grid child
3035
-ms-grid-column: 2;
3136
-ms-grid-row: 1;

src/scss/components/popover/_index.scss

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,13 @@ hx-popover {
3636
}
3737

3838
> header {
39-
color: $gray-900;
39+
color: $gray-950;
4040
flex-shrink: 0;
41-
font-size: 1rem;
42-
font-weight: 600;
41+
line-height: 2rem;
42+
font-size: 1.5rem;
43+
font-weight: 400;
4344
padding: map-get($space, md);
45+
padding-bottom: 0.5rem;
4446
text-transform: none;
4547
}
4648

src/scss/components/radio/_index.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,11 @@ hx-radio-control {
4545

4646
// facade + text
4747
> label {
48+
// Radio v2.0 specs
49+
font-size: 1rem;
50+
color: $gray-950;
51+
font-weight: 400; // normal
52+
4853
// grid child
4954
-ms-grid-column: 2;
5055
-ms-grid-row: 1;

0 commit comments

Comments
 (0)