@stamcat/craftsman 0.0.37 → 0.0.38
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/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@layer craftsman-
|
|
1
|
+
@layer craftsman-component{.text.display{font-size:calc(var(--w-text) * 1.625);margin:0 0 calc(var(--w-gutter) * .75) 0;line-height:1.1}.text.display.xlarge{font-size:calc(var(--w-text) * 3.125);margin:0 0 var(--w-gutter) 0;line-height:1.2}.text.display.large{font-size:calc(var(--w-text) * 2.625);margin:0 0 var(--w-gutter) 0;font-weight:625;line-height:1.1}.text.display.small{font-size:calc(var(--w-text) * 1.25);margin:0 0 calc(var(--w-gutter) * .5) 0;line-height:1.1}.text.heading{font-size:calc(var(--w-text) * 1.625);margin:0 0 calc(var(--w-gutter) * .75) 0;line-height:1.1}.text.heading.xlarge{font-size:calc(var(--w-text) * 3.125);margin:0 0 var(--w-gutter) 0;line-height:1.2}.text.heading.large,.text.xlarge{font-size:calc(var(--w-text) * 2.625);margin:0 0 var(--w-gutter) 0;font-weight:625;line-height:1.1}.text.heading.medium{font-size:calc(var(--w-text) * 1.625);margin:0 0 calc(var(--w-gutter) * .75) 0;line-height:1.1}.text.heading.small{font-size:calc(var(--w-text) * 1.25);margin:0 0 calc(var(--w-gutter) * .5) 0;line-height:1.1}.text.heading.xsmall{font-size:var(--w-text);margin:0 0 calc(var(--w-gutter) * .5) 0;line-height:1.2}.text.paragraph{font-style:normal;font-size:var(--w-text);margin:0;line-height:1.5}.text.paragraph.xlarge,.text.large{font-size:calc(var(--w-text) * 1.625);margin:0 0 calc(var(--w-gutter) * .75) 0;line-height:1.1}.text.paragraph.large{font-size:calc(var(--w-text) * 1.25);margin:0 0 calc(var(--w-gutter) * .5) 0;line-height:1.1}.text.paragraph.medium,.text.medium{font-style:normal;font-size:var(--w-text);margin:0;line-height:1.5}.text.paragraph.small,.text.small{font-size:calc(var(--w-text) * .75)}.text.paragraph.xsmall,.text.xsmall{font-size:calc(var(--w-text) * .5)}.text.caption{font-size:calc(var(--w-text) * .75)}.text.center{text-align:center}.text.left{text-align:left}.text.right{text-align:right}}
|
|
@@ -52,47 +52,3 @@
|
|
|
52
52
|
@mixin xsmall {
|
|
53
53
|
font-size: #{u.width(text, 0.5)};
|
|
54
54
|
}
|
|
55
|
-
|
|
56
|
-
@layer craftsman-base {
|
|
57
|
-
// TODO: These h* declarations need to be moved somewhere not-terrible
|
|
58
|
-
h1 {
|
|
59
|
-
@include h1;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
h2 {
|
|
63
|
-
@include h2;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
h3 {
|
|
67
|
-
@include h3;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
h4 {
|
|
71
|
-
@include h4;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
h5 {
|
|
75
|
-
@include h5;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
h6 {
|
|
79
|
-
@include h6;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
p {
|
|
83
|
-
@include p;
|
|
84
|
-
}
|
|
85
|
-
small {
|
|
86
|
-
@include small;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
@include u.breakpoint(mobileMax) {
|
|
90
|
-
h4 {
|
|
91
|
-
font-size: var(--w-text, 14px);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
p {
|
|
95
|
-
font-size: calc(var(--w-text, 14px) * 0.875);
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
}
|