@srvycool/ds
Advanced tools
Comparing version 1.4.1 to 1.5.0
export * from './components/Button/Button'; | ||
export * from './components/ThemeProvider/ThemeProvider'; | ||
export * from './components/Typography/Typography'; |
@@ -15,1 +15,2 @@ "use strict"; | ||
__exportStar(require("./components/ThemeProvider/ThemeProvider"), exports); | ||
__exportStar(require("./components/Typography/Typography"), exports); |
@@ -1,2 +0,94 @@ | ||
import { DefaultTheme } from 'styled-components'; | ||
export declare const theme: DefaultTheme; | ||
export interface Theme { | ||
colors: { | ||
primary900: string; | ||
primary800: string; | ||
primary700: string; | ||
primary600: string; | ||
primary500: string; | ||
primary400: string; | ||
primary300: string; | ||
primary200: string; | ||
primary100: string; | ||
grey900: string; | ||
grey800: string; | ||
grey700: string; | ||
grey600: string; | ||
grey500: string; | ||
grey400: string; | ||
grey300: string; | ||
grey200: string; | ||
grey100: string; | ||
grey000: string; | ||
}; | ||
breakpoints: string[]; | ||
mediaQueries: { | ||
sm: string; | ||
md: string; | ||
lg: string; | ||
xl: string; | ||
}; | ||
space: { | ||
zero: string; | ||
xxs: string; | ||
xs: string; | ||
s: string; | ||
m: string; | ||
l: string; | ||
xl: string; | ||
xxl: string; | ||
xxxl: string; | ||
}; | ||
shadows: { | ||
primary: string; | ||
}; | ||
radii: { | ||
primary: string; | ||
}; | ||
borders: { | ||
primary: string; | ||
}; | ||
fonts: { | ||
primary: string; | ||
secondary: string; | ||
}; | ||
fontSizes: string[]; | ||
typography: { | ||
heading1: { | ||
fontSize: string; | ||
lineHeight: string; | ||
fontFamily: string; | ||
}; | ||
heading2: { | ||
fontSize: string; | ||
lineHeight: string; | ||
fontFamily: string; | ||
}; | ||
heading3: { | ||
fontSize: string; | ||
lineHeight: string; | ||
fontFamily: string; | ||
}; | ||
subtitle: { | ||
fontSize: string; | ||
lineHeight: string; | ||
fontFamily: string; | ||
}; | ||
body1: { | ||
fontSize: string; | ||
lineHeight: string; | ||
fontFamily: string; | ||
}; | ||
body2: { | ||
fontSize: string; | ||
lineHeight: string; | ||
fontFamily: string; | ||
}; | ||
caption: { | ||
fontSize: string; | ||
lineHeight: string; | ||
fontFamily: string; | ||
textTransform: string; | ||
}; | ||
}; | ||
} | ||
export declare const theme: Theme; |
@@ -53,6 +53,44 @@ "use strict"; | ||
const fonts = { | ||
primary: 'HammersmithOne', | ||
primary: 'Hammersmith One', | ||
secondary: 'Montserrat', | ||
}; | ||
const fontSizes = ['12px', '16px', '18px', '20px', '22px', '24px']; | ||
const typography = { | ||
heading1: { | ||
fontSize: '24px', | ||
lineHeight: '1.2', | ||
fontFamily: fonts.primary, | ||
}, | ||
heading2: { | ||
fontSize: '22px', | ||
lineHeight: '1.2', | ||
fontFamily: fonts.primary, | ||
}, | ||
heading3: { | ||
fontSize: '20px', | ||
lineHeight: '1.2', | ||
fontFamily: fonts.primary, | ||
}, | ||
subtitle: { | ||
fontSize: '18px', | ||
lineHeight: '1.2', | ||
fontFamily: fonts.secondary, | ||
}, | ||
body1: { | ||
fontSize: '16px', | ||
lineHeight: '1.2', | ||
fontFamily: fonts.secondary, | ||
}, | ||
body2: { | ||
fontSize: '12px', | ||
lineHeight: '1.2', | ||
fontFamily: fonts.secondary, | ||
}, | ||
caption: { | ||
fontSize: '12px', | ||
lineHeight: '1.2', | ||
fontFamily: fonts.secondary, | ||
textTransform: 'uppercase', | ||
}, | ||
}; | ||
exports.theme = { | ||
@@ -68,2 +106,3 @@ colors, | ||
fontSizes, | ||
typography, | ||
}; |
{ | ||
"name": "@srvycool/ds", | ||
"version": "1.4.1", | ||
"version": "1.5.0", | ||
"description": "design system for srvy.cool", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
6859964
79
13064