@gluhar/theme 3.1.0 → 4.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.
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.0](https://github.com/gluharco/gluhar/compare/@gluhar/theme@3.2.0...@gluhar/theme@4.0.0) (2025-07-23)
7
+
8
+
9
+ ### 🚀 Enhancements
10
+
11
+ - Add fluid-tailwind to @gluhar/theme ([ea1ea13](https://github.com/gluharco/gluhar/commit/ea1ea135b6f48723280ee734dd681f5dbcc1a28b))
12
+
13
+
14
+ ### BREAKING CHANGES
15
+
16
+ - Add fluid-tw and upgrade to v4
17
+
18
+
19
+
20
+
21
+
22
+ # [3.2.0](https://github.com/gluharry/gluhar/compare/@gluhar/theme@3.1.0...@gluhar/theme@3.2.0) (2025-05-13)
23
+
24
+
25
+ ### 🚀 Enhancements
26
+
27
+ - Change from using sass to css ([951bbcd](https://github.com/gluharry/gluhar/commit/951bbcd22beb353a5af3ab83dcb2f48d27c99a13))
28
+
29
+
30
+
31
+
32
+
6
33
  # [3.1.0](https://github.com/gluharry/gluhar/compare/@gluhar/theme@3.0.1...@gluhar/theme@3.1.0) (2025-05-13)
7
34
 
8
35
 
package/README.md CHANGED
@@ -51,9 +51,9 @@ export default {
51
51
  };
52
52
  ```
53
53
 
54
- Create a `base.sass` file to import tailwind's classes and provide initial variables.
54
+ Create a `base.css` file to import tailwind's classes and provide initial variables.
55
55
 
56
- In `~/assets/styles/base.sass`
56
+ In `~/assets/styles/base.css`
57
57
 
58
58
  ```css
59
59
  @tailwind base
package/dist/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@gluhar/theme",
3
3
  "configKey": "gluharTheme",
4
- "version": "3.1.0",
4
+ "version": "4.0.0",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "0.8.3",
7
7
  "unbuild": "2.0.0"
package/dist/module.mjs CHANGED
@@ -12,7 +12,7 @@ const module = defineNuxtModule({
12
12
  defaults: {
13
13
  tailwind: {
14
14
  configPath: path.join(cwd, "config/tailwind.config"),
15
- cssPath: path.join(cwd, "assets/styles/base.sass"),
15
+ cssPath: path.join(cwd, "assets/styles/base.css"),
16
16
  exposeConfig: true
17
17
  }
18
18
  },
@@ -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.1.0",
3
+ "version": "4.0.0",
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",
@@ -36,7 +36,6 @@
36
36
  "@nuxtjs/tailwindcss": "6.12.2",
37
37
  "defu": "^6.1.4",
38
38
  "pathe": "^1.1.2",
39
- "sass": "^1.78.0",
40
39
  "tailwindcss": "^3.4.10"
41
40
  },
42
41
  "devDependencies": {
@@ -48,8 +47,9 @@
48
47
  "@types/node": "^20.16.5",
49
48
  "changelogen": "^0.5.5",
50
49
  "eslint": "^9.10.0",
50
+ "fluid-tailwind": "^1.0.4",
51
51
  "nuxt": "^3.13.1",
52
52
  "vitest": "^2.0.5"
53
53
  },
54
- "gitHead": "2126c9db79a679095d54fef6b9e33dd045df60cd"
54
+ "gitHead": "2ed26db51803197bd8544e01dc499a72b8db4480"
55
55
  }