We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2eacc3a commit e2ae777Copy full SHA for e2ae777
README.md
@@ -446,15 +446,24 @@ for specific values in a css file that can be used in another.
446
/* theme.css */
447
@value primary: #BF4040;
448
@value secondary: #1F4F7F;
449
+
450
+@value large: (min-width: 960px);
451
```
452
453
Values are automatically exported and can be imported like so:
454
455
```css
-@value primary from './theme.css';
456
+@value primary, large from './theme.css';
457
-.text-primary {
458
+.header {
459
color: primary;
460
+ padding: 0 10px;
461
+}
462
463
+@media large {
464
+ .header {
465
+ padding: 0 20px;
466
+ }
467
}
468
469
0 commit comments