diff --git a/assets/menu/menu.json b/assets/menu/menu.json index c1e76acbc..d8601c17d 100644 --- a/assets/menu/menu.json +++ b/assets/menu/menu.json @@ -54,6 +54,20 @@ } ] }, + { + "name": "Theming", + "icon": "pi pi-palette", + "children": [ + { + "name": "Styled Mode", + "to": "/theming/styled" + }, + { + "name": "Unstyled Mode", + "to": "/theming/unstyled" + } + ] + }, { "name": "Components", "icon": "pi pi-compass", @@ -479,20 +493,6 @@ } ] }, - { - "name": "Theming", - "icon": "pi pi-palette", - "children": [ - { - "name": "Styled Mode", - "to": "/theming/styled" - }, - { - "name": "Unstyled Mode", - "to": "/theming/unstyled" - } - ] - }, { "name": "Pass Through", "icon": "pi pi-directions", diff --git a/doc/tailwind/ExtensionsDoc.vue b/doc/tailwind/ExtensionsDoc.vue index 1eefd5031..2ca7d6f0a 100644 --- a/doc/tailwind/ExtensionsDoc.vue +++ b/doc/tailwind/ExtensionsDoc.vue @@ -70,43 +70,7 @@ -
- -
- + diff --git a/doc/tailwind/OverviewDoc.vue b/doc/tailwind/OverviewDoc.vue index 6386c730f..c5d8c4319 100644 --- a/doc/tailwind/OverviewDoc.vue +++ b/doc/tailwind/OverviewDoc.vue @@ -1,13 +1,13 @@ diff --git a/doc/tailwind/PluginDoc.vue b/doc/tailwind/PluginDoc.vue index 132cb4cb0..51e1cfc1b 100644 --- a/doc/tailwind/PluginDoc.vue +++ b/doc/tailwind/PluginDoc.vue @@ -16,6 +16,8 @@ export default { data() { return { + shades: [0, 50, 100, 200, 300, 400, 500, 600, 700, 800, 900, 950], + colors: ['primary', 'surface'], code1: { basic: ` npm i tailwindcss-primeui diff --git a/doc/tailwind/SamplesDoc.vue b/doc/tailwind/SamplesDoc.vue deleted file mode 100644 index 132cb4cb0..000000000 --- a/doc/tailwind/SamplesDoc.vue +++ /dev/null @@ -1,36 +0,0 @@ - - - diff --git a/doc/tailwind/samples/ColorPaletteDoc.vue b/doc/tailwind/samples/ColorPaletteDoc.vue new file mode 100644 index 000000000..a729a87e1 --- /dev/null +++ b/doc/tailwind/samples/ColorPaletteDoc.vue @@ -0,0 +1,51 @@ + + + diff --git a/pages/tailwind/index.vue b/pages/tailwind/index.vue index 1e2880138..eea3f2409 100644 --- a/pages/tailwind/index.vue +++ b/pages/tailwind/index.vue @@ -20,7 +20,7 @@ import ExtensionsDoc from '@/doc/tailwind/ExtensionsDoc.vue'; import OverviewDoc from '@/doc/tailwind/OverviewDoc.vue'; import PluginDoc from '@/doc/tailwind/PluginDoc.vue'; import PresetsDoc from '@/doc/tailwind/PresetsDoc.vue'; -import SamplesDoc from '@/doc/tailwind/SamplesDoc.vue'; +import ColorPaletteDoc from '@/doc/tailwind/samples/ColorPaletteDoc.vue'; export default { data() { @@ -49,7 +49,13 @@ export default { { id: 'samples', label: 'Samples', - component: SamplesDoc + description: 'Example uses cases with PrimeVue and Tailwind CSS.', + children: [ + { + label: 'Color Palette', + component: ColorPaletteDoc + } + ] } ] };