@deque/cauldron-styles 6.16.0-canary.4dde05f6 → 6.16.0-canary.60b323e0

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.
Files changed (2) hide show
  1. package/dist/index.css +72 -1
  2. package/package.json +1 -1
package/dist/index.css CHANGED
@@ -1195,7 +1195,7 @@ textarea.Field--has-error:focus:hover,
1195
1195
  --button-background-color-primary-active: var(--accent-primary-active);
1196
1196
 
1197
1197
  --button-background-color-secondary: var(--gray-20);
1198
- --button-background-color-secondary-disabled: var(--gray-30);
1198
+ --button-background-color-secondary-disabled: var(--gray-20);
1199
1199
  --button-outline-color-secondary: var(--gray-90);
1200
1200
  --button-background-color-secondary-active: var(--gray-30);
1201
1201
  --button-border-color-secondary: var(--gray-40);
@@ -5834,3 +5834,74 @@ button.Accordion__trigger {
5834
5834
  padding-bottom: var(--space-small);
5835
5835
  margin-bottom: var(--space-small);
5836
5836
  }
5837
+
5838
+ :root {
5839
+ --page-header-overline-color: var(--gray-60);
5840
+ }
5841
+
5842
+ .cauldron--theme-dark {
5843
+ --page-header-overline-color: var(--accent-light);
5844
+ }
5845
+
5846
+ .PageHeader__overline {
5847
+ margin: 0 0 var(--space-smallest) 0;
5848
+ padding: 0;
5849
+ color: var(--page-header-overline-color);
5850
+ font-size: var(--text-size-base);
5851
+ }
5852
+
5853
+ :root {
5854
+ --section-header-description-color: var(--gray-60);
5855
+ }
5856
+
5857
+ .cauldron--theme-dark {
5858
+ --section-header-description-color: var(--accent-light);
5859
+ }
5860
+
5861
+ .SectionHeader {
5862
+ container-type: inline-size;
5863
+ }
5864
+
5865
+ .SectionHeader__content {
5866
+ display: grid;
5867
+ grid-template-columns: 1fr;
5868
+ grid-template-areas:
5869
+ 'heading'
5870
+ 'description'
5871
+ 'children';
5872
+ }
5873
+
5874
+ .SectionHeader__actions {
5875
+ margin-top: var(--space-small);
5876
+ grid-area: children;
5877
+ }
5878
+
5879
+ .SectionHeader .SectionHeader__content .SectionHeader__description {
5880
+ margin: var(--space-smallest) 0 0 0;
5881
+ padding: 0;
5882
+ color: var(--section-header-description-color);
5883
+ font-size: var(--text-size-base);
5884
+ grid-area: description;
5885
+ }
5886
+
5887
+ .SectionHeader :is(h1, h2, h3, h4, h5, h6) {
5888
+ font-weight: var(--font-weight-medium);
5889
+ margin: 0;
5890
+ padding: 0;
5891
+ }
5892
+
5893
+ @container (min-width: 48rem) {
5894
+ .SectionHeader__content {
5895
+ grid-template-columns: 1fr auto;
5896
+ grid-template-areas:
5897
+ 'heading children'
5898
+ 'description children';
5899
+ align-items: start;
5900
+ }
5901
+
5902
+ .SectionHeader__actions {
5903
+ margin: 0;
5904
+ align-self: center;
5905
+ justify-self: end;
5906
+ }
5907
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deque/cauldron-styles",
3
- "version": "6.16.0-canary.4dde05f6",
3
+ "version": "6.16.0-canary.60b323e0",
4
4
  "license": "MPL-2.0",
5
5
  "description": "deque cauldron pattern library styles",
6
6
  "repository": "https://github.com/dequelabs/cauldron",