diff --git a/src/__integ__/__snapshots__/themes.test.ts.snap b/src/__integ__/__snapshots__/themes.test.ts.snap index 499d927048..db94df7068 100644 --- a/src/__integ__/__snapshots__/themes.test.ts.snap +++ b/src/__integ__/__snapshots__/themes.test.ts.snap @@ -65,6 +65,7 @@ exports[`CSS Custom Properties match previous snapshot for mode "compact" 1`] = "border-width-card-selected": "1px", "border-width-dropdown": "1px", "border-width-field": "1px", + "border-width-flashbar-inline-start": "0px", "border-width-icon-big": "3px", "border-width-icon-large": "4px", "border-width-icon-medium": "2px", @@ -125,6 +126,10 @@ exports[`CSS Custom Properties match previous snapshot for mode "compact" 1`] = "color-background-dropdown-item-filter-match": "#f1faff", "color-background-dropdown-item-hover": "#f2f3f3", "color-background-dropdown-item-selected": "#f1faff", + "color-background-flashbar-error": "#d13212", + "color-background-flashbar-info": "#0073bb", + "color-background-flashbar-success": "#1d8102", + "color-background-flashbar-warning": "#ffe347", "color-background-home-header": "#000000", "color-background-inline-code": "rgba(0, 0, 0, 0.1)", "color-background-input-default": "#ffffff", @@ -977,6 +982,7 @@ exports[`CSS Custom Properties match previous snapshot for mode "dark" 1`] = ` "border-width-card-selected": "1px", "border-width-dropdown": "1px", "border-width-field": "1px", + "border-width-flashbar-inline-start": "0px", "border-width-icon-big": "3px", "border-width-icon-large": "4px", "border-width-icon-medium": "2px", @@ -1037,6 +1043,10 @@ exports[`CSS Custom Properties match previous snapshot for mode "dark" 1`] = ` "color-background-dropdown-item-filter-match": "#12293b", "color-background-dropdown-item-hover": "#414750", "color-background-dropdown-item-selected": "#12293b", + "color-background-flashbar-error": "#d13212", + "color-background-flashbar-info": "#0073bb", + "color-background-flashbar-success": "#1d8102", + "color-background-flashbar-warning": "#ffe347", "color-background-home-header": "#000000", "color-background-inline-code": "rgba(255, 255, 255, 0.1)", "color-background-input-default": "#1a2029", @@ -1889,6 +1899,7 @@ exports[`CSS Custom Properties match previous snapshot for mode "light" 1`] = ` "border-width-card-selected": "1px", "border-width-dropdown": "1px", "border-width-field": "1px", + "border-width-flashbar-inline-start": "0px", "border-width-icon-big": "3px", "border-width-icon-large": "4px", "border-width-icon-medium": "2px", @@ -1949,6 +1960,10 @@ exports[`CSS Custom Properties match previous snapshot for mode "light" 1`] = ` "color-background-dropdown-item-filter-match": "#f1faff", "color-background-dropdown-item-hover": "#f2f3f3", "color-background-dropdown-item-selected": "#f1faff", + "color-background-flashbar-error": "#d13212", + "color-background-flashbar-info": "#0073bb", + "color-background-flashbar-success": "#1d8102", + "color-background-flashbar-warning": "#ffe347", "color-background-home-header": "#000000", "color-background-inline-code": "rgba(0, 0, 0, 0.1)", "color-background-input-default": "#ffffff", @@ -2801,6 +2816,7 @@ exports[`CSS Custom Properties match previous snapshot for mode "reduced-motion" "border-width-card-selected": "1px", "border-width-dropdown": "1px", "border-width-field": "1px", + "border-width-flashbar-inline-start": "0px", "border-width-icon-big": "3px", "border-width-icon-large": "4px", "border-width-icon-medium": "2px", @@ -2861,6 +2877,10 @@ exports[`CSS Custom Properties match previous snapshot for mode "reduced-motion" "color-background-dropdown-item-filter-match": "#f1faff", "color-background-dropdown-item-hover": "#f2f3f3", "color-background-dropdown-item-selected": "#f1faff", + "color-background-flashbar-error": "#d13212", + "color-background-flashbar-info": "#0073bb", + "color-background-flashbar-success": "#1d8102", + "color-background-flashbar-warning": "#ffe347", "color-background-home-header": "#000000", "color-background-inline-code": "rgba(0, 0, 0, 0.1)", "color-background-input-default": "#ffffff", @@ -3713,6 +3733,7 @@ exports[`CSS Custom Properties match previous snapshot for mode "visual-refresh" "border-width-card-selected": "2px", "border-width-dropdown": "2px", "border-width-field": "1px", + "border-width-flashbar-inline-start": "0px", "border-width-icon-big": "3px", "border-width-icon-large": "4px", "border-width-icon-medium": "2px", @@ -3773,6 +3794,10 @@ exports[`CSS Custom Properties match previous snapshot for mode "visual-refresh" "color-background-dropdown-item-filter-match": "#f0fbff", "color-background-dropdown-item-hover": "#f3f3f7", "color-background-dropdown-item-selected": "#f0fbff", + "color-background-flashbar-error": "#db0000", + "color-background-flashbar-info": "#006ce0", + "color-background-flashbar-success": "#00802f", + "color-background-flashbar-warning": "#ffe347", "color-background-home-header": "#0f141a", "color-background-inline-code": "rgba(0, 0, 0, 0.1)", "color-background-input-default": "#ffffff", @@ -4625,6 +4650,7 @@ exports[`CSS Custom Properties match previous snapshot for mode "visual-refresh- "border-width-card-selected": "2px", "border-width-dropdown": "2px", "border-width-field": "1px", + "border-width-flashbar-inline-start": "0px", "border-width-icon-big": "3px", "border-width-icon-large": "4px", "border-width-icon-medium": "2px", @@ -4685,6 +4711,10 @@ exports[`CSS Custom Properties match previous snapshot for mode "visual-refresh- "color-background-dropdown-item-filter-match": "#f0fbff", "color-background-dropdown-item-hover": "#f3f3f7", "color-background-dropdown-item-selected": "#f0fbff", + "color-background-flashbar-error": "#db0000", + "color-background-flashbar-info": "#006ce0", + "color-background-flashbar-success": "#00802f", + "color-background-flashbar-warning": "#ffe347", "color-background-home-header": "#0f141a", "color-background-inline-code": "rgba(0, 0, 0, 0.1)", "color-background-input-default": "#ffffff", @@ -5537,6 +5567,7 @@ exports[`CSS Custom Properties match previous snapshot for mode "visual-refresh- "border-width-card-selected": "2px", "border-width-dropdown": "2px", "border-width-field": "1px", + "border-width-flashbar-inline-start": "0px", "border-width-icon-big": "3px", "border-width-icon-large": "4px", "border-width-icon-medium": "2px", @@ -5597,6 +5628,10 @@ exports[`CSS Custom Properties match previous snapshot for mode "visual-refresh- "color-background-dropdown-item-filter-match": "#333843", "color-background-dropdown-item-hover": "#131920", "color-background-dropdown-item-selected": "#001129", + "color-background-flashbar-error": "#db0000", + "color-background-flashbar-info": "#006ce0", + "color-background-flashbar-success": "#00802f", + "color-background-flashbar-warning": "#ffe347", "color-background-home-header": "#0f141a", "color-background-inline-code": "rgba(255, 255, 255, 0.1)", "color-background-input-default": "#0f141a", @@ -6449,6 +6484,7 @@ exports[`CSS Custom Properties match previous snapshot for mode "visual-refresh- "border-width-card-selected": "2px", "border-width-dropdown": "2px", "border-width-field": "1px", + "border-width-flashbar-inline-start": "0px", "border-width-icon-big": "3px", "border-width-icon-large": "4px", "border-width-icon-medium": "2px", @@ -6509,6 +6545,10 @@ exports[`CSS Custom Properties match previous snapshot for mode "visual-refresh- "color-background-dropdown-item-filter-match": "#333843", "color-background-dropdown-item-hover": "#131920", "color-background-dropdown-item-selected": "#001129", + "color-background-flashbar-error": "#db0000", + "color-background-flashbar-info": "#006ce0", + "color-background-flashbar-success": "#00802f", + "color-background-flashbar-warning": "#ffe347", "color-background-home-header": "#0f141a", "color-background-inline-code": "rgba(255, 255, 255, 0.1)", "color-background-input-default": "#161d26", diff --git a/src/__tests__/snapshot-tests/__snapshots__/design-tokens.test.ts.snap b/src/__tests__/snapshot-tests/__snapshots__/design-tokens.test.ts.snap index 022cf5035f..671dda38fa 100644 --- a/src/__tests__/snapshot-tests/__snapshots__/design-tokens.test.ts.snap +++ b/src/__tests__/snapshot-tests/__snapshots__/design-tokens.test.ts.snap @@ -157,6 +157,10 @@ exports[`Design tokens artifacts Design tokens JSON for classic matches the snap "$description": "The border width of form fields.", "$value": "1px", }, + "border-width-flashbar-inline-start": { + "$description": "The inline-start border width of flash messages in flashbars.", + "$value": "0px", + }, "border-width-icon-big": { "$description": "The visual stroke width of big icons.", "$value": "3px", @@ -438,6 +442,34 @@ exports[`Design tokens artifacts Design tokens JSON for classic matches the snap "light": "#f1faff", }, }, + "color-background-flashbar-error": { + "$description": "The background color of error flash messages.", + "$value": { + "dark": "#d13212", + "light": "#d13212", + }, + }, + "color-background-flashbar-info": { + "$description": "The background color of info and in-progress flash messages.", + "$value": { + "dark": "#0073bb", + "light": "#0073bb", + }, + }, + "color-background-flashbar-success": { + "$description": "The background color of success flash messages.", + "$value": { + "dark": "#1d8102", + "light": "#1d8102", + }, + }, + "color-background-flashbar-warning": { + "$description": "The background color of warning flash messages.", + "$value": { + "dark": "#ffe347", + "light": "#ffe347", + }, + }, "color-background-home-header": { "$description": "The background color of the home header, displayed on the Service's home page.", "$value": { @@ -3680,6 +3712,10 @@ exports[`Design tokens artifacts Design tokens JSON for classic matches the snap "$description": "The border width of form fields.", "$value": "1px", }, + "border-width-flashbar-inline-start": { + "$description": "The inline-start border width of flash messages in flashbars.", + "$value": "0px", + }, "border-width-icon-big": { "$description": "The visual stroke width of big icons.", "$value": "3px", @@ -3961,6 +3997,34 @@ exports[`Design tokens artifacts Design tokens JSON for classic matches the snap "light": "#f1faff", }, }, + "color-background-flashbar-error": { + "$description": "The background color of error flash messages.", + "$value": { + "dark": "#d13212", + "light": "#d13212", + }, + }, + "color-background-flashbar-info": { + "$description": "The background color of info and in-progress flash messages.", + "$value": { + "dark": "#0073bb", + "light": "#0073bb", + }, + }, + "color-background-flashbar-success": { + "$description": "The background color of success flash messages.", + "$value": { + "dark": "#1d8102", + "light": "#1d8102", + }, + }, + "color-background-flashbar-warning": { + "$description": "The background color of warning flash messages.", + "$value": { + "dark": "#ffe347", + "light": "#ffe347", + }, + }, "color-background-home-header": { "$description": "The background color of the home header, displayed on the Service's home page.", "$value": { @@ -7203,6 +7267,10 @@ exports[`Design tokens artifacts Design tokens JSON for classic matches the snap "$description": "The border width of form fields.", "$value": "1px", }, + "border-width-flashbar-inline-start": { + "$description": "The inline-start border width of flash messages in flashbars.", + "$value": "0px", + }, "border-width-icon-big": { "$description": "The visual stroke width of big icons.", "$value": "3px", @@ -7484,6 +7552,34 @@ exports[`Design tokens artifacts Design tokens JSON for classic matches the snap "light": "#f1faff", }, }, + "color-background-flashbar-error": { + "$description": "The background color of error flash messages.", + "$value": { + "dark": "#d13212", + "light": "#d13212", + }, + }, + "color-background-flashbar-info": { + "$description": "The background color of info and in-progress flash messages.", + "$value": { + "dark": "#0073bb", + "light": "#0073bb", + }, + }, + "color-background-flashbar-success": { + "$description": "The background color of success flash messages.", + "$value": { + "dark": "#1d8102", + "light": "#1d8102", + }, + }, + "color-background-flashbar-warning": { + "$description": "The background color of warning flash messages.", + "$value": { + "dark": "#ffe347", + "light": "#ffe347", + }, + }, "color-background-home-header": { "$description": "The background color of the home header, displayed on the Service's home page.", "$value": { @@ -10726,6 +10822,10 @@ exports[`Design tokens artifacts Design tokens JSON for classic matches the snap "$description": "The border width of form fields.", "$value": "1px", }, + "border-width-flashbar-inline-start": { + "$description": "The inline-start border width of flash messages in flashbars.", + "$value": "0px", + }, "border-width-icon-big": { "$description": "The visual stroke width of big icons.", "$value": "3px", @@ -11007,6 +11107,34 @@ exports[`Design tokens artifacts Design tokens JSON for classic matches the snap "light": "#f1faff", }, }, + "color-background-flashbar-error": { + "$description": "The background color of error flash messages.", + "$value": { + "dark": "#d13212", + "light": "#d13212", + }, + }, + "color-background-flashbar-info": { + "$description": "The background color of info and in-progress flash messages.", + "$value": { + "dark": "#0073bb", + "light": "#0073bb", + }, + }, + "color-background-flashbar-success": { + "$description": "The background color of success flash messages.", + "$value": { + "dark": "#1d8102", + "light": "#1d8102", + }, + }, + "color-background-flashbar-warning": { + "$description": "The background color of warning flash messages.", + "$value": { + "dark": "#ffe347", + "light": "#ffe347", + }, + }, "color-background-home-header": { "$description": "The background color of the home header, displayed on the Service's home page.", "$value": { @@ -13460,8 +13588,8 @@ exports[`Design tokens artifacts Design tokens JSON for classic matches the snap "color-text-status-error": { "$description": "The color of error text and icons. For example: form field error text and error status indicators.", "$value": { - "dark": "#ff5d64", - "light": "#d13212", + "dark": "#fafafa", + "light": "#fafafa", }, }, "color-text-status-inactive": { @@ -13474,15 +13602,15 @@ exports[`Design tokens artifacts Design tokens JSON for classic matches the snap "color-text-status-info": { "$description": "The color of info text and icons. For example: info status indicators and info alert icon.", "$value": { - "dark": "#44b9d6", - "light": "#0073bb", + "dark": "#fafafa", + "light": "#fafafa", }, }, "color-text-status-success": { "$description": "The color of success text and icons. For example: success status indicators and success alert icon.", "$value": { - "dark": "#6aaf35", - "light": "#1d8102", + "dark": "#fafafa", + "light": "#fafafa", }, }, "color-text-status-warning": { @@ -14249,6 +14377,10 @@ exports[`Design tokens artifacts Design tokens JSON for classic matches the snap "$description": "The border width of form fields.", "$value": "1px", }, + "border-width-flashbar-inline-start": { + "$description": "The inline-start border width of flash messages in flashbars.", + "$value": "0px", + }, "border-width-icon-big": { "$description": "The visual stroke width of big icons.", "$value": "3px", @@ -14530,6 +14662,34 @@ exports[`Design tokens artifacts Design tokens JSON for classic matches the snap "light": "#f1faff", }, }, + "color-background-flashbar-error": { + "$description": "The background color of error flash messages.", + "$value": { + "dark": "#d13212", + "light": "#d13212", + }, + }, + "color-background-flashbar-info": { + "$description": "The background color of info and in-progress flash messages.", + "$value": { + "dark": "#0073bb", + "light": "#0073bb", + }, + }, + "color-background-flashbar-success": { + "$description": "The background color of success flash messages.", + "$value": { + "dark": "#1d8102", + "light": "#1d8102", + }, + }, + "color-background-flashbar-warning": { + "$description": "The background color of warning flash messages.", + "$value": { + "dark": "#ffe347", + "light": "#ffe347", + }, + }, "color-background-home-header": { "$description": "The background color of the home header, displayed on the Service's home page.", "$value": { @@ -17011,8 +17171,8 @@ exports[`Design tokens artifacts Design tokens JSON for classic matches the snap "color-text-status-warning": { "$description": "The color of warning icons.", "$value": { - "dark": "#fbd332", - "light": "#906806", + "dark": "#16191f", + "light": "#16191f", }, }, "color-text-toggle-button-icon-pressed": { @@ -17772,6 +17932,10 @@ exports[`Design tokens artifacts Design tokens JSON for classic matches the snap "$description": "The border width of form fields.", "$value": "1px", }, + "border-width-flashbar-inline-start": { + "$description": "The inline-start border width of flash messages in flashbars.", + "$value": "0px", + }, "border-width-icon-big": { "$description": "The visual stroke width of big icons.", "$value": "3px", @@ -18053,6 +18217,34 @@ exports[`Design tokens artifacts Design tokens JSON for classic matches the snap "light": "#12293b", }, }, + "color-background-flashbar-error": { + "$description": "The background color of error flash messages.", + "$value": { + "dark": "#d13212", + "light": "#d13212", + }, + }, + "color-background-flashbar-info": { + "$description": "The background color of info and in-progress flash messages.", + "$value": { + "dark": "#0073bb", + "light": "#0073bb", + }, + }, + "color-background-flashbar-success": { + "$description": "The background color of success flash messages.", + "$value": { + "dark": "#1d8102", + "light": "#1d8102", + }, + }, + "color-background-flashbar-warning": { + "$description": "The background color of warning flash messages.", + "$value": { + "dark": "#ffe347", + "light": "#ffe347", + }, + }, "color-background-home-header": { "$description": "The background color of the home header, displayed on the Service's home page.", "$value": { @@ -21295,6 +21487,10 @@ exports[`Design tokens artifacts Design tokens JSON for classic matches the snap "$description": "The border width of form fields.", "$value": "1px", }, + "border-width-flashbar-inline-start": { + "$description": "The inline-start border width of flash messages in flashbars.", + "$value": "0px", + }, "border-width-icon-big": { "$description": "The visual stroke width of big icons.", "$value": "3px", @@ -21576,6 +21772,34 @@ exports[`Design tokens artifacts Design tokens JSON for classic matches the snap "light": "#f1faff", }, }, + "color-background-flashbar-error": { + "$description": "The background color of error flash messages.", + "$value": { + "dark": "#d13212", + "light": "#d13212", + }, + }, + "color-background-flashbar-info": { + "$description": "The background color of info and in-progress flash messages.", + "$value": { + "dark": "#0073bb", + "light": "#0073bb", + }, + }, + "color-background-flashbar-success": { + "$description": "The background color of success flash messages.", + "$value": { + "dark": "#1d8102", + "light": "#1d8102", + }, + }, + "color-background-flashbar-warning": { + "$description": "The background color of warning flash messages.", + "$value": { + "dark": "#ffe347", + "light": "#ffe347", + }, + }, "color-background-home-header": { "$description": "The background color of the home header, displayed on the Service's home page.", "$value": { @@ -24823,6 +25047,10 @@ exports[`Design tokens artifacts Design tokens JSON for visual-refresh matches t "$description": "The border width of form fields.", "$value": "1px", }, + "border-width-flashbar-inline-start": { + "$description": "The inline-start border width of flash messages in flashbars.", + "$value": "0px", + }, "border-width-icon-big": { "$description": "The visual stroke width of big icons.", "$value": "3px", @@ -25104,6 +25332,34 @@ exports[`Design tokens artifacts Design tokens JSON for visual-refresh matches t "light": "#f0fbff", }, }, + "color-background-flashbar-error": { + "$description": "The background color of error flash messages.", + "$value": { + "dark": "#db0000", + "light": "#db0000", + }, + }, + "color-background-flashbar-info": { + "$description": "The background color of info and in-progress flash messages.", + "$value": { + "dark": "#006ce0", + "light": "#006ce0", + }, + }, + "color-background-flashbar-success": { + "$description": "The background color of success flash messages.", + "$value": { + "dark": "#00802f", + "light": "#00802f", + }, + }, + "color-background-flashbar-warning": { + "$description": "The background color of warning flash messages.", + "$value": { + "dark": "#ffe347", + "light": "#ffe347", + }, + }, "color-background-home-header": { "$description": "The background color of the home header, displayed on the Service's home page.", "$value": { @@ -28346,6 +28602,10 @@ exports[`Design tokens artifacts Design tokens JSON for visual-refresh matches t "$description": "The border width of form fields.", "$value": "1px", }, + "border-width-flashbar-inline-start": { + "$description": "The inline-start border width of flash messages in flashbars.", + "$value": "0px", + }, "border-width-icon-big": { "$description": "The visual stroke width of big icons.", "$value": "3px", @@ -28627,6 +28887,34 @@ exports[`Design tokens artifacts Design tokens JSON for visual-refresh matches t "light": "#001129", }, }, + "color-background-flashbar-error": { + "$description": "The background color of error flash messages.", + "$value": { + "dark": "#db0000", + "light": "#db0000", + }, + }, + "color-background-flashbar-info": { + "$description": "The background color of info and in-progress flash messages.", + "$value": { + "dark": "#006ce0", + "light": "#006ce0", + }, + }, + "color-background-flashbar-success": { + "$description": "The background color of success flash messages.", + "$value": { + "dark": "#00802f", + "light": "#00802f", + }, + }, + "color-background-flashbar-warning": { + "$description": "The background color of warning flash messages.", + "$value": { + "dark": "#ffe347", + "light": "#ffe347", + }, + }, "color-background-home-header": { "$description": "The background color of the home header, displayed on the Service's home page.", "$value": { @@ -31869,6 +32157,10 @@ exports[`Design tokens artifacts Design tokens JSON for visual-refresh matches t "$description": "The border width of form fields.", "$value": "1px", }, + "border-width-flashbar-inline-start": { + "$description": "The inline-start border width of flash messages in flashbars.", + "$value": "0px", + }, "border-width-icon-big": { "$description": "The visual stroke width of big icons.", "$value": "3px", @@ -32150,6 +32442,34 @@ exports[`Design tokens artifacts Design tokens JSON for visual-refresh matches t "light": "#f0fbff", }, }, + "color-background-flashbar-error": { + "$description": "The background color of error flash messages.", + "$value": { + "dark": "#db0000", + "light": "#db0000", + }, + }, + "color-background-flashbar-info": { + "$description": "The background color of info and in-progress flash messages.", + "$value": { + "dark": "#006ce0", + "light": "#006ce0", + }, + }, + "color-background-flashbar-success": { + "$description": "The background color of success flash messages.", + "$value": { + "dark": "#00802f", + "light": "#00802f", + }, + }, + "color-background-flashbar-warning": { + "$description": "The background color of warning flash messages.", + "$value": { + "dark": "#ffe347", + "light": "#ffe347", + }, + }, "color-background-home-header": { "$description": "The background color of the home header, displayed on the Service's home page.", "$value": { @@ -35392,6 +35712,10 @@ exports[`Design tokens artifacts Design tokens JSON for visual-refresh matches t "$description": "The border width of form fields.", "$value": "1px", }, + "border-width-flashbar-inline-start": { + "$description": "The inline-start border width of flash messages in flashbars.", + "$value": "0px", + }, "border-width-icon-big": { "$description": "The visual stroke width of big icons.", "$value": "3px", @@ -35673,6 +35997,34 @@ exports[`Design tokens artifacts Design tokens JSON for visual-refresh matches t "light": "#f0fbff", }, }, + "color-background-flashbar-error": { + "$description": "The background color of error flash messages.", + "$value": { + "dark": "#db0000", + "light": "#db0000", + }, + }, + "color-background-flashbar-info": { + "$description": "The background color of info and in-progress flash messages.", + "$value": { + "dark": "#006ce0", + "light": "#006ce0", + }, + }, + "color-background-flashbar-success": { + "$description": "The background color of success flash messages.", + "$value": { + "dark": "#00802f", + "light": "#00802f", + }, + }, + "color-background-flashbar-warning": { + "$description": "The background color of warning flash messages.", + "$value": { + "dark": "#ffe347", + "light": "#ffe347", + }, + }, "color-background-home-header": { "$description": "The background color of the home header, displayed on the Service's home page.", "$value": { @@ -38915,6 +39267,10 @@ exports[`Design tokens artifacts Design tokens JSON for visual-refresh matches t "$description": "The border width of form fields.", "$value": "1px", }, + "border-width-flashbar-inline-start": { + "$description": "The inline-start border width of flash messages in flashbars.", + "$value": "0px", + }, "border-width-icon-big": { "$description": "The visual stroke width of big icons.", "$value": "3px", @@ -39196,6 +39552,34 @@ exports[`Design tokens artifacts Design tokens JSON for visual-refresh matches t "light": "#f0fbff", }, }, + "color-background-flashbar-error": { + "$description": "The background color of error flash messages.", + "$value": { + "dark": "#db0000", + "light": "#db0000", + }, + }, + "color-background-flashbar-info": { + "$description": "The background color of info and in-progress flash messages.", + "$value": { + "dark": "#006ce0", + "light": "#006ce0", + }, + }, + "color-background-flashbar-success": { + "$description": "The background color of success flash messages.", + "$value": { + "dark": "#00802f", + "light": "#00802f", + }, + }, + "color-background-flashbar-warning": { + "$description": "The background color of warning flash messages.", + "$value": { + "dark": "#ffe347", + "light": "#ffe347", + }, + }, "color-background-home-header": { "$description": "The background color of the home header, displayed on the Service's home page.", "$value": { @@ -41649,8 +42033,8 @@ exports[`Design tokens artifacts Design tokens JSON for visual-refresh matches t "color-text-status-error": { "$description": "The color of error text and icons. For example: form field error text and error status indicators.", "$value": { - "dark": "#ff7a7a", - "light": "#db0000", + "dark": "#f9f9fa", + "light": "#f9f9fa", }, }, "color-text-status-inactive": { @@ -41663,15 +42047,15 @@ exports[`Design tokens artifacts Design tokens JSON for visual-refresh matches t "color-text-status-info": { "$description": "The color of info text and icons. For example: info status indicators and info alert icon.", "$value": { - "dark": "#42b4ff", - "light": "#006ce0", + "dark": "#f9f9fa", + "light": "#f9f9fa", }, }, "color-text-status-success": { "$description": "The color of success text and icons. For example: success status indicators and success alert icon.", "$value": { - "dark": "#2bb534", - "light": "#00802f", + "dark": "#f9f9fa", + "light": "#f9f9fa", }, }, "color-text-status-warning": { @@ -42438,6 +42822,10 @@ exports[`Design tokens artifacts Design tokens JSON for visual-refresh matches t "$description": "The border width of form fields.", "$value": "1px", }, + "border-width-flashbar-inline-start": { + "$description": "The inline-start border width of flash messages in flashbars.", + "$value": "0px", + }, "border-width-icon-big": { "$description": "The visual stroke width of big icons.", "$value": "3px", @@ -42719,6 +43107,34 @@ exports[`Design tokens artifacts Design tokens JSON for visual-refresh matches t "light": "#f0fbff", }, }, + "color-background-flashbar-error": { + "$description": "The background color of error flash messages.", + "$value": { + "dark": "#db0000", + "light": "#db0000", + }, + }, + "color-background-flashbar-info": { + "$description": "The background color of info and in-progress flash messages.", + "$value": { + "dark": "#006ce0", + "light": "#006ce0", + }, + }, + "color-background-flashbar-success": { + "$description": "The background color of success flash messages.", + "$value": { + "dark": "#00802f", + "light": "#00802f", + }, + }, + "color-background-flashbar-warning": { + "$description": "The background color of warning flash messages.", + "$value": { + "dark": "#ffe347", + "light": "#ffe347", + }, + }, "color-background-home-header": { "$description": "The background color of the home header, displayed on the Service's home page.", "$value": { @@ -45200,8 +45616,8 @@ exports[`Design tokens artifacts Design tokens JSON for visual-refresh matches t "color-text-status-warning": { "$description": "The color of warning icons.", "$value": { - "dark": "#fbd332", - "light": "#855900", + "dark": "#0f141a", + "light": "#0f141a", }, }, "color-text-toggle-button-icon-pressed": { @@ -45961,6 +46377,10 @@ exports[`Design tokens artifacts Design tokens JSON for visual-refresh matches t "$description": "The border width of form fields.", "$value": "1px", }, + "border-width-flashbar-inline-start": { + "$description": "The inline-start border width of flash messages in flashbars.", + "$value": "0px", + }, "border-width-icon-big": { "$description": "The visual stroke width of big icons.", "$value": "3px", @@ -46242,6 +46662,34 @@ exports[`Design tokens artifacts Design tokens JSON for visual-refresh matches t "light": "#001129", }, }, + "color-background-flashbar-error": { + "$description": "The background color of error flash messages.", + "$value": { + "dark": "#db0000", + "light": "#db0000", + }, + }, + "color-background-flashbar-info": { + "$description": "The background color of info and in-progress flash messages.", + "$value": { + "dark": "#006ce0", + "light": "#006ce0", + }, + }, + "color-background-flashbar-success": { + "$description": "The background color of success flash messages.", + "$value": { + "dark": "#00802f", + "light": "#00802f", + }, + }, + "color-background-flashbar-warning": { + "$description": "The background color of warning flash messages.", + "$value": { + "dark": "#ffe347", + "light": "#ffe347", + }, + }, "color-background-home-header": { "$description": "The background color of the home header, displayed on the Service's home page.", "$value": { @@ -49484,6 +49932,10 @@ exports[`Design tokens artifacts Design tokens JSON for visual-refresh matches t "$description": "The border width of form fields.", "$value": "1px", }, + "border-width-flashbar-inline-start": { + "$description": "The inline-start border width of flash messages in flashbars.", + "$value": "0px", + }, "border-width-icon-big": { "$description": "The visual stroke width of big icons.", "$value": "3px", @@ -49765,6 +50217,34 @@ exports[`Design tokens artifacts Design tokens JSON for visual-refresh matches t "light": "#001129", }, }, + "color-background-flashbar-error": { + "$description": "The background color of error flash messages.", + "$value": { + "dark": "#db0000", + "light": "#db0000", + }, + }, + "color-background-flashbar-info": { + "$description": "The background color of info and in-progress flash messages.", + "$value": { + "dark": "#006ce0", + "light": "#006ce0", + }, + }, + "color-background-flashbar-success": { + "$description": "The background color of success flash messages.", + "$value": { + "dark": "#00802f", + "light": "#00802f", + }, + }, + "color-background-flashbar-warning": { + "$description": "The background color of warning flash messages.", + "$value": { + "dark": "#ffe347", + "light": "#ffe347", + }, + }, "color-background-home-header": { "$description": "The background color of the home header, displayed on the Service's home page.", "$value": { @@ -53007,6 +53487,10 @@ exports[`Design tokens artifacts Design tokens JSON for visual-refresh matches t "$description": "The border width of form fields.", "$value": "1px", }, + "border-width-flashbar-inline-start": { + "$description": "The inline-start border width of flash messages in flashbars.", + "$value": "0px", + }, "border-width-icon-big": { "$description": "The visual stroke width of big icons.", "$value": "3px", @@ -53288,6 +53772,34 @@ exports[`Design tokens artifacts Design tokens JSON for visual-refresh matches t "light": "#f0fbff", }, }, + "color-background-flashbar-error": { + "$description": "The background color of error flash messages.", + "$value": { + "dark": "#db0000", + "light": "#db0000", + }, + }, + "color-background-flashbar-info": { + "$description": "The background color of info and in-progress flash messages.", + "$value": { + "dark": "#006ce0", + "light": "#006ce0", + }, + }, + "color-background-flashbar-success": { + "$description": "The background color of success flash messages.", + "$value": { + "dark": "#00802f", + "light": "#00802f", + }, + }, + "color-background-flashbar-warning": { + "$description": "The background color of warning flash messages.", + "$value": { + "dark": "#ffe347", + "light": "#ffe347", + }, + }, "color-background-home-header": { "$description": "The background color of the home header, displayed on the Service's home page.", "$value": { diff --git a/src/flashbar/flash.tsx b/src/flashbar/flash.tsx index 22a9ab794a..867a3a57b4 100644 --- a/src/flashbar/flash.tsx +++ b/src/flashbar/flash.tsx @@ -30,7 +30,7 @@ import InternalLiveRegion from '../live-region/internal'; import InternalSpinner from '../spinner/internal'; import { GeneratedAnalyticsMetadataFlashbarDismiss } from './analytics-metadata/interfaces'; import { FlashbarProps } from './interfaces'; -import { getDismissButtonStyles, getFlashStyles } from './style'; +import { getDismissButtonStyles, getFlashIconStyles, getFlashStyles } from './style'; import analyticsSelectors from './analytics-metadata/styles.css.js'; import styles from './styles.css.js'; @@ -238,7 +238,11 @@ export const Flash = React.forwardRef( role="group" aria-labelledby={`${flashIconId} ${flashMessageId}`} > -