app.config.ts 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. import type { AppConfigInput } from 'nuxt/schema'
  2. const newLocal = {
  3. ui: {
  4. colors: {
  5. primary: 'teal',
  6. neutral: 'zinc',
  7. },
  8. card: {
  9. slots: {
  10. root: 'hover:bg-linear-[115deg,#272727 .06%,#171717]',
  11. body: 'p-2 sm:p-3',
  12. },
  13. },
  14. },
  15. uiPro: {
  16. footer: {
  17. slots: {
  18. root: 'border-t border-default',
  19. left: 'text-sm text-muted',
  20. },
  21. },
  22. },
  23. seo: {
  24. siteName: 'TresJS Docs',
  25. },
  26. header: {
  27. title: '',
  28. to: '/',
  29. logo: {
  30. alt: '',
  31. light: '',
  32. dark: '',
  33. },
  34. search: true,
  35. colorMode: true,
  36. links: [
  37. {
  38. icon: 'i-simple-icons-github',
  39. to: 'https://github.com/tresjs/tres',
  40. target: '_blank',
  41. ariaLabel: 'GitHub',
  42. },
  43. {
  44. icon: 'i-simple-icons-discord',
  45. to: 'https://discord.com/invite/UCr96AQmWn',
  46. target: '_blank',
  47. ariaLabel: 'Discord',
  48. },
  49. ],
  50. },
  51. footer: {
  52. credits: `Copyright © ${new Date().getFullYear()} TresJS`,
  53. colorMode: false,
  54. links: [{
  55. 'icon': 'i-lucide-globe',
  56. 'to': 'https://tresjs.org',
  57. 'target': '_blank',
  58. 'aria-label': 'TresJS Website',
  59. }, {
  60. 'icon': 'i-simple-icons-discord',
  61. 'to': 'https://discord.gg/Q6ncbJdQ',
  62. 'target': '_blank',
  63. 'aria-label': 'TresJS on Discord',
  64. }, {
  65. 'icon': 'i-simple-icons-x',
  66. 'to': 'https://x.com/tresjs_dev',
  67. 'target': '_blank',
  68. 'aria-label': 'TresJS on X',
  69. }, {
  70. 'icon': 'i-simple-icons-github',
  71. 'to': 'https://github.com/tresjs/tres',
  72. 'target': '_blank',
  73. 'aria-label': 'TresJS on GitHub',
  74. }],
  75. },
  76. toc: {
  77. title: 'Table of Contents',
  78. bottom: {
  79. title: 'Community',
  80. edit: 'https://github.com/tresjs/tres/edit/main/docs/content',
  81. links: [{
  82. icon: 'i-lucide-heart',
  83. label: 'Become a sponsor',
  84. to: 'https://github.com/sponsors/tresjs',
  85. target: '_blank',
  86. }, {
  87. icon: 'i-lucide-star',
  88. label: 'Star on GitHub',
  89. to: 'https://github.com/tresjs/tres',
  90. target: '_blank',
  91. }],
  92. },
  93. },
  94. } satisfies AppConfigInput
  95. export default defineAppConfig(newLocal)