@deque/cauldron-styles 4.2.1 → 4.3.0-canary.2f072027

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 +26 -11
  2. package/package.json +2 -2
package/dist/index.css CHANGED
@@ -181,7 +181,6 @@ button,
181
181
  display: inline-block;
182
182
  zoom: 1;
183
183
  line-height: normal;
184
- white-space: nowrap;
185
184
  vertical-align: middle;
186
185
  text-align: center;
187
186
  -moz-user-select: none;
@@ -2716,21 +2715,19 @@ button.TooltipTabstop {
2716
2715
  }
2717
2716
 
2718
2717
  :root {
2719
- --skip-link-background-color: rgba(11, 14, 17, 0.9);
2718
+ --skip-link-background-color: rgba(255, 255, 255, 0.95);
2719
+ --skip-link-focus-color: var(--focus-light);
2720
+ --skip-link-text-color: var(--text-color-base);
2720
2721
  }
2721
2722
 
2722
2723
  .SkipLink {
2723
- min-width: 173px;
2724
- height: 58px;
2725
- background-color: var(--skip-link-background-color);
2726
2724
  position: absolute;
2727
2725
  box-sizing: border-box;
2728
- padding: var(--space-half);
2726
+ padding: var(--space-smallest);
2729
2727
  top: -999px;
2730
2728
  left: 11px;
2731
2729
  opacity: 0;
2732
2730
  transition: 250ms opacity;
2733
- border-radius: 2px;
2734
2731
  z-index: var(--z-index-skip-container);
2735
2732
  }
2736
2733
 
@@ -2744,10 +2741,13 @@ button.TooltipTabstop {
2744
2741
  }
2745
2742
 
2746
2743
  .SkipLink a {
2744
+ min-width: 13rem;
2745
+ background-color: var(--skip-link-background-color);
2747
2746
  display: block;
2748
- color: var(--text-color-light);
2747
+ color: var(--skip-link-text-color);
2749
2748
  text-decoration: none;
2750
- padding: var(--space-three-quarters);
2749
+ padding: 12px;
2750
+ border-radius: 2px;
2751
2751
  }
2752
2752
 
2753
2753
  .SkipLink span {
@@ -2757,13 +2757,16 @@ button.TooltipTabstop {
2757
2757
  .SkipLink .SkipLink__item--first {
2758
2758
  font-size: var(--text-size-small);
2759
2759
  font-weight: var(--font-weight-light);
2760
- color: var(--text-color-light);
2760
+ margin-bottom: var(--space-three-quarters);
2761
2761
  }
2762
2762
 
2763
2763
  .SkipLink .SkipLink__item--second {
2764
2764
  font-size: var(--text-size-normal);
2765
2765
  font-weight: var(--font-weight-medium);
2766
- color: var(--text-color-light);
2766
+ }
2767
+
2768
+ .SkipLink .Icon--triangle-right {
2769
+ color: var(--skip-link-focus-color);
2767
2770
  }
2768
2771
 
2769
2772
  .SkipLink ul {
@@ -2810,6 +2813,14 @@ button.TooltipTabstop {
2810
2813
  color: var(--text-color-light);
2811
2814
  }
2812
2815
 
2816
+ /* Dark Theme */
2817
+
2818
+ .cauldron--theme-dark {
2819
+ --skip-link-background-color: rgba(11, 14, 17, 0.95);
2820
+ --skip-link-focus-color: var(--focus-dark);
2821
+ --skip-link-text-color: var(--text-color-light);
2822
+ }
2823
+
2813
2824
  :root {
2814
2825
  --loader-ring-size: 104px;
2815
2826
  --loader-ring-thickness: 10px;
@@ -4285,4 +4296,8 @@ fieldset.Panel {
4285
4296
  .TwoColumnPanel--hide .TwoColumnPanel__Left {
4286
4297
  transform: translateX(-10vw);
4287
4298
  }
4299
+
4300
+ .TwoColumnPanel > .SkipLink {
4301
+ display: none;
4302
+ }
4288
4303
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deque/cauldron-styles",
3
- "version": "4.2.1",
3
+ "version": "4.3.0-canary.2f072027",
4
4
  "license": "MPL-2.0",
5
5
  "description": "deque cauldron pattern library styles",
6
6
  "repository": "https://github.com/dequelabs/cauldron",
@@ -22,4 +22,4 @@
22
22
  "postcss-cli": "^7.1.1",
23
23
  "postcss-import": "^12.0.1"
24
24
  }
25
- }
25
+ }