@nextrap/style-typography 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +3 -0
- package/index.scss +0 -0
- package/package.json +8 -0
- package/src/_typography.scss +65 -0
package/CHANGELOG.md
ADDED
package/index.scss
ADDED
|
File without changes
|
package/package.json
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
h1,
|
|
2
|
+
.h1 {
|
|
3
|
+
font-size: var(--nt-fs-h1);
|
|
4
|
+
font-family: var(--nt-font-family-header), sans-serif;
|
|
5
|
+
|
|
6
|
+
line-height: var(--nt-line-height-header);
|
|
7
|
+
}
|
|
8
|
+
h2,
|
|
9
|
+
.h2 {
|
|
10
|
+
font-size: var(--nt-fs-h2);
|
|
11
|
+
font-family: var(--nt-font-family-header), sans-serif;
|
|
12
|
+
|
|
13
|
+
line-height: var(--nt-line-height-header);
|
|
14
|
+
}
|
|
15
|
+
h3,
|
|
16
|
+
.h3 {
|
|
17
|
+
font-size: var(--nt-fs-h3);
|
|
18
|
+
font-family: var(--nt-font-family-header), sans-serif;
|
|
19
|
+
|
|
20
|
+
line-height: var(--nt-line-height-header);
|
|
21
|
+
}
|
|
22
|
+
h4,
|
|
23
|
+
.h4 {
|
|
24
|
+
font-size: var(--nt-fs-h4);
|
|
25
|
+
font-family: var(--nt-font-family-header) sans-serif;
|
|
26
|
+
line-height: var(--nt-line-height-header);
|
|
27
|
+
}
|
|
28
|
+
h5,
|
|
29
|
+
.h5 {
|
|
30
|
+
font-size: var(--nt-fs-h5);
|
|
31
|
+
font-family: var(--nt-font-family-header), sans-serif;
|
|
32
|
+
|
|
33
|
+
line-height: var(--nt-line-height-header);
|
|
34
|
+
}
|
|
35
|
+
h6,
|
|
36
|
+
.h6 {
|
|
37
|
+
font-size: var(--nt-fs-h6);
|
|
38
|
+
font-family: var(--nt-font-family-header), sans-serif;
|
|
39
|
+
line-height: var(--nt-line-height-header);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
// We set the default font size and family for all text elements - so we can modify them easily for all
|
|
43
|
+
// child elements.
|
|
44
|
+
|
|
45
|
+
p,
|
|
46
|
+
ul,
|
|
47
|
+
ol,
|
|
48
|
+
blockquote {
|
|
49
|
+
--fs: var(--nt-fs-base);
|
|
50
|
+
--font-family: var(--nt-font-family-base);
|
|
51
|
+
--font-color: var(--nt-text);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
body {
|
|
55
|
+
font-family: var(--nt-font-family-base), sans-serif;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
p {
|
|
59
|
+
font-size: var(--font-size-base);
|
|
60
|
+
color: var(--font-color);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
small {
|
|
64
|
+
font-size: var(--nt-fs-small);
|
|
65
|
+
}
|