Tailwind Color Picker
A simple color picker for Tailwind CSS and Radix UI color palettes.
How it works
The extension is built in 2 parts:
- A Swift package that provides a native color picker. The picked color is then logged to stdout.
- The actual Raycast extension which invokes the native color picker, reads the stdout to get the picked RGBA color. It then translates the color to the closest color in the Tailwind or Radix UI color palette.
Devlopment
This is a Turborepo with two workspaces, the root Raycast extension as well as a Swift package for the color picker.
- Install deps
npm install
- Build everything (Turbo will cache so the native package isn't compiled over and over)
npx turbo build
- Run the extension
npm run dev
You will then see the Pick Radix Color
& Pick Tailwind Color
commands in Raycast.