Note: In upcoming versions, theming architecture will be redesigned to utilize CSS variables instead of SCSS variables in a backward compatible way for a dynamic approach. In addition, a new Unstyled mode
- will be provided as an optional approach to replace default styling so that CSS libraries like Tailwind or Bootstrap can be used to style the components. This work is planned to be completed by the end of Q2 2023.
+ will be provided as an alternative to the default styling so that CSS libraries like Tailwind or Bootstrap can be used to style the components. This work is planned to be completed by the end of Q2 2023.
PrimeVue is a design agnostic library so unlike other UI libraries it does not enforce a certain styling such as material or bootstrap. In order to achieve this, styling has been separated into two parts, core and theme. The core resides
diff --git a/doc/theming/CSSVariablesDoc.vue b/doc/theming/CSSVariablesDoc.vue
new file mode 100644
index 000000000..c2b7910eb
--- /dev/null
+++ b/doc/theming/CSSVariablesDoc.vue
@@ -0,0 +1,5 @@
+
+
+ Each PrimeVue theme exports numerous CSS variables, refer to Colors page for more details.
+
+
diff --git a/pages/installation/index.vue b/pages/installation/index.vue
index fcbe19233..e9e3d5083 100644
--- a/pages/installation/index.vue
+++ b/pages/installation/index.vue
@@ -19,6 +19,7 @@
import DownloadDoc from '@/doc/installation/DownloadDoc';
import ExamplesDoc from '@/doc/installation/ExamplesDoc';
import NuxtIntegrationDoc from '@/doc/installation/NuxtIntegrationDoc';
+import PluginDoc from '@/doc/installation/PluginDoc';
import PropCasesDoc from '@/doc/installation/PropCasesDoc';
import StylesDoc from '@/doc/installation/StylesDoc';
import UsageDoc from '@/doc/installation/UsageDoc';
@@ -34,6 +35,11 @@ export default {
label: 'Download',
component: DownloadDoc
},
+ {
+ id: 'plugin',
+ label: 'Plugin',
+ component: PluginDoc
+ },
{
id: 'styles',
label: 'Styles',
diff --git a/pages/theming/index.vue b/pages/theming/index.vue
index 498531491..3ca100634 100755
--- a/pages/theming/index.vue
+++ b/pages/theming/index.vue
@@ -27,6 +27,7 @@ import PrimeFlexDoc from '@/doc/theming/PrimeFlexDoc';
import ScaleDoc from '@/doc/theming/ScaleDoc';
import ScopedCSSDoc from '@/doc/theming/ScopedCSSDoc';
import UtilsDoc from '@/doc/theming/UtilsDoc';
+import CSSVariablesDoc from '../../doc/theming/CSSVariablesDoc';
import SwitchThemesDoc from '../../doc/theming/SwitchThemesDoc';
export default {
@@ -77,6 +78,11 @@ export default {
id: 'utils',
label: 'Utils',
component: UtilsDoc
+ },
+ {
+ id: 'cssvariables',
+ label: 'CSS Variables',
+ component: CSSVariablesDoc
}
]
};