appearance.ts 672 B

12345678910111213141516171819202122232425
  1. // Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
  2. import type { PersonalSettingPlugin } from './types.ts'
  3. export default <PersonalSettingPlugin>{
  4. label: __('Appearance'),
  5. category: {
  6. label: __('Profile'),
  7. id: 'category-profile',
  8. order: 1000,
  9. },
  10. route: {
  11. path: 'appearance',
  12. name: 'PersonalSettingAppearance',
  13. component: () => import('../../PersonalSettingAppearance.vue'),
  14. level: 2,
  15. meta: {
  16. title: __('Appearance'),
  17. requiresAuth: true,
  18. requiredPermission: 'user_preferences.appearance',
  19. },
  20. },
  21. order: 1000,
  22. keywords: __('theme,color,style,dark mode,night mode,light mode'),
  23. }