@gluhar/theme 3.2.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,22 @@
|
|
|
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
|
+
|
|
6
22
|
# [3.2.0](https://github.com/gluharry/gluhar/compare/@gluhar/theme@3.1.0...@gluhar/theme@3.2.0) (2025-05-13)
|
|
7
23
|
|
|
8
24
|
|
package/dist/module.json
CHANGED
|
@@ -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
|
+
"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",
|
|
@@ -47,8 +47,9 @@
|
|
|
47
47
|
"@types/node": "^20.16.5",
|
|
48
48
|
"changelogen": "^0.5.5",
|
|
49
49
|
"eslint": "^9.10.0",
|
|
50
|
+
"fluid-tailwind": "^1.0.4",
|
|
50
51
|
"nuxt": "^3.13.1",
|
|
51
52
|
"vitest": "^2.0.5"
|
|
52
53
|
},
|
|
53
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "2ed26db51803197bd8544e01dc499a72b8db4480"
|
|
54
55
|
}
|