@c2n/theme 0.0.6

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/package.json ADDED
@@ -0,0 +1,106 @@
1
+ {
2
+ "name": "@c2n/theme",
3
+ "version": "0.0.6",
4
+ "description": "Design tokens (--c2-theme--*) and a generated base theme that maps every @c2n component CSS variable onto them",
5
+ "type": "module",
6
+ "main": "dist/tokens.js",
7
+ "sideEffects": [
8
+ "*.css"
9
+ ],
10
+ "exports": {
11
+ ".": {
12
+ "types": "./dist/tokens.d.ts",
13
+ "default": "./dist/tokens.js"
14
+ },
15
+ "./tokens.js": {
16
+ "types": "./dist/tokens.d.ts",
17
+ "default": "./dist/tokens.js"
18
+ },
19
+ "./theme.css": "./dist/theme.css",
20
+ "./tokens.css": "./dist/tokens.css",
21
+ "./base.css": "./dist/base.css",
22
+ "./tokens.json": "./dist/tokens.json",
23
+ "./report.json": "./dist/report.json"
24
+ },
25
+ "files": [
26
+ "dist"
27
+ ],
28
+ "keywords": [
29
+ "theme",
30
+ "design tokens",
31
+ "web component",
32
+ "lit"
33
+ ],
34
+ "license": "MIT",
35
+ "author": "code2nguyen@gmail.com",
36
+ "publishConfig": {
37
+ "registry": "https://registry.npmjs.org",
38
+ "access": "public"
39
+ },
40
+ "repository": {
41
+ "type": "git",
42
+ "url": "https://github.com/code2nguyen/web-components.git"
43
+ },
44
+ "scripts": {
45
+ "dev": "vite",
46
+ "build": "wireit",
47
+ "type-check": "wireit",
48
+ "generate": "node scripts/theme-generator/index.ts"
49
+ },
50
+ "wireit": {
51
+ "type-check": {
52
+ "command": "tsc -p tsconfig.node.json"
53
+ },
54
+ "build": {
55
+ "dependencies": [
56
+ "type-check",
57
+ "../../components/copy-button:build",
58
+ "../../components/textarea:build",
59
+ "../../components/switch:build",
60
+ "../../components/spinner:build",
61
+ "../../components/slider:build",
62
+ "../../components/seperator:build",
63
+ "../../components/breadcrumb:build",
64
+ "../../components/badge:build",
65
+ "../../components/toast:build",
66
+ "../../components/radio:build",
67
+ "../../components/button-group:build",
68
+ "../../components/accordion:build",
69
+ "../../components/avatar:build",
70
+ "../../components/button:build",
71
+ "../../components/card:build",
72
+ "../../components/chat-input:build",
73
+ "../../components/chat-message:build",
74
+ "../../components/checkbox:build",
75
+ "../../components/code-viewer:build",
76
+ "../../components/color-area:build",
77
+ "../../components/color-select:build",
78
+ "../../components/color-slider:build",
79
+ "../../components/details:build",
80
+ "../../components/dropdown-list:build",
81
+ "../../components/icon-button:build",
82
+ "../../components/label:build",
83
+ "../../components/link-button:build",
84
+ "../../components/list:build",
85
+ "../../components/list-item:build",
86
+ "../../components/mat-icon:build",
87
+ "../../components/modal:build",
88
+ "../../components/overlay:build",
89
+ "../../components/reorder-list:build",
90
+ "../../components/select:build",
91
+ "../../components/side-nav:build",
92
+ "../../components/tabs:build",
93
+ "../../components/text-field:build",
94
+ "../../components/tooltip:build",
95
+ "../../icons/feather-icons:build",
96
+ "../../../open-packages/chatbot:build"
97
+ ],
98
+ "command": "tsc -p tsconfig.lib.json && node scripts/theme-generator/index.ts"
99
+ }
100
+ },
101
+ "devDependencies": {
102
+ "@c2n/config": "*",
103
+ "prettier": "3.9.6"
104
+ },
105
+ "gitHead": "2921054bc75299da66dad11c1e374246ff88a51e"
106
+ }