File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33## Unreleased
44
5+ ### Bug Fixes
6+
7+ - fix: use CSS ` Canvas ` system colour so code-window chrome and body render against the page background, not a parent container's background.
8+
59## 1.1.1 (2026-04-13)
610
711### Bug Fixes
Original file line number Diff line number Diff line change 1010.code-with-filename {
1111 margin : 1.5em 0 ;
1212 border-radius : 8px ;
13- border : 1px solid color-mix (in srgb, currentColor 15% , transparent);
13+ border : 1px solid color-mix (in srgb, currentColor 15% , Canvas);
14+ background-color : Canvas;
1415 overflow : hidden;
1516 page-break-inside : avoid;
1617 break-inside : avoid;
2122 display : flex;
2223 align-items : center;
2324 gap : 0.75em ;
24- background-color : color-mix (in srgb, currentColor 5% , transparent );
25+ background-color : color-mix (in srgb, currentColor 5% , Canvas );
2526 border : none;
26- border-bottom : 1px solid color-mix (in srgb, currentColor 15% , transparent );
27+ border-bottom : 1px solid color-mix (in srgb, currentColor 15% , Canvas );
2728 border-radius : 0 ;
2829 padding : 0.2em 1em ;
2930 line-height : 1.2 ;
4748 border : none;
4849 font-size : 0.85em ;
4950 font-weight : 500 ;
50- color : color-mix (in srgb, currentColor 50% , transparent );
51+ color : color-mix (in srgb, currentColor 50% , Canvas );
5152}
5253
5354/* Code block content area */
You can’t perform that action at this time.
0 commit comments