@gluhar/theme 2.0.3 → 3.0.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.
Files changed (193) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/README.md +2 -47
  3. package/dist/module.d.mts +0 -4
  4. package/dist/module.d.ts +0 -4
  5. package/dist/module.json +1 -1
  6. package/dist/module.mjs +1 -9
  7. package/dist/runtime/tailwind/gluharTheme.js +3 -27
  8. package/dist/runtime/tailwind/handleTailwind.js +1 -5
  9. package/package.json +3 -6
  10. package/dist/runtime/presets/lara/accordion/index.d.ts +0 -49
  11. package/dist/runtime/presets/lara/accordion/index.js +0 -78
  12. package/dist/runtime/presets/lara/autocomplete/index.d.ts +0 -200
  13. package/dist/runtime/presets/lara/autocomplete/index.js +0 -259
  14. package/dist/runtime/presets/lara/avatar/index.d.ts +0 -83
  15. package/dist/runtime/presets/lara/avatar/index.js +0 -43
  16. package/dist/runtime/presets/lara/avatargroup/index.d.ts +0 -7
  17. package/dist/runtime/presets/lara/avatargroup/index.js +0 -5
  18. package/dist/runtime/presets/lara/badge/index.d.ts +0 -72
  19. package/dist/runtime/presets/lara/badge/index.js +0 -43
  20. package/dist/runtime/presets/lara/badgedirective/index.d.ts +0 -50
  21. package/dist/runtime/presets/lara/badgedirective/index.js +0 -43
  22. package/dist/runtime/presets/lara/blockui/index.d.ts +0 -11
  23. package/dist/runtime/presets/lara/blockui/index.js +0 -8
  24. package/dist/runtime/presets/lara/breadcrumb/index.d.ts +0 -23
  25. package/dist/runtime/presets/lara/breadcrumb/index.js +0 -64
  26. package/dist/runtime/presets/lara/button/index.d.ts +0 -3790
  27. package/dist/runtime/presets/lara/button/index.js +0 -220
  28. package/dist/runtime/presets/lara/calendar/index.d.ts +0 -334
  29. package/dist/runtime/presets/lara/calendar/index.js +0 -643
  30. package/dist/runtime/presets/lara/card/index.d.ts +0 -27
  31. package/dist/runtime/presets/lara/card/index.js +0 -37
  32. package/dist/runtime/presets/lara/carousel/index.d.ts +0 -71
  33. package/dist/runtime/presets/lara/carousel/index.js +0 -149
  34. package/dist/runtime/presets/lara/cascadeselect/index.d.ts +0 -112
  35. package/dist/runtime/presets/lara/cascadeselect/index.js +0 -209
  36. package/dist/runtime/presets/lara/checkbox/index.d.ts +0 -45
  37. package/dist/runtime/presets/lara/checkbox/index.js +0 -101
  38. package/dist/runtime/presets/lara/chip/index.d.ts +0 -23
  39. package/dist/runtime/presets/lara/chip/index.js +0 -45
  40. package/dist/runtime/presets/lara/chips/index.d.ts +0 -56
  41. package/dist/runtime/presets/lara/chips/index.js +0 -114
  42. package/dist/runtime/presets/lara/colorpicker/index.d.ts +0 -51
  43. package/dist/runtime/presets/lara/colorpicker/index.js +0 -123
  44. package/dist/runtime/presets/lara/confirmpopup/index.d.ts +0 -39
  45. package/dist/runtime/presets/lara/confirmpopup/index.js +0 -106
  46. package/dist/runtime/presets/lara/contextmenu/index.d.ts +0 -72
  47. package/dist/runtime/presets/lara/contextmenu/index.js +0 -125
  48. package/dist/runtime/presets/lara/datatable/index.d.ts +0 -695
  49. package/dist/runtime/presets/lara/datatable/index.js +0 -1170
  50. package/dist/runtime/presets/lara/dataview/index.d.ts +0 -15
  51. package/dist/runtime/presets/lara/dataview/index.js +0 -40
  52. package/dist/runtime/presets/lara/dataviewlayoutoptions/index.d.ts +0 -13
  53. package/dist/runtime/presets/lara/dataviewlayoutoptions/index.js +0 -62
  54. package/dist/runtime/presets/lara/deferred/index.d.ts +0 -4
  55. package/dist/runtime/presets/lara/deferred/index.js +0 -3
  56. package/dist/runtime/presets/lara/dialog/index.d.ts +0 -79
  57. package/dist/runtime/presets/lara/dialog/index.js +0 -235
  58. package/dist/runtime/presets/lara/divider/index.d.ts +0 -192
  59. package/dist/runtime/presets/lara/divider/index.js +0 -67
  60. package/dist/runtime/presets/lara/dock/index.d.ts +0 -51
  61. package/dist/runtime/presets/lara/dock/index.js +0 -93
  62. package/dist/runtime/presets/lara/dropdown/index.d.ts +0 -207
  63. package/dist/runtime/presets/lara/dropdown/index.js +0 -265
  64. package/dist/runtime/presets/lara/fieldset/index.d.ts +0 -87
  65. package/dist/runtime/presets/lara/fieldset/index.js +0 -84
  66. package/dist/runtime/presets/lara/fileupload/index.d.ts +0 -70
  67. package/dist/runtime/presets/lara/fileupload/index.js +0 -173
  68. package/dist/runtime/presets/lara/floatlabel/index.d.ts +0 -7
  69. package/dist/runtime/presets/lara/floatlabel/index.js +0 -26
  70. package/dist/runtime/presets/lara/galleria/index.d.ts +0 -194
  71. package/dist/runtime/presets/lara/galleria/index.js +0 -306
  72. package/dist/runtime/presets/lara/global.d.ts +0 -4
  73. package/dist/runtime/presets/lara/global.js +0 -90
  74. package/dist/runtime/presets/lara/iconfield/index.d.ts +0 -18
  75. package/dist/runtime/presets/lara/iconfield/index.js +0 -22
  76. package/dist/runtime/presets/lara/image/index.d.ts +0 -65
  77. package/dist/runtime/presets/lara/image/index.js +0 -206
  78. package/dist/runtime/presets/lara/index.d.ts +0 -187
  79. package/dist/runtime/presets/lara/index.js +0 -207
  80. package/dist/runtime/presets/lara/inlinemessage/index.d.ts +0 -55
  81. package/dist/runtime/presets/lara/inlinemessage/index.js +0 -36
  82. package/dist/runtime/presets/lara/inplace/index.d.ts +0 -7
  83. package/dist/runtime/presets/lara/inplace/index.js +0 -27
  84. package/dist/runtime/presets/lara/inputgroup/index.d.ts +0 -7
  85. package/dist/runtime/presets/lara/inputgroup/index.js +0 -5
  86. package/dist/runtime/presets/lara/inputgroupaddon/index.d.ts +0 -7
  87. package/dist/runtime/presets/lara/inputgroupaddon/index.js +0 -28
  88. package/dist/runtime/presets/lara/inputmask/index.d.ts +0 -27
  89. package/dist/runtime/presets/lara/inputmask/index.js +0 -34
  90. package/dist/runtime/presets/lara/inputnumber/index.d.ts +0 -390
  91. package/dist/runtime/presets/lara/inputnumber/index.js +0 -164
  92. package/dist/runtime/presets/lara/inputotp/index.d.ts +0 -147
  93. package/dist/runtime/presets/lara/inputotp/index.js +0 -60
  94. package/dist/runtime/presets/lara/inputswitch/index.d.ts +0 -67
  95. package/dist/runtime/presets/lara/inputswitch/index.js +0 -80
  96. package/dist/runtime/presets/lara/inputtext/index.d.ts +0 -160
  97. package/dist/runtime/presets/lara/inputtext/index.js +0 -49
  98. package/dist/runtime/presets/lara/knob/index.d.ts +0 -22
  99. package/dist/runtime/presets/lara/knob/index.js +0 -44
  100. package/dist/runtime/presets/lara/listbox/index.d.ts +0 -93
  101. package/dist/runtime/presets/lara/listbox/index.js +0 -152
  102. package/dist/runtime/presets/lara/megamenu/index.d.ts +0 -105
  103. package/dist/runtime/presets/lara/megamenu/index.js +0 -199
  104. package/dist/runtime/presets/lara/menu/index.d.ts +0 -40
  105. package/dist/runtime/presets/lara/menu/index.js +0 -96
  106. package/dist/runtime/presets/lara/menubar/index.d.ts +0 -85
  107. package/dist/runtime/presets/lara/menubar/index.js +0 -176
  108. package/dist/runtime/presets/lara/message/index.d.ts +0 -70
  109. package/dist/runtime/presets/lara/message/index.js +0 -87
  110. package/dist/runtime/presets/lara/metergroup/index.d.ts +0 -92
  111. package/dist/runtime/presets/lara/metergroup/index.js +0 -97
  112. package/dist/runtime/presets/lara/multiselect/index.d.ts +0 -260
  113. package/dist/runtime/presets/lara/multiselect/index.js +0 -546
  114. package/dist/runtime/presets/lara/orderlist/index.d.ts +0 -99
  115. package/dist/runtime/presets/lara/orderlist/index.js +0 -257
  116. package/dist/runtime/presets/lara/organizationchart/index.d.ts +0 -81
  117. package/dist/runtime/presets/lara/organizationchart/index.js +0 -138
  118. package/dist/runtime/presets/lara/overlaypanel/index.d.ts +0 -17
  119. package/dist/runtime/presets/lara/overlaypanel/index.js +0 -40
  120. package/dist/runtime/presets/lara/paginator/index.d.ts +0 -280
  121. package/dist/runtime/presets/lara/paginator/index.js +0 -533
  122. package/dist/runtime/presets/lara/panel/index.d.ts +0 -39
  123. package/dist/runtime/presets/lara/panel/index.js +0 -91
  124. package/dist/runtime/presets/lara/panelmenu/index.d.ts +0 -76
  125. package/dist/runtime/presets/lara/panelmenu/index.js +0 -127
  126. package/dist/runtime/presets/lara/password/index.d.ts +0 -181
  127. package/dist/runtime/presets/lara/password/index.js +0 -118
  128. package/dist/runtime/presets/lara/picklist/index.d.ts +0 -245
  129. package/dist/runtime/presets/lara/picklist/index.js +0 -650
  130. package/dist/runtime/presets/lara/progressbar/index.d.ts +0 -44
  131. package/dist/runtime/presets/lara/progressbar/index.js +0 -55
  132. package/dist/runtime/presets/lara/progressspinner/index.d.ts +0 -15
  133. package/dist/runtime/presets/lara/progressspinner/index.js +0 -51
  134. package/dist/runtime/presets/lara/radiobutton/index.d.ts +0 -57
  135. package/dist/runtime/presets/lara/radiobutton/index.js +0 -104
  136. package/dist/runtime/presets/lara/rating/index.d.ts +0 -49
  137. package/dist/runtime/presets/lara/rating/index.js +0 -92
  138. package/dist/runtime/presets/lara/ripple/index.d.ts +0 -8
  139. package/dist/runtime/presets/lara/ripple/index.js +0 -6
  140. package/dist/runtime/presets/lara/scrollpanel/index.d.ts +0 -19
  141. package/dist/runtime/presets/lara/scrollpanel/index.js +0 -77
  142. package/dist/runtime/presets/lara/scrolltop/index.d.ts +0 -50
  143. package/dist/runtime/presets/lara/scrolltop/index.js +0 -41
  144. package/dist/runtime/presets/lara/selectbutton/index.d.ts +0 -56
  145. package/dist/runtime/presets/lara/selectbutton/index.js +0 -49
  146. package/dist/runtime/presets/lara/sidebar/index.d.ts +0 -66
  147. package/dist/runtime/presets/lara/sidebar/index.js +0 -149
  148. package/dist/runtime/presets/lara/skeleton/index.d.ts +0 -16
  149. package/dist/runtime/presets/lara/skeleton/index.js +0 -16
  150. package/dist/runtime/presets/lara/slider/index.d.ts +0 -55
  151. package/dist/runtime/presets/lara/slider/index.js +0 -137
  152. package/dist/runtime/presets/lara/speeddial/index.d.ts +0 -3091
  153. package/dist/runtime/presets/lara/speeddial/index.js +0 -283
  154. package/dist/runtime/presets/lara/splitbutton/index.d.ts +0 -6749
  155. package/dist/runtime/presets/lara/splitbutton/index.js +0 -502
  156. package/dist/runtime/presets/lara/splitter/index.d.ts +0 -30
  157. package/dist/runtime/presets/lara/splitter/index.js +0 -61
  158. package/dist/runtime/presets/lara/splitterpanel/index.d.ts +0 -10
  159. package/dist/runtime/presets/lara/splitterpanel/index.js +0 -5
  160. package/dist/runtime/presets/lara/stepper/index.d.ts +0 -66
  161. package/dist/runtime/presets/lara/stepper/index.js +0 -161
  162. package/dist/runtime/presets/lara/steps/index.d.ts +0 -57
  163. package/dist/runtime/presets/lara/steps/index.js +0 -111
  164. package/dist/runtime/presets/lara/tabmenu/index.d.ts +0 -43
  165. package/dist/runtime/presets/lara/tabmenu/index.js +0 -73
  166. package/dist/runtime/presets/lara/tabview/index.d.ts +0 -67
  167. package/dist/runtime/presets/lara/tabview/index.js +0 -156
  168. package/dist/runtime/presets/lara/tag/index.d.ts +0 -32
  169. package/dist/runtime/presets/lara/tag/index.js +0 -36
  170. package/dist/runtime/presets/lara/terminal/index.d.ts +0 -27
  171. package/dist/runtime/presets/lara/terminal/index.js +0 -60
  172. package/dist/runtime/presets/lara/textarea/index.d.ts +0 -27
  173. package/dist/runtime/presets/lara/textarea/index.js +0 -36
  174. package/dist/runtime/presets/lara/tieredmenu/index.d.ts +0 -56
  175. package/dist/runtime/presets/lara/tieredmenu/index.js +0 -120
  176. package/dist/runtime/presets/lara/timeline/index.d.ts +0 -84
  177. package/dist/runtime/presets/lara/timeline/index.js +0 -81
  178. package/dist/runtime/presets/lara/toast/index.d.ts +0 -92
  179. package/dist/runtime/presets/lara/toast/index.js +0 -102
  180. package/dist/runtime/presets/lara/togglebutton/index.d.ts +0 -72
  181. package/dist/runtime/presets/lara/togglebutton/index.js +0 -91
  182. package/dist/runtime/presets/lara/toolbar/index.d.ts +0 -19
  183. package/dist/runtime/presets/lara/toolbar/index.js +0 -28
  184. package/dist/runtime/presets/lara/tooltip/index.d.ts +0 -38
  185. package/dist/runtime/presets/lara/tooltip/index.js +0 -46
  186. package/dist/runtime/presets/lara/tree/index.d.ts +0 -105
  187. package/dist/runtime/presets/lara/tree/index.js +0 -258
  188. package/dist/runtime/presets/lara/treeselect/index.d.ts +0 -181
  189. package/dist/runtime/presets/lara/treeselect/index.js +0 -352
  190. package/dist/runtime/presets/lara/treetable/index.d.ts +0 -316
  191. package/dist/runtime/presets/lara/treetable/index.js +0 -434
  192. package/dist/runtime/presets/lara/tristatecheckbox/index.d.ts +0 -49
  193. package/dist/runtime/presets/lara/tristatecheckbox/index.js +0 -104
package/CHANGELOG.md CHANGED
@@ -3,6 +3,30 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.0.0](https://github.com/gluharry/gluhar/compare/@gluhar/theme@2.0.3...@gluhar/theme@3.0.0) (2025-05-12)
7
+
8
+ **📝 Note:** Version bump only for package @gluhar/theme
9
+
10
+
11
+
12
+
13
+
14
+ ## [2.0.5](https://github.com/gluharry/gluhar/compare/@gluhar/theme@2.0.3...@gluhar/theme@2.0.5) (2025-05-12)
15
+
16
+ **📝 Note:** Version bump only for package @gluhar/theme
17
+
18
+
19
+
20
+
21
+
22
+ ## [2.0.4](https://github.com/gluharry/gluhar/compare/@gluhar/theme@2.0.3...@gluhar/theme@2.0.4) (2025-05-12)
23
+
24
+ **📝 Note:** Version bump only for package @gluhar/theme
25
+
26
+
27
+
28
+
29
+
6
30
  ## [2.0.3](https://github.com/gluharry/gluhar/compare/@gluhar/theme@2.0.2...@gluhar/theme@2.0.3) (2025-02-12)
7
31
 
8
32
  **📝 Note:** Version bump only for package @gluhar/theme
package/README.md CHANGED
@@ -6,7 +6,7 @@
6
6
  [![Nuxt][nuxt-src]][nuxt-href]
7
7
 
8
8
  Gluhar Theme package.
9
- Configures tailwind and primevue setup. Provides composables (useTheme) and utils for working with the theme and colors.
9
+ Configures tailwind setup. Provides composables (useTheme) and utils for working with the theme and colors.
10
10
 
11
11
  [✨  Release Notes](./CHANGELOG.md)
12
12
 
@@ -58,32 +58,7 @@ In `~/assets/styles/base.sass`
58
58
  ```css
59
59
  @tailwind base
60
60
  @tailwind components
61
- @tailwind utilities
62
-
63
- :root
64
- --primary-50: 236 253 245
65
- --primary-100: 209 250 229
66
- --primary-200: 167 243 208
67
- --primary-300: 110 231 183
68
- --primary-400: 52 211 153
69
- --primary-500: 58 58 58
70
- --primary-600: 5 150 105
71
- --primary-700: 4 120 87
72
- --primary-800: 6 95 70
73
- --primary-900: 4 78 56
74
- --primary-950: 2 44 34
75
- --surface-0: 255 255 255
76
- --surface-50: 248 250 252
77
- --surface-100: 241 245 249
78
- --surface-200: 226 232 240
79
- --surface-300: 203 213 225
80
- --surface-400: 148 163 184
81
- --surface-500: 100 116 139
82
- --surface-600: 71 85 105
83
- --surface-700: 45 55 72
84
- --surface-800: 30 41 59
85
- --surface-900: 15 23 42
86
- --surface-950: 3 6 23;
61
+ @tailwind utilities;
87
62
  ```
88
63
 
89
64
  If you want your main stylesheet to be named differently, not be sass or be elsewhere, you can config the `cssPath` in nuxt.config.ts:
@@ -103,26 +78,6 @@ If you want your main stylesheet to be named differently, not be sass or be else
103
78
  }
104
79
  ```
105
80
 
106
- ## PrimeVue Config
107
-
108
- This package provides an up-to-date primevue preset for tailwind (lara). In your project you import whats provided and only add overrides for whats in use.
109
-
110
- Create a folder names `primevue` in /styles.
111
-
112
- `./assets/styles/primevue/index.js`
113
-
114
- ```js
115
- import lara from "@gluhar/theme/primevue";
116
- import button from "./button"; // import other overrides like this
117
-
118
- export default {
119
- ...lara,
120
- button,
121
- };
122
- ```
123
-
124
- When doing overrides cmd + click into the gluhar/theme import, navigate to the component you want, copy paste it to /primevue and change what you need fam got you bruv innit.
125
-
126
81
  ## Contribution
127
82
 
128
83
  <details>
package/dist/module.d.mts CHANGED
@@ -1,12 +1,8 @@
1
1
  import * as _nuxt_schema from '@nuxt/schema';
2
2
  import { ModuleOptions } from '@nuxtjs/tailwindcss';
3
- import pv from '@primevue/nuxt-module';
4
3
 
5
- type Primevue = typeof pv;
6
- type PrimevueOptions = Parameters<Exclude<Primevue["getOptions"], undefined>>[0];
7
4
  interface GluharThemeOptions {
8
5
  tailwind?: Partial<ModuleOptions>;
9
- primevue?: Partial<PrimevueOptions>;
10
6
  }
11
7
  declare const _default: _nuxt_schema.NuxtModule<GluharThemeOptions, GluharThemeOptions, false>;
12
8
 
package/dist/module.d.ts CHANGED
@@ -1,12 +1,8 @@
1
1
  import * as _nuxt_schema from '@nuxt/schema';
2
2
  import { ModuleOptions } from '@nuxtjs/tailwindcss';
3
- import pv from '@primevue/nuxt-module';
4
3
 
5
- type Primevue = typeof pv;
6
- type PrimevueOptions = Parameters<Exclude<Primevue["getOptions"], undefined>>[0];
7
4
  interface GluharThemeOptions {
8
5
  tailwind?: Partial<ModuleOptions>;
9
- primevue?: Partial<PrimevueOptions>;
10
6
  }
11
7
  declare const _default: _nuxt_schema.NuxtModule<GluharThemeOptions, GluharThemeOptions, false>;
12
8
 
package/dist/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@gluhar/theme",
3
3
  "configKey": "gluharTheme",
4
- "version": "2.0.3",
4
+ "version": "3.0.0",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "0.8.3",
7
7
  "unbuild": "2.0.0"
package/dist/module.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import path from 'pathe';
2
- import { defineNuxtModule, createResolver, installModule, addImportsDir } from '@nuxt/kit';
2
+ import { defineNuxtModule, createResolver, addImportsDir } from '@nuxt/kit';
3
3
  import { handleTailwind } from '../dist/runtime/tailwind/handleTailwind.js';
4
4
 
5
5
  const cwd = process.cwd();
@@ -14,19 +14,11 @@ const module = defineNuxtModule({
14
14
  configPath: path.join(cwd, "config/tailwind.config"),
15
15
  cssPath: path.join(cwd, "assets/styles/base.sass"),
16
16
  exposeConfig: true
17
- },
18
- primevue: {
19
- options: { unstyled: true },
20
- importPT: {
21
- from: path.resolve(cwd, "./assets/styles/primevue/")
22
- }
23
17
  }
24
18
  },
25
19
  setup(options, nuxt) {
26
20
  const { resolve } = createResolver(import.meta.url);
27
- const { primevue } = options;
28
21
  handleTailwind(options, nuxt);
29
- installModule("@primevue/nuxt-module", primevue);
30
22
  addImportsDir(resolve("runtime/composables"));
31
23
  }
32
24
  });
@@ -9,18 +9,9 @@ const gluharTheme = {
9
9
  // Colors
10
10
  colors: {
11
11
  primary: {
12
- // PrimeVue colors
13
- "50": "rgb(var(--primary-50))",
14
- "100": "rgb(var(--primary-100))",
15
- "200": "rgb(var(--primary-200))",
16
- "300": "rgb(var(--primary-300))",
17
- "400": "rgb(var(--primary-400))",
18
- "500": "rgb(var(--primary-500))",
19
- "600": "rgb(var(--primary-600))",
20
- "700": "rgb(var(--primary-700))",
21
- "800": "rgb(var(--primary-800))",
22
- "900": "rgb(var(--primary-900))",
23
- "950": "rgb(var(--primary-950))"
12
+ light: "#333",
13
+ base: "#111",
14
+ dark: "#000"
24
15
  },
25
16
  secondary: {
26
17
  base: "#F9F9F9"
@@ -30,21 +21,6 @@ const gluharTheme = {
30
21
  },
31
22
  white: {
32
23
  base: "#fff"
33
- },
34
- // PrimeVue colors
35
- surface: {
36
- "0": "rgb(var(--surface-0))",
37
- "50": "rgb(var(--surface-50))",
38
- "100": "rgb(var(--surface-100))",
39
- "200": "rgb(var(--surface-200))",
40
- "300": "rgb(var(--surface-300))",
41
- "400": "rgb(var(--surface-400))",
42
- "500": "rgb(var(--surface-500))",
43
- "600": "rgb(var(--surface-600))",
44
- "700": "rgb(var(--surface-700))",
45
- "800": "rgb(var(--surface-800))",
46
- "900": "rgb(var(--surface-900))",
47
- "950": "rgb(var(--surface-950))"
48
24
  }
49
25
  }
50
26
  }
@@ -3,11 +3,7 @@ export const handleTailwind = (options, nuxt) => {
3
3
  const { resolve } = createResolver(import.meta.url);
4
4
  const { tailwind } = options;
5
5
  const config = {
6
- // PrimeVue styles
7
- content: [
8
- "assets/styles/**/*.{js,vue,ts}",
9
- resolve("runtime/presets/lara/**/*.{js,vue,ts}")
10
- ],
6
+ content: ["assets/styles/**/*.{js,vue,ts}"],
11
7
  // Dark mode to be handled with by a class, instead of media
12
8
  darkMode: "class"
13
9
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@gluhar/theme",
3
- "version": "2.0.3",
4
- "description": "Gluhar Theme package. Configures tailwind and primevue setup. Provides composables and utils for working with the theme and colors.",
3
+ "version": "3.0.0",
4
+ "description": "Gluhar Theme package. Configures tailwind setup. Provides composables and utils for working with the theme and colors.",
5
5
  "license": "MIT",
6
6
  "type": "module",
7
7
  "exports": {
@@ -11,7 +11,6 @@
11
11
  "require": "./dist/module.cjs"
12
12
  },
13
13
  "./gluharTheme": "./dist/runtime/tailwind/gluharTheme.js",
14
- "./primevue": "./dist/runtime/presets/lara/index.js",
15
14
  "./fonts/*": "./dist/runtime/fonts/*/stylesheet.css",
16
15
  "./styles/*": "./dist/runtime/styles/*.css"
17
16
  },
@@ -35,10 +34,8 @@
35
34
  "dependencies": {
36
35
  "@nuxt/kit": "^3.13.1",
37
36
  "@nuxtjs/tailwindcss": "6.12.2",
38
- "@primevue/nuxt-module": "^4.0.5",
39
37
  "defu": "^6.1.4",
40
38
  "pathe": "^1.1.2",
41
- "primevue": "^4.0.5",
42
39
  "sass": "^1.78.0",
43
40
  "tailwindcss": "^3.4.10"
44
41
  },
@@ -54,5 +51,5 @@
54
51
  "nuxt": "^3.13.1",
55
52
  "vitest": "^2.0.5"
56
53
  },
57
- "gitHead": "eface90f2dee58d45f4d217f2d3de388f67ed3fc"
54
+ "gitHead": "3e7ae18523d156a38d09d1df84a19281880a35e4"
58
55
  }
@@ -1,49 +0,0 @@
1
- declare namespace _default {
2
- namespace accordiontab {
3
- namespace root {
4
- let _class: string;
5
- export { _class as class };
6
- }
7
- function header({ props }: {
8
- props: any;
9
- }): {
10
- class: {
11
- 'select-none pointer-events-none cursor-default opacity-60': any;
12
- }[];
13
- };
14
- function headerAction({ context }: {
15
- context: any;
16
- }): {
17
- class: (string | {
18
- 'rounded-br-md rounded-bl-md': boolean;
19
- 'rounded-br-0 rounded-bl-0': any;
20
- 'text-surface-900'?: undefined;
21
- } | {
22
- 'text-surface-900': any;
23
- 'rounded-br-md rounded-bl-md'?: undefined;
24
- 'rounded-br-0 rounded-bl-0'?: undefined;
25
- })[];
26
- };
27
- namespace headerIcon {
28
- let _class_1: string;
29
- export { _class_1 as class };
30
- }
31
- namespace headerTitle {
32
- let _class_2: string;
33
- export { _class_2 as class };
34
- }
35
- namespace content {
36
- let _class_3: string[];
37
- export { _class_3 as class };
38
- }
39
- namespace transition {
40
- let enterFromClass: string;
41
- let enterActiveClass: string;
42
- let enterToClass: string;
43
- let leaveFromClass: string;
44
- let leaveActiveClass: string;
45
- let leaveToClass: string;
46
- }
47
- }
48
- }
49
- export default _default;
@@ -1,78 +0,0 @@
1
- export default {
2
- accordiontab: {
3
- root: {
4
- class: 'mb-1'
5
- },
6
- header: ({ props }) => ({
7
- class: [
8
- // State
9
- { 'select-none pointer-events-none cursor-default opacity-60': props?.disabled }
10
- ]
11
- }),
12
- headerAction: ({ context }) => ({
13
- class: [
14
- //Font
15
- 'font-bold',
16
- 'leading-none',
17
-
18
- // Alignments
19
- 'flex items-center',
20
- 'relative',
21
-
22
- // Sizing
23
- 'p-5',
24
-
25
- // Shape
26
- 'rounded-t-md',
27
- { 'rounded-br-md rounded-bl-md': !context.active, 'rounded-br-0 rounded-bl-0': context.active },
28
-
29
- // Color
30
- 'border border-surface-200 dark:border-surface-700',
31
- 'bg-surface-50 dark:bg-surface-800',
32
- 'text-surface-600 dark:text-surface-0/80',
33
- { 'text-surface-900': context.active },
34
-
35
- // Transition
36
- 'transition duration-200 ease-in-out',
37
- 'transition-shadow duration-200',
38
-
39
- // States
40
- 'hover:bg-surface-100 dark:hover:bg-surface-700/40',
41
- 'hover:text-surface-900',
42
- 'focus:outline-none focus:outline-offset-0 focus-visible:ring focus-visible:ring-primary-400/50 ring-inset dark:focus-visible:ring-primary-300/50', // Focus
43
-
44
- // Misc
45
- 'cursor-pointer no-underline select-none'
46
- ]
47
- }),
48
- headerIcon: {
49
- class: 'inline-block mr-2'
50
- },
51
- headerTitle: {
52
- class: 'leading-none'
53
- },
54
- content: {
55
- class: [
56
- // Spacing
57
- 'p-5',
58
-
59
- //Shape
60
- 'rounded-tl-none rounded-tr-none rounded-br-lg rounded-bl-lg',
61
- 'border-t-0',
62
-
63
- // Color
64
- 'bg-surface-0 dark:bg-surface-800',
65
- 'border border-surface-200 dark:border-surface-700',
66
- 'text-surface-700 dark:text-surface-0/80'
67
- ]
68
- },
69
- transition: {
70
- enterFromClass: 'max-h-0',
71
- enterActiveClass: 'overflow-hidden transition-[max-height] duration-1000 ease-[cubic-bezier(0.42,0,0.58,1)]',
72
- enterToClass: 'max-h-[1000px]',
73
- leaveFromClass: 'max-h-[1000px]',
74
- leaveActiveClass: 'overflow-hidden transition-[max-height] duration-[450ms] ease-[cubic-bezier(0,1,0,1)]',
75
- leaveToClass: 'max-h-0'
76
- }
77
- }
78
- };
@@ -1,200 +0,0 @@
1
- declare namespace _default {
2
- function root({ props }: {
3
- props: any;
4
- }): {
5
- class: (string | {
6
- 'w-full': any;
7
- 'opacity-60 select-none pointer-events-none cursor-default'?: undefined;
8
- } | {
9
- 'opacity-60 select-none pointer-events-none cursor-default': any;
10
- 'w-full'?: undefined;
11
- })[];
12
- };
13
- function container({ props, state }: {
14
- props: any;
15
- state: any;
16
- }): {
17
- class: (string | {
18
- 'border-surface-300 dark:border-surface-600': boolean;
19
- 'border-red-500 dark:border-red-400'?: undefined;
20
- 'hover:border-primary-500 dark:hover:border-primary-400'?: undefined;
21
- 'ring ring-primary-400/50 dark:ring-primary-300/50'?: undefined;
22
- } | {
23
- 'border-red-500 dark:border-red-400': any;
24
- 'border-surface-300 dark:border-surface-600'?: undefined;
25
- 'hover:border-primary-500 dark:hover:border-primary-400'?: undefined;
26
- 'ring ring-primary-400/50 dark:ring-primary-300/50'?: undefined;
27
- } | {
28
- 'hover:border-primary-500 dark:hover:border-primary-400': boolean;
29
- 'border-surface-300 dark:border-surface-600'?: undefined;
30
- 'border-red-500 dark:border-red-400'?: undefined;
31
- 'ring ring-primary-400/50 dark:ring-primary-300/50'?: undefined;
32
- } | {
33
- 'ring ring-primary-400/50 dark:ring-primary-300/50': any;
34
- 'border-surface-300 dark:border-surface-600'?: undefined;
35
- 'border-red-500 dark:border-red-400'?: undefined;
36
- 'hover:border-primary-500 dark:hover:border-primary-400'?: undefined;
37
- })[];
38
- };
39
- namespace inputtoken {
40
- let _class: string[];
41
- export { _class as class };
42
- }
43
- function input({ props }: {
44
- props: any;
45
- }): {
46
- class: (string | {
47
- 'rounded-tr-none rounded-br-none': any;
48
- 'outline-none shadow-none rounded-none'?: undefined;
49
- 'w-full'?: undefined;
50
- 'p-3'?: undefined;
51
- 'p-0'?: undefined;
52
- 'bg-surface-0 dark:bg-surface-900'?: undefined;
53
- ' border-surface-300 dark:border-surface-700'?: undefined;
54
- 'border-0 bg-transparent'?: undefined;
55
- 'border-red-500 dark:border-red-400'?: undefined;
56
- 'focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-400/50 dark:focus:ring-primary-300/50'?: undefined;
57
- } | {
58
- 'outline-none shadow-none rounded-none': any;
59
- 'rounded-tr-none rounded-br-none'?: undefined;
60
- 'w-full'?: undefined;
61
- 'p-3'?: undefined;
62
- 'p-0'?: undefined;
63
- 'bg-surface-0 dark:bg-surface-900'?: undefined;
64
- ' border-surface-300 dark:border-surface-700'?: undefined;
65
- 'border-0 bg-transparent'?: undefined;
66
- 'border-red-500 dark:border-red-400'?: undefined;
67
- 'focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-400/50 dark:focus:ring-primary-300/50'?: undefined;
68
- } | {
69
- 'w-full': any;
70
- 'rounded-tr-none rounded-br-none'?: undefined;
71
- 'outline-none shadow-none rounded-none'?: undefined;
72
- 'p-3'?: undefined;
73
- 'p-0'?: undefined;
74
- 'bg-surface-0 dark:bg-surface-900'?: undefined;
75
- ' border-surface-300 dark:border-surface-700'?: undefined;
76
- 'border-0 bg-transparent'?: undefined;
77
- 'border-red-500 dark:border-red-400'?: undefined;
78
- 'focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-400/50 dark:focus:ring-primary-300/50'?: undefined;
79
- } | {
80
- 'p-3': boolean;
81
- 'p-0': any;
82
- 'rounded-tr-none rounded-br-none'?: undefined;
83
- 'outline-none shadow-none rounded-none'?: undefined;
84
- 'w-full'?: undefined;
85
- 'bg-surface-0 dark:bg-surface-900'?: undefined;
86
- ' border-surface-300 dark:border-surface-700'?: undefined;
87
- 'border-0 bg-transparent'?: undefined;
88
- 'border-red-500 dark:border-red-400'?: undefined;
89
- 'focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-400/50 dark:focus:ring-primary-300/50'?: undefined;
90
- } | {
91
- 'bg-surface-0 dark:bg-surface-900': boolean;
92
- ' border-surface-300 dark:border-surface-700': boolean;
93
- 'border-0 bg-transparent': any;
94
- 'rounded-tr-none rounded-br-none'?: undefined;
95
- 'outline-none shadow-none rounded-none'?: undefined;
96
- 'w-full'?: undefined;
97
- 'p-3'?: undefined;
98
- 'p-0'?: undefined;
99
- 'border-red-500 dark:border-red-400'?: undefined;
100
- 'focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-400/50 dark:focus:ring-primary-300/50'?: undefined;
101
- } | {
102
- 'border-red-500 dark:border-red-400': any;
103
- 'rounded-tr-none rounded-br-none'?: undefined;
104
- 'outline-none shadow-none rounded-none'?: undefined;
105
- 'w-full'?: undefined;
106
- 'p-3'?: undefined;
107
- 'p-0'?: undefined;
108
- 'bg-surface-0 dark:bg-surface-900'?: undefined;
109
- ' border-surface-300 dark:border-surface-700'?: undefined;
110
- 'border-0 bg-transparent'?: undefined;
111
- 'focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-400/50 dark:focus:ring-primary-300/50'?: undefined;
112
- } | {
113
- 'focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-400/50 dark:focus:ring-primary-300/50': boolean;
114
- 'rounded-tr-none rounded-br-none'?: undefined;
115
- 'outline-none shadow-none rounded-none'?: undefined;
116
- 'w-full'?: undefined;
117
- 'p-3'?: undefined;
118
- 'p-0'?: undefined;
119
- 'bg-surface-0 dark:bg-surface-900'?: undefined;
120
- ' border-surface-300 dark:border-surface-700'?: undefined;
121
- 'border-0 bg-transparent'?: undefined;
122
- 'border-red-500 dark:border-red-400'?: undefined;
123
- })[];
124
- };
125
- namespace token {
126
- let _class_1: string[];
127
- export { _class_1 as class };
128
- }
129
- namespace label {
130
- let _class_2: string;
131
- export { _class_2 as class };
132
- }
133
- namespace removeTokenIcon {
134
- let _class_3: string[];
135
- export { _class_3 as class };
136
- }
137
- namespace dropdownbutton {
138
- export namespace root_1 {
139
- let _class_4: string[];
140
- export { _class_4 as class };
141
- }
142
- export { root_1 as root };
143
- }
144
- namespace loadingicon {
145
- let _class_5: string[];
146
- export { _class_5 as class };
147
- }
148
- namespace panel {
149
- let _class_6: string[];
150
- export { _class_6 as class };
151
- }
152
- namespace list {
153
- let _class_7: string;
154
- export { _class_7 as class };
155
- }
156
- function item({ context }: {
157
- context: any;
158
- }): {
159
- class: (string | {
160
- 'text-surface-700 dark:text-white/80': any;
161
- 'bg-surface-200 dark:bg-surface-600/60': any;
162
- 'text-primary-700 dark:text-white/80': any;
163
- 'bg-primary-100 dark:bg-primary-400': any;
164
- 'bg-primary-50 dark:bg-primary-300': any;
165
- 'hover:bg-surface-100 dark:hover:bg-surface-600/80'?: undefined;
166
- 'hover:text-surface-700 hover:bg-surface-100 dark:hover:text-white dark:hover:bg-surface-600/80'?: undefined;
167
- } | {
168
- 'hover:bg-surface-100 dark:hover:bg-surface-600/80': boolean;
169
- 'text-surface-700 dark:text-white/80'?: undefined;
170
- 'bg-surface-200 dark:bg-surface-600/60'?: undefined;
171
- 'text-primary-700 dark:text-white/80'?: undefined;
172
- 'bg-primary-100 dark:bg-primary-400'?: undefined;
173
- 'bg-primary-50 dark:bg-primary-300'?: undefined;
174
- 'hover:text-surface-700 hover:bg-surface-100 dark:hover:text-white dark:hover:bg-surface-600/80'?: undefined;
175
- } | {
176
- 'hover:text-surface-700 hover:bg-surface-100 dark:hover:text-white dark:hover:bg-surface-600/80': any;
177
- 'text-surface-700 dark:text-white/80'?: undefined;
178
- 'bg-surface-200 dark:bg-surface-600/60'?: undefined;
179
- 'text-primary-700 dark:text-white/80'?: undefined;
180
- 'bg-primary-100 dark:bg-primary-400'?: undefined;
181
- 'bg-primary-50 dark:bg-primary-300'?: undefined;
182
- 'hover:bg-surface-100 dark:hover:bg-surface-600/80'?: undefined;
183
- })[];
184
- };
185
- namespace itemgroup {
186
- let _class_8: string[];
187
- export { _class_8 as class };
188
- }
189
- namespace emptymessage {
190
- let _class_9: string[];
191
- export { _class_9 as class };
192
- }
193
- namespace transition {
194
- let enterFromClass: string;
195
- let enterActiveClass: string;
196
- let leaveActiveClass: string;
197
- let leaveToClass: string;
198
- }
199
- }
200
- export default _default;