Skip to content
This repository was archived by the owner on Dec 28, 2022. It is now read-only.

Commit f6b2b98

Browse files
committed
Merge branch 'master' of github.com:Supernova-Studio/exporter-css
2 parents b70269e + 1979ebd commit f6b2b98

File tree

2 files changed

+5
-15
lines changed

2 files changed

+5
-15
lines changed

README.md

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,7 @@ You can generate all production ready-code either manually using Supernova's [VS
2222

2323
## Example Usage
2424

25-
Once you have run the exporter against your design system, you can start using the code in your codebase right away. Here are a few examples of how you can use the output of the CSS exporter:
26-
27-
### [Example 1]
28-
29-
[Todo description]
25+
Once you have run the exporter against your design system, you can start using the code in your codebase right away. To use the output of the exporter, simply add the stylesheets to your html page, like this:
3026

3127
```
3228
<!DOCTYPE html>
@@ -38,19 +34,13 @@ Once you have run the exporter against your design system, you can start using t
3834
@import ".build/index.css";
3935
</style>
4036
</head>
41-
<body>
42-
<p style="color: var(--colorContrast)">...</p>
43-
</body>
4437
</html>
4538
```
4639

47-
48-
### [Example 2]
49-
50-
[Todo description]
40+
Because tokens are defined as css variables, you can use them as such, anywhere you need that value (even in order definitions):
5141

5242
```
53-
Code
43+
<p style="color: var(--colorContrast)">...</p>
5444
```
5545

5646
## Installing

exporter.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
"id": "io.supernova.css",
33
"name": "CSS",
44
"description": "CSS token and style exporter",
5-
"author": "Jiri Trecak",
5+
"author": "Ivan Terpugov & Jiri Trecak",
66
"organization": "Supernova",
77
"homepage": "https://supernova.io",
88
"source_dir": "src",
9-
"version": "1.0.0",
9+
"version": "1.0.1",
1010
"config": {
1111
"sources": "sources.json",
1212
"output": "output.json",

0 commit comments

Comments
 (0)