vitrify 0.17.4 → 0.17.6
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 +8 -4
- package/dist/plugins/quasar/unocss/components/QAvatar.unocss.js +4 -2
- package/dist/plugins/quasar/unocss/components/QBadge.unocss.js +8 -4
- package/dist/plugins/quasar/unocss/components/QBanner.unocss.js +6 -3
- package/dist/plugins/quasar/unocss/components/QBar.unocss.js +6 -3
- package/dist/plugins/quasar/unocss/components/QBtn.unocss.js +26 -13
- package/dist/plugins/quasar/unocss/components/QBtnDropdown.unocss.js +4 -2
- package/dist/plugins/quasar/unocss/components/QBtnGroup.unocss.js +10 -5
- package/dist/plugins/quasar/unocss/components/QCard.unocss.js +14 -7
- package/dist/plugins/quasar/unocss/components/QCarousel.unocss.js +38 -19
- package/dist/plugins/quasar/unocss/components/QChatMessage.unocss.js +14 -7
- package/dist/plugins/quasar/unocss/components/QCheckbox.unocss.js +16 -8
- package/dist/plugins/quasar/unocss/components/QChip.unocss.js +25 -47
- package/dist/plugins/quasar/unocss/components/QCircularProgress.unocss.js +4 -2
- package/dist/plugins/quasar/unocss/components/QColorPicker.unocss.js +46 -102
- package/dist/plugins/quasar/unocss/components/QDate.unocss.js +54 -27
- package/dist/plugins/quasar/unocss/components/QDialog.unocss.js +24 -12
- package/dist/plugins/quasar/unocss/components/QDrawer.unocss.js +28 -25
- package/dist/plugins/quasar/unocss/components/QEditor.unocss.js +10 -5
- package/dist/plugins/quasar/unocss/components/QExpansionItem.unocss.js +16 -8
- package/dist/plugins/quasar/unocss/components/QFab.unocss.js +46 -23
- package/dist/plugins/quasar/unocss/components/QField.unocss.js +60 -30
- package/dist/plugins/quasar/unocss/components/QFile.unocss.js +6 -3
- package/dist/plugins/quasar/unocss/components/QFooter.unocss.js +4 -2
- package/dist/plugins/quasar/unocss/components/QHeader.unocss.js +4 -2
- package/dist/plugins/quasar/unocss/components/QImg.unocss.js +12 -6
- package/dist/plugins/quasar/unocss/components/QInnerLoading.unocss.js +2 -1
- package/dist/plugins/quasar/unocss/components/QInput.unocss.js +4 -18
- package/dist/plugins/quasar/unocss/components/QItem.unocss.js +32 -16
- package/dist/plugins/quasar/unocss/components/QKnob.unocss.js +5 -6
- package/dist/plugins/quasar/unocss/components/QLayout.unocss.js +6 -3
- package/dist/plugins/quasar/unocss/components/QLinearProgress.unocss.js +23 -12
- package/dist/plugins/quasar/unocss/components/QMenu.unocss.js +4 -2
- package/dist/plugins/quasar/unocss/components/QPageSticky.unocss.js +2 -1
- package/dist/plugins/quasar/unocss/components/QPagination.unocss.js +6 -3
- package/dist/plugins/quasar/unocss/components/QParallax.unocss.js +4 -2
- package/dist/plugins/quasar/unocss/components/QPopupEdit.unocss.js +2 -1
- package/dist/plugins/quasar/unocss/components/QPullToRefresh.unocss.js +4 -2
- package/dist/plugins/quasar/unocss/components/QRadio.unocss.js +29 -15
- package/dist/plugins/quasar/unocss/components/QRating.unocss.js +8 -4
- package/dist/plugins/quasar/unocss/components/QResponsive.unocss.js +4 -2
- package/dist/plugins/quasar/unocss/components/QScrollarea.unocss.js +10 -5
- package/dist/plugins/quasar/unocss/components/QSelect.unocss.js +14 -7
- package/dist/plugins/quasar/unocss/components/QSeparator.unocss.js +9 -5
- package/dist/plugins/quasar/unocss/components/QSkeleton.unocss.js +67 -42
- package/dist/plugins/quasar/unocss/components/QSlideItem.unocss.js +10 -5
- package/dist/plugins/quasar/unocss/components/QSlider.unocss.js +70 -35
- package/dist/plugins/quasar/unocss/components/QSpinner.unocss.js +2 -1
- package/dist/plugins/quasar/unocss/components/QSplitter.unocss.js +18 -16
- package/dist/plugins/quasar/unocss/components/QStepper.unocss.js +54 -38
- package/dist/plugins/quasar/unocss/components/QTable.unocss.js +101 -55
- package/dist/plugins/quasar/unocss/components/QTabs.unocss.js +67 -44
- package/dist/plugins/quasar/unocss/components/QTime.unocss.js +167 -65
- package/dist/plugins/quasar/unocss/components/QTimeline.unocss.js +41 -30
- package/dist/plugins/quasar/unocss/components/QToggle.unocss.js +23 -18
- package/dist/plugins/quasar/unocss/components/QToolbar.unocss.js +4 -2
- package/dist/plugins/quasar/unocss/components/QTooltip.unocss.js +4 -2
- package/dist/plugins/quasar/unocss/components/QTree.unocss.js +54 -27
- package/dist/plugins/quasar/unocss/components/QUploader.unocss.js +37 -25
- package/dist/plugins/quasar/unocss/components/QVideo.unocss.js +4 -2
- package/dist/plugins/quasar/unocss/components/QVirtualScroll.unocss.js +6 -3
- package/dist/plugins/quasar/unocss/core/elevation.unocss.js +59 -56
- package/dist/plugins/quasar/unocss/index.js +147 -7
- package/dist/plugins/quasar/unocss/theme.js +300 -426
- package/dist/types/plugins/quasar/unocss/index.d.ts +2 -0
- package/dist/types/plugins/quasar/unocss/theme.d.ts +827 -127
- package/dist/types/plugins/quasar.d.ts +6 -8
- package/package.json +1 -1
- package/src/node/plugins/quasar/unocss/components/QAjaxBar.unocss.ts +12 -4
- package/src/node/plugins/quasar/unocss/components/QAvatar.unocss.ts +2 -0
- package/src/node/plugins/quasar/unocss/components/QBadge.unocss.ts +8 -2
- package/src/node/plugins/quasar/unocss/components/QBanner.unocss.ts +3 -0
- package/src/node/plugins/quasar/unocss/components/QBar.unocss.ts +9 -3
- package/src/node/plugins/quasar/unocss/components/QBtn.unocss.ts +21 -4
- package/src/node/plugins/quasar/unocss/components/QBtnDropdown.unocss.ts +4 -1
- package/src/node/plugins/quasar/unocss/components/QBtnGroup.unocss.ts +5 -0
- package/src/node/plugins/quasar/unocss/components/QCard.unocss.ts +9 -1
- package/src/node/plugins/quasar/unocss/components/QCarousel.unocss.ts +41 -11
- package/src/node/plugins/quasar/unocss/components/QChatMessage.unocss.ts +13 -3
- package/src/node/plugins/quasar/unocss/components/QCheckbox.unocss.ts +10 -1
- package/src/node/plugins/quasar/unocss/components/QChip.unocss.ts +47 -50
- package/src/node/plugins/quasar/unocss/components/QCircularProgress.unocss.ts +2 -0
- package/src/node/plugins/quasar/unocss/components/QColorPicker.unocss.ts +93 -102
- package/src/node/plugins/quasar/unocss/components/QDate.unocss.ts +45 -9
- package/src/node/plugins/quasar/unocss/components/QDialog.unocss.ts +36 -12
- package/src/node/plugins/quasar/unocss/components/QDrawer.unocss.ts +28 -25
- package/src/node/plugins/quasar/unocss/components/QEditor.unocss.ts +15 -5
- package/src/node/plugins/quasar/unocss/components/QExpansionItem.unocss.ts +16 -4
- package/src/node/plugins/quasar/unocss/components/QFab.unocss.ts +35 -6
- package/src/node/plugins/quasar/unocss/components/QField.unocss.ts +38 -4
- package/src/node/plugins/quasar/unocss/components/QFile.unocss.ts +5 -1
- package/src/node/plugins/quasar/unocss/components/QFooter.unocss.ts +4 -1
- package/src/node/plugins/quasar/unocss/components/QHeader.unocss.ts +4 -1
- package/src/node/plugins/quasar/unocss/components/QImg.unocss.ts +12 -3
- package/src/node/plugins/quasar/unocss/components/QInnerLoading.unocss.ts +1 -0
- package/src/node/plugins/quasar/unocss/components/QInput.unocss.ts +4 -24
- package/src/node/plugins/quasar/unocss/components/QItem.unocss.ts +30 -7
- package/src/node/plugins/quasar/unocss/components/QKnob.unocss.ts +5 -9
- package/src/node/plugins/quasar/unocss/components/QLayout.unocss.ts +5 -1
- package/src/node/plugins/quasar/unocss/components/QLinearProgress.unocss.ts +23 -5
- package/src/node/plugins/quasar/unocss/components/QMenu.unocss.ts +2 -0
- package/src/node/plugins/quasar/unocss/components/QPageSticky.unocss.ts +1 -0
- package/src/node/plugins/quasar/unocss/components/QPagination.unocss.ts +3 -0
- package/src/node/plugins/quasar/unocss/components/QParallax.unocss.ts +2 -0
- package/src/node/plugins/quasar/unocss/components/QPopupEdit.unocss.ts +3 -1
- package/src/node/plugins/quasar/unocss/components/QPullToRefresh.unocss.ts +4 -1
- package/src/node/plugins/quasar/unocss/components/QRadio.unocss.ts +31 -15
- package/src/node/plugins/quasar/unocss/components/QRating.unocss.ts +8 -2
- package/src/node/plugins/quasar/unocss/components/QResponsive.unocss.ts +2 -0
- package/src/node/plugins/quasar/unocss/components/QScrollarea.unocss.ts +13 -4
- package/src/node/plugins/quasar/unocss/components/QSelect.unocss.ts +17 -5
- package/src/node/plugins/quasar/unocss/components/QSeparator.unocss.ts +14 -4
- package/src/node/plugins/quasar/unocss/components/QSkeleton.unocss.ts +83 -43
- package/src/node/plugins/quasar/unocss/components/QSlideItem.unocss.ts +5 -0
- package/src/node/plugins/quasar/unocss/components/QSlider.unocss.ts +55 -10
- package/src/node/plugins/quasar/unocss/components/QSpinner.unocss.ts +1 -0
- package/src/node/plugins/quasar/unocss/components/QSplitter.unocss.ts +20 -18
- package/src/node/plugins/quasar/unocss/components/QStepper.unocss.ts +51 -34
- package/src/node/plugins/quasar/unocss/components/QTable.unocss.ts +110 -51
- package/src/node/plugins/quasar/unocss/components/QTabs.unocss.ts +77 -46
- package/src/node/plugins/quasar/unocss/components/QTime.unocss.ts +192 -65
- package/src/node/plugins/quasar/unocss/components/QTimeline.unocss.ts +36 -28
- package/src/node/plugins/quasar/unocss/components/QToggle.unocss.ts +24 -20
- package/src/node/plugins/quasar/unocss/components/QToolbar.unocss.ts +2 -0
- package/src/node/plugins/quasar/unocss/components/QTooltip.unocss.ts +2 -0
- package/src/node/plugins/quasar/unocss/components/QTree.unocss.ts +59 -24
- package/src/node/plugins/quasar/unocss/components/QUploader.unocss.ts +36 -22
- package/src/node/plugins/quasar/unocss/components/QVideo.unocss.ts +2 -0
- package/src/node/plugins/quasar/unocss/components/QVirtualScroll.unocss.ts +3 -0
- package/src/node/plugins/quasar/unocss/core/elevation.unocss.ts +61 -60
- package/src/node/plugins/quasar/unocss/index.ts +150 -7
- package/src/node/plugins/quasar/unocss/theme.ts +1422 -428
- package/src/node/plugins/quasar.ts +12 -9
|
@@ -17,81 +17,78 @@ body.desktop.body--dark .q-chip--clickable:focus {
|
|
|
17
17
|
const shortcuts: UserShortcuts<QuasarTheme> = [
|
|
18
18
|
[
|
|
19
19
|
/^q-chip$/,
|
|
20
|
-
(
|
|
21
|
-
[
|
|
22
|
-
|
|
23
|
-
) => `v-middle border-rd-16px outline-0 relative h-2em max-w-full m-4px bg-gray-1 text-black text-op-87 text-14px px-0.9em py-0.5em
|
|
24
|
-
[&_.q-avatar]:(text-2em ml--0.45em mr-0.2em border-rd-16px)
|
|
25
|
-
`
|
|
20
|
+
([, c], { theme }) =>
|
|
21
|
+
theme.quasar?.components?.['q-chip'] ??
|
|
22
|
+
`align-middle rounded-[16px] outline-[0] relative h-[2em] max-w-full m-[4px] bg-[#e0e0e0] text-[rgba(0,_0,_0,_0.87)] text-[14px] px-[0.9em] py-[0.5em] [&_.q-avatar]:(text-[2em] -ml-[0.45em] mr-[0.2em] rounded-[16px])`
|
|
26
23
|
],
|
|
24
|
+
|
|
27
25
|
[
|
|
28
26
|
/^q-chip--colored$/,
|
|
29
|
-
([, c], { theme }) =>
|
|
30
|
-
[
|
|
31
|
-
[&_.q-chip
|
|
32
|
-
|
|
27
|
+
([, c], { theme }) =>
|
|
28
|
+
theme.quasar?.components?.['q-chip--colored'] ??
|
|
29
|
+
`[&_.q-chip\\_\\_icon]:([color:inherit])`
|
|
30
|
+
],
|
|
31
|
+
|
|
32
|
+
[
|
|
33
|
+
/^q-chip--dark$/,
|
|
34
|
+
([, c], { theme }) =>
|
|
35
|
+
theme.quasar?.components?.['q-chip--dark'] ??
|
|
36
|
+
`[&_.q-chip\\_\\_icon]:([color:inherit])`
|
|
33
37
|
],
|
|
38
|
+
|
|
34
39
|
[
|
|
35
40
|
/^q-chip--outline$/,
|
|
36
|
-
([, c], { theme }) =>
|
|
37
|
-
|
|
38
|
-
[
|
|
39
|
-
`
|
|
41
|
+
([, c], { theme }) =>
|
|
42
|
+
theme.quasar?.components?.['q-chip--outline'] ??
|
|
43
|
+
`!bg-transparent border-[1px] border-solid border-[currentColor]`
|
|
40
44
|
],
|
|
45
|
+
|
|
41
46
|
[
|
|
42
47
|
/^q-chip--selected$/,
|
|
43
|
-
([, c], { theme }) =>
|
|
44
|
-
hidden
|
|
45
|
-
`
|
|
48
|
+
([, c], { theme }) =>
|
|
49
|
+
theme.quasar?.components?.['q-chip--selected'] ?? `[&_.q-avatar]:(hidden)`
|
|
46
50
|
],
|
|
51
|
+
|
|
47
52
|
[
|
|
48
53
|
/^q-chip__icon$/,
|
|
49
|
-
([, c], { theme }) =>
|
|
50
|
-
|
|
51
|
-
|
|
54
|
+
([, c], { theme }) =>
|
|
55
|
+
theme.quasar?.components?.['q-chip__icon'] ??
|
|
56
|
+
`text-[rgba(0,_0,_0,_0.54)] text-[1.5em] -m-[0.2em]`
|
|
52
57
|
],
|
|
58
|
+
|
|
53
59
|
[
|
|
54
60
|
/^q-chip__icon--left$/,
|
|
55
|
-
([, c], { theme }) =>
|
|
56
|
-
|
|
57
|
-
`
|
|
61
|
+
([, c], { theme }) =>
|
|
62
|
+
theme.quasar?.components?.['q-chip__icon--left'] ?? `mr-[0.2em]`
|
|
58
63
|
],
|
|
64
|
+
|
|
59
65
|
[
|
|
60
66
|
/^q-chip__icon--right$/,
|
|
61
|
-
([, c], { theme }) =>
|
|
62
|
-
|
|
63
|
-
`
|
|
67
|
+
([, c], { theme }) =>
|
|
68
|
+
theme.quasar?.components?.['q-chip__icon--right'] ?? `ml-[0.2em]`
|
|
64
69
|
],
|
|
70
|
+
|
|
65
71
|
[
|
|
66
72
|
/^q-chip__icon--remove$/,
|
|
67
|
-
([, c], { theme }) =>
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
[&:focus]:(op-100)
|
|
71
|
-
`
|
|
72
|
-
],
|
|
73
|
-
[
|
|
74
|
-
/^q-chip__icon--content$/,
|
|
75
|
-
([, c], { theme }) => `
|
|
76
|
-
whitespace-nowrap
|
|
77
|
-
`
|
|
73
|
+
([, c], { theme }) =>
|
|
74
|
+
theme.quasar?.components?.['q-chip__icon--remove'] ??
|
|
75
|
+
`ml-[0.1em] -mr-[0.5em] opacity-60 outline-[0] [&:hover]:(opacity-100) [&:focus]:(opacity-100)`
|
|
78
76
|
],
|
|
77
|
+
|
|
78
|
+
[/^q-chip__content$/, ([, c], { theme }) => `whitespace-nowrap`],
|
|
79
|
+
|
|
79
80
|
[
|
|
80
|
-
/^q-
|
|
81
|
-
([, c], { theme }) =>
|
|
82
|
-
|
|
83
|
-
[&_.q-avatar]:(text-1.5em ml
|
|
84
|
-
[&._q-chip\\_\\_icon]:(text-1.25em)
|
|
85
|
-
[&._q-chip\\_\\_icon--left]:(mr-0.195em)
|
|
86
|
-
[&._q-chip\\_\\_icon--remove]:(mr--0.25em)
|
|
87
|
-
`
|
|
81
|
+
/^q-chip--dense$/,
|
|
82
|
+
([, c], { theme }) =>
|
|
83
|
+
theme.quasar?.components?.['q-chip--dense'] ??
|
|
84
|
+
`rounded-[12px] px-[0.4em] py-[0] h-[1.5em] [&_.q-avatar]:(text-[1.5em] -ml-[0.27em] mr-[0.1em] rounded-[12px]) [&_.q-chip\\_\\_icon]:(text-[1.25em]) [&_.q-chip\\_\\_icon--left]:(mr-[0.195em]) [&_.q-chip\\_\\_icon--remove]:(-mr-[0.25em])`
|
|
88
85
|
],
|
|
86
|
+
|
|
89
87
|
[
|
|
90
|
-
/^q-
|
|
91
|
-
([, c], { theme }) =>
|
|
92
|
-
|
|
93
|
-
[&
|
|
94
|
-
`
|
|
88
|
+
/^q-chip--square$/,
|
|
89
|
+
([, c], { theme }) =>
|
|
90
|
+
theme.quasar?.components?.['q-chip--square'] ??
|
|
91
|
+
`rounded-[4px] [&_.q-avatar]:(rounded-tl-[3px] rounded-br-[0] rounded-tr-[0] rounded-bl-[3px])`
|
|
95
92
|
]
|
|
96
93
|
]
|
|
97
94
|
|
|
@@ -24,6 +24,7 @@ const shortcuts: UserShortcuts<QuasarTheme> = [
|
|
|
24
24
|
[
|
|
25
25
|
/^q-circular-progress$/,
|
|
26
26
|
([, c], { theme }) =>
|
|
27
|
+
theme.quasar?.components?.['q-circular-progress'] ??
|
|
27
28
|
`inline-block relative align-middle w-[1em] h-[1em] leading-none`
|
|
28
29
|
],
|
|
29
30
|
|
|
@@ -34,6 +35,7 @@ const shortcuts: UserShortcuts<QuasarTheme> = [
|
|
|
34
35
|
[
|
|
35
36
|
/^q-circular-progress--indeterminate$/,
|
|
36
37
|
([, c], { theme }) =>
|
|
38
|
+
theme.quasar?.components?.['q-circular-progress--indeterminate'] ??
|
|
37
39
|
`[&_.q-circular-progress\\_\\_svg]:(origin-[50%_50%] animate-[q-spin_2s_linear_infinite]) [&_.q-circular-progress\\_\\_circle]:(animate-[q-circular-progress-circle_1.5s_ease-in-out_infinite])`
|
|
38
40
|
]
|
|
39
41
|
]
|
|
@@ -4,174 +4,165 @@ import type { QuasarTheme } from '../theme.js'
|
|
|
4
4
|
const shortcuts: UserShortcuts<QuasarTheme> = [
|
|
5
5
|
[
|
|
6
6
|
/^q-color-picker$/,
|
|
7
|
-
([, c], { theme }) =>
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
[&.q-tab]:(p-0!)
|
|
11
|
-
[&_input]:(text-inherit bg-transparent outline-0 text-center)
|
|
12
|
-
[&_.q-tabs]:(overflow-hidden)
|
|
13
|
-
[&_.q-tab--active]:(shadow-sm)
|
|
14
|
-
[&_.q-tab--active_.q-focus-helper]:(hidden)
|
|
15
|
-
[&_q-tab\\_\\_indicator]:(hidden)
|
|
16
|
-
[&_q-tab-panels]:(bg-inherit)
|
|
17
|
-
`
|
|
7
|
+
([, c], { theme }) =>
|
|
8
|
+
theme.quasar?.components?.['q-color-picker'] ??
|
|
9
|
+
`overflow-hidden bg-[#fff] max-w-[350px] align-top min-w-[180px] rounded-[4px] [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)] [&_.q-tab]:(!p-0) [&_input]:([color:inherit] bg-transparent outline-[0] text-center) [&_.q-tabs]:(overflow-hidden) [&_.q-tab--active]:([box-shadow:0_0_14px_3px_rgba(0,_0,_0,_0.2)]) [&_.q-tab--active_.q-focus-helper]:(hidden) [&_.q-tab\\_\\_indicator]:(hidden) [&_.q-tab-panels]:([background:inherit])`
|
|
18
10
|
],
|
|
11
|
+
|
|
19
12
|
[
|
|
20
13
|
/^q-color-picker--bordered$/,
|
|
21
|
-
([, c], { theme }) =>
|
|
22
|
-
|
|
23
|
-
|
|
14
|
+
([, c], { theme }) =>
|
|
15
|
+
theme.quasar?.components?.['q-color-picker--bordered'] ??
|
|
16
|
+
`border-[1px] border-solid border-[rgba(0,0,0,0.12)]`
|
|
24
17
|
],
|
|
18
|
+
|
|
25
19
|
[
|
|
26
20
|
/^q-color-picker__header-tabs$/,
|
|
27
|
-
([, c], { theme }) =>
|
|
28
|
-
|
|
29
|
-
`
|
|
21
|
+
([, c], { theme }) =>
|
|
22
|
+
theme.quasar?.components?.['q-color-picker__header-tabs'] ?? `h-[32px]`
|
|
30
23
|
],
|
|
24
|
+
|
|
31
25
|
[
|
|
32
26
|
/^q-color-picker__header-banner$/,
|
|
33
|
-
([, c], { theme }) =>
|
|
34
|
-
|
|
35
|
-
|
|
27
|
+
([, c], { theme }) =>
|
|
28
|
+
theme.quasar?.components?.['q-color-picker__header-banner'] ??
|
|
29
|
+
`h-[36px] h-[36px]`
|
|
36
30
|
],
|
|
31
|
+
|
|
37
32
|
[
|
|
38
33
|
/^q-color-picker__header$/,
|
|
39
|
-
([, c], { theme }) =>
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
[&_.q-tab--inactive]:(bg-gradient-linear from-black/30 via-black/15 to-black/10)
|
|
43
|
-
`
|
|
34
|
+
([, c], { theme }) =>
|
|
35
|
+
theme.quasar?.components?.['q-color-picker__header'] ??
|
|
36
|
+
`[&_input]:(leading-[24px] border-[0]) [&_.q-tab]:(!min-h-[32px] !h-[32px]) [&_.q-tab--inactive]:(bg-[linear-gradient(_to_top,_rgba(0,_0,_0,_0.3)_0%,_rgba(0,_0,_0,_0.15)_25%,_rgba(0,_0,_0,_0.1)_)])`
|
|
44
37
|
],
|
|
38
|
+
|
|
45
39
|
[
|
|
46
40
|
/^q-color-picker__error-icon$/,
|
|
47
|
-
([, c], { theme }) =>
|
|
48
|
-
|
|
49
|
-
|
|
41
|
+
([, c], { theme }) =>
|
|
42
|
+
theme.quasar?.components?.['q-color-picker__error-icon'] ??
|
|
43
|
+
`bottom-[2px] right-[2px] text-[24px] opacity-0 [transition:opacity_0.3s_ease-in]`
|
|
50
44
|
],
|
|
45
|
+
|
|
51
46
|
[
|
|
52
47
|
/^q-color-picker__header-content$/,
|
|
53
|
-
([, c], { theme }) =>
|
|
54
|
-
|
|
55
|
-
|
|
48
|
+
([, c], { theme }) =>
|
|
49
|
+
theme.quasar?.components?.['q-color-picker__header-content'] ??
|
|
50
|
+
`relative bg-[#fff]`
|
|
56
51
|
],
|
|
52
|
+
|
|
57
53
|
[
|
|
58
54
|
/^q-color-picker__header-content--light$/,
|
|
59
|
-
([, c], { theme }) =>
|
|
60
|
-
|
|
61
|
-
|
|
55
|
+
([, c], { theme }) =>
|
|
56
|
+
theme.quasar?.components?.['q-color-picker__header-content--light'] ??
|
|
57
|
+
`text-[#000]`
|
|
62
58
|
],
|
|
59
|
+
|
|
63
60
|
[
|
|
64
61
|
/^q-color-picker__header-content--dark$/,
|
|
65
|
-
([, c], { theme }) =>
|
|
66
|
-
|
|
67
|
-
[&_.q-tab--inactive:before]:(content-
|
|
68
|
-
`
|
|
69
|
-
],
|
|
70
|
-
[
|
|
71
|
-
/^q-color-picker__header-banner$/,
|
|
72
|
-
([, c], { theme }) => `
|
|
73
|
-
h-36px
|
|
74
|
-
`
|
|
62
|
+
([, c], { theme }) =>
|
|
63
|
+
theme.quasar?.components?.['q-color-picker__header-content--dark'] ??
|
|
64
|
+
`text-[#fff] [&_.q-tab--inactive:before]:(content-[''] absolute top-[0] right-[0] bottom-[0] left-[0] bg-[rgba(255,_255,_255,_0.2)])`
|
|
75
65
|
],
|
|
66
|
+
|
|
76
67
|
[
|
|
77
68
|
/^q-color-picker__header-bg$/,
|
|
78
|
-
([, c], { theme }) =>
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
`
|
|
69
|
+
([, c], { theme }) =>
|
|
70
|
+
theme.quasar?.components?.['q-color-picker__header-bg'] ??
|
|
71
|
+
`bg-[#fff] bg-[url('data:image/png]`
|
|
82
72
|
],
|
|
73
|
+
|
|
83
74
|
[
|
|
84
75
|
/^q-color-picker__footer$/,
|
|
85
|
-
([, c], { theme }) =>
|
|
86
|
-
|
|
87
|
-
[&_.q-tab]:(min-h-36px!
|
|
88
|
-
[&_.q-tab--inactive]:(bg-gradient-to-b from-black/0.3 via-black/0.15 to-black/0.1)
|
|
89
|
-
`
|
|
76
|
+
([, c], { theme }) =>
|
|
77
|
+
theme.quasar?.components?.['q-color-picker__footer'] ??
|
|
78
|
+
`h-[36px] [&_.q-tab]:(!min-h-[36px] !h-[36px]) [&_.q-tab--inactive]:(bg-[linear-gradient(_to_bottom,_rgba(0,_0,_0,_0.3)_0%,_rgba(0,_0,_0,_0.15)_25%,_rgba(0,_0,_0,_0.1)_)])`
|
|
90
79
|
],
|
|
80
|
+
|
|
91
81
|
[
|
|
92
82
|
/^q-color-picker__spectrum$/,
|
|
93
|
-
([, c], { theme }) =>
|
|
94
|
-
|
|
95
|
-
`
|
|
83
|
+
([, c], { theme }) =>
|
|
84
|
+
theme.quasar?.components?.['q-color-picker__spectrum'] ?? `w-full h-full`
|
|
96
85
|
],
|
|
86
|
+
|
|
97
87
|
[
|
|
98
88
|
/^q-color-picker__spectrum-tab$/,
|
|
99
|
-
([, c], { theme }) =>
|
|
100
|
-
p-0
|
|
101
|
-
`
|
|
89
|
+
([, c], { theme }) =>
|
|
90
|
+
theme.quasar?.components?.['q-color-picker__spectrum-tab'] ?? `!p-0`
|
|
102
91
|
],
|
|
92
|
+
|
|
103
93
|
[
|
|
104
|
-
/^q-color-picker__spectrum
|
|
105
|
-
([, c], { theme }) =>
|
|
106
|
-
|
|
107
|
-
|
|
94
|
+
/^q-color-picker__spectrum-white$/,
|
|
95
|
+
([, c], { theme }) =>
|
|
96
|
+
theme.quasar?.components?.['q-color-picker__spectrum-white'] ??
|
|
97
|
+
`bg-[linear-gradient(to_right,_#fff,_rgba(255,_255,_255,_0))]`
|
|
108
98
|
],
|
|
99
|
+
|
|
109
100
|
[
|
|
110
|
-
/^q-color-picker__spectrum
|
|
111
|
-
([, c], { theme }) =>
|
|
112
|
-
|
|
113
|
-
|
|
101
|
+
/^q-color-picker__spectrum-black$/,
|
|
102
|
+
([, c], { theme }) =>
|
|
103
|
+
theme.quasar?.components?.['q-color-picker__spectrum-black'] ??
|
|
104
|
+
`bg-[linear-gradient(to_top,_#000,_rgba(0,_0,_0,_0))]`
|
|
114
105
|
],
|
|
106
|
+
|
|
115
107
|
[
|
|
116
|
-
/^q-color-picker__spectrum
|
|
117
|
-
([, c], { theme }) =>
|
|
118
|
-
|
|
119
|
-
|
|
108
|
+
/^q-color-picker__spectrum-circle$/,
|
|
109
|
+
([, c], { theme }) =>
|
|
110
|
+
theme.quasar?.components?.['q-color-picker__spectrum-circle'] ??
|
|
111
|
+
`w-[10px] h-[10px] [box-shadow:0_0_0_1.5px_#fff,_inset_0_0_1px_1px_rgba(0,_0,_0,_0.3),_0_0_1px_2px_rgba(0,_0,_0,_0.4)] rounded-[50%] -translate-x-[5px] -translate-y-[5px]`
|
|
120
112
|
],
|
|
113
|
+
|
|
121
114
|
[
|
|
122
115
|
/^q-color-picker__hue$/,
|
|
123
|
-
([, c], { theme }) =>
|
|
124
|
-
[
|
|
125
|
-
|
|
116
|
+
([, c], { theme }) =>
|
|
117
|
+
theme.quasar?.components?.['q-color-picker__hue'] ??
|
|
118
|
+
`[&_.q-slider\\_\\_track]:(!bg-[linear-gradient(_to_right,_#f00_0%,_#ff0_17%,_#0f0_33%,_#0ff_50%,_#00f_67%,_#f0f_83%,_#f00_100%_)] opacity-100)`
|
|
126
119
|
],
|
|
120
|
+
|
|
127
121
|
[
|
|
128
122
|
/^q-color-picker__alpha$/,
|
|
129
|
-
([, c], { theme }) =>
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
`
|
|
123
|
+
([, c], { theme }) =>
|
|
124
|
+
theme.quasar?.components?.['q-color-picker__alpha'] ??
|
|
125
|
+
`[&_.q-slider\\_\\_track-container]:(pt-0) [&_.q-slider\\_\\_track:before]:(content-[''] absolute top-[0] right-[0] bottom-[0] left-[0] [border-radius:inherit] bg-[linear-gradient(90deg,_rgba(255,_255,_255,_0),_#757575)])`
|
|
133
126
|
],
|
|
127
|
+
|
|
134
128
|
[
|
|
135
129
|
/^q-color-picker__sliders$/,
|
|
136
|
-
([, c], { theme }) =>
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
[&_.q-slider\\_\\_thumb_path]:(stroke-2px fill-transparent)
|
|
140
|
-
[&_.q-slider--active_path]:(stroke-3px)
|
|
141
|
-
`
|
|
130
|
+
([, c], { theme }) =>
|
|
131
|
+
theme.quasar?.components?.['q-color-picker__sliders'] ??
|
|
132
|
+
`px-[16px] py-[0] [&_.q-slider\\_\\_thumb]:(text-[#424242]) [&_.q-slider\\_\\_thumb_path]:(stroke-[2px] fill-[transparent]) [&_.q-slider--active_path]:(stroke-[3px])`
|
|
142
133
|
],
|
|
134
|
+
|
|
143
135
|
[
|
|
144
136
|
/^q-color-picker__tune-tab$/,
|
|
145
|
-
([, c], { theme }) =>
|
|
146
|
-
[
|
|
147
|
-
[&_input]:(text-11px border-
|
|
148
|
-
`
|
|
137
|
+
([, c], { theme }) =>
|
|
138
|
+
theme.quasar?.components?.['q-color-picker__tune-tab'] ??
|
|
139
|
+
`[&_.q-slider]:(ml-[18px] mr-[18px]) [&_input]:(text-[11px] border-[1px] border-solid border-[#e0e0e0] rounded-[4px] w-[3.5em])`
|
|
149
140
|
],
|
|
141
|
+
|
|
150
142
|
[
|
|
151
143
|
/^q-color-picker__palette-tab$/,
|
|
152
|
-
([, c], { theme }) =>
|
|
153
|
-
p-0
|
|
154
|
-
`
|
|
144
|
+
([, c], { theme }) =>
|
|
145
|
+
theme.quasar?.components?.['q-color-picker__palette-tab'] ?? `!p-0`
|
|
155
146
|
],
|
|
147
|
+
|
|
156
148
|
[
|
|
157
149
|
/^q-color-picker__palette-rows--editable$/,
|
|
158
|
-
([, c], { theme }) =>
|
|
159
|
-
[
|
|
160
|
-
|
|
150
|
+
([, c], { theme }) =>
|
|
151
|
+
theme.quasar?.components?.['q-color-picker__palette-rows--editable'] ??
|
|
152
|
+
`[&_.q-color-picker\\_\\_cube]:(cursor-pointer)`
|
|
161
153
|
],
|
|
154
|
+
|
|
162
155
|
[
|
|
163
156
|
/^q-color-picker__cube$/,
|
|
164
|
-
([, c], { theme }) =>
|
|
165
|
-
pb-10% w-10
|
|
166
|
-
`
|
|
157
|
+
([, c], { theme }) =>
|
|
158
|
+
theme.quasar?.components?.['q-color-picker__cube'] ?? `pb-[10%] !w-[10%]`
|
|
167
159
|
],
|
|
160
|
+
|
|
168
161
|
[
|
|
169
162
|
/^q-color-picker--dark$/,
|
|
170
|
-
([, c], { theme }) =>
|
|
171
|
-
|
|
172
|
-
[&_.q-color-picker\\_\\_tune-tab_input]:(border-
|
|
173
|
-
[&_.q-slider__thumb]:(text-[#fafafa])
|
|
174
|
-
`
|
|
163
|
+
([, c], { theme }) =>
|
|
164
|
+
theme.quasar?.components?.['q-color-picker--dark'] ??
|
|
165
|
+
`[box-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)] [&_.q-color-picker\\_\\_tune-tab_input]:(border-[1px] border-solid border-[rgba(255,255,255,0.3)]) [&_.q-slider\\_\\_thumb]:(text-[#fafafa])`
|
|
175
166
|
]
|
|
176
167
|
]
|
|
177
168
|
|
|
@@ -5,17 +5,21 @@ const shortcuts: UserShortcuts<QuasarTheme> = [
|
|
|
5
5
|
[
|
|
6
6
|
/^q-date$/,
|
|
7
7
|
([, c], { theme }) =>
|
|
8
|
+
theme.quasar?.components?.['q-date'] ??
|
|
8
9
|
`inline-flex [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)] rounded-[4px] bg-[#fff] w-[290px] min-w-[290px] max-w-full`
|
|
9
10
|
],
|
|
10
11
|
|
|
11
12
|
[
|
|
12
13
|
/^q-date--bordered$/,
|
|
13
|
-
([, c], { theme }) =>
|
|
14
|
+
([, c], { theme }) =>
|
|
15
|
+
theme.quasar?.components?.['q-date--bordered'] ??
|
|
16
|
+
`border-[1px] border-solid border-[rgba(0,0,0,0.12)]`
|
|
14
17
|
],
|
|
15
18
|
|
|
16
19
|
[
|
|
17
20
|
/^q-date__header$/,
|
|
18
21
|
([, c], { theme }) =>
|
|
22
|
+
theme.quasar?.components?.['q-date__header'] ??
|
|
19
23
|
`[border-top-left-radius:inherit] text-[#fff] p-[16px] bg-primary`
|
|
20
24
|
],
|
|
21
25
|
|
|
@@ -23,7 +27,9 @@ const shortcuts: UserShortcuts<QuasarTheme> = [
|
|
|
23
27
|
|
|
24
28
|
[
|
|
25
29
|
/^q-date__content$/,
|
|
26
|
-
([, c], { theme }) =>
|
|
30
|
+
([, c], { theme }) =>
|
|
31
|
+
theme.quasar?.components?.['q-date__content'] ??
|
|
32
|
+
`outline-0 [&_.q-btn]:(font-normal)`
|
|
27
33
|
],
|
|
28
34
|
|
|
29
35
|
[/^q-date__main$/, ([, c], { theme }) => `outline-0`],
|
|
@@ -31,6 +37,7 @@ const shortcuts: UserShortcuts<QuasarTheme> = [
|
|
|
31
37
|
[
|
|
32
38
|
/^q-date__header-link$/,
|
|
33
39
|
([, c], { theme }) =>
|
|
40
|
+
theme.quasar?.components?.['q-date__header-link'] ??
|
|
34
41
|
`opacity-[0.64] outline-0 [transition:opacity_0.3s_ease-out] [&:hover]:(opacity-100) [&:focus]:(opacity-100)`
|
|
35
42
|
],
|
|
36
43
|
|
|
@@ -38,33 +45,43 @@ const shortcuts: UserShortcuts<QuasarTheme> = [
|
|
|
38
45
|
|
|
39
46
|
[
|
|
40
47
|
/^q-date__header-subtitle$/,
|
|
41
|
-
([, c], { theme }) =>
|
|
48
|
+
([, c], { theme }) =>
|
|
49
|
+
theme.quasar?.components?.['q-date__header-subtitle'] ??
|
|
50
|
+
`text-[14px] leading-[1.75] tracking-[0.00938em]`
|
|
42
51
|
],
|
|
43
52
|
|
|
44
53
|
[
|
|
45
54
|
/^q-date__header-title-label$/,
|
|
46
|
-
([, c], { theme }) =>
|
|
55
|
+
([, c], { theme }) =>
|
|
56
|
+
theme.quasar?.components?.['q-date__header-title-label'] ??
|
|
57
|
+
`text-[24px] leading-[1.2] tracking-[0.00735em]`
|
|
47
58
|
],
|
|
48
59
|
|
|
49
60
|
[
|
|
50
61
|
/^q-date__view$/,
|
|
51
|
-
([, c], { theme }) =>
|
|
62
|
+
([, c], { theme }) =>
|
|
63
|
+
theme.quasar?.components?.['q-date__view'] ??
|
|
64
|
+
`h-full w-full min-h-[290px] p-[16px]`
|
|
52
65
|
],
|
|
53
66
|
|
|
54
67
|
[
|
|
55
68
|
/^q-date__navigation$/,
|
|
56
69
|
([, c], { theme }) =>
|
|
70
|
+
theme.quasar?.components?.['q-date__navigation'] ??
|
|
57
71
|
`h-[12.5%] [&_>_div:first-child]:(w-[8%] min-w-[24px] justify-end) [&_>_div:last-child]:(w-[8%] min-w-[24px] justify-start)`
|
|
58
72
|
],
|
|
59
73
|
|
|
60
74
|
[
|
|
61
75
|
/^q-date__calendar-weekdays$/,
|
|
62
|
-
([, c], { theme }) =>
|
|
76
|
+
([, c], { theme }) =>
|
|
77
|
+
theme.quasar?.components?.['q-date__calendar-weekdays'] ??
|
|
78
|
+
`h-[12.5%] [&_>_div]:(opacity-[0.38] text-[12px])`
|
|
63
79
|
],
|
|
64
80
|
|
|
65
81
|
[
|
|
66
82
|
/^q-date__calendar-item$/,
|
|
67
83
|
([, c], { theme }) =>
|
|
84
|
+
theme.quasar?.components?.['q-date__calendar-item'] ??
|
|
68
85
|
`inline-flex items-center justify-center align-middle !w-[14.285%] !h-[12.5%] relative p-px [&:after]:(content-empty absolute pointer-events-none top-px right-0 bottom-px left-0 border-dashed border-transparent border) [&_>_div]:(w-[30px] h-[30px] rounded-[50%]) [&_button]:(w-[30px] h-[30px] rounded-[50%]) [&_>_div]:(leading-[30px] text-center) [&_>_button]:(leading-[22px])`
|
|
69
86
|
],
|
|
70
87
|
|
|
@@ -75,48 +92,57 @@ const shortcuts: UserShortcuts<QuasarTheme> = [
|
|
|
75
92
|
[
|
|
76
93
|
/^q-date__range$/,
|
|
77
94
|
([, c], { theme }) =>
|
|
95
|
+
theme.quasar?.components?.['q-date__range'] ??
|
|
78
96
|
`[&:before]:(content-empty bg-current absolute top-px bottom-px left-0 right-0 opacity-30) [&:nth-child(7n-6):before]:(rounded-tl-none rounded-bl-none) [&:nth-child(7n):before]:(rounded-tr-none rounded-br-none)`
|
|
79
97
|
],
|
|
80
98
|
|
|
81
99
|
[
|
|
82
100
|
/^q-date__range-from$/,
|
|
83
101
|
([, c], { theme }) =>
|
|
102
|
+
theme.quasar?.components?.['q-date__range-from'] ??
|
|
84
103
|
`[&:before]:(content-empty bg-current absolute top-px bottom-px left-0 right-0 opacity-30) [&:nth-child(7n-6):before]:(rounded-tl-none rounded-bl-none) [&:nth-child(7n):before]:(rounded-tr-none rounded-br-none) [&:before]:(left-2/4)`
|
|
85
104
|
],
|
|
86
105
|
|
|
87
106
|
[
|
|
88
107
|
/^q-date__range-to$/,
|
|
89
108
|
([, c], { theme }) =>
|
|
109
|
+
theme.quasar?.components?.['q-date__range-to'] ??
|
|
90
110
|
`[&:before]:(content-empty bg-current absolute top-px bottom-px left-0 right-0 opacity-30) [&:nth-child(7n-6):before]:(rounded-tl-none rounded-bl-none) [&:nth-child(7n):before]:(rounded-tr-none rounded-br-none) [&:before]:(right-2/4)`
|
|
91
111
|
],
|
|
92
112
|
|
|
93
113
|
[
|
|
94
114
|
/^q-date__edit-range$/,
|
|
95
115
|
([, c], { theme }) =>
|
|
116
|
+
theme.quasar?.components?.['q-date__edit-range'] ??
|
|
96
117
|
`[&:after]:() [&:nth-child(7n-6):after]:(rounded-tl-none rounded-bl-none) [&:nth-child(7n):after]:(rounded-tr-none rounded-br-none)`
|
|
97
118
|
],
|
|
98
119
|
|
|
99
120
|
[
|
|
100
121
|
/^q-date__edit-range-from$/,
|
|
101
122
|
([, c], { theme }) =>
|
|
123
|
+
theme.quasar?.components?.['q-date__edit-range-from'] ??
|
|
102
124
|
`[&:after]:(left-[4px] [border-left-color:currentColor] [border-top-color:currentColor] [border-bottom-color:currentColor] rounded-tl-[28px] rounded-bl-[28px])`
|
|
103
125
|
],
|
|
104
126
|
|
|
105
127
|
[
|
|
106
128
|
/^q-date__edit-range-from-to$/,
|
|
107
129
|
([, c], { theme }) =>
|
|
130
|
+
theme.quasar?.components?.['q-date__edit-range-from-to'] ??
|
|
108
131
|
`[&:after]:(left-[4px] [border-left-color:currentColor] [border-top-color:currentColor] [border-bottom-color:currentColor] rounded-tl-[28px] rounded-bl-[28px]) [&:after]:(right-[4px] [border-right-color:currentColor] [border-top-color:currentColor] [border-bottom-color:currentColor] rounded-tr-[28px] rounded-br-[28px])`
|
|
109
132
|
],
|
|
110
133
|
|
|
111
134
|
[
|
|
112
135
|
/^q-date__edit-range-to$/,
|
|
113
136
|
([, c], { theme }) =>
|
|
137
|
+
theme.quasar?.components?.['q-date__edit-range-to'] ??
|
|
114
138
|
`[&:after]:(right-[4px] [border-right-color:currentColor] [border-top-color:currentColor] [border-bottom-color:currentColor] rounded-tr-[28px] rounded-br-[28px])`
|
|
115
139
|
],
|
|
116
140
|
|
|
117
141
|
[
|
|
118
142
|
/^q-date__calendar-days-container$/,
|
|
119
|
-
([, c], { theme }) =>
|
|
143
|
+
([, c], { theme }) =>
|
|
144
|
+
theme.quasar?.components?.['q-date__calendar-days-container'] ??
|
|
145
|
+
`h-3/4 min-h-[192px]`
|
|
120
146
|
],
|
|
121
147
|
|
|
122
148
|
[/^q-date__calendar-days$/, ([, c], { theme }) => `[&_>_div]:(!h-1/6)`],
|
|
@@ -124,12 +150,15 @@ const shortcuts: UserShortcuts<QuasarTheme> = [
|
|
|
124
150
|
[
|
|
125
151
|
/^q-date__event$/,
|
|
126
152
|
([, c], { theme }) =>
|
|
153
|
+
theme.quasar?.components?.['q-date__event'] ??
|
|
127
154
|
`absolute bottom-[2px] left-2/4 h-[5px] w-[8px] rounded-[5px] [transform:translate3d(-50%,_0,_0)] bg-primary`
|
|
128
155
|
],
|
|
129
156
|
|
|
130
157
|
[
|
|
131
158
|
/^q-date__today$/,
|
|
132
|
-
([, c], { theme }) =>
|
|
159
|
+
([, c], { theme }) =>
|
|
160
|
+
theme.quasar?.components?.['q-date__today'] ??
|
|
161
|
+
`[box-shadow:0_0_1px_0_currentColor]`
|
|
133
162
|
],
|
|
134
163
|
|
|
135
164
|
[/^q-date__years-content$/, ([, c], { theme }) => `px-[8px] py-[0]`],
|
|
@@ -141,6 +170,7 @@ const shortcuts: UserShortcuts<QuasarTheme> = [
|
|
|
141
170
|
[
|
|
142
171
|
/^q-date--readonly$/,
|
|
143
172
|
([, c], { theme }) =>
|
|
173
|
+
theme.quasar?.components?.['q-date--readonly'] ??
|
|
144
174
|
`[&_.q-date\\_\\_header]:(pointer-events-none) [&_.q-date\\_\\_content]:(pointer-events-none) [&_.q-date\\_\\_navigation]:(hidden)`
|
|
145
175
|
],
|
|
146
176
|
|
|
@@ -149,23 +179,28 @@ const shortcuts: UserShortcuts<QuasarTheme> = [
|
|
|
149
179
|
[
|
|
150
180
|
/^q-date--portrait-standard$/,
|
|
151
181
|
([, c], { theme }) =>
|
|
182
|
+
theme.quasar?.components?.['q-date--portrait-standard'] ??
|
|
152
183
|
`[&_.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])`
|
|
153
184
|
],
|
|
154
185
|
|
|
155
186
|
[
|
|
156
187
|
/^q-date--portrait-minimal$/,
|
|
157
|
-
([, c], { theme }) =>
|
|
188
|
+
([, c], { theme }) =>
|
|
189
|
+
theme.quasar?.components?.['q-date--portrait-minimal'] ??
|
|
190
|
+
`[&_.q-date\\_\\_content]:(h-full)`
|
|
158
191
|
],
|
|
159
192
|
|
|
160
193
|
[
|
|
161
194
|
/^q-date--landscape$/,
|
|
162
195
|
([, c], { theme }) =>
|
|
196
|
+
theme.quasar?.components?.['q-date--landscape'] ??
|
|
163
197
|
`flex-row items-stretch min-w-[420px] [&_>_div]:(flex flex-col) [&_.q-date\\_\\_content]:(h-full)`
|
|
164
198
|
],
|
|
165
199
|
|
|
166
200
|
[
|
|
167
201
|
/^q-date--landscape-standard$/,
|
|
168
202
|
([, c], { theme }) =>
|
|
203
|
+
theme.quasar?.components?.['q-date--landscape-standard'] ??
|
|
169
204
|
`min-w-[420px] [&_.q-date\\_\\_header]:([border-bottom-left-radius:inherit] min-w-[110px] w-[110px]) [&_.q-date\\_\\_header-title]:(flex-col) [&_.q-date\\_\\_header-today]:(mt-[12px] -ml-[8px])`
|
|
170
205
|
],
|
|
171
206
|
|
|
@@ -174,6 +209,7 @@ const shortcuts: UserShortcuts<QuasarTheme> = [
|
|
|
174
209
|
[
|
|
175
210
|
/^q-date--dark$/,
|
|
176
211
|
([, c], { theme }) =>
|
|
212
|
+
theme.quasar?.components?.['q-date--dark'] ??
|
|
177
213
|
`[box-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)] border-[rgba(255,_255,_255,_0.28)]`
|
|
178
214
|
]
|
|
179
215
|
]
|