From ab8d778fc518801d87b1244adda5004bd96bc14c Mon Sep 17 00:00:00 2001 From: Michael Geers Date: Thu, 20 Aug 2026 16:07:04 +0200 Subject: [PATCH] docs: add inline style convention to agent rules (#33007) --- AGENTS.md | 1 + 1 file changed, 1 insertion(+) diff --git a/AGENTS.md b/AGENTS.md index 36e0f8a8d..aba006103 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -200,6 +200,7 @@ Deep documentation on specific subsystems is available in `docs/agents/`. Load w ### Styling & Internationalization - Use CSS Custom Properties for theming (semantic names: `--evcc-green`, `--evcc-battery`) +- No inline `style` attributes; use Bootstrap utility classes or scoped CSS (inline only for truly dynamic values) - Use existing custom media queries for responsive breakpoints - Use `$t()` function for all user-facing strings - Update both `i18n/en.json` and `i18n/de.json` for new strings