Skip to content

Commit

Permalink
Use tokens for button colors
Browse files Browse the repository at this point in the history
Co-authored-by: Miki <amoo_miki@yahoo.com>
Signed-off-by: Viraj Sanghvi <virajs@amazon.com>
  • Loading branch information
virajsanghvi and AMoo-Miki committed Sep 16, 2024
1 parent 217197c commit 90e6558
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/themes/v9/global_styling/variables/_buttons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ $ouiButtonHeightSmall: $ouiSizeXL !default;
$ouiButtonHeightXSmall: $ouiSizeL !default;

// sass-lint:disable no-color-literals
$ouiButtonColorDisabled: lightOrDarkTheme(#AFAFAF, #444444) !default;
$ouiButtonColorDisabled: lightOrDarkTheme($ouiColorMediumShade, $ouiColorLightShade) !default;
// Only increase the contrast of background color to text to 2.0 for disabled
$ouiButtonColorDisabledText: lightOrDarkTheme(#8E8E8E, #585858) !default;
// sass-lint:disable no-color-literals
Expand Down

0 comments on commit 90e6558

Please sign in to comment.