vitrify 0.17.7 → 0.17.8
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/components/QBtnGroup.unocss.js +1 -1
- package/dist/plugins/quasar/unocss/components/QColorPicker.unocss.js +1 -1
- package/dist/plugins/quasar/unocss/components/QDate.unocss.js +2 -2
- package/dist/plugins/quasar/unocss/components/QLayout.unocss.js +62 -62
- package/dist/plugins/quasar/unocss/components/QRadio.unocss.js +1 -1
- package/dist/plugins/quasar/unocss/components/QSlider.unocss.js +3 -3
- package/dist/plugins/quasar/unocss/components/QSplitter.unocss.js +2 -2
- package/dist/plugins/quasar/unocss/components/QStepper.unocss.js +1 -1
- package/dist/plugins/quasar/unocss/components/QToggle.unocss.js +1 -1
- package/dist/plugins/quasar/unocss/components/QUploader.unocss.js +1 -1
- package/dist/plugins/quasar/unocss/core/dark.unocss.js +1 -2
- package/dist/plugins/quasar/unocss/core/elevation.unocss.js +7 -1
- package/dist/plugins/quasar/unocss/core/mouse.unocss.js +1 -1
- package/dist/plugins/quasar/unocss/core/transitions.unocss.js +10 -1
- package/dist/plugins/quasar/unocss/index.js +364 -273
- package/dist/plugins/quasar/unocss/theme.js +4 -0
- package/dist/types/plugins/quasar/unocss/core/elevation.unocss.d.ts +3 -2
- package/dist/types/plugins/quasar/unocss/core/transitions.unocss.d.ts +3 -2
- package/dist/types/plugins/quasar/unocss/theme.d.ts +5 -1
- package/package.json +1 -1
- package/src/node/plugins/quasar/unocss/components/QBtnGroup.unocss.ts +1 -1
- package/src/node/plugins/quasar/unocss/components/QColorPicker.unocss.ts +1 -1
- package/src/node/plugins/quasar/unocss/components/QDate.unocss.ts +2 -2
- package/src/node/plugins/quasar/unocss/components/QLayout.unocss.ts +62 -62
- package/src/node/plugins/quasar/unocss/components/QRadio.unocss.ts +1 -1
- package/src/node/plugins/quasar/unocss/components/QSlider.unocss.ts +3 -3
- package/src/node/plugins/quasar/unocss/components/QSplitter.unocss.ts +2 -2
- package/src/node/plugins/quasar/unocss/components/QStepper.unocss.ts +1 -1
- package/src/node/plugins/quasar/unocss/components/QToggle.unocss.ts +1 -1
- package/src/node/plugins/quasar/unocss/components/QUploader.unocss.ts +1 -1
- package/src/node/plugins/quasar/unocss/core/dark.unocss.ts +1 -2
- package/src/node/plugins/quasar/unocss/core/elevation.unocss.ts +8 -1
- package/src/node/plugins/quasar/unocss/core/mouse.unocss.ts +1 -1
- package/src/node/plugins/quasar/unocss/core/transitions.unocss.ts +11 -1
- package/src/node/plugins/quasar/unocss/index.ts +376 -273
- package/src/node/plugins/quasar/unocss/theme.ts +9 -1
|
@@ -2,7 +2,7 @@ const shortcuts = [
|
|
|
2
2
|
[
|
|
3
3
|
/^q-btn-group$/,
|
|
4
4
|
([, c], { theme }) => theme.quasar?.components?.['q-btn-group'] ??
|
|
5
|
-
`rounded-[3px] [box-shadow:0_1px_5px_rgba(0,_0,_0,_0.2),_0_2px_2px_rgba(0,_0,_0,_0.14),_0_3px_1px_-2px_rgba(0,_0,_0,_0.12)] align-middle [&_>_.q-btn-item]:([border-radius:inherit] self-stretch) [&_>_.q-btn-item:before]:([box-shadow:none]) [&_>_.q-btn-item_.q-badge--floating]:(right-0) [&_>_.q-btn-group]:([box-shadow:none]) [&_>_.q-btn-group:first-child_>_.q-btn:first-child]:([border-top-left-radius:inherit] [border-bottom-left-radius:inherit]) [&_>_.q-btn-group:last-child_>_.q-btn:last-child]:([border-top-right-radius:inherit] [border-bottom-right-radius:inherit]) [&_>_.q-btn-group:not(:first-child)_>_.q-btn:first-child:before]:([border-left:0]) [&_>_.q-btn-group:not(:last-child)_>_.q-btn:last-child:before]:([border-right:0]) [&_>_.q-btn-item:not(:last-child)]:(rounded-tr-none rounded-br-none) [&_>_.q-btn-item:not(:first-child)]:(rounded-tl-none rounded-bl-none) [&_>_.q-btn-item.q-btn--standard:before]:()`
|
|
5
|
+
`rounded-[3px] [box-shadow:0_1px_5px_rgba(0,_0,_0,_0.2),_0_2px_2px_rgba(0,_0,_0,_0.14),_0_3px_1px_-2px_rgba(0,_0,_0,_0.12)] align-middle [&_>_.q-btn-item]:([border-radius:inherit] self-stretch) [&_>_.q-btn-item:before]:([box-shadow:none]) [&_>_.q-btn-item_.q-badge--floating]:(right-0) [&_>_.q-btn-group]:([box-shadow:none]) [&_>_.q-btn-group:first-child_>_.q-btn:first-child]:([border-top-left-radius:inherit] [border-bottom-left-radius:inherit]) [&_>_.q-btn-group:last-child_>_.q-btn:last-child]:([border-top-right-radius:inherit] [border-bottom-right-radius:inherit]) [&_>_.q-btn-group:not(:first-child)_>_.q-btn:first-child:before]:([border-left:0]) [&_>_.q-btn-group:not(:last-child)_>_.q-btn:last-child:before]:([border-right:0]) [&_>_.q-btn-item:not(:last-child)]:(rounded-tr-none rounded-br-none) [&_>_.q-btn-item:not(:first-child)]:(rounded-tl-none rounded-bl-none) [&_>_.q-btn-item.q-btn--standard:before]:(z--1)`
|
|
6
6
|
],
|
|
7
7
|
[
|
|
8
8
|
/^q-btn-group--push$/,
|
|
@@ -46,7 +46,7 @@ const shortcuts = [
|
|
|
46
46
|
[
|
|
47
47
|
/^q-color-picker__header-bg$/,
|
|
48
48
|
([, c], { theme }) => theme.quasar?.components?.['q-color-picker__header-bg'] ??
|
|
49
|
-
`bg-[#fff] bg-[url('data:image/png]`
|
|
49
|
+
`bg-[#fff] bg-[url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAH0lEQVQoU2NkYGAwZkAFZ5G5jPRRgOYEVDeB3EBjBQBOZwTVugIGyAAAAABJRU5ErkJggg==')]`
|
|
50
50
|
],
|
|
51
51
|
[
|
|
52
52
|
/^q-color-picker__footer$/,
|
|
@@ -77,7 +77,7 @@ const shortcuts = [
|
|
|
77
77
|
[
|
|
78
78
|
/^q-date__edit-range$/,
|
|
79
79
|
([, c], { theme }) => theme.quasar?.components?.['q-date__edit-range'] ??
|
|
80
|
-
`[&:after]:() [&:nth-child(7n-6):after]:(rounded-tl-none rounded-bl-none) [&:nth-child(7n):after]:(rounded-tr-none rounded-br-none)`
|
|
80
|
+
`[&:after]:(border-[currentColor_transparent]) [&:nth-child(7n-6):after]:(rounded-tl-none rounded-bl-none) [&:nth-child(7n):after]:(rounded-tr-none rounded-br-none)`
|
|
81
81
|
],
|
|
82
82
|
[
|
|
83
83
|
/^q-date__edit-range-from$/,
|
|
@@ -122,7 +122,7 @@ const shortcuts = [
|
|
|
122
122
|
[
|
|
123
123
|
/^q-date--portrait-standard$/,
|
|
124
124
|
([, c], { theme }) => theme.quasar?.components?.['q-date--portrait-standard'] ??
|
|
125
|
-
`[&_.q-date\\_\\_content]:(h-[calc(100
|
|
125
|
+
`[&_.q-date\\_\\_content]:(h-[calc(100%-86px)]) [&_.q-date\\_\\_header]:([border-top-right-radius:inherit] h-[86px]) [&_.q-date\\_\\_header-title]:(items-center h-[30px])`
|
|
126
126
|
],
|
|
127
127
|
[
|
|
128
128
|
/^q-date--portrait-minimal$/,
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
const preflights = [
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
2
|
+
{
|
|
3
|
+
getCSS: ({ theme }) => `
|
|
4
|
+
body.q-ios-padding .q-layout--standard .q-header > .q-toolbar:nth-child(1),
|
|
5
|
+
body.q-ios-padding .q-layout--standard .q-header > .q-tabs:nth-child(1) .q-tabs__content,
|
|
6
|
+
body.q-ios-padding .q-layout--standard .q-drawer--top-padding .q-drawer__content {
|
|
7
|
+
padding-top: 20px;
|
|
8
|
+
min-height: 70px;
|
|
9
|
+
padding-top: env(safe-area-inset-top);
|
|
10
|
+
min-height: calc(env(safe-area-inset-top) + 50px);
|
|
11
|
+
}
|
|
12
|
+
body.q-ios-padding .q-layout--standard .q-footer > .q-toolbar:last-child,
|
|
13
|
+
body.q-ios-padding .q-layout--standard .q-footer > .q-tabs:nth-last-child(1 of :not(.q-layout__shadow)) .q-tabs__content,
|
|
14
|
+
body.q-ios-padding .q-layout--standard .q-drawer--top-padding .q-drawer__content {
|
|
15
|
+
padding-bottom: env(safe-area-inset-bottom);
|
|
16
|
+
min-height: calc(env(safe-area-inset-bottom) + 50px);
|
|
17
|
+
}
|
|
18
|
+
.q-body--layout-animate .q-drawer__backdrop {
|
|
19
|
+
transition: background-color 0.12s !important;
|
|
20
|
+
}
|
|
21
|
+
.q-body--layout-animate .q-drawer {
|
|
22
|
+
transition: transform 0.12s, width 0.12s, top 0.12s, bottom 0.12s !important;
|
|
23
|
+
}
|
|
24
|
+
.q-body--layout-animate .q-layout__section--marginal {
|
|
25
|
+
transition: transform 0.12s, left 0.12s, right 0.12s !important;
|
|
26
|
+
}
|
|
27
|
+
.q-body--layout-animate .q-page-container {
|
|
28
|
+
transition: padding-top 0.12s, padding-right 0.12s, padding-bottom 0.12s, padding-left 0.12s !important;
|
|
29
|
+
}
|
|
30
|
+
.q-body--layout-animate .q-page-sticky {
|
|
31
|
+
transition: transform 0.12s, left 0.12s, right 0.12s, top 0.12s, bottom 0.12s !important;
|
|
32
|
+
}
|
|
33
|
+
body:not(.q-body--layout-animate) .q-layout--prevent-focus {
|
|
34
|
+
visibility: hidden;
|
|
35
|
+
}
|
|
36
|
+
.q-body--drawer-toggle {
|
|
37
|
+
overflow-x: hidden !important;
|
|
38
|
+
}
|
|
39
|
+
@media (max-width: 599.98px) {
|
|
40
|
+
.q-layout-padding {
|
|
41
|
+
padding: 8px;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
@media (min-width: 600px) and (max-width: 1439.98px) {
|
|
45
|
+
.q-layout-padding {
|
|
46
|
+
padding: 16px;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
@media (min-width: 1440px) {
|
|
50
|
+
.q-layout-padding {
|
|
51
|
+
padding: 24px;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
body.body--dark .q-header, body.body--dark .q-footer, body.body--dark .q-drawer {
|
|
55
|
+
border-color: rgba(255, 255, 255, 0.28);
|
|
56
|
+
}
|
|
57
|
+
body.body--dark .q-layout__shadow:after {
|
|
58
|
+
box-shadow: 0 0 10px 2px rgba(255, 255, 255, 0.2), 0 0px 10px rgba(255, 255, 255, 0.24);
|
|
59
|
+
}
|
|
60
|
+
body.platform-ios .q-layout--containerized {
|
|
61
|
+
position: unset !important;
|
|
62
|
+
}`
|
|
63
|
+
}
|
|
64
64
|
];
|
|
65
65
|
const shortcuts = [
|
|
66
66
|
[/^q-layout$/, ([, c], { theme }) => `w-full outline-0 relative`],
|
|
@@ -63,7 +63,7 @@ const shortcuts = [
|
|
|
63
63
|
[
|
|
64
64
|
/^q-radio--dark$/,
|
|
65
65
|
([, c], { theme }) => theme.quasar?.components?.['q-radio--dark'] ??
|
|
66
|
-
`[&_.q-radio\\_\\_inner]:(text-[rgba(255,_255,_255,_0.7)]) [&_.q-radio\\_\\_inner:before]:(!opacity-[0.32]) [&_.q-radio\\_\\_inner--truthy]:()`
|
|
66
|
+
`[&_.q-radio\\_\\_inner]:(text-[rgba(255,_255,_255,_0.7)]) [&_.q-radio\\_\\_inner:before]:(!opacity-[0.32]) [&_.q-radio\\_\\_inner--truthy]:(text-primary)`
|
|
67
67
|
],
|
|
68
68
|
[
|
|
69
69
|
/^q-radio--dense$/,
|
|
@@ -5,18 +5,18 @@ const shortcuts = [
|
|
|
5
5
|
[
|
|
6
6
|
/^q-slider--editable$/,
|
|
7
7
|
([, c], { theme }) => theme.quasar?.components?.['q-slider--editable'] ??
|
|
8
|
-
`[&_.q-slider\\_\\_track-container]:()`
|
|
8
|
+
`[&_.q-slider\\_\\_track-container]:(cursor-grab)`
|
|
9
9
|
],
|
|
10
10
|
[/^q-slider__track-container$/, ([, c], { theme }) => `outline-0`],
|
|
11
11
|
[
|
|
12
12
|
/^q-slider__track-container--h$/,
|
|
13
13
|
([, c], { theme }) => theme.quasar?.components?.['q-slider__track-container--h'] ??
|
|
14
|
-
`w-full px-[0] py-[12px] [&_.q-slider\\_\\_selection]:()`
|
|
14
|
+
`w-full px-[0] py-[12px] [&_.q-slider\\_\\_selection]:(will-change-width will-change-left)`
|
|
15
15
|
],
|
|
16
16
|
[
|
|
17
17
|
/^q-slider__track-container--v$/,
|
|
18
18
|
([, c], { theme }) => theme.quasar?.components?.['q-slider__track-container--v'] ??
|
|
19
|
-
`h-full px-[12px] py-[0] [&_.q-slider\\_\\_selection]:()`
|
|
19
|
+
`h-full px-[12px] py-[0] [&_.q-slider\\_\\_selection]:(will-change-height will-change-top)`
|
|
20
20
|
],
|
|
21
21
|
[
|
|
22
22
|
/^q-slider__track$/,
|
|
@@ -22,12 +22,12 @@ const shortcuts = [
|
|
|
22
22
|
[
|
|
23
23
|
/^q-splitter--vertical$/,
|
|
24
24
|
([, c], { theme }) => theme.quasar?.components?.['q-splitter--vertical'] ??
|
|
25
|
-
`[&_>_.q-splitter\\_\\_panel]:(h-full) [&.q-splitter--active]:() [&_>_.q-splitter\\_\\_separator]:(w-px) [&_>_.q-splitter\\_\\_separator_>_div]:(-left-[6px] -right-[6px]) [&.q-splitter--workable_>_.q-splitter\\_\\_separator]:()`
|
|
25
|
+
`[&_>_.q-splitter\\_\\_panel]:(h-full) [&.q-splitter--active]:(cursor-col-resize) [&_>_.q-splitter\\_\\_separator]:(w-px) [&_>_.q-splitter\\_\\_separator_>_div]:(-left-[6px] -right-[6px]) [&.q-splitter--workable_>_.q-splitter\\_\\_separator]:(cursor-col-resize)`
|
|
26
26
|
],
|
|
27
27
|
[
|
|
28
28
|
/^q-splitter--horizontal$/,
|
|
29
29
|
([, c], { theme }) => theme.quasar?.components?.['q-splitter--horizontal'] ??
|
|
30
|
-
`[&_>_.q-splitter\\_\\_panel]:(w-full) [&.q-splitter--active]:() [&_>_.q-splitter\\_\\_separator]:(h-px) [&_>_.q-splitter\\_\\_separator_>_div]:(-top-[6px] -bottom-[6px]) [&.q-splitter--workable_>_.q-splitter\\_\\_separator]:()`
|
|
30
|
+
`[&_>_.q-splitter\\_\\_panel]:(w-full) [&.q-splitter--active]:(cursor-row-resize) [&_>_.q-splitter\\_\\_separator]:(h-px) [&_>_.q-splitter\\_\\_separator_>_div]:(-top-[6px] -bottom-[6px]) [&.q-splitter--workable_>_.q-splitter\\_\\_separator]:(cursor-row-resize)`
|
|
31
31
|
],
|
|
32
32
|
[
|
|
33
33
|
/^q-splitter__before$/,
|
|
@@ -107,7 +107,7 @@ __.q-stepper\\_\\_tab:last-child]:(items-end) [&_.q-stepper\\_\\_tab]:(px-[0] py
|
|
|
107
107
|
[
|
|
108
108
|
/^q-stepper--horizontal$/,
|
|
109
109
|
([, c], { theme }) => theme.quasar?.components?.['q-stepper--horizontal'] ??
|
|
110
|
-
`[&_.q-stepper\\_\\_step-inner]:(p-[24px]) [&_.q-stepper\\_\\_tab:first-child]:([border-top-left-radius:inherit]) [&_.q-stepper\\_\\_tab:last-child]:([border-top-right-radius:inherit]) [&_.q-stepper\\_\\_tab:first-child_.q-stepper\\_\\_dot:before]:(hidden) [&_.q-stepper\\_\\_tab:last-child_.q-stepper\\_\\_label:after]:(hidden) [&_.q-stepper\\_\\_tab:last-child_.q-stepper\\_\\_dot:after]:(hidden) [&_.q-stepper\\_\\_tab]:(overflow-hidden) [&_.q-stepper\\_\\_line]:() [&_.q-stepper\\_\\_line:before]:(absolute top-2/4 h-px w-screen bg-[rgba(0,_0,_0,_0.12)]) [&_.q-stepper\\_\\_line:after]:(absolute top-2/4 h-px w-screen bg-[rgba(0,_0,_0,_0.12)]) [&_.q-stepper\\_\\_label:after]:(content-[''] left-full ml-[8px]) [&_.q-stepper\\_\\_dot:after]:(content-[''] left-full ml-[8px]) [&_.q-stepper\\_\\_dot:before]:(content-[''] right-full mr-[8px]) [&_>_.q-stepper\\_\\_nav]:(pt-[0] px-[24px] pb-[24px])`
|
|
110
|
+
`[&_.q-stepper\\_\\_step-inner]:(p-[24px]) [&_.q-stepper\\_\\_tab:first-child]:([border-top-left-radius:inherit]) [&_.q-stepper\\_\\_tab:last-child]:([border-top-right-radius:inherit]) [&_.q-stepper\\_\\_tab:first-child_.q-stepper\\_\\_dot:before]:(hidden) [&_.q-stepper\\_\\_tab:last-child_.q-stepper\\_\\_label:after]:(hidden) [&_.q-stepper\\_\\_tab:last-child_.q-stepper\\_\\_dot:after]:(hidden) [&_.q-stepper\\_\\_tab]:(overflow-hidden) [&_.q-stepper\\_\\_line]:(contain-layout) [&_.q-stepper\\_\\_line:before]:(absolute top-2/4 h-px w-screen bg-[rgba(0,_0,_0,_0.12)]) [&_.q-stepper\\_\\_line:after]:(absolute top-2/4 h-px w-screen bg-[rgba(0,_0,_0,_0.12)]) [&_.q-stepper\\_\\_label:after]:(content-[''] left-full ml-[8px]) [&_.q-stepper\\_\\_dot:after]:(content-[''] left-full ml-[8px]) [&_.q-stepper\\_\\_dot:before]:(content-[''] right-full mr-[8px]) [&_>_.q-stepper\\_\\_nav]:(pt-[0] px-[24px] pb-[24px])`
|
|
111
111
|
],
|
|
112
112
|
[
|
|
113
113
|
/^q-stepper--vertical$/,
|
|
@@ -61,7 +61,7 @@ const shortcuts = [
|
|
|
61
61
|
[
|
|
62
62
|
/^q-toggle--dark$/,
|
|
63
63
|
([, c], { theme }) => theme.quasar?.components?.['q-toggle--dark'] ??
|
|
64
|
-
`[&_.q-toggle\\_\\_inner]:(text-[#fff]) [&_.q-toggle\\_\\_inner--truthy]:() [&_.q-toggle\\_\\_thumb:after]:([box-shadow:none]) [&_.q-toggle\\_\\_thumb:before]:(!opacity-[0.32])`
|
|
64
|
+
`[&_.q-toggle\\_\\_inner]:(text-[#fff]) [&_.q-toggle\\_\\_inner--truthy]:(text-primary) [&_.q-toggle\\_\\_thumb:after]:([box-shadow:none]) [&_.q-toggle\\_\\_thumb:before]:(!opacity-[0.32])`
|
|
65
65
|
],
|
|
66
66
|
[
|
|
67
67
|
/^q-toggle--dense$/,
|
|
@@ -12,7 +12,7 @@ const shortcuts = [
|
|
|
12
12
|
[
|
|
13
13
|
/^q-uploader__input$/,
|
|
14
14
|
([, c], { theme }) => theme.quasar?.components?.['q-uploader__input'] ??
|
|
15
|
-
`opacity-0 w-full h-full
|
|
15
|
+
`opacity-0 w-full h-full cursor-pointer [&::-webkit-file-upload-button]:(cursor-pointer)`
|
|
16
16
|
],
|
|
17
17
|
[
|
|
18
18
|
/^q-uploader__file$/,
|
|
@@ -67,4 +67,10 @@ const rules = [
|
|
|
67
67
|
}
|
|
68
68
|
])
|
|
69
69
|
];
|
|
70
|
-
|
|
70
|
+
const shortcuts = [
|
|
71
|
+
[/^shadow-none$/, ([, c], { theme }) => `shadow-none`],
|
|
72
|
+
[/^no-shadow$/, ([, c], { theme }) => `shadow-none`],
|
|
73
|
+
// TODO
|
|
74
|
+
[/^shadow-(0?[1-9]|1[0-9]|2[0-4])$/, ([, nr], { theme }) => `shadow-md`]
|
|
75
|
+
];
|
|
76
|
+
export { rules, shortcuts };
|
|
@@ -27,6 +27,6 @@ const shortcuts = [
|
|
|
27
27
|
],
|
|
28
28
|
[/^all-pointer-events$/, ([, c], { theme }) => ``],
|
|
29
29
|
[/^cursor-inherit$/, ([, c], { theme }) => `[cursor:inherit!important]`],
|
|
30
|
-
[
|
|
30
|
+
['cursor-pointer', 'cursor-[pointer]!']
|
|
31
31
|
];
|
|
32
32
|
export { preflights, shortcuts };
|
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
const preflights = [
|
|
2
|
+
{
|
|
3
|
+
getCSS: ({ theme }) => `
|
|
4
|
+
:root {
|
|
5
|
+
--q-transition-duration: ${theme.quasar.transition.duration};
|
|
6
|
+
--q-transition-easing: ${theme.quasar.transition.easing};
|
|
7
|
+
}`
|
|
8
|
+
}
|
|
9
|
+
];
|
|
1
10
|
const shortcuts = [
|
|
2
11
|
[
|
|
3
12
|
/^q-transition--slide-right-enter-active$/,
|
|
@@ -268,4 +277,4 @@ const shortcuts = [
|
|
|
268
277
|
([, c], { theme }) => `[transform:perspective(400px)_rotate3d(1,_0,_0,_-180deg)]`
|
|
269
278
|
]
|
|
270
279
|
];
|
|
271
|
-
export { shortcuts };
|
|
280
|
+
export { preflights, shortcuts };
|