@rojaostudio/ds 1.0.1 → 2.0.0-next.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/README.md +75 -13
- package/dist/compat/generate.d.ts +0 -1
- package/dist/components/accordion.d.ts +30 -20
- package/dist/components/accordion.js +31 -87
- package/dist/components/action-bar.d.ts +24 -0
- package/dist/components/action-bar.js +55 -0
- package/dist/components/alert-dialog.d.ts +31 -0
- package/dist/components/alert-dialog.js +43 -0
- package/dist/components/alert.d.ts +31 -19
- package/dist/components/alert.js +74 -65
- package/dist/components/attachment.d.ts +37 -0
- package/dist/components/attachment.js +76 -0
- package/dist/components/avatar.d.ts +43 -36
- package/dist/components/avatar.js +59 -83
- package/dist/components/badge.d.ts +30 -41
- package/dist/components/badge.js +16 -106
- package/dist/components/banner.d.ts +27 -0
- package/dist/components/banner.js +66 -0
- package/dist/components/benefits.d.ts +30 -0
- package/dist/components/benefits.js +32 -0
- package/dist/components/breadcrumb.d.ts +25 -18
- package/dist/components/breadcrumb.js +40 -48
- package/dist/components/browser.d.ts +18 -0
- package/dist/components/browser.js +32 -0
- package/dist/components/bubble.d.ts +29 -0
- package/dist/components/bubble.js +33 -0
- package/dist/components/button-group.d.ts +19 -0
- package/dist/components/button-group.js +20 -0
- package/dist/components/button.d.ts +47 -20
- package/dist/components/button.js +51 -107
- package/dist/components/calendar.d.ts +29 -0
- package/dist/components/calendar.js +149 -0
- package/dist/components/card.d.ts +47 -19
- package/dist/components/card.js +38 -38
- package/dist/components/carousel.d.ts +28 -0
- package/dist/components/carousel.js +130 -0
- package/dist/components/chart.d.ts +49 -0
- package/dist/components/chart.js +258 -0
- package/dist/components/checkbox-group.d.ts +16 -0
- package/dist/components/checkbox-group.js +13 -0
- package/dist/components/checkbox.d.ts +25 -10
- package/dist/components/checkbox.js +86 -67
- package/dist/components/chip-input.d.ts +46 -20
- package/dist/components/chip-input.js +171 -158
- package/dist/components/chip.d.ts +28 -0
- package/dist/components/chip.js +73 -0
- package/dist/components/choice-card.d.ts +10 -13
- package/dist/components/choice-card.js +11 -56
- package/dist/components/choice-carousel.d.ts +9 -0
- package/dist/components/choice-carousel.js +67 -78
- package/dist/components/choice-preview-card.d.ts +10 -20
- package/dist/components/choice-preview-card.js +13 -30
- package/dist/components/color-input.d.ts +36 -11
- package/dist/components/color-input.js +139 -61
- package/dist/components/combobox.d.ts +60 -57
- package/dist/components/combobox.js +215 -196
- package/dist/components/command.d.ts +58 -0
- package/dist/components/command.js +177 -0
- package/dist/components/contact.d.ts +23 -0
- package/dist/components/contact.js +32 -0
- package/dist/components/context-menu.d.ts +34 -26
- package/dist/components/context-menu.js +43 -66
- package/dist/components/copy-field.d.ts +10 -5
- package/dist/components/copy-field.js +25 -27
- package/dist/components/currency-input.d.ts +25 -11
- package/dist/components/currency-input.js +39 -67
- package/dist/components/danger-zone.d.ts +10 -1
- package/dist/components/danger-zone.js +20 -14
- package/dist/components/data-table-header.d.ts +13 -2
- package/dist/components/data-table-header.js +143 -169
- package/dist/components/date-picker.d.ts +31 -32
- package/dist/components/date-picker.js +126 -242
- package/dist/components/delta.d.ts +26 -0
- package/dist/components/delta.js +24 -0
- package/dist/components/dialog.d.ts +21 -0
- package/dist/components/dialog.js +16 -0
- package/dist/components/drawer.d.ts +15 -23
- package/dist/components/drawer.js +56 -76
- package/dist/components/dropdown-menu.d.ts +63 -0
- package/dist/components/dropdown-menu.js +62 -0
- package/dist/components/dropzone.d.ts +10 -4
- package/dist/components/dropzone.js +30 -55
- package/dist/components/empty.d.ts +29 -0
- package/dist/components/empty.js +42 -0
- package/dist/components/fab.d.ts +29 -6
- package/dist/components/fab.js +51 -39
- package/dist/components/faq.d.ts +21 -0
- package/dist/components/faq.js +24 -0
- package/dist/components/file-input.d.ts +56 -0
- package/dist/components/file-input.js +244 -0
- package/dist/components/filter-chip.d.ts +34 -47
- package/dist/components/filter-chip.js +61 -57
- package/dist/components/floating-stepper.d.ts +7 -18
- package/dist/components/floating-stepper.js +17 -35
- package/dist/components/footer.d.ts +36 -0
- package/dist/components/footer.js +38 -0
- package/dist/components/form-actions.d.ts +28 -0
- package/dist/components/form-actions.js +24 -0
- package/dist/components/google-account-chooser.d.ts +25 -0
- package/dist/components/google-account-chooser.js +44 -0
- package/dist/components/google-button.d.ts +26 -0
- package/dist/components/google-button.js +38 -0
- package/dist/components/google-consent.d.ts +23 -0
- package/dist/components/google-consent.js +28 -0
- package/dist/components/google-sign-in.d.ts +26 -0
- package/dist/components/google-sign-in.js +36 -0
- package/dist/components/hover-card.d.ts +30 -0
- package/dist/components/hover-card.js +55 -0
- package/dist/components/icon-button.d.ts +41 -11
- package/dist/components/icon-button.js +47 -61
- package/dist/components/image-crop-modal.d.ts +3 -3
- package/dist/components/image-crop-modal.js +66 -52
- package/dist/components/image-upload.d.ts +21 -29
- package/dist/components/image-upload.js +59 -219
- package/dist/components/index.d.ts +105 -49
- package/dist/components/index.js +190 -68
- package/dist/components/input-otp.d.ts +35 -0
- package/dist/components/input-otp.js +119 -0
- package/dist/components/input.d.ts +23 -17
- package/dist/components/input.js +103 -108
- package/dist/components/insight-card.d.ts +25 -9
- package/dist/components/insight-card.js +45 -19
- package/dist/components/internal/announce.d.ts +3 -0
- package/dist/components/internal/announce.js +20 -0
- package/dist/components/internal/block.d.ts +15 -0
- package/dist/components/internal/block.js +14 -0
- package/dist/components/internal/button.d.ts +23 -0
- package/dist/components/internal/button.js +30 -0
- package/dist/components/internal/choice-card.d.ts +52 -0
- package/dist/components/internal/choice-card.js +117 -0
- package/dist/components/internal/choice.d.ts +25 -0
- package/dist/components/internal/choice.js +44 -0
- package/dist/components/internal/dates.d.ts +17 -0
- package/dist/components/internal/dates.js +59 -0
- package/dist/components/internal/field.d.ts +66 -0
- package/dist/components/internal/field.js +105 -0
- package/dist/components/internal/fieldset.d.ts +25 -0
- package/dist/components/internal/fieldset.js +56 -0
- package/dist/components/internal/focus-after.d.ts +3 -0
- package/dist/components/internal/focus-after.js +13 -0
- package/dist/components/internal/google.d.ts +47 -0
- package/dist/components/internal/google.js +73 -0
- package/dist/components/internal/icons.d.ts +108 -0
- package/dist/components/internal/icons.js +316 -0
- package/dist/components/internal/menu.d.ts +16 -0
- package/dist/components/internal/menu.js +14 -0
- package/dist/components/internal/modal.d.ts +50 -0
- package/dist/components/internal/modal.js +85 -0
- package/dist/components/internal/option-content.d.ts +10 -0
- package/dist/components/internal/option-content.js +13 -0
- package/dist/components/internal/radio-context.d.ts +16 -0
- package/dist/components/internal/radio-context.js +6 -0
- package/dist/components/internal/toggle.d.ts +7 -0
- package/dist/components/internal/toggle.js +13 -0
- package/dist/components/internal/use-listbox.d.ts +56 -0
- package/dist/components/internal/use-listbox.js +69 -0
- package/dist/components/internal/whatsapp.d.ts +8 -0
- package/dist/components/internal/whatsapp.js +12 -0
- package/dist/components/item.d.ts +32 -0
- package/dist/components/item.js +35 -0
- package/dist/components/kbd.d.ts +17 -0
- package/dist/components/kbd.js +18 -0
- package/dist/components/listbox.d.ts +34 -0
- package/dist/components/listbox.js +114 -0
- package/dist/components/marker.d.ts +24 -0
- package/dist/components/marker.js +28 -0
- package/dist/components/media-tile.d.ts +17 -14
- package/dist/components/media-tile.js +19 -24
- package/dist/components/message-scroller.d.ts +20 -0
- package/dist/components/message-scroller.js +108 -0
- package/dist/components/message.d.ts +33 -0
- package/dist/components/message.js +23 -0
- package/dist/components/navigation-menu.d.ts +42 -0
- package/dist/components/navigation-menu.js +30 -0
- package/dist/components/newsletter.d.ts +27 -0
- package/dist/components/newsletter.js +75 -0
- package/dist/components/number-input.d.ts +60 -0
- package/dist/components/number-input.js +234 -0
- package/dist/components/option-tile.d.ts +20 -19
- package/dist/components/option-tile.js +52 -131
- package/dist/components/page-header.d.ts +31 -0
- package/dist/components/page-header.js +25 -0
- package/dist/components/page-shell.d.ts +11 -1
- package/dist/components/page-shell.js +8 -27
- package/dist/components/page-skeleton.d.ts +15 -21
- package/dist/components/page-skeleton.js +37 -4
- package/dist/components/pagination.d.ts +32 -22
- package/dist/components/pagination.js +83 -76
- package/dist/components/password-input.d.ts +26 -0
- package/dist/components/password-input.js +112 -0
- package/dist/components/phone-input.d.ts +12 -8
- package/dist/components/phone-input.js +77 -47
- package/dist/components/phone.d.ts +27 -0
- package/dist/components/phone.js +35 -0
- package/dist/components/popover.d.ts +25 -36
- package/dist/components/popover.js +32 -129
- package/dist/components/pricing-card.d.ts +9 -25
- package/dist/components/pricing-card.js +9 -25
- package/dist/components/pricing.d.ts +48 -0
- package/dist/components/pricing.js +64 -0
- package/dist/components/progress.d.ts +30 -0
- package/dist/components/progress.js +57 -0
- package/dist/components/qr-display.d.ts +11 -6
- package/dist/components/qr-display.js +8 -19
- package/dist/components/questionnaire.d.ts +42 -0
- package/dist/components/questionnaire.js +107 -0
- package/dist/components/radio-group.d.ts +21 -0
- package/dist/components/radio-group.js +40 -0
- package/dist/components/radio.d.ts +15 -29
- package/dist/components/radio.js +46 -87
- package/dist/components/row-actions.d.ts +5 -0
- package/dist/components/row-actions.js +57 -56
- package/dist/components/saving-bar-context.d.ts +0 -5
- package/dist/components/saving-bar-context.js +16 -34
- package/dist/components/saving-bar.d.ts +26 -11
- package/dist/components/saving-bar.js +53 -65
- package/dist/components/section-card.d.ts +18 -4
- package/dist/components/section-card.js +26 -39
- package/dist/components/section-header.d.ts +8 -12
- package/dist/components/section-header.js +7 -2
- package/dist/components/select.d.ts +44 -16
- package/dist/components/select.js +85 -135
- package/dist/components/selectable-card.d.ts +11 -19
- package/dist/components/selectable-card.js +4 -21
- package/dist/components/separator.d.ts +20 -0
- package/dist/components/separator.js +19 -0
- package/dist/components/setting-row.d.ts +11 -15
- package/dist/components/setting-row.js +11 -14
- package/dist/components/settings-list.d.ts +10 -12
- package/dist/components/settings-list.js +9 -17
- package/dist/components/sheet.d.ts +21 -0
- package/dist/components/sheet.js +16 -0
- package/dist/components/sidebar.d.ts +79 -0
- package/dist/components/sidebar.js +111 -0
- package/dist/components/skeleton.d.ts +14 -20
- package/dist/components/skeleton.js +8 -36
- package/dist/components/slider.d.ts +21 -23
- package/dist/components/slider.js +65 -56
- package/dist/components/sparkline.d.ts +19 -0
- package/dist/components/sparkline.js +32 -0
- package/dist/components/spinner.d.ts +16 -8
- package/dist/components/spinner.js +35 -32
- package/dist/components/star-rating.d.ts +22 -0
- package/dist/components/star-rating.js +25 -0
- package/dist/components/stat.d.ts +33 -0
- package/dist/components/stat.js +29 -0
- package/dist/components/status.d.ts +27 -0
- package/dist/components/status.js +34 -0
- package/dist/components/step-progress.d.ts +13 -6
- package/dist/components/step-progress.js +20 -17
- package/dist/components/summary-bar.d.ts +20 -20
- package/dist/components/summary-bar.js +13 -50
- package/dist/components/switch.d.ts +20 -0
- package/dist/components/switch.js +46 -0
- package/dist/components/table.d.ts +56 -17
- package/dist/components/table.js +65 -59
- package/dist/components/tabs.d.ts +67 -0
- package/dist/components/tabs.js +56 -0
- package/dist/components/testimonial.d.ts +30 -0
- package/dist/components/testimonial.js +36 -0
- package/dist/components/textarea.d.ts +11 -16
- package/dist/components/textarea.js +55 -75
- package/dist/components/tile.d.ts +24 -0
- package/dist/components/tile.js +21 -0
- package/dist/components/time-picker.d.ts +40 -25
- package/dist/components/time-picker.js +191 -189
- package/dist/components/toast.d.ts +63 -0
- package/dist/components/toast.js +132 -0
- package/dist/components/toggle-card-compact.d.ts +15 -5
- package/dist/components/toggle-card-compact.js +22 -81
- package/dist/components/toggle-card.d.ts +11 -2
- package/dist/components/toggle-card.js +9 -70
- package/dist/components/toggle-group.d.ts +21 -59
- package/dist/components/toggle-group.js +31 -74
- package/dist/components/toggle.d.ts +19 -9
- package/dist/components/toggle.js +20 -55
- package/dist/components/tooltip.d.ts +25 -12
- package/dist/components/tooltip.js +16 -84
- package/dist/components/top-navigation.d.ts +33 -0
- package/dist/components/top-navigation.js +85 -0
- package/dist/components/typing-indicator.d.ts +6 -0
- package/dist/components/typing-indicator.js +3 -21
- package/dist/components/whatsapp-chat.d.ts +28 -0
- package/dist/components/whatsapp-chat.js +95 -0
- package/dist/components/whatsapp-message.d.ts +22 -0
- package/dist/components/whatsapp-message.js +34 -0
- package/dist/components/whatsapp-notification.d.ts +27 -0
- package/dist/components/whatsapp-notification.js +73 -0
- package/dist/components/whatsapp-template.d.ts +42 -0
- package/dist/components/whatsapp-template.js +69 -0
- package/dist/icons/index.d.ts +2 -0
- package/dist/icons/index.js +2 -0
- package/dist/icons/pix.d.ts +16 -0
- package/dist/icons/pix.js +29 -0
- package/dist/targets/native/components/accordion.js +31 -25
- package/dist/targets/native/components/alert.js +22 -16
- package/dist/targets/native/components/avatar.js +36 -29
- package/dist/targets/native/components/badge.js +4 -3
- package/dist/targets/native/components/button.js +11 -4
- package/dist/targets/native/components/card.js +2 -1
- package/dist/targets/native/components/checkbox.js +18 -15
- package/dist/targets/native/components/chips.js +19 -16
- package/dist/targets/native/components/choice-card.js +29 -23
- package/dist/targets/native/components/context-menu.js +13 -9
- package/dist/targets/native/components/currency-input.js +28 -25
- package/dist/targets/native/components/danger-zone.js +10 -4
- package/dist/targets/native/components/date-picker.js +86 -70
- package/dist/targets/native/components/divider.js +3 -2
- package/dist/targets/native/components/empty-state.js +6 -1
- package/dist/targets/native/components/fab.js +32 -26
- package/dist/targets/native/components/filter-chip.js +9 -8
- package/dist/targets/native/components/form-field.js +20 -10
- package/dist/targets/native/components/form-screen.js +50 -45
- package/dist/targets/native/components/google-icon.js +31 -25
- package/dist/targets/native/components/icon-button.js +6 -4
- package/dist/targets/native/components/icon.js +2 -1
- package/dist/targets/native/components/image-upload.js +59 -50
- package/dist/targets/native/components/index.d.ts +0 -2
- package/dist/targets/native/components/index.js +0 -4
- package/dist/targets/native/components/input.js +41 -34
- package/dist/targets/native/components/list-item.js +29 -23
- package/dist/targets/native/components/menu.js +12 -10
- package/dist/targets/native/components/modal.js +41 -32
- package/dist/targets/native/components/radio.js +19 -16
- package/dist/targets/native/components/search.js +41 -38
- package/dist/targets/native/components/select.js +71 -63
- package/dist/targets/native/components/sheet.js +36 -30
- package/dist/targets/native/components/skeleton.js +6 -5
- package/dist/targets/native/components/slider.js +51 -43
- package/dist/targets/native/components/spinner.js +2 -1
- package/dist/targets/native/components/stepper.js +14 -9
- package/dist/targets/native/components/switch.js +15 -14
- package/dist/targets/native/components/text.js +2 -1
- package/dist/targets/native/components/textarea.js +2 -1
- package/dist/targets/native/components/theme.js +2 -1
- package/dist/targets/native/components/toaster.js +24 -21
- package/dist/targets/native/index.d.ts +1 -1
- package/dist/targets/native/index.js +1 -3
- package/dist/targets/native/preset.cjs +0 -1
- package/dist/targets/native/theme.css +58 -60
- package/dist/targets/native/theme.d.ts +58 -60
- package/dist/targets/native/theme.js +58 -60
- package/package.json +35 -16
- package/styles/_primitives.generated.css +40 -0
- package/styles/base.css +15 -21
- package/styles/rds/components-styles.css +11365 -0
- package/styles/rds/components.css +993 -0
- package/styles/rds/foundation.css +74 -0
- package/styles/rds/theme.css +261 -0
- package/styles/rds.css +6 -0
- package/styles/themes/rojao.css +46 -53
- package/brand/rojao-black-on-white.png +0 -0
- package/brand/rojao-black.png +0 -0
- package/brand/rojao-white-on-black.png +0 -0
- package/brand/rojao-white.png +0 -0
- package/dist/components/blocker-card.d.ts +0 -42
- package/dist/components/blocker-card.js +0 -45
- package/dist/components/bottom-sheet.d.ts +0 -31
- package/dist/components/bottom-sheet.js +0 -120
- package/dist/components/chat-bubble.d.ts +0 -16
- package/dist/components/chat-bubble.js +0 -55
- package/dist/components/chips.d.ts +0 -22
- package/dist/components/chips.js +0 -94
- package/dist/components/copilot-hint.d.ts +0 -18
- package/dist/components/copilot-hint.js +0 -63
- package/dist/components/divider.d.ts +0 -20
- package/dist/components/divider.js +0 -47
- package/dist/components/empty-state.d.ts +0 -48
- package/dist/components/empty-state.js +0 -91
- package/dist/components/form-card-header.d.ts +0 -13
- package/dist/components/form-card-header.js +0 -8
- package/dist/components/label.d.ts +0 -16
- package/dist/components/label.js +0 -43
- package/dist/components/menu.d.ts +0 -50
- package/dist/components/menu.js +0 -80
- package/dist/components/modal.d.ts +0 -25
- package/dist/components/modal.js +0 -71
- package/dist/components/notice.d.ts +0 -50
- package/dist/components/notice.js +0 -103
- package/dist/components/page-tabs.d.ts +0 -35
- package/dist/components/page-tabs.js +0 -55
- package/dist/components/paywall-banner.d.ts +0 -37
- package/dist/components/paywall-banner.js +0 -42
- package/dist/components/paywall.d.ts +0 -44
- package/dist/components/paywall.js +0 -55
- package/dist/components/phone-frame.d.ts +0 -9
- package/dist/components/phone-frame.js +0 -18
- package/dist/components/pix-icon.d.ts +0 -8
- package/dist/components/pix-icon.js +0 -24
- package/dist/components/search.d.ts +0 -30
- package/dist/components/search.js +0 -81
- package/dist/components/themed.d.ts +0 -36
- package/dist/components/themed.js +0 -22
- package/dist/components/toaster.d.ts +0 -84
- package/dist/components/toaster.js +0 -284
- package/dist/components/use-dismiss.d.ts +0 -9
- package/dist/components/use-dismiss.js +0 -28
- package/dist/components/use-focus-trap.d.ts +0 -5
- package/dist/components/use-focus-trap.js +0 -54
- package/dist/targets/native/components/paywall-banner.d.ts +0 -11
- package/dist/targets/native/components/paywall-banner.js +0 -46
- package/dist/targets/native/components/paywall.d.ts +0 -18
- package/dist/targets/native/components/paywall.js +0 -61
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__spreadValues
|
|
3
3
|
} from "../../../chunk-ORMEWXMH.js";
|
|
4
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
5
|
import { useEffect, useRef, useState } from "react";
|
|
5
6
|
import { CheckCircle, AlertCircle, AlertTriangle, Info } from "lucide-react-native";
|
|
6
7
|
import { Animated, Platform, StyleSheet, View } from "react-native";
|
|
@@ -94,30 +95,32 @@ function Toaster({ position = "bottom" } = {}) {
|
|
|
94
95
|
const Icon = spec.icon;
|
|
95
96
|
const isError = current.variant === "error";
|
|
96
97
|
const edgePadding = isTop ? { paddingTop: (insets.top > 0 ? insets.top : 0) + 12 } : { paddingBottom: (insets.bottom > 0 ? insets.bottom : 0) + 12 };
|
|
97
|
-
return /* @__PURE__ */
|
|
98
|
+
return /* @__PURE__ */ jsx(
|
|
98
99
|
View,
|
|
99
100
|
{
|
|
100
101
|
pointerEvents: "box-none",
|
|
101
|
-
style: [styles.overlay, isTop ? styles.overlayTop : styles.overlayBottom, edgePadding]
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
102
|
+
style: [styles.overlay, isTop ? styles.overlayTop : styles.overlayBottom, edgePadding],
|
|
103
|
+
children: /* @__PURE__ */ jsxs(
|
|
104
|
+
Animated.View,
|
|
105
|
+
{
|
|
106
|
+
accessibilityLiveRegion: isError ? "assertive" : "polite",
|
|
107
|
+
accessibilityRole: isError ? "alert" : "summary",
|
|
108
|
+
style: [
|
|
109
|
+
styles.toast,
|
|
110
|
+
{
|
|
111
|
+
backgroundColor: bg,
|
|
112
|
+
borderColor: border,
|
|
113
|
+
opacity,
|
|
114
|
+
transform: [{ translateY }]
|
|
115
|
+
}
|
|
116
|
+
],
|
|
117
|
+
children: [
|
|
118
|
+
/* @__PURE__ */ jsx(Icon, { size: 18, color: fg, style: styles.icon }),
|
|
119
|
+
/* @__PURE__ */ jsx(Text, { variant: "label", style: [styles.message, { color: fg }], numberOfLines: 3, children: current.message })
|
|
120
|
+
]
|
|
121
|
+
}
|
|
122
|
+
)
|
|
123
|
+
}
|
|
121
124
|
);
|
|
122
125
|
}
|
|
123
126
|
const styles = StyleSheet.create({
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import "../../chunk-ORMEWXMH.js";
|
|
2
2
|
import { primitives } from "@rojaostudio/ds-core/tokens";
|
|
3
3
|
import { dsTheme } from "./theme.js";
|
|
4
|
-
import { dsTheme as dsTheme2 } from "./theme.js";
|
|
5
4
|
import { fonts } from "./fonts.js";
|
|
6
5
|
export {
|
|
7
6
|
dsTheme,
|
|
8
7
|
fonts,
|
|
9
|
-
primitives
|
|
10
|
-
dsTheme2 as taiqTheme
|
|
8
|
+
primitives
|
|
11
9
|
};
|
|
@@ -34,7 +34,6 @@ module.exports = {
|
|
|
34
34
|
"hover": "var(--ds-brand-hover)",
|
|
35
35
|
"secondary": "var(--ds-brand-secondary)",
|
|
36
36
|
"accent": "var(--ds-brand-accent)",
|
|
37
|
-
"accent-light": "var(--ds-brand-accent-light)",
|
|
38
37
|
"on-primary": "var(--ds-brand-on-primary)",
|
|
39
38
|
"on-secondary": "var(--ds-brand-on-secondary)",
|
|
40
39
|
"on-accent": "var(--ds-brand-on-accent)"
|
|
@@ -3,37 +3,36 @@
|
|
|
3
3
|
/* Tema rojao resolvido (hex/rgba) para React Native via NativeWind. */
|
|
4
4
|
|
|
5
5
|
:root {
|
|
6
|
-
--ds-border-control: #
|
|
7
|
-
--ds-border-default: #
|
|
8
|
-
--ds-border-focus: #
|
|
9
|
-
--ds-border-strong: #
|
|
10
|
-
--ds-border-subtle: #
|
|
11
|
-
--ds-brand-accent: #
|
|
12
|
-
--ds-brand-
|
|
13
|
-
--ds-brand-
|
|
14
|
-
--ds-brand-on-accent: #ffffff;
|
|
6
|
+
--ds-border-control: #71717a;
|
|
7
|
+
--ds-border-default: #e4e4e7;
|
|
8
|
+
--ds-border-focus: #1b2a4a;
|
|
9
|
+
--ds-border-strong: #d4d4d8;
|
|
10
|
+
--ds-border-subtle: #f4f4f5;
|
|
11
|
+
--ds-brand-accent: #ff6a00;
|
|
12
|
+
--ds-brand-hover: #26344f;
|
|
13
|
+
--ds-brand-on-accent: #000000;
|
|
15
14
|
--ds-brand-on-primary: #ffffff;
|
|
16
|
-
--ds-brand-on-secondary: #
|
|
17
|
-
--ds-brand-primary: #
|
|
18
|
-
--ds-brand-primary-100: #
|
|
19
|
-
--ds-brand-primary-200: #
|
|
20
|
-
--ds-brand-primary-300: #
|
|
21
|
-
--ds-brand-primary-400: #
|
|
22
|
-
--ds-brand-primary-50: #
|
|
23
|
-
--ds-brand-primary-500: #
|
|
24
|
-
--ds-brand-primary-600: #
|
|
25
|
-
--ds-brand-primary-700: #
|
|
26
|
-
--ds-brand-primary-800: #
|
|
27
|
-
--ds-brand-primary-900: #
|
|
28
|
-
--ds-brand-secondary: #
|
|
15
|
+
--ds-brand-on-secondary: #ffffff;
|
|
16
|
+
--ds-brand-primary: #1b2a4a;
|
|
17
|
+
--ds-brand-primary-100: #e4e6ec;
|
|
18
|
+
--ds-brand-primary-200: #c9cdd8;
|
|
19
|
+
--ds-brand-primary-300: #aeb6c4;
|
|
20
|
+
--ds-brand-primary-400: #8a91a1;
|
|
21
|
+
--ds-brand-primary-50: #f4f6f9;
|
|
22
|
+
--ds-brand-primary-500: #6b7488;
|
|
23
|
+
--ds-brand-primary-600: #5a6478;
|
|
24
|
+
--ds-brand-primary-700: #3a465f;
|
|
25
|
+
--ds-brand-primary-800: #26344f;
|
|
26
|
+
--ds-brand-primary-900: #1b2a4a;
|
|
27
|
+
--ds-brand-secondary: #1b2a4a;
|
|
29
28
|
--ds-brand-secondary-band: var(--brand-secondary);
|
|
30
29
|
--ds-brand-secondary-surface: var(--brand-secondary);
|
|
31
|
-
--ds-brand-text: #
|
|
30
|
+
--ds-brand-text: #1b2a4a;
|
|
32
31
|
--ds-danger: #f44336;
|
|
33
32
|
--ds-danger-border: #ef9a9a;
|
|
34
33
|
--ds-danger-soft: #ffcdd2;
|
|
35
34
|
--ds-danger-text: #991b1b;
|
|
36
|
-
--ds-icon-default: #
|
|
35
|
+
--ds-icon-default: #27272a;
|
|
37
36
|
--ds-info: #2196f3;
|
|
38
37
|
--ds-info-border: #90caf9;
|
|
39
38
|
--ds-info-soft: #bbdefb;
|
|
@@ -43,16 +42,16 @@
|
|
|
43
42
|
--ds-success-soft: #c8e6c9;
|
|
44
43
|
--ds-success-text: #1b5e20;
|
|
45
44
|
--ds-surface-default: #ffffff;
|
|
46
|
-
--ds-surface-invert: #
|
|
47
|
-
--ds-surface-overlay: #
|
|
45
|
+
--ds-surface-invert: #18181b;
|
|
46
|
+
--ds-surface-overlay: #18181b;
|
|
48
47
|
--ds-surface-page: #fafafa;
|
|
49
|
-
--ds-surface-raised: #
|
|
50
|
-
--ds-text-disabled: #
|
|
48
|
+
--ds-surface-raised: #f4f4f5;
|
|
49
|
+
--ds-text-disabled: #a1a1aa;
|
|
51
50
|
--ds-text-inverse: #ffffff;
|
|
52
|
-
--ds-text-muted: #
|
|
53
|
-
--ds-text-placeholder: #
|
|
54
|
-
--ds-text-primary: #
|
|
55
|
-
--ds-text-secondary: #
|
|
51
|
+
--ds-text-muted: #52525b;
|
|
52
|
+
--ds-text-placeholder: #52525b;
|
|
53
|
+
--ds-text-primary: #18181b;
|
|
54
|
+
--ds-text-secondary: #3f3f46;
|
|
56
55
|
--ds-warning: #ffc107;
|
|
57
56
|
--ds-warning-border: #ffe082;
|
|
58
57
|
--ds-warning-soft: #ffecb3;
|
|
@@ -62,27 +61,26 @@
|
|
|
62
61
|
.dark {
|
|
63
62
|
--ds-border-control: rgba(255, 255, 255, 0.4);
|
|
64
63
|
--ds-border-default: rgba(255, 255, 255, 0.14);
|
|
65
|
-
--ds-border-focus: #
|
|
64
|
+
--ds-border-focus: #1b2a4a;
|
|
66
65
|
--ds-border-strong: rgba(255, 255, 255, 0.22);
|
|
67
66
|
--ds-border-subtle: rgba(255, 255, 255, 0.08);
|
|
68
|
-
--ds-brand-accent: #
|
|
69
|
-
--ds-brand-
|
|
70
|
-
--ds-brand-
|
|
71
|
-
--ds-brand-on-
|
|
72
|
-
--ds-brand-on-primary: #0d0d0d;
|
|
67
|
+
--ds-brand-accent: #ff6a00;
|
|
68
|
+
--ds-brand-hover: #26344f;
|
|
69
|
+
--ds-brand-on-accent: #000000;
|
|
70
|
+
--ds-brand-on-primary: #ffffff;
|
|
73
71
|
--ds-brand-on-secondary: #ffffff;
|
|
74
|
-
--ds-brand-primary: #
|
|
75
|
-
--ds-brand-primary-100: #
|
|
76
|
-
--ds-brand-primary-200: #
|
|
77
|
-
--ds-brand-primary-300: #
|
|
78
|
-
--ds-brand-primary-400: #
|
|
79
|
-
--ds-brand-primary-50: #
|
|
80
|
-
--ds-brand-primary-500: #
|
|
81
|
-
--ds-brand-primary-600: #
|
|
82
|
-
--ds-brand-primary-700: #
|
|
83
|
-
--ds-brand-primary-800: #
|
|
84
|
-
--ds-brand-primary-900: #
|
|
85
|
-
--ds-brand-secondary: #
|
|
72
|
+
--ds-brand-primary: #1b2a4a;
|
|
73
|
+
--ds-brand-primary-100: #e4e6ec;
|
|
74
|
+
--ds-brand-primary-200: #c9cdd8;
|
|
75
|
+
--ds-brand-primary-300: #aeb6c4;
|
|
76
|
+
--ds-brand-primary-400: #8a91a1;
|
|
77
|
+
--ds-brand-primary-50: #f4f6f9;
|
|
78
|
+
--ds-brand-primary-500: #6b7488;
|
|
79
|
+
--ds-brand-primary-600: #5a6478;
|
|
80
|
+
--ds-brand-primary-700: #3a465f;
|
|
81
|
+
--ds-brand-primary-800: #26344f;
|
|
82
|
+
--ds-brand-primary-900: #1b2a4a;
|
|
83
|
+
--ds-brand-secondary: #1b2a4a;
|
|
86
84
|
--ds-brand-secondary-band: transparent;
|
|
87
85
|
--ds-brand-secondary-surface: var(--surface-page);
|
|
88
86
|
--ds-brand-text: #fafafa;
|
|
@@ -90,7 +88,7 @@
|
|
|
90
88
|
--ds-danger-border: rgba(244, 67, 54, 0.4);
|
|
91
89
|
--ds-danger-soft: rgba(244, 67, 54, 0.2);
|
|
92
90
|
--ds-danger-text: #ef9a9a;
|
|
93
|
-
--ds-icon-default: #
|
|
91
|
+
--ds-icon-default: #a1a1aa;
|
|
94
92
|
--ds-info: #2196f3;
|
|
95
93
|
--ds-info-border: rgba(33, 150, 243, 0.4);
|
|
96
94
|
--ds-info-soft: rgba(33, 150, 243, 0.2);
|
|
@@ -99,17 +97,17 @@
|
|
|
99
97
|
--ds-success-border: rgba(76, 175, 80, 0.4);
|
|
100
98
|
--ds-success-soft: rgba(76, 175, 80, 0.2);
|
|
101
99
|
--ds-success-text: #a5d6a7;
|
|
102
|
-
--ds-surface-default: #
|
|
100
|
+
--ds-surface-default: #27272a;
|
|
103
101
|
--ds-surface-invert: #fafafa;
|
|
104
|
-
--ds-surface-overlay: #
|
|
105
|
-
--ds-surface-page: #
|
|
106
|
-
--ds-surface-raised: #
|
|
107
|
-
--ds-text-disabled: #
|
|
108
|
-
--ds-text-inverse: #
|
|
109
|
-
--ds-text-muted: #
|
|
110
|
-
--ds-text-placeholder: #
|
|
102
|
+
--ds-surface-overlay: #e4e4e7;
|
|
103
|
+
--ds-surface-page: #18181b;
|
|
104
|
+
--ds-surface-raised: #3f3f46;
|
|
105
|
+
--ds-text-disabled: #52525b;
|
|
106
|
+
--ds-text-inverse: #18181b;
|
|
107
|
+
--ds-text-muted: #d4d4d8;
|
|
108
|
+
--ds-text-placeholder: #d4d4d8;
|
|
111
109
|
--ds-text-primary: #fafafa;
|
|
112
|
-
--ds-text-secondary: #
|
|
110
|
+
--ds-text-secondary: #e4e4e7;
|
|
113
111
|
--ds-warning: #ffc107;
|
|
114
112
|
--ds-warning-border: rgba(255, 193, 7, 0.4);
|
|
115
113
|
--ds-warning-soft: rgba(255, 193, 7, 0.2);
|
|
@@ -16,44 +16,43 @@ declare const dsTheme: {
|
|
|
16
16
|
readonly "--info-soft": "#bbdefb";
|
|
17
17
|
readonly "--info-border": "#90caf9";
|
|
18
18
|
readonly "--info-text": "#1e40af";
|
|
19
|
-
readonly "--brand-primary-50": "#
|
|
20
|
-
readonly "--brand-primary-100": "#
|
|
21
|
-
readonly "--brand-primary-200": "#
|
|
22
|
-
readonly "--brand-primary-300": "#
|
|
23
|
-
readonly "--brand-primary-400": "#
|
|
24
|
-
readonly "--brand-primary-500": "#
|
|
25
|
-
readonly "--brand-primary-600": "#
|
|
26
|
-
readonly "--brand-primary-700": "#
|
|
27
|
-
readonly "--brand-primary-800": "#
|
|
28
|
-
readonly "--brand-primary-900": "#
|
|
29
|
-
readonly "--brand-primary": "#
|
|
30
|
-
readonly "--brand-hover": "#
|
|
19
|
+
readonly "--brand-primary-50": "#f4f6f9";
|
|
20
|
+
readonly "--brand-primary-100": "#e4e6ec";
|
|
21
|
+
readonly "--brand-primary-200": "#c9cdd8";
|
|
22
|
+
readonly "--brand-primary-300": "#aeb6c4";
|
|
23
|
+
readonly "--brand-primary-400": "#8a91a1";
|
|
24
|
+
readonly "--brand-primary-500": "#6b7488";
|
|
25
|
+
readonly "--brand-primary-600": "#5a6478";
|
|
26
|
+
readonly "--brand-primary-700": "#3a465f";
|
|
27
|
+
readonly "--brand-primary-800": "#26344f";
|
|
28
|
+
readonly "--brand-primary-900": "#1b2a4a";
|
|
29
|
+
readonly "--brand-primary": "#1b2a4a";
|
|
30
|
+
readonly "--brand-hover": "#26344f";
|
|
31
31
|
readonly "--brand-on-primary": "#ffffff";
|
|
32
|
-
readonly "--brand-secondary": "#
|
|
33
|
-
readonly "--brand-on-secondary": "#
|
|
32
|
+
readonly "--brand-secondary": "#1b2a4a";
|
|
33
|
+
readonly "--brand-on-secondary": "#ffffff";
|
|
34
34
|
readonly "--brand-secondary-surface": "var(--brand-secondary)";
|
|
35
35
|
readonly "--brand-secondary-band": "var(--brand-secondary)";
|
|
36
|
-
readonly "--brand-accent": "#
|
|
37
|
-
readonly "--brand-accent
|
|
38
|
-
readonly "--brand-on-accent": "#ffffff";
|
|
36
|
+
readonly "--brand-accent": "#ff6a00";
|
|
37
|
+
readonly "--brand-on-accent": "#000000";
|
|
39
38
|
readonly "--surface-page": "#fafafa";
|
|
40
39
|
readonly "--surface-default": "#ffffff";
|
|
41
|
-
readonly "--surface-raised": "#
|
|
42
|
-
readonly "--surface-overlay": "#
|
|
43
|
-
readonly "--surface-invert": "#
|
|
44
|
-
readonly "--border-subtle": "#
|
|
45
|
-
readonly "--border-default": "#
|
|
46
|
-
readonly "--border-strong": "#
|
|
47
|
-
readonly "--border-control": "#
|
|
48
|
-
readonly "--border-focus": "#
|
|
49
|
-
readonly "--brand-text": "#
|
|
50
|
-
readonly "--text-primary": "#
|
|
51
|
-
readonly "--text-secondary": "#
|
|
52
|
-
readonly "--text-muted": "#
|
|
53
|
-
readonly "--text-disabled": "#
|
|
40
|
+
readonly "--surface-raised": "#f4f4f5";
|
|
41
|
+
readonly "--surface-overlay": "#18181b";
|
|
42
|
+
readonly "--surface-invert": "#18181b";
|
|
43
|
+
readonly "--border-subtle": "#f4f4f5";
|
|
44
|
+
readonly "--border-default": "#e4e4e7";
|
|
45
|
+
readonly "--border-strong": "#d4d4d8";
|
|
46
|
+
readonly "--border-control": "#71717a";
|
|
47
|
+
readonly "--border-focus": "#1b2a4a";
|
|
48
|
+
readonly "--brand-text": "#1b2a4a";
|
|
49
|
+
readonly "--text-primary": "#18181b";
|
|
50
|
+
readonly "--text-secondary": "#3f3f46";
|
|
51
|
+
readonly "--text-muted": "#52525b";
|
|
52
|
+
readonly "--text-disabled": "#a1a1aa";
|
|
54
53
|
readonly "--text-inverse": "#ffffff";
|
|
55
|
-
readonly "--text-placeholder": "#
|
|
56
|
-
readonly "--icon-default": "#
|
|
54
|
+
readonly "--text-placeholder": "#52525b";
|
|
55
|
+
readonly "--icon-default": "#27272a";
|
|
57
56
|
};
|
|
58
57
|
readonly dark: {
|
|
59
58
|
readonly "--danger": "#f44336";
|
|
@@ -72,44 +71,43 @@ declare const dsTheme: {
|
|
|
72
71
|
readonly "--info-soft": "rgba(33, 150, 243, 0.2)";
|
|
73
72
|
readonly "--info-border": "rgba(33, 150, 243, 0.4)";
|
|
74
73
|
readonly "--info-text": "#90caf9";
|
|
75
|
-
readonly "--brand-primary-50": "#
|
|
76
|
-
readonly "--brand-primary-100": "#
|
|
77
|
-
readonly "--brand-primary-200": "#
|
|
78
|
-
readonly "--brand-primary-300": "#
|
|
79
|
-
readonly "--brand-primary-400": "#
|
|
80
|
-
readonly "--brand-primary-500": "#
|
|
81
|
-
readonly "--brand-primary-600": "#
|
|
82
|
-
readonly "--brand-primary-700": "#
|
|
83
|
-
readonly "--brand-primary-800": "#
|
|
84
|
-
readonly "--brand-primary-900": "#
|
|
85
|
-
readonly "--brand-primary": "#
|
|
86
|
-
readonly "--brand-hover": "#
|
|
87
|
-
readonly "--brand-on-primary": "#
|
|
88
|
-
readonly "--brand-secondary": "#
|
|
74
|
+
readonly "--brand-primary-50": "#f4f6f9";
|
|
75
|
+
readonly "--brand-primary-100": "#e4e6ec";
|
|
76
|
+
readonly "--brand-primary-200": "#c9cdd8";
|
|
77
|
+
readonly "--brand-primary-300": "#aeb6c4";
|
|
78
|
+
readonly "--brand-primary-400": "#8a91a1";
|
|
79
|
+
readonly "--brand-primary-500": "#6b7488";
|
|
80
|
+
readonly "--brand-primary-600": "#5a6478";
|
|
81
|
+
readonly "--brand-primary-700": "#3a465f";
|
|
82
|
+
readonly "--brand-primary-800": "#26344f";
|
|
83
|
+
readonly "--brand-primary-900": "#1b2a4a";
|
|
84
|
+
readonly "--brand-primary": "#1b2a4a";
|
|
85
|
+
readonly "--brand-hover": "#26344f";
|
|
86
|
+
readonly "--brand-on-primary": "#ffffff";
|
|
87
|
+
readonly "--brand-secondary": "#1b2a4a";
|
|
89
88
|
readonly "--brand-on-secondary": "#ffffff";
|
|
90
89
|
readonly "--brand-secondary-surface": "var(--surface-page)";
|
|
91
90
|
readonly "--brand-secondary-band": "transparent";
|
|
92
|
-
readonly "--brand-accent": "#
|
|
93
|
-
readonly "--brand-accent
|
|
94
|
-
readonly "--
|
|
95
|
-
readonly "--surface-
|
|
96
|
-
readonly "--surface-
|
|
97
|
-
readonly "--surface-
|
|
98
|
-
readonly "--surface-overlay": "#d6d6d6";
|
|
91
|
+
readonly "--brand-accent": "#ff6a00";
|
|
92
|
+
readonly "--brand-on-accent": "#000000";
|
|
93
|
+
readonly "--surface-page": "#18181b";
|
|
94
|
+
readonly "--surface-default": "#27272a";
|
|
95
|
+
readonly "--surface-raised": "#3f3f46";
|
|
96
|
+
readonly "--surface-overlay": "#e4e4e7";
|
|
99
97
|
readonly "--surface-invert": "#fafafa";
|
|
100
98
|
readonly "--border-subtle": "rgba(255, 255, 255, 0.08)";
|
|
101
99
|
readonly "--border-default": "rgba(255, 255, 255, 0.14)";
|
|
102
100
|
readonly "--border-strong": "rgba(255, 255, 255, 0.22)";
|
|
103
101
|
readonly "--border-control": "rgba(255, 255, 255, 0.4)";
|
|
104
|
-
readonly "--border-focus": "#
|
|
102
|
+
readonly "--border-focus": "#1b2a4a";
|
|
105
103
|
readonly "--brand-text": "#fafafa";
|
|
106
104
|
readonly "--text-primary": "#fafafa";
|
|
107
|
-
readonly "--text-secondary": "#
|
|
108
|
-
readonly "--text-muted": "#
|
|
109
|
-
readonly "--text-disabled": "#
|
|
110
|
-
readonly "--text-inverse": "#
|
|
111
|
-
readonly "--text-placeholder": "#
|
|
112
|
-
readonly "--icon-default": "#
|
|
105
|
+
readonly "--text-secondary": "#e4e4e7";
|
|
106
|
+
readonly "--text-muted": "#d4d4d8";
|
|
107
|
+
readonly "--text-disabled": "#52525b";
|
|
108
|
+
readonly "--text-inverse": "#18181b";
|
|
109
|
+
readonly "--text-placeholder": "#d4d4d8";
|
|
110
|
+
readonly "--icon-default": "#a1a1aa";
|
|
113
111
|
};
|
|
114
112
|
};
|
|
115
113
|
type ThemeMap = Record<string, string>;
|
|
@@ -17,44 +17,43 @@ const dsTheme = {
|
|
|
17
17
|
"--info-soft": "#bbdefb",
|
|
18
18
|
"--info-border": "#90caf9",
|
|
19
19
|
"--info-text": "#1e40af",
|
|
20
|
-
"--brand-primary-50": "#
|
|
21
|
-
"--brand-primary-100": "#
|
|
22
|
-
"--brand-primary-200": "#
|
|
23
|
-
"--brand-primary-300": "#
|
|
24
|
-
"--brand-primary-400": "#
|
|
25
|
-
"--brand-primary-500": "#
|
|
26
|
-
"--brand-primary-600": "#
|
|
27
|
-
"--brand-primary-700": "#
|
|
28
|
-
"--brand-primary-800": "#
|
|
29
|
-
"--brand-primary-900": "#
|
|
30
|
-
"--brand-primary": "#
|
|
31
|
-
"--brand-hover": "#
|
|
20
|
+
"--brand-primary-50": "#f4f6f9",
|
|
21
|
+
"--brand-primary-100": "#e4e6ec",
|
|
22
|
+
"--brand-primary-200": "#c9cdd8",
|
|
23
|
+
"--brand-primary-300": "#aeb6c4",
|
|
24
|
+
"--brand-primary-400": "#8a91a1",
|
|
25
|
+
"--brand-primary-500": "#6b7488",
|
|
26
|
+
"--brand-primary-600": "#5a6478",
|
|
27
|
+
"--brand-primary-700": "#3a465f",
|
|
28
|
+
"--brand-primary-800": "#26344f",
|
|
29
|
+
"--brand-primary-900": "#1b2a4a",
|
|
30
|
+
"--brand-primary": "#1b2a4a",
|
|
31
|
+
"--brand-hover": "#26344f",
|
|
32
32
|
"--brand-on-primary": "#ffffff",
|
|
33
|
-
"--brand-secondary": "#
|
|
34
|
-
"--brand-on-secondary": "#
|
|
33
|
+
"--brand-secondary": "#1b2a4a",
|
|
34
|
+
"--brand-on-secondary": "#ffffff",
|
|
35
35
|
"--brand-secondary-surface": "var(--brand-secondary)",
|
|
36
36
|
"--brand-secondary-band": "var(--brand-secondary)",
|
|
37
|
-
"--brand-accent": "#
|
|
38
|
-
"--brand-accent
|
|
39
|
-
"--brand-on-accent": "#ffffff",
|
|
37
|
+
"--brand-accent": "#ff6a00",
|
|
38
|
+
"--brand-on-accent": "#000000",
|
|
40
39
|
"--surface-page": "#fafafa",
|
|
41
40
|
"--surface-default": "#ffffff",
|
|
42
|
-
"--surface-raised": "#
|
|
43
|
-
"--surface-overlay": "#
|
|
44
|
-
"--surface-invert": "#
|
|
45
|
-
"--border-subtle": "#
|
|
46
|
-
"--border-default": "#
|
|
47
|
-
"--border-strong": "#
|
|
48
|
-
"--border-control": "#
|
|
49
|
-
"--border-focus": "#
|
|
50
|
-
"--brand-text": "#
|
|
51
|
-
"--text-primary": "#
|
|
52
|
-
"--text-secondary": "#
|
|
53
|
-
"--text-muted": "#
|
|
54
|
-
"--text-disabled": "#
|
|
41
|
+
"--surface-raised": "#f4f4f5",
|
|
42
|
+
"--surface-overlay": "#18181b",
|
|
43
|
+
"--surface-invert": "#18181b",
|
|
44
|
+
"--border-subtle": "#f4f4f5",
|
|
45
|
+
"--border-default": "#e4e4e7",
|
|
46
|
+
"--border-strong": "#d4d4d8",
|
|
47
|
+
"--border-control": "#71717a",
|
|
48
|
+
"--border-focus": "#1b2a4a",
|
|
49
|
+
"--brand-text": "#1b2a4a",
|
|
50
|
+
"--text-primary": "#18181b",
|
|
51
|
+
"--text-secondary": "#3f3f46",
|
|
52
|
+
"--text-muted": "#52525b",
|
|
53
|
+
"--text-disabled": "#a1a1aa",
|
|
55
54
|
"--text-inverse": "#ffffff",
|
|
56
|
-
"--text-placeholder": "#
|
|
57
|
-
"--icon-default": "#
|
|
55
|
+
"--text-placeholder": "#52525b",
|
|
56
|
+
"--icon-default": "#27272a"
|
|
58
57
|
},
|
|
59
58
|
dark: {
|
|
60
59
|
"--danger": "#f44336",
|
|
@@ -73,44 +72,43 @@ const dsTheme = {
|
|
|
73
72
|
"--info-soft": "rgba(33, 150, 243, 0.2)",
|
|
74
73
|
"--info-border": "rgba(33, 150, 243, 0.4)",
|
|
75
74
|
"--info-text": "#90caf9",
|
|
76
|
-
"--brand-primary-50": "#
|
|
77
|
-
"--brand-primary-100": "#
|
|
78
|
-
"--brand-primary-200": "#
|
|
79
|
-
"--brand-primary-300": "#
|
|
80
|
-
"--brand-primary-400": "#
|
|
81
|
-
"--brand-primary-500": "#
|
|
82
|
-
"--brand-primary-600": "#
|
|
83
|
-
"--brand-primary-700": "#
|
|
84
|
-
"--brand-primary-800": "#
|
|
85
|
-
"--brand-primary-900": "#
|
|
86
|
-
"--brand-primary": "#
|
|
87
|
-
"--brand-hover": "#
|
|
88
|
-
"--brand-on-primary": "#
|
|
89
|
-
"--brand-secondary": "#
|
|
75
|
+
"--brand-primary-50": "#f4f6f9",
|
|
76
|
+
"--brand-primary-100": "#e4e6ec",
|
|
77
|
+
"--brand-primary-200": "#c9cdd8",
|
|
78
|
+
"--brand-primary-300": "#aeb6c4",
|
|
79
|
+
"--brand-primary-400": "#8a91a1",
|
|
80
|
+
"--brand-primary-500": "#6b7488",
|
|
81
|
+
"--brand-primary-600": "#5a6478",
|
|
82
|
+
"--brand-primary-700": "#3a465f",
|
|
83
|
+
"--brand-primary-800": "#26344f",
|
|
84
|
+
"--brand-primary-900": "#1b2a4a",
|
|
85
|
+
"--brand-primary": "#1b2a4a",
|
|
86
|
+
"--brand-hover": "#26344f",
|
|
87
|
+
"--brand-on-primary": "#ffffff",
|
|
88
|
+
"--brand-secondary": "#1b2a4a",
|
|
90
89
|
"--brand-on-secondary": "#ffffff",
|
|
91
90
|
"--brand-secondary-surface": "var(--surface-page)",
|
|
92
91
|
"--brand-secondary-band": "transparent",
|
|
93
|
-
"--brand-accent": "#
|
|
94
|
-
"--brand-accent
|
|
95
|
-
"--
|
|
96
|
-
"--surface-
|
|
97
|
-
"--surface-
|
|
98
|
-
"--surface-
|
|
99
|
-
"--surface-overlay": "#d6d6d6",
|
|
92
|
+
"--brand-accent": "#ff6a00",
|
|
93
|
+
"--brand-on-accent": "#000000",
|
|
94
|
+
"--surface-page": "#18181b",
|
|
95
|
+
"--surface-default": "#27272a",
|
|
96
|
+
"--surface-raised": "#3f3f46",
|
|
97
|
+
"--surface-overlay": "#e4e4e7",
|
|
100
98
|
"--surface-invert": "#fafafa",
|
|
101
99
|
"--border-subtle": "rgba(255, 255, 255, 0.08)",
|
|
102
100
|
"--border-default": "rgba(255, 255, 255, 0.14)",
|
|
103
101
|
"--border-strong": "rgba(255, 255, 255, 0.22)",
|
|
104
102
|
"--border-control": "rgba(255, 255, 255, 0.4)",
|
|
105
|
-
"--border-focus": "#
|
|
103
|
+
"--border-focus": "#1b2a4a",
|
|
106
104
|
"--brand-text": "#fafafa",
|
|
107
105
|
"--text-primary": "#fafafa",
|
|
108
|
-
"--text-secondary": "#
|
|
109
|
-
"--text-muted": "#
|
|
110
|
-
"--text-disabled": "#
|
|
111
|
-
"--text-inverse": "#
|
|
112
|
-
"--text-placeholder": "#
|
|
113
|
-
"--icon-default": "#
|
|
106
|
+
"--text-secondary": "#e4e4e7",
|
|
107
|
+
"--text-muted": "#d4d4d8",
|
|
108
|
+
"--text-disabled": "#52525b",
|
|
109
|
+
"--text-inverse": "#18181b",
|
|
110
|
+
"--text-placeholder": "#d4d4d8",
|
|
111
|
+
"--icon-default": "#a1a1aa"
|
|
114
112
|
}
|
|
115
113
|
};
|
|
116
114
|
export {
|