-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename ‘Highlight’ component to ‘Spotlight’
- Loading branch information
1 parent
a480e39
commit 9d11521
Showing
19 changed files
with
115 additions
and
115 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...es/css/src/components/highlight/README.md → ...es/css/src/components/spotlight/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Highlight | ||
# Spotlight | ||
|
||
Benadrukt een sectie op een pagina middels een opvallende achtergrondkleur. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
/** | ||
* @license EUPL-1.2+ | ||
* Copyright (c) 2023 Gemeente Amsterdam | ||
*/ | ||
|
||
.amsterdam-spotlight--blue { | ||
background-color: var(--amsterdam-spotlight-blue-background-color); | ||
} | ||
|
||
.amsterdam-spotlight--dark-green { | ||
background-color: var(--amsterdam-spotlight-dark-green-background-color); | ||
} | ||
|
||
.amsterdam-spotlight--green { | ||
background-color: var(--amsterdam-spotlight-green-background-color); | ||
} | ||
|
||
.amsterdam-spotlight--light-blue { | ||
background-color: var(--amsterdam-spotlight-light-blue-background-color); | ||
} | ||
|
||
.amsterdam-spotlight--magenta { | ||
background-color: var(--amsterdam-spotlight-magenta-background-color); | ||
} | ||
|
||
.amsterdam-spotlight--orange { | ||
background-color: var(--amsterdam-spotlight-orange-background-color); | ||
} | ||
|
||
.amsterdam-spotlight--purple { | ||
background-color: var(--amsterdam-spotlight-purple-background-color); | ||
} | ||
|
||
.amsterdam-spotlight--yellow { | ||
background-color: var(--amsterdam-spotlight-yellow-background-color); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# React Spotlight component | ||
|
||
[Spotlight documentation](../../../css/src/spotlight/README.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
export { Spotlight } from './Spotlight' | ||
export type { SpotlightProps } from './Spotlight' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...omponents/amsterdam/highlight.tokens.json → ...omponents/amsterdam/spotlight.tokens.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
43 changes: 0 additions & 43 deletions
43
storybook/storybook-react/src/Highlight/Highlight.docs.mdx
This file was deleted.
Oops, something went wrong.
43 changes: 43 additions & 0 deletions
43
storybook/storybook-react/src/Spotlight/Spotlight.docs.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
import { Canvas, Controls, Markdown, Meta, Primary } from "@storybook/blocks"; | ||
import * as SpotlightStories from "./Spotlight.stories.tsx"; | ||
import README from "../../../../packages/css/src/components/spotlight/README.md?raw"; | ||
|
||
<Meta of={SpotlightStories} /> | ||
|
||
<Markdown>{README}</Markdown> | ||
|
||
<Primary /> | ||
|
||
<Controls /> | ||
|
||
### Blauw | ||
|
||
<Canvas of={SpotlightStories.Blue} /> | ||
|
||
### Donkergroen | ||
|
||
<Canvas of={SpotlightStories.DarkGreen} /> | ||
|
||
### Geel | ||
|
||
<Canvas of={SpotlightStories.Yellow} /> | ||
|
||
### Groen | ||
|
||
<Canvas of={SpotlightStories.Green} /> | ||
|
||
### Lichtblauw | ||
|
||
<Canvas of={SpotlightStories.LightBlue} /> | ||
|
||
### Magenta | ||
|
||
<Canvas of={SpotlightStories.Magenta} /> | ||
|
||
### Oranje | ||
|
||
<Canvas of={SpotlightStories.Orange} /> | ||
|
||
### Paars | ||
|
||
<Canvas of={SpotlightStories.Purple} /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters