# Sustainable / Green Design — AI design spec

> Minimalist, system fonts, optimized images, natural feel.
>
> Style page: https://www.aiwebstyle.com/styles/sustainable-green.html · Live preview: https://www.aiwebstyle.com/previews/sustainable-green.html
>
> Drop this file at the root of a project and point your coding agent at it. Every value is copied from the working stylesheet, not estimated.

## 1. What this style is

This style aims to create a calm, responsible, and environmentally friendly impression, often associated with environmental organizations, organic products, renewable energy, socially responsible enterprises, or any brand wishing to emphasize its commitment to sustainable development.

## 2. Tokens

### Page surface

| Token | Value | Purpose |
|---|---|---|
| `--page-bg` | `var(--green-bg)` | Page background (solid fallback) |
| `--page-bg-gradient` | `none` | Page background gradient; overrides the solid unless `none` |

### Text

| Token | Value | Purpose |
|---|---|---|
| `--text-color` | `var(--green-text)` | Body text |
| `--heading-color` | `var(--green-heading)` | Headings |

### Links

| Token | Value | Purpose |
|---|---|---|
| `--link-color` | `var(--green-accent)` | Link and inline accent |
| `--link-hover-color` | `var(--green-heading)` | Link hover |

### Borders

| Token | Value | Purpose |
|---|---|---|
| `--border-color` | `var(--green-border)` | Dividers and input borders |

### Cards

| Token | Value | Purpose |
|---|---|---|
| `--card-bg` | `#ffffff` | Card surface |
| `--card-border-radius` | `4px` | Card corner radius |
| `--card-shadow` | `none` | Card at rest |
| `--card-hover-shadow` | `0 2px 5px rgba(60, 82, 66, 0.1)` | Card on hover |

### Header

| Token | Value | Purpose |
|---|---|---|
| `--header-bg` | `#fff` | Sticky header surface |
| `--header-text-color` | `var(--green-heading)` | Header text and nav links |
| `--header-shadow` | `none` | Header elevation (usually `none`) |

### Footer

| Token | Value | Purpose |
|---|---|---|
| `--footer-bg` | `var(--green-bg)` | Footer surface |
| `--footer-text-color` | `var(--green-text)` | Footer text |

### Buttons

| Token | Value | Purpose |
|---|---|---|
| `--button-bg` | `var(--green-accent)` | Primary button fill |
| `--button-text-color` | `white` | Primary button label |
| `--button-hover-bg` | `#5a7a6a` | Primary button hover fill |
| `--button-border` | `none` | Primary button border |
| `--button-secondary-bg` | `var(--green-border)` | Secondary button fill |
| `--button-secondary-text-color` | `var(--green-text)` | Secondary button label |
| `--button-secondary-hover-bg` | `#b8c8b8` | Secondary button hover fill |

### Code / prompt block

| Token | Value | Purpose |
|---|---|---|
| `--prompt-bg` | `#e4eae4` | Code / prompt block surface |
| `--prompt-text-color` | `#4a6a5a` | Code / prompt block text |

### Type

| Token | Value | Purpose |
|---|---|---|
| `--base-font` | `var(--font-sans)` | Body font stack |
| `--heading-font` | `var(--font-sans)` | Heading font stack |

### Other tokens in this theme

| Token | Value |
|---|---|
| `--green-bg` | `#f0f4f0` |
| `--green-text` | `#3c5242` |
| `--green-heading` | `#2a3a2f` |
| `--green-accent` | `#6b8e7a` |
| `--green-border` | `#c8d8c8` |
| `--button-secondary-border` | `none` |
| `--button-border-radius` | `4px` |

## 3. Do

- Drive every color, radius and shadow from the tokens below. No literal hex values in component code.
- Reuse the `--card-*` tokens for any elevated surface (card, panel, modal, dropdown) so elevation stays consistent.
- Keep header and footer on `--header-*` / `--footer-*` even when the page background is a gradient.

## 4. Don't

- Do not blend tokens from another style in this library — one page, one token set.
- Do not invent a hover state: every interactive element has a `*-hover-*` token above.

## 5. Using this with a coding agent

Place this file at the project root as `DESIGN.md`, then instruct the agent:

> Follow `DESIGN.md` for all UI. Every color, radius and shadow comes from its token table. If you need a state that is not listed, derive it from the nearest listed token and add the new token to `DESIGN.md` instead of hard-coding a value.

If the project already has a token layer (Tailwind config, CSS custom properties, a theme file), map these tokens onto it one-to-one and keep the names unchanged.

## 6. Original prompt

```text
Design a sustainable brand website focusing on low environmental impact. Use system fonts, a simple layout, optimized images (maybe duotone or grayscale), dark mode option, and clear messaging about sustainability.
```

---

*Generated from the `sustainable-green` theme in `style.css`. Token values are verbatim — regenerate rather than edit by hand.*
