Skip to content

Commit ab18d5c

Browse files
committed
Delete tailwind css file
1 parent 095f658 commit ab18d5c

File tree

4 files changed

+19
-11
lines changed

4 files changed

+19
-11
lines changed

src/assets/css/app.css

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,16 @@
11
/*==
2-
* Vuejs & TailwindCSS Portfolio Main Styling CSS File
2+
* Vuejs & TailwindCSS Portfolio Main CSS File
33
* Powered by: @NangialaiStoman
44
*/
55

6+
@tailwind base;
7+
8+
@tailwind components;
9+
10+
@tailwind utilities;
11+
12+
/* Custom Styles Below */
13+
614
body {
715
font-family: 'Poppins', sans-serif !important;
816
}
@@ -14,3 +22,5 @@ h4 {
1422
font-family: 'Poppins', sans-serif !important;
1523
font-weight: 500 !important;
1624
}
25+
26+
/* Theme Colors */

src/assets/css/tailwind.css

Lines changed: 0 additions & 5 deletions
This file was deleted.

src/components/AppHeader.vue

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -150,10 +150,6 @@ export default {
150150
ThemeSwitcher,
151151
HireMeModal,
152152
},
153-
mounted() {
154-
this.theme = localStorage.getItem('theme') || 'light';
155-
feather.replace();
156-
},
157153
data() {
158154
return {
159155
isOpen: false,
@@ -183,6 +179,14 @@ export default {
183179
],
184180
};
185181
},
182+
183+
created() {
184+
this.theme = localStorage.getItem('theme') || 'light';
185+
},
186+
mounted() {
187+
feather.replace();
188+
this.theme = localStorage.getItem('theme') || 'light';
189+
},
186190
methods: {
187191
updateTheme(theme) {
188192
this.theme = theme;

src/main.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { createApp } from 'vue';
22
import App from './App.vue';
33
import router from './router';
4-
import './assets/css/tailwind.css';
54
import './assets/css/app.css';
65
import BackToTop from 'vue-backtotop';
76

0 commit comments

Comments
 (0)