@telefonica/mistica 16.59.0 → 16.61.0
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/css/mistica.css +1 -1
- package/dist/accordion.css-mistica.js +6 -6
- package/dist/align.css-mistica.js +1 -1
- package/dist/autocomplete.css-mistica.js +1 -1
- package/dist/avatar.css-mistica.js +1 -1
- package/dist/badge.css-mistica.js +1 -1
- package/dist/box.css-mistica.js +13 -13
- package/dist/boxed.css-mistica.js +24 -24
- package/dist/button-fixed-footer-layout.d.ts +2 -1
- package/dist/button-fixed-footer-layout.js +4 -3
- package/dist/button-group.css-mistica.js +1 -1
- package/dist/button-layout.css-mistica.js +14 -14
- package/dist/button.css-mistica.js +30 -30
- package/dist/callout.css-mistica.js +11 -11
- package/dist/card-internal.css-mistica.js +15 -15
- package/dist/carousel.css-mistica.js +8 -8
- package/dist/checkbox.css-mistica.js +11 -11
- package/dist/chip.css-mistica.js +15 -15
- package/dist/circle.css-mistica.js +1 -1
- package/dist/community/advanced-data-card.css-mistica.js +6 -6
- package/dist/community/blocks.css-mistica.js +1 -1
- package/dist/community/example-component.css-mistica.js +1 -1
- package/dist/counter.css-mistica.js +1 -1
- package/dist/cover-hero.css-mistica.js +2 -2
- package/dist/credit-card-number-field.css-mistica.js +3 -3
- package/dist/date-field.css-mistica.js +1 -1
- package/dist/date-time-picker.css-mistica.js +1 -1
- package/dist/dialog.css-mistica.js +4 -4
- package/dist/divider.css-mistica.js +5 -5
- package/dist/double-field.css-mistica.js +2 -2
- package/dist/drawer.css-mistica.js +1 -1
- package/dist/empty-state-card.css-mistica.js +1 -1
- package/dist/empty-state.css-mistica.js +5 -5
- package/dist/fade-in.css-mistica.js +1 -1
- package/dist/feedback.css-mistica.js +1 -1
- package/dist/file-upload.css-mistica.js +7 -7
- package/dist/fixed-footer-layout.css-mistica.js +2 -2
- package/dist/fixed-footer-layout.d.ts +6 -1
- package/dist/fixed-footer-layout.js +29 -28
- package/dist/form.css-mistica.js +1 -1
- package/dist/grid-layout.css-mistica.js +3 -3
- package/dist/grid.css-mistica.js +120 -120
- package/dist/header.css-mistica.js +1 -1
- package/dist/hero.css-mistica.js +2 -2
- package/dist/horizontal-scroll.css-mistica.js +1 -1
- package/dist/icon-button.css-mistica.js +53 -53
- package/dist/icons/icon-chevron.css-mistica.js +2 -2
- package/dist/icons/icon-error.css-mistica.js +1 -1
- package/dist/image.css-mistica.js +2 -2
- package/dist/image.js +8 -1
- package/dist/inline.css-mistica.js +9 -9
- package/dist/list.css-mistica.js +1 -1
- package/dist/loading-bar.css-mistica.js +1 -1
- package/dist/loading-screen.css-mistica.js +4 -4
- package/dist/logo.css-mistica.js +5 -5
- package/dist/menu.css-mistica.js +13 -13
- package/dist/mosaic.css-mistica.js +1 -1
- package/dist/navigation-bar.css-mistica.js +18 -18
- package/dist/navigation-breadcrumbs.css-mistica.js +1 -1
- package/dist/package-version.js +1 -1
- package/dist/pin-field.css-mistica.js +1 -1
- package/dist/popover.css-mistica.js +1 -1
- package/dist/progress-bar.css-mistica.js +6 -6
- package/dist/radio-button.css-mistica.js +19 -19
- package/dist/rating.css-mistica.js +2 -2
- package/dist/responsive-layout.css-mistica.js +6 -6
- package/dist/screen-reader-only.css-mistica.js +1 -1
- package/dist/select.css-mistica.js +15 -15
- package/dist/sheet-action-row.css-mistica.js +1 -1
- package/dist/sheet-common.css-mistica.js +1 -1
- package/dist/sheet-info.css-mistica.js +1 -1
- package/dist/skeletons.css-mistica.js +6 -6
- package/dist/skins/skin-contract.css-mistica.js +684 -684
- package/dist/skip-link.css-mistica.js +1 -1
- package/dist/slider.css-mistica.js +18 -18
- package/dist/snackbar.css-mistica.js +4 -4
- package/dist/spinner.css-mistica.js +1 -1
- package/dist/square.css-mistica.js +1 -1
- package/dist/stack.css-mistica.js +5 -5
- package/dist/stacking-group.css-mistica.js +1 -1
- package/dist/stepper.css-mistica.js +2 -2
- package/dist/switch-component.css-mistica.js +35 -35
- package/dist/table.css-mistica.js +9 -9
- package/dist/tabs.css-mistica.js +17 -17
- package/dist/tag.css-mistica.js +1 -1
- package/dist/text-field-base.css-mistica.js +15 -15
- package/dist/text-field-components.css-mistica.js +3 -3
- package/dist/text-link.css-mistica.js +6 -6
- package/dist/text.css-mistica.js +6 -6
- package/dist/theme-context.css-mistica.js +1 -1
- package/dist/timeline.css-mistica.js +9 -9
- package/dist/timer.css-mistica.js +6 -6
- package/dist/tooltip.css-mistica.js +1 -1
- package/dist/touchable.css-mistica.js +1 -1
- package/dist/utils/aspect-ratio-support.css-mistica.js +2 -2
- package/dist/video.css-mistica.js +1 -1
- package/dist/vivinho-loading-animation/vivinho-loading-animation.css-mistica.js +1 -1
- package/dist-es/accordion.css-mistica.js +6 -6
- package/dist-es/align.css-mistica.js +1 -1
- package/dist-es/autocomplete.css-mistica.js +1 -1
- package/dist-es/avatar.css-mistica.js +1 -1
- package/dist-es/badge.css-mistica.js +1 -1
- package/dist-es/box.css-mistica.js +13 -13
- package/dist-es/boxed.css-mistica.js +23 -23
- package/dist-es/button-fixed-footer-layout.js +12 -11
- package/dist-es/button-group.css-mistica.js +1 -1
- package/dist-es/button-layout.css-mistica.js +14 -14
- package/dist-es/button.css-mistica.js +30 -30
- package/dist-es/callout.css-mistica.js +11 -11
- package/dist-es/card-internal.css-mistica.js +15 -15
- package/dist-es/carousel.css-mistica.js +8 -8
- package/dist-es/checkbox.css-mistica.js +11 -11
- package/dist-es/chip.css-mistica.js +15 -15
- package/dist-es/circle.css-mistica.js +1 -1
- package/dist-es/community/advanced-data-card.css-mistica.js +6 -6
- package/dist-es/community/blocks.css-mistica.js +1 -1
- package/dist-es/community/example-component.css-mistica.js +1 -1
- package/dist-es/counter.css-mistica.js +1 -1
- package/dist-es/cover-hero.css-mistica.js +2 -2
- package/dist-es/credit-card-number-field.css-mistica.js +3 -3
- package/dist-es/date-field.css-mistica.js +1 -1
- package/dist-es/date-time-picker.css-mistica.js +1 -1
- package/dist-es/dialog.css-mistica.js +4 -4
- package/dist-es/divider.css-mistica.js +5 -5
- package/dist-es/double-field.css-mistica.js +2 -2
- package/dist-es/drawer.css-mistica.js +1 -1
- package/dist-es/empty-state-card.css-mistica.js +1 -1
- package/dist-es/empty-state.css-mistica.js +5 -5
- package/dist-es/fade-in.css-mistica.js +1 -1
- package/dist-es/feedback.css-mistica.js +1 -1
- package/dist-es/file-upload.css-mistica.js +7 -7
- package/dist-es/fixed-footer-layout.css-mistica.js +2 -2
- package/dist-es/fixed-footer-layout.js +57 -56
- package/dist-es/form.css-mistica.js +1 -1
- package/dist-es/grid-layout.css-mistica.js +3 -3
- package/dist-es/grid.css-mistica.js +120 -120
- package/dist-es/header.css-mistica.js +1 -1
- package/dist-es/hero.css-mistica.js +2 -2
- package/dist-es/horizontal-scroll.css-mistica.js +1 -1
- package/dist-es/icon-button.css-mistica.js +53 -53
- package/dist-es/icons/icon-chevron.css-mistica.js +2 -2
- package/dist-es/icons/icon-error.css-mistica.js +1 -1
- package/dist-es/image.css-mistica.js +2 -2
- package/dist-es/image.js +8 -1
- package/dist-es/inline.css-mistica.js +9 -9
- package/dist-es/list.css-mistica.js +1 -1
- package/dist-es/loading-bar.css-mistica.js +1 -1
- package/dist-es/loading-screen.css-mistica.js +4 -4
- package/dist-es/logo.css-mistica.js +5 -5
- package/dist-es/menu.css-mistica.js +13 -13
- package/dist-es/mosaic.css-mistica.js +1 -1
- package/dist-es/navigation-bar.css-mistica.js +18 -18
- package/dist-es/navigation-breadcrumbs.css-mistica.js +1 -1
- package/dist-es/package-version.js +1 -1
- package/dist-es/pin-field.css-mistica.js +1 -1
- package/dist-es/popover.css-mistica.js +1 -1
- package/dist-es/progress-bar.css-mistica.js +6 -6
- package/dist-es/radio-button.css-mistica.js +19 -19
- package/dist-es/rating.css-mistica.js +2 -2
- package/dist-es/responsive-layout.css-mistica.js +6 -6
- package/dist-es/screen-reader-only.css-mistica.js +1 -1
- package/dist-es/select.css-mistica.js +15 -15
- package/dist-es/sheet-action-row.css-mistica.js +1 -1
- package/dist-es/sheet-common.css-mistica.js +1 -1
- package/dist-es/sheet-info.css-mistica.js +1 -1
- package/dist-es/skeletons.css-mistica.js +6 -6
- package/dist-es/skins/skin-contract.css-mistica.js +684 -684
- package/dist-es/skip-link.css-mistica.js +1 -1
- package/dist-es/slider.css-mistica.js +18 -18
- package/dist-es/snackbar.css-mistica.js +4 -4
- package/dist-es/spinner.css-mistica.js +1 -1
- package/dist-es/square.css-mistica.js +1 -1
- package/dist-es/stack.css-mistica.js +5 -5
- package/dist-es/stacking-group.css-mistica.js +1 -1
- package/dist-es/stepper.css-mistica.js +2 -2
- package/dist-es/style.css +1 -1
- package/dist-es/switch-component.css-mistica.js +35 -35
- package/dist-es/table.css-mistica.js +9 -9
- package/dist-es/tabs.css-mistica.js +17 -17
- package/dist-es/tag.css-mistica.js +1 -1
- package/dist-es/text-field-base.css-mistica.js +15 -15
- package/dist-es/text-field-components.css-mistica.js +3 -3
- package/dist-es/text-link.css-mistica.js +6 -6
- package/dist-es/text.css-mistica.js +6 -6
- package/dist-es/theme-context.css-mistica.js +1 -1
- package/dist-es/timeline.css-mistica.js +9 -9
- package/dist-es/timer.css-mistica.js +6 -6
- package/dist-es/tooltip.css-mistica.js +1 -1
- package/dist-es/touchable.css-mistica.js +1 -1
- package/dist-es/utils/aspect-ratio-support.css-mistica.js +2 -2
- package/dist-es/video.css-mistica.js +1 -1
- package/dist-es/vivinho-loading-animation/vivinho-loading-animation.css-mistica.js +1 -1
- package/doc/llms.md +11 -0
- package/package.json +14 -2
- package/src/accordion.css.ts +121 -0
- package/src/accordion.tsx +366 -0
- package/src/align.css.ts +7 -0
- package/src/align.tsx +32 -0
- package/src/autocomplete.css.ts +62 -0
- package/src/autocomplete.tsx +239 -0
- package/src/avatar.css.ts +14 -0
- package/src/avatar.tsx +120 -0
- package/src/badge.css.ts +51 -0
- package/src/badge.tsx +79 -0
- package/src/box.css.ts +51 -0
- package/src/box.tsx +114 -0
- package/src/boxed.css.ts +132 -0
- package/src/boxed.tsx +153 -0
- package/src/button-fixed-footer-layout.tsx +65 -0
- package/src/button-group.css.ts +75 -0
- package/src/button-group.tsx +91 -0
- package/src/button-layout.css.ts +162 -0
- package/src/button-layout.tsx +91 -0
- package/src/button.css.ts +758 -0
- package/src/button.tsx +632 -0
- package/src/callout.css.ts +50 -0
- package/src/callout.tsx +147 -0
- package/src/card-cover.tsx +242 -0
- package/src/card-data.tsx +152 -0
- package/src/card-internal.css.ts +271 -0
- package/src/card-internal.tsx +1724 -0
- package/src/card-media.tsx +157 -0
- package/src/card-naked.tsx +63 -0
- package/src/carousel.css.ts +522 -0
- package/src/carousel.tsx +1300 -0
- package/src/checkbox.css.ts +94 -0
- package/src/checkbox.tsx +192 -0
- package/src/chip.css.ts +204 -0
- package/src/chip.tsx +191 -0
- package/src/circle.css.ts +14 -0
- package/src/circle.tsx +52 -0
- package/src/community/__screenshot_tests__/__image_snapshots__/advanced-data-card-screenshot-test-tsx-advanced-data-card-actions-button-and-link-footer-image-false-1-snap.png +0 -0
- package/src/community/__screenshot_tests__/__image_snapshots__/advanced-data-card-screenshot-test-tsx-advanced-data-card-actions-button-and-link-footer-image-true-1-snap.png +0 -0
- package/src/community/__screenshot_tests__/__image_snapshots__/advanced-data-card-screenshot-test-tsx-advanced-data-card-actions-button-footer-image-false-1-snap.png +0 -0
- package/src/community/__screenshot_tests__/__image_snapshots__/advanced-data-card-screenshot-test-tsx-advanced-data-card-actions-button-footer-image-true-1-snap.png +0 -0
- package/src/community/__screenshot_tests__/__image_snapshots__/advanced-data-card-screenshot-test-tsx-advanced-data-card-actions-link-footer-image-false-1-snap.png +0 -0
- package/src/community/__screenshot_tests__/__image_snapshots__/advanced-data-card-screenshot-test-tsx-advanced-data-card-actions-link-footer-image-true-1-snap.png +0 -0
- package/src/community/__screenshot_tests__/__image_snapshots__/advanced-data-card-screenshot-test-tsx-advanced-data-card-actions-none-footer-image-false-1-snap.png +0 -0
- package/src/community/__screenshot_tests__/__image_snapshots__/advanced-data-card-screenshot-test-tsx-advanced-data-card-actions-none-footer-image-true-1-snap.png +0 -0
- package/src/community/__screenshot_tests__/__image_snapshots__/advanced-data-card-screenshot-test-tsx-advanced-data-card-extras-0-1-snap.png +0 -0
- package/src/community/__screenshot_tests__/__image_snapshots__/advanced-data-card-screenshot-test-tsx-advanced-data-card-extras-1-1-snap.png +0 -0
- package/src/community/__screenshot_tests__/__image_snapshots__/advanced-data-card-screenshot-test-tsx-advanced-data-card-extras-3-1-snap.png +0 -0
- package/src/community/__screenshot_tests__/__image_snapshots__/advanced-data-card-screenshot-test-tsx-advanced-data-card-extras-3-no-divider-1-snap.png +0 -0
- package/src/community/__screenshot_tests__/__image_snapshots__/advanced-data-card-screenshot-test-tsx-advanced-data-card-inside-carousel-1-snap.png +0 -0
- package/src/community/__screenshot_tests__/__image_snapshots__/advanced-data-card-screenshot-test-tsx-advanced-data-card-without-stacking-group-with-top-actions-and-too-long-title-1-snap.png +0 -0
- package/src/community/__screenshot_tests__/__image_snapshots__/blocks-screenshot-test-tsx-blocks-highlighted-value-block-1-snap.png +0 -0
- package/src/community/__screenshot_tests__/__image_snapshots__/blocks-screenshot-test-tsx-blocks-information-block-1-snap.png +0 -0
- package/src/community/__screenshot_tests__/__image_snapshots__/blocks-screenshot-test-tsx-blocks-progress-block-1-snap.png +0 -0
- package/src/community/__screenshot_tests__/__image_snapshots__/blocks-screenshot-test-tsx-blocks-progress-block-2-snap.png +0 -0
- package/src/community/__screenshot_tests__/__image_snapshots__/blocks-screenshot-test-tsx-blocks-row-block-1-snap.png +0 -0
- package/src/community/__screenshot_tests__/__image_snapshots__/blocks-screenshot-test-tsx-blocks-simple-block-1-snap.png +0 -0
- package/src/community/__screenshot_tests__/__image_snapshots__/blocks-screenshot-test-tsx-blocks-value-block-1-snap.png +0 -0
- package/src/community/__screenshot_tests__/advanced-data-card-screenshot-test.tsx +84 -0
- package/src/community/__screenshot_tests__/blocks-screenshot-test.tsx +72 -0
- package/src/community/__stories__/advanced-data-card-carousel-story.tsx +66 -0
- package/src/community/__stories__/advanced-data-card-story.tsx +158 -0
- package/src/community/__stories__/blocks-story.tsx +272 -0
- package/src/community/__stories__/example-component-story.tsx +15 -0
- package/src/community/__stories__/index-story.tsx +154 -0
- package/src/community/__type_tests__/advanced-data-card-type-test.tsx +40 -0
- package/src/community/advanced-data-card.css.ts +271 -0
- package/src/community/advanced-data-card.tsx +431 -0
- package/src/community/blocks.css.ts +12 -0
- package/src/community/blocks.tsx +290 -0
- package/src/community/example-component.css.ts +7 -0
- package/src/community/example-component.tsx +17 -0
- package/src/community/index.tsx +10 -0
- package/src/counter.css.ts +150 -0
- package/src/counter.tsx +215 -0
- package/src/cover-hero-media.tsx +39 -0
- package/src/cover-hero.css.ts +133 -0
- package/src/cover-hero.tsx +262 -0
- package/src/credit-card-expiration-field.tsx +187 -0
- package/src/credit-card-fields.tsx +56 -0
- package/src/credit-card-number-field.css.ts +47 -0
- package/src/credit-card-number-field.tsx +245 -0
- package/src/cvv-field.tsx +169 -0
- package/src/date-field.css.ts +14 -0
- package/src/date-field.tsx +130 -0
- package/src/date-time-field.tsx +141 -0
- package/src/date-time-picker.css.ts +126 -0
- package/src/date-time-picker.tsx +188 -0
- package/src/decimal-field.tsx +160 -0
- package/src/desktop-container-type-context.tsx +15 -0
- package/src/dialog-context.tsx +81 -0
- package/src/dialog.css.ts +155 -0
- package/src/dialog.tsx +423 -0
- package/src/divider.css.ts +10 -0
- package/src/divider.tsx +11 -0
- package/src/double-field.css.ts +33 -0
- package/src/double-field.tsx +71 -0
- package/src/drawer.css.ts +123 -0
- package/src/drawer.tsx +304 -0
- package/src/email-field.tsx +76 -0
- package/src/empty-state-card.css.ts +40 -0
- package/src/empty-state-card.tsx +92 -0
- package/src/empty-state.css.ts +119 -0
- package/src/empty-state.tsx +141 -0
- package/src/fade-in.css.ts +12 -0
- package/src/fade-in.tsx +40 -0
- package/src/feedback.css.ts +119 -0
- package/src/feedback.tsx +432 -0
- package/src/file-upload.css.ts +156 -0
- package/src/file-upload.tsx +612 -0
- package/src/fixed-footer-layout.css.ts +96 -0
- package/src/fixed-footer-layout.tsx +227 -0
- package/src/fixed-to-top.tsx +21 -0
- package/src/focus-trap.tsx +17 -0
- package/src/form-context.tsx +198 -0
- package/src/form.css.ts +5 -0
- package/src/form.tsx +287 -0
- package/src/grid-layout.css.ts +68 -0
- package/src/grid-layout.tsx +201 -0
- package/src/grid.css.ts +203 -0
- package/src/grid.tsx +241 -0
- package/src/header.css.ts +30 -0
- package/src/header.tsx +319 -0
- package/src/hero.css.ts +71 -0
- package/src/hero.tsx +318 -0
- package/src/hooks.tsx +313 -0
- package/src/horizontal-scroll.css.ts +43 -0
- package/src/horizontal-scroll.tsx +18 -0
- package/src/iban-field.tsx +218 -0
- package/src/icon-button.css.ts +561 -0
- package/src/icon-button.tsx +221 -0
- package/src/icons/__stories__/mistica-icons-story.tsx +192 -0
- package/src/icons/icon-amex.tsx +40 -0
- package/src/icons/icon-chevron.css.ts +23 -0
- package/src/icons/icon-chevron.tsx +150 -0
- package/src/icons/icon-cvv-amex.tsx +31 -0
- package/src/icons/icon-cvv-visa-mc.tsx +31 -0
- package/src/icons/icon-error.css.ts +27 -0
- package/src/icons/icon-error.tsx +207 -0
- package/src/icons/icon-info.tsx +86 -0
- package/src/icons/icon-mastercard.tsx +36 -0
- package/src/icons/icon-success-vivo-new.tsx +51 -0
- package/src/icons/icon-success-vivo.tsx +36 -0
- package/src/icons/icon-success.tsx +211 -0
- package/src/icons/icon-visa.tsx +32 -0
- package/src/image.css.ts +48 -0
- package/src/image.tsx +352 -0
- package/src/index.tsx +2466 -0
- package/src/inline.css.ts +131 -0
- package/src/inline.tsx +135 -0
- package/src/integer-field.tsx +93 -0
- package/src/list.css.ts +281 -0
- package/src/list.tsx +963 -0
- package/src/loading-bar.css.ts +69 -0
- package/src/loading-bar.tsx +25 -0
- package/src/loading-screen.css.ts +114 -0
- package/src/loading-screen.tsx +376 -0
- package/src/logo-blau-shell.tsx +30 -0
- package/src/logo-blau.tsx +60 -0
- package/src/logo-common.tsx +29 -0
- package/src/logo-esimflag-shell.tsx +30 -0
- package/src/logo-esimflag.tsx +56 -0
- package/src/logo-movistar-new-shell.tsx +30 -0
- package/src/logo-movistar-new.tsx +85 -0
- package/src/logo-movistar-shell.tsx +30 -0
- package/src/logo-movistar.tsx +63 -0
- package/src/logo-o2-new-shell.tsx +26 -0
- package/src/logo-o2-new.tsx +27 -0
- package/src/logo-o2-shell.tsx +26 -0
- package/src/logo-o2.tsx +27 -0
- package/src/logo-telefonica-shell.tsx +30 -0
- package/src/logo-telefonica.tsx +95 -0
- package/src/logo-tu-shell.tsx +26 -0
- package/src/logo-tu.tsx +28 -0
- package/src/logo-vivo-shell.tsx +30 -0
- package/src/logo-vivo.tsx +53 -0
- package/src/logo.css.ts +33 -0
- package/src/logo.tsx +313 -0
- package/src/master-detail-layout.tsx +28 -0
- package/src/maybe-dismissable.css.ts +37 -0
- package/src/maybe-dismissable.tsx +58 -0
- package/src/media-queries.css.ts +67 -0
- package/src/menu.css.ts +132 -0
- package/src/menu.tsx +468 -0
- package/src/meter.tsx +516 -0
- package/src/modal-context-provider.tsx +45 -0
- package/src/month-field.tsx +124 -0
- package/src/mosaic.css.ts +73 -0
- package/src/mosaic.tsx +205 -0
- package/src/navigation-bar.css.ts +558 -0
- package/src/navigation-bar.tsx +1637 -0
- package/src/navigation-breadcrumbs.css.ts +22 -0
- package/src/navigation-breadcrumbs.tsx +69 -0
- package/src/negative-box.tsx +15 -0
- package/src/nestable-context.tsx +139 -0
- package/src/overlay.tsx +86 -0
- package/src/overscroll-color-context.tsx +141 -0
- package/src/package-version.tsx +2 -0
- package/src/password-field.tsx +126 -0
- package/src/phone-number-field-lite.tsx +265 -0
- package/src/phone-number-field.tsx +171 -0
- package/src/pin-field.css.ts +90 -0
- package/src/pin-field.tsx +346 -0
- package/src/placeholder.tsx +41 -0
- package/src/popover.css.ts +8 -0
- package/src/popover.tsx +85 -0
- package/src/portal.tsx +43 -0
- package/src/progress-bar.css.ts +61 -0
- package/src/progress-bar.tsx +174 -0
- package/src/radio-button.css.ts +174 -0
- package/src/radio-button.tsx +322 -0
- package/src/rating.css.ts +128 -0
- package/src/rating.tsx +351 -0
- package/src/responsive-layout.css.ts +162 -0
- package/src/responsive-layout.tsx +106 -0
- package/src/screen-reader-only.css.ts +27 -0
- package/src/screen-reader-only.tsx +33 -0
- package/src/screen-size-context-provider.tsx +96 -0
- package/src/screen-size-context.tsx +23 -0
- package/src/search-field.tsx +126 -0
- package/src/select.css.ts +226 -0
- package/src/select.tsx +513 -0
- package/src/sheet-action-row.css.ts +33 -0
- package/src/sheet-actions-list.tsx +113 -0
- package/src/sheet-actions.tsx +95 -0
- package/src/sheet-common.css.ts +254 -0
- package/src/sheet-common.tsx +402 -0
- package/src/sheet-info.css.ts +19 -0
- package/src/sheet-info.tsx +127 -0
- package/src/sheet-native.tsx +189 -0
- package/src/sheet-radio-list.tsx +118 -0
- package/src/sheet-root.tsx +127 -0
- package/src/sheet-types.tsx +94 -0
- package/src/sheet-web.tsx +140 -0
- package/src/skeleton-base.tsx +38 -0
- package/src/skeletons.css.ts +56 -0
- package/src/skeletons.tsx +133 -0
- package/src/skins/blau.tsx +724 -0
- package/src/skins/constants.tsx +10 -0
- package/src/skins/defaults.tsx +104 -0
- package/src/skins/esimflag.tsx +728 -0
- package/src/skins/movistar-new.tsx +735 -0
- package/src/skins/movistar.tsx +740 -0
- package/src/skins/o2-new.tsx +731 -0
- package/src/skins/o2.tsx +727 -0
- package/src/skins/skin-contract.css.ts +380 -0
- package/src/skins/telefonica.tsx +768 -0
- package/src/skins/tu.tsx +741 -0
- package/src/skins/types/colors.tsx +286 -0
- package/src/skins/types/index.tsx +153 -0
- package/src/skins/utils.tsx +66 -0
- package/src/skins/vivo-new.tsx +745 -0
- package/src/skins/vivo.tsx +720 -0
- package/src/skip-link.css.ts +34 -0
- package/src/skip-link.tsx +52 -0
- package/src/slider.css.ts +181 -0
- package/src/slider.tsx +384 -0
- package/src/snackbar-context.tsx +98 -0
- package/src/snackbar-native.ts +37 -0
- package/src/snackbar.css.ts +176 -0
- package/src/snackbar.tsx +258 -0
- package/src/spinner.css.ts +66 -0
- package/src/spinner.tsx +136 -0
- package/src/sprinkles.css.ts +83 -0
- package/src/square.css.ts +15 -0
- package/src/square.tsx +55 -0
- package/src/stack.css.ts +44 -0
- package/src/stack.tsx +79 -0
- package/src/stacking-group.css.ts +15 -0
- package/src/stacking-group.tsx +82 -0
- package/src/stepper.css.ts +233 -0
- package/src/stepper.tsx +156 -0
- package/src/switch-component.css.ts +181 -0
- package/src/switch-component.tsx +187 -0
- package/src/tab-focus.tsx +68 -0
- package/src/table-actions-header.tsx +21 -0
- package/src/table-cell-text.tsx +35 -0
- package/src/table.css.ts +297 -0
- package/src/table.tsx +398 -0
- package/src/tabs.css.ts +212 -0
- package/src/tabs.tsx +263 -0
- package/src/tag.css.ts +42 -0
- package/src/tag.tsx +161 -0
- package/src/test-utils/environment/setup-ssr.tsx +10 -0
- package/src/test-utils/fail-test-on-console-error.tsx +22 -0
- package/src/test-utils/index.tsx +341 -0
- package/src/test-utils/setup-ssr-test-env.tsx +13 -0
- package/src/test-utils/ssr.tsx +197 -0
- package/src/text-field-base.css.ts +416 -0
- package/src/text-field-base.tsx +628 -0
- package/src/text-field-components.css.ts +165 -0
- package/src/text-field-components.tsx +230 -0
- package/src/text-field.tsx +118 -0
- package/src/text-link.css.ts +83 -0
- package/src/text-link.tsx +85 -0
- package/src/text-tokens.tsx +708 -0
- package/src/text.css.ts +60 -0
- package/src/text.tsx +516 -0
- package/src/theme-context-provider.tsx +370 -0
- package/src/theme-context.css.ts +3 -0
- package/src/theme-context.tsx +8 -0
- package/src/theme-variant-context.tsx +51 -0
- package/src/theme.tsx +184 -0
- package/src/time-field.tsx +99 -0
- package/src/timeline.css.ts +135 -0
- package/src/timeline.tsx +250 -0
- package/src/timer.css.ts +99 -0
- package/src/timer.tsx +420 -0
- package/src/title.tsx +119 -0
- package/src/tooltip-context-provider.tsx +57 -0
- package/src/tooltip.css.ts +106 -0
- package/src/tooltip.tsx +649 -0
- package/src/touchable.css.ts +56 -0
- package/src/touchable.tsx +355 -0
- package/src/types/font-face.d.ts +47 -0
- package/src/types/libs.d.ts +3 -0
- package/src/utils/__tests__/analytics-test.tsx +35 -0
- package/src/utils/__tests__/browser-test.tsx +28 -0
- package/src/utils/__tests__/dom-test.tsx +23 -0
- package/src/utils/__tests__/helpers-test.tsx +166 -0
- package/src/utils/analytics.tsx +28 -0
- package/src/utils/animation.tsx +201 -0
- package/src/utils/aspect-ratio-support.css.ts +28 -0
- package/src/utils/aspect-ratio-support.tsx +141 -0
- package/src/utils/browser.tsx +9 -0
- package/src/utils/color.tsx +46 -0
- package/src/utils/common.tsx +27 -0
- package/src/utils/credit-card.tsx +46 -0
- package/src/utils/css.tsx +25 -0
- package/src/utils/document-visibility.tsx +52 -0
- package/src/utils/dom.tsx +155 -0
- package/src/utils/environment.tsx +6 -0
- package/src/utils/headings.tsx +18 -0
- package/src/utils/helpers.tsx +182 -0
- package/src/utils/keys.tsx +8 -0
- package/src/utils/locale.tsx +27 -0
- package/src/utils/platform.tsx +94 -0
- package/src/utils/region-code.tsx +1 -0
- package/src/utils/renders-element.tsx +6 -0
- package/src/utils/time.tsx +22 -0
- package/src/utils/types.tsx +19 -0
- package/src/utils/utility-types.tsx +8 -0
- package/src/video.css.ts +11 -0
- package/src/video.tsx +355 -0
- package/src/vivinho-loading-animation/in-lottie.json +402 -0
- package/src/vivinho-loading-animation/index.tsx +90 -0
- package/src/vivinho-loading-animation/out-lottie.json +575 -0
- package/src/vivinho-loading-animation/pulse-lottie.json +551 -0
- package/src/vivinho-loading-animation/vivinho-loading-animation.css.ts +15 -0
- package/src/vivinho-loading-animation/wave-lottie.json +2829 -0
|
@@ -0,0 +1,728 @@
|
|
|
1
|
+
import {ESIMFLAG_SKIN} from './constants';
|
|
2
|
+
import {applyAlpha} from '../utils/color';
|
|
3
|
+
|
|
4
|
+
import type {GetKnownSkin, KnownSkin} from './types';
|
|
5
|
+
|
|
6
|
+
export const palette = {
|
|
7
|
+
blue: '#005CFF',
|
|
8
|
+
blue10: '#E5EFFF',
|
|
9
|
+
blue15: '#CCDEFF',
|
|
10
|
+
blue20: '#B2CEFF',
|
|
11
|
+
blue30: '#80ADFF',
|
|
12
|
+
blue55: '#004ED9',
|
|
13
|
+
blue65: '#0247BF',
|
|
14
|
+
blue80: '#0B2739',
|
|
15
|
+
blue85: '#001740',
|
|
16
|
+
grass: '#99D52A',
|
|
17
|
+
grass10: '#EBF7D4',
|
|
18
|
+
grass70: '#6B951D',
|
|
19
|
+
grass75: '#5C8019',
|
|
20
|
+
peach: '#FF9800',
|
|
21
|
+
peach10: '#FFF4D5',
|
|
22
|
+
peach75: '#995B00',
|
|
23
|
+
purple: '#A140C4',
|
|
24
|
+
purple30: '#D1A1E3',
|
|
25
|
+
purple10: '#FCEFFC',
|
|
26
|
+
purple55: '#8B3AA8',
|
|
27
|
+
blush: '#FFD2E3',
|
|
28
|
+
blush20: '#FFF1F7',
|
|
29
|
+
teal: '#2FDDEA',
|
|
30
|
+
teal10: '#D5F8FB',
|
|
31
|
+
teal75: '#197980',
|
|
32
|
+
chili: '#FA4549',
|
|
33
|
+
tomato: '#FA4549',
|
|
34
|
+
tomato10: '#FEECED',
|
|
35
|
+
tomato55: '#ED0C0C',
|
|
36
|
+
tomato60: '#BA160A',
|
|
37
|
+
tomato65: '#B61515',
|
|
38
|
+
grey1: '#F1F7FF',
|
|
39
|
+
grey2: '#E3EEFF',
|
|
40
|
+
grey3: '#CCD6E5',
|
|
41
|
+
grey4: '#828D9B',
|
|
42
|
+
grey5: '#666B73',
|
|
43
|
+
grey6: '#393C40',
|
|
44
|
+
black: '#00091A',
|
|
45
|
+
white: '#FFFFFF',
|
|
46
|
+
darkModeBlack: '#00001C',
|
|
47
|
+
darkModeGrey: '#08132B',
|
|
48
|
+
darkModeGrey6: '#14213D',
|
|
49
|
+
darkModeBlue: '#0F67FF',
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
export const getEsimflagSkin: GetKnownSkin = () => {
|
|
53
|
+
const skin: KnownSkin = {
|
|
54
|
+
name: ESIMFLAG_SKIN,
|
|
55
|
+
colors: {
|
|
56
|
+
background: palette.white,
|
|
57
|
+
backgroundAlternative: palette.grey1,
|
|
58
|
+
backgroundBrand: `linear-gradient(180deg, ${palette.blue55} 0%, ${palette.blue} 60%, ${palette.purple} 100%)`,
|
|
59
|
+
backgroundNegative: palette.blue65,
|
|
60
|
+
backgroundBrandSecondary: palette.blue,
|
|
61
|
+
backgroundContainer: palette.white,
|
|
62
|
+
backgroundContainerError: palette.tomato10,
|
|
63
|
+
backgroundContainerHover: applyAlpha(palette.blue55, 0.05),
|
|
64
|
+
backgroundContainerPressed: applyAlpha(palette.blue55, 0.08),
|
|
65
|
+
backgroundContainerBrand: `linear-gradient(180deg, ${palette.blue55} 0%, ${palette.blue} 60%, ${palette.purple} 100%)`,
|
|
66
|
+
backgroundContainerBrandHover: applyAlpha(palette.blue55, 0.2),
|
|
67
|
+
backgroundContainerBrandPressed: applyAlpha(palette.blue55, 0.4),
|
|
68
|
+
backgroundContainerBrandOverInverse: palette.blue80,
|
|
69
|
+
backgroundContainerNegative: applyAlpha(palette.darkModeBlack, 0.6),
|
|
70
|
+
backgroundContainerBrandOverBrand: palette.blue80,
|
|
71
|
+
backgroundContainerAlternative: palette.grey1,
|
|
72
|
+
backgroundOverlay: applyAlpha(palette.black, 0.6),
|
|
73
|
+
backgroundSkeleton: palette.grey2,
|
|
74
|
+
backgroundSkeletonInverse: palette.blue55,
|
|
75
|
+
backgroundSkeletonNegative: applyAlpha(palette.black, 0.2),
|
|
76
|
+
backgroundSkeletonBrand: palette.blue55,
|
|
77
|
+
backgroundBrandTop: palette.blue65,
|
|
78
|
+
backgroundBrandBottom: palette.purple,
|
|
79
|
+
appBarBackground: palette.white,
|
|
80
|
+
navigationBarBackground: palette.blue55,
|
|
81
|
+
backgroundDropZoneHover: applyAlpha(palette.blue55, 0.05),
|
|
82
|
+
backgroundDropZoneDragover: applyAlpha(palette.blue55, 0.08),
|
|
83
|
+
backgroundDropZoneBrandHover: applyAlpha(palette.blue55, 0.2),
|
|
84
|
+
backgroundDropZoneBrandDragover: applyAlpha(palette.blue55, 0.4),
|
|
85
|
+
backgroundDropZoneNegativeHover: applyAlpha(palette.white, 0.1),
|
|
86
|
+
backgroundDropZoneNegativeDragover: applyAlpha(palette.white, 0.17),
|
|
87
|
+
backgroundDropZoneMediaHover: applyAlpha(palette.blue55, 0.2),
|
|
88
|
+
backgroundDropZoneMediaDragover: applyAlpha(palette.blue55, 0.4),
|
|
89
|
+
skeletonWave: palette.grey2,
|
|
90
|
+
borderLow: palette.grey1,
|
|
91
|
+
border: palette.grey3,
|
|
92
|
+
borderHigh: palette.grey5,
|
|
93
|
+
borderSelected: palette.blue,
|
|
94
|
+
coverBackgroundHover: applyAlpha(palette.darkModeBlack, 0.25),
|
|
95
|
+
coverBackgroundPressed: applyAlpha(palette.darkModeBlack, 0.35),
|
|
96
|
+
buttonDangerBackground: palette.tomato55,
|
|
97
|
+
buttonDangerBackgroundPressed: palette.tomato65,
|
|
98
|
+
buttonDangerBackgroundHover: palette.tomato60,
|
|
99
|
+
buttonLinkDangerBackgroundInverse: palette.white,
|
|
100
|
+
buttonLinkDangerBackgroundNegative: palette.white,
|
|
101
|
+
buttonLinkDangerBackgroundBrand: palette.white,
|
|
102
|
+
buttonLinkDangerBackgroundMedia: palette.white,
|
|
103
|
+
buttonLinkDangerBackgroundPressed: palette.tomato10,
|
|
104
|
+
buttonLinkDangerBackgroundInversePressed: palette.tomato10,
|
|
105
|
+
buttonLinkDangerBackgroundNegativePressed: palette.tomato10,
|
|
106
|
+
buttonLinkDangerBackgroundBrandPressed: palette.tomato10,
|
|
107
|
+
buttonLinkDangerBackgroundMediaPressed: palette.tomato10,
|
|
108
|
+
buttonLinkBackgroundPressed: applyAlpha(palette.purple55, 0.08),
|
|
109
|
+
buttonLinkBackgroundInversePressed: applyAlpha(palette.white, 0.08),
|
|
110
|
+
buttonLinkBackgroundNegativePressed: applyAlpha(palette.white, 0.08),
|
|
111
|
+
buttonLinkBackgroundBrandPressed: applyAlpha(palette.white, 0.08),
|
|
112
|
+
buttonLinkBackgroundMediaPressed: applyAlpha(palette.white, 0.08),
|
|
113
|
+
buttonPrimaryBackground: palette.blue,
|
|
114
|
+
buttonPrimaryBackgroundInverse: palette.white,
|
|
115
|
+
buttonPrimaryBackgroundNegative: palette.white,
|
|
116
|
+
buttonPrimaryBackgroundBrand: palette.white,
|
|
117
|
+
buttonPrimaryBackgroundMedia: palette.white,
|
|
118
|
+
buttonPrimaryBackgroundHover: palette.blue55,
|
|
119
|
+
buttonPrimaryBackgroundInverseHover: palette.blue15,
|
|
120
|
+
buttonPrimaryBackgroundNegativeHover: palette.blue15,
|
|
121
|
+
buttonPrimaryBackgroundBrandHover: palette.blue15,
|
|
122
|
+
buttonPrimaryBackgroundMediaHover: palette.blue15,
|
|
123
|
+
buttonPrimaryBackgroundPressed: palette.blue65,
|
|
124
|
+
buttonPrimaryBackgroundInversePressed: palette.blue15,
|
|
125
|
+
buttonPrimaryBackgroundNegativePressed: palette.blue15,
|
|
126
|
+
buttonPrimaryBackgroundBrandPressed: palette.blue15,
|
|
127
|
+
buttonPrimaryBackgroundMediaPressed: palette.blue15,
|
|
128
|
+
buttonSecondaryBackgroundBrand: applyAlpha(palette.white, 0),
|
|
129
|
+
buttonSecondaryBorder: palette.blue,
|
|
130
|
+
buttonSecondaryBorderInverse: palette.white,
|
|
131
|
+
buttonSecondaryBorderNegative: palette.white,
|
|
132
|
+
buttonSecondaryBorderBrand: palette.white,
|
|
133
|
+
buttonSecondaryBorderMedia: palette.white,
|
|
134
|
+
buttonSecondaryBorderPressed: palette.blue55,
|
|
135
|
+
buttonSecondaryBorderInversePressed: palette.white,
|
|
136
|
+
buttonSecondaryBorderNegativePressed: palette.white,
|
|
137
|
+
buttonSecondaryBorderBrandPressed: palette.white,
|
|
138
|
+
buttonSecondaryBorderMediaPressed: palette.white,
|
|
139
|
+
buttonSecondaryBackgroundHover: palette.blue10,
|
|
140
|
+
buttonSecondaryBackgroundInverseHover: applyAlpha(palette.white, 0.15),
|
|
141
|
+
buttonSecondaryBackgroundNegativeHover: applyAlpha(palette.white, 0.15),
|
|
142
|
+
buttonSecondaryBackgroundBrandHover: applyAlpha(palette.white, 0.15),
|
|
143
|
+
buttonSecondaryBackgroundMediaHover: applyAlpha(palette.white, 0.15),
|
|
144
|
+
buttonSecondaryBackgroundPressed: palette.blue15,
|
|
145
|
+
buttonSecondaryBackgroundInversePressed: applyAlpha(palette.white, 0.15),
|
|
146
|
+
buttonSecondaryBackgroundNegativePressed: applyAlpha(palette.white, 0.15),
|
|
147
|
+
buttonSecondaryBackgroundBrandPressed: applyAlpha(palette.white, 0.15),
|
|
148
|
+
buttonSecondaryBackgroundMediaPressed: applyAlpha(palette.white, 0.15),
|
|
149
|
+
textButtonPrimary: palette.white,
|
|
150
|
+
textButtonPrimaryInverse: palette.blue,
|
|
151
|
+
textButtonPrimaryNegative: palette.blue,
|
|
152
|
+
textButtonPrimaryBrand: palette.blue,
|
|
153
|
+
textButtonPrimaryMedia: palette.blue,
|
|
154
|
+
textButtonPrimaryInversePressed: palette.blue55,
|
|
155
|
+
textButtonPrimaryNegativePressed: palette.blue55,
|
|
156
|
+
textButtonPrimaryBrandPressed: palette.blue55,
|
|
157
|
+
textButtonPrimaryMediaPressed: palette.blue55,
|
|
158
|
+
textButtonSecondary: palette.blue,
|
|
159
|
+
textButtonSecondaryInverse: palette.white,
|
|
160
|
+
textButtonSecondaryNegative: palette.white,
|
|
161
|
+
textButtonSecondaryBrand: palette.white,
|
|
162
|
+
textButtonSecondaryMedia: palette.white,
|
|
163
|
+
textButtonSecondaryPressed: palette.blue55,
|
|
164
|
+
textButtonSecondaryInversePressed: palette.white,
|
|
165
|
+
textButtonSecondaryNegativePressed: palette.white,
|
|
166
|
+
textButtonSecondaryBrandPressed: palette.white,
|
|
167
|
+
textButtonSecondaryMediaPressed: palette.white,
|
|
168
|
+
textLink: palette.purple,
|
|
169
|
+
textLinkInverse: palette.white,
|
|
170
|
+
textLinkNegative: palette.white,
|
|
171
|
+
textLinkBrand: palette.white,
|
|
172
|
+
textLinkMedia: palette.white,
|
|
173
|
+
textLinkDanger: palette.tomato55,
|
|
174
|
+
textLinkDangerMedia: palette.tomato55,
|
|
175
|
+
textLinkSnackbar: palette.blue30,
|
|
176
|
+
textActivated: palette.blue,
|
|
177
|
+
textBrand: palette.blue,
|
|
178
|
+
inputBorder: palette.grey4,
|
|
179
|
+
inputBorderInverse: palette.white,
|
|
180
|
+
inputBorderNegative: palette.white,
|
|
181
|
+
inputBorderBrand: palette.white,
|
|
182
|
+
completedStep: palette.blue,
|
|
183
|
+
completedStepInverse: palette.blue80,
|
|
184
|
+
completedStepNegative: palette.blue80,
|
|
185
|
+
completedStepBrand: palette.blue80,
|
|
186
|
+
control: palette.grey4,
|
|
187
|
+
controlActivated: palette.blue,
|
|
188
|
+
controlInverse: palette.blue20,
|
|
189
|
+
controlNegative: palette.blue20,
|
|
190
|
+
controlBrand: palette.blue20,
|
|
191
|
+
controlActivatedInverse: palette.white,
|
|
192
|
+
controlActivatedNegative: palette.white,
|
|
193
|
+
controlActivatedBrand: palette.white,
|
|
194
|
+
controlError: palette.tomato,
|
|
195
|
+
chevronIndicator: palette.grey5,
|
|
196
|
+
barTrack: palette.grey3,
|
|
197
|
+
barTrackInverse: applyAlpha(palette.white, 0.3),
|
|
198
|
+
barTrackNegative: applyAlpha(palette.white, 0.3),
|
|
199
|
+
barTrackBrand: applyAlpha(palette.white, 0.3),
|
|
200
|
+
loadingBar: palette.blue,
|
|
201
|
+
loadingBarBackground: palette.grey2,
|
|
202
|
+
toggleAndroidInactive: palette.grey3,
|
|
203
|
+
toggleAndroidBackgroundActive: palette.blue20,
|
|
204
|
+
toggleAndroidActiveBrand: palette.white,
|
|
205
|
+
toggleAndroidInactiveBrand: palette.grey3,
|
|
206
|
+
toggleAndroidBackgroundActiveBrand: palette.blue20,
|
|
207
|
+
toggleAndroidBackgroundInactiveBrand: palette.blue20,
|
|
208
|
+
iosControlKnob: palette.white,
|
|
209
|
+
controlKnobInverse: palette.blue,
|
|
210
|
+
controlKnobNegative: palette.blue,
|
|
211
|
+
controlKnobBrand: palette.blue,
|
|
212
|
+
divider: palette.grey3,
|
|
213
|
+
dividerInverse: applyAlpha(palette.white, 0.2),
|
|
214
|
+
dividerNegative: applyAlpha(palette.white, 0.2),
|
|
215
|
+
dividerBrand: applyAlpha(palette.white, 0.2),
|
|
216
|
+
navigationBarDivider: palette.grey3,
|
|
217
|
+
badge: palette.tomato65,
|
|
218
|
+
feedbackErrorBackground: palette.tomato,
|
|
219
|
+
feedbackInfoBackground: palette.blue80,
|
|
220
|
+
brand: palette.blue,
|
|
221
|
+
brandHigh: palette.blue55,
|
|
222
|
+
inverse: palette.white,
|
|
223
|
+
negative: palette.white,
|
|
224
|
+
neutralHigh: palette.blue85,
|
|
225
|
+
neutralHighNegative: palette.white,
|
|
226
|
+
neutralHighBrand: palette.white,
|
|
227
|
+
neutralMedium: palette.grey5,
|
|
228
|
+
neutralMediumInverse: palette.grey5,
|
|
229
|
+
neutralMediumNegative: palette.grey5,
|
|
230
|
+
neutralMediumBrand: palette.grey5,
|
|
231
|
+
neutralLow: palette.grey1,
|
|
232
|
+
neutralLowAlternative: palette.grey2,
|
|
233
|
+
textPrimary: palette.blue85,
|
|
234
|
+
textPrimaryInverse: palette.white,
|
|
235
|
+
textPrimaryNegative: palette.white,
|
|
236
|
+
textPrimaryBrand: palette.white,
|
|
237
|
+
textPrimaryMedia: palette.white,
|
|
238
|
+
textSecondary: palette.grey5,
|
|
239
|
+
textSecondaryInverse: palette.blue10,
|
|
240
|
+
textSecondaryNegative: palette.blue10,
|
|
241
|
+
textSecondaryBrand: palette.blue10,
|
|
242
|
+
textSecondaryMedia: palette.white,
|
|
243
|
+
success: palette.grass,
|
|
244
|
+
warning: palette.peach,
|
|
245
|
+
error: palette.tomato,
|
|
246
|
+
textError: palette.tomato55,
|
|
247
|
+
textErrorInverse: palette.white,
|
|
248
|
+
textErrorNegative: palette.white,
|
|
249
|
+
textErrorBrand: palette.white,
|
|
250
|
+
promo: palette.purple,
|
|
251
|
+
highlight: palette.teal75,
|
|
252
|
+
successLow: palette.grass10,
|
|
253
|
+
warningLow: palette.peach10,
|
|
254
|
+
errorLow: palette.tomato10,
|
|
255
|
+
promoLow: palette.purple10,
|
|
256
|
+
brandLow: palette.blue10,
|
|
257
|
+
successHigh: palette.grass70,
|
|
258
|
+
warningHigh: palette.peach75,
|
|
259
|
+
errorHigh: palette.tomato60,
|
|
260
|
+
promoHigh: palette.purple,
|
|
261
|
+
successHighInverse: palette.grass70,
|
|
262
|
+
successHighNegative: palette.grass70,
|
|
263
|
+
successHighBrand: palette.grass70,
|
|
264
|
+
warningHighInverse: palette.peach75,
|
|
265
|
+
warningHighNegative: palette.peach75,
|
|
266
|
+
warningHighBrand: palette.peach75,
|
|
267
|
+
errorHighInverse: palette.tomato60,
|
|
268
|
+
errorHighNegative: palette.tomato60,
|
|
269
|
+
errorHighBrand: palette.tomato60,
|
|
270
|
+
promoHighInverse: palette.purple,
|
|
271
|
+
promoHighNegative: palette.purple,
|
|
272
|
+
promoHighBrand: palette.purple,
|
|
273
|
+
textNavigationBarPrimary: palette.white,
|
|
274
|
+
textNavigationBarSecondary: palette.blue20,
|
|
275
|
+
textNavigationSearchBarHint: palette.blue20,
|
|
276
|
+
textNavigationSearchBarText: palette.white,
|
|
277
|
+
textAppBar: palette.grey5,
|
|
278
|
+
textAppBarSelected: palette.blue55,
|
|
279
|
+
iosGlassAppBar: palette.blue85,
|
|
280
|
+
iosGlassAppBarSelected: palette.blue55,
|
|
281
|
+
customTabsBackground: palette.blue,
|
|
282
|
+
tagTextPromo: palette.blue85,
|
|
283
|
+
tagTextActive: palette.blue85,
|
|
284
|
+
tagTextInactive: palette.grey5,
|
|
285
|
+
tagTextInfo: palette.blue85,
|
|
286
|
+
tagTextSuccess: palette.blue85,
|
|
287
|
+
tagTextWarning: palette.blue85,
|
|
288
|
+
tagTextError: palette.blue85,
|
|
289
|
+
tagBackgroundPromo: palette.blush,
|
|
290
|
+
tagBackgroundActive: palette.teal,
|
|
291
|
+
tagBackgroundInactive: palette.grey2,
|
|
292
|
+
tagBackgroundInfo: palette.purple30,
|
|
293
|
+
tagBackgroundSuccess: palette.grass,
|
|
294
|
+
tagBackgroundWarning: palette.peach,
|
|
295
|
+
tagBackgroundError: palette.chili,
|
|
296
|
+
tagTextPromoInverse: palette.purple55,
|
|
297
|
+
tagTextPromoNegative: palette.purple55,
|
|
298
|
+
tagTextPromoBrand: palette.purple55,
|
|
299
|
+
tagTextActiveInverse: palette.teal75,
|
|
300
|
+
tagTextActiveNegative: palette.teal75,
|
|
301
|
+
tagTextActiveBrand: palette.teal75,
|
|
302
|
+
tagTextInactiveInverse: palette.grey5,
|
|
303
|
+
tagTextInactiveNegative: palette.grey5,
|
|
304
|
+
tagTextInactiveBrand: palette.grey5,
|
|
305
|
+
tagTextInfoInverse: palette.purple,
|
|
306
|
+
tagTextInfoNegative: palette.purple,
|
|
307
|
+
tagTextInfoBrand: palette.purple,
|
|
308
|
+
tagTextSuccessInverse: palette.grass75,
|
|
309
|
+
tagTextSuccessNegative: palette.grass75,
|
|
310
|
+
tagTextSuccessBrand: palette.grass75,
|
|
311
|
+
tagTextWarningInverse: palette.peach75,
|
|
312
|
+
tagTextWarningNegative: palette.peach75,
|
|
313
|
+
tagTextWarningBrand: palette.peach75,
|
|
314
|
+
tagTextErrorInverse: palette.tomato65,
|
|
315
|
+
tagTextErrorNegative: palette.tomato65,
|
|
316
|
+
tagTextErrorBrand: palette.tomato65,
|
|
317
|
+
tagBackgroundPromoInverse: palette.blush,
|
|
318
|
+
tagBackgroundPromoNegative: palette.blush,
|
|
319
|
+
tagBackgroundPromoBrand: palette.blush,
|
|
320
|
+
tagBackgroundActiveInverse: palette.teal10,
|
|
321
|
+
tagBackgroundActiveNegative: palette.teal10,
|
|
322
|
+
tagBackgroundActiveBrand: palette.teal10,
|
|
323
|
+
tagBackgroundInactiveInverse: palette.grey2,
|
|
324
|
+
tagBackgroundInactiveNegative: palette.grey2,
|
|
325
|
+
tagBackgroundInactiveBrand: palette.grey2,
|
|
326
|
+
tagBackgroundInfoInverse: palette.purple10,
|
|
327
|
+
tagBackgroundInfoNegative: palette.purple10,
|
|
328
|
+
tagBackgroundInfoBrand: palette.purple10,
|
|
329
|
+
tagBackgroundSuccessInverse: palette.grass10,
|
|
330
|
+
tagBackgroundSuccessNegative: palette.grass10,
|
|
331
|
+
tagBackgroundSuccessBrand: palette.grass10,
|
|
332
|
+
tagBackgroundWarningInverse: palette.peach10,
|
|
333
|
+
tagBackgroundWarningNegative: palette.peach10,
|
|
334
|
+
tagBackgroundWarningBrand: palette.peach10,
|
|
335
|
+
tagBackgroundErrorInverse: palette.tomato10,
|
|
336
|
+
tagBackgroundErrorNegative: palette.tomato10,
|
|
337
|
+
tagBackgroundErrorBrand: palette.tomato10,
|
|
338
|
+
cardContentOverlay: `linear-gradient(180deg, ${applyAlpha(palette.black, 0)} 0%, ${applyAlpha(palette.black, 0.4)} 30%, ${applyAlpha(palette.black, 0.7)} 100%)`,
|
|
339
|
+
cardFooterOverlay: applyAlpha(palette.black, 0.7),
|
|
340
|
+
},
|
|
341
|
+
darkModeColors: {
|
|
342
|
+
background: palette.darkModeBlack,
|
|
343
|
+
backgroundAlternative: palette.darkModeBlack,
|
|
344
|
+
backgroundBrand: palette.darkModeBlack,
|
|
345
|
+
backgroundNegative: palette.darkModeBlack,
|
|
346
|
+
backgroundBrandSecondary: palette.darkModeBlack,
|
|
347
|
+
backgroundContainer: palette.darkModeGrey,
|
|
348
|
+
backgroundContainerError: palette.darkModeGrey,
|
|
349
|
+
backgroundContainerHover: applyAlpha(palette.white, 0.05),
|
|
350
|
+
backgroundContainerPressed: applyAlpha(palette.white, 0.08),
|
|
351
|
+
backgroundContainerBrand: palette.darkModeGrey,
|
|
352
|
+
backgroundContainerBrandHover: applyAlpha(palette.white, 0.03),
|
|
353
|
+
backgroundContainerBrandPressed: applyAlpha(palette.white, 0.05),
|
|
354
|
+
backgroundContainerBrandOverInverse: palette.darkModeGrey,
|
|
355
|
+
backgroundContainerNegative: palette.darkModeGrey,
|
|
356
|
+
backgroundContainerBrandOverBrand: palette.darkModeGrey,
|
|
357
|
+
backgroundContainerAlternative: palette.darkModeGrey,
|
|
358
|
+
backgroundOverlay: applyAlpha(palette.darkModeGrey, 0.8),
|
|
359
|
+
backgroundSkeleton: palette.darkModeGrey6,
|
|
360
|
+
backgroundSkeletonInverse: palette.darkModeGrey6,
|
|
361
|
+
backgroundSkeletonNegative: palette.darkModeGrey6,
|
|
362
|
+
backgroundSkeletonBrand: palette.darkModeGrey6,
|
|
363
|
+
backgroundBrandTop: palette.darkModeBlack,
|
|
364
|
+
backgroundBrandBottom: palette.darkModeBlack,
|
|
365
|
+
appBarBackground: palette.darkModeGrey,
|
|
366
|
+
navigationBarBackground: palette.darkModeBlack,
|
|
367
|
+
skeletonWave: palette.grey6,
|
|
368
|
+
backgroundDropZoneHover: applyAlpha(palette.white, 0.05),
|
|
369
|
+
backgroundDropZoneDragover: applyAlpha(palette.white, 0.08),
|
|
370
|
+
backgroundDropZoneBrandHover: applyAlpha(palette.white, 0.05),
|
|
371
|
+
backgroundDropZoneBrandDragover: applyAlpha(palette.white, 0.08),
|
|
372
|
+
backgroundDropZoneNegativeHover: applyAlpha(palette.white, 0.15),
|
|
373
|
+
backgroundDropZoneNegativeDragover: applyAlpha(palette.white, 0.08),
|
|
374
|
+
backgroundDropZoneMediaHover: applyAlpha(palette.white, 0.03),
|
|
375
|
+
backgroundDropZoneMediaDragover: applyAlpha(palette.white, 0.05),
|
|
376
|
+
borderLow: palette.darkModeBlack,
|
|
377
|
+
border: palette.darkModeGrey,
|
|
378
|
+
borderHigh: palette.grey5,
|
|
379
|
+
borderSelected: palette.blue,
|
|
380
|
+
coverBackgroundHover: applyAlpha(palette.darkModeBlack, 0.25),
|
|
381
|
+
coverBackgroundPressed: applyAlpha(palette.darkModeBlack, 0.35),
|
|
382
|
+
buttonDangerBackground: palette.tomato,
|
|
383
|
+
buttonDangerBackgroundPressed: palette.tomato55,
|
|
384
|
+
buttonDangerBackgroundHover: palette.tomato55,
|
|
385
|
+
buttonLinkDangerBackgroundInverse: applyAlpha(palette.white, 0),
|
|
386
|
+
buttonLinkDangerBackgroundNegative: applyAlpha(palette.white, 0),
|
|
387
|
+
buttonLinkDangerBackgroundBrand: applyAlpha(palette.white, 0),
|
|
388
|
+
buttonLinkDangerBackgroundMedia: palette.white,
|
|
389
|
+
buttonLinkDangerBackgroundPressed: applyAlpha(palette.white, 0.08),
|
|
390
|
+
buttonLinkDangerBackgroundInversePressed: applyAlpha(palette.white, 0.08),
|
|
391
|
+
buttonLinkDangerBackgroundNegativePressed: applyAlpha(palette.white, 0.08),
|
|
392
|
+
buttonLinkDangerBackgroundBrandPressed: applyAlpha(palette.white, 0.08),
|
|
393
|
+
buttonLinkDangerBackgroundMediaPressed: palette.tomato10,
|
|
394
|
+
buttonLinkBackgroundPressed: applyAlpha(palette.white, 0.08),
|
|
395
|
+
buttonLinkBackgroundInversePressed: applyAlpha(palette.white, 0.08),
|
|
396
|
+
buttonLinkBackgroundNegativePressed: applyAlpha(palette.white, 0.08),
|
|
397
|
+
buttonLinkBackgroundBrandPressed: applyAlpha(palette.white, 0.08),
|
|
398
|
+
buttonLinkBackgroundMediaPressed: applyAlpha(palette.white, 0.08),
|
|
399
|
+
buttonPrimaryBackground: palette.blue,
|
|
400
|
+
buttonPrimaryBackgroundInverse: palette.blue,
|
|
401
|
+
buttonPrimaryBackgroundNegative: palette.blue,
|
|
402
|
+
buttonPrimaryBackgroundBrand: palette.blue,
|
|
403
|
+
buttonPrimaryBackgroundMedia: palette.white,
|
|
404
|
+
buttonPrimaryBackgroundHover: palette.blue55,
|
|
405
|
+
buttonPrimaryBackgroundInverseHover: palette.blue55,
|
|
406
|
+
buttonPrimaryBackgroundNegativeHover: palette.blue55,
|
|
407
|
+
buttonPrimaryBackgroundBrandHover: palette.blue55,
|
|
408
|
+
buttonPrimaryBackgroundMediaHover: palette.blue15,
|
|
409
|
+
buttonPrimaryBackgroundPressed: palette.blue55,
|
|
410
|
+
buttonPrimaryBackgroundInversePressed: palette.blue55,
|
|
411
|
+
buttonPrimaryBackgroundNegativePressed: palette.blue55,
|
|
412
|
+
buttonPrimaryBackgroundBrandPressed: palette.blue55,
|
|
413
|
+
buttonPrimaryBackgroundMediaPressed: palette.blue15,
|
|
414
|
+
buttonSecondaryBackgroundBrand: applyAlpha(palette.white, 0),
|
|
415
|
+
buttonSecondaryBorder: palette.white,
|
|
416
|
+
buttonSecondaryBorderInverse: palette.white,
|
|
417
|
+
buttonSecondaryBorderNegative: palette.white,
|
|
418
|
+
buttonSecondaryBorderBrand: palette.white,
|
|
419
|
+
buttonSecondaryBorderMedia: palette.white,
|
|
420
|
+
buttonSecondaryBorderPressed: palette.white,
|
|
421
|
+
buttonSecondaryBorderInversePressed: palette.white,
|
|
422
|
+
buttonSecondaryBorderNegativePressed: palette.white,
|
|
423
|
+
buttonSecondaryBorderBrandPressed: palette.white,
|
|
424
|
+
buttonSecondaryBorderMediaPressed: palette.white,
|
|
425
|
+
buttonSecondaryBackgroundHover: applyAlpha(palette.white, 0.15),
|
|
426
|
+
buttonSecondaryBackgroundInverseHover: applyAlpha(palette.white, 0.15),
|
|
427
|
+
buttonSecondaryBackgroundNegativeHover: applyAlpha(palette.white, 0.15),
|
|
428
|
+
buttonSecondaryBackgroundBrandHover: applyAlpha(palette.white, 0.15),
|
|
429
|
+
buttonSecondaryBackgroundMediaHover: applyAlpha(palette.white, 0.15),
|
|
430
|
+
buttonSecondaryBackgroundPressed: applyAlpha(palette.white, 0.15),
|
|
431
|
+
buttonSecondaryBackgroundInversePressed: applyAlpha(palette.white, 0.15),
|
|
432
|
+
buttonSecondaryBackgroundNegativePressed: applyAlpha(palette.white, 0.15),
|
|
433
|
+
buttonSecondaryBackgroundBrandPressed: applyAlpha(palette.white, 0.15),
|
|
434
|
+
buttonSecondaryBackgroundMediaPressed: applyAlpha(palette.white, 0.15),
|
|
435
|
+
textButtonPrimary: palette.white,
|
|
436
|
+
textButtonPrimaryInverse: palette.white,
|
|
437
|
+
textButtonPrimaryNegative: palette.white,
|
|
438
|
+
textButtonPrimaryBrand: palette.white,
|
|
439
|
+
textButtonPrimaryMedia: palette.blue,
|
|
440
|
+
textButtonPrimaryInversePressed: palette.white,
|
|
441
|
+
textButtonPrimaryNegativePressed: palette.white,
|
|
442
|
+
textButtonPrimaryBrandPressed: palette.white,
|
|
443
|
+
textButtonPrimaryMediaPressed: palette.blue55,
|
|
444
|
+
textButtonSecondary: palette.grey2,
|
|
445
|
+
textButtonSecondaryInverse: palette.grey2,
|
|
446
|
+
textButtonSecondaryNegative: palette.grey2,
|
|
447
|
+
textButtonSecondaryBrand: palette.grey2,
|
|
448
|
+
textButtonSecondaryMedia: palette.white,
|
|
449
|
+
textButtonSecondaryPressed: palette.grey2,
|
|
450
|
+
textButtonSecondaryInversePressed: palette.grey2,
|
|
451
|
+
textButtonSecondaryNegativePressed: palette.grey2,
|
|
452
|
+
textButtonSecondaryBrandPressed: palette.grey2,
|
|
453
|
+
textButtonSecondaryMediaPressed: palette.white,
|
|
454
|
+
textLink: palette.purple30,
|
|
455
|
+
textLinkInverse: palette.purple30,
|
|
456
|
+
textLinkNegative: palette.purple30,
|
|
457
|
+
textLinkBrand: palette.purple30,
|
|
458
|
+
textLinkMedia: palette.white,
|
|
459
|
+
textLinkDanger: palette.chili,
|
|
460
|
+
textLinkDangerMedia: palette.tomato55,
|
|
461
|
+
textLinkSnackbar: palette.blue30,
|
|
462
|
+
textActivated: palette.blue30,
|
|
463
|
+
textBrand: palette.blue30,
|
|
464
|
+
inputBorder: palette.grey4,
|
|
465
|
+
inputBorderInverse: palette.grey4,
|
|
466
|
+
inputBorderNegative: palette.grey4,
|
|
467
|
+
inputBorderBrand: palette.grey4,
|
|
468
|
+
completedStep: palette.blue,
|
|
469
|
+
completedStepInverse: palette.blue,
|
|
470
|
+
completedStepNegative: palette.blue,
|
|
471
|
+
completedStepBrand: palette.blue,
|
|
472
|
+
control: palette.grey4,
|
|
473
|
+
controlActivated: palette.blue,
|
|
474
|
+
controlInverse: palette.grey4,
|
|
475
|
+
controlNegative: palette.grey4,
|
|
476
|
+
controlBrand: palette.grey4,
|
|
477
|
+
controlActivatedInverse: palette.darkModeBlue,
|
|
478
|
+
controlActivatedNegative: palette.darkModeBlue,
|
|
479
|
+
controlActivatedBrand: palette.darkModeBlue,
|
|
480
|
+
controlError: palette.tomato55,
|
|
481
|
+
chevronIndicator: palette.grey4,
|
|
482
|
+
barTrack: palette.darkModeGrey6,
|
|
483
|
+
barTrackInverse: palette.darkModeGrey6,
|
|
484
|
+
barTrackNegative: palette.darkModeGrey6,
|
|
485
|
+
barTrackBrand: palette.darkModeGrey6,
|
|
486
|
+
loadingBar: palette.darkModeBlue,
|
|
487
|
+
loadingBarBackground: palette.darkModeGrey6,
|
|
488
|
+
toggleAndroidInactive: palette.grey2,
|
|
489
|
+
toggleAndroidBackgroundActive: palette.blue15,
|
|
490
|
+
toggleAndroidActiveBrand: palette.darkModeBlue,
|
|
491
|
+
toggleAndroidInactiveBrand: palette.grey2,
|
|
492
|
+
toggleAndroidBackgroundActiveBrand: palette.blue15,
|
|
493
|
+
toggleAndroidBackgroundInactiveBrand: palette.grey4,
|
|
494
|
+
iosControlKnob: palette.grey3,
|
|
495
|
+
controlKnobInverse: palette.grey3,
|
|
496
|
+
controlKnobNegative: palette.grey3,
|
|
497
|
+
controlKnobBrand: palette.grey3,
|
|
498
|
+
badge: palette.tomato65,
|
|
499
|
+
feedbackErrorBackground: palette.tomato60,
|
|
500
|
+
feedbackInfoBackground: palette.darkModeGrey6,
|
|
501
|
+
divider: applyAlpha(palette.white, 0.1),
|
|
502
|
+
dividerInverse: applyAlpha(palette.white, 0.1),
|
|
503
|
+
dividerNegative: applyAlpha(palette.white, 0.1),
|
|
504
|
+
dividerBrand: applyAlpha(palette.white, 0.1),
|
|
505
|
+
navigationBarDivider: palette.darkModeBlack,
|
|
506
|
+
brand: palette.blue15,
|
|
507
|
+
brandHigh: applyAlpha(palette.white, 0.05),
|
|
508
|
+
inverse: palette.grey3,
|
|
509
|
+
negative: palette.grey3,
|
|
510
|
+
neutralHigh: palette.grey3,
|
|
511
|
+
neutralHighNegative: palette.grey3,
|
|
512
|
+
neutralHighBrand: palette.grey3,
|
|
513
|
+
neutralMedium: palette.grey6,
|
|
514
|
+
neutralMediumInverse: palette.grey6,
|
|
515
|
+
neutralMediumNegative: palette.grey6,
|
|
516
|
+
neutralMediumBrand: palette.grey6,
|
|
517
|
+
neutralLow: palette.grey6,
|
|
518
|
+
neutralLowAlternative: palette.grey6,
|
|
519
|
+
textPrimary: palette.grey3,
|
|
520
|
+
textPrimaryInverse: palette.grey3,
|
|
521
|
+
textPrimaryNegative: palette.grey3,
|
|
522
|
+
textPrimaryBrand: palette.grey3,
|
|
523
|
+
textPrimaryMedia: palette.white,
|
|
524
|
+
textSecondary: palette.grey4,
|
|
525
|
+
textSecondaryInverse: palette.grey4,
|
|
526
|
+
textSecondaryNegative: palette.grey4,
|
|
527
|
+
textSecondaryBrand: palette.grey4,
|
|
528
|
+
textSecondaryMedia: palette.white,
|
|
529
|
+
success: palette.grass,
|
|
530
|
+
warning: palette.peach,
|
|
531
|
+
error: palette.chili,
|
|
532
|
+
textError: palette.chili,
|
|
533
|
+
textErrorInverse: palette.chili,
|
|
534
|
+
textErrorNegative: palette.chili,
|
|
535
|
+
textErrorBrand: palette.chili,
|
|
536
|
+
promo: palette.purple,
|
|
537
|
+
highlight: palette.teal,
|
|
538
|
+
successLow: palette.darkModeGrey6,
|
|
539
|
+
warningLow: palette.darkModeGrey6,
|
|
540
|
+
errorLow: palette.darkModeGrey6,
|
|
541
|
+
promoLow: palette.darkModeGrey6,
|
|
542
|
+
brandLow: palette.darkModeGrey6,
|
|
543
|
+
successHigh: palette.grass70,
|
|
544
|
+
warningHigh: palette.peach75,
|
|
545
|
+
errorHigh: palette.tomato60,
|
|
546
|
+
promoHigh: palette.purple55,
|
|
547
|
+
successHighInverse: palette.grass75,
|
|
548
|
+
successHighNegative: palette.grass75,
|
|
549
|
+
successHighBrand: palette.grass75,
|
|
550
|
+
warningHighInverse: palette.peach75,
|
|
551
|
+
warningHighNegative: palette.peach75,
|
|
552
|
+
warningHighBrand: palette.peach75,
|
|
553
|
+
errorHighInverse: palette.tomato60,
|
|
554
|
+
errorHighNegative: palette.tomato60,
|
|
555
|
+
errorHighBrand: palette.tomato60,
|
|
556
|
+
promoHighInverse: palette.purple55,
|
|
557
|
+
promoHighNegative: palette.purple55,
|
|
558
|
+
promoHighBrand: palette.purple55,
|
|
559
|
+
textNavigationBarPrimary: palette.grey3,
|
|
560
|
+
textNavigationBarSecondary: palette.grey4,
|
|
561
|
+
textNavigationSearchBarHint: palette.grey4,
|
|
562
|
+
textNavigationSearchBarText: palette.grey3,
|
|
563
|
+
textAppBar: palette.grey4,
|
|
564
|
+
textAppBarSelected: palette.blue15,
|
|
565
|
+
iosGlassAppBar: palette.white,
|
|
566
|
+
iosGlassAppBarSelected: palette.white,
|
|
567
|
+
customTabsBackground: palette.darkModeBlack,
|
|
568
|
+
tagTextPromo: palette.blush,
|
|
569
|
+
tagTextActive: palette.blue30,
|
|
570
|
+
tagTextInactive: palette.grey3,
|
|
571
|
+
tagTextInfo: palette.purple30,
|
|
572
|
+
tagTextSuccess: palette.grass,
|
|
573
|
+
tagTextWarning: palette.peach,
|
|
574
|
+
tagTextError: palette.chili,
|
|
575
|
+
tagBackgroundPromo: palette.darkModeGrey6,
|
|
576
|
+
tagBackgroundActive: palette.darkModeGrey6,
|
|
577
|
+
tagBackgroundInactive: palette.darkModeGrey6,
|
|
578
|
+
tagBackgroundInfo: palette.darkModeGrey6,
|
|
579
|
+
tagBackgroundSuccess: palette.darkModeGrey6,
|
|
580
|
+
tagBackgroundWarning: palette.darkModeGrey6,
|
|
581
|
+
tagBackgroundError: palette.darkModeGrey6,
|
|
582
|
+
tagTextPromoInverse: palette.blush,
|
|
583
|
+
tagTextPromoNegative: palette.blush,
|
|
584
|
+
tagTextPromoBrand: palette.blush,
|
|
585
|
+
tagTextActiveInverse: palette.blue30,
|
|
586
|
+
tagTextActiveNegative: palette.blue30,
|
|
587
|
+
tagTextActiveBrand: palette.blue30,
|
|
588
|
+
tagTextInactiveInverse: palette.grey3,
|
|
589
|
+
tagTextInactiveNegative: palette.grey3,
|
|
590
|
+
tagTextInactiveBrand: palette.grey3,
|
|
591
|
+
tagTextInfoInverse: palette.blue30,
|
|
592
|
+
tagTextInfoNegative: palette.blue30,
|
|
593
|
+
tagTextInfoBrand: palette.blue30,
|
|
594
|
+
tagTextSuccessInverse: palette.grass,
|
|
595
|
+
tagTextSuccessNegative: palette.grass,
|
|
596
|
+
tagTextSuccessBrand: palette.grass,
|
|
597
|
+
tagTextWarningInverse: palette.peach,
|
|
598
|
+
tagTextWarningNegative: palette.peach,
|
|
599
|
+
tagTextWarningBrand: palette.peach,
|
|
600
|
+
tagTextErrorInverse: palette.chili,
|
|
601
|
+
tagTextErrorNegative: palette.chili,
|
|
602
|
+
tagTextErrorBrand: palette.chili,
|
|
603
|
+
tagBackgroundPromoInverse: palette.darkModeGrey6,
|
|
604
|
+
tagBackgroundPromoNegative: palette.darkModeGrey6,
|
|
605
|
+
tagBackgroundPromoBrand: palette.darkModeGrey6,
|
|
606
|
+
tagBackgroundActiveInverse: palette.darkModeGrey6,
|
|
607
|
+
tagBackgroundActiveNegative: palette.darkModeGrey6,
|
|
608
|
+
tagBackgroundActiveBrand: palette.darkModeGrey6,
|
|
609
|
+
tagBackgroundInactiveInverse: palette.darkModeGrey6,
|
|
610
|
+
tagBackgroundInactiveNegative: palette.darkModeGrey6,
|
|
611
|
+
tagBackgroundInactiveBrand: palette.darkModeGrey6,
|
|
612
|
+
tagBackgroundInfoInverse: palette.darkModeGrey6,
|
|
613
|
+
tagBackgroundInfoNegative: palette.darkModeGrey6,
|
|
614
|
+
tagBackgroundInfoBrand: palette.darkModeGrey6,
|
|
615
|
+
tagBackgroundSuccessInverse: palette.darkModeGrey6,
|
|
616
|
+
tagBackgroundSuccessNegative: palette.darkModeGrey6,
|
|
617
|
+
tagBackgroundSuccessBrand: palette.darkModeGrey6,
|
|
618
|
+
tagBackgroundWarningInverse: palette.darkModeGrey6,
|
|
619
|
+
tagBackgroundWarningNegative: palette.darkModeGrey6,
|
|
620
|
+
tagBackgroundWarningBrand: palette.darkModeGrey6,
|
|
621
|
+
tagBackgroundErrorInverse: palette.darkModeGrey6,
|
|
622
|
+
tagBackgroundErrorNegative: palette.darkModeGrey6,
|
|
623
|
+
tagBackgroundErrorBrand: palette.darkModeGrey6,
|
|
624
|
+
cardContentOverlay: `linear-gradient(180deg, ${applyAlpha(palette.black, 0)} 0%, ${applyAlpha(palette.black, 0.4)} 30%, ${applyAlpha(palette.black, 0.7)} 100%)`,
|
|
625
|
+
cardFooterOverlay: applyAlpha(palette.black, 0.7),
|
|
626
|
+
},
|
|
627
|
+
borderRadii: {
|
|
628
|
+
avatar: '50%',
|
|
629
|
+
bar: '999px',
|
|
630
|
+
button: '32px',
|
|
631
|
+
checkbox: '4px',
|
|
632
|
+
container: '20px',
|
|
633
|
+
indicator: '8px',
|
|
634
|
+
chip: '8px',
|
|
635
|
+
tag: '8px',
|
|
636
|
+
input: '16px',
|
|
637
|
+
legacyDisplay: '20px',
|
|
638
|
+
popup: '16px',
|
|
639
|
+
sheet: '16px',
|
|
640
|
+
mediaSmall: '8px',
|
|
641
|
+
},
|
|
642
|
+
textPresets: {
|
|
643
|
+
button: {weight: 'medium'},
|
|
644
|
+
cardDescriptionDefault: {lineHeight: {desktop: 24, mobile: 20}, size: {desktop: 16, mobile: 14}},
|
|
645
|
+
cardDescriptionSnap: {lineHeight: {desktop: 24, mobile: 20}, size: {desktop: 16, mobile: 14}},
|
|
646
|
+
cardPretitleDefault: {lineHeight: {desktop: 24, mobile: 20}, size: {desktop: 16, mobile: 14}},
|
|
647
|
+
cardPretitleSnap: {lineHeight: {desktop: 24, mobile: 20}, size: {desktop: 16, mobile: 14}},
|
|
648
|
+
cardSubtitleDefault: {lineHeight: {desktop: 24, mobile: 20}, size: {desktop: 16, mobile: 14}},
|
|
649
|
+
cardSubtitleSnap: {lineHeight: {desktop: 24, mobile: 20}, size: {desktop: 16, mobile: 14}},
|
|
650
|
+
cardTitle: {weight: 'medium'},
|
|
651
|
+
cardTitleDefault: {lineHeight: {desktop: 28, mobile: 24}, size: {desktop: 20, mobile: 18}},
|
|
652
|
+
cardTitleSnap: {lineHeight: {desktop: 24, mobile: 20}, size: {desktop: 16, mobile: 14}},
|
|
653
|
+
chipLabel: {
|
|
654
|
+
lineHeight: {desktop: 24, mobile: 20},
|
|
655
|
+
size: {desktop: 16, mobile: 14},
|
|
656
|
+
weight: 'medium',
|
|
657
|
+
},
|
|
658
|
+
drawerTitle: {
|
|
659
|
+
lineHeight: {desktop: 32, mobile: 24},
|
|
660
|
+
size: {desktop: 28, mobile: 20},
|
|
661
|
+
weight: 'bold',
|
|
662
|
+
},
|
|
663
|
+
indicator: {weight: 'medium'},
|
|
664
|
+
inputHelperText: {lineHeight: {desktop: 20, mobile: 16}, size: {desktop: 14, mobile: 12}},
|
|
665
|
+
inputLabel: {lineHeight: {desktop: 20, mobile: 16}, size: {desktop: 14, mobile: 12}},
|
|
666
|
+
inputValue: {lineHeight: {desktop: 24, mobile: 24}, size: {desktop: 18, mobile: 16}},
|
|
667
|
+
link: {weight: 'medium'},
|
|
668
|
+
loadingScreenTitle: {lineHeight: {desktop: 28, mobile: 24}, size: {desktop: 20, mobile: 18}},
|
|
669
|
+
navigationBar: {weight: 'medium'},
|
|
670
|
+
rowTitle: {weight: 'regular'},
|
|
671
|
+
stepperStepLabel: {lineHeight: {desktop: 24, mobile: 20}, size: {desktop: 16, mobile: 14}},
|
|
672
|
+
tabsLabel: {
|
|
673
|
+
lineHeight: {desktop: 24, mobile: 24},
|
|
674
|
+
size: {desktop: 18, mobile: 16},
|
|
675
|
+
weight: 'medium',
|
|
676
|
+
},
|
|
677
|
+
text1: {lineHeight: {desktop: 20, mobile: 16}, size: {desktop: 14, mobile: 12}},
|
|
678
|
+
text2: {lineHeight: {desktop: 24, mobile: 20}, size: {desktop: 16, mobile: 14}},
|
|
679
|
+
text3: {lineHeight: {desktop: 24, mobile: 24}, size: {desktop: 18, mobile: 16}},
|
|
680
|
+
text4: {lineHeight: {desktop: 28, mobile: 24}, size: {desktop: 20, mobile: 18}},
|
|
681
|
+
text5: {lineHeight: {desktop: 32, mobile: 24}, size: {desktop: 28, mobile: 20}, weight: 'bold'},
|
|
682
|
+
text6: {lineHeight: {desktop: 40, mobile: 32}, size: {desktop: 32, mobile: 24}, weight: 'bold'},
|
|
683
|
+
text7: {lineHeight: {desktop: 48, mobile: 32}, size: {desktop: 40, mobile: 28}, weight: 'bold'},
|
|
684
|
+
text8: {lineHeight: {desktop: 56, mobile: 40}, size: {desktop: 48, mobile: 32}, weight: 'bold'},
|
|
685
|
+
text9: {lineHeight: {desktop: 64, mobile: 48}, size: {desktop: 56, mobile: 40}, weight: 'bold'},
|
|
686
|
+
text10: {lineHeight: {desktop: 72, mobile: 56}, size: {desktop: 64, mobile: 48}, weight: 'bold'},
|
|
687
|
+
title1: {
|
|
688
|
+
lineHeight: {desktop: 20, mobile: 16},
|
|
689
|
+
size: {desktop: 14, mobile: 12},
|
|
690
|
+
weight: 'medium',
|
|
691
|
+
},
|
|
692
|
+
title2: {lineHeight: {desktop: 24, mobile: 24}, size: {desktop: 18, mobile: 16}, weight: 'bold'},
|
|
693
|
+
title3: {lineHeight: {desktop: 32, mobile: 24}, size: {desktop: 28, mobile: 20}, weight: 'bold'},
|
|
694
|
+
title4: {lineHeight: {desktop: 40, mobile: 32}, size: {desktop: 32, mobile: 24}, weight: 'bold'},
|
|
695
|
+
},
|
|
696
|
+
themeVariants: {
|
|
697
|
+
successFeedback: 'inverse',
|
|
698
|
+
brandLoadingScreen: 'inverse',
|
|
699
|
+
},
|
|
700
|
+
spacing: {
|
|
701
|
+
buttonDefaultPadding: {left: {mobile: 16, desktop: 16}, right: {mobile: 16, desktop: 16}},
|
|
702
|
+
buttonSmallPadding: {left: {mobile: 12, desktop: 12}, right: {mobile: 12, desktop: 12}},
|
|
703
|
+
cardDefaultPadding: {
|
|
704
|
+
top: {mobile: 16, desktop: 24},
|
|
705
|
+
bottom: {mobile: 16, desktop: 24},
|
|
706
|
+
left: {mobile: 16, desktop: 24},
|
|
707
|
+
right: {mobile: 16, desktop: 24},
|
|
708
|
+
},
|
|
709
|
+
inputPadding: {top: {mobile: 8, desktop: 8}, bottom: {mobile: 8, desktop: 8}},
|
|
710
|
+
tagPadding: {top: {mobile: 4, desktop: 4}, bottom: {mobile: 4, desktop: 4}},
|
|
711
|
+
feedbackScreenPadding: {
|
|
712
|
+
top: {mobile: 64, desktop: 64},
|
|
713
|
+
bottom: {mobile: 16, desktop: 64},
|
|
714
|
+
left: {mobile: 16, desktop: 64},
|
|
715
|
+
right: {mobile: 16, desktop: 64},
|
|
716
|
+
},
|
|
717
|
+
heroPadding: {top: {mobile: 24, desktop: 56}, bottom: {mobile: 24, desktop: 56}},
|
|
718
|
+
headerPadding: {top: {mobile: 24, desktop: 48}, bottom: {mobile: 24, desktop: 48}},
|
|
719
|
+
drawerPadding: {
|
|
720
|
+
top: {mobile: 32, desktop: 40},
|
|
721
|
+
bottom: {mobile: 16, desktop: 24},
|
|
722
|
+
left: {mobile: 16, desktop: 40},
|
|
723
|
+
right: {mobile: 16, desktop: 40},
|
|
724
|
+
},
|
|
725
|
+
},
|
|
726
|
+
};
|
|
727
|
+
return skin;
|
|
728
|
+
};
|