Skip to content
This repository has been archived by the owner on Nov 26, 2024. It is now read-only.

Commit

Permalink
feat: readded overlay inverse back in js tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
brianacnguyen committed May 30, 2024
1 parent 3cbaae3 commit e50c5dc
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1 deletion.
1 change: 0 additions & 1 deletion MIGRATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ brandColor.black000 modified to brandColor.black
#### JS Tokens

```
colors.overlay.inverse removed
colors.primary.shadow modified to colors.shadow.primary
colors.primary.disabled removed
colors.secondary.default removed
Expand Down
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 shade of screen
*/
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 e50c5dc

Please sign in to comment.