@unifiedsoftware/styles 1.0.70 → 1.1.0

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.
@@ -2,18 +2,81 @@
2
2
 
3
3
  .#{$prefix}theme-fci {
4
4
  .#{$prefix}switch {
5
- --#{$prefix}switch-width: 2.5rem;
6
- --#{$prefix}switch-padding-y: 0.25rem;
7
- --#{$prefix}switch-padding-x: 0.25rem;
8
- --#{$prefix}switch-border-radius: 9999px;
9
- --#{$prefix}switch-color: rgba(0, 0, 0, 0.2);
10
- --#{$prefix}switch-thumb-width: 1rem;
11
- --#{$prefix}switch-thumb-height: 1rem;
5
+ --#{$prefix}switch-control-color: rgba(0, 0, 0, 0.2);
6
+ --#{$prefix}_checked-switch-control-color: var(--#{$prefix}primary-color);
7
+ --#{$prefix}_focus-switch-control-box-shadow: 0px 4px 8px rgba(var(--#{$prefix}primary-rgb) / 40%);
8
+
9
+ --#{$prefix}switch-thumb-width: 0.875rem;
10
+ --#{$prefix}switch-thumb-height: 0.875rem;
12
11
  --#{$prefix}switch-thumb-border-radius: 9999px;
13
12
  --#{$prefix}switch-thumb-color: var(--#{$prefix}white-color);
14
- }
15
13
 
16
- .#{$prefix}switch--checked {
17
- --#{$prefix}switch-color: var(--#{$prefix}primary-color);
14
+ --#{$prefix}switch-control-border-radius: 9999px;
15
+
16
+ &--sm {
17
+ --#{$prefix}switch-gap: 0.375rem;
18
+
19
+ --#{$prefix}switch-control-width: 26px;
20
+ --#{$prefix}switch-control-height: 16px;
21
+
22
+ --#{$prefix}switch-thumb-width: 10px;
23
+ --#{$prefix}switch-thumb-height: 10px;
24
+
25
+ --#{$prefix}switch-label-font-size: 0.75rem;
26
+
27
+ & .#{$prefix}icon {
28
+ --#{$prefix}icon-font-size: 0.75rem;
29
+ }
30
+ }
31
+
32
+ &--md {
33
+ --#{$prefix}switch-gap: 0.5rem;
34
+
35
+ --#{$prefix}switch-control-width: 32px;
36
+ --#{$prefix}switch-control-height: 20px;
37
+
38
+ --#{$prefix}switch-thumb-width: 14px;
39
+ --#{$prefix}switch-thumb-height: 14px;
40
+
41
+ --#{$prefix}switch-label-font-size: 0.875rem;
42
+
43
+ & .#{$prefix}icon {
44
+ --#{$prefix}icon-font-size: 1rem;
45
+ }
46
+ }
47
+
48
+ &--lg {
49
+ --#{$prefix}switch-gap: 0.5rem;
50
+
51
+ --#{$prefix}switch-control-width: 40px;
52
+ --#{$prefix}switch-control-height: 24px;
53
+
54
+ --#{$prefix}switch-thumb-width: 18px;
55
+ --#{$prefix}switch-thumb-height: 18px;
56
+
57
+ --#{$prefix}switch-label-font-size: 1rem;
58
+
59
+ .#{$prefix}icon {
60
+ --#{$prefix}icon-font-size: 1.125rem;
61
+ }
62
+ }
63
+
64
+ &--light {
65
+ --#{$prefix}switch-control-color: rgba(0, 0, 0, 0.4);
66
+ --#{$prefix}_checked-switch-control-color: rgba(255, 255, 255, 0.2);
67
+
68
+ --#{$prefix}switch-thumb-color: var(--#{$prefix}white-color);
69
+
70
+ --#{$prefix}switch-label-color: var(--#{$prefix}white-color);
71
+ }
72
+
73
+ &--dark {
74
+ --#{$prefix}switch-control-color: rgba(0, 0, 0, 0.2);
75
+ --#{$prefix}_checked-switch-control-color: rgba(0, 0, 0, 0.8);
76
+
77
+ --#{$prefix}switch-thumb-color: var(--#{$prefix}white-color);
78
+
79
+ --#{$prefix}switch-label-color: var(--#{$prefix}black-color);
80
+ }
18
81
  }
19
82
  }
@@ -3,10 +3,14 @@
3
3
  .#{$prefix}theme-fci {
4
4
  .#{$prefix}tab {
5
5
  --#{$prefix}tab-color: var(--#{$prefix}secondary-action-color);
6
+ --#{$prefix}tab-padding-y: 0px;
7
+ --#{$prefix}tab-padding-x: 16px;
6
8
  --#{$prefix}tab-font-size: 0.8125rem;
7
9
  --#{$prefix}tab-font-weight: 500;
8
10
  --#{$prefix}tab-border-radius: 6px 6px 0px 0px;
9
11
 
12
+ --#{$prefix}tab-closable-color: var(--#{$prefix}secondary-action-color);
13
+
10
14
  --#{$prefix}tab-indicator-color: var(--#{$prefix}primary-action-color);
11
15
  --#{$prefix}tab-indicator-height: 3px;
12
16
  --#{$prefix}tab-indicator-border-radius: 3px 3px 0px 0px;