@innovaccer/design-system 4.7.0 → 4.8.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.
@@ -9,62 +9,47 @@
9
9
  line-height: var(--font-height-s);
10
10
  display: flex;
11
11
  align-items: center;
12
- }
13
-
14
- .AIButton:disabled {
15
- cursor: not-allowed;
16
- pointer-events: none;
17
- }
18
-
19
- .AIButton:focus {
20
- outline: 0;
21
- }
22
-
23
- /* Primary Button */
24
-
25
- .AIButton--primary {
26
- background: var(--primary);
27
- color: var(--white);
28
- }
29
-
30
- .AIButton--primary:hover {
31
- background: var(--primary-dark);
32
- }
33
-
34
- .AIButton--primary:active {
35
- background: var(--primary-darker);
36
- }
37
-
38
- .AIButton--primary:disabled {
39
- background: var(--primary-lighter);
40
- }
41
-
42
- .AIButton--primary:focus {
43
- box-shadow: var(--shadow-spread) var(--primary-shadow);
44
- }
45
-
46
- /* Basic Button */
47
-
48
- .AIButton--basic {
49
- background: var(--secondary-light);
50
12
  color: var(--inverse);
13
+ background: linear-gradient(
14
+ 277deg,
15
+ rgba(227, 28, 121, 0.15) 0%,
16
+ rgba(231, 56, 79, 0.24) 28%,
17
+ rgba(240, 125, 0, 0.15) 100%
18
+ );
51
19
  }
52
20
 
53
- .AIButton--basic:hover {
54
- background: var(--secondary);
21
+ .AIButton:hover {
22
+ background: linear-gradient(
23
+ 277deg,
24
+ rgba(227, 28, 121, 0.2) 0%,
25
+ rgba(231, 56, 79, 0.32) 28%,
26
+ rgba(240, 125, 0, 0.2) 100%
27
+ );
55
28
  }
56
29
 
57
- .AIButton--basic:active {
58
- background: var(--secondary-dark);
30
+ .AIButton:active {
31
+ background: linear-gradient(
32
+ 277deg,
33
+ rgba(227, 28, 121, 0.31) 0%,
34
+ rgba(231, 56, 79, 0.48) 28%,
35
+ rgba(240, 125, 0, 0.31) 100%
36
+ );
59
37
  }
60
38
 
61
- .AIButton--basic:disabled {
62
- background: var(--secondary-lighter);
63
- color: var(--inverse-lightest);
39
+ .AIButton:disabled {
40
+ cursor: not-allowed;
41
+ opacity: var(--opacity-10);
42
+ background: linear-gradient(
43
+ 277deg,
44
+ rgba(227, 28, 121, 0.15) 0%,
45
+ rgba(231, 56, 79, 0.24) 28%,
46
+ rgba(240, 125, 0, 0.15) 100%
47
+ );
64
48
  }
65
49
 
66
- .AIButton--basic:focus {
67
- box-shadow: var(--shadow-spread) var(--secondary-shadow);
50
+ .AIButton:focus {
51
+ outline: 0;
52
+ box-shadow: var(--shadow-spread) var(--primary-shadow);
68
53
  }
69
54
 
70
55
  /* Button Icon */
@@ -114,7 +114,6 @@
114
114
  overflow: hidden;
115
115
  user-select: none;
116
116
  cursor: pointer;
117
- color: var(--inverse);
118
117
  border-radius: var(--border-radius-full);
119
118
  padding: var(--spacing-05);
120
119
  }