vitrify 0.17.16 → 0.17.18
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/plugins/quasar/unocss/core/typography.unocss.js +3 -1
- package/dist/plugins/quasar/unocss/index.js +0 -4
- package/dist/plugins/quasar/unocss/theme.js +3 -0
- package/dist/types/plugins/quasar/unocss/theme.d.ts +3 -0
- package/package.json +1 -1
- package/src/node/plugins/quasar/unocss/core/typography.unocss.ts +3 -1
- package/src/node/plugins/quasar/unocss/index.ts +0 -4
- package/src/node/plugins/quasar/unocss/theme.ts +7 -0
- package/src/vite/vue/ssr/entry-server.ts +2 -0
|
@@ -4,7 +4,7 @@ const preflights = [
|
|
|
4
4
|
body {
|
|
5
5
|
min-width: 100px;
|
|
6
6
|
min-height: 100%;
|
|
7
|
-
font-family:
|
|
7
|
+
font-family: ${theme.typography.fontFamily};
|
|
8
8
|
-ms-text-size-adjust: 100%;
|
|
9
9
|
-webkit-text-size-adjust: 100%;
|
|
10
10
|
-webkit-font-smoothing: antialiased;
|
|
@@ -12,6 +12,8 @@ body {
|
|
|
12
12
|
font-smoothing: antialiased;
|
|
13
13
|
line-height: 1.5;
|
|
14
14
|
font-size: 14px;
|
|
15
|
+
margin: 0;
|
|
16
|
+
box-sizing: border-box
|
|
15
17
|
}
|
|
16
18
|
|
|
17
19
|
h1 {
|
|
@@ -1772,10 +1772,6 @@ textarea {
|
|
|
1772
1772
|
margin: 0;
|
|
1773
1773
|
}
|
|
1774
1774
|
|
|
1775
|
-
html, body
|
|
1776
|
-
margin: 0
|
|
1777
|
-
box-sizing: border-box
|
|
1778
|
-
|
|
1779
1775
|
/* beasties:include end */`
|
|
1780
1776
|
}
|
|
1781
1777
|
].concat(QBreadcrumbsPreflights, QCheckboxPreflights, QChipPreflights, QCircularProgressPreflights, QDialogPreflights, QFieldPreflights, QLayoutPreflights, QLinearProgressPreflights, QRadioPreflights, QSelectPreflights, QSpinnerPreflights, QSkeletonPreflights, QTablePreflights, QTogglePreflights, QTreePreflights, ColorPreflights, DarkPreflights, HelperPreflights, MousePreflights, TypographyPreflights, VisibilityPreflights, TransitionPreflights, SizePreflights),
|
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@ const preflights: Preflight<QuasarTheme>[] = [
|
|
|
7
7
|
body {
|
|
8
8
|
min-width: 100px;
|
|
9
9
|
min-height: 100%;
|
|
10
|
-
font-family:
|
|
10
|
+
font-family: ${theme.typography.fontFamily};
|
|
11
11
|
-ms-text-size-adjust: 100%;
|
|
12
12
|
-webkit-text-size-adjust: 100%;
|
|
13
13
|
-webkit-font-smoothing: antialiased;
|
|
@@ -15,6 +15,8 @@ body {
|
|
|
15
15
|
font-smoothing: antialiased;
|
|
16
16
|
line-height: 1.5;
|
|
17
17
|
font-size: 14px;
|
|
18
|
+
margin: 0;
|
|
19
|
+
box-sizing: border-box
|
|
18
20
|
}
|
|
19
21
|
|
|
20
22
|
h1 {
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
export interface QuasarTheme {
|
|
2
|
+
typography: {
|
|
3
|
+
fontFamily: string
|
|
4
|
+
}
|
|
2
5
|
breakpoints: {
|
|
3
6
|
xs: string
|
|
4
7
|
sm: string
|
|
@@ -1145,6 +1148,10 @@ export interface QuasarTheme {
|
|
|
1145
1148
|
}
|
|
1146
1149
|
|
|
1147
1150
|
const defaultTheme: QuasarTheme = {
|
|
1151
|
+
typography: {
|
|
1152
|
+
fontFamily:
|
|
1153
|
+
'"Roboto", "-apple-system", "Helvetica Neue", Helvetica, Arial, sans-serif'
|
|
1154
|
+
},
|
|
1148
1155
|
breakpoints: {
|
|
1149
1156
|
xs: '0',
|
|
1150
1157
|
sm: '600px',
|
|
@@ -80,6 +80,8 @@ function renderPreloadLink(file) {
|
|
|
80
80
|
return ` <link rel="preload" href="${file}" as="image" type="image/jpeg">`
|
|
81
81
|
} else if (file.endsWith('.png')) {
|
|
82
82
|
return ` <link rel="preload" href="${file}" as="image" type="image/png">`
|
|
83
|
+
} else if (file.endsWith('.svg')) {
|
|
84
|
+
return ` <link rel="preload" href="${file}" as="image" type="image/svg+xml">`
|
|
83
85
|
} else {
|
|
84
86
|
// TODO
|
|
85
87
|
return ''
|