Skip to content

Commit

Permalink
update accent color and button text for accesibility
Browse files Browse the repository at this point in the history
  • Loading branch information
nelsonpecora committed Jun 8, 2018
1 parent bf6e755 commit 2eee464
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions styleguide/_colors.scss
Expand Up @@ -9,7 +9,7 @@ $published: $md-green;
$pure-black: $md-black;
$pure-white: $md-white;
$brand-primary-color: $md-blue-grey;
$brand-accent-color: $md-blue;
$brand-accent-color: $md-blue-700;

$text-opacity: .87;
$text-alt-opacity: .54;
Expand Down Expand Up @@ -43,7 +43,7 @@ $chip-delete-color: rgba(0, 0, 0, 0.26);
$chip-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 2px 1px -1px rgba(0, 0, 0, 0.12);

// placeholders
$placeholder-color: $md-blue;
$placeholder-color: $brand-accent-color; // same as buttons
$placeholder-bg-color: $md-blue-50;
$permanent-placeholder-color: $md-blue-grey;
$permanent-placeholder-bg-color: $md-blue-grey-50;
Expand Down
5 changes: 5 additions & 0 deletions styleguide/keen-variables.scss
Expand Up @@ -42,6 +42,11 @@ $ui-modal-mask-background: rgba($pure-black, $modal-opacity);
margin: 0;
}

.ui-button__content {
// 14px buttons with white on blue (A400) neet to be bold for accesibility
font-weight: 600;
}

// html element in edit mode gets a smaller base font size
// this sets the base sizing for KeenUI components, as they all use rem
html.component-selector-wrapper {
Expand Down

0 comments on commit 2eee464

Please sign in to comment.