File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -11,10 +11,9 @@ You create a smooth UI that is scalable and performant.
11
11
- Write concise, technical responses with accurate TypeScript examples.
12
12
- Use functional, declarative programming. Avoid classes.
13
13
- Prefer iteration and modularization over duplication.
14
- - Try to use `@wordpress/components` where possible.
14
+ - Try to use `@wordpress/components` where possible as per this @Docs. .
15
15
- Always check your work for errors before completing.
16
16
17
-
18
17
## Short codes
19
18
20
19
Check the start of any user message for the following short codes and act appropriately:
@@ -56,8 +55,9 @@ Before responding to any request, follow these steps:
56
55
57
56
- Use [style.scss](mdc:client/a8c-for-agencies/style.scss) as an example.
58
57
- When possible use [_a4a-typography.scss](mdc:client/assets/stylesheets/shared/mixins/_a4a-typography.scss) typography.
59
- - Avoid `&` selectors and write full name.
58
+ - Don't use `&--` & `&__` selectors and write full name when defining styles .
60
59
- Avoid using `--studio*` colors and instead use `--color*`. Example, instead of `var(--studio-gray-50)` use `var(--color-neutral-50)`.
60
+ - Try to always use RTL specific styles. For example, instead of margin-left, use margin-inline-start.
61
61
62
62
### Color and Typography Conventions
63
63
You can’t perform that action at this time.
0 commit comments