@navikt/ds-css 5.11.0 → 5.11.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.
@@ -2796,7 +2796,7 @@
2796
2796
 
2797
2797
  .navds-switch__input:hover ~ .navds-switch__label-wrapper,
2798
2798
  .navds-switch__label-wrapper:hover {
2799
- color: var(--ac-switch-action, var(--a-surface-action));
2799
+ color: var(--ac-switch-action, var(--a-surface-action-selected));
2800
2800
  }
2801
2801
 
2802
2802
  .navds-switch__input:disabled:hover ~ .navds-switch__label-wrapper {
@@ -2827,7 +2827,7 @@
2827
2827
  }
2828
2828
 
2829
2829
  .navds-switch__input:checked ~ .navds-switch__track {
2830
- background-color: var(--ac-switch-checked-bg, var(--a-surface-success));
2830
+ background-color: var(--ac-switch-checked-bg, var(--a-surface-action-selected));
2831
2831
  }
2832
2832
 
2833
2833
  .navds-switch__input:hover ~ .navds-switch__track {
@@ -2835,7 +2835,7 @@
2835
2835
  }
2836
2836
 
2837
2837
  .navds-switch__input:hover:checked ~ .navds-switch__track {
2838
- background-color: var(--ac-switch-checked-hover-bg, var(--a-surface-success-hover));
2838
+ background-color: var(--ac-switch-checked-hover-bg, var(--a-surface-action-selected-hover));
2839
2839
  }
2840
2840
 
2841
2841
  .navds-switch__input:disabled ~ .navds-switch__track {
@@ -2843,7 +2843,7 @@
2843
2843
  }
2844
2844
 
2845
2845
  .navds-switch__input:checked:disabled ~ .navds-switch__track {
2846
- background-color: var(--ac-switch-checked-bg, var(--a-border-success));
2846
+ background-color: var(--ac-switch-checked-bg, var(--a-border-action-selected));
2847
2847
  }
2848
2848
 
2849
2849
  .navds-switch__input:focus-visible ~ .navds-switch__track {
@@ -2876,7 +2876,7 @@
2876
2876
 
2877
2877
  .navds-switch__input:checked ~ .navds-switch__track > .navds-switch__thumb {
2878
2878
  transform: translateX(1.25rem);
2879
- color: var(--ac-switch-thumb-icon-checked, var(--a-icon-success));
2879
+ color: var(--ac-switch-thumb-icon-checked, var(--a-icon-action-selected));
2880
2880
  }
2881
2881
 
2882
2882
  @media (hover: hover) and (pointer: fine) {
@@ -2897,12 +2897,6 @@
2897
2897
  transform: translateX(1.25rem);
2898
2898
  }
2899
2899
 
2900
- /* Loader */
2901
-
2902
- .navds-switch__input:checked ~ .navds-switch__track > .navds-switch__thumb .navds-loader__foreground {
2903
- stroke: var(--ac-switch-thumb-icon-checked, var(--a-icon-success));
2904
- }
2905
-
2906
2900
  /* Disabled */
2907
2901
 
2908
2902
  .navds-switch__input:disabled {