Skip to content

Commit

Permalink
Update theme with new typography and border color
Browse files Browse the repository at this point in the history
  • Loading branch information
kattylucy committed Oct 22, 2024
1 parent 516f774 commit 2547ddb
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion fabric/src/theme/tokens/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const colors = {
backgroundInverted: grayScale[800],

borderPrimary: grayScale[50],
borderSecondary: grayScale[300],
borderSecondary: 'rgba(207, 207, 207, 0.50)',

statusDefault,
statusInfo,
Expand Down
6 changes: 6 additions & 0 deletions fabric/src/theme/tokens/typography.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
import { ThemeTypography } from '../types'

const typography: ThemeTypography = {
heading: {
fontSize: 36,
lineHeight: 1.4,
fontWeight: 500,
color: 'textPrimary',
},
heading1: {
fontSize: [20, 24],
lineHeight: 1.4,
Expand Down
1 change: 1 addition & 0 deletions fabric/src/theme/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ type ThemeSpace = SpaceValue[] & {
// Typography

export type TextVariantName =
| 'heading'
| 'heading1'
| 'heading2'
| 'heading3'
Expand Down

0 comments on commit 2547ddb

Please sign in to comment.