Tag: Theming
By default, Vaadin components are rendered with minimal base styles. These provide a neutral foundation—useful when you want to build a custom theme from scratch or create a look that differs from the built-in options.
Theming Vaadin applications: a practical guide
The appearance of a web application plays a key role in the user experience and how your Vaadin application will be accepted in your Usergroup. With Vaadin's powerful theming system and style options, you can customize your application's design to meet the requirements of corporate brandings and ...
Simplified Theming in Vaadin 24
Vaadin 24 introduces a simplified approach to styling Vaadin components based on the ::part() selector. It removes the need for component-specific stylesheets, simplifies many common use cases, and is fully based on native CSS. New theming documentation, including CSS selector references for ...
Toggle between light and dark theme in Vaadin Flow
Updated to Vaadin Flow 24 on 2023-02-23 A common question we get from Vaadin developers is how to switch on the dark theme variant dynamically. In this tutorial, I’ll show you how to turn it on permanently, and how to dynamically apply the dark variant to the entire application or only parts of it. ...
Dynamic Theming in Vaadin Flow
The application with different theme variants Whether for multi-tenancy or user preference, the need to dynamically change the theming of an application is a common business application need. In this post, we show how it’s done using CSS custom properties and HTML attributes. Vaadin 14.6 brought an ...
Building a chatbot app in Java
Ever since I played my first role-based video game, I’ve been interested in chatbots (aka chatterbots). How could I implement something like this? Sure, I could code a bunch of if...else statements, but that sounded like a lot of work. Some years ago, I discovered AIML (Artificial Intelligence ...
Vaadin Core Elements 2 Roadmap
Polymer 2 support, more components, and theming support These are exciting times for Web developers. More and more browsers have shipped native support for Web Components, allowing us to rely less on polyfills and finally realize the full potential of Web Components. You might have seen that Google ...
Making your Vaadin app easy to theme
As a Vaadin Designer, I spend a lot of time theming Other People’s Apps. Unfortunately, as I have learned over the years, many people seem to end up building apps that don’t like to be themed. If you, however, want to reduce the time and effort needed to theme your app, then here are some best ...