@1024pix/pix-ui 46.5.2 → 46.6.1
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.
- package/addon/styles/_pix-input-code.scss +5 -1
- package/addon/styles/_pix-input-password.scss +1 -0
- package/addon/styles/pix-design-tokens/_fonts.scss +12 -0
- package/addon/styles/pix-design-tokens/_typography.scss +8 -0
- package/package.json +1 -1
- package/public/fonts/RobotoMono/RobotoMono-Regular.woff2 +0 -0
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
.pix-input-code {
|
|
2
|
+
@extend %pix-monospace;
|
|
3
|
+
|
|
2
4
|
display: flex;
|
|
5
|
+
line-height: 1.15;
|
|
3
6
|
|
|
4
7
|
// hide up/down cursors
|
|
5
8
|
input[type='number'] {
|
|
@@ -40,7 +43,8 @@
|
|
|
40
43
|
border: 1.4px solid var(--pix-neutral-500);
|
|
41
44
|
border-radius: 4px;
|
|
42
45
|
|
|
43
|
-
&:focus,
|
|
46
|
+
&:focus,
|
|
47
|
+
&:active {
|
|
44
48
|
&::placeholder {
|
|
45
49
|
opacity: 0;
|
|
46
50
|
}
|
|
@@ -34,6 +34,13 @@
|
|
|
34
34
|
src: url('../@1024pix/pix-ui/fonts/Roboto/Roboto-Bold.woff2');
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
+
@font-face {
|
|
38
|
+
font-weight: 400;
|
|
39
|
+
font-family: 'Roboto Mono';
|
|
40
|
+
font-style: normal;
|
|
41
|
+
src: url('../@1024pix/pix-ui/fonts/RobotoMono/RobotoMono-Regular.woff2');
|
|
42
|
+
}
|
|
43
|
+
|
|
37
44
|
/* @deprecated - use Design Tokens */
|
|
38
45
|
$font-open-sans: 'Open Sans', Arial, sans-serif;
|
|
39
46
|
$font-roboto: 'Roboto', Arial, sans-serif;
|
|
@@ -55,4 +62,9 @@ $font-bold: 700;
|
|
|
55
62
|
// See https://ui.pix.fr/?path=/docs/utiliser-pix-ui-design-tokens-typographie--docs
|
|
56
63
|
// stylelint-disable-next-line custom-property-pattern
|
|
57
64
|
--_pix-font-family-body: 'Roboto', Arial, sans-serif;
|
|
65
|
+
|
|
66
|
+
// Private property, do not use directly
|
|
67
|
+
// See https://ui.pix.fr/?path=/docs/utiliser-pix-ui-design-tokens-typographie--docs
|
|
68
|
+
// stylelint-disable-next-line custom-property-pattern
|
|
69
|
+
--_pix-font-family-monospace: 'Roboto Mono', monospace;
|
|
58
70
|
}
|
|
@@ -142,6 +142,14 @@
|
|
|
142
142
|
}
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
+
%pix-monospace,
|
|
146
|
+
.pix-monospace {
|
|
147
|
+
font-weight: var(--pix-font-normal);
|
|
148
|
+
|
|
149
|
+
// stylelint-disable-next-line custom-property-pattern
|
|
150
|
+
font-family: var(--_pix-font-family-monospace);
|
|
151
|
+
}
|
|
152
|
+
|
|
145
153
|
.pix-body-weight-medium {
|
|
146
154
|
font-weight: var(--pix-font-medium);
|
|
147
155
|
}
|
package/package.json
CHANGED
|
Binary file
|