Skip to content

Commit

Permalink
Update postcss config
Browse files Browse the repository at this point in the history
  • Loading branch information
José Luis Pereira committed Aug 9, 2022
1 parent 4477861 commit 79ea428
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 20 deletions.
1 change: 1 addition & 0 deletions postcss.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ const {

module.exports = {
plugins: {
'tailwindcss/nesting': {},
tailwindcss: {
config: fs.existsSync(userTailwindConfigPath)
? userTailwindConfigPath
Expand Down
File renamed without changes.
26 changes: 26 additions & 0 deletions src/assets/css/main.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
@import '@/assets/css/tailwind.css';
@import 'leaflet/dist/leaflet.css';
@import '@/assets/css/leaflet.css';
@import '@/assets/css/webkit.css';

* {
box-sizing: content-box;
}

body {
background-color: #f5f7fb;
@apply
font-main
dark:bg-slate-900
dark:text-slate-400;
}

a {
@apply
text-primary-500
hover:text-gray-900;
}

.dark {
color-scheme: dark;
}
19 changes: 0 additions & 19 deletions src/assets/css/main.scss

This file was deleted.

File renamed without changes.
2 changes: 1 addition & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { createApp } from 'vue'
import App from './App.vue'
import router from '@/router/index.js'
import globalComponents from '@/components/globalComponents'
import '@/assets/css/main.scss'
import '@/assets/css/main.css'


const app = createApp(App)
Expand Down

0 comments on commit 79ea428

Please sign in to comment.