@kashi-ui/css 0.5.0 → 0.6.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/dist/base.css +2 -0
- package/dist/kashi.css +14 -10
- package/dist/kashi.nofont.css +1710 -0
- package/dist/tokens.css +12 -10
- package/package.json +2 -2
package/dist/base.css
CHANGED
|
@@ -22,8 +22,10 @@
|
|
|
22
22
|
font-feature-settings: "kern", "liga", "calt";
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
+
/* فونت عنوانها جدا قابلتغییر است: --k-font-display */
|
|
25
26
|
:where(h1, h2, h3, h4, h5, h6) {
|
|
26
27
|
margin: 0;
|
|
28
|
+
font-family: var(--k-font-display);
|
|
27
29
|
line-height: var(--k-leading-tight);
|
|
28
30
|
font-weight: var(--k-weight-bold);
|
|
29
31
|
}
|
package/dist/kashi.css
CHANGED
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
:root {
|
|
16
16
|
--k-radius-factor: 1;
|
|
17
17
|
--k-density: 1;
|
|
18
|
+
--k-text-scale: 1;
|
|
18
19
|
--k-firoozeh-50: #e6fbf8;
|
|
19
20
|
--k-firoozeh-100: #c2f4ee;
|
|
20
21
|
--k-firoozeh-200: #8ce9df;
|
|
@@ -122,17 +123,18 @@
|
|
|
122
123
|
--k-radius-2xl: calc(1.5rem * var(--k-radius-factor));
|
|
123
124
|
--k-radius-full: 9999px;
|
|
124
125
|
--k-font-sans: "Vazirmatn", "Vazir", Tahoma, system-ui, sans-serif;
|
|
126
|
+
--k-font-display: var(--k-font-sans);
|
|
125
127
|
--k-font-mono: ui-monospace, "SF Mono", Menlo, Consolas, "Vazirmatn", monospace;
|
|
126
|
-
--k-text-xs: 0.75rem;
|
|
127
|
-
--k-text-sm: 0.875rem;
|
|
128
|
-
--k-text-md: 0.9375rem;
|
|
129
|
-
--k-text-lg: 1.0625rem;
|
|
130
|
-
--k-text-xl: 1.25rem;
|
|
131
|
-
--k-text-2xl: 1.5rem;
|
|
132
|
-
--k-text-3xl: 1.875rem;
|
|
133
|
-
--k-text-4xl: 2.25rem;
|
|
134
|
-
--k-text-5xl: 3rem;
|
|
135
|
-
--k-text-6xl: 3.75rem;
|
|
128
|
+
--k-text-xs: calc(0.75rem * var(--k-text-scale));
|
|
129
|
+
--k-text-sm: calc(0.875rem * var(--k-text-scale));
|
|
130
|
+
--k-text-md: calc(0.9375rem * var(--k-text-scale));
|
|
131
|
+
--k-text-lg: calc(1.0625rem * var(--k-text-scale));
|
|
132
|
+
--k-text-xl: calc(1.25rem * var(--k-text-scale));
|
|
133
|
+
--k-text-2xl: calc(1.5rem * var(--k-text-scale));
|
|
134
|
+
--k-text-3xl: calc(1.875rem * var(--k-text-scale));
|
|
135
|
+
--k-text-4xl: calc(2.25rem * var(--k-text-scale));
|
|
136
|
+
--k-text-5xl: calc(3rem * var(--k-text-scale));
|
|
137
|
+
--k-text-6xl: calc(3.75rem * var(--k-text-scale));
|
|
136
138
|
--k-weight-light: 300;
|
|
137
139
|
--k-weight-regular: 400;
|
|
138
140
|
--k-weight-medium: 500;
|
|
@@ -277,8 +279,10 @@
|
|
|
277
279
|
font-feature-settings: "kern", "liga", "calt";
|
|
278
280
|
}
|
|
279
281
|
|
|
282
|
+
/* فونت عنوانها جدا قابلتغییر است: --k-font-display */
|
|
280
283
|
:where(h1, h2, h3, h4, h5, h6) {
|
|
281
284
|
margin: 0;
|
|
285
|
+
font-family: var(--k-font-display);
|
|
282
286
|
line-height: var(--k-leading-tight);
|
|
283
287
|
font-weight: var(--k-weight-bold);
|
|
284
288
|
}
|