Open paul-thompson1 opened 5 months ago
theme.ts
theme.ts
Created dark theme and modified the light theme. Today, we'll create an example component to test the theme. Need to ask Natalia about the lineHeight
values. At the moment the value is too large. If we define the lineHeight
for the button we get a very large button height. Here are some screenshots of the light and dark theme:
And a screenshot of the button with the current lineHeight
value:
Background Context
While working on #22 we discovered that Figma and Storybook can't directly integrate with one another. This work will allow us to integrate with Storybook.
User Story
As a developer I want to create a theme So that I can use the Figma design tokens
Definition of Done
What means that this task is done?
Acceptance Criteria
Given xxxx When xxxx Then xxxx
Resources
How to generate variables.js file in build-styles directory
Example theme code