Skip to content

Design Tokens - add backgroundInverted #1909

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 21, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions generatedTypes/src/incubator/TextField/usePreset.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,7 @@ export default function usePreset({ preset, ...props }: InternalTextFieldProps):
$backgroundDark?: boolean | undefined;
$backgroundDarkElevated?: boolean | undefined;
$backgroundDarkActive?: boolean | undefined;
$backgroundInverted?: boolean | undefined;
$textDisabled?: boolean | undefined;
$textDefault?: boolean | undefined;
$textNeutralHeavy?: boolean | undefined;
Expand Down Expand Up @@ -800,6 +801,7 @@ export default function usePreset({ preset, ...props }: InternalTextFieldProps):
$backgroundDark?: boolean | undefined;
$backgroundDarkElevated?: boolean | undefined;
$backgroundDarkActive?: boolean | undefined;
$backgroundInverted?: boolean | undefined;
$textDisabled?: boolean | undefined;
$textDefault?: boolean | undefined;
$textNeutralHeavy?: boolean | undefined;
Expand Down
1 change: 1 addition & 0 deletions generatedTypes/src/style/colors.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ declare const colorObject: Colors & {
$backgroundDark: string;
$backgroundDarkElevated: string;
$backgroundDarkActive: string;
$backgroundInverted: string;
$textDisabled: string;
$textDefault: string;
$textNeutralHeavy: string;
Expand Down
1 change: 1 addition & 0 deletions generatedTypes/src/style/designTokens.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export declare const designTokens: {
$backgroundDark: string;
$backgroundDarkElevated: string;
$backgroundDarkActive: string;
$backgroundInverted: string;
$textDisabled: string;
$textDefault: string;
$textNeutralHeavy: string;
Expand Down
1 change: 1 addition & 0 deletions generatedTypes/src/style/designTokensDM.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export declare const designTokensDM: {
$backgroundDark: string;
$backgroundDarkElevated: string;
$backgroundDarkActive: string;
$backgroundInverted: string;
$textDisabled: string;
$textDefault: string;
$textNeutralHeavy: string;
Expand Down
1 change: 1 addition & 0 deletions src/style/designTokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ export const designTokens = {
$backgroundDark: colorsPalette.grey10,
$backgroundDarkElevated: colorsPalette.grey10,
$backgroundDarkActive: colorsPalette.grey20,
$backgroundInverted: colorsPalette.grey10,

// TEXT
$textDisabled: colorsPalette.grey50,
Expand Down
1 change: 1 addition & 0 deletions src/style/designTokensDM.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ export const designTokensDM = {
$backgroundDark: colorsPalette.grey10,
$backgroundDarkElevated: colorsPalette.grey20,
$backgroundDarkActive: colorsPalette.grey20,
$backgroundInverted: colorsPalette.white,

// TEXT
$textDisabled: colorsPalette.grey20,
Expand Down