@semi-bot/semi-theme-ai-mit-blue 1.0.1 → 1.0.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@semi-bot/semi-theme-ai-mit-blue",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "Semi theme generated by dsm. https://semi.design/dsm",
5
5
  "keywords": [
6
6
  "semi-theme",
package/raw.json CHANGED
@@ -676,7 +676,15 @@
676
676
  "easeInOut": "cubic-bezier(0.4, 0, 0.2, 1)"
677
677
  }
678
678
  },
679
- "components": {},
679
+ "components": {
680
+ "switch": {
681
+ "color": {
682
+ "$color-switch_checked-bg-hover": "var(--semi-color-primary-hover)",
683
+ "$color-switch_checked-bg-active": "var(--semi-color-primary-active)",
684
+ "$color-switch_checked-bg-default": "var(--semi-color-primary)"
685
+ }
686
+ }
687
+ },
680
688
  "typography": {
681
689
  "Header": {
682
690
  "header-1": {
package/scss/local.scss CHANGED
@@ -0,0 +1,3 @@
1
+ $color-switch_checked-bg-hover: var(--semi-color-primary-hover);
2
+ $color-switch_checked-bg-active: var(--semi-color-primary-active);
3
+ $color-switch_checked-bg-default: var(--semi-color-primary);
package/semi.css CHANGED
@@ -18729,10 +18729,10 @@ img[src=""], img:not([src]) {
18729
18729
  outline: 2px solid var(--semi-color-primary-light-active);
18730
18730
  }
18731
18731
  .semi-switch-checked {
18732
- background-color: var(--semi-color-success);
18732
+ background-color: var(--semi-color-primary);
18733
18733
  }
18734
18734
  .semi-switch-checked:hover {
18735
- background-color: var(--semi-color-success-hover);
18735
+ background-color: var(--semi-color-primary-hover);
18736
18736
  }
18737
18737
  .semi-switch-checked .semi-switch-knob {
18738
18738
  transform: translateX(18px);
@@ -18741,7 +18741,7 @@ img[src=""], img:not([src]) {
18741
18741
  transform: translateX(12px);
18742
18742
  }
18743
18743
  .semi-switch-active {
18744
- background-color: var(--semi-color-success-active);
18744
+ background-color: var(--semi-color-primary-active);
18745
18745
  }
18746
18746
  .semi-switch-disabled {
18747
18747
  cursor: not-allowed;