@gluhar/theme 4.0.2 → 4.0.3
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,17 @@
|
|
|
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.3](https://github.com/gluharco/gluhar/compare/@gluhar/theme@4.0.2...@gluhar/theme@4.0.3) (2025-07-23)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### 🩹 Fixes
|
|
10
|
+
|
|
11
|
+
- Reverting fluid-tailwind for another day ([24b12d9](https://github.com/gluharco/gluhar/commit/24b12d9cf271ca6b542cc03682fb9ac07e871752))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## [4.0.2](https://github.com/gluharco/gluhar/compare/@gluhar/theme@4.0.1...@gluhar/theme@4.0.2) (2025-07-23)
|
|
7
18
|
|
|
8
19
|
|
package/dist/module.json
CHANGED
|
@@ -1,17 +1,15 @@
|
|
|
1
1
|
import defaultTheme from "tailwindcss/defaultTheme.js";
|
|
2
|
-
import { screens } from "fluid-tailwind";
|
|
3
2
|
const gluharTheme = {
|
|
4
3
|
// Overrides
|
|
5
4
|
fontFamily: {
|
|
6
5
|
sans: ["Object Sans", ...defaultTheme.fontFamily.sans]
|
|
7
6
|
},
|
|
8
7
|
// Fluid screens
|
|
9
|
-
screens,
|
|
10
|
-
/** @type {import('fluid-tailwind').FluidThemeConfig} */
|
|
11
|
-
fluid: () => ({
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
}),
|
|
8
|
+
// screens,
|
|
9
|
+
// /** @type {import('fluid-tailwind').FluidThemeConfig} */
|
|
10
|
+
// fluid: () => ({
|
|
11
|
+
// defaultScreens: ["64rem", "120rem"], // 1024px - 1920px
|
|
12
|
+
// }),
|
|
15
13
|
// Extends
|
|
16
14
|
extend: {
|
|
17
15
|
// Colors
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { addImports, createResolver, installModule } from "@nuxt/kit";
|
|
2
|
-
import fluid, { extract } from "fluid-tailwind";
|
|
3
2
|
export const handleTailwind = (options, nuxt) => {
|
|
4
3
|
const { resolve } = createResolver(import.meta.url);
|
|
5
4
|
const { tailwind } = options;
|
|
6
5
|
const config = {
|
|
7
|
-
content: ["assets/styles/**/*.{js,vue,ts}"
|
|
8
|
-
|
|
6
|
+
content: ["assets/styles/**/*.{js,vue,ts}"],
|
|
7
|
+
// content: ["assets/styles/**/*.{js,vue,ts}", extract],
|
|
8
|
+
// plugins: [fluid],
|
|
9
9
|
// Dark mode to be handled with by a class, instead of media
|
|
10
10
|
darkMode: "class"
|
|
11
11
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gluhar/theme",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.3",
|
|
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",
|
|
@@ -51,5 +51,5 @@
|
|
|
51
51
|
"nuxt": "^3.13.1",
|
|
52
52
|
"vitest": "^2.0.5"
|
|
53
53
|
},
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "a52ee4ce07d0364f51232c8a6703c521baee9a37"
|
|
55
55
|
}
|