Skip to content

Commit afd9922

Browse files
authored
Merge pull request #412 from marp-team/print-color-adjust
Add `print-color-adjust` property to print CSS rendered by PostCSS printable plugin
2 parents c0f5c43 + 46f80ec commit afd9922

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
### Added
66

77
- Test against Node.js 24 ([#413](https://github.com/marp-team/marpit/pull/413))
8+
- Added `print-color-adjust` property to print CSS ([#410](https://github.com/marp-team/marpit/issues/410), [#412](https://github.com/marp-team/marpit/pull/412))
89

910
### Changed
1011

src/postcss/printable.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ export const printable = postcssPlugin(
4545
animation-delay: 0s !important;
4646
animation-duration: 0s !important;
4747
color-adjust: exact !important;
48+
print-color-adjust: exact !important;
4849
transition: none !important;
4950
}
5051

0 commit comments

Comments
 (0)