@happeouikit/content-renderer 3.2.28 → 3.3.1

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.
package/dist/index.es.js CHANGED
@@ -5530,7 +5530,27 @@ const ui = ii(), si = new RegExp(tt, "gi"), di = new RegExp(
5530
5530
  }
5531
5531
  }
5532
5532
  }
5533
+
5534
+ blockquote {
5535
+ border-left: solid 4px var(--color-active-primary);
5536
+ margin-left: 0;
5537
+ padding-left: var(--space-md-minus);
5538
+
5539
+ blockquote {
5540
+ border-color: var(--color-active-darken10);
5541
+
5542
+ blockquote {
5543
+ border-color: var(--color-active-darken20);
5544
+ }
5545
+ }
5546
+
5547
+ p {
5548
+ text-align: unset !important; // override some old code that makes it centered
5549
+ margin: 0 auto;
5550
+ }
5551
+ }
5533
5552
 
5553
+ // everything-except-pages CSS
5534
5554
  ${({ widgetType: e, inheritBrandingStyles: i }) => e === "page" ? "" : _r`
5535
5555
  * {
5536
5556
  font-family: ${da};
@@ -5697,18 +5717,9 @@ const ui = ii(), si = new RegExp(tt, "gi"), di = new RegExp(
5697
5717
  font-size: 40px;
5698
5718
  line-height: 1.2;
5699
5719
  }
5700
-
5701
- blockquote {
5702
- border-top: 2px solid var(--color-divider);
5703
- border-bottom: 2px solid var(--color-divider);
5704
- font-size: 18px;
5705
- padding: var(--space-lg) var(--space-xxxl);
5706
- position: relative;
5707
- text-align: center;
5708
- margin: var(--space-xxxl) 0;
5709
- }
5710
5720
  `}
5711
5721
 
5722
+ // article-only CSS
5712
5723
  ${({ widgetType: e, inheritBrandingStyles: i }) => e === "article" && _r`
5713
5724
  h1 {
5714
5725
  font-family: ${i ? "var(--channels-h1-font-family, revert)" : "revert"};
@@ -5899,20 +5910,6 @@ const ui = ii(), si = new RegExp(tt, "gi"), di = new RegExp(
5899
5910
  }
5900
5911
  }
5901
5912
 
5902
- blockquote {
5903
- border-left: 0 !important;
5904
- padding-left: 0 !important;
5905
- margin: 0 !important;
5906
- color: inherit !important;
5907
-
5908
- p {
5909
- line-height: 30px;
5910
- font-size: 26px;
5911
- text-align: center;
5912
- margin: 0 auto;
5913
- }
5914
- }
5915
-
5916
5913
  .content-attachments {
5917
5914
  width: 100%;
5918
5915
  }