@1024pix/pix-ui 55.30.0 → 55.31.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.
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VARIANTS = ['primary', 'orga', 'certif', 'admin'];
|
|
1
|
+
export const VARIANTS = ['primary', 'orga', 'certif', 'admin', 'modulix'];
|
|
@@ -100,4 +100,13 @@
|
|
|
100
100
|
--pix-navigation-color: var(--pix-primary-700);
|
|
101
101
|
--pix-navigation-text-color: var(--pix-neutral-0);
|
|
102
102
|
}
|
|
103
|
+
|
|
104
|
+
&--modulix {
|
|
105
|
+
background-color: var(--pix-neutral-0);
|
|
106
|
+
|
|
107
|
+
--pix-navigation-color: var(--pix-primary-10);
|
|
108
|
+
--pix-navigation-text-color: var(--pix-neutral-800);
|
|
109
|
+
--pix-navigation-width: 88px;
|
|
110
|
+
--pix-navigation-mobile-button-color: var(--pix-neutral-800);
|
|
111
|
+
}
|
|
103
112
|
}
|
|
@@ -184,16 +184,16 @@
|
|
|
184
184
|
|
|
185
185
|
&--success {
|
|
186
186
|
color: var(--pix-neutral-0);
|
|
187
|
-
background-color: var(--pix-success-
|
|
187
|
+
background-color: var(--pix-success-700);
|
|
188
188
|
|
|
189
189
|
&:not([aria-disabled="true"]) {
|
|
190
190
|
&:hover {
|
|
191
|
-
background-color: var(--pix-success-
|
|
191
|
+
background-color: var(--pix-success-900);
|
|
192
192
|
}
|
|
193
193
|
|
|
194
194
|
&:focus,
|
|
195
195
|
&:focus-visible {
|
|
196
|
-
background-color: var(--pix-success-
|
|
196
|
+
background-color: var(--pix-success-900);
|
|
197
197
|
outline: 1px solid var(--pix-neutral-0);
|
|
198
198
|
outline-offset: -4px;
|
|
199
199
|
}
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
:root {
|
|
5
5
|
--pix-navigation-width: 15rem;
|
|
6
|
+
--pix-navigation-mobile-button-color: --pix-neutral-0;
|
|
6
7
|
}
|
|
7
8
|
|
|
8
9
|
.pix-navigation {
|
|
@@ -71,6 +72,10 @@
|
|
|
71
72
|
display: block;
|
|
72
73
|
margin-left:auto;
|
|
73
74
|
|
|
75
|
+
svg {
|
|
76
|
+
color: var(--pix-navigation-mobile-button-color);
|
|
77
|
+
}
|
|
78
|
+
|
|
74
79
|
.pix-button {
|
|
75
80
|
background-color: transparent;
|
|
76
81
|
|