@team-monolith/cds 1.21.1 → 1.21.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.
@@ -20,13 +20,25 @@ const COLOR_TO_SWITCH_BUTTON_STYLE = (theme, color, isOn) => ({
20
20
  ${isOn
21
21
  ? css `
22
22
  background: ${theme.color.background.neutralAltActive};
23
- opacity: 0.6;
23
+ span {
24
+ opacity: 1;
25
+ font-weight: 700;
26
+ }
27
+ svg {
28
+ opacity: 1;
29
+ }
24
30
  `
25
31
  : css `
26
32
  background: ${theme.color.background.neutralAlt};
27
- opacity: 0.6;
33
+ span,
34
+ svg {
35
+ opacity: 0.6;
36
+ }
28
37
  ${HOVER(css `
29
- opacity: 1;
38
+ span,
39
+ svg {
40
+ opacity: 1;
41
+ }
30
42
  `)}
31
43
  `}
32
44
  `,
@@ -34,13 +46,25 @@ const COLOR_TO_SWITCH_BUTTON_STYLE = (theme, color, isOn) => ({
34
46
  ${isOn
35
47
  ? css `
36
48
  background: ${theme.color.background.neutralAlt};
37
- opacity: 0.6;
49
+ span {
50
+ opacity: 1;
51
+ font-weight: 700;
52
+ }
53
+ svg {
54
+ opacity: 1;
55
+ }
38
56
  `
39
57
  : css `
40
58
  background: ${theme.color.background.neutralBase};
41
- opacity: 0.6;
59
+ span,
60
+ svg {
61
+ opacity: 0.6;
62
+ }
42
63
  ${HOVER(css `
43
- opacity: 1;
64
+ span,
65
+ svg {
66
+ opacity: 1;
67
+ }
44
68
  `)}
45
69
  `}
46
70
  `,
@@ -48,13 +72,25 @@ const COLOR_TO_SWITCH_BUTTON_STYLE = (theme, color, isOn) => ({
48
72
  ${isOn
49
73
  ? css `
50
74
  background: ${theme.color.background.neutralAlt};
51
- opacity: 0.6;
75
+ span {
76
+ opacity: 1;
77
+ font-weight: 700;
78
+ }
79
+ svg {
80
+ opacity: 1;
81
+ }
52
82
  `
53
83
  : css `
54
84
  background: none;
55
- opacity: 0.6;
85
+ span,
86
+ svg {
87
+ opacity: 0.6;
88
+ }
56
89
  ${HOVER(css `
57
- opacity: 1;
90
+ span,
91
+ svg {
92
+ opacity: 1;
93
+ }
58
94
  `)}
59
95
  `}
60
96
  `,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@team-monolith/cds",
3
- "version": "1.21.1",
3
+ "version": "1.21.2",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "sideEffects": false,