@stnd/modules 0.6.15 → 0.6.17
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 +16 -0
- package/brand-manual/route.astro +4 -4
- package/math/styles.css +1 -1
- package/package.json +3 -3
- package/theme-utils/README.md +3 -3
- package/theme-utils/index.module.js +1 -1
- package/themes/index.module.js +1 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @stnd/folios
|
|
2
2
|
|
|
3
|
+
## 0.6.17
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
- @stnd/layout@0.6.6
|
|
10
|
+
- @stnd/styles@0.10.5
|
|
11
|
+
|
|
12
|
+
## 0.6.16
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- Updated dependencies
|
|
17
|
+
- @stnd/styles@0.10.4
|
|
18
|
+
|
|
3
19
|
## 0.6.15
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
package/brand-manual/route.astro
CHANGED
|
@@ -228,7 +228,7 @@ const scales = [
|
|
|
228
228
|
}
|
|
229
229
|
|
|
230
230
|
.manual-header h1 {
|
|
231
|
-
font-size: var(--
|
|
231
|
+
font-size: var(--scale-6);
|
|
232
232
|
font-weight: var(--font-header-weight);
|
|
233
233
|
text-transform: uppercase;
|
|
234
234
|
letter-spacing: -0.04em;
|
|
@@ -238,7 +238,7 @@ const scales = [
|
|
|
238
238
|
|
|
239
239
|
.manual-header p {
|
|
240
240
|
color: var(--color-muted);
|
|
241
|
-
font-size: var(--
|
|
241
|
+
font-size: var(--scale-2);
|
|
242
242
|
margin: 0;
|
|
243
243
|
}
|
|
244
244
|
|
|
@@ -324,11 +324,11 @@ const scales = [
|
|
|
324
324
|
|
|
325
325
|
.typography-meta strong {
|
|
326
326
|
font-weight: 600;
|
|
327
|
-
font-size: var(--
|
|
327
|
+
font-size: var(--scale-2);
|
|
328
328
|
}
|
|
329
329
|
|
|
330
330
|
.typography-meta code {
|
|
331
|
-
font-size: var(--
|
|
331
|
+
font-size: var(--scale-d3);
|
|
332
332
|
color: var(--color-subtle);
|
|
333
333
|
}
|
|
334
334
|
|
package/math/styles.css
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stnd/modules",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.17",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"svelte": "./stripe/views/CheckoutView.svelte",
|
|
6
6
|
"author": "Francis Fontaine",
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"wrangler": "^4.129.0",
|
|
21
21
|
"@stnd/client": "0.7.1",
|
|
22
22
|
"@stnd/icon": "0.3.0",
|
|
23
|
-
"@stnd/layout": "0.6.
|
|
23
|
+
"@stnd/layout": "0.6.6",
|
|
24
24
|
"@stnd/log": "0.5.1",
|
|
25
|
-
"@stnd/styles": "0.10.
|
|
25
|
+
"@stnd/styles": "0.10.5",
|
|
26
26
|
"@stnd/utils": "0.6.1"
|
|
27
27
|
},
|
|
28
28
|
"peerDependencies": {
|
package/theme-utils/README.md
CHANGED
|
@@ -23,7 +23,7 @@ Add to your base layout (e.g., `Base.astro`):
|
|
|
23
23
|
Add buttons anywhere with `data-theme` attribute:
|
|
24
24
|
|
|
25
25
|
```astro
|
|
26
|
-
<button data-theme="
|
|
26
|
+
<button data-theme="documentation">Documentation</button>
|
|
27
27
|
<button data-theme="academic">Academic</button>
|
|
28
28
|
<button data-theme="garden">Garden</button>
|
|
29
29
|
```
|
|
@@ -34,10 +34,10 @@ Add buttons anywhere with `data-theme` attribute:
|
|
|
34
34
|
import { setTheme, getCurrentTheme } from "@stnd/modules/theme-utils/client.js";
|
|
35
35
|
|
|
36
36
|
// Set theme
|
|
37
|
-
setTheme("
|
|
37
|
+
setTheme("documentation");
|
|
38
38
|
|
|
39
39
|
// Get current theme
|
|
40
|
-
const theme = getCurrentTheme(); // "
|
|
40
|
+
const theme = getCurrentTheme(); // "documentation"
|
|
41
41
|
```
|
|
42
42
|
|
|
43
43
|
### Custom Configuration
|
package/themes/index.module.js
CHANGED
|
@@ -27,7 +27,7 @@ export default {
|
|
|
27
27
|
"@stnd/themes/gallery",
|
|
28
28
|
"@stnd/themes/humanist",
|
|
29
29
|
"@stnd/themes/international",
|
|
30
|
-
"@stnd/themes/
|
|
30
|
+
"@stnd/themes/documentation",
|
|
31
31
|
"@stnd/themes/dev",
|
|
32
32
|
"@stnd/themes/mono",
|
|
33
33
|
"@stnd/themes/reveal",
|
|
@@ -43,7 +43,6 @@ export default {
|
|
|
43
43
|
"@stnd/themes/apex",
|
|
44
44
|
"@stnd/themes/avantgarde",
|
|
45
45
|
"@stnd/themes/manifeste",
|
|
46
|
-
"@stnd/themes/documentation",
|
|
47
46
|
// stnd.build's own identity — 1970s graphic-standards-manual (NASA/EPA)
|
|
48
47
|
"@stnd/themes/federal",
|
|
49
48
|
],
|