# Invest Lithuania — Design System (web + presentations)

🔗 **Live site:** [il-design-system.pages.dev](https://il-design-system.pages.dev/) — auto-deploys from `main` on every push.

The shared design systems for **Invest Lithuania** (*Investuok Lietuvoje*):

- **Web** (repo root): a catalogue of reusable content blocks for the marketing
  website plus the type, colour, grid, radius and motion foundations.
- **Presentations** ([`pptx/`](pptx/)): the PowerPoint master template (101
  named layouts), HTML slide layouts T01–T21, icons, photos and the slide rules.

**Colleagues:** start at [`/start/`](https://il-design-system.pages.dev/start/).
There is nothing to install: a prompt that includes
`https://il-design-system.pages.dev/llms.txt` makes Claude Code or Codex fetch the
kit and produce on-brand decks and pages. The kits can also be downloaded by hand. Agents read [`AGENTS.md`](AGENTS.md) (Codex) or [`CLAUDE.md`](CLAUDE.md)
(Claude Code), which route to [`pptx/AGENTS.md`](pptx/AGENTS.md) or
[`docs/agents/web.md`](docs/agents/web.md).

Built as plain **HTML / CSS / JS** — no build step. Consumers link one
stylesheet and one component bundle.

> Full specification: [`docs/DESIGN-SYSTEM.md`](docs/DESIGN-SYSTEM.md)

---

## Quick start

```html
<!-- 1. Foundations (tokens: fonts, colours, type, spacing) -->
<link rel="stylesheet" href="styles.css">

<!-- 2. React UMD + Phosphor icons (Fill weight) -->
<script src="https://unpkg.com/react@18.3.1/umd/react.development.js"></script>
<script src="https://unpkg.com/react-dom@18.3.1/umd/react-dom.development.js"></script>
<link rel="stylesheet" href="https://unpkg.com/@phosphor-icons/web@2.1.1/src/fill/style.css">

<!-- 3. Compiled component bundle -->
<script src="_ds_bundle.js"></script>

<!-- 4. Render -->
<script type="text/babel">
  const { Fact, FactGrid, Tabs } = window.InvestLithuaniaDesignSystem_ddab6d;
  ReactDOM.createRoot(document.getElementById("root")).render(<FactGrid …/>);
</script>
```

To browse the system, serve the folder and open the reference page:

```bash
# any static server works
python -m http.server 8080
# then open:
#   http://localhost:8080/ui_kits/website/index.html   ← full sector landing page
#   http://localhost:8080/guidelines/                  ← Type / Colour / Spacing / Brand specimens
#   http://localhost:8080/components/                  ← individual component previews
```

---

## Repository layout

```
AGENTS.md / CLAUDE.md ← agent entry points (repo-owned router)
llms.txt              ← index of docs + kit URLs for AI agents
start/                ← "Get started with Claude Code / Codex" page
pptx/                 ← presentation design system (own AGENTS.md, SKILL.md, tokens, assets,
                        templates/pptx/IL-master-template.pptx, ui_kits/template T01–T21)
downloads/            ← kit zips, built by Cloudflare Pages (tools/build-kit.py), git-ignored
tools/                ← build-galleries.ps1, otf-to-woff2.py, build-kit.py (+ kit/ notes)
styles.css            ← consumer entry point (imports all tokens)
_ds_bundle.js         ← compiled component bundle (auto-generated — do not edit)
_ds_manifest.json     ← card manifest (auto-generated — do not edit)
SKILL.md              ← agent skill for the web system (il-web-design)

tokens/               ← fonts, colours, typography, spacing/grid/radii/motion, base reset
assets/               ← logos, hero image, airports map, runtime, fonts/ (see note)
components/           ← buttons, cards, facts, carousel, gallery, disclosure (accordion/tabs),
                        logos, split, table, cta, secondary-nav, tags, testimonial
guidelines/           ← foundation specimen cards
ui_kits/website/      ← hi-fi sector landing-page reference (index.html + .jsx sources)

docs/
  agents/web.md       ← agent instructions for web work
  DESIGN-SYSTEM.md    ← full spec (foundations, tokens, every component)
  SYNC-RUNBOOK.md     ← how to publish updates (web + presentations)
  design-history/     ← original design-chat transcripts (local only, git-ignored)
  legacy/             ← earlier landing-page spec, kept for reference
```

---

## Foundations at a glance

- **Typeface** — TT Hoves only (Medium headings, DemiBold H5, Light body). *See font note below.*
- **Colour** — dark green `#195236` primary, bright green `#1B8F45` accent; pale
  blue / lime section tints; signal yellow `#FED530` for the hero CTA only.
  **Text is only `#121212` or `#FFFFFF`** — never grey, never green.
- **Radius** — three steps: `6px` (tags/inputs), `27px` (buttons/media cards),
  `54px` (signature large). Pinned-corner cards: `6 / 54 54 54`.
- **Grid** — 1626px / 12 col desktop, 342px / 4 col mobile. ~120px vertical rhythm.
- **Motion** — restrained; two easings, three durations (140 / 220 / 360ms). No bounce.

---

## Sharing this repo with partners

This repo is designed to be handed to external dev/design partners:

1. **Source of truth** — the **private** GitHub repo `ILMarketing2026/designsystem`.
   Only the maintainer pushes; partners can be added as collaborators if needed.
2. **Live reference** — the **public** (unlisted, `noindex`) Cloudflare Pages site
   https://il-design-system.pages.dev/ auto-deploys from `main`. Colleagues use
   `/start/` and the kits; partners get the same URL.
3. **One-off review** — the claude.ai/design share link exports exactly this bundle.

### ⚠️ Font licensing — read before sharing

**TT Hoves is a commercial TypeType font and is not redistributable.** The `.otf`
files (web and `pptx/fonts/`) are git-ignored, the kits contain no font files
(`tools/build-kit.py` fails the build if one slips in), and the site serves only
the three woff2 web fonts. See
[`assets/fonts/FONTS-LICENSE.md`](assets/fonts/FONTS-LICENSE.md).
