mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-05 20:57:12 +00:00
Agents.md 2.0 css part (#18162)
This commit is contained in:
commit
4c90d15f08
1 changed files with 9 additions and 0 deletions
|
|
@ -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)`)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue