docs: add inline style convention to agent rules (#33007)

This commit is contained in:
Michael Geers 2026-08-20 16:07:04 +02:00 • committed by GitHub
parent 7d9fe8c997
commit ab8d778fc5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -200,6 +200,7 @@ Deep documentation on specific subsystems is available in `docs/agents/`. Load w
### Styling & Internationalization ### Styling & Internationalization
- Use CSS Custom Properties for theming (semantic names: `--evcc-green`, `--evcc-battery`) - 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 existing custom media queries for responsive breakpoints
- Use `$t()` function for all user-facing strings - Use `$t()` function for all user-facing strings
- Update both `i18n/en.json` and `i18n/de.json` for new strings - Update both `i18n/en.json` and `i18n/de.json` for new strings