@patternfly/patternfly 5.0.0-prerelease.1 → 5.0.0-prerelease.10
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/_common.scss +7 -0
- package/base/_fonts.scss +1 -1
- package/base/_variables.scss +4 -7
- package/base/patternfly-common.css +6 -0
- package/base/patternfly-fonts.css +1 -1
- package/base/patternfly-themes.css +14 -0
- package/base/patternfly-variables.css +8 -6
- package/base/themes/dark/_chart-globals.scss +1 -1
- package/base/themes/dark/_variables.scss +4 -0
- package/components/AboutModalBox/about-modal-box.css +7 -8
- package/components/Accordion/accordion.css +2 -0
- package/components/Alert/alert.css +2 -0
- package/components/Banner/banner.css +9 -8
- package/components/CalendarMonth/calendar-month.css +5 -0
- package/components/CalendarMonth/calendar-month.scss +2 -0
- package/components/CalendarMonth/themes/dark/calendar-month.scss +4 -0
- package/components/Card/card.css +4 -0
- package/components/Card/themes/dark/card.scss +7 -1
- package/components/Chip/chip-group.css +2 -0
- package/components/Chip/chip.css +2 -0
- package/components/ContextSelector/context-selector.css +2 -0
- package/components/DataList/data-list.css +2 -0
- package/components/FormControl/form-control.css +2 -0
- package/components/LogViewer/log-viewer.css +7 -8
- package/components/Login/login.css +8 -9
- package/components/Masthead/masthead.css +11 -14
- package/components/Masthead/masthead.scss +1 -7
- package/components/Masthead/themes/dark/masthead.scss +1 -0
- package/components/Menu/menu.css +2 -0
- package/components/MenuToggle/menu-toggle.css +13 -11
- package/components/MenuToggle/menu-toggle.scss +14 -12
- package/components/MenuToggle/themes/dark/menu-toggle.scss +2 -1
- package/components/Page/page.css +11 -10
- package/components/Select/select.css +2 -0
- package/components/Switch/switch.css +3 -0
- package/components/Switch/switch.scss +3 -0
- package/components/Switch/themes/dark/switch.scss +1 -0
- package/components/Table/table.css +2 -0
- package/components/TextInputGroup/text-input-group.css +2 -2
- package/components/TextInputGroup/text-input-group.scss +2 -2
- package/components/Wizard/wizard.css +7 -8
- package/docs/components/Drawer/examples/Drawer.md +2 -2
- package/docs/components/Dropdown/deprecated/Dropdown.css +64 -0
- package/docs/components/Dropdown/{examples → deprecated}/Dropdown.md +1 -0
- package/docs/components/Nav/examples/Navigation.md +2 -2
- package/docs/components/Select/deprecated/Select.css +56 -0
- package/docs/components/Select/{examples → deprecated}/Select.md +1 -0
- package/docs/components/Switch/examples/Switch.md +36 -0
- package/docs/demos/AboutModal/examples/AboutModal.md +42 -774
- package/docs/demos/Alert/examples/Alert.md +126 -2322
- package/docs/demos/BackToTop/examples/BackToTop.md +42 -774
- package/docs/demos/Banner/examples/Banner.md +84 -1588
- package/docs/demos/CardView/examples/CardView.md +42 -774
- package/docs/demos/ContextSelector/examples/ContextSelector.md +136 -2448
- package/docs/demos/Dashboard/examples/Dashboard.md +42 -774
- package/docs/demos/DataList/examples/DataList.md +191 -3119
- package/docs/demos/DescriptionList/examples/DescriptionList.md +126 -2322
- package/docs/demos/Drawer/examples/Drawer.md +210 -3870
- package/docs/demos/JumpLinks/examples/JumpLinks.md +252 -4644
- package/docs/demos/Masthead/examples/Masthead.md +144 -1962
- package/docs/demos/Modal/examples/Modal.md +252 -4644
- package/docs/demos/Nav/examples/Nav.md +337 -6193
- package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +231 -3891
- package/docs/demos/Page/examples/Page.md +378 -6966
- package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +426 -5550
- package/docs/demos/Skeleton/examples/Skeleton.md +42 -774
- package/docs/demos/Table/examples/Table.md +752 -11732
- package/docs/demos/Tabs/examples/Tabs.md +252 -4644
- package/docs/demos/Toolbar/examples/Toolbar.md +84 -1548
- package/docs/demos/Wizard/examples/Wizard.md +378 -6966
- package/package.json +2 -2
- package/patternfly-base-no-globals-theme-dark-unversioned.css +22 -7
- package/patternfly-base-no-globals.css +22 -7
- package/patternfly-base-theme-dark-unversioned.css +22 -7
- package/patternfly-base.css +22 -7
- package/patternfly-charts-theme-dark-unversioned.css +66 -66
- package/patternfly-charts-theme-dark.css +66 -66
- package/patternfly-no-globals.css +314 -609
- package/patternfly-theme-dark-unversioned.css +314 -609
- package/patternfly.css +314 -609
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/sass-utilities/placeholders.scss +8 -0
- package/sass-utilities/scss-variables.scss +6 -2
- package/sass-utilities/themes/dark/placeholders.scss +3 -8
- package/sass-utilities/themes/dark/scss-variables.scss +6 -3
- package/RELEASE-NOTES.md +0 -1815
- package/UPGRADE-GUIDE.md +0 -1298
- package/docs/components/Dropdown/examples/Dropdown.css +0 -64
- package/docs/components/Select/examples/Select.css +0 -55
|
@@ -6,6 +6,8 @@
|
|
|
6
6
|
--#{$pf-global}--link--Color: var(--#{$pf-global}--link--Color--dark);
|
|
7
7
|
--#{$pf-global}--link--Color--hover: var(--#{$pf-global}--link--Color--dark--hover);
|
|
8
8
|
--#{$pf-global}--BackgroundColor--100: var(--#{$pf-global}--BackgroundColor--light-100);
|
|
9
|
+
--#{$pf-global}--icon--Color--light: var(--#{$pf-global}--icon--Color--light--dark);
|
|
10
|
+
--#{$pf-global}--icon--Color--dark: var(--#{$pf-global}--icon--Color--dark--dark);
|
|
9
11
|
}
|
|
10
12
|
|
|
11
13
|
%pf-v5-t-dark {
|
|
@@ -16,6 +18,12 @@
|
|
|
16
18
|
--#{$pf-global}--link--Color: var(--#{$pf-global}--link--Color--light);
|
|
17
19
|
--#{$pf-global}--link--Color--hover: var(--#{$pf-global}--link--Color--light);
|
|
18
20
|
--#{$pf-global}--BackgroundColor--100: var(--#{$pf-global}--BackgroundColor--dark-100);
|
|
21
|
+
--#{$pf-global}--icon--Color--light: var(--#{$pf-global}--icon--Color--light--light);
|
|
22
|
+
--#{$pf-global}--icon--Color--dark: var(--#{$pf-global}--icon--Color--dark--light);
|
|
23
|
+
|
|
24
|
+
.#{$button} {
|
|
25
|
+
--#{$button}--m-primary--BackgroundColor: var(--#{$pf-global}--primary-color--dark-100);
|
|
26
|
+
}
|
|
19
27
|
}
|
|
20
28
|
|
|
21
29
|
// stylelint-disable
|
|
@@ -183,8 +183,12 @@ $pf-v5-global--BorderRadius--sm: 3px !default;
|
|
|
183
183
|
$pf-v5-global--BorderRadius--lg: 30em !default; // This is a sufficiently large number to ensure in most cases that the ends are evenly rounded.
|
|
184
184
|
|
|
185
185
|
// Icons
|
|
186
|
-
$pf-v5-global--icon--Color--light: $pf-v5-color-black-600 !default;
|
|
187
|
-
$pf-v5-global--icon--Color--dark: $pf-v5-color-black-900 !default;
|
|
186
|
+
$pf-v5-global--icon--Color--light: $pf-v5-color-black-600 !default; // actionable icon color - eg, plain button default color
|
|
187
|
+
$pf-v5-global--icon--Color--dark: $pf-v5-color-black-900 !default; // static icon color and hover/focus color for actionable icons - eg, plain button hover color
|
|
188
|
+
$pf-v5-global--icon--Color--light--light: $pf-v5-color-black-200 !default; // "lighter" icon color for actionable icons - for use in pf-[v]-t-dark
|
|
189
|
+
$pf-v5-global--icon--Color--dark--light: $pf-v5-color-white !default; // "lighter" icon color for static icons - for use in pf-[v]-t-dark
|
|
190
|
+
$pf-v5-global--icon--Color--light--dark: $pf-v5-color-black-600 !default; // "darker" icon color for actionable icons - for use in pf-[v]-t-light
|
|
191
|
+
$pf-v5-global--icon--Color--dark--dark: $pf-v5-color-black-900 !default; // "darker" icon color for static icons - for use in pf-[v]-t-light
|
|
188
192
|
$pf-v5-global--icon--FontSize--sm: pf-font-prem(12px) !default;
|
|
189
193
|
$pf-v5-global--icon--FontSize--md: pf-font-prem(16px) !default;
|
|
190
194
|
$pf-v5-global--icon--FontSize--lg: pf-font-prem(24px) !default;
|
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
%pf-v5-theme-dark--t-dark {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
--#{$pf-global}--BorderColor--100: #{$pf-v5-global--BorderColor--100};
|
|
6
|
-
--#{$pf-global}--primary-color--100: #{$pf-v5-global--primary-color--100};
|
|
7
|
-
--#{$pf-global}--link--Color: #{$pf-v5-global--link--Color};
|
|
8
|
-
--#{$pf-global}--link--Color--hover: #{$pf-v5-global--link--Color--hover};
|
|
9
|
-
--#{$pf-global}--BackgroundColor--100: #{$pf-v5-global--BackgroundColor--100};
|
|
2
|
+
.#{$button} {
|
|
3
|
+
--#{$button}--m-primary--BackgroundColor: var(--#{$pf-global}--primary-color--300);
|
|
4
|
+
}
|
|
10
5
|
}
|
|
@@ -30,7 +30,8 @@ $pf-v5-global--disabled-color--200: $pf-v5-color-black-500; // disabled backgrou
|
|
|
30
30
|
$pf-v5-global--disabled-color--300: $pf-v5-color-black-200; // disabled text on disabled or floating background color - except form elements
|
|
31
31
|
|
|
32
32
|
// icons
|
|
33
|
-
$pf-v5-global--icon--Color--light: $pf-v5-color-black-
|
|
33
|
+
$pf-v5-global--icon--Color--light: $pf-v5-color-black-200;
|
|
34
|
+
$pf-v5-global--icon--Color--dark: $pf-v5-color-black-50;
|
|
34
35
|
|
|
35
36
|
// theme color resets
|
|
36
37
|
$pf-v5-global--Color--dark-100: $pf-v5-global--Color--100;
|
|
@@ -53,8 +54,10 @@ $pf-v5-global--BackgroundColor--dark-100: $pf-v5-global--BackgroundColor--100;
|
|
|
53
54
|
$pf-v5-global--BackgroundColor--dark-200: $pf-v5-global--BackgroundColor--200;
|
|
54
55
|
$pf-v5-global--BackgroundColor--dark-300: $pf-v5-global--BackgroundColor--300;
|
|
55
56
|
$pf-v5-global--BackgroundColor--dark-400: $pf-v5-global--BackgroundColor--400;
|
|
56
|
-
$pf-v5-global--icon--Color--light: $pf-v5-
|
|
57
|
-
$pf-v5-global--icon--Color--dark: $pf-v5-
|
|
57
|
+
$pf-v5-global--icon--Color--light--dark: $pf-v5-global--icon--Color--light;
|
|
58
|
+
$pf-v5-global--icon--Color--dark--dark: $pf-v5-global--icon--Color--dark;
|
|
59
|
+
$pf-v5-global--icon--Color--light--light: $pf-v5-global--icon--Color--light;
|
|
60
|
+
$pf-v5-global--icon--Color--dark--light: $pf-v5-global--icon--Color--dark;
|
|
58
61
|
|
|
59
62
|
// Shadows
|
|
60
63
|
// small
|