Theming and Customization
Default Theme

Default Theme Color Palette

The defaultTheme object defines the color palette for both light and dark modes in your application. Below are the details of the colors used in the theme.

Fonts

Spacing

  • Spacing: 16px (You can adjust this according to your design needs)

Colors

The default theme includes a comprehensive color palette designed to provide a cohesive and visually appealing user interface. Below are the key color categories used in the theme:

Light Mode

ElementPropertyColor ValueColor Preview
Borderborder#eee
Backgroundbackground#ffffff
Midnightmidnight#303030
Whitewhite#ffffff
Primaryprimary.DEFAULT#fd3f0f
primary.accent#ffffff
primary.foreground#3d3d3d
Secondarysecondary.DEFAULT#d1d5db
secondary.foreground#9ca3af
Successsuccess.DEFAULT#f0fdf4
success.foreground#166534
Cardcard.DEFAULT#f4f4f5
Disableddisabled.DEFAULT#f3f4f6
disabled.foreground#9ca3af
Panelpanel.DEFAULT#fff7ed
panel.foreground#FED7CB
Badgebadge.error#ffe4e6
badge.errorForeground#f87171
badge.info#fed7aa
badge.infoForeground#ea580c

Dark Mode

Note:

ℹ️

For now, the default theme's dark mode colors are similar to the light mode colors. We will update them later, so feel free to adjust the colors according to your preference.

ElementPropertyColor ValueColor Preview
Borderborder#eee
Backgroundbackground#ffffff
Midnightmidnight#303030
Primaryprimary.DEFAULT#fd3f0f
primary.accent#ffffff
primary.foreground#3d3d3d
Secondarysecondary.DEFAULT#d1d5db
secondary.foreground#9ca3af
Successsuccess.DEFAULT#f0fdf4
success.foreground#166534
Cardcard.DEFAULT#f4f4f5
Disableddisabled.DEFAULT#f3f4f6
disabled.foreground#9ca3af
Panelpanel.DEFAULT#fff7ed
panel.foreground#FED7CB
Badgebadge.error#ffe4e6
badge.errorForeground#f87171
badge.info#fed7aa
badge.infoForeground#ea580c

Color Variants

Primary Colors

ShadeLight ModeDark ModeColor Preview
500#fb923c#97316
400#fb923c#fb923c
300#fdba74#fdba74
200#fed7aa#fed7aa
100#ffedd5#ffedd5

Secondary Colors

ShadeLight ModeDark ModeColor Preview
500#404040#404040

Default Theme Implementation Overview

The SDK ensures the application of the default theme, providing a cohesive and visually appealing user experience. You can compare the colors and see where they are utilized within the components.

For a hands-on experience, explore the hosted example of the Tenderize SDK (opens in a new tab).

SDK