do-ui-design-system 0.1.6 → 1.0.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.
@@ -1,5 +1,204 @@
1
1
  @import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
2
+ @import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300..700&display=swap');
2
3
 
3
4
  * {
4
5
  font-family: 'Inter', sans-serif;
5
6
  }
7
+
8
+ .do-text-grotesk {
9
+ font-family: "Space Grotesk", sans-serif;
10
+ font-optical-sizing: auto;
11
+ }
12
+
13
+ h1, h2, h3, h4, h5, h6 {
14
+ font-weight: 500;
15
+ }
16
+
17
+ h1 {
18
+ font-size: 1.125rem;
19
+ }
20
+
21
+ h2 {
22
+ font-size: 1rem;
23
+ }
24
+
25
+ h3 {
26
+ font-size: 0.875rem;
27
+ }
28
+
29
+ h4 {
30
+ font-size: 0.75rem;
31
+ }
32
+
33
+ h5 {
34
+ font-size: 0.75rem;
35
+ }
36
+
37
+ h6 {
38
+ font-size: 0.75rem;
39
+ }
40
+
41
+ p {
42
+ font-size: 0.75rem;
43
+ font-weight: 400;
44
+ }
45
+
46
+ h1.do-text-grotesk {
47
+ font-size: 2.25rem;
48
+ }
49
+ h2.do-text-grotesk {
50
+ font-size: 1.25rem;
51
+ }
52
+ h3.do-text-grotesk {
53
+ font-size: 1.125rem;
54
+ }
55
+ h4.do-text-grotesk {
56
+ font-size: 1rem;
57
+ }
58
+ h5.do-text-grotesk {
59
+ font-size: 1rem;
60
+ }
61
+ h6.do-text-grotesk {
62
+ font-size: 1rem;
63
+ }
64
+
65
+ @media (min-width: 40rem) {
66
+ h1 {
67
+ font-size: 1.25rem;
68
+ }
69
+
70
+ h2 {
71
+ font-size: 1.125rem;
72
+ }
73
+
74
+ h3 {
75
+ font-size: 1rem;
76
+ }
77
+
78
+ h4 {
79
+ font-size: 0.875rem;
80
+ }
81
+
82
+ h5 {
83
+ font-size: 0.75rem;
84
+ }
85
+
86
+ h6 {
87
+ font-size: 0.75rem;
88
+ }
89
+ p {
90
+ font-size: 0.875rem;
91
+ }
92
+
93
+ h1.do-text-grotesk {
94
+ font-size: 3rem;
95
+ }
96
+ h2.do-text-grotesk {
97
+ font-size: 1.5rem;
98
+ }
99
+ h3.do-text-grotesk {
100
+ font-size: 1.5rem;
101
+ }
102
+ h4.do-text-grotesk {
103
+ font-size: 1.25rem;
104
+ }
105
+ h5.do-text-grotesk {
106
+ font-size: 1rem;
107
+ }
108
+ h6.do-text-grotesk {
109
+ font-size: 1rem;
110
+ }
111
+ }
112
+
113
+ @media (min-width: 80rem) {
114
+ h1 {
115
+ font-size: 1.5rem;
116
+ }
117
+
118
+ h2 {
119
+ font-size: 1.25rem;
120
+ }
121
+
122
+ h3 {
123
+ font-size: 1.125rem;
124
+ }
125
+
126
+ h4 {
127
+ font-size: 0.875rem;
128
+ }
129
+
130
+ h5 {
131
+ font-size: 0.75rem;
132
+ }
133
+
134
+ h6 {
135
+ font-size: 0.75rem;
136
+ }
137
+ p {
138
+ font-size: 1rem;
139
+ }
140
+
141
+ h1.do-text-grotesk {
142
+ font-size: 3.75rem;
143
+ }
144
+ h2.do-text-grotesk {
145
+ font-size: 1.875rem;
146
+ }
147
+ h3.do-text-grotesk {
148
+ font-size: 1.5rem;
149
+ }
150
+ h4.do-text-grotesk {
151
+ font-size: 1.25rem;
152
+ }
153
+ h5.do-text-grotesk {
154
+ font-size: 1rem;
155
+ }
156
+ h6.do-text-grotesk {
157
+ font-size: 1rem;
158
+ }
159
+ }
160
+
161
+ @media (min-width: 96rem) {
162
+ h1 {
163
+ font-size: 1.875rem;
164
+ }
165
+
166
+ h2 {
167
+ font-size: 1.5rem;
168
+ }
169
+
170
+ h3 {
171
+ font-size: 1.25rem;
172
+ }
173
+
174
+ h4 {
175
+ font-size: 1rem;
176
+ }
177
+
178
+ h5 {
179
+ font-size: 0.875rem;
180
+ }
181
+
182
+ h6 {
183
+ font-size: 0.875rem;
184
+ }
185
+
186
+ h1.do-text-grotesk {
187
+ font-size: 4.5rem;
188
+ }
189
+ h2.do-text-grotesk {
190
+ font-size: 2.25rem;
191
+ }
192
+ h3.do-text-grotesk {
193
+ font-size: 1.875rem;
194
+ }
195
+ h4.do-text-grotesk {
196
+ font-size: 1.5rem;
197
+ }
198
+ h5.do-text-grotesk {
199
+ font-size: 1rem;
200
+ }
201
+ h6.do-text-grotesk {
202
+ font-size: 1rem;
203
+ }
204
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "do-ui-design-system",
3
- "version": "0.1.6",
3
+ "version": "1.0.0",
4
4
  "description": "Design system en Svelte + CSS + Storybook",
5
5
  "author": "Data Observatory",
6
6
  "license": "MIT",
@@ -33,7 +33,7 @@
33
33
  "!dist/**/*.mdx*",
34
34
  "!dist/**/*.iProps*"
35
35
  ],
36
- "style": "src/lib/do-theme/index.css" ,
36
+ "style": "src/lib/do-theme/index.css",
37
37
  "exports": {
38
38
  ".": {
39
39
  "types": "./dist/index.d.ts",