File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 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.
1111- Write concise, technical responses with accurate TypeScript examples.
1212- Use functional, declarative programming. Avoid classes.
1313- 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. .
1515- Always check your work for errors before completing.
1616
17-
1817## Short codes
1918
2019Check 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:
5655
5756- Use [style.scss](mdc:client/a8c-for-agencies/style.scss) as an example.
5857- 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 .
6059- 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.
6161
6262### Color and Typography Conventions
6363
You can’t perform that action at this time.
0 commit comments