diff --git a/package.json b/package.json index aa1c7deb0adb6e6aea5a1380426189ac24eee7a7..ab9ea715e87424130b0a7d2bd712f96d52d1effa 100644 --- a/package.json +++ b/package.json @@ -12,6 +12,9 @@ }, "devDependencies": { "@vitejs/plugin-vue": "^3.0.1", + "autoprefixer": "^10.4.14", + "postcss": "^8.4.22", + "tailwindcss": "^3.3.1", "vite": "^3.0.1" } } diff --git a/postcss.config.js b/postcss.config.js new file mode 100644 index 0000000000000000000000000000000000000000..33ad091d26d8a9dc95ebdf616e217d985ec215b8 --- /dev/null +++ b/postcss.config.js @@ -0,0 +1,6 @@ +module.exports = { + plugins: { + tailwindcss: {}, + autoprefixer: {}, + }, +} diff --git a/src/App.vue b/src/App.vue index 633a5dfe4e547c48bfa93740a290ba5ba370930a..b1e651e462a868d914f0249bd083be75c39d4de7 100644 --- a/src/App.vue +++ b/src/App.vue @@ -4,44 +4,120 @@ import TheWelcome from './components/TheWelcome.vue' diff --git a/src/assets/base.css b/src/assets/base.css index 71dc55a3cb5a72589496743a327c738ead3e1c83..cf694023d924b239266719ad4c65834cb44f3abe 100644 --- a/src/assets/base.css +++ b/src/assets/base.css @@ -1,3 +1,7 @@ +@tailwind base; +@tailwind components; +@tailwind utilities; + /* color palette from */ :root { --vt-c-white: #ffffff; diff --git a/src/assets/main.css b/src/assets/main.css index c133f9156b43080992482c4805bb9d6ad813c187..b5c61c956711f981a41e95f7fcf0038436cfbb22 100644 --- a/src/assets/main.css +++ b/src/assets/main.css @@ -1,35 +1,3 @@ -@import "./base.css"; - -#app { - max-width: 1280px; - margin: 0 auto; - padding: 2rem; - - font-weight: normal; -} - -a, -.green { - text-decoration: none; - color: hsla(160, 100%, 37%, 1); - transition: 0.4s; -} - -@media (hover: hover) { - a:hover { - background-color: hsla(160, 100%, 37%, 0.2); - } -} - -@media (min-width: 1024px) { - body { - display: flex; - place-items: center; - } - - #app { - display: grid; - grid-template-columns: 1fr 1fr; - padding: 0 2rem; - } -} +@tailwind base; +@tailwind components; +@tailwind utilities; diff --git a/tailwind.config.js b/tailwind.config.js new file mode 100644 index 0000000000000000000000000000000000000000..a1f7cbea2675f5c70aa52378701c00d636f2489b --- /dev/null +++ b/tailwind.config.js @@ -0,0 +1,9 @@ +/** @type {import('tailwindcss').Config} */ +module.exports = { + content: [ './src/**/*.{vue,js,ts,jsx,tsx}'], + theme: { + extend: {}, + }, + plugins: [], +} +