This website uses cookies to ensure you get the best experience on our website.

Skip to content
LOGO
  • Company

    About IGNEK

    Learn about our story and our mission.

    Careers

    We're hiring!

    We always looking for talented peoples. Join our team!

    Blogs

    The latest industry news, updates and info.

    Case Studies

    Take a closer look at the projects we've delivered

    Webinar

    Watch our latest organized webinar

    Get in touch with our HR team

    • hr@ignek.com
    • +91 93284 95160
    • Ahmedabad, Gujarat, India – 382470
  • Services

    Enterprise Portal Development

    Custom Enterprise Portal Development for flawless Solutions

    Dedicated Development Team

    Expand Teams, Optimize Development with Our Expertise

    Back-end Development

    Empowering your digital presence with robust backend development expertise

    Front-end Development

    Crafting engaging user experiences through expert frontend development

    Digital Transformation

    Embrace digital transformation by modernizing process

    SaaS Development

    Transform your business with SaaS Innovative Solutions

    Technologies

    Liferay Services

    Development & Customization

    Theme

    Upgradation

    Migration

    Proof of Concept

    Performance Tunning

    Architecture

    Support & Maintenance

    E-commerce

    Expert Advice

    React Services

    Enterprise Development

    Custom Application

    Single Page Application

    Architecture

    API Integration

    Migration

    Consulting

    Maintenance & Support

    Spring Boot Services

    Web Service

    MVC Web Development

    API Integration

    Security

    Migration

    Microservices

    Support & Maintenance

    AEM Services

    Consulting Service

    Site Development

    Migration & Upgradation

    Integration

    Maintenance & Support

    Custom Solutions

    Content Management

    Team Augementation

  • Solution

    Ready for digital excellence

    In our rapidly evolving world, businesses are always on the lookout for fresh ways to improve their operations and connect with their audiences.

    Contact US

    Solutions

    SaaS : Software As A Service

    Transforming industries through cutting edge SaaS solutions.

    Customer Portal : Boost Business Productivity

    Streamline operations and enhance productivity with our Customer Portal solution.

    Liferay Based Intranet Portal

    Internal portal for company communication, collaboration and resources

    Integration

    Matomo Integration with Liferay

    Integrate Matomo to enable user interactions seamlessly.

    Microsoft Teams integration with Liferay

    Integrate to enable seamless collaboration, messaging within your portal.

    Jira Integration With Liferay

    Optimizes business operations by integrating with Jira.

  • Hire Us

    Liferay

    Get expert Liferay developers for seamless portal solutions.

    React JS

    Get expert ReactJS developers for dynamic web solutions.

    Web Developer

    Get custom web solutions from IGNEK's expert developers.

    Spring Boot

    Get top-notch Spring Boot developers for your project success!

    Healthcare

    Get top Healthcare Developers for cutting-edge medical software.

    MERN Stack

    Get expert MERN developers from IGNEK for custom, innovative project solutions.

    Why Hire Developers From IGNEK ?

    • Certified Developer
    • Transparent Communication
    • Flexible Hiring Modals
    • Fully Signed NDA
    • Cost Effective
    • Easy Exit Policy

    Get in touch with our Sales team

    • sales@ignek.com
    • +91 6351576580
    • info@ignek.com
    • Ahmedabad, Gujarat, India – 382470
SCHEDULE CALL
  • COMPANY
    • About
    • Case Studies
    • Blogs
    • Career
    • Webinar
  • SERVICES
    • Enterprise Portal Development
    • Dedicated Development Team
    • Back-end Development
    • Front-end Development
    • Digital Transformation
    • SaaS Development
  • SOLUTION
    • Customer Portal:  Boost Business Productivity
    • SaaS : Software as a Service
    • Liferay Based Employee Intranet Portal
  • TECHNOLOGY
    • Liferay Services
      • Liferay Development and Customization
      • Liferay Theme Development Service
      • Liferay DXP 7.4 Upgrade
      • Liferay Migration
      • Liferay Proof Of Concept
      • Liferay Performance Tuning
      • Liferay Architecture Design Service
      • Liferay Support And Maintenance Service
      • Liferay Ecommerce Development
      • Liferay Expert Advice
    • ReactJS Services
      • ReactJS Enterprise Application Development
      • ReactJS Custom Application Development
      • ReactJS Single Page Application Development (SPA)
      • ReactJS Applications Architecture
      • ReactJS API Integration
      • ReactJS Migration
      • ReactJS Consulting
      • ReactJS Maintenance and Support
    • Spring Boot Services
      • Spring Boot Web Development Service
      • Spring MVC Web Development
      • Spring Boot API Integration Service
      • Spring Boot Security
      • Spring Boot Migration Service
      • Spring Boot Microservices
      • Spring Boot Support & Maintenance Service
    • AEM Development Services
      • AEM Consulting Services
      • AEM Site Development
      • AEM Migration & Upgradation
      • AEM Integration Services
      • AEM Maintenance & Support
      • AEM Content Management
      • Custom AEM Solutions
      • AEM Team Augmentation
  • INTEGRATION
  • HIRE US
    • Hire Liferay Developer
    • Hire ReactJS Developer
    • Hire Spring Boot Developer
    • Hire Healthcare Developer
    • Hire Web Developer
    • Hire MERN Stack Developer
  • CONTACT US
  • Company

    About IGNEK

    Careers

    We're hiring!

    Blogs

    Case Studies

    Webinar

    Get in touch with our HR team

    • hr@ignek.com
    • +91 93284 95160
    • Ahmedabad, Gujarat, India – 382470
  • Services

    Enterprise Portal Development

    Dedicated Development Team

    Back-end Development

    Front-end Development

    Digital Transformation

    SaaS Development

    Technologies

    Liferay Liferay Services
    • Development & Customization
    • Theme
    • Upgradation
    • Migration
    • Proof of Concept
    • Performance Tuning
    • Architecture
    • Support & Maintenance
    • E-commerce
    • Expert Advice
    React React Services
    • Enterprise Development
    • Custom Application
    • Single Page Application
    • Architecture
    • API Integration
    • Migration
    • Consulting
    • Maintenance & Support
    Spring Boot Spring Boot Services
    • Web Service
    • MVC Web Development
    • API Integration
    • Security
    • Migration
    • Microservices
    • Support & Maintenance
    AEM AEM Services
    • Consulting Service
    • Site Development
    • Migration & Upgradation
    • Integration
    • Maintenance & Support
    • Custom Solutions
    • Content Management
    • Team Augmentation
  • Solution

    Ready for digital excellence

    In our rapidly evolving world, businesses are always on the lookout for fresh ways to improve their operations and connect with their audiences.

    Contact US

    Solutions

    SaaS : Software As A Service

    Customer Portal : Boost Business Productivity

    Liferay Based Intranet Portal

    Integration

    Matomo Integration with Liferay

    Microsoft Teams integration with Liferay

    Jira Integration With Liferay

  • Hire Us

    Liferay

    React JS

    Web Developer

    Spring Boot

    Healthcare

    MERN Stack

    Why Hire Developers From IGNEK ?

    • Certified Developer
    • Transparent Communication
    • Flexible Hiring Modals
    • Fully Signed NDA
    • Cost Effective
    • Easy Exit Policy

    Get in touch with our Sales team

    • sales@ignek.com
    • +91 6351576580
    • IGNEK
    • Ahmedabad, Gujarat, India – 382470
  • SCHEDULE CALL

Theme vs No Theme : How to Configure Stylebooks in Liferay

  • Liferay
  • April 3, 2025

Share On :

Introduction
The Liferay application provides strong tools for website design as well as appearance customization. Stylebooks provide users with a tool to create global styles through definition methods instead of theme modifications. Which situation would warrant implementing a theme-based design versus selecting the stylebook-only solution? This entry examines Liferay stylebook distinctions while presenting users with configuration procedures for Stylebooks in Liferay.
Prerequisites
  • Liferay 7.4
Understanding stylebooks in liferay
The configuration sets known as Stylebooks inside Liferay provide global design guidelines for your site that incorporate all design aspects from fonts to colors to spacing. The application creates visual coherence directly from the theme’s code without altering its underlying structure.Stylebooks allow you to:
  • Your site pages should use uniform color schemes and typography formats.
  • You should explain how to set the spacing characteristics and configure border radius and create shadow effects.
  • You can modify buttons and cards together with background styles.
  • The system enables administrators to change theme configurations without requiring a new code deployment.
Theme vs No Theme : Choosing the Right Approach
  1. Using a Theme with Stylebooks

Implementing a theme with Stylebook functionality becomes the best choice when your site needs complex designs along with customized CSS and extensive visual modifications.

When to Use a Theme with Stylebooks

    • A distinctive design must have extensive customized features.
    • A theme enables you to apply its built-in styles and adjust them through the Stylebook tool.
    • Your site needs tailored page template designs together with sophisticated component design elements.
    • Programming developers take part in theme alteration and extension work.

How to Apply a Stylebook to a Themed Site

    • Go to Site Administration → Design → Stylebooks
    • Create a new stylebook.
Create new stylebook
    • Customize colors, fonts, and other style properties.
Modify values of pre-defined style properties
    • Click Publish to apply changes across the site.

Frontend Token Definition for Custom Themes

You can create Frontend Tokens when using your own theme so Stylebooks can dynamically modify theme properties. Frontend Tokens function as variables for which Stylebooks offer the capability to override.

Frontend Token definition in your theme occurs through the following process:

Your custom theme becomes modifiable with dynamically changing properties through Frontend Tokens when you enable this feature for Stylebooks to override your theme properties. The frontend tokens serve as variables which Stylebooks can modify.

To define frontend tokens in your theme :

    1. Locate the frontend-token-definition.json file inside your theme’s src/WEB-INF directory.

Location of frontend-token-defination.json file
    1. Define your tokens, such as colors, typography, or spacing:
Define tokens for colors, spacing and typography

For reference : https://github.com/liferay/liferay-portal/blob/master/modules/apps/frontend-theme/frontend-theme-dialect/src/WEB-INF/frontend-token-definition.json

    1. Deploy the theme and apply a Stylebook to see real-time changes.
Custom frontend tokens from custom theme
Custom colors
Custom spacing
  1. Using Only Stylebooks (No Theme)

A site built for simple functionality or handled by design teams who lack development training should use Stylebooks without the addition of themes for best results.

When to Use Only Stylebooks

    • Your site requires minimal maintenance together with quick page loading.
    • The website depends on native Liferay arrangements instead of implementing customized theme elements.
    • Your main goal is to enable non-developers to make style changes independently from the developers.
    • The current project scope does not demand created CSS or JavaScript scripts from developers.

How to Apply Stylebooks Without a Theme

    • Open Site Administration and then select Design followed by Stylebooks from the dropdown.
    • Click Create New Stylebook.
    • Create color designs as well as typeface selections and spacing standards and button design parameters.
    • Apply the Stylebook to your site after saving it.
    • The review process ensures page consistency then additional adjustments can be made.

Note : Since the Classic Theme is applied by default, we cannot change the properties. We can only modify the values of predefined properties using Stylebooks.

Modify values of pre-defined style properties
Conclusion

Your project must evaluate between theme-based styling and Stylebook-only function to determine its best fit. Stylebooks together with a theme provide better flexibility for extensive customization options and developer assistance. An efficient style management solution is provided through Stylebooks when sites need to maintain global styles without coding.

Teams using Liferay Stylebooks maintain a visually unified site with no effort required since the platform offers these tools in both implementation approaches. The use of frontend token definitions alongside predefined properties enables you to maintain smooth design updates that result in consistent page appearance.

Explore Our Services

Discover how we can help your business thrive, whether you’re running a small startup, an SME, or a large enterprise. We’re here to understand your unique needs and goals, offering the expertise and resources to support your journey to success.
Stay informed about our Liferay services and updates by subscribing to our newsletter—just fill in the details below to subscribe.

Loading
Loading...

Related Blogs

September 23, 2024
Custom Element using Client Extension
Custom Element Using Client Extension
December 30, 2024
API Builder In Liferay
API Builder In Liferay
January 31, 2025
Implementing a Centralized Logging System for Liferay
Implementing a Centralized Logging System for Liferay
Loading...

Featured Projects Portfolios

March 21, 2024
EPF Government Enterprise Website _ Multilingual, Access for Member, Employer, Corporate - New
EPF Government Enterprise Website : Multilingual, Access for Member, Employer, Corporate
June 19, 2024
Music License Management Portal _ Onboarding & Data Integrity
Music License Management Portal : Onboarding & Data Integrity
November 29, 2024
Employee Intranet Portal for Government Entity
Employee Intranet Portal for Government Entity

Digital Solutions for Your Business with IGNEK

4.9

5.0

5.0

5.0

LOGO

Making the world a better place through constructing elegant hierarchies

COMPANY

  • About
  • Career
  • Case Study
  • Blogs

SERVICES

  • Enterprise Portal Development
  • Dedicated Development Team
  • Back-end Development
  • Front-end Development
  • Digital Transformation
  • SaaS Development

HIRE US

  • Liferay
  • Spring Boot
  • ReactJS
  • Healthcare
  • MERN Stack
  • AEM

CONTACT

  • info@ignek.com
  • info@ignek.com
SALES
  • sales@ignek.com
  • (+91) 635 157 6580
CAREER
  • hr@ignek.com
  • (+91) 932 849 5160
  • E 910-912, Ganesh Glory 11, Jagatpur Road, SG Highway, Ahmedabad, Gujarat - 382470

© 2018-2025 IGNEK, Inc. All rights reserved

Linkedin Facebook X-twitter Instagram