@instacks/peak 1.2.0 → 1.3.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.
@@ -3487,6 +3487,11 @@ figure figcaption {
3487
3487
  font-size: .75em;
3488
3488
  }
3489
3489
 
3490
+ :where(img[width][height]) {
3491
+ block-size: auto;
3492
+ max-inline-size: 100%;
3493
+ }
3494
+
3490
3495
  .peak-prose {
3491
3496
  max-inline-size: var(--peak-measure);
3492
3497
  text-wrap: pretty;
@@ -3541,6 +3546,15 @@ figure figcaption {
3541
3546
  :scope:has(.nav-sticky) [id] {
3542
3547
  scroll-margin-block-start: 5rem;
3543
3548
  }
3549
+
3550
+ meter {
3551
+ inline-size: 100%;
3552
+ margin-block-end: calc(var(--pico-spacing) * .5);
3553
+ }
3554
+
3555
+ :is([role="group"], [role="search"]):has( > :is(input, select, textarea)) > :is(button, [role="button"]) {
3556
+ flex-shrink: 0;
3557
+ }
3544
3558
  }
3545
3559
  }
3546
3560
 
@@ -3618,6 +3632,7 @@ figure figcaption {
3618
3632
  }
3619
3633
 
3620
3634
  .site-footer, :scope.site-footer {
3635
+ --pico-color: var(--pico-muted-color);
3621
3636
  padding-block: calc(var(--pico-spacing) * 2);
3622
3637
  border-block-start: var(--pico-border-width) solid var(--pico-muted-border-color);
3623
3638
  color: var(--pico-muted-color);
@@ -3680,15 +3695,18 @@ figure figcaption {
3680
3695
  :is(.site-header, :scope.site-header):is([data-nav-style="surface"], [data-nav-style="bordered"]) {
3681
3696
  --_peak-nav-bg: var(--peak-bg);
3682
3697
  background-color: var(--_peak-nav-bg);
3683
- box-shadow: 0 -100vmax 0 100vmax var(--_peak-nav-bg),
3684
- 0 calc(var(--pico-border-width) - 100vmax) 0 100vmax var(--pico-muted-border-color);
3685
- clip-path: inset(0 -100vmax calc(var(--pico-border-width) * -1));
3698
+ border-image: linear-gradient(var(--_peak-nav-bg) calc(100% - var(--pico-border-width)), var(--pico-muted-border-color) 0)
3699
+ fill 0 / 0 / 0 100vmax var(--pico-border-width);
3686
3700
  }
3687
3701
 
3688
3702
  :is(.site-header, :scope.site-header)[data-nav-style="surface"] {
3689
3703
  --_peak-nav-bg: var(--peak-surface);
3690
3704
  }
3691
3705
 
3706
+ .site-footer-nav {
3707
+ display: block;
3708
+ }
3709
+
3692
3710
  .site-footer-nav ul {
3693
3711
  margin: 0 0 calc(var(--pico-spacing) * .75);
3694
3712
  flex-wrap: wrap;
@@ -3698,6 +3716,11 @@ figure figcaption {
3698
3716
  display: flex;
3699
3717
  }
3700
3718
 
3719
+ .site-footer-nav.stacked ul {
3720
+ flex-direction: column;
3721
+ align-items: start;
3722
+ }
3723
+
3701
3724
  .site-footer-nav li {
3702
3725
  margin: 0;
3703
3726
  padding: 0;
@@ -3708,7 +3731,7 @@ figure figcaption {
3708
3731
  }
3709
3732
 
3710
3733
  .site-footer-nav a[aria-current="page"] {
3711
- color: var(--pico-color);
3734
+ color: var(--peak-text);
3712
3735
  }
3713
3736
 
3714
3737
  .site-footer-text {
@@ -3779,8 +3802,7 @@ figure figcaption {
3779
3802
  --_peak-band-bg: var(--peak-surface-sunken);
3780
3803
  padding-block: var(--peak-section-spacing, calc(var(--pico-block-spacing-vertical) * 2));
3781
3804
  background-color: var(--_peak-band-bg);
3782
- box-shadow: 0 0 0 100vmax var(--_peak-band-bg);
3783
- clip-path: inset(0 -100vmax);
3805
+ border-image: linear-gradient(var(--_peak-band-bg), var(--_peak-band-bg)) fill 0 / 0 / 0 100vmax;
3784
3806
  }
3785
3807
 
3786
3808
  .peak-band.surface {
@@ -3793,14 +3815,32 @@ figure figcaption {
3793
3815
 
3794
3816
  .peak-band.primary {
3795
3817
  --_peak-band-bg: var(--peak-primary-fill);
3796
- --pico-color: var(--peak-on-primary);
3797
- color: var(--peak-on-primary);
3818
+ --_peak-band-fg: var(--peak-on-primary);
3798
3819
  }
3799
3820
 
3800
3821
  .peak-band.contrast {
3801
3822
  --_peak-band-bg: var(--peak-contrast);
3802
- --pico-color: var(--peak-on-contrast);
3803
- color: var(--peak-on-contrast);
3823
+ --_peak-band-fg: var(--peak-on-contrast);
3824
+ }
3825
+
3826
+ .peak-band:is(.primary, .contrast) {
3827
+ --pico-color: var(--_peak-band-fg);
3828
+ --pico-h1-color: var(--_peak-band-fg);
3829
+ --pico-h2-color: var(--_peak-band-fg);
3830
+ --pico-h3-color: var(--_peak-band-fg);
3831
+ --pico-h4-color: var(--_peak-band-fg);
3832
+ --pico-h5-color: var(--_peak-band-fg);
3833
+ --pico-h6-color: var(--_peak-band-fg);
3834
+ --peak-heading: var(--_peak-band-fg);
3835
+ --peak-muted: var(--_peak-band-fg);
3836
+ --pico-muted-color: var(--_peak-band-fg);
3837
+ --peak-primary: var(--_peak-band-fg);
3838
+ --pico-primary: var(--_peak-band-fg);
3839
+ --pico-primary-hover: var(--_peak-band-fg);
3840
+ --pico-primary-underline: color-mix(in srgb, var(--_peak-band-fg) 60%, transparent);
3841
+ --pico-primary-hover-underline: var(--_peak-band-fg);
3842
+ --pico-primary-focus: var(--_peak-band-fg);
3843
+ color: var(--_peak-band-fg);
3804
3844
  }
3805
3845
 
3806
3846
  .peak-hero {
@@ -3872,10 +3912,22 @@ figure figcaption {
3872
3912
  margin-block-end: var(--pico-typography-spacing-vertical);
3873
3913
  }
3874
3914
 
3915
+ :where(.peak-grid-auto, .peak-grid, .peak-switcher):where(:not(:last-child)) {
3916
+ margin-block-end: var(--pico-block-spacing-vertical);
3917
+ }
3918
+
3875
3919
  .peak-cluster > * {
3876
3920
  margin-block: 0;
3877
3921
  }
3878
3922
 
3923
+ .peak-cluster > :is(input:not([type="checkbox"], [type="radio"], [type="range"]), select, textarea) {
3924
+ field-sizing: content;
3925
+ flex: none;
3926
+ inline-size: auto;
3927
+ min-inline-size: 5rem;
3928
+ max-inline-size: 100%;
3929
+ }
3930
+
3879
3931
  .peak-grid {
3880
3932
  --_peak-gap: var(--peak-gap, var(--pico-grid-column-gap));
3881
3933
  grid-template-columns: repeat(auto-fill,
@@ -3912,6 +3964,7 @@ figure figcaption {
3912
3964
  gap: var(--peak-gap, calc(var(--pico-spacing) * 2));
3913
3965
  flex-wrap: wrap;
3914
3966
  display: flex;
3967
+ container: peak-sidebar / inline-size;
3915
3968
  }
3916
3969
 
3917
3970
  .peak-with-sidebar > :is(aside, .peak-sidebar), .peak-with-sidebar > .out:has( > .peak-sidebar) {
@@ -3923,10 +3976,12 @@ figure figcaption {
3923
3976
  min-inline-size: 60%;
3924
3977
  }
3925
3978
 
3926
- .peak-with-sidebar.sticky > :is(aside, .peak-sidebar), .peak-with-sidebar.sticky > .out:has( > .peak-sidebar) {
3927
- align-self: start;
3928
- position: sticky;
3929
- inset-block-start: var(--peak-sticky-offset, var(--pico-spacing));
3979
+ @container peak-sidebar (width >= 45rem) {
3980
+ .peak-with-sidebar.sticky > :is(aside, .peak-sidebar), .peak-with-sidebar.sticky > .out:has( > .peak-sidebar) {
3981
+ align-self: start;
3982
+ position: sticky;
3983
+ inset-block-start: var(--peak-sticky-offset, var(--pico-spacing));
3984
+ }
3930
3985
  }
3931
3986
 
3932
3987
  .peak-media {
@@ -3944,7 +3999,7 @@ figure figcaption {
3944
3999
  }
3945
4000
 
3946
4001
  .peak-media > :last-child {
3947
- flex: 16rem;
4002
+ flex: 1 1 var(--peak-media-min, 16rem);
3948
4003
  min-inline-size: 0;
3949
4004
  }
3950
4005
 
@@ -3965,6 +4020,7 @@ figure figcaption {
3965
4020
  .peak-switcher > * {
3966
4021
  flex-grow: 1;
3967
4022
  flex-basis: calc((var(--peak-switch-at, 40rem) - 100%) * 999);
4023
+ min-inline-size: 0;
3968
4024
  margin-block: 0;
3969
4025
  }
3970
4026
 
@@ -3994,6 +4050,12 @@ figure figcaption {
3994
4050
  padding-block: var(--peak-section-spacing, calc(var(--pico-block-spacing-vertical) * 2)) !important;
3995
4051
  }
3996
4052
 
4053
+ @media screen and (forced-colors: none) {
4054
+ .stacks_in.peak-band {
4055
+ border-image: linear-gradient(var(--_peak-band-bg), var(--_peak-band-bg)) fill 0 / 0 / 0 100vmax !important;
4056
+ }
4057
+ }
4058
+
3997
4059
  .stacks_in.peak-hero {
3998
4060
  padding-block: calc(var(--peak-spacing) * 4) calc(var(--peak-spacing) * 2.5) !important;
3999
4061
  }
@@ -4046,6 +4108,54 @@ figure figcaption {
4046
4108
  .stacks_in.peak-switcher, .stacks_in.peak-switcher > .out > .stacks_in {
4047
4109
  overflow: visible !important;
4048
4110
  }
4111
+
4112
+ @media (width < 576px) {
4113
+ .stacks_in.peak-hide-below-sm {
4114
+ display: none !important;
4115
+ }
4116
+ }
4117
+
4118
+ @media (width >= 576px) {
4119
+ .stacks_in.peak-hide-from-sm {
4120
+ display: none !important;
4121
+ }
4122
+ }
4123
+
4124
+ @media (width < 768px) {
4125
+ .stacks_in.peak-hide-below-md {
4126
+ display: none !important;
4127
+ }
4128
+ }
4129
+
4130
+ @media (width >= 768px) {
4131
+ .stacks_in.peak-hide-from-md {
4132
+ display: none !important;
4133
+ }
4134
+ }
4135
+
4136
+ @media (width < 1024px) {
4137
+ .stacks_in.peak-hide-below-lg {
4138
+ display: none !important;
4139
+ }
4140
+ }
4141
+
4142
+ @media (width >= 1024px) {
4143
+ .stacks_in.peak-hide-from-lg {
4144
+ display: none !important;
4145
+ }
4146
+ }
4147
+
4148
+ @media (width < 1280px) {
4149
+ .stacks_in.peak-hide-below-xl {
4150
+ display: none !important;
4151
+ }
4152
+ }
4153
+
4154
+ @media (width >= 1280px) {
4155
+ .stacks_in.peak-hide-from-xl {
4156
+ display: none !important;
4157
+ }
4158
+ }
4049
4159
  }
4050
4160
  }
4051
4161
 
@@ -4095,7 +4205,7 @@ figure figcaption {
4095
4205
  position-try-fallbacks: flip-block,
4096
4206
  flip-inline,
4097
4207
  flip-block flip-inline;
4098
- position-visibility: anchors-visible;
4208
+ position-visibility: anchor-visible;
4099
4209
  overflow-y: auto;
4100
4210
  }
4101
4211
 
@@ -4104,7 +4214,7 @@ figure figcaption {
4104
4214
  position-try-fallbacks: flip-block,
4105
4215
  flip-inline,
4106
4216
  flip-block flip-inline;
4107
- position-visibility: anchors-visible;
4217
+ position-visibility: anchor-visible;
4108
4218
  margin: 0;
4109
4219
  margin-block-start: var(--pico-outline-width);
4110
4220
  inset: auto;
@@ -4260,11 +4370,11 @@ figure figcaption {
4260
4370
  margin-block-start: auto;
4261
4371
  }
4262
4372
 
4263
- :is(article, .peak-card) > :is(h2, h3, h4, h5, h6) {
4373
+ :is(article:not(.peak-prose), .peak-card) > :is(h2, h3, h4, h5, h6) {
4264
4374
  margin-block-end: calc(var(--pico-typography-spacing-vertical) * .5);
4265
4375
  }
4266
4376
 
4267
- :is(article, .peak-card) > :is(img, picture, figure):first-child {
4377
+ :is(article:not(.peak-prose), .peak-card) > :is(img, picture, figure):first-child {
4268
4378
  inline-size: calc(100% + var(--pico-block-spacing-horizontal) * 2);
4269
4379
  block-size: auto;
4270
4380
  max-inline-size: none;
@@ -4276,6 +4386,29 @@ figure figcaption {
4276
4386
  overflow: hidden;
4277
4387
  }
4278
4388
 
4389
+ article.peak-prose {
4390
+ box-shadow: none;
4391
+ background: none;
4392
+ border-radius: 0;
4393
+ padding: 0;
4394
+ }
4395
+
4396
+ article.peak-prose > :is(header, footer) {
4397
+ background: none;
4398
+ border: 0;
4399
+ border-radius: 0;
4400
+ margin-inline: 0;
4401
+ padding: 0;
4402
+ }
4403
+
4404
+ article.peak-prose > header {
4405
+ margin-block: 0 var(--pico-block-spacing-vertical);
4406
+ }
4407
+
4408
+ article.peak-prose > footer {
4409
+ margin-block: var(--pico-block-spacing-vertical) 0;
4410
+ }
4411
+
4279
4412
  .peak-card.outline {
4280
4413
  box-shadow: 0 0 0 var(--pico-border-width) var(--pico-card-border-color);
4281
4414
  }
@@ -4285,7 +4418,12 @@ figure figcaption {
4285
4418
  box-shadow: none;
4286
4419
  }
4287
4420
 
4288
- :is(article, .peak-card):has(.peak-card-link) {
4421
+ .peak-card.featured {
4422
+ box-shadow: 0 0 0 calc(var(--pico-border-width) * 2) var(--peak-primary),
4423
+ var(--pico-card-box-shadow);
4424
+ }
4425
+
4426
+ :is(article:not(.peak-prose), .peak-card):has(.peak-card-link) {
4289
4427
  transition: transform var(--pico-transition),
4290
4428
  box-shadow var(--pico-transition);
4291
4429
  position: relative;
@@ -4298,16 +4436,16 @@ figure figcaption {
4298
4436
  inset: 0;
4299
4437
  }
4300
4438
 
4301
- :is(article, .peak-card):has(.peak-card-link) :is(a, button, input, select, textarea, summary, label):not(.peak-card-link) {
4439
+ :is(article:not(.peak-prose), .peak-card):has(.peak-card-link) :is(a, button, input, select, textarea, summary, label):not(.peak-card-link) {
4302
4440
  z-index: 1;
4303
4441
  position: relative;
4304
4442
  }
4305
4443
 
4306
- :is(article, .peak-card):has(.peak-card-link):hover {
4444
+ :is(article:not(.peak-prose), .peak-card):has(.peak-card-link):hover {
4307
4445
  transform: translateY(-2px);
4308
4446
  }
4309
4447
 
4310
- :is(article, .peak-card):has(.peak-card-link:focus-visible) {
4448
+ :is(article:not(.peak-prose), .peak-card):has(.peak-card-link:focus-visible) {
4311
4449
  outline: var(--pico-outline-width) solid var(--pico-primary-focus);
4312
4450
  outline-offset: 2px;
4313
4451
  }
@@ -4318,7 +4456,7 @@ figure figcaption {
4318
4456
  }
4319
4457
 
4320
4458
  @media (prefers-reduced-motion: reduce) {
4321
- :is(article, .peak-card):has(.peak-card-link):hover {
4459
+ :is(article:not(.peak-prose), .peak-card):has(.peak-card-link):hover {
4322
4460
  transform: none;
4323
4461
  }
4324
4462
  }
@@ -4357,7 +4495,7 @@ figure figcaption {
4357
4495
  --_peak-badge-bg: var(--peak-primary-tint);
4358
4496
  --_peak-badge-solid-fg: var(--peak-on-primary);
4359
4497
  --_peak-badge-solid-bg: var(--peak-primary-fill);
4360
- overflow-wrap: anywhere;
4498
+ overflow-wrap: break-word;
4361
4499
  background-color: var(--_peak-badge-bg);
4362
4500
  max-inline-size: 100%;
4363
4501
  color: var(--_peak-badge-fg);
@@ -4621,7 +4759,7 @@ tbody th[scope="rowgroup"] {
4621
4759
  overflow: hidden;
4622
4760
  }
4623
4761
 
4624
- .peak-chip:has( > input:checked) {
4762
+ .peak-chip:has( > input:checked), a.peak-chip[aria-current]:not([aria-current="false"]) {
4625
4763
  border-color: var(--peak-primary);
4626
4764
  background-color: var(--peak-primary-tint);
4627
4765
  color: var(--peak-primary-hover);
@@ -4767,6 +4905,10 @@ dialog.peak-wide > article {
4767
4905
  max-inline-size: min(64rem, 100%);
4768
4906
  }
4769
4907
 
4908
+ dialog > article > footer button[type="submit"] {
4909
+ inline-size: auto;
4910
+ }
4911
+
4770
4912
  dialog.peak-wide:modal[closedby] {
4771
4913
  inline-size: min(64rem, 100% - var(--pico-spacing) * 2);
4772
4914
  }
@@ -5000,6 +5142,31 @@ dialog.peak-drawer > article {
5000
5142
  margin-inline-start: calc(var(--_peak-avatar-size) * -.25);
5001
5143
  }
5002
5144
 
5145
+ .peak-rating {
5146
+ --_peak-rating-fill: light-dark(oklch(.56 var(--peak-status-chroma) var(--peak-warning-hue)), oklch(.8 var(--peak-status-chroma) var(--peak-warning-hue)));
5147
+ letter-spacing: .1em;
5148
+ white-space: nowrap;
5149
+ vertical-align: -.05em;
5150
+ line-height: 1;
5151
+ display: inline-block;
5152
+ }
5153
+
5154
+ .peak-rating:before {
5155
+ content: "★★★★★";
5156
+ background: linear-gradient(to right,
5157
+ var(--_peak-rating-fill) calc(clamp(0, var(--peak-rating, 0), 5) / 5 * 100%),
5158
+ var(--peak-border-strong) 0);
5159
+ color: #0000;
5160
+ background-clip: text;
5161
+ }
5162
+
5163
+ .peak-rating:dir(rtl):before {
5164
+ background: linear-gradient(to left,
5165
+ var(--_peak-rating-fill) calc(clamp(0, var(--peak-rating, 0), 5) / 5 * 100%),
5166
+ var(--peak-border-strong) 0);
5167
+ background-clip: text;
5168
+ }
5169
+
5003
5170
  .site-nav .site-menu, .site-nav .site-menu-popover[popover] {
5004
5171
  display: contents;
5005
5172
  }
@@ -5072,6 +5239,10 @@ dialog.peak-drawer > article {
5072
5239
  margin: 0;
5073
5240
  }
5074
5241
 
5242
+ .site-nav .site-menu {
5243
+ align-self: center;
5244
+ }
5245
+
5075
5246
  .site-nav .site-menu-popover:popover-open > ul {
5076
5247
  flex-direction: column;
5077
5248
  align-items: stretch;
@@ -5136,6 +5307,19 @@ dialog.peak-drawer > article {
5136
5307
  font-weight: 600;
5137
5308
  }
5138
5309
 
5310
+ .peak-sidebar-nav > :is(h2, h3, h4, h5, h6, p) {
5311
+ margin-block: calc(var(--pico-spacing) * 1.5) calc(var(--pico-spacing) * .375);
5312
+ color: var(--pico-h6-color);
5313
+ letter-spacing: .06em;
5314
+ text-transform: uppercase;
5315
+ font-size: .75rem;
5316
+ font-weight: 600;
5317
+ }
5318
+
5319
+ .peak-sidebar-nav > :is(h2, h3, h4, h5, h6, p):first-child {
5320
+ margin-block-start: 0;
5321
+ }
5322
+
5139
5323
  .peak-sidebar-nav ul ul a {
5140
5324
  padding-inline-start: calc(var(--pico-nav-link-spacing-horizontal) * 2.5);
5141
5325
  }
@@ -5344,12 +5528,61 @@ dialog:not([open])::backdrop {
5344
5528
  margin-block-end: 0;
5345
5529
  }
5346
5530
 
5531
+ @media (width < 576px) {
5532
+ .peak-hide-below-sm {
5533
+ display: none;
5534
+ }
5535
+ }
5536
+
5537
+ @media (width >= 576px) {
5538
+ .peak-hide-from-sm {
5539
+ display: none;
5540
+ }
5541
+ }
5542
+
5543
+ @media (width < 768px) {
5544
+ .peak-hide-below-md {
5545
+ display: none;
5546
+ }
5547
+ }
5548
+
5549
+ @media (width >= 768px) {
5550
+ .peak-hide-from-md {
5551
+ display: none;
5552
+ }
5553
+ }
5554
+
5555
+ @media (width < 1024px) {
5556
+ .peak-hide-below-lg {
5557
+ display: none;
5558
+ }
5559
+ }
5560
+
5561
+ @media (width >= 1024px) {
5562
+ .peak-hide-from-lg {
5563
+ display: none;
5564
+ }
5565
+ }
5566
+
5567
+ @media (width < 1280px) {
5568
+ .peak-hide-below-xl {
5569
+ display: none;
5570
+ }
5571
+ }
5572
+
5573
+ @media (width >= 1280px) {
5574
+ .peak-hide-from-xl {
5575
+ display: none;
5576
+ }
5577
+ }
5578
+
5347
5579
  .peak-visually-hidden:not(:focus-within) {
5348
5580
  clip-path: inset(50%);
5349
5581
  white-space: nowrap;
5350
5582
  block-size: 1px;
5351
5583
  inline-size: 1px;
5352
5584
  position: absolute;
5585
+ inset-inline-start: 0;
5353
5586
  overflow: hidden;
5354
5587
  }
5355
5588
 
@@ -5358,7 +5591,7 @@ dialog:not([open])::backdrop {
5358
5591
  }
5359
5592
 
5360
5593
  @media (forced-colors: active) {
5361
- :is(article, .peak-card, [popover], dialog > article, .peak-badge, .peak-avatar) {
5594
+ :is(article:not(.peak-prose), .peak-card, [popover], dialog > article, .peak-badge, .peak-avatar) {
5362
5595
  border: 1px solid canvastext;
5363
5596
  }
5364
5597
 
@@ -5387,6 +5620,24 @@ dialog:not([open])::backdrop {
5387
5620
  .peak-badge.dot:before {
5388
5621
  background-color: canvastext;
5389
5622
  }
5623
+
5624
+ .peak-card.featured {
5625
+ border: 2px solid highlight;
5626
+ }
5627
+
5628
+ .peak-rating {
5629
+ --_peak-rating-fill: CanvasText;
5630
+ --peak-border-strong: GrayText;
5631
+ forced-color-adjust: none;
5632
+ }
5633
+
5634
+ .peak-band, :is(.site-header, :scope.site-header):is([data-nav-style="surface"], [data-nav-style="bordered"]) {
5635
+ border-image-source: none;
5636
+ }
5637
+
5638
+ :is(.site-header, :scope.site-header):is([data-nav-style="surface"], [data-nav-style="bordered"]) {
5639
+ border-block-end: 1px solid canvastext;
5640
+ }
5390
5641
  }
5391
5642
 
5392
5643
  @media print {
@@ -5398,18 +5649,17 @@ dialog:not([open])::backdrop {
5398
5649
  display: none;
5399
5650
  }
5400
5651
 
5401
- :is(article, .peak-card, .peak-callout, .peak-toast) {
5652
+ :is(article:not(.peak-prose), .peak-card, .peak-callout, .peak-toast) {
5402
5653
  box-shadow: none;
5403
5654
  border: 1px solid var(--peak-border);
5404
5655
  }
5405
5656
 
5406
5657
  .peak-band {
5407
- box-shadow: none;
5408
- clip-path: none;
5409
5658
  background: none;
5659
+ border-image-source: none;
5410
5660
  }
5411
5661
 
5412
- :is(article, .peak-card, .peak-callout, figure, pre, blockquote, tr, img) {
5662
+ :is(article:not(.peak-prose), .peak-card, .peak-callout, figure, pre, blockquote, tr, img) {
5413
5663
  break-inside: avoid;
5414
5664
  }
5415
5665
 
@@ -5417,6 +5667,11 @@ dialog:not([open])::backdrop {
5417
5667
  break-after: avoid;
5418
5668
  }
5419
5669
 
5670
+ .peak-rating:before {
5671
+ -webkit-print-color-adjust: exact;
5672
+ print-color-adjust: exact;
5673
+ }
5674
+
5420
5675
  .peak-prose a[href^="http"]:after {
5421
5676
  content: " (" attr(href) ")";
5422
5677
  color: var(--peak-muted);