Add base color, add sass loader

This commit is contained in:
Christian Cueni 2022-04-19 14:24:42 +02:00
parent 70b390d20a
commit 2272cc7f2a
7 changed files with 11 additions and 3 deletions

View File

@ -34,6 +34,8 @@
"postcss": "^8.4.12", "postcss": "^8.4.12",
"postcss-import": "^14.1.0", "postcss-import": "^14.1.0",
"prettier": "^2.5.1", "prettier": "^2.5.1",
"sass": "^1.50.1",
"sass-loader": "^12.6.0",
"start-server-and-test": "^1.14.0", "start-server-and-test": "^1.14.0",
"tailwindcss": "^3.0.24", "tailwindcss": "^3.0.24",
"typescript": "~4.6.3", "typescript": "~4.6.3",

View File

@ -21,7 +21,6 @@ import HelloWorld from '@/components/HelloWorld.vue'
</template> </template>
<style> <style>
@import '@/assets/base.scss';
#app { #app {
max-width: 1280px; max-width: 1280px;

View File

@ -1,2 +1,3 @@
h1 { h1 {
} }

View File

@ -15,8 +15,11 @@ import SupportIcon from './icons/IconSupport.vue'
<template #heading>Documentation</template> <template #heading>Documentation</template>
Vues Vues
<a target="_blank" href="https://vuejs.org/">official documentation</a> <a class="bg-blue" target="_blank" href="https://vuejs.org/">official documentation</a>
provides you with all information you need to get started. provides you with all information you need to get started.
<h1 class="text-3xl font-bold underline">
Hello world!
</h1>
</WelcomeItem> </WelcomeItem>
<WelcomeItem> <WelcomeItem>

View File

@ -4,7 +4,7 @@ import { createPinia } from 'pinia'
import App from './App.vue' import App from './App.vue'
import router from './router' import router from './router'
import './index.css' import '@/assets/styles/index.scss'
const app = createApp(App) const app = createApp(App)

View File

@ -5,6 +5,9 @@ module.exports = {
"./src/**/*.{vue,js,ts,jsx,tsx}", "./src/**/*.{vue,js,ts,jsx,tsx}",
], ],
theme: { theme: {
colors: {
'blue-dark': '#00224D'
},
extend: {}, extend: {},
}, },
plugins: [], plugins: [],