Skip to main content

Overview

Custom themes in Cristalyse offer complete flexibility to express your brand’s unique style. Design themes with specific colors, typography, spacing, and other visual elements to ensure consistency across all charts.

Designing a Custom Theme

Theme Properties

Customize various properties:
  • Colors: Define primary, secondary, background, and accent colors.
  • Typography: Adjust fonts, sizes, and weights.
  • Dimensions: Set padding, margins, and element sizes.

Creating Themes

Design a theme matching your brand:

Applying Themes

Apply themes in charts:

Theme Variants

Light and Dark Modes

Create matching themes for light and dark modes:

Responsive Themes

Adjust theme properties based on screen size:

Gradient Themes (Experimental)

New Experimental Feature in v1.6.0:Create stunning gradient effects for your charts with category-specific gradient mapping.Not advisable for Production use as of v1.6.0.

Creating Gradient Themes

Define gradients for specific categories in your data:

Gradient Types

Linear Gradients

Smooth color transitions along a line:

Radial Gradients

Circular color transitions from center outward:

Sweep Gradients

Angular color transitions around a center point:

Applying Gradient Themes

Use gradient themes with color mapping:
Important: Gradients only work when you specify color mapping in your chart. Without color: 'columnName', charts will use solid colors from the color palette.

Supported Chart Types

Gradient themes currently support:
  • Bar Charts - Full gradient support with alpha blending
  • Point/Scatter Charts - Gradient fills for data points
  • Line Charts - Not yet supported (solid colors only)
  • Area Charts - Not yet supported (solid colors only)
  • Bubble Charts - Not yet supported (solid colors only)

Advanced Customization

Theme Extensions

Add additional properties using extensions:

Dynamic Themes

Change themes in response to user actions and preferences:

Corporate Branding

Match your organization’s color scheme and brand identity.

Responsive Design

Automatic adjustments for different device sizes and resolutions.

Theme Persistence

Save and restore user preferences for consistent experiences.

Interactive Theming

Real-time adjustments and theme switching based on user actions.

Next Steps

Performance

Enhance theme application with performance optimizations.

Export

Export charts with customized themes for visual consistency.

Data Mapping

Explore data mapping techniques for thematic accuracy.

Animations

Combine custom themes with dynamic animations for engaging visuals.

Conclusion

Utilize custom themes to ensure charts are a seamless part of your application’s visual identity. By leveraging Cristalyse’s flexible theming capabilities, create charts that not only convey data but also resonate with your brand’s aesthetics.