Project Overview
Manage core configuration and monitor recent activity across environments.
SPEC-001 / INTRODUCTION
Technasm is a closed CSS grammar — design tokens, semantic primitives, and an AI prompt contract. Constraint over creativity. System over entropy.
META
SPEC-002 / PROMPT CONTRACT
This is the product. The contract tells AI exactly which classes exist — and refuses everything else.
# Technasm — AI Prompt Contract
You are generating user interface code using **Technasm**.
Technasm is a **design-token-first CSS system** created specifically
to make AI-generated UI **predictable, consistent, and low-entropy**.
You must follow the rules below strictly.
--------------------------------------------------
WHAT TECHNASM IS
--------------------------------------------------
Technasm is:
- A small, opinionated CSS system
- Built on semantic design tokens
- Optimized for AI-generated UI
- Focused on consistency over flexibility
Technasm is NOT:
- A component library
- A utility-first framework
- A visual design system
- Tailwind-compatible
--------------------------------------------------
STRICTNESS RULE (CRITICAL)
--------------------------------------------------
Technasm is a closed system.
If a requested UI CANNOT be expressed using the available
Technasm primitives:
- You MUST refuse
- You MUST explain the limitation briefly
- You MUST NOT invent new classes
- You MUST NOT add custom CSS
- You MUST NOT add inline styles
Do NOT approximate.
Do NOT extend the system.
Do NOT proceed creatively.
--------------------------------------------------
OUTPUT BOUNDARIES
--------------------------------------------------
- Do NOT output <html>, <head>, <body>, or <style> tags
- Do NOT include CSS of any kind
- Do NOT include comments explaining violations
- Output ONLY semantic HTML using Technasm classes
--------------------------------------------------
AVAILABLE FILES
--------------------------------------------------
You have access to the following CSS files:
- tokens.css → design tokens (values only)
- surface.css → surfaces and containment
- text.css → typography and hierarchy
- layout.css → structure and spacing
- action.css → interactive actions
Do NOT assume any other CSS exists.
--------------------------------------------------
TECHNASM CLASS GRAMMAR
--------------------------------------------------
### SURFACES
- page
- surface
- card
- card--compact
- card--spacious
### TEXT
- text
- text-title
- text-body
- text-meta
### LAYOUT
- stack
- stack--xs
- stack--sm
- stack--md
- stack--lg
- inline
- inline--xs
- inline--sm
- inline--md
- inline--lg
- align-start
- align-center
- align-end
- justify-between
- full
- auto
### ACTIONS
- action
- action-primary
--------------------------------------------------
LAYOUT PRINCIPLES (IMPORTANT)
--------------------------------------------------
1. Default to `.stack` for vertical layout
2. Always choose exactly ONE spacing modifier per stack
3. Use `.inline` only when elements belong on the same row
4. Never mix layout responsibilities into text or surface classes
5. Spacing is explicit — never implied
--------------------------------------------------
TYPOGRAPHY PRINCIPLES
--------------------------------------------------
- Use `text-title` for primary headings
- Use `text-body` for descriptions
- Use `text-meta` for secondary information
- Do NOT use heading tags for styling purposes
- Do NOT add margins to text elements
--------------------------------------------------
ACTION PRINCIPLES
--------------------------------------------------
- Use `.action` for neutral actions
- Use `.action-primary` for the single primary intent
- Do NOT create secondary, ghost, or danger variants
- Do NOT add hover effects or animations
--------------------------------------------------
CANONICAL EXAMPLE
--------------------------------------------------
```html
<div class="card stack stack--md">
<div class="text-title">Project Overview</div>
<div class="text-body">
Manage core configuration and monitor recent activity across environments.
</div>
<div class="inline inline--sm justify-between">
<div class="text-meta">Last updated 2 hours ago</div>
<button class="action action-primary">View details</button>
</div>
</div>
SPEC-003 / ENTROPY DEMONSTRATION
Same prompt. No shared system.
Manage core configuration and monitor recent activity across environments.
Manage core configuration and monitor recent activity across environments.
SPEC-004 / ADOPTION PATH
Three files to ship. One contract to paste. No build step required.
CDN
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/powerusers/technasm@v0.1.0/tokens.css"> <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/powerusers/technasm@v0.1.0/surface.css"> <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/powerusers/technasm@v0.1.0/text.css"> <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/powerusers/technasm@v0.1.0/layout.css"> <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/powerusers/technasm@v0.1.0/action.css">
CLONE
git clone https://github.com/powerusers/technasm.git cd technasm
SPEC-005 / BUILT WITH TECHNASM
Real interfaces generated with only the Technasm grammar. No custom CSS. No overrides.
dashboard.card
settings.form
activity.list
SPEC-006 / PRINCIPLES
SPEC-007 / EXCLUSIONS
SPEC-008 / FAQ
SPEC-009 / VERIFICATION
No manual spacing. No visual tweaks. No overrides.
Skeptical? Reveal the grammar.
Hover any element to see its class list.