@gluhar/theme 4.0.2 → 4.0.4

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,28 @@
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.4](https://github.com/gluharco/gluhar/compare/@gluhar/theme@4.0.3...@gluhar/theme@4.0.4) (2025-11-06)
7
+
8
+
9
+ ### 🩹 Fixes
10
+
11
+ - GluharTheme to export sansFallbacks and not import defaultTheme ([ccef7e1](https://github.com/gluharco/gluhar/commit/ccef7e1f763b7978928eb8afd5fd21ba96187e11))
12
+
13
+
14
+
15
+
16
+
17
+ ## [4.0.3](https://github.com/gluharco/gluhar/compare/@gluhar/theme@4.0.2...@gluhar/theme@4.0.3) (2025-07-23)
18
+
19
+
20
+ ### 🩹 Fixes
21
+
22
+ - Reverting fluid-tailwind for another day ([24b12d9](https://github.com/gluharco/gluhar/commit/24b12d9cf271ca6b542cc03682fb9ac07e871752))
23
+
24
+
25
+
26
+
27
+
6
28
  ## [4.0.2](https://github.com/gluharco/gluhar/compare/@gluhar/theme@4.0.1...@gluhar/theme@4.0.2) (2025-07-23)
7
29
 
8
30
 
package/dist/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@gluhar/theme",
3
3
  "configKey": "gluharTheme",
4
- "version": "4.0.2",
4
+ "version": "4.0.4",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "0.8.3",
7
7
  "unbuild": "2.0.0"
@@ -1,3 +1,4 @@
1
1
  import type { Config as TailwindConfig } from "tailwindcss/types/config.d";
2
+ export declare const sansFallbacks: string[];
2
3
  declare const gluharTheme: TailwindConfig["theme"];
3
4
  export default gluharTheme;
@@ -1,18 +1,13 @@
1
- import defaultTheme from "tailwindcss/defaultTheme.js";
2
- import { screens } from "fluid-tailwind";
1
+ export const sansFallbacks = [
2
+ "ui-sans-serif",
3
+ "system-ui",
4
+ "sans-serif",
5
+ "Apple Color Emoji",
6
+ "Segoe UI Emoji",
7
+ "Segoe UI Symbol",
8
+ "Noto Color Emoji"
9
+ ];
3
10
  const gluharTheme = {
4
- // Overrides
5
- fontFamily: {
6
- sans: ["Object Sans", ...defaultTheme.fontFamily.sans]
7
- },
8
- // Fluid screens
9
- screens,
10
- /** @type {import('fluid-tailwind').FluidThemeConfig} */
11
- fluid: () => ({
12
- defaultScreens: ["64rem", "120rem"]
13
- // 1024px - 1920px
14
- }),
15
- // Extends
16
11
  extend: {
17
12
  // Colors
18
13
  colors: {
@@ -30,6 +25,30 @@ const gluharTheme = {
30
25
  white: {
31
26
  base: "#fff"
32
27
  }
28
+ },
29
+ // Spacings
30
+ spacing: {
31
+ "13": "3.25rem",
32
+ "15": "3.75rem",
33
+ "17": "4.25rem",
34
+ "18": "4.5rem",
35
+ "128": "32rem",
36
+ "144": "36rem"
37
+ },
38
+ // Heights
39
+ height: {
40
+ "screen-s": "100svh",
41
+ "screen-l": "100lvh",
42
+ "screen-d": "100dvh"
43
+ },
44
+ // Typography
45
+ letterSpacing: { tightest: "-.075em" },
46
+ lineHeight: { tighter: "1.18", tightest: "1.1" },
47
+ // Layout
48
+ flex: { "0-auto": "1 0 auto" },
49
+ // Easing
50
+ transitionTimingFunction: {
51
+ "in-out-expo": "cubic-bezier(0.87, 0, 0.13, 1)"
33
52
  }
34
53
  }
35
54
  };
@@ -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}", extract],
8
- plugins: [fluid],
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.2",
3
+ "version": "4.0.4",
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": "ab1796ae63d5e0f3db18535854682bc54aaa4464"
54
+ "gitHead": "fd8e4048258d7f534436fec49b1ebaedb86c501d"
55
55
  }