@borisj74/bv-ds 0.1.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/LICENSE +21 -0
- package/README.md +94 -0
- package/dist/index.cjs +33885 -0
- package/dist/index.d.cts +2715 -0
- package/dist/index.d.ts +2715 -0
- package/dist/index.js +33717 -0
- package/package.json +67 -0
- package/src/components/ActivityFeed/ActivityFeed.tsx +48 -0
- package/src/components/ActivityFeed/index.ts +2 -0
- package/src/components/ActivityGauge/ActivityGauge.tsx +155 -0
- package/src/components/ActivityGauge/index.ts +7 -0
- package/src/components/AdvancedFilterBar/AdvancedFilterBar.tsx +80 -0
- package/src/components/AdvancedFilterBar/index.ts +2 -0
- package/src/components/Alert/Alert.tsx +210 -0
- package/src/components/Alert/index.ts +2 -0
- package/src/components/Avatar/Avatar.tsx +111 -0
- package/src/components/Avatar/index.ts +2 -0
- package/src/components/AvatarAddButton/AvatarAddButton.tsx +65 -0
- package/src/components/AvatarAddButton/index.ts +5 -0
- package/src/components/AvatarGroup/AvatarGroup.tsx +79 -0
- package/src/components/AvatarGroup/index.ts +6 -0
- package/src/components/AvatarLabelGroup/AvatarLabelGroup.tsx +62 -0
- package/src/components/AvatarLabelGroup/index.ts +5 -0
- package/src/components/AvatarProfilePhoto/AvatarProfilePhoto.tsx +117 -0
- package/src/components/AvatarProfilePhoto/index.ts +5 -0
- package/src/components/Badge/ColorBadge.tsx +36 -0
- package/src/components/Badge/ModernBadge.tsx +38 -0
- package/src/components/Badge/PillBadge.tsx +36 -0
- package/src/components/Badge/badgeShared.tsx +139 -0
- package/src/components/Badge/index.ts +7 -0
- package/src/components/BadgeCloseX/BadgeCloseX.tsx +64 -0
- package/src/components/BadgeCloseX/index.ts +2 -0
- package/src/components/BadgeGroup/BadgeGroup.tsx +61 -0
- package/src/components/BadgeGroup/index.ts +7 -0
- package/src/components/BreadcrumbButtonBase/BreadcrumbButtonBase.tsx +75 -0
- package/src/components/BreadcrumbButtonBase/index.ts +5 -0
- package/src/components/Breadcrumbs/Breadcrumbs.tsx +62 -0
- package/src/components/Breadcrumbs/index.ts +2 -0
- package/src/components/Button/Button.tsx +71 -0
- package/src/components/Button/index.ts +2 -0
- package/src/components/ButtonCloseX/ButtonCloseX.tsx +54 -0
- package/src/components/ButtonCloseX/index.ts +2 -0
- package/src/components/ButtonDestructive/ButtonDestructive.tsx +67 -0
- package/src/components/ButtonDestructive/index.ts +6 -0
- package/src/components/ButtonGroup/ButtonGroup.tsx +28 -0
- package/src/components/ButtonGroup/index.ts +2 -0
- package/src/components/ButtonGroupSegment/ButtonGroupSegment.tsx +54 -0
- package/src/components/ButtonGroupSegment/index.ts +5 -0
- package/src/components/ButtonUtility/ButtonUtility.tsx +67 -0
- package/src/components/ButtonUtility/index.ts +6 -0
- package/src/components/CalendarCell/CalendarCell.tsx +82 -0
- package/src/components/CalendarCell/index.ts +2 -0
- package/src/components/CalendarCellDayWeekView/CalendarCellDayWeekView.tsx +56 -0
- package/src/components/CalendarCellDayWeekView/index.ts +2 -0
- package/src/components/CalendarColumnHeader/CalendarColumnHeader.tsx +45 -0
- package/src/components/CalendarColumnHeader/index.ts +5 -0
- package/src/components/CalendarDateIcon/CalendarDateIcon.tsx +25 -0
- package/src/components/CalendarDateIcon/index.ts +2 -0
- package/src/components/CalendarEvent/CalendarEvent.tsx +76 -0
- package/src/components/CalendarEvent/index.ts +2 -0
- package/src/components/CalendarEventDayWeekView/CalendarEventDayWeekView.tsx +76 -0
- package/src/components/CalendarEventDayWeekView/index.ts +2 -0
- package/src/components/CalendarHeader/CalendarHeader.tsx +47 -0
- package/src/components/CalendarHeader/index.ts +2 -0
- package/src/components/CalendarRowLabel/CalendarRowLabel.tsx +21 -0
- package/src/components/CalendarRowLabel/index.ts +2 -0
- package/src/components/CalendarTimemarker/CalendarTimemarker.tsx +46 -0
- package/src/components/CalendarTimemarker/index.ts +5 -0
- package/src/components/CalendarViewDropdown/CalendarViewDropdown.tsx +101 -0
- package/src/components/CalendarViewDropdown/index.ts +6 -0
- package/src/components/CardHeader/CardHeader.tsx +57 -0
- package/src/components/CardHeader/index.ts +2 -0
- package/src/components/CarouselArrow/CarouselArrow.tsx +47 -0
- package/src/components/CarouselArrow/index.ts +6 -0
- package/src/components/CarouselImage/CarouselImage.tsx +60 -0
- package/src/components/CarouselImage/index.ts +2 -0
- package/src/components/Change/Change.tsx +73 -0
- package/src/components/Change/index.ts +2 -0
- package/src/components/ChartLegend/ChartLegend.tsx +38 -0
- package/src/components/ChartLegend/index.ts +2 -0
- package/src/components/ChartMarker/ChartMarker.tsx +54 -0
- package/src/components/ChartMarker/index.ts +2 -0
- package/src/components/ChartMini/ChartMini.tsx +86 -0
- package/src/components/ChartMini/index.ts +2 -0
- package/src/components/ChartTooltip/ChartTooltip.tsx +44 -0
- package/src/components/ChartTooltip/index.ts +2 -0
- package/src/components/Checkbox/Checkbox.tsx +65 -0
- package/src/components/Checkbox/checkboxBase.tsx +81 -0
- package/src/components/Checkbox/index.ts +3 -0
- package/src/components/CodeSnippet/CodeSnippet.tsx +94 -0
- package/src/components/CodeSnippet/index.ts +2 -0
- package/src/components/CodeSnippetTabs/CodeSnippetTabs.tsx +44 -0
- package/src/components/CodeSnippetTabs/index.ts +2 -0
- package/src/components/CommandBar/CommandBar.tsx +80 -0
- package/src/components/CommandBar/index.ts +2 -0
- package/src/components/CommandBarFooter/CommandBarFooter.tsx +125 -0
- package/src/components/CommandBarFooter/index.ts +5 -0
- package/src/components/CommandBarMenuSection/CommandBarMenuSection.tsx +28 -0
- package/src/components/CommandBarMenuSection/index.ts +2 -0
- package/src/components/CommandBarNavigationIcon/CommandBarNavigationIcon.tsx +47 -0
- package/src/components/CommandBarNavigationIcon/index.ts +2 -0
- package/src/components/CommandDropdownMenuItem/CommandDropdownMenuItem.tsx +51 -0
- package/src/components/CommandDropdownMenuItem/index.ts +2 -0
- package/src/components/CommandInput/CommandInput.tsx +74 -0
- package/src/components/CommandInput/index.ts +2 -0
- package/src/components/CommandShortcut/CommandShortcut.tsx +26 -0
- package/src/components/CommandShortcut/index.ts +2 -0
- package/src/components/ContentDivider/ContentDivider.tsx +80 -0
- package/src/components/ContentDivider/index.ts +6 -0
- package/src/components/ContentFeatureText/ContentFeatureText.tsx +60 -0
- package/src/components/ContentFeatureText/index.ts +5 -0
- package/src/components/ContentHeading/ContentHeading.tsx +43 -0
- package/src/components/ContentHeading/index.ts +5 -0
- package/src/components/ContentParagraph/ContentParagraph.tsx +39 -0
- package/src/components/ContentParagraph/index.ts +5 -0
- package/src/components/ContentQuote/ContentQuote.tsx +114 -0
- package/src/components/ContentQuote/index.ts +6 -0
- package/src/components/ContentRule/ContentRule.tsx +31 -0
- package/src/components/ContentRule/index.ts +2 -0
- package/src/components/ContextMenu/ContextMenu.tsx +67 -0
- package/src/components/ContextMenu/index.ts +7 -0
- package/src/components/ContextMenu/useContextMenu.ts +41 -0
- package/src/components/DatePickerCell/DatePickerCell.tsx +77 -0
- package/src/components/DatePickerCell/index.ts +2 -0
- package/src/components/DatePickerListItem/DatePickerListItem.tsx +39 -0
- package/src/components/DatePickerListItem/index.ts +2 -0
- package/src/components/DatePickerMenu/DatePickerMenu.tsx +131 -0
- package/src/components/DatePickerMenu/index.ts +2 -0
- package/src/components/DropdownAccountListItem/DropdownAccountListItem.tsx +69 -0
- package/src/components/DropdownAccountListItem/index.ts +2 -0
- package/src/components/DropdownMenuFooter/DropdownMenuFooter.tsx +50 -0
- package/src/components/DropdownMenuFooter/index.ts +5 -0
- package/src/components/DropdownMenuHeader/DropdownMenuHeader.tsx +93 -0
- package/src/components/DropdownMenuHeader/index.ts +5 -0
- package/src/components/DropdownMenuItemInsetIcon/DropdownMenuItemInsetIcon.tsx +89 -0
- package/src/components/DropdownMenuItemInsetIcon/index.ts +5 -0
- package/src/components/DropdownMenuListItem/DropdownMenuListItem.tsx +84 -0
- package/src/components/DropdownMenuListItem/index.ts +2 -0
- package/src/components/EmptyState/EmptyState.tsx +65 -0
- package/src/components/EmptyState/index.ts +2 -0
- package/src/components/FeedItemBase/FeedItemBase.tsx +135 -0
- package/src/components/FeedItemBase/index.ts +2 -0
- package/src/components/FileUpload/FileUpload.tsx +112 -0
- package/src/components/FileUpload/index.ts +2 -0
- package/src/components/FileUploadBase/FileUploadBase.tsx +69 -0
- package/src/components/FileUploadBase/index.ts +2 -0
- package/src/components/FileUploadItemBase/FileUploadItemBase.tsx +190 -0
- package/src/components/FileUploadItemBase/index.ts +7 -0
- package/src/components/FilterBar/FilterBar.tsx +62 -0
- package/src/components/FilterBar/index.ts +2 -0
- package/src/components/FilterTabs/FilterTabs.tsx +41 -0
- package/src/components/FilterTabs/index.ts +2 -0
- package/src/components/FiltersDropdownMenu/FiltersDropdownMenu.tsx +104 -0
- package/src/components/FiltersDropdownMenu/index.ts +2 -0
- package/src/components/FiltersSlideoutMenu/FiltersSlideoutMenu.tsx +71 -0
- package/src/components/FiltersSlideoutMenu/index.ts +2 -0
- package/src/components/HeaderNavigation/HeaderNavigation.tsx +178 -0
- package/src/components/HeaderNavigation/index.ts +6 -0
- package/src/components/HelpIcon/HelpIcon.tsx +49 -0
- package/src/components/HelpIcon/index.ts +2 -0
- package/src/components/InputField/InputField.tsx +108 -0
- package/src/components/InputField/index.ts +3 -0
- package/src/components/InputField/inputFieldShared.tsx +68 -0
- package/src/components/LeadingInputField/LeadingInputField.tsx +60 -0
- package/src/components/LeadingInputField/index.ts +2 -0
- package/src/components/LineAndBarChart/LineAndBarChart.tsx +96 -0
- package/src/components/LineAndBarChart/index.ts +2 -0
- package/src/components/LinkMessage/LinkMessage.tsx +52 -0
- package/src/components/LinkMessage/index.ts +2 -0
- package/src/components/LoadingIndicator/LoadingIndicator.tsx +108 -0
- package/src/components/LoadingIndicator/index.ts +6 -0
- package/src/components/MediaMessage/MediaMessage.tsx +109 -0
- package/src/components/MediaMessage/index.ts +2 -0
- package/src/components/MegaInputFieldBase/MegaInputFieldBase.tsx +49 -0
- package/src/components/MegaInputFieldBase/index.ts +5 -0
- package/src/components/Message/Message.tsx +85 -0
- package/src/components/Message/index.ts +3 -0
- package/src/components/Message/messageShared.tsx +73 -0
- package/src/components/MessageAction/MessageAction.tsx +221 -0
- package/src/components/MessageAction/index.ts +2 -0
- package/src/components/MessageActionButton/MessageActionButton.tsx +36 -0
- package/src/components/MessageActionButton/index.ts +2 -0
- package/src/components/MessageActionPanel/MessageActionPanel.tsx +36 -0
- package/src/components/MessageActionPanel/index.ts +2 -0
- package/src/components/MessageReaction/MessageReaction.tsx +37 -0
- package/src/components/MessageReaction/index.ts +2 -0
- package/src/components/MessageStatusIcon/MessageStatusIcon.tsx +54 -0
- package/src/components/MessageStatusIcon/index.ts +2 -0
- package/src/components/MetricItem/MetricItem.tsx +147 -0
- package/src/components/MetricItem/index.ts +2 -0
- package/src/components/ModalActions/ModalActions.tsx +57 -0
- package/src/components/ModalActions/index.ts +2 -0
- package/src/components/ModalHeader/ModalHeader.tsx +99 -0
- package/src/components/ModalHeader/index.ts +2 -0
- package/src/components/MultiSelect/MultiSelect.tsx +118 -0
- package/src/components/MultiSelect/index.ts +2 -0
- package/src/components/NavAccountCard/NavAccountCard.tsx +124 -0
- package/src/components/NavAccountCard/index.ts +2 -0
- package/src/components/NavAccountCardMenuItem/NavAccountCardMenuItem.tsx +101 -0
- package/src/components/NavAccountCardMenuItem/index.ts +5 -0
- package/src/components/NavButton/NavButton.tsx +50 -0
- package/src/components/NavButton/index.ts +2 -0
- package/src/components/NavFeaturedCard/NavFeaturedCard.tsx +82 -0
- package/src/components/NavFeaturedCard/index.ts +2 -0
- package/src/components/NavItemBase/NavItemBase.tsx +79 -0
- package/src/components/NavItemBase/index.ts +2 -0
- package/src/components/NavItemDropdownBase/NavItemDropdownBase.tsx +74 -0
- package/src/components/NavItemDropdownBase/index.ts +2 -0
- package/src/components/NavMenuButton/NavMenuButton.tsx +47 -0
- package/src/components/NavMenuButton/index.ts +2 -0
- package/src/components/Notification/Notification.tsx +102 -0
- package/src/components/Notification/index.ts +2 -0
- package/src/components/NumberInput/NumberInput.tsx +114 -0
- package/src/components/NumberInput/index.ts +2 -0
- package/src/components/PageHeader/PageHeader.tsx +88 -0
- package/src/components/PageHeader/index.ts +2 -0
- package/src/components/Pagination/Pagination.tsx +124 -0
- package/src/components/Pagination/index.ts +2 -0
- package/src/components/PaginationButtonGroupBase/PaginationButtonGroupBase.tsx +69 -0
- package/src/components/PaginationButtonGroupBase/index.ts +5 -0
- package/src/components/PaginationCards/PaginationCards.tsx +72 -0
- package/src/components/PaginationCards/index.ts +2 -0
- package/src/components/PaginationDotGroup/PaginationDotGroup.tsx +66 -0
- package/src/components/PaginationDotGroup/index.ts +2 -0
- package/src/components/PaginationDotIndicator/PaginationDotIndicator.tsx +39 -0
- package/src/components/PaginationDotIndicator/index.ts +6 -0
- package/src/components/PaginationNumberBase/PaginationNumberBase.tsx +42 -0
- package/src/components/PaginationNumberBase/index.ts +5 -0
- package/src/components/PieChart/PieChart.tsx +73 -0
- package/src/components/PieChart/index.ts +2 -0
- package/src/components/ProgressBar/ProgressBar.tsx +75 -0
- package/src/components/ProgressBar/index.ts +2 -0
- package/src/components/ProgressCircle/ProgressCircle.tsx +89 -0
- package/src/components/ProgressCircle/index.ts +6 -0
- package/src/components/RadarChart/RadarChart.tsx +62 -0
- package/src/components/RadarChart/index.ts +2 -0
- package/src/components/Radio/Radio.tsx +55 -0
- package/src/components/Radio/index.ts +2 -0
- package/src/components/RadioGroup/RadioGroup.tsx +54 -0
- package/src/components/RadioGroup/index.ts +2 -0
- package/src/components/RadioGroupItem/RadioGroupItem.tsx +118 -0
- package/src/components/RadioGroupItem/index.ts +6 -0
- package/src/components/SectionFooter/SectionFooter.tsx +40 -0
- package/src/components/SectionFooter/index.ts +2 -0
- package/src/components/SectionHeader/SectionHeader.tsx +44 -0
- package/src/components/SectionHeader/index.ts +2 -0
- package/src/components/SectionLabel/SectionLabel.tsx +51 -0
- package/src/components/SectionLabel/index.ts +2 -0
- package/src/components/Select/Select.tsx +121 -0
- package/src/components/Select/index.ts +2 -0
- package/src/components/SelectMenuItem/SelectMenuItem.tsx +85 -0
- package/src/components/SelectMenuItem/index.ts +2 -0
- package/src/components/SidebarNavigation/SidebarNavigation.tsx +100 -0
- package/src/components/SidebarNavigation/index.ts +2 -0
- package/src/components/SlideOutMenuHeader/SlideOutMenuHeader.tsx +56 -0
- package/src/components/SlideOutMenuHeader/index.ts +2 -0
- package/src/components/Slider/Slider.tsx +125 -0
- package/src/components/Slider/index.ts +2 -0
- package/src/components/SocialButton/SocialButton.tsx +88 -0
- package/src/components/SocialButton/index.ts +2 -0
- package/src/components/StatusIcon/StatusIcon.tsx +75 -0
- package/src/components/StatusIcon/index.ts +2 -0
- package/src/components/StepBase/StepBase.tsx +90 -0
- package/src/components/StepBase/index.ts +2 -0
- package/src/components/StepIconBase/StepIconBase.tsx +65 -0
- package/src/components/StepIconBase/index.ts +7 -0
- package/src/components/TabButtonBase/TabButtonBase.tsx +88 -0
- package/src/components/TabButtonBase/index.ts +2 -0
- package/src/components/TableCell/TableCell.tsx +44 -0
- package/src/components/TableCell/index.ts +2 -0
- package/src/components/TableHeaderCell/TableHeaderCell.tsx +34 -0
- package/src/components/TableHeaderCell/index.ts +2 -0
- package/src/components/TableHeaderLabel/TableHeaderLabel.tsx +37 -0
- package/src/components/TableHeaderLabel/index.ts +2 -0
- package/src/components/Tabs/Tabs.tsx +80 -0
- package/src/components/Tabs/index.ts +2 -0
- package/src/components/Tag/Tag.tsx +91 -0
- package/src/components/Tag/index.ts +2 -0
- package/src/components/TagsInputField/TagsInputField.tsx +90 -0
- package/src/components/TagsInputField/index.ts +2 -0
- package/src/components/TextEditorToolbar/TextEditorToolbar.tsx +33 -0
- package/src/components/TextEditorToolbar/index.ts +2 -0
- package/src/components/TextEditorTooltip/TextEditorTooltip.tsx +28 -0
- package/src/components/TextEditorTooltip/index.ts +2 -0
- package/src/components/TextareaInputField/TextareaInputField.tsx +45 -0
- package/src/components/TextareaInputField/index.ts +2 -0
- package/src/components/Toggle/Toggle.tsx +87 -0
- package/src/components/Toggle/index.ts +2 -0
- package/src/components/Tooltip/Tooltip.tsx +59 -0
- package/src/components/Tooltip/index.ts +2 -0
- package/src/components/TrailingInputField/TrailingInputField.tsx +62 -0
- package/src/components/TrailingInputField/index.ts +2 -0
- package/src/components/TreeView/TreeView.tsx +86 -0
- package/src/components/TreeView/index.ts +2 -0
- package/src/components/TreeViewConnector/TreeViewConnector.tsx +36 -0
- package/src/components/TreeViewConnector/index.ts +2 -0
- package/src/components/TreeViewItem/TreeViewItem.tsx +111 -0
- package/src/components/TreeViewItem/index.ts +2 -0
- package/src/components/VerificationCodeInput/VerificationCodeInput.tsx +114 -0
- package/src/components/VerificationCodeInput/index.ts +2 -0
- package/src/illustrations/BoxIllustration.tsx +13 -0
- package/src/illustrations/CloudIllustration.tsx +18 -0
- package/src/illustrations/CreditCardIllustration.tsx +13 -0
- package/src/illustrations/DocumentsIllustration.tsx +13 -0
- package/src/illustrations/index.ts +4 -0
- package/src/index.ts +147 -0
- package/src/internal/chartTheme.ts +30 -0
- package/src/internal/ringBase.tsx +82 -0
- package/src/styles.css +3 -0
- package/tailwind-preset.js +295 -0
|
@@ -0,0 +1,295 @@
|
|
|
1
|
+
// Shareable Tailwind preset — token names traced from design.md, confirmed
|
|
2
|
+
// against the live Figma file via figma-map.md token pulls. Consumers extend
|
|
3
|
+
// their own tailwind.config.js with this preset so generated class names
|
|
4
|
+
// (bg-brand-solid, text-secondary, p-md, etc.) match the design tokens
|
|
5
|
+
// directly rather than arbitrary values.
|
|
6
|
+
//
|
|
7
|
+
// Usage in a consuming app's tailwind.config.js:
|
|
8
|
+
// const dsPreset = require("@borisj74/bv-ds/tailwind-preset");
|
|
9
|
+
// module.exports = { presets: [dsPreset], content: [...] };
|
|
10
|
+
//
|
|
11
|
+
// PEER DEPENDENCY — Recharts: chart components (_ChartMini, and the deferred
|
|
12
|
+
// Line/bar/Pie/Radar wrappers) require `recharts` (>=2) installed in the
|
|
13
|
+
// consuming app. Optional peer dependency: install it only if you use the chart
|
|
14
|
+
// components. Recharts color props take hex strings, so those components read
|
|
15
|
+
// token hex values from this preset directly (not Tailwind class names).
|
|
16
|
+
|
|
17
|
+
/** @type {import('tailwindcss').Config} */
|
|
18
|
+
module.exports = {
|
|
19
|
+
theme: {
|
|
20
|
+
extend: {
|
|
21
|
+
colors: {
|
|
22
|
+
// Text — design.md §2 "Color — Text"
|
|
23
|
+
"text-primary": "#171717",
|
|
24
|
+
"text-primary-on-brand": "#ffffff",
|
|
25
|
+
"text-secondary": "#404040",
|
|
26
|
+
"text-secondary-hover": "#262626",
|
|
27
|
+
"text-secondary-on-brand": "#e9d7fe",
|
|
28
|
+
"text-tertiary": "#525252",
|
|
29
|
+
"text-tertiary-hover": "#404040",
|
|
30
|
+
"text-tertiary-on-brand": "#e9d7fe",
|
|
31
|
+
"text-quaternary": "#737373",
|
|
32
|
+
"text-quaternary-on-brand": "#d6bbfb",
|
|
33
|
+
"text-white": "#ffffff",
|
|
34
|
+
"text-placeholder": "#737373",
|
|
35
|
+
"text-brand-primary": "#42307d",
|
|
36
|
+
"text-brand-secondary": "#6941c6",
|
|
37
|
+
"text-brand-secondary-hover": "#53389e",
|
|
38
|
+
"text-brand-tertiary": "#7f56d9",
|
|
39
|
+
"text-brand-tertiary-alt": "#7f56d9",
|
|
40
|
+
"text-error-primary": "#dc2626",
|
|
41
|
+
"text-warning-primary": "#ca8a04",
|
|
42
|
+
"text-success-primary": "#16a34a",
|
|
43
|
+
|
|
44
|
+
// Background — design.md §2 "Color — Background"
|
|
45
|
+
"bg-primary": "#ffffff",
|
|
46
|
+
"bg-primary-alt": "#ffffff",
|
|
47
|
+
"bg-primary-hover": "#fafafa",
|
|
48
|
+
"bg-primary-solid": "#0a0a0a",
|
|
49
|
+
"bg-secondary": "#fafafa",
|
|
50
|
+
"bg-secondary-alt": "#fafafa",
|
|
51
|
+
"bg-secondary-hover": "#f5f5f5",
|
|
52
|
+
"bg-secondary-solid": "#525252",
|
|
53
|
+
"bg-tertiary": "#f5f5f5",
|
|
54
|
+
"bg-quaternary": "#e5e5e5",
|
|
55
|
+
"bg-overlay": "#0a0a0a",
|
|
56
|
+
"bg-brand-primary": "#f9f5ff",
|
|
57
|
+
"bg-brand-primary-alt": "#f9f5ff",
|
|
58
|
+
"bg-brand-secondary": "#f4ebff",
|
|
59
|
+
"bg-brand-solid": "#7f56d9",
|
|
60
|
+
"bg-brand-solid-hover": "#6941c6",
|
|
61
|
+
"bg-error-primary": "#fef2f2",
|
|
62
|
+
"bg-error-secondary": "#fee2e2",
|
|
63
|
+
"bg-error-solid": "#dc2626",
|
|
64
|
+
"bg-error-solid-hover": "#b91c1c",
|
|
65
|
+
"bg-warning-primary": "#fefce8",
|
|
66
|
+
"bg-warning-secondary": "#fef9c3",
|
|
67
|
+
"bg-warning-solid": "#ca8a04",
|
|
68
|
+
"bg-success-primary": "#f0fdf4",
|
|
69
|
+
"bg-success-secondary": "#dcfce7",
|
|
70
|
+
"bg-success-solid": "#16a34a",
|
|
71
|
+
|
|
72
|
+
// Border — design.md §2 "Color — Border"
|
|
73
|
+
"border-primary": "#d4d4d4",
|
|
74
|
+
"border-secondary": "#e5e5e5",
|
|
75
|
+
"border-secondary-alt": "rgba(0,0,0,0.1)",
|
|
76
|
+
"border-tertiary": "#f5f5f5",
|
|
77
|
+
"border-brand": "#9e77ed",
|
|
78
|
+
"border-brand-alt": "#7f56d9",
|
|
79
|
+
"border-error": "#ef4444",
|
|
80
|
+
"border-error-subtle": "#fca5a5",
|
|
81
|
+
|
|
82
|
+
// Foreground (icons) — design.md §2 "Color — Foreground"
|
|
83
|
+
"fg-primary": "#171717",
|
|
84
|
+
"fg-secondary": "#404040",
|
|
85
|
+
"fg-secondary-hover": "#262626",
|
|
86
|
+
"fg-tertiary": "#525252",
|
|
87
|
+
"fg-tertiary-hover": "#404040",
|
|
88
|
+
"fg-quaternary": "#a3a3a3",
|
|
89
|
+
"fg-quaternary-hover": "#737373",
|
|
90
|
+
"fg-white": "#ffffff",
|
|
91
|
+
"fg-brand-primary": "#7f56d9",
|
|
92
|
+
"fg-brand-primary-alt": "#7f56d9",
|
|
93
|
+
"fg-brand-secondary": "#9e77ed",
|
|
94
|
+
"fg-brand-secondary-alt": "#9e77ed",
|
|
95
|
+
"fg-error-primary": "#dc2626",
|
|
96
|
+
"fg-error-secondary": "#ef4444",
|
|
97
|
+
"fg-warning-primary": "#ca8a04",
|
|
98
|
+
"fg-warning-secondary": "#eab308",
|
|
99
|
+
"fg-success-primary": "#16a34a",
|
|
100
|
+
"fg-success-secondary": "#22c55e",
|
|
101
|
+
|
|
102
|
+
// Utility colors — Component colors/Utility/<Family>/utility-<family>-<shade>
|
|
103
|
+
// Harvested live from Figma (Badge node 1046:3819 + Calendar event
|
|
104
|
+
// 7991:78181). NOTE: Figma's actual family names are color names
|
|
105
|
+
// (yellow/green/red/neutral), NOT the semantic Warning/Success/Error/Gray
|
|
106
|
+
// aliases — using the real names so utility-* classes round-trip to the
|
|
107
|
+
// file. Shades included are those Figma actually defines per family — a
|
|
108
|
+
// superset of the requested 50/200/400/500/700 (also 100/600 and
|
|
109
|
+
// neutral-300) because Charts/Calendar consume them. Emerald/Amber have
|
|
110
|
+
// no -400 in the source; omitted rather than invented. The full -100
|
|
111
|
+
// ramp is now filled for all 14 families; slate-100 (#f1f5f9) and
|
|
112
|
+
// sky-100 (#e0f2fe) were derived from Tailwind's palette (every other
|
|
113
|
+
// slate/sky shade matched Tailwind exactly) since they weren't in a
|
|
114
|
+
// Figma var dump — all other -100s came straight from Figma.
|
|
115
|
+
"utility-brand-50": "#f9f5ff",
|
|
116
|
+
"utility-brand-100": "#f4ebff",
|
|
117
|
+
"utility-brand-200": "#e9d7fe",
|
|
118
|
+
"utility-brand-400": "#b692f6",
|
|
119
|
+
"utility-brand-500": "#9e77ed",
|
|
120
|
+
"utility-brand-600": "#7f56d9",
|
|
121
|
+
"utility-brand-700": "#6941c6",
|
|
122
|
+
"utility-yellow-50": "#fefce8",
|
|
123
|
+
"utility-yellow-100": "#fef9c3",
|
|
124
|
+
"utility-yellow-200": "#fef08a",
|
|
125
|
+
"utility-yellow-400": "#facc15",
|
|
126
|
+
"utility-yellow-500": "#eab308",
|
|
127
|
+
"utility-yellow-600": "#ca8a04",
|
|
128
|
+
"utility-yellow-700": "#a16207",
|
|
129
|
+
// NOTE: Figma's `utility-success-*` naming maps to `utility-green-*` here —
|
|
130
|
+
// use `utility-green-*` consistently (no `utility-success-*` keys exist).
|
|
131
|
+
"utility-green-50": "#f0fdf4",
|
|
132
|
+
"utility-green-100": "#dcfce7",
|
|
133
|
+
"utility-green-200": "#bbf7d0",
|
|
134
|
+
"utility-green-400": "#4ade80",
|
|
135
|
+
"utility-green-500": "#22c55e",
|
|
136
|
+
"utility-green-600": "#16a34a",
|
|
137
|
+
"utility-green-700": "#15803d",
|
|
138
|
+
"utility-slate-50": "#f8fafc",
|
|
139
|
+
"utility-slate-100": "#f1f5f9",
|
|
140
|
+
"utility-slate-200": "#e2e8f0",
|
|
141
|
+
"utility-slate-400": "#94a3b8",
|
|
142
|
+
"utility-slate-500": "#64748b",
|
|
143
|
+
"utility-slate-700": "#334155",
|
|
144
|
+
"utility-sky-50": "#f0f9ff",
|
|
145
|
+
"utility-sky-100": "#e0f2fe",
|
|
146
|
+
"utility-sky-200": "#bae6fd",
|
|
147
|
+
"utility-sky-400": "#38bdf8",
|
|
148
|
+
"utility-sky-500": "#0ea5e9",
|
|
149
|
+
"utility-sky-700": "#0369a1",
|
|
150
|
+
"utility-indigo-50": "#eef2ff",
|
|
151
|
+
"utility-indigo-100": "#e0e7ff",
|
|
152
|
+
"utility-indigo-200": "#c7d2fe",
|
|
153
|
+
"utility-indigo-400": "#818cf8",
|
|
154
|
+
"utility-indigo-500": "#6366f1",
|
|
155
|
+
"utility-indigo-600": "#4f46e5",
|
|
156
|
+
"utility-indigo-700": "#4338ca",
|
|
157
|
+
"utility-purple-50": "#faf5ff",
|
|
158
|
+
"utility-purple-100": "#f3e8ff",
|
|
159
|
+
"utility-purple-200": "#e9d5ff",
|
|
160
|
+
"utility-purple-400": "#c084fc",
|
|
161
|
+
"utility-purple-500": "#a855f7",
|
|
162
|
+
"utility-purple-600": "#9333ea",
|
|
163
|
+
"utility-purple-700": "#7e22ce",
|
|
164
|
+
"utility-blue-50": "#eff6ff",
|
|
165
|
+
"utility-blue-100": "#dbeafe",
|
|
166
|
+
"utility-blue-200": "#bfdbfe",
|
|
167
|
+
"utility-blue-400": "#60a5fa",
|
|
168
|
+
"utility-blue-500": "#3b82f6",
|
|
169
|
+
"utility-blue-600": "#2563eb",
|
|
170
|
+
"utility-blue-700": "#1d4ed8",
|
|
171
|
+
"utility-pink-50": "#fdf2f8",
|
|
172
|
+
"utility-pink-100": "#fce7f3",
|
|
173
|
+
"utility-pink-200": "#fbcfe8",
|
|
174
|
+
"utility-pink-400": "#f472b6",
|
|
175
|
+
"utility-pink-500": "#ec4899",
|
|
176
|
+
"utility-pink-600": "#db2777",
|
|
177
|
+
"utility-pink-700": "#be185d",
|
|
178
|
+
"utility-orange-50": "#fff7ed",
|
|
179
|
+
"utility-orange-100": "#ffedd5",
|
|
180
|
+
"utility-orange-200": "#fed7aa",
|
|
181
|
+
"utility-orange-400": "#fb923c",
|
|
182
|
+
"utility-orange-500": "#f97316",
|
|
183
|
+
"utility-orange-600": "#ea580c",
|
|
184
|
+
"utility-orange-700": "#c2410c",
|
|
185
|
+
"utility-red-50": "#fef2f2",
|
|
186
|
+
"utility-red-100": "#fee2e2",
|
|
187
|
+
"utility-red-200": "#fecaca",
|
|
188
|
+
"utility-red-400": "#f87171",
|
|
189
|
+
"utility-red-500": "#ef4444",
|
|
190
|
+
"utility-red-600": "#dc2626",
|
|
191
|
+
"utility-red-700": "#b91c1c",
|
|
192
|
+
"utility-neutral-50": "#fafafa",
|
|
193
|
+
"utility-neutral-100": "#f5f5f5",
|
|
194
|
+
"utility-neutral-200": "#e5e5e5",
|
|
195
|
+
"utility-neutral-300": "#d4d4d4",
|
|
196
|
+
"utility-neutral-400": "#a3a3a3",
|
|
197
|
+
"utility-neutral-500": "#737373",
|
|
198
|
+
"utility-neutral-600": "#525252",
|
|
199
|
+
"utility-neutral-700": "#404040",
|
|
200
|
+
"utility-emerald-50": "#ecfdf5",
|
|
201
|
+
"utility-emerald-100": "#d1fae5",
|
|
202
|
+
"utility-emerald-200": "#a7f3d0",
|
|
203
|
+
"utility-emerald-500": "#10b981",
|
|
204
|
+
"utility-emerald-600": "#059669",
|
|
205
|
+
"utility-emerald-700": "#047857",
|
|
206
|
+
"utility-amber-50": "#fffbeb",
|
|
207
|
+
"utility-amber-100": "#fef3c7",
|
|
208
|
+
"utility-amber-200": "#fde68a",
|
|
209
|
+
"utility-amber-500": "#f59e0b",
|
|
210
|
+
"utility-amber-600": "#d97706",
|
|
211
|
+
"utility-amber-700": "#b45309",
|
|
212
|
+
// Alpha overlays (Component colors/Alpha) — confirmed values
|
|
213
|
+
"alpha-white-10": "rgba(255,255,255,0.10)",
|
|
214
|
+
"alpha-white-90": "rgba(255,255,255,0.90)",
|
|
215
|
+
"alpha-black-10": "rgba(0,0,0,0.10)",
|
|
216
|
+
"alpha-black-100": "rgba(0,0,0,1.00)",
|
|
217
|
+
// Component colors/Components/Sliders — confirmed via get_variable_defs (node 1086:534)
|
|
218
|
+
"slider-handle-bg": "#ffffff",
|
|
219
|
+
"slider-handle-border": "#7f56d9",
|
|
220
|
+
// Component colors/Components/Toggles — confirmed via get_variable_defs (node 1102:4208).
|
|
221
|
+
// Slim toggle pressed track border; Default toggle uses bg-brand-solid/-hover.
|
|
222
|
+
"toggle-slim-border-pressed": "#7f56d9",
|
|
223
|
+
"toggle-slim-border-pressed-hover": "#6941c6",
|
|
224
|
+
},
|
|
225
|
+
spacing: {
|
|
226
|
+
none: "0px",
|
|
227
|
+
xxs: "2px",
|
|
228
|
+
xs: "4px",
|
|
229
|
+
sm: "6px",
|
|
230
|
+
md: "8px",
|
|
231
|
+
lg: "12px",
|
|
232
|
+
xl: "16px",
|
|
233
|
+
"2xl": "20px",
|
|
234
|
+
"3xl": "24px",
|
|
235
|
+
"4xl": "32px",
|
|
236
|
+
"5xl": "40px",
|
|
237
|
+
"6xl": "48px",
|
|
238
|
+
"7xl": "64px",
|
|
239
|
+
"8xl": "80px",
|
|
240
|
+
"9xl": "96px",
|
|
241
|
+
"10xl": "128px",
|
|
242
|
+
"11xl": "160px",
|
|
243
|
+
// Layout container tokens (Alert / Header navigation / Page header)
|
|
244
|
+
"container-padding-desktop": "32px",
|
|
245
|
+
"container-padding-mobile": "16px",
|
|
246
|
+
},
|
|
247
|
+
maxWidth: {
|
|
248
|
+
"container-max-width-desktop": "1280px",
|
|
249
|
+
"width-lg": "640px",
|
|
250
|
+
},
|
|
251
|
+
boxShadow: {
|
|
252
|
+
// design.md §2 — base outer drop + the three-layer skeuomorphic stack
|
|
253
|
+
// (Shadows/shadow-xs-skeuomorphic).
|
|
254
|
+
xs: "0px 1px 2px 0px rgba(0,0,0,0.05)",
|
|
255
|
+
skeuomorphic:
|
|
256
|
+
"0px 1px 2px 0px rgba(0,0,0,0.05), inset 0px -2px 0px 0px rgba(0,0,0,0.05), inset 0px 0px 0px 1px rgba(0,0,0,0.18)",
|
|
257
|
+
},
|
|
258
|
+
borderRadius: {
|
|
259
|
+
none: "0px",
|
|
260
|
+
xxs: "2px",
|
|
261
|
+
xs: "4px",
|
|
262
|
+
sm: "6px",
|
|
263
|
+
md: "8px",
|
|
264
|
+
lg: "10px",
|
|
265
|
+
xl: "12px",
|
|
266
|
+
"2xl": "16px",
|
|
267
|
+
"3xl": "20px",
|
|
268
|
+
"4xl": "24px",
|
|
269
|
+
full: "9999px",
|
|
270
|
+
},
|
|
271
|
+
fontFamily: {
|
|
272
|
+
body: ["Inter", "sans-serif"],
|
|
273
|
+
display: ["Inter", "sans-serif"],
|
|
274
|
+
},
|
|
275
|
+
fontSize: {
|
|
276
|
+
xs: ["12px", { lineHeight: "18px" }],
|
|
277
|
+
sm: ["14px", { lineHeight: "20px" }],
|
|
278
|
+
md: ["16px", { lineHeight: "24px" }],
|
|
279
|
+
lg: ["18px", { lineHeight: "28px" }],
|
|
280
|
+
xl: ["20px", { lineHeight: "30px" }],
|
|
281
|
+
"display-xs": ["24px", { lineHeight: "32px" }],
|
|
282
|
+
"display-sm": ["30px", { lineHeight: "38px" }],
|
|
283
|
+
"display-md": ["36px", { lineHeight: "44px", letterSpacing: "-2px" }],
|
|
284
|
+
"display-lg": ["48px", { lineHeight: "60px", letterSpacing: "-2px" }],
|
|
285
|
+
"display-xl": ["60px", { lineHeight: "72px", letterSpacing: "-2px" }],
|
|
286
|
+
},
|
|
287
|
+
// Figma "Backdrop blurs/backdrop-blur-md" = radius 16 (Tailwind's default
|
|
288
|
+
// backdrop-blur-md is 12px). backdrop-blur-* are Tailwind v3 core utilities
|
|
289
|
+
// (enabled by default); this just aligns the md value to the design token.
|
|
290
|
+
backdropBlur: {
|
|
291
|
+
md: "16px",
|
|
292
|
+
},
|
|
293
|
+
},
|
|
294
|
+
},
|
|
295
|
+
};
|