mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-06-25 06:24:07 +02:00
Replace local styles with 2fauth/styles package
This commit is contained in:
parent
1a8d142a0a
commit
7213cec998
2
resources/js/app.js
vendored
2
resources/js/app.js
vendored
@ -1,4 +1,4 @@
|
|||||||
import '/resources/js/assets/app.scss';
|
import '@2fauth/styles/src/app.scss';
|
||||||
|
|
||||||
import Notifications from '@kyvg/vue3-notification'
|
import Notifications from '@kyvg/vue3-notification'
|
||||||
import App from './App.vue'
|
import App from './App.vue'
|
||||||
|
1474
resources/js/assets/app.scss
vendored
1474
resources/js/assets/app.scss
vendored
File diff suppressed because one or more lines are too long
2
resources/js/stores/user.js
vendored
2
resources/js/stores/user.js
vendored
@ -108,7 +108,7 @@ export const useUserStore = defineStore({
|
|||||||
*/
|
*/
|
||||||
applyTheme() {
|
applyTheme() {
|
||||||
const mode = useColorMode({
|
const mode = useColorMode({
|
||||||
attribute: 'data-theme',
|
class: 'dark',
|
||||||
})
|
})
|
||||||
mode.value = this.preferences.theme == 'system' ? 'auto' : this.preferences.theme
|
mode.value = this.preferences.theme == 'system' ? 'auto' : this.preferences.theme
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user