Skip to content

Commit

Permalink
support colors on backgrounds
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeldking committed May 13, 2023
1 parent 16c90bc commit 03adb26
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/types/core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export type DimensionValue =
export type BorderRadiusValue = 'small' | 'medium';
export type BorderColorValue = 'default' | 'light' | 'dark';
export type BorderSizeValue = 'thin' | 'thick' | 'thicker' | 'thickest';
export type BackgroundColorValue = 'light' | 'dark';
export type BackgroundColorValue = 'light' | 'dark' | ColorValue;

export type ColorValue =
| 'gray-100'
Expand Down
2 changes: 1 addition & 1 deletion stories/Gallery.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ const Template: Story = args => {
</View>
<View
width="size-2400"
backgroundColor="light"
backgroundColor="gray-800"
borderColor="dark"
borderLeftWidth="thin"
>
Expand Down

0 comments on commit 03adb26

Please sign in to comment.