@lukeashford/aurelius 4.10.1 → 4.10.2

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.
@@ -503,6 +503,19 @@
503
503
  }
504
504
 
505
505
  @media print {
506
+ /* Reset the page chrome to paper. Host apps paint html/body with a dark
507
+ theme background for the on-screen view; in `window.print()` the browser
508
+ defaults "Background graphics" off so this stays invisible, but headless
509
+ Chromium prints with backgrounds on (it has to — the cover hero, palette
510
+ chips, and gold rules need their authored color). Without this reset the
511
+ PDF would render the dark page chrome behind every sheet. */
512
+ html, body {
513
+ /* `!important` because host apps often paint body via a Tailwind utility
514
+ class on <body> (higher specificity than the bare `body` selector),
515
+ and we always want paper-white at print time. */
516
+ background: white !important;
517
+ }
518
+
506
519
  /* `print-color-adjust: exact` is inherited per the CSS Color Adjustment
507
520
  spec, so setting it once at the root keeps Chromium from economising
508
521
  authored backgrounds (cover obsidian, palette chips, the gold rule
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lukeashford/aurelius",
3
- "version": "4.10.1",
3
+ "version": "4.10.2",
4
4
  "description": "Design system for Aurelius applications — A cohesive visual language for creative technologists",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",