diff --git a/packages/css/src/components/spotlight/spotlight.scss b/packages/css/src/components/spotlight/spotlight.scss index 7ad4f952a3..e3ce9d208b 100644 --- a/packages/css/src/components/spotlight/spotlight.scss +++ b/packages/css/src/components/spotlight/spotlight.scss @@ -3,22 +3,22 @@ * Copyright Gemeente Amsterdam */ -.ams-spotlight--blue { - background-color: var(--ams-spotlight-blue-background-color); -} - -.ams-spotlight--dark-blue { - background-color: var(--ams-spotlight-dark-blue-background-color); +.ams-spotlight--azure { + background-color: var(--ams-spotlight-azure-background-color); } -.ams-spotlight--dark-green { - background-color: var(--ams-spotlight-dark-green-background-color); +.ams-spotlight--blue { + background-color: var(--ams-spotlight-blue-background-color); } .ams-spotlight--green { background-color: var(--ams-spotlight-green-background-color); } +.ams-spotlight--lime { + background-color: var(--ams-spotlight-lime-background-color); +} + .ams-spotlight--magenta { background-color: var(--ams-spotlight-magenta-background-color); } diff --git a/packages/react/src/Footer/FooterTop.tsx b/packages/react/src/Footer/FooterTop.tsx index b70f39b6ab..d7dcf052e1 100644 --- a/packages/react/src/Footer/FooterTop.tsx +++ b/packages/react/src/Footer/FooterTop.tsx @@ -12,7 +12,7 @@ export type FooterTopProps = PropsWithChildren> export const FooterTop = forwardRef( ({ children, className, ...restProps }: FooterTopProps, ref: ForwardedRef) => ( - + {children} ), diff --git a/packages/react/src/Spotlight/Spotlight.tsx b/packages/react/src/Spotlight/Spotlight.tsx index ab88d90e02..cc3e9799ba 100644 --- a/packages/react/src/Spotlight/Spotlight.tsx +++ b/packages/react/src/Spotlight/Spotlight.tsx @@ -6,16 +6,7 @@ import clsx from 'clsx' import { forwardRef, HTMLAttributes, PropsWithChildren } from 'react' -export const spotlightColors = [ - 'blue', - 'dark-blue', - 'dark-green', - 'green', - 'magenta', - 'orange', - 'purple', - 'yellow', -] as const +export const spotlightColors = ['azure', 'blue', 'green', 'lime', 'magenta', 'orange', 'purple', 'yellow'] as const type SpotlightColor = (typeof spotlightColors)[number] @@ -27,7 +18,7 @@ export type SpotlightProps = { } & PropsWithChildren> export const Spotlight = forwardRef( - ({ children, className, as: Tag = 'div', color = 'dark-blue', ...restProps }: SpotlightProps, ref: any) => ( + ({ children, className, as: Tag = 'div', color = 'blue', ...restProps }: SpotlightProps, ref: any) => ( {children} diff --git a/proprietary/tokens/src/components/ams/spotlight.tokens.json b/proprietary/tokens/src/components/ams/spotlight.tokens.json index 336636e29c..e6bc2022f4 100644 --- a/proprietary/tokens/src/components/ams/spotlight.tokens.json +++ b/proprietary/tokens/src/components/ams/spotlight.tokens.json @@ -1,16 +1,16 @@ { "ams": { "spotlight": { - "blue": { + "azure": { "background-color": { "value": "{ams.brand.color.azure.60}" } }, - "dark-blue": { + "blue": { "background-color": { "value": "{ams.brand.color.blue.60}" } }, - "dark-green": { + "green": { "background-color": { "value": "{ams.brand.color.green.60}" } }, - "green": { + "lime": { "background-color": { "value": "{ams.brand.color.lime.60}" } }, "magenta": { diff --git a/storybook/src/components/Spotlight/Spotlight.docs.mdx b/storybook/src/components/Spotlight/Spotlight.docs.mdx index 612190f276..4e37b88b6e 100644 --- a/storybook/src/components/Spotlight/Spotlight.docs.mdx +++ b/storybook/src/components/Spotlight/Spotlight.docs.mdx @@ -14,21 +14,21 @@ import README from "../../../../packages/css/src/components/spotlight/README.md? ## Examples -### Blue +### Azure - + -### Dark Blue +### Blue - + -### Dark Green +### Green - + ### Green - + ### Magenta diff --git a/storybook/src/components/Spotlight/Spotlight.stories.tsx b/storybook/src/components/Spotlight/Spotlight.stories.tsx index 4383b9f57d..37afba8063 100644 --- a/storybook/src/components/Spotlight/Spotlight.stories.tsx +++ b/storybook/src/components/Spotlight/Spotlight.stories.tsx @@ -17,7 +17,7 @@ const meta = { -
{quote}
+
{quote}
@@ -30,27 +30,27 @@ type Story = StoryObj export const Default: Story = {} -export const Blue: Story = { +export const Azure: Story = { args: { - color: 'blue', + color: 'azure', }, } -export const DarkBlue: Story = { +export const Blue: Story = { args: { - color: 'dark-blue', + color: 'blue', }, } -export const DarkGreen: Story = { +export const Green: Story = { args: { - color: 'dark-green', + color: 'green', }, } -export const Green: Story = { +export const Lime: Story = { args: { - color: 'green', + color: 'lime', }, }