@patternfly/patternfly 6.0.0-alpha.29 → 6.0.0-alpha.30

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.
Files changed (46) hide show
  1. package/base/_globals.scss +8 -1
  2. package/base/_variables.scss +2 -7
  3. package/base/patternfly-globals.css +6 -1
  4. package/base/patternfly-variables.css +862 -858
  5. package/base/tokens/_tokens-dark.scss +306 -284
  6. package/base/tokens/_tokens-default.scss +410 -326
  7. package/base/tokens/_tokens-font.scss +9 -25
  8. package/base/tokens/_tokens-palette.scss +68 -68
  9. package/base/tokens/_workspace-overrides.scss +7 -0
  10. package/components/Accordion/accordion.css +1 -1
  11. package/components/Accordion/accordion.scss +1 -1
  12. package/components/Alert/alert.css +2 -2
  13. package/components/Alert/alert.scss +2 -2
  14. package/components/Banner/banner.css +1 -1
  15. package/components/Banner/banner.scss +1 -1
  16. package/components/Breadcrumb/breadcrumb.css +19 -16
  17. package/components/Breadcrumb/breadcrumb.scss +18 -16
  18. package/components/Button/button.css +1 -1
  19. package/components/Button/button.scss +1 -1
  20. package/components/Content/content.css +7 -7
  21. package/components/Content/content.scss +7 -7
  22. package/components/Hint/hint.css +2 -2
  23. package/components/Hint/hint.scss +2 -2
  24. package/components/Login/login.css +1 -1
  25. package/components/Login/login.scss +1 -1
  26. package/components/MenuToggle/menu-toggle.css +1 -1
  27. package/components/MenuToggle/menu-toggle.scss +1 -1
  28. package/components/ModalBox/modal-box.css +1 -1
  29. package/components/ModalBox/modal-box.scss +1 -1
  30. package/components/Nav/nav.css +2 -2
  31. package/components/Nav/nav.scss +2 -2
  32. package/components/Table/table.css +6 -6
  33. package/components/Table/table.scss +6 -6
  34. package/components/Title/title.css +6 -6
  35. package/components/Title/title.scss +6 -6
  36. package/package.json +1 -1
  37. package/patternfly-base-no-globals-theme-dark-unversioned.css +866 -858
  38. package/patternfly-base-no-globals.css +866 -858
  39. package/patternfly-base-theme-dark-unversioned.css +868 -859
  40. package/patternfly-base.css +868 -859
  41. package/patternfly-no-globals.css +913 -906
  42. package/patternfly-theme-dark-unversioned.css +914 -906
  43. package/patternfly.css +914 -906
  44. package/patternfly.min.css +1 -1
  45. package/patternfly.min.css.map +1 -1
  46. package/base/themes/dark/_variables.scss +0 -102
@@ -47,9 +47,10 @@
47
47
 
48
48
  :where(body) {
49
49
  font-family: var(--pf-t--global--font--family--body);
50
- font-size: var(--pf-t--global--font--size--body);
50
+ font-size: var(--pf-t--global--font--size--body--default);
51
51
  font-weight: var(--pf-t--global--font--weight--body);
52
52
  line-height: var(--pf-t--global--font--line-height--body);
53
+ color: var(--pf-t--global--text--color--regular);
53
54
  }
54
55
 
55
56
  :where(
@@ -136,3 +137,9 @@
136
137
  }
137
138
  }
138
139
 
140
+ // stylelint-disable no-invalid-position-at-import-rule
141
+ @import "./themes/dark/globals";
142
+
143
+ @include pf-v5-theme-dark {
144
+ @include pf-v5-theme-dark-globals;
145
+ }
@@ -292,13 +292,8 @@
292
292
  }
293
293
 
294
294
  // stylelint-disable no-invalid-position-at-import-rule
295
- @import "./themes/dark/variables";
296
-
297
- @include pf-v5-theme-dark {
298
- @include pf-v5-theme-dark-variables;
299
- }
300
-
295
+ @import "./tokens/workspace-overrides";
296
+ @import "./tokens/tokens-font";
301
297
  @import "./tokens/tokens-palette";
302
298
  @import "./tokens/tokens-default";
303
- @import "./tokens/tokens-font";
304
299
  @import "./tokens/tokens-dark";
@@ -38,9 +38,10 @@ body) {
38
38
 
39
39
  :where(body) {
40
40
  font-family: var(--pf-t--global--font--family--body);
41
- font-size: var(--pf-t--global--font--size--body);
41
+ font-size: var(--pf-t--global--font--size--body--default);
42
42
  font-weight: var(--pf-t--global--font--weight--body);
43
43
  line-height: var(--pf-t--global--font--line-height--body);
44
+ color: var(--pf-t--global--text--color--regular);
44
45
  }
45
46
 
46
47
  :where(h1,
@@ -112,4 +113,8 @@ pre) {
112
113
  :where(a,
113
114
  button) {
114
115
  cursor: pointer;
116
+ }
117
+
118
+ :where(.pf-v5-theme-dark) {
119
+ color-scheme: dark;
115
120
  }