@gluhar/theme 4.0.3 → 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,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.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
+
6
17
  ## [4.0.3](https://github.com/gluharco/gluhar/compare/@gluhar/theme@4.0.2...@gluhar/theme@4.0.3) (2025-07-23)
7
18
 
8
19
 
package/dist/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@gluhar/theme",
3
3
  "configKey": "gluharTheme",
4
- "version": "4.0.3",
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,16 +1,13 @@
1
- import defaultTheme from "tailwindcss/defaultTheme.js";
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
+ ];
2
10
  const gluharTheme = {
3
- // Overrides
4
- fontFamily: {
5
- sans: ["Object Sans", ...defaultTheme.fontFamily.sans]
6
- },
7
- // Fluid screens
8
- // screens,
9
- // /** @type {import('fluid-tailwind').FluidThemeConfig} */
10
- // fluid: () => ({
11
- // defaultScreens: ["64rem", "120rem"], // 1024px - 1920px
12
- // }),
13
- // Extends
14
11
  extend: {
15
12
  // Colors
16
13
  colors: {
@@ -28,6 +25,30 @@ const gluharTheme = {
28
25
  white: {
29
26
  base: "#fff"
30
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)"
31
52
  }
32
53
  }
33
54
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gluhar/theme",
3
- "version": "4.0.3",
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": "a52ee4ce07d0364f51232c8a6703c521baee9a37"
54
+ "gitHead": "fd8e4048258d7f534436fec49b1ebaedb86c501d"
55
55
  }