diff --git a/AGENTS.md b/AGENTS.md index 754cfdc..1247087 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -38,6 +38,24 @@ Basecoat is a vanilla JavaScript/HTML/CSS port of shadcn/ui components. It reuse - Filenames for assets: kebab-case (e.g., `dropdown-menu.js`, `basecoat.cdn.css`). - JS naming: `camelCase` for vars/functions; `PascalCase` for DOM classes and exported component names when applicable. +## Design Principles + +- **Minimal code**: Prefer native HTML elements and browser behavior over JavaScript abstractions +- **Accessibility-first**: Semantic HTML, proper ARIA attributes, keyboard navigation +- **CSS patterns**: + - Use `border` for lines/separators (not `background` on `
{{- code | escape -}}
+ {{- code | escape -}}