File tree Expand file tree Collapse file tree 4 files changed +19
-11
lines changed Expand file tree Collapse file tree 4 files changed +19
-11
lines changed Original file line number Diff line number Diff line change 1
1
/*==
2
- * Vuejs & TailwindCSS Portfolio Main Styling CSS File
2
+ * Vuejs & TailwindCSS Portfolio Main CSS File
3
3
* Powered by: @NangialaiStoman
4
4
*/
5
5
6
+ @tailwind base;
7
+
8
+ @tailwind components;
9
+
10
+ @tailwind utilities;
11
+
12
+ /* Custom Styles Below */
13
+
6
14
body {
7
15
font-family : 'Poppins' , sans-serif !important ;
8
16
}
14
22
font-family : 'Poppins' , sans-serif !important ;
15
23
font-weight : 500 !important ;
16
24
}
25
+
26
+ /* Theme Colors */
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -150,10 +150,6 @@ export default {
150
150
ThemeSwitcher,
151
151
HireMeModal,
152
152
},
153
- mounted () {
154
- this .theme = localStorage .getItem (' theme' ) || ' light' ;
155
- feather .replace ();
156
- },
157
153
data () {
158
154
return {
159
155
isOpen: false ,
@@ -183,6 +179,14 @@ export default {
183
179
],
184
180
};
185
181
},
182
+
183
+ created () {
184
+ this .theme = localStorage .getItem (' theme' ) || ' light' ;
185
+ },
186
+ mounted () {
187
+ feather .replace ();
188
+ this .theme = localStorage .getItem (' theme' ) || ' light' ;
189
+ },
186
190
methods: {
187
191
updateTheme (theme ) {
188
192
this .theme = theme;
Original file line number Diff line number Diff line change 1
1
import { createApp } from 'vue' ;
2
2
import App from './App.vue' ;
3
3
import router from './router' ;
4
- import './assets/css/tailwind.css' ;
5
4
import './assets/css/app.css' ;
6
5
import BackToTop from 'vue-backtotop' ;
7
6
You can’t perform that action at this time.
0 commit comments