@veevarts/design-system 1.0.0-dev.4 → 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/package.json +4 -8
- package/dist/styles.css +0 -98
- package/public/fonts/neue-montreal/Icon/r +0 -0
- package/public/fonts/neue-montreal/PPNeueMontreal-Bold.woff +0 -0
- package/public/fonts/neue-montreal/PPNeueMontreal-Bold.woff2 +0 -0
- package/public/fonts/neue-montreal/PPNeueMontreal-BoldItalic.woff +0 -0
- package/public/fonts/neue-montreal/PPNeueMontreal-BoldItalic.woff2 +0 -0
- package/public/fonts/neue-montreal/PPNeueMontreal-Italic.woff +0 -0
- package/public/fonts/neue-montreal/PPNeueMontreal-Italic.woff2 +0 -0
- package/public/fonts/neue-montreal/PPNeueMontreal-Regular.woff +0 -0
- package/public/fonts/neue-montreal/PPNeueMontreal-Regular.woff2 +0 -0
- package/public/fonts/neue-montreal/PPNeueMontreal-SemiBold.woff +0 -0
- package/public/fonts/neue-montreal/PPNeueMontreal-SemiBold.woff2 +0 -0
- package/public/fonts/scholar/Scholar-Italic.woff +0 -0
- package/public/fonts/scholar/Scholar-Italic.woff2 +0 -0
- package/public/fonts/scholar/Scholar-Regular.woff +0 -0
- package/public/fonts/scholar/Scholar-Regular.woff2 +0 -0
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@veevarts/design-system",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"module": "dist/index.js",
|
|
@@ -16,19 +16,15 @@
|
|
|
16
16
|
"types": "./dist/tailwind/index.d.ts",
|
|
17
17
|
"require": "./dist/tailwind/index.js",
|
|
18
18
|
"import": "./dist/tailwind/index.js"
|
|
19
|
-
}
|
|
20
|
-
"./styles.css": "./dist/styles.css",
|
|
21
|
-
"./fonts/*": "./public/fonts/*"
|
|
19
|
+
}
|
|
22
20
|
},
|
|
23
21
|
"files": [
|
|
24
|
-
"dist"
|
|
25
|
-
"public/fonts"
|
|
22
|
+
"dist"
|
|
26
23
|
],
|
|
27
24
|
"scripts": {
|
|
28
25
|
"dev": "vite",
|
|
29
|
-
"build": "vite build && npm run build:tailwind
|
|
26
|
+
"build": "vite build && npm run build:tailwind",
|
|
30
27
|
"build:tailwind": "esbuild src/tailwind/index.ts --bundle --platform=node --format=cjs --outfile=dist/tailwind/index.js && tsc -p src/tailwind/tsconfig.json",
|
|
31
|
-
"build:styles": "cp src/styles/fonts.css dist/styles.css",
|
|
32
28
|
"lint": "eslint .",
|
|
33
29
|
"preview": "vite preview",
|
|
34
30
|
"test": "vitest --run",
|
package/dist/styles.css
DELETED
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Veevart Design System - Font Definitions
|
|
3
|
-
*
|
|
4
|
-
* Usage:
|
|
5
|
-
* 1. Import this file: @import '@veevarts/design-system/styles.css';
|
|
6
|
-
* 2. Copy fonts to your public folder:
|
|
7
|
-
* cp -r node_modules/@veevarts/design-system/fonts public/fonts
|
|
8
|
-
*/
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* NeueMontreal Font Family
|
|
12
|
-
* Primary font for UI and body text
|
|
13
|
-
*/
|
|
14
|
-
@font-face {
|
|
15
|
-
font-family: 'NeueMontreal';
|
|
16
|
-
src:
|
|
17
|
-
url('/fonts/neue-montreal/PPNeueMontreal-Regular.woff2') format('woff2'),
|
|
18
|
-
url('/fonts/neue-montreal/PPNeueMontreal-Regular.woff') format('woff');
|
|
19
|
-
font-weight: 400;
|
|
20
|
-
font-style: normal;
|
|
21
|
-
font-display: swap;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
@font-face {
|
|
25
|
-
font-family: 'NeueMontreal';
|
|
26
|
-
src:
|
|
27
|
-
url('/fonts/neue-montreal/PPNeueMontreal-SemiBold.woff2') format('woff2'),
|
|
28
|
-
url('/fonts/neue-montreal/PPNeueMontreal-SemiBold.woff') format('woff');
|
|
29
|
-
font-weight: 600;
|
|
30
|
-
font-style: normal;
|
|
31
|
-
font-display: swap;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
@font-face {
|
|
35
|
-
font-family: 'NeueMontreal';
|
|
36
|
-
src:
|
|
37
|
-
url('/fonts/neue-montreal/PPNeueMontreal-Bold.woff2') format('woff2'),
|
|
38
|
-
url('/fonts/neue-montreal/PPNeueMontreal-Bold.woff') format('woff');
|
|
39
|
-
font-weight: 700;
|
|
40
|
-
font-style: normal;
|
|
41
|
-
font-display: swap;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
@font-face {
|
|
45
|
-
font-family: 'NeueMontreal';
|
|
46
|
-
src:
|
|
47
|
-
url('/fonts/neue-montreal/PPNeueMontreal-Italic.woff2') format('woff2'),
|
|
48
|
-
url('/fonts/neue-montreal/PPNeueMontreal-Italic.woff') format('woff');
|
|
49
|
-
font-weight: 400;
|
|
50
|
-
font-style: italic;
|
|
51
|
-
font-display: swap;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
@font-face {
|
|
55
|
-
font-family: 'NeueMontreal';
|
|
56
|
-
src:
|
|
57
|
-
url('/fonts/neue-montreal/PPNeueMontreal-BoldItalic.woff2') format('woff2'),
|
|
58
|
-
url('/fonts/neue-montreal/PPNeueMontreal-BoldItalic.woff') format('woff');
|
|
59
|
-
font-weight: 700;
|
|
60
|
-
font-style: italic;
|
|
61
|
-
font-display: swap;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
/**
|
|
65
|
-
* Scholar Font Family
|
|
66
|
-
* Secondary font for headings and emphasis
|
|
67
|
-
*/
|
|
68
|
-
@font-face {
|
|
69
|
-
font-family: 'Scholar';
|
|
70
|
-
src:
|
|
71
|
-
url('/fonts/scholar/Scholar-Regular.woff2') format('woff2'),
|
|
72
|
-
url('/fonts/scholar/Scholar-Regular.woff') format('woff');
|
|
73
|
-
font-weight: 400;
|
|
74
|
-
font-style: normal;
|
|
75
|
-
font-display: swap;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
@font-face {
|
|
79
|
-
font-family: 'Scholar';
|
|
80
|
-
src:
|
|
81
|
-
url('/fonts/scholar/Scholar-Italic.woff2') format('woff2'),
|
|
82
|
-
url('/fonts/scholar/Scholar-Italic.woff') format('woff');
|
|
83
|
-
font-weight: 400;
|
|
84
|
-
font-style: italic;
|
|
85
|
-
font-display: swap;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
/**
|
|
89
|
-
* CSS Custom Properties for fonts
|
|
90
|
-
*/
|
|
91
|
-
:root {
|
|
92
|
-
--font-primary: 'NeueMontreal', system-ui, sans-serif;
|
|
93
|
-
--font-secondary: 'Scholar', Georgia, serif;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
body {
|
|
97
|
-
font-family: var(--font-primary);
|
|
98
|
-
}
|
|
File without changes
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|