Skip to content

Infra/ Add $ to designTokens #1814

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 1 commit into from
Feb 2, 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
224 changes: 112 additions & 112 deletions generatedTypes/src/incubator/TextField/usePreset.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -361,62 +361,62 @@ export default function usePreset({ preset, ...props }: InternalTextFieldProps):
violet60?: boolean | undefined;
violet70?: boolean | undefined;
violet80?: boolean | undefined;
backgroundDefault?: boolean | undefined;
backgroundNeutralHeavy?: boolean | undefined;
backgroundNeutralIdle?: boolean | undefined;
backgroundNeutralMedium?: boolean | undefined;
backgroundNeutral?: boolean | undefined;
backgroundNeutralLight?: boolean | undefined;
backgroundPrimaryHeavy?: boolean | undefined;
backgroundPrimaryLight?: boolean | undefined;
backgroundPrimary?: boolean | undefined;
backgroundGeneralHeavy?: boolean | undefined;
backgroundGeneralLight?: boolean | undefined;
backgroundGeneral?: boolean | undefined;
backgroundSuccessHeavy?: boolean | undefined;
backgroundSuccess?: boolean | undefined;
backgroundWarningHeavy?: boolean | undefined;
backgroundWarning?: boolean | undefined;
backgroundMajor?: boolean | undefined;
backgroundDangerHeavy?: boolean | undefined;
backgroundDanger?: boolean | undefined;
backgroundDisabled?: boolean | undefined;
backgroundDark?: boolean | undefined;
textDisabled?: boolean | undefined;
textDefault?: boolean | undefined;
textNeutralHeavy?: boolean | undefined;
textNeutral?: boolean | undefined;
textNeutralLight?: boolean | undefined;
textDefaultLight?: boolean | undefined;
textPrimary?: boolean | undefined;
textGeneral?: boolean | undefined;
textSuccess?: boolean | undefined;
textMajor?: boolean | undefined;
textDanger?: boolean | undefined;
textDangerLight?: boolean | undefined;
iconDefault?: boolean | undefined;
iconNeutral?: boolean | undefined;
iconDefaultLight?: boolean | undefined;
iconPrimary?: boolean | undefined;
iconPrimaryLight?: boolean | undefined;
iconGeneral?: boolean | undefined;
iconGeneralLight?: boolean | undefined;
iconSuccess?: boolean | undefined;
iconSuccessLight?: boolean | undefined;
iconMajor?: boolean | undefined;
iconDanger?: boolean | undefined;
iconDangerLight?: boolean | undefined;
iconDisabled?: boolean | undefined;
outlineLight?: boolean | undefined;
outlineNeutral?: boolean | undefined;
outlineNeutralMedium?: boolean | undefined;
outlineDisabled?: boolean | undefined;
outlineDisabledHeavy?: boolean | undefined;
outlinePrimary?: boolean | undefined;
outlineGeneral?: boolean | undefined;
outlineWarning?: boolean | undefined;
outlineDanger?: boolean | undefined;
dividerDefault?: boolean | undefined;
$backgroundDefault?: boolean | undefined;
$backgroundNeutralHeavy?: boolean | undefined;
$backgroundNeutralIdle?: boolean | undefined;
$backgroundNeutralMedium?: boolean | undefined;
$backgroundNeutral?: boolean | undefined;
$backgroundNeutralLight?: boolean | undefined;
$backgroundPrimaryHeavy?: boolean | undefined;
$backgroundPrimaryLight?: boolean | undefined;
$backgroundPrimary?: boolean | undefined;
$backgroundGeneralHeavy?: boolean | undefined;
$backgroundGeneralLight?: boolean | undefined;
$backgroundGeneral?: boolean | undefined;
$backgroundSuccessHeavy?: boolean | undefined;
$backgroundSuccess?: boolean | undefined;
$backgroundWarningHeavy?: boolean | undefined;
$backgroundWarning?: boolean | undefined;
$backgroundMajor?: boolean | undefined;
$backgroundDangerHeavy?: boolean | undefined;
$backgroundDanger?: boolean | undefined;
$backgroundDisabled?: boolean | undefined;
$backgroundDark?: boolean | undefined;
$textDisabled?: boolean | undefined;
$textDefault?: boolean | undefined;
$textNeutralHeavy?: boolean | undefined;
$textNeutral?: boolean | undefined;
$textNeutralLight?: boolean | undefined;
$textDefaultLight?: boolean | undefined;
$textPrimary?: boolean | undefined;
$textGeneral?: boolean | undefined;
$textSuccess?: boolean | undefined;
$textMajor?: boolean | undefined;
$textDanger?: boolean | undefined;
$textDangerLight?: boolean | undefined;
$iconDefault?: boolean | undefined;
$iconNeutral?: boolean | undefined;
$iconDefaultLight?: boolean | undefined;
$iconPrimary?: boolean | undefined;
$iconPrimaryLight?: boolean | undefined;
$iconGeneral?: boolean | undefined;
$iconGeneralLight?: boolean | undefined;
$iconSuccess?: boolean | undefined;
$iconSuccessLight?: boolean | undefined;
$iconMajor?: boolean | undefined;
$iconDanger?: boolean | undefined;
$iconDangerLight?: boolean | undefined;
$iconDisabled?: boolean | undefined;
$outlineLight?: boolean | undefined;
$outlineNeutral?: boolean | undefined;
$outlineNeutralMedium?: boolean | undefined;
$outlineDisabled?: boolean | undefined;
$outlineDisabledHeavy?: boolean | undefined;
$outlinePrimary?: boolean | undefined;
$outlineGeneral?: boolean | undefined;
$outlineWarning?: boolean | undefined;
$outlineDanger?: boolean | undefined;
$dividerDefault?: boolean | undefined;
hint?: string | undefined;
color?: import("./types").ColorType | undefined;
placeholderTextColor?: import("./types").ColorType | undefined;
Expand Down Expand Up @@ -762,62 +762,62 @@ export default function usePreset({ preset, ...props }: InternalTextFieldProps):
violet60?: boolean | undefined;
violet70?: boolean | undefined;
violet80?: boolean | undefined;
backgroundDefault?: boolean | undefined;
backgroundNeutralHeavy?: boolean | undefined;
backgroundNeutralIdle?: boolean | undefined;
backgroundNeutralMedium?: boolean | undefined;
backgroundNeutral?: boolean | undefined;
backgroundNeutralLight?: boolean | undefined;
backgroundPrimaryHeavy?: boolean | undefined;
backgroundPrimaryLight?: boolean | undefined;
backgroundPrimary?: boolean | undefined;
backgroundGeneralHeavy?: boolean | undefined;
backgroundGeneralLight?: boolean | undefined;
backgroundGeneral?: boolean | undefined;
backgroundSuccessHeavy?: boolean | undefined;
backgroundSuccess?: boolean | undefined;
backgroundWarningHeavy?: boolean | undefined;
backgroundWarning?: boolean | undefined;
backgroundMajor?: boolean | undefined;
backgroundDangerHeavy?: boolean | undefined;
backgroundDanger?: boolean | undefined;
backgroundDisabled?: boolean | undefined;
backgroundDark?: boolean | undefined;
textDisabled?: boolean | undefined;
textDefault?: boolean | undefined;
textNeutralHeavy?: boolean | undefined;
textNeutral?: boolean | undefined;
textNeutralLight?: boolean | undefined;
textDefaultLight?: boolean | undefined;
textPrimary?: boolean | undefined;
textGeneral?: boolean | undefined;
textSuccess?: boolean | undefined;
textMajor?: boolean | undefined;
textDanger?: boolean | undefined;
textDangerLight?: boolean | undefined;
iconDefault?: boolean | undefined;
iconNeutral?: boolean | undefined;
iconDefaultLight?: boolean | undefined;
iconPrimary?: boolean | undefined;
iconPrimaryLight?: boolean | undefined;
iconGeneral?: boolean | undefined;
iconGeneralLight?: boolean | undefined;
iconSuccess?: boolean | undefined;
iconSuccessLight?: boolean | undefined;
iconMajor?: boolean | undefined;
iconDanger?: boolean | undefined;
iconDangerLight?: boolean | undefined;
iconDisabled?: boolean | undefined;
outlineLight?: boolean | undefined;
outlineNeutral?: boolean | undefined;
outlineNeutralMedium?: boolean | undefined;
outlineDisabled?: boolean | undefined;
outlineDisabledHeavy?: boolean | undefined;
outlinePrimary?: boolean | undefined;
outlineGeneral?: boolean | undefined;
outlineWarning?: boolean | undefined;
outlineDanger?: boolean | undefined;
dividerDefault?: boolean | undefined;
$backgroundDefault?: boolean | undefined;
$backgroundNeutralHeavy?: boolean | undefined;
$backgroundNeutralIdle?: boolean | undefined;
$backgroundNeutralMedium?: boolean | undefined;
$backgroundNeutral?: boolean | undefined;
$backgroundNeutralLight?: boolean | undefined;
$backgroundPrimaryHeavy?: boolean | undefined;
$backgroundPrimaryLight?: boolean | undefined;
$backgroundPrimary?: boolean | undefined;
$backgroundGeneralHeavy?: boolean | undefined;
$backgroundGeneralLight?: boolean | undefined;
$backgroundGeneral?: boolean | undefined;
$backgroundSuccessHeavy?: boolean | undefined;
$backgroundSuccess?: boolean | undefined;
$backgroundWarningHeavy?: boolean | undefined;
$backgroundWarning?: boolean | undefined;
$backgroundMajor?: boolean | undefined;
$backgroundDangerHeavy?: boolean | undefined;
$backgroundDanger?: boolean | undefined;
$backgroundDisabled?: boolean | undefined;
$backgroundDark?: boolean | undefined;
$textDisabled?: boolean | undefined;
$textDefault?: boolean | undefined;
$textNeutralHeavy?: boolean | undefined;
$textNeutral?: boolean | undefined;
$textNeutralLight?: boolean | undefined;
$textDefaultLight?: boolean | undefined;
$textPrimary?: boolean | undefined;
$textGeneral?: boolean | undefined;
$textSuccess?: boolean | undefined;
$textMajor?: boolean | undefined;
$textDanger?: boolean | undefined;
$textDangerLight?: boolean | undefined;
$iconDefault?: boolean | undefined;
$iconNeutral?: boolean | undefined;
$iconDefaultLight?: boolean | undefined;
$iconPrimary?: boolean | undefined;
$iconPrimaryLight?: boolean | undefined;
$iconGeneral?: boolean | undefined;
$iconGeneralLight?: boolean | undefined;
$iconSuccess?: boolean | undefined;
$iconSuccessLight?: boolean | undefined;
$iconMajor?: boolean | undefined;
$iconDanger?: boolean | undefined;
$iconDangerLight?: boolean | undefined;
$iconDisabled?: boolean | undefined;
$outlineLight?: boolean | undefined;
$outlineNeutral?: boolean | undefined;
$outlineNeutralMedium?: boolean | undefined;
$outlineDisabled?: boolean | undefined;
$outlineDisabledHeavy?: boolean | undefined;
$outlinePrimary?: boolean | undefined;
$outlineGeneral?: boolean | undefined;
$outlineWarning?: boolean | undefined;
$outlineDanger?: boolean | undefined;
$dividerDefault?: boolean | undefined;
hint?: string | undefined;
color?: import("./types").ColorType | undefined;
placeholderTextColor?: import("./types").ColorType | undefined;
Expand Down
112 changes: 56 additions & 56 deletions generatedTypes/src/style/colors.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,61 +148,61 @@ declare const colorObject: Colors & {
} & {
primary: string;
} & {
backgroundDefault: string;
backgroundNeutralHeavy: string;
backgroundNeutralIdle: string;
backgroundNeutralMedium: string;
backgroundNeutral: string;
backgroundNeutralLight: string;
backgroundPrimaryHeavy: string;
backgroundPrimaryLight: string;
backgroundPrimary: string;
backgroundGeneralHeavy: string;
backgroundGeneralLight: string;
backgroundGeneral: string;
backgroundSuccessHeavy: string;
backgroundSuccess: string;
backgroundWarningHeavy: string;
backgroundWarning: string;
backgroundMajor: string;
backgroundDangerHeavy: string;
backgroundDanger: string;
backgroundDisabled: string;
backgroundDark: string;
textDisabled: string;
textDefault: string;
textNeutralHeavy: string;
textNeutral: string;
textNeutralLight: string;
textDefaultLight: string;
textPrimary: string;
textGeneral: string;
textSuccess: string;
textMajor: string;
textDanger: string;
textDangerLight: string;
iconDefault: string;
iconNeutral: string;
iconDefaultLight: string;
iconPrimary: string;
iconPrimaryLight: string;
iconGeneral: string;
iconGeneralLight: string;
iconSuccess: string;
iconSuccessLight: string;
iconMajor: string;
iconDanger: string;
iconDangerLight: string;
iconDisabled: string;
outlineLight: string;
outlineNeutral: string;
outlineNeutralMedium: string;
outlineDisabled: string;
outlineDisabledHeavy: string;
outlinePrimary: string;
outlineGeneral: string;
outlineWarning: string;
outlineDanger: string;
dividerDefault: string;
$backgroundDefault: string;
$backgroundNeutralHeavy: string;
$backgroundNeutralIdle: string;
$backgroundNeutralMedium: string;
$backgroundNeutral: string;
$backgroundNeutralLight: string;
$backgroundPrimaryHeavy: string;
$backgroundPrimaryLight: string;
$backgroundPrimary: string;
$backgroundGeneralHeavy: string;
$backgroundGeneralLight: string;
$backgroundGeneral: string;
$backgroundSuccessHeavy: string;
$backgroundSuccess: string;
$backgroundWarningHeavy: string;
$backgroundWarning: string;
$backgroundMajor: string;
$backgroundDangerHeavy: string;
$backgroundDanger: string;
$backgroundDisabled: string;
$backgroundDark: string;
$textDisabled: string;
$textDefault: string;
$textNeutralHeavy: string;
$textNeutral: string;
$textNeutralLight: string;
$textDefaultLight: string;
$textPrimary: string;
$textGeneral: string;
$textSuccess: string;
$textMajor: string;
$textDanger: string;
$textDangerLight: string;
$iconDefault: string;
$iconNeutral: string;
$iconDefaultLight: string;
$iconPrimary: string;
$iconPrimaryLight: string;
$iconGeneral: string;
$iconGeneralLight: string;
$iconSuccess: string;
$iconSuccessLight: string;
$iconMajor: string;
$iconDanger: string;
$iconDangerLight: string;
$iconDisabled: string;
$outlineLight: string;
$outlineNeutral: string;
$outlineNeutralMedium: string;
$outlineDisabled: string;
$outlineDisabledHeavy: string;
$outlinePrimary: string;
$outlineGeneral: string;
$outlineWarning: string;
$outlineDanger: string;
$dividerDefault: string;
};
export default colorObject;
Loading