diff --git a/apps/showcase/assets/menu/menu.json b/apps/showcase/assets/menu/menu.json index 1b532f34d..ffc9acd21 100644 --- a/apps/showcase/assets/menu/menu.json +++ b/apps/showcase/assets/menu/menu.json @@ -504,22 +504,8 @@ }, { "name": "Tailwind CSS", - "icon": "pi pi-heart", - "children": [ - { - "name": "Integration", - "to": "/tailwind" - }, - { - "name": "Presets", - "href": "https://tailwind.primevue.org" - } - ] - }, - { - "name": "Figma UI Kit", - "icon": "pi pi-pencil", - "to": "/uikit" + "icon": "pi pi-star", + "to": "/tailwind" }, { "name": "Icons", @@ -535,9 +521,14 @@ } ] }, + { + "name": "Figma UI Kit", + "icon": "pi pi-pencil", + "to": "/uikit" + }, { "name": "Templates", - "icon": "pi pi-star", + "icon": "pi pi-heart", "to": "/templates" }, { diff --git a/apps/showcase/doc/tailwind/OverviewDoc.vue b/apps/showcase/doc/tailwind/OverviewDoc.vue index c5d8c4319..e044867d3 100644 --- a/apps/showcase/doc/tailwind/OverviewDoc.vue +++ b/apps/showcase/doc/tailwind/OverviewDoc.vue @@ -7,9 +7,13 @@

Tailwind is an outstanding CSS library, however it lacks a true comprehensive UI suite when combined with Vue.js, this is where PrimeVue comes in by providing a wide range of highly accessible and feature rich UI component library. The - core of PrimeVue does not depend on Tailwind CSS, instead we provide the necessary integration points such as the primeui tailwind plugin and the presets for the unstyled mode. + core of PrimeVue does not depend on Tailwind CSS, instead we provide the necessary integration points such as the primeui tailwind plugin and the Tailwind version for the unstyled mode.

+
+ Tailwind CSS and PrimeVue can be used together via two main approaches. Simple approach is using Tailwind CSS around PrimeVue components for layout purposes as demonstrated in the samples section below, the advanced approach takes the + integration a step further by allowing Tailwind CSS within the component internals to style the entire UI suite in unstyled mode. +
diff --git a/apps/showcase/doc/tailwind/PresetsDoc.vue b/apps/showcase/doc/tailwind/PresetsDoc.vue deleted file mode 100644 index 6e30fa344..000000000 --- a/apps/showcase/doc/tailwind/PresetsDoc.vue +++ /dev/null @@ -1,15 +0,0 @@ - - - diff --git a/apps/showcase/doc/tailwind/TailwindThemeDoc.vue b/apps/showcase/doc/tailwind/TailwindThemeDoc.vue new file mode 100644 index 000000000..49868d3af --- /dev/null +++ b/apps/showcase/doc/tailwind/TailwindThemeDoc.vue @@ -0,0 +1,10 @@ + + + diff --git a/apps/showcase/doc/tailwind/samples/ColorPaletteDoc.vue b/apps/showcase/doc/tailwind/samples/ColorPaletteDoc.vue index 5f7c8e8e4..ff07bf6fb 100644 --- a/apps/showcase/doc/tailwind/samples/ColorPaletteDoc.vue +++ b/apps/showcase/doc/tailwind/samples/ColorPaletteDoc.vue @@ -23,6 +23,7 @@ +