@patternfly/design-tokens 1.5.0 → 1.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.
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Tue, 07 May 2024 18:55:09 GMT
3
+ // Generated on Thu, 09 May 2024 17:55:04 GMT
4
4
 
5
5
  @mixin pf-v6-tokens {
6
6
  --pf-t--chart--global--layout--width: 450;
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Tue, 07 May 2024 18:55:09 GMT
3
+ // Generated on Thu, 09 May 2024 17:55:04 GMT
4
4
 
5
5
  @mixin pf-v6-tokens {
6
6
  --pf-t--chart--global--layout--width: 450;
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Tue, 07 May 2024 18:55:09 GMT
3
+ // Generated on Thu, 09 May 2024 17:55:04 GMT
4
4
 
5
5
  @mixin pf-v6-tokens {
6
6
  --pf-t--global--background--color--action--plain--default: rgba(0, 0, 0, 0.0000);
@@ -1,11 +1,17 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Tue, 07 May 2024 18:55:08 GMT
3
+ // Generated on Thu, 09 May 2024 17:55:04 GMT
4
4
 
5
5
  @mixin pf-v6-tokens {
6
6
  --pf-t--global--background--color--action--plain--default: rgba(255, 255, 255, 0.0000);
7
7
  --pf-t--global--background--color--600: rgba(199, 199, 199, 0.2500);
8
8
  --pf-t--global--background--color--500: rgba(21, 21, 21, 0.2000);
9
+ --pf-t--global--breakpoint--600: 1450px;
10
+ --pf-t--global--breakpoint--500: 1200px;
11
+ --pf-t--global--breakpoint--400: 992px;
12
+ --pf-t--global--breakpoint--300: 768px;
13
+ --pf-t--global--breakpoint--200: 576px;
14
+ --pf-t--global--breakpoint--100: 0px;
9
15
  --pf-t--global--box-shadow--color--200: rgba(0, 0, 0, 0.1200);
10
16
  --pf-t--global--box-shadow--color--100: rgba(0, 0, 0, 0.1600);
11
17
  --pf-t--global--box-shadow--spread--100: 0px;
@@ -132,6 +138,12 @@
132
138
  --pf-t--global--background--color--300: var(--pf-t--color--gray--20);
133
139
  --pf-t--global--background--color--200: var(--pf-t--color--gray--10);
134
140
  --pf-t--global--background--color--100: var(--pf-t--color--white);
141
+ --pf-t--global--breakpoint--2xl: var(--pf-t--global--breakpoint--600);
142
+ --pf-t--global--breakpoint--xl: var(--pf-t--global--breakpoint--500);
143
+ --pf-t--global--breakpoint--lg: var(--pf-t--global--breakpoint--400);
144
+ --pf-t--global--breakpoint--md: var(--pf-t--global--breakpoint--300);
145
+ --pf-t--global--breakpoint--sm: var(--pf-t--global--breakpoint--200);
146
+ --pf-t--global--breakpoint--xs: var(--pf-t--global--breakpoint--100);
135
147
  --pf-t--global--box-shadow--color--lg: var(--pf-t--global--box-shadow--color--200);
136
148
  --pf-t--global--box-shadow--color--md: var(--pf-t--global--box-shadow--color--200);
137
149
  --pf-t--global--box-shadow--color--sm: var(--pf-t--global--box-shadow--color--100);
@@ -542,14 +554,14 @@
542
554
  --pf-t--global--icon--color--brand--clicked: var(--pf-t--global--color--brand--clicked);
543
555
  --pf-t--global--icon--color--brand--hover: var(--pf-t--global--color--brand--hover);
544
556
  --pf-t--global--icon--color--brand--default: var(--pf-t--global--color--brand--default);
557
+ --pf-t--global--icon--size--font--body--lg: var(--pf-t--global--font--size--body--lg);
558
+ --pf-t--global--icon--size--font--body--default: var(--pf-t--global--font--size--body--default);
559
+ --pf-t--global--icon--size--font--body--sm: var(--pf-t--global--font--size--body--sm);
545
560
  --pf-t--global--icon--size--font--heading--h6: var(--pf-t--global--font--size--heading--h6);
546
561
  --pf-t--global--icon--size--font--heading--h5: var(--pf-t--global--font--size--heading--h5);
547
562
  --pf-t--global--icon--size--font--heading--h4: var(--pf-t--global--font--size--heading--h4);
548
563
  --pf-t--global--icon--size--font--heading--h3: var(--pf-t--global--font--size--heading--h3);
549
564
  --pf-t--global--icon--size--font--heading--h2: var(--pf-t--global--font--size--heading--h2);
550
565
  --pf-t--global--icon--size--font--heading--h1: var(--pf-t--global--font--size--heading--h1);
551
- --pf-t--global--icon--size--font--body--lg: var(--pf-t--global--font--size--body--lg);
552
- --pf-t--global--icon--size--font--body--default: var(--pf-t--global--font--size--body--default);
553
- --pf-t--global--icon--size--font--body--sm: var(--pf-t--global--font--size--body--sm);
554
566
  --pf-t--global--color--status--read--on-secondary: var(--pf-t--global--background--color--control--default);
555
567
  }
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Tue, 07 May 2024 18:55:09 GMT
3
+ // Generated on Thu, 09 May 2024 17:55:04 GMT
4
4
 
5
5
  @mixin pf-v6-tokens {
6
6
  --pf-t--color--red--70: #5f0000;
package/build.js CHANGED
@@ -29,6 +29,7 @@ const build = (selector) => {
29
29
  token.attributes.type === 'spacer' ||
30
30
  token.attributes.type === 'border' ||
31
31
  token.attributes.type === 'icon' ||
32
+ token.attributes.type === 'breakpoint' ||
32
33
  (token.attributes.type === 'box-shadow' && token.attributes.item !== 'color') ||
33
34
  token.attributes.type === 'font',
34
35
  transformer: (token) => `${token.value}px`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@patternfly/design-tokens",
3
- "version": "1.5.0",
3
+ "version": "1.6.0",
4
4
  "description": "Define the design tokens for patternfly design system and component library",
5
5
  "main": "dist/esm/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -248,6 +248,32 @@
248
248
  "value": 0
249
249
  }
250
250
  }
251
+ },
252
+ "breakpoint": {
253
+ "100": {
254
+ "type": "number",
255
+ "value": 0
256
+ },
257
+ "200": {
258
+ "type": "number",
259
+ "value": 576
260
+ },
261
+ "300": {
262
+ "type": "number",
263
+ "value": 768
264
+ },
265
+ "400": {
266
+ "type": "number",
267
+ "value": 992
268
+ },
269
+ "500": {
270
+ "type": "number",
271
+ "value": 1200
272
+ },
273
+ "600": {
274
+ "type": "number",
275
+ "value": 1450
276
+ }
251
277
  }
252
278
  }
253
279
  }
@@ -226,20 +226,6 @@
226
226
  "value": "{global.icon.size.400}"
227
227
  },
228
228
  "font": {
229
- "body": {
230
- "sm": {
231
- "type": "number",
232
- "value": "{global.font.size.body.sm}"
233
- },
234
- "default": {
235
- "type": "number",
236
- "value": "{global.font.size.body.default}"
237
- },
238
- "lg": {
239
- "type": "number",
240
- "value": "{global.font.size.body.lg}"
241
- }
242
- },
243
229
  "heading": {
244
230
  "h1": {
245
231
  "type": "number",
@@ -266,6 +252,20 @@
266
252
  "value": "{global.font.size.heading.h6}"
267
253
  }
268
254
  },
255
+ "body": {
256
+ "sm": {
257
+ "type": "number",
258
+ "value": "{global.font.size.body.sm}"
259
+ },
260
+ "default": {
261
+ "type": "number",
262
+ "value": "{global.font.size.body.default}"
263
+ },
264
+ "lg": {
265
+ "type": "number",
266
+ "value": "{global.font.size.body.lg}"
267
+ }
268
+ },
269
269
  "xs": {
270
270
  "type": "number",
271
271
  "value": "{global.font.size.xs}"
@@ -572,6 +572,32 @@
572
572
  "value": "{global.box-shadow.spread.100}"
573
573
  }
574
574
  }
575
+ },
576
+ "breakpoint": {
577
+ "xs": {
578
+ "type": "number",
579
+ "value": "{global.breakpoint.100}"
580
+ },
581
+ "sm": {
582
+ "type": "number",
583
+ "value": "{global.breakpoint.200}"
584
+ },
585
+ "md": {
586
+ "type": "number",
587
+ "value": "{global.breakpoint.300}"
588
+ },
589
+ "lg": {
590
+ "type": "number",
591
+ "value": "{global.breakpoint.400}"
592
+ },
593
+ "xl": {
594
+ "type": "number",
595
+ "value": "{global.breakpoint.500}"
596
+ },
597
+ "2xl": {
598
+ "type": "number",
599
+ "value": "{global.breakpoint.600}"
600
+ }
575
601
  }
576
602
  }
577
603
  }