Skip to content

Commit

Permalink
feat: add new css variable --g-color-base-float-medium (#1572)
Browse files Browse the repository at this point in the history
  • Loading branch information
kendoow authored May 7, 2024
1 parent 10949e5 commit aeda6fe
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/demo/colors/Base.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,11 @@ const floats = [
title: 'Float Hover',
description: 'Hover for Float.',
},
{
name: 'base-float-medium',
title: 'Float Medium',
description: 'Float for medium contrast.',
},
{
name: 'base-float-heavy',
title: 'Float Heavy',
Expand Down
1 change: 1 addition & 0 deletions styles/themes/dark-hc/base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@
--g-color-base-float: var(--g-color-private-white-100-solid);

--g-color-base-float-hover: var(--g-color-private-white-200-solid);
--g-color-base-float-medium: var(--g-color-private-white-200-solid);
--g-color-base-float-heavy: var(--g-color-private-white-300-solid);
--g-color-base-float-accent: var(--g-color-private-white-300-solid);
--g-color-base-float-accent-hover: var(--g-color-private-white-400-solid);
Expand Down
1 change: 1 addition & 0 deletions styles/themes/dark/base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@

--g-color-base-float: var(--g-color-private-white-100-solid);
--g-color-base-float-hover: var(--g-color-private-white-150-solid);
--g-color-base-float-medium: var(--g-color-private-white-150-solid);
--g-color-base-float-heavy: var(--g-color-private-white-250-solid);
--g-color-base-float-accent: var(--g-color-private-white-150-solid);
--g-color-base-float-accent-hover: var(--g-color-private-white-200-solid);
Expand Down
1 change: 1 addition & 0 deletions styles/themes/light-hc/base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@

--g-color-base-float: var(--g-color-private-white-1000-solid);
--g-color-base-float-hover: var(--g-color-private-black-150-solid);
--g-color-base-float-medium: var(--g-color-private-black-550-solid);
--g-color-base-float-heavy: var(--g-color-private-black-700-solid);
--g-color-base-float-accent: var(--g-color-private-white-1000-solid);
--g-color-base-float-accent-hover: var(--g-color-private-white-850);
Expand Down
1 change: 1 addition & 0 deletions styles/themes/light/base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@

--g-color-base-float: var(--g-color-private-white-1000-solid);
--g-color-base-float-hover: var(--g-color-private-black-50-solid);
--g-color-base-float-medium: var(--g-color-private-black-550-solid);
--g-color-base-float-heavy: var(--g-color-private-black-700-solid);
--g-color-base-float-accent: var(--g-color-private-white-1000-solid);
--g-color-base-float-accent-hover: var(--g-color-private-white-850);
Expand Down

0 comments on commit aeda6fe

Please sign in to comment.