Sequence Glass Genomics
A portable design language for agents: download the markdown first, then inspect the preview, tokens, and rules as needed.
Download DESIGN.md
Portable DESIGN.md source of truth for most agents and apps.
specification
philosophy
tokens
borders4 items
- accent width
- 2px
- character
- Even cool-gray hairlines with occasional full-outline turquoise or indigo focus rings; no uneven borders or chipped corners.
- default width
- 1px
- style
- solid
colors12 items
motion3 items
- duration
- 180ms
- easing
- cubic-bezier(0.2, 0.8, 0.2, 1)
- philosophy
- Small sequence chips brighten, compress, or slide one step on interaction; panels do not bounce or perform decorative science animations.
radii5 items
- full
- 9999px
- lg
- 20px
- md
- 14px
- none
- 0
- sm
- 8px
shadows3 items
- lg
- 0 22px 60px rgba(20,32,51,0.12)
- md
- 0 10px 30px rgba(20,32,51,0.08)
- sm
- 0 1px 2px rgba(20,32,51,0.06)
spacing2 items
- base
- 8px
- scale
- 4, 8, 12, 16, 24, 32, 48, 64
surfaces3 items
- bg pattern
- Plain neutral background; sequence pixels appear only in semantic ribbons, locus chips, and data micro-illustrations, never as a repeated grid.
- card style
- 20px rounded white cards, one-pixel cool gray border, restrained shadow, no colored stripe or rail accents.
- treatment
- Clean white product planes with selected glass panels using faint cool linear gradients only inside active genomic modules.
typography8 items
- base size
- 16px
- body font
- Instrument Sans
- google fonts url
- https://fonts.googleapis.com/css2?family=Fragment+Mono:ital@0;1&family=Instrument+Sans:ital,wght@0,400;0,500;0,600;0,700;1,500&display=swap
- heading font
- Instrument Sans
- letter spacing
- -0.018em
- line height
- 1.52
- mono font
- Fragment Mono
- scale ratio
- 1.22
rules
Compose screens as a calm product workspace with a wide hero decision area, compact sequence evidence modules, and one contextual detail rail that is informational rather than decorative.
Balanced density: generous outer whitespace and compact sequence rows inside cards so the product feels precise without becoming a lab dashboard.
Lead with plain-language genomic decisions, then show sequence evidence through small chip rhythms, confidence badges, and concise tables; color always maps to meaning.
layout
mobile 375px, tablet 768px, desktop 1200px, wide 1440px
Twelve-column desktop workspace with asymmetric 7/5 content split, collapsing to two-column tablet cards and single-column mobile flow.
Large page gutters and 24-32px card gaps protect the white surface; sequence details may be dense only within bounded modules.
guidance
- Use nucleobase chips, sequence ribbons, micro-locus badges, and compact evidence tables to make genomics visible at product scale.
- Keep backgrounds white or neutral and reserve cool highlights for selected sequence, confidence, navigation, and primary action semantics.
- Use full outlines, shadows, and subtle glass fills for state changes rather than decorative colored side rails or stripes.
- Write real product labels: variant review, cohort match, sequence confidence, evidence queue, and report readiness.
- Do not use helix wallpaper, molecule constellations, lab beakers, textbook diagrams, rainbow nucleobase colors, or neon cyberpunk gradients.
- Do not use square-grid backgrounds, dotted default textures, decorative card stripes, colored side rails, chipped corners, or uneven borders.
- Do not make a generic dashboard of KPI tiles; every module should advance a genomic interpretation workflow.
- Do not let pixel styling become a retro game skin; keep chips small, rounded, and tied to labels and sequence data.
katagami spec
# Sequence Glass Genomics ## Philosophy Sequence Glass Genomics is a clean product-interface language for interpreting genomic work as precise sequence structure: calm white planes, cool semantic highlights, and pixel-like nucleobase chips that behave as product information rather than biotech ornament. ### Values - Genetic meaning expressed through modular sequence rhythm instead of literal helix decoration. - White and neutral surfaces remain dominant so highlights carry status, confidence, and selection meaning. - Pixel styling is crisp, tiny, and product-scaled: sequence chips, data glyphs, quantized strands, and micro-icons. - The interface feels like a modern decision tool, not a lab dashboard, textbook figure, or game skin. ### Anti-Values - No DNA helix wallpaper, molecule garnish, rainbow base palettes, square-grid backgrounds, or dotted default texture. - No decorative left rails, colored side stripes, chipped corners, uneven borders, or generic medical SaaS cards. - No dense lab-monitor dashboard chrome or textbook explanatory diagrams masquerading as UI. ### Visual Character - Use layered white cards with hairline cool-gray borders, 20px committed radii, and shallow vertical shadows to create quiet product depth without colored side rails. - Build gene motifs from small rounded-rectangle nucleobase chips and 2px quantized strand segments placed inline with real labels, never as wallpaper or square-grid background. - Apply a limited cool highlight system where indigo marks primary actions, turquoise marks active sequence selection, and green marks confidence or completion states. - Set broad whitespace gutters around compact data modules, with sequence ribbons crossing between panels as semantic connectors rather than decorative dividers. - Use soft glassy underlays with subtle linear blue-turquoise washes inside selected modules only, keeping the page background clean white and neutral. ## Tokens ### Borders - **Accent Width**: 2px - **Character**: Even cool-gray hairlines with occasional full-outline turquoise or indigo focus rings; no uneven borders or chipped corners. - **Default Width**: 1px - **Style**: solid ### Colors | Name | Value | |------|-------| | accent | `#24B26B` | | background | `#F8FAFC` | | border | `#DCE4EE` | | error | `#D94D4D` | | info | `#2D7DE1` | | muted | `#6B778A` | | primary | `#3454D1` | | secondary | `#0E9F9A` | | success | `#20A464` | | surface | `#FFFFFF` | | text | `#142033` | | warning | `#C8871E` | ### Motion - **Duration**: 180ms - **Easing**: cubic-bezier(0.2, 0.8, 0.2, 1) - **Philosophy**: Small sequence chips brighten, compress, or slide one step on interaction; panels do not bounce or perform decorative science animations. ### Radii - **Full**: 9999px - **Lg**: 20px - **Md**: 14px - **None**: 0 - **Sm**: 8px ### Shadows - **Lg**: 0 22px 60px rgba(20,32,51,0.12) - **Md**: 0 10px 30px rgba(20,32,51,0.08) - **Sm**: 0 1px 2px rgba(20,32,51,0.06) ### Spacing - **Base**: 8px - **Scale**: [4,8,12,16,24,32,48,64] ### Surfaces - **Bg Pattern**: Plain neutral background; sequence pixels appear only in semantic ribbons, locus chips, and data micro-illustrations, never as a repeated grid. - **Card Style**: 20px rounded white cards, one-pixel cool gray border, restrained shadow, no colored stripe or rail accents. - **Treatment**: Clean white product planes with selected glass panels using faint cool linear gradients only inside active genomic modules. ### Typography - **Base Size**: 16px - **Body Font**: Instrument Sans - **Google Fonts Url**: https://fonts.googleapis.com/css2?family=Fragment+Mono:ital@0;1&family=Instrument+Sans:ital,wght@0,400;0,500;0,600;0,700;1,500&display=swap - **Heading Font**: Instrument Sans - **Letter Spacing**: -0.018em - **Line Height**: 1.52 - **Mono Font**: Fragment Mono - **Scale Ratio**: 1.22 ## Rules ### Composition Compose screens as a calm product workspace with a wide hero decision area, compact sequence evidence modules, and one contextual detail rail that is informational rather than decorative. ### Density Balanced density: generous outer whitespace and compact sequence rows inside cards so the product feels precise without becoming a lab dashboard. ### Hierarchy Lead with plain-language genomic decisions, then show sequence evidence through small chip rhythms, confidence badges, and concise tables; color always maps to meaning. ### Signature Patterns - Quantized sequence ribbon: inline rounded nucleobase chips connected by 2px segments, with selected chips filled turquoise and the rest neutral blue-gray. - Variant glass module: active cards receive a faint blue-to-turquoise inset wash plus a complete 2px focus outline, never a side stripe or colored rail. - Micro-locus badges: small mono-coded pills combine chromosome labels, pixel glyph clusters, and confidence dots as semantic component labels. - Sequence-to-decision connector: short stepped connector lines travel between cards using right-angle-free soft segments and chip endpoints, not a square grid. - Evidence table rhythm: rows contain tiny sequence block previews and cool status badges so genomic data appears as product affordances rather than decoration. ## Layout ### Breakpoints mobile 375px, tablet 768px, desktop 1200px, wide 1440px ### Grid Twelve-column desktop workspace with asymmetric 7/5 content split, collapsing to two-column tablet cards and single-column mobile flow. ### Whitespace Large page gutters and 24-32px card gaps protect the white surface; sequence details may be dense only within bounded modules. ## Guidance ### Do - Use nucleobase chips, sequence ribbons, micro-locus badges, and compact evidence tables to make genomics visible at product scale. - Keep backgrounds white or neutral and reserve cool highlights for selected sequence, confidence, navigation, and primary action semantics. - Use full outlines, shadows, and subtle glass fills for state changes rather than decorative colored side rails or stripes. - Write real product labels: variant review, cohort match, sequence confidence, evidence queue, and report readiness. ### Don't - Do not use helix wallpaper, molecule constellations, lab beakers, textbook diagrams, rainbow nucleobase colors, or neon cyberpunk gradients. - Do not use square-grid backgrounds, dotted default textures, decorative card stripes, colored side rails, chipped corners, or uneven borders. - Do not make a generic dashboard of KPI tiles; every module should advance a genomic interpretation workflow. - Do not let pixel styling become a retro game skin; keep chips small, rounded, and tied to labels and sequence data. ### Candidate Directions Considered - Glass Sequence Workbench: strongest product usefulness and restraint; selected for semantic pixel ribbons and calm surfaces. - Locus Ledger Minimalism: fresh table-first direction but risked becoming accounting-like and less visually distinctive. - Genome Card Sorter: useful for workflows but too close to generic SaaS cards without the sequence ribbon as a strong motif. - Clinical Signal Notation: elegant but drifted toward medical SaaS and lab dashboard conventions. ### Chosen Direction Rationale Glass Sequence Workbench best balances fresh product minimalism, limited cool highlights, DNA pixel motif quality, and avoidance of lab-dashboard cliches.
DESIGN.md
---
version: "alpha"
name: "Sequence Glass Genomics"
description: "Agent-curated design language exported from Katagami as DESIGN.md."
colors:
accent: "#24B26B"
background: "#F8FAFC"
border: "#DCE4EE"
error: "#D94D4D"
info: "#2D7DE1"
muted: "#6B778A"
primary: "#3454D1"
secondary: "#0E9F9A"
success: "#20A464"
surface: "#FFFFFF"
text: "#142033"
warning: "#C8871E"
typography:
headline-lg:
fontFamily: "Instrument Sans"
fontSize: "1.816rem"
fontWeight: 700
lineHeight: 1.1
letterSpacing: "-0.018em"
headline-md:
fontFamily: "Instrument Sans"
fontSize: "1.488rem"
fontWeight: 600
lineHeight: 1.15
letterSpacing: "-0.018em"
body-md:
fontFamily: "Instrument Sans"
fontSize: "16px"
fontWeight: 400
lineHeight: 1.52
letterSpacing: "-0.018em"
label-md:
fontFamily: "Fragment Mono"
fontSize: "0.75rem"
fontWeight: 600
lineHeight: 1
letterSpacing: "0.08em"
rounded:
full: "9999px"
lg: "20px"
md: "14px"
none: "0px"
sm: "8px"
spacing:
base: "8px"
xs: "4px"
sm: "8px"
md: "12px"
lg: "16px"
xl: "24px"
2xl: "32px"
3xl: "48px"
4xl: "64px"
components:
color-reference-accent:
backgroundColor: "{colors.accent}"
color-reference-background:
backgroundColor: "{colors.background}"
color-reference-border:
backgroundColor: "{colors.border}"
color-reference-error:
backgroundColor: "{colors.error}"
color-reference-info:
backgroundColor: "{colors.info}"
color-reference-muted:
backgroundColor: "{colors.muted}"
color-reference-primary:
backgroundColor: "{colors.primary}"
color-reference-secondary:
backgroundColor: "{colors.secondary}"
color-reference-success:
backgroundColor: "{colors.success}"
color-reference-surface:
backgroundColor: "{colors.surface}"
color-reference-text:
backgroundColor: "{colors.text}"
color-reference-warning:
backgroundColor: "{colors.warning}"
button-primary:
backgroundColor: "{colors.primary}"
textColor: "#ffffff"
typography: "{typography.label-md}"
rounded: "{rounded.md}"
padding: "{spacing.md}"
card-surface:
backgroundColor: "{colors.surface}"
textColor: "{colors.text}"
rounded: "{rounded.md}"
padding: "{spacing.md}"
input-default:
backgroundColor: "{colors.surface}"
textColor: "{colors.text}"
rounded: "{rounded.md}"
height: "44px"
---
# Sequence Glass Genomics
## Overview
Sequence Glass Genomics is a clean product-interface language for interpreting genomic work as precise sequence structure: calm white planes, cool semantic highlights, and pixel-like nucleobase chips that behave as product information rather than biotech ornament.
### Values
- Genetic meaning expressed through modular sequence rhythm instead of literal helix decoration.
- White and neutral surfaces remain dominant so highlights carry status, confidence, and selection meaning.
- Pixel styling is crisp, tiny, and product-scaled: sequence chips, data glyphs, quantized strands, and micro-icons.
- The interface feels like a modern decision tool, not a lab dashboard, textbook figure, or game skin.
### Anti-Values
- No DNA helix wallpaper, molecule garnish, rainbow base palettes, square-grid backgrounds, or dotted default texture.
- No decorative left rails, colored side stripes, chipped corners, uneven borders, or generic medical SaaS cards.
- No dense lab-monitor dashboard chrome or textbook explanatory diagrams masquerading as UI.
### Visual Character
- Use layered white cards with hairline cool-gray borders, 20px committed radii, and shallow vertical shadows to create quiet product depth without colored side rails.
- Build gene motifs from small rounded-rectangle nucleobase chips and 2px quantized strand segments placed inline with real labels, never as wallpaper or square-grid background.
- Apply a limited cool highlight system where indigo marks primary actions, turquoise marks active sequence selection, and green marks confidence or completion states.
- Set broad whitespace gutters around compact data modules, with sequence ribbons crossing between panels as semantic connectors rather than decorative dividers.
- Use soft glassy underlays with subtle linear blue-turquoise washes inside selected modules only, keeping the page background clean white and neutral.
## Colors
Use the YAML color tokens as the normative palette. The prose below names the roles agents should preserve when generating UI.
| Token | Value |
|-------|-------|
| accent | `#24B26B` |
| background | `#F8FAFC` |
| border | `#DCE4EE` |
| error | `#D94D4D` |
| info | `#2D7DE1` |
| muted | `#6B778A` |
| primary | `#3454D1` |
| secondary | `#0E9F9A` |
| success | `#20A464` |
| surface | `#FFFFFF` |
| text | `#142033` |
| warning | `#C8871E` |
## Typography
- **Headline-Lg**: Instrument Sans, 1.816rem, weight 700, line-height 1.1.
- **Headline-Md**: Instrument Sans, 1.488rem, weight 600, line-height 1.15.
- **Body-Md**: Instrument Sans, 16px, weight 400, line-height 1.52.
- **Label-Md**: Fragment Mono, 0.75rem, weight 600, line-height 1.
## Layout
### Spacing Tokens
- **Base**: `8px`
- **Xs**: `4px`
- **Sm**: `8px`
- **Md**: `12px`
- **Lg**: `16px`
- **Xl**: `24px`
- **2xl**: `32px`
- **3xl**: `48px`
- **4xl**: `64px`
### Breakpoints
mobile 375px, tablet 768px, desktop 1200px, wide 1440px
### Grid
Twelve-column desktop workspace with asymmetric 7/5 content split, collapsing to two-column tablet cards and single-column mobile flow.
### Whitespace
Large page gutters and 24-32px card gaps protect the white surface; sequence details may be dense only within bounded modules.
## Elevation & Depth
### Shadows
- **Lg**: 0 22px 60px rgba(20,32,51,0.12)
- **Md**: 0 10px 30px rgba(20,32,51,0.08)
- **Sm**: 0 1px 2px rgba(20,32,51,0.06)
## Shapes
### Rounded
- **Full**: `9999px`
- **Lg**: `20px`
- **Md**: `14px`
- **None**: `0px`
- **Sm**: `8px`
### Surfaces
- **Bg Pattern**: Plain neutral background; sequence pixels appear only in semantic ribbons, locus chips, and data micro-illustrations, never as a repeated grid.
- **Card Style**: 20px rounded white cards, one-pixel cool gray border, restrained shadow, no colored stripe or rail accents.
- **Treatment**: Clean white product planes with selected glass panels using faint cool linear gradients only inside active genomic modules.
### Borders
- **Accent Width**: 2px
- **Character**: Even cool-gray hairlines with occasional full-outline turquoise or indigo focus rings; no uneven borders or chipped corners.
- **Default Width**: 1px
- **Style**: solid
## Components
### Composition
Compose screens as a calm product workspace with a wide hero decision area, compact sequence evidence modules, and one contextual detail rail that is informational rather than decorative.
### Density
Balanced density: generous outer whitespace and compact sequence rows inside cards so the product feels precise without becoming a lab dashboard.
### Hierarchy
Lead with plain-language genomic decisions, then show sequence evidence through small chip rhythms, confidence badges, and concise tables; color always maps to meaning.
### Signature Patterns
- Quantized sequence ribbon: inline rounded nucleobase chips connected by 2px segments, with selected chips filled turquoise and the rest neutral blue-gray.
- Variant glass module: active cards receive a faint blue-to-turquoise inset wash plus a complete 2px focus outline, never a side stripe or colored rail.
- Micro-locus badges: small mono-coded pills combine chromosome labels, pixel glyph clusters, and confidence dots as semantic component labels.
- Sequence-to-decision connector: short stepped connector lines travel between cards using right-angle-free soft segments and chip endpoints, not a square grid.
- Evidence table rhythm: rows contain tiny sequence block previews and cool status badges so genomic data appears as product affordances rather than decoration.
## shadcn/ui Usage
When the target app uses shadcn/ui, copy DESIGN.md with shadcn instead of the plain DESIGN.md. It contains the same Katagami design-language source plus the shadcn/ui primitives, imports, theme variables, component recipes, and preview-shot guidance.
DESIGN.md with shadcn: `/language/en-019e4bd3-759e-7782-badd-ee47545abea5/DESIGN.with-shadcn.md`.
The shadcn page also exposes optional machine-readable files for automation, but the human-facing handoff is DESIGN.md with shadcn.
Install recommended primitives with `npx shadcn@latest add button card input textarea select dialog sheet tabs badge separator checkbox switch slider tooltip dropdown-menu table`.
Use these primitives in shadcn apps:
- button
- card
- input
- textarea
- select
- dialog
- sheet
- tabs
- badge
- separator
- checkbox
- switch
- slider
- tooltip
- dropdown-menu
- table
Implementation rule for agents: import shadcn primitives from `@/components/ui/*`, apply the generated CSS variables first, then compose the language-specific recipes from the companion MD. Katagami remains the source of truth; shadcn names are the implementation surface.
## Do's and Don'ts
- Do Use nucleobase chips, sequence ribbons, micro-locus badges, and compact evidence tables to make genomics visible at product scale.
- Do Keep backgrounds white or neutral and reserve cool highlights for selected sequence, confidence, navigation, and primary action semantics.
- Do Use full outlines, shadows, and subtle glass fills for state changes rather than decorative colored side rails or stripes.
- Do Write real product labels: variant review, cohort match, sequence confidence, evidence queue, and report readiness.
- Don't Do not use helix wallpaper, molecule constellations, lab beakers, textbook diagrams, rainbow nucleobase colors, or neon cyberpunk gradients.
- Don't Do not use square-grid backgrounds, dotted default textures, decorative card stripes, colored side rails, chipped corners, or uneven borders.
- Don't Do not make a generic dashboard of KPI tiles; every module should advance a genomic interpretation workflow.
- Don't Do not let pixel styling become a retro game skin; keep chips small, rounded, and tied to labels and sequence data.
### Candidate Directions Considered
- Glass Sequence Workbench: strongest product usefulness and restraint; selected for semantic pixel ribbons and calm surfaces.
- Locus Ledger Minimalism: fresh table-first direction but risked becoming accounting-like and less visually distinctive.
- Genome Card Sorter: useful for workflows but too close to generic SaaS cards without the sequence ribbon as a strong motif.
- Clinical Signal Notation: elegant but drifted toward medical SaaS and lab dashboard conventions.
### Chosen Direction Rationale
Glass Sequence Workbench best balances fresh product minimalism, limited cool highlights, DNA pixel motif quality, and avoidance of lab-dashboard cliches.
shadcn/ui theme
```json
{
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
"name": "sequence-glass-genomics",
"type": "registry:theme",
"title": "Sequence Glass Genomics shadcn Theme",
"cssVars": {
"theme": {},
"light": {
"background": "#F8FAFC",
"foreground": "#142033",
"card": "#FFFFFF",
"card-foreground": "#142033",
"popover": "#FFFFFF",
"popover-foreground": "#142033",
"primary": "#3454D1",
"primary-foreground": "#ffffff",
"secondary": "#0E9F9A",
"secondary-foreground": "#ffffff",
"muted": "#6B778A",
"muted-foreground": "#142033",
"accent": "#24B26B",
"accent-foreground": "#ffffff",
"destructive": "#D94D4D",
"border": "#DCE4EE",
"input": "#DCE4EE",
"ring": "#24B26B",
"chart-1": "#3454D1",
"chart-2": "#0E9F9A",
"chart-3": "#24B26B",
"chart-4": "#20A464",
"chart-5": "#C8871E",
"sidebar": "#FFFFFF",
"sidebar-foreground": "#142033",
"sidebar-primary": "#3454D1",
"sidebar-primary-foreground": "#ffffff",
"sidebar-accent": "#2D7DE1",
"sidebar-accent-foreground": "#ffffff",
"sidebar-border": "#DCE4EE",
"sidebar-ring": "#24B26B",
"radius": "14px"
},
"dark": {
"background": "#0f1115",
"foreground": "#f8fafc",
"card": "#181b22",
"card-foreground": "#f8fafc",
"popover": "#181b22",
"popover-foreground": "#f8fafc",
"primary": "#3454D1",
"primary-foreground": "#ffffff",
"secondary": "#252a33",
"secondary-foreground": "#f8fafc",
"muted": "#252a33",
"muted-foreground": "#a1a1aa",
"accent": "#24B26B",
"accent-foreground": "#ffffff",
"destructive": "#D94D4D",
"border": "#303642",
"input": "#303642",
"ring": "#24B26B",
"chart-1": "#3454D1",
"chart-2": "#0E9F9A",
"chart-3": "#24B26B",
"chart-4": "#20A464",
"chart-5": "#C8871E",
"sidebar": "#181b22",
"sidebar-foreground": "#f8fafc",
"sidebar-primary": "#3454D1",
"sidebar-primary-foreground": "#ffffff",
"sidebar-accent": "#24B26B",
"sidebar-accent-foreground": "#ffffff",
"sidebar-border": "#303642",
"sidebar-ring": "#24B26B",
"radius": "14px"
}
},
"meta": {
"source": "katagami",
"languageId": "en-019e4bd3-759e-7782-badd-ee47545abea5",
"slug": "sequence-glass-genomics",
"componentManifest": [
"button",
"card",
"input",
"textarea",
"select",
"dialog",
"sheet",
"tabs",
"badge",
"separator",
"checkbox",
"switch",
"slider",
"tooltip",
"dropdown-menu",
"table"
],
"installCommand": "npx shadcn@latest add button card input textarea select dialog sheet tabs badge separator checkbox switch slider tooltip dropdown-menu table",
"nativeTokenNames": {
"borders": [
"accent_width",
"character",
"default_width",
"style"
],
"colors": [
"accent",
"background",
"border",
"error",
"info",
"muted",
"primary",
"secondary",
"success",
"surface",
"text",
"warning"
],
"motion": [
"duration",
"easing",
"philosophy"
],
"radii": [
"full",
"lg",
"md",
"none",
"sm"
],
"shadows": [
"lg",
"md",
"sm"
],
"spacing": [
"base",
"scale"
],
"surfaces": [
"bg_pattern",
"card_style",
"treatment"
],
"typography": [
"base_size",
"body_font",
"google_fonts_url",
"heading_font",
"letter_spacing",
"line_height",
"mono_font",
"scale_ratio"
]
}
}
}
```embodiments
at a glance
Typography
The quick brown fox jumps
The quick brown fox jumps
The quick brown fox jumps
The quick brown fox jumps
Components
Components rendered with this language’s tokens — colors, type, and rounded corners as specified.
Spacing
- base8px
- xs4px
- sm8px
- md12px
- lg16px
- xl24px
- 2xl32px
- 3xl48px
- 4xl64px
Shape
implementation kit
Sequence Glass Genomics
Agent-authored scenes, component recipes, and visual profile rendered on local shadcn-style primitives.
Prioritize high-confidence variants
A calm dashboard for moving candidate genomic findings from sequence alignment to clinical review.
Edit interpretation with traceable evidence
Rounded glass cards hold fields, sequence textarea, tabs, and confidence controls without decorative lab clichés.
Triage cohorts with precise controls
A dense but legible operations screen with tables, sheets, dropdown actions, switches, sliders, tooltips, and semantic badges.
DESIGN.md with shadcn
Copy this when the target app uses shadcn/ui. It packages the Katagami DESIGN.md context with the install list, theme variables, component recipes, preview-shot contract, and starter TSX in one Markdown companion.
advanced implementation filesoptional machine-readable theme, CSS, TSX starter, recipes, and preview contract
npx shadcn@latest add button card input textarea select dialog sheet tabs badge separator checkbox switch slider tooltip dropdown-menu table:root {
--background: #F8FAFC;
--foreground: #142033;
--card: #FFFFFF;
--card-foreground: #142033;
--popover: #FFFFFF;
--popover-foreground: #142033;
--primary: #3454D1;
--primary-foreground: #ffffff;
--secondary: #0E9F9A;
--secondary-foreground: #ffffff;
--muted: #6B778A;
--muted-foreground: #142033;
--accent: #24B26B;
--accent-foreground: #ffffff;
--destructive: #D94D4D;
--border: #DCE4EE;
--input: #DCE4EE;
--ring: #24B26B;
--chart-1: #3454D1;
--chart-2: #0E9F9A;
--chart-3: #24B26B;
--chart-4: #20A464;
--chart-5: #C8871E;
--sidebar: #FFFFFF;
--sidebar-foreground: #142033;
--sidebar-primary: #3454D1;
--sidebar-primary-foreground: #ffffff;
--sidebar-accent: #2D7DE1;
--sidebar-accent-foreground: #ffffff;
--sidebar-border: #DCE4EE;
--sidebar-ring: #24B26B;
--radius: 14px;
}
.dark {
--background: #0f1115;
--foreground: #f8fafc;
--card: #181b22;
--card-foreground: #f8fafc;
--popover: #181b22;
--popover-foreground: #f8fafc;
--primary: #3454D1;
--primary-foreground: #ffffff;
--secondary: #252a33;
--secondary-foreground: #f8fafc;
--muted: #252a33;
--muted-foreground: #a1a1aa;
--accent: #24B26B;
--accent-foreground: #ffffff;
--destructive: #D94D4D;
--border: #303642;
--input: #303642;
--ring: #24B26B;
--chart-1: #3454D1;
--chart-2: #0E9F9A;
--chart-3: #24B26B;
--chart-4: #20A464;
--chart-5: #C8871E;
--sidebar: #181b22;
--sidebar-foreground: #f8fafc;
--sidebar-primary: #3454D1;
--sidebar-primary-foreground: #ffffff;
--sidebar-accent: #24B26B;
--sidebar-accent-foreground: #ffffff;
--sidebar-border: #303642;
--sidebar-ring: #24B26B;
--radius: 14px;
}
import { Badge } from "@/components/ui/badge";
import { Button } from "@/components/ui/button";
import {
Card,
CardContent,
CardDescription,
CardFooter,
CardHeader,
CardTitle,
} from "@/components/ui/card";
import { Input } from "@/components/ui/input";
import { Tabs, TabsList, TabsTrigger } from "@/components/ui/tabs";
export function SequenceGlassGenomicsShadcnKit() {
return (
<section className="grid gap-4 rounded-[var(--radius)] border bg-background p-4 text-foreground">
<div className="flex items-start justify-between gap-4">
<div>
<Badge variant="outline">shadcn/ui</Badge>
<h2 className="mt-3 text-2xl font-semibold tracking-tight">Sequence Glass Genomics</h2>
<p className="mt-1 max-w-xl text-sm text-muted-foreground">
Use the Katagami registry theme, then compose these shadcn primitives
with the language-specific component recipes.
</p>
</div>
<Button>Apply theme</Button>
</div>
<Tabs defaultValue="components">
<TabsList>
<TabsTrigger value="components">Components</TabsTrigger>
<TabsTrigger value="states">States</TabsTrigger>
<TabsTrigger value="export">Export</TabsTrigger>
</TabsList>
</Tabs>
<Card>
<CardHeader>
<CardTitle>Component recipe</CardTitle>
<CardDescription>
Replace this starter content with the agent-authored product scene
from components.md and preview-shots.json.
</CardDescription>
</CardHeader>
<CardContent className="grid gap-3 sm:grid-cols-[1fr_auto]">
<Input defaultValue="Tokenized shadcn surface" aria-label="Recipe name" />
<Button variant="secondary">Preview state</Button>
</CardContent>
<CardFooter className="justify-between">
<Badge>Ready</Badge>
<Button variant="outline">Copy recipe</Button>
</CardFooter>
</Card>
</section>
);
}
{
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
"cssVars": {
"dark": {
"accent": "#24B26B",
"accent-foreground": "#ffffff",
"background": "#0f1115",
"border": "#303642",
"card": "#181b22",
"card-foreground": "#f8fafc",
"chart-1": "#3454D1",
"chart-2": "#0E9F9A",
"chart-3": "#24B26B",
"chart-4": "#20A464",
"chart-5": "#C8871E",
"destructive": "#D94D4D",
"foreground": "#f8fafc",
"input": "#303642",
"muted": "#252a33",
"muted-foreground": "#a1a1aa",
"popover": "#181b22",
"popover-foreground": "#f8fafc",
"primary": "#3454D1",
"primary-foreground": "#ffffff",
"radius": "14px",
"ring": "#24B26B",
"secondary": "#252a33",
"secondary-foreground": "#f8fafc",
"sidebar": "#181b22",
"sidebar-accent": "#24B26B",
"sidebar-accent-foreground": "#ffffff",
"sidebar-border": "#303642",
"sidebar-foreground": "#f8fafc",
"sidebar-primary": "#3454D1",
"sidebar-primary-foreground": "#ffffff",
"sidebar-ring": "#24B26B"
},
"light": {
"accent": "#24B26B",
"accent-foreground": "#ffffff",
"background": "#F8FAFC",
"border": "#DCE4EE",
"card": "#FFFFFF",
"card-foreground": "#142033",
"chart-1": "#3454D1",
"chart-2": "#0E9F9A",
"chart-3": "#24B26B",
"chart-4": "#20A464",
"chart-5": "#C8871E",
"destructive": "#D94D4D",
"foreground": "#142033",
"input": "#DCE4EE",
"muted": "#6B778A",
"muted-foreground": "#142033",
"popover": "#FFFFFF",
"popover-foreground": "#142033",
"primary": "#3454D1",
"primary-foreground": "#ffffff",
"radius": "14px",
"ring": "#24B26B",
"secondary": "#0E9F9A",
"secondary-foreground": "#ffffff",
"sidebar": "#FFFFFF",
"sidebar-accent": "#2D7DE1",
"sidebar-accent-foreground": "#ffffff",
"sidebar-border": "#DCE4EE",
"sidebar-foreground": "#142033",
"sidebar-primary": "#3454D1",
"sidebar-primary-foreground": "#ffffff",
"sidebar-ring": "#24B26B"
},
"theme": {}
},
"meta": {
"componentManifest": [
"button",
"card",
"input",
"textarea",
"select",
"dialog",
"sheet",
"tabs",
"badge",
"separator",
"checkbox",
"switch",
"slider",
"tooltip",
"dropdown-menu",
"table"
],
"installCommand": "npx shadcn@latest add button card input textarea select dialog sheet tabs badge separator checkbox switch slider tooltip dropdown-menu table",
"languageId": "en-019e4bd3-759e-7782-badd-ee47545abea5",
"nativeTokenNames": {
"borders": [
"accent_width",
"character",
"default_width",
"style"
],
"colors": [
"accent",
"background",
"border",
"error",
"info",
"muted",
"primary",
"secondary",
"success",
"surface",
"text",
"warning"
],
"motion": [
"duration",
"easing",
"philosophy"
],
"radii": [
"full",
"lg",
"md",
"none",
"sm"
],
"shadows": [
"lg",
"md",
"sm"
],
"spacing": [
"base",
"scale"
],
"surfaces": [
"bg_pattern",
"card_style",
"treatment"
],
"typography": [
"base_size",
"body_font",
"google_fonts_url",
"heading_font",
"letter_spacing",
"line_height",
"mono_font",
"scale_ratio"
]
},
"slug": "sequence-glass-genomics",
"source": "katagami"
},
"name": "sequence-glass-genomics",
"title": "Sequence Glass Genomics shadcn Theme",
"type": "registry:theme"
}
# shadcn/ui Components for Sequence Glass Genomics
Author: `katagami-agent`
## ShadSync visual profile
Family: clinical genomics workspace. Material: frosted white glass over slate wash. Contour: rounded-rectangle modules with 20px cards, 14px controls, 8px sequence chips, and full locus pills. Border: cool-gray hairline with turquoise focus/selection outlines. Underlay: faint sequence grid and alignment connectors only inside modules. Grain: none. Motion: quiet fade/lift under 180ms. Density: compact but breathable. Accents: indigo command surfaces, turquoise active sequence, green confidence.
## Signature component recipes
### button
Use indigo filled primary buttons with 14px radius, subtle shadow, white text, and turquoise focus ring. Secondary buttons are white glass with slate border. Destructive stays semantic red and never uses genomic accents.
### card
Use white glass cards on a pale slate background with 20px radius, one-pixel #D6DEE9 border, soft shadow, and optional inner sequence grid. Active cards receive a 2px turquoise outline and a faint #ECFEFF inset wash.
### input
Use white fields with 14px radius, cool-gray border, 13px product typography, and turquoise focus ring. Prefix locus labels may use JetBrains Mono.
### textarea
Use the input treatment at larger height for notes or sequence blocks; sequence text uses mono and preserves spacing without decorative rainbow coloring.
### select
Use calm white trigger, 14px radius, slate border, and compact menu rows with mono badges for chromosomes or cohorts.
### dialog
Use centered white-glass evidence dialogs with 20px radius, hairline border, diff summary header, and sticky action footer.
### sheet
Use right-side analysis sheets with layered cards, sequence context rail, and clipped responsive overflow.
### tabs
Use underline or soft pill tabs; active tab uses turquoise wash and indigo text with no neon gradients.
### badge
Use full-radius micro-locus pills; confidence green, review amber, flagged red, neutral slate. Sequence/locus badges use JetBrains Mono.
### separator
Use #D6DEE9 hairlines with generous whitespace; vertical separators only inside dense inspector layouts.
### checkbox
Use 14px rounded boxes with indigo check state and visible turquoise focus ring.
### switch
Use slate track, indigo checked state, and concise labels; avoid glowing toggles.
### slider
Use indigo filled track, slate remainder, round handle, and mono tick labels for thresholds.
### tooltip
Use dark slate tooltip with 8px radius, concise evidence copy, and optional mono locus token.
### dropdown-menu
Use white menu surface with 14px radius, cool-gray border, soft shadow, compact rows, and semantic badge slots.
### table
Use compact evidence tables with sticky header, slate dividers, mono sequence snippets, confidence badges, and row hover wash.
## Preview shots
- `application-shell`: variant discovery dashboard with left navigation, pipeline stats, active sequence glass module, and evidence table.
- `detail-editor`: variant editor with form fields, textarea, dialog preview, tabs, and confidence controls.
- `data-operations`: batch review table with filters, dropdown actions, sheet details, switches, sliders, and status badges.
## Copy-paste component example
```tsx
import { Button } from "@/components/ui/button"
import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card"
import { Badge } from "@/components/ui/badge"
import { Input } from "@/components/ui/input"
export function SequenceGlassReviewCard() {
return (
<Card className="rounded-[20px] border-[#D6DEE9] bg-white/88 shadow-md">
<CardHeader>
<Badge className="w-fit rounded-full bg-[#ECFDF5] font-mono text-[#047857]">chr7:117199644</Badge>
<CardTitle>Variant evidence review</CardTitle>
</CardHeader>
<CardContent className="space-y-4">
<Input className="rounded-[14px] focus-visible:ring-[#06B6D4]" defaultValue="ACGTGCA" />
<Button className="rounded-[14px] bg-[#4F46E5] text-white">Approve sequence</Button>
</CardContent>
</Card>
)
}
```
{
"artifact": "katagami:shadcn-preview-shots",
"author": "katagami-agent",
"componentRecipes": [
{
"component": "button",
"recipe": "Use indigo filled primary buttons with 14px radius, subtle shadow, white text, and turquoise focus ring. Secondary buttons are white glass with slate border. Destructive stays semantic red and never uses genomic accents."
},
{
"component": "card",
"recipe": "Use white glass cards on a pale slate background with 20px radius, one-pixel #D6DEE9 border, soft shadow, and optional inner sequence grid. Active cards receive a 2px turquoise outline and a faint #ECFEFF inset wash."
},
{
"component": "input",
"recipe": "Use white fields with 14px radius, cool-gray border, 13px product typography, and turquoise focus ring. Prefix locus labels may use JetBrains Mono."
},
{
"component": "textarea",
"recipe": "Use the input treatment at larger height for notes or sequence blocks; sequence text uses mono and preserves spacing without decorative rainbow coloring."
},
{
"component": "select",
"recipe": "Use calm white trigger, 14px radius, slate border, and compact menu rows with mono badges for chromosomes or cohorts."
},
{
"component": "dialog",
"recipe": "Use centered white-glass evidence dialogs with 20px radius, hairline border, diff summary header, and sticky action footer."
},
{
"component": "sheet",
"recipe": "Use right-side analysis sheets with layered cards, sequence context rail, and clipped responsive overflow."
},
{
"component": "tabs",
"recipe": "Use underline or soft pill tabs; active tab uses turquoise wash and indigo text with no neon gradients."
},
{
"component": "badge",
"recipe": "Use full-radius micro-locus pills; confidence green, review amber, flagged red, neutral slate. Sequence/locus badges use JetBrains Mono."
},
{
"component": "separator",
"recipe": "Use #D6DEE9 hairlines with generous whitespace; vertical separators only inside dense inspector layouts."
},
{
"component": "checkbox",
"recipe": "Use 14px rounded boxes with indigo check state and visible turquoise focus ring."
},
{
"component": "switch",
"recipe": "Use slate track, indigo checked state, and concise labels; avoid glowing toggles."
},
{
"component": "slider",
"recipe": "Use indigo filled track, slate remainder, round handle, and mono tick labels for thresholds."
},
{
"component": "tooltip",
"recipe": "Use dark slate tooltip with 8px radius, concise evidence copy, and optional mono locus token."
},
{
"component": "dropdown-menu",
"recipe": "Use white menu surface with 14px radius, cool-gray border, soft shadow, compact rows, and semantic badge slots."
},
{
"component": "table",
"recipe": "Use compact evidence tables with sticky header, slate dividers, mono sequence snippets, confidence badges, and row hover wash."
}
],
"generatedBy": "katagami-agent",
"languageId": "en-019e4bd3-759e-7782-badd-ee47545abea5",
"languageSlug": "sequence-glass-genomics",
"renderable": true,
"requiresVisualProfile": true,
"schema": "katagami:shadcn-preview-shots/renderable-v1",
"shots": [
{
"id": "application-shell",
"scene": {
"description": "A calm dashboard for moving candidate genomic findings from sequence alignment to clinical review.",
"eyebrow": "GENOME PIPELINE",
"headline": "Prioritize high-confidence variants",
"primaryAction": "Review active locus",
"rows": [
{
"confidence": "97%",
"gene": "CFTR",
"locus": "chr7:117199644",
"status": "ready"
},
{
"confidence": "91%",
"gene": "KRAS",
"locus": "chr12:25398284",
"status": "review"
},
{
"confidence": "88%",
"gene": "BRCA1",
"locus": "chr17:43071077",
"status": "flagged"
}
],
"secondaryAction": "Export evidence",
"stats": [
{
"label": "Candidates",
"value": "128"
},
{
"label": "High confidence",
"value": "42"
},
{
"label": "Reviewed today",
"value": "17"
}
]
},
"title": "Variant discovery dashboard"
},
{
"id": "detail-editor",
"scene": {
"description": "Rounded glass cards hold fields, sequence textarea, tabs, and confidence controls without decorative lab clichés.",
"eyebrow": "VARIANT DETAIL",
"fields": [
{
"label": "Locus",
"value": "chr7:117199644"
},
{
"label": "Transcript",
"value": "NM_000492.4"
},
{
"label": "Reviewer note",
"value": "Confirm splice-region evidence before sign-off"
}
],
"headline": "Edit interpretation with traceable evidence",
"primaryAction": "Save interpretation",
"secondaryAction": "Open audit dialog",
"stats": [
{
"label": "Depth",
"value": "312x"
},
{
"label": "Allele fraction",
"value": "48%"
},
{
"label": "Evidence tier",
"value": "A"
}
]
},
"title": "Sequence evidence editor"
},
{
"id": "data-operations",
"scene": {
"description": "A dense but legible operations screen with tables, sheets, dropdown actions, switches, sliders, tooltips, and semantic badges.",
"eyebrow": "OPERATIONS",
"fields": [
{
"label": "Confidence threshold",
"value": "85%"
},
{
"label": "Auto-advance reviewed",
"value": "on"
},
{
"label": "Selected cohort",
"value": "oncology"
}
],
"headline": "Triage cohorts with precise controls",
"primaryAction": "Apply filters",
"rows": [
{
"confidence": "94%",
"queue": "oncology",
"sample": "S-1042",
"status": "complete"
},
{
"confidence": "82%",
"queue": "cardio",
"sample": "S-1058",
"status": "needs-review"
},
{
"confidence": "76%",
"queue": "rare-disease",
"sample": "S-1091",
"status": "flagged"
}
],
"secondaryAction": "Open detail sheet"
},
"title": "Batch review operations"
}
],
"version": "preview-shots-v1",
"visualProfile": {
"accents": [
"indigo-primary-actions",
"turquoise-active-sequence",
"green-confidence"
],
"border": "cool-gray-hairline",
"contour": "rounded-rectangles",
"density": "compact-breathable",
"family": "clinical-genomics-workspace",
"grain": false,
"material": "frosted-glass",
"motion": "quiet-fade-lift",
"stickerBadges": false,
"underlay": true
}
}