-
Notifications
You must be signed in to change notification settings - Fork 107
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
278235c
commit 5b1cb95
Showing
3 changed files
with
229 additions
and
5 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -0,0 +1,226 @@ | ||
import { StyleProp, TextStyle } from "react-native"; | ||
type Style = StyleProp<TextStyle>; | ||
|
||
export var material: { | ||
display4: Style; | ||
display4Object: TextStyle; | ||
display3: Style; | ||
display3Object: TextStyle; | ||
display2: Style; | ||
display2Object: TextStyle; | ||
display1: Style; | ||
display1Object: TextStyle; | ||
headline: Style; | ||
headlineObject: TextStyle; | ||
title: Style; | ||
titleObject: TextStyle; | ||
subheading: Style; | ||
subheadingObject: TextStyle; | ||
body2: Style; | ||
body2Object: TextStyle; | ||
body1: Style; | ||
body1Object: TextStyle; | ||
caption: Style; | ||
captionObject: TextStyle; | ||
button: Style; | ||
buttonObject: TextStyle; | ||
|
||
display4White: Style; | ||
display4WhiteObject: TextStyle; | ||
display3White: Style; | ||
display3WhiteObject: TextStyle; | ||
display2White: Style; | ||
display2WhiteObject: TextStyle; | ||
display1White: Style; | ||
display1WhiteObject: TextStyle; | ||
headlineWhite: Style; | ||
headlineWhiteObject: TextStyle; | ||
titleWhite: Style; | ||
titleWhiteObject: TextStyle; | ||
subheadingWhite: Style; | ||
subheadingWhiteObject: TextStyle; | ||
body2White: Style; | ||
body2WhiteObject: TextStyle; | ||
body1White: Style; | ||
body1WhiteObject: TextStyle; | ||
captionWhite: Style; | ||
captionWhiteObject: TextStyle; | ||
buttonWhite: Style; | ||
buttonWhiteObject: TextStyle; | ||
}; | ||
|
||
export var human: { | ||
largeTitle: Style; | ||
largeTitleObject: TextStyle; | ||
title1: Style; | ||
title1Object: TextStyle; | ||
title2: Style; | ||
title2Object: TextStyle; | ||
title3: Style; | ||
title3Object: TextStyle; | ||
headline: Style; | ||
headlineObject: TextStyle; | ||
body: Style; | ||
bodyObject: TextStyle; | ||
callout: Style; | ||
calloutObject: TextStyle; | ||
subhead: Style; | ||
subheadObject: TextStyle; | ||
footnote: Style; | ||
footnoteObject: TextStyle; | ||
caption1: Style; | ||
caption1Object: TextStyle; | ||
caption2: Style; | ||
caption2Object: TextStyle; | ||
|
||
largeTitleWhite: Style; | ||
largeTitleWhiteObject: TextStyle; | ||
title1White: Style; | ||
title1WhiteObject: TextStyle; | ||
title2White: Style; | ||
title2WhiteObject: TextStyle; | ||
title3White: Style; | ||
title3WhiteObject: TextStyle; | ||
headlineWhite: Style; | ||
headlineWhiteObject: TextStyle; | ||
bodyWhite: Style; | ||
bodyWhiteObject: TextStyle; | ||
calloutWhite: Style; | ||
calloutWhiteObject: TextStyle; | ||
subheadWhite: Style; | ||
subheadWhiteObject: TextStyle; | ||
footnoteWhite: Style; | ||
footnoteWhiteObject: TextStyle; | ||
caption1White: Style; | ||
caption1WhiteObject: TextStyle; | ||
caption2White: Style; | ||
caption2WhiteObject: TextStyle; | ||
}; | ||
|
||
export var iOSUIKit: { | ||
largeTitleEmphasized: Style; | ||
largeTitleEmphasizedObject: TextStyle; | ||
title3Emphasized: Style; | ||
title3EmphasizedObject: TextStyle; | ||
title3: Style; | ||
title3Object: TextStyle; | ||
bodyEmphasized: Style; | ||
bodyEmphasizedObject: TextStyle; | ||
body: Style; | ||
bodyObject: TextStyle; | ||
subheadEmphasized: Style; | ||
subheadEmphasizedObject: TextStyle; | ||
subhead: Style; | ||
subheadObject: TextStyle; | ||
subheadShort: Style; | ||
subheadShortObject: TextStyle; | ||
callout: Style; | ||
calloutObject: TextStyle; | ||
footnoteEmphasized: Style; | ||
footnoteEmphasizedObject: TextStyle; | ||
footnote: Style; | ||
footnoteObject: TextStyle; | ||
caption2Emphasized: Style; | ||
caption2EmphasizedObject: TextStyle; | ||
caption2: Style; | ||
caption2Object: TextStyle; | ||
|
||
largeTitleEmphasizedWhite: Style; | ||
largeTitleEmphasizedWhiteObject: TextStyle; | ||
title3EmphasizedWhite: Style; | ||
title3EmphasizedWhiteObject: TextStyle; | ||
title3White: Style; | ||
title3WhiteObject: TextStyle; | ||
bodyEmphasizedWhite: Style; | ||
bodyEmphasizedWhiteObject: TextStyle; | ||
bodyWhite: Style; | ||
bodyWhiteObject: TextStyle; | ||
subheadEmphasizedWhite: Style; | ||
subheadEmphasizedWhiteObject: TextStyle; | ||
subheadWhite: Style; | ||
subheadWhiteObject: TextStyle; | ||
subheadShortWhite: Style; | ||
subheadShortWhiteObject: TextStyle; | ||
calloutWhite: Style; | ||
calloutWhiteObject: TextStyle; | ||
footnoteEmphasizedWhite: Style; | ||
footnoteEmphasizedWhiteObject: TextStyle; | ||
footnoteWhite: Style; | ||
footnoteWhiteObject: TextStyle; | ||
caption2EmphasizedWhite: Style; | ||
caption2EmphasizedWhiteObject: TextStyle; | ||
caption2White: Style; | ||
caption2WhiteObject: TextStyle; | ||
}; | ||
|
||
export var systemWeights: { | ||
thin: TextStyle; | ||
light: TextStyle; | ||
regular: TextStyle; | ||
semibold: TextStyle; | ||
bold: TextStyle; | ||
}; | ||
|
||
export var sanFranciscoWeights: { | ||
thin: TextStyle; | ||
ultraLight: TextStyle; | ||
light: TextStyle; | ||
regular: TextStyle; | ||
medium: TextStyle; | ||
semibold: TextStyle; | ||
bold: TextStyle; | ||
heavy: TextStyle; | ||
black: TextStyle; | ||
}; | ||
|
||
export var robotoWeights: { | ||
thin: TextStyle; | ||
light: TextStyle; | ||
regular: TextStyle; | ||
medium: TextStyle; | ||
bold: TextStyle; | ||
condensed: TextStyle; | ||
condensedBold: TextStyle; | ||
}; | ||
|
||
export var webWeights: { | ||
thin: TextStyle; | ||
ultraLight: TextStyle; | ||
light: TextStyle; | ||
regular: TextStyle; | ||
medium: TextStyle; | ||
semibold: TextStyle; | ||
bold: TextStyle; | ||
heavy: TextStyle; | ||
black: TextStyle; | ||
}; | ||
|
||
export var iOSColors: { | ||
red: string; | ||
orange: string; | ||
yellow: string; | ||
green: string; | ||
tealBlue: string; | ||
blue: string; | ||
purple: string; | ||
pink: string; | ||
|
||
white: string; | ||
customGray: string; | ||
lightGray: string; | ||
lightGray2: string; | ||
midGray: string; | ||
gray: string; | ||
black: string; | ||
}; | ||
|
||
export var materialColors: { | ||
blackPrimary: string; | ||
blackSecondary: string; | ||
blackTertiary: string; | ||
whitePrimary: string; | ||
whiteSecondary: string; | ||
whiteTertiary: string; | ||
}; | ||
|
||
export function sanFranciscoSpacing(fontSize: number): number; |