Add .opencode/rules/frontend.md
This commit is contained in:
17
.opencode/rules/frontend.md
Normal file
17
.opencode/rules/frontend.md
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user