@deque/cauldron-styles 5.8.0-canary.e27cfd13 → 5.8.1-canary.5921a8e6

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 +38 -13
  2. package/package.json +1 -1
package/dist/index.css CHANGED
@@ -1470,6 +1470,8 @@ ul.semantic-only {
1470
1470
  --field-listbox-selected-background-color: var(--accent-secondary-active);
1471
1471
  --field-font-size: var(--text-size-small);
1472
1472
  --input-min-width: 250px;
1473
+ --checkbox-size: var(--icon-size);
1474
+ --radio-size: var(--icon-size);
1473
1475
  }
1474
1476
 
1475
1477
  .cauldron--theme-dark {
@@ -1795,11 +1797,18 @@ textarea.Field--has-error:focus:hover,
1795
1797
  font-weight: var(--font-weight-normal);
1796
1798
  line-height: 1;
1797
1799
  margin-top: var(--space-half);
1798
- margin-left: calc(24px + 2px + var(--space-half));
1799
1800
  cursor: default;
1800
1801
  display: flex;
1801
1802
  }
1802
1803
 
1804
+ .Checkbox__wrap .Field__labelDescription {
1805
+ margin-left: calc(var(--checkbox-size) + 2px + var(--space-half));
1806
+ }
1807
+
1808
+ .Radio__wrap .Field__labelDescription {
1809
+ margin-left: calc(var(--radio-size) + 2px + var(--space-half));
1810
+ }
1811
+
1803
1812
  .Field__labelDescription + .Error {
1804
1813
  margin-top: var(--space-smallest);
1805
1814
  }
@@ -1827,6 +1836,16 @@ textarea.Field--has-error:focus:hover,
1827
1836
  pointer-events: none;
1828
1837
  }
1829
1838
 
1839
+ .Radio__overlay svg {
1840
+ height: var(--radio-size);
1841
+ width: var(--radio-size);
1842
+ }
1843
+
1844
+ .Checkbox__overlay svg {
1845
+ height: var(--checkbox-size);
1846
+ width: var(--checkbox-size);
1847
+ }
1848
+
1830
1849
  .Radio__overlay:active:not(.Radio__overlay--disabled),
1831
1850
  .Checkbox__overlay:active:not(.Checkbox__overlay--disabled) {
1832
1851
  background-color: var(--field-icon-active-color);
@@ -3152,14 +3171,26 @@ button.TooltipTabstop {
3152
3171
  margin-top: -1px;
3153
3172
  }
3154
3173
 
3174
+ :root {
3175
+ --code-text-color: var(--accent-primary-active);
3176
+ --code-border-color: var(--stroke-light);
3177
+ --code-background-color: var(--background-light);
3178
+ }
3179
+
3180
+ .cauldron--theme-dark {
3181
+ --code-text-color: var(--accent-light);
3182
+ --code-background-color: var(--accent-dark);
3183
+ --code-border-color: var(--stroke-dark);
3184
+ }
3185
+
3155
3186
  .Code.hljs {
3156
3187
  display: block;
3157
- padding: 0.5em;
3158
- background: var(--gray-20);
3159
- color: var(--gray-90);
3160
- border: 1px solid var(--gray-40);
3161
- color: var(--accent-primary-active);
3162
- word-break: anywhere;
3188
+ padding: var(--space-smaller);
3189
+ background: var(--code-background-color);
3190
+ border: 1px solid var(--code-border-color);
3191
+ border-radius: 3px;
3192
+ color: var(--code-text-color);
3193
+ word-break: break-all;
3163
3194
  }
3164
3195
 
3165
3196
  .Code--scrollable {
@@ -3259,12 +3290,6 @@ button.TooltipTabstop {
3259
3290
 
3260
3291
  /* Dark Theme */
3261
3292
 
3262
- .cauldron--theme-dark .Code.hljs {
3263
- background: var(--accent-dark);
3264
- color: var(--accent-light);
3265
- border: 1px solid transparent;
3266
- }
3267
-
3268
3293
  .cauldron--theme-dark .Code .hljs-string {
3269
3294
  color: #8abeb7;
3270
3295
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deque/cauldron-styles",
3
- "version": "5.8.0-canary.e27cfd13",
3
+ "version": "5.8.1-canary.5921a8e6",
4
4
  "license": "MPL-2.0",
5
5
  "description": "deque cauldron pattern library styles",
6
6
  "repository": "https://github.com/dequelabs/cauldron",