Skip to content

Commit

Permalink
Get it right πŸ™„
Browse files Browse the repository at this point in the history
  • Loading branch information
joshdales committed Oct 6, 2024
1 parent 2fdab08 commit 6dd2a55
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,9 @@ Each has numbered `accent` properties and sets the `accent-color` property as we
}
```
The accent variables are often used in the following way on interactive elements:
1. `accent-5` The standard accent colour for the element.
2. `accent-4` The accent used when elements are being viewed (either by focus or hover).
3. `accent-3` The element is being activated or interactive with.
1. `accent-4` The standard accent colour for the element.
2. `accent-3` The accent used when elements are being viewed (either by focus or hover).
3. `accent-2` The element is being activated or interactive with.
4. `accent-8` Contrast colour with the main accent, usually text or background.

If you have a button or input and there is no accent class currently set on the element or a common ancestor then they will fallback to using the neutral colours as their accent.
Expand Down

0 comments on commit 6dd2a55

Please sign in to comment.