/* * Caps' single style entry. Stipe owns Daisy's theme engine and all shared * semantic values; Caps only asks Tailwind to scan its own components. * Caps owns reading rhythm through Tailwind Typography's `prose`. * Imports stay in the original layer and cascade order. A few declaration-level * Prettier directives preserve value whitespace that Tailwind emits verbatim; * removing them would change compiled CSS bytes without changing its meaning. */ @import "@fungi.computer/stipe/styles.css"; @import "./status-tray.css"; @import "./app-status-bar.css"; @import "./first-run.css"; @plugin "@tailwindcss/typography"; /* In the workspace Tailwind scans the component source; published, this * entry ships without it, and the compiled components in dist carry the same * class names. Tests ship in neither, so neither build styles them. */ @source "./"; @source "../dist/**/*.js"; @source not "./**/*.test.tsx"; @source not "./test-utils"; @import "./styles/tokens.css"; /* Global portal rank binding; geometry and material live with the component. */ .caps-toaster[data-sonner-toaster] { z-index: var(--stipe-layer-toast); } @import "./styles/toaster/material.css"; @import "./styles/dropdown-menu.css"; /* One highlight glides between a list's rows (see lib/glide). At rest the rows paint their own highlights; the stand-in exists only while moving. */ @import "./styles/glide.css"; /* Colors a Tailwind ring or outline with the per-theme focus token. */ @import "./styles/focus.css"; /* * `prose-caps` maps Typography's palette and faces onto the active theme, so * a page's prose follows its Stipe theme. Typography keeps the rhythm and the * measure; a theme may tune the leading with --caps-prose-leading. */ @import "./styles/prose.css"; @import "./styles/base.css"; @import "./styles/stat.css"; /* Daisy buttons live in Tailwind's utilities layer: keep their ink in that layer rather than a weaker components-layer custom property. */ @import "./styles/button/variants.css"; @layer components { @import "./styles/app-canvas.css"; @import "./styles/copy-field.css"; @import "./styles/technonomicon/plates.css"; @import "./styles/keycap/typography.css"; @import "./styles/field-guide.css"; @import "./styles/technonomicon/issue.css"; @import "./styles/technonomicon/cigarette-card.css"; @import "./styles/technonomicon/sketchbook.css"; @import "./styles/technonomicon/navigation.css"; @import "./styles/dialog.css"; @import "./styles/technonomicon/page.css"; } @layer utilities { @import "./styles/manga-panel.css"; @import "./styles/loader.css"; @import "./styles/alert/frame.css"; @import "./styles/permission-grid.css"; @import "./styles/alert/layout.css"; @import "./styles/composer.css"; @import "./styles/alert/tone.css"; @import "./styles/toaster/layout.css"; @import "./styles/upload-queue.css"; @import "./styles/surface/frame.css"; @import "./styles/surface/screen.css"; @import "./styles/scroll-area/frame.css"; @import "./styles/resize-handle/knob.css"; @import "./styles/scroll-area/thumb.css"; @import "./styles/resize-handle/corner.css"; @import "./styles/card/frame.css"; @import "./styles/listing-detail.css"; @import "./styles/store-card.css"; @import "./styles/input/compact.css"; @import "./styles/badge/quiet.css"; @import "./styles/card/media.css"; @import "./styles/inline-code.css"; @import "./styles/pricing-card.css"; @import "./styles/faq-chat.css"; @import "./styles/spec-sheet.css"; @import "./styles/button/result.css"; @import "./styles/generation-frame.css"; @import "./styles/send-action.css"; @import "./styles/undo-action.css"; @import "./styles/undo-toast.css"; @import "./styles/hold-button.css"; @import "./styles/label/base.css"; @import "./styles/field/control.css"; @import "./styles/presence.css"; @import "./styles/field/layout.css"; @import "./styles/form.css"; @import "./styles/choice-card.css"; @import "./styles/number-field.css"; @import "./styles/field/flex.css"; @import "./styles/badge/base.css"; @import "./styles/input/frame.css"; @import "./styles/select/frame.css"; @import "./styles/tabs.css"; @import "./styles/select/chevron.css"; @import "./styles/combobox/frame.css"; @import "./styles/popover.css"; @import "./styles/combobox/options.css"; @import "./styles/select/disabled.css"; @import "./styles/code-input.css"; @import "./styles/input/group.css"; @import "./styles/button/material.css"; @import "./styles/keycap/button.css"; @import "./styles/button/states.css"; } /* Spaced controls keep their individual outlines, unlike a joined button strip. */ /* Card parts are component defaults, so a caller's layout utilities on CardHeader, CardContent and CardFooter (flex-row, gap-*, p-*) win. */ @import "./styles/card/parts.css"; @import "./styles/button/group.css"; @import "./styles/window/base.css"; @layer components { @import "./styles/input/motion.css"; @import "./styles/progress/base.css"; @import "./styles/switch/base.css"; @import "./styles/radio-group.css"; @import "./styles/checkbox/base.css"; @import "./styles/icon-choice.css"; @import "./styles/switch/motion.css"; @import "./styles/checkbox/mark.css"; @import "./styles/monogram.css"; @import "./styles/status/base.css"; @import "./styles/activity-line.css"; @import "./styles/tool-call-chip.css"; @import "./styles/disclosure.css"; @import "./styles/diff-view.css"; } @import "./styles/progress/material.css"; @import "./styles/motion.css"; @import "./styles/wizard.css"; @layer caps-app-bar { @import "./styles/app-bar.css"; @import "./styles/card/centered.css"; @import "./styles/launcher-grid/base.css"; @import "./styles/status/label.css"; @import "./styles/action-row/layout.css"; @import "./styles/section-card.css"; @import "./styles/action-row/meta.css"; @import "./styles/data-list/layout.css"; @import "./styles/section-grid.css"; @import "./styles/empty-state/base.css"; @import "./styles/launcher-grid/large.css"; @import "./styles/data-list/heading.css"; @import "./styles/action-row/card.css"; @import "./styles/empty-state/hint.css"; @import "./styles/status/chip.css"; @import "./styles/launcher-grid/selected.css"; @import "./styles/empty-state/quiet.css"; @import "./styles/launcher-grid/dismiss.css"; } @import "./styles/navigation-rail.css"; /* TradingCard: a 63:88 printed card with a bright rim. Its stock comes from the Stipe card tokens, so it prints the same on light and dark pages. */ @import "./styles/trading-card.css"; /* ReleaseTag: a calendar-page release badge with a ruled version list. */ @import "./styles/release-tag/base.css"; @import "./styles/release-tag/motion.css"; /* * Game feedback: flashes, floating numbers and notes over a game world. Motion * is stepped like sprite frames; the host owns placement and removal, and a * paused layer freezes every mark in place. */ /* Resolve the host's light-dark ink before a nested game palette changes color-scheme. The unregistered scrim token keeps standalone scrims local. */ @import "./styles/game-hud/host-ink.css"; @layer caps-game { @import "./styles/window/game.css"; @import "./styles/progress/game.css"; @import "./styles/keycap/game.css"; @import "./styles/pixel-number.css"; @import "./styles/game-feedback/base.css"; @import "./styles/keycap/lamp.css"; @import "./styles/item-grid/base.css"; @import "./styles/game-hud/frame.css"; @import "./styles/game-hud/instruments.css"; @import "./styles/game-hud/minimap.css"; @import "./styles/game-hud/cards.css"; @import "./styles/game-hud/keys.css"; @import "./styles/game-hud/shop.css"; @import "./styles/game-hud/shell.css"; } /* Reduced motion: marks hold still at full strength until the host removes them. (Stipe shortens every animation to nothing under this preference, so a fade would hide a refusal at once.) */ @import "./styles/game-feedback/motion.css"; /* Rough: hand-drawn Rough.js marks (components/rough.tsx, rough-drawing.ts). Until Rough.js draws, or without JavaScript, plain CSS stands in. */ @import "./styles/rough.css"; @import "./styles/game-share-card.css"; @import "./styles/cover-pattern.css"; @import "./styles/chat-bubble/base.css"; /* Typography's prose lives in utilities; the bubble owns its outer padding. */ @import "./styles/chat-bubble/prose.css"; /* Compact visual sizes retain a thumb-sized target on phones and touch screens. */ @import "./styles/touch-targets.css"; /* Low priority, so a caller's own positioning of an icon button still wins. */ @import "./styles/icon-button.css"; @import "./styles/field/description.css"; @import "./styles/input/code.css"; @import "./styles/select/screen.css"; /* Slider on a screen: a segmented level in calm ink. Daisy's range lives in utility sublayers, so these reads sit in the utilities layer. Every value falls back to Daisy's own, so a range off the glass is unchanged. */ @import "./styles/slider.css";