colorize Tailwind Templates

Colorize

🎨 Utility module offering multiple colours from the Tailwind palette available in https://tailwindcss.com/docs/customizing-colors.

🎨 Colorize

When you develop discord bots, you have to use colors in your embeds. Either you have a color code beforehand, or you usually spend a lot of time choosing a color that suits you by trial and error...

In order to solve this problem, the @discord-factory/colorize module provides you with a wide range of colors based on the tailwind color palette.

Getting started

In order to use the module, you must first have installed it with the following command :

npm install @discord-factory/colorize
yarn add @discord-factory/colorize

You can now use it in your embeds as below :

import Colors from '@discord-facory/colorize'
import { MessageEmbed } from 'discord.js'

const embed = new MessageEmbed({
  description: 'My embed !',
  color: Colors.INVISIBLE, 👈 // Please select your prefered color
})

Top categories

Loading Svelte Themes