create-eth
Version:
Create a Scaffold-ETH-2 app
42 lines (33 loc) • 520 B
JavaScript
import { withDefaults } from '../../../../utils.js'
const contents = ({ globalImports }) =>
`${globalImports}
"tailwindcss/base";
"tailwindcss/components";
"tailwindcss/utilities";
:root,
[data-theme] {
background: oklch(var(--b2));
}
body {
min-height: 100vh;
}
h1,
h2,
h3,
h4 {
margin-bottom: 0.5rem;
line-height: 1;
}
p {
margin: 1rem 0;
}
.btn {
shadow-md;
}
.btn.btn-ghost {
shadow-none;
}
`
export default withDefaults(contents, {
globalImports: ''
})