Version 2.0 - Now with DSL Templates

Your AI builds
production websites

Connect your AI agent to ANTSAND. It inspects your site, assigns styling, compiles, and deploys β€” all through a REST API. Federated, ACL-controlled, production-grade.

920 CSS classes, 4 themes, 40+ fonts β€” your AI doesn't need to memorize any of it. It reads the Header / Body / Footer contract, picks classes, and ships a beautiful site in minutes.

400+
Utility Classes
4
Theme Presets
WCAG
A11y Built-in
0
Dependencies
HOW IT WORKS

Connect. Design. Deploy.
Your AI goes from zero to production website in minutes.

πŸ”Œ
1. Connect

AI authenticates with one API key and inspects your Databoard

🎨
2. Design

Assigns themes, layouts, typography, and component styles to fields

⚑
3. Compile

Generates only the CSS your site uses β€” zero-waste, production-optimized

πŸš€
4. Deploy

Ships a live, federated, ACL-controlled production website

Structured
Not random HTML β€” every section follows a contract
Federated
HMVC architecture β€” each module independent, composable
ACL-Gated
Role-based access built in β€” not bolted on
Idempotent
Run the loop again β€” nothing breaks, patches overwrite
πŸ“‘ See the Full API Reference β†’ πŸ€– Step-by-Step Agent Guide β†’
What is Antsand Style?

Not just a CSS framework. A styling layer for generated websites.

Bootstrap gives components. Tailwind gives utilities. Antsand Style connects CSS to Databoard, a visual control plane that stores pages, sections, field mappings, Sass, routes, and generated-site structure.

The result is a system AI can read: stable Header / Body / Footer fields, reusable Sass v2 classes, board-level Sass, generated utilities, and an API loop that can patch, compile, deploy, and test a real HMVC website.

Sass v2 shared tokens, components, utilities, and themes
Databoard where classes attach to page, section, and field slots
Compiler turns board contracts into deployed Phalcon HMVC sites
AI-readable explicit contracts instead of hidden visual-builder state
πŸ€– Let your AI understand ANTSAND β€” copy the full architecture prompt
TWO PATHS

Use the CSS alone β€” or unlock the full compiler.

ANTSAND Styles works as a standalone CSS library. But its full power comes when paired with the Databoard website compiler.

πŸ“¦

Standalone CSS Library

Drop in one CSS file. Use the components, utilities, and themes in any HTML project β€” no build tools, no PHP, no Databoard required.

  • βœ“ 920 CSS classes, 128KB compiled
  • βœ“ 24 component types (buttons, cards, forms, tabs, modals…)
  • βœ“ 4 theme presets, 40+ self-hosted fonts
  • βœ“ WCAG accessible, responsive, zero dependencies
Get started β†’
⚑

Full Databoard Compiler

Fill in data fields, assign CSS classes, deploy a full production site. AI agents style through the API β€” no HTML editing, zero-waste CSS.

  • βœ“ Everything in standalone, plus:
  • βœ“ Visual control panel for content + styling
  • βœ“ REST API for AI-driven inspect β†’ patch β†’ deploy loops
  • βœ“ Sass scanner generates only the CSS your site uses
  • βœ“ 151 contract tests enforce the structure
Agent Quick Start β†’ | API Reference β†’
THE ANTSAND WAY

One Structure. Infinite Designs.

Every section follows the same pattern. Same HTML + Different CSS = Unlimited possibilities.

H

Header

Title, subtitle, navigation

B

Body

Main content, cards, lists

F

Footer

Actions, links, metadata

section.volt
<section class="antsand-section">
  <!-- Header: Title & Description -->
  <div class="section-header">
    <h2></h2>
  </div>

  <!-- Body: Dynamic Content -->
  <div class="section-body grid-3">
      </div>

  <!-- Footer: Actions -->
  <div class="section-footer">
    <a href="#" class="btn-primary">View All</a>
  </div>
</section>
SAME HTML β†’ DIFFERENT OUTPUT

One section. Four completely different looks.

The HTML never changes. You change only the CSS classes on Databoard fields. Here's the same services section styled four ways:

βš™

Analytics

Real-time metrics

theme-minimal-clean
antsand-card
βš™

Analytics

Real-time metrics

theme-dark-corporate
antsand-card
βš™

Analytics

Real-time metrics

theme-warm-editorial
antsand-card
βš™

Analytics

Real-time metrics

theme-bold-gradient
antsand-card-glass

The only thing that changed? The class names on section.container and data.sub_container.

See the full field mapping β†’
πŸ€– AI-FIRST DEVELOPMENT

Built for AI to read. Readable by humans.

This isn't a typical CSS framework. Sass v2 is the styling engine of the ANTSAND Databoard β€” a data-driven website builder where AI can read explicit code contracts and compose pages by setting class names on structured fields. Humans would need to memorize 1,600+ lines of SCSS. AI reads the prompt and the contract.

πŸ“‹

Agent Prompt Module

agentPromptCss.module.js generates a structured prompt listing every available class, the hierarchy rules, and correct two-tier usage examples. The agent reads this before writing a single class name.

πŸ—οΈ

Fixed Class Hierarchy

.data-container β†’ .data-sub-container β†’ .data-h3, .data-p, .data-cta β€” this hierarchy never changes. Themes, utilities, and components all hang off these fixed anchors.

🎨

One-Class Themes

Add theme-dark-corporate to the section root β€” every heading, card, button, and link inside is automatically restyled via CSS cascade. No per-field changes.

"For humans it may look like too much mumbo jumbo. For AI, it is a code contract it can read, reason about, and execute consistently."

πŸ›‘οΈ HARDENED FOR PRODUCTION

Accessibility, responsiveness, and resilience β€” baked in

The painful stuff that gets skipped in v1 and costs a fortune to retrofit. We put it in the foundation.

β™Ώ Accessibility (WCAG 2.1)

  • βœ“ Focus-visible β€” keyboard-only focus rings on all interactive elements
  • βœ“ Reduced motion β€” auto-disables animations when OS setting is on
  • βœ“ High contrast β€” thicker borders, darker text via prefers-contrast
  • βœ“ ARIA selectors β€” aria-invalid, aria-disabled, aria-current auto-styled
  • βœ“ Screen-reader β€” .sr-only and .skip-to-content utilities
  • βœ“ Touch targets β€” 44px minimum on buttons, checkboxes, radios

πŸ“± Mobile & Responsive

  • βœ“ Fluid typography β€” 9 text-fluid-* classes using clamp()
  • βœ“ Breakpoint prefixes β€” sm: md: lg: on grids, spacing, visibility
  • βœ“ Container queries β€” progressive @container support
  • βœ“ Print stylesheet β€” hides nav, shows URLs, avoids page breaks
  • βœ“ Responsive spacing β€” sm:p-4, lg:gap-8, md:hidden and more
  • βœ“ Motion-safe β€” animations only when OS allows them

πŸ”’ Architecture & Resilience

  • βœ“ Two-tier system β€” semantic class first, utility class second
  • βœ“ Contract tests β€” 151 tests verify the class hierarchy after every change
  • βœ“ Variable tokens β€” all $antsand-* use !default for safe overrides
  • βœ“ Sass scanner β€” deploys only the CSS classes actually used per site
  • βœ“ Agent comments β€” every SCSS file has FOR AGENTS inline docs
  • βœ“ Theme presets β€” 4 production themes, one class activates all
βš™οΈ THE COMPILER

From data to deployed website in one pipeline

The ANTSAND website compiler reads your Databoard object, resolves templates, applies Sass v2 classes, generates only the CSS used, and deploys a production site. AI agents work with this pipeline β€” not around it.

πŸ“Š
Databoard
sections + fields
β†’
πŸ€–
Agent Prompt
reads class library
β†’
🎨
Sass v2 Classes
theme + layout + utility
β†’
πŸ”
Sass Scanner
extracts used classes
β†’
⚑
Compile & Deploy
zero-waste CSS
β†’
🌐
Live Website
production-ready

πŸ“œ Contracts

151 tests verify the class hierarchy after every SCSS change. The rendered DOM always produces the same structure: .section β†’ .data-container β†’ .data-sub-container β†’ .data-h3. If a theme, utility, or component breaks that contract, the build fails.

πŸ“„ Templates

The compiler resolves parameter_files.json, common_init_modern, and service_3_modern templates. Each section's Volt template reads the Databoard fields and renders them with the class hierarchy. The agent never writes HTML β€” it sets data and class names.

πŸ” Sass Scanner

During deployment, the scanner reads every css_class field from the Databoard. Classes already in antsand-v2.css are served from CDN. Board-specific utilities get compiled into a site-local _utilities.scss. The deployed site ships zero unused CSS.

πŸ€– Agent Workflow

The AI reads the prompt β†’ inspects the Databoard via API β†’ patches field CSS classes (theme on section, layout on container, utilities on fields) β†’ triggers deploy β†’ runs smoke tests. The entire loop is API-driven. No git, no IDE, no manual CSS.

βš–οΈ Two-Tier Styling

Tier 1 (Semantic): antsand-card, antsand-grid-3 β€” defines what a section IS. Tier 2 (Utility): line-clamp-2, md:grid-cols-3 β€” fine-tunes appearance. Never pure utilities without a Tier 1 root.

πŸ‘€ Humans Welcome

You don't need to memorize 1,600 lines. Use the Databoard UI to pick sections, set a theme, and the compiler handles the rest. The copyable agent prompts on this page work for humans too β€” paste into any AI chat and say "style my services section."

FEATURES

Everything you need to build fast

12+ Components

Accordion, Tabs, Modal, Navbar, Dropdown, Cards, Buttons, Forms, and more.

400+ Utility Classes

Spacing, typography, flexbox, grid, borders, shadows, transitions, animations, responsive prefixes β€” Tailwind-compatible names.

DSL Templates

Pre-built section templates with data structures. Copy JSON, paste, done.

AI-First Architecture

Every class is documented as a machine-readable contract. The prompt module lists all available utilities, rules, and hierarchy.

Accessibility Built-in

Focus-visible, reduced-motion, high-contrast, ARIA selectors, touch targets, skip-nav, screen-reader utilities β€” all baked in.

Zero Dependencies

Pure CSS + minimal JS. No jQuery, no frameworks required. Just drop in and go.

QUICK START

Up and running in seconds

Include via CDN or install with npm

CDN

<link rel="stylesheet" href=
"https://cdn.jsdelivr.net/gh/
antsand/styles@v2/css/antsand.css">

NPM

npm install antsand-styles

Download

Download ZIP
πŸ€– AI-READY PROMPTS

Copy to AI

One click copies a ready-made prompt your AI already understands. Paste into ChatGPT, Claude, Copilot, or any assistant.

⚑

Master Prompt β€” Complete ANTSAND Styles System

Everything your AI needs: 920 CSS classes, 24 component types, 40+ fonts, 4 themes, Databoard integration, API workflow, and the two-tier class system. One copy gives full context.

🎨

Styling Agent

Two-tier class system, field mapping examples, and styling rules.

πŸ› οΈ

Maintainer / Contributor

For agents adding new components, themes, or JS interactivity to the sass_v2 framework.

🎭

Theme Activation

One class at section root activates an entire visual design β€” all available theme presets.

πŸ”€

Font Library

40+ self-hosted fonts with CSS classes, weight options, and recommended pairings.

For the full Databoard reference, see the Databoard Utilities Loop.

Let your AI build it.

Point your agent at the API. It inspects, designs, compiles, and deploys β€” a production website with robust architecture, ACL control, and beautiful design. In minutes.

πŸ“‘ API Reference πŸ€– Agent Quick Start