File size: 768 Bytes
1e92f2d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
---
description: Rules that applies for Automattic for Agencies related development
globs: client/a8c-for-agencies/**/*.*
---
Use this rules on top of [calypso-client-rules.mdc](mdc:.cursor/rules/calypso-client-rules.mdc)

## Code Style and Structure

### Code Standards

- When creating forms, use `calypso/a8c-for-agencies/components/form` and `calypso/components/forms/` components where possible.

### Style Conventions

- Use [style.scss](mdc:client/a8c-for-agencies/style.scss) as an example.
- Don't use `&--` & `&__` selectors and write full name when defining styles.
- Avoid using `--studio*` colors and instead use `--color*`. Example, instead of `var(--studio-gray-50)` use `var(--color-neutral-50)`.

### Color and Typography Conventions

#### Typography