I’ve converted the default tailwind color palette from javascript to an inkscape palette that you can download from here and copy to your palette folder.
Tailwind CSS is my favourite CSS Framework. Although Tailwind is highly customizable, it comes with great defaults, for example a gorgeous color palette.
Inkscape is a great, free vector graphics design tool that supports custom color palettes in GIMP’s palette format (.gpl). To be able to use the tailwind’s color palette in inkscape, I’ve created a custom color palette for inkscape that you can download and use.
This can come in handy, if one of the following is true:
Preferences window by pressing CTRL+Shift+p in Inkscape and select System in the menu on the left. The palette folder is shown under User palettes. Click the button on the right to open it in the file explorer.%APPDATA%\inkscape\palettes)Tailwind CSS from the popup as shown in the screenshot below.
To get the get a colors tailwindCSS name, you can hover over the color with the mouse.
Swatches window by pressing Ctrl+Shift+w and clicking on the Left-Arrow icon and selecting Tailwind CSS from the list of palettes.
…and you are done!
As the file format is a Gimp palette, it can also be used as in gimp and the approach is similar.
tailwindcss.gpl to gimp’s palette folder, e.g. %APPDATA%\GIMP\2.10\palettes on windows.Palettes window by clicking Windows -> Dockable Dialogs -> Palettes
Palette Editor by double-clicking the icon Tailwind CSS
I’ve written a small F# tool that did the conversion for me, it’s hosted on github.