Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add stories for all transparent colors #1019

Merged
merged 5 commits into from
Aug 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/storybook/stories/Color/DataVis/Charts.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export const HighchartsAccentColors = () => {
field: 'name',
rowHeader: true,
renderCell: row => {
return <InlineCode value={row.name} copyClipboard />
return <InlineCode value={row.name} copyClipboard cssVar />
},
},
{
Expand Down
6 changes: 3 additions & 3 deletions docs/storybook/stories/Color/Functional/Display.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export const Foreground = () => {
field: 'name',
rowHeader: true,
renderCell: row => {
return <InlineCode value={row.name} copyClipboard />
return <InlineCode value={row.name} copyClipboard cssVar />
},
},
{
Expand Down Expand Up @@ -96,7 +96,7 @@ export const Background = () => {
field: 'name',
rowHeader: true,
renderCell: row => {
return <InlineCode value={row.name} copyClipboard />
return <InlineCode value={row.name} copyClipboard cssVar />
},
},
{
Expand Down Expand Up @@ -144,7 +144,7 @@ export const Border = () => {
field: 'name',
rowHeader: true,
renderCell: row => {
return <InlineCode value={row.name} copyClipboard />
return <InlineCode value={row.name} copyClipboard cssVar />
},
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export const Foreground = () => {
field: 'name',
rowHeader: true,
renderCell: row => {
return <InlineCode value={row.name} copyClipboard />
return <InlineCode value={row.name} copyClipboard cssVar />
},
},
{
Expand Down Expand Up @@ -91,7 +91,7 @@ export const Background = () => {
field: 'name',
rowHeader: true,
renderCell: row => {
return <InlineCode value={row.name} copyClipboard />
return <InlineCode value={row.name} copyClipboard cssVar />
},
},
{
Expand Down Expand Up @@ -137,7 +137,7 @@ export const Border = () => {
field: 'name',
rowHeader: true,
renderCell: row => {
return <InlineCode value={row.name} copyClipboard />
return <InlineCode value={row.name} copyClipboard cssVar />
},
},
{
Expand Down Expand Up @@ -183,7 +183,7 @@ export const Shadow = () => {
field: 'name',
rowHeader: true,
renderCell: row => {
return <InlineCode value={row.name} copyClipboard />
return <InlineCode value={row.name} copyClipboard cssVar />
},
},
{
Expand Down
28 changes: 14 additions & 14 deletions docs/storybook/stories/Color/Patterns/AllPatterns.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export const Avatar = () => {
field: 'name',
rowHeader: true,
renderCell: row => {
return <InlineCode value={row.name} copyClipboard />
return <InlineCode value={row.name} copyClipboard cssVar />
},
},
{
Expand Down Expand Up @@ -124,7 +124,7 @@ export const Control = () => {
field: 'name',
rowHeader: true,
renderCell: row => {
return <InlineCode value={row.name} copyClipboard />
return <InlineCode value={row.name} copyClipboard cssVar />
},
},
{
Expand Down Expand Up @@ -177,7 +177,7 @@ export const Counter = () => {
field: 'name',
rowHeader: true,
renderCell: row => {
return <InlineCode value={row.name} copyClipboard />
return <InlineCode value={row.name} copyClipboard cssVar />
},
},
{
Expand Down Expand Up @@ -242,7 +242,7 @@ export const Button = () => {
field: 'name',
rowHeader: true,
renderCell: row => {
return <InlineCode value={row.name} copyClipboard />
return <InlineCode value={row.name} copyClipboard cssVar />
},
},
{
Expand Down Expand Up @@ -288,7 +288,7 @@ export const Focus = () => {
field: 'name',
rowHeader: true,
renderCell: row => {
return <InlineCode value={row.name} copyClipboard />
return <InlineCode value={row.name} copyClipboard cssVar />
},
},
{
Expand Down Expand Up @@ -341,7 +341,7 @@ export const Header = () => {
field: 'name',
rowHeader: true,
renderCell: row => {
return <InlineCode value={row.name} copyClipboard />
return <InlineCode value={row.name} copyClipboard cssVar />
},
},
{
Expand Down Expand Up @@ -394,7 +394,7 @@ export const Menu = () => {
field: 'name',
rowHeader: true,
renderCell: row => {
return <InlineCode value={row.name} copyClipboard />
return <InlineCode value={row.name} copyClipboard cssVar />
},
},
{
Expand Down Expand Up @@ -447,7 +447,7 @@ export const Overlay = () => {
field: 'name',
rowHeader: true,
renderCell: row => {
return <InlineCode value={row.name} copyClipboard />
return <InlineCode value={row.name} copyClipboard cssVar />
},
},
{
Expand Down Expand Up @@ -500,7 +500,7 @@ export const SelectMenu = () => {
field: 'name',
rowHeader: true,
renderCell: row => {
return <InlineCode value={row.name} copyClipboard />
return <InlineCode value={row.name} copyClipboard cssVar />
},
},
{
Expand Down Expand Up @@ -553,7 +553,7 @@ export const SideNav = () => {
field: 'name',
rowHeader: true,
renderCell: row => {
return <InlineCode value={row.name} copyClipboard />
return <InlineCode value={row.name} copyClipboard cssVar />
},
},
{
Expand Down Expand Up @@ -606,7 +606,7 @@ export const TimelineBadge = () => {
field: 'name',
rowHeader: true,
renderCell: row => {
return <InlineCode value={row.name} copyClipboard />
return <InlineCode value={row.name} copyClipboard cssVar />
},
},
{
Expand Down Expand Up @@ -659,7 +659,7 @@ export const UnderlineNav = () => {
field: 'name',
rowHeader: true,
renderCell: row => {
return <InlineCode value={row.name} copyClipboard />
return <InlineCode value={row.name} copyClipboard cssVar />
},
},
{
Expand Down Expand Up @@ -709,7 +709,7 @@ export const Selection = () => {
field: 'name',
rowHeader: true,
renderCell: row => {
return <InlineCode value={row.name} copyClipboard />
return <InlineCode value={row.name} copyClipboard cssVar />
},
},
{
Expand Down Expand Up @@ -762,7 +762,7 @@ export const Tooltip = () => {
field: 'name',
rowHeader: true,
renderCell: row => {
return <InlineCode value={row.name} copyClipboard />
return <InlineCode value={row.name} copyClipboard cssVar />
},
},
{
Expand Down
Loading