@nordcom/nordstar-system
Advanced tools
Comparing version 0.0.22-unstable-20231211051121 to 0.0.22-unstable-20231211054010
@@ -7,5 +7,5 @@ import type { ReactNode } from 'react'; | ||
}; | ||
fonts: { | ||
heading: string; | ||
body: string; | ||
fonts?: { | ||
heading?: string; | ||
body?: string; | ||
code?: string; | ||
@@ -38,3 +38,3 @@ }; | ||
theme?: NordstarTheme; | ||
children: ReactNode; | ||
children?: ReactNode; | ||
}; | ||
@@ -41,0 +41,0 @@ /** |
@@ -11,4 +11,4 @@ import './nordstar-provider.css'; | ||
const { accents, fonts, sizes, layout } = theme || {}; | ||
const headingFont = fonts?.heading || fonts?.body ? `--font-heading: ${(fonts.heading || fonts.body).replaceAll("'", "")};` : ""; | ||
const bodyFont = fonts?.body || fonts?.heading ? `--font-body: ${(fonts.body || fonts.heading).replaceAll("'", "")};` : ""; | ||
const headingFont = fonts?.heading || fonts?.body ? `--font-heading: ${(fonts?.heading || fonts?.body).replaceAll("'", "")};` : ""; | ||
const bodyFont = fonts?.body || fonts?.heading ? `--font-body: ${(fonts?.body || fonts?.heading).replaceAll("'", "")};` : ""; | ||
const css = ` | ||
@@ -15,0 +15,0 @@ :root { |
@@ -5,3 +5,3 @@ { | ||
"type": "module", | ||
"version": "0.0.22-unstable-20231211051121", | ||
"version": "0.0.22-unstable-20231211054010", | ||
"description": "Utilities used by all of the Nordstar Components, shouldn't be used directly outside of the Nordstar library.", | ||
@@ -8,0 +8,0 @@ "main": "dist/index.js", |
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
12062