Themes and Styles
Learn how to use themes and styles
Overview
Semaphore allows you to customize the appearance of your dashboard using themes and styles. You can adjust the colors, fonts, and other properties from Semaphor console to match your brand or design preferences.
You can also programatically pass customStyle property to the dashboard component for the fine-grained control over the appearance of your dashboard.
The style property provides the default and dark sub objects to customize the appearance based on the selected theme. If styles are not defined in the dark mode, the default styles are applied.
Chart Options
Semaphor uses Chart.js for data visualization, offering complete flexibility to customize every aspect of your chart. You can override the options property of the chart and set global properties for your dashboard. Alternatively, you can customize individual cards when creating the dashboard. The properties set for individual cards are more specific and override the global properties.
Bring your own CSS
You can use CSS classes to precisely customize the appearance of your dashboard. You have the option to use Tailwindcss. You can find class annotations by looking at the role attribute of your DOM elements. These annotations are useful for targeting your CSS classes. For instance, the dashboard-panel class can be extended using the dashboardPanel property in the styles object provided below.