@welcome-home/wh-base 0.3.5 → 0.5.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 CHANGED
@@ -1,5 +1,18 @@
1
1
  # @welcome-home/wh-base
2
2
 
3
+ ## 0.5.0
4
+
5
+ ### Minor Changes
6
+
7
+ - fc9f035: Switch license to Apache 2.0 from MPL 2.0
8
+
9
+ ## 0.4.0
10
+
11
+ ### Minor Changes
12
+
13
+ - 5814af7: Bump default text size to 18px-22px
14
+ - 03f8927: Makes title font size smaller so it's less overwhelming
15
+
3
16
  ## 0.3.5
4
17
 
5
18
  ### Patch Changes
package/LICENSE ADDED
@@ -0,0 +1,202 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright 2026 Finley J Baker
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
202
+
package/README.md CHANGED
@@ -1,11 +1,11 @@
1
1
  <!--
2
2
  SPDX-FileCopyrightText: 2026 Finley J Baker <finleyb.dev@proton.me>
3
3
 
4
- SPDX-License-Identifier: MPL-2.0
4
+ SPDX-License-Identifier: Apache-2.0
5
5
  -->
6
6
 
7
- # Pandabear
7
+ # wh-base, the theme for your digital home
8
8
 
9
- Documentation: <https://finleyjb.pages.gay/pandabear/>
9
+ The goal of `wh-base` is not to build the prettiest, the fanciest, or the most full-featured theme. Contrary to popular belief, those are never the goal of good design.
10
10
 
11
- Pandabear is a theming and customization library for bearblog. More documentation to come.
11
+ The primary focus of `wh-base` is your words. Your blog is made to be read, not be a pristine webpage that no one can read.
@@ -4,12 +4,12 @@
4
4
  /*
5
5
  * SPDX-FileCopyrightText: 2026 Finley J Baker <finleyb.dev@proton.me>
6
6
  *
7
- * SPDX-License-Identifier: MPL-2.0
7
+ * SPDX-License-Identifier: Apache-2.0
8
8
  */
9
9
  /*
10
10
  * SPDX-FileCopyrightText: 2026 Finley J Baker <finleyb.dev@proton.me>
11
11
  *
12
- * SPDX-License-Identifier: MPL-2.0
12
+ * SPDX-License-Identifier: Apache-2.0
13
13
  */
14
14
  /* 1. Use a more-intuitive box-sizing model */
15
15
  *,
@@ -81,18 +81,19 @@ h6 {
81
81
  /*
82
82
  * SPDX-FileCopyrightText: 2026 Finley J Baker <finleyb.dev@proton.me>
83
83
  *
84
- * SPDX-License-Identifier: MPL-2.0
84
+ * SPDX-License-Identifier: Apache-2.0
85
85
  */
86
86
  @layer base-config {
87
87
  :root,
88
88
  :host {
89
89
  --untoast-icon: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" fill="none" stroke="%23ac1616" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.25" class="toast-icon" viewBox="0 0 24 24"><title>Upvote</title><path d="M2 9.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5l-5.492 5.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5"/></svg>');
90
90
  --toast-icon: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" fill="none" stroke="%23ac1616" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.25" class="toast-icon" viewBox="0 0 24 24"><title>Already upvoted</title><path d="m14.479 19.374-.971.939a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5a5.2 5.2 0 0 1-.219 1.49M15 15h6m-3-3v6"/></svg>');
91
- --body-line-height: clamp(1.544rem, 0.831vw + 1.346rem, 2.344rem);
91
+ /* 1.4 line-height at 320, 1.6 line-height at 1440 */
92
+ --body-line-height: clamp(1.56rem, 1.384rem + 0.893vw, 2.19rem);
92
93
 
93
- /* 15px at 320px viewport */
94
- /* 20px at 1920px viewport */
95
- --font-size: clamp(0.9375rem, 0.875rem + 0.3125vw, 1.25rem);
94
+ /* 18px at 320px viewport */
95
+ /* 22px at 1440px viewport */
96
+ --font-size: clamp(1.125rem, 1.0417rem + 0.3704vw, 1.375rem);
96
97
 
97
98
  /* stylelint-disable-next-line value-keyword-case */
98
99
  --font-family-base:
@@ -135,40 +136,40 @@ h6 {
135
136
  color-scheme: dark;
136
137
 
137
138
  /** Catppuccin blue */
138
- --color-primary: hsl(217deg 92% 76%);
139
+ --color-primary: oklch(76.814% 0.1106 259.66);
139
140
  --color-hover: lch(from var(--color-primary) calc(l + 20) c h);
140
141
  --color-visited: lch(from var(--color-primary) l calc(c + 10) h);
141
142
 
142
143
  /** Catppuccin surface 0 */
143
- --color-bg-alt: hsl(237deg 16% 23%);
144
+ --color-bg-alt: oklch(32.48% 0.0316 282.13);
144
145
 
145
146
  /** Catppuccin base */
146
- --color-bg: rgb(30, 30, 46);
147
+ --color-bg: oklch(24.287% 0.0304 283.91);
147
148
 
148
149
  /* Catppuccin text */
149
- --color-text: hsl(226deg 64% 88%);
150
+ --color-text: oklch(87.843% 0.0426 272.09);
150
151
 
151
152
  /** Catppuccin Rosewater */
152
- --color-secondary: hsl(267deg 84% 81%);
153
+ --color-secondary: oklch(78.652% 0.1191 304.45);
153
154
  --color-headline: var(--color-text);
154
155
  --color-h1: var(--color-text);
155
156
 
156
157
  /* Catppuccin subtext 1 */
157
- --color-h2: hsl(227deg 35% 80%);
158
+ --color-h2: oklch(81.665% 0.0402 273.25);
158
159
  --color-h3: var(--color-h2);
159
160
  --color-h4: var(--color-h2);
160
161
 
161
162
  /* Catppuccin subtext 0 */
162
- --color-h5: hsl(228deg 24% 72%);
163
+ --color-h5: oklch(75.224% 0.0401 274.32);
163
164
  --color-h6: var(--color-h5);
164
165
 
165
166
  --button-color-bg: var(--color-bg-alt);
166
167
 
167
168
  /* Color of <code> blocks. Catppuccin green */
168
- --color-code: hsl(115deg, 54%, 76%);
169
+ --color-code: oklch(85.746% 0.1091 142.53);
169
170
 
170
171
  /* Catppuccin surface 1 */
171
- --button-color-hover-bg: hsl(234deg, 13%, 31%);
172
+ --button-color-hover-bg: oklch(40.278% 0.0311 279.93);
172
173
 
173
174
  --dark-lightening-factor: 50;
174
175
  }
@@ -181,40 +182,40 @@ h6 {
181
182
  color-scheme: dark;
182
183
 
183
184
  /** Catppuccin blue */
184
- --color-primary: hsl(220deg 91% 54%);
185
+ --color-primary: oklch(55.857% 0.2245 262.14);
185
186
  --color-hover: lch(from var(--color-primary) calc(l + 20) c h);
186
187
  --color-visited: lch(from var(--color-primary) l calc(c + 10) h);
187
188
 
188
189
  /** Catppuccin surface 0 */
189
- --color-bg-alt: hsl(223deg 16% 83%);
190
+ --color-bg-alt: oklch(85.95% 0.0144 268.67);
190
191
 
191
192
  /** Catppuccin crust */
192
- --color-bg: rgb(239, 241, 245);
193
+ --color-bg: oklch(95.776% 0.0058 264.53);
193
194
 
194
195
  /* Catppuccin text */
195
- --color-text: hsl(234deg 16% 35%);
196
+ --color-text: oklch(43.117% 0.0426 279.51);
196
197
 
197
198
  /** Catppuccin Rosewater */
198
- --color-secondary: hsl(266deg 85% 58%);
199
+ --color-secondary: oklch(55.423% 0.2504 296.96);
199
200
  --color-headline: var(--color-text);
200
201
  --color-h1: var(--color-text);
201
202
 
202
203
  /* Catppuccin subtext 1 */
203
- --color-h2: hsl(233deg 13% 41%);
204
+ --color-h2: oklch(48.878% 0.0386 278.97);
204
205
  --color-h3: var(--color-h2);
205
206
  --color-h4: var(--color-h2);
206
207
 
207
208
  /* Catppuccin subtext 0 */
208
- --color-h5: hsl(233deg 10% 47%);
209
+ --color-h5: oklch(54.575% 0.033 279.31);
209
210
  --color-h6: var(--color-h5);
210
211
 
211
212
  --button-color-bg: var(--color-bg-alt);
212
213
 
213
214
  /* Color of <code> blocks. Catppuccin green */
214
- --color-code: hsl(109deg, 58%, 40%);
215
+ --color-code: oklch(62.834% 0.1784 140.39);
215
216
 
216
217
  /* Catppuccin surface 1 */
217
- --button-color-hover-bg: hsl(225deg, 14%, 77%);
218
+ --button-color-hover-bg: oklch(80.909% 0.0179 271.19);
218
219
 
219
220
  --dark-lightening-factor: 0;
220
221
  }
@@ -223,25 +224,42 @@ h6 {
223
224
  /*
224
225
  * SPDX-FileCopyrightText: 2026 Finley J Baker <finleyb.dev@proton.me>
225
226
  *
226
- * SPDX-License-Identifier: MPL-2.0
227
+ * SPDX-License-Identifier: Apache-2.0
227
228
  */
229
+ a.title {
230
+ -webkit-text-decoration: none;
231
+ text-decoration: none;
232
+
233
+ & > h1 {
234
+ color: var(--color-headline);
235
+
236
+ font-family: var(--font-family-title);
237
+ font-weight: var(--iwh-font-weight-title);
238
+
239
+ /* 24px at 320px viewport */
240
+ /* 48px at 1920px viewport */
241
+ font-size: clamp(1.5rem, 1.2rem + 1.5vw, 3rem);
242
+ margin-bottom: 0;
243
+ }
244
+
245
+ &:hover {
246
+ -webkit-text-decoration: underline;
247
+ text-decoration: underline;
248
+ }
249
+ }
228
250
  nav {
229
251
  p {
230
252
  margin-bottom: var(--nav-margin);
231
- font-size: clamp(1.25rem, 0.7794rem + 2.3529vw, 2.25rem);
232
253
 
233
254
  a {
234
255
  padding-right: 0.3em;
235
256
  }
236
257
  }
237
258
  }
238
- .title h1 {
239
- margin-bottom: 0;
240
- }
241
259
  /*
242
260
  * SPDX-FileCopyrightText: 2026 Finley J Baker <finleyb.dev@proton.me>
243
261
  *
244
- * SPDX-License-Identifier: MPL-2.0
262
+ * SPDX-License-Identifier: Apache-2.0
245
263
  */
246
264
  /* Margin to separate the date from the post title a little bit */
247
265
  li[data-tags] i {
@@ -250,7 +268,7 @@ li[data-tags] i {
250
268
  /*
251
269
  * SPDX-FileCopyrightText: 2026 Finley J Baker <finleyb.dev@proton.me>
252
270
  *
253
- * SPDX-License-Identifier: MPL-2.0
271
+ * SPDX-License-Identifier: Apache-2.0
254
272
  */
255
273
  /* biome-ignore-all lint/complexity/noImportantStyles: important is important */
256
274
  button.upvote-button {
@@ -301,7 +319,7 @@ button:not([disabled]).upvote-button {
301
319
  /*
302
320
  * SPDX-FileCopyrightText: 2026 Finley J Baker <finleyb.dev@proton.me>
303
321
  *
304
- * SPDX-License-Identifier: MPL-2.0
322
+ * SPDX-License-Identifier: Apache-2.0
305
323
  */
306
324
  pre {
307
325
  background-color: var(--color-bg-alt);
@@ -359,7 +377,7 @@ a:has(code) {
359
377
  /*
360
378
  * SPDX-FileCopyrightText: 2026 Finley J Baker <finleyb.dev@proton.me>
361
379
  *
362
- * SPDX-License-Identifier: MPL-2.0
380
+ * SPDX-License-Identifier: Apache-2.0
363
381
  */
364
382
  div.tags {
365
383
  margin-bottom: 0.7rem;
@@ -397,7 +415,7 @@ body {
397
415
  }
398
416
  main h1:first-of-type {
399
417
  border-top: solid thin var(--color-secondary);
400
- margin-bottom: 1rem;
418
+ margin-bottom: 0;
401
419
  padding-top: 1rem;
402
420
  }
403
421
  h1,
@@ -430,22 +448,6 @@ a {
430
448
  color: var(--color-hover);
431
449
  }
432
450
  }
433
- a.title {
434
- -webkit-text-decoration: none;
435
- text-decoration: none;
436
-
437
- & > h1 {
438
- font-family: var(--font-family-title);
439
- color: var(--color-headline);
440
- font-size: clamp(3.75rem, 1.22vw + 3.46rem, 4.375rem);
441
- font-weight: var(--iwh-font-weight-title);
442
- }
443
-
444
- &:hover {
445
- -webkit-text-decoration: underline;
446
- text-decoration: underline;
447
- }
448
- }
449
451
  h1 {
450
452
  color: var(--color-h1);
451
453
 
@@ -1 +1 @@
1
- @layer base-config, user-config;*,:after,:before{box-sizing:border-box}:not(dialog){margin:0}@media (prefers-reduced-motion:no-preference){html{interpolate-size:allow-keywords}}body{line-height:1.5;-webkit-font-smoothing:antialiased}canvas,img,picture,svg,video{display:block;max-width:100%}button,input,select,textarea{font:inherit}h1,h2,h3,h4,h5,h6,p{overflow-wrap:break-word}p{text-wrap:pretty}h1,h2,h3,h4,h5,h6{text-wrap:balance}#__next,#root{isolation:isolate}@layer base-config{:host,:root{--untoast-icon:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' fill='none' stroke='%23ac1616' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.25' class='toast-icon' viewBox='0 0 24 24'%3E%3Ctitle%3EUpvote%3C/title%3E%3Cpath d='M2 9.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5l-5.492 5.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5'/%3E%3C/svg%3E");--toast-icon:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' fill='none' stroke='%23ac1616' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.25' class='toast-icon' viewBox='0 0 24 24'%3E%3Ctitle%3EAlready upvoted%3C/title%3E%3Cpath d='m14.479 19.374-.971.939a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5a5.2 5.2 0 0 1-.219 1.49M15 15h6m-3-3v6'/%3E%3C/svg%3E");--body-line-height:clamp(1.544rem,0.831vw + 1.346rem,2.344rem);--font-size:clamp(0.9375rem,0.875rem + 0.3125vw,1.25rem);--font-family-base:optima,candara,"Noto Sans",source-sans-pro,sans-serif;--font-weight-base:400;--font-family-title:var(--font-family-base);--font-family-heading:var(--font-family-base);--font-weight-heading:500;--font-weight-title:600;--font-family-code:ui-monospace,"Cascadia Code","Source Code Pro",Menlo,Consolas,"DejaVu Sans Mono",monospace;--body-width:min(800px,calc(70% + 100px));--nav-margin:4vh;--iwh-font-weight-title:calc(var(--font-weight-title) - var(--dark-lightening-factor));--iwh-font-weight-heading:calc(var(--font-weight-heading) - var(--dark-lightening-factor));--iwh-font-weight-base:calc(var(--font-weight-base) - var(--dark-lightening-factor))}@media (prefers-color-scheme:dark){:host,:root{--csstools-color-scheme--light: ;color-scheme:dark;--color-primary:#89b5fa;--color-hover:lch(from var(--color-primary) calc(l + 20) c h);--color-visited:lch(from var(--color-primary) l calc(c + 10) h);--color-bg-alt:#313244;--color-bg:#1e1e2e;--color-text:#cdd6f4;--color-secondary:#caa6f7;--color-headline:var(--color-text);--color-h1:var(--color-text);--color-h2:#bac2de;--color-h3:var(--color-h2);--color-h4:var(--color-h2);--color-h5:#a6adc9;--color-h6:var(--color-h5);--button-color-bg:var(--color-bg-alt);--color-code:#a6e3a1;--button-color-hover-bg:#454759;--dark-lightening-factor:50}}@media (prefers-color-scheme:light){:host,:root{--csstools-color-scheme--light: ;color-scheme:dark;--color-primary:#1f66f4;--color-hover:lch(from var(--color-primary) calc(l + 20) c h);--color-visited:lch(from var(--color-primary) l calc(c + 10) h);--color-bg-alt:#cdd1db;--color-bg:#eff1f5;--color-text:#4b4e68;--color-secondary:#8839ef;--color-headline:var(--color-text);--color-h1:var(--color-text);--color-h2:#5b5e76;--color-h3:var(--color-h2);--color-h4:var(--color-h2);--color-h5:#6c6f84;--color-h6:var(--color-h5);--button-color-bg:var(--color-bg-alt);--color-code:#41a12b;--button-color-hover-bg:#bcc0cd;--dark-lightening-factor:0}}}nav{p{margin-bottom:var(--nav-margin);font-size:clamp(1.25rem,.7794rem + 2.3529vw,2.25rem);a{padding-right:.3em}}}.title h1{margin-bottom:0}li[data-tags] i{margin-right:.3em}button.upvote-button{--width:2em;--height:2em;margin-bottom:2em;background-color:var(--color-bg-alt);border:1px solid var(--color-primary);border-radius:5px;padding-top:10px;padding-left:10px;padding-right:10px;svg{display:none}.upvote-count{color:var(--color-text)}.upvote-count:before{background:var(--untoast-icon);display:block;width:var(--width);height:var(--height);background-size:cover;content:""}}button:disabled.upvote-button .upvote-count:before{background:var(--toast-icon);display:block;width:var(--width);height:var(--height);background-size:cover;content:""}button:not([disabled]).upvote-button{&:hover{background-color:color-mix(in srgb,var(--color-bg-alt) 90%,#fff);cursor:pointer}}pre{background-color:var(--color-bg-alt);display:block;padding:1em;overflow-x:auto;margin-top:0;margin-bottom:2.5rem;font-size:.9em}.highlight{pre span{font-family:var(--font-family-code);font-weight:400!important;line-height:var(--body-line-height);font-size:var(--font-size);font-style:normal!important;&.nb,&.nd,&.nf,&.nt{color:var(--color-primary)!important}&.k,&.kt{color:var(--color-code)}}}code{font-family:var(--font-family-code);line-height:var(--body-line-height)}code,kbd,samp{color:var(--color-code);hyphens:none}pre>code{padding:0;background-color:initial;white-space:pre}a:has(code){text-decoration-color:var(--color-code)}div.tags{margin-bottom:.7rem;a{margin-right:5px}}section.footnotes{&:before{content:"Footnotes"}ol{margin-top:1.2rem}border-top:thin solid var(--color-secondary);padding-top:10px}html{font-family:var(--font-family-base)}body{line-height:var(--body-line-height);margin:auto;color:var(--color-text);background-color:var(--color-bg);padding:13px;font-size:var(--font-size);font-weight:var(--iwh-font-weight-base);width:var(--body-width);text-wrap:pretty;hyphens:auto}main h1:first-of-type{border-top:thin solid var(--color-secondary);margin-bottom:1rem;padding-top:1rem}h1,h2,h3,h4,h5,h6{font-family:var(--font-family-heading);font-weight:var(--iwh-font-weight-heading);margin-top:2rem;margin-bottom:1.5rem;overflow-wrap:break-word;text-wrap:pretty;line-height:1.1}a{-webkit-text-decoration:underline;text-decoration:underline;text-underline-offset:auto;color:var(--color-primary);&:visited{color:var(--color-visited)}&:hover{-webkit-text-decoration:none;text-decoration:none;color:var(--color-hover)}}a.title{-webkit-text-decoration:none;text-decoration:none;&>h1{font-family:var(--font-family-title);color:var(--color-headline);font-size:clamp(3.75rem,1.22vw + 3.46rem,4.375rem);font-weight:var(--iwh-font-weight-title)}&:hover{-webkit-text-decoration:underline;text-decoration:underline}}h1{color:var(--color-h1)}h1,h1>code{font-size:clamp(2rem,1.6rem + 2vw,4rem)}h2{color:var(--color-h2)}h2,h2>code{font-size:clamp(1.5rem,1.2rem + 1.5vw,3rem)}h3{color:var(--color-h3)}h3,h3>code{font-size:clamp(1.25rem,1.05rem + 1vw,2.25rem)}h4{color:var(--color-h4)}h4,h4>code,h5{font-size:clamp(1.125rem,1rem + .625vw,1.75rem)}h5{color:var(--color-h5)}h6{color:var(--color-h6);font-size:clamp(1.125rem,1rem + .625vw,1.75rem)}p{margin-top:0;margin-bottom:2rem}small,sub,sup{font-size:90%}sup.footnote-ref{font-size:var(--font-size);vertical-align:initial;margin-left:1px}sup.footnote-ref :before{content:"["}sup.footnote-ref :after{content:"]"}hr{border-color:var(--color-primary)}ul{padding-left:1.4em;margin-top:0;margin-bottom:2.5rem}li{margin-bottom:.4em}blockquote{margin-left:0;margin-right:0;padding:.8em .8em .8em 1em;border-left:5px solid var(--color-primary);margin-bottom:2.5rem;background-color:var(--color-bg-alt)}blockquote p{margin-bottom:0}img,video{margin-bottom:2.5rem}p>img{width:var(--body-width);height:auto}p:has(img){margin-bottom:0}mark{background-color:var(--color-secondary)}table{text-align:justify;width:100%;border-collapse:collapse;margin-bottom:2rem}td,th{padding:.5em;border-bottom:1px solid var(--color-bg-alt)}.toc ul{list-style:none}.bear{font-family:ui-monospace,Cascadia Code,Source Code Pro,Menlo,Consolas,DejaVu Sans Mono,monospace}
1
+ @layer base-config, user-config;*,:after,:before{box-sizing:border-box}:not(dialog){margin:0}@media (prefers-reduced-motion:no-preference){html{interpolate-size:allow-keywords}}body{line-height:1.5;-webkit-font-smoothing:antialiased}canvas,img,picture,svg,video{display:block;max-width:100%}button,input,select,textarea{font:inherit}h1,h2,h3,h4,h5,h6,p{overflow-wrap:break-word}p{text-wrap:pretty}h1,h2,h3,h4,h5,h6{text-wrap:balance}#__next,#root{isolation:isolate}@layer base-config{:host,:root{--untoast-icon:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' fill='none' stroke='%23ac1616' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.25' class='toast-icon' viewBox='0 0 24 24'%3E%3Ctitle%3EUpvote%3C/title%3E%3Cpath d='M2 9.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5l-5.492 5.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5'/%3E%3C/svg%3E");--toast-icon:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' fill='none' stroke='%23ac1616' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.25' class='toast-icon' viewBox='0 0 24 24'%3E%3Ctitle%3EAlready upvoted%3C/title%3E%3Cpath d='m14.479 19.374-.971.939a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5a5.2 5.2 0 0 1-.219 1.49M15 15h6m-3-3v6'/%3E%3C/svg%3E");--body-line-height:clamp(1.56rem,1.384rem + 0.893vw,2.19rem);--font-size:clamp(1.125rem,1.0417rem + 0.3704vw,1.375rem);--font-family-base:optima,candara,"Noto Sans",source-sans-pro,sans-serif;--font-weight-base:400;--font-family-title:var(--font-family-base);--font-family-heading:var(--font-family-base);--font-weight-heading:500;--font-weight-title:600;--font-family-code:ui-monospace,"Cascadia Code","Source Code Pro",Menlo,Consolas,"DejaVu Sans Mono",monospace;--body-width:min(800px,calc(70% + 100px));--nav-margin:4vh;--iwh-font-weight-title:calc(var(--font-weight-title) - var(--dark-lightening-factor));--iwh-font-weight-heading:calc(var(--font-weight-heading) - var(--dark-lightening-factor));--iwh-font-weight-base:calc(var(--font-weight-base) - var(--dark-lightening-factor))}@media (prefers-color-scheme:dark){:host,:root{--csstools-color-scheme--light: ;color-scheme:dark;--color-primary:oklch(76.814% 0.1106 259.66);--color-hover:lch(from var(--color-primary) calc(l + 20) c h);--color-visited:lch(from var(--color-primary) l calc(c + 10) h);--color-bg-alt:oklch(32.48% 0.0316 282.13);--color-bg:oklch(24.287% 0.0304 283.91);--color-text:oklch(87.843% 0.0426 272.09);--color-secondary:oklch(78.652% 0.1191 304.45);--color-headline:var(--color-text);--color-h1:var(--color-text);--color-h2:oklch(81.665% 0.0402 273.25);--color-h3:var(--color-h2);--color-h4:var(--color-h2);--color-h5:oklch(75.224% 0.0401 274.32);--color-h6:var(--color-h5);--button-color-bg:var(--color-bg-alt);--color-code:oklch(85.746% 0.1091 142.53);--button-color-hover-bg:oklch(40.278% 0.0311 279.93);--dark-lightening-factor:50}}@media (prefers-color-scheme:light){:host,:root{--csstools-color-scheme--light: ;color-scheme:dark;--color-primary:oklch(55.857% 0.2245 262.14);--color-hover:lch(from var(--color-primary) calc(l + 20) c h);--color-visited:lch(from var(--color-primary) l calc(c + 10) h);--color-bg-alt:oklch(85.95% 0.0144 268.67);--color-bg:oklch(95.776% 0.0058 264.53);--color-text:oklch(43.117% 0.0426 279.51);--color-secondary:oklch(55.423% 0.2504 296.96);--color-headline:var(--color-text);--color-h1:var(--color-text);--color-h2:oklch(48.878% 0.0386 278.97);--color-h3:var(--color-h2);--color-h4:var(--color-h2);--color-h5:oklch(54.575% 0.033 279.31);--color-h6:var(--color-h5);--button-color-bg:var(--color-bg-alt);--color-code:oklch(62.834% 0.1784 140.39);--button-color-hover-bg:oklch(80.909% 0.0179 271.19);--dark-lightening-factor:0}}}a.title{-webkit-text-decoration:none;text-decoration:none;&>h1{color:var(--color-headline);font-family:var(--font-family-title);font-weight:var(--iwh-font-weight-title);font-size:clamp(1.5rem,1.2rem + 1.5vw,3rem);margin-bottom:0}&:hover{-webkit-text-decoration:underline;text-decoration:underline}}nav{p{margin-bottom:var(--nav-margin);a{padding-right:.3em}}}li[data-tags] i{margin-right:.3em}button.upvote-button{--width:2em;--height:2em;margin-bottom:2em;background-color:var(--color-bg-alt);border:1px solid var(--color-primary);border-radius:5px;padding-top:10px;padding-left:10px;padding-right:10px;svg{display:none}.upvote-count{color:var(--color-text)}.upvote-count:before{background:var(--untoast-icon);display:block;width:var(--width);height:var(--height);background-size:cover;content:""}}button:disabled.upvote-button .upvote-count:before{background:var(--toast-icon);display:block;width:var(--width);height:var(--height);background-size:cover;content:""}button:not([disabled]).upvote-button{&:hover{background-color:color-mix(in srgb,var(--color-bg-alt) 90%,#fff);cursor:pointer}}pre{background-color:var(--color-bg-alt);display:block;padding:1em;overflow-x:auto;margin-top:0;margin-bottom:2.5rem;font-size:.9em}.highlight{pre span{font-family:var(--font-family-code);font-weight:400!important;line-height:var(--body-line-height);font-size:var(--font-size);font-style:normal!important;&.nb,&.nd,&.nf,&.nt{color:var(--color-primary)!important}&.k,&.kt{color:var(--color-code)}}}code{font-family:var(--font-family-code);line-height:var(--body-line-height)}code,kbd,samp{color:var(--color-code);hyphens:none}pre>code{padding:0;background-color:initial;white-space:pre}a:has(code){text-decoration-color:var(--color-code)}div.tags{margin-bottom:.7rem;a{margin-right:5px}}section.footnotes{&:before{content:"Footnotes"}ol{margin-top:1.2rem}border-top:thin solid var(--color-secondary);padding-top:10px}html{font-family:var(--font-family-base)}body{line-height:var(--body-line-height);margin:auto;color:var(--color-text);background-color:var(--color-bg);padding:13px;font-size:var(--font-size);font-weight:var(--iwh-font-weight-base);width:var(--body-width);text-wrap:pretty;hyphens:auto}main h1:first-of-type{border-top:thin solid var(--color-secondary);margin-bottom:0;padding-top:1rem}h1,h2,h3,h4,h5,h6{font-family:var(--font-family-heading);font-weight:var(--iwh-font-weight-heading);margin-top:2rem;margin-bottom:1.5rem;overflow-wrap:break-word;text-wrap:pretty;line-height:1.1}a{-webkit-text-decoration:underline;text-decoration:underline;text-underline-offset:auto;color:var(--color-primary);&:visited{color:var(--color-visited)}&:hover{-webkit-text-decoration:none;text-decoration:none;color:var(--color-hover)}}h1{color:var(--color-h1)}h1,h1>code{font-size:clamp(2rem,1.6rem + 2vw,4rem)}h2{color:var(--color-h2)}h2,h2>code{font-size:clamp(1.5rem,1.2rem + 1.5vw,3rem)}h3{color:var(--color-h3)}h3,h3>code{font-size:clamp(1.25rem,1.05rem + 1vw,2.25rem)}h4{color:var(--color-h4)}h4,h4>code,h5{font-size:clamp(1.125rem,1rem + .625vw,1.75rem)}h5{color:var(--color-h5)}h6{color:var(--color-h6);font-size:clamp(1.125rem,1rem + .625vw,1.75rem)}p{margin-top:0;margin-bottom:2rem}small,sub,sup{font-size:90%}sup.footnote-ref{font-size:var(--font-size);vertical-align:initial;margin-left:1px}sup.footnote-ref :before{content:"["}sup.footnote-ref :after{content:"]"}hr{border-color:var(--color-primary)}ul{padding-left:1.4em;margin-top:0;margin-bottom:2.5rem}li{margin-bottom:.4em}blockquote{margin-left:0;margin-right:0;padding:.8em .8em .8em 1em;border-left:5px solid var(--color-primary);margin-bottom:2.5rem;background-color:var(--color-bg-alt)}blockquote p{margin-bottom:0}img,video{margin-bottom:2.5rem}p>img{width:var(--body-width);height:auto}p:has(img){margin-bottom:0}mark{background-color:var(--color-secondary)}table{text-align:justify;width:100%;border-collapse:collapse;margin-bottom:2rem}td,th{padding:.5em;border-bottom:1px solid var(--color-bg-alt)}.toc ul{list-style:none}.bear{font-family:ui-monospace,Cascadia Code,Source Code Pro,Menlo,Consolas,DejaVu Sans Mono,monospace}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@welcome-home/wh-base",
3
- "version": "0.3.5",
3
+ "version": "0.5.0",
4
4
  "description": "A CSS module for theming and extending bearblog",
5
5
  "exports": {
6
6
  ".": "./src/css/wh-base.css",
@@ -14,25 +14,29 @@
14
14
  "bugs": {
15
15
  "url": "https://gitlab.com/wh-tools/welcome-home/-/work_items"
16
16
  },
17
+ "funding": {
18
+ "type": "individual",
19
+ "url": "https://ko-fi.com/finleybaker"
20
+ },
17
21
  "keywords": [],
18
22
  "author": {
19
23
  "name": "Finley J Baker",
20
24
  "email": "finleyb.dev@proton.me",
21
25
  "url": "https://welcomehome.city"
22
26
  },
23
- "license": "MPL-2.0",
27
+ "license": "Apache-2.0",
24
28
  "type": "module",
25
29
  "devDependencies": {
26
- "@biomejs/biome": "2.5.0",
27
- "autoprefixer": "^10.5.0",
30
+ "@biomejs/biome": "2.5.1",
31
+ "autoprefixer": "^10.5.2",
28
32
  "cssnano": "^8.0.2",
29
- "postcss": "^8.5.15",
33
+ "postcss": "^8.5.16",
30
34
  "postcss-cli": "^11.0.1",
31
35
  "postcss-import": "^16.1.1",
32
36
  "postcss-load-config": "^6.0.1",
33
- "postcss-preset-env": "^11.3.0",
37
+ "postcss-preset-env": "^11.3.2",
34
38
  "postcss-safe-parser": "^7.0.1",
35
- "prettier": "^3.8.4",
39
+ "prettier": "^3.9.4",
36
40
  "svgo": "^4.0.1"
37
41
  },
38
42
  "browserslist": [
package/postcss.config.js CHANGED
@@ -1,6 +1,6 @@
1
1
  // SPDX-FileCopyrightText: 2026 Finley J Baker <finleyb.dev@proton.me>
2
2
  //
3
- // SPDX-License-Identifier: MPL-2.0
3
+ // SPDX-License-Identifier: Apache-2.0
4
4
 
5
5
  export default function (ctx) {
6
6
  return {
package/src/css/code.css CHANGED
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * SPDX-FileCopyrightText: 2026 Finley J Baker <finleyb.dev@proton.me>
3
3
  *
4
- * SPDX-License-Identifier: MPL-2.0
4
+ * SPDX-License-Identifier: Apache-2.0
5
5
  */
6
6
 
7
7
  pre {
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * SPDX-FileCopyrightText: 2026 Finley J Baker <finleyb.dev@proton.me>
3
3
  *
4
- * SPDX-License-Identifier: MPL-2.0
4
+ * SPDX-License-Identifier: Apache-2.0
5
5
  */
6
6
 
7
7
  div.tags {
@@ -0,0 +1,35 @@
1
+ /*
2
+ * SPDX-FileCopyrightText: 2026 Finley J Baker <finleyb.dev@proton.me>
3
+ *
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+
7
+ a.title {
8
+ text-decoration: none;
9
+
10
+ & > h1 {
11
+ color: var(--color-headline);
12
+
13
+ font-family: var(--font-family-title);
14
+ font-weight: var(--iwh-font-weight-title);
15
+
16
+ /* 24px at 320px viewport */
17
+ /* 48px at 1920px viewport */
18
+ font-size: clamp(1.5rem, 1.2rem + 1.5vw, 3rem);
19
+ margin-bottom: 0;
20
+ }
21
+
22
+ &:hover {
23
+ text-decoration: underline;
24
+ }
25
+ }
26
+
27
+ nav {
28
+ p {
29
+ margin-bottom: var(--nav-margin);
30
+
31
+ a {
32
+ padding-right: 0.3em;
33
+ }
34
+ }
35
+ }
package/src/css/home.css CHANGED
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * SPDX-FileCopyrightText: 2026 Finley J Baker <finleyb.dev@proton.me>
3
3
  *
4
- * SPDX-License-Identifier: MPL-2.0
4
+ * SPDX-License-Identifier: Apache-2.0
5
5
  */
6
6
 
7
7
  /* Margin to separate the date from the post title a little bit */
package/src/css/reset.css CHANGED
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * SPDX-FileCopyrightText: 2026 Finley J Baker <finleyb.dev@proton.me>
3
3
  *
4
- * SPDX-License-Identifier: MPL-2.0
4
+ * SPDX-License-Identifier: Apache-2.0
5
5
  */
6
6
 
7
7
  /* 1. Use a more-intuitive box-sizing model */
package/src/css/toast.css CHANGED
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * SPDX-FileCopyrightText: 2026 Finley J Baker <finleyb.dev@proton.me>
3
3
  *
4
- * SPDX-License-Identifier: MPL-2.0
4
+ * SPDX-License-Identifier: Apache-2.0
5
5
  */
6
6
 
7
7
  /* biome-ignore-all lint/complexity/noImportantStyles: important is important */
package/src/css/vars.css CHANGED
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * SPDX-FileCopyrightText: 2026 Finley J Baker <finleyb.dev@proton.me>
3
3
  *
4
- * SPDX-License-Identifier: MPL-2.0
4
+ * SPDX-License-Identifier: Apache-2.0
5
5
  */
6
6
 
7
7
  @layer base-config, user-config;
@@ -11,11 +11,12 @@
11
11
  :host {
12
12
  --untoast-icon: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" fill="none" stroke="%23ac1616" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.25" class="toast-icon" viewBox="0 0 24 24"><title>Upvote</title><path d="M2 9.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5l-5.492 5.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5"/></svg>');
13
13
  --toast-icon: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" fill="none" stroke="%23ac1616" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.25" class="toast-icon" viewBox="0 0 24 24"><title>Already upvoted</title><path d="m14.479 19.374-.971.939a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5a5.2 5.2 0 0 1-.219 1.49M15 15h6m-3-3v6"/></svg>');
14
- --body-line-height: clamp(1.544rem, 0.831vw + 1.346rem, 2.344rem);
14
+ /* 1.4 line-height at 320, 1.6 line-height at 1440 */
15
+ --body-line-height: clamp(1.56rem, 1.384rem + 0.893vw, 2.19rem);
15
16
 
16
- /* 15px at 320px viewport */
17
- /* 20px at 1920px viewport */
18
- --font-size: clamp(0.9375rem, 0.875rem + 0.3125vw, 1.25rem);
17
+ /* 18px at 320px viewport */
18
+ /* 22px at 1440px viewport */
19
+ --font-size: clamp(1.125rem, 1.0417rem + 0.3704vw, 1.375rem);
19
20
 
20
21
  /* stylelint-disable-next-line value-keyword-case */
21
22
  --font-family-base:
@@ -57,40 +58,40 @@
57
58
  color-scheme: dark;
58
59
 
59
60
  /** Catppuccin blue */
60
- --color-primary: hsl(217deg 92% 76%);
61
+ --color-primary: oklch(76.814% 0.1106 259.66);
61
62
  --color-hover: lch(from var(--color-primary) calc(l + 20) c h);
62
63
  --color-visited: lch(from var(--color-primary) l calc(c + 10) h);
63
64
 
64
65
  /** Catppuccin surface 0 */
65
- --color-bg-alt: hsl(237deg 16% 23%);
66
+ --color-bg-alt: oklch(32.48% 0.0316 282.13);
66
67
 
67
68
  /** Catppuccin base */
68
- --color-bg: rgb(30, 30, 46);
69
+ --color-bg: oklch(24.287% 0.0304 283.91);
69
70
 
70
71
  /* Catppuccin text */
71
- --color-text: hsl(226deg 64% 88%);
72
+ --color-text: oklch(87.843% 0.0426 272.09);
72
73
 
73
74
  /** Catppuccin Rosewater */
74
- --color-secondary: hsl(267deg 84% 81%);
75
+ --color-secondary: oklch(78.652% 0.1191 304.45);
75
76
  --color-headline: var(--color-text);
76
77
  --color-h1: var(--color-text);
77
78
 
78
79
  /* Catppuccin subtext 1 */
79
- --color-h2: hsl(227deg 35% 80%);
80
+ --color-h2: oklch(81.665% 0.0402 273.25);
80
81
  --color-h3: var(--color-h2);
81
82
  --color-h4: var(--color-h2);
82
83
 
83
84
  /* Catppuccin subtext 0 */
84
- --color-h5: hsl(228deg 24% 72%);
85
+ --color-h5: oklch(75.224% 0.0401 274.32);
85
86
  --color-h6: var(--color-h5);
86
87
 
87
88
  --button-color-bg: var(--color-bg-alt);
88
89
 
89
90
  /* Color of <code> blocks. Catppuccin green */
90
- --color-code: hsl(115deg, 54%, 76%);
91
+ --color-code: oklch(85.746% 0.1091 142.53);
91
92
 
92
93
  /* Catppuccin surface 1 */
93
- --button-color-hover-bg: hsl(234deg, 13%, 31%);
94
+ --button-color-hover-bg: oklch(40.278% 0.0311 279.93);
94
95
 
95
96
  --dark-lightening-factor: 50;
96
97
  }
@@ -102,40 +103,40 @@
102
103
  color-scheme: dark;
103
104
 
104
105
  /** Catppuccin blue */
105
- --color-primary: hsl(220deg 91% 54%);
106
+ --color-primary: oklch(55.857% 0.2245 262.14);
106
107
  --color-hover: lch(from var(--color-primary) calc(l + 20) c h);
107
108
  --color-visited: lch(from var(--color-primary) l calc(c + 10) h);
108
109
 
109
110
  /** Catppuccin surface 0 */
110
- --color-bg-alt: hsl(223deg 16% 83%);
111
+ --color-bg-alt: oklch(85.95% 0.0144 268.67);
111
112
 
112
113
  /** Catppuccin crust */
113
- --color-bg: rgb(239, 241, 245);
114
+ --color-bg: oklch(95.776% 0.0058 264.53);
114
115
 
115
116
  /* Catppuccin text */
116
- --color-text: hsl(234deg 16% 35%);
117
+ --color-text: oklch(43.117% 0.0426 279.51);
117
118
 
118
119
  /** Catppuccin Rosewater */
119
- --color-secondary: hsl(266deg 85% 58%);
120
+ --color-secondary: oklch(55.423% 0.2504 296.96);
120
121
  --color-headline: var(--color-text);
121
122
  --color-h1: var(--color-text);
122
123
 
123
124
  /* Catppuccin subtext 1 */
124
- --color-h2: hsl(233deg 13% 41%);
125
+ --color-h2: oklch(48.878% 0.0386 278.97);
125
126
  --color-h3: var(--color-h2);
126
127
  --color-h4: var(--color-h2);
127
128
 
128
129
  /* Catppuccin subtext 0 */
129
- --color-h5: hsl(233deg 10% 47%);
130
+ --color-h5: oklch(54.575% 0.033 279.31);
130
131
  --color-h6: var(--color-h5);
131
132
 
132
133
  --button-color-bg: var(--color-bg-alt);
133
134
 
134
135
  /* Color of <code> blocks. Catppuccin green */
135
- --color-code: hsl(109deg, 58%, 40%);
136
+ --color-code: oklch(62.834% 0.1784 140.39);
136
137
 
137
138
  /* Catppuccin surface 1 */
138
- --button-color-hover-bg: hsl(225deg, 14%, 77%);
139
+ --button-color-hover-bg: oklch(80.909% 0.0179 271.19);
139
140
 
140
141
  --dark-lightening-factor: 0;
141
142
  }
@@ -1,12 +1,12 @@
1
1
  /*
2
2
  * SPDX-FileCopyrightText: 2026 Finley J Baker <finleyb.dev@proton.me>
3
3
  *
4
- * SPDX-License-Identifier: MPL-2.0
4
+ * SPDX-License-Identifier: Apache-2.0
5
5
  */
6
6
 
7
7
  @import url('reset.css');
8
8
  @import url('vars.css');
9
- @import url('nav.css');
9
+ @import url('header.css');
10
10
  @import url('home.css');
11
11
  @import url('toast.css');
12
12
  @import url('code.css');
@@ -31,7 +31,7 @@ body {
31
31
 
32
32
  main h1:first-of-type {
33
33
  border-top: solid thin var(--color-secondary);
34
- margin-bottom: 1rem;
34
+ margin-bottom: 0;
35
35
  padding-top: 1rem;
36
36
  }
37
37
 
@@ -65,21 +65,6 @@ a {
65
65
  }
66
66
  }
67
67
 
68
- a.title {
69
- text-decoration: none;
70
-
71
- & > h1 {
72
- font-family: var(--font-family-title);
73
- color: var(--color-headline);
74
- font-size: clamp(3.75rem, 1.22vw + 3.46rem, 4.375rem);
75
- font-weight: var(--iwh-font-weight-title);
76
- }
77
-
78
- &:hover {
79
- text-decoration: underline;
80
- }
81
- }
82
-
83
68
  h1 {
84
69
  color: var(--color-h1);
85
70
 
@@ -1,3 +0,0 @@
1
- SPDX-FileCopyrightText: 2026 Finley J Baker <finleyb.dev@proton.me>
2
-
3
- SPDX-License-Identifier: MPL-2.0
@@ -1,3 +0,0 @@
1
- SPDX-FileCopyrightText: 2026 Finley J Baker <finleyb.dev@proton.me>
2
-
3
- SPDX-License-Identifier: MPL-2.0
@@ -1,3 +0,0 @@
1
- SPDX-FileCopyrightText: 2026 Finley J Baker <finleyb.dev@proton.me>
2
-
3
- SPDX-License-Identifier: MPL-2.0
package/src/css/nav.css DELETED
@@ -1,20 +0,0 @@
1
- /*
2
- * SPDX-FileCopyrightText: 2026 Finley J Baker <finleyb.dev@proton.me>
3
- *
4
- * SPDX-License-Identifier: MPL-2.0
5
- */
6
-
7
- nav {
8
- p {
9
- margin-bottom: var(--nav-margin);
10
- font-size: clamp(1.25rem, 0.7794rem + 2.3529vw, 2.25rem);
11
-
12
- a {
13
- padding-right: 0.3em;
14
- }
15
- }
16
- }
17
-
18
- .title h1 {
19
- margin-bottom: 0;
20
- }