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.
- package/dist/cjs/index.js +4 -4
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/styles/variables.d.ts +2 -2
- package/dist/esm/index.js +4 -4
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/styles/variables.d.ts +2 -2
- package/package.json +1 -1
- package/src/styles/variables.ts +6 -6
- package/tsconfig.json +1 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const pxToRem: (size: number) => string;
|
|
2
|
-
export declare const fontName = "
|
|
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
package/src/styles/variables.ts
CHANGED
|
@@ -2,8 +2,8 @@ export const pxToRem = (size: number) => {
|
|
|
2
2
|
return (size / 16) * 1 + 'rem'
|
|
3
3
|
}
|
|
4
4
|
|
|
5
|
-
export const fontName = "
|
|
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.
|
|
89
|
+
height: 1.2,
|
|
90
90
|
},
|
|
91
91
|
h1: {
|
|
92
92
|
size: pxToRem(120),
|
|
93
93
|
sizeMob: pxToRem(64),
|
|
94
|
-
height: 1.
|
|
94
|
+
height: 1.2,
|
|
95
95
|
},
|
|
96
96
|
h2: {
|
|
97
97
|
size: pxToRem(80),
|
|
98
98
|
sizeMob: pxToRem(42),
|
|
99
|
-
height: 1.
|
|
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.
|
|
109
|
+
height: 1.2,
|
|
110
110
|
},
|
|
111
111
|
h5: {
|
|
112
112
|
size: pxToRem(20),
|