@patternfly/patternfly 6.0.0-alpha.2 → 6.0.0-alpha.3
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/base/_globals.scss +14 -12
- package/base/_variables.scss +1 -0
- package/base/patternfly-globals.css +12 -12
- package/base/patternfly-variables.css +98 -46
- package/base/tokens/_tokens-default.scss +49 -48
- package/base/tokens/_tokens-font.scss +65 -0
- package/components/Button/button.css +137 -177
- package/components/Button/button.scss +157 -139
- package/package.json +1 -1
- package/patternfly-base-no-globals-theme-dark-unversioned.css +98 -46
- package/patternfly-base-no-globals.css +98 -46
- package/patternfly-base-theme-dark-unversioned.css +110 -58
- package/patternfly-base.css +110 -58
- package/patternfly-no-globals.css +235 -230
- package/patternfly-theme-dark-unversioned.css +247 -242
- package/patternfly.css +247 -242
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
package/base/_globals.scss
CHANGED
|
@@ -47,11 +47,12 @@
|
|
|
47
47
|
height: 100%;
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
+
// TODO
|
|
50
51
|
:where(body) {
|
|
51
|
-
font-family: var(
|
|
52
|
-
font-size: var(
|
|
53
|
-
font-weight: var(
|
|
54
|
-
line-height: var(
|
|
52
|
+
font-family: var(--pf-t--global--font--family--body);
|
|
53
|
+
font-size: var(--pf-t--global--font--size--body);
|
|
54
|
+
font-weight: var(--pf-t--global--font--weight--body);
|
|
55
|
+
line-height: var(--pf-t--global--font--line-height--body);
|
|
55
56
|
}
|
|
56
57
|
|
|
57
58
|
:where(
|
|
@@ -63,7 +64,7 @@
|
|
|
63
64
|
h6
|
|
64
65
|
) {
|
|
65
66
|
font-size: 100%;
|
|
66
|
-
font-weight: var(
|
|
67
|
+
font-weight: var(--pf-t--global--font--weight--body);
|
|
67
68
|
}
|
|
68
69
|
|
|
69
70
|
:where(ul) {
|
|
@@ -80,8 +81,8 @@
|
|
|
80
81
|
margin: 0;
|
|
81
82
|
font-family: inherit;
|
|
82
83
|
font-size: 100%;
|
|
83
|
-
line-height: var(
|
|
84
|
-
color: var(
|
|
84
|
+
line-height: var(--pf-t--global--font--line-height--body);
|
|
85
|
+
color: var(--pf-t--global--text--color--regular);
|
|
85
86
|
}
|
|
86
87
|
|
|
87
88
|
:where(
|
|
@@ -117,18 +118,19 @@
|
|
|
117
118
|
code,
|
|
118
119
|
pre
|
|
119
120
|
) {
|
|
120
|
-
font-family: var(
|
|
121
|
+
font-family: var(--pf-t--global--font--family--mono);
|
|
121
122
|
}
|
|
122
123
|
|
|
123
124
|
:where(a) {
|
|
125
|
+
// TODO token for link font weight?
|
|
124
126
|
font-weight: var(--#{$pf-global}--link--FontWeight);
|
|
125
|
-
color: var(
|
|
126
|
-
text-decoration: var(
|
|
127
|
+
color: var(--pf-t--global--text--color--link--default);
|
|
128
|
+
text-decoration: var(--pf-t--global--link--text-decoration);
|
|
127
129
|
}
|
|
128
130
|
|
|
129
131
|
:where(a:hover) {
|
|
130
|
-
--#{$pf-global}--link--Color: var(
|
|
131
|
-
--#{$pf-global}--link--TextDecoration: var(
|
|
132
|
+
--#{$pf-global}--link--Color: var(--pf-t--global--text--color--link--hover);
|
|
133
|
+
--#{$pf-global}--link--TextDecoration: var(--pf-t--global--link--text-decoration--hover);
|
|
132
134
|
}
|
|
133
135
|
|
|
134
136
|
:where(
|
package/base/_variables.scss
CHANGED
|
@@ -37,10 +37,10 @@ body) {
|
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
:where(body) {
|
|
40
|
-
font-family: var(--pf-
|
|
41
|
-
font-size: var(--pf-
|
|
42
|
-
font-weight: var(--pf-
|
|
43
|
-
line-height: var(--pf-
|
|
40
|
+
font-family: var(--pf-t--global--font--family--body);
|
|
41
|
+
font-size: var(--pf-t--global--font--size--body);
|
|
42
|
+
font-weight: var(--pf-t--global--font--weight--body);
|
|
43
|
+
line-height: var(--pf-t--global--font--line-height--body);
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
:where(h1,
|
|
@@ -50,7 +50,7 @@ h4,
|
|
|
50
50
|
h5,
|
|
51
51
|
h6) {
|
|
52
52
|
font-size: 100%;
|
|
53
|
-
font-weight: var(--pf-
|
|
53
|
+
font-weight: var(--pf-t--global--font--weight--body);
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
:where(ul) {
|
|
@@ -65,8 +65,8 @@ textarea) {
|
|
|
65
65
|
margin: 0;
|
|
66
66
|
font-family: inherit;
|
|
67
67
|
font-size: 100%;
|
|
68
|
-
line-height: var(--pf-
|
|
69
|
-
color: var(--pf-
|
|
68
|
+
line-height: var(--pf-t--global--font--line-height--body);
|
|
69
|
+
color: var(--pf-t--global--text--color--regular);
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
:where(img,
|
|
@@ -96,18 +96,18 @@ th) {
|
|
|
96
96
|
|
|
97
97
|
:where(code,
|
|
98
98
|
pre) {
|
|
99
|
-
font-family: var(--pf-
|
|
99
|
+
font-family: var(--pf-t--global--font--family--mono);
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
:where(a) {
|
|
103
103
|
font-weight: var(--pf-v5-global--link--FontWeight);
|
|
104
|
-
color: var(--pf-
|
|
105
|
-
text-decoration: var(--pf-
|
|
104
|
+
color: var(--pf-t--global--text--color--link--default);
|
|
105
|
+
text-decoration: var(--pf-t--global--link--text-decoration);
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
:where(a:hover) {
|
|
109
|
-
--pf-v5-global--link--Color: var(--pf-
|
|
110
|
-
--pf-v5-global--link--TextDecoration: var(--pf-
|
|
109
|
+
--pf-v5-global--link--Color: var(--pf-t--global--text--color--link--hover);
|
|
110
|
+
--pf-v5-global--link--TextDecoration: var(--pf-t--global--link--text-decoration--hover);
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
:where(a,
|
|
@@ -405,26 +405,27 @@
|
|
|
405
405
|
*/
|
|
406
406
|
:root {
|
|
407
407
|
--pf-t--global--background--color--action--plain--default: rgba(255, 255, 255, 0.0000);
|
|
408
|
-
--pf-t--global--spacer--800:
|
|
409
|
-
--pf-t--global--spacer--700:
|
|
410
|
-
--pf-t--global--spacer--600:
|
|
411
|
-
--pf-t--global--spacer--500:
|
|
412
|
-
--pf-t--global--spacer--400:
|
|
413
|
-
--pf-t--global--spacer--300:
|
|
414
|
-
--pf-t--global--spacer--200:
|
|
415
|
-
--pf-t--global--spacer--100:
|
|
416
|
-
--pf-t--global--icon--size--400:
|
|
417
|
-
--pf-t--global--icon--size--300:
|
|
418
|
-
--pf-t--global--icon--size--200:
|
|
419
|
-
--pf-t--global--icon--size--100:
|
|
420
|
-
--pf-t--global--border--width--300:
|
|
421
|
-
--pf-t--global--border--width--200:
|
|
422
|
-
--pf-t--global--border--width--100:
|
|
423
|
-
--pf-t--global--border--radius--500:
|
|
424
|
-
--pf-t--global--border--radius--400:
|
|
425
|
-
--pf-t--global--border--radius--300:
|
|
426
|
-
--pf-t--global--border--radius--200:
|
|
427
|
-
--pf-t--global--border--radius--100:
|
|
408
|
+
--pf-t--global--spacer--800: 80px;
|
|
409
|
+
--pf-t--global--spacer--700: 64px;
|
|
410
|
+
--pf-t--global--spacer--600: 48px;
|
|
411
|
+
--pf-t--global--spacer--500: 32px;
|
|
412
|
+
--pf-t--global--spacer--400: 24px;
|
|
413
|
+
--pf-t--global--spacer--300: 16px;
|
|
414
|
+
--pf-t--global--spacer--200: 8px;
|
|
415
|
+
--pf-t--global--spacer--100: 4px;
|
|
416
|
+
--pf-t--global--icon--size--400: 56px;
|
|
417
|
+
--pf-t--global--icon--size--300: 24px;
|
|
418
|
+
--pf-t--global--icon--size--200: 16px;
|
|
419
|
+
--pf-t--global--icon--size--100: 12px;
|
|
420
|
+
--pf-t--global--border--width--300: 3px;
|
|
421
|
+
--pf-t--global--border--width--200: 2px;
|
|
422
|
+
--pf-t--global--border--width--100: 1px;
|
|
423
|
+
--pf-t--global--border--radius--500: 999px;
|
|
424
|
+
--pf-t--global--border--radius--400: 24px;
|
|
425
|
+
--pf-t--global--border--radius--300: 16px;
|
|
426
|
+
--pf-t--global--border--radius--200: 6px;
|
|
427
|
+
--pf-t--global--border--radius--100: 4px;
|
|
428
|
+
--pf-t--global--border--radius--000: 0px;
|
|
428
429
|
--pf-t--global--background--color--highlight--200: var(--pf-t--color--gold--400);
|
|
429
430
|
--pf-t--global--background--color--highlight--100: var(--pf-t--color--gold--300);
|
|
430
431
|
--pf-t--global--background--color--400: var(--pf-t--color--gray--800);
|
|
@@ -482,37 +483,38 @@
|
|
|
482
483
|
--pf-t--global--color--nonstatus--purple--100: var(--pf-t--color--purple--200);
|
|
483
484
|
--pf-t--global--color--favorite--200: var(--pf-t--color--gold--500);
|
|
484
485
|
--pf-t--global--color--favorite--100: var(--pf-t--color--gold--400);
|
|
485
|
-
--pf-t--global--spacer--sm:
|
|
486
|
-
--pf-t--global--spacer--xl:
|
|
487
|
-
--pf-t--global--spacer--xs:
|
|
488
|
-
--pf-t--global--spacer--2xl:
|
|
489
|
-
--pf-t--global--spacer--lg:
|
|
490
|
-
--pf-t--global--spacer--md:
|
|
491
|
-
--pf-t--global--spacer--3xl:
|
|
492
|
-
--pf-t--global--spacer--4xl:
|
|
486
|
+
--pf-t--global--spacer--sm: 8px;
|
|
487
|
+
--pf-t--global--spacer--xl: 32px;
|
|
488
|
+
--pf-t--global--spacer--xs: 4px;
|
|
489
|
+
--pf-t--global--spacer--2xl: 48px;
|
|
490
|
+
--pf-t--global--spacer--lg: 24px;
|
|
491
|
+
--pf-t--global--spacer--md: 16px;
|
|
492
|
+
--pf-t--global--spacer--3xl: 64px;
|
|
493
|
+
--pf-t--global--spacer--4xl: 80px;
|
|
493
494
|
--pf-t--global--icon--color--300: var(--pf-t--color--white);
|
|
494
495
|
--pf-t--global--icon--color--200: var(--pf-t--color--gray--500);
|
|
495
496
|
--pf-t--global--icon--color--100: var(--pf-t--color--gray--900);
|
|
496
|
-
--pf-t--global--icon--size--sm:
|
|
497
|
-
--pf-t--global--icon--size--md:
|
|
498
|
-
--pf-t--global--icon--size--lg:
|
|
499
|
-
--pf-t--global--icon--size--xl:
|
|
497
|
+
--pf-t--global--icon--size--sm: 12px;
|
|
498
|
+
--pf-t--global--icon--size--md: 16px;
|
|
499
|
+
--pf-t--global--icon--size--lg: 24px;
|
|
500
|
+
--pf-t--global--icon--size--xl: 56px;
|
|
500
501
|
--pf-t--global--border--color--200: var(--pf-t--color--gray--400);
|
|
501
502
|
--pf-t--global--border--color--100: var(--pf-t--color--gray--300);
|
|
502
|
-
--pf-t--global--border--width--divider--default:
|
|
503
|
-
--pf-t--global--border--width--divider--hover:
|
|
504
|
-
--pf-t--global--border--width--divider--active:
|
|
505
|
-
--pf-t--global--border--width--control--hover:
|
|
506
|
-
--pf-t--global--border--width--control--active:
|
|
507
|
-
--pf-t--global--border--width--control--default:
|
|
508
|
-
--pf-t--global--border--width--button--hover:
|
|
509
|
-
--pf-t--global--border--width--button--default:
|
|
510
|
-
--pf-t--global--border--width--button--active:
|
|
511
|
-
--pf-t--global--border--radius--pill:
|
|
512
|
-
--pf-t--global--border--radius--tiny:
|
|
513
|
-
--pf-t--global--border--radius--medium:
|
|
514
|
-
--pf-t--global--border--radius--large:
|
|
515
|
-
--pf-t--global--border--radius--small:
|
|
503
|
+
--pf-t--global--border--width--divider--default: 1px;
|
|
504
|
+
--pf-t--global--border--width--divider--hover: 1px;
|
|
505
|
+
--pf-t--global--border--width--divider--active: 1px;
|
|
506
|
+
--pf-t--global--border--width--control--hover: 1px;
|
|
507
|
+
--pf-t--global--border--width--control--active: 2px;
|
|
508
|
+
--pf-t--global--border--width--control--default: 1px;
|
|
509
|
+
--pf-t--global--border--width--button--hover: 2px;
|
|
510
|
+
--pf-t--global--border--width--button--default: 1px;
|
|
511
|
+
--pf-t--global--border--width--button--active: 2px;
|
|
512
|
+
--pf-t--global--border--radius--pill: var(--pf-t--global--border--radius--500);
|
|
513
|
+
--pf-t--global--border--radius--tiny: var(--pf-t--global--border--radius--100);
|
|
514
|
+
--pf-t--global--border--radius--medium: var(--pf-t--global--border--radius--300);
|
|
515
|
+
--pf-t--global--border--radius--large: var(--pf-t--global--border--radius--400);
|
|
516
|
+
--pf-t--global--border--radius--small: var(--pf-t--global--border--radius--200);
|
|
517
|
+
--pf-t--global--border--radius--sharp: var(--pf-t--global--border--radius--000);
|
|
516
518
|
--pf-t--global--background--color--secondary--selected: var(--pf-t--global--background--color--300);
|
|
517
519
|
--pf-t--global--background--color--secondary--default: var(--pf-t--global--background--color--200);
|
|
518
520
|
--pf-t--global--background--color--secondary--hover: var(--pf-t--global--background--color--300);
|
|
@@ -621,6 +623,7 @@
|
|
|
621
623
|
--pf-t--global--background--color--control--default: var(--pf-t--global--background--color--primary--default);
|
|
622
624
|
--pf-t--global--text--color--on-brand--hover: var(--pf-t--global--icon--color--inverse);
|
|
623
625
|
--pf-t--global--text--color--on-brand--default: var(--pf-t--global--icon--color--inverse);
|
|
626
|
+
--pf-t--global--text--color--on-brand--active: var(--pf-t--global--icon--color--inverse);
|
|
624
627
|
--pf-t--global--text--color--placeholder: var(--pf-t--global--text--color--subtle);
|
|
625
628
|
--pf-t--global--text--color--brand--default: var(--pf-t--global--color--brand--default);
|
|
626
629
|
--pf-t--global--text--color--brand--hover: var(--pf-t--global--color--brand--hover);
|
|
@@ -739,6 +742,55 @@
|
|
|
739
742
|
--pf-t--global--border--color--status--info--default: var(--pf-t--global--color--status--info--default);
|
|
740
743
|
}
|
|
741
744
|
|
|
745
|
+
:root {
|
|
746
|
+
--pf-t--global--font--family--100: redhattext;
|
|
747
|
+
--pf-t--global--font--family--200: redhatdisplay;
|
|
748
|
+
--pf-t--global--font--family--300: redhatmono;
|
|
749
|
+
--pf-t--global--font--line-height--100: 1.3;
|
|
750
|
+
--pf-t--global--font--line-height--200: 1.5;
|
|
751
|
+
--pf-t--global--font--weight--body--100: 400;
|
|
752
|
+
--pf-t--global--font--weight--body--200: 600;
|
|
753
|
+
--pf-t--global--font--weight--heading--100: 700;
|
|
754
|
+
--pf-t--global--font--weight--heading--200: 700;
|
|
755
|
+
--pf-t--global--font--size--body--100: 12px;
|
|
756
|
+
--pf-t--global--font--size--body--200: 14px;
|
|
757
|
+
--pf-t--global--font--size--body--300: 16px;
|
|
758
|
+
--pf-t--global--font--size--heading--100: 16px;
|
|
759
|
+
--pf-t--global--font--size--heading--200: 18px;
|
|
760
|
+
--pf-t--global--font--size--heading--300: 20px;
|
|
761
|
+
--pf-t--global--font--size--heading--400: 24px;
|
|
762
|
+
--pf-t--global--font--size--heading--500: 28px;
|
|
763
|
+
--pf-t--global--font--size--heading--600: 36px;
|
|
764
|
+
--pf-t--global--font--family--body: var(--pf-t--global--font--family--100);
|
|
765
|
+
--pf-t--global--font--family--heading: var(--pf-t--global--font--family--200);
|
|
766
|
+
--pf-t--global--font--family--mono: var(--pf-t--global--font--family--300);
|
|
767
|
+
--pf-t--global--font--line-height--body: var(--pf-t--global--font--line-height--100);
|
|
768
|
+
--pf-t--global--font--line-height--heading: var(--pf-t--global--font--line-height--200);
|
|
769
|
+
--pf-t--global--font--weight--body: var(--pf-t--global--font--weight--body--100);
|
|
770
|
+
--pf-t--global--font--weight--body--bold: var(--pf-t--global--font--weight--body--200);
|
|
771
|
+
--pf-t--global--font--weight--heading: var(--pf-t--global--font--weight--heading--100);
|
|
772
|
+
--pf-t--global--font--weight--heading--bold: var(--pf-t--global--font--weight--heading--200);
|
|
773
|
+
--pf-t--global--font--size--body--sm: var(--pf-t--global--font--size--body--100);
|
|
774
|
+
--pf-t--global--font--size--body--md: var(--pf-t--global--font--size--body--200);
|
|
775
|
+
--pf-t--global--font--size--body--lg: var(--pf-t--global--font--size--body--300);
|
|
776
|
+
--pf-t--global--font--size--body: var(--pf-t--global--font--size--body--md);
|
|
777
|
+
--pf-t--global--font--size--heading--xs: var(--pf-t--global--font--size--heading--100);
|
|
778
|
+
--pf-t--global--font--size--heading--sm: var(--pf-t--global--font--size--heading--200);
|
|
779
|
+
--pf-t--global--font--size--heading--md: var(--pf-t--global--font--size--heading--300);
|
|
780
|
+
--pf-t--global--font--size--heading--lg: var(--pf-t--global--font--size--heading--400);
|
|
781
|
+
--pf-t--global--font--size--heading--xl: var(--pf-t--global--font--size--heading--500);
|
|
782
|
+
--pf-t--global--font--size--heading--2xl: var(--pf-t--global--font--size--heading--600);
|
|
783
|
+
--pf-t--global--text-decoration--100: none;
|
|
784
|
+
--pf-t--global--text-decoration--200: underline;
|
|
785
|
+
--pf-t--global--link--text-decoration: var(--pf-t--global--text-decoration--200);
|
|
786
|
+
--pf-t--global--link--text-decoration--hover: var(--pf-t--global--text-decoration--200);
|
|
787
|
+
--pf-t--global--mix-blend-mode--100: multiply;
|
|
788
|
+
--pf-t--global--background--color--action--plain--hover--blend: var(--pf-t--global--mix-blend-mode--100);
|
|
789
|
+
--pf-t--global--border--width--control--default: var(--pf-t--global--border--width--100);
|
|
790
|
+
--pf-t--global--border--width--control--hover: var(--pf-t--global--border--width--100);
|
|
791
|
+
--pf-t--global--border--width--control--active: var(--pf-t--global--border--width--200);
|
|
792
|
+
}
|
|
793
|
+
|
|
742
794
|
/**
|
|
743
795
|
* Do not edit directly
|
|
744
796
|
* Generated on Mon, 14 Aug 2023 18:11:22 GMT
|
|
@@ -3,29 +3,29 @@
|
|
|
3
3
|
* Generated on Mon, 14 Aug 2023 18:12:00 GMT
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
// stylelint-disable custom-property-pattern
|
|
7
6
|
:root {
|
|
8
7
|
--pf-t--global--background--color--action--plain--default: rgba(255, 255, 255, 0.0000);
|
|
9
|
-
--pf-t--global--spacer--800:
|
|
10
|
-
--pf-t--global--spacer--700:
|
|
11
|
-
--pf-t--global--spacer--600:
|
|
12
|
-
--pf-t--global--spacer--500:
|
|
13
|
-
--pf-t--global--spacer--400:
|
|
14
|
-
--pf-t--global--spacer--300:
|
|
15
|
-
--pf-t--global--spacer--200:
|
|
16
|
-
--pf-t--global--spacer--100:
|
|
17
|
-
--pf-t--global--icon--size--400:
|
|
18
|
-
--pf-t--global--icon--size--300:
|
|
19
|
-
--pf-t--global--icon--size--200:
|
|
20
|
-
--pf-t--global--icon--size--100:
|
|
21
|
-
--pf-t--global--border--width--300:
|
|
22
|
-
--pf-t--global--border--width--200:
|
|
23
|
-
--pf-t--global--border--width--100:
|
|
24
|
-
--pf-t--global--border--radius--500:
|
|
25
|
-
--pf-t--global--border--radius--400:
|
|
26
|
-
--pf-t--global--border--radius--300:
|
|
27
|
-
--pf-t--global--border--radius--200:
|
|
28
|
-
--pf-t--global--border--radius--100:
|
|
8
|
+
--pf-t--global--spacer--800: 80px;
|
|
9
|
+
--pf-t--global--spacer--700: 64px;
|
|
10
|
+
--pf-t--global--spacer--600: 48px;
|
|
11
|
+
--pf-t--global--spacer--500: 32px;
|
|
12
|
+
--pf-t--global--spacer--400: 24px;
|
|
13
|
+
--pf-t--global--spacer--300: 16px;
|
|
14
|
+
--pf-t--global--spacer--200: 8px;
|
|
15
|
+
--pf-t--global--spacer--100: 4px;
|
|
16
|
+
--pf-t--global--icon--size--400: 56px;
|
|
17
|
+
--pf-t--global--icon--size--300: 24px;
|
|
18
|
+
--pf-t--global--icon--size--200: 16px;
|
|
19
|
+
--pf-t--global--icon--size--100: 12px;
|
|
20
|
+
--pf-t--global--border--width--300: 3px;
|
|
21
|
+
--pf-t--global--border--width--200: 2px;
|
|
22
|
+
--pf-t--global--border--width--100: 1px;
|
|
23
|
+
--pf-t--global--border--radius--500: 999px;
|
|
24
|
+
--pf-t--global--border--radius--400: 24px;
|
|
25
|
+
--pf-t--global--border--radius--300: 16px;
|
|
26
|
+
--pf-t--global--border--radius--200: 6px;
|
|
27
|
+
--pf-t--global--border--radius--100: 4px;
|
|
28
|
+
--pf-t--global--border--radius--000: 0px;
|
|
29
29
|
--pf-t--global--background--color--highlight--200: var(--pf-t--color--gold--400);
|
|
30
30
|
--pf-t--global--background--color--highlight--100: var(--pf-t--color--gold--300);
|
|
31
31
|
--pf-t--global--background--color--400: var(--pf-t--color--gray--800);
|
|
@@ -83,37 +83,38 @@
|
|
|
83
83
|
--pf-t--global--color--nonstatus--purple--100: var(--pf-t--color--purple--200);
|
|
84
84
|
--pf-t--global--color--favorite--200: var(--pf-t--color--gold--500);
|
|
85
85
|
--pf-t--global--color--favorite--100: var(--pf-t--color--gold--400);
|
|
86
|
-
--pf-t--global--spacer--sm:
|
|
87
|
-
--pf-t--global--spacer--xl:
|
|
88
|
-
--pf-t--global--spacer--xs:
|
|
89
|
-
--pf-t--global--spacer--2xl:
|
|
90
|
-
--pf-t--global--spacer--lg:
|
|
91
|
-
--pf-t--global--spacer--md:
|
|
92
|
-
--pf-t--global--spacer--3xl:
|
|
93
|
-
--pf-t--global--spacer--4xl:
|
|
86
|
+
--pf-t--global--spacer--sm: 8px; // TODO these should be base values
|
|
87
|
+
--pf-t--global--spacer--xl: 32px;
|
|
88
|
+
--pf-t--global--spacer--xs: 4px;
|
|
89
|
+
--pf-t--global--spacer--2xl: 48px;
|
|
90
|
+
--pf-t--global--spacer--lg: 24px;
|
|
91
|
+
--pf-t--global--spacer--md: 16px;
|
|
92
|
+
--pf-t--global--spacer--3xl: 64px;
|
|
93
|
+
--pf-t--global--spacer--4xl: 80px;
|
|
94
94
|
--pf-t--global--icon--color--300: var(--pf-t--color--white);
|
|
95
95
|
--pf-t--global--icon--color--200: var(--pf-t--color--gray--500);
|
|
96
96
|
--pf-t--global--icon--color--100: var(--pf-t--color--gray--900);
|
|
97
|
-
--pf-t--global--icon--size--sm:
|
|
98
|
-
--pf-t--global--icon--size--md:
|
|
99
|
-
--pf-t--global--icon--size--lg:
|
|
100
|
-
--pf-t--global--icon--size--xl:
|
|
97
|
+
--pf-t--global--icon--size--sm: 12px;
|
|
98
|
+
--pf-t--global--icon--size--md: 16px;
|
|
99
|
+
--pf-t--global--icon--size--lg: 24px;
|
|
100
|
+
--pf-t--global--icon--size--xl: 56px;
|
|
101
101
|
--pf-t--global--border--color--200: var(--pf-t--color--gray--400);
|
|
102
102
|
--pf-t--global--border--color--100: var(--pf-t--color--gray--300);
|
|
103
|
-
--pf-t--global--border--width--divider--default:
|
|
104
|
-
--pf-t--global--border--width--divider--hover:
|
|
105
|
-
--pf-t--global--border--width--divider--active:
|
|
106
|
-
--pf-t--global--border--width--control--hover:
|
|
107
|
-
--pf-t--global--border--width--control--active:
|
|
108
|
-
--pf-t--global--border--width--control--default:
|
|
109
|
-
--pf-t--global--border--width--button--hover:
|
|
110
|
-
--pf-t--global--border--width--button--default:
|
|
111
|
-
--pf-t--global--border--width--button--active:
|
|
112
|
-
--pf-t--global--border--radius--pill:
|
|
113
|
-
--pf-t--global--border--radius--tiny:
|
|
114
|
-
--pf-t--global--border--radius--medium:
|
|
115
|
-
--pf-t--global--border--radius--large:
|
|
116
|
-
--pf-t--global--border--radius--small:
|
|
103
|
+
--pf-t--global--border--width--divider--default: 1px;
|
|
104
|
+
--pf-t--global--border--width--divider--hover: 1px;
|
|
105
|
+
--pf-t--global--border--width--divider--active: 1px;
|
|
106
|
+
--pf-t--global--border--width--control--hover: 1px;
|
|
107
|
+
--pf-t--global--border--width--control--active: 2px;
|
|
108
|
+
--pf-t--global--border--width--control--default: 1px;
|
|
109
|
+
--pf-t--global--border--width--button--hover: 2px;
|
|
110
|
+
--pf-t--global--border--width--button--default: 1px;
|
|
111
|
+
--pf-t--global--border--width--button--active: 2px;
|
|
112
|
+
--pf-t--global--border--radius--pill: var(--pf-t--global--border--radius--500); // changed to base value
|
|
113
|
+
--pf-t--global--border--radius--tiny: var(--pf-t--global--border--radius--100); // changed to base value
|
|
114
|
+
--pf-t--global--border--radius--medium: var(--pf-t--global--border--radius--300); // changed to base value
|
|
115
|
+
--pf-t--global--border--radius--large: var(--pf-t--global--border--radius--400); // changed to base value
|
|
116
|
+
--pf-t--global--border--radius--small: var(--pf-t--global--border--radius--200); // changed to base value
|
|
117
|
+
--pf-t--global--border--radius--sharp: var(--pf-t--global--border--radius--000); // changed to base value
|
|
117
118
|
--pf-t--global--background--color--secondary--selected: var(--pf-t--global--background--color--300);
|
|
118
119
|
--pf-t--global--background--color--secondary--default: var(--pf-t--global--background--color--200);
|
|
119
120
|
--pf-t--global--background--color--secondary--hover: var(--pf-t--global--background--color--300);
|
|
@@ -222,6 +223,7 @@
|
|
|
222
223
|
--pf-t--global--background--color--control--default: var(--pf-t--global--background--color--primary--default);
|
|
223
224
|
--pf-t--global--text--color--on-brand--hover: var(--pf-t--global--icon--color--inverse);
|
|
224
225
|
--pf-t--global--text--color--on-brand--default: var(--pf-t--global--icon--color--inverse);
|
|
226
|
+
--pf-t--global--text--color--on-brand--active: var(--pf-t--global--icon--color--inverse); // added this
|
|
225
227
|
--pf-t--global--text--color--placeholder: var(--pf-t--global--text--color--subtle);
|
|
226
228
|
--pf-t--global--text--color--brand--default: var(--pf-t--global--color--brand--default);
|
|
227
229
|
--pf-t--global--text--color--brand--hover: var(--pf-t--global--color--brand--hover);
|
|
@@ -339,4 +341,3 @@
|
|
|
339
341
|
--pf-t--global--border--color--status--info--hover: var(--pf-t--global--color--status--info--hover);
|
|
340
342
|
--pf-t--global--border--color--status--info--default: var(--pf-t--global--color--status--info--default);
|
|
341
343
|
}
|
|
342
|
-
// stylelint-enable custom-property-pattern
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
// FONT TOKENS
|
|
2
|
+
// Manually added from hackathon values
|
|
3
|
+
// Currently not being exported from Figma because they are styles rather than variables
|
|
4
|
+
// The ability to make font variables is reportedly coming by the end of the year
|
|
5
|
+
|
|
6
|
+
:root {
|
|
7
|
+
// Base tokens for fonts
|
|
8
|
+
--pf-t--global--font--family--100: redhattext;
|
|
9
|
+
--pf-t--global--font--family--200: redhatdisplay;
|
|
10
|
+
--pf-t--global--font--family--300: redhatmono;
|
|
11
|
+
--pf-t--global--font--line-height--100: 1.3;
|
|
12
|
+
--pf-t--global--font--line-height--200: 1.5;
|
|
13
|
+
--pf-t--global--font--weight--body--100: 400;
|
|
14
|
+
--pf-t--global--font--weight--body--200: 600;
|
|
15
|
+
--pf-t--global--font--weight--heading--100: 700; // what should this be?
|
|
16
|
+
--pf-t--global--font--weight--heading--200: 700;
|
|
17
|
+
--pf-t--global--font--size--body--100: 12px;
|
|
18
|
+
--pf-t--global--font--size--body--200: 14px;
|
|
19
|
+
--pf-t--global--font--size--body--300: 16px;
|
|
20
|
+
--pf-t--global--font--size--heading--100: 16px;
|
|
21
|
+
--pf-t--global--font--size--heading--200: 18px;
|
|
22
|
+
--pf-t--global--font--size--heading--300: 20px;
|
|
23
|
+
--pf-t--global--font--size--heading--400: 24px;
|
|
24
|
+
--pf-t--global--font--size--heading--500: 28px;
|
|
25
|
+
--pf-t--global--font--size--heading--600: 36px;
|
|
26
|
+
|
|
27
|
+
// Semantic tokens for fonts
|
|
28
|
+
--pf-t--global--font--family--body: var(--pf-t--global--font--family--100);
|
|
29
|
+
--pf-t--global--font--family--heading: var(--pf-t--global--font--family--200);
|
|
30
|
+
--pf-t--global--font--family--mono: var(--pf-t--global--font--family--300);
|
|
31
|
+
--pf-t--global--font--line-height--body: var(--pf-t--global--font--line-height--100);
|
|
32
|
+
--pf-t--global--font--line-height--heading: var(--pf-t--global--font--line-height--200);
|
|
33
|
+
--pf-t--global--font--weight--body: var(--pf-t--global--font--weight--body--100);
|
|
34
|
+
--pf-t--global--font--weight--body--bold: var(--pf-t--global--font--weight--body--200);
|
|
35
|
+
--pf-t--global--font--weight--heading: var(--pf-t--global--font--weight--heading--100);
|
|
36
|
+
--pf-t--global--font--weight--heading--bold: var(--pf-t--global--font--weight--heading--200);
|
|
37
|
+
--pf-t--global--font--size--body--sm: var(--pf-t--global--font--size--body--100);
|
|
38
|
+
--pf-t--global--font--size--body--md: var(--pf-t--global--font--size--body--200);
|
|
39
|
+
--pf-t--global--font--size--body--lg: var(--pf-t--global--font--size--body--300);
|
|
40
|
+
--pf-t--global--font--size--body: var(--pf-t--global--font--size--body--md);
|
|
41
|
+
--pf-t--global--font--size--heading--xs: var(--pf-t--global--font--size--heading--100);
|
|
42
|
+
--pf-t--global--font--size--heading--sm: var(--pf-t--global--font--size--heading--200);
|
|
43
|
+
--pf-t--global--font--size--heading--md: var(--pf-t--global--font--size--heading--300);
|
|
44
|
+
--pf-t--global--font--size--heading--lg: var(--pf-t--global--font--size--heading--400);
|
|
45
|
+
--pf-t--global--font--size--heading--xl: var(--pf-t--global--font--size--heading--500);
|
|
46
|
+
--pf-t--global--font--size--heading--2xl: var(--pf-t--global--font--size--heading--600);
|
|
47
|
+
|
|
48
|
+
// Other missing ones
|
|
49
|
+
// text-decoration
|
|
50
|
+
--pf-t--global--text-decoration--100: none;
|
|
51
|
+
--pf-t--global--text-decoration--200: underline;
|
|
52
|
+
--pf-t--global--link--text-decoration: var(--pf-t--global--text-decoration--200);
|
|
53
|
+
--pf-t--global--link--text-decoration--hover: var(--pf-t--global--text-decoration--200);
|
|
54
|
+
|
|
55
|
+
// blend modes
|
|
56
|
+
--pf-t--global--mix-blend-mode--100: multiply;
|
|
57
|
+
|
|
58
|
+
// --pf-t--global--mix-blend-mode--100: screen; For dark mode, use screen
|
|
59
|
+
--pf-t--global--background--color--action--plain--hover--blend: var(--pf-t--global--mix-blend-mode--100);
|
|
60
|
+
|
|
61
|
+
// semantic border width
|
|
62
|
+
--pf-t--global--border--width--control--default: var(--pf-t--global--border--width--100);
|
|
63
|
+
--pf-t--global--border--width--control--hover: var(--pf-t--global--border--width--100);
|
|
64
|
+
--pf-t--global--border--width--control--active: var(--pf-t--global--border--width--200);
|
|
65
|
+
}
|