demo-orgs: Use banners for org settings demo organization warning.

Migrate the demo organization warning that's shown on all the tabs
for organization settings to use the shared banner code.

Updates links in the current warning to be buttons in the banner,
and matches the navbar alert banner for demo organizations.

Fixes #34447.
This commit is contained in:
Lauryn Menard
2025-04-30 17:12:21 +02:00
committed by Tim Abbott
parent 43b13c938b
commit fde3e01236
4 changed files with 47 additions and 74 deletions

View File

@@ -1420,24 +1420,6 @@
hsl(200deg 79% 66%)
);
/* Demo Organization colors */
--color-text-settings-demo-organization-warning: light-dark(
hsl(4deg 58% 33%),
hsl(3deg 73% 80%)
);
--color-background-settings-demo-organization-warning: light-dark(
hsl(4deg 35% 90%),
hsl(0deg 60% 19%)
);
--color-border-settings-demo-organization-warning: light-dark(
hsl(3deg 57% 33% / 40%),
hsl(3deg 73% 74% / 40%)
);
--color-focus-outline-settings-convert-demo-organization: light-dark(
hsl(200deg 100% 25%),
hsl(200deg 79% 66%)
);
/* Widgets colors */
--color-border-dropdown-widget-button: light-dark(
hsl(0deg 0% 80%),