@nice2dev/omniwerk-branding 1.0.28
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/README.md +232 -0
- package/assets/fonts/AntonSC-Regular.ttf +0 -0
- package/assets/fonts/OFL.txt +93 -0
- package/dist/OmniWerkLogo.d.ts +104 -0
- package/dist/colors.d.ts +85 -0
- package/dist/fonts.cjs +9 -0
- package/dist/fonts.d.ts +63 -0
- package/dist/fonts.mjs +53 -0
- package/dist/index.cjs +60 -0
- package/dist/index.d.ts +29 -0
- package/dist/index.mjs +487 -0
- package/dist/theme.d.ts +186 -0
- package/package.json +65 -0
package/dist/theme.d.ts
ADDED
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @file theme.ts
|
|
3
|
+
* @description OmniWerk theme presets for common CSS-in-JS libraries
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* CSS custom properties for OmniWerk theme.
|
|
7
|
+
*/
|
|
8
|
+
export declare const OMNIWERK_CSS_VARS: string;
|
|
9
|
+
/**
|
|
10
|
+
* Tailwind CSS preset for OmniWerk branding.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* ```js
|
|
14
|
+
* // tailwind.config.js
|
|
15
|
+
* import { omniWerkTailwindPreset } from '@nice2dev/omniwerk-branding';
|
|
16
|
+
*
|
|
17
|
+
* export default {
|
|
18
|
+
* presets: [omniWerkTailwindPreset],
|
|
19
|
+
* // ...
|
|
20
|
+
* }
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
export declare const omniWerkTailwindPreset: {
|
|
24
|
+
theme: {
|
|
25
|
+
extend: {
|
|
26
|
+
colors: {
|
|
27
|
+
omniwerk: {
|
|
28
|
+
primary: {
|
|
29
|
+
DEFAULT: "#1A237E";
|
|
30
|
+
light: "#534BAE";
|
|
31
|
+
dark: "#000051";
|
|
32
|
+
};
|
|
33
|
+
secondary: {
|
|
34
|
+
DEFAULT: "#00BCD4";
|
|
35
|
+
light: "#62EFFF";
|
|
36
|
+
dark: "#008BA3";
|
|
37
|
+
};
|
|
38
|
+
tertiary: {
|
|
39
|
+
DEFAULT: "#FFC107";
|
|
40
|
+
light: "#FFF350";
|
|
41
|
+
dark: "#C79100";
|
|
42
|
+
};
|
|
43
|
+
success: "#4CAF50";
|
|
44
|
+
warning: "#FF9800";
|
|
45
|
+
error: "#F44336";
|
|
46
|
+
info: "#2196F3";
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
fontFamily: {
|
|
50
|
+
'omniwerk-logo': "'Anton SC', sans-serif"[];
|
|
51
|
+
'omniwerk-body': "'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"[];
|
|
52
|
+
'omniwerk-mono': "'Roboto Mono', 'Fira Code', monospace"[];
|
|
53
|
+
};
|
|
54
|
+
backgroundImage: {
|
|
55
|
+
'omniwerk-primary': string;
|
|
56
|
+
'omniwerk-secondary': string;
|
|
57
|
+
'omniwerk-brand': string;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
/**
|
|
63
|
+
* Material UI theme options for OmniWerk.
|
|
64
|
+
*/
|
|
65
|
+
export declare const omniWerkMuiTheme: {
|
|
66
|
+
palette: {
|
|
67
|
+
primary: {
|
|
68
|
+
main: "#1A237E";
|
|
69
|
+
light: "#534BAE";
|
|
70
|
+
dark: "#000051";
|
|
71
|
+
contrastText: string;
|
|
72
|
+
};
|
|
73
|
+
secondary: {
|
|
74
|
+
main: "#00BCD4";
|
|
75
|
+
light: "#62EFFF";
|
|
76
|
+
dark: "#008BA3";
|
|
77
|
+
contrastText: string;
|
|
78
|
+
};
|
|
79
|
+
success: {
|
|
80
|
+
main: "#4CAF50";
|
|
81
|
+
};
|
|
82
|
+
warning: {
|
|
83
|
+
main: "#FF9800";
|
|
84
|
+
};
|
|
85
|
+
error: {
|
|
86
|
+
main: "#F44336";
|
|
87
|
+
};
|
|
88
|
+
info: {
|
|
89
|
+
main: "#2196F3";
|
|
90
|
+
};
|
|
91
|
+
background: {
|
|
92
|
+
default: "#FAFAFA";
|
|
93
|
+
paper: "#FFFFFF";
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
typography: {
|
|
97
|
+
fontFamily: "'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif";
|
|
98
|
+
h1: {
|
|
99
|
+
readonly fontSize: "72px";
|
|
100
|
+
readonly letterSpacing: "2px";
|
|
101
|
+
readonly fontFamily: "'Anton SC', sans-serif";
|
|
102
|
+
readonly fontWeight: 400;
|
|
103
|
+
};
|
|
104
|
+
h2: {
|
|
105
|
+
readonly fontSize: "48px";
|
|
106
|
+
readonly letterSpacing: "1.5px";
|
|
107
|
+
readonly fontFamily: "'Anton SC', sans-serif";
|
|
108
|
+
readonly fontWeight: 400;
|
|
109
|
+
};
|
|
110
|
+
h3: {
|
|
111
|
+
readonly fontSize: "32px";
|
|
112
|
+
readonly letterSpacing: "1px";
|
|
113
|
+
readonly fontFamily: "'Anton SC', sans-serif";
|
|
114
|
+
readonly fontWeight: 400;
|
|
115
|
+
};
|
|
116
|
+
h4: {
|
|
117
|
+
readonly fontSize: "20px";
|
|
118
|
+
readonly letterSpacing: "0.5px";
|
|
119
|
+
readonly fontFamily: "'Anton SC', sans-serif";
|
|
120
|
+
readonly fontWeight: 400;
|
|
121
|
+
};
|
|
122
|
+
};
|
|
123
|
+
};
|
|
124
|
+
/**
|
|
125
|
+
* Material UI dark theme options for OmniWerk.
|
|
126
|
+
*/
|
|
127
|
+
export declare const omniWerkMuiDarkTheme: {
|
|
128
|
+
palette: {
|
|
129
|
+
mode: "dark";
|
|
130
|
+
background: {
|
|
131
|
+
default: "#121212";
|
|
132
|
+
paper: "#1E1E1E";
|
|
133
|
+
};
|
|
134
|
+
primary: {
|
|
135
|
+
main: "#1A237E";
|
|
136
|
+
light: "#534BAE";
|
|
137
|
+
dark: "#000051";
|
|
138
|
+
contrastText: string;
|
|
139
|
+
};
|
|
140
|
+
secondary: {
|
|
141
|
+
main: "#00BCD4";
|
|
142
|
+
light: "#62EFFF";
|
|
143
|
+
dark: "#008BA3";
|
|
144
|
+
contrastText: string;
|
|
145
|
+
};
|
|
146
|
+
success: {
|
|
147
|
+
main: "#4CAF50";
|
|
148
|
+
};
|
|
149
|
+
warning: {
|
|
150
|
+
main: "#FF9800";
|
|
151
|
+
};
|
|
152
|
+
error: {
|
|
153
|
+
main: "#F44336";
|
|
154
|
+
};
|
|
155
|
+
info: {
|
|
156
|
+
main: "#2196F3";
|
|
157
|
+
};
|
|
158
|
+
};
|
|
159
|
+
typography: {
|
|
160
|
+
fontFamily: "'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif";
|
|
161
|
+
h1: {
|
|
162
|
+
readonly fontSize: "72px";
|
|
163
|
+
readonly letterSpacing: "2px";
|
|
164
|
+
readonly fontFamily: "'Anton SC', sans-serif";
|
|
165
|
+
readonly fontWeight: 400;
|
|
166
|
+
};
|
|
167
|
+
h2: {
|
|
168
|
+
readonly fontSize: "48px";
|
|
169
|
+
readonly letterSpacing: "1.5px";
|
|
170
|
+
readonly fontFamily: "'Anton SC', sans-serif";
|
|
171
|
+
readonly fontWeight: 400;
|
|
172
|
+
};
|
|
173
|
+
h3: {
|
|
174
|
+
readonly fontSize: "32px";
|
|
175
|
+
readonly letterSpacing: "1px";
|
|
176
|
+
readonly fontFamily: "'Anton SC', sans-serif";
|
|
177
|
+
readonly fontWeight: 400;
|
|
178
|
+
};
|
|
179
|
+
h4: {
|
|
180
|
+
readonly fontSize: "20px";
|
|
181
|
+
readonly letterSpacing: "0.5px";
|
|
182
|
+
readonly fontFamily: "'Anton SC', sans-serif";
|
|
183
|
+
readonly fontWeight: 400;
|
|
184
|
+
};
|
|
185
|
+
};
|
|
186
|
+
};
|
package/package.json
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@nice2dev/omniwerk-branding",
|
|
3
|
+
"version": "1.0.28",
|
|
4
|
+
"description": "OmniWerk brand assets, logos, and theme for React applications",
|
|
5
|
+
"author": "NiceToDev <contact@nicetodev.com>",
|
|
6
|
+
"license": "SEE LICENSE IN LICENSE",
|
|
7
|
+
"homepage": "https://github.com/NiceToDev/NiceToDev.UI#readme",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "git+https://github.com/NiceToDev/NiceToDev.UI.git",
|
|
11
|
+
"directory": "packages/omniwerk-branding"
|
|
12
|
+
},
|
|
13
|
+
"main": "dist/index.cjs",
|
|
14
|
+
"module": "dist/index.mjs",
|
|
15
|
+
"types": "dist/index.d.ts",
|
|
16
|
+
"exports": {
|
|
17
|
+
".": {
|
|
18
|
+
"types": "./dist/index.d.ts",
|
|
19
|
+
"import": "./dist/index.mjs",
|
|
20
|
+
"require": "./dist/index.cjs"
|
|
21
|
+
},
|
|
22
|
+
"./fonts": {
|
|
23
|
+
"types": "./dist/fonts.d.ts",
|
|
24
|
+
"import": "./dist/fonts.mjs",
|
|
25
|
+
"require": "./dist/fonts.cjs"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"files": [
|
|
29
|
+
"dist",
|
|
30
|
+
"assets",
|
|
31
|
+
"README.md",
|
|
32
|
+
"LICENSE"
|
|
33
|
+
],
|
|
34
|
+
"sideEffects": [
|
|
35
|
+
"*.css"
|
|
36
|
+
],
|
|
37
|
+
"keywords": [
|
|
38
|
+
"omniwerk",
|
|
39
|
+
"branding",
|
|
40
|
+
"logo",
|
|
41
|
+
"react",
|
|
42
|
+
"typescript",
|
|
43
|
+
"erp",
|
|
44
|
+
"enterprise"
|
|
45
|
+
],
|
|
46
|
+
"peerDependencies": {
|
|
47
|
+
"react": ">=18.0.0",
|
|
48
|
+
"react-dom": ">=18.0.0"
|
|
49
|
+
},
|
|
50
|
+
"devDependencies": {
|
|
51
|
+
"@types/react": "^18.2.0",
|
|
52
|
+
"@types/react-dom": "^18.2.0",
|
|
53
|
+
"@vitejs/plugin-react": "^4.2.0",
|
|
54
|
+
"react": "^18.2.0",
|
|
55
|
+
"react-dom": "^18.2.0",
|
|
56
|
+
"typescript": "^5.0.0",
|
|
57
|
+
"vite": "^5.0.0",
|
|
58
|
+
"vite-plugin-dts": "^3.7.0"
|
|
59
|
+
},
|
|
60
|
+
"scripts": {
|
|
61
|
+
"test": "vitest run --passWithNoTests",
|
|
62
|
+
"build": "tsc -p tsconfig.build.json && vite build",
|
|
63
|
+
"typecheck": "tsc --noEmit"
|
|
64
|
+
}
|
|
65
|
+
}
|