Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(various): update component specs #831

Merged
merged 1 commit into from
Feb 18, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/scss/_vars.scss
Original file line number Diff line number Diff line change
Expand Up @@ -151,12 +151,12 @@ $font-sans-serif: "Open Sans", "Roboto", "Helvetica Neue", "Helvetica", "Arial",
$font-monospace: "Open Sans Condensed", "Roboto Mono", monospace;

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

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

// ==== Z-INDEX =====
$drawer-z-index: 50;
Expand Down
1 change: 0 additions & 1 deletion src/scss/components/button/mixins/_hxButton.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
@mixin hxButton($weight: secondary, $size: medium) {
border-radius: $corner-radius;
display: inline-flex;
justify-content: center;

Expand Down
4 changes: 2 additions & 2 deletions src/scss/components/button/mixins/_hxButtonBar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
border-radius: 0;

&:first-child {
border-radius: $corner-radius 0 0 $corner-radius;
border-radius: 0; // Removed - v2.0 Specs
}

&:last-child {
border-radius: 0 $corner-radius $corner-radius 0;
border-radius: 0; // Removed - v2.0 Specs
}

+ .hxBtn {
Expand Down
5 changes: 5 additions & 0 deletions src/scss/components/checkbox/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ hx-checkbox-control {
}

> label {
// Checkbox v2.0 specs
font-size: 1rem;
color: $gray-950;
font-weight: 400; // normal

// grid child
-ms-grid-column: 2;
-ms-grid-row: 1;
Expand Down
8 changes: 5 additions & 3 deletions src/scss/components/popover/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,13 @@ hx-popover {
}

> header {
color: $gray-900;
color: $gray-950;
flex-shrink: 0;
font-size: 1rem;
font-weight: 600;
line-height: 2rem;
font-size: 1.5rem;
font-weight: 400;
padding: map-get($space, md);
padding-bottom: 0.5rem;
text-transform: none;
}

Expand Down
5 changes: 5 additions & 0 deletions src/scss/components/radio/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@ hx-radio-control {

// facade + text
> label {
// Radio v2.0 specs
font-size: 1rem;
color: $gray-950;
font-weight: 400; // normal

// grid child
-ms-grid-column: 2;
-ms-grid-row: 1;
Expand Down