@krigsvold/theme 0.0.0-stage → 2.1.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/LICENSE +21 -0
- package/NOTICE.md +11 -0
- package/README.md +51 -2
- package/dist/capabilities.json +101 -0
- package/dist/components.css +32 -0
- package/dist/dark.css +91 -0
- package/dist/dark.json +96 -0
- package/dist/design.json +49 -0
- package/dist/fonts.css +14 -0
- package/dist/foundation.css +86 -0
- package/dist/foundation.json +146 -0
- package/dist/full.css +5 -0
- package/dist/highlight-dark.css +20 -0
- package/dist/highlight-light.css +20 -0
- package/dist/index.cjs +4 -0
- package/dist/index.d.ts +11 -0
- package/dist/index.js +5 -0
- package/dist/layout.css +51 -0
- package/dist/layout.json +60 -0
- package/dist/legacy.css +97 -0
- package/dist/licenses/roboto-mono.txt +93 -0
- package/dist/licenses/roboto-slab.txt +201 -0
- package/dist/licenses/roboto.txt +93 -0
- package/dist/light.css +91 -0
- package/dist/light.json +96 -0
- package/dist/theme.css +183 -0
- package/dist/tokens.json +566 -0
- package/dist/typography.css +9 -0
- package/docs/layout.md +20 -0
- package/docs/provenance.md +27 -0
- package/docs/releasing.md +27 -0
- package/package.json +71 -4
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
{
|
|
2
|
+
"origin": "https://krigsvold.org/",
|
|
3
|
+
"sourceRepository": "basuhoward/krigsvold.org",
|
|
4
|
+
"sourceCommit": "e92e989b6e850b3a9cd8fbb565edb7eba6d3a6f7",
|
|
5
|
+
"sourceFiles": [
|
|
6
|
+
"assets/css/krigsvold.css",
|
|
7
|
+
"_includes/head.html",
|
|
8
|
+
"assets/css/material-kit.css",
|
|
9
|
+
"assets/scss/material-kit/bootstrap/_variables.scss"
|
|
10
|
+
],
|
|
11
|
+
"tokens": {
|
|
12
|
+
"color-navy-950": "#061325",
|
|
13
|
+
"color-navy-900": "#0a1d35",
|
|
14
|
+
"color-navy-800": "#123456",
|
|
15
|
+
"color-blue-600": "#286a9d",
|
|
16
|
+
"color-ice-400": "#9ed5e6",
|
|
17
|
+
"color-ice-200": "#d9eef4",
|
|
18
|
+
"color-ice-100": "#eef8fa",
|
|
19
|
+
"color-paper": "#fbfaf7",
|
|
20
|
+
"color-ink": "#17202a",
|
|
21
|
+
"color-muted": "#56616c",
|
|
22
|
+
"color-rule": "#d9dee2",
|
|
23
|
+
"color-gold": "#b58a3b",
|
|
24
|
+
"font-serif": "'Roboto Slab', Georgia, serif",
|
|
25
|
+
"font-display": "'Roboto Slab', Georgia, serif",
|
|
26
|
+
"font-sans": "'Roboto', Arial, sans-serif",
|
|
27
|
+
"font-mono": "'Roboto Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace",
|
|
28
|
+
"space-1": ".25rem",
|
|
29
|
+
"space-2": ".5rem",
|
|
30
|
+
"space-3": ".75rem",
|
|
31
|
+
"space-4": "1rem",
|
|
32
|
+
"space-6": "1.5rem",
|
|
33
|
+
"space-8": "2rem",
|
|
34
|
+
"space-12": "3rem",
|
|
35
|
+
"space-16": "4rem",
|
|
36
|
+
"space-24": "6rem",
|
|
37
|
+
"reading-width": "760px",
|
|
38
|
+
"content-width": "1320px",
|
|
39
|
+
"archive-width": "1320px",
|
|
40
|
+
"radius-sm": ".15rem",
|
|
41
|
+
"radius-md": ".3rem",
|
|
42
|
+
"radius-lg": ".4rem",
|
|
43
|
+
"radius-control": ".15rem",
|
|
44
|
+
"radius-card": "0",
|
|
45
|
+
"shadow-sm": "0 10px 35px rgb(0 0 0 / 12%)",
|
|
46
|
+
"shadow-md": "0 18px 44px rgb(6 19 37 / 18%)",
|
|
47
|
+
"shadow-lg": "0 24px 65px rgb(10 29 53 / 12%)",
|
|
48
|
+
"shadow-card": "none",
|
|
49
|
+
"transition-ui": ".15s ease-in",
|
|
50
|
+
"motion-duration": ".15s",
|
|
51
|
+
"text-body": "1.06rem",
|
|
52
|
+
"text-h1": "clamp(2.8rem, 6vw, 5.5rem)",
|
|
53
|
+
"text-h2": "2.1rem",
|
|
54
|
+
"text-h3": "1.42rem",
|
|
55
|
+
"text-display": "clamp(3.4rem, 7vw, 6.8rem)",
|
|
56
|
+
"text-section": "clamp(2rem, 4vw, 3.5rem)",
|
|
57
|
+
"leading-body": "1.65",
|
|
58
|
+
"leading-heading": "1.13",
|
|
59
|
+
"leading-display": ".98",
|
|
60
|
+
"weight-heading": "700",
|
|
61
|
+
"tracking-heading": "-.025em",
|
|
62
|
+
"tracking-display": "-.045em",
|
|
63
|
+
"tracking-label": ".16em",
|
|
64
|
+
"tracking-button": ".035em",
|
|
65
|
+
"border-width": "1px",
|
|
66
|
+
"focus-width": "3px",
|
|
67
|
+
"focus-gap": "3px",
|
|
68
|
+
"gutter": ".75rem",
|
|
69
|
+
"section-space": "clamp(4.5rem, 8vw, 7.5rem)",
|
|
70
|
+
"control-height": "2.75rem",
|
|
71
|
+
"control-padding": ".9rem",
|
|
72
|
+
"button-padding": ".625rem 1.5rem",
|
|
73
|
+
"text-button": ".75rem",
|
|
74
|
+
"leading-button": "1.667",
|
|
75
|
+
"divider-width": "3rem",
|
|
76
|
+
"divider-thickness": "3px",
|
|
77
|
+
"link-underline-offset": ".18em",
|
|
78
|
+
"hero-overlay": "linear-gradient(90deg, rgba(3,15,30,.93) 0%, rgba(6,27,51,.76) 52%, rgba(7,28,48,.42) 100%)",
|
|
79
|
+
"breakpoint-sm": "576px",
|
|
80
|
+
"breakpoint-md": "768px",
|
|
81
|
+
"breakpoint-lg": "992px",
|
|
82
|
+
"breakpoint-xl": "1200px",
|
|
83
|
+
"breakpoint-xxl": "1400px",
|
|
84
|
+
"layout-gap": "2rem",
|
|
85
|
+
"layout-gap-small": "1rem",
|
|
86
|
+
"layout-gap-large": "3rem",
|
|
87
|
+
"layout-sidebar-width": "20rem",
|
|
88
|
+
"layout-main-min": "30rem",
|
|
89
|
+
"layout-grid-min": "20rem",
|
|
90
|
+
"layout-split-min": "22rem",
|
|
91
|
+
"layout-section-space": "clamp(4.5rem, 8vw, 7.5rem)"
|
|
92
|
+
},
|
|
93
|
+
"typographyRoles": {
|
|
94
|
+
"serif": {
|
|
95
|
+
"family": "Roboto Slab",
|
|
96
|
+
"usage": "Editorial headings, ledes, quotations",
|
|
97
|
+
"weights": [
|
|
98
|
+
400,
|
|
99
|
+
700
|
|
100
|
+
]
|
|
101
|
+
},
|
|
102
|
+
"display": {
|
|
103
|
+
"family": "Roboto Slab",
|
|
104
|
+
"usage": "Hero and page titles, section headings",
|
|
105
|
+
"weights": [
|
|
106
|
+
400,
|
|
107
|
+
700
|
|
108
|
+
]
|
|
109
|
+
},
|
|
110
|
+
"sans": {
|
|
111
|
+
"family": "Roboto",
|
|
112
|
+
"usage": "Body prose, navigation, controls, tables, metadata",
|
|
113
|
+
"weights": [
|
|
114
|
+
400,
|
|
115
|
+
500,
|
|
116
|
+
700
|
|
117
|
+
],
|
|
118
|
+
"styles": [
|
|
119
|
+
"normal",
|
|
120
|
+
"italic"
|
|
121
|
+
]
|
|
122
|
+
},
|
|
123
|
+
"mono": {
|
|
124
|
+
"family": "Roboto Mono",
|
|
125
|
+
"usage": "Code, terminal text, keyboard notation",
|
|
126
|
+
"weights": [
|
|
127
|
+
400,
|
|
128
|
+
500,
|
|
129
|
+
700
|
|
130
|
+
],
|
|
131
|
+
"styles": [
|
|
132
|
+
"normal",
|
|
133
|
+
"italic"
|
|
134
|
+
],
|
|
135
|
+
"provenance": "New redistributable companion selected for the Roboto family"
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
"normalization": {
|
|
139
|
+
"spacing": "Quarter-rem scale organizing the source site’s recurring spacing; values are not taken from the theme demo.",
|
|
140
|
+
"focus": "Explicit 3px visible focus ring and offset added for reusable controls.",
|
|
141
|
+
"controlHeight": "44px minimum interaction target added to the generic primitives.",
|
|
142
|
+
"readingWidth": "760px text measure from source hero/subtitle limits, generalized to reading containers.",
|
|
143
|
+
"card": "Flat editorial card from .work-card, with a 3px top rule; larger feature shadows remain separately available.",
|
|
144
|
+
"motion": "Source Material Kit .15s ease-in transition, reduced to zero when requested."
|
|
145
|
+
}
|
|
146
|
+
}
|
package/dist/full.css
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/* Krigsvold Dark 2.1.0. MIT. */
|
|
2
|
+
pre code.hljs { display: block; overflow-x: auto; padding: 1em; }
|
|
3
|
+
code.hljs { padding: 3px 5px; }
|
|
4
|
+
.hljs { background: #061325; color: #EEF8FA; }
|
|
5
|
+
.hljs-subst { color: #EEF8FA; }
|
|
6
|
+
.hljs-keyword, .hljs-selector-tag, .hljs-literal { color: #9ED5E6; }
|
|
7
|
+
.hljs-string, .hljs-regexp, .hljs-addition { color: #A6CFB5; }
|
|
8
|
+
.hljs-number { color: #F0A4AF; }
|
|
9
|
+
.hljs-title, .hljs-function, .hljs-title.function_ { color: #C2E4EF; }
|
|
10
|
+
.hljs-type, .hljs-built_in, .hljs-title.class_ { color: #D9B876; }
|
|
11
|
+
.hljs-variable, .hljs-params { color: #EEF8FA; }
|
|
12
|
+
.hljs-comment, .hljs-quote { color: #B3CCD5; }
|
|
13
|
+
.hljs-symbol, .hljs-bullet { color: #C6B6DB; }
|
|
14
|
+
.hljs-tag, .hljs-name { color: #9ED5E6; }
|
|
15
|
+
.hljs-attr, .hljs-attribute { color: #D9B876; }
|
|
16
|
+
.hljs-deletion { color: #F0A4AF; }
|
|
17
|
+
.hljs-meta { color: #C6B6DB; }
|
|
18
|
+
.hljs-operator, .hljs-punctuation { color: #B3CCD5; }
|
|
19
|
+
.hljs-comment, .hljs-quote, .hljs-emphasis { font-style: italic; }
|
|
20
|
+
.hljs-strong { font-weight: bold; }
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/* Krigsvold Light 2.1.0. MIT. */
|
|
2
|
+
pre code.hljs { display: block; overflow-x: auto; padding: 1em; }
|
|
3
|
+
code.hljs { padding: 3px 5px; }
|
|
4
|
+
.hljs { background: #FBFAF7; color: #17202A; }
|
|
5
|
+
.hljs-subst { color: #17202A; }
|
|
6
|
+
.hljs-keyword, .hljs-selector-tag, .hljs-literal { color: #286A9D; }
|
|
7
|
+
.hljs-string, .hljs-regexp, .hljs-addition { color: #35644E; }
|
|
8
|
+
.hljs-number { color: #9A3542; }
|
|
9
|
+
.hljs-title, .hljs-function, .hljs-title.function_ { color: #123456; }
|
|
10
|
+
.hljs-type, .hljs-built_in, .hljs-title.class_ { color: #79571F; }
|
|
11
|
+
.hljs-variable, .hljs-params { color: #17202A; }
|
|
12
|
+
.hljs-comment, .hljs-quote { color: #56616C; }
|
|
13
|
+
.hljs-symbol, .hljs-bullet { color: #655477; }
|
|
14
|
+
.hljs-tag, .hljs-name { color: #286A9D; }
|
|
15
|
+
.hljs-attr, .hljs-attribute { color: #79571F; }
|
|
16
|
+
.hljs-deletion { color: #9A3542; }
|
|
17
|
+
.hljs-meta { color: #655477; }
|
|
18
|
+
.hljs-operator, .hljs-punctuation { color: #56616C; }
|
|
19
|
+
.hljs-comment, .hljs-quote, .hljs-emphasis { font-style: italic; }
|
|
20
|
+
.hljs-strong { font-weight: bold; }
|
package/dist/index.cjs
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
const data = {"name":"Krigsvold","version":"2.1.0","heritage":{"navy950":"#061325","navy900":"#0A1D35","navy800":"#123456","blue600":"#286A9D","ice400":"#9ED5E6","ice200":"#D9EEF4","ice100":"#EEF8FA","paper":"#FBFAF7","ink":"#17202A","muted":"#56616C","rule":"#D9DEE2","gold":"#B58A3B"},"design":{"radius":{"sm":".15rem","md":".3rem","lg":".4rem","control":".15rem","card":"0"},"spacing":{"1":".25rem","2":".5rem","3":".75rem","4":"1rem","6":"1.5rem","8":"2rem","12":"3rem","16":"4rem","24":"6rem"},"fonts":{"serif":"'Roboto Slab', Georgia, serif","sans":"'Roboto', Arial, sans-serif","display":"'Roboto Slab', Georgia, serif","mono":"'Roboto Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace","ui":"'Roboto', Arial, sans-serif","code":"'Roboto Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace"},"widths":{"reading-width":"760px","content-width":"1320px","archive-width":"1320px"},"shadows":{"shadow-sm":"0 10px 35px rgb(0 0 0 / 12%)","shadow-md":"0 18px 44px rgb(6 19 37 / 18%)","shadow-lg":"0 24px 65px rgb(10 29 53 / 12%)"},"motion":{"transition":".15s ease-in","reduced":"0s"},"breakpoints":{"sm":"576px","md":"768px","lg":"992px","xl":"1200px","xxl":"1400px"}},"foundation":{"origin":"https://krigsvold.org/","sourceRepository":"basuhoward/krigsvold.org","sourceCommit":"e92e989b6e850b3a9cd8fbb565edb7eba6d3a6f7","sourceFiles":["assets/css/krigsvold.css","_includes/head.html","assets/css/material-kit.css","assets/scss/material-kit/bootstrap/_variables.scss"],"tokens":{"color-navy-950":"#061325","color-navy-900":"#0a1d35","color-navy-800":"#123456","color-blue-600":"#286a9d","color-ice-400":"#9ed5e6","color-ice-200":"#d9eef4","color-ice-100":"#eef8fa","color-paper":"#fbfaf7","color-ink":"#17202a","color-muted":"#56616c","color-rule":"#d9dee2","color-gold":"#b58a3b","font-serif":"'Roboto Slab', Georgia, serif","font-display":"'Roboto Slab', Georgia, serif","font-sans":"'Roboto', Arial, sans-serif","font-mono":"'Roboto Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace","space-1":".25rem","space-2":".5rem","space-3":".75rem","space-4":"1rem","space-6":"1.5rem","space-8":"2rem","space-12":"3rem","space-16":"4rem","space-24":"6rem","reading-width":"760px","content-width":"1320px","archive-width":"1320px","radius-sm":".15rem","radius-md":".3rem","radius-lg":".4rem","radius-control":".15rem","radius-card":"0","shadow-sm":"0 10px 35px rgb(0 0 0 / 12%)","shadow-md":"0 18px 44px rgb(6 19 37 / 18%)","shadow-lg":"0 24px 65px rgb(10 29 53 / 12%)","shadow-card":"none","transition-ui":".15s ease-in","motion-duration":".15s","text-body":"1.06rem","text-h1":"clamp(2.8rem, 6vw, 5.5rem)","text-h2":"2.1rem","text-h3":"1.42rem","text-display":"clamp(3.4rem, 7vw, 6.8rem)","text-section":"clamp(2rem, 4vw, 3.5rem)","leading-body":"1.65","leading-heading":"1.13","leading-display":".98","weight-heading":"700","tracking-heading":"-.025em","tracking-display":"-.045em","tracking-label":".16em","tracking-button":".035em","border-width":"1px","focus-width":"3px","focus-gap":"3px","gutter":".75rem","section-space":"clamp(4.5rem, 8vw, 7.5rem)","control-height":"2.75rem","control-padding":".9rem","button-padding":".625rem 1.5rem","text-button":".75rem","leading-button":"1.667","divider-width":"3rem","divider-thickness":"3px","link-underline-offset":".18em","hero-overlay":"linear-gradient(90deg, rgba(3,15,30,.93) 0%, rgba(6,27,51,.76) 52%, rgba(7,28,48,.42) 100%)","breakpoint-sm":"576px","breakpoint-md":"768px","breakpoint-lg":"992px","breakpoint-xl":"1200px","breakpoint-xxl":"1400px","layout-gap":"2rem","layout-gap-small":"1rem","layout-gap-large":"3rem","layout-sidebar-width":"20rem","layout-main-min":"30rem","layout-grid-min":"20rem","layout-split-min":"22rem","layout-section-space":"clamp(4.5rem, 8vw, 7.5rem)"},"typographyRoles":{"serif":{"family":"Roboto Slab","usage":"Editorial headings, ledes, quotations","weights":[400,700]},"display":{"family":"Roboto Slab","usage":"Hero and page titles, section headings","weights":[400,700]},"sans":{"family":"Roboto","usage":"Body prose, navigation, controls, tables, metadata","weights":[400,500,700],"styles":["normal","italic"]},"mono":{"family":"Roboto Mono","usage":"Code, terminal text, keyboard notation","weights":[400,500,700],"styles":["normal","italic"],"provenance":"New redistributable companion selected for the Roboto family"}},"normalization":{"spacing":"Quarter-rem scale organizing the source site’s recurring spacing; values are not taken from the theme demo.","focus":"Explicit 3px visible focus ring and offset added for reusable controls.","controlHeight":"44px minimum interaction target added to the generic primitives.","readingWidth":"760px text measure from source hero/subtitle limits, generalized to reading containers.","card":"Flat editorial card from .work-card, with a 3px top rule; larger feature shadows remain separately available.","motion":"Source Material Kit .15s ease-in transition, reduced to zero when requested."}},"capabilities":{"web-core":{"applied":["colors","typography variables","spacing","shape","depth","interaction variables","layout primitives"],"optional":["font loading","element typography","components"]},"astro":{"applied":["web-core","document shell","container","section heading","card","button","page header","site header","site footer","article layout","landing layout","documentation layout"],"hostOwned":["navigation","content","consent","analytics","personal identity"]},"vim":{"applied":["colors","syntax"],"separateConfiguration":["monospace font"],"unsupported":["web layout","proportional typography"]},"emacs":{"applied":["colors","syntax"],"separateConfiguration":["font roles"],"unsupported":["web layout"]},"terminal":{"applied":["colors"],"separateConfiguration":["monospace font"],"unsupported":["web layout","serif","sans"]},"firefox":{"applied":["browser chrome colors"],"unsupported":["fonts","website content","spacing","components"]},"chrome":{"applied":["browser chrome colors"],"unsupported":["fonts","website content","spacing","components"]}},"layout":{"schemaVersion":1,"primitives":["container","stack","cluster","grid","sidebar","split"],"compositions":["article","landing","documentation"],"defaults":{"space":"regular","columns":3,"splitRatio":"equal","sidebarSide":"end"},"tokens":{"layout-gap":"2rem","layout-gap-small":"1rem","layout-gap-large":"3rem","layout-sidebar-width":"20rem","layout-main-min":"30rem","layout-grid-min":"20rem","layout-split-min":"22rem","layout-section-space":"clamp(4.5rem, 8vw, 7.5rem)"},"sources":[{"url":"https://krigsvold.org/","repository":"basuhoward/krigsvold.org","commit":"a3cf072c516c59ed35814e0fa153028cc91ceecd","files":["src/layouts/Page.astro","src/components/HomeContent.astro","src/components/HomeHero.astro","src/styles/site.css"]},{"url":"https://krigsvoldtheme.dev/","repository":"krigsvoldtheme/krigsvoldtheme","commit":"880bdd2bd8430bbdfd8d728faaae0c21199540b1","files":["site/src/pages/index.astro","site/src/styles/global.css","site/src/components/FoundationSpecimen.astro"]}],"normalization":{"intrinsicSizing":"Columns and sidebars respond to their available container width, including nested containers, rather than only to viewport breakpoints.","readingOrder":"Sidebar side selects matching DOM order; split content retains its source order at all widths.","scope":"Namespaced optional layout classes; no global reset, framework dependency, image, personal identity, or scripts."}},"themes":{"light":{"id":"krigsvold-light","name":"Krigsvold Light","mode":"light","tokens":{"bg":"#FBFAF7","panel":"#EEF8FA","panel2":"#D9EEF4","text":"#17202A","muted":"#56616C","accent":"#286A9D","accent2":"#79571F","on-accent":"#FFFFFF","accent-hover":"#1E557F","line":"#D9DEE2","control-line":"#75828D","focus":"#286A9D","selection":"#C6E2EC","selection-text":"#17202A","green":"#35644E","danger":"#9A3542","warning":"#79571F","error-bg":"#F5E6E6","error-text":"#9A3542","shadow":"0 10px 40px #0613251A","surface-canvas":"#FBFAF7","surface-subtle":"#FEFEFC","surface-sunken":"#E4EDF0","surface-overlay":"#FFFFFF","text-strong":"#061325","text-subtle":"#56616C","text-disabled":"#62717B","text-inverse":"#FFFFFF","link":"#286A9D","link-hover":"#123456","link-visited":"#655477","border-subtle":"#D9DEE2","border-strong":"#75828D","input-bg":"#FFFFFF","input-text":"#17202A","input-placeholder":"#62717B","input-border":"#75828D","button-secondary-bg":"#D9EEF4","button-secondary-text":"#17202A","button-secondary-hover":"#C6E2EC","disabled-bg":"#E4EDF0","disabled-text":"#62717B","focus-ring":"#286A9D","focus-offset":"#FBFAF7","hover-bg":"#EEF8FA","active-bg":"#D9EEF4","code-bg":"#EEF8FA","code-text":"#17202A","quote-border":"#286A9D","table-stripe":"#EEF8FA","scrollbar-track":"#EEF8FA","scrollbar-thumb":"#75828D","overlay-scrim":"#061325AA","info":"#286A9D","info-bg":"#E3F1F5","info-text":"#123456","success":"#35644E","success-bg":"#E7F1E9","success-text":"#285039","warning-bg":"#F5ECD9","warning-text":"#79571F","danger-bg":"#F5E6E6","danger-text":"#9A3542","chart-1":"#286A9D","chart-2":"#35644E","chart-3":"#79571F","chart-4":"#9A3542","chart-5":"#655477","chart-6":"#187178","chart-7":"#985238","chart-8":"#56616C","chart-grid":"#D9DEE2","chart-axis":"#56616C","syntax-keyword":"#286A9D","syntax-string":"#35644E","syntax-function":"#123456","syntax-type":"#79571F","syntax-variable":"#17202A","syntax-comment":"#56616C","syntax-number":"#9A3542","syntax-operator":"#56616C","syntax-constant":"#655477","syntax-tag":"#286A9D","syntax-attribute":"#79571F","syntax-regexp":"#35644E","syntax-invalid":"#9A3542","syntax-property":"#123456","syntax-decorator":"#655477"}},"dark":{"id":"krigsvold-dark","name":"Krigsvold Dark","mode":"dark","tokens":{"bg":"#061325","panel":"#0A1D35","panel2":"#123456","text":"#EEF8FA","muted":"#B3CCD5","accent":"#9ED5E6","accent2":"#D9B876","on-accent":"#061325","accent-hover":"#D9EEF4","line":"#345066","control-line":"#7A929F","focus":"#9ED5E6","selection":"#244C61","selection-text":"#EEF8FA","green":"#A6CFB5","danger":"#F0A4AF","warning":"#E0BF84","error-bg":"#302335","error-text":"#F0A4AF","shadow":"0 10px 40px #00000055","surface-canvas":"#061325","surface-subtle":"#07182B","surface-sunken":"#040E1C","surface-overlay":"#123456","text-strong":"#FBFAF7","text-subtle":"#B3CCD5","text-disabled":"#8BA4B2","text-inverse":"#061325","link":"#9ED5E6","link-hover":"#D9EEF4","link-visited":"#C6B6DB","border-subtle":"#345066","border-strong":"#7A929F","input-bg":"#0A1D35","input-text":"#EEF8FA","input-placeholder":"#B3CCD5","input-border":"#7A929F","button-secondary-bg":"#123456","button-secondary-text":"#EEF8FA","button-secondary-hover":"#1C4565","disabled-bg":"#183044","disabled-text":"#8BA4B2","focus-ring":"#9ED5E6","focus-offset":"#061325","hover-bg":"#123456","active-bg":"#1C4565","code-bg":"#0A1D35","code-text":"#EEF8FA","quote-border":"#9ED5E6","table-stripe":"#0A1D35","scrollbar-track":"#0A1D35","scrollbar-thumb":"#607B8D","overlay-scrim":"#061325CC","info":"#9ED5E6","info-bg":"#103549","info-text":"#D9EEF4","success":"#A6CFB5","success-bg":"#16362B","success-text":"#B7DDC3","warning-bg":"#3B301F","warning-text":"#E8CB97","danger-bg":"#3D2330","danger-text":"#F4B4BC","chart-1":"#9ED5E6","chart-2":"#D9B876","chart-3":"#A6CFB5","chart-4":"#F0A4AF","chart-5":"#C6B6DB","chart-6":"#8FCBC7","chart-7":"#E1AC90","chart-8":"#D4D8D9","chart-grid":"#345066","chart-axis":"#B3CCD5","syntax-keyword":"#9ED5E6","syntax-string":"#A6CFB5","syntax-function":"#C2E4EF","syntax-type":"#D9B876","syntax-variable":"#EEF8FA","syntax-comment":"#B3CCD5","syntax-number":"#F0A4AF","syntax-operator":"#B3CCD5","syntax-constant":"#C6B6DB","syntax-tag":"#9ED5E6","syntax-attribute":"#D9B876","syntax-regexp":"#A6CFB5","syntax-invalid":"#F0A4AF","syntax-property":"#C2E4EF","syntax-decorator":"#C6B6DB"}}}};
|
|
2
|
+
const {themes,heritage,design,foundation,capabilities,layout,version}=data;
|
|
3
|
+
const {light,dark}=themes;
|
|
4
|
+
module.exports={themes,light,dark,heritage,design,foundation,capabilities,layout,version,default:themes};
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export interface Theme { readonly id: string; readonly name: string; readonly mode: 'light' | 'dark'; readonly tokens: Readonly<Record<string,string>>; }
|
|
2
|
+
export declare const themes: {readonly light: Theme; readonly dark: Theme};
|
|
3
|
+
export declare const light: Theme;
|
|
4
|
+
export declare const dark: Theme;
|
|
5
|
+
export declare const version: string;
|
|
6
|
+
export declare const heritage: Readonly<Record<string,string>>;
|
|
7
|
+
export declare const design: { readonly radius: Readonly<Record<string,string>>; readonly spacing: Readonly<Record<string,string>>; readonly fonts: Readonly<Record<string,string>> };
|
|
8
|
+
export declare const foundation: { readonly origin: string; readonly tokens: Readonly<Record<string,string>>; readonly typographyRoles: Readonly<Record<string,unknown>> };
|
|
9
|
+
export declare const layout: {readonly schemaVersion: number; readonly primitives: readonly string[]; readonly compositions: readonly string[]; readonly defaults: Readonly<Record<string,string | number>>; readonly tokens: Readonly<Record<string,string>>; readonly sources: readonly {readonly url: string; readonly repository: string; readonly commit: string; readonly files: readonly string[]}[]; readonly normalization: Readonly<Record<string,string>>};
|
|
10
|
+
export declare const capabilities: Readonly<Record<string,unknown>>;
|
|
11
|
+
export default themes;
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
const data = {"name":"Krigsvold","version":"2.1.0","heritage":{"navy950":"#061325","navy900":"#0A1D35","navy800":"#123456","blue600":"#286A9D","ice400":"#9ED5E6","ice200":"#D9EEF4","ice100":"#EEF8FA","paper":"#FBFAF7","ink":"#17202A","muted":"#56616C","rule":"#D9DEE2","gold":"#B58A3B"},"design":{"radius":{"sm":".15rem","md":".3rem","lg":".4rem","control":".15rem","card":"0"},"spacing":{"1":".25rem","2":".5rem","3":".75rem","4":"1rem","6":"1.5rem","8":"2rem","12":"3rem","16":"4rem","24":"6rem"},"fonts":{"serif":"'Roboto Slab', Georgia, serif","sans":"'Roboto', Arial, sans-serif","display":"'Roboto Slab', Georgia, serif","mono":"'Roboto Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace","ui":"'Roboto', Arial, sans-serif","code":"'Roboto Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace"},"widths":{"reading-width":"760px","content-width":"1320px","archive-width":"1320px"},"shadows":{"shadow-sm":"0 10px 35px rgb(0 0 0 / 12%)","shadow-md":"0 18px 44px rgb(6 19 37 / 18%)","shadow-lg":"0 24px 65px rgb(10 29 53 / 12%)"},"motion":{"transition":".15s ease-in","reduced":"0s"},"breakpoints":{"sm":"576px","md":"768px","lg":"992px","xl":"1200px","xxl":"1400px"}},"foundation":{"origin":"https://krigsvold.org/","sourceRepository":"basuhoward/krigsvold.org","sourceCommit":"e92e989b6e850b3a9cd8fbb565edb7eba6d3a6f7","sourceFiles":["assets/css/krigsvold.css","_includes/head.html","assets/css/material-kit.css","assets/scss/material-kit/bootstrap/_variables.scss"],"tokens":{"color-navy-950":"#061325","color-navy-900":"#0a1d35","color-navy-800":"#123456","color-blue-600":"#286a9d","color-ice-400":"#9ed5e6","color-ice-200":"#d9eef4","color-ice-100":"#eef8fa","color-paper":"#fbfaf7","color-ink":"#17202a","color-muted":"#56616c","color-rule":"#d9dee2","color-gold":"#b58a3b","font-serif":"'Roboto Slab', Georgia, serif","font-display":"'Roboto Slab', Georgia, serif","font-sans":"'Roboto', Arial, sans-serif","font-mono":"'Roboto Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace","space-1":".25rem","space-2":".5rem","space-3":".75rem","space-4":"1rem","space-6":"1.5rem","space-8":"2rem","space-12":"3rem","space-16":"4rem","space-24":"6rem","reading-width":"760px","content-width":"1320px","archive-width":"1320px","radius-sm":".15rem","radius-md":".3rem","radius-lg":".4rem","radius-control":".15rem","radius-card":"0","shadow-sm":"0 10px 35px rgb(0 0 0 / 12%)","shadow-md":"0 18px 44px rgb(6 19 37 / 18%)","shadow-lg":"0 24px 65px rgb(10 29 53 / 12%)","shadow-card":"none","transition-ui":".15s ease-in","motion-duration":".15s","text-body":"1.06rem","text-h1":"clamp(2.8rem, 6vw, 5.5rem)","text-h2":"2.1rem","text-h3":"1.42rem","text-display":"clamp(3.4rem, 7vw, 6.8rem)","text-section":"clamp(2rem, 4vw, 3.5rem)","leading-body":"1.65","leading-heading":"1.13","leading-display":".98","weight-heading":"700","tracking-heading":"-.025em","tracking-display":"-.045em","tracking-label":".16em","tracking-button":".035em","border-width":"1px","focus-width":"3px","focus-gap":"3px","gutter":".75rem","section-space":"clamp(4.5rem, 8vw, 7.5rem)","control-height":"2.75rem","control-padding":".9rem","button-padding":".625rem 1.5rem","text-button":".75rem","leading-button":"1.667","divider-width":"3rem","divider-thickness":"3px","link-underline-offset":".18em","hero-overlay":"linear-gradient(90deg, rgba(3,15,30,.93) 0%, rgba(6,27,51,.76) 52%, rgba(7,28,48,.42) 100%)","breakpoint-sm":"576px","breakpoint-md":"768px","breakpoint-lg":"992px","breakpoint-xl":"1200px","breakpoint-xxl":"1400px","layout-gap":"2rem","layout-gap-small":"1rem","layout-gap-large":"3rem","layout-sidebar-width":"20rem","layout-main-min":"30rem","layout-grid-min":"20rem","layout-split-min":"22rem","layout-section-space":"clamp(4.5rem, 8vw, 7.5rem)"},"typographyRoles":{"serif":{"family":"Roboto Slab","usage":"Editorial headings, ledes, quotations","weights":[400,700]},"display":{"family":"Roboto Slab","usage":"Hero and page titles, section headings","weights":[400,700]},"sans":{"family":"Roboto","usage":"Body prose, navigation, controls, tables, metadata","weights":[400,500,700],"styles":["normal","italic"]},"mono":{"family":"Roboto Mono","usage":"Code, terminal text, keyboard notation","weights":[400,500,700],"styles":["normal","italic"],"provenance":"New redistributable companion selected for the Roboto family"}},"normalization":{"spacing":"Quarter-rem scale organizing the source site’s recurring spacing; values are not taken from the theme demo.","focus":"Explicit 3px visible focus ring and offset added for reusable controls.","controlHeight":"44px minimum interaction target added to the generic primitives.","readingWidth":"760px text measure from source hero/subtitle limits, generalized to reading containers.","card":"Flat editorial card from .work-card, with a 3px top rule; larger feature shadows remain separately available.","motion":"Source Material Kit .15s ease-in transition, reduced to zero when requested."}},"capabilities":{"web-core":{"applied":["colors","typography variables","spacing","shape","depth","interaction variables","layout primitives"],"optional":["font loading","element typography","components"]},"astro":{"applied":["web-core","document shell","container","section heading","card","button","page header","site header","site footer","article layout","landing layout","documentation layout"],"hostOwned":["navigation","content","consent","analytics","personal identity"]},"vim":{"applied":["colors","syntax"],"separateConfiguration":["monospace font"],"unsupported":["web layout","proportional typography"]},"emacs":{"applied":["colors","syntax"],"separateConfiguration":["font roles"],"unsupported":["web layout"]},"terminal":{"applied":["colors"],"separateConfiguration":["monospace font"],"unsupported":["web layout","serif","sans"]},"firefox":{"applied":["browser chrome colors"],"unsupported":["fonts","website content","spacing","components"]},"chrome":{"applied":["browser chrome colors"],"unsupported":["fonts","website content","spacing","components"]}},"layout":{"schemaVersion":1,"primitives":["container","stack","cluster","grid","sidebar","split"],"compositions":["article","landing","documentation"],"defaults":{"space":"regular","columns":3,"splitRatio":"equal","sidebarSide":"end"},"tokens":{"layout-gap":"2rem","layout-gap-small":"1rem","layout-gap-large":"3rem","layout-sidebar-width":"20rem","layout-main-min":"30rem","layout-grid-min":"20rem","layout-split-min":"22rem","layout-section-space":"clamp(4.5rem, 8vw, 7.5rem)"},"sources":[{"url":"https://krigsvold.org/","repository":"basuhoward/krigsvold.org","commit":"a3cf072c516c59ed35814e0fa153028cc91ceecd","files":["src/layouts/Page.astro","src/components/HomeContent.astro","src/components/HomeHero.astro","src/styles/site.css"]},{"url":"https://krigsvoldtheme.dev/","repository":"krigsvoldtheme/krigsvoldtheme","commit":"880bdd2bd8430bbdfd8d728faaae0c21199540b1","files":["site/src/pages/index.astro","site/src/styles/global.css","site/src/components/FoundationSpecimen.astro"]}],"normalization":{"intrinsicSizing":"Columns and sidebars respond to their available container width, including nested containers, rather than only to viewport breakpoints.","readingOrder":"Sidebar side selects matching DOM order; split content retains its source order at all widths.","scope":"Namespaced optional layout classes; no global reset, framework dependency, image, personal identity, or scripts."}},"themes":{"light":{"id":"krigsvold-light","name":"Krigsvold Light","mode":"light","tokens":{"bg":"#FBFAF7","panel":"#EEF8FA","panel2":"#D9EEF4","text":"#17202A","muted":"#56616C","accent":"#286A9D","accent2":"#79571F","on-accent":"#FFFFFF","accent-hover":"#1E557F","line":"#D9DEE2","control-line":"#75828D","focus":"#286A9D","selection":"#C6E2EC","selection-text":"#17202A","green":"#35644E","danger":"#9A3542","warning":"#79571F","error-bg":"#F5E6E6","error-text":"#9A3542","shadow":"0 10px 40px #0613251A","surface-canvas":"#FBFAF7","surface-subtle":"#FEFEFC","surface-sunken":"#E4EDF0","surface-overlay":"#FFFFFF","text-strong":"#061325","text-subtle":"#56616C","text-disabled":"#62717B","text-inverse":"#FFFFFF","link":"#286A9D","link-hover":"#123456","link-visited":"#655477","border-subtle":"#D9DEE2","border-strong":"#75828D","input-bg":"#FFFFFF","input-text":"#17202A","input-placeholder":"#62717B","input-border":"#75828D","button-secondary-bg":"#D9EEF4","button-secondary-text":"#17202A","button-secondary-hover":"#C6E2EC","disabled-bg":"#E4EDF0","disabled-text":"#62717B","focus-ring":"#286A9D","focus-offset":"#FBFAF7","hover-bg":"#EEF8FA","active-bg":"#D9EEF4","code-bg":"#EEF8FA","code-text":"#17202A","quote-border":"#286A9D","table-stripe":"#EEF8FA","scrollbar-track":"#EEF8FA","scrollbar-thumb":"#75828D","overlay-scrim":"#061325AA","info":"#286A9D","info-bg":"#E3F1F5","info-text":"#123456","success":"#35644E","success-bg":"#E7F1E9","success-text":"#285039","warning-bg":"#F5ECD9","warning-text":"#79571F","danger-bg":"#F5E6E6","danger-text":"#9A3542","chart-1":"#286A9D","chart-2":"#35644E","chart-3":"#79571F","chart-4":"#9A3542","chart-5":"#655477","chart-6":"#187178","chart-7":"#985238","chart-8":"#56616C","chart-grid":"#D9DEE2","chart-axis":"#56616C","syntax-keyword":"#286A9D","syntax-string":"#35644E","syntax-function":"#123456","syntax-type":"#79571F","syntax-variable":"#17202A","syntax-comment":"#56616C","syntax-number":"#9A3542","syntax-operator":"#56616C","syntax-constant":"#655477","syntax-tag":"#286A9D","syntax-attribute":"#79571F","syntax-regexp":"#35644E","syntax-invalid":"#9A3542","syntax-property":"#123456","syntax-decorator":"#655477"}},"dark":{"id":"krigsvold-dark","name":"Krigsvold Dark","mode":"dark","tokens":{"bg":"#061325","panel":"#0A1D35","panel2":"#123456","text":"#EEF8FA","muted":"#B3CCD5","accent":"#9ED5E6","accent2":"#D9B876","on-accent":"#061325","accent-hover":"#D9EEF4","line":"#345066","control-line":"#7A929F","focus":"#9ED5E6","selection":"#244C61","selection-text":"#EEF8FA","green":"#A6CFB5","danger":"#F0A4AF","warning":"#E0BF84","error-bg":"#302335","error-text":"#F0A4AF","shadow":"0 10px 40px #00000055","surface-canvas":"#061325","surface-subtle":"#07182B","surface-sunken":"#040E1C","surface-overlay":"#123456","text-strong":"#FBFAF7","text-subtle":"#B3CCD5","text-disabled":"#8BA4B2","text-inverse":"#061325","link":"#9ED5E6","link-hover":"#D9EEF4","link-visited":"#C6B6DB","border-subtle":"#345066","border-strong":"#7A929F","input-bg":"#0A1D35","input-text":"#EEF8FA","input-placeholder":"#B3CCD5","input-border":"#7A929F","button-secondary-bg":"#123456","button-secondary-text":"#EEF8FA","button-secondary-hover":"#1C4565","disabled-bg":"#183044","disabled-text":"#8BA4B2","focus-ring":"#9ED5E6","focus-offset":"#061325","hover-bg":"#123456","active-bg":"#1C4565","code-bg":"#0A1D35","code-text":"#EEF8FA","quote-border":"#9ED5E6","table-stripe":"#0A1D35","scrollbar-track":"#0A1D35","scrollbar-thumb":"#607B8D","overlay-scrim":"#061325CC","info":"#9ED5E6","info-bg":"#103549","info-text":"#D9EEF4","success":"#A6CFB5","success-bg":"#16362B","success-text":"#B7DDC3","warning-bg":"#3B301F","warning-text":"#E8CB97","danger-bg":"#3D2330","danger-text":"#F4B4BC","chart-1":"#9ED5E6","chart-2":"#D9B876","chart-3":"#A6CFB5","chart-4":"#F0A4AF","chart-5":"#C6B6DB","chart-6":"#8FCBC7","chart-7":"#E1AC90","chart-8":"#D4D8D9","chart-grid":"#345066","chart-axis":"#B3CCD5","syntax-keyword":"#9ED5E6","syntax-string":"#A6CFB5","syntax-function":"#C2E4EF","syntax-type":"#D9B876","syntax-variable":"#EEF8FA","syntax-comment":"#B3CCD5","syntax-number":"#F0A4AF","syntax-operator":"#B3CCD5","syntax-constant":"#C6B6DB","syntax-tag":"#9ED5E6","syntax-attribute":"#D9B876","syntax-regexp":"#A6CFB5","syntax-invalid":"#F0A4AF","syntax-property":"#C2E4EF","syntax-decorator":"#C6B6DB"}}}};
|
|
2
|
+
const {themes,heritage,design,foundation,capabilities,layout,version}=data;
|
|
3
|
+
const {light,dark}=themes;
|
|
4
|
+
export {themes,light,dark,heritage,design,foundation,capabilities,layout,version};
|
|
5
|
+
export default themes;
|
package/dist/layout.css
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/* Optional layout primitives. No fonts, palette, global reset, or JavaScript. */
|
|
2
|
+
.krigsvold-stack,.krigsvold-cluster,.krigsvold-grid,.krigsvold-sidebar,.krigsvold-split { --krigsvold-layout-space:var(--krigsvold-layout-gap); gap:var(--krigsvold-layout-space); min-inline-size:0; overflow-wrap:anywhere; }
|
|
3
|
+
.krigsvold-space-small { --krigsvold-layout-space:var(--krigsvold-layout-gap-small); }
|
|
4
|
+
.krigsvold-space-large { --krigsvold-layout-space:var(--krigsvold-layout-gap-large); }
|
|
5
|
+
.krigsvold-stack { display:flex; flex-direction:column; }
|
|
6
|
+
.krigsvold-stack > * { min-inline-size:0; margin-block:0; }
|
|
7
|
+
.krigsvold-cluster { display:flex; flex-wrap:wrap; align-items:center; justify-content:flex-start; }
|
|
8
|
+
.krigsvold-cluster > * { min-inline-size:0; max-inline-size:100%; }
|
|
9
|
+
.krigsvold-cluster:is(ul,ol) { list-style:none; padding:0; margin:0; }
|
|
10
|
+
.krigsvold-cluster--end { justify-content:flex-end; }
|
|
11
|
+
.krigsvold-cluster--between { justify-content:space-between; }
|
|
12
|
+
.krigsvold-grid { --krigsvold-grid-columns:3; display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,max(var(--krigsvold-layout-grid-min),calc((100% - (var(--krigsvold-grid-columns) - 1) * var(--krigsvold-layout-space)) / var(--krigsvold-grid-columns)))),1fr)); }
|
|
13
|
+
.krigsvold-grid--1 { --krigsvold-grid-columns:1; }
|
|
14
|
+
.krigsvold-grid--2 { --krigsvold-grid-columns:2; }
|
|
15
|
+
.krigsvold-grid--4 { --krigsvold-grid-columns:4; }
|
|
16
|
+
.krigsvold-grid > * { min-inline-size:0; }
|
|
17
|
+
.krigsvold-sidebar { display:flex; flex-wrap:wrap; align-items:flex-start; }
|
|
18
|
+
.krigsvold-sidebar > .krigsvold-sidebar__aside { flex:1 1 var(--krigsvold-layout-sidebar-width); min-inline-size:0; max-inline-size:100%; }
|
|
19
|
+
.krigsvold-sidebar > .krigsvold-sidebar__main { flex:999 1 0; min-inline-size:min(100%,var(--krigsvold-layout-main-min)); max-inline-size:100%; }
|
|
20
|
+
.krigsvold-split { --krigsvold-split-start:1; --krigsvold-split-end:1; display:flex; flex-wrap:wrap; align-items:center; }
|
|
21
|
+
.krigsvold-split > * { flex:var(--krigsvold-split-start) 1 var(--krigsvold-layout-split-min); min-inline-size:0; max-inline-size:100%; }
|
|
22
|
+
.krigsvold-split > :last-child { flex-grow:var(--krigsvold-split-end); }
|
|
23
|
+
.krigsvold-split--wide-start { --krigsvold-split-start:1.5; }
|
|
24
|
+
.krigsvold-split--wide-end { --krigsvold-split-end:1.5; }
|
|
25
|
+
.krigsvold-split--start { align-items:flex-start; }
|
|
26
|
+
.krigsvold-band { padding-block:var(--krigsvold-section-space); }
|
|
27
|
+
.krigsvold-page-body { padding-block:var(--krigsvold-layout-section-space); }
|
|
28
|
+
.krigsvold-prose { min-inline-size:0; max-inline-size:100%; overflow-wrap:anywhere; }
|
|
29
|
+
.krigsvold-prose > :first-child { margin-block-start:0; }
|
|
30
|
+
.krigsvold-prose > :last-child { margin-block-end:0; }
|
|
31
|
+
.krigsvold-prose :where(img,svg,video) { max-inline-size:100%; block-size:auto; }
|
|
32
|
+
.krigsvold-prose :where(pre) { max-inline-size:100%; overflow:auto; }
|
|
33
|
+
.krigsvold-scroll { max-inline-size:100%; overflow:auto; }
|
|
34
|
+
.krigsvold-page-header { padding-block:var(--krigsvold-layout-section-space); background:var(--krigsvold-panel2); color:var(--krigsvold-text); overflow-wrap:anywhere; }
|
|
35
|
+
.krigsvold-page-header h1 { margin-block:0; max-inline-size:var(--krigsvold-content-width); font-family:var(--krigsvold-font-serif); font-size:var(--krigsvold-text-h1); line-height:var(--krigsvold-leading-heading); }
|
|
36
|
+
.krigsvold-page-header__copy > :first-child { margin-block-start:0; }
|
|
37
|
+
.krigsvold-page-header__summary { max-inline-size:var(--krigsvold-reading-width); font-size:1.15em; line-height:var(--krigsvold-leading-body); }
|
|
38
|
+
.krigsvold-page-header__metadata { font-family:var(--krigsvold-font-sans); color:var(--krigsvold-muted); }
|
|
39
|
+
.krigsvold-page-header__media { min-inline-size:0; }
|
|
40
|
+
.krigsvold-page-header__media :where(img,svg,video) { display:block; max-inline-size:100%; block-size:auto; }
|
|
41
|
+
.krigsvold-site-header { border-block-end:var(--krigsvold-border-width) solid var(--krigsvold-line); padding-block:var(--krigsvold-layout-gap-small); color:var(--krigsvold-text); background:var(--krigsvold-bg); }
|
|
42
|
+
.krigsvold-site-header__inner { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:var(--krigsvold-layout-gap-small) var(--krigsvold-layout-gap); min-inline-size:0; }
|
|
43
|
+
.krigsvold-site-header__brand { font-family:var(--krigsvold-font-display); font-size:1.2rem; font-weight:700; overflow-wrap:anywhere; min-inline-size:0; max-inline-size:100%; }
|
|
44
|
+
.krigsvold-site-header nav { min-inline-size:0; max-inline-size:100%; font-family:var(--krigsvold-font-sans); }
|
|
45
|
+
.krigsvold-site-header :where(a) { display:inline-block; padding-block:.5rem; }
|
|
46
|
+
.krigsvold-site-footer { padding-block:var(--krigsvold-layout-section-space); border-block-start:var(--krigsvold-border-width) solid var(--krigsvold-line); background:var(--krigsvold-panel2); color:var(--krigsvold-text); overflow-wrap:anywhere; }
|
|
47
|
+
.krigsvold-site-footer nav { font-family:var(--krigsvold-font-sans); }
|
|
48
|
+
.krigsvold-site-footer :where(a) { display:inline-block; padding-block:.5rem; }
|
|
49
|
+
@media print { .krigsvold-sidebar,.krigsvold-split { display:block; } .krigsvold-sidebar > *,.krigsvold-split > * { margin-block-end:var(--krigsvold-layout-gap); } }
|
|
50
|
+
.krigsvold-page-header { border-block-end:var(--krigsvold-divider-thickness) solid var(--krigsvold-accent); }
|
|
51
|
+
.krigsvold-page-header h1 { font-family:var(--krigsvold-font-display); font-size:var(--krigsvold-text-display); font-weight:var(--krigsvold-weight-heading); letter-spacing:var(--krigsvold-tracking-display); line-height:var(--krigsvold-leading-display); }
|
package/dist/layout.json
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"primitives": [
|
|
4
|
+
"container",
|
|
5
|
+
"stack",
|
|
6
|
+
"cluster",
|
|
7
|
+
"grid",
|
|
8
|
+
"sidebar",
|
|
9
|
+
"split"
|
|
10
|
+
],
|
|
11
|
+
"compositions": [
|
|
12
|
+
"article",
|
|
13
|
+
"landing",
|
|
14
|
+
"documentation"
|
|
15
|
+
],
|
|
16
|
+
"defaults": {
|
|
17
|
+
"space": "regular",
|
|
18
|
+
"columns": 3,
|
|
19
|
+
"splitRatio": "equal",
|
|
20
|
+
"sidebarSide": "end"
|
|
21
|
+
},
|
|
22
|
+
"tokens": {
|
|
23
|
+
"layout-gap": "2rem",
|
|
24
|
+
"layout-gap-small": "1rem",
|
|
25
|
+
"layout-gap-large": "3rem",
|
|
26
|
+
"layout-sidebar-width": "20rem",
|
|
27
|
+
"layout-main-min": "30rem",
|
|
28
|
+
"layout-grid-min": "20rem",
|
|
29
|
+
"layout-split-min": "22rem",
|
|
30
|
+
"layout-section-space": "clamp(4.5rem, 8vw, 7.5rem)"
|
|
31
|
+
},
|
|
32
|
+
"sources": [
|
|
33
|
+
{
|
|
34
|
+
"url": "https://krigsvold.org/",
|
|
35
|
+
"repository": "basuhoward/krigsvold.org",
|
|
36
|
+
"commit": "a3cf072c516c59ed35814e0fa153028cc91ceecd",
|
|
37
|
+
"files": [
|
|
38
|
+
"src/layouts/Page.astro",
|
|
39
|
+
"src/components/HomeContent.astro",
|
|
40
|
+
"src/components/HomeHero.astro",
|
|
41
|
+
"src/styles/site.css"
|
|
42
|
+
]
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"url": "https://krigsvoldtheme.dev/",
|
|
46
|
+
"repository": "krigsvoldtheme/krigsvoldtheme",
|
|
47
|
+
"commit": "880bdd2bd8430bbdfd8d728faaae0c21199540b1",
|
|
48
|
+
"files": [
|
|
49
|
+
"site/src/pages/index.astro",
|
|
50
|
+
"site/src/styles/global.css",
|
|
51
|
+
"site/src/components/FoundationSpecimen.astro"
|
|
52
|
+
]
|
|
53
|
+
}
|
|
54
|
+
],
|
|
55
|
+
"normalization": {
|
|
56
|
+
"intrinsicSizing": "Columns and sidebars respond to their available container width, including nested containers, rather than only to viewport breakpoints.",
|
|
57
|
+
"readingOrder": "Sidebar side selects matching DOM order; split content retains its source order at all widths.",
|
|
58
|
+
"scope": "Namespaced optional layout classes; no global reset, framework dependency, image, personal identity, or scripts."
|
|
59
|
+
}
|
|
60
|
+
}
|
package/dist/legacy.css
ADDED
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
/* Optional aliases for an existing website migrating to Krigsvold. */
|
|
2
|
+
:root {
|
|
3
|
+
--color-navy-950: var(--krigsvold-color-navy-950);
|
|
4
|
+
--color-navy-900: var(--krigsvold-color-navy-900);
|
|
5
|
+
--color-navy-800: var(--krigsvold-color-navy-800);
|
|
6
|
+
--color-blue-600: var(--krigsvold-color-blue-600);
|
|
7
|
+
--color-ice-400: var(--krigsvold-color-ice-400);
|
|
8
|
+
--color-ice-200: var(--krigsvold-color-ice-200);
|
|
9
|
+
--color-ice-100: var(--krigsvold-color-ice-100);
|
|
10
|
+
--color-paper: var(--krigsvold-color-paper);
|
|
11
|
+
--color-ink: var(--krigsvold-color-ink);
|
|
12
|
+
--color-muted: var(--krigsvold-color-muted);
|
|
13
|
+
--color-rule: var(--krigsvold-color-rule);
|
|
14
|
+
--color-gold: var(--krigsvold-color-gold);
|
|
15
|
+
--font-serif: var(--krigsvold-font-serif);
|
|
16
|
+
--font-display: var(--krigsvold-font-display);
|
|
17
|
+
--font-sans: var(--krigsvold-font-sans);
|
|
18
|
+
--font-mono: var(--krigsvold-font-mono);
|
|
19
|
+
--space-1: var(--krigsvold-space-1);
|
|
20
|
+
--space-2: var(--krigsvold-space-2);
|
|
21
|
+
--space-3: var(--krigsvold-space-3);
|
|
22
|
+
--space-4: var(--krigsvold-space-4);
|
|
23
|
+
--space-6: var(--krigsvold-space-6);
|
|
24
|
+
--space-8: var(--krigsvold-space-8);
|
|
25
|
+
--space-12: var(--krigsvold-space-12);
|
|
26
|
+
--space-16: var(--krigsvold-space-16);
|
|
27
|
+
--space-24: var(--krigsvold-space-24);
|
|
28
|
+
--reading-width: var(--krigsvold-reading-width);
|
|
29
|
+
--content-width: var(--krigsvold-content-width);
|
|
30
|
+
--archive-width: var(--krigsvold-archive-width);
|
|
31
|
+
--radius-sm: var(--krigsvold-radius-sm);
|
|
32
|
+
--radius-md: var(--krigsvold-radius-md);
|
|
33
|
+
--radius-lg: var(--krigsvold-radius-lg);
|
|
34
|
+
--radius-control: var(--krigsvold-radius-control);
|
|
35
|
+
--radius-card: var(--krigsvold-radius-card);
|
|
36
|
+
--shadow-sm: var(--krigsvold-shadow-sm);
|
|
37
|
+
--shadow-md: var(--krigsvold-shadow-md);
|
|
38
|
+
--shadow-lg: var(--krigsvold-shadow-lg);
|
|
39
|
+
--shadow-card: var(--krigsvold-shadow-card);
|
|
40
|
+
--transition-ui: var(--krigsvold-transition-ui);
|
|
41
|
+
--motion-duration: var(--krigsvold-motion-duration);
|
|
42
|
+
--text-body: var(--krigsvold-text-body);
|
|
43
|
+
--text-h1: var(--krigsvold-text-h1);
|
|
44
|
+
--text-h2: var(--krigsvold-text-h2);
|
|
45
|
+
--text-h3: var(--krigsvold-text-h3);
|
|
46
|
+
--text-display: var(--krigsvold-text-display);
|
|
47
|
+
--text-section: var(--krigsvold-text-section);
|
|
48
|
+
--leading-body: var(--krigsvold-leading-body);
|
|
49
|
+
--leading-heading: var(--krigsvold-leading-heading);
|
|
50
|
+
--leading-display: var(--krigsvold-leading-display);
|
|
51
|
+
--weight-heading: var(--krigsvold-weight-heading);
|
|
52
|
+
--tracking-heading: var(--krigsvold-tracking-heading);
|
|
53
|
+
--tracking-display: var(--krigsvold-tracking-display);
|
|
54
|
+
--tracking-label: var(--krigsvold-tracking-label);
|
|
55
|
+
--tracking-button: var(--krigsvold-tracking-button);
|
|
56
|
+
--border-width: var(--krigsvold-border-width);
|
|
57
|
+
--focus-width: var(--krigsvold-focus-width);
|
|
58
|
+
--focus-gap: var(--krigsvold-focus-gap);
|
|
59
|
+
--gutter: var(--krigsvold-gutter);
|
|
60
|
+
--section-space: var(--krigsvold-section-space);
|
|
61
|
+
--control-height: var(--krigsvold-control-height);
|
|
62
|
+
--control-padding: var(--krigsvold-control-padding);
|
|
63
|
+
--button-padding: var(--krigsvold-button-padding);
|
|
64
|
+
--text-button: var(--krigsvold-text-button);
|
|
65
|
+
--leading-button: var(--krigsvold-leading-button);
|
|
66
|
+
--divider-width: var(--krigsvold-divider-width);
|
|
67
|
+
--divider-thickness: var(--krigsvold-divider-thickness);
|
|
68
|
+
--link-underline-offset: var(--krigsvold-link-underline-offset);
|
|
69
|
+
--hero-overlay: var(--krigsvold-hero-overlay);
|
|
70
|
+
--breakpoint-sm: var(--krigsvold-breakpoint-sm);
|
|
71
|
+
--breakpoint-md: var(--krigsvold-breakpoint-md);
|
|
72
|
+
--breakpoint-lg: var(--krigsvold-breakpoint-lg);
|
|
73
|
+
--breakpoint-xl: var(--krigsvold-breakpoint-xl);
|
|
74
|
+
--breakpoint-xxl: var(--krigsvold-breakpoint-xxl);
|
|
75
|
+
--layout-gap: var(--krigsvold-layout-gap);
|
|
76
|
+
--layout-gap-small: var(--krigsvold-layout-gap-small);
|
|
77
|
+
--layout-gap-large: var(--krigsvold-layout-gap-large);
|
|
78
|
+
--layout-sidebar-width: var(--krigsvold-layout-sidebar-width);
|
|
79
|
+
--layout-main-min: var(--krigsvold-layout-main-min);
|
|
80
|
+
--layout-grid-min: var(--krigsvold-layout-grid-min);
|
|
81
|
+
--layout-split-min: var(--krigsvold-layout-split-min);
|
|
82
|
+
--layout-section-space: var(--krigsvold-layout-section-space);
|
|
83
|
+
--navy-950: var(--krigsvold-color-navy-950);
|
|
84
|
+
--navy-900: var(--krigsvold-color-navy-900);
|
|
85
|
+
--navy-800: var(--krigsvold-color-navy-800);
|
|
86
|
+
--blue-600: var(--krigsvold-color-blue-600);
|
|
87
|
+
--ice-400: var(--krigsvold-color-ice-400);
|
|
88
|
+
--ice-200: var(--krigsvold-color-ice-200);
|
|
89
|
+
--ice-100: var(--krigsvold-color-ice-100);
|
|
90
|
+
--paper: var(--krigsvold-color-paper);
|
|
91
|
+
--ink: var(--krigsvold-color-ink);
|
|
92
|
+
--muted: var(--krigsvold-color-muted);
|
|
93
|
+
--rule: var(--krigsvold-color-rule);
|
|
94
|
+
--gold: var(--krigsvold-color-gold);
|
|
95
|
+
--serif: var(--krigsvold-font-serif);
|
|
96
|
+
--sans: var(--krigsvold-font-sans);
|
|
97
|
+
}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
Copyright 2015 The Roboto Mono Project Authors (https://github.com/googlefonts/robotomono) RobotoMono-Italic[wght].ttf: Copyright 2015 The Roboto Mono Project Authors (https://github.com/googlefonts/robotomono)
|
|
2
|
+
|
|
3
|
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
4
|
+
This license is copied below, and is also available with a FAQ at:
|
|
5
|
+
http://scripts.sil.org/OFL
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
-----------------------------------------------------------
|
|
9
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
10
|
+
-----------------------------------------------------------
|
|
11
|
+
|
|
12
|
+
PREAMBLE
|
|
13
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
14
|
+
development of collaborative font projects, to support the font creation
|
|
15
|
+
efforts of academic and linguistic communities, and to provide a free and
|
|
16
|
+
open framework in which fonts may be shared and improved in partnership
|
|
17
|
+
with others.
|
|
18
|
+
|
|
19
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
|
20
|
+
redistributed freely as long as they are not sold by themselves. The
|
|
21
|
+
fonts, including any derivative works, can be bundled, embedded,
|
|
22
|
+
redistributed and/or sold with any software provided that any reserved
|
|
23
|
+
names are not used by derivative works. The fonts and derivatives,
|
|
24
|
+
however, cannot be released under any other type of license. The
|
|
25
|
+
requirement for fonts to remain under this license does not apply
|
|
26
|
+
to any document created using the fonts or their derivatives.
|
|
27
|
+
|
|
28
|
+
DEFINITIONS
|
|
29
|
+
"Font Software" refers to the set of files released by the Copyright
|
|
30
|
+
Holder(s) under this license and clearly marked as such. This may
|
|
31
|
+
include source files, build scripts and documentation.
|
|
32
|
+
|
|
33
|
+
"Reserved Font Name" refers to any names specified as such after the
|
|
34
|
+
copyright statement(s).
|
|
35
|
+
|
|
36
|
+
"Original Version" refers to the collection of Font Software components as
|
|
37
|
+
distributed by the Copyright Holder(s).
|
|
38
|
+
|
|
39
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
40
|
+
or substituting -- in part or in whole -- any of the components of the
|
|
41
|
+
Original Version, by changing formats or by porting the Font Software to a
|
|
42
|
+
new environment.
|
|
43
|
+
|
|
44
|
+
"Author" refers to any designer, engineer, programmer, technical
|
|
45
|
+
writer or other person who contributed to the Font Software.
|
|
46
|
+
|
|
47
|
+
PERMISSION & CONDITIONS
|
|
48
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
49
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
50
|
+
redistribute, and sell modified and unmodified copies of the Font
|
|
51
|
+
Software, subject to the following conditions:
|
|
52
|
+
|
|
53
|
+
1) Neither the Font Software nor any of its individual components,
|
|
54
|
+
in Original or Modified Versions, may be sold by itself.
|
|
55
|
+
|
|
56
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
|
57
|
+
redistributed and/or sold with any software, provided that each copy
|
|
58
|
+
contains the above copyright notice and this license. These can be
|
|
59
|
+
included either as stand-alone text files, human-readable headers or
|
|
60
|
+
in the appropriate machine-readable metadata fields within text or
|
|
61
|
+
binary files as long as those fields can be easily viewed by the user.
|
|
62
|
+
|
|
63
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
|
64
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
|
65
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
|
66
|
+
presented to the users.
|
|
67
|
+
|
|
68
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
69
|
+
Software shall not be used to promote, endorse or advertise any
|
|
70
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
|
71
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
72
|
+
permission.
|
|
73
|
+
|
|
74
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
|
75
|
+
must be distributed entirely under this license, and must not be
|
|
76
|
+
distributed under any other license. The requirement for fonts to
|
|
77
|
+
remain under this license does not apply to any document created
|
|
78
|
+
using the Font Software.
|
|
79
|
+
|
|
80
|
+
TERMINATION
|
|
81
|
+
This license becomes null and void if any of the above conditions are
|
|
82
|
+
not met.
|
|
83
|
+
|
|
84
|
+
DISCLAIMER
|
|
85
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
86
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
87
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
88
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
89
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
90
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
91
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
92
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
93
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|