@gluhar/theme 3.2.0 → 4.0.1

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/CHANGELOG.md CHANGED
@@ -3,6 +3,33 @@
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
+ ## [4.0.1](https://github.com/gluharco/gluhar/compare/@gluhar/theme@4.0.0...@gluhar/theme@4.0.1) (2025-07-23)
7
+
8
+
9
+ ### 🩹 Fixes
10
+
11
+ - Move fluid-tailwind from dev to normal deps ([746f34f](https://github.com/gluharco/gluhar/commit/746f34ff3cf24c2d8de8a66857e05e85fa57082b))
12
+
13
+
14
+
15
+
16
+
17
+ # [4.0.0](https://github.com/gluharco/gluhar/compare/@gluhar/theme@3.2.0...@gluhar/theme@4.0.0) (2025-07-23)
18
+
19
+
20
+ ### 🚀 Enhancements
21
+
22
+ - Add fluid-tailwind to @gluhar/theme ([ea1ea13](https://github.com/gluharco/gluhar/commit/ea1ea135b6f48723280ee734dd681f5dbcc1a28b))
23
+
24
+
25
+ ### BREAKING CHANGES
26
+
27
+ - Add fluid-tw and upgrade to v4
28
+
29
+
30
+
31
+
32
+
6
33
  # [3.2.0](https://github.com/gluharry/gluhar/compare/@gluhar/theme@3.1.0...@gluhar/theme@3.2.0) (2025-05-13)
7
34
 
8
35
 
package/dist/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@gluhar/theme",
3
3
  "configKey": "gluharTheme",
4
- "version": "3.2.0",
4
+ "version": "4.0.1",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "0.8.3",
7
7
  "unbuild": "2.0.0"
@@ -1,4 +1,5 @@
1
1
  import defaultTheme from "tailwindcss/defaultTheme.js";
2
+ import { screens } from "fluid-tailwind";
2
3
  const gluharTheme = {
3
4
  // Overrides
4
5
  fontFamily: {
@@ -6,6 +7,12 @@ const gluharTheme = {
6
7
  },
7
8
  // Extends
8
9
  extend: {
10
+ screens,
11
+ /** @type {import('fluid-tailwind').FluidThemeConfig} */
12
+ fluid: () => ({
13
+ defaultScreens: ["64rem", "120rem"]
14
+ // 1024px - 1920px
15
+ }),
9
16
  // Colors
10
17
  colors: {
11
18
  primary: {
@@ -1,9 +1,11 @@
1
1
  import { addImports, createResolver, installModule } from "@nuxt/kit";
2
+ import fluid, { extract } from "fluid-tailwind";
2
3
  export const handleTailwind = (options, nuxt) => {
3
4
  const { resolve } = createResolver(import.meta.url);
4
5
  const { tailwind } = options;
5
6
  const config = {
6
- content: ["assets/styles/**/*.{js,vue,ts}"],
7
+ content: ["assets/styles/**/*.{js,vue,ts}", extract],
8
+ plugins: [fluid],
7
9
  // Dark mode to be handled with by a class, instead of media
8
10
  darkMode: "class"
9
11
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gluhar/theme",
3
- "version": "3.2.0",
3
+ "version": "4.0.1",
4
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",
@@ -35,6 +35,7 @@
35
35
  "@nuxt/kit": "^3.13.1",
36
36
  "@nuxtjs/tailwindcss": "6.12.2",
37
37
  "defu": "^6.1.4",
38
+ "fluid-tailwind": "^1.0.4",
38
39
  "pathe": "^1.1.2",
39
40
  "tailwindcss": "^3.4.10"
40
41
  },
@@ -50,5 +51,5 @@
50
51
  "nuxt": "^3.13.1",
51
52
  "vitest": "^2.0.5"
52
53
  },
53
- "gitHead": "cea08da71a01562bfb982b1914bdfc449e283aa0"
54
+ "gitHead": "251c2ea34aa1cbd7f5003aae181d7821f63d90b3"
54
55
  }