@govnepal/css 0.1.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/LICENSE +21 -0
- package/README.md +75 -0
- package/dist/civic-calm.css +1127 -0
- package/dist/fonts/noto-sans-devanagari-400.woff2 +0 -0
- package/dist/fonts/noto-sans-devanagari-500.woff2 +0 -0
- package/dist/fonts/noto-sans-devanagari-600.woff2 +0 -0
- package/dist/fonts/noto-sans-devanagari-devanagari-400.woff2 +0 -0
- package/dist/fonts/noto-sans-devanagari-devanagari-500.woff2 +0 -0
- package/dist/fonts/noto-sans-devanagari-devanagari-600.woff2 +0 -0
- package/dist/fonts/noto-sans-devanagari-latin-400.woff2 +0 -0
- package/dist/fonts/noto-sans-devanagari-latin-500.woff2 +0 -0
- package/dist/fonts/noto-sans-devanagari-latin-600.woff2 +0 -0
- package/dist/fonts/noto-sans-latin-400.woff2 +0 -0
- package/dist/fonts/noto-sans-latin-500.woff2 +0 -0
- package/dist/fonts/noto-sans-latin-600.woff2 +0 -0
- package/dist/fonts/noto-sans-mono-latin-400.woff2 +0 -0
- package/dist/fonts/noto-serif-devanagari-devanagari-400.woff2 +0 -0
- package/dist/fonts/noto-serif-devanagari-devanagari-600.woff2 +0 -0
- package/dist/fonts/noto-serif-devanagari-latin-400.woff2 +0 -0
- package/dist/fonts/noto-serif-devanagari-latin-600.woff2 +0 -0
- package/dist/fonts/noto-serif-latin-400.woff2 +0 -0
- package/dist/fonts/noto-serif-latin-600.woff2 +0 -0
- package/dist/fonts.css +181 -0
- package/package.json +47 -0
|
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
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/fonts.css
ADDED
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
/* Generated: self-hosted Noto fonts for the Nepal Digital Design System.
|
|
2
|
+
* Source: Google Fonts (OFL 1.1). Regenerate with scripts in this repo when versions bump.
|
|
3
|
+
* Usage: font-family tokens in design-guidelines/tokens/typography.json */
|
|
4
|
+
|
|
5
|
+
@font-face {
|
|
6
|
+
font-family: 'Noto Sans';
|
|
7
|
+
font-style: normal;
|
|
8
|
+
font-weight: 400;
|
|
9
|
+
font-display: swap;
|
|
10
|
+
src: url('./fonts/noto-sans-devanagari-400.woff2') format('woff2');
|
|
11
|
+
unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
@font-face {
|
|
15
|
+
font-family: 'Noto Sans';
|
|
16
|
+
font-style: normal;
|
|
17
|
+
font-weight: 400;
|
|
18
|
+
font-display: swap;
|
|
19
|
+
src: url('./fonts/noto-sans-latin-400.woff2') format('woff2');
|
|
20
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
@font-face {
|
|
24
|
+
font-family: 'Noto Sans';
|
|
25
|
+
font-style: normal;
|
|
26
|
+
font-weight: 500;
|
|
27
|
+
font-display: swap;
|
|
28
|
+
src: url('./fonts/noto-sans-devanagari-500.woff2') format('woff2');
|
|
29
|
+
unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
@font-face {
|
|
33
|
+
font-family: 'Noto Sans';
|
|
34
|
+
font-style: normal;
|
|
35
|
+
font-weight: 500;
|
|
36
|
+
font-display: swap;
|
|
37
|
+
src: url('./fonts/noto-sans-latin-500.woff2') format('woff2');
|
|
38
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
@font-face {
|
|
42
|
+
font-family: 'Noto Sans';
|
|
43
|
+
font-style: normal;
|
|
44
|
+
font-weight: 600;
|
|
45
|
+
font-display: swap;
|
|
46
|
+
src: url('./fonts/noto-sans-devanagari-600.woff2') format('woff2');
|
|
47
|
+
unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
@font-face {
|
|
51
|
+
font-family: 'Noto Sans';
|
|
52
|
+
font-style: normal;
|
|
53
|
+
font-weight: 600;
|
|
54
|
+
font-display: swap;
|
|
55
|
+
src: url('./fonts/noto-sans-latin-600.woff2') format('woff2');
|
|
56
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
@font-face {
|
|
60
|
+
font-family: 'Noto Sans Devanagari';
|
|
61
|
+
font-style: normal;
|
|
62
|
+
font-weight: 400;
|
|
63
|
+
font-display: swap;
|
|
64
|
+
src: url('./fonts/noto-sans-devanagari-devanagari-400.woff2') format('woff2');
|
|
65
|
+
unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
@font-face {
|
|
69
|
+
font-family: 'Noto Sans Devanagari';
|
|
70
|
+
font-style: normal;
|
|
71
|
+
font-weight: 400;
|
|
72
|
+
font-display: swap;
|
|
73
|
+
src: url('./fonts/noto-sans-devanagari-latin-400.woff2') format('woff2');
|
|
74
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
@font-face {
|
|
78
|
+
font-family: 'Noto Sans Devanagari';
|
|
79
|
+
font-style: normal;
|
|
80
|
+
font-weight: 500;
|
|
81
|
+
font-display: swap;
|
|
82
|
+
src: url('./fonts/noto-sans-devanagari-devanagari-500.woff2') format('woff2');
|
|
83
|
+
unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
@font-face {
|
|
87
|
+
font-family: 'Noto Sans Devanagari';
|
|
88
|
+
font-style: normal;
|
|
89
|
+
font-weight: 500;
|
|
90
|
+
font-display: swap;
|
|
91
|
+
src: url('./fonts/noto-sans-devanagari-latin-500.woff2') format('woff2');
|
|
92
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
@font-face {
|
|
96
|
+
font-family: 'Noto Sans Devanagari';
|
|
97
|
+
font-style: normal;
|
|
98
|
+
font-weight: 600;
|
|
99
|
+
font-display: swap;
|
|
100
|
+
src: url('./fonts/noto-sans-devanagari-devanagari-600.woff2') format('woff2');
|
|
101
|
+
unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
@font-face {
|
|
105
|
+
font-family: 'Noto Sans Devanagari';
|
|
106
|
+
font-style: normal;
|
|
107
|
+
font-weight: 600;
|
|
108
|
+
font-display: swap;
|
|
109
|
+
src: url('./fonts/noto-sans-devanagari-latin-600.woff2') format('woff2');
|
|
110
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
@font-face {
|
|
114
|
+
font-family: 'Noto Sans Mono';
|
|
115
|
+
font-style: normal;
|
|
116
|
+
font-weight: 400;
|
|
117
|
+
font-display: swap;
|
|
118
|
+
src: url('./fonts/noto-sans-mono-latin-400.woff2') format('woff2');
|
|
119
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
@font-face {
|
|
123
|
+
font-family: 'Noto Serif';
|
|
124
|
+
font-style: normal;
|
|
125
|
+
font-weight: 400;
|
|
126
|
+
font-display: swap;
|
|
127
|
+
src: url('./fonts/noto-serif-latin-400.woff2') format('woff2');
|
|
128
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
@font-face {
|
|
132
|
+
font-family: 'Noto Serif';
|
|
133
|
+
font-style: normal;
|
|
134
|
+
font-weight: 600;
|
|
135
|
+
font-display: swap;
|
|
136
|
+
src: url('./fonts/noto-serif-latin-600.woff2') format('woff2');
|
|
137
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
@font-face {
|
|
141
|
+
font-family: 'Noto Serif Devanagari';
|
|
142
|
+
font-style: normal;
|
|
143
|
+
font-weight: 400;
|
|
144
|
+
font-display: swap;
|
|
145
|
+
src: url('./fonts/noto-serif-devanagari-devanagari-400.woff2') format('woff2');
|
|
146
|
+
unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
@font-face {
|
|
150
|
+
font-family: 'Noto Serif Devanagari';
|
|
151
|
+
font-style: normal;
|
|
152
|
+
font-weight: 400;
|
|
153
|
+
font-display: swap;
|
|
154
|
+
src: url('./fonts/noto-serif-devanagari-latin-400.woff2') format('woff2');
|
|
155
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
@font-face {
|
|
159
|
+
font-family: 'Noto Serif Devanagari';
|
|
160
|
+
font-style: normal;
|
|
161
|
+
font-weight: 600;
|
|
162
|
+
font-display: swap;
|
|
163
|
+
src: url('./fonts/noto-serif-devanagari-devanagari-600.woff2') format('woff2');
|
|
164
|
+
unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
@font-face {
|
|
168
|
+
font-family: 'Noto Serif Devanagari';
|
|
169
|
+
font-style: normal;
|
|
170
|
+
font-weight: 600;
|
|
171
|
+
font-display: swap;
|
|
172
|
+
src: url('./fonts/noto-serif-devanagari-latin-600.woff2') format('woff2');
|
|
173
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
/* Fallback stacks (mirror font.family.* tokens) */
|
|
177
|
+
:root {
|
|
178
|
+
--gov-font-ui: 'Noto Sans', 'Noto Sans Devanagari', system-ui, sans-serif;
|
|
179
|
+
--gov-font-document: 'Noto Serif', 'Noto Serif Devanagari', Georgia, serif;
|
|
180
|
+
--gov-font-mono: 'Noto Sans Mono', ui-monospace, monospace;
|
|
181
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@govnepal/css",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Civic Calm — the framework-agnostic stylesheet. Semantic HTML plus .gov-* classes, no JavaScript.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"keywords": [
|
|
8
|
+
"nepal",
|
|
9
|
+
"government",
|
|
10
|
+
"design-system",
|
|
11
|
+
"civic-calm",
|
|
12
|
+
"css",
|
|
13
|
+
"devanagari",
|
|
14
|
+
"a11y"
|
|
15
|
+
],
|
|
16
|
+
"homepage": "https://github.com/govnepal/design-web/tree/main/packages/css#readme",
|
|
17
|
+
"repository": {
|
|
18
|
+
"type": "git",
|
|
19
|
+
"url": "git+https://github.com/govnepal/design-web.git",
|
|
20
|
+
"directory": "packages/css"
|
|
21
|
+
},
|
|
22
|
+
"bugs": "https://github.com/govnepal/design-web/issues",
|
|
23
|
+
"sideEffects": [
|
|
24
|
+
"*.css"
|
|
25
|
+
],
|
|
26
|
+
"files": [
|
|
27
|
+
"dist"
|
|
28
|
+
],
|
|
29
|
+
"exports": {
|
|
30
|
+
"./civic-calm.css": "./dist/civic-calm.css",
|
|
31
|
+
"./fonts.css": "./dist/fonts.css",
|
|
32
|
+
"./fonts/*": "./dist/fonts/*"
|
|
33
|
+
},
|
|
34
|
+
"publishConfig": {
|
|
35
|
+
"access": "public"
|
|
36
|
+
},
|
|
37
|
+
"dependencies": {
|
|
38
|
+
"@govnepal/tokens": "^0.1.0"
|
|
39
|
+
},
|
|
40
|
+
"devDependencies": {
|
|
41
|
+
"yaml": "^2.9.0"
|
|
42
|
+
},
|
|
43
|
+
"scripts": {
|
|
44
|
+
"build": "node build/index.mjs",
|
|
45
|
+
"test": "node --test"
|
|
46
|
+
}
|
|
47
|
+
}
|