@autoguru/overdrive 4.43.6-next.4 → 4.43.6-next.5
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/styles/global/fonts.css.d.ts +2 -0
- package/dist/styles/global/fonts.css.d.ts.map +1 -0
- package/dist/styles/global/fonts.css.js +24 -0
- package/dist/styles/global/reset.css.d.ts +2 -0
- package/dist/styles/global/reset.css.d.ts.map +1 -0
- package/dist/styles/global/reset.css.js +53 -0
- package/package.json +3 -3
- package/dist/styles/global.css.d.ts +0 -2
- package/dist/styles/global.css.d.ts.map +0 -1
- package/dist/styles/global.css.js +0 -71
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fonts.css.d.ts","sourceRoot":"","sources":["../../../lib/styles/global/fonts.css.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import * as __vanilla_filescope__ from '@vanilla-extract/css/fileScope';
|
|
4
|
+
__vanilla_filescope__.setFileScope("lib/styles/global/fonts.css.ts", "@autoguru/overdrive");
|
|
5
|
+
import { globalFontFace } from '@vanilla-extract/css';
|
|
6
|
+
globalFontFace('AvertaStandard', {
|
|
7
|
+
fontStyle: 'normal',
|
|
8
|
+
fontWeight: 400,
|
|
9
|
+
fontDisplay: 'swap',
|
|
10
|
+
src: `local('Averta Std Regular'), local('AvertaStd-Regular'),url('https://cdn.autoguru.com.au/assets/fonts/avertastd-regular-webfont.woff2') format('woff2'),url('https://cdn.autoguru.com.au/assets/fonts/avertastd-regular-webfont.woff') format('woff')`
|
|
11
|
+
});
|
|
12
|
+
globalFontFace('AvertaStandard', {
|
|
13
|
+
fontStyle: 'normal',
|
|
14
|
+
fontWeight: 500,
|
|
15
|
+
fontDisplay: 'swap',
|
|
16
|
+
src: `local('Averta Std Semibold'), local('AvertaStd-Semibold'),url('https://cdn.autoguru.com.au/assets/fonts/avertastd-semibold-webfont.woff2') format('woff2'),url('https://cdn.autoguru.com.au/assets/fonts/avertastd-semibold-webfont.woff') format('woff')`
|
|
17
|
+
});
|
|
18
|
+
globalFontFace('AvertaStandard', {
|
|
19
|
+
fontStyle: 'normal',
|
|
20
|
+
fontWeight: 700,
|
|
21
|
+
fontDisplay: 'swap',
|
|
22
|
+
src: `local('Averta Std Bold'), local('AvertaStd-Bold'),url('https://cdn.autoguru.com.au/assets/fonts/avertastd-bold-webfont.woff2') format('woff2'),url('https://cdn.autoguru.com.au/assets/fonts/avertastd-bold-webfont.woff') format('woff')`
|
|
23
|
+
});
|
|
24
|
+
__vanilla_filescope__.endFileScope();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reset.css.d.ts","sourceRoot":"","sources":["../../../lib/styles/global/reset.css.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import * as __vanilla_filescope__ from '@vanilla-extract/css/fileScope';
|
|
4
|
+
__vanilla_filescope__.setFileScope("lib/styles/global/reset.css.ts", "@autoguru/overdrive");
|
|
5
|
+
import { globalStyle } from '@vanilla-extract/css';
|
|
6
|
+
import { overdriveTokens } from "../../themes/theme.css.js";
|
|
7
|
+
import { cssLayerReset } from "../layers.css.js";
|
|
8
|
+
globalStyle(':where(html)', {
|
|
9
|
+
'@layer': {
|
|
10
|
+
[cssLayerReset]: {
|
|
11
|
+
overflowX: 'hidden'
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
});
|
|
15
|
+
globalStyle('body', {
|
|
16
|
+
'@layer': {
|
|
17
|
+
[cssLayerReset]: {
|
|
18
|
+
margin: 0,
|
|
19
|
+
padding: 0,
|
|
20
|
+
border: 'none'
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
globalStyle('body, [data-od-base]', {
|
|
25
|
+
'@layer': {
|
|
26
|
+
[cssLayerReset]: {
|
|
27
|
+
fontFamily: overdriveTokens.typography.fontFamily,
|
|
28
|
+
fontSize: overdriveTokens.typography.size[4].fontSize,
|
|
29
|
+
fontWeight: overdriveTokens.typography.fontWeight.normal,
|
|
30
|
+
lineHeight: overdriveTokens.typography.size[4].lineHeight,
|
|
31
|
+
textRendering: 'optimizeLegibility',
|
|
32
|
+
textSizeAdjust: 'none',
|
|
33
|
+
WebkitTapHighlightColor: 'transparent',
|
|
34
|
+
WebkitTextSizeAdjust: 'none'
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
});
|
|
38
|
+
globalStyle('*, *::after, *::before', {
|
|
39
|
+
'@layer': {
|
|
40
|
+
[cssLayerReset]: {
|
|
41
|
+
boxSizing: 'border-box'
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
});
|
|
45
|
+
globalStyle(':where(button, input, select, textarea)', {
|
|
46
|
+
'@layer': {
|
|
47
|
+
[cssLayerReset]: {
|
|
48
|
+
fontFamily: 'inherit',
|
|
49
|
+
fontSize: 'inherit'
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
});
|
|
53
|
+
__vanilla_filescope__.endFileScope();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@autoguru/overdrive",
|
|
3
|
-
"version": "4.43.6-next.
|
|
3
|
+
"version": "4.43.6-next.5",
|
|
4
4
|
"description": "Overdrive is a product component library, and design system for AutoGuru.",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
},
|
|
21
21
|
"license": "MIT",
|
|
22
22
|
"sideEffects": [
|
|
23
|
-
"./lib
|
|
23
|
+
"./lib/styles/global/*",
|
|
24
24
|
"./lib/themes/**/*",
|
|
25
|
-
"./dist
|
|
25
|
+
"./dist/styles/global/*",
|
|
26
26
|
"./dist/themes/**/*"
|
|
27
27
|
],
|
|
28
28
|
"files": [
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"global.css.d.ts","sourceRoot":"","sources":["../../lib/styles/global.css.ts"],"names":[],"mappings":""}
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import * as __vanilla_filescope__ from '@vanilla-extract/css/fileScope';
|
|
4
|
-
__vanilla_filescope__.setFileScope("lib/styles/global.css.ts", "@autoguru/overdrive");
|
|
5
|
-
import { globalFontFace, globalStyle } from '@vanilla-extract/css';
|
|
6
|
-
import { overdriveTokens } from "../themes/theme.css.js";
|
|
7
|
-
import { cssLayerReset } from "./layers.css.js";
|
|
8
|
-
globalFontFace('AvertaStandard', {
|
|
9
|
-
fontStyle: 'normal',
|
|
10
|
-
fontWeight: 400,
|
|
11
|
-
fontDisplay: 'swap',
|
|
12
|
-
src: `local('Averta Std Regular'), local('AvertaStd-Regular'),url('https://cdn.autoguru.com.au/assets/fonts/avertastd-regular-webfont.woff2') format('woff2'),url('https://cdn.autoguru.com.au/assets/fonts/avertastd-regular-webfont.woff') format('woff')`
|
|
13
|
-
});
|
|
14
|
-
globalFontFace('AvertaStandard', {
|
|
15
|
-
fontStyle: 'normal',
|
|
16
|
-
fontWeight: 500,
|
|
17
|
-
fontDisplay: 'swap',
|
|
18
|
-
src: `local('Averta Std Semibold'), local('AvertaStd-Semibold'),url('https://cdn.autoguru.com.au/assets/fonts/avertastd-semibold-webfont.woff2') format('woff2'),url('https://cdn.autoguru.com.au/assets/fonts/avertastd-semibold-webfont.woff') format('woff')`
|
|
19
|
-
});
|
|
20
|
-
globalFontFace('AvertaStandard', {
|
|
21
|
-
fontStyle: 'normal',
|
|
22
|
-
fontWeight: 700,
|
|
23
|
-
fontDisplay: 'swap',
|
|
24
|
-
src: `local('Averta Std Bold'), local('AvertaStd-Bold'),url('https://cdn.autoguru.com.au/assets/fonts/avertastd-bold-webfont.woff2') format('woff2'),url('https://cdn.autoguru.com.au/assets/fonts/avertastd-bold-webfont.woff') format('woff')`
|
|
25
|
-
});
|
|
26
|
-
globalStyle(':where(html)', {
|
|
27
|
-
'@layer': {
|
|
28
|
-
[cssLayerReset]: {
|
|
29
|
-
overflowX: 'hidden'
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
});
|
|
33
|
-
globalStyle('body', {
|
|
34
|
-
'@layer': {
|
|
35
|
-
[cssLayerReset]: {
|
|
36
|
-
margin: 0,
|
|
37
|
-
padding: 0,
|
|
38
|
-
border: 'none'
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
});
|
|
42
|
-
globalStyle('body, [data-od-base]', {
|
|
43
|
-
'@layer': {
|
|
44
|
-
[cssLayerReset]: {
|
|
45
|
-
fontFamily: overdriveTokens.typography.fontFamily,
|
|
46
|
-
fontSize: overdriveTokens.typography.size[4].fontSize,
|
|
47
|
-
fontWeight: overdriveTokens.typography.fontWeight.normal,
|
|
48
|
-
lineHeight: overdriveTokens.typography.size[4].lineHeight,
|
|
49
|
-
textRendering: 'optimizeLegibility',
|
|
50
|
-
textSizeAdjust: 'none',
|
|
51
|
-
WebkitTapHighlightColor: 'transparent',
|
|
52
|
-
WebkitTextSizeAdjust: 'none'
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
});
|
|
56
|
-
globalStyle('*, *::after, *::before', {
|
|
57
|
-
'@layer': {
|
|
58
|
-
[cssLayerReset]: {
|
|
59
|
-
boxSizing: 'border-box'
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
});
|
|
63
|
-
globalStyle(':where(button, input, select, textarea)', {
|
|
64
|
-
'@layer': {
|
|
65
|
-
[cssLayerReset]: {
|
|
66
|
-
fontFamily: 'inherit',
|
|
67
|
-
fontSize: 'inherit'
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
});
|
|
71
|
-
__vanilla_filescope__.endFileScope();
|