@cogenta/theme-docs 0.5.6 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/render/blocks/logos.d.ts.map +1 -1
- package/dist/src/render/blocks/logos.js +6 -1
- package/dist/src/render/blocks/logos.js.map +1 -1
- package/dist/src/render/doc-page.d.ts.map +1 -1
- package/dist/src/render/doc-page.js +17 -8
- package/dist/src/render/doc-page.js.map +1 -1
- package/dist/src/render/rich-text.d.ts.map +1 -1
- package/dist/src/render/rich-text.js +17 -2
- package/dist/src/render/rich-text.js.map +1 -1
- package/dist/src/render/search.d.ts.map +1 -1
- package/dist/src/render/search.js +6 -1
- package/dist/src/render/search.js.map +1 -1
- package/dist/src/render/strings.d.ts +6 -0
- package/dist/src/render/strings.d.ts.map +1 -1
- package/dist/src/render/strings.js +6 -0
- package/dist/src/render/strings.js.map +1 -1
- package/fonts/OFL-ibm-plex-mono.txt +93 -0
- package/fonts/OFL-ibm-plex-sans.txt +93 -0
- package/fonts/README.md +59 -0
- package/fonts/ibm-plex-mono-italic-latin-0840095f.woff2 +0 -0
- package/fonts/ibm-plex-mono-italic-latin-ext-1b07eee6.woff2 +0 -0
- package/fonts/ibm-plex-mono-normal-latin-01d28544.woff2 +0 -0
- package/fonts/ibm-plex-mono-normal-latin-08949f72.woff2 +0 -0
- package/fonts/ibm-plex-mono-normal-latin-0d1f0b8d.woff2 +0 -0
- package/fonts/ibm-plex-mono-normal-latin-ext-32057cf5.woff2 +0 -0
- package/fonts/ibm-plex-mono-normal-latin-ext-6bb06407.woff2 +0 -0
- package/fonts/ibm-plex-mono-normal-latin-ext-6bc0f226.woff2 +0 -0
- package/fonts/ibm-plex-sans-italic-latin-4363757d.woff2 +0 -0
- package/fonts/ibm-plex-sans-italic-latin-ext-bf44b77c.woff2 +0 -0
- package/fonts/ibm-plex-sans-normal-latin-e2291e84.woff2 +0 -0
- package/fonts/ibm-plex-sans-normal-latin-ext-d160e209.woff2 +0 -0
- package/fonts/manifest.json +101 -0
- package/package.json +11 -8
- package/src/render/blocks/logos.ts +10 -1
- package/src/render/doc-page.ts +36 -9
- package/src/render/rich-text.ts +18 -2
- package/src/render/search.ts +13 -1
- package/src/render/strings.ts +6 -0
- package/src/styles/base.css +9 -0
- package/src/styles/blocks.css +5 -0
- package/src/styles/chrome.css +16 -4
- package/src/styles/docs.css +79 -0
- package/src/styles/fonts.css +125 -0
- package/src/styles/theme.css +3 -3
package/src/styles/theme.css
CHANGED
|
@@ -19,15 +19,15 @@
|
|
|
19
19
|
* Not one colour is written literally in any of them: every value comes from
|
|
20
20
|
* a skin token or from a `--cd-*` property composed from those.
|
|
21
21
|
*
|
|
22
|
-
* The one thing this file adds on its own is the
|
|
22
|
+
* The one thing this file adds on its own is the self-hosted `fonts.css` faces for the
|
|
23
23
|
* two families the skin names: IBM Plex Sans for everything a reader reads,
|
|
24
24
|
* IBM Plex Mono for code. A skin only names a family; it never fetches one.
|
|
25
|
-
* Both fall back to a real system stack if
|
|
25
|
+
* Both fall back to a real system stack if a face fails to load, and
|
|
26
26
|
* `display=swap` keeps text visible while they load. `cogenta serve` hoists
|
|
27
27
|
* this `@import` above the skin's rules.
|
|
28
28
|
*/
|
|
29
29
|
|
|
30
|
-
@import
|
|
30
|
+
@import "./fonts.css";
|
|
31
31
|
|
|
32
32
|
@import "./tokens.css";
|
|
33
33
|
@import "./base.css";
|