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 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+
614body {
715 font-family : 'Poppins' , sans-serif !important ;
816}
1422 font-family : 'Poppins' , sans-serif !important ;
1523 font-weight : 500 !important ;
1624}
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 {
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;
Original file line number Diff line number Diff line change 11import { createApp } from 'vue' ;
22import App from './App.vue' ;
33import router from './router' ;
4- import './assets/css/tailwind.css' ;
54import './assets/css/app.css' ;
65import BackToTop from 'vue-backtotop' ;
76
You can’t perform that action at this time.
0 commit comments