-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
81a3844
commit 56d0862
Showing
12 changed files
with
1,575 additions
and
181 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
import { LineHeights } from '@morfeo/spec'; | ||
|
||
export const lineHeights: LineHeights = { | ||
body: '1.3em', | ||
heading: '1.6em', | ||
body: '1.7', | ||
heading: '1.5', | ||
none: '1', | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,29 @@ | ||
import { Sizes } from '@morfeo/spec'; | ||
|
||
export const sizes: Sizes = { | ||
export const sizes = { | ||
'2xs': '8px', | ||
xs: '16px', | ||
s: '24px', | ||
m: '32px', | ||
l: '40px', | ||
xl: '48px', | ||
'2xl': '56px', | ||
25: '25%', | ||
50: '50%', | ||
75: '75%', | ||
100: '100%', | ||
'25vh': '25vh', | ||
'50vh': '50vh', | ||
'75vh': '75vh', | ||
'100vh': '100vh', | ||
'25vw': '25vw', | ||
'50vw': '50vw', | ||
'75vw': '75vw', | ||
'100vw': '100vw', | ||
none: '0px', | ||
}; | ||
|
||
type LocalSizes = typeof sizes; | ||
|
||
declare module '@morfeo/spec' { | ||
export interface Sizes extends LocalSizes {} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,20 @@ | ||
import { Spacings } from '@morfeo/spec'; | ||
|
||
export const spacings: Spacings = { | ||
'2xs': '8px', | ||
xs: '16px', | ||
s: '24px', | ||
m: '32px', | ||
l: '40px', | ||
xl: '48px', | ||
'2xl': '56px', | ||
none: '0px', | ||
export const spacings = { | ||
none: '0rem', | ||
'3xs': '.25rem', | ||
'2xs': '.5rem', | ||
xs: '1rem', | ||
s: '1.5rem', | ||
m: '2rem', | ||
l: '2.5rem', | ||
xl: '3rem', | ||
'2xl': '3.5rem', | ||
'3xl': '4rem', | ||
'4xl': '5rem', | ||
'5xl': '6rem', | ||
}; | ||
|
||
type LocalSpacings = typeof spacings; | ||
|
||
declare module '@morfeo/spec' { | ||
export interface Spacings extends LocalSpacings {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters