@vobs/tailwind 1.1.0 → 1.2.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/dist/index.cjs +18 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +3 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +12 -0
- package/dist/index.js.map +1 -0
- package/dist/styles-prefixed.css +4 -0
- package/dist/styles.css +4 -0
- package/dist/theme.css +28 -0
- package/dist/vite.cjs +18 -0
- package/dist/vite.cjs.map +1 -0
- package/dist/vite.d.cts +8 -0
- package/dist/vite.d.ts +8 -0
- package/dist/vite.js +12 -0
- package/dist/vite.js.map +1 -0
- package/package.json +29 -8
package/dist/index.cjs
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var tailwindcss = require('@tailwindcss/vite');
|
|
4
|
+
|
|
5
|
+
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
6
|
+
|
|
7
|
+
var tailwindcss__default = /*#__PURE__*/_interopDefault(tailwindcss);
|
|
8
|
+
|
|
9
|
+
var __defProp = Object.defineProperty;
|
|
10
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
11
|
+
function vobsTailwind(options = {}) {
|
|
12
|
+
return tailwindcss__default.default(options);
|
|
13
|
+
}
|
|
14
|
+
__name(vobsTailwind, "vobsTailwind");
|
|
15
|
+
|
|
16
|
+
exports.vobsTailwind = vobsTailwind;
|
|
17
|
+
//# sourceMappingURL=index.cjs.map
|
|
18
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/vite.ts"],"names":["tailwindcss"],"mappings":";;;;;;;;;;AAMO,SAAS,YAAA,CAAa,OAAA,GAA+B,EAAC,EAAa;AACxE,EAAA,OAAOA,6BAAY,OAAO,CAAA;AAC5B;AAFgB,MAAA,CAAA,YAAA,EAAA,cAAA,CAAA","file":"index.cjs","sourcesContent":["import tailwindcss, { type PluginOptions } from '@tailwindcss/vite'\nimport type { Plugin } from 'vite'\n\nexport type VobsTailwindOptions = PluginOptions\n\n/** Vite integration for Tailwind CSS with Vobs theme conventions. */\nexport function vobsTailwind(options: VobsTailwindOptions = {}): Plugin[] {\n return tailwindcss(options)\n}\n"]}
|
package/dist/index.d.cts
ADDED
package/dist/index.d.ts
ADDED
package/dist/index.js
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import tailwindcss from '@tailwindcss/vite';
|
|
2
|
+
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
5
|
+
function vobsTailwind(options = {}) {
|
|
6
|
+
return tailwindcss(options);
|
|
7
|
+
}
|
|
8
|
+
__name(vobsTailwind, "vobsTailwind");
|
|
9
|
+
|
|
10
|
+
export { vobsTailwind };
|
|
11
|
+
//# sourceMappingURL=index.js.map
|
|
12
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/vite.ts"],"names":[],"mappings":";;;;AAMO,SAAS,YAAA,CAAa,OAAA,GAA+B,EAAC,EAAa;AACxE,EAAA,OAAO,YAAY,OAAO,CAAA;AAC5B;AAFgB,MAAA,CAAA,YAAA,EAAA,cAAA,CAAA","file":"index.js","sourcesContent":["import tailwindcss, { type PluginOptions } from '@tailwindcss/vite'\nimport type { Plugin } from 'vite'\n\nexport type VobsTailwindOptions = PluginOptions\n\n/** Vite integration for Tailwind CSS with Vobs theme conventions. */\nexport function vobsTailwind(options: VobsTailwindOptions = {}): Plugin[] {\n return tailwindcss(options)\n}\n"]}
|
package/dist/styles.css
ADDED
package/dist/theme.css
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/* Vobs semantic tokens exposed through Tailwind's color, spacing, and radius namespaces. */
|
|
2
|
+
@theme inline {
|
|
3
|
+
--color-brand: var(--vobs-brand-primary, #2563eb);
|
|
4
|
+
--color-brand-secondary: var(--vobs-brand-secondary, #0f766e);
|
|
5
|
+
--color-brand-accent: var(--vobs-brand-accent, #d97706);
|
|
6
|
+
|
|
7
|
+
--color-background: var(--vobs-neutral-background, #ffffff);
|
|
8
|
+
--color-surface: var(--vobs-neutral-surface, var(--vobs-neutral-background, #f8fafc));
|
|
9
|
+
--color-foreground: var(--vobs-neutral-foreground, #172033);
|
|
10
|
+
--color-muted: var(--vobs-neutral-muted, #64748b);
|
|
11
|
+
--color-border: var(--vobs-neutral-border, #cbd5e1);
|
|
12
|
+
|
|
13
|
+
--color-success: var(--vobs-semantic-success, #15803d);
|
|
14
|
+
--color-warning: var(--vobs-semantic-warning, #b45309);
|
|
15
|
+
--color-danger: var(--vobs-semantic-danger, #b91c1c);
|
|
16
|
+
--color-info: var(--vobs-semantic-info, #0369a1);
|
|
17
|
+
|
|
18
|
+
--spacing-vobs-sm: var(--vobs-spacing-sm, 4px);
|
|
19
|
+
--spacing-vobs-md: var(--vobs-spacing-md, 8px);
|
|
20
|
+
--spacing-vobs-lg: var(--vobs-spacing-lg, 16px);
|
|
21
|
+
|
|
22
|
+
--radius-vobs-sm: var(--vobs-radius-sm, 2px);
|
|
23
|
+
--radius-vobs-md: var(--vobs-radius-md, 4px);
|
|
24
|
+
--radius-vobs-lg: var(--vobs-radius-lg, 6px);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/* Follow the Vobs theme boundary instead of maintaining a second class-based dark state. */
|
|
28
|
+
@custom-variant dark (&:where([data-vobs-mode="dark"], [data-vobs-mode="dark"] *));
|
package/dist/vite.cjs
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var tailwindcss = require('@tailwindcss/vite');
|
|
4
|
+
|
|
5
|
+
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
6
|
+
|
|
7
|
+
var tailwindcss__default = /*#__PURE__*/_interopDefault(tailwindcss);
|
|
8
|
+
|
|
9
|
+
var __defProp = Object.defineProperty;
|
|
10
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
11
|
+
function vobsTailwind(options = {}) {
|
|
12
|
+
return tailwindcss__default.default(options);
|
|
13
|
+
}
|
|
14
|
+
__name(vobsTailwind, "vobsTailwind");
|
|
15
|
+
|
|
16
|
+
exports.vobsTailwind = vobsTailwind;
|
|
17
|
+
//# sourceMappingURL=vite.cjs.map
|
|
18
|
+
//# sourceMappingURL=vite.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/vite.ts"],"names":["tailwindcss"],"mappings":";;;;;;;;;;AAMO,SAAS,YAAA,CAAa,OAAA,GAA+B,EAAC,EAAa;AACxE,EAAA,OAAOA,6BAAY,OAAO,CAAA;AAC5B;AAFgB,MAAA,CAAA,YAAA,EAAA,cAAA,CAAA","file":"vite.cjs","sourcesContent":["import tailwindcss, { type PluginOptions } from '@tailwindcss/vite'\nimport type { Plugin } from 'vite'\n\nexport type VobsTailwindOptions = PluginOptions\n\n/** Vite integration for Tailwind CSS with Vobs theme conventions. */\nexport function vobsTailwind(options: VobsTailwindOptions = {}): Plugin[] {\n return tailwindcss(options)\n}\n"]}
|
package/dist/vite.d.cts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { PluginOptions } from '@tailwindcss/vite';
|
|
2
|
+
import { Plugin } from 'vite';
|
|
3
|
+
|
|
4
|
+
type VobsTailwindOptions = PluginOptions;
|
|
5
|
+
/** Vite integration for Tailwind CSS with Vobs theme conventions. */
|
|
6
|
+
declare function vobsTailwind(options?: VobsTailwindOptions): Plugin[];
|
|
7
|
+
|
|
8
|
+
export { type VobsTailwindOptions, vobsTailwind };
|
package/dist/vite.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { PluginOptions } from '@tailwindcss/vite';
|
|
2
|
+
import { Plugin } from 'vite';
|
|
3
|
+
|
|
4
|
+
type VobsTailwindOptions = PluginOptions;
|
|
5
|
+
/** Vite integration for Tailwind CSS with Vobs theme conventions. */
|
|
6
|
+
declare function vobsTailwind(options?: VobsTailwindOptions): Plugin[];
|
|
7
|
+
|
|
8
|
+
export { type VobsTailwindOptions, vobsTailwind };
|
package/dist/vite.js
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import tailwindcss from '@tailwindcss/vite';
|
|
2
|
+
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
5
|
+
function vobsTailwind(options = {}) {
|
|
6
|
+
return tailwindcss(options);
|
|
7
|
+
}
|
|
8
|
+
__name(vobsTailwind, "vobsTailwind");
|
|
9
|
+
|
|
10
|
+
export { vobsTailwind };
|
|
11
|
+
//# sourceMappingURL=vite.js.map
|
|
12
|
+
//# sourceMappingURL=vite.js.map
|
package/dist/vite.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/vite.ts"],"names":[],"mappings":";;;;AAMO,SAAS,YAAA,CAAa,OAAA,GAA+B,EAAC,EAAa;AACxE,EAAA,OAAO,YAAY,OAAO,CAAA;AAC5B;AAFgB,MAAA,CAAA,YAAA,EAAA,cAAA,CAAA","file":"vite.js","sourcesContent":["import tailwindcss, { type PluginOptions } from '@tailwindcss/vite'\nimport type { Plugin } from 'vite'\n\nexport type VobsTailwindOptions = PluginOptions\n\n/** Vite integration for Tailwind CSS with Vobs theme conventions. */\nexport function vobsTailwind(options: VobsTailwindOptions = {}): Plugin[] {\n return tailwindcss(options)\n}\n"]}
|
package/package.json
CHANGED
|
@@ -1,25 +1,46 @@
|
|
|
1
1
|
{
|
|
2
2
|
"license": "MIT",
|
|
3
3
|
"files": [
|
|
4
|
+
"dist",
|
|
4
5
|
"src",
|
|
5
6
|
"README.md",
|
|
6
7
|
"LICENSE"
|
|
7
8
|
],
|
|
8
9
|
"name": "@vobs/tailwind",
|
|
9
|
-
"version": "1.
|
|
10
|
+
"version": "1.2.0",
|
|
11
|
+
"publishConfig": {
|
|
12
|
+
"access": "public"
|
|
13
|
+
},
|
|
10
14
|
"description": "Tailwind CSS integration for Vobs theme conventions.",
|
|
11
15
|
"type": "module",
|
|
12
|
-
"main": "
|
|
13
|
-
"
|
|
16
|
+
"main": "./dist/index.cjs",
|
|
17
|
+
"module": "./dist/index.js",
|
|
18
|
+
"types": "./dist/index.d.ts",
|
|
14
19
|
"exports": {
|
|
15
|
-
".":
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
+
".": {
|
|
21
|
+
"types": "./dist/index.d.ts",
|
|
22
|
+
"import": "./dist/index.js",
|
|
23
|
+
"require": "./dist/index.cjs",
|
|
24
|
+
"default": "./dist/index.js"
|
|
25
|
+
},
|
|
26
|
+
"./vite": {
|
|
27
|
+
"types": "./dist/vite.d.ts",
|
|
28
|
+
"import": "./dist/vite.js",
|
|
29
|
+
"require": "./dist/vite.cjs",
|
|
30
|
+
"default": "./dist/vite.js"
|
|
31
|
+
},
|
|
32
|
+
"./theme.css": "./dist/theme.css",
|
|
33
|
+
"./styles.css": "./dist/styles.css",
|
|
34
|
+
"./styles-prefixed.css": "./dist/styles-prefixed.css",
|
|
35
|
+
"./source": {
|
|
36
|
+
"types": "./src/index.ts",
|
|
37
|
+
"default": "./src/index.ts"
|
|
38
|
+
},
|
|
39
|
+
"./source/*": "./src/*",
|
|
20
40
|
"./package.json": "./package.json"
|
|
21
41
|
},
|
|
22
42
|
"sideEffects": [
|
|
43
|
+
"./dist/*.css",
|
|
23
44
|
"./src/*.css"
|
|
24
45
|
],
|
|
25
46
|
"dependencies": {
|