Skip to content

Commit 30b69ee

Browse files
committed
ref: inline generated css from tailwind (from prod bundle) and remove it
1 parent 567ebbd commit 30b69ee

File tree

3 files changed

+305
-14
lines changed

3 files changed

+305
-14
lines changed

webzebra/postcss.config.mjs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
export default {
22
plugins: {
3-
tailwindcss: {},
43
autoprefixer: {},
54
},
65
}

webzebra/src/index.css

Lines changed: 305 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,308 @@
1-
@tailwind base;
2-
@tailwind components;
3-
@tailwind utilities;
1+
/*
2+
this the beginning of this file comes from tailwind
3+
Copyright (c) Tailwind Labs, Inc.
4+
*/
5+
*, :before, :after {
6+
box-sizing: border-box;
7+
border-width: 0;
8+
border-style: solid;
9+
border-color: #e5e7eb
10+
}
11+
12+
html {
13+
line-height: 1.5;
14+
-webkit-text-size-adjust: 100%;
15+
-moz-tab-size: 4;
16+
-o-tab-size: 4;
17+
tab-size: 4;
18+
font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", Segoe UI Symbol, "Noto Color Emoji"
19+
}
20+
21+
body {
22+
margin: 0;
23+
line-height: inherit
24+
}
25+
26+
hr {
27+
height: 0;
28+
color: inherit;
29+
border-top-width: 1px
30+
}
31+
32+
abbr:where([title]) {
33+
-webkit-text-decoration: underline dotted;
34+
text-decoration: underline dotted
35+
}
36+
37+
h1, h2, h3, h4, h5, h6 {
38+
font-size: inherit;
39+
font-weight: inherit
40+
}
41+
42+
a {
43+
color: inherit;
44+
text-decoration: inherit
45+
}
46+
47+
b, strong {
48+
font-weight: bolder
49+
}
50+
51+
code, kbd, samp, pre {
52+
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace;
53+
font-size: 1em
54+
}
55+
56+
small {
57+
font-size: 80%
58+
}
59+
60+
sub, sup {
61+
font-size: 75%;
62+
line-height: 0;
63+
position: relative;
64+
vertical-align: baseline
65+
}
66+
67+
sub {
68+
bottom: -.25em
69+
}
70+
71+
sup {
72+
top: -.5em
73+
}
74+
75+
table {
76+
text-indent: 0;
77+
border-color: inherit;
78+
border-collapse: collapse
79+
}
80+
81+
button, input, optgroup, select, textarea {
82+
font-family: inherit;
83+
font-size: 100%;
84+
line-height: inherit;
85+
color: inherit;
86+
margin: 0;
87+
padding: 0
88+
}
89+
90+
button, select {
91+
text-transform: none
92+
}
93+
94+
button, [type=button], [type=reset], [type=submit] {
95+
-webkit-appearance: button;
96+
background-color: transparent;
97+
background-image: none
98+
}
99+
100+
:-moz-focusring {
101+
outline: auto
102+
}
103+
104+
:-moz-ui-invalid {
105+
box-shadow: none
106+
}
107+
108+
progress {
109+
vertical-align: baseline
110+
}
111+
112+
::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
113+
height: auto
114+
}
115+
116+
[type=search] {
117+
-webkit-appearance: textfield;
118+
outline-offset: -2px
119+
}
120+
121+
::-webkit-search-decoration {
122+
-webkit-appearance: none
123+
}
124+
125+
::-webkit-file-upload-button {
126+
-webkit-appearance: button;
127+
font: inherit
128+
}
129+
130+
summary {
131+
display: list-item
132+
}
133+
134+
blockquote, dl, dd, h1, h2, h3, h4, h5, h6, hr, figure, p, pre {
135+
margin: 0
136+
}
137+
138+
fieldset {
139+
margin: 0;
140+
padding: 0
141+
}
142+
143+
legend {
144+
padding: 0
145+
}
146+
147+
ol, ul, menu {
148+
list-style: none;
149+
margin: 0;
150+
padding: 0
151+
}
152+
153+
textarea {
154+
resize: vertical
155+
}
156+
157+
input::-moz-placeholder, textarea::-moz-placeholder {
158+
opacity: 1;
159+
color: #9ca3af
160+
}
161+
162+
input:-ms-input-placeholder, textarea:-ms-input-placeholder {
163+
opacity: 1;
164+
color: #9ca3af
165+
}
166+
167+
input::placeholder, textarea::placeholder {
168+
opacity: 1;
169+
color: #9ca3af
170+
}
171+
172+
button, [role=button] {
173+
cursor: pointer
174+
}
175+
176+
:disabled {
177+
cursor: default
178+
}
179+
180+
img, svg, video, canvas, audio, iframe, embed, object {
181+
display: block;
182+
vertical-align: middle
183+
}
184+
185+
img, video {
186+
max-width: 100%;
187+
height: auto
188+
}
189+
190+
[hidden] {
191+
display: none
192+
}
193+
194+
.m-0\.5 {
195+
margin: .125rem
196+
}
197+
198+
.m-0 {
199+
margin: 0
200+
}
201+
202+
.mr-2 {
203+
margin-right: .5rem
204+
}
205+
206+
.mt-3 {
207+
margin-top: .75rem
208+
}
209+
210+
.flex {
211+
display: flex
212+
}
213+
214+
.w-full {
215+
width: 100%
216+
}
217+
218+
.max-w-sm {
219+
max-width: 24rem
220+
}
221+
222+
.flex-wrap {
223+
flex-wrap: wrap
224+
}
225+
226+
.items-center {
227+
align-items: center
228+
}
229+
230+
.justify-between {
231+
justify-content: space-between
232+
}
233+
234+
.rounded {
235+
border-radius: .25rem
236+
}
237+
238+
.border-2 {
239+
border-width: 2px
240+
}
241+
242+
.border-solid {
243+
border-style: solid
244+
}
245+
246+
.border-black {
247+
--tw-border-opacity: 1;
248+
border-color: rgb(0 0 0 / var(--tw-border-opacity))
249+
}
250+
251+
.p-1\.5 {
252+
padding: .375rem
253+
}
254+
255+
.p-1 {
256+
padding: .25rem
257+
}
258+
259+
.p-2 {
260+
padding: .5rem
261+
}
262+
263+
.px-2 {
264+
padding-left: .5rem;
265+
padding-right: .5rem
266+
}
267+
268+
.text-left {
269+
text-align: left
270+
}
271+
272+
.text-2xl {
273+
font-size: 1.5rem;
274+
line-height: 2rem
275+
}
276+
277+
.text-gray-200 {
278+
--tw-text-opacity: 1;
279+
color: rgb(229 231 235 / var(--tw-text-opacity))
280+
}
281+
282+
.text-black {
283+
--tw-text-opacity: 1;
284+
color: rgb(0 0 0 / var(--tw-text-opacity))
285+
}
286+
287+
.text-white {
288+
--tw-text-opacity: 1;
289+
color: rgb(255 255 255 / var(--tw-text-opacity))
290+
}
291+
292+
.focus\:outline-none:focus {
293+
outline: 2px solid transparent;
294+
outline-offset: 2px
295+
}
296+
297+
.disabled\:border-gray-700:disabled {
298+
--tw-border-opacity: 1;
299+
border-color: rgb(55 65 81 / var(--tw-border-opacity))
300+
}
301+
302+
.disabled\:text-gray-700:disabled {
303+
--tw-text-opacity: 1;
304+
color: rgb(55 65 81 / var(--tw-text-opacity))
305+
}
4306

5307
a {
6308
color: #42b983;

webzebra/tailwind.config.js

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)