Skip to content

Commit 9adc2fb

Browse files
committed
Update README.md
Following a2b0e9d Switch to "composes" instead of "extends"
1 parent cd8b992 commit 9adc2fb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Transforms:
66

77
```css
88
:local(.continueButton) {
9-
extends: button from "library/button.css";
9+
composes: button from "library/button.css";
1010
color: green;
1111
}
1212
```
@@ -18,17 +18,17 @@ into:
1818
button: __tmp_487387465fczSDGHSABb;
1919
}
2020
:local(.continueButton) {
21-
extends: __tmp_487387465fczSDGHSABb;
21+
composes: __tmp_487387465fczSDGHSABb;
2222
color: green;
2323
}
2424
```
2525

2626
## Specification
2727

28-
- Only a certain whitelist of properties are inspected. Currently, that whitelist is `['extends']` alone.
28+
- Only a certain whitelist of properties are inspected. Currently, that whitelist is `['composes']` alone.
2929
- An extend-import has the following format:
3030
```
31-
extends: className [... className] from "path/to/file.css";
31+
composes: className [... className] from "path/to/file.css";
3232
```
3333

3434
## Building

0 commit comments

Comments
 (0)