Skip to content

Commit

Permalink
chore: updating js tokens with overlay inverse
Browse files Browse the repository at this point in the history
  • Loading branch information
georgewrmarshall committed May 30, 2024
1 parent 6471cf4 commit 0dd8193
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/js/themes/darkTheme/colors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ export const colors: ThemeColors = {
overlay: {
default: '#00000099', // For the default shade of screen
alternative: '#000000cc', // For a stronger shade of screen
inverse: brandColor.grey000, // For elements used on top of overlay/alternative. Used for text, icon or border
},
primary: {
default: brandColor.blue300, // For interactive, active, and selected semantics. Used for text, background, icon or border
Expand Down
1 change: 1 addition & 0 deletions src/js/themes/lightTheme/colors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ export const colors: ThemeColors = {
overlay: {
default: '#00000099', // For the default shade of screen
alternative: '#000000cc', // For a stronger shade of screen
inverse: brandColor.grey000, // For elements used on top of overlay/alternative. Used for text, icon or border
},
primary: {
default: brandColor.blue500, // For interactive, active, and selected semantics. Used for text, background, icon or border
Expand Down
4 changes: 4 additions & 0 deletions src/js/themes/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,10 @@ export type ThemeColors = {
* {string} overlay.alternative - For a stronger shading layer option behind modality screens
*/
alternative: string;
/**
* {string} overlay.inverse - For elements used on top of overlay/alternative. Used for text, icon or border
*/
inverse: string;
};
shadow: {
/**
Expand Down

0 comments on commit 0dd8193

Please sign in to comment.