@novalabsxyz/base-theme
Advanced tools
Comparing version 0.1.6-alpha.0 to 0.1.6-alpha.1
@@ -0,1 +1,2 @@ | ||
/// <reference types="react" /> | ||
export interface BaseThemePalette { | ||
@@ -59,54 +60,49 @@ white: string; | ||
} | ||
interface BaseThemeTypographyItem { | ||
color?: string; | ||
fontFamily: string; | ||
fontSize?: number; | ||
} | ||
export interface BaseThemeTypography { | ||
body0: BaseThemeTypographyItem; | ||
body1: BaseThemeTypographyItem; | ||
body2: BaseThemeTypographyItem; | ||
body3: BaseThemeTypographyItem; | ||
bold: BaseThemeTypographyItem; | ||
h0: BaseThemeTypographyItem; | ||
h1: BaseThemeTypographyItem; | ||
h2: BaseThemeTypographyItem; | ||
h3: BaseThemeTypographyItem; | ||
h4: BaseThemeTypographyItem; | ||
h5: BaseThemeTypographyItem; | ||
light: BaseThemeTypographyItem; | ||
medium: BaseThemeTypographyItem; | ||
regular: BaseThemeTypographyItem; | ||
subtitle1: BaseThemeTypographyItem; | ||
subtitle2: BaseThemeTypographyItem; | ||
subtitle3: BaseThemeTypographyItem; | ||
subtitle4: BaseThemeTypographyItem; | ||
button: BaseThemeTypographyItem; | ||
buttonLight: BaseThemeTypographyItem; | ||
buttonMedium: BaseThemeTypographyItem; | ||
buttonBold: BaseThemeTypographyItem; | ||
body0Light: BaseThemeTypographyItem; | ||
body0Medium: BaseThemeTypographyItem; | ||
body0Bold: BaseThemeTypographyItem; | ||
body1Light: BaseThemeTypographyItem; | ||
body1Medium: BaseThemeTypographyItem; | ||
body1Bold: BaseThemeTypographyItem; | ||
body2Light: BaseThemeTypographyItem; | ||
body2Medium: BaseThemeTypographyItem; | ||
body2Bold: BaseThemeTypographyItem; | ||
body3Light: BaseThemeTypographyItem; | ||
body3Medium: BaseThemeTypographyItem; | ||
body3Bold: BaseThemeTypographyItem; | ||
h1Light: BaseThemeTypographyItem; | ||
h1Medium: BaseThemeTypographyItem; | ||
h1Bold: BaseThemeTypographyItem; | ||
h2Light: BaseThemeTypographyItem; | ||
h2Medium: BaseThemeTypographyItem; | ||
h2Bold: BaseThemeTypographyItem; | ||
h3Light: BaseThemeTypographyItem; | ||
h3Medium: BaseThemeTypographyItem; | ||
h3Bold: BaseThemeTypographyItem; | ||
h4Light: BaseThemeTypographyItem; | ||
h4Medium: BaseThemeTypographyItem; | ||
h4Bold: BaseThemeTypographyItem; | ||
body0: React.CSSProperties; | ||
body1: React.CSSProperties; | ||
body2: React.CSSProperties; | ||
body3: React.CSSProperties; | ||
bold: React.CSSProperties; | ||
h0: React.CSSProperties; | ||
h1: React.CSSProperties; | ||
h2: React.CSSProperties; | ||
h3: React.CSSProperties; | ||
h4: React.CSSProperties; | ||
h5: React.CSSProperties; | ||
light: React.CSSProperties; | ||
medium: React.CSSProperties; | ||
regular: React.CSSProperties; | ||
subtitle1: React.CSSProperties; | ||
subtitle2: React.CSSProperties; | ||
subtitle3: React.CSSProperties; | ||
subtitle4: React.CSSProperties; | ||
button: React.CSSProperties; | ||
buttonLight: React.CSSProperties; | ||
buttonMedium: React.CSSProperties; | ||
buttonBold: React.CSSProperties; | ||
body0Light: React.CSSProperties; | ||
body0Medium: React.CSSProperties; | ||
body0Bold: React.CSSProperties; | ||
body1Light: React.CSSProperties; | ||
body1Medium: React.CSSProperties; | ||
body1Bold: React.CSSProperties; | ||
body2Light: React.CSSProperties; | ||
body2Medium: React.CSSProperties; | ||
body2Bold: React.CSSProperties; | ||
body3Light: React.CSSProperties; | ||
body3Medium: React.CSSProperties; | ||
body3Bold: React.CSSProperties; | ||
h1Light: React.CSSProperties; | ||
h1Medium: React.CSSProperties; | ||
h1Bold: React.CSSProperties; | ||
h2Light: React.CSSProperties; | ||
h2Medium: React.CSSProperties; | ||
h2Bold: React.CSSProperties; | ||
h3Light: React.CSSProperties; | ||
h3Medium: React.CSSProperties; | ||
h3Bold: React.CSSProperties; | ||
h4Light: React.CSSProperties; | ||
h4Medium: React.CSSProperties; | ||
h4Bold: React.CSSProperties; | ||
} | ||
@@ -121,3 +117,2 @@ export interface BaseThemeBreakpoints { | ||
} | ||
export {}; | ||
//# sourceMappingURL=baseThemeTypes.d.ts.map |
export { BaseThemeTypography, BaseThemePalette, BaseThemeBreakpoints } from "./baseThemeTypes"; | ||
declare const NovaFont: { | ||
bold: string; | ||
boldItalic: string; | ||
italic: string; | ||
light: string; | ||
medium: string; | ||
mediumItalic: string; | ||
regular: string; | ||
semiBold: string; | ||
}; | ||
declare const HeliumFont: { | ||
bold: string; | ||
boldItalic: string; | ||
italic: string; | ||
light: string; | ||
medium: string; | ||
mediumItalic: string; | ||
regular: string; | ||
semiBold: string; | ||
}; | ||
export declare const negativeSpacing: { | ||
@@ -439,3 +459,4 @@ n_xxxxl: number; | ||
}; | ||
export { NovaFont, HeliumFont }; | ||
export default baseTheme; | ||
//# sourceMappingURL=index.d.ts.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.negativeSpacing = void 0; | ||
exports.HeliumFont = exports.NovaFont = exports.negativeSpacing = void 0; | ||
const NovaFont = { | ||
@@ -14,2 +14,14 @@ bold: "DMSans-Bold", | ||
}; | ||
exports.NovaFont = NovaFont; | ||
const HeliumFont = { | ||
bold: "Inter-Bold", | ||
boldItalic: "Inter-BoldItalic", | ||
italic: "Inter-Italic", | ||
light: "Inter-Light", | ||
medium: "Inter-Medium", | ||
mediumItalic: "Inter-MediumItalic", | ||
regular: "Inter-Regular", | ||
semiBold: "Inter-SemiBold", | ||
}; | ||
exports.HeliumFont = HeliumFont; | ||
const palette = { | ||
@@ -37,3 +49,3 @@ white: "#FFFFFF", | ||
grey900: "#272727", | ||
secondaryText: "#767676", | ||
secondaryText: "#666666", | ||
blueViolet: "#B250FF", | ||
@@ -205,12 +217,3 @@ california: "#FFA217", | ||
NovaFont, | ||
HeliumFont: { | ||
bold: "Inter-Bold", | ||
boldItalic: "Inter-BoldItalic", | ||
italic: "Inter-Italic", | ||
light: "Inter-Light", | ||
medium: "Inter-Medium", | ||
mediumItalic: "Inter-MediumItalic", | ||
regular: "Inter-Regular", | ||
semiBold: "Inter-SemiBold", | ||
}, | ||
HeliumFont, | ||
Font: NovaFont, | ||
@@ -217,0 +220,0 @@ darkThemeColors: Object.assign(Object.assign({}, palette), { error: palette.red500, primary: palette.black, primaryBackground: palette.black, primaryIcon: palette.black600, primaryText: palette.white, secondary: palette.grey900, secondaryIcon: palette.black300, secondaryText: palette.secondaryText, surface: palette.grey900, surfaceContrast: palette.white, surfaceContrastText: palette.black, surfaceSecondary: palette.black700, surfaceSecondaryText: palette.grey300, surfaceText: palette.white }), |
{ | ||
"name": "@novalabsxyz/base-theme", | ||
"version": "0.1.6-alpha.0", | ||
"version": "0.1.6-alpha.1", | ||
"description": "BaseTheme for Novalabs", | ||
@@ -27,3 +27,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "0997512fdb6563414b50608476afa6178dabadce" | ||
"gitHead": "bd6c0896d1562caf5d0f811a420f3a8ecabf655b" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
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
45543
828