@1024pix/pix-ui 60.4.1 → 60.6.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.
|
@@ -12,8 +12,6 @@
|
|
|
12
12
|
text-align: center;
|
|
13
13
|
|
|
14
14
|
&__index {
|
|
15
|
-
@extend %pix-shadow-default;
|
|
16
|
-
|
|
17
15
|
position: relative;
|
|
18
16
|
display: flex;
|
|
19
17
|
align-items: center;
|
|
@@ -32,6 +30,7 @@
|
|
|
32
30
|
position: absolute;
|
|
33
31
|
display: block;
|
|
34
32
|
height: 3px;
|
|
33
|
+
margin-left: -1px;
|
|
35
34
|
background-color: var(--pix-neutral-0);
|
|
36
35
|
border-radius: 2px;
|
|
37
36
|
content: '';
|
|
@@ -58,15 +57,16 @@
|
|
|
58
57
|
@extend %pix-body-s;
|
|
59
58
|
|
|
60
59
|
margin-top: var(--pix-spacing-1x);
|
|
61
|
-
color: var(--pix-primary-
|
|
60
|
+
color: var(--pix-primary-700);
|
|
62
61
|
font-weight: 700;
|
|
63
62
|
padding-inline: var(--pix-spacing-1x);
|
|
64
63
|
text-wrap: pretty;
|
|
65
64
|
}
|
|
66
65
|
|
|
67
66
|
&__subtitle {
|
|
68
|
-
color: var(--pix-primary-
|
|
67
|
+
color: var(--pix-primary-700);
|
|
69
68
|
font-size: 0.75rem;
|
|
69
|
+
line-height: 0.875rem;
|
|
70
70
|
padding-inline: var(--pix-spacing-1x);
|
|
71
71
|
text-wrap: pretty;
|
|
72
72
|
}
|
|
@@ -92,6 +92,8 @@
|
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
.pix-step__index {
|
|
95
|
+
@extend %pix-shadow-default;
|
|
96
|
+
|
|
95
97
|
color: var(--pix-neutral-0);
|
|
96
98
|
background: linear-gradient(90deg, rgba(69, 45, 157, 0.8) 0%, rgba(69, 45, 157, 0) 60%), var(--pix-primary-300);
|
|
97
99
|
|
|
@@ -109,8 +111,9 @@
|
|
|
109
111
|
|
|
110
112
|
.pix-step__index {
|
|
111
113
|
color: var(--pix-neutral-500);
|
|
112
|
-
|
|
113
|
-
|
|
114
|
+
font-weight: normal;
|
|
115
|
+
background: transparent;
|
|
116
|
+
border: 1px solid currentcolor;
|
|
114
117
|
|
|
115
118
|
&::before,
|
|
116
119
|
&::after {
|
|
@@ -12,6 +12,12 @@
|
|
|
12
12
|
src: url('../@1024pix/pix-ui/fonts/Nunito/Nunito-Regular.woff2');
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
+
@font-face {
|
|
16
|
+
font-weight: 500;
|
|
17
|
+
font-family: 'Roboto Condensed';
|
|
18
|
+
font-style: normal;
|
|
19
|
+
src: url('../@1024pix/pix-ui/fonts/RobotoCondensed/RobotoCondensed-Medium.woff2');
|
|
20
|
+
}
|
|
15
21
|
|
|
16
22
|
/* @deprecated - use Nunito */
|
|
17
23
|
@font-face {
|
|
@@ -66,6 +72,11 @@ $font-bold: 700;
|
|
|
66
72
|
// stylelint-disable-next-line custom-property-pattern
|
|
67
73
|
--_pix-font-family-title: 'Nunito', Arial, sans-serif;
|
|
68
74
|
|
|
75
|
+
// Private property, do not use directly
|
|
76
|
+
// See https://ui.pix.fr/?path=/docs/utiliser-pix-ui-design-tokens-typographie--docs
|
|
77
|
+
// stylelint-disable-next-line custom-property-pattern
|
|
78
|
+
--_pix-font-family-subtitle: 'Roboto Condensed', Arial, sans-serif;
|
|
79
|
+
|
|
69
80
|
// Private property, do not use directly
|
|
70
81
|
// See https://ui.pix.fr/?path=/docs/utiliser-pix-ui-design-tokens-typographie--docs
|
|
71
82
|
// stylelint-disable-next-line custom-property-pattern
|
|
@@ -91,6 +91,85 @@
|
|
|
91
91
|
letter-spacing: calc(-0.01 * var(--font-size-title));
|
|
92
92
|
}
|
|
93
93
|
|
|
94
|
+
%-pix-subtitle {
|
|
95
|
+
font-weight: var(--pix-font-medium);
|
|
96
|
+
|
|
97
|
+
// stylelint-disable-next-line custom-property-pattern
|
|
98
|
+
font-family: var(--_pix-font-family-subtitle);
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
%pix-subtitle-l,
|
|
102
|
+
.pix-subtitle-l {
|
|
103
|
+
@extend %-pix-subtitle;
|
|
104
|
+
|
|
105
|
+
--font-size-subtitle: 1.5rem;
|
|
106
|
+
|
|
107
|
+
font-size: var(--font-size-subtitle);
|
|
108
|
+
line-height: 1.5;
|
|
109
|
+
|
|
110
|
+
@include breakpoints.device-is('tablet') {
|
|
111
|
+
--font-size-subtitle: 1.625rem;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
@include breakpoints.device-is('desktop') {
|
|
115
|
+
--font-size-subtitle: 1.75rem;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
%pix-subtitle-m,
|
|
120
|
+
.pix-subtitle-m {
|
|
121
|
+
@extend %-pix-subtitle;
|
|
122
|
+
|
|
123
|
+
--font-size-subtitle: 1.25rem;
|
|
124
|
+
|
|
125
|
+
font-size: var(--font-size-subtitle);
|
|
126
|
+
line-height: 1.5;
|
|
127
|
+
|
|
128
|
+
@include breakpoints.device-is('tablet') {
|
|
129
|
+
--font-size-subtitle: 1.375rem;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
@include breakpoints.device-is('desktop') {
|
|
133
|
+
--font-size-subtitle: 1.5rem;
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
%pix-subtitle-s,
|
|
138
|
+
.pix-subtitle-s {
|
|
139
|
+
@extend %-pix-subtitle;
|
|
140
|
+
|
|
141
|
+
--font-size-subtitle: 1.125rem;
|
|
142
|
+
|
|
143
|
+
font-size: var(--font-size-subtitle);
|
|
144
|
+
line-height: 1.5;
|
|
145
|
+
|
|
146
|
+
@include breakpoints.device-is('tablet') {
|
|
147
|
+
--font-size-subtitle: 1.125rem;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
@include breakpoints.device-is('desktop') {
|
|
151
|
+
--font-size-subtitle: 1.25rem;
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
%pix-subtitle-xs,
|
|
156
|
+
.pix-subtitle-xs {
|
|
157
|
+
@extend %-pix-subtitle;
|
|
158
|
+
|
|
159
|
+
--font-size-subtitle: 1rem;
|
|
160
|
+
|
|
161
|
+
font-size: var(--font-size-subtitle);
|
|
162
|
+
line-height: 1.5;
|
|
163
|
+
|
|
164
|
+
@include breakpoints.device-is('tablet') {
|
|
165
|
+
--font-size-subtitle: 1rem;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
@include breakpoints.device-is('desktop') {
|
|
169
|
+
--font-size-subtitle: 1.125rem;
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
|
|
94
173
|
%-pix-body {
|
|
95
174
|
font-weight: var(--pix-font-normal);
|
|
96
175
|
|
package/package.json
CHANGED
|
Binary file
|