vitrify 0.17.10 → 0.17.11
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/QAjaxBar.unocss.js +1 -1
- package/dist/plugins/quasar/unocss/components/QBar.unocss.js +2 -2
- package/dist/plugins/quasar/unocss/components/QBtn.unocss.js +1 -1
- package/dist/plugins/quasar/unocss/components/QCard.unocss.js +12 -4
- package/dist/plugins/quasar/unocss/components/QChatMessage.unocss.js +7 -2
- package/dist/plugins/quasar/unocss/components/QCheckbox.unocss.js +18 -6
- package/dist/plugins/quasar/unocss/components/QDrawer.unocss.js +6 -4
- package/dist/plugins/quasar/unocss/components/QFooter.unocss.js +1 -1
- package/dist/plugins/quasar/unocss/components/QMenu.unocss.js +1 -1
- package/dist/plugins/quasar/unocss/components/QTabPanel.unocss.js +1 -1
- package/dist/plugins/quasar/unocss/components/QTooltip.unocss.js +1 -1
- package/dist/plugins/quasar/unocss/core/colors.unocss.js +1 -1
- package/dist/plugins/quasar/unocss/core/flex.unocss.js +11 -4
- package/dist/plugins/quasar/unocss/core/position.unocss.js +2 -1
- package/dist/plugins/quasar/unocss/directives/QRipple.unocss.js +1 -1
- package/dist/plugins/quasar/unocss/index.js +95 -67
- package/dist/plugins/quasar/unocss/plugins/QLoading.unocss.js +1 -1
- package/dist/plugins/quasar/unocss/plugins/QNotify.unocss.js +20 -20
- package/dist/plugins/quasar/unocss/theme.js +1 -1
- package/dist/types/plugins/quasar/unocss/index.d.ts +2 -1
- package/dist/types/plugins/quasar/unocss/theme.d.ts +1 -1
- package/package.json +1 -1
- package/src/node/plugins/quasar/unocss/components/QAjaxBar.unocss.ts +1 -1
- package/src/node/plugins/quasar/unocss/components/QBar.unocss.ts +2 -2
- package/src/node/plugins/quasar/unocss/components/QBtn.unocss.ts +1 -1
- package/src/node/plugins/quasar/unocss/components/QCard.unocss.ts +12 -4
- package/src/node/plugins/quasar/unocss/components/QChatMessage.unocss.ts +7 -2
- package/src/node/plugins/quasar/unocss/components/QCheckbox.unocss.ts +19 -6
- package/src/node/plugins/quasar/unocss/components/QDrawer.unocss.ts +8 -4
- package/src/node/plugins/quasar/unocss/components/QFooter.unocss.ts +1 -1
- package/src/node/plugins/quasar/unocss/components/QMenu.unocss.ts +1 -1
- package/src/node/plugins/quasar/unocss/components/QTabPanel.unocss.ts +1 -1
- package/src/node/plugins/quasar/unocss/components/QTooltip.unocss.ts +1 -1
- package/src/node/plugins/quasar/unocss/core/colors.unocss.ts +1 -1
- package/src/node/plugins/quasar/unocss/core/flex.unocss.ts +13 -5
- package/src/node/plugins/quasar/unocss/core/position.unocss.ts +3 -1
- package/src/node/plugins/quasar/unocss/directives/QRipple.unocss.ts +1 -1
- package/src/node/plugins/quasar/unocss/index.ts +224 -195
- package/src/node/plugins/quasar/unocss/plugins/QLoading.unocss.ts +1 -1
- package/src/node/plugins/quasar/unocss/plugins/QNotify.unocss.ts +38 -20
- package/src/node/plugins/quasar/unocss/theme.ts +2 -2
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@ const shortcuts: UserShortcuts<QuasarTheme> = [
|
|
|
6
6
|
/^q-loading-bar$/,
|
|
7
7
|
([, c], { theme }) =>
|
|
8
8
|
theme.quasar?.components?.['q-loading-bar'] ??
|
|
9
|
-
`fixed z
|
|
9
|
+
`fixed z-${theme.quasar.z['max']} transition-transform bg-red`
|
|
10
10
|
],
|
|
11
11
|
[/^q-loading-bar--top$/, ([, c], { theme }) => `left-0 right-0 top-0 w-full`],
|
|
12
12
|
[
|
|
@@ -6,7 +6,7 @@ const shortcuts: UserShortcuts<QuasarTheme> = [
|
|
|
6
6
|
/^q-bar$/,
|
|
7
7
|
([, c], { theme }) =>
|
|
8
8
|
theme.quasar?.components?.['q-bar'] ??
|
|
9
|
-
`bg-black
|
|
9
|
+
`bg-black/20
|
|
10
10
|
[&>.q-icon]:(ml-2px)
|
|
11
11
|
[&>div]:(ml-8px)
|
|
12
12
|
[&>div+.q-icon]:(ml-8px)
|
|
@@ -30,7 +30,7 @@ const shortcuts: UserShortcuts<QuasarTheme> = [
|
|
|
30
30
|
`px-8px py-0 h-24px text-14px
|
|
31
31
|
[&_.q-btn]:(text-8px)`
|
|
32
32
|
],
|
|
33
|
-
[/^q-bar--dark$/, ([, c], { theme }) => `bg-white
|
|
33
|
+
[/^q-bar--dark$/, ([, c], { theme }) => `bg-white/20`]
|
|
34
34
|
]
|
|
35
35
|
|
|
36
36
|
export { shortcuts }
|
|
@@ -6,7 +6,7 @@ const shortcuts: UserShortcuts<QuasarTheme> = [
|
|
|
6
6
|
/^q-btn$/,
|
|
7
7
|
([, c], { theme }) =>
|
|
8
8
|
theme.quasar?.components?.['q-btn'] ??
|
|
9
|
-
`items-stretch relative outline-0 border-0 align-middle text-[14px] leading-[1.715em] no-underline [color:inherit] bg-transparent font-medium uppercase text-center w-auto h-auto cursor-default px-[16px] py-[4px] min-h-[2.572em] [&_.q-icon]:(text-[1.715em]) [&_.q-spinner]:(text-[1.715em]) [&.disabled]:(!opacity-70) [&:before]:(content-empty block absolute left-[0] right-[0] top-[0] bottom-[0] [border-radius:inherit] [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)])`
|
|
9
|
+
`font-medium items-stretch relative outline-0 border-0 align-middle text-[14px] leading-[1.715em] no-underline [color:inherit] bg-transparent font-medium uppercase text-center w-auto h-auto cursor-default px-[16px] py-[4px] min-h-[2.572em] [&_.q-icon]:(text-[1.715em]) [&_.q-spinner]:(text-[1.715em]) [&.disabled]:(!opacity-70) [&:before]:(content-empty block absolute left-[0] right-[0] top-[0] bottom-[0] [border-radius:inherit] [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)])`
|
|
10
10
|
// inline-flex flex-col
|
|
11
11
|
],
|
|
12
12
|
|
|
@@ -6,21 +6,29 @@ const shortcuts: UserShortcuts<QuasarTheme> = [
|
|
|
6
6
|
/^q-card$/,
|
|
7
7
|
([, c], { theme }) =>
|
|
8
8
|
theme.quasar?.components?.['q-card'] ??
|
|
9
|
-
`[
|
|
9
|
+
`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)] rounded-[4px] align-top bg-[#fff] relative
|
|
10
|
+
[&_>_div:not(.q--avoid-card-border)]:(rounded-tl-none rounded-tr-none rounded-bl-none rounded-br-none)
|
|
11
|
+
[&_>_img:not(.q--avoid-card-border)]:(rounded-tl-none rounded-tr-none rounded-bl-none rounded-br-none)
|
|
12
|
+
[&_>_div:nth-child(1_of_:not(.q--avoid-card-border))]:([border-top:0] [border-top-left-radius:inherit] [border-top-right-radius:inherit])
|
|
13
|
+
[&_>_img:nth-child(1_of_:not(.q--avoid-card-border))]:([border-top:0] [border-top-left-radius:inherit] [border-top-right-radius:inherit])
|
|
14
|
+
[&_>_div:nth-last-child(1_of_:not(.q--avoid-card-border))]:([border-bottom:0] [border-bottom-left-radius:inherit] [border-bottom-right-radius:inherit])
|
|
15
|
+
[&_>_img:nth-last-child(1_of_:not(.q--avoid-card-border))]:([border-bottom:0] [border-bottom-left-radius:inherit] [border-bottom-right-radius:inherit])
|
|
16
|
+
[&_>_div:not(.q--avoid-card-border)]:([border-left:0] [border-right:0] shadow-none)
|
|
17
|
+
[&_>_img]:(block w-full max-w-full border-[0])`
|
|
10
18
|
],
|
|
11
19
|
|
|
12
20
|
[
|
|
13
21
|
/^q-card--bordered$/,
|
|
14
22
|
([, c], { theme }) =>
|
|
15
23
|
theme.quasar?.components?.['q-card--bordered'] ??
|
|
16
|
-
`border-
|
|
24
|
+
`border-1px border-solid border-black/12`
|
|
17
25
|
],
|
|
18
26
|
|
|
19
27
|
[
|
|
20
28
|
/^q-card--dark$/,
|
|
21
29
|
([, c], { theme }) =>
|
|
22
30
|
theme.quasar?.components?.['q-card--dark'] ??
|
|
23
|
-
`border-
|
|
31
|
+
`border-white/28 shadow-[0_1px_5px_rgba(255,_255,_255,_0.2),_0_2px_2px_rgba(255,_255,_255,_0.14),_0_3px_1px_-2px_rgba(255,_255,_255,_0.12)]`
|
|
24
32
|
],
|
|
25
33
|
|
|
26
34
|
[/^q-card__section$/, ([, c], { theme }) => `relative`],
|
|
@@ -31,7 +39,7 @@ const shortcuts: UserShortcuts<QuasarTheme> = [
|
|
|
31
39
|
/^q-card__section--horiz$/,
|
|
32
40
|
([, c], { theme }) =>
|
|
33
41
|
theme.quasar?.components?.['q-card__section--horiz'] ??
|
|
34
|
-
`[&_>_div:not(.q--avoid-card-border)]:(rounded-tl-none rounded-bl-none rounded-tr-none rounded-br-none) [&_>_img:not(.q--avoid-card-border)]:(rounded-tl-none rounded-bl-none rounded-tr-none rounded-br-none) [&_>_div:nth-child(1_of_:not(.q--avoid-card-border))]:([border-top-left-radius:inherit] [border-bottom-left-radius:inherit]) [&_>_img:nth-child(1_of_:not(.q--avoid-card-border))]:([border-top-left-radius:inherit] [border-bottom-left-radius:inherit]) [&_>_div:nth-last-child(1_of_:not(.q--avoid-card-border))]:([border-top-right-radius:inherit] [border-bottom-right-radius:inherit]) [&_>_img:nth-last-child(1_of_:not(.q--avoid-card-border))]:([border-top-right-radius:inherit] [border-bottom-right-radius:inherit]) [&_>_div:not(.q--avoid-card-border)]:([border-top:0] [border-bottom:0]
|
|
42
|
+
`[&_>_div:not(.q--avoid-card-border)]:(rounded-tl-none rounded-bl-none rounded-tr-none rounded-br-none) [&_>_img:not(.q--avoid-card-border)]:(rounded-tl-none rounded-bl-none rounded-tr-none rounded-br-none) [&_>_div:nth-child(1_of_:not(.q--avoid-card-border))]:([border-top-left-radius:inherit] [border-bottom-left-radius:inherit]) [&_>_img:nth-child(1_of_:not(.q--avoid-card-border))]:([border-top-left-radius:inherit] [border-bottom-left-radius:inherit]) [&_>_div:nth-last-child(1_of_:not(.q--avoid-card-border))]:([border-top-right-radius:inherit] [border-bottom-right-radius:inherit]) [&_>_img:nth-last-child(1_of_:not(.q--avoid-card-border))]:([border-top-right-radius:inherit] [border-bottom-right-radius:inherit]) [&_>_div:not(.q--avoid-card-border)]:([border-top:0] [border-bottom:0] shadow-none)`
|
|
35
43
|
],
|
|
36
44
|
|
|
37
45
|
[
|
|
@@ -38,7 +38,8 @@ const shortcuts: UserShortcuts<QuasarTheme> = [
|
|
|
38
38
|
/^q-message-text--received$/,
|
|
39
39
|
([, c], { theme }) =>
|
|
40
40
|
theme.quasar?.components?.['q-message-text--received'] ??
|
|
41
|
-
`text-[#81c784] rounded-tl-[4px] rounded-br-[4px] rounded-tr-[4px] rounded-bl-[0]
|
|
41
|
+
`text-[#81c784] rounded-tl-[4px] rounded-br-[4px] rounded-tr-[4px] rounded-bl-[0]
|
|
42
|
+
[&:last-child:before]:(right-full [border-right:0_solid_transparent] [border-left:8px_solid_transparent] [border-bottom:8px_solid_currentColor])`
|
|
42
43
|
],
|
|
43
44
|
|
|
44
45
|
[/^q-message-text-content--received$/, ([, c], { theme }) => `text-[#000]`],
|
|
@@ -62,7 +63,11 @@ const shortcuts: UserShortcuts<QuasarTheme> = [
|
|
|
62
63
|
/^q-message-text$/,
|
|
63
64
|
([, c], { theme }) =>
|
|
64
65
|
theme.quasar?.components?.['q-message-text'] ??
|
|
65
|
-
`bg-current p-[8px] leading-[1.2] relative
|
|
66
|
+
`bg-current p-[8px] leading-[1.2] relative
|
|
67
|
+
[&_+_.q-message-text]:(mt-[3px])
|
|
68
|
+
[&:last-child]:(min-h-[48px])
|
|
69
|
+
[&:last-child_.q-message-stamp]:(block)
|
|
70
|
+
[&:last-child:before]:(content-empty absolute bottom-0 w-[0] h-[0])`
|
|
66
71
|
]
|
|
67
72
|
]
|
|
68
73
|
|
|
@@ -28,7 +28,12 @@ body.desktop .q-checkbox--dense:not(.disabled):focus .q-checkbox__inner:before,
|
|
|
28
28
|
]
|
|
29
29
|
|
|
30
30
|
const shortcuts: UserShortcuts<QuasarTheme> = [
|
|
31
|
-
[
|
|
31
|
+
[
|
|
32
|
+
/^q-checkbox$/,
|
|
33
|
+
([, c], { theme }) =>
|
|
34
|
+
theme.quasar?.components?.['q-checkbox'] ??
|
|
35
|
+
`align-middle [&.disabled]:(!opacity-75)`
|
|
36
|
+
],
|
|
32
37
|
|
|
33
38
|
[/^q-checkbox__native$/, ([, c], { theme }) => `w-px h-px`],
|
|
34
39
|
|
|
@@ -49,7 +54,7 @@ const shortcuts: UserShortcuts<QuasarTheme> = [
|
|
|
49
54
|
/^q-checkbox__truthy$/,
|
|
50
55
|
([, c], { theme }) =>
|
|
51
56
|
theme.quasar?.components?.['q-checkbox__truthy'] ??
|
|
52
|
-
`stroke-current stroke-[3.12px]`
|
|
57
|
+
`stroke-current stroke-[3.12px] stroke-offset-[29.78334] stroke-dash-[29.78334]`
|
|
53
58
|
],
|
|
54
59
|
|
|
55
60
|
[
|
|
@@ -63,14 +68,16 @@ const shortcuts: UserShortcuts<QuasarTheme> = [
|
|
|
63
68
|
/^q-checkbox__inner$/,
|
|
64
69
|
([, c], { theme }) =>
|
|
65
70
|
theme.quasar?.components?.['q-checkbox__inner'] ??
|
|
66
|
-
`text-[40px] w-[1em] min-w-[1em] h-[1em] outline-0 rounded-[50%] text-[rgba(0,_0,_0,_0.54)]`
|
|
71
|
+
`text-[40px] w-[1em] min-w-[1em] h-[1em] outline-[0] rounded-[50%] layer-dismiss:text-[rgba(0,_0,_0,_0.54)]`
|
|
67
72
|
],
|
|
68
73
|
|
|
69
74
|
[
|
|
70
75
|
/^q-checkbox__inner--truthy$/,
|
|
71
76
|
([, c], { theme }) =>
|
|
72
77
|
theme.quasar?.components?.['q-checkbox__inner--truthy'] ??
|
|
73
|
-
`text-primary
|
|
78
|
+
`text-primary
|
|
79
|
+
[&_.q-checkbox\\_\\_bg]:(bg-current)
|
|
80
|
+
[&_path]:(stroke-offset-none [transition:stroke-dashoffset_0.18s_cubic-bezier(0.4,_0,_0.6,_1)_0ms])`
|
|
74
81
|
],
|
|
75
82
|
|
|
76
83
|
[
|
|
@@ -84,14 +91,20 @@ const shortcuts: UserShortcuts<QuasarTheme> = [
|
|
|
84
91
|
/^q-checkbox--dark$/,
|
|
85
92
|
([, c], { theme }) =>
|
|
86
93
|
theme.quasar?.components?.['q-checkbox--dark'] ??
|
|
87
|
-
`[&_.q-checkbox\\_\\_inner]:(text-[rgba(255,_255,_255,_0.7)])
|
|
94
|
+
`[&_.q-checkbox\\_\\_inner]:(layer-dismiss:text-[rgba(255,_255,_255,_0.7)])
|
|
95
|
+
[&_.q-checkbox\\_\\_inner:before]:(!opacity-[0.32])
|
|
96
|
+
[&_.q-checkbox\\_\\_inner--truthy]:(layer-dismiss:text-primary)
|
|
97
|
+
[&_.q-checkbox\\_\\_inner--indet]:(layer-dismiss:text-primary)`
|
|
88
98
|
],
|
|
89
99
|
|
|
90
100
|
[
|
|
91
101
|
/^q-checkbox--dense$/,
|
|
92
102
|
([, c], { theme }) =>
|
|
93
103
|
theme.quasar?.components?.['q-checkbox--dense'] ??
|
|
94
|
-
`[&_.q-checkbox\\_\\_inner]:(w-[0.5em] min-w-[0.5em] h-[0.5em])
|
|
104
|
+
`[&_.q-checkbox\\_\\_inner]:(w-[0.5em] min-w-[0.5em] h-[0.5em])
|
|
105
|
+
[&_.q-checkbox\\_\\_bg]:(left-[5%] top-[5%] w-[90%] h-[90%])
|
|
106
|
+
[&_.q-checkbox\\_\\_label]:(pl-[0.5em])
|
|
107
|
+
[&.reverse_.q-checkbox\\_\\_label]:(pl-0 pr-[0.5em])`
|
|
95
108
|
]
|
|
96
109
|
]
|
|
97
110
|
|
|
@@ -6,12 +6,14 @@ const shortcuts: UserShortcuts<QuasarTheme> = [
|
|
|
6
6
|
/^q-drawer$/,
|
|
7
7
|
([, c], { theme }) =>
|
|
8
8
|
theme.quasar?.components?.['q-drawer'] ??
|
|
9
|
-
`absolute top-[0] bottom-[0] bg-[#fff]`
|
|
9
|
+
`absolute top-[0] bottom-[0] bg-[#fff] z-${theme.quasar.z['side']}`
|
|
10
10
|
],
|
|
11
11
|
|
|
12
12
|
[
|
|
13
13
|
/^q-drawer--on-top$/,
|
|
14
|
-
([, c], { theme }) =>
|
|
14
|
+
([, c], { theme }) =>
|
|
15
|
+
theme.quasar?.components?.['q-drawer--on-top'] ??
|
|
16
|
+
`z-${theme.quasar.z['top']}`
|
|
15
17
|
],
|
|
16
18
|
|
|
17
19
|
[
|
|
@@ -65,14 +67,16 @@ const shortcuts: UserShortcuts<QuasarTheme> = [
|
|
|
65
67
|
|
|
66
68
|
[
|
|
67
69
|
/^q-drawer__backdrop$/,
|
|
68
|
-
([, c], { theme }) =>
|
|
70
|
+
([, c], { theme }) =>
|
|
71
|
+
theme.quasar?.components?.['q-drawer__backdrop'] ??
|
|
72
|
+
`z-${theme.quasar.z['top'] - 1}`
|
|
69
73
|
],
|
|
70
74
|
|
|
71
75
|
[
|
|
72
76
|
/^q-drawer__opener$/,
|
|
73
77
|
([, c], { theme }) =>
|
|
74
78
|
theme.quasar?.components?.['q-drawer__opener'] ??
|
|
75
|
-
`h-full w-[15px] select-none`
|
|
79
|
+
`h-full w-[15px] select-none z-${theme.quasar.z['marginals'] + 1}`
|
|
76
80
|
]
|
|
77
81
|
]
|
|
78
82
|
|
|
@@ -15,7 +15,7 @@ const shortcuts: UserShortcuts<QuasarTheme> = [
|
|
|
15
15
|
/^q-footer$/,
|
|
16
16
|
([, c], { theme }) =>
|
|
17
17
|
theme.quasar?.components?.['q-footer'] ??
|
|
18
|
-
`[&_.q-layout\\_\\_shadow]:(-top-[10px]) [&_.q-layout\\_\\_shadow:after]:(top-[10px]) relative z
|
|
18
|
+
`[&_.q-layout\\_\\_shadow]:(-top-[10px]) [&_.q-layout\\_\\_shadow:after]:(top-[10px]) relative z-${theme.quasar.z['marginals']}`
|
|
19
19
|
]
|
|
20
20
|
]
|
|
21
21
|
|
|
@@ -6,7 +6,7 @@ const shortcuts: UserShortcuts<QuasarTheme> = [
|
|
|
6
6
|
/^q-menu$/,
|
|
7
7
|
([, c], { theme }) =>
|
|
8
8
|
theme.quasar?.components?.['q-menu'] ??
|
|
9
|
-
`!fixed inline-block max-w-[95vw] max-h-[65vh] [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)] bg-[#fff] rounded-[4px] overflow-y-auto overflow-x-hidden outline-0 z
|
|
9
|
+
`!fixed inline-block max-w-[95vw] max-h-[65vh] [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)] bg-[#fff] rounded-[4px] overflow-y-auto overflow-x-hidden outline-0 z-${theme.quasar.z['menu']}`
|
|
10
10
|
],
|
|
11
11
|
|
|
12
12
|
[/^q-menu--square$/, ([, c], { theme }) => `rounded-none`],
|
|
@@ -2,7 +2,7 @@ import type { Preflight, Rule, UserShortcuts } from '@unocss/core'
|
|
|
2
2
|
import type { QuasarTheme } from '../theme.js'
|
|
3
3
|
|
|
4
4
|
const shortcuts: UserShortcuts<QuasarTheme> = [
|
|
5
|
-
[/^q-tab-panels$/, ([, c], { theme }) => `bg-
|
|
5
|
+
[/^q-tab-panels$/, ([, c], { theme }) => `bg-inherit`],
|
|
6
6
|
|
|
7
7
|
[/^q-tab-panel$/, ([, c], { theme }) => `p-[16px]`]
|
|
8
8
|
]
|
|
@@ -13,7 +13,7 @@ const shortcuts: UserShortcuts<QuasarTheme> = [
|
|
|
13
13
|
/^q-tooltip$/,
|
|
14
14
|
([, c], { theme }) =>
|
|
15
15
|
theme.quasar?.components?.['q-tooltip'] ??
|
|
16
|
-
`z
|
|
16
|
+
`z-${theme.quasar.z['tooltip']} !fixed overflow-y-auto overflow-x-hidden px-[10px] py-[6px] max-w-[95vw] max-h-[65vh] sm:(text-14px pt-8px pb-8px pl-16px pr-16px)`
|
|
17
17
|
]
|
|
18
18
|
]
|
|
19
19
|
|
|
@@ -12,7 +12,7 @@ const preflights: Preflight<QuasarTheme>[] = [
|
|
|
12
12
|
--q-negative: ${theme.colors.negative};
|
|
13
13
|
--q-info: ${theme.colors.info};
|
|
14
14
|
--q-warning: ${theme.colors.warning};
|
|
15
|
-
--q-dark: ${theme.colors['
|
|
15
|
+
--q-dark: ${theme.colors['dark']};
|
|
16
16
|
--q-dark-page: ${theme.colors['dark-page']};
|
|
17
17
|
}`
|
|
18
18
|
}
|
|
@@ -13,11 +13,17 @@ const colGutter = {
|
|
|
13
13
|
xl: 12
|
|
14
14
|
} as const
|
|
15
15
|
|
|
16
|
-
const sizes = ['sm', 'md', 'lg', 'xl']
|
|
17
|
-
|
|
18
16
|
const shortcuts: UserShortcuts<QuasarTheme> = [
|
|
19
|
-
[
|
|
20
|
-
|
|
17
|
+
[
|
|
18
|
+
/^row$/,
|
|
19
|
+
([, c], { theme }) =>
|
|
20
|
+
`flex flex-row flex-wrap [&.reverse]:(flex-row-reverse)`
|
|
21
|
+
],
|
|
22
|
+
[
|
|
23
|
+
/^column$/,
|
|
24
|
+
([, c], { theme }) =>
|
|
25
|
+
`flex flex-col flex-wrap [&.reverse]:(flex-col-reverse)`
|
|
26
|
+
],
|
|
21
27
|
[
|
|
22
28
|
/^col(?:-)?(none|xs|sm|md|lg|xl)?(?:-)?([2-9]|1[0-2]?)?$/,
|
|
23
29
|
([, size, nr], { theme }) => {
|
|
@@ -69,7 +75,9 @@ const shortcuts: UserShortcuts<QuasarTheme> = [
|
|
|
69
75
|
],
|
|
70
76
|
[/^wrap$/, ([, size], { theme }) => `flex-wrap`],
|
|
71
77
|
[/^no-wrap$/, ([, size], { theme }) => `flex-nowrap`],
|
|
72
|
-
[/^reverse-wrap$/, ([, size], { theme }) => `flex-wrap-reverse`]
|
|
78
|
+
[/^reverse-wrap$/, ([, size], { theme }) => `flex-wrap-reverse`],
|
|
79
|
+
[/^flex-center$/, ([, c], { theme }) => 'justify-center items-center'],
|
|
80
|
+
[/^inline$/, ([, c], { theme }) => 'flex-inline!']
|
|
73
81
|
]
|
|
74
82
|
|
|
75
83
|
export { shortcuts }
|
|
@@ -75,7 +75,9 @@ const shortcuts: UserShortcuts<QuasarTheme> = [
|
|
|
75
75
|
|
|
76
76
|
[/^on-right$/, ([, c], { theme }) => `ml-[12px]`],
|
|
77
77
|
|
|
78
|
-
[/^q-position-engine$/, ([, c], { theme }) => `!mt-0 !ml-0`]
|
|
78
|
+
[/^q-position-engine$/, ([, c], { theme }) => `!mt-0 !ml-0`],
|
|
79
|
+
|
|
80
|
+
[/^relative-position$/, ([, c], { theme }) => `relative`]
|
|
79
81
|
]
|
|
80
82
|
|
|
81
83
|
export { shortcuts }
|
|
@@ -5,7 +5,7 @@ const shortcuts: UserShortcuts<QuasarTheme> = [
|
|
|
5
5
|
[
|
|
6
6
|
/^q-ripple$/,
|
|
7
7
|
([, c], { theme }) =>
|
|
8
|
-
`absolute top-0 left-0 w-full h-full [color:inherit] [border-radius:inherit] z-0 pointer-events-none overflow-hidden`
|
|
8
|
+
`absolute top-0 left-0 w-full h-full [color:inherit] [border-radius:inherit] z-0 pointer-events-none overflow-hidden z-0`
|
|
9
9
|
],
|
|
10
10
|
|
|
11
11
|
[
|