@cogenta/theme-docs 0.5.7 → 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.
Files changed (44) hide show
  1. package/dist/src/render/blocks/logos.d.ts.map +1 -1
  2. package/dist/src/render/blocks/logos.js +6 -1
  3. package/dist/src/render/blocks/logos.js.map +1 -1
  4. package/dist/src/render/doc-page.d.ts.map +1 -1
  5. package/dist/src/render/doc-page.js +17 -8
  6. package/dist/src/render/doc-page.js.map +1 -1
  7. package/dist/src/render/rich-text.d.ts.map +1 -1
  8. package/dist/src/render/rich-text.js +17 -2
  9. package/dist/src/render/rich-text.js.map +1 -1
  10. package/dist/src/render/search.d.ts.map +1 -1
  11. package/dist/src/render/search.js +6 -1
  12. package/dist/src/render/search.js.map +1 -1
  13. package/dist/src/render/strings.d.ts +6 -0
  14. package/dist/src/render/strings.d.ts.map +1 -1
  15. package/dist/src/render/strings.js +6 -0
  16. package/dist/src/render/strings.js.map +1 -1
  17. package/fonts/OFL-ibm-plex-mono.txt +93 -0
  18. package/fonts/OFL-ibm-plex-sans.txt +93 -0
  19. package/fonts/README.md +59 -0
  20. package/fonts/ibm-plex-mono-italic-latin-0840095f.woff2 +0 -0
  21. package/fonts/ibm-plex-mono-italic-latin-ext-1b07eee6.woff2 +0 -0
  22. package/fonts/ibm-plex-mono-normal-latin-01d28544.woff2 +0 -0
  23. package/fonts/ibm-plex-mono-normal-latin-08949f72.woff2 +0 -0
  24. package/fonts/ibm-plex-mono-normal-latin-0d1f0b8d.woff2 +0 -0
  25. package/fonts/ibm-plex-mono-normal-latin-ext-32057cf5.woff2 +0 -0
  26. package/fonts/ibm-plex-mono-normal-latin-ext-6bb06407.woff2 +0 -0
  27. package/fonts/ibm-plex-mono-normal-latin-ext-6bc0f226.woff2 +0 -0
  28. package/fonts/ibm-plex-sans-italic-latin-4363757d.woff2 +0 -0
  29. package/fonts/ibm-plex-sans-italic-latin-ext-bf44b77c.woff2 +0 -0
  30. package/fonts/ibm-plex-sans-normal-latin-e2291e84.woff2 +0 -0
  31. package/fonts/ibm-plex-sans-normal-latin-ext-d160e209.woff2 +0 -0
  32. package/fonts/manifest.json +101 -0
  33. package/package.json +11 -8
  34. package/src/render/blocks/logos.ts +10 -1
  35. package/src/render/doc-page.ts +36 -9
  36. package/src/render/rich-text.ts +18 -2
  37. package/src/render/search.ts +13 -1
  38. package/src/render/strings.ts +6 -0
  39. package/src/styles/base.css +9 -0
  40. package/src/styles/blocks.css +5 -0
  41. package/src/styles/chrome.css +16 -4
  42. package/src/styles/docs.css +79 -0
  43. package/src/styles/fonts.css +125 -0
  44. package/src/styles/theme.css +3 -3
@@ -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 Google Fonts request for 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 Google Fonts is unreachable, and
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 url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,100..700;1,100..700&family=IBM+Plex+Mono:ital,wght@0,400;0,500;0,600;1,400&display=swap");
30
+ @import "./fonts.css";
31
31
 
32
32
  @import "./tokens.css";
33
33
  @import "./base.css";