@code-coaching/vuetiful 0.26.0 → 0.27.0
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/README.md +47 -55
- package/dist/css/animations.css +2 -0
- package/{src → dist}/css/overrides/quasar.css +73 -58
- package/{src/styles → dist/css}/transitions/slide.css +6 -0
- package/dist/favicon.ico +0 -0
- package/dist/types/components/atoms/VAvatar.vue.d.ts +39 -90
- package/dist/types/components/atoms/VBadge.vue.d.ts +34 -21
- package/dist/types/components/atoms/VButton.vue.d.ts +42 -48
- package/dist/types/components/atoms/VChip.vue.d.ts +33 -21
- package/dist/types/components/atoms/VLightSwitch.vue.d.ts +5 -5
- package/dist/types/components/atoms/VRadio/VRadioDescription.vue.d.ts +7 -12
- package/dist/types/components/atoms/VRadio/VRadioGroup.vue.d.ts +53 -83
- package/dist/types/components/atoms/VRadio/VRadioItem.vue.d.ts +46 -12
- package/dist/types/components/atoms/VRadio/VRadioLabel.vue.d.ts +7 -12
- package/dist/types/components/atoms/VSwitch/VSwitch.vue.d.ts +51 -72
- package/dist/types/components/atoms/VSwitch/VSwitchDescription.vue.d.ts +32 -11
- package/dist/types/components/atoms/VSwitch/VSwitchGroup.vue.d.ts +32 -11
- package/dist/types/components/atoms/VSwitch/VSwitchLabel.vue.d.ts +33 -20
- package/dist/types/components/molecules/VAccordion/VAccordion.vue.d.ts +39 -28
- package/dist/types/components/molecules/VAccordion/VAccordionItem.vue.d.ts +35 -19
- package/dist/types/components/molecules/VAlert.vue.d.ts +50 -73
- package/dist/types/components/molecules/VCard/VCard.vue.d.ts +37 -48
- package/dist/types/components/molecules/VCard/VCardBody.vue.d.ts +33 -12
- package/dist/types/components/molecules/VCard/VCardFooter.vue.d.ts +36 -20
- package/dist/types/components/molecules/VCard/VCardHeader.vue.d.ts +36 -20
- package/dist/types/components/molecules/VCodeBlock.vue.d.ts +15 -16
- package/dist/types/components/molecules/VDrawer.vue.d.ts +13 -7
- package/dist/types/components/molecules/VListbox/VListbox.vue.d.ts +54 -132
- package/dist/types/components/molecules/VListbox/VListboxButton.vue.d.ts +22 -21
- package/dist/types/components/molecules/VListbox/VListboxItem.vue.d.ts +22 -19
- package/dist/types/components/molecules/VListbox/VListboxItems.vue.d.ts +19 -30
- package/dist/types/components/molecules/VListbox/VListboxLabel.vue.d.ts +7 -12
- package/dist/types/components/molecules/VPreview.vue.d.ts +57 -74
- package/dist/types/components/molecules/VRail/VRail.vue.d.ts +28 -13
- package/dist/types/components/molecules/VRail/VRailTile.vue.d.ts +49 -16
- package/dist/types/components/molecules/VShell.vue.d.ts +76 -44
- package/dist/types/components/molecules/VShellConfigurator.vue.d.ts +99 -0
- package/dist/types/components/molecules/VTabs/VTab.vue.d.ts +52 -20
- package/dist/types/components/molecules/VTabs/VTabPanel.vue.d.ts +8 -1
- package/dist/types/components/molecules/VTabs/VTabs.vue.d.ts +43 -101
- package/dist/types/components/molecules/Vuetiful.vue.d.ts +22 -0
- package/dist/types/components/molecules/index.d.ts +3 -4
- package/dist/types/directives/click-outside-group.d.ts +1 -1
- package/dist/types/directives/click-outside.d.ts +1 -1
- package/dist/types/directives/clipboard.d.ts +1 -1
- package/dist/types/index.d.ts +1 -8
- package/dist/types/props/props.d.ts +1 -14
- package/dist/types/services/dark-mode.service.d.ts +1 -1
- package/dist/types/services/drawer.service.d.ts +3 -3
- package/dist/types/services/index.d.ts +2 -2
- package/dist/types/utils/id-generator.d.ts +1 -0
- package/dist/types/utils/index.d.ts +3 -4
- package/dist/types/utils/tailwind-merge.d.ts +1 -0
- package/dist/types/utils/theme/rocket.theme.d.ts +223 -0
- package/dist/types/utils/theme/theme-switcher.vue.d.ts +14 -5
- package/dist/types/utils/theme/theme.service.d.ts +6 -9
- package/dist/types/utils/theme/themes.d.ts +3 -39
- package/dist/types/utils/theme/vuetiful.theme.d.ts +224 -0
- package/dist/vuetiful.es.mjs +54831 -49535
- package/dist/vuetiful.umd.cjs +189 -0
- package/package.json +53 -37
- package/dist/style.css +0 -10
- package/dist/types/components/VBootstrap.vue.d.ts +0 -15
- package/dist/types/components/atoms/VAvatar.test.d.ts +0 -1
- package/dist/types/components/atoms/VBadge.test.d.ts +0 -1
- package/dist/types/components/atoms/VButton.test.d.ts +0 -1
- package/dist/types/components/atoms/VChip.test.d.ts +0 -1
- package/dist/types/components/atoms/VLightSwitch.test.d.ts +0 -1
- package/dist/types/components/atoms/VRadio/VRadioDescription.test.d.ts +0 -1
- package/dist/types/components/atoms/VRadio/VRadioGroup.test.d.ts +0 -1
- package/dist/types/components/atoms/VRadio/VRadioItem.test.d.ts +0 -1
- package/dist/types/components/atoms/VRadio/VRadioLabel.test.d.ts +0 -1
- package/dist/types/components/atoms/VSwitch/VSwitch.test.d.ts +0 -1
- package/dist/types/components/atoms/VSwitch/VSwitchDescription.test.d.ts +0 -1
- package/dist/types/components/atoms/VSwitch/VSwitchGroup.test.d.ts +0 -1
- package/dist/types/components/atoms/VSwitch/VSwitchLabel.test.d.ts +0 -1
- package/dist/types/components/molecules/VAccordion/VAccordion.test.d.ts +0 -1
- package/dist/types/components/molecules/VAccordion/VAccordionItem.test.d.ts +0 -1
- package/dist/types/components/molecules/VAlert.test.d.ts +0 -1
- package/dist/types/components/molecules/VCard/VCard.test.d.ts +0 -1
- package/dist/types/components/molecules/VCard/VCardBody.test.d.ts +0 -1
- package/dist/types/components/molecules/VCard/VCardFooter.test.d.ts +0 -1
- package/dist/types/components/molecules/VCard/VCardHeader.test.d.ts +0 -1
- package/dist/types/components/molecules/VCodeBlock.test.d.ts +0 -1
- package/dist/types/components/molecules/VDrawer.test.d.ts +0 -1
- package/dist/types/components/molecules/VListbox/VListbox.test.d.ts +0 -1
- package/dist/types/components/molecules/VListbox/VListboxButton.test.d.ts +0 -1
- package/dist/types/components/molecules/VListbox/VListboxItem.test.d.ts +0 -1
- package/dist/types/components/molecules/VListbox/VListboxItems.test.d.ts +0 -1
- package/dist/types/components/molecules/VListbox/VListboxLabel.test.d.ts +0 -1
- package/dist/types/components/molecules/VPreview.test.d.ts +0 -1
- package/dist/types/components/molecules/VRail/VRail.test.d.ts +0 -1
- package/dist/types/components/molecules/VRail/VRailTile.test.d.ts +0 -1
- package/dist/types/components/molecules/VShell.test.d.ts +0 -1
- package/dist/types/components/molecules/VTabs/VTab.test.d.ts +0 -1
- package/dist/types/components/molecules/VTabs/VTabPanel.test.d.ts +0 -1
- package/dist/types/components/molecules/VTabs/VTabs.test.d.ts +0 -1
- package/dist/types/directives/click-outside-group.test.d.ts +0 -1
- package/dist/types/directives/click-outside.test.d.ts +0 -1
- package/dist/types/directives/clipboard.test.d.ts +0 -1
- package/dist/types/services/dark-mode.service.test.d.ts +0 -1
- package/dist/types/services/drawer.service.test.d.ts +0 -1
- package/dist/types/services/highlight.service.test.d.ts +0 -1
- package/dist/types/services/rail.service.test.d.ts +0 -1
- package/dist/types/services/settings.service.test.d.ts +0 -1
- package/dist/types/types/index.d.ts +0 -54
- package/dist/types/types/tailwind.d.ts +0 -4
- package/dist/types/utils/colors/colors.service.d.ts +0 -69
- package/dist/types/utils/platform/platform.service.test.d.ts +0 -1
- package/dist/types/utils/theme/callback.test.d.ts +0 -1
- package/dist/types/utils/theme/remove.test.d.ts +0 -1
- package/dist/types/utils/theme/theme.service.test.d.ts +0 -1
- package/dist/vuetiful.umd.js +0 -99
- package/src/assets/fonts/myfont.woff +0 -0
- package/src/assets/main.css +0 -17
- package/src/components/VBootstrap.vue +0 -62
- package/src/components/atoms/VAvatar.test.ts +0 -175
- package/src/components/atoms/VAvatar.vue +0 -89
- package/src/components/atoms/VBadge.test.ts +0 -28
- package/src/components/atoms/VBadge.vue +0 -17
- package/src/components/atoms/VButton.test.ts +0 -180
- package/src/components/atoms/VButton.vue +0 -76
- package/src/components/atoms/VChip.test.ts +0 -33
- package/src/components/atoms/VChip.vue +0 -17
- package/src/components/atoms/VLightSwitch.test.ts +0 -69
- package/src/components/atoms/VLightSwitch.vue +0 -121
- package/src/components/atoms/VRadio/VRadioDescription.test.ts +0 -55
- package/src/components/atoms/VRadio/VRadioDescription.vue +0 -14
- package/src/components/atoms/VRadio/VRadioGroup.test.ts +0 -81
- package/src/components/atoms/VRadio/VRadioGroup.vue +0 -88
- package/src/components/atoms/VRadio/VRadioItem.test.ts +0 -183
- package/src/components/atoms/VRadio/VRadioItem.vue +0 -36
- package/src/components/atoms/VRadio/VRadioLabel.test.ts +0 -55
- package/src/components/atoms/VRadio/VRadioLabel.vue +0 -16
- package/src/components/atoms/VSwitch/VSwitch.test.ts +0 -100
- package/src/components/atoms/VSwitch/VSwitch.vue +0 -106
- package/src/components/atoms/VSwitch/VSwitchDescription.test.ts +0 -55
- package/src/components/atoms/VSwitch/VSwitchDescription.vue +0 -16
- package/src/components/atoms/VSwitch/VSwitchGroup.test.ts +0 -26
- package/src/components/atoms/VSwitch/VSwitchGroup.vue +0 -16
- package/src/components/atoms/VSwitch/VSwitchLabel.test.ts +0 -89
- package/src/components/atoms/VSwitch/VSwitchLabel.vue +0 -20
- package/src/components/atoms/index.ts +0 -31
- package/src/components/index.ts +0 -2
- package/src/components/molecules/VAccordion/VAccordion.test.ts +0 -27
- package/src/components/molecules/VAccordion/VAccordion.vue +0 -32
- package/src/components/molecules/VAccordion/VAccordionItem.test.ts +0 -134
- package/src/components/molecules/VAccordion/VAccordionItem.vue +0 -68
- package/src/components/molecules/VAlert.test.ts +0 -100
- package/src/components/molecules/VAlert.vue +0 -137
- package/src/components/molecules/VCard/VCard.test.ts +0 -47
- package/src/components/molecules/VCard/VCard.vue +0 -74
- package/src/components/molecules/VCard/VCardBody.test.ts +0 -39
- package/src/components/molecules/VCard/VCardBody.vue +0 -16
- package/src/components/molecules/VCard/VCardFooter.test.ts +0 -63
- package/src/components/molecules/VCard/VCardFooter.vue +0 -31
- package/src/components/molecules/VCard/VCardHeader.test.ts +0 -86
- package/src/components/molecules/VCard/VCardHeader.vue +0 -53
- package/src/components/molecules/VCodeBlock.test.ts +0 -133
- package/src/components/molecules/VCodeBlock.vue +0 -113
- package/src/components/molecules/VDrawer.test.ts +0 -14
- package/src/components/molecules/VDrawer.vue +0 -87
- package/src/components/molecules/VListbox/VListbox.test.ts +0 -146
- package/src/components/molecules/VListbox/VListbox.vue +0 -149
- package/src/components/molecules/VListbox/VListboxButton.test.ts +0 -66
- package/src/components/molecules/VListbox/VListboxButton.vue +0 -57
- package/src/components/molecules/VListbox/VListboxItem.test.ts +0 -51
- package/src/components/molecules/VListbox/VListboxItem.vue +0 -39
- package/src/components/molecules/VListbox/VListboxItems.test.ts +0 -44
- package/src/components/molecules/VListbox/VListboxItems.vue +0 -42
- package/src/components/molecules/VListbox/VListboxLabel.test.ts +0 -30
- package/src/components/molecules/VListbox/VListboxLabel.vue +0 -14
- package/src/components/molecules/VPreview.test.ts +0 -73
- package/src/components/molecules/VPreview.vue +0 -230
- package/src/components/molecules/VRail/VRail.test.ts +0 -14
- package/src/components/molecules/VRail/VRail.vue +0 -33
- package/src/components/molecules/VRail/VRailTile.test.ts +0 -97
- package/src/components/molecules/VRail/VRailTile.vue +0 -49
- package/src/components/molecules/VShell.test.ts +0 -14
- package/src/components/molecules/VShell.vue +0 -63
- package/src/components/molecules/VTabs/VTab.test.ts +0 -143
- package/src/components/molecules/VTabs/VTab.vue +0 -50
- package/src/components/molecules/VTabs/VTabPanel.test.ts +0 -24
- package/src/components/molecules/VTabs/VTabPanel.vue +0 -9
- package/src/components/molecules/VTabs/VTabs.test.ts +0 -92
- package/src/components/molecules/VTabs/VTabs.vue +0 -104
- package/src/components/molecules/index.ts +0 -51
- package/src/directives/click-outside-group.test.ts +0 -44
- package/src/directives/click-outside-group.ts +0 -39
- package/src/directives/click-outside.test.ts +0 -38
- package/src/directives/click-outside.ts +0 -28
- package/src/directives/clipboard.test.ts +0 -26
- package/src/directives/clipboard.ts +0 -9
- package/src/directives/index.ts +0 -5
- package/src/env.d.ts +0 -8
- package/src/index.ts +0 -21
- package/src/props/index.ts +0 -1
- package/src/props/props.ts +0 -62
- package/src/services/dark-mode.service.test.ts +0 -104
- package/src/services/dark-mode.service.ts +0 -75
- package/src/services/drawer.service.test.ts +0 -45
- package/src/services/drawer.service.ts +0 -46
- package/src/services/highlight.service.test.ts +0 -24
- package/src/services/highlight.service.ts +0 -19
- package/src/services/index.ts +0 -8
- package/src/services/rail.service.test.ts +0 -13
- package/src/services/rail.service.ts +0 -11
- package/src/services/settings.service.test.ts +0 -17
- package/src/services/settings.service.ts +0 -136
- package/src/styles/all.css +0 -24
- package/src/styles/core.css +0 -66
- package/src/styles/elements/alerts.css +0 -17
- package/src/styles/elements/badges.css +0 -31
- package/src/styles/elements/breadcrumbs.css +0 -26
- package/src/styles/elements/buttons.css +0 -103
- package/src/styles/elements/cards.css +0 -32
- package/src/styles/elements/chips.css +0 -22
- package/src/styles/elements/forms.css +0 -269
- package/src/styles/elements/lists.css +0 -48
- package/src/styles/elements/logo-clouds.css +0 -29
- package/src/styles/elements/modals.css +0 -15
- package/src/styles/elements/placeholders.css +0 -17
- package/src/styles/elements/popups.css +0 -16
- package/src/styles/elements/tables.css +0 -102
- package/src/styles/elements.css +0 -19
- package/src/styles/highlight-js.css +0 -116
- package/src/styles/tailwind.css +0 -16
- package/src/styles/transitions.css +0 -2
- package/src/styles/typography.css +0 -101
- package/src/styles/variants.css +0 -156
- package/src/tailwind/core.cjs +0 -37
- package/src/tailwind/generated/intellisense-classes.cjs +0 -558
- package/src/tailwind/intellisense.cjs +0 -21
- package/src/tailwind/settings.cjs +0 -20
- package/src/tailwind/theme/colors.cjs +0 -20
- package/src/tailwind/tokens/backgrounds.cjs +0 -48
- package/src/tailwind/tokens/border-radius.cjs +0 -21
- package/src/tailwind/tokens/borders.cjs +0 -24
- package/src/tailwind/tokens/fills.cjs +0 -20
- package/src/tailwind/tokens/rings.cjs +0 -50
- package/src/tailwind/tokens/text.cjs +0 -35
- package/src/tailwind/vuetiful.cjs +0 -19
- package/src/themes/theme-rocket.css +0 -119
- package/src/themes/theme-sahara.css +0 -128
- package/src/themes/theme-seafoam.css +0 -120
- package/src/themes/theme-seasonal.css +0 -115
- package/src/themes/theme-skeleton.css +0 -115
- package/src/themes/theme-vintage.css +0 -125
- package/src/themes/theme-vuetiful.css +0 -136
- package/src/types/index.ts +0 -59
- package/src/types/tailwind.ts +0 -7
- package/src/utils/colors/colors.service.ts +0 -293
- package/src/utils/index.ts +0 -8
- package/src/utils/platform/platform.service.test.ts +0 -19
- package/src/utils/platform/platform.service.ts +0 -8
- package/src/utils/theme/callback.test.ts +0 -28
- package/src/utils/theme/remove.test.ts +0 -27
- package/src/utils/theme/theme-switcher.vue +0 -78
- package/src/utils/theme/theme.service.test.ts +0 -269
- package/src/utils/theme/theme.service.ts +0 -173
- package/src/utils/theme/themes.ts +0 -282
- /package/{src/styles → dist/css}/transitions/fade.css +0 -0
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
/* Skeleton Highlight.js Theme */
|
|
2
|
-
|
|
3
|
-
/* Red */
|
|
4
|
-
.hljs-doctag,
|
|
5
|
-
.hljs-keyword,
|
|
6
|
-
.hljs-meta .hljs-keyword,
|
|
7
|
-
.hljs-template-tag,
|
|
8
|
-
.hljs-template-variable,
|
|
9
|
-
.hljs-type,
|
|
10
|
-
.hljs-variable.language_ {
|
|
11
|
-
/* color: #ff7b72; */
|
|
12
|
-
@apply text-red-400;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
/* Purple */
|
|
16
|
-
.hljs-title,
|
|
17
|
-
.hljs-title.class_,
|
|
18
|
-
.hljs-title.class_.inherited__,
|
|
19
|
-
.hljs-title.function_ {
|
|
20
|
-
/* color: #d2a8ff; */
|
|
21
|
-
@apply text-purple-400;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
/* Sky */
|
|
25
|
-
.hljs-attr,
|
|
26
|
-
.hljs-attribute,
|
|
27
|
-
.hljs-literal,
|
|
28
|
-
.hljs-meta,
|
|
29
|
-
.hljs-number,
|
|
30
|
-
.hljs-operator,
|
|
31
|
-
.hljs-selector-attr,
|
|
32
|
-
.hljs-selector-class,
|
|
33
|
-
.hljs-selector-id,
|
|
34
|
-
.hljs-variable {
|
|
35
|
-
/* color: #79c0ff; */
|
|
36
|
-
@apply text-sky-300;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
/* Blue */
|
|
40
|
-
.hljs-meta .hljs-string,
|
|
41
|
-
.hljs-regexp,
|
|
42
|
-
.hljs-string {
|
|
43
|
-
/* color: #a5d6ff; */
|
|
44
|
-
@apply text-blue-400;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
/* Amber (types) */
|
|
48
|
-
.hljs-built_in,
|
|
49
|
-
.hljs-symbol {
|
|
50
|
-
/* color: #ffa657; */
|
|
51
|
-
@apply text-amber-400;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/* Gray (Medium) */
|
|
55
|
-
.hljs-code,
|
|
56
|
-
.hljs-comment,
|
|
57
|
-
.hljs-formula {
|
|
58
|
-
/* color: #8b949e; */
|
|
59
|
-
@apply text-neutral-500;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
/* Green (Tags) */
|
|
63
|
-
.hljs-name,
|
|
64
|
-
.hljs-quote,
|
|
65
|
-
.hljs-selector-pseudo,
|
|
66
|
-
.hljs-selector-tag {
|
|
67
|
-
/* color: #7ee787; */
|
|
68
|
-
@apply text-green-400;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
/* Pink (Light) */
|
|
72
|
-
.hljs-subst {
|
|
73
|
-
/* color: #c9d1d9; */
|
|
74
|
-
@apply text-pink-300;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
/* Sky */
|
|
78
|
-
.hljs-section {
|
|
79
|
-
/* color: #1f6feb; */
|
|
80
|
-
/* font-weight: 700; */
|
|
81
|
-
@apply font-bold text-sky-400;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
/* Yellow */
|
|
85
|
-
.hljs-bullet {
|
|
86
|
-
/* color: #f2cc60; */
|
|
87
|
-
@apply text-yellow-400;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
/* Gray (Light) */
|
|
91
|
-
.hljs-emphasis {
|
|
92
|
-
/* color: #c9d1d9; */
|
|
93
|
-
/* font-style: italic; */
|
|
94
|
-
@apply italic text-neutral-200;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
/* Gray (Light) */
|
|
98
|
-
.hljs-strong {
|
|
99
|
-
/* color: #c9d1d9; */
|
|
100
|
-
/* font-weight: 700; */
|
|
101
|
-
@apply font-bold text-neutral-200;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
/* Lime / Green */
|
|
105
|
-
.hljs-addition {
|
|
106
|
-
/* color: #aff5b4; */
|
|
107
|
-
/* background-color: #033a16; */
|
|
108
|
-
@apply bg-green-700 text-lime-300;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
/* Pink / Red */
|
|
112
|
-
.hljs-deletion {
|
|
113
|
-
/* color: #ffdcd7; */
|
|
114
|
-
/* background-color: #67060c; */
|
|
115
|
-
@apply bg-rose-700 text-rose-300;
|
|
116
|
-
}
|
package/src/styles/tailwind.css
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/* Stylesheet: tailwind.css */
|
|
2
|
-
|
|
3
|
-
/*
|
|
4
|
-
https://tailwindcss.com/docs/functions-and-directives
|
|
5
|
-
|
|
6
|
-
IMPORTANT:
|
|
7
|
-
Be sure to remove these directives from your global CSS stylesheet.
|
|
8
|
-
|
|
9
|
-
Tailwind directives should only be included ONCE per project.
|
|
10
|
-
These directives should preceed ALL Skeleton stylesheets.
|
|
11
|
-
*/
|
|
12
|
-
|
|
13
|
-
@tailwind base;
|
|
14
|
-
@tailwind components;
|
|
15
|
-
@tailwind utilities;
|
|
16
|
-
@tailwind variants;
|
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
/* Stylesheet: typography.css */
|
|
2
|
-
|
|
3
|
-
@layer base {
|
|
4
|
-
body {
|
|
5
|
-
@apply font-token text-token;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
/* === Headings === */
|
|
9
|
-
|
|
10
|
-
h1:not(.unstyled):is(:not(.prose *)) {
|
|
11
|
-
@apply text-3xl font-heading-token md:text-5xl;
|
|
12
|
-
}
|
|
13
|
-
h2:not(.unstyled):is(:not(.prose *)) {
|
|
14
|
-
@apply text-2xl font-heading-token md:text-4xl;
|
|
15
|
-
}
|
|
16
|
-
h3:not(.unstyled):is(:not(.prose *)) {
|
|
17
|
-
@apply text-xl font-heading-token md:text-2xl;
|
|
18
|
-
}
|
|
19
|
-
h4:not(.unstyled):is(:not(.prose *)) {
|
|
20
|
-
@apply text-lg font-heading-token md:text-xl;
|
|
21
|
-
}
|
|
22
|
-
h5:not(.unstyled):is(:not(.prose *)) {
|
|
23
|
-
@apply text-base font-heading-token md:text-lg;
|
|
24
|
-
}
|
|
25
|
-
h6:not(.unstyled):is(:not(.prose *)) {
|
|
26
|
-
@apply text-sm font-heading-token md:text-base;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
/* === Elements === */
|
|
30
|
-
|
|
31
|
-
p:not(.unstyled):is(:not(.prose *)) {
|
|
32
|
-
/* NOTE: do not hardcode a text color style here. It makes color overrides difficult. */
|
|
33
|
-
@apply text-base;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
a:not(.unstyled):not(.permalink):is(:not(.prose *)):not(.btn):not(.btn-icon):not(.app-bar a):not(.logo-item):not(
|
|
37
|
-
a.card
|
|
38
|
-
):not(.list-nav a) {
|
|
39
|
-
@apply text-primary-700 underline hover:brightness-110 dark:text-primary-500;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
blockquote:not(.unstyled):is(:not(.prose *)) {
|
|
43
|
-
@apply border-l-8 border-l-secondary-500 px-4 pl-4 text-base italic text-token;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
/* Keyboard */
|
|
47
|
-
kbd:not(.unstyled):is(:not(.prose *)) {
|
|
48
|
-
@apply font-sans text-sm font-bold;
|
|
49
|
-
@apply rounded px-1.5 py-[3px] bg-surface-300-600-token;
|
|
50
|
-
@apply ring-[1px] ring-inset ring-surface-900;
|
|
51
|
-
@apply border-b-2 border-surface-900;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/* === Code Blocks === */
|
|
55
|
-
/* For use outside of Skeleton's CodeBlock component */
|
|
56
|
-
|
|
57
|
-
pre:not(.unstyled):not(.code-block pre):is(:not(.prose *)) {
|
|
58
|
-
@apply overflow-x-auto whitespace-pre-wrap bg-neutral-900/90 p-4 font-mono text-base text-white rounded-container-token;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
code:not(.unstyled):is(:not(.prose *)):is(:not(pre *)) {
|
|
62
|
-
@apply whitespace-nowrap font-mono text-xs text-primary-700 dark:text-primary-400;
|
|
63
|
-
@apply bg-primary-500/30 dark:bg-primary-500/20;
|
|
64
|
-
@apply rounded px-1 py-0.5;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
/* === Insertions / Deletions ==== */
|
|
68
|
-
/* https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ins */
|
|
69
|
-
/* https://developer.mozilla.org/en-US/docs/Web/HTML/Element/del */
|
|
70
|
-
|
|
71
|
-
ins:not(.unstyled):is(:not(.prose *)),
|
|
72
|
-
del:not(.unstyled):is(:not(.prose *)) {
|
|
73
|
-
@apply relative block p-0.5 pl-5;
|
|
74
|
-
text-decoration: none;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
ins:not(.unstyled):is(:not(.prose *))::before,
|
|
78
|
-
del:not(.unstyled):is(:not(.prose *))::before {
|
|
79
|
-
@apply absolute left-1 font-mono;
|
|
80
|
-
}
|
|
81
|
-
ins:not(.unstyled):is(:not(.prose *))::before {
|
|
82
|
-
content: '+';
|
|
83
|
-
}
|
|
84
|
-
del:not(.unstyled):is(:not(.prose *))::before {
|
|
85
|
-
content: '−';
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
ins:not(.unstyled):is(:not(.prose *)) {
|
|
89
|
-
@apply bg-success-500 font-mono text-on-success-token;
|
|
90
|
-
}
|
|
91
|
-
del:not(.unstyled):is(:not(.prose *)) {
|
|
92
|
-
@apply bg-error-500 font-mono text-on-error-token;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
/* === Date/Time === */
|
|
96
|
-
/* Useful for displaying timestamps */
|
|
97
|
-
|
|
98
|
-
time:not(.unstyled):is(:not(.prose *)) {
|
|
99
|
-
@apply text-sm text-surface-500 dark:text-surface-400;
|
|
100
|
-
}
|
|
101
|
-
}
|
package/src/styles/variants.css
DELETED
|
@@ -1,156 +0,0 @@
|
|
|
1
|
-
/* === Variants === */
|
|
2
|
-
/* A canned set of reusabled variant styles. */
|
|
3
|
-
|
|
4
|
-
@layer components {
|
|
5
|
-
/* Outline -- supports ringed and host variants */
|
|
6
|
-
.variant-outline-primary {
|
|
7
|
-
@apply ring-[1px] ring-inset ring-primary-500 dark:ring-primary-500;
|
|
8
|
-
}
|
|
9
|
-
.variant-outline-secondary {
|
|
10
|
-
@apply ring-[1px] ring-inset ring-secondary-500 dark:ring-secondary-500;
|
|
11
|
-
}
|
|
12
|
-
.variant-outline-tertiary {
|
|
13
|
-
@apply ring-[1px] ring-inset ring-tertiary-500 dark:ring-tertiary-500;
|
|
14
|
-
}
|
|
15
|
-
.variant-outline-success {
|
|
16
|
-
@apply ring-[1px] ring-inset ring-success-500 dark:ring-success-500;
|
|
17
|
-
}
|
|
18
|
-
.variant-outline-warning {
|
|
19
|
-
@apply ring-[1px] ring-inset ring-warning-500 dark:ring-warning-500;
|
|
20
|
-
}
|
|
21
|
-
.variant-outline-error {
|
|
22
|
-
@apply ring-[1px] ring-inset ring-error-500 dark:ring-error-500;
|
|
23
|
-
}
|
|
24
|
-
.variant-outline,
|
|
25
|
-
.variant-outline-surface {
|
|
26
|
-
@apply ring-[1px] ring-inset ring-surface-500 dark:ring-surface-500;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
/* ------------------------ */
|
|
30
|
-
|
|
31
|
-
/* Filled */
|
|
32
|
-
.variant-filled {
|
|
33
|
-
@apply bg-surface-900-50-token text-surface-50-900-token;
|
|
34
|
-
}
|
|
35
|
-
.variant-filled-primary {
|
|
36
|
-
@apply bg-primary-500 text-on-primary-token dark:bg-primary-500 dark:text-on-primary-token;
|
|
37
|
-
}
|
|
38
|
-
.variant-filled-secondary {
|
|
39
|
-
@apply bg-secondary-500 text-on-secondary-token dark:bg-secondary-500 dark:text-on-secondary-token;
|
|
40
|
-
}
|
|
41
|
-
.variant-filled-tertiary {
|
|
42
|
-
@apply bg-tertiary-500 text-on-tertiary-token dark:bg-tertiary-500 dark:text-on-tertiary-token;
|
|
43
|
-
}
|
|
44
|
-
.variant-filled-success {
|
|
45
|
-
@apply bg-success-500 text-on-success-token dark:bg-success-500 dark:text-on-success-token;
|
|
46
|
-
}
|
|
47
|
-
.variant-filled-warning {
|
|
48
|
-
@apply bg-warning-500 text-on-warning-token dark:bg-warning-500 dark:text-on-warning-token;
|
|
49
|
-
}
|
|
50
|
-
.variant-filled-error {
|
|
51
|
-
@apply bg-error-500 text-on-error-token dark:bg-error-500 dark:text-on-error-token;
|
|
52
|
-
}
|
|
53
|
-
.variant-filled-surface {
|
|
54
|
-
@apply bg-surface-400-500-token text-on-surface-token dark:text-on-surface-token;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
/* Ringed */
|
|
58
|
-
.variant-ringed {
|
|
59
|
-
@apply variant-outline bg-transparent dark:bg-transparent;
|
|
60
|
-
}
|
|
61
|
-
.variant-ringed-primary {
|
|
62
|
-
@apply variant-outline-primary bg-transparent dark:bg-transparent;
|
|
63
|
-
}
|
|
64
|
-
.variant-ringed-secondary {
|
|
65
|
-
@apply variant-outline-secondary bg-transparent dark:bg-transparent;
|
|
66
|
-
}
|
|
67
|
-
.variant-ringed-tertiary {
|
|
68
|
-
@apply variant-outline-tertiary bg-transparent dark:bg-transparent;
|
|
69
|
-
}
|
|
70
|
-
.variant-ringed-success {
|
|
71
|
-
@apply variant-outline-success bg-transparent dark:bg-transparent;
|
|
72
|
-
}
|
|
73
|
-
.variant-ringed-warning {
|
|
74
|
-
@apply variant-outline-warning bg-transparent dark:bg-transparent;
|
|
75
|
-
}
|
|
76
|
-
.variant-ringed-error {
|
|
77
|
-
@apply variant-outline-error bg-transparent dark:bg-transparent;
|
|
78
|
-
}
|
|
79
|
-
.variant-ringed-surface {
|
|
80
|
-
@apply variant-outline-surface bg-transparent dark:bg-transparent;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
/* Ghost */
|
|
84
|
-
.variant-ghost-primary {
|
|
85
|
-
@apply variant-outline-primary bg-primary-500/20 dark:bg-primary-500/20;
|
|
86
|
-
}
|
|
87
|
-
.variant-ghost-secondary {
|
|
88
|
-
@apply variant-outline-secondary bg-secondary-500/20 dark:bg-secondary-500/20;
|
|
89
|
-
}
|
|
90
|
-
.variant-ghost-tertiary {
|
|
91
|
-
@apply variant-outline-tertiary bg-tertiary-500/20 dark:bg-tertiary-500/20;
|
|
92
|
-
}
|
|
93
|
-
.variant-ghost-success {
|
|
94
|
-
@apply variant-outline-success bg-success-500/20 dark:bg-success-500/20;
|
|
95
|
-
}
|
|
96
|
-
.variant-ghost-warning {
|
|
97
|
-
@apply variant-outline-warning bg-warning-500/20 dark:bg-warning-500/20;
|
|
98
|
-
}
|
|
99
|
-
.variant-ghost-error {
|
|
100
|
-
@apply variant-outline-error bg-error-500/20 dark:bg-error-500/20;
|
|
101
|
-
}
|
|
102
|
-
.variant-ghost,
|
|
103
|
-
.variant-ghost-surface {
|
|
104
|
-
@apply variant-outline-surface bg-surface-500/20 dark:bg-surface-500/20;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
/* Soft */
|
|
108
|
-
.variant-soft-primary {
|
|
109
|
-
@apply bg-primary-400/20 !ring-0 text-primary-700-200-token dark:bg-primary-500/20;
|
|
110
|
-
}
|
|
111
|
-
.variant-soft-secondary {
|
|
112
|
-
@apply bg-secondary-400/20 !ring-0 text-secondary-700-200-token dark:bg-secondary-500/20;
|
|
113
|
-
}
|
|
114
|
-
.variant-soft-tertiary {
|
|
115
|
-
@apply bg-tertiary-400/20 !ring-0 text-tertiary-700-200-token dark:bg-tertiary-500/20;
|
|
116
|
-
}
|
|
117
|
-
.variant-soft-success {
|
|
118
|
-
@apply bg-success-400/20 !ring-0 text-success-700-200-token dark:bg-success-500/20;
|
|
119
|
-
}
|
|
120
|
-
.variant-soft-warning {
|
|
121
|
-
@apply bg-warning-400/20 !ring-0 text-warning-700-200-token dark:bg-warning-500/20;
|
|
122
|
-
}
|
|
123
|
-
.variant-soft-error {
|
|
124
|
-
@apply bg-error-400/20 !ring-0 text-error-700-200-token dark:bg-error-500/20;
|
|
125
|
-
}
|
|
126
|
-
.variant-soft,
|
|
127
|
-
.variant-soft-surface {
|
|
128
|
-
@apply bg-surface-400/20 !ring-0 text-surface-700-200-token dark:bg-surface-500/20;
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
/* Glass */
|
|
132
|
-
.variant-glass-primary {
|
|
133
|
-
@apply bg-primary-500/20 backdrop-blur-lg dark:bg-primary-500/20;
|
|
134
|
-
}
|
|
135
|
-
.variant-glass-secondary {
|
|
136
|
-
@apply bg-secondary-500/20 backdrop-blur-lg dark:bg-secondary-500/20;
|
|
137
|
-
}
|
|
138
|
-
.variant-glass-tertiary {
|
|
139
|
-
@apply bg-tertiary-500/20 backdrop-blur-lg dark:bg-tertiary-500/20;
|
|
140
|
-
}
|
|
141
|
-
.variant-glass-success {
|
|
142
|
-
@apply bg-success-500/20 backdrop-blur-lg dark:bg-success-500/20;
|
|
143
|
-
}
|
|
144
|
-
.variant-glass-warning {
|
|
145
|
-
@apply bg-warning-500/20 backdrop-blur-lg dark:bg-warning-500/20;
|
|
146
|
-
}
|
|
147
|
-
.variant-glass-error {
|
|
148
|
-
@apply bg-error-500/20 backdrop-blur-lg dark:bg-error-500/20;
|
|
149
|
-
}
|
|
150
|
-
.variant-glass-surface {
|
|
151
|
-
@apply bg-surface-500/20 backdrop-blur-lg dark:bg-surface-500/20;
|
|
152
|
-
}
|
|
153
|
-
.variant-glass {
|
|
154
|
-
@apply bg-surface-50/30 backdrop-blur-lg dark:bg-surface-900/30;
|
|
155
|
-
}
|
|
156
|
-
}
|
package/src/tailwind/core.cjs
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
// The Vuetiful Tailwind Plugin
|
|
2
|
-
// Tailwind Docs: https://tailwindcss.com/docs/plugins
|
|
3
|
-
// Vuetiful Docs: https://www.vuetiful.dev/docs/get-started
|
|
4
|
-
|
|
5
|
-
const plugin = require("tailwindcss/plugin");
|
|
6
|
-
|
|
7
|
-
// Vuetiful Theme Modules
|
|
8
|
-
const themeColors = require("./theme/colors.cjs");
|
|
9
|
-
// Vuetiful Design Token Modules
|
|
10
|
-
const tokensBackgrounds = require("./tokens/backgrounds.cjs");
|
|
11
|
-
const tokensBorders = require("./tokens/borders.cjs");
|
|
12
|
-
const tokensBorderRadius = require("./tokens/border-radius.cjs");
|
|
13
|
-
const tokensFills = require("./tokens/fills.cjs");
|
|
14
|
-
const tokensText = require("./tokens/text.cjs");
|
|
15
|
-
const tokensRings = require("./tokens/rings.cjs");
|
|
16
|
-
|
|
17
|
-
module.exports = plugin(
|
|
18
|
-
({ addUtilities }) => {
|
|
19
|
-
addUtilities({
|
|
20
|
-
// Implement Vuetiful design token classes
|
|
21
|
-
...tokensBackgrounds(),
|
|
22
|
-
...tokensBorders(),
|
|
23
|
-
...tokensBorderRadius(),
|
|
24
|
-
...tokensFills(),
|
|
25
|
-
...tokensText(),
|
|
26
|
-
...tokensRings(),
|
|
27
|
-
});
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
theme: {
|
|
31
|
-
extend: {
|
|
32
|
-
// Implement Vuetiful theme colors
|
|
33
|
-
colors: themeColors(),
|
|
34
|
-
},
|
|
35
|
-
},
|
|
36
|
-
}
|
|
37
|
-
);
|