- Usage Warning
+ Usage warning
Do not apply the Red Hat red color to text in dark environments unless
it meets WCAG 2.1 AA
requirements.
@@ -173,44 +173,20 @@ patterns like [alerts](/elements/alert), [badges](/elements/badge),
Usage Warning
- The red-orange color is reserved for danger or error states, do not use it anywhere else.
+ The red-orange color is reserved for danger or error states. Do not use it anywhere else.
-
-
-
- Status |
- Use case |
-
-
-
-
- Note/Tip |
- Use purple to communicate helpful or important information. |
-
-
- Neutral |
- Use gray to communicate information that will have no impact on a user. |
-
-
- Success |
- Use green to communicate a success state. |
-
-
- Caution |
- Use yellow to communicate that an issue can be avoided. |
-
-
- Warning |
- Use orange to communicate that a destructive action might occur if an issue is not resolved. |
-
-
- Danger/Error |
- Use red-orange to communicate a destructive action or critical error. |
-
-
-
+
+| Status | Use case |
+| ------- | --------------------------------------------------------------------------------------------------------------- |
+| Neutral | Use gray to communicate information that will have no impact on a user. |
+| Info | Use purple to communicate helpful or important information.
*Note:* "Info" was previously called "note/tip." |
+| Success | Use green to communicate a success state. |
+| Warning | Use yellow to communicate that a destructive action might occur if an issue is not resolved. |
+| Caution | Use orange to communicate that an issue can be avoided. |
+| Danger | Use red-orange to communicate a destructive action or critical error. |
+
@@ -280,4 +256,4 @@ using elements and patterns from the desaturated theme instead.
Foundations
To learn how to use our other foundations in your designs, visit the foundations section.
-
\ No newline at end of file
+
diff --git a/patches/@patternfly+pfe-core+4.0.2.patch b/patches/@patternfly+pfe-core+4.0.2.patch
new file mode 100644
index 0000000000..0d147a66fc
--- /dev/null
+++ b/patches/@patternfly+pfe-core+4.0.2.patch
@@ -0,0 +1,13 @@
+diff --git a/node_modules/@patternfly/pfe-core/ssr-shims.js b/node_modules/@patternfly/pfe-core/ssr-shims.js
+index d432769..c7a30fb 100644
+--- a/node_modules/@patternfly/pfe-core/ssr-shims.js
++++ b/node_modules/@patternfly/pfe-core/ssr-shims.js
+@@ -42,6 +42,8 @@ globalThis.IntersectionObserver ?? (globalThis.IntersectionObserver = ObserverSh
+ // @ts-expect-error: this runs in node
+ globalThis.MutationObserver ?? (globalThis.MutationObserver = ObserverShim);
+ // @ts-expect-error: this runs in node
++globalThis.ResizeObserver ?? (globalThis.ResizeObserver = ObserverShim);
++// @ts-expect-error: this runs in node
+ globalThis.getComputedStyle ?? (globalThis.getComputedStyle = function () {
+ return {
+ getPropertyPriority() {