diff --git a/src/components/ColorContainer.vue b/src/components/ColorContainer.vue new file mode 100644 index 0000000..d381897 --- /dev/null +++ b/src/components/ColorContainer.vue @@ -0,0 +1,378 @@ + + + \ No newline at end of file diff --git a/src/templates/modules/documentation/Routes.ts b/src/templates/modules/documentation/Routes.ts index 2259df5..11322df 100644 --- a/src/templates/modules/documentation/Routes.ts +++ b/src/templates/modules/documentation/Routes.ts @@ -10,8 +10,9 @@ import Middleware from './base/Middleware.vue' import Hook from './base/Hook.vue' import Deployment from './advanced/Deployment.vue' import PartialHooks from './base/PartialHooks.vue' -import ExampleSlashCommand from './examples/SlashCommand.vue' +import PingPong from './examples/PingPong.vue' import ExampleButtons from './examples/Buttons.vue' +import Colorize from './modules/Colorize.vue' const routes: RouteRecordRaw[] = [ { path: '/documentation/getting-started', component: GettingStarted }, @@ -27,7 +28,9 @@ const routes: RouteRecordRaw[] = [ { path: '/documentation/deployment', component: Deployment }, - { path: '/documentation/examples/deployment', component: ExampleSlashCommand }, + { path: '/documentation/modules/colorize', component: Colorize }, + + { path: '/documentation/examples/ping-pong', component: PingPong }, { path: '/documentation/examples/buttons', component: ExampleButtons }, ] diff --git a/src/templates/modules/documentation/examples/SlashCommand.vue b/src/templates/modules/documentation/examples/PingPong.vue similarity index 100% rename from src/templates/modules/documentation/examples/SlashCommand.vue rename to src/templates/modules/documentation/examples/PingPong.vue diff --git a/src/templates/modules/documentation/modules/Colorize.vue b/src/templates/modules/documentation/modules/Colorize.vue new file mode 100644 index 0000000..7d78c95 --- /dev/null +++ b/src/templates/modules/documentation/modules/Colorize.vue @@ -0,0 +1,35 @@ + + + \ No newline at end of file diff --git a/src/utils/Navigation.ts b/src/utils/Navigation.ts index 170e56b..bf47af4 100644 --- a/src/utils/Navigation.ts +++ b/src/utils/Navigation.ts @@ -37,11 +37,18 @@ export const documentation = [ { label: 'Deployment', href: '/documentation/deployment', isMenu: false }, ] }, + { + label: 'Modules', + isMenu: true, + child: [ + { label: 'Colorize', href: '/documentation/modules/colorize', isMenu: false }, + ] + }, { label: 'Example', isMenu: true, child: [ - { label: 'Slash Command', href: '/documentation/examples/deployment', isMenu: false }, + { label: 'Ping pong', href: '/documentation/examples/ping-pong', isMenu: false }, { label: 'Buttons', href: '/documentation/examples/buttons', isMenu: false }, ] }, diff --git a/tailwind.config.ts b/tailwind.config.ts index d72e4d4..26a6283 100644 --- a/tailwind.config.ts +++ b/tailwind.config.ts @@ -1,14 +1,15 @@ import { defineConfig } from 'windicss/helpers' import formsPlugin from 'windicss/plugin/forms' +import Colors from 'windicss/colors' export default defineConfig({ darkMode: 'class', theme: { extend: { colors: { - teal: { - 100: '#096', - }, + 'cool-gray': Colors.coolGray, + amber: Colors.amber, + sky: Colors.sky, }, }, },