baseui 10.12.0 → 11.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/accordion/accordion.js +60 -13
- package/accordion/accordion.js.flow +49 -12
- package/accordion/index.d.ts +0 -3
- package/accordion/panel.js +7 -6
- package/accordion/panel.js.flow +20 -20
- package/accordion/stateless-accordion.js +2 -4
- package/accordion/stateless-accordion.js.flow +0 -2
- package/accordion/types.js.flow +0 -5
- package/button/constants.js +1 -2
- package/button/constants.js.flow +0 -1
- package/button/index.d.ts +0 -1
- package/button/styled-components.js +2 -29
- package/button/styled-components.js.flow +2 -30
- package/checkbox/checkbox.js +6 -30
- package/checkbox/checkbox.js.flow +7 -38
- package/checkbox/constants.js +2 -1
- package/checkbox/constants.js.flow +2 -1
- package/checkbox/index.d.ts +4 -6
- package/checkbox/index.js +0 -6
- package/checkbox/index.js.flow +0 -1
- package/checkbox/styled-components.js +52 -149
- package/checkbox/styled-components.js.flow +59 -165
- package/checkbox/types.js.flow +0 -5
- package/data-table/column-categorical.js +1 -1
- package/data-table/column-categorical.js.flow +1 -1
- package/data-table/column-datetime.js +1 -1
- package/data-table/column-datetime.js.flow +3 -1
- package/data-table/column.js +6 -2
- package/data-table/column.js.flow +9 -7
- package/data-table/data-table.js +10 -2
- package/data-table/data-table.js.flow +4 -1
- package/data-table/header-cell.js +3 -0
- package/data-table/header-cell.js.flow +1 -1
- package/data-table/index.d.ts +7 -8
- package/data-table/stateful-data-table.js +2 -1
- package/data-table/stateful-data-table.js.flow +1 -0
- package/data-table/types.js.flow +8 -0
- package/datepicker/calendar.js +15 -7
- package/datepicker/calendar.js.flow +23 -9
- package/datepicker/constants.js +12 -2
- package/datepicker/constants.js.flow +10 -0
- package/datepicker/datepicker.js +61 -30
- package/datepicker/datepicker.js.flow +77 -37
- package/datepicker/day.js +85 -34
- package/datepicker/day.js.flow +118 -54
- package/datepicker/locale.js.flow +0 -1
- package/datepicker/month.js +3 -1
- package/datepicker/month.js.flow +2 -0
- package/datepicker/stateful-container.js.flow +2 -1
- package/datepicker/styled-components.js +23 -1
- package/datepicker/styled-components.js.flow +12 -2
- package/datepicker/types.js.flow +35 -10
- package/datepicker/utils/date-helpers.js +30 -0
- package/datepicker/utils/date-helpers.js.flow +12 -0
- package/datepicker/week.js +3 -1
- package/datepicker/week.js.flow +2 -0
- package/es/accordion/accordion.js +52 -12
- package/es/accordion/panel.js +7 -5
- package/es/accordion/stateless-accordion.js +2 -4
- package/es/button/constants.js +1 -2
- package/es/button/styled-components.js +2 -29
- package/es/checkbox/checkbox.js +7 -32
- package/es/checkbox/constants.js +2 -1
- package/es/checkbox/index.js +1 -1
- package/es/checkbox/styled-components.js +51 -146
- package/es/data-table/column-categorical.js +1 -1
- package/es/data-table/column-datetime.js +1 -1
- package/es/data-table/column.js +6 -2
- package/es/data-table/data-table.js +6 -2
- package/es/data-table/header-cell.js +3 -0
- package/es/data-table/stateful-data-table.js +2 -1
- package/es/datepicker/calendar.js +15 -7
- package/es/datepicker/constants.js +8 -0
- package/es/datepicker/datepicker.js +56 -29
- package/es/datepicker/day.js +77 -34
- package/es/datepicker/month.js +3 -1
- package/es/datepicker/styled-components.js +8 -2
- package/es/datepicker/types.js +1 -1
- package/es/datepicker/utils/date-helpers.js +16 -0
- package/es/datepicker/week.js +3 -1
- package/es/file-uploader/file-uploader.js +4 -4
- package/es/form-control/styled-components.js +0 -1
- package/es/header-navigation/styled-components.js +3 -3
- package/es/helpers/overrides.js +1 -2
- package/es/input/styled-components.js +4 -4
- package/es/layer/layer.js +4 -4
- package/es/list/list-item.js +5 -1
- package/es/list/menu-adapter.js +4 -0
- package/es/locale/index.js +0 -7
- package/es/menu/stateful-container.js +0 -1
- package/es/menu/styled-components.js +1 -1
- package/es/modal/index.js +1 -1
- package/es/modal/modal.js +19 -65
- package/es/modal/styled-components.js +12 -48
- package/es/phone-input/default-props.js +1 -1
- package/es/phone-input/index.js +0 -4
- package/es/phone-input/phone-input-lite.js +55 -31
- package/es/radio/radio.js +1 -7
- package/es/radio/radiogroup.js +3 -28
- package/es/radio/styled-components.js +4 -5
- package/es/rating/styled-components.js +3 -3
- package/es/select/index.js +1 -2
- package/es/select/select-component.js +20 -20
- package/es/select/styled-components.js +21 -17
- package/es/snackbar/styled-components.js +2 -2
- package/es/spinner/index.js +3 -9
- package/es/spinner/styled-components.js +2 -32
- package/es/table/filter.js +3 -3
- package/es/tag/styled-components.js +1 -1
- package/es/themes/dark-theme/color-component-tokens.js +0 -38
- package/es/themes/dark-theme/color-tokens.js +0 -2
- package/es/themes/dark-theme/create-dark-theme.js +0 -2
- package/es/themes/dark-theme/dark-theme.js +0 -2
- package/es/themes/light-theme/color-component-tokens.js +0 -38
- package/es/themes/light-theme/color-tokens.js +0 -2
- package/es/themes/light-theme/create-light-theme.js +0 -2
- package/es/themes/light-theme/light-theme.js +0 -2
- package/es/timepicker/timepicker.js +1 -8
- package/es/typography/index.js +1 -31
- package/esm/accordion/accordion.js +60 -13
- package/esm/accordion/panel.js +7 -6
- package/esm/accordion/stateless-accordion.js +2 -4
- package/esm/button/constants.js +1 -2
- package/esm/button/styled-components.js +2 -29
- package/esm/checkbox/checkbox.js +7 -30
- package/esm/checkbox/constants.js +2 -1
- package/esm/checkbox/index.js +1 -1
- package/esm/checkbox/styled-components.js +52 -147
- package/esm/data-table/column-categorical.js +1 -1
- package/esm/data-table/column-datetime.js +1 -1
- package/esm/data-table/column.js +6 -2
- package/esm/data-table/data-table.js +10 -2
- package/esm/data-table/header-cell.js +3 -0
- package/esm/data-table/stateful-data-table.js +2 -1
- package/esm/datepicker/calendar.js +15 -7
- package/esm/datepicker/constants.js +8 -0
- package/esm/datepicker/datepicker.js +60 -30
- package/esm/datepicker/day.js +84 -34
- package/esm/datepicker/month.js +3 -1
- package/esm/datepicker/styled-components.js +24 -2
- package/esm/datepicker/types.js +1 -1
- package/esm/datepicker/utils/date-helpers.js +30 -0
- package/esm/datepicker/week.js +3 -1
- package/esm/file-uploader/file-uploader.js +4 -4
- package/esm/form-control/styled-components.js +0 -1
- package/esm/header-navigation/styled-components.js +3 -3
- package/esm/helpers/overrides.js +1 -2
- package/esm/input/styled-components.js +4 -4
- package/esm/layer/layer.js +4 -4
- package/esm/list/list-item.js +5 -1
- package/esm/list/menu-adapter.js +4 -0
- package/esm/locale/index.js +0 -7
- package/esm/menu/stateful-container.js +0 -1
- package/esm/menu/styled-components.js +1 -1
- package/esm/modal/index.js +1 -1
- package/esm/modal/modal.js +28 -71
- package/esm/modal/styled-components.js +6 -38
- package/esm/phone-input/default-props.js +1 -1
- package/esm/phone-input/index.js +0 -4
- package/esm/phone-input/phone-input-lite.js +60 -37
- package/esm/radio/radio.js +1 -7
- package/esm/radio/radiogroup.js +3 -28
- package/esm/radio/styled-components.js +4 -5
- package/esm/rating/styled-components.js +3 -3
- package/esm/select/index.js +1 -2
- package/esm/select/select-component.js +20 -20
- package/esm/select/styled-components.js +21 -14
- package/esm/snackbar/styled-components.js +2 -2
- package/esm/spinner/index.js +3 -9
- package/esm/spinner/styled-components.js +2 -40
- package/esm/table/filter.js +3 -3
- package/esm/tag/styled-components.js +1 -1
- package/esm/themes/dark-theme/color-component-tokens.js +0 -38
- package/esm/themes/dark-theme/color-tokens.js +0 -2
- package/esm/themes/dark-theme/create-dark-theme.js +1 -2
- package/esm/themes/dark-theme/dark-theme.js +1 -2
- package/esm/themes/light-theme/color-component-tokens.js +0 -38
- package/esm/themes/light-theme/color-tokens.js +0 -2
- package/esm/themes/light-theme/create-light-theme.js +1 -2
- package/esm/themes/light-theme/light-theme.js +1 -2
- package/esm/timepicker/timepicker.js +1 -8
- package/esm/typography/index.js +1 -35
- package/file-uploader/file-uploader.js +3 -3
- package/file-uploader/file-uploader.js.flow +4 -4
- package/form-control/index.d.ts +9 -0
- package/form-control/styled-components.js +0 -1
- package/form-control/styled-components.js.flow +0 -1
- package/header-navigation/styled-components.js +3 -3
- package/header-navigation/styled-components.js.flow +3 -3
- package/helpers/overrides.js +1 -2
- package/helpers/overrides.js.flow +1 -1
- package/input/index.d.ts +5 -9
- package/input/styled-components.js +4 -4
- package/input/styled-components.js.flow +4 -4
- package/layer/layer.js +4 -4
- package/layer/layer.js.flow +4 -3
- package/list/list-item.js +5 -1
- package/list/list-item.js.flow +4 -0
- package/list/menu-adapter.js +4 -0
- package/list/menu-adapter.js.flow +4 -0
- package/list/types.js.flow +4 -0
- package/locale/index.js +0 -7
- package/locale/index.js.flow +0 -7
- package/locale.ts +0 -1
- package/menu/index.d.ts +1 -3
- package/menu/stateful-container.js +0 -1
- package/menu/stateful-container.js.flow +0 -1
- package/menu/styled-components.js +1 -1
- package/menu/styled-components.js.flow +1 -1
- package/modal/index.d.ts +4 -6
- package/modal/index.js +0 -6
- package/modal/index.js.flow +0 -1
- package/modal/modal.js +27 -70
- package/modal/modal.js.flow +17 -83
- package/modal/styled-components.js +7 -40
- package/modal/styled-components.js.flow +12 -44
- package/modal/types.js.flow +1 -10
- package/package.json +3 -2
- package/phone-input/default-props.js +1 -1
- package/phone-input/default-props.js.flow +1 -1
- package/phone-input/index.d.ts +0 -1
- package/phone-input/index.js +0 -36
- package/phone-input/index.js.flow +0 -4
- package/phone-input/phone-input-lite.js +63 -38
- package/phone-input/phone-input-lite.js.flow +66 -44
- package/radio/index.d.ts +4 -9
- package/radio/radio.js +1 -7
- package/radio/radio.js.flow +1 -8
- package/radio/radiogroup.js +3 -28
- package/radio/radiogroup.js.flow +2 -26
- package/radio/styled-components.js +4 -5
- package/radio/styled-components.js.flow +3 -4
- package/radio/types.js.flow +4 -15
- package/rating/styled-components.js +3 -3
- package/rating/styled-components.js.flow +3 -3
- package/select/index.d.ts +0 -2
- package/select/index.js +0 -6
- package/select/index.js.flow +0 -2
- package/select/select-component.js +23 -24
- package/select/select-component.js.flow +25 -14
- package/select/styled-components.js +23 -17
- package/select/styled-components.js.flow +17 -12
- package/snackbar/styled-components.js +1 -1
- package/snackbar/styled-components.js.flow +11 -11
- package/spinner/index.d.ts +5 -18
- package/spinner/index.js +2 -68
- package/spinner/index.js.flow +2 -27
- package/spinner/styled-components.js +9 -45
- package/spinner/styled-components.js.flow +2 -34
- package/spinner/types.js.flow +1 -19
- package/styles/types.js.flow +0 -2
- package/table/filter.js +3 -3
- package/table/filter.js.flow +3 -3
- package/tag/styled-components.js +1 -1
- package/tag/styled-components.js.flow +1 -1
- package/theme.ts +0 -81
- package/themes/dark-theme/color-component-tokens.js +0 -38
- package/themes/dark-theme/color-component-tokens.js.flow +0 -42
- package/themes/dark-theme/color-tokens.js +0 -2
- package/themes/dark-theme/color-tokens.js.flow +0 -2
- package/themes/dark-theme/create-dark-theme.js +1 -3
- package/themes/dark-theme/create-dark-theme.js.flow +0 -2
- package/themes/dark-theme/dark-theme.js +1 -3
- package/themes/dark-theme/dark-theme.js.flow +0 -2
- package/themes/light-theme/color-component-tokens.js +0 -38
- package/themes/light-theme/color-component-tokens.js.flow +0 -43
- package/themes/light-theme/color-tokens.js +0 -2
- package/themes/light-theme/color-tokens.js.flow +0 -2
- package/themes/light-theme/create-light-theme.js +1 -3
- package/themes/light-theme/create-light-theme.js.flow +0 -2
- package/themes/light-theme/light-theme.js +1 -3
- package/themes/light-theme/light-theme.js.flow +0 -2
- package/themes/types.js.flow +0 -68
- package/timepicker/timepicker.js +1 -8
- package/timepicker/timepicker.js.flow +4 -10
- package/typography/index.d.ts +0 -23
- package/typography/index.js +2 -57
- package/typography/index.js.flow +0 -31
- package/es/spinner/spinner.js +0 -68
- package/es/themes/dark-theme/color-deprecated-semantic-tokens.js +0 -35
- package/es/themes/light-theme/color-deprecated-semantic-tokens.js +0 -35
- package/esm/spinner/spinner.js +0 -125
- package/esm/themes/dark-theme/color-deprecated-semantic-tokens.js +0 -38
- package/esm/themes/light-theme/color-deprecated-semantic-tokens.js +0 -38
- package/spinner/spinner.js +0 -136
- package/spinner/spinner.js.flow +0 -75
- package/themes/dark-theme/color-deprecated-semantic-tokens.js +0 -50
- package/themes/dark-theme/color-deprecated-semantic-tokens.js.flow +0 -42
- package/themes/light-theme/color-deprecated-semantic-tokens.js +0 -50
- package/themes/light-theme/color-deprecated-semantic-tokens.js.flow +0 -42
|
@@ -46,15 +46,6 @@ export default (themePrimitives: ColorTokensT = colorTokens): ComponentColorToke
|
|
|
46
46
|
buttonTertiarySpinnerForeground: themePrimitives.primary50,
|
|
47
47
|
buttonTertiarySpinnerBackground: themePrimitives.primary500,
|
|
48
48
|
|
|
49
|
-
buttonMinimalFill: 'transparent',
|
|
50
|
-
buttonMinimalText: themePrimitives.primary,
|
|
51
|
-
buttonMinimalHover: themePrimitives.primary700,
|
|
52
|
-
buttonMinimalActive: themePrimitives.primary600,
|
|
53
|
-
buttonMinimalSelectedText: themePrimitives.primary,
|
|
54
|
-
buttonMinimalSelectedFill: themePrimitives.primary600,
|
|
55
|
-
buttonMinimalSpinnerForeground: themePrimitives.primary50,
|
|
56
|
-
buttonMinimalSpinnerBackground: themePrimitives.primary500,
|
|
57
|
-
|
|
58
49
|
buttonDisabledFill: themePrimitives.mono600,
|
|
59
50
|
buttonDisabledText: themePrimitives.mono300,
|
|
60
51
|
buttonDisabledActiveFill: themePrimitives.mono200,
|
|
@@ -67,13 +58,6 @@ export default (themePrimitives: ColorTokensT = colorTokens): ComponentColorToke
|
|
|
67
58
|
breadcrumbsSeparatorFill: themePrimitives.mono200,
|
|
68
59
|
|
|
69
60
|
// Datepicker
|
|
70
|
-
datepickerBackground: themePrimitives.mono600,
|
|
71
|
-
datepickerDayFont: themePrimitives.white,
|
|
72
|
-
datepickerDayFontDisabled: themePrimitives.mono100,
|
|
73
|
-
datepickerDayPseudoSelected: themePrimitives.mono500,
|
|
74
|
-
datepickerDayPseudoHighlighted: themePrimitives.mono600,
|
|
75
|
-
|
|
76
|
-
// Calendar
|
|
77
61
|
calendarBackground: themePrimitives.mono800,
|
|
78
62
|
calendarForeground: themePrimitives.white,
|
|
79
63
|
calendarForegroundDisabled: themePrimitives.mono300,
|
|
@@ -81,7 +65,6 @@ export default (themePrimitives: ColorTokensT = colorTokens): ComponentColorToke
|
|
|
81
65
|
calendarHeaderForeground: themePrimitives.primary,
|
|
82
66
|
calendarHeaderBackgroundActive: themePrimitives.primary600,
|
|
83
67
|
calendarHeaderForegroundDisabled: themePrimitives.primary500,
|
|
84
|
-
calendarDayBackgroundPseudoSelected: themePrimitives.primary700,
|
|
85
68
|
calendarDayForegroundPseudoSelected: themePrimitives.primary,
|
|
86
69
|
calendarDayBackgroundPseudoSelectedHighlighted: themePrimitives.primary600,
|
|
87
70
|
calendarDayForegroundPseudoSelectedHighlighted: themePrimitives.primary,
|
|
@@ -110,15 +93,12 @@ export default (themePrimitives: ColorTokensT = colorTokens): ComponentColorToke
|
|
|
110
93
|
// List
|
|
111
94
|
listHeaderFill: themePrimitives.mono600,
|
|
112
95
|
listBodyFill: themePrimitives.mono800,
|
|
113
|
-
listIconFill: themePrimitives.mono100,
|
|
114
|
-
listBorder: themePrimitives.mono500,
|
|
115
96
|
|
|
116
97
|
// ProgressSteps
|
|
117
98
|
progressStepsCompletedText: themePrimitives.black,
|
|
118
99
|
progressStepsCompletedFill: themePrimitives.primary,
|
|
119
100
|
progressStepsActiveText: themePrimitives.black,
|
|
120
101
|
progressStepsActiveFill: themePrimitives.primary,
|
|
121
|
-
progressStepsIconActiveFill: themePrimitives.primary,
|
|
122
102
|
|
|
123
103
|
// Modal
|
|
124
104
|
modalCloseColor: themePrimitives.mono300,
|
|
@@ -126,8 +106,6 @@ export default (themePrimitives: ColorTokensT = colorTokens): ComponentColorToke
|
|
|
126
106
|
modalCloseColorFocus: themePrimitives.mono400,
|
|
127
107
|
|
|
128
108
|
// Notification
|
|
129
|
-
notificationPrimaryBackground: themePrimitives.primary700,
|
|
130
|
-
notificationPrimaryText: themePrimitives.primaryA,
|
|
131
109
|
notificationInfoBackground: themePrimitives.accent700,
|
|
132
110
|
notificationInfoText: themePrimitives.primaryA,
|
|
133
111
|
notificationPositiveBackground: themePrimitives.positive700,
|
|
@@ -141,7 +119,6 @@ export default (themePrimitives: ColorTokensT = colorTokens): ComponentColorToke
|
|
|
141
119
|
|
|
142
120
|
// Custom ramps
|
|
143
121
|
tagFontDisabledRampUnit: '600',
|
|
144
|
-
tagOutlinedDisabledRampUnit: '700',
|
|
145
122
|
tagSolidFontRampUnit: '0',
|
|
146
123
|
tagSolidRampUnit: '500',
|
|
147
124
|
tagOutlinedFontRampUnit: '500',
|
|
@@ -154,7 +131,6 @@ export default (themePrimitives: ColorTokensT = colorTokens): ComponentColorToke
|
|
|
154
131
|
tagLightRampUnit: '700',
|
|
155
132
|
tagLightHoverRampUnit: '700',
|
|
156
133
|
tagLightActiveRampUnit: '600',
|
|
157
|
-
tagLightDisabledRampUnit: '700',
|
|
158
134
|
tagLightFontRampUnit: '100',
|
|
159
135
|
tagLightFontHoverRampUnit: '100',
|
|
160
136
|
tagOutlinedActiveRampUnit: '300',
|
|
@@ -304,7 +280,6 @@ export default (themePrimitives: ColorTokensT = colorTokens): ComponentColorToke
|
|
|
304
280
|
|
|
305
281
|
// Toast
|
|
306
282
|
toastText: themePrimitives.white,
|
|
307
|
-
toastPrimaryBackground: themePrimitives.primary400,
|
|
308
283
|
toastPrimaryText: themePrimitives.white,
|
|
309
284
|
toastInfoBackground: themePrimitives.accent400,
|
|
310
285
|
toastInfoText: themePrimitives.white,
|
|
@@ -354,23 +329,12 @@ export default (themePrimitives: ColorTokensT = colorTokens): ComponentColorToke
|
|
|
354
329
|
sliderHandleFillDisabled: themePrimitives.primary500,
|
|
355
330
|
sliderHandleInnerFill: themePrimitives.primaryA,
|
|
356
331
|
|
|
357
|
-
sliderHandleFillHover: themePrimitives.mono300,
|
|
358
|
-
sliderHandleFillActive: themePrimitives.mono300,
|
|
359
|
-
sliderHandleFillSelected: themePrimitives.primary500,
|
|
360
|
-
sliderHandleFillSelectedHover: themePrimitives.primary600,
|
|
361
|
-
sliderHandleFillSelectedActive: themePrimitives.primary700,
|
|
362
332
|
sliderTrackFillHover: themePrimitives.mono500,
|
|
363
333
|
sliderTrackFillActive: themePrimitives.mono400,
|
|
364
|
-
sliderTrackFillSelected: themePrimitives.primary500,
|
|
365
|
-
sliderTrackFillSelectedActive: themePrimitives.primary600,
|
|
366
|
-
sliderTrackFillSelectedHover: themePrimitives.primary700,
|
|
367
334
|
sliderTrackFillDisabled: themePrimitives.mono700,
|
|
368
335
|
sliderHandleInnerFillDisabled: themePrimitives.mono500,
|
|
369
336
|
sliderHandleInnerFillSelectedHover: themePrimitives.primary600,
|
|
370
337
|
sliderHandleInnerFillSelectedActive: themePrimitives.primary700,
|
|
371
|
-
sliderBorder: themePrimitives.white,
|
|
372
|
-
sliderBorderHover: themePrimitives.white,
|
|
373
|
-
sliderBorderDisabled: themePrimitives.mono400,
|
|
374
338
|
|
|
375
339
|
// Input
|
|
376
340
|
inputBorder: themePrimitives.mono600,
|
|
@@ -396,12 +360,6 @@ export default (themePrimitives: ColorTokensT = colorTokens): ComponentColorToke
|
|
|
396
360
|
menuFontHighlighted: themePrimitives.white,
|
|
397
361
|
menuFontSelected: themePrimitives.white,
|
|
398
362
|
|
|
399
|
-
// Pagination
|
|
400
|
-
paginationTriangleDown: themePrimitives.mono100,
|
|
401
|
-
|
|
402
|
-
// Header navigation
|
|
403
|
-
headerNavigationFill: themePrimitives.mono700,
|
|
404
|
-
|
|
405
363
|
// Tab
|
|
406
364
|
tabBarFill: themePrimitives.mono1000,
|
|
407
365
|
tabColor: themePrimitives.mono300,
|
|
@@ -82,8 +82,6 @@ var darkColorTokens = {
|
|
|
82
82
|
mono900: '#111111',
|
|
83
83
|
mono1000: _index.colors.black,
|
|
84
84
|
// Rating Palette,
|
|
85
|
-
rating200: _index.colors.yellow200,
|
|
86
|
-
rating400: _index.colors.yellow400,
|
|
87
85
|
ratingInactiveFill: _index.colors.gray500,
|
|
88
86
|
ratingStroke: _index.colors.gray700
|
|
89
87
|
};
|
|
@@ -77,8 +77,6 @@ export const darkColorTokens: ColorTokensT = {
|
|
|
77
77
|
mono900: '#111111',
|
|
78
78
|
mono1000: colors.black,
|
|
79
79
|
// Rating Palette,
|
|
80
|
-
rating200: colors.yellow200,
|
|
81
|
-
rating400: colors.yellow400,
|
|
82
80
|
ratingInactiveFill: colors.gray500,
|
|
83
81
|
ratingStroke: colors.gray700,
|
|
84
82
|
};
|
|
@@ -17,8 +17,6 @@ var _colorTokens = _interopRequireDefault(require("./color-tokens.js"));
|
|
|
17
17
|
|
|
18
18
|
var _colorComponentTokens = _interopRequireDefault(require("./color-component-tokens.js"));
|
|
19
19
|
|
|
20
|
-
var _colorDeprecatedSemanticTokens = _interopRequireDefault(require("./color-deprecated-semantic-tokens.js"));
|
|
21
|
-
|
|
22
20
|
var _colorSemanticTokens = _interopRequireDefault(require("./color-semantic-tokens.js"));
|
|
23
21
|
|
|
24
22
|
var _typography = _interopRequireDefault(require("../shared/typography.js"));
|
|
@@ -59,7 +57,7 @@ function createDarkTheme() {
|
|
|
59
57
|
animation: _animation.default,
|
|
60
58
|
borders: _borders.default,
|
|
61
59
|
breakpoints: _breakpoints.default,
|
|
62
|
-
colors: _objectSpread(_objectSpread(_objectSpread(
|
|
60
|
+
colors: _objectSpread(_objectSpread(_objectSpread({}, colorTokens), (0, _colorComponentTokens.default)(colorTokens)), (0, _colorSemanticTokens.default)(colorTokens)),
|
|
63
61
|
direction: 'auto',
|
|
64
62
|
grid: _grid.default,
|
|
65
63
|
lighting: _lighting.default,
|
|
@@ -12,7 +12,6 @@ import breakpoints from '../shared/breakpoints.js';
|
|
|
12
12
|
import deepMerge from '../../utils/deep-merge.js';
|
|
13
13
|
import defaultColorTokens from './color-tokens.js';
|
|
14
14
|
import getComponentColorTokens from './color-component-tokens.js';
|
|
15
|
-
import getDeprecatedSemanticColorTokens from './color-deprecated-semantic-tokens.js';
|
|
16
15
|
import getSemanticColorTokens from './color-semantic-tokens.js';
|
|
17
16
|
import getTypography from '../shared/typography.js';
|
|
18
17
|
import grid from '../shared/grid.js';
|
|
@@ -43,7 +42,6 @@ export default function createDarkTheme(
|
|
|
43
42
|
colors: {
|
|
44
43
|
...colorTokens,
|
|
45
44
|
...getComponentColorTokens(colorTokens),
|
|
46
|
-
...getDeprecatedSemanticColorTokens(colorTokens),
|
|
47
45
|
...getSemanticColorTokens(colorTokens),
|
|
48
46
|
},
|
|
49
47
|
direction: 'auto',
|
|
@@ -11,8 +11,6 @@ var _colorSemanticTokens = _interopRequireDefault(require("./color-semantic-toke
|
|
|
11
11
|
|
|
12
12
|
var _colorComponentTokens = _interopRequireDefault(require("./color-component-tokens.js"));
|
|
13
13
|
|
|
14
|
-
var _colorDeprecatedSemanticTokens = _interopRequireDefault(require("./color-deprecated-semantic-tokens.js"));
|
|
15
|
-
|
|
16
14
|
var _borders = _interopRequireDefault(require("./borders.js"));
|
|
17
15
|
|
|
18
16
|
var _lighting = _interopRequireDefault(require("../shared/lighting.js"));
|
|
@@ -39,7 +37,7 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
|
|
|
39
37
|
|
|
40
38
|
var DarkTheme = {
|
|
41
39
|
name: 'dark-theme',
|
|
42
|
-
colors: _objectSpread(_objectSpread(_objectSpread(
|
|
40
|
+
colors: _objectSpread(_objectSpread(_objectSpread({}, _colorTokens.default), (0, _colorComponentTokens.default)()), (0, _colorSemanticTokens.default)()),
|
|
43
41
|
animation: _animation.default,
|
|
44
42
|
breakpoints: _breakpoints.default,
|
|
45
43
|
borders: _borders.default,
|
|
@@ -8,7 +8,6 @@ LICENSE file in the root directory of this source tree.
|
|
|
8
8
|
import colorTokens from './color-tokens.js';
|
|
9
9
|
import getSemanticColorTokens from './color-semantic-tokens.js';
|
|
10
10
|
import getComponentColorTokens from './color-component-tokens.js';
|
|
11
|
-
import getDeprecatedSemanticColorTokens from './color-deprecated-semantic-tokens.js';
|
|
12
11
|
import borders from './borders.js';
|
|
13
12
|
import lighting from '../shared/lighting.js';
|
|
14
13
|
import getTypography from '../shared/typography.js';
|
|
@@ -25,7 +24,6 @@ export const DarkTheme: ThemeT = {
|
|
|
25
24
|
colors: {
|
|
26
25
|
...colorTokens,
|
|
27
26
|
...getComponentColorTokens(),
|
|
28
|
-
...getDeprecatedSemanticColorTokens(),
|
|
29
27
|
...getSemanticColorTokens(),
|
|
30
28
|
},
|
|
31
29
|
animation,
|
|
@@ -52,14 +52,6 @@ var _default = function _default() {
|
|
|
52
52
|
buttonTertiaryDisabledActiveText: themePrimitives.mono600,
|
|
53
53
|
buttonTertiarySpinnerForeground: themePrimitives.accent,
|
|
54
54
|
buttonTertiarySpinnerBackground: themePrimitives.primary100,
|
|
55
|
-
buttonMinimalFill: 'transparent',
|
|
56
|
-
buttonMinimalText: themePrimitives.primary,
|
|
57
|
-
buttonMinimalHover: themePrimitives.primary50,
|
|
58
|
-
buttonMinimalActive: themePrimitives.primary100,
|
|
59
|
-
buttonMinimalSelectedFill: themePrimitives.primary100,
|
|
60
|
-
buttonMinimalSelectedText: themePrimitives.primary,
|
|
61
|
-
buttonMinimalSpinnerForeground: themePrimitives.accent,
|
|
62
|
-
buttonMinimalSpinnerBackground: themePrimitives.primary100,
|
|
63
55
|
buttonDisabledFill: themePrimitives.mono200,
|
|
64
56
|
buttonDisabledText: themePrimitives.mono600,
|
|
65
57
|
buttonDisabledActiveFill: themePrimitives.mono700,
|
|
@@ -70,12 +62,6 @@ var _default = function _default() {
|
|
|
70
62
|
breadcrumbsText: themePrimitives.mono900,
|
|
71
63
|
breadcrumbsSeparatorFill: themePrimitives.mono700,
|
|
72
64
|
// Datepicker
|
|
73
|
-
datepickerBackground: themePrimitives.mono100,
|
|
74
|
-
datepickerDayFont: themePrimitives.mono1000,
|
|
75
|
-
datepickerDayFontDisabled: themePrimitives.mono500,
|
|
76
|
-
datepickerDayPseudoSelected: themePrimitives.primary100,
|
|
77
|
-
datepickerDayPseudoHighlighted: themePrimitives.primary200,
|
|
78
|
-
// Calendar
|
|
79
65
|
calendarBackground: themePrimitives.mono100,
|
|
80
66
|
calendarForeground: themePrimitives.mono1000,
|
|
81
67
|
calendarForegroundDisabled: themePrimitives.mono500,
|
|
@@ -83,7 +69,6 @@ var _default = function _default() {
|
|
|
83
69
|
calendarHeaderForeground: themePrimitives.primary,
|
|
84
70
|
calendarHeaderBackgroundActive: themePrimitives.primary700,
|
|
85
71
|
calendarHeaderForegroundDisabled: themePrimitives.primary500,
|
|
86
|
-
calendarDayBackgroundPseudoSelected: themePrimitives.primary100,
|
|
87
72
|
calendarDayForegroundPseudoSelected: themePrimitives.mono1000,
|
|
88
73
|
calendarDayBackgroundPseudoSelectedHighlighted: themePrimitives.primary200,
|
|
89
74
|
calendarDayForegroundPseudoSelectedHighlighted: themePrimitives.mono1000,
|
|
@@ -108,14 +93,11 @@ var _default = function _default() {
|
|
|
108
93
|
// List
|
|
109
94
|
listHeaderFill: themePrimitives.white,
|
|
110
95
|
listBodyFill: themePrimitives.white,
|
|
111
|
-
listIconFill: themePrimitives.mono500,
|
|
112
|
-
listBorder: themePrimitives.mono500,
|
|
113
96
|
// ProgressSteps
|
|
114
97
|
progressStepsCompletedText: themePrimitives.white,
|
|
115
98
|
progressStepsCompletedFill: themePrimitives.primary,
|
|
116
99
|
progressStepsActiveText: themePrimitives.white,
|
|
117
100
|
progressStepsActiveFill: themePrimitives.primary,
|
|
118
|
-
progressStepsIconActiveFill: themePrimitives.primary,
|
|
119
101
|
// Toggle
|
|
120
102
|
toggleFill: themePrimitives.white,
|
|
121
103
|
toggleFillChecked: themePrimitives.primary,
|
|
@@ -148,21 +130,10 @@ var _default = function _default() {
|
|
|
148
130
|
sliderHandleInnerFill: themePrimitives.primaryA,
|
|
149
131
|
sliderTrackFillHover: themePrimitives.mono500,
|
|
150
132
|
sliderTrackFillActive: themePrimitives.mono600,
|
|
151
|
-
sliderTrackFillSelected: themePrimitives.primary,
|
|
152
|
-
sliderTrackFillSelectedHover: themePrimitives.primary,
|
|
153
|
-
sliderTrackFillSelectedActive: themePrimitives.primary500,
|
|
154
133
|
sliderTrackFillDisabled: themePrimitives.mono300,
|
|
155
|
-
sliderHandleFillHover: themePrimitives.white,
|
|
156
|
-
sliderHandleFillActive: themePrimitives.white,
|
|
157
|
-
sliderHandleFillSelected: themePrimitives.white,
|
|
158
|
-
sliderHandleFillSelectedHover: themePrimitives.white,
|
|
159
|
-
sliderHandleFillSelectedActive: themePrimitives.white,
|
|
160
134
|
sliderHandleInnerFillDisabled: themePrimitives.mono400,
|
|
161
135
|
sliderHandleInnerFillSelectedHover: themePrimitives.primary,
|
|
162
136
|
sliderHandleInnerFillSelectedActive: themePrimitives.primary500,
|
|
163
|
-
sliderBorder: themePrimitives.mono500,
|
|
164
|
-
sliderBorderHover: themePrimitives.primary,
|
|
165
|
-
sliderBorderDisabled: themePrimitives.mono600,
|
|
166
137
|
// Inputs
|
|
167
138
|
inputBorder: themePrimitives.mono300,
|
|
168
139
|
inputFill: themePrimitives.mono300,
|
|
@@ -189,16 +160,10 @@ var _default = function _default() {
|
|
|
189
160
|
modalCloseColor: themePrimitives.mono1000,
|
|
190
161
|
modalCloseColorHover: themePrimitives.mono800,
|
|
191
162
|
modalCloseColorFocus: themePrimitives.mono800,
|
|
192
|
-
// Pagination
|
|
193
|
-
paginationTriangleDown: themePrimitives.mono800,
|
|
194
|
-
// Header navigation
|
|
195
|
-
headerNavigationFill: 'transparent',
|
|
196
163
|
// Tab
|
|
197
164
|
tabBarFill: themePrimitives.mono200,
|
|
198
165
|
tabColor: themePrimitives.mono800,
|
|
199
166
|
// Notification
|
|
200
|
-
notificationPrimaryBackground: themePrimitives.primary50,
|
|
201
|
-
notificationPrimaryText: themePrimitives.primaryA,
|
|
202
167
|
notificationInfoBackground: themePrimitives.accent50,
|
|
203
168
|
notificationInfoText: themePrimitives.primaryA,
|
|
204
169
|
notificationPositiveBackground: themePrimitives.positive50,
|
|
@@ -210,7 +175,6 @@ var _default = function _default() {
|
|
|
210
175
|
// Tag
|
|
211
176
|
// Custom ramps
|
|
212
177
|
tagFontDisabledRampUnit: '100',
|
|
213
|
-
tagOutlinedDisabledRampUnit: '200',
|
|
214
178
|
tagSolidFontRampUnit: '0',
|
|
215
179
|
tagSolidRampUnit: '400',
|
|
216
180
|
tagOutlinedFontRampUnit: '400',
|
|
@@ -223,7 +187,6 @@ var _default = function _default() {
|
|
|
223
187
|
tagLightRampUnit: '50',
|
|
224
188
|
tagLightHoverRampUnit: '100',
|
|
225
189
|
tagLightActiveRampUnit: '100',
|
|
226
|
-
tagLightDisabledRampUnit: '50',
|
|
227
190
|
tagLightFontRampUnit: '500',
|
|
228
191
|
tagLightFontHoverRampUnit: '500',
|
|
229
192
|
tagOutlinedHoverRampUnit: '50',
|
|
@@ -365,7 +328,6 @@ var _default = function _default() {
|
|
|
365
328
|
tableFilterFooterBackground: themePrimitives.mono200,
|
|
366
329
|
// Toast
|
|
367
330
|
toastText: themePrimitives.white,
|
|
368
|
-
toastPrimaryBackground: themePrimitives.primary400,
|
|
369
331
|
toastPrimaryText: themePrimitives.white,
|
|
370
332
|
toastInfoBackground: themePrimitives.accent400,
|
|
371
333
|
toastInfoText: themePrimitives.white,
|
|
@@ -46,15 +46,6 @@ export default (themePrimitives: ColorTokensT = colorTokens): ComponentColorToke
|
|
|
46
46
|
buttonTertiarySpinnerForeground: themePrimitives.accent,
|
|
47
47
|
buttonTertiarySpinnerBackground: themePrimitives.primary100,
|
|
48
48
|
|
|
49
|
-
buttonMinimalFill: 'transparent',
|
|
50
|
-
buttonMinimalText: themePrimitives.primary,
|
|
51
|
-
buttonMinimalHover: themePrimitives.primary50,
|
|
52
|
-
buttonMinimalActive: themePrimitives.primary100,
|
|
53
|
-
buttonMinimalSelectedFill: themePrimitives.primary100,
|
|
54
|
-
buttonMinimalSelectedText: themePrimitives.primary,
|
|
55
|
-
buttonMinimalSpinnerForeground: themePrimitives.accent,
|
|
56
|
-
buttonMinimalSpinnerBackground: themePrimitives.primary100,
|
|
57
|
-
|
|
58
49
|
buttonDisabledFill: themePrimitives.mono200,
|
|
59
50
|
buttonDisabledText: themePrimitives.mono600,
|
|
60
51
|
buttonDisabledActiveFill: themePrimitives.mono700,
|
|
@@ -67,13 +58,6 @@ export default (themePrimitives: ColorTokensT = colorTokens): ComponentColorToke
|
|
|
67
58
|
breadcrumbsSeparatorFill: themePrimitives.mono700,
|
|
68
59
|
|
|
69
60
|
// Datepicker
|
|
70
|
-
datepickerBackground: themePrimitives.mono100,
|
|
71
|
-
datepickerDayFont: themePrimitives.mono1000,
|
|
72
|
-
datepickerDayFontDisabled: themePrimitives.mono500,
|
|
73
|
-
datepickerDayPseudoSelected: themePrimitives.primary100,
|
|
74
|
-
datepickerDayPseudoHighlighted: themePrimitives.primary200,
|
|
75
|
-
|
|
76
|
-
// Calendar
|
|
77
61
|
calendarBackground: themePrimitives.mono100,
|
|
78
62
|
calendarForeground: themePrimitives.mono1000,
|
|
79
63
|
calendarForegroundDisabled: themePrimitives.mono500,
|
|
@@ -81,7 +65,6 @@ export default (themePrimitives: ColorTokensT = colorTokens): ComponentColorToke
|
|
|
81
65
|
calendarHeaderForeground: themePrimitives.primary,
|
|
82
66
|
calendarHeaderBackgroundActive: themePrimitives.primary700,
|
|
83
67
|
calendarHeaderForegroundDisabled: themePrimitives.primary500,
|
|
84
|
-
calendarDayBackgroundPseudoSelected: themePrimitives.primary100,
|
|
85
68
|
calendarDayForegroundPseudoSelected: themePrimitives.mono1000,
|
|
86
69
|
calendarDayBackgroundPseudoSelectedHighlighted: themePrimitives.primary200,
|
|
87
70
|
calendarDayForegroundPseudoSelectedHighlighted: themePrimitives.mono1000,
|
|
@@ -110,15 +93,12 @@ export default (themePrimitives: ColorTokensT = colorTokens): ComponentColorToke
|
|
|
110
93
|
// List
|
|
111
94
|
listHeaderFill: themePrimitives.white,
|
|
112
95
|
listBodyFill: themePrimitives.white,
|
|
113
|
-
listIconFill: themePrimitives.mono500,
|
|
114
|
-
listBorder: themePrimitives.mono500,
|
|
115
96
|
|
|
116
97
|
// ProgressSteps
|
|
117
98
|
progressStepsCompletedText: themePrimitives.white,
|
|
118
99
|
progressStepsCompletedFill: themePrimitives.primary,
|
|
119
100
|
progressStepsActiveText: themePrimitives.white,
|
|
120
101
|
progressStepsActiveFill: themePrimitives.primary,
|
|
121
|
-
progressStepsIconActiveFill: themePrimitives.primary,
|
|
122
102
|
|
|
123
103
|
// Toggle
|
|
124
104
|
toggleFill: themePrimitives.white,
|
|
@@ -157,24 +137,12 @@ export default (themePrimitives: ColorTokensT = colorTokens): ComponentColorToke
|
|
|
157
137
|
sliderHandleFill: themePrimitives.primaryA,
|
|
158
138
|
sliderHandleFillDisabled: themePrimitives.primary400,
|
|
159
139
|
sliderHandleInnerFill: themePrimitives.primaryA,
|
|
160
|
-
|
|
161
140
|
sliderTrackFillHover: themePrimitives.mono500,
|
|
162
141
|
sliderTrackFillActive: themePrimitives.mono600,
|
|
163
|
-
sliderTrackFillSelected: themePrimitives.primary,
|
|
164
|
-
sliderTrackFillSelectedHover: themePrimitives.primary,
|
|
165
|
-
sliderTrackFillSelectedActive: themePrimitives.primary500,
|
|
166
142
|
sliderTrackFillDisabled: themePrimitives.mono300,
|
|
167
|
-
sliderHandleFillHover: themePrimitives.white,
|
|
168
|
-
sliderHandleFillActive: themePrimitives.white,
|
|
169
|
-
sliderHandleFillSelected: themePrimitives.white,
|
|
170
|
-
sliderHandleFillSelectedHover: themePrimitives.white,
|
|
171
|
-
sliderHandleFillSelectedActive: themePrimitives.white,
|
|
172
143
|
sliderHandleInnerFillDisabled: themePrimitives.mono400,
|
|
173
144
|
sliderHandleInnerFillSelectedHover: themePrimitives.primary,
|
|
174
145
|
sliderHandleInnerFillSelectedActive: themePrimitives.primary500,
|
|
175
|
-
sliderBorder: themePrimitives.mono500,
|
|
176
|
-
sliderBorderHover: themePrimitives.primary,
|
|
177
|
-
sliderBorderDisabled: themePrimitives.mono600,
|
|
178
146
|
|
|
179
147
|
// Inputs
|
|
180
148
|
inputBorder: themePrimitives.mono300,
|
|
@@ -205,19 +173,11 @@ export default (themePrimitives: ColorTokensT = colorTokens): ComponentColorToke
|
|
|
205
173
|
modalCloseColorHover: themePrimitives.mono800,
|
|
206
174
|
modalCloseColorFocus: themePrimitives.mono800,
|
|
207
175
|
|
|
208
|
-
// Pagination
|
|
209
|
-
paginationTriangleDown: themePrimitives.mono800,
|
|
210
|
-
|
|
211
|
-
// Header navigation
|
|
212
|
-
headerNavigationFill: 'transparent',
|
|
213
|
-
|
|
214
176
|
// Tab
|
|
215
177
|
tabBarFill: themePrimitives.mono200,
|
|
216
178
|
tabColor: themePrimitives.mono800,
|
|
217
179
|
|
|
218
180
|
// Notification
|
|
219
|
-
notificationPrimaryBackground: themePrimitives.primary50,
|
|
220
|
-
notificationPrimaryText: themePrimitives.primaryA,
|
|
221
181
|
notificationInfoBackground: themePrimitives.accent50,
|
|
222
182
|
notificationInfoText: themePrimitives.primaryA,
|
|
223
183
|
notificationPositiveBackground: themePrimitives.positive50,
|
|
@@ -231,7 +191,6 @@ export default (themePrimitives: ColorTokensT = colorTokens): ComponentColorToke
|
|
|
231
191
|
|
|
232
192
|
// Custom ramps
|
|
233
193
|
tagFontDisabledRampUnit: '100',
|
|
234
|
-
tagOutlinedDisabledRampUnit: '200',
|
|
235
194
|
tagSolidFontRampUnit: '0',
|
|
236
195
|
tagSolidRampUnit: '400',
|
|
237
196
|
tagOutlinedFontRampUnit: '400',
|
|
@@ -244,7 +203,6 @@ export default (themePrimitives: ColorTokensT = colorTokens): ComponentColorToke
|
|
|
244
203
|
tagLightRampUnit: '50',
|
|
245
204
|
tagLightHoverRampUnit: '100',
|
|
246
205
|
tagLightActiveRampUnit: '100',
|
|
247
|
-
tagLightDisabledRampUnit: '50',
|
|
248
206
|
tagLightFontRampUnit: '500',
|
|
249
207
|
tagLightFontHoverRampUnit: '500',
|
|
250
208
|
tagOutlinedHoverRampUnit: '50',
|
|
@@ -394,7 +352,6 @@ export default (themePrimitives: ColorTokensT = colorTokens): ComponentColorToke
|
|
|
394
352
|
|
|
395
353
|
// Toast
|
|
396
354
|
toastText: themePrimitives.white,
|
|
397
|
-
toastPrimaryBackground: themePrimitives.primary400,
|
|
398
355
|
toastPrimaryText: themePrimitives.white,
|
|
399
356
|
toastInfoBackground: themePrimitives.accent400,
|
|
400
357
|
toastInfoText: themePrimitives.white,
|
|
@@ -81,8 +81,6 @@ var lightColorTokens = {
|
|
|
81
81
|
mono900: _index.colors.gray700,
|
|
82
82
|
mono1000: _index.colors.black,
|
|
83
83
|
// Rating Palette,
|
|
84
|
-
rating200: _index.colors.yellow200,
|
|
85
|
-
rating400: _index.colors.yellow400,
|
|
86
84
|
ratingInactiveFill: _index.colors.gray100,
|
|
87
85
|
ratingStroke: _index.colors.gray300
|
|
88
86
|
};
|
|
@@ -17,8 +17,6 @@ var _colorTokens = _interopRequireDefault(require("./color-tokens.js"));
|
|
|
17
17
|
|
|
18
18
|
var _colorComponentTokens = _interopRequireDefault(require("./color-component-tokens.js"));
|
|
19
19
|
|
|
20
|
-
var _colorDeprecatedSemanticTokens = _interopRequireDefault(require("./color-deprecated-semantic-tokens.js"));
|
|
21
|
-
|
|
22
20
|
var _colorSemanticTokens = _interopRequireDefault(require("./color-semantic-tokens.js"));
|
|
23
21
|
|
|
24
22
|
var _typography = _interopRequireDefault(require("../shared/typography.js"));
|
|
@@ -59,7 +57,7 @@ function createLightTheme() {
|
|
|
59
57
|
animation: _animation.default,
|
|
60
58
|
borders: _borders.default,
|
|
61
59
|
breakpoints: _breakpoints.default,
|
|
62
|
-
colors: _objectSpread(_objectSpread(_objectSpread(
|
|
60
|
+
colors: _objectSpread(_objectSpread(_objectSpread({}, colorTokens), (0, _colorComponentTokens.default)(colorTokens)), (0, _colorSemanticTokens.default)(colorTokens)),
|
|
63
61
|
direction: 'auto',
|
|
64
62
|
grid: _grid.default,
|
|
65
63
|
lighting: _lighting.default,
|
|
@@ -12,7 +12,6 @@ import breakpoints from '../shared/breakpoints.js';
|
|
|
12
12
|
import deepMerge from '../../utils/deep-merge.js';
|
|
13
13
|
import defaultColorTokens from './color-tokens.js';
|
|
14
14
|
import getComponentColorTokens from './color-component-tokens.js';
|
|
15
|
-
import getDeprecatedSemanticColorTokens from './color-deprecated-semantic-tokens.js';
|
|
16
15
|
import getSemanticColorTokens from './color-semantic-tokens.js';
|
|
17
16
|
import getTypography from '../shared/typography.js';
|
|
18
17
|
import grid from '../shared/grid.js';
|
|
@@ -43,7 +42,6 @@ export default function createLightTheme(
|
|
|
43
42
|
colors: {
|
|
44
43
|
...colorTokens,
|
|
45
44
|
...getComponentColorTokens(colorTokens),
|
|
46
|
-
...getDeprecatedSemanticColorTokens(colorTokens),
|
|
47
45
|
...getSemanticColorTokens(colorTokens),
|
|
48
46
|
},
|
|
49
47
|
direction: 'auto',
|
|
@@ -11,8 +11,6 @@ var _colorSemanticTokens = _interopRequireDefault(require("./color-semantic-toke
|
|
|
11
11
|
|
|
12
12
|
var _colorComponentTokens = _interopRequireDefault(require("./color-component-tokens.js"));
|
|
13
13
|
|
|
14
|
-
var _colorDeprecatedSemanticTokens = _interopRequireDefault(require("./color-deprecated-semantic-tokens.js"));
|
|
15
|
-
|
|
16
14
|
var _borders = _interopRequireDefault(require("../shared/borders.js"));
|
|
17
15
|
|
|
18
16
|
var _lighting = _interopRequireDefault(require("../shared/lighting.js"));
|
|
@@ -39,7 +37,7 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
|
|
|
39
37
|
|
|
40
38
|
var LightTheme = {
|
|
41
39
|
name: 'light-theme',
|
|
42
|
-
colors: _objectSpread(_objectSpread(_objectSpread(
|
|
40
|
+
colors: _objectSpread(_objectSpread(_objectSpread({}, _colorTokens.default), (0, _colorComponentTokens.default)()), (0, _colorSemanticTokens.default)()),
|
|
43
41
|
animation: _animation.default,
|
|
44
42
|
breakpoints: _breakpoints.default,
|
|
45
43
|
borders: _borders.default,
|
|
@@ -8,7 +8,6 @@ LICENSE file in the root directory of this source tree.
|
|
|
8
8
|
import colorTokens from './color-tokens.js';
|
|
9
9
|
import getSemanticColorTokens from './color-semantic-tokens.js';
|
|
10
10
|
import getComponentColorTokens from './color-component-tokens.js';
|
|
11
|
-
import getDeprecatedSemanticColorTokens from './color-deprecated-semantic-tokens.js';
|
|
12
11
|
import borders from '../shared/borders.js';
|
|
13
12
|
import lighting from '../shared/lighting.js';
|
|
14
13
|
import getTypography from '../shared/typography.js';
|
|
@@ -25,7 +24,6 @@ export const LightTheme: ThemeT = {
|
|
|
25
24
|
colors: {
|
|
26
25
|
...colorTokens,
|
|
27
26
|
...getComponentColorTokens(),
|
|
28
|
-
...getDeprecatedSemanticColorTokens(),
|
|
29
27
|
...getSemanticColorTokens(),
|
|
30
28
|
},
|
|
31
29
|
animation,
|