Add Settings page.
This commit is contained in:
parent
6de2dd041d
commit
52dd7c009f
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 New Issue
Block a user