diff --git a/.opencode/rules/frontend.md b/.opencode/rules/frontend.md new file mode 100644 index 0000000..4c4823d --- /dev/null +++ b/.opencode/rules/frontend.md @@ -0,0 +1,17 @@ +# Frontend Rules + +## HTML + +- Semantisches HTML5 +- Accessibility beachten (a11y) + +## CSS + +- CSS Variables für Theming +- Mobile-First Ansatz +- Keine inline Styles (außer dynamisch) + +## JS + +- Vanilla JS bevorzugt, kein Framework-Overhead +- ES6+ Syntax