Invalid state is displayed using the invalid prop to indicate a failed validation. You can use this style when integrating with form validation libraries.
Invalid state is displayed using the invalid prop to indicate a failed validation. You can use this style when integrating with form validation libraries.
Invalid state is displayed using the invalid prop to indicate a failed validation. You can use this style when integrating with form validation libraries.
Invalid state is displayed using the invalid prop to indicate a failed validation. You can use this style when integrating with form validation libraries.
Invalid state is displayed using the invalid prop to indicate a failed validation. You can use this style when integrating with form validation libraries.
Invalid state is displayed using the invalid prop to indicate a failed validation. You can use this style when integrating with form validation libraries.
Invalid state is displayed using the invalid prop to indicate a failed validation. You can use this style when integrating with form validation libraries.
currently Aura, Material, Lara and Nora are the available built-in options.
+
+ Aura, Material, Lara and Nora are the available built-in options, created to demonstrate the power of the design-agnostic theming. Aura is PrimeTek's own vision, Material follows Google Material Design v2, Lara is based on Bootstrap and
+ Nora is inspired by enterprise applications. Visit the
+ source code to learn more about the structure of presets. You may use them out of the box with
+ modifications or utilize them as reference in case you need to build your own presets from scratch.
+
- Unstyled mode consists of two solutions. First part is removal of the component specific style classes from the DOM, when unstyled setting is enabled components do not include any CSS selectors while core functionality is still
- available. For example, in the default styled mode, the select component adds .p-select style class to the root element and includes CSS to corresponding style. In unstyled setting, this style class is not added to the root element
- and the CSS is not included in the page.
+ The term unstyled is used to define an alternative styling approach instead of the default theming with design tokens. PrimeVue offers two options for styling the components with your own css; the hybrid mode and the
+ pure mode.
- The second part is custom styling as components are displayed as transparent without their styles. Pass Through Props feature is the key of since it also supports a global configuration to create
- themes in unstyled mode. In fact, the upcoming Tailwind theme is basically a custom pt configuration.
+ In both options, the css variables of the design tokens and the css rule sets that utilize them are not included. The main difference is, the hybrid mode keeps the selectors in the DOM such as p-select whereas the
+ pure mode do not include them. Unstyled components still need to be styled on your end, in the next sections, we'll cover the styling solutions for both modes.
It may be confusing which styling approach to choose from due to the amount of options such as Styled, Pure and Hybrid. We've created a short video that discusses the pros and cons of each approach.
+
+ In summary, the styled mode is a powerful API to learn with first class support for Figma, as a result when working with a UI Designer that utilizes the PrimeVue Figma UI Kit, the development flow would be productive. The unstyled mode is
+ beneficial when you do not prefer to learn the default theming API, want full control over the styles or require Tailwind CSS as the only library for styling in your application. The downside of unstyled mode is that it requires the
+ styles need to be maintained in the application.
+
In hybrid mode, the default css rules and variables are not included however the css selectors reside in the DOM so that you may use them to build your own rules.
+ PrimeTek offers the Tailwind CSS version of the entire PrimeVue UI suite based on the @apply directive with IntelliSense support. Visit the
+ Tailwind version of PrimeVue for the documentation, demos and additional resources.
+
- To get started, UnoCSS should already be available in your application, if not visit the UnoCSS documentation for the installation in various environments. Theming of PrimeVue components with
- UnoCSS is mainly achieved with unstyled mode either using global setting or for a particular component only.
-
-
-
-
-
diff --git a/apps/showcase/doc/theming/unstyled/ExampleDoc.vue b/apps/showcase/doc/theming/unstyled/pure/PureExampleDoc.vue
similarity index 70%
rename from apps/showcase/doc/theming/unstyled/ExampleDoc.vue
rename to apps/showcase/doc/theming/unstyled/pure/PureExampleDoc.vue
index 68adfdde6..348b42061 100644
--- a/apps/showcase/doc/theming/unstyled/ExampleDoc.vue
+++ b/apps/showcase/doc/theming/unstyled/pure/PureExampleDoc.vue
@@ -1,8 +1,8 @@
- Here is a sample that provides a style using Tailwind CSS. Before beginning, head over to the pass through section button documentation to learn more about the components internals. We'll be using the
- root, label and icon elements to add a custom style.
+ Here is a sample that styles a button component with Tailwind CSS using pass through attributes. Before beginning, head over to the the pass through section at
+ button documentation to learn more about the components internals section. We'll be using the root, label and icon elements to add a custom style.
`
}
diff --git a/apps/showcase/doc/theming/unstyled/ThemeDoc.vue b/apps/showcase/doc/theming/unstyled/pure/PureGlobalDoc.vue
similarity index 58%
rename from apps/showcase/doc/theming/unstyled/ThemeDoc.vue
rename to apps/showcase/doc/theming/unstyled/pure/PureGlobalDoc.vue
index be09ecf6a..af80c2e86 100644
--- a/apps/showcase/doc/theming/unstyled/ThemeDoc.vue
+++ b/apps/showcase/doc/theming/unstyled/pure/PureGlobalDoc.vue
@@ -1,8 +1,8 @@
- An unstyled theme is basically a global pt configuration so that it can be defined only once from a single location, still a particular component can override a global configuration since the pt props of a component and the
- global setting is merged with component having higher precedencee.
+ A global configuration can be created at application level to avoid repetition via the global pt option so that the styles can be shared from a single location. A particular component can still override a global configuration with
+ its own pt property.
+ Tailwind CSS is perfect fit for the pure mode, our team has initiated the reference implementation of the global pt configuration to style the entire UI suite called the
+ Tailwind CSS presets. This add-on project is currently looking for community contributors to take over the ownership as
+ it requires significant bandwidth for PrimeTek to maintain both the styled mode and the unstyled mode presets via pass-through.
+
- Verify your setup by adding a component such as Button. Each component can be imported and registered individually so that you only include what you use for bundle optimizization. Import path is available
+ Verify your setup by adding a component such as Button. Each component can be imported and registered individually so that you only include what you use for bundle optimization. Import path is available
in the documentation of the corresponding component.
- Up to 5 accounts
+ Shared account per organization
@@ -85,7 +85,7 @@
2. Setup
- A private repository with an exclusive issue tracker is created for you at GitHub.
+ An account is created for you in our exclusive JIRA issue tracker.