Theme
arya-blue
luna-amber
luna-blue
luna-green
luna-pink
nova-dark
nova-light
saga-blue
vela-blue
ThemeModificationResourceHandler

This resource handler allows modifying theme resources at runtime. It can be used to customize theme colors and other properties dynamically.

faces-config.xml

<application>
    <resource-handler>org.primefaces.extensions.application.ThemeModificationResourceHandler</resource-handler>
</application>

CSS variable assignment example

:root {
    --saga-blue0: #0B78D5; /* Main color */
    --saga-blue1: #0859A7; /* Hover color */
    --saga-blue2: #0859A7; /* Active color */
    --saga-blue3: #6CBCF9; /* Focus outline color */
    --saga-blue4: #495057; /* Text color */
}

Responsive Breakpoint Configuration

You can customize the responsive breakpoint by adding a context parameter in your web.xml file. This breakpoint determines when the responsive layout changes occur (e.g. when menus collapse).

<context-param>
    <param-name>primefaces.RESPONSIVE_BREAKPOINT</param-name>
    <param-value>576</param-value>
</context-param>

The value is in pixels. The default value is 640px if not specified.

Components and more
PrimeFaces Extensions Showcase - © 2011-2025,PrimeFaces: 15.0.5,PrimeFaces Extensions: 15.0.6-SNAPSHOT,JSF: Apache MyFaces JSF-2.3 Core Impl 2.3.10,Server: Apache Tomcat (TomEE)/9.0.82 (8.0.16),Build time: 2025-06-13 20:21