~/designs/flora
Flora
An editorial, lightly neo-brutalist system distilled from the Jasurbek portfolio and Solnoma. Cream paper, sage and terracotta, deep green ink, thick outlines, offset shadows — and hand-cut flowers that stay behind the words.
- version
- 1.0.0
- status
- stable
- updated
- 2026-11-29
- author
- Jasurbek Haydarov
- tags
- #botanical #editorial #neo-brutalist #warm #portfolio #dashboard
- sources
- hexjasur/flora-designhexjasur/jasurbekhexjasur/Solnoma
implement flora in my codebase
One-shot brief for a coding agent: tokens, primitives, decoration rules and a done checklist. for Claude Code · Cursor · Codex
# fill the blanks — leave empty to keep the default
You are working in my existing codebase. Implement the **Flora** design system and restyle the whole app with it. Stack: Next.js (App Router) + TypeScript + Tailwind CSS 4. ## 1. Read before you write - Inspect the project structure, the global stylesheet, the layout file and any existing UI components. - Do not install new UI libraries. Do not rename routes, change data fetching or touch business logic. ## 2. Add the tokens Create `src/styles/flora.css` with exactly these variables and import it once from the global stylesheet: ```css :root { --flora-canvas: #F1E9DC; --flora-surface: #FBF6EC; --flora-surface-hover: #E9DDCD; --flora-ink: #2F4038; --flora-muted: #6D786D; --flora-border: #31473B; --flora-shadow-color: #35483B; --flora-sage: #C7D2B1; --flora-terracotta: #B86752; --flora-rose: #DDA095; --flora-botanical-blue: #82998C; --flora-deep-teal: #273A32; --flora-on-dark: #F1E9DC; --flora-radius-button: 8px; --flora-radius-card: 12px; --flora-radius-panel: 18px; --flora-radius-pill: 999px; --flora-shadow-small: 2px 2px 0 var(--flora-shadow-color); --flora-shadow-card: 4px 4px 0 var(--flora-shadow-color); --flora-shadow-large: 6px 6px 0 var(--flora-shadow-color); --flora-font-sans: "DM Sans", ui-sans-serif, system-ui, sans-serif; --flora-font-serif: "DM Serif Display", ui-serif, Georgia, serif; } ``` If Tailwind 4 is present, also map them in an `@theme` block (`--color-canvas`, `--color-paper`, `--color-ink`, `--color-muted`, `--color-line`, `--color-sage`, `--color-terracotta`, `--color-rose`, `--color-botanical`, `--color-teal`, `--shadow-flora`, `--radius-card`) so utilities like `bg-paper shadow-flora rounded-card` work. Load DM Sans (400/500/700) and DM Serif Display (400) with the framework's font loader — `next/font/google` in Next.js — not a render-blocking `<link>`. ## 3. Build these primitives Put them in `src/components/ui`, one file each, typed props, no inline styles: - `Button` — variants default / primary (terracotta) / secondary (sage) / dark / ghost; sizes sm / md / lg / icon. Hover: translate(-2px,-2px) + 4px shadow. Active: translate(2px,2px) + no shadow. - `Card` — paper surface, 2px border, 4px hard shadow; tones paper / sage / dark; optional `href` turns it into a lifting link. - `Pill` — status variants live / wip / paused / archived with a colored dot. - `InputField`, `TextareaField`, `Checkbox` — label, hint and error wired with `aria-describedby`. - `Navbar` — serif brand, pill links with `aria-current`, mobile disclosure menu. - `Callout` — tip / info / warning / danger with an 8px left accent border. - `Hero` — serif title, lead, actions and up to three floral decoration layers. - `Stat` + `DataTable`. ## 4. Botanical decorations - Use transparent WebP florals from `public/flora`. If none exist, leave clearly named placeholders and tell me which files to add. - Decorations are `<img alt="" aria-hidden="true">` with `position:absolute; z-index:-1; pointer-events:none` inside a parent that has `position:relative; isolation:isolate; overflow:hidden`. - Opacity 0.18–0.72. Hide side and bloom layers below 768px; keep one corner. ## 5. Rules that must hold - Shadows are always hard offsets (zero blur). Never use `rgba(0,0,0,.1)` soft shadows. - No gradients, glassmorphism, neon or SaaS blue. - Body text ≥ 16px, contrast ≥ 4.5:1 on canvas, visible focus ring (3px terracotta outline, 3px offset). - Respect `prefers-reduced-motion`. - Flowers never sit on top of text or controls. ## 6. Done means - [ ] `npm run build` and lint pass. - [ ] Every page uses the canvas background and paper surfaces. - [ ] All buttons, cards, inputs and nav come from the new primitives. - [ ] Keyboard-only navigation works and focus is always visible. - [ ] Layout holds at 360px, 768px and 1280px wide. When finished, list the files you created or changed and anything you could not complete.
master design prompt
The full Flora visual language in one paragraph set. Start here for any new surface. for Any AI UI tool
# fill the blanks — leave empty to keep the default
Design a warm botanical digital experience called **Flora** for a thoughtful software engineer or modern developer product. The visual language should feel editorial, tactile, calm, practical and slightly neo-brutalist rather than corporate or generic. Palette: - Warm paper canvas `#F1E9DC`, paper surfaces `#FBF6EC`, hover surface `#E9DDCD` - Deep green ink `#2F4038` for primary text and thick outlines, muted green `#6D786D` for secondary text - Sage `#C7D2B1` as the soft primary accent - Terracotta `#B86752` for actions - Dusty rose `#DDA095` for floral emphasis - Botanical blue `#82998C` for cool contrast - Deep teal `#273A32` for dark surfaces Add restrained botanical decorations: transparent-background floral corner clusters, side branches, small blooms, leaf sprigs and subtle hand-drawn marks. Place them behind the content or at the edges of the composition. Keep their opacity between 18% and 72%, preserve generous negative space, and never let the flowers compete with the main copy or controls. Typography: DM Sans for interface text; DM Serif Display sparingly for names, the hero and major editorial headings. Shapes: rounded cards (12px) with 2–3px dark-green borders, 4–6px offset hard shadows with zero blur, compact uppercase metadata labels, pill-shaped status tags, and confident but friendly buttons that lift on hover and press flat on click. Keep the layout airy, responsive, accessible, keyboard-friendly and easy to scan on mobile. The result should feel like a developer's personal garden: carefully built, honest, useful and a little unexpected. Avoid: neon gradients, glassmorphism, excessive blur, generic SaaS blue, stock photography, ornamental clutter, illegible typography, and flowers placed on top of important text.
landing page
Seven-section product landing page with real copy. for v0 · Lovable · Bolt · agents
# fill the blanks — leave empty to keep the default
Build a single-page product landing site for **Solnoma** — a journaling app that grows a small garden from your writing streak — using the Flora design system. Stack: plain HTML + CSS. Output complete, runnable files. Sections, in this order: 1. Sticky Flora navbar: serif wordmark, 3 anchor links, a terracotta "Start free" button. 2. Hero on a paper panel (3px ink border, 6px hard shadow, 18px radius) with one large floral corner and one faint side sprig behind the text. Status pill, serif headline of at most 8 words, one-sentence lead, primary + secondary buttons, a short line of social proof. 3. Three feature cards in a responsive grid — one of them sage-tinted. 4. "How it works" as a real numbered sequence of 3 steps with rose number badges. 5. Two pricing cards; the paid plan uses the deep teal card. 6. Closing call to action on a deep teal panel with an email field. 7. Plain footer. Flora tokens: canvas #F1E9DC, surface #FBF6EC, ink #2F4038, muted #6D786D, border #31473B, sage #C7D2B1, terracotta #B86752, rose #DDA095, deep teal #273A32. Fonts: DM Sans + DM Serif Display. Hard offset shadows only. Buttons lift on hover and press flat on click. Write real, specific copy for Solnoma — no lorem ipsum, no "Unlock your potential". Keep it responsive down to 360px, accessible (labels, alt="" on decorations, visible focus) and respect reduced motion.
admin dashboard
Sidebar dashboard with stats, chart, activity and table. for v0 · Lovable · agents
# fill the blanks — leave empty to keep the default
Design and build an admin dashboard for **Greenhouse**, a blog and portfolio CMS, in the Flora design system. Stack: React + TypeScript + Tailwind CSS 4. Layout: - Left sidebar (16rem) on a paper surface with a 3px ink right border: serif brand, nav links (active link = sage background, 2px border, 2px hard shadow), a small sage tip card pinned to the bottom. On screens under 900px the sidebar becomes a horizontal scrollable bar. - Main area on the warm canvas, with one faint floral corner at the top right (opacity ≤ 0.35). - Header: greeting in DM Serif Display, a one-line summary, a range select and a primary terracotta action "New post". - 4 stat tiles: label, big serif tabular number, delta pill (sage for good news, rose for bad news). - A bar chart card (sage bars, highest bar terracotta, 2px ink outline, accessible `role="img"` label listing values) next to an activity feed. - A data table with uppercase muted header row, dashed row dividers, status pills and right-aligned numeric columns. Data: use realistic mock data in a typed `data.ts` file. Rules: hard offset shadows only (2/4/6px), no gradients, no soft grey shadows, no glass. Focus states visible. Numbers use `font-variant-numeric: tabular-nums`.
developer portfolio
Single-sheet portfolio grounded in real projects. for v0 · Lovable · agents
# fill the blanks — leave empty to keep the default
Create a personal portfolio for **Jasurbek Haydarov**, a frontend developer in Tashkent who builds calm interfaces, small tools and desktop apps, in the Flora design system. Stack: Astro + Tailwind CSS 4. Structure: the whole page sits on one paper sheet (3px ink border, 6px hard shadow, 18px radius) centered on the warm canvas, with a floral corner top-right and a faint branch bottom-left behind the content. 1. Header: lowercase serif logo, pill nav (Work / Writing / Contact) with `aria-current`. 2. Intro: round sage avatar with a 3px border and hard shadow, name in DM Serif Display, one-sentence role, an "Available for projects" live pill and 3 tech pills. 3. Selected work: 3 project cards that lift on hover — meta line (type · year), title, one-sentence description, tech pills. 4. Writing: a list of recent posts with dates, dashed dividers. 5. Contact: one serif line and a terracotta "Email me" button. Projects to feature: Numeric Methods (Tauri desktop app), Solnoma (Next.js journaling app), AGENTS.md kit (open source). Copy should be specific and grounded in real projects: what was built, who it helps, the main tech, a link. Tone: curious, calm, practical, technically credible. Make it responsive, accessible and fast (no client JS needed).
any component
Build one new component that follows every Flora rule. for Any coding agent
# fill the blanks — leave empty to keep the default
Build a **pricing table with monthly / yearly toggle** component in the Flora design system. Stack: React + TypeScript, styled with plain CSS using the Flora custom properties. Flora rules to follow: - Surfaces: paper `#FBF6EC` on canvas `#F1E9DC`; dark variant on deep teal `#273A32` with cream text. - Borders: 2px `#31473B` (3px for page-level panels). Radius 8px buttons / 12px cards / 999px pills. - Shadows: hard offsets only — 2px small, 4px card, 6px large, color `#35483B`. Interactive elements translate(-2px,-2px) on hover and translate(2px,2px) with no shadow on press. - Accents: terracotta `#B86752` for the primary action, sage `#C7D2B1` for selected/soft states, rose `#DDA095` for floral emphasis. - Type: DM Sans for UI; DM Serif Display only for large numbers or the title. - Accessibility: semantic elements, keyboard support, visible 3px terracotta focus ring, ARIA only where native semantics don't cover it. Deliver: the component file, its CSS, a usage example, and a short list of props. Keep it self-contained and copy-pasteable.
audit & fix a page
Check an existing page against Flora and fix drift. for Claude Code · Cursor
# fill the blanks — leave empty to keep the default
Audit the current page against the Flora design system and fix what doesn't match. Work file by file and keep changes minimal. Check, in this order: 1. **Color** — only Flora tokens are used (canvas #F1E9DC, surface #FBF6EC, ink #2F4038, muted #6D786D, border #31473B, sage #C7D2B1, terracotta #B86752, rose #DDA095, botanical blue #82998C, deep teal #273A32). Replace stray hex values with the matching `--flora-*` variable. 2. **Shadows** — every shadow is a hard offset with zero blur. Replace any soft/blurred shadow. 3. **Borders + radius** — 2px ink borders on cards and controls, 3px on page panels; radius 8 / 12 / 18 / pill. 4. **Type** — DM Sans for UI, DM Serif Display only for hero, names and section openers. Body ≥ 16px. 5. **Decorations** — florals are behind content, `aria-hidden`, `pointer-events:none`, opacity 0.18–0.72, side layers hidden under 768px. 6. **Interaction** — hover lift / press flat on buttons and link cards; visible focus ring everywhere. 7. **Accessibility** — contrast ≥ 4.5:1, labels on inputs, alt text on meaningful images. Report a table: issue · file · fix applied. Then list anything you chose not to change and why.
copy in the flora voice
Headlines, descriptions, errors and toasts that sound calm and specific. for Any LLM
# fill the blanks — leave empty to keep the default
Write interface and page copy for **my portfolio** in the Flora voice.
Context: a frontend developer's personal site with projects, a blog and small tools.
Voice: curious, calm, practical, technically credible. Specific over clever. Sentence case. Plain verbs. No filler, no hype words ("unlock", "supercharge", "seamless", "revolutionary"), no exclamation marks.
Deliver:
1. Hero headline (max 8 words) + one-sentence lead + two button labels that say exactly what happens.
2. Three short section intros (one sentence each).
3. 3 project or feature descriptions: what it is, who it helps, main tech — one or two sentences each.
4. Empty state, error message and success toast for the contact form. Errors say what went wrong and how to fix it; they don't apologize.
5. Footer line.
Keep every label consistent through a flow: the button that says "Send note" produces a toast that says "Note sent".
floral decoration
Transparent botanical overlay that matches the palette. for Image models
# fill the blanks — leave empty to keep the default
Create a transparent-background botanical decoration for a warm editorial developer portfolio. Draw a hand-cut collage of soft sage leaves, dusty rose flowers, muted terracotta petals and deep green outlines. Use an imperfect but intentional illustrated style, gentle paper texture and restrained contrast. Composition: a corner cluster that grows in from the top-right edge. No text, no logo, no frame, no white rectangle, no background and no photorealistic scene. The composition should have a clear transparent edge and work as a corner or side overlay on a `#F1E9DC` cream canvas. Palette reference: sage #C7D2B1, dusty rose #DDA095, terracotta #B86752, deep green #2F4038, botanical blue #82998C. Output: PNG with alpha, 2048×2048.
portrait color grade
Warm editorial grade that keeps identity intact. for Image editors
# fill the blanks — leave empty to keep the default
Edit the provided portrait for a flora-inspired developer portfolio. Preserve the person's exact identity, facial features, expression, pose, hairstyle, clothing, proportions and framing. Apply a restrained editorial grade with warm cream highlights, muted sage shadows, subtle dusty rose and terracotta accents, soft natural contrast and a gentle matte finish. Keep it realistic and professional. Do not add flowers, text, logos or props, and do not change the background composition. Avoid oversaturation, skin-tone distortion, painterly effects and identity drift. Intensity: subtle.