Skip to content

Commit

Permalink
chore: fix design on dark stories
Browse files Browse the repository at this point in the history
  • Loading branch information
TheSisb authored and richbachman committed Aug 25, 2021
1 parent 0347aef commit a4c6e5c
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import {useUID} from '@twilio-paste/uid-library';
import {action} from '@storybook/addon-actions';
import {withKnobs, boolean, text, select} from '@storybook/addon-knobs';
import {Anchor} from '@twilio-paste/anchor';
import {useTheme} from '@twilio-paste/theme';
import {Box} from '@twilio-paste/box';
import {Text} from '@twilio-paste/text';
import {InformationIcon} from '@twilio-paste/icons/esm/InformationIcon';
Expand Down Expand Up @@ -722,6 +723,7 @@ export const CustomInput: React.FC = () => {
const [valueTwoVariant, setValueTwoVariant] = React.useState('');
const [valueThree, setValueThree] = React.useState('');
const [valueThreeVariant, setValueThreeVariant] = React.useState('');
const theme = useTheme();
return (
<Stack orientation="vertical" spacing="space60">
<Box>
Expand Down Expand Up @@ -751,6 +753,7 @@ export const CustomInput: React.FC = () => {
</Box>
<CustomizationProvider
baseTheme="default"
theme={theme}
elements={{
INPUT: {
backgroundColor: 'colorBackgroundPrimaryWeakest',
Expand Down Expand Up @@ -876,6 +879,7 @@ export const CustomInput: React.FC = () => {
</CustomizationProvider>
<CustomizationProvider
baseTheme="default"
theme={theme}
elements={{
NEW_INPUT: {
backgroundColor: 'colorBackgroundDestructiveWeakest',
Expand Down

0 comments on commit a4c6e5c

Please sign in to comment.