@takazudo/zudo-doc 4.3.0 → 4.4.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 +23 -0
- package/bin/zudo-doc.mjs +54 -13
- package/dist/auto-logo/index.d.ts +18 -0
- package/dist/auto-logo/index.js +33 -0
- package/dist/auto-logo/shapes.d.ts +32 -0
- package/dist/auto-logo/shapes.js +183 -0
- package/dist/auto-logo/standalone.d.ts +7 -0
- package/dist/auto-logo/standalone.js +35 -0
- package/dist/config.d.ts +8 -0
- package/dist/config.js +1 -0
- package/dist/content.css +4 -3
- package/dist/doc-content-header/index.js +1 -1
- package/dist/doc-history/index.js +1 -1
- package/dist/doc-page-shell/index.js +1 -1
- package/dist/doc-pager/index.js +2 -2
- package/dist/eject-logo/config-parse.d.ts +25 -0
- package/dist/eject-logo/config-parse.js +68 -0
- package/dist/eject-logo/config-rewriter.d.ts +22 -0
- package/dist/eject-logo/config-rewriter.js +68 -0
- package/dist/eject-logo/eject.d.ts +18 -0
- package/dist/eject-logo/eject.js +66 -0
- package/dist/eject-logo/index.d.ts +4 -0
- package/dist/eject-logo/index.js +16 -0
- package/dist/eject-logo/site-name.d.ts +21 -0
- package/dist/eject-logo/site-name.js +31 -0
- package/dist/header/header.js +14 -6
- package/dist/header/nav-class-tokens.d.ts +12 -0
- package/dist/header/nav-class-tokens.js +80 -0
- package/dist/header/nav-overflow-script.js +33 -16
- package/dist/home-page/index.d.ts +34 -5
- package/dist/home-page/index.js +95 -38
- package/dist/home-page/prepare-home-data.d.ts +9 -0
- package/dist/home-page/prepare-home-data.js +10 -3
- package/dist/i18n-defaults/index.js +3 -0
- package/dist/metainfo/doc-metainfo.js +35 -22
- package/dist/routes/index.js +2 -1
- package/dist/routes/locale-index.js +2 -1
- package/dist/safelist.css +1 -1
- package/dist/settings.d.ts +7 -0
- package/dist/sidebar-tree-island/index.js +3 -3
- package/dist/theme-cli/config-scanner.js +47 -0
- package/dist/theme-packs/academia/fonts/CourierPrime-400-latin.woff2 +0 -0
- package/dist/theme-packs/academia/fonts/CourierPrime-700-latin.woff2 +0 -0
- package/dist/theme-packs/academia/fonts/OFL.txt +94 -0
- package/dist/theme-packs/academia/fonts/SourceSerif4-italic-latin.woff2 +0 -0
- package/dist/theme-packs/academia/fonts/SourceSerif4-latin.woff2 +0 -0
- package/dist/theme-packs/academia/meta.json +37 -0
- package/dist/theme-packs/academia/pack.css +505 -0
- package/dist/theme-packs/bauhaus/fonts/ArchivoBlack-latin.woff2 +0 -0
- package/dist/theme-packs/bauhaus/fonts/Jost-latin.woff2 +0 -0
- package/dist/theme-packs/bauhaus/fonts/OFL.txt +95 -0
- package/dist/theme-packs/bauhaus/fonts/SpaceMono-400-latin.woff2 +0 -0
- package/dist/theme-packs/bauhaus/fonts/SpaceMono-700-latin.woff2 +0 -0
- package/dist/theme-packs/bauhaus/meta.json +38 -0
- package/dist/theme-packs/bauhaus/pack.css +614 -0
- package/dist/theme-packs/blueprint/fonts/IBMPlexMono-400-latin-ext.woff2 +0 -0
- package/dist/theme-packs/blueprint/fonts/IBMPlexMono-400-latin.woff2 +0 -0
- package/dist/theme-packs/blueprint/fonts/IBMPlexMono-500-latin-ext.woff2 +0 -0
- package/dist/theme-packs/blueprint/fonts/IBMPlexMono-500-latin.woff2 +0 -0
- package/dist/theme-packs/blueprint/fonts/Inter-latin-ext.woff2 +0 -0
- package/dist/theme-packs/blueprint/fonts/Inter-latin.woff2 +0 -0
- package/dist/theme-packs/blueprint/fonts/JosefinSans-latin.woff2 +0 -0
- package/dist/theme-packs/blueprint/fonts/OFL.txt +95 -0
- package/dist/theme-packs/blueprint/meta.json +38 -0
- package/dist/theme-packs/blueprint/pack.css +577 -0
- package/dist/theme-packs/botanica/fonts/CormorantGaramond-latin.woff2 +0 -0
- package/dist/theme-packs/botanica/fonts/CourierPrime-400-latin-ext.woff2 +0 -0
- package/dist/theme-packs/botanica/fonts/CourierPrime-400-latin.woff2 +0 -0
- package/dist/theme-packs/botanica/fonts/CourierPrime-700-latin-ext.woff2 +0 -0
- package/dist/theme-packs/botanica/fonts/CourierPrime-700-latin.woff2 +0 -0
- package/dist/theme-packs/botanica/fonts/CrimsonPro-latin-italic.woff2 +0 -0
- package/dist/theme-packs/botanica/fonts/CrimsonPro-latin.woff2 +0 -0
- package/dist/theme-packs/botanica/fonts/OFL.txt +95 -0
- package/dist/theme-packs/botanica/meta.json +38 -0
- package/dist/theme-packs/botanica/pack.css +546 -0
- package/dist/theme-packs/brutalist/meta.json +1 -1
- package/dist/theme-packs/brutalist/pack.css +10 -9
- package/dist/theme-packs/eink/fonts/CourierPrime-400-latin-ext.woff2 +0 -0
- package/dist/theme-packs/eink/fonts/CourierPrime-400-latin.woff2 +0 -0
- package/dist/theme-packs/eink/fonts/CourierPrime-700-latin-ext.woff2 +0 -0
- package/dist/theme-packs/eink/fonts/CourierPrime-700-latin.woff2 +0 -0
- package/dist/theme-packs/eink/fonts/EBGaramond-latin-italic.woff2 +0 -0
- package/dist/theme-packs/eink/fonts/EBGaramond-latin.woff2 +0 -0
- package/dist/theme-packs/eink/fonts/OFL.txt +94 -0
- package/dist/theme-packs/eink/meta.json +37 -0
- package/dist/theme-packs/eink/pack.css +490 -0
- package/dist/theme-packs/foundry/meta.json +1 -1
- package/dist/theme-packs/foundry/pack.css +2 -2
- package/dist/theme-packs/hearth/meta.json +1 -1
- package/dist/theme-packs/hearth/pack.css +1 -1
- package/dist/theme-packs/nocturne/pack.css +4 -0
- package/dist/theme-packs/observatory/meta.json +1 -1
- package/dist/theme-packs/observatory/pack.css +4 -1
- package/dist/theme-packs/onyx/pack.css +6 -0
- package/dist/theme-packs/phosphor/pack.css +4 -0
- package/dist/theme-packs/riso/fonts/ArchivoBlack-latin.woff2 +0 -0
- package/dist/theme-packs/riso/fonts/OFL.txt +95 -0
- package/dist/theme-packs/riso/fonts/SpaceGrotesk-latin.woff2 +0 -0
- package/dist/theme-packs/riso/fonts/SpaceMono-400-italic-latin.woff2 +0 -0
- package/dist/theme-packs/riso/fonts/SpaceMono-400-latin.woff2 +0 -0
- package/dist/theme-packs/riso/fonts/SpaceMono-700-latin.woff2 +0 -0
- package/dist/theme-packs/riso/meta.json +38 -0
- package/dist/theme-packs/riso/pack.css +602 -0
- package/dist/theme-packs/sakura/fonts/MPlus1Code-400-latin.woff2 +0 -0
- package/dist/theme-packs/sakura/fonts/MPlus1Code-500-latin.woff2 +0 -0
- package/dist/theme-packs/sakura/fonts/Nunito-latin.woff2 +0 -0
- package/dist/theme-packs/sakura/fonts/OFL.txt +95 -0
- package/dist/theme-packs/sakura/fonts/ShipporiMincho-600-latin.woff2 +0 -0
- package/dist/theme-packs/sakura/fonts/ShipporiMincho-700-latin.woff2 +0 -0
- package/dist/theme-packs/sakura/meta.json +38 -0
- package/dist/theme-packs/sakura/pack.css +473 -0
- package/dist/theme-packs/scandi/fonts/Manrope-latin.woff2 +0 -0
- package/dist/theme-packs/scandi/fonts/OFL.txt +94 -0
- package/dist/theme-packs/scandi/fonts/SplineSansMono-latin.woff2 +0 -0
- package/dist/theme-packs/scandi/meta.json +37 -0
- package/dist/theme-packs/scandi/pack.css +370 -0
- package/dist/theme-packs/sumi/meta.json +1 -1
- package/dist/theme-packs/sumi/pack.css +4 -1
- package/dist/theme-packs/swissgrid/pack.css +4 -0
- package/dist/theme-packs/tidepool/fonts/JetBrainsMono-latin-ext.woff2 +0 -0
- package/dist/theme-packs/tidepool/fonts/JetBrainsMono-latin.woff2 +0 -0
- package/dist/theme-packs/tidepool/fonts/OFL.txt +94 -0
- package/dist/theme-packs/tidepool/fonts/SpaceGrotesk-latin.woff2 +0 -0
- package/dist/theme-packs/tidepool/meta.json +37 -0
- package/dist/theme-packs/tidepool/pack.css +425 -0
- package/dist/theme-packs/timberline/fonts/Fraunces-italic-latin.woff2 +0 -0
- package/dist/theme-packs/timberline/fonts/Fraunces-latin.woff2 +0 -0
- package/dist/theme-packs/timberline/fonts/JetBrainsMono-latin.woff2 +0 -0
- package/dist/theme-packs/timberline/fonts/OFL.txt +95 -0
- package/dist/theme-packs/timberline/fonts/SourceSans3-italic-latin.woff2 +0 -0
- package/dist/theme-packs/timberline/fonts/SourceSans3-latin.woff2 +0 -0
- package/dist/theme-packs/timberline/meta.json +38 -0
- package/dist/theme-packs/timberline/pack.css +509 -0
- package/dist/theme-packs/washi/meta.json +1 -1
- package/dist/theme-packs/washi/pack.css +6 -26
- package/eject/doc-history/index.tsx +1 -1
- package/eject/doc-pager/index.tsx +2 -2
- package/eject/header/header.tsx +16 -8
- package/eject/header/nav-class-tokens.ts +115 -0
- package/eject/header/nav-overflow-script.ts +49 -16
- package/eject/sidebar-tree-island/index.tsx +4 -4
- package/package.json +16 -8
- package/routes-src/index.tsx +2 -1
- package/routes-src/locale-index.tsx +2 -1
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
Copyright 2018 The Manrope Project Authors (https://github.com/sharanda/manrope)
|
|
2
|
+
Copyright 2021 The Spline Sans Mono Project Authors (https://github.com/SorkinType/SplineSansMono)
|
|
3
|
+
|
|
4
|
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
5
|
+
This license is copied below, and is also available with a FAQ at:
|
|
6
|
+
https://scripts.sil.org/OFL
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
-----------------------------------------------------------
|
|
10
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
11
|
+
-----------------------------------------------------------
|
|
12
|
+
|
|
13
|
+
PREAMBLE
|
|
14
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
15
|
+
development of collaborative font projects, to support the font creation
|
|
16
|
+
efforts of academic and linguistic communities, and to provide a free and
|
|
17
|
+
open framework in which fonts may be shared and improved in partnership
|
|
18
|
+
with others.
|
|
19
|
+
|
|
20
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
|
21
|
+
redistributed freely as long as they are not sold by themselves. The
|
|
22
|
+
fonts, including any derivative works, can be bundled, embedded,
|
|
23
|
+
redistributed and/or sold with any software provided that any reserved
|
|
24
|
+
names are not used by derivative works. The fonts and derivatives,
|
|
25
|
+
however, cannot be released under any other type of license. The
|
|
26
|
+
requirement for fonts to remain under this license does not apply
|
|
27
|
+
to any document created using the fonts or their derivatives.
|
|
28
|
+
|
|
29
|
+
DEFINITIONS
|
|
30
|
+
"Font Software" refers to the set of files released by the Copyright
|
|
31
|
+
Holder(s) under this license and clearly marked as such. This may
|
|
32
|
+
include source files, build scripts and documentation.
|
|
33
|
+
|
|
34
|
+
"Reserved Font Name" refers to any names specified as such after the
|
|
35
|
+
copyright statement(s).
|
|
36
|
+
|
|
37
|
+
"Original Version" refers to the collection of Font Software components as
|
|
38
|
+
distributed by the Copyright Holder(s).
|
|
39
|
+
|
|
40
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
41
|
+
or substituting -- in part or in whole -- any of the components of the
|
|
42
|
+
Original Version, by changing formats or by porting the Font Software to a
|
|
43
|
+
new environment.
|
|
44
|
+
|
|
45
|
+
"Author" refers to any designer, engineer, programmer, technical
|
|
46
|
+
writer or other person who contributed to the Font Software.
|
|
47
|
+
|
|
48
|
+
PERMISSION & CONDITIONS
|
|
49
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
50
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
51
|
+
redistribute, and sell modified and unmodified copies of the Font
|
|
52
|
+
Software, subject to the following conditions:
|
|
53
|
+
|
|
54
|
+
1) Neither the Font Software nor any of its individual components,
|
|
55
|
+
in Original or Modified Versions, may be sold by itself.
|
|
56
|
+
|
|
57
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
|
58
|
+
redistributed and/or sold with any software, provided that each copy
|
|
59
|
+
contains the above copyright notice and this license. These can be
|
|
60
|
+
included either as stand-alone text files, human-readable headers or
|
|
61
|
+
in the appropriate machine-readable metadata fields within text or
|
|
62
|
+
binary files as long as those fields can be easily viewed by the user.
|
|
63
|
+
|
|
64
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
|
65
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
|
66
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
|
67
|
+
presented to the users.
|
|
68
|
+
|
|
69
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
70
|
+
Software shall not be used to promote, endorse or advertise any
|
|
71
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
|
72
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
73
|
+
permission.
|
|
74
|
+
|
|
75
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
|
76
|
+
must be distributed entirely under this license, and must not be
|
|
77
|
+
distributed under any other license. The requirement for fonts to
|
|
78
|
+
remain under this license does not apply to any document created
|
|
79
|
+
using the Font Software.
|
|
80
|
+
|
|
81
|
+
TERMINATION
|
|
82
|
+
This license becomes null and void if any of the above conditions are
|
|
83
|
+
not met.
|
|
84
|
+
|
|
85
|
+
DISCLAIMER
|
|
86
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
87
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
88
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
89
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
90
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
91
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
92
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
93
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
94
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
Binary file
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"slug": "scandi",
|
|
4
|
+
"name": "Scandi",
|
|
5
|
+
"description": "Hygge minimalism — oat linen, sage & clay, pill nav actives and 8px corners; night mode is warm charcoal lit by candle amber.",
|
|
6
|
+
"mode": "light",
|
|
7
|
+
"version": "1.0.0",
|
|
8
|
+
"fonts": {
|
|
9
|
+
"sans": "Manrope",
|
|
10
|
+
"mono": "Spline Sans Mono",
|
|
11
|
+
"loaded": ["Manrope", "Spline Sans Mono"]
|
|
12
|
+
},
|
|
13
|
+
"preview": {
|
|
14
|
+
"light": {
|
|
15
|
+
"bg": "oklch(0.963 0.012 83)",
|
|
16
|
+
"fg": "oklch(0.28 0.02 55)",
|
|
17
|
+
"accent": "oklch(0.44 0.08 152)",
|
|
18
|
+
"syntax": {
|
|
19
|
+
"keyword": "oklch(0.47 0.105 40)",
|
|
20
|
+
"string": "oklch(0.45 0.09 150)",
|
|
21
|
+
"comment": "oklch(0.5 0.02 70)",
|
|
22
|
+
"callable": "oklch(0.45 0.08 240)"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"dark": {
|
|
26
|
+
"bg": "oklch(0.235 0.015 55)",
|
|
27
|
+
"fg": "oklch(0.92 0.012 85)",
|
|
28
|
+
"accent": "oklch(0.82 0.105 75)",
|
|
29
|
+
"syntax": {
|
|
30
|
+
"keyword": "oklch(0.76 0.1 45)",
|
|
31
|
+
"string": "oklch(0.78 0.09 150)",
|
|
32
|
+
"comment": "oklch(0.66 0.02 75)",
|
|
33
|
+
"callable": "oklch(0.75 0.075 238)"
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
@@ -0,0 +1,370 @@
|
|
|
1
|
+
/* ============================================================
|
|
2
|
+
Scandi — zudo-doc theme pack (ADR docs/adr/theme-packs.md)
|
|
3
|
+
|
|
4
|
+
Hygge minimalism: an oat/ecru room with sage and clay accents,
|
|
5
|
+
pill-shaped nav actives, an even 8px radius discipline, and a
|
|
6
|
+
linen-subtle weave on the page body (two cheap repeating
|
|
7
|
+
gradients at ~2% ink — text backdrops stay effectively solid).
|
|
8
|
+
Light = a Scandinavian interior at midday; dark = hygge night —
|
|
9
|
+
warm smoked charcoal lit by candle amber (the accent itself
|
|
10
|
+
shifts from daylight sage to candlelight at night). Manrope
|
|
11
|
+
carries everything sans; Spline Sans Mono keeps code soft.
|
|
12
|
+
|
|
13
|
+
Deliberately COOL restraint next to its neighbors: hearth is
|
|
14
|
+
cream/brick/firelight (radial glows, serif chrome); washi is
|
|
15
|
+
JP paper; drift is dark slate with glowing pills. Scandi keeps
|
|
16
|
+
flat quiet pills, no halos, no serif, no fire.
|
|
17
|
+
|
|
18
|
+
Watch-out honored: sage/clay appear as DEEP inks (L ≈ 0.44)
|
|
19
|
+
when they carry text on oat, and as airy pastels only on
|
|
20
|
+
surfaces and marks. Dark-mode state hues run bright (L ≈ 0.82)
|
|
21
|
+
so admonition titles clear AA on their own 12% tints.
|
|
22
|
+
|
|
23
|
+
Every rule below is scoped under html[data-theme-pack="scandi"]
|
|
24
|
+
— this is what makes the runtime pack swap atomic (Decision 3)
|
|
25
|
+
and lets the validator prove a pack can never leak styles while
|
|
26
|
+
inactive (Decision 6.7). The @font-face blocks are the sole
|
|
27
|
+
exception (at-rules can't be selector-scoped).
|
|
28
|
+
|
|
29
|
+
Prototype-selector adaptation against the REAL DOM:
|
|
30
|
+
- `.sb-group a` → `#desktop-sidebar a` + `a[data-nav-active]`
|
|
31
|
+
- `.toc-active` → `nav[data-zd-toc] a[aria-current="true"]`
|
|
32
|
+
- `.doc-pager` → `.zd-content > nav[data-doc-pager]`
|
|
33
|
+
- mobile counterparts styled via their own stable hooks
|
|
34
|
+
(`aside[data-zd-mobile-sidebar]`, `div[data-zd-mobile-toc]`).
|
|
35
|
+
============================================================ */
|
|
36
|
+
|
|
37
|
+
/* ---- Manrope — the whole sans voice (body, chrome, headings).
|
|
38
|
+
Variable 200–800 in one file; the airy 500s and the firm
|
|
39
|
+
750 headline weight ride the same wght axis. Latin subset
|
|
40
|
+
only (payload budget) — stray glyphs fall to system-ui. ---- */
|
|
41
|
+
|
|
42
|
+
@font-face {
|
|
43
|
+
font-family: "Manrope";
|
|
44
|
+
font-style: normal;
|
|
45
|
+
font-weight: 200 800;
|
|
46
|
+
font-display: swap;
|
|
47
|
+
src: url("./fonts/Manrope-latin.woff2") format("woff2");
|
|
48
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
|
|
49
|
+
U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
|
|
50
|
+
U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
/* ---- Spline Sans Mono — soft grotesque mono for the birch code
|
|
54
|
+
panels. Variable 400–600. ---- */
|
|
55
|
+
|
|
56
|
+
@font-face {
|
|
57
|
+
font-family: "Spline Sans Mono";
|
|
58
|
+
font-style: normal;
|
|
59
|
+
font-weight: 400 600;
|
|
60
|
+
font-display: swap;
|
|
61
|
+
src: url("./fonts/SplineSansMono-latin.woff2") format("woff2");
|
|
62
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
|
|
63
|
+
U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
|
|
64
|
+
U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
html[data-theme-pack="scandi"] {
|
|
68
|
+
/* Tier-2 semantic roles — oat daylight / candle-lit charcoal night.
|
|
69
|
+
Both modes always via light-dark(). No hard black anywhere. */
|
|
70
|
+
--zd-bg: light-dark(oklch(0.963 0.012 83), oklch(0.235 0.015 55));
|
|
71
|
+
--zd-fg: light-dark(oklch(0.28 0.02 55), oklch(0.92 0.012 85));
|
|
72
|
+
--zd-selection-bg: light-dark(oklch(0.86 0.06 150), oklch(0.43 0.06 65));
|
|
73
|
+
--zd-selection-fg: light-dark(oklch(0.25 0.02 55), oklch(0.95 0.008 85));
|
|
74
|
+
--zd-surface: light-dark(oklch(0.975 0.008 88), oklch(0.27 0.016 55));
|
|
75
|
+
--zd-muted: light-dark(oklch(0.46 0.025 70), oklch(0.72 0.02 75));
|
|
76
|
+
--zd-accent: light-dark(oklch(0.44 0.08 152), oklch(0.82 0.105 75));
|
|
77
|
+
--zd-accent-hover: light-dark(oklch(0.37 0.075 155), oklch(0.87 0.09 80));
|
|
78
|
+
--zd-code-bg: light-dark(oklch(0.935 0.014 87), oklch(0.275 0.018 58));
|
|
79
|
+
--zd-code-fg: light-dark(oklch(0.28 0.02 55), oklch(0.92 0.012 85));
|
|
80
|
+
--zd-success: light-dark(oklch(0.44 0.095 150), oklch(0.82 0.1 150));
|
|
81
|
+
--zd-danger: light-dark(oklch(0.46 0.13 30), oklch(0.82 0.1 32));
|
|
82
|
+
--zd-warning: light-dark(oklch(0.46 0.1 70), oklch(0.83 0.1 80));
|
|
83
|
+
--zd-info: light-dark(oklch(0.46 0.075 235), oklch(0.82 0.07 235));
|
|
84
|
+
|
|
85
|
+
/* syntax — all 9 roles, both modes, one interior palette: clay
|
|
86
|
+
keywords, sage strings, amber numbers, dusty-blue callables,
|
|
87
|
+
moss types, flax comments. Night runs candle-bright (L ≈ .76+)
|
|
88
|
+
so every role clears AA on the charcoal panel. inserted/deleted
|
|
89
|
+
reuse the success/danger hues. */
|
|
90
|
+
--zd-syntax-comment: light-dark(oklch(0.5 0.02 70), oklch(0.66 0.02 75));
|
|
91
|
+
--zd-syntax-string: light-dark(oklch(0.45 0.09 150), oklch(0.78 0.09 150));
|
|
92
|
+
--zd-syntax-number: light-dark(oklch(0.49 0.1 65), oklch(0.8 0.1 70));
|
|
93
|
+
--zd-syntax-keyword: light-dark(oklch(0.47 0.105 40), oklch(0.76 0.1 45));
|
|
94
|
+
--zd-syntax-callable: light-dark(oklch(0.45 0.08 240), oklch(0.75 0.075 238));
|
|
95
|
+
--zd-syntax-type: light-dark(oklch(0.47 0.08 110), oklch(0.77 0.085 115));
|
|
96
|
+
--zd-syntax-name: light-dark(oklch(0.28 0.02 55), oklch(0.92 0.012 85));
|
|
97
|
+
--zd-syntax-inserted: light-dark(oklch(0.44 0.095 150), oklch(0.82 0.1 150));
|
|
98
|
+
--zd-syntax-deleted: light-dark(oklch(0.46 0.13 30), oklch(0.82 0.1 32));
|
|
99
|
+
|
|
100
|
+
/* fonts — Manrope everywhere sans, Spline Sans Mono for code. */
|
|
101
|
+
--font-sans: "Manrope", system-ui, sans-serif;
|
|
102
|
+
--font-mono: "Spline Sans Mono", ui-monospace, monospace;
|
|
103
|
+
|
|
104
|
+
/* Tier-3 component seams — firm Manrope headings over airy body,
|
|
105
|
+
the 8px radius discipline, deep-sage pill fill for the active
|
|
106
|
+
nav item (candle amber at night). */
|
|
107
|
+
--zdc-doc-title-weight: 750;
|
|
108
|
+
--zdc-doc-title-tracking: -0.02em;
|
|
109
|
+
--zdc-doc-h2-weight: 700;
|
|
110
|
+
--zdc-doc-h2-tracking: -0.012em;
|
|
111
|
+
--zdc-doc-h3-weight: 650;
|
|
112
|
+
--zdc-admonition-radius: 8px;
|
|
113
|
+
--zdc-admonition-border-width: 3px;
|
|
114
|
+
--zdc-card-radius: 8px;
|
|
115
|
+
--zdc-nav-active-weight: 600;
|
|
116
|
+
--zdc-nav-active-indicator-color: light-dark(oklch(0.44 0.08 152), oklch(0.82 0.105 75));
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
/* ---- Scandi extras — quiet moves only ---- */
|
|
120
|
+
|
|
121
|
+
/* linen weave: a whisper of warp/weft at ~2% ink. Cheap (two
|
|
122
|
+
repeating gradients), mode-aware for free (the mixed ink is
|
|
123
|
+
--zd-fg, which flips), and effectively solid behind text —
|
|
124
|
+
the composited worst case is checked in the contrast table. */
|
|
125
|
+
html[data-theme-pack="scandi"] body {
|
|
126
|
+
background-image:
|
|
127
|
+
repeating-linear-gradient(
|
|
128
|
+
0deg,
|
|
129
|
+
color-mix(in srgb, var(--zd-fg) 2%, transparent) 0 1px,
|
|
130
|
+
transparent 1px 4px
|
|
131
|
+
),
|
|
132
|
+
repeating-linear-gradient(
|
|
133
|
+
90deg,
|
|
134
|
+
color-mix(in srgb, var(--zd-fg) 1.4%, transparent) 0 1px,
|
|
135
|
+
transparent 1px 4px
|
|
136
|
+
);
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
/* header: a birch shelf — flat surface, hairline underline, pill
|
|
140
|
+
nav hovers. No shadow; scandi light comes from the window, not
|
|
141
|
+
a lamp over the header. */
|
|
142
|
+
html[data-theme-pack="scandi"] header[data-header] {
|
|
143
|
+
background-color: var(--zd-surface);
|
|
144
|
+
border-bottom-color: color-mix(in srgb, var(--zd-muted) 26%, transparent);
|
|
145
|
+
}
|
|
146
|
+
html[data-theme-pack="scandi"] [data-header-logo] {
|
|
147
|
+
font-weight: 800;
|
|
148
|
+
letter-spacing: -0.02em;
|
|
149
|
+
}
|
|
150
|
+
html[data-theme-pack="scandi"] [data-nav-item] {
|
|
151
|
+
border-radius: 999px;
|
|
152
|
+
}
|
|
153
|
+
html[data-theme-pack="scandi"] [data-nav-item]:hover {
|
|
154
|
+
text-decoration: none;
|
|
155
|
+
background: color-mix(in srgb, var(--zd-accent) 10%, transparent);
|
|
156
|
+
color: var(--zd-accent-hover);
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
/* sidebar: same room, one shade of birch away; every link is a
|
|
160
|
+
quiet pill. The drawer (mobile) is a separate stable hook and
|
|
161
|
+
gets the same treatment. */
|
|
162
|
+
html[data-theme-pack="scandi"] #desktop-sidebar,
|
|
163
|
+
html[data-theme-pack="scandi"] aside[data-zd-mobile-sidebar] {
|
|
164
|
+
background-color: light-dark(oklch(0.948 0.013 85), oklch(0.218 0.014 55));
|
|
165
|
+
border-right-color: color-mix(in srgb, var(--zd-muted) 22%, transparent);
|
|
166
|
+
}
|
|
167
|
+
html[data-theme-pack="scandi"] #desktop-sidebar a,
|
|
168
|
+
html[data-theme-pack="scandi"] aside[data-zd-mobile-sidebar] a {
|
|
169
|
+
border-radius: 999px;
|
|
170
|
+
transition:
|
|
171
|
+
background-color 0.15s ease,
|
|
172
|
+
color 0.15s ease;
|
|
173
|
+
}
|
|
174
|
+
/* hover wash — EXCLUDES active items so the wash never swallows
|
|
175
|
+
the aria-current/data-nav-active fill (hovering the current page
|
|
176
|
+
must keep its pill, not fade to a 10% wash). */
|
|
177
|
+
html[data-theme-pack="scandi"] #desktop-sidebar a:hover:not([data-nav-active]):not([aria-current="page"]),
|
|
178
|
+
html[data-theme-pack="scandi"] aside[data-zd-mobile-sidebar] a:hover:not([data-nav-active]):not([aria-current="page"]) {
|
|
179
|
+
text-decoration: none;
|
|
180
|
+
background: color-mix(in srgb, var(--zd-accent) 10%, transparent);
|
|
181
|
+
color: var(--zd-accent-hover);
|
|
182
|
+
}
|
|
183
|
+
/* root-level actives carry aria-current="page" but not
|
|
184
|
+
data-nav-active — round their default ink fill to the 8px
|
|
185
|
+
discipline so no squared default remnant survives. */
|
|
186
|
+
html[data-theme-pack="scandi"] #desktop-sidebar a[aria-current="page"],
|
|
187
|
+
html[data-theme-pack="scandi"] aside[data-zd-mobile-sidebar] a[aria-current="page"] {
|
|
188
|
+
border-radius: 8px;
|
|
189
|
+
}
|
|
190
|
+
/* active leaf item: THE signature — a full pill in deep sage
|
|
191
|
+
(candle amber at night), oat text, flat as painted wood. Fill
|
|
192
|
+
comes from --zdc-nav-active-indicator-color; no glow, no shadow
|
|
193
|
+
(that's drift's move, not ours). Declared after the
|
|
194
|
+
aria-current radius rule so the pill wins at equal specificity. */
|
|
195
|
+
html[data-theme-pack="scandi"] #desktop-sidebar a[data-nav-active],
|
|
196
|
+
html[data-theme-pack="scandi"] aside[data-zd-mobile-sidebar] a[data-nav-active],
|
|
197
|
+
html[data-theme-pack="scandi"] a[data-nav-active] {
|
|
198
|
+
color: var(--zd-bg);
|
|
199
|
+
border-radius: 999px;
|
|
200
|
+
}
|
|
201
|
+
html[data-theme-pack="scandi"] a[data-nav-active]:hover {
|
|
202
|
+
color: var(--zd-bg);
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
/* headings: firm Manrope. h1 gets the painted-wood bar — sage into
|
|
206
|
+
clay, the two-hue signature in one 3.25rem stroke. */
|
|
207
|
+
html[data-theme-pack="scandi"] .zd-content h1::after {
|
|
208
|
+
content: "";
|
|
209
|
+
display: block;
|
|
210
|
+
width: 3.25rem;
|
|
211
|
+
height: 0.3rem;
|
|
212
|
+
border-radius: 999px;
|
|
213
|
+
margin-top: 0.85rem;
|
|
214
|
+
background: linear-gradient(
|
|
215
|
+
to right,
|
|
216
|
+
var(--zd-accent) 0 58%,
|
|
217
|
+
light-dark(oklch(0.62 0.1 45), oklch(0.74 0.09 50)) 58%
|
|
218
|
+
);
|
|
219
|
+
}
|
|
220
|
+
/* h2: the default gradient bar is SSR-inlined via border-image —
|
|
221
|
+
defeated with the Decision 6.6 carve-out, replaced by a sage-mist
|
|
222
|
+
hairline. */
|
|
223
|
+
html[data-theme-pack="scandi"] .zd-content h2 {
|
|
224
|
+
border-image: none !important;
|
|
225
|
+
border-top-width: 1px;
|
|
226
|
+
border-top-color: color-mix(in srgb, var(--zd-accent) 38%, transparent);
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
/* links: sage ink with a soft sage underline that firms on hover */
|
|
230
|
+
html[data-theme-pack="scandi"] .zd-content a {
|
|
231
|
+
text-decoration-thickness: 1px;
|
|
232
|
+
text-underline-offset: 3px;
|
|
233
|
+
text-decoration-color: color-mix(in srgb, var(--zd-accent) 45%, transparent);
|
|
234
|
+
}
|
|
235
|
+
html[data-theme-pack="scandi"] .zd-content a:hover {
|
|
236
|
+
text-decoration-color: var(--zd-accent-hover);
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
/* inline code: a small birch chip */
|
|
240
|
+
html[data-theme-pack="scandi"] .zd-content code:not(pre code) {
|
|
241
|
+
border-radius: 6px;
|
|
242
|
+
border: 1px solid color-mix(in srgb, var(--zd-muted) 20%, transparent);
|
|
243
|
+
padding: 1px 0.35rem;
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
/* code blocks: birch panel, 8px corners, hairline border, a 1px
|
|
247
|
+
planed-wood sheen along the top edge — solid and calm, no grain,
|
|
248
|
+
no glow. Comments lean into a soft oblique. */
|
|
249
|
+
html[data-theme-pack="scandi"] pre.hi-root {
|
|
250
|
+
border-radius: 8px;
|
|
251
|
+
border-color: color-mix(in srgb, var(--zd-muted) 26%, transparent);
|
|
252
|
+
box-shadow: inset 0 1px 0 light-dark(oklch(1 0 0 / 0.6), oklch(1 0 0 / 0.04));
|
|
253
|
+
padding: 1rem 1.15rem;
|
|
254
|
+
}
|
|
255
|
+
html[data-theme-pack="scandi"] .hi-com {
|
|
256
|
+
font-style: italic;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
/* blockquote: a clay-cushioned aside — the secondary hue's one
|
|
260
|
+
large moment. */
|
|
261
|
+
html[data-theme-pack="scandi"] .zd-content blockquote {
|
|
262
|
+
border-left: 3px solid light-dark(oklch(0.62 0.1 45), oklch(0.74 0.09 50));
|
|
263
|
+
border-radius: 0 8px 8px 0;
|
|
264
|
+
background: light-dark(oklch(0.62 0.1 45 / 0.07), oklch(0.74 0.09 50 / 0.1));
|
|
265
|
+
padding: 0.7rem 1.1rem;
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
/* hr: a stitched seam — running dots, like thread through linen */
|
|
269
|
+
html[data-theme-pack="scandi"] .zd-content hr {
|
|
270
|
+
border: none;
|
|
271
|
+
height: 3px;
|
|
272
|
+
background: radial-gradient(
|
|
273
|
+
circle,
|
|
274
|
+
color-mix(in srgb, var(--zd-muted) 55%, transparent) 1.5px,
|
|
275
|
+
transparent 1.6px
|
|
276
|
+
)
|
|
277
|
+
left center / 13px 3px repeat-x;
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
/* admonitions: rounded cards with quiet line icons — no emoji
|
|
281
|
+
colour noise in a scandi room. */
|
|
282
|
+
html[data-theme-pack="scandi"] [data-admonition="note"] .admonition-title::before {
|
|
283
|
+
content: "✎ ";
|
|
284
|
+
}
|
|
285
|
+
html[data-theme-pack="scandi"] [data-admonition="tip"] .admonition-title::before {
|
|
286
|
+
content: "✦ ";
|
|
287
|
+
}
|
|
288
|
+
html[data-theme-pack="scandi"] [data-admonition="info"] .admonition-title::before {
|
|
289
|
+
content: "❄ ";
|
|
290
|
+
}
|
|
291
|
+
html[data-theme-pack="scandi"] [data-admonition="warning"] .admonition-title::before {
|
|
292
|
+
content: "△ ";
|
|
293
|
+
}
|
|
294
|
+
html[data-theme-pack="scandi"] [data-admonition="important"] .admonition-title::before {
|
|
295
|
+
content: "❋ ";
|
|
296
|
+
}
|
|
297
|
+
html[data-theme-pack="scandi"] [data-admonition="danger"] .admonition-title::before {
|
|
298
|
+
content: "✕ ";
|
|
299
|
+
}
|
|
300
|
+
html[data-theme-pack="scandi"] [data-admonition="caution"] .admonition-title::before {
|
|
301
|
+
content: "▲ ";
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
/* tables: sage-tinted header band under a firm sage rule */
|
|
305
|
+
html[data-theme-pack="scandi"] .zd-content th {
|
|
306
|
+
background: color-mix(in srgb, var(--zd-accent) 8%, transparent);
|
|
307
|
+
border-bottom-width: 2px;
|
|
308
|
+
border-bottom-color: color-mix(in srgb, var(--zd-accent) 40%, transparent);
|
|
309
|
+
}
|
|
310
|
+
html[data-theme-pack="scandi"] .zd-content td {
|
|
311
|
+
border-bottom-color: color-mix(in srgb, var(--zd-muted) 22%, transparent);
|
|
312
|
+
}
|
|
313
|
+
html[data-theme-pack="scandi"] .zd-content tbody tr:hover {
|
|
314
|
+
background: color-mix(in srgb, var(--zd-muted) 7%, transparent);
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
/* TOC: the active heading is a sage-wash pill (aria-current IS the
|
|
318
|
+
contract — there is no .toc-active class). The pill pulls left
|
|
319
|
+
within the ul's padding; the rail-side overflow clips at the
|
|
320
|
+
padding edge, so stay inside it (see the foundry note). */
|
|
321
|
+
html[data-theme-pack="scandi"] nav[data-zd-toc] ul {
|
|
322
|
+
border-left-color: color-mix(in srgb, var(--zd-muted) 24%, transparent);
|
|
323
|
+
}
|
|
324
|
+
html[data-theme-pack="scandi"] nav[data-zd-toc] a:hover {
|
|
325
|
+
text-decoration: none;
|
|
326
|
+
color: var(--zd-accent-hover);
|
|
327
|
+
}
|
|
328
|
+
html[data-theme-pack="scandi"] nav[data-zd-toc] a[aria-current="true"] {
|
|
329
|
+
background: color-mix(in srgb, var(--zd-accent) 14%, transparent);
|
|
330
|
+
color: var(--zd-accent-hover);
|
|
331
|
+
font-weight: 600;
|
|
332
|
+
border-radius: 999px;
|
|
333
|
+
padding-left: 0.55rem;
|
|
334
|
+
padding-right: 0.55rem;
|
|
335
|
+
margin-left: -0.55rem;
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
/* mobile TOC: the collapsible panel emits its own markup — give it
|
|
339
|
+
the same birch card language as everything else. */
|
|
340
|
+
html[data-theme-pack="scandi"] div[data-zd-mobile-toc] {
|
|
341
|
+
background-color: var(--zd-surface);
|
|
342
|
+
border-color: color-mix(in srgb, var(--zd-muted) 26%, transparent);
|
|
343
|
+
border-radius: 8px;
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
/* pager: birch cards that lift a breath on hover — soft warm-gray
|
|
347
|
+
shadow, never a glow. */
|
|
348
|
+
html[data-theme-pack="scandi"] .zd-content > nav[data-doc-pager] a {
|
|
349
|
+
background: var(--zd-surface);
|
|
350
|
+
border-radius: 8px;
|
|
351
|
+
border-color: color-mix(in srgb, var(--zd-muted) 26%, transparent);
|
|
352
|
+
transition:
|
|
353
|
+
border-color 0.18s ease,
|
|
354
|
+
box-shadow 0.18s ease,
|
|
355
|
+
transform 0.18s ease;
|
|
356
|
+
}
|
|
357
|
+
html[data-theme-pack="scandi"] .zd-content > nav[data-doc-pager] a:hover {
|
|
358
|
+
border-color: color-mix(in srgb, var(--zd-accent) 55%, transparent);
|
|
359
|
+
box-shadow: 0 8px 22px -12px light-dark(oklch(0.35 0.03 60 / 0.35), oklch(0.05 0.01 60 / 0.6));
|
|
360
|
+
transform: translateY(-1px);
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
/* breadcrumb + footer: quiet and warm */
|
|
364
|
+
html[data-theme-pack="scandi"] main nav[aria-label="Breadcrumb"] a:hover {
|
|
365
|
+
color: var(--zd-accent-hover);
|
|
366
|
+
}
|
|
367
|
+
html[data-theme-pack="scandi"] footer[data-footer] {
|
|
368
|
+
background-color: var(--zd-surface);
|
|
369
|
+
border-top-color: color-mix(in srgb, var(--zd-muted) 24%, transparent);
|
|
370
|
+
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"name": "Sumi",
|
|
5
5
|
"description": "Sumi-e ink on washi — bold mincho brush headings, deep black strokes, one vermillion hanko seal accent.",
|
|
6
6
|
"mode": "light",
|
|
7
|
-
"version": "1.0.
|
|
7
|
+
"version": "1.0.2",
|
|
8
8
|
"fonts": {
|
|
9
9
|
"sans": "Zen Kaku Gothic New",
|
|
10
10
|
"mono": "IBM Plex Mono",
|
|
@@ -177,7 +177,7 @@ html[data-theme-pack="sumi"] {
|
|
|
177
177
|
--zd-code-fg: light-dark(#f3efe6, #e9e4d8);
|
|
178
178
|
--zd-success: light-dark(#2e6b45, #82c197); /* matsu pine */
|
|
179
179
|
--zd-danger: light-dark(#b8232e, #ea6a72); /* shu vermillion */
|
|
180
|
-
--zd-warning: light-dark(#
|
|
180
|
+
--zd-warning: light-dark(#815b03, #d9a84e); /* ochre / aged paper */
|
|
181
181
|
--zd-info: light-dark(#2c5977, #82abc9); /* ai indigo wash */
|
|
182
182
|
|
|
183
183
|
/* syntax — all 9 roles, both modes: monochrome ink washes on the
|
|
@@ -274,6 +274,9 @@ html[data-theme-pack="sumi"] .zd-content h1 {
|
|
|
274
274
|
position: relative;
|
|
275
275
|
padding-bottom: 0.95rem;
|
|
276
276
|
margin-bottom: 0.9rem;
|
|
277
|
+
/* the brush-stroke ::after is this pack's title rule — drop the default
|
|
278
|
+
h1 border-b (#3025) so it doesn't double up */
|
|
279
|
+
border-bottom: 0;
|
|
277
280
|
}
|
|
278
281
|
html[data-theme-pack="sumi"] .zd-content h1::after {
|
|
279
282
|
content: "";
|
|
@@ -264,6 +264,10 @@ html[data-theme-pack="swissgrid"] .zd-content {
|
|
|
264
264
|
html[data-theme-pack="swissgrid"] .zd-content h1 {
|
|
265
265
|
font-size: clamp(2.3rem, 5vw + 1rem, 3.1rem);
|
|
266
266
|
line-height: 1.02;
|
|
267
|
+
/* the red-bar ::after is this pack's title rule — drop the default h1
|
|
268
|
+
border-b and its padding (#3025) so it doesn't double up */
|
|
269
|
+
border-bottom: 0;
|
|
270
|
+
padding-bottom: 0;
|
|
267
271
|
}
|
|
268
272
|
html[data-theme-pack="swissgrid"] .zd-content h1::after {
|
|
269
273
|
content: "";
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
Copyright 2020 The Space Grotesk Project Authors (https://github.com/floriankarsten/space-grotesk)
|
|
2
|
+
Copyright 2020 The JetBrains Mono Project Authors (https://github.com/JetBrains/JetBrainsMono)
|
|
3
|
+
|
|
4
|
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
5
|
+
This license is copied below, and is also available with a FAQ at:
|
|
6
|
+
https://scripts.sil.org/OFL
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
-----------------------------------------------------------
|
|
10
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
11
|
+
-----------------------------------------------------------
|
|
12
|
+
|
|
13
|
+
PREAMBLE
|
|
14
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
15
|
+
development of collaborative font projects, to support the font creation
|
|
16
|
+
efforts of academic and linguistic communities, and to provide a free and
|
|
17
|
+
open framework in which fonts may be shared and improved in partnership
|
|
18
|
+
with others.
|
|
19
|
+
|
|
20
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
|
21
|
+
redistributed freely as long as they are not sold by themselves. The
|
|
22
|
+
fonts, including any derivative works, can be bundled, embedded,
|
|
23
|
+
redistributed and/or sold with any software provided that any reserved
|
|
24
|
+
names are not used by derivative works. The fonts and derivatives,
|
|
25
|
+
however, cannot be released under any other type of license. The
|
|
26
|
+
requirement for fonts to remain under this license does not apply
|
|
27
|
+
to any document created using the fonts or their derivatives.
|
|
28
|
+
|
|
29
|
+
DEFINITIONS
|
|
30
|
+
"Font Software" refers to the set of files released by the Copyright
|
|
31
|
+
Holder(s) under this license and clearly marked as such. This may
|
|
32
|
+
include source files, build scripts and documentation.
|
|
33
|
+
|
|
34
|
+
"Reserved Font Name" refers to any names specified as such after the
|
|
35
|
+
copyright statement(s).
|
|
36
|
+
|
|
37
|
+
"Original Version" refers to the collection of Font Software components as
|
|
38
|
+
distributed by the Copyright Holder(s).
|
|
39
|
+
|
|
40
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
41
|
+
or substituting -- in part or in whole -- any of the components of the
|
|
42
|
+
Original Version, by changing formats or by porting the Font Software to a
|
|
43
|
+
new environment.
|
|
44
|
+
|
|
45
|
+
"Author" refers to any designer, engineer, programmer, technical
|
|
46
|
+
writer or other person who contributed to the Font Software.
|
|
47
|
+
|
|
48
|
+
PERMISSION & CONDITIONS
|
|
49
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
50
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
51
|
+
redistribute, and sell modified and unmodified copies of the Font
|
|
52
|
+
Software, subject to the following conditions:
|
|
53
|
+
|
|
54
|
+
1) Neither the Font Software nor any of its individual components,
|
|
55
|
+
in Original or Modified Versions, may be sold by itself.
|
|
56
|
+
|
|
57
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
|
58
|
+
redistributed and/or sold with any software, provided that each copy
|
|
59
|
+
contains the above copyright notice and this license. These can be
|
|
60
|
+
included either as stand-alone text files, human-readable headers or
|
|
61
|
+
in the appropriate machine-readable metadata fields within text or
|
|
62
|
+
binary files as long as those fields can be easily viewed by the user.
|
|
63
|
+
|
|
64
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
|
65
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
|
66
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
|
67
|
+
presented to the users.
|
|
68
|
+
|
|
69
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
70
|
+
Software shall not be used to promote, endorse or advertise any
|
|
71
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
|
72
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
73
|
+
permission.
|
|
74
|
+
|
|
75
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
|
76
|
+
must be distributed entirely under this license, and must not be
|
|
77
|
+
distributed under any other license. The requirement for fonts to
|
|
78
|
+
remain under this license does not apply to any document created
|
|
79
|
+
using the Font Software.
|
|
80
|
+
|
|
81
|
+
TERMINATION
|
|
82
|
+
This license becomes null and void if any of the above conditions are
|
|
83
|
+
not met.
|
|
84
|
+
|
|
85
|
+
DISCLAIMER
|
|
86
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
87
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
88
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
89
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
90
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
91
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
92
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
93
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
94
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
Binary file
|