Skip to content

Instantly share code, notes, and snippets.

@Karnak19
Last active April 3, 2021 17:25
Show Gist options
  • Save Karnak19/f57e116e1a93860bf587670ecea32d9c to your computer and use it in GitHub Desktop.
Save Karnak19/f57e116e1a93860bf587670ecea32d9c to your computer and use it in GitHub Desktop.
react-starter-wcs tailwind
@tailwind base;
@tailwind components;
@tailwind utilities;
body {
background-color: #1d0900;
color: #ed6c6d;
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
code {
color: #1d0900;
font-weight: bold;
background-color: #ed6c6d;
padding: 0.3rem;
border-radius: 3px;
}
.rsw-container {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 100vh;
}
.rsw-item {
text-align: center;
padding: 1rem;
}
.rsw-item > img {
max-width: 80vw;
margin: 0 auto;
}
.rsw-container::after {
content: '';
height: 15vh;
}
module.exports = {
plugins: {
tailwindcss: {},
autoprefixer: {},
}
}
module.exports = {
purge: [
'./src/**/*.html',
'./src/**/*.js',
'./src/**/*.jsx',
],
darkMode: false, // or 'media' or 'class'
theme: {
extend: {},
},
variants: {},
plugins: [],
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment