forked from OKEAMAH/prettier
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmodules.css
More file actions
55 lines (46 loc) · 766 Bytes
/
modules.css
File metadata and controls
55 lines (46 loc) · 766 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
@value colors: './colors.css';
@value first, second, third from colors;
.title {
@nest :global(h1)& {
background: red;
}
}
.className {
color: green;
background: red;
}
.otherClassName {
composes: className;
color: yellow;
}
.otherClassName {
composes: className from "./style.css";
}
.otherClassName {
composes: globalClassName from global;
}
:global {
.global-class-name {
color: green;
}
}
.root :global .text {
color: brown;
font-size: 24px;
font-family: helvetica, arial, sans-serif;
font-weight: 600;
}
:import("path/to/dep.css") {
localAlias: keyFromDep;
}
:export {
exportedKey: exportedValue;
}
@keyframes :global(spin) {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}