forked from AkkomaGang/akkoma-fe
Add Settings page.
This commit is contained in:
parent
6de2dd041d
commit
52dd7c009f
2 changed files with 31 additions and 0 deletions
9
src/components/settings/settings.js
Normal file
9
src/components/settings/settings.js
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
import StyleSwitcher from '../style_switcher/style_switcher.vue'
|
||||||
|
|
||||||
|
const settings = {
|
||||||
|
components: {
|
||||||
|
StyleSwitcher
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
export default settings
|
22
src/components/settings/settings.vue
Normal file
22
src/components/settings/settings.vue
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
<template>
|
||||||
|
<div class="settings panel panel-default base00-background">
|
||||||
|
<div class="panel-heading base01-background base04">
|
||||||
|
Settings
|
||||||
|
</div>
|
||||||
|
<div class="panel-body">
|
||||||
|
<div class="setting-item">
|
||||||
|
<h2>Theme</h2>
|
||||||
|
<style-switcher></style-switcher>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script src="./settings.js">
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
.setting-item {
|
||||||
|
margin: 1em
|
||||||
|
}
|
||||||
|
</style>
|
Loading…
Reference in a new issue