Skip to content

Commit

Permalink
1.1.5-beta1c
Browse files Browse the repository at this point in the history
  • Loading branch information
ningacoding committed Aug 10, 2024
1 parent 21fed89 commit cc4e05c
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
28 changes: 14 additions & 14 deletions modules/typography.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,20 @@ import Color from 'color';
import EStyleSheet from 'react-native-extended-stylesheet';

export const typography = () => ({
'text-xs': {fontSize: '0.75rem', lineHeight: '1rem'},
'text-sm': {fontSize: '0.875rem', lineHeight: '1.25rem'},
'text-base': {fontSize: '1rem', lineHeight: '1.5rem'},
'text': {fontFamily: '$defaultFontFamily', fontSize: '1rem', lineHeight: '1.5rem'},
'text-lg': {fontSize: '1.125rem', lineHeight: '1.75rem'},
'text-xl': {fontSize: '1.25rem', lineHeight: '1.75rem'},
'text-2xl': {fontSize: '1.5rem', lineHeight: '2rem'},
'text-3xl': {fontSize: '1.875rem', lineHeight: '2.25rem'},
'text-4xl': {fontSize: '2.25rem', lineHeight: '2.5rem'},
'text-5xl': {fontSize: '3rem', lineHeight: '3.5rem'},
'text-6xl': {fontSize: '3.75rem', lineHeight: '4.25rem'},
'text-7xl': {fontSize: '4.5rem', lineHeight: '5rem'},
'text-8xl': {fontSize: '6rem', lineHeight: '6.5rem'},
'text-9xl': {fontSize: '8rem', lineHeight: '8.5rem'},
'text-xs': {fontSize: '0.75rem'},
'text-sm': {fontSize: '0.875rem'},
'text-base': {fontSize: '1rem'},
'text': {fontFamily: '$defaultFontFamily', fontSize: '1rem'},
'text-lg': {fontSize: '1.125rem'},
'text-xl': {fontSize: '1.25rem'},
'text-2xl': {fontSize: '1.5rem'},
'text-3xl': {fontSize: '1.875rem'},
'text-4xl': {fontSize: '2.25rem'},
'text-5xl': {fontSize: '3rem'},
'text-6xl': {fontSize: '3.75rem'},
'text-7xl': {fontSize: '4.5rem'},
'text-8xl': {fontSize: '6rem'},
'text-9xl': {fontSize: '8rem'},

'italic': {fontStyle: 'italic'},
'not-italic': {fontStyle: 'normal'},
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "klazify",
"version": "1.1.5-beta1c",
"version": "1.1.5-beta1d",
"description": "Fast, Reusable, React Native stylesheets classes.",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit cc4e05c

Please sign in to comment.