oddsgate-ds 1.0.13 → 1.0.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  export declare const pxToRem: (size: number) => string;
2
- export declare const fontName = "Noto Sans";
3
- export declare const alternativeFont = "";
2
+ export declare const fontName = "Red Hat Display";
3
+ export declare const alternativeFont = "MD Nichrome";
4
4
  export declare const gutter: string;
5
5
  export declare const desktop_width = "1360";
6
6
  export declare const tablet_width = "768";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oddsgate-ds",
3
- "version": "1.0.13",
3
+ "version": "1.0.14",
4
4
  "description": "Miew theme component library",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -2,8 +2,8 @@ export const pxToRem = (size: number) => {
2
2
  return (size / 16) * 1 + 'rem'
3
3
  }
4
4
 
5
- export const fontName = "Noto Sans"
6
- export const alternativeFont = "";
5
+ export const fontName = "Red Hat Display"
6
+ export const alternativeFont = "MD Nichrome";
7
7
 
8
8
  export const gutter = pxToRem(8); //needs to be in this file
9
9
 
@@ -86,17 +86,17 @@ export const typography = <Record<string, Record<string, unknown>>>{
86
86
  display: {
87
87
  size: pxToRem(250),
88
88
  sizeMob: pxToRem(180),
89
- height: 1.4,
89
+ height: 1.2,
90
90
  },
91
91
  h1: {
92
92
  size: pxToRem(120),
93
93
  sizeMob: pxToRem(64),
94
- height: 1.4,
94
+ height: 1.2,
95
95
  },
96
96
  h2: {
97
97
  size: pxToRem(80),
98
98
  sizeMob: pxToRem(42),
99
- height: 1.4,
99
+ height: 1.2,
100
100
  },
101
101
  h3: {
102
102
  size: pxToRem(48),
@@ -106,7 +106,7 @@ export const typography = <Record<string, Record<string, unknown>>>{
106
106
  h4: {
107
107
  size: pxToRem(36),
108
108
  sizeMob: pxToRem(20),
109
- height: 1.4,
109
+ height: 1.2,
110
110
  },
111
111
  h5: {
112
112
  size: pxToRem(20),
package/tsconfig.json CHANGED
@@ -7,6 +7,7 @@
7
7
  "module": "ESNext",
8
8
  "declaration": true,
9
9
  "declarationDir": "dist/types",
10
+ "noImplicitAny": false,
10
11
  "sourceMap": true,
11
12
  "outDir": "dist",
12
13
  "moduleResolution": "node",