@1024pix/pix-ui 60.5.0 → 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,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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@1024pix/pix-ui",
3
- "version": "60.5.0",
3
+ "version": "60.6.0",
4
4
  "description": "Pix-UI is the implementation of Pix design principles and guidelines for its products.",
5
5
  "keywords": [
6
6
  "ember-addon"