You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

51 lines
1.8 KiB

  1. <template lang='pug'>
  2. v-container(fluid, fill-height, grid-list-lg)
  3. v-layout(row wrap)
  4. v-flex(xs12)
  5. .headline.primary--text Theme
  6. .subheading.grey--text Modify the look &amp; feel of your wiki
  7. v-form.pt-3
  8. v-layout(row wrap)
  9. v-flex(lg6 xs12)
  10. v-card
  11. v-toolbar(color='primary', dark, dense, flat)
  12. v-toolbar-title
  13. .subheading Theme
  14. v-card-text
  15. v-select(:items='themes', prepend-icon='palette', v-model='selectedTheme', label='Site Theme', persistent-hint, hint='Themes affect how content pages are displayed. Other site sections (such as the editor or admin area) are not affected.')
  16. template(slot='item', slot-scope='data')
  17. v-list-tile-avatar
  18. v-icon.blue--text(dark) filter_frames
  19. v-list-tile-content
  20. v-list-tile-title(v-html='data.item.text')
  21. v-list-tile-sub-title(v-html='data.item.author')
  22. v-divider
  23. v-switch(v-model='darkMode', label='Dark Mode', color='primary', persistent-hint, hint='Not recommended for accessibility')
  24. v-divider
  25. .px-3.pb-3
  26. v-btn(color='primary') Save
  27. v-flex(lg6 xs12)
  28. v-card
  29. v-toolbar(color='primary', dark, dense, flat)
  30. v-toolbar-title
  31. .subheading ---
  32. v-card-text ---
  33. </template>
  34. <script>
  35. export default {
  36. data() {
  37. return {
  38. themes: [
  39. { text: 'Default', author: 'requarks.io', value: 'default' }
  40. ],
  41. selectedTheme: 'default',
  42. darkMode: false
  43. }
  44. }
  45. }
  46. </script>
  47. <style lang='scss'>
  48. </style>