Skip to content

Commit a1e0e93

Browse files
authored
Merge pull request #85 from joshdales/add-property-rules
Register properties for custom properties
2 parents 58b7418 + cad8301 commit a1e0e93

21 files changed

+1053
-225
lines changed

.gitattributes

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
* text=auto eol=lf
2+
3+
deno.lock -diff
4+
index.css linguist-generated=true

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ The the element classes this is managed with colour classes: `.red`, `.orange`,
8282
Each has numbered `accent` properties and sets the `accent-color` property as well, so you can apply a colour class to parent component or directly on an element to give it that accent, or make your own you just need to add `accent-1` - `accent-9` to a class:
8383
```css
8484
.colour {
85+
--accent: var(--colour);
8586
--accent-1: var(--colour-1);
8687
--accent-2: var(--colour-2);
8788
--accent-3: var(--colour-3);

0 commit comments

Comments
 (0)