@data-fair/lib-vuetify 2.0.3 → 2.0.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/default.scss +2 -0
- package/index.js +1 -1
- package/package.json +1 -1
- package/style/global.scss +14 -0
- package/style/settings.scss +5 -1
package/default.scss
CHANGED
package/index.js
CHANGED
|
@@ -15,7 +15,7 @@ const baseDarkColors = {
|
|
|
15
15
|
};
|
|
16
16
|
export function vuetifySessionOptions(session, cspNonce) {
|
|
17
17
|
if (!session.site.value)
|
|
18
|
-
throw new Error('vuetifySessionOptions requires
|
|
18
|
+
throw new Error('vuetifySessionOptions requires fetching site info in session util');
|
|
19
19
|
const colors = { ...baseColors, ...session.site.value?.colors };
|
|
20
20
|
return {
|
|
21
21
|
ssr: false,
|
package/package.json
CHANGED
package/style/global.scss
CHANGED
|
@@ -1,9 +1,23 @@
|
|
|
1
|
+
// This @use is ignored by vuetify-nuxt-module (used by @data-fair/portals)
|
|
1
2
|
@use 'vuetify' with (
|
|
2
3
|
$color-pack: false,
|
|
3
4
|
$body-font-family: var(--d-body-font-family),
|
|
4
5
|
$heading-font-family: var(--d-heading-font-family)
|
|
5
6
|
);
|
|
6
7
|
|
|
8
|
+
// CSS reset removed from Vuetify 4
|
|
9
|
+
// cf https://vuetifyjs.com/en/getting-started/upgrade-guide/
|
|
10
|
+
@layer vuetify-core.reset {
|
|
11
|
+
ul, ol, figure, details, summary {
|
|
12
|
+
padding: 0;
|
|
13
|
+
margin: 0;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
h1, h2, h3, h4, h5, h6, p {
|
|
17
|
+
margin: 0;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
7
21
|
// v-icon has an opacity when it is prepended in a list of items.
|
|
8
22
|
// ref: https://github.com/vuetifyjs/vuetify/issues/18760
|
|
9
23
|
.v-icon {
|
package/style/settings.scss
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
@use 'vuetify/settings' with (
|
|
2
2
|
// make disabled button style less dependant on theme colors
|
|
3
3
|
$button-colored-disabled: false,
|
|
4
|
-
$button-disabled-opacity: 0.8
|
|
4
|
+
$button-disabled-opacity: 0.8,
|
|
5
|
+
|
|
6
|
+
// Because @use 'vuetify' is ignored by vuetify-nuxt-module (used by @data-fair/portals)
|
|
7
|
+
$body-font-family: var(--d-body-font-family),
|
|
8
|
+
$heading-font-family: var(--d-heading-font-family)
|
|
5
9
|
);
|