Versatile color palette and themable colors ready for your next project.
Our color system is divided into three categories:
Tailwind CSS Defaults: The default colors provided by Tailwind CSS.
Wedges Palette: A set of core colors that are consistent across all themes.
Themable Colors: Configurable colors that adapt and change based on the active theme.
Wedges Palette
When using the Wedges color palette, you need to prefix color names with wg-, for example: bg-wg-gray-500. The default Tailwind CSS colors are available without the prefix.
Gray•wg-gray
50#F7F7F8
100#EBEBEF
200#D1D1DB
300#A9A9BC
400#8A8AA3
500*#6C6C89
600#55556D
700#3F3F50
800#282833
900#121217
Yellow•wg-yellow
50#FFF9EB
100#FFF3D6
200#FFE7AD
300#FFDA85
400#FFCE5C
500*#FFC233
600#FAAF00
700#C28800
800#8A6100
900#523900
Green•wg-green
50#EEFBF4
100#DFF8EA
200#B2EECC
300#84E4AE
400#56D990
500*#2DCA72
600#26A95F
700#1E874C
800#17663A
900#0F4527
Blue•wg-blue
50#F0FAFF
100#DBF3FF
200#ADE4FF
300#70D1FF
400#38BEFF
500*#00ACFF
600#0090D6
700#0075AD
800#005985
900#003E5C
Purple•wg-purple
50#F4F1FD
100#E2DAFB
200#C6B6F7
300#A991F3
400#8D6CEF
500*#7047EB
600#5423E7
700#4316CA
800#3712A5
900#2B0E81
Orange•wg-orange
50#FFF2EE
100#FFE8E1
200#FFCDBD
300#FFB399
400#FF9876
500*#FF7D52
600#FF571F
700#EB3A00
800#B82E00
900#852100
Red•wg-red
50#FEF0F4
100#FDD8E1
200#FBB1C4
300#F98BA6
400#F76489
500*#F53D6B
600#F3164E
700#D50B3E
800#AF0932
900#880727
Pink•wg-pink
50#FEECFB
100#FDDDF8
200#FCC5F3
300#FA99EA
400#F87CE4
500*#F75FDE
600#F42AD3
700#DB0BB9
800#A5088C
900#70065F
Example
Color Scale
Similar to Tailwind CSS, the Wedges color palette utilizes a 10-step, graded color scale, along with a DEFAULT value. This default value is applied when no specific grade is provided through a class, such as in bg-wg-blue.
for example:
Customization
These colors can be customized under the colors key in the theme section of your tailwind.config.ts file:
Themable Colors
Themable colors are configurable and can adapt with multiple themes. By default, themable colors will adapt to dark and light themes, but you can easily add more themes to your project.
The following themable colors are available:
Background
Foreground
Primary
Secondary
Destructive
Surface
By default, background and foreground colors are applied to the <html> element.
Example
Toggle between light and dark mode to preview each theme.
Easy PeasyLemon Squeezy
Color Scale
Themable color scale is more flexible than Wedges Palette color scale, it is defined like this:
This structure allows for a wide range of customization options, adapting to various design needs.
Default Values
The default themable colors are defined as follows:
Customization
For optimal results, we suggest creating a ten-step graded color scale for your custom colors. You may find these online tools helpful in generating custom color scales: Palettte and Eva Design System.
Themable colors can be customized by adding options to the wedgesTW plugin in your tailwind.config.ts file. For instance, to use yellow as the primary color for dark theme only, you can set it like this:”
If you want to use one of the Wedges Color Palette colors, wedgesPalette can be imported from @lemonsqueezy/wedges, for example:
This will set all ten steps of the yellow color scale as the primary color for the dark theme.
Ensure that these changes are applied to the wedgesTW plugin options, rather than the theme
section in your tailwind.config.ts file.