@cnamts/synapse 1.0.26 → 1.0.27
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/dist/{AutocompleteFilter-BPR-a55G.js → AutocompleteFilter-C9eLKyW8.js} +3 -3
- package/dist/{DateFilter-CknrJWs2.js → DateFilter-y-GLkAkn.js} +8 -8
- package/dist/{NumberFilter-DJ-yNlzv.js → NumberFilter-DN6hIBS7.js} +1 -1
- package/dist/{PeriodFilter-CiB5Oa9Z.js → PeriodFilter-MoUUp9qS.js} +1 -1
- package/dist/{SelectFilter-EiafX97M.js → SelectFilter-bCbrdLmu.js} +1 -1
- package/dist/{TextFilter-BzOmpdxj.js → TextFilter-CvjgEaoM.js} +4 -4
- package/dist/apLightTheme2026-ug4Y23ns.js +611 -0
- package/dist/components/Customs/Selects/SyAutocomplete/SyAutocomplete.d.ts +2369 -353
- package/dist/components/Customs/Selects/SyAutocomplete/composables/useSyAutocompleteValidation.d.ts +18 -0
- package/dist/components/Customs/Selects/SyAutocomplete/utils/ariaManager.d.ts +1 -1
- package/dist/components/Customs/Selects/SyAutocomplete/utils/useKeyboardHandler.d.ts +3 -1
- package/dist/components/Customs/Selects/SySelect/SySelect.d.ts +9 -10
- package/dist/components/Customs/Selects/SySelect/composables/useSySelectKeyboard.d.ts +1 -0
- package/dist/components/Customs/Selects/SySelect/composables/useSySelectValidation.d.ts +15 -0
- package/dist/components/Customs/SyCheckBoxGroup/SyCheckBoxGroup.d.ts +3 -3
- package/dist/components/Customs/SyCheckbox/SyCheckbox.d.ts +3 -3
- package/dist/components/Customs/SyIconButton/SyIconButton.d.ts +18 -0
- package/dist/components/Customs/SyRadioGroup/SyRadioGroup.d.ts +20 -38
- package/dist/components/Customs/SyRadioGroup/composables/useSyRadioGroupValidation.d.ts +50 -0
- package/dist/components/Customs/SyTextField/SyTextField.d.ts +6 -6
- package/dist/components/DatePicker/CalendarMode/DatePicker.d.ts +147 -136
- package/dist/components/DatePicker/ComplexDatePicker/ComplexDatePicker.d.ts +62 -54
- package/dist/components/DatePicker/DateTextInput/DateTextInput.d.ts +27 -24
- package/dist/components/DatePicker/composables/index.d.ts +1 -0
- package/dist/components/DatePicker/composables/useDatePickerValidationBridge.d.ts +51 -0
- package/dist/components/MonthPicker/MonthPicker.d.ts +23 -23
- package/dist/components/MonthPicker/MonthPickerText/MonthPickerInput.d.ts +23 -23
- package/dist/components/NirField/NirField.d.ts +56 -56
- package/dist/components/PasswordField/PasswordField.d.ts +3 -3
- package/dist/components/PeriodField/PeriodField.d.ts +236 -212
- package/dist/components/PhoneField/PhoneField.d.ts +23 -23
- package/dist/components/SyTextArea/SyTextArea.d.ts +25 -15
- package/dist/components/SyTextArea/composables/useSyTextAreaValidation.d.ts +20 -0
- package/dist/components/SyTextArea/locales.d.ts +1 -0
- package/dist/components/Tables/SyServerTable/SyServerTable.d.ts +1 -0
- package/dist/components/Tables/SyTable/SyTable.d.ts +1 -0
- package/dist/components/Tables/common/SyTablePagination.d.ts +25 -25
- package/dist/components/Tables/common/types.d.ts +2 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/composables/unifyValidation/documentationValidationProps.d.ts +160 -160
- package/dist/composables/unifyValidation/useValidation.d.ts +16 -14
- package/dist/design-system-v3.js +81 -80
- package/dist/designTokens/tokens/amelipro/apContextual.d.ts +6 -6
- package/dist/designTokens/tokens/amelipro/apDarkTheme.d.ts +3 -1
- package/dist/designTokens/tokens/amelipro/apLightTheme.d.ts +53 -100
- package/dist/designTokens/tokens/baseContextualTokens.d.ts +0 -6
- package/dist/designTokens/tokens/baseTokens.d.ts +232 -0
- package/dist/designTokens/tokens/cnam/cnamContextual.d.ts +6 -6
- package/dist/designTokens/tokens/cnam/cnamDarkTheme.d.ts +1 -1
- package/dist/designTokens/tokens/cnam/cnamLightTheme.d.ts +57 -101
- package/dist/designTokens/tokens/pa/paContextual.d.ts +0 -6
- package/dist/designTokens/tokens/pa/paDarkTheme.d.ts +1 -1
- package/dist/designTokens/tokens/pa/paLightTheme.d.ts +53 -97
- package/dist/designTokens/tokens/pa/paSemantic.d.ts +1 -0
- package/dist/designTokens/tokens/semanticTokens.d.ts +112 -0
- package/dist/main-CI6Q9nmO.js +39234 -0
- package/dist/synapse.css +1 -1
- package/dist/vuetifyConfig.js +208 -72
- package/package.json +4 -2
- package/src/assets/overrides/_icons.scss +5 -4
- package/src/assets/overrides/_otp.scss +4 -4
- package/src/assets/overrides/_typography.scss +2 -1
- package/src/assets/overrides/_utilities.scss +1 -42
- package/src/components/ChipList/ChipList.vue +30 -18
- package/src/components/ChipList/tests/chipList.spec.ts +4 -4
- package/src/components/CopyBtn/CopyBtn.vue +2 -2
- package/src/components/Customs/Selects/SelectBtnField/SelectBtnField.stories.ts +4 -0
- package/src/components/Customs/Selects/SelectBtnField/SelectBtnField.vue +7 -6
- package/src/components/Customs/Selects/SelectBtnField/tests/SelectBtnField.spec.ts +223 -0
- package/src/components/Customs/Selects/SyAutocomplete/SyAutocomplete.stories.ts +283 -351
- package/src/components/Customs/Selects/SyAutocomplete/SyAutocomplete.vue +182 -218
- package/src/components/Customs/Selects/SyAutocomplete/composables/useSyAutocompleteValidation.ts +101 -0
- package/src/components/Customs/Selects/SyAutocomplete/tests/SyAutocomplete.spec.ts +761 -1
- package/src/components/Customs/Selects/SyAutocomplete/utils/ariaManager.ts +3 -1
- package/src/components/Customs/Selects/SyAutocomplete/utils/useKeyboardHandler.ts +79 -5
- package/src/components/Customs/Selects/SyAutocomplete/validation/Validation.stories.ts +1029 -0
- package/src/components/Customs/Selects/SySelect/SySelect.stories.ts +9 -491
- package/src/components/Customs/Selects/SySelect/SySelect.vue +46 -79
- package/src/components/Customs/Selects/SySelect/composables/useSySelectKeyboard.ts +3 -0
- package/src/components/Customs/Selects/SySelect/composables/useSySelectValidation.ts +64 -0
- package/src/components/Customs/Selects/SySelect/tests/SySelect.spec.ts +196 -0
- package/src/components/Customs/Selects/SySelect/validation/Validation.stories.ts +1026 -0
- package/src/components/Customs/SyCheckBoxGroup/SyCheckBoxGroup.stories.ts +18 -7
- package/src/components/Customs/SyCheckBoxGroup/SyCheckBoxGroup.vue +2 -2
- package/src/components/Customs/SyCheckbox/SyCheckbox.stories.ts +8 -8
- package/src/components/Customs/SyCheckbox/SyCheckbox.vue +8 -8
- package/src/components/Customs/SyCheckbox/tests/SyCheckbox.spec.ts +1 -1
- package/src/components/Customs/SyIcon/accessibilite/Accessibility.mdx +0 -6
- package/src/components/Customs/SyIcon/utils/tests/iconUtils.spec.ts +107 -0
- package/src/components/Customs/SyRadioGroup/SyRadioGroup.mdx +2 -2
- package/src/components/Customs/SyRadioGroup/SyRadioGroup.stories.ts +395 -200
- package/src/components/Customs/SyRadioGroup/SyRadioGroup.vue +82 -127
- package/src/components/Customs/SyRadioGroup/composables/useSyRadioGroupValidation.ts +127 -0
- package/src/components/Customs/SyRadioGroup/tests/SyRadioGroup.a11y.spec.ts +93 -1
- package/src/components/Customs/SyRadioGroup/tests/SyRadioGroup.spec.ts +146 -9
- package/src/components/Customs/SyRadioGroup/tests/SyRadioGroup.visual.cy.ts +165 -0
- package/src/components/Customs/SyRadioGroup/validation/Validation.stories.ts +773 -0
- package/src/components/Customs/SyTabs/config.ts +3 -3
- package/src/components/Customs/SyTabs/tests/SyTabs.spec.ts +265 -0
- package/src/components/Customs/SyTabs/tests/useTabTransition.spec.ts +188 -0
- package/src/components/Customs/SyTextField/SyTextField.stories.ts +10 -29
- package/src/components/Customs/SyTextField/SyTextField.vue +23 -15
- package/src/components/DataList/DataList.stories.ts +1 -1
- package/src/components/DataListItem/tests/DataListItem.spec.ts +3 -1
- package/src/components/DatePicker/CalendarMode/DatePicker.vue +37 -142
- package/src/components/DatePicker/CalendarMode/tests/DatePicker.coverage.spec.ts +156 -0
- package/src/components/DatePicker/CalendarMode/tests/DatePicker.spec.ts +495 -4
- package/src/components/DatePicker/ComplexDatePicker/ComplexDatePicker.vue +47 -66
- package/src/components/DatePicker/ComplexDatePicker/tests/ComplexDatePicker.spec.ts +206 -0
- package/src/components/DatePicker/ComplexDatePicker/tests/bridge-integration.regression.spec.ts +210 -0
- package/src/components/DatePicker/ComplexDatePicker/tests/calendar-navigation.regression.spec.ts +214 -0
- package/src/components/DatePicker/ComplexDatePicker/tests/validation-cross.regression.spec.ts +194 -0
- package/src/components/DatePicker/ComplexDatePicker/tests/validation-success-messages.regression.spec.ts +83 -0
- package/src/components/DatePicker/DateTextInput/DateTextInput.vue +129 -54
- package/src/components/DatePicker/DateTextInput/tests/DateTextInput.spec.ts +320 -0
- package/src/components/DatePicker/composables/index.ts +1 -0
- package/src/components/DatePicker/composables/tests/useCalendarKeyboardNavigation.spec.ts +360 -0
- package/src/components/DatePicker/composables/tests/useDatePickerValidationBridge.spec.ts +129 -0
- package/src/components/DatePicker/composables/useDatePickerValidationBridge.ts +205 -0
- package/src/components/DatePicker/docExamples/BidirectionalComplexValidation.vue +1 -1
- package/src/components/DatePicker/docExamples/DatePickerBidirectionalValidation.vue +1 -1
- package/src/components/DatePicker/tests/exposed-methods.coverage.spec.ts +75 -0
- package/src/components/DialogBox/DialogBox.vue +1 -1
- package/src/components/FileList/UploadItem/UploadItem.vue +4 -4
- package/src/components/FileUpload/FileUpload.vue +2 -2
- package/src/components/FileUpload/FileUploadContent.vue +1 -1
- package/src/components/FilterInline/FilterInline.mdx +2 -2
- package/src/components/FilterSideBar/FilterSideBar.stories.ts +1 -1
- package/src/components/FilterSideBar/FilterSideBar.vue +2 -2
- package/src/components/FooterBar/FooterBar.vue +7 -7
- package/src/components/FranceConnectBtn/FranceConnectBtn.vue +1 -1
- package/src/components/HeaderBar/HeaderBurgerMenu/HeaderMenuItem/HeaderMenuItem.vue +2 -2
- package/src/components/HeaderBar/HeaderBurgerMenu/HeaderSubMenu/HeaderSubMenu.vue +7 -7
- package/src/components/HeaderBar/HeaderMenuBtn/HeaderMenuBtn.vue +2 -2
- package/src/components/HeaderLoading/tests/HeaderLoading.spec.ts +87 -8
- package/src/components/HeaderNavigationBar/HorizontalNavbar/HorizontalNavbar.vue +3 -3
- package/src/components/HeaderNavigationBar/HorizontalNavbar/tests/HorizontalNavbar.spec.ts +589 -0
- package/src/components/HeaderToolbar/tests/HeaderToolBar.spec.ts +153 -1
- package/src/components/HeaderToolbar/tests/useMobileRightMenu.spec.ts +258 -0
- package/src/components/LogoBrandSection/tests/LogoBrandSection.spec.ts +2 -2
- package/src/components/LogoBrandSection/tests/__snapshots__/LogoBrandSection.spec.ts.snap +1 -1
- package/src/components/LunarCalendar/tests/useLunarCalendarRules.spec.ts +184 -0
- package/src/components/MonthPicker/MonthPickerVisual/MonthSelector.vue +3 -3
- package/src/components/MonthPicker/MonthPickerVisual/VisualPickerFooter.vue +1 -1
- package/src/components/MonthPicker/MonthPickerVisual/VisualPickerHeader.vue +2 -2
- package/src/components/MonthPicker/MonthPickerVisual/YearSelector.vue +1 -1
- package/src/components/NirField/NirField.vue +3 -3
- package/src/components/NotificationBar/Notification/Notification.vue +12 -12
- package/src/components/NotificationBar/NotificationBar.stories.ts +8 -8
- package/src/components/PaginatedTable/Pagination.vue +2 -2
- package/src/components/PasswordField/PasswordField.vue +8 -8
- package/src/components/PasswordField/tests/PasswordField.spec.ts +3 -3
- package/src/components/RangeField/RangeSlider/RangeSlider.vue +2 -2
- package/src/components/RangeField/RangeSlider/Tooltip/Tooltip.vue +1 -1
- package/src/components/StatusPage/tests/StatusPage.spec.ts +149 -0
- package/src/components/SubHeader/SubHeader.vue +1 -1
- package/src/components/SyAlert/SyAlert.vue +23 -23
- package/src/components/SyTextArea/SyTextArea.stories.ts +177 -131
- package/src/components/SyTextArea/SyTextArea.vue +235 -83
- package/src/components/SyTextArea/composables/useSyTextAreaValidation.ts +81 -0
- package/src/components/SyTextArea/locales.ts +1 -0
- package/src/components/SyTextArea/tests/SyTextArea.spec.ts +449 -1
- package/src/components/SyTextArea/useDefaultValidationRules.ts +2 -7
- package/src/components/SyTextArea/validation/Validation.stories.ts +856 -0
- package/src/components/TableToolbar/TableToolbar.vue +6 -6
- package/src/components/TableToolbar/accessibilite/Accessibility.mdx +81 -7
- package/src/components/Tables/SyServerTable/SyServerTable.stories.ts +163 -0
- package/src/components/Tables/SyServerTable/SyServerTable.vue +2 -1
- package/src/components/Tables/SyServerTable/tests/SyServerTable.spec.ts +67 -0
- package/src/components/Tables/SyTable/SyTable.stories.ts +94 -0
- package/src/components/Tables/SyTable/SyTable.vue +2 -1
- package/src/components/Tables/SyTable/tests/SyTable.spec.ts +64 -0
- package/src/components/Tables/common/TableHeader.vue +2 -2
- package/src/components/Tables/common/filters/logics/tests/NumberFilterLogic.spec.ts +176 -0
- package/src/components/Tables/common/filters/logics/tests/SelectFilterLogic.spec.ts +111 -0
- package/src/components/Tables/common/tableStyles.scss +6 -6
- package/src/components/Tables/common/types.ts +2 -0
- package/src/components/UploadWorkflow/tests/UploadWorkflow.spec.ts +2 -0
- package/src/components/index.ts +1 -0
- package/src/composables/date/tests/useDateFormatDayjs.spec.ts +31 -0
- package/src/composables/date/tests/useHolidayDay.spec.ts +109 -0
- package/src/composables/rules/tests/useFieldValidation.spec.ts +374 -0
- package/src/composables/tests/useError.spec.ts +30 -0
- package/src/composables/tests/useFormFieldErrorHandling.spec.ts +234 -0
- package/src/composables/unifyValidation/documentationValidationProps.ts +5 -5
- package/src/composables/unifyValidation/tests/documentationValidationProps.spec.ts +177 -0
- package/src/composables/unifyValidation/tests/useCustomValidation.spec.ts +30 -0
- package/src/composables/unifyValidation/tests/useValidation.spec.ts +6 -2
- package/src/composables/unifyValidation/useCustomValidation.ts +19 -9
- package/src/composables/unifyValidation/useValidation.ts +18 -21
- package/src/composables/useFilterable/useFilterable.spec.ts +42 -0
- package/src/composables/useFilterable/useFilterable.ts +11 -7
- package/src/composables/useFormFieldErrorHandling.ts +2 -2
- package/src/composantsVuetify/VBtn/VBtn.mdx +9 -39
- package/src/composantsVuetify/VBtn/v-btn.stories.ts +26 -86
- package/src/designTokens/tokens/amelipro/apContextual.ts +6 -0
- package/src/designTokens/tokens/amelipro/apDarkTheme.ts +2 -2
- package/src/designTokens/tokens/amelipro/apLightTheme.ts +72 -103
- package/src/designTokens/tokens/amelipro/apSemantic.ts +1 -1
- package/src/designTokens/tokens/baseContextualTokens.ts +1 -6
- package/src/designTokens/tokens/baseTokens.ts +232 -0
- package/src/designTokens/tokens/cnam/cnamContextual.ts +6 -0
- package/src/designTokens/tokens/cnam/cnamDarkTheme.ts +2 -2
- package/src/designTokens/tokens/cnam/cnamLightTheme.ts +76 -104
- package/src/designTokens/tokens/pa/paDarkTheme.ts +2 -2
- package/src/designTokens/tokens/pa/paLightTheme.ts +73 -99
- package/src/designTokens/tokens/pa/paSemantic.ts +2 -0
- package/src/designTokens/tokens/semanticTokens.ts +114 -0
- package/src/stories/Components/Components.stories.ts +7 -3
- package/src/stories/DesignTokens/ColorIntegrationExample.vue +2 -3
- package/src/stories/DesignTokens/Colors.mdx +6 -8
- package/src/stories/DesignTokens/colors.stories.ts +244 -1081
- package/src/utils/amelipro/toKebabCase/tests/toKebabCase.spec.ts +52 -0
- package/src/utils/formatNir/tests/formatNir.spec.ts +34 -0
- package/src/utils/tests/insertAt.spec.ts +44 -0
- package/dist/apLightTheme-DS0Uy44H.js +0 -954
- package/dist/components/RatingPicker/tests/RatingPicker.a11y.spect.d.ts +0 -1
- package/dist/main-BsJ9ec3i.js +0 -38954
- package/src/components/BackBtn/tests/__snapshots__/back-btn-custom-bg.snap.png +0 -0
- package/src/components/BackBtn/tests/__snapshots__/back-btn-dark-mode.snap.png +0 -0
- package/src/components/BackBtn/tests/__snapshots__/back-btn-default.snap.png +0 -0
- package/src/components/BackBtn/tests/__snapshots__/back-btn-no-icon.snap.png +0 -0
- package/src/components/DatePicker/CalendarMode/tests/DatePicker.events.spec.ts +0 -178
- package/src/components/DialogBox/tests/__snapshots__/dialog-box-custom-texts.snap.png +0 -0
- package/src/components/DialogBox/tests/__snapshots__/dialog-box-default.snap.png +0 -0
- package/src/components/DialogBox/tests/__snapshots__/dialog-box-no-actions.snap.png +0 -0
- package/src/components/HeaderBar/HeaderBurgerMenu/tests/__snapshots__/header-burger-menu-generated-submenu-open.snap.png +0 -0
- package/src/components/HeaderBar/HeaderBurgerMenu/tests/__snapshots__/header-burger-menu-generated.snap.png +0 -0
- package/src/components/HeaderBar/tests/__snapshots__/header-bar-custom-width.snap.png +0 -0
- package/src/components/HeaderBar/tests/__snapshots__/header-bar-default.snap.png +0 -0
- package/src/components/HeaderBar/tests/__snapshots__/header-bar-no-sticky.snap.png +0 -0
- package/src/components/HeaderBar/tests/__snapshots__/header-bar-with-prepend.snap.png +0 -0
- package/src/components/HeaderBar/tests/__snapshots__/header-bar-with-side.snap.png +0 -0
- package/src/components/HeaderBar/tests/__snapshots__/header-bar-with-subtitle.snap.png +0 -0
- package/src/components/Logo/tests/__snapshots__/logo-avatar.snap.png +0 -0
- package/src/components/Logo/tests/__snapshots__/logo-dark.snap.png +0 -0
- package/src/components/Logo/tests/__snapshots__/logo-default.snap.png +0 -0
- package/src/components/Logo/tests/__snapshots__/logo-no-organism.snap.png +0 -0
- package/src/components/Logo/tests/__snapshots__/logo-no-signature.snap.png +0 -0
- package/src/components/Logo/tests/__snapshots__/logo-risque-pro.snap.png +0 -0
- package/src/components/RangeField/tests/__snapshots__/range-field-custom-bg.snap.png +0 -0
- package/src/components/RangeField/tests/__snapshots__/range-field-custom-range.snap.png +0 -0
- package/src/components/RangeField/tests/__snapshots__/range-field-default.snap.png +0 -0
- package/src/components/RangeField/tests/__snapshots__/range-field-step.snap.png +0 -0
- package/src/components/RangeField/tests/__snapshots__/range-field-with-label.snap.png +0 -0
- package/src/components/SyAlert/tests/__snapshots__/sy-alert-closable.snap.png +0 -0
- package/src/components/SyAlert/tests/__snapshots__/sy-alert-error.snap.png +0 -0
- package/src/components/SyAlert/tests/__snapshots__/sy-alert-info.snap.png +0 -0
- package/src/components/SyAlert/tests/__snapshots__/sy-alert-success.snap.png +0 -0
- package/src/components/SyAlert/tests/__snapshots__/sy-alert-variant-outlined.snap.png +0 -0
- package/src/components/SyAlert/tests/__snapshots__/sy-alert-variant-tonal.snap.png +0 -0
- package/src/components/SyAlert/tests/__snapshots__/sy-alert-warning.snap.png +0 -0
- /package/src/components/RatingPicker/tests/{RatingPicker.a11y.spect.ts → RatingPicker.a11y.spec.ts} +0 -0
|
@@ -0,0 +1,232 @@
|
|
|
1
|
+
export const baseTokens = {
|
|
2
|
+
color: {
|
|
3
|
+
none: 'rgba(255,255,255,0)',
|
|
4
|
+
orange: {
|
|
5
|
+
darken80: '#2D100B',
|
|
6
|
+
darken60: '#5A2017',
|
|
7
|
+
darken40: '#862F22',
|
|
8
|
+
darken20: '#B33F2E',
|
|
9
|
+
base: '#E04F39',
|
|
10
|
+
lighten20: '#E67261',
|
|
11
|
+
lighten40: '#EC9588',
|
|
12
|
+
lighten60: '#F3B9B0',
|
|
13
|
+
lighten80: '#F9DCD7',
|
|
14
|
+
lighten90: '#FCEDEB',
|
|
15
|
+
lighten97: '#FEFAF9',
|
|
16
|
+
},
|
|
17
|
+
yellow: {
|
|
18
|
+
darken80: '#302407',
|
|
19
|
+
darken60: '#60480E',
|
|
20
|
+
darken40: '#906B15',
|
|
21
|
+
darken20: '#C08F1C',
|
|
22
|
+
base: '#F0B323',
|
|
23
|
+
lighten20: '#F3C24F',
|
|
24
|
+
lighten40: '#F6D17B',
|
|
25
|
+
lighten60: '#F9E1A7',
|
|
26
|
+
lighten80: '#FCF0D3',
|
|
27
|
+
lighten90: '#FDF7E9',
|
|
28
|
+
lighten97: '#FFFDF8',
|
|
29
|
+
},
|
|
30
|
+
green: {
|
|
31
|
+
darken80: '#112717',
|
|
32
|
+
darken60: '#224E2D',
|
|
33
|
+
darken40: '#347444',
|
|
34
|
+
darken20: '#459B5A',
|
|
35
|
+
base: '#56C271',
|
|
36
|
+
lighten20: '#78CE8D',
|
|
37
|
+
lighten40: '#9ADAAA',
|
|
38
|
+
lighten60: '#BBE7C6',
|
|
39
|
+
lighten80: '#DDF3E3',
|
|
40
|
+
lighten90: '#EEF9F1',
|
|
41
|
+
lighten97: '#FAFDFB',
|
|
42
|
+
},
|
|
43
|
+
turquoise: {
|
|
44
|
+
darken80: '#00221C',
|
|
45
|
+
darken60: '#004439',
|
|
46
|
+
darken40: '#006755',
|
|
47
|
+
darken20: '#008972',
|
|
48
|
+
base: '#00AB8E',
|
|
49
|
+
lighten20: '#33BCA5',
|
|
50
|
+
lighten40: '#66CDBB',
|
|
51
|
+
lighten60: '#99DDD2',
|
|
52
|
+
lighten80: '#CCEEE8',
|
|
53
|
+
lighten90: '#E5F7F4',
|
|
54
|
+
lighten97: '#F7FCFC',
|
|
55
|
+
},
|
|
56
|
+
blue: {
|
|
57
|
+
darken80: '#020D1F',
|
|
58
|
+
darken60: '#051A3E',
|
|
59
|
+
darken40: '#07275C',
|
|
60
|
+
darken20: '#0A347B',
|
|
61
|
+
base: '#0C419A',
|
|
62
|
+
lighten20: '#3D67AE',
|
|
63
|
+
lighten40: '#6D8DC2',
|
|
64
|
+
lighten60: '#9EB3D7',
|
|
65
|
+
lighten80: '#CED9EB',
|
|
66
|
+
lighten90: '#E7ECF5',
|
|
67
|
+
lighten97: '#F8F9FC',
|
|
68
|
+
},
|
|
69
|
+
cyan: {
|
|
70
|
+
darken80: '#00212D',
|
|
71
|
+
darken60: '#004259',
|
|
72
|
+
darken40: '#006386',
|
|
73
|
+
darken20: '#0084B2',
|
|
74
|
+
base: '#00A5DF',
|
|
75
|
+
lighten20: '#33B7E5',
|
|
76
|
+
lighten40: '#66C9EC',
|
|
77
|
+
lighten60: '#99DBF2',
|
|
78
|
+
lighten80: '#CCEDF9',
|
|
79
|
+
lighten90: '#E5F6FC',
|
|
80
|
+
lighten97: '#F7FCFE',
|
|
81
|
+
},
|
|
82
|
+
frostedBlue: {
|
|
83
|
+
darken80: '#142327',
|
|
84
|
+
darken60: '#28464D',
|
|
85
|
+
darken40: '#3D6874',
|
|
86
|
+
darken20: '#518B9A',
|
|
87
|
+
base: '#65AEC1',
|
|
88
|
+
lighten20: '#84BECD',
|
|
89
|
+
lighten40: '#A3CEDA',
|
|
90
|
+
lighten60: '#C1DFE6',
|
|
91
|
+
lighten80: '#E0EFF3',
|
|
92
|
+
lighten90: '#F0F7F9',
|
|
93
|
+
lighten97: '#FAFDFD',
|
|
94
|
+
},
|
|
95
|
+
parma: {
|
|
96
|
+
darken80: '#171C26',
|
|
97
|
+
darken60: '#2F384D',
|
|
98
|
+
darken40: '#465473',
|
|
99
|
+
darken20: '#5E709A',
|
|
100
|
+
base: '#758CC0',
|
|
101
|
+
lighten20: '#91A3CD',
|
|
102
|
+
lighten40: '#ACBAD9',
|
|
103
|
+
lighten60: '#C8D1E6',
|
|
104
|
+
lighten80: '#E3E8F2',
|
|
105
|
+
lighten90: '#F1F3F9',
|
|
106
|
+
lighten97: '#FBFCFD',
|
|
107
|
+
},
|
|
108
|
+
mauve: {
|
|
109
|
+
darken80: '#201224',
|
|
110
|
+
darken60: '#402449',
|
|
111
|
+
darken40: '#60376D',
|
|
112
|
+
darken20: '#804992',
|
|
113
|
+
base: '#A05BB6',
|
|
114
|
+
lighten20: '#B37CC5',
|
|
115
|
+
lighten40: '#C69DD3',
|
|
116
|
+
lighten60: '#D9BDE2',
|
|
117
|
+
lighten80: '#ECDEF0',
|
|
118
|
+
lighten90: '#F5EFF8',
|
|
119
|
+
lighten97: '#FCFAFD',
|
|
120
|
+
},
|
|
121
|
+
pink: {
|
|
122
|
+
darken80: '#2D051A',
|
|
123
|
+
darken60: '#5A0A34',
|
|
124
|
+
darken40: '#87104D',
|
|
125
|
+
darken20: '#B41567',
|
|
126
|
+
base: '#E11A81',
|
|
127
|
+
lighten20: '#E7489A',
|
|
128
|
+
lighten40: '#ED76B3',
|
|
129
|
+
lighten60: '#F3A3CD',
|
|
130
|
+
lighten80: '#F9D1E6',
|
|
131
|
+
lighten90: '#FCE8F2',
|
|
132
|
+
lighten97: '#FEF8FB',
|
|
133
|
+
},
|
|
134
|
+
brick: {
|
|
135
|
+
darken80: '#291112',
|
|
136
|
+
darken60: '#522224',
|
|
137
|
+
darken40: '#7B3237',
|
|
138
|
+
darken20: '#A44349',
|
|
139
|
+
base: '#CD545B',
|
|
140
|
+
lighten20: '#D7767C',
|
|
141
|
+
lighten40: '#E1989D',
|
|
142
|
+
lighten60: '#EBBBBD',
|
|
143
|
+
lighten80: '#F5DDDE',
|
|
144
|
+
lighten90: '#FAEEEF',
|
|
145
|
+
lighten97: '#FDFAFA',
|
|
146
|
+
},
|
|
147
|
+
grey: {
|
|
148
|
+
darken80: '#111212',
|
|
149
|
+
darken60: '#222324',
|
|
150
|
+
darken40: '#323535',
|
|
151
|
+
darken20: '#434647',
|
|
152
|
+
base: '#545859',
|
|
153
|
+
lighten20: '#76797A',
|
|
154
|
+
lighten40: '#989B9B',
|
|
155
|
+
lighten60: '#BBBCBD',
|
|
156
|
+
lighten80: '#DDDEDE',
|
|
157
|
+
lighten90: '#EEEEEE',
|
|
158
|
+
lighten97: '#FAFAFA',
|
|
159
|
+
alpha40: 'rgba(152,155,155,0.4000000059604645)',
|
|
160
|
+
},
|
|
161
|
+
white: {
|
|
162
|
+
base: '#FFFFFF',
|
|
163
|
+
alpha70: 'rgba(255,255,255,0.699999988079071)',
|
|
164
|
+
alpha40: 'rgba(255,255,255,0.4000000059604645)',
|
|
165
|
+
alpha38: 'rgba(255,255,255,0.3799999952316284)',
|
|
166
|
+
alpha20: 'rgba(255,255,255,0.20000000298023224)',
|
|
167
|
+
alpha08: 'rgba(255,255,255,0.07999999821186066)',
|
|
168
|
+
alpha00: 'rgba(255,255,255,0)',
|
|
169
|
+
},
|
|
170
|
+
transparentBlue: {
|
|
171
|
+
alpha40: 'rgba(12,65,154,0.4000000059604645)',
|
|
172
|
+
alpha20: 'rgba(12,65,154,0.20000000298023224)',
|
|
173
|
+
alpha18: 'rgba(12,65,154,0.18000000715255737)',
|
|
174
|
+
alpha08: 'rgba(12,65,154,0.07999999821186066)',
|
|
175
|
+
alpha00: 'rgba(12,65,154,0)',
|
|
176
|
+
},
|
|
177
|
+
transparentCyan: {
|
|
178
|
+
alpha00: 'rgba(0,132,178,0)',
|
|
179
|
+
alpha08: 'rgba(0,132,178,0.07999999821186066)',
|
|
180
|
+
alpha18: 'rgba(0,132,178,0.18000000715255737)',
|
|
181
|
+
alpha20: 'rgba(0,132,178,0.20000000298023224)',
|
|
182
|
+
alpha40: 'rgba(0,132,178,0.4000000059604645)',
|
|
183
|
+
},
|
|
184
|
+
transparentBlack: {
|
|
185
|
+
alpha00: 'rgba(0,0,0,0)',
|
|
186
|
+
alpha08: 'rgba(0,0,0,0.07999999821186066)',
|
|
187
|
+
alpha18: 'rgba(0,0,0,0.18000000715255737)',
|
|
188
|
+
alpha20: 'rgba(0,0,0,0.20000000298023224)',
|
|
189
|
+
alpha40: 'rgba(0,0,0,0.4000000059604645)',
|
|
190
|
+
},
|
|
191
|
+
amber: {
|
|
192
|
+
darken80: '#502C01',
|
|
193
|
+
darken60: '#784201',
|
|
194
|
+
darken40: '#9F5801',
|
|
195
|
+
darken20: '#C76E02',
|
|
196
|
+
base: '#EF8402',
|
|
197
|
+
lighten20: '#F2992C',
|
|
198
|
+
lighten40: '#F4AD56',
|
|
199
|
+
lighten60: '#F7C281',
|
|
200
|
+
lighten80: '#FAD6AB',
|
|
201
|
+
lighten90: '#FCE6CC',
|
|
202
|
+
lighten97: '#FFFAF5',
|
|
203
|
+
},
|
|
204
|
+
forestGreen: {
|
|
205
|
+
darken90: '#001814',
|
|
206
|
+
darken80: '#002821',
|
|
207
|
+
darken60: '#003C32',
|
|
208
|
+
darken40: '#005042',
|
|
209
|
+
darken20: '#006453',
|
|
210
|
+
base: '#007863',
|
|
211
|
+
lighten20: '#2A8F7D',
|
|
212
|
+
lighten40: '#55A597',
|
|
213
|
+
lighten60: '#80BCB1',
|
|
214
|
+
lighten80: '#AAD2CB',
|
|
215
|
+
lighten90: '#CCE4E0',
|
|
216
|
+
lighten97: '#EEFFFC',
|
|
217
|
+
},
|
|
218
|
+
red: {
|
|
219
|
+
darken80: '#4D0000',
|
|
220
|
+
darken60: '#740000',
|
|
221
|
+
darken40: '#9B0000',
|
|
222
|
+
darken20: '#B30E0E',
|
|
223
|
+
base: '#E80000',
|
|
224
|
+
lighten20: '#EC2A2A',
|
|
225
|
+
lighten40: '#FF5E5E',
|
|
226
|
+
lighten60: '#F48080',
|
|
227
|
+
lighten80: '#F7AAAA',
|
|
228
|
+
lighten90: '#FACCCC',
|
|
229
|
+
lighten97: '#FFF4F4',
|
|
230
|
+
},
|
|
231
|
+
},
|
|
232
|
+
} as const
|
|
@@ -1,107 +1,79 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { cnamColorsTokens } from './cnamColors'
|
|
3
|
-
import { cnamSemanticTokens } from './cnamSemantic'
|
|
1
|
+
import { baseTokens } from '@/designTokens/tokens/baseTokens'
|
|
4
2
|
|
|
5
3
|
export const cnamLightTheme = {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
textAccentPrimaryContrasted: cnamSemanticTokens.colors.text.accentPrimaryContrasted,
|
|
82
|
-
textAccentSecondary: cnamSemanticTokens.colors.text.accentSecondary,
|
|
83
|
-
textSubdued: cnamSemanticTokens.colors.text.subdued,
|
|
84
|
-
textInfo: cnamSemanticTokens.colors.text.info,
|
|
85
|
-
textSuccess: cnamSemanticTokens.colors.text.success,
|
|
86
|
-
textWarning: cnamSemanticTokens.colors.text.warning,
|
|
87
|
-
textError: cnamSemanticTokens.colors.text.error,
|
|
88
|
-
textDisabled: cnamSemanticTokens.colors.text.disabled,
|
|
89
|
-
textOnDark: cnamSemanticTokens.colors.text.onDark,
|
|
90
|
-
textSubduedOnDark: cnamSemanticTokens.colors.text.subduedOnDark,
|
|
91
|
-
textDisabledOnDark: cnamSemanticTokens.colors.text.disabledOnDark,
|
|
92
|
-
iconBase: cnamSemanticTokens.colors.icon.base,
|
|
93
|
-
iconSubdued: cnamSemanticTokens.colors.icon.subdued,
|
|
94
|
-
iconSubduedOnDark: cnamSemanticTokens.colors.icon.subduedOnDark,
|
|
95
|
-
iconAccentPrimary: cnamSemanticTokens.colors.icon.accentPrimary,
|
|
96
|
-
iconAccentPrimaryContrasted: cnamSemanticTokens.colors.icon.accentPrimaryContrasted,
|
|
97
|
-
iconAccentSecondary: cnamSemanticTokens.colors.icon.accentSecondary,
|
|
98
|
-
iconInfo: cnamSemanticTokens.colors.icon.info,
|
|
99
|
-
iconSuccess: cnamSemanticTokens.colors.icon.success,
|
|
100
|
-
iconWarning: cnamSemanticTokens.colors.icon.warning,
|
|
101
|
-
iconError: cnamSemanticTokens.colors.icon.error,
|
|
102
|
-
iconOnDark: cnamSemanticTokens.colors.icon.onDark,
|
|
103
|
-
iconDisabled: cnamSemanticTokens.colors.icon.disabled,
|
|
104
|
-
iconDisabledOnDark: cnamSemanticTokens.colors.icon.disabledOnDark,
|
|
105
|
-
feedbackOnSuccess: baseColors.grey.darken60,
|
|
106
|
-
colorPrimary: baseColors.blue.base,
|
|
4
|
+
risquePro: baseTokens.color.brick.base,
|
|
5
|
+
|
|
6
|
+
// Border
|
|
7
|
+
border: baseTokens.color.blue.base,
|
|
8
|
+
borderVariant: baseTokens.color.grey.lighten40,
|
|
9
|
+
borderBright: baseTokens.color.white.base,
|
|
10
|
+
borderDim: baseTokens.color.white.alpha40,
|
|
11
|
+
|
|
12
|
+
// Disabled
|
|
13
|
+
disabled: baseTokens.color.grey.lighten80,
|
|
14
|
+
onDisabled: baseTokens.color.grey.lighten40,
|
|
15
|
+
inverseSurface: baseTokens.color.grey.base,
|
|
16
|
+
onDisabledVariant: baseTokens.color.white.alpha40,
|
|
17
|
+
|
|
18
|
+
// Primary
|
|
19
|
+
primary: baseTokens.color.blue.base,
|
|
20
|
+
onPrimary: baseTokens.color.white.base,
|
|
21
|
+
primaryVariant: baseTokens.color.blue.darken40,
|
|
22
|
+
onPrimaryVariant: baseTokens.color.white.base,
|
|
23
|
+
|
|
24
|
+
// Secondary
|
|
25
|
+
secondary: baseTokens.color.cyan.darken40,
|
|
26
|
+
onSecondary: baseTokens.color.white.base,
|
|
27
|
+
secondaryVariant: baseTokens.color.cyan.darken60,
|
|
28
|
+
onSecondaryVariant: baseTokens.color.white.base,
|
|
29
|
+
|
|
30
|
+
// Overlay
|
|
31
|
+
overlay: baseTokens.color.grey.alpha40,
|
|
32
|
+
|
|
33
|
+
// Surface
|
|
34
|
+
surface: baseTokens.color.white.base,
|
|
35
|
+
surfaceBright: baseTokens.color.blue.lighten97,
|
|
36
|
+
surfaceDim: baseTokens.color.blue.lighten90,
|
|
37
|
+
onSurface: baseTokens.color.grey.darken60,
|
|
38
|
+
onSurfaceVariant: baseTokens.color.grey.base,
|
|
39
|
+
|
|
40
|
+
// Background
|
|
41
|
+
background: baseTokens.color.blue.lighten90,
|
|
42
|
+
onBackground: baseTokens.color.grey.darken60,
|
|
43
|
+
backgroundVariant: baseTokens.color.white.base,
|
|
44
|
+
onBackgroundVariant: baseTokens.color.grey.lighten40,
|
|
45
|
+
|
|
46
|
+
// Feedback
|
|
47
|
+
info: baseTokens.color.blue.base,
|
|
48
|
+
infoVariant: baseTokens.color.blue.lighten80,
|
|
49
|
+
infoVariant90: baseTokens.color.blue.lighten90,
|
|
50
|
+
onInfo: baseTokens.color.white.base,
|
|
51
|
+
onInfoVariant: baseTokens.color.blue.darken20,
|
|
52
|
+
error: baseTokens.color.orange.darken20,
|
|
53
|
+
onError: baseTokens.color.white.base,
|
|
54
|
+
errorVariant: baseTokens.color.orange.lighten80,
|
|
55
|
+
errorVariant90: baseTokens.color.orange.lighten90,
|
|
56
|
+
onErrorVariant: baseTokens.color.orange.darken60,
|
|
57
|
+
success: baseTokens.color.green.base,
|
|
58
|
+
successVariant: baseTokens.color.green.lighten80,
|
|
59
|
+
successVariant90: baseTokens.color.green.lighten90,
|
|
60
|
+
onSuccess: baseTokens.color.grey.darken60,
|
|
61
|
+
onSuccessVariant: baseTokens.color.green.darken60,
|
|
62
|
+
warning: baseTokens.color.yellow.base,
|
|
63
|
+
onWarning: baseTokens.color.grey.darken60,
|
|
64
|
+
warningVariant: baseTokens.color.yellow.lighten80,
|
|
65
|
+
warningVariant90: baseTokens.color.yellow.lighten90,
|
|
66
|
+
onWarningVariant: baseTokens.color.yellow.darken60,
|
|
67
|
+
|
|
68
|
+
// Interaction
|
|
69
|
+
interactionLightenEnabled: baseTokens.color.none,
|
|
70
|
+
interactionLightenHover: baseTokens.color.white.alpha20,
|
|
71
|
+
interactionLightenSelected: baseTokens.color.white.alpha20,
|
|
72
|
+
interactionLightenPressed: baseTokens.color.white.alpha38,
|
|
73
|
+
interactionDarkEnabled: baseTokens.color.transparentBlue.alpha00,
|
|
74
|
+
interactionDarkHover: baseTokens.color.transparentBlue.alpha08,
|
|
75
|
+
interactionDarkPressed: baseTokens.color.transparentBlue.alpha18,
|
|
76
|
+
interactionDarkenEnabled: baseTokens.color.transparentBlack.alpha00,
|
|
77
|
+
interactionDarkenHover: baseTokens.color.transparentBlack.alpha20,
|
|
78
|
+
interactionDarkenPressed: baseTokens.color.transparentBlack.alpha40,
|
|
107
79
|
}
|
|
@@ -1,102 +1,76 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { paSemanticTokens } from './paSemantic'
|
|
1
|
+
import { baseTokens } from '../baseTokens'
|
|
3
2
|
|
|
4
3
|
export const paLightTheme = {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
textAccentPrimary: paSemanticTokens.colors.text.accentPrimary,
|
|
78
|
-
textAccentPrimaryContrasted: paSemanticTokens.colors.text.accentPrimaryContrasted,
|
|
79
|
-
textAccentSecondary: paSemanticTokens.colors.text.accentSecondary,
|
|
80
|
-
textSubdued: paSemanticTokens.colors.text.subdued,
|
|
81
|
-
textInfo: paSemanticTokens.colors.text.info,
|
|
82
|
-
textSuccess: paSemanticTokens.colors.text.success,
|
|
83
|
-
textWarning: paSemanticTokens.colors.text.warning,
|
|
84
|
-
textError: paSemanticTokens.colors.text.error,
|
|
85
|
-
textDisabled: paSemanticTokens.colors.text.disabled,
|
|
86
|
-
textOnDark: paSemanticTokens.colors.text.onDark,
|
|
87
|
-
textSubduedOnDark: paSemanticTokens.colors.text.subduedOnDark,
|
|
88
|
-
textDisabledOnDark: paSemanticTokens.colors.text.disabledOnDark,
|
|
89
|
-
iconBase: paSemanticTokens.colors.icon.base,
|
|
90
|
-
iconSubdued: paSemanticTokens.colors.icon.subdued,
|
|
91
|
-
iconSubduedOnDark: paSemanticTokens.colors.icon.subduedOnDark,
|
|
92
|
-
iconAccentPrimary: paSemanticTokens.colors.icon.accentPrimary,
|
|
93
|
-
iconAccentPrimaryContrasted: paSemanticTokens.colors.icon.accentPrimaryContrasted,
|
|
94
|
-
iconAccentSecondary: paSemanticTokens.colors.icon.accentSecondary,
|
|
95
|
-
iconInfo: paSemanticTokens.colors.icon.info,
|
|
96
|
-
iconSuccess: paSemanticTokens.colors.icon.success,
|
|
97
|
-
iconWarning: paSemanticTokens.colors.icon.warning,
|
|
98
|
-
iconError: paSemanticTokens.colors.icon.error,
|
|
99
|
-
iconOnDark: paSemanticTokens.colors.icon.onDark,
|
|
100
|
-
iconDisabled: paSemanticTokens.colors.icon.disabled,
|
|
101
|
-
iconDisabledOnDark: paSemanticTokens.colors.icon.disabledOnDark,
|
|
4
|
+
risquePro: baseTokens.color.brick.base,
|
|
5
|
+
|
|
6
|
+
// Border
|
|
7
|
+
border: baseTokens.color.blue.base,
|
|
8
|
+
borderVariant: baseTokens.color.grey.lighten40,
|
|
9
|
+
borderBright: baseTokens.color.white.base,
|
|
10
|
+
borderDim: baseTokens.color.white.alpha40,
|
|
11
|
+
|
|
12
|
+
// Disabled
|
|
13
|
+
disabled: baseTokens.color.grey.lighten80,
|
|
14
|
+
onDisabled: baseTokens.color.grey.lighten40,
|
|
15
|
+
inverseSurface: baseTokens.color.grey.base,
|
|
16
|
+
onDisabledVariant: baseTokens.color.white.alpha40,
|
|
17
|
+
|
|
18
|
+
// Primary
|
|
19
|
+
primary: baseTokens.color.blue.base,
|
|
20
|
+
onPrimary: baseTokens.color.white.base,
|
|
21
|
+
primaryVariant: baseTokens.color.blue.darken40,
|
|
22
|
+
onPrimaryVariant: baseTokens.color.white.base,
|
|
23
|
+
|
|
24
|
+
// Secondary
|
|
25
|
+
secondary: baseTokens.color.cyan.darken40,
|
|
26
|
+
onSecondary: baseTokens.color.white.base,
|
|
27
|
+
secondaryVariant: baseTokens.color.cyan.darken60,
|
|
28
|
+
onSecondaryVariant: baseTokens.color.white.base,
|
|
29
|
+
|
|
30
|
+
// Overlay
|
|
31
|
+
overlay: baseTokens.color.grey.alpha40,
|
|
32
|
+
|
|
33
|
+
// Surface
|
|
34
|
+
surface: baseTokens.color.white.base,
|
|
35
|
+
surfaceBright: baseTokens.color.blue.lighten97,
|
|
36
|
+
surfaceDim: baseTokens.color.blue.lighten90,
|
|
37
|
+
onSurface: baseTokens.color.grey.darken60,
|
|
38
|
+
onSurfaceVariant: baseTokens.color.grey.base,
|
|
39
|
+
|
|
40
|
+
// Background
|
|
41
|
+
background: baseTokens.color.blue.lighten90,
|
|
42
|
+
onBackground: baseTokens.color.grey.darken60,
|
|
43
|
+
backgroundVariant: baseTokens.color.white.base,
|
|
44
|
+
onBackgroundVariant: baseTokens.color.grey.lighten40,
|
|
45
|
+
|
|
46
|
+
// Feedback
|
|
47
|
+
info: baseTokens.color.blue.base,
|
|
48
|
+
infoVariant: baseTokens.color.blue.lighten80,
|
|
49
|
+
onInfo: baseTokens.color.white.base,
|
|
50
|
+
onInfoVariant: baseTokens.color.blue.darken20,
|
|
51
|
+
error: baseTokens.color.orange.darken20,
|
|
52
|
+
onError: baseTokens.color.white.base,
|
|
53
|
+
errorVariant: baseTokens.color.orange.lighten80,
|
|
54
|
+
onErrorVariant: baseTokens.color.orange.darken60,
|
|
55
|
+
success: baseTokens.color.green.base,
|
|
56
|
+
successVariant: baseTokens.color.green.lighten80,
|
|
57
|
+
onSuccess: baseTokens.color.grey.darken60,
|
|
58
|
+
onSuccessVariant: baseTokens.color.grey.darken60,
|
|
59
|
+
warning: baseTokens.color.yellow.base,
|
|
60
|
+
onWarning: baseTokens.color.grey.darken60,
|
|
61
|
+
warningVariant: baseTokens.color.yellow.lighten80,
|
|
62
|
+
onWarningVariant: baseTokens.color.yellow.darken60,
|
|
63
|
+
|
|
64
|
+
// Interaction
|
|
65
|
+
interactionLightenEnabled: baseTokens.color.none,
|
|
66
|
+
interactionLightenHover: baseTokens.color.white.alpha20,
|
|
67
|
+
interactionLightenSelected: baseTokens.color.white.alpha20,
|
|
68
|
+
interactionLightenPressed: baseTokens.color.white.alpha38,
|
|
69
|
+
interactionDarkEnabled: baseTokens.color.transparentBlue.alpha00,
|
|
70
|
+
interactionDarkHover: baseTokens.color.transparentBlue.alpha08,
|
|
71
|
+
interactionDarkPressed: baseTokens.color.transparentBlue.alpha18,
|
|
72
|
+
interactionDarkenEnabled: baseTokens.color.transparentBlack.alpha00,
|
|
73
|
+
interactionDarkenHover: baseTokens.color.transparentBlack.alpha20,
|
|
74
|
+
interactionDarkenPressed: baseTokens.color.transparentBlack.alpha40,
|
|
75
|
+
|
|
102
76
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { paColorsTokens } from './paColors'
|
|
2
|
+
import { cnamColorsTokens } from '@/designTokens'
|
|
2
3
|
|
|
3
4
|
export const paSemanticTokens = {
|
|
4
5
|
colors: {
|
|
@@ -6,6 +7,7 @@ export const paSemanticTokens = {
|
|
|
6
7
|
main: paColorsTokens.blue.lighten90,
|
|
7
8
|
surface: paColorsTokens.white.base,
|
|
8
9
|
mainAlt: paColorsTokens.white.base,
|
|
10
|
+
mainTer: cnamColorsTokens.grey.lighten97,
|
|
9
11
|
surfaceAlt: paColorsTokens.blue.lighten90,
|
|
10
12
|
raised: paColorsTokens.blue.lighten97,
|
|
11
13
|
accent: paColorsTokens.blue.base,
|