Agents.md 2.0 css part (#18162)

This commit is contained in:
Grzegorz Sadowski 2025-06-12 14:03:30 +02:00 committed by GitHub
commit 4c90d15f08
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -85,3 +85,12 @@ Welcome, 🤖 AI assistant! Please follow these guidelines when contributing to
## JavaScript
## CSS
- Use SCSS (`.scss`) syntax plain CSS files are not allowed
- Use Bootstrap 5 utility classes where possible
- Keep component styles modular 1 component = 1 partial
- Use variables from Sylius theme
- Place all theme variables in `_variables.scss`
- Avoid `!important` unless absolutely necessary
- Prefer `rem` over `px` for spacing, font size, etc.
- Use `mixins/` for reusable logic (e.g., `@include icon-size(24px)`)