@conscience-technology/ovenn 0.0.0-stage → 0.6.7
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 +189 -2
- package/assets/components/AIMessage/AIMessage.module.css +149 -0
- package/assets/components/AIMessage/AIMessage.tsx +106 -0
- package/assets/components/AIMessage/index.ts +2 -0
- package/assets/components/Accordion/Accordion.module.css +262 -0
- package/assets/components/Accordion/Accordion.tsx +209 -0
- package/assets/components/Accordion/index.ts +7 -0
- package/assets/components/AppFrame/AppFrame.module.css +198 -0
- package/assets/components/AppFrame/AppFrame.tsx +93 -0
- package/assets/components/AppFrame/index.ts +6 -0
- package/assets/components/AttachmentItem/AttachmentItem.module.css +118 -0
- package/assets/components/AttachmentItem/AttachmentItem.tsx +185 -0
- package/assets/components/AttachmentItem/index.ts +6 -0
- package/assets/components/AttachmentThumb/AttachmentThumb.module.css +137 -0
- package/assets/components/AttachmentThumb/AttachmentThumb.tsx +102 -0
- package/assets/components/AttachmentThumb/index.ts +2 -0
- package/assets/components/Avatar/Avatar.module.css +201 -0
- package/assets/components/Avatar/Avatar.tsx +283 -0
- package/assets/components/Avatar/index.ts +9 -0
- package/assets/components/AvatarUpload/AvatarUpload.module.css +82 -0
- package/assets/components/AvatarUpload/AvatarUpload.tsx +155 -0
- package/assets/components/AvatarUpload/index.ts +2 -0
- package/assets/components/Badge/Badge.module.css +152 -0
- package/assets/components/Badge/Badge.tsx +109 -0
- package/assets/components/Badge/index.ts +2 -0
- package/assets/components/BrandSet/BrandSetController.tsx +56 -0
- package/assets/components/BrandSet/index.ts +14 -0
- package/assets/components/BrandSet/resolve.ts +10 -0
- package/assets/components/BrandSet/types.ts +43 -0
- package/assets/components/Breadcrumb/Breadcrumb.module.css +277 -0
- package/assets/components/Breadcrumb/Breadcrumb.tsx +352 -0
- package/assets/components/Breadcrumb/index.ts +8 -0
- package/assets/components/Bubble/Bubble.module.css +65 -0
- package/assets/components/Bubble/Bubble.tsx +63 -0
- package/assets/components/Bubble/index.ts +2 -0
- package/assets/components/Button/Button.module.css +336 -0
- package/assets/components/Button/Button.tsx +217 -0
- package/assets/components/Button/index.ts +2 -0
- package/assets/components/ButtonGroup/ButtonGroup.tsx +22 -0
- package/assets/components/ButtonGroup/index.ts +5 -0
- package/assets/components/Callout/Callout.module.css +146 -0
- package/assets/components/Callout/Callout.tsx +207 -0
- package/assets/components/Callout/index.ts +2 -0
- package/assets/components/CanvasNode/CanvasNode.module.css +110 -0
- package/assets/components/CanvasNode/CanvasNode.tsx +77 -0
- package/assets/components/CanvasNode/index.ts +2 -0
- package/assets/components/CanvasNode/tokens.css +26 -0
- package/assets/components/Card/Card.module.css +122 -0
- package/assets/components/Card/Card.tsx +88 -0
- package/assets/components/Card/index.ts +2 -0
- package/assets/components/ChatInput/ChatInput.module.css +373 -0
- package/assets/components/ChatInput/ChatInput.tsx +362 -0
- package/assets/components/ChatInput/ModelSelector.tsx +48 -0
- package/assets/components/ChatInput/SendButton.tsx +72 -0
- package/assets/components/ChatInput/index.ts +12 -0
- package/assets/components/Checkbox/Checkbox.module.css +147 -0
- package/assets/components/Checkbox/Checkbox.tsx +44 -0
- package/assets/components/Checkbox/index.ts +2 -0
- package/assets/components/CheckboxCard/CheckboxCard.module.css +177 -0
- package/assets/components/CheckboxCard/CheckboxCard.tsx +83 -0
- package/assets/components/CheckboxCard/index.ts +2 -0
- package/assets/components/Chip/Chip.module.css +219 -0
- package/assets/components/Chip/Chip.tsx +219 -0
- package/assets/components/Chip/index.ts +2 -0
- package/assets/components/Code/Code.module.css +25 -0
- package/assets/components/Code/Code.tsx +26 -0
- package/assets/components/Code/index.ts +2 -0
- package/assets/components/CodeBlock/CodeBlock.module.css +255 -0
- package/assets/components/CodeBlock/CodeBlock.tsx +283 -0
- package/assets/components/CodeBlock/copy-code.ts +15 -0
- package/assets/components/CodeBlock/index.ts +2 -0
- package/assets/components/ColorArea/ColorArea.module.css +145 -0
- package/assets/components/ColorArea/ColorArea.tsx +156 -0
- package/assets/components/ColorArea/index.ts +2 -0
- package/assets/components/ColorField/ColorField.module.css +195 -0
- package/assets/components/ColorField/ColorField.tsx +372 -0
- package/assets/components/ColorField/index.ts +2 -0
- package/assets/components/ColorSlider/ColorSlider.module.css +167 -0
- package/assets/components/ColorSlider/ColorSlider.tsx +165 -0
- package/assets/components/ColorSlider/index.ts +15 -0
- package/assets/components/ColorSwatch/ColorSwatch.module.css +35 -0
- package/assets/components/ColorSwatch/ColorSwatch.tsx +69 -0
- package/assets/components/ColorSwatch/index.ts +2 -0
- package/assets/components/ColorSwatchPicker/ColorSwatchPicker.module.css +114 -0
- package/assets/components/ColorSwatchPicker/ColorSwatchPicker.tsx +183 -0
- package/assets/components/ColorSwatchPicker/index.ts +15 -0
- package/assets/components/Combobox/Combobox.module.css +13 -0
- package/assets/components/Combobox/Combobox.tsx +107 -0
- package/assets/components/Combobox/index.ts +2 -0
- package/assets/components/CommandPalette/CommandPalette.module.css +269 -0
- package/assets/components/CommandPalette/CommandPalette.tsx +423 -0
- package/assets/components/CommandPalette/index.ts +9 -0
- package/assets/components/CommandPalette/useCommandPaletteHotkey.ts +49 -0
- package/assets/components/ContextMenu/ContextMenu.module.css +118 -0
- package/assets/components/ContextMenu/ContextMenu.tsx +415 -0
- package/assets/components/ContextMenu/index.ts +9 -0
- package/assets/components/ControlGroup/ControlGroup.module.css +313 -0
- package/assets/components/ControlGroup/ControlGroup.tsx +69 -0
- package/assets/components/ControlGroup/context.tsx +12 -0
- package/assets/components/ControlGroup/index.ts +3 -0
- package/assets/components/ControlGroup/size.ts +9 -0
- package/assets/components/DataTable/DataTable.module.css +55 -0
- package/assets/components/DataTable/DataTable.tsx +137 -0
- package/assets/components/DataTable/index.ts +4 -0
- package/assets/components/DataTable/state.ts +34 -0
- package/assets/components/DatePicker/Calendar.tsx +485 -0
- package/assets/components/DatePicker/DESIGN_NOTES.md +106 -0
- package/assets/components/DatePicker/DESIGN_NOTES_TIME.md +125 -0
- package/assets/components/DatePicker/DateField.tsx +303 -0
- package/assets/components/DatePicker/DatePicker.module.css +590 -0
- package/assets/components/DatePicker/DatePicker.tsx +520 -0
- package/assets/components/DatePicker/TimeSelector.tsx +77 -0
- package/assets/components/DatePicker/index.ts +11 -0
- package/assets/components/DatePicker/presets.ts +84 -0
- package/assets/components/DatePicker/utils.ts +214 -0
- package/assets/components/Disclosure/Disclosure.module.css +73 -0
- package/assets/components/Disclosure/Disclosure.tsx +129 -0
- package/assets/components/Disclosure/index.ts +6 -0
- package/assets/components/Drawer/Drawer.module.css +190 -0
- package/assets/components/Drawer/Drawer.tsx +226 -0
- package/assets/components/Drawer/index.ts +15 -0
- package/assets/components/DropdownMenu/DropdownMenu.module.css +26 -0
- package/assets/components/DropdownMenu/DropdownMenu.tsx +395 -0
- package/assets/components/DropdownMenu/index.ts +9 -0
- package/assets/components/EmptyState/EmptyState.module.css +102 -0
- package/assets/components/EmptyState/EmptyState.tsx +80 -0
- package/assets/components/EmptyState/index.ts +2 -0
- package/assets/components/EventChip/EventChip.module.css +76 -0
- package/assets/components/EventChip/EventChip.tsx +47 -0
- package/assets/components/EventChip/index.ts +2 -0
- package/assets/components/EventListItem/EventListItem.module.css +220 -0
- package/assets/components/EventListItem/EventListItem.tsx +226 -0
- package/assets/components/EventListItem/index.ts +8 -0
- package/assets/components/FileIcon/FileIcon.module.css +76 -0
- package/assets/components/FileIcon/FileIcon.tsx +142 -0
- package/assets/components/FileIcon/fileExtMap.ts +166 -0
- package/assets/components/FileIcon/index.ts +9 -0
- package/assets/components/FileUpload/FileUpload.module.css +12 -0
- package/assets/components/FileUpload/FileUpload.tsx +100 -0
- package/assets/components/FileUpload/index.ts +2 -0
- package/assets/components/FileUpload/utils.ts +8 -0
- package/assets/components/GalleryItem/GalleryItem.module.css +220 -0
- package/assets/components/GalleryItem/GalleryItem.tsx +163 -0
- package/assets/components/GalleryItem/index.ts +7 -0
- package/assets/components/GeneratedImage/GeneratedImage.module.css +91 -0
- package/assets/components/GeneratedImage/GeneratedImage.tsx +84 -0
- package/assets/components/GeneratedImage/index.ts +5 -0
- package/assets/components/Hint/Hint.module.css +75 -0
- package/assets/components/Hint/Hint.tsx +89 -0
- package/assets/components/Hint/index.ts +2 -0
- package/assets/components/Icon/Icon.tsx +1478 -0
- package/assets/components/Icon/context.tsx +39 -0
- package/assets/components/Icon/index.ts +4 -0
- package/assets/components/IconButton/IconButton.module.css +116 -0
- package/assets/components/IconButton/IconButton.tsx +113 -0
- package/assets/components/IconButton/index.ts +2 -0
- package/assets/components/Input/Input.module.css +357 -0
- package/assets/components/Input/Input.tsx +424 -0
- package/assets/components/Input/index.ts +2 -0
- package/assets/components/Kanban/Kanban.module.css +347 -0
- package/assets/components/Kanban/Kanban.tsx +371 -0
- package/assets/components/Kanban/index.ts +10 -0
- package/assets/components/ListItem/ListItem.module.css +232 -0
- package/assets/components/ListItem/ListItem.tsx +262 -0
- package/assets/components/ListItem/index.ts +9 -0
- package/assets/components/MenuItem/MenuItem.module.css +601 -0
- package/assets/components/MenuItem/MenuItem.tsx +704 -0
- package/assets/components/MenuItem/index.ts +8 -0
- package/assets/components/MessageActions/MessageActions.module.css +43 -0
- package/assets/components/MessageActions/MessageActions.tsx +114 -0
- package/assets/components/MessageActions/index.ts +6 -0
- package/assets/components/MessageQuote/MessageQuote.module.css +29 -0
- package/assets/components/MessageQuote/MessageQuote.tsx +33 -0
- package/assets/components/MessageQuote/index.ts +2 -0
- package/assets/components/MessageSources/MessageSources.module.css +58 -0
- package/assets/components/MessageSources/MessageSources.tsx +60 -0
- package/assets/components/MessageSources/index.ts +2 -0
- package/assets/components/MessageState/MessageState.module.css +118 -0
- package/assets/components/MessageState/MessageState.tsx +150 -0
- package/assets/components/MessageState/index.ts +2 -0
- package/assets/components/MessageTable/MessageTable.module.css +59 -0
- package/assets/components/MessageTable/MessageTable.tsx +21 -0
- package/assets/components/MessageTable/index.ts +2 -0
- package/assets/components/MetricCard/MetricCard.module.css +153 -0
- package/assets/components/MetricCard/MetricCard.tsx +140 -0
- package/assets/components/MetricCard/index.ts +2 -0
- package/assets/components/Modal/Modal.module.css +285 -0
- package/assets/components/Modal/Modal.tsx +398 -0
- package/assets/components/Modal/index.ts +22 -0
- package/assets/components/MultiSelect/MultiSelect.tsx +7 -0
- package/assets/components/MultiSelect/index.ts +2 -0
- package/assets/components/Onboarding/DocsIndex.tsx +102 -0
- package/assets/components/Onboarding/LayoutBuilder.tsx +204 -0
- package/assets/components/Onboarding/Onboarding.module.css +1561 -0
- package/assets/components/Onboarding/OnboardingAxisPanel.tsx +516 -0
- package/assets/components/Onboarding/OnboardingPage.tsx +1481 -0
- package/assets/components/Onboarding/PresetsGallery.tsx +56 -0
- package/assets/components/Onboarding/actions.ts +524 -0
- package/assets/components/Onboarding/index.ts +8 -0
- package/assets/components/Onboarding/palette.css +40 -0
- package/assets/components/Onboarding/wizardData.ts +529 -0
- package/assets/components/PageHeader/PageHeader.module.css +119 -0
- package/assets/components/PageHeader/PageHeader.tsx +126 -0
- package/assets/components/PageHeader/index.ts +2 -0
- package/assets/components/Pagination/Pagination.module.css +132 -0
- package/assets/components/Pagination/Pagination.tsx +294 -0
- package/assets/components/Pagination/index.ts +6 -0
- package/assets/components/ProgressBar/ProgressBar.module.css +127 -0
- package/assets/components/ProgressBar/ProgressBar.tsx +90 -0
- package/assets/components/ProgressBar/index.ts +7 -0
- package/assets/components/QuotationBar/QuotationBar.module.css +61 -0
- package/assets/components/QuotationBar/QuotationBar.tsx +60 -0
- package/assets/components/QuotationBar/index.ts +2 -0
- package/assets/components/Radio/Radio.module.css +123 -0
- package/assets/components/Radio/Radio.tsx +39 -0
- package/assets/components/Radio/index.ts +2 -0
- package/assets/components/RadioCard/RadioCard.module.css +208 -0
- package/assets/components/RadioCard/RadioCard.tsx +164 -0
- package/assets/components/RadioCard/index.ts +2 -0
- package/assets/components/SegmentedChart/SegmentedChart.module.css +221 -0
- package/assets/components/SegmentedChart/SegmentedChart.tsx +104 -0
- package/assets/components/SegmentedChart/index.ts +2 -0
- package/assets/components/Select/Select.module.css +161 -0
- package/assets/components/Select/Select.tsx +450 -0
- package/assets/components/Select/index.ts +10 -0
- package/assets/components/Shortcut/Shortcut.module.css +77 -0
- package/assets/components/Shortcut/Shortcut.tsx +206 -0
- package/assets/components/Shortcut/index.ts +2 -0
- package/assets/components/Sidebar/Sidebar.module.css +406 -0
- package/assets/components/Sidebar/Sidebar.tsx +585 -0
- package/assets/components/Sidebar/index.ts +7 -0
- package/assets/components/Slider/Slider.module.css +134 -0
- package/assets/components/Slider/Slider.tsx +99 -0
- package/assets/components/Slider/index.ts +2 -0
- package/assets/components/Spinner/LottiePlayer.tsx +179 -0
- package/assets/components/Spinner/Spinner.module.css +205 -0
- package/assets/components/Spinner/Spinner.tsx +133 -0
- package/assets/components/Spinner/index.ts +10 -0
- package/assets/components/Spinner/lottieColor.ts +166 -0
- package/assets/components/Spinner/lottieManifest.ts +100 -0
- package/assets/components/Stepper/Stepper.module.css +330 -0
- package/assets/components/Stepper/Stepper.tsx +244 -0
- package/assets/components/Stepper/index.ts +2 -0
- package/assets/components/Switch/Switch.module.css +163 -0
- package/assets/components/Switch/Switch.tsx +73 -0
- package/assets/components/Switch/index.ts +2 -0
- package/assets/components/TabStrip/TabStrip.module.css +358 -0
- package/assets/components/TabStrip/TabStrip.tsx +404 -0
- package/assets/components/TabStrip/index.ts +7 -0
- package/assets/components/TableCell/TableCell.module.css +130 -0
- package/assets/components/TableCell/TableCellAvatar.tsx +66 -0
- package/assets/components/TableCell/TableCellBadge.tsx +26 -0
- package/assets/components/TableCell/TableCellImage.tsx +49 -0
- package/assets/components/TableCell/TableCellMeter.tsx +55 -0
- package/assets/components/TableCell/TableCellNumber.tsx +43 -0
- package/assets/components/TableCell/TableCellText.tsx +33 -0
- package/assets/components/TableCell/index.ts +19 -0
- package/assets/components/TableHeader/TableHeader.module.css +351 -0
- package/assets/components/TableHeader/TableHeader.tsx +658 -0
- package/assets/components/TableHeader/index.ts +9 -0
- package/assets/components/TableRow/TableRow.module.css +352 -0
- package/assets/components/TableRow/TableRow.tsx +292 -0
- package/assets/components/TableRow/index.ts +8 -0
- package/assets/components/TableRowEdit/TableRowEdit.module.css +162 -0
- package/assets/components/TableRowEdit/TableRowEdit.tsx +279 -0
- package/assets/components/TableRowEdit/index.ts +2 -0
- package/assets/components/TableRowSelect/TableRowSelect.module.css +23 -0
- package/assets/components/TableRowSelect/TableRowSelect.tsx +173 -0
- package/assets/components/TableRowSelect/index.ts +2 -0
- package/assets/components/TableToolbar/TableToolbar.module.css +37 -0
- package/assets/components/TableToolbar/TableToolbar.tsx +105 -0
- package/assets/components/TableToolbar/index.ts +5 -0
- package/assets/components/Tabs/Tabs.module.css +372 -0
- package/assets/components/Tabs/Tabs.tsx +517 -0
- package/assets/components/Tabs/index.ts +9 -0
- package/assets/components/TemplateBoundary/TemplateBoundary.module.css +4 -0
- package/assets/components/TemplateBoundary/TemplateBoundary.tsx +50 -0
- package/assets/components/TemplateBoundary/index.ts +3 -0
- package/assets/components/TemplateBoundary/types.ts +23 -0
- package/assets/components/Textarea/Textarea.module.css +343 -0
- package/assets/components/Textarea/Textarea.tsx +438 -0
- package/assets/components/Textarea/index.ts +7 -0
- package/assets/components/ThemeController.tsx +369 -0
- package/assets/components/TimePicker/TimePicker.module.css +112 -0
- package/assets/components/TimePicker/TimePicker.tsx +403 -0
- package/assets/components/TimePicker/index.ts +8 -0
- package/assets/components/TimePicker/utils.ts +116 -0
- package/assets/components/Toast/Toast.module.css +332 -0
- package/assets/components/Toast/Toast.tsx +310 -0
- package/assets/components/Toast/index.ts +16 -0
- package/assets/components/Toolbar/Toolbar.module.css +128 -0
- package/assets/components/Toolbar/Toolbar.tsx +186 -0
- package/assets/components/Toolbar/index.ts +7 -0
- package/assets/components/Tooltip/Tooltip.module.css +42 -0
- package/assets/components/Tooltip/Tooltip.tsx +332 -0
- package/assets/components/Tooltip/index.ts +2 -0
- package/assets/components/TopLoader/TopLoader.module.css +64 -0
- package/assets/components/TopLoader/TopLoader.tsx +58 -0
- package/assets/components/TopLoader/index.ts +2 -0
- package/assets/components/Topbar/Topbar.module.css +54 -0
- package/assets/components/Topbar/Topbar.tsx +102 -0
- package/assets/components/Topbar/index.ts +2 -0
- package/assets/components/TreeNav/TreeNav.module.css +32 -0
- package/assets/components/TreeNav/TreeNav.tsx +130 -0
- package/assets/components/TreeNav/index.ts +2 -0
- package/assets/components/UserMessage/UserMessage.module.css +47 -0
- package/assets/components/UserMessage/UserMessage.tsx +66 -0
- package/assets/components/UserMessage/index.ts +2 -0
- package/assets/components/_cn.ts +3 -0
- package/assets/components/_color.ts +75 -0
- package/assets/components/_data.ts +607 -0
- package/assets/components/_rowInteraction.ts +16 -0
- package/assets/components/_utils.css +130 -0
- package/assets/components/app-shell.css +17 -0
- package/assets/components/axisOptions.ts +15 -0
- package/assets/components/component-registry.json +914 -0
- package/assets/components/index.ts +102 -0
- package/assets/components/reset.css +77 -0
- package/assets/components/themeBootScript.ts +124 -0
- package/assets/components/tokens.css +1121 -0
- package/assets/prompts/ASSEMBLY.md +70 -0
- package/assets/prompts/CASCADE.md +49 -0
- package/assets/prompts/CATALOG.md +127 -0
- package/assets/prompts/GUIDE.md +307 -0
- package/assets/prompts/MEMORY.md +202 -0
- package/assets/prompts/OVERRIDE.md +30 -0
- package/assets/prompts/PRINCIPLES.md +114 -0
- package/assets/prompts/SLOTS.md +194 -0
- package/assets/prompts/WORKFLOW_DESIGN.md +156 -0
- package/assets/prompts/axes/density.md +42 -0
- package/assets/prompts/axes/font.md +30 -0
- package/assets/prompts/axes/icon.md +57 -0
- package/assets/prompts/axes/mode.md +52 -0
- package/assets/prompts/axes/motion.md +77 -0
- package/assets/prompts/axes/palette.md +50 -0
- package/assets/prompts/axes/shape.md +33 -0
- package/assets/prompts/axes/voice.md +57 -0
- package/assets/prompts/brand-sets/_SCHEMA.md +27 -0
- package/assets/prompts/components/README.md +84 -0
- package/assets/prompts/components/_variants.md +86 -0
- package/assets/prompts/components/accordion.md +151 -0
- package/assets/prompts/components/ai-message.md +53 -0
- package/assets/prompts/components/app-frame.md +141 -0
- package/assets/prompts/components/attachment-item.md +88 -0
- package/assets/prompts/components/attachment-thumb.md +54 -0
- package/assets/prompts/components/avatar-upload.md +62 -0
- package/assets/prompts/components/avatar.md +106 -0
- package/assets/prompts/components/badge.md +123 -0
- package/assets/prompts/components/breadcrumb.md +123 -0
- package/assets/prompts/components/bubble.md +61 -0
- package/assets/prompts/components/button-group.md +35 -0
- package/assets/prompts/components/button.md +133 -0
- package/assets/prompts/components/callout.md +98 -0
- package/assets/prompts/components/canvas-node.md +63 -0
- package/assets/prompts/components/card.md +167 -0
- package/assets/prompts/components/chat-input.md +103 -0
- package/assets/prompts/components/checkbox-card.md +72 -0
- package/assets/prompts/components/checkbox.md +98 -0
- package/assets/prompts/components/chip.md +163 -0
- package/assets/prompts/components/code-block.md +94 -0
- package/assets/prompts/components/code.md +62 -0
- package/assets/prompts/components/color-area.md +95 -0
- package/assets/prompts/components/color-field.md +108 -0
- package/assets/prompts/components/color-slider.md +108 -0
- package/assets/prompts/components/color-swatch-picker.md +96 -0
- package/assets/prompts/components/color-swatch.md +85 -0
- package/assets/prompts/components/combobox.md +35 -0
- package/assets/prompts/components/command-palette.md +193 -0
- package/assets/prompts/components/context-menu.md +150 -0
- package/assets/prompts/components/control-group.md +67 -0
- package/assets/prompts/components/data-table.md +81 -0
- package/assets/prompts/components/date-picker.md +146 -0
- package/assets/prompts/components/disclosure.md +55 -0
- package/assets/prompts/components/drawer.md +141 -0
- package/assets/prompts/components/dropdown-menu.md +165 -0
- package/assets/prompts/components/empty-state.md +74 -0
- package/assets/prompts/components/event-chip.md +81 -0
- package/assets/prompts/components/event-list-item.md +108 -0
- package/assets/prompts/components/file-icon.md +83 -0
- package/assets/prompts/components/file-upload.md +35 -0
- package/assets/prompts/components/gallery-item.md +163 -0
- package/assets/prompts/components/generated-image.md +85 -0
- package/assets/prompts/components/hint.md +94 -0
- package/assets/prompts/components/icon-button.md +99 -0
- package/assets/prompts/components/icon.md +79 -0
- package/assets/prompts/components/input.md +134 -0
- package/assets/prompts/components/kanban.md +172 -0
- package/assets/prompts/components/list-item.md +325 -0
- package/assets/prompts/components/menu-item.md +247 -0
- package/assets/prompts/components/message-actions.md +54 -0
- package/assets/prompts/components/message-quote.md +34 -0
- package/assets/prompts/components/message-sources.md +46 -0
- package/assets/prompts/components/message-state.md +61 -0
- package/assets/prompts/components/message-table.md +42 -0
- package/assets/prompts/components/metric-card.md +137 -0
- package/assets/prompts/components/modal.md +235 -0
- package/assets/prompts/components/multi-select.md +31 -0
- package/assets/prompts/components/onboarding.md +51 -0
- package/assets/prompts/components/page-header.md +161 -0
- package/assets/prompts/components/pagination.md +99 -0
- package/assets/prompts/components/progress-bar.md +75 -0
- package/assets/prompts/components/quotation-bar.md +44 -0
- package/assets/prompts/components/radio-card.md +146 -0
- package/assets/prompts/components/radio.md +56 -0
- package/assets/prompts/components/segmented-chart.md +65 -0
- package/assets/prompts/components/select.md +145 -0
- package/assets/prompts/components/shortcut.md +81 -0
- package/assets/prompts/components/sidebar.md +528 -0
- package/assets/prompts/components/slider.md +111 -0
- package/assets/prompts/components/spinner.md +124 -0
- package/assets/prompts/components/stepper.md +108 -0
- package/assets/prompts/components/switch.md +103 -0
- package/assets/prompts/components/tab-strip.md +162 -0
- package/assets/prompts/components/table-cell.md +65 -0
- package/assets/prompts/components/table-header.md +181 -0
- package/assets/prompts/components/table-row-edit.md +144 -0
- package/assets/prompts/components/table-row-select.md +90 -0
- package/assets/prompts/components/table-row.md +175 -0
- package/assets/prompts/components/table-toolbar.md +94 -0
- package/assets/prompts/components/tabs.md +134 -0
- package/assets/prompts/components/textarea.md +114 -0
- package/assets/prompts/components/time-picker.md +86 -0
- package/assets/prompts/components/toast.md +155 -0
- package/assets/prompts/components/toolbar.md +86 -0
- package/assets/prompts/components/tooltip.md +76 -0
- package/assets/prompts/components/top-loader.md +64 -0
- package/assets/prompts/components/topbar.md +177 -0
- package/assets/prompts/components/tree-nav.md +77 -0
- package/assets/prompts/components/user-message.md +50 -0
- package/assets/prompts/design-examples/README.md +57 -0
- package/assets/prompts/design-examples/catalog.json +1 -0
- package/assets/prompts/primitives/emerge.md +43 -0
- package/assets/prompts/primitives/fade.md +31 -0
- package/assets/prompts/primitives/mobile.md +53 -0
- package/assets/prompts/primitives/scale.md +32 -0
- package/assets/prompts/primitives/scroll.md +170 -0
- package/assets/prompts/primitives/slide.md +31 -0
- package/assets/prompts/recipes/README.md +104 -0
- package/assets/prompts/recipes/card-row.md +39 -0
- package/assets/prompts/recipes/form-footer.md +76 -0
- package/assets/prompts/recipes/meta-line.md +61 -0
- package/assets/prompts/recipes/page-banner.md +121 -0
- package/assets/prompts/recipes/page-header.md +107 -0
- package/assets/prompts/recipes/section-header.md +90 -0
- package/assets/prompts/templates/README.md +9 -0
- package/assets/prompts/templates/ains.md +630 -0
- package/assets/prompts/templates/aurora.md +439 -0
- package/assets/prompts/templates/glass-button.md +336 -0
- package/assets/prompts/templates/minimal.md +207 -0
- package/assets/prompts/templates/workspace.md +346 -0
- package/assets/prompts/themes/_SCHEMA.md +135 -0
- package/assets/prompts/themes/_TEMPLATE.md +73 -0
- package/assets/prompts/themes/expressive.md +118 -0
- package/assets/prompts/themes/pure.md +87 -0
- package/assets/prompts/themes/spare.md +73 -0
- package/assets/prompts/tokens/breakpoint.md +29 -0
- package/assets/prompts/tokens/color.md +103 -0
- package/assets/prompts/tokens/radius.md +33 -0
- package/assets/prompts/tokens/shadow.md +35 -0
- package/assets/prompts/tokens/spacing.md +96 -0
- package/assets/prompts/tokens/typography.md +67 -0
- package/assets/prompts/tokens/z-index.md +35 -0
- package/assets/public/expressive.png +0 -0
- package/assets/public/pure.png +0 -0
- package/assets/public/spare.png +0 -0
- package/assets/skills/ovenn/SKILL.md +12 -0
- package/assets/skills/ovenn-component/SKILL.md +12 -0
- package/assets/skills/ovenn-page/SKILL.md +12 -0
- package/assets/skills/ovenn-theme/SKILL.md +12 -0
- package/assets/skills/ovenn-validate/SKILL.md +14 -0
- package/assets/skills/ovenn-validate/fixtures/clean/Clean.module.css +12 -0
- package/assets/skills/ovenn-validate/fixtures/clean/Clean.tsx +9 -0
- package/assets/skills/ovenn-validate/scripts/lib/component-usage.js +112 -0
- package/assets/skills/ovenn-validate/scripts/lib/source-graph.js +15 -0
- package/assets/skills/ovenn-validate/scripts/lib/source-utils.mjs +25 -0
- package/assets/skills/ovenn-validate/scripts/lib/source-utils.test.mjs +52 -0
- package/assets/skills/ovenn-validate/scripts/rules/doc-sync.mjs +151 -0
- package/assets/skills/ovenn-validate/scripts/rules/doc-sync.test.mjs +91 -0
- package/assets/skills/ovenn-validate/scripts/rules/ghost-tokens.mjs +69 -0
- package/assets/skills/ovenn-validate/scripts/rules/ghost-tokens.test.mjs +52 -0
- package/assets/skills/ovenn-validate/scripts/rules/hardcoded.mjs +145 -0
- package/assets/skills/ovenn-validate/scripts/rules/hardcoded.test.mjs +83 -0
- package/assets/skills/ovenn-validate/scripts/rules/memory-rules.mjs +252 -0
- package/assets/skills/ovenn-validate/scripts/rules/memory-rules.test.mjs +131 -0
- package/assets/skills/ovenn-validate/scripts/validate.mjs +169 -0
- package/assets/skills/ovenn-wireframe/SKILL.md +12 -0
- package/bin/ovenn.js +85 -0
- package/package.json +139 -4
- package/src/commands/info.js +217 -0
- package/src/commands/init.js +386 -0
- package/src/commands/update.js +65 -0
- package/src/utils/agents.js +83 -0
- package/src/utils/assets.js +51 -0
- package/src/utils/client-bridges.js +32 -0
- package/src/utils/component-usage.js +112 -0
- package/src/utils/deps.js +59 -0
- package/src/utils/design-examples.js +101 -0
- package/src/utils/design-workflow.js +155 -0
- package/src/utils/detect.js +59 -0
- package/src/utils/diff.js +52 -0
- package/src/utils/doctor.js +47 -0
- package/src/utils/hash.js +16 -0
- package/src/utils/launch.js +94 -0
- package/src/utils/log.js +41 -0
- package/src/utils/managed-assets.js +50 -0
- package/src/utils/mcp-client.js +47 -0
- package/src/utils/meta.js +73 -0
- package/src/utils/patch.js +334 -0
- package/src/utils/prompt.js +28 -0
- package/src/utils/source-graph.js +15 -0
- package/src/utils/update-transaction.js +79 -0
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
# Pure
|
|
2
|
+
|
|
3
|
+
### 원칙
|
|
4
|
+
Stripe·Framer·Linear 랜딩이 공유하는 "경계 장치 없이 매끄럽게 흐르는" Theme. border·divider·card·drop shadow 같은 **요소를 가두는 장치**를 걷어내고, 대신 톤 차이·여백·타이포·hairline으로 흐름을 만든다. 요소 수를 줄이는 게 아니라, **요소를 가두지 않는다**. 세련됨은 덜어내서가 아니라 **공들여 매끄럽게 마감**해서 생긴다 — "장치 대신 비례"가 이 Theme의 공식.
|
|
5
|
+
|
|
6
|
+
### Do
|
|
7
|
+
- 콘텐츠는 필요한 만큼 담되, 요소를 **박스·선·그림자로 가두지 않는다**. 사이드바도 테이블도 폼도 "가두는 장치 없이" 구성한다.
|
|
8
|
+
- 분리가 필요한 자리는 **톤 차이·여백·hairline** 셋 중 하나로 해결한다. 셋 다 제어가 섬세해야 pure의 세련됨이 나온다.
|
|
9
|
+
- 모든 요소를 **공들여 마감**한다 — 간격·정렬·타이포 리듬·톤 대비 전부 과하게 다듬어야 "덜 가두는데도 완성도 있어 보인다".
|
|
10
|
+
- 사진 같은 평면성을 노린다. 입체감(그림자·광택·중첩 깊이)이 아니라 **표면의 균질함**으로 세련됨을 만든다.
|
|
11
|
+
|
|
12
|
+
### Don't
|
|
13
|
+
- "허전해 보여서" border·divider·card·drop shadow를 추가하지 않는다. 가두는 장치를 다시 들이는 순간 pure의 좌표가 깨진다.
|
|
14
|
+
- card·container를 중첩하지 않는다. frame이 frame을 품는 구조는 pure의 반대 — 정보 그룹은 여백·톤으로 묶는다.
|
|
15
|
+
- "덜 가둠"을 "덜 담음"으로 오해하지 않는다. 필요한 콘텐츠·보조 설명·메타 정보는 다 담되, 담는 방식만 바꾼다.
|
|
16
|
+
- 거친 마감으로 넘어가지 않는다. 가두는 장치가 없을수록 **정렬·간격·타이포 리듬이 과하게 정교해야** 완성도가 보인다.
|
|
17
|
+
|
|
18
|
+
### Fallback
|
|
19
|
+
축 preset은 아래 표 값으로 고정. override는 자유지만 Negative에 걸린 조합이면 한 번 확인한다.
|
|
20
|
+
|
|
21
|
+
### 관련
|
|
22
|
+
- [[themes/_SCHEMA]] — Theme 스키마
|
|
23
|
+
- [[themes/spare]] — 비슷해 보이지만 다른 좌표. spare는 "격자가 뼈대로 드러남", pure는 "격자조차 가두는 장치로 안 씀".
|
|
24
|
+
- [[themes/expressive]] — 반대축. expressive는 "콘텐츠가 chrome을 밀어냄", pure는 "chrome 자체가 녹아 사라짐".
|
|
25
|
+
- [[axes/palette]] · [[axes/voice]] — Theme 바깥.
|
|
26
|
+
|
|
27
|
+
---
|
|
28
|
+
|
|
29
|
+
### Signature
|
|
30
|
+
이 Theme IS **경계 장치 없이 매끄럽게 흐르는** Theme. 미니멀리즘의 "덜 꾸밈"이 아니라, Stripe·Framer·Linear 랜딩이 공유하는 **"장치 대신 비례"** — border·divider·card·drop shadow 같은 **요소를 가두는 장치**를 쓰지 않고, 톤 차이·여백·hairline·타이포 리듬만으로 흐름을 만든다. 세련됨은 **덜어내서**가 아니라 **공들여 매끄럽게 마감해서** 생긴다. 사진 같은 평면성과 과하게 정교한 비례가 지문. 모든 자리(랜딩·앱·테이블·설정)에 쓸 수 있다 — 어느 자리든 "가두지 말고 흐르게 짜라, 그리고 과하게 공들여 마감하라"는 지시로 작동한다.
|
|
31
|
+
|
|
32
|
+
### Preset
|
|
33
|
+
|
|
34
|
+
| Axis | Value | Why |
|
|
35
|
+
|---|---|---|
|
|
36
|
+
| [[axes/mode]] | `light` | Stripe·Framer 랜딩의 "white canvas" 패턴. canvas 자체가 조용해야 가두는 장치 없이도 요소가 떠오름. dark override는 가능하지만 톤 차이로 분리하는 설계가 더 까다로워짐. |
|
|
37
|
+
| [[axes/shape]] | `soft` | radius가 있어야 "박스로 가둔 느낌" 없이 요소가 부드럽게 자리잡음. crisp은 모서리 자체가 격자 신호가 되어 pure의 "장치 없음"과 어긋남. |
|
|
38
|
+
| [[axes/density]] | `comfortable` | 가두는 장치가 없으므로 각 요소의 호흡 공간이 분리 장치 역할. default는 간격이 좁아 요소끼리 뭉쳐 보이고, 톤·여백만으로 분리가 어려워짐. |
|
|
39
|
+
| [[axes/font]] | `lang=ko` | 한국어 기본. 폰트 스택은 Font 축에 양보. |
|
|
40
|
+
| [[axes/icon]] | `phosphor` · `regular` | regular weight가 타이포와 톤이 맞음. bold·fill은 아이콘이 따로 떠올라 매끄러운 흐름을 깸. |
|
|
41
|
+
| [[axes/motion]] | `calm` | 100ms linear. 조용히 녹아들 듯 등장하는 톤. bouncy는 요소가 튀어나와 pure의 평면성과 충돌. |
|
|
42
|
+
|
|
43
|
+
### Layout
|
|
44
|
+
균질한 호흡으로 흐르는 레이아웃. 1열·그리드·사이드바 전부 쓸 수 있지만, 각 요소를 card·border로 가두지 않는다. 사이드바는 배경 톤 교대 또는 hairline으로, 그리드 셀은 여백으로, 섹션은 상하 호흡으로 분리한다. 간격·정렬이 과하게 정교해야 "가두지 않았는데도 구조가 보인다".
|
|
45
|
+
|
|
46
|
+
**조립 규범 — 자리별 default 컴포넌트:**
|
|
47
|
+
- 리스트 자리(피드·활동·알림·오늘 할 일·일정·팀 상태 등) → **[[components/list-item]]** 로 통일. 사람·시간·대상·메타의 anatomy가 공유되고, pure 좌표에선 hairline 분리로 리스트를 만든다. 수제 `<div>` 리스트 금지 — anatomy가 리스트마다 어긋나 pure의 "과하게 공들여 마감"이 깨진다.
|
|
48
|
+
- 숫자 정렬·금액·대기일 등 **셀 폭·정렬·tabular-nums가 중요한 자리** → **[[components/table-header]] + [[components/table-row]]** 조합. variant는 `line`(pure default) — hairline 하나로 분리. plate(라운드 chrome)는 pure 좌표 바깥.
|
|
49
|
+
- 지표 strip(KPI 4개 등) → **[[components/metric-card]]** `variant="bare"` + 부모 strip이 상단 hairline + 수직 hairline으로 분리.
|
|
50
|
+
- 어느 자리든 "수제 조립 vs 컴포넌트 조립"이 애매하면 **컴포넌트 조립** 쪽. 그래야 자리마다 간격·정렬·톤이 어긋나지 않는다.
|
|
51
|
+
|
|
52
|
+
**리스트 조립 — hairline + wrapper 공식:**
|
|
53
|
+
hairline 리스트에서 콘텐츠가 선에 **딱 붙는 건 pure 좌표에서 치명적**이다 (Negative 참고). 부모 li가 세로 padding을 반드시 책임지고, self-space 공식을 가진 컴포넌트(ListItem 등)는 자식 선택자로 중화한다. 공식 상세는 [[components/list-item]] "조립 — 부모 wrapper 공식".
|
|
54
|
+
|
|
55
|
+
### Imagery
|
|
56
|
+
이미지는 캔버스에 **매끄럽게 녹아들도록** 배치한다. 거친 crop·강한 그림자·테두리로 가두지 않고, 자연스러운 여백 안에 놓거나 배경 톤에 섞는다. 사진·일러스트·gradient 전부 쓸 수 있지만 "가두는 frame" 없이 — Framer의 포스터 패턴, Stripe의 mesh gradient 패턴처럼 **경계가 흐려지는** 방식.
|
|
57
|
+
|
|
58
|
+
### Decoration
|
|
59
|
+
border·divider·card·drop shadow는 거의 쓰지 않는다 — 이것들이 "가두는 장치". 대신 **톤 차이·여백·hairline·gradient·배경 색면**은 자유롭게, 그러나 과하게 공들여 쓴다. hairline 한 줄도 색·굵기·위치가 섬세해야 pure의 세련됨이 나온다. 입체감(강한 shadow·광택·중첩 깊이) 대신 **표면의 균질함**과 **섬세한 톤 레이어링**으로 완성도를 만든다.
|
|
60
|
+
|
|
61
|
+
### Negative
|
|
62
|
+
- no card nesting·border nesting (앱 UI의 default — frame이 frame을 품지 않음)
|
|
63
|
+
- no drop shadow for elevation (SaaS card의 default — 그림자로 띄우지 않고 톤·여백으로 분리)
|
|
64
|
+
- no divider line between list items (설정·메뉴의 default — 리스트는 여백·톤으로 분리)
|
|
65
|
+
- no bordered input·bordered button as default (폼의 default — 입력·버튼은 톤 차이·배경 색면으로 성립)
|
|
66
|
+
- no gradient background **반복** (AI·fintech 랜딩의 default — gradient는 자유지만 섹션마다 깔지 않음, 과잉은 매끄러움을 깸)
|
|
67
|
+
- no sloppy spacing·misaligned baseline (pure의 치명적 default — 가두는 장치가 없으므로 거친 마감은 바로 "대충 비워둔 느낌"으로 보임)
|
|
68
|
+
- no content touching hairline·border·cell edge (pure의 치명적 default — 텍스트·Avatar·Icon이 선/테두리에 padding 없이 붙으면 "덜 가둠"이 아니라 "대충 비움"으로 추락. 모든 리스트 아이템·카드 셀·테이블 셀에서 완성 후 눈으로 체크)
|
|
69
|
+
- no mono in body (technical voice는 pure 자리가 아님)
|
|
70
|
+
|
|
71
|
+
### Override
|
|
72
|
+
전부 자유. 사용자가 "이 Theme에서 mode만 dark로"(Framer 패턴) 또는 "shape만 crisp로"(Stripe 편집 톤)처럼 지시하면 그대로 적용. 책임은 사용자.
|
|
73
|
+
Theme 선언을 벗어난 조합의 완성도는 보증하지 않는다 ([[PRINCIPLES]] §7).
|
|
74
|
+
|
|
75
|
+
### Known Gaps
|
|
76
|
+
- Voice는 Theme 바깥 축이라 이 Theme이 추천하지 않는다. editorial 톤이든 포스터 톤이든 어떤 Voice와도 결합 가능 ([[axes/voice]] 참고).
|
|
77
|
+
- 타이포 리듬의 수치(weight·tracking·size·line-height)는 Font 축이 담는다. 이 Theme은 "타이포 리듬이 과하게 정교해야 한다"는 태도만 담음.
|
|
78
|
+
- 톤 차이·hairline·gradient의 색·채도는 Palette가 담는다. 이 Theme은 "가두는 장치 대신 톤을 쓴다"는 원칙만.
|
|
79
|
+
- 호흡·여백의 수치는 Density 축이 담는다. 이 Theme은 "균질한 호흡"이라는 선호만.
|
|
80
|
+
|
|
81
|
+
### Iteration Guide
|
|
82
|
+
1. 축 preset을 바꿀 때 반드시 "왜" 1문장을 새로 쓴다. 기존 Why를 그대로 둔 채 Value만 바꾸지 않는다.
|
|
83
|
+
2. Negative에서 "no X"를 추가·삭제할 때는 "X가 어떤 카테고리의 default인지"를 괄호로 명시한다. 좌표 없는 금지는 금지가 아니다.
|
|
84
|
+
3. Layout·Imagery·Decoration 어느 섹션에도 수치를 넣지 않는다. "균질한 호흡" OK, "160px 간격" 금지.
|
|
85
|
+
4. Signature를 수정할 때 "IS ___" 공식과 비교 수사(not X, but Y)를 유지한다.
|
|
86
|
+
5. 이 Theme에 Palette를 선언하지 않는다. 색은 조합 시점에만 결정.
|
|
87
|
+
6. "덜 가둠 ≠ 덜 담음"을 Do·Don't·Decoration·Negative 네 섹션에서 반복적으로 강화한다. 한 곳이라도 "요소를 줄여라" 톤이 섞이면 pure가 다시 "대충 비운 느낌"으로 흐른다.
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
# Spare
|
|
2
|
+
|
|
3
|
+
### 원칙
|
|
4
|
+
Vercel / Supabase / Raycast / Linear가 공유하는 "엔지니어드된 자제"를 뼈대로 삼는 Theme. "꾸미지 않음"이 디폴트가 아니라 **"규칙 격자를 먼저 정하고 그 안에서만 움직임"**이 디폴트다. 앱·대시보드·설정·문서·커맨드 UI 등 "매일 쓰는 도구" 전반의 기준이 된다.
|
|
5
|
+
|
|
6
|
+
### Do
|
|
7
|
+
- UI chrome은 전부 축 값 그대로 상속한다. 특정 섹션만 다른 Shape/Motion으로 튀게 하지 않는다.
|
|
8
|
+
- Palette만 바꾸면 브랜드별 변주가 자연스럽게 성립해야 한다 — 뼈대는 색에 의존하지 않는다.
|
|
9
|
+
- accent는 한 페이지에 한 지점에서만 터뜨린다 (primary CTA 또는 상태 이벤트 하나).
|
|
10
|
+
|
|
11
|
+
### Don't
|
|
12
|
+
- 전환형 랜딩·게임·엔터테인먼트의 자리에 억지로 쓰지 않는다. 자극·대비·그라디언트가 없어 전환이 안 터진다.
|
|
13
|
+
- 성격을 색·장식으로 보강하려 들지 않는다. 성격이 더 필요하면 Theme 자체를 바꾼다.
|
|
14
|
+
- "비어 보여서" 요소를 추가하지 않는다. 비어 보이는 게 이 Theme의 피드백이다.
|
|
15
|
+
|
|
16
|
+
### Fallback
|
|
17
|
+
축 preset은 아래 표 값으로 고정. override는 자유지만 Negative에 걸린 조합이면 한 번 확인한다.
|
|
18
|
+
|
|
19
|
+
### 관련
|
|
20
|
+
- [[themes/_SCHEMA]] — Theme 스키마
|
|
21
|
+
- [[axes/palette]] — Theme 바깥. 어떤 색이든 이 뼈대 위에 올라감.
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
### Signature
|
|
26
|
+
이 Theme IS "격자부터 정한 뒤 그 격자 안에서만 움직이는" UI. 미니멀리즘의 수동적 비움이 아니라, Vercel·Supabase·Raycast·Linear가 공유하는 **엔지니어드된 자제** — 왜냐하면 매일 쓰는 도구는 "무엇을 넣느냐"가 아니라 "무엇을 들이지 않느냐"로 신뢰를 번다.
|
|
27
|
+
|
|
28
|
+
### Preset
|
|
29
|
+
|
|
30
|
+
| Axis | Value | Why |
|
|
31
|
+
|---|---|---|
|
|
32
|
+
| [[axes/mode]] | `light` | 제품 UI 기본. dark override는 열려 있고, 이 Theme의 뼈대는 두 mode 모두에서 동일하게 성립. |
|
|
33
|
+
| [[axes/shape]] | `standard` | 콘솔 톤을 유지하되 crisp처럼 날카롭지 않은 중립 모서리. soft는 캐주얼, crisp는 과하게 engineered. |
|
|
34
|
+
| [[axes/density]] | `default` | compact은 데이터 테이블·관리자 전용, comfortable은 터치·콘텐츠. 매일 쓰는 도구의 중앙값. |
|
|
35
|
+
| [[axes/font]] | `lang=ko` | 한국어 기본. 실제 폰트 스택은 Font 축이 담당. |
|
|
36
|
+
| [[axes/icon]] | `phosphor` · `regular` | 얇은 outline이 UI 호흡을 끊지 않음. 활성 상태만 `fill`로 전환. |
|
|
37
|
+
| [[axes/motion]] | `calm` | 100ms linear. 반복 사용 시 bouncy는 피곤. 피드백은 있되 과장 없음. |
|
|
38
|
+
|
|
39
|
+
### Layout
|
|
40
|
+
특별한 선호 없음. 1열·2열·그리드 전부 성립. 사이드바·상단 네비·멀티 컬럼 모두 이 Theme에 맞음 — Theme이 레이아웃을 강요하지 않는 게 디폴트의 성격. 섹션 간 호흡은 Density에 양보.
|
|
41
|
+
|
|
42
|
+
### Imagery
|
|
43
|
+
UI 안에 사진·3D·일러스트가 **반드시 들어와야 할 자리에만** 쓴다. 장식용 이미지는 쓰지 않는다. 이 Theme의 자연스러운 "이미지"는 제품 스크린샷·다이어그램·코드블록 — Raycast·Supabase의 공통 패턴.
|
|
44
|
+
|
|
45
|
+
### Decoration
|
|
46
|
+
없음. mesh gradient·노이즈·장식 라인·배경 패턴 전부 쓰지 않는다. elevation은 **표면 색의 사다리**(canvas → surface → surface-elevated)와 hairline border로만 만든다 — 그림자로 띄우지 않는다.
|
|
47
|
+
|
|
48
|
+
### Negative
|
|
49
|
+
- no heavy display weight (브랜드 랜딩의 default — display weight는 500~600에서 멈춘다)
|
|
50
|
+
- no uppercase + wide tracking (브랜드 랜딩의 default — sentence case 강제)
|
|
51
|
+
- no mono in body (technical voice는 caption·code 자리에만, body에 섞지 않는다)
|
|
52
|
+
- no gradient background (AI·fintech 랜딩의 default)
|
|
53
|
+
- no hero illustration·3D object (SaaS 홈의 default)
|
|
54
|
+
- no decorative shadow·glow (게임·엔터 UI의 default — elevation은 표면 사다리만)
|
|
55
|
+
- no multi-accent — 한 페이지에 accent voltage는 한 지점에서만
|
|
56
|
+
|
|
57
|
+
### Override
|
|
58
|
+
전부 자유. 사용자가 "이 Theme에서 Shape만 soft로" 또는 "mode만 dark로"처럼 지시하면 그대로 적용. 책임은 사용자.
|
|
59
|
+
Theme 선언을 벗어난 조합의 완성도는 보증하지 않는다 ([[PRINCIPLES]] §7).
|
|
60
|
+
|
|
61
|
+
### Known Gaps
|
|
62
|
+
- Voice는 Theme 바깥 축이라 이 Theme이 추천하지 않는다. engineered 톤이든 캐주얼 톤이든 어떤 Voice와도 결합 가능 ([[axes/voice]] 참고).
|
|
63
|
+
- 신택스 하이라이트·차트·데이터 비주얼의 팔레트는 Palette 축이 담는다.
|
|
64
|
+
- "weight 상한 500~600" 같은 타이포 규칙은 Negative 선언으로만 남고, 수치 레벨 강제는 Font 축에 양보한다.
|
|
65
|
+
- 표면 색 사다리의 단계 수·명도 간격은 Palette 축이 담는다. 이 Theme은 "사다리로 depth를 만든다"는 규칙만 담음.
|
|
66
|
+
|
|
67
|
+
### Iteration Guide
|
|
68
|
+
1. 축 preset을 바꿀 때 반드시 "왜" 1문장을 새로 쓴다. 기존 Why를 그대로 둔 채 Value만 바꾸지 않는다.
|
|
69
|
+
2. Negative에서 "no X"를 추가·삭제할 때는 "X가 어떤 카테고리의 default인지"를 괄호로 명시한다. 좌표 없는 금지는 금지가 아니다.
|
|
70
|
+
3. Layout·Imagery·Decoration 어느 섹션에도 수치를 넣지 않는다. "넉넉한 호흡" OK, "80px 간격" 금지.
|
|
71
|
+
4. Signature를 수정할 때 "IS ___" 공식과 비교 수사(not X, but Y)를 유지한다.
|
|
72
|
+
5. 이 Theme에 Palette를 선언하지 않는다. 색은 조합 시점에만 결정.
|
|
73
|
+
6. 성격 어휘(editorial / playful / radical)를 더 바르지 않는다. 이 Theme의 성격은 "격자부터 정한 뒤 그 안에서만 움직임" — 그 외는 다른 Theme의 자리.
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# Breakpoint
|
|
2
|
+
|
|
3
|
+
### 원칙
|
|
4
|
+
모바일 우선(min-width). Tailwind 표준 5단계.
|
|
5
|
+
|
|
6
|
+
### Do
|
|
7
|
+
- 기본 스타일은 모바일(sm 미만) 기준으로 짜고, 위 breakpoint에서 오버라이드.
|
|
8
|
+
- 페이지 좌우 여백은 sm에서 `space-6`, lg 이상에서 `space-8~12`.
|
|
9
|
+
- 사이드바 레이아웃은 lg 이상에서 노출, 이하는 Drawer로 대체.
|
|
10
|
+
|
|
11
|
+
### Don't
|
|
12
|
+
- max-width 기반 미디어쿼리 사용 금지 (min-width만).
|
|
13
|
+
- 임의 픽셀 값 미디어쿼리 금지 — 이름 있는 브레이크포인트만.
|
|
14
|
+
- 컴포넌트 내부에 fixed width 금지 — 컨테이너 크기에 반응.
|
|
15
|
+
|
|
16
|
+
### Fallback
|
|
17
|
+
반응형 설계가 애매하면 `md`를 데스크톱/모바일 갈림점으로 쓴다.
|
|
18
|
+
|
|
19
|
+
### 관련
|
|
20
|
+
N/A
|
|
21
|
+
|
|
22
|
+
### 토큰 표
|
|
23
|
+
| Token | 용도 |
|
|
24
|
+
|---|---|
|
|
25
|
+
| `sm` | 큰 모바일 · 작은 태블릿 |
|
|
26
|
+
| `md` | 태블릿 · 데스크톱 갈림점 |
|
|
27
|
+
| `lg` | 작은 데스크톱 · 사이드바 노출 |
|
|
28
|
+
| `xl` | 표준 데스크톱 |
|
|
29
|
+
| `2xl` | 큰 데스크톱 · 와이드 |
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
# Color
|
|
2
|
+
|
|
3
|
+
### 원칙
|
|
4
|
+
Semantic 이름으로 참조. 실제 색은 Palette(brand hex + paletteSet + mono) × Mode 두 축의 조합이 결정.
|
|
5
|
+
컴포넌트가 "파란색" 같은 색상 자체를 지시하지 않고 "브랜드 강조" 같은 역할로 참조.
|
|
6
|
+
|
|
7
|
+
### Do
|
|
8
|
+
- **브랜드 색은 하나 — `--primary`**. 주 액션(CTA·submit·confirm)·링크·활성 상태·강조 전부 primary로. 브랜드 톤이 둘로 쪼개지지 않게.
|
|
9
|
+
- 텍스트 위계: 본문 `--fg`, 보조 `--fg-muted`, 메타·플레이스홀더 `--fg-subtle`.
|
|
10
|
+
- 표면 위계: 페이지 `--bg`, 카드/영역 `--bg-subtle`, 코드/hover `--bg-muted`.
|
|
11
|
+
- 앱 탑바와 본문 페이지 바탕은 언제나 같은 색을 쓴다. AppFrame은 공통 `--app-frame-bg`(기본 `--bg`)로 Topbar·Tabs·Content를 연결한다. 프로젝트에서 바탕을 바꾸면 이 매핑과 페이지 바탕을 함께 바꾼다. 사이드바와 카드의 표면 구분은 [[components/app-frame]]의 배경 계약을 따른다.
|
|
12
|
+
- 상태 표시는 status 토큰: 성공 `--success`, 경고 `--warning`, 삭제·오류 `--destructive`, 정보 `--info`.
|
|
13
|
+
- Focus 표시는 `--ring`.
|
|
14
|
+
|
|
15
|
+
### Don't
|
|
16
|
+
- hex/rgb/oklch 리터럴 금지. 모든 색은 CSS 변수 경유.
|
|
17
|
+
- Status hue를 재정의하지 않는다 (성공은 항상 초록, 경고는 항상 주황).
|
|
18
|
+
- 밝은 배경에 흰 텍스트, 어두운 배경에 검은 텍스트 금지 — 항상 semantic pair 사용.
|
|
19
|
+
- **`--accent`를 쓰지 않는다** — Ovenn은 Palette 축이 "한 프로젝트 = 한 brand hex"로 설계돼 primary 외의 별도 브랜드 색이 존재하지 않는다. 과거 `--accent` 참조는 `--primary`로 교체.
|
|
20
|
+
|
|
21
|
+
### Fallback
|
|
22
|
+
텍스트 `--fg`, 배경 `--bg`, 강조 `--primary`.
|
|
23
|
+
|
|
24
|
+
배경과 테두리 토큰을 함께 쓸 때는 [[PRINCIPLES]] §5b의 미세한 표시 색 차이 기준을 따른다. 알파·불투명 색 모두 실제 합성 결과로 판단하며 `--border` 참조만으로 허용되지 않는다.
|
|
25
|
+
|
|
26
|
+
### 관련
|
|
27
|
+
- [[axes/palette]] · [[axes/mode]] — 실제 색상값 결정 (Palette 축이 brand hex + paletteSet + mono 세 입력을 흡수)
|
|
28
|
+
- [[tokens/shadow]] — Shape 축이 color·shadow·border를 함께 결정하므로 짝으로 자주 참조
|
|
29
|
+
|
|
30
|
+
### 토큰 표
|
|
31
|
+
|
|
32
|
+
**표면**
|
|
33
|
+
| Token | 용도 |
|
|
34
|
+
|---|---|
|
|
35
|
+
| `--bg` | 페이지 배경 |
|
|
36
|
+
| `--bg-subtle` | 카드·영역 배경 |
|
|
37
|
+
| `--bg-muted` | 코드 인라인·hover 배경 |
|
|
38
|
+
|
|
39
|
+
**텍스트**
|
|
40
|
+
| Token | 용도 |
|
|
41
|
+
|---|---|
|
|
42
|
+
| `--fg` | 본문 |
|
|
43
|
+
| `--fg-muted` | 보조 텍스트 |
|
|
44
|
+
| `--fg-subtle` | 메타·플레이스홀더 |
|
|
45
|
+
|
|
46
|
+
**경계**
|
|
47
|
+
| Token | 용도 |
|
|
48
|
+
|---|---|
|
|
49
|
+
| `--border` | 기본 경계 |
|
|
50
|
+
| `--border-strong` | 강조 경계 (crisp shape에서 두드러짐) |
|
|
51
|
+
|
|
52
|
+
**브랜드**
|
|
53
|
+
| Token | 용도 |
|
|
54
|
+
|---|---|
|
|
55
|
+
| `--primary` | mono=false면 브랜드 색, mono=true면 light near-black / dark near-white |
|
|
56
|
+
| `--primary-fg` | primary 위 텍스트·아이콘. mono에서는 primary와 반대 흑백, color에서는 대비가 큰 쪽 자동 선택 |
|
|
57
|
+
| `--primary-hover` | primary solid 배경의 hover 상태 (어두워진 버전) |
|
|
58
|
+
| `--primary-subtle` | primary 연한 배경 (8% 알파) — Badge/Callout 등 soft 변형 |
|
|
59
|
+
| `--primary-subtle-hover` | subtle variant의 hover 상태 (14% 알파). "soft 유지 + 반응" |
|
|
60
|
+
| `--primary-border-color` | subtle 표면과 짝 이루는 경계 (32% 알파) |
|
|
61
|
+
| `--selected-fg` | Checkbox·Radio 선택 표시. 기본 primary, mono에서는 fg |
|
|
62
|
+
| `--icon-color` | 아이콘 기본 색. mono 토글이 결정 (mono=fg-muted, 그 외=primary) |
|
|
63
|
+
| `--ring` | Focus 표시 |
|
|
64
|
+
|
|
65
|
+
> primary 위 텍스트·아이콘은 반드시 `--primary-fg`를 사용한다.
|
|
66
|
+
|
|
67
|
+
**보조 (Secondary variant 전용 — mono=false일 때만 유의미)**
|
|
68
|
+
| Token | 용도 |
|
|
69
|
+
|---|---|
|
|
70
|
+
| `--secondary-bg` · `--secondary-bg-hover` · `--secondary-fg` | Button `variant="secondary"` 등이 참조 |
|
|
71
|
+
|
|
72
|
+
**차트**
|
|
73
|
+
| Token | 용도 |
|
|
74
|
+
|---|---|
|
|
75
|
+
| `--chart-1` | color에서는 brand 원색, mono에서는 가장 강한 주조 회색 |
|
|
76
|
+
| `--chart-2` | color에서는 밝고 저채도인 companion, mono에서도 밝은 companion |
|
|
77
|
+
| `--chart-3` | color에서는 채도가 유지된 보조 series, mono에서는 두 번째로 강한 회색 |
|
|
78
|
+
| `--chart-4` | color에서는 밝고 낮은 채도의 후순위 series, mono에서도 가장 밝은 보조 회색 |
|
|
79
|
+
| `--chart-5` | color에서는 중간 밝기·저채도의 후순위 series, mono에서도 중간 회색 |
|
|
80
|
+
|
|
81
|
+
`--chart-1~5`는 Palette의 hue 조합만 회전시키지 않고 각기 다른 L·C tonal hierarchy를 함께 적용한다. 기본 2색 조합은 `--chart-1 + --chart-2`다.
|
|
82
|
+
mono에서는 모든 chart token의 chroma가 0이다. 단순 등간격 그레이가 아니라 color 팔레트의 비선형 tonal hierarchy를 보존하고, dark에서는 흰색 기준으로 같은 강약 리듬을 반전한다.
|
|
83
|
+
|
|
84
|
+
**상태** — 각 상태색은 solid·hover·subtle 3층 + fg·hover 짝으로 완성.
|
|
85
|
+
| Token | 용도 |
|
|
86
|
+
|---|---|
|
|
87
|
+
| `--success` / `--warning` / `--destructive` / `--info` | solid 배경 (각 색상, 축 영향 없음) |
|
|
88
|
+
| `--success-fg` / `--warning-fg` / `--destructive-fg` / `--info-fg` | solid 배경 위 글자 (고대비 흑/백 고정) |
|
|
89
|
+
| `--success-hover` / `--warning-hover` / `--destructive-hover` / `--info-hover` | solid hover 상태 (어두워진) |
|
|
90
|
+
| `--success-subtle` / `--warning-subtle` / `--destructive-subtle` / `--info-subtle` | 연한 배경 (8% 알파) — Badge/Callout/EventChip 등 |
|
|
91
|
+
| `--success-subtle-hover` / `--warning-subtle-hover` / `--destructive-subtle-hover` / `--info-subtle-hover` | subtle variant의 hover (14% 알파) — "soft 유지 + 반응" |
|
|
92
|
+
| `--success-border-color` / `--warning-border-color` / `--destructive-border-color` / `--info-border-color` | subtle 표면과 짝 (32% 알파) |
|
|
93
|
+
|
|
94
|
+
> **variant 선택 가이드:**
|
|
95
|
+
> - **solid** (주의 끄는 자리): `background: var(--destructive)` · `color: var(--destructive-fg)` · hover는 `var(--destructive-hover)`
|
|
96
|
+
> - **subtle** (라벨·배지·힌트): `background: var(--destructive-subtle)` · `color: var(--destructive)` · hover 유지면 `var(--destructive-subtle-hover)`, 반전면 solid로 전환
|
|
97
|
+
|
|
98
|
+
**오버레이 · 인터랙션**
|
|
99
|
+
| Token | 용도 |
|
|
100
|
+
|---|---|
|
|
101
|
+
| `--hover` | 반복 리스트·메뉴·탭·테이블 hover 공통. 라이트 검정 3%, 다크 흰색 3% 알파 오버레이 |
|
|
102
|
+
| `--tooltip-bg` | Tooltip 배경 (Mode 반전: light면 다크, dark면 라이트) |
|
|
103
|
+
| `--tooltip-fg` | Tooltip 텍스트 (Mode 반전) |
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# Radius
|
|
2
|
+
|
|
3
|
+
### 원칙
|
|
4
|
+
컴포넌트 크기별 상대 위계. 이름은 고정, 값은 Shape 축이 결정.
|
|
5
|
+
Tooltip < Button < Card < Modal 순서는 어떤 프로젝트에서도 유지.
|
|
6
|
+
|
|
7
|
+
### Do
|
|
8
|
+
- 컴포넌트 크기에 맞춰 스케일 선택: 작을수록 작은 radius.
|
|
9
|
+
- 완전한 원형(Avatar, Pill Chip)은 `radius-full`.
|
|
10
|
+
- 각져야 하는 표·시트 셀은 `radius-none`.
|
|
11
|
+
|
|
12
|
+
### Don't
|
|
13
|
+
- px 하드코딩 금지. Shape 축이 값 스왑을 담당.
|
|
14
|
+
- Modal에 `radius-sm`, Tooltip에 `radius-xl` 같은 위계 역전 금지.
|
|
15
|
+
|
|
16
|
+
### Fallback
|
|
17
|
+
애매하면 `radius-sm` (Button·Input 기본 스케일).
|
|
18
|
+
|
|
19
|
+
### 관련
|
|
20
|
+
- [[axes/shape]] — radius 값을 스왑
|
|
21
|
+
|
|
22
|
+
### 토큰 표
|
|
23
|
+
| Token | 용도 |
|
|
24
|
+
|---|---|
|
|
25
|
+
| `radius-none` | 표·시트 셀, 각져야 하는 경계 |
|
|
26
|
+
| `radius-xs` | Chip, Badge, Tooltip |
|
|
27
|
+
| `radius-sm` | Input, Button, Icon Button (기본) |
|
|
28
|
+
| `radius-md` | Card, Panel |
|
|
29
|
+
| `radius-lg` | Modal, Popover, Dropdown |
|
|
30
|
+
| `radius-xl` | 대형 카드 |
|
|
31
|
+
| `radius-2xl` | 히어로 카드 |
|
|
32
|
+
| `radius-3xl` | 랜딩·대형 오버레이 |
|
|
33
|
+
| `radius-full` | Avatar, Pill Chip, 원형 버튼 |
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# Shadow
|
|
2
|
+
|
|
3
|
+
### 원칙
|
|
4
|
+
표면이 얼마나 위로 떠 있는가 — 시각 위계(elevation). Shape 축이 스타일 스왑.
|
|
5
|
+
|
|
6
|
+
### Do
|
|
7
|
+
- 컴포넌트 elevation에 맞춰 스케일 선택.
|
|
8
|
+
- Input focus·미세한 depth: `shadow-xs`.
|
|
9
|
+
- Card: `shadow-sm`. Dropdown·Popover: `shadow-md`. Modal: `shadow-lg`. Command Palette: `shadow-xl`.
|
|
10
|
+
- 눌린 상태(pressed inset)는 `shadow-inner`.
|
|
11
|
+
|
|
12
|
+
### Don't
|
|
13
|
+
- `box-shadow` 리터럴 하드코딩 금지. 색도 포함 — `rgba(0,0,0,...)`·`oklch(0 0 0 / ...)` 직접 쓰지 말고 `--shadow-*` 토큰 경유.
|
|
14
|
+
- 아래 요소(카드)가 위 요소(Modal)보다 강한 그림자 갖지 않는다 (elevation 역전 금지).
|
|
15
|
+
|
|
16
|
+
### Shadow 색
|
|
17
|
+
- `--shadow-color`: oklch(L C H) 세 성분. 알파는 shadow 단계별 상수로 보존.
|
|
18
|
+
- 기본은 중성 검정(`0 0 0`), 다크 모드도 동일(그림자는 "빛의 반대", Mode 반전 안 함) — 알파만 다크에서 상향.
|
|
19
|
+
- 테마가 override 하면 전체 shadow 톤이 스왑: 예 `--shadow-color: 0.15 0.03 40` → warm 브랜드의 갈색 틴트 그림자.
|
|
20
|
+
|
|
21
|
+
### Fallback
|
|
22
|
+
카드·패널이면 `shadow-sm`, 오버레이면 `shadow-md`.
|
|
23
|
+
|
|
24
|
+
### 관련
|
|
25
|
+
- [[axes/shape]] — Shape가 그림자 스타일을 스왑
|
|
26
|
+
|
|
27
|
+
### 토큰 표
|
|
28
|
+
| Token | 용도 |
|
|
29
|
+
|---|---|
|
|
30
|
+
| `shadow-xs` | Input focus, 미세 depth |
|
|
31
|
+
| `shadow-sm` | Card 기본 |
|
|
32
|
+
| `shadow-md` | Dropdown, Popover, Hover Card |
|
|
33
|
+
| `shadow-lg` | Modal, Drawer |
|
|
34
|
+
| `shadow-xl` | Command Palette, 화면 중심 |
|
|
35
|
+
| `shadow-inner` | 눌린 상태 (inset) |
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
# Spacing
|
|
2
|
+
|
|
3
|
+
### 원칙
|
|
4
|
+
관계의 밀도를 시각화. 가까울수록 관련 강하고, 멀수록 문맥 분리.
|
|
5
|
+
4px 배수(`--space-*`)만 사용. Density 축이 `--space-scale`로 여백 계열을 스왑한다. 실제 치수는 `--size-scale`·`--size-*`로 분리해 comfortable에서 여백만 더 늘릴 수 있다.
|
|
6
|
+
|
|
7
|
+
### Do
|
|
8
|
+
`--space-*`는 padding·gap·일반 margin에 사용한다. 박스·아이콘·체크박스·Avatar의 폭/높이와 그 치수에 종속된 광학 보정은 `--size-*`를 사용한다. size 계열은 같은 4px 기반으로 `--size-unit`과 숫자 단계를 제공한다(예: `--size-4`, 소수 단계는 `--size-0-5`·`--size-1-5`·`--size-2-5`). 컨트롤에는 기존 `--control-h-*`·`--icon-size-*` 등 의미 토큰을 우선한다.
|
|
9
|
+
공간은 **"맥락"으로 선택**한다. 토큰에 고정 용도가 박혀있지 않다. 아래 두 리듬 중 하나를 먼저 고르고, 그 안에서 스케일을 쓴다.
|
|
10
|
+
|
|
11
|
+
**앱·대시보드·콘솔 (디폴트 — 매일 쓰는 UI)**
|
|
12
|
+
- 작은 컴포넌트 사이(버튼↔버튼, 칩↔칩, 아이콘 묶음): **`space-1`(4px) 고정.** 묶음으로 읽히는 밀도. `space-2` 이상 금지.
|
|
13
|
+
- 컴포넌트 내부 요소(버튼의 아이콘-텍스트, chip 등): `space-1` ~ `space-2`.
|
|
14
|
+
- 폼 필드 간, 카드 내부 블록 간: `space-2` ~ `space-3`.
|
|
15
|
+
- 패널 헤더-바디, 카드 상하 padding: `space-3` 안팎 (상하는 좌우보다 한 단계 작게).
|
|
16
|
+
- 패널·섹션 간 세로 gap: `space-3` ~ `space-4`. border나 bg-subtle이 분리를 담당하므로 공간은 좁게.
|
|
17
|
+
- 페이지 body padding: `space-4` ~ `space-6`.
|
|
18
|
+
|
|
19
|
+
**랜딩·마케팅·에디토리얼 (선언형 UI)**
|
|
20
|
+
- 선언 섹션 간: `space-10` ~ `space-16`.
|
|
21
|
+
- 페이지 최상단·히어로 상하 호흡: `space-16` 이상.
|
|
22
|
+
- 큰 타이틀-서브헤드 간: `space-4` ~ `space-6`.
|
|
23
|
+
|
|
24
|
+
**공통 규칙**
|
|
25
|
+
- 어느 리듬이든, **카드·패널 그리드(border·bg로 이미 구분된 요소)의 가로/세로 gap은 균일하게.** 가로 `space-3`이면 세로도 `space-3`.
|
|
26
|
+
- 어느 리듬이든, 선언 섹션(히어로)과 콘솔 섹션(테이블/리스트)을 **같은 화면에서 섞을 때는 콘솔 리듬을 베이스로 두고** 선언 섹션 하나만 큰 호흡을 허락한다. 반대로 하지 않는다 (화면 전체가 랜딩처럼 뜨고 머리가 비게 됨).
|
|
27
|
+
|
|
28
|
+
**카드·패널 내부 padding — 시각적으로 상하좌우 동일**
|
|
29
|
+
- 카드, 패널, 모달, Callout 같은 "닫힌 박스" 안쪽은 **상하좌우 padding이 시각적으로 같아 보이게** 쓴다. 기본은 네 면 같은 토큰(`padding: var(--space-N)` 하나).
|
|
30
|
+
- 폰트는 line-height 여백을 품으므로, 콘텐츠가 큰 텍스트 블록이면 **상하를 수치상 한 단계 줄여** 시각 균형을 맞춘다 (line-height 보정). 예: 큰 타이틀 위주 카드면 `var(--space-2) var(--space-3)`. 이건 "비대칭을 쓰려는 게 아니라, 눈에 같아 보이게 하는 보정".
|
|
31
|
+
- 리스트 row·테이블 row처럼 **반복되는 가로 긴 아이템**도 동일 원칙 — 기본은 정사각, 큰 텍스트가 들어가면 line-height 보정으로만 상하 한 단계 축소.
|
|
32
|
+
- 예외는 panel 헤더(한 줄 고정 높이) 정도. 그 외엔 **"비대칭 padding이 눈에 보이면 틀린 것"**.
|
|
33
|
+
|
|
34
|
+
### Don't
|
|
35
|
+
- 스케일 밖의 임의 px 사용 금지. 필요하면 디자인 재검토 신호.
|
|
36
|
+
- 인접 스케일을 나란히 반복 금지 — 위계가 사라짐. 최소 2단계 차이. (line-height 보정은 예외)
|
|
37
|
+
- 컴포넌트 간 간격을 `space-2` 이하로 좁히기 금지 — **단, 버튼↔버튼·칩↔칩 등 "작은 컴포 묶음"은 역으로 `space-1`(4px) 고정.** 큰 섹션 간은 좁히지 말고, 작은 묶음은 넓히지 말라.
|
|
38
|
+
- 카드 그리드의 세로 gap을 가로 gap보다 크게 잡지 않는다 — 격자가 세로로만 벌어져 "열은 붙고 행은 떨어진" 어긋남이 생긴다.
|
|
39
|
+
- 카드 그리드끼리 또는 카드 그리드와 다음 패널을 `space-6` 이상 gap으로 분리하지 않는다 — 카드가 이미 border/배경으로 분리돼 있어 과한 공간은 "구조가 끊겨 보이는" 결과를 만든다.
|
|
40
|
+
- 카드·패널 내부 padding을 눈에 띄게 비대칭으로 쓰지 않는다 — 상하좌우가 시각적으로 같아 보이는 게 디폴트. 비대칭을 쓰는 경우는 "line-height 여백 보정" 목적일 때만, 상하를 한 단계 줄이는 쪽으로.
|
|
41
|
+
- **두 요소 사이 공간을 양쪽에서 동시에 잡기 금지 (이중 여백 금지).** 부모의 `gap` 과 자식의 `padding-top`/`margin-top` 을 동시에 쓰지 말 것. 둘 중 **한 쪽만** 공간 책임자다. 판정 기준: 두 블록이 **각자 독립된 "닫힌 박스"**(헤더 박스 + 콘텐츠 박스처럼 자체 padding 을 들고 다님)라면 **부모 gap = 0**, 두 블록이 **같은 트랙 안의 자식**(동일 패널 안 섹션들)이라면 **자식 padding = 0 + 부모 gap 으로 리듬**. 이걸 섞어 쓰면 공간이 두 번 더해져 리듬이 깨지고, 디자인 축을 바꿔도 한쪽만 반응해 어긋난다.
|
|
42
|
+
|
|
43
|
+
### Fallback
|
|
44
|
+
관련성이 확실치 않으면 `space-4`부터 시도.
|
|
45
|
+
|
|
46
|
+
### 관련
|
|
47
|
+
- [[axes/density]] — `--space-scale`로 모든 spacing 값 스왑
|
|
48
|
+
|
|
49
|
+
### 토큰 표
|
|
50
|
+
토큰에는 **고정 용도가 없다.** 아래 "전형적인 자리"는 가장 자주 쓰는 예시일 뿐, "섹션 간은 반드시 space-8" 식으로 못박지 않는다. 어느 자리에 어느 스케일을 쓸지는 위의 Do(앱 리듬 vs 랜딩 리듬)에서 결정한다.
|
|
51
|
+
|
|
52
|
+
| Token | 전형적인 자리 (예시) |
|
|
53
|
+
|---|---|
|
|
54
|
+
| `space-0.5` | 아이콘-텍스트 미세 간격 |
|
|
55
|
+
| `space-1` | 텍스트-아이콘, 아이콘 묶음, **버튼↔버튼 gap(고정)** |
|
|
56
|
+
| `space-1.5` | 컨트롤 내부 gap |
|
|
57
|
+
| `space-2` | 작은 gap (컴포넌트 사이는 제외 — space-1 고정) |
|
|
58
|
+
| `space-2.5` | 버튼 md 좌우 |
|
|
59
|
+
| `space-3` | 카드 내부, 콘솔 패널 세로 리듬 |
|
|
60
|
+
| `space-4` | 콘솔 패널 좌우 padding, 카드 그리드 gap |
|
|
61
|
+
| `space-5` | 콘솔 body padding |
|
|
62
|
+
| `space-6` | 콘솔 body padding (넉넉) / 랜딩 요소 간 |
|
|
63
|
+
| `space-8` | 선언 섹션 상하 호흡 |
|
|
64
|
+
| `space-10` | 랜딩 섹션 간 |
|
|
65
|
+
| `space-12` | 랜딩 섹션 간 (넉넉) |
|
|
66
|
+
| `space-16` | 랜딩 히어로·페이지 최상단 |
|
|
67
|
+
|
|
68
|
+
### 전역 element selector로 padding/margin 걸지 않기
|
|
69
|
+
`section`, `article`, `main`, `h1~h6` 등 **element selector에 전역 padding/margin을 걸면 그 태그를 쓰는 모든 자리를 오염**시킨다. 특히 `section`은 Ovenn에서 "panel/카드 하나"를 뜻하는 자리로도 쓰이고 "docs의 스크롤 네비 섹션"으로도 쓰이므로, 두 자리의 리듬이 서로 다른 걸 하나의 전역 룰로 묶으면 반드시 한 쪽이 터진다.
|
|
70
|
+
|
|
71
|
+
- 전역 룰은 **특정 wrapper 클래스 안으로 scope**한다 — `section` ❌ → `.docs section` ✅.
|
|
72
|
+
- 섹션 간 호흡은 **부모 flex-column의 `gap`으로** 담당하고, 섹션 자체에는 padding을 걸지 않는 쪽을 선호.
|
|
73
|
+
- 디버깅 체크리스트: 어떤 자리의 패딩이 "내가 안 걸었는데 들어있다"면 **상위 globals.css의 element selector 규칙**부터 의심한다.
|
|
74
|
+
|
|
75
|
+
### 텍스트 gap·line-height
|
|
76
|
+
- **섹션 타이틀(h1~h3)에는 반드시 명시적 `line-height` 지정.** 지정 없으면 body base(1.5)를 상속해 큰 폰트에서 "위가 뭉텅 비어 보임" 함정이 발생한다. 큰 선언형은 `--lh-tight`(1.2), 패널 헤더는 1.3 안팎.
|
|
77
|
+
- 상하좌우 균일 padding의 함정: 모달 상단 텍스트(타이틀), 하단 버튼일 때 균일 padding이면 위가 넓어 보일 수 있다 — 이 때는 **먼저 타이틀의 line-height를 조이고**, 그래도 위가 뜨면 상단 padding을 한 단계 축소.
|
|
78
|
+
- 텍스트 ↔ 텍스트 gap: 두 요소 모두 line-height를 품으므로 보수적으로. 라벨-값은 `space-1~2`.
|
|
79
|
+
- 텍스트 ↔ 그래픽 gap: 그래픽은 line-height 여백이 없으므로 표준 스케일 그대로.
|
|
80
|
+
- 그래픽 ↔ 그래픽: 필요하면 한 단계 크게.
|
|
81
|
+
|
|
82
|
+
### 한 줄에 크기가 다른 요소 수직 정렬
|
|
83
|
+
한 flex row 안에 폰트 크기가 다른 두 요소(큰 숫자값 + 작은 라벨/[[components/badge]]/작은 아이콘 등)가 나란히 올 때, `align-items`는 다음 기준으로 선택한다. 임의 기본값(특히 `baseline`) 금지.
|
|
84
|
+
|
|
85
|
+
- **기본은 `center`.** 큰 글자와 작은 글자/배지의 중심을 맞춘다. 카드 안에서 "값 + 변화량 Badge" 같은 조합이 전형. baseline으로 맞추면 작은 요소가 아래로 쏠려 위쪽 패딩이 비어 보이고 카드 내부 균형이 깨진다.
|
|
86
|
+
- **같은 폰트 크기의 텍스트끼리** 가로로 나열될 때만 `baseline`. 다른 크기 섞이면 금지.
|
|
87
|
+
- 아이콘 ↔ 텍스트는 `center` 고정 (아이콘엔 baseline이 없다).
|
|
88
|
+
- 패딩이 균일한 카드 안의 row는 `align-items: center` + 균일 padding으로 "실제로도, 시각적으로도" 가운데 정렬이 성립한다. 큰 요소 하나 때문에 상하 여백이 어긋나 보이면 **패딩이 아니라 정렬을 의심한다.**
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
### 로컬 밀도와 토큰 계산 범위
|
|
92
|
+
- CSS 변수의 파생 값은 선언된 요소에서 계산된 뒤 상속된다. 상위에서 계산된 `--space-*`를 받는 하위 요소에 `--space-scale`만 지정해도 기존 파생 값이 다시 계산되지는 않는다.
|
|
93
|
+
- 표준 밀도 전환은 컨테이너에 `data-density`를 지정한다. `tokens.css`는 그 범위에서 간격·컨트롤·타이포 파생식을 함께 계산한다. TemplateBoundary도 이 경계를 사용한다.
|
|
94
|
+
- 직접 정한 배율을 사용하는 지역은 같은 요소에 `data-token-scope`를 지정한다. 배율 입력과 파생식의 계산 범위를 맞추고, 그 하위에서는 계산된 토큰을 상속받는다. 범위 밖 형제에는 영향을 주지 않는다.
|
|
95
|
+
- 특정 간격만 바꾸려면 해당 범위의 `--space-*`를 직접 override할 수 있다. 모든 자식에 토큰을 재선언하는 방식은 이런 의도적인 상속을 깨뜨리므로 사용하지 않는다.
|
|
96
|
+
- 프로젝트가 별도 간격 토큰을 만들었다면 그 파생식도 실제 밀도를 바꾸는 범위에 선언한다. 문서의 리듬 안내만으로 이미 생성한 CSS가 자동 변경되지는 않는다.
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
# Typography
|
|
2
|
+
|
|
3
|
+
### 원칙
|
|
4
|
+
타이포 위계의 기본 토큰이다. 프로젝트에서 추가 슬롯과 값을 선언해 확장할 수 있다. 폰트·굵기·크기·line-height의 조합은 실제 내용과 역할로 판단한다.
|
|
5
|
+
|
|
6
|
+
### Do
|
|
7
|
+
- 같은 대시보드에 조합되는 동급 카드의 제목은 콘텐츠 종류와 관계없이 같은 font-size·line-height·font-weight를 사용한다. 기본 조합은 `text-base` + `lh-tight` + `font-weight-semibold`이며, 프로젝트가 바꾸면 동급 카드 전체에 함께 적용한다. 카드 폭이나 차트/목록 종류 때문에 제목 크기를 제각각 바꾸지 않는다.
|
|
8
|
+
- 본문/라벨/코드/제목의 역할을 정하고 필요한 크기와 굵기를 선택한다.
|
|
9
|
+
- 보조 텍스트와 성공/검증 결과가 주 작업보다 시선을 과하게 끌지 않는지 비교한다.
|
|
10
|
+
- 기본 text/label 토큰에서 시작하고, 프로젝트 토큰으로 필요한 위계를 확장한다.
|
|
11
|
+
|
|
12
|
+
### Don't
|
|
13
|
+
- [HARD] 사용처의 스타일 리터럴과 미선언 토큰 참조를 만들지 않는다.
|
|
14
|
+
- [SOFT] 모든 heading을 크게 만들거나, 모든 UI를 같은 굵기/크기로 처리하지 않는다.
|
|
15
|
+
|
|
16
|
+
### Fallback
|
|
17
|
+
본문 `text-base`, 라벨 `text-sm`, 헤딩 `text-2xl`.
|
|
18
|
+
|
|
19
|
+
### 관련
|
|
20
|
+
- [[axes/font]] — 폰트 스택·포인트 폰트 범위 결정
|
|
21
|
+
- [[axes/density]] — `--font-scale`로 사이즈 스케일 전체를 스왑 (compact 0.95× / default 1× / comfortable 1.05×)
|
|
22
|
+
|
|
23
|
+
### 제공되는 Core CSS 변수 (프로젝트 선언으로 확장 가능)
|
|
24
|
+
|
|
25
|
+
| 용도 | CSS 변수 | 참고 |
|
|
26
|
+
|---|---|---|
|
|
27
|
+
| 본문/캡션 크기 | `--text-{3xs,2xs,xs,sm,base,lg,xl,2xl,3xl,4xl,5xl}` | line-height는 `--lh-{...}` 짝으로 매칭 |
|
|
28
|
+
| 라벨/UI 크기 | `--label-{sm,md,lg}-size` | 라벨 폰트는 `--label-font` |
|
|
29
|
+
| 라인하이트 | `--lh-{3xs,2xs,xs,sm,base,lg,xl,2xl,3xl,4xl,5xl}` | font-size 토큰과 짝 |
|
|
30
|
+
| Weight | `--font-weight-{regular,medium,semibold,bold}` | |
|
|
31
|
+
| Font family | `--font-normal`, `--label-font` | |
|
|
32
|
+
|
|
33
|
+
Core에 없는 이름 예: `--font-size-sm`, `--font-size-xs`, `--text-size-sm`, `--fs-sm`, `--size-text-sm`. 기본 선언은 없으므로, 사용하려면 프로젝트에서 실제로 선언한다.
|
|
34
|
+
|
|
35
|
+
### 토큰 표
|
|
36
|
+
|
|
37
|
+
**Font Size / Line-height**
|
|
38
|
+
| Token | CSS 변수 | 용도 |
|
|
39
|
+
|---|---|---|
|
|
40
|
+
| `text-3xs` | `--text-3xs` / `--lh-3xs` | Micro meta (사용 자제) |
|
|
41
|
+
| `text-2xs` | `--text-2xs` / `--lh-2xs` | Dense table meta, tag |
|
|
42
|
+
| `text-xs` | `--text-xs` / `--lh-xs` | Caption, Helper, Badge |
|
|
43
|
+
| `text-sm` | `--text-sm` / `--lh-sm` | Body Small, Table, Label |
|
|
44
|
+
| `text-base` | `--text-base` / `--lh-base` | Body (기본) |
|
|
45
|
+
| `text-lg` | `--text-lg` / `--lh-lg` | Lead 문단, 강조 본문 |
|
|
46
|
+
| `text-xl` | `--text-xl` / `--lh-xl` | H4 |
|
|
47
|
+
| `text-2xl` | `--text-2xl` / `--lh-2xl` | H3 |
|
|
48
|
+
| `text-3xl` | `--text-3xl` / `--lh-3xl` | H2 |
|
|
49
|
+
| `text-4xl` | `--text-4xl` / `--lh-4xl` | H1, Page Title |
|
|
50
|
+
| `text-5xl` | `--text-5xl` / `--lh-5xl` | Display (Hero) |
|
|
51
|
+
|
|
52
|
+
**Font Weight**
|
|
53
|
+
| Token | 시작 용도 |
|
|
54
|
+
|---|---|
|
|
55
|
+
| regular | 본문 |
|
|
56
|
+
| medium | 라벨/보조 강조 |
|
|
57
|
+
| semibold | 제목/주요 UI 강조 |
|
|
58
|
+
| bold | 강한 위계가 필요한 영역 |
|
|
59
|
+
|
|
60
|
+
이는 시작점이다. 크기에 따른 일괄 금지나 heading 종류별 굵기 금지는 없으며 실제 글꼴·가독성·주변 위계에 맞춰 선택한다.
|
|
61
|
+
|
|
62
|
+
**Letter Spacing**
|
|
63
|
+
| Token | 용도 |
|
|
64
|
+
|---|---|
|
|
65
|
+
| `tight` | 큰 헤딩(text-2xl 이상) |
|
|
66
|
+
| `normal` | 본문 |
|
|
67
|
+
| `wide` | 대문자 라벨, 뱃지 텍스트 |
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# Z-index
|
|
2
|
+
|
|
3
|
+
### 원칙
|
|
4
|
+
겹침 순서(layering)의 계층. 이름 붙은 스케일만 사용해 stacking context 사고를 방지.
|
|
5
|
+
Tooltip은 언제나 최상단.
|
|
6
|
+
|
|
7
|
+
### Do
|
|
8
|
+
- 오버레이 레이어는 이름 있는 z-index 토큰 사용.
|
|
9
|
+
- Sticky header는 `z-sticky`, dropdown류는 `z-dropdown`.
|
|
10
|
+
- Modal은 `z-modal`, 그 위 popover는 `z-popover`.
|
|
11
|
+
- Tooltip은 `z-tooltip` (항상 최상단).
|
|
12
|
+
|
|
13
|
+
### Don't
|
|
14
|
+
- 임의 정수(9999 등) 하드코딩 금지.
|
|
15
|
+
- Tooltip을 Modal 아래에 두지 않는다.
|
|
16
|
+
- Toast를 Modal 아래에 두지 않는다 (Modal 열린 상태에서도 알림은 보여야 함).
|
|
17
|
+
|
|
18
|
+
### Fallback
|
|
19
|
+
정할 수 없으면 `z-base` (0).
|
|
20
|
+
|
|
21
|
+
### 관련
|
|
22
|
+
N/A
|
|
23
|
+
|
|
24
|
+
### 토큰 표
|
|
25
|
+
| Token | 용도 |
|
|
26
|
+
|---|---|
|
|
27
|
+
| `z-base` | 기본 |
|
|
28
|
+
| `z-docked` | 도킹된 요소 (컨텐츠 내 sticky sub-header 등) |
|
|
29
|
+
| `z-dropdown` | Dropdown, Select |
|
|
30
|
+
| `z-sticky` | Page-level sticky header |
|
|
31
|
+
| `z-overlay` | 배경 dim overlay |
|
|
32
|
+
| `z-modal` | Modal, Drawer |
|
|
33
|
+
| `z-popover` | Popover, Hover Card |
|
|
34
|
+
| `z-toast` | Toast |
|
|
35
|
+
| `z-tooltip` | Tooltip (최상단) |
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ovenn
|
|
3
|
+
description: Ovenn UI 작업 진입. 컴포넌트의 행동/API를 재사용하면서 프로젝트 디자인에 맞게 자유롭게 변형한다. 안전/토큰 정책은 prompts/PRINCIPLES.md를 따른다.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# ovenn
|
|
7
|
+
|
|
8
|
+
모든 UI 작업은 `prompts/PRINCIPLES.md`를 읽고 `prompts/ASSEMBLY.md`를 실행한다. 전체 페이지·부분 UI·컴포넌트 모두 적용한다. 화면 점검·독립 검수·대기와 완료 조건은 `prompts/WORKFLOW_DESIGN.md`가 원본이다. MCP 연결 시 `get_rules`와 `get_design_workflow`로 같은 원본을 받는다.
|
|
9
|
+
|
|
10
|
+
필요한 행동은 전체 `prompts/CATALOG.md`에서 찾고 해당 문서의 Do/Don't·Props와 실제 컴포넌트 코드를 확인한다. 클라이언트의 실행·캡처·독립 검수 기능이 없으면 원본의 검수 대기 계약을 따른다. 검사 통과를 화면 검수로 대신하지 않는다.
|
|
11
|
+
|
|
12
|
+
조립 전 역할별 componentPlan과 실제 부품 사용 검증은 `prompts/ASSEMBLY.md`의 v2 계약을 따른다. MCP의 `check_component_usage` 또는 `ovenn info check-component-usage --local`로 확인한다.
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ovenn-component
|
|
3
|
+
description: Ovenn 컴포넌트의 API·variant·상태를 만들거나 개선한다. 공유 Core의 코드/문서를 함께 유지하고 소비자 변형은 자유롭게 허용한다.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# ovenn-component
|
|
7
|
+
|
|
8
|
+
모든 UI 작업은 `prompts/PRINCIPLES.md`를 읽고 `prompts/ASSEMBLY.md`를 실행한다. 전체 페이지·부분 UI·컴포넌트 모두 적용한다. 화면 점검·독립 검수·대기와 완료 조건은 `prompts/WORKFLOW_DESIGN.md`가 원본이다. MCP 연결 시 `get_rules`와 `get_design_workflow`로 같은 원본을 받는다.
|
|
9
|
+
|
|
10
|
+
필요한 행동은 전체 `prompts/CATALOG.md`에서 찾고 해당 문서의 Do/Don't·Props와 실제 컴포넌트 코드를 확인한다. 클라이언트의 실행·캡처·독립 검수 기능이 없으면 원본의 검수 대기 계약을 따른다. 검사 통과를 화면 검수로 대신하지 않는다.
|
|
11
|
+
|
|
12
|
+
조립 전 역할별 componentPlan과 실제 부품 사용 검증은 `prompts/ASSEMBLY.md`의 v2 계약을 따른다. MCP의 `check_component_usage` 또는 `ovenn info check-component-usage --local`로 확인한다.
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ovenn-page
|
|
3
|
+
description: Ovenn 페이지·대시보드·작업 공간 설계. 주 업무를 중심으로 기존 동작과 자유로운 로컬 표현을 조합한다.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# ovenn-page
|
|
7
|
+
|
|
8
|
+
모든 UI 작업은 `prompts/PRINCIPLES.md`를 읽고 `prompts/ASSEMBLY.md`를 실행한다. 전체 페이지·부분 UI·컴포넌트 모두 적용한다. 화면 점검·독립 검수·대기와 완료 조건은 `prompts/WORKFLOW_DESIGN.md`가 원본이다. MCP 연결 시 `get_rules`와 `get_design_workflow`로 같은 원본을 받는다.
|
|
9
|
+
|
|
10
|
+
필요한 행동은 전체 `prompts/CATALOG.md`에서 찾고 해당 문서의 Do/Don't·Props와 실제 컴포넌트 코드를 확인한다. 클라이언트의 실행·캡처·독립 검수 기능이 없으면 원본의 검수 대기 계약을 따른다. 검사 통과를 화면 검수로 대신하지 않는다.
|
|
11
|
+
|
|
12
|
+
조립 전 역할별 componentPlan과 실제 부품 사용 검증은 `prompts/ASSEMBLY.md`의 v2 계약을 따른다. MCP의 `check_component_usage` 또는 `ovenn info check-component-usage --local`로 확인한다.
|