Skip to content

Commit bb4ca86

Browse files
authored
Design Tokens - add backgroundInverted (#1909)
1 parent 7c11144 commit bb4ca86

File tree

6 files changed

+7
-0
lines changed

6 files changed

+7
-0
lines changed

generatedTypes/src/incubator/TextField/usePreset.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -388,6 +388,7 @@ export default function usePreset({ preset, ...props }: InternalTextFieldProps):
388388
$backgroundDark?: boolean | undefined;
389389
$backgroundDarkElevated?: boolean | undefined;
390390
$backgroundDarkActive?: boolean | undefined;
391+
$backgroundInverted?: boolean | undefined;
391392
$textDisabled?: boolean | undefined;
392393
$textDefault?: boolean | undefined;
393394
$textNeutralHeavy?: boolean | undefined;
@@ -800,6 +801,7 @@ export default function usePreset({ preset, ...props }: InternalTextFieldProps):
800801
$backgroundDark?: boolean | undefined;
801802
$backgroundDarkElevated?: boolean | undefined;
802803
$backgroundDarkActive?: boolean | undefined;
804+
$backgroundInverted?: boolean | undefined;
803805
$textDisabled?: boolean | undefined;
804806
$textDefault?: boolean | undefined;
805807
$textNeutralHeavy?: boolean | undefined;

generatedTypes/src/style/colors.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,7 @@ declare const colorObject: Colors & {
186186
$backgroundDark: string;
187187
$backgroundDarkElevated: string;
188188
$backgroundDarkActive: string;
189+
$backgroundInverted: string;
189190
$textDisabled: string;
190191
$textDefault: string;
191192
$textNeutralHeavy: string;

generatedTypes/src/style/designTokens.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ export declare const designTokens: {
2323
$backgroundDark: string;
2424
$backgroundDarkElevated: string;
2525
$backgroundDarkActive: string;
26+
$backgroundInverted: string;
2627
$textDisabled: string;
2728
$textDefault: string;
2829
$textNeutralHeavy: string;

generatedTypes/src/style/designTokensDM.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ export declare const designTokensDM: {
2323
$backgroundDark: string;
2424
$backgroundDarkElevated: string;
2525
$backgroundDarkActive: string;
26+
$backgroundInverted: string;
2627
$textDisabled: string;
2728
$textDefault: string;
2829
$textNeutralHeavy: string;

src/style/designTokens.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ export const designTokens = {
2626
$backgroundDark: colorsPalette.grey10,
2727
$backgroundDarkElevated: colorsPalette.grey10,
2828
$backgroundDarkActive: colorsPalette.grey20,
29+
$backgroundInverted: colorsPalette.grey10,
2930

3031
// TEXT
3132
$textDisabled: colorsPalette.grey50,

src/style/designTokensDM.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ export const designTokensDM = {
2626
$backgroundDark: colorsPalette.grey10,
2727
$backgroundDarkElevated: colorsPalette.grey20,
2828
$backgroundDarkActive: colorsPalette.grey20,
29+
$backgroundInverted: colorsPalette.white,
2930

3031
// TEXT
3132
$textDisabled: colorsPalette.grey20,

0 commit comments

Comments
 (0)