Implement style guide in Tailwind CSS config #70
Labels
Category: User Experience
Issues pertaining to user-facing functionality
Design
Tasks for user interface or user experience
Type: Internal
"Chore" tasks that are needed for features
Milestone
Overview
As a developer, I should be able to use standard Tailwind CSS utilities to systematically customize font sizes and colors.
Proposal
Tailwind CSS supports theme customization. The
tailwind.config.js
file should be updated to create a theme for color and typography that uses a format like the following:display-large
neutral
For each color, we should use a format like
[color]-[token]
where[color]
is the identifier for content and[token]
is a value uniquely identify a color.(e.g.
primary-1
would be the name of the lightest color in the primary set of colors).So in code, we would be able to write something like the following:
Supplementary Information
Type Scale (Headings)
Type Scale (Content)
Color Usage
See the full spec for the style guide here.
The text was updated successfully, but these errors were encountered: