alfred-flat-ui-colors
v0.1.0
Published
An Alfred Workflow to get Flat UI Colors fast
Downloads
1
Readme
An Alfred workflow to get Flat UI Colors fast
Gain access to 280 handpicked colors from 14 palettes, ready for COPY & PASTE through this Alfred workflow. It utilizes Flat UI Colors 2 by Ahmet Sulek (unofficially). Requires Node.js >=18 along with Alfred 4 or later with the paid Powerpack upgrade to operate.
Getting started
Prerequisites
You need Node.js 18+ and Alfred 4 or later with the paid Powerpack upgrade.
Install
npm install --global alfred-flat-ui-colors
Usage
In Alfred, type flat
and press ↩ Enter. To find a specific color, enter a query with a color name. The chosen color's hex code will be copied to your clipboard and pasted into the frontmost app.
Hold down ⌘ CMD while selecting a color to reveal its hex value. Press ⌥ OPTION to display the RGB code of the chosen color. For copying and pasting the RGB code, continue holding ⌥ OPTION and press ↩ Enter.
Development
Clone the repository
git clone https://github.com/drunkensouljah/alfred-flat-ui-colors.git
Install dependencies
npm install
Run tests
npm run test
🤝 Contributing
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
See the open issues for a full list of proposed features (and known issues).
Changelog
[0.0.2] - 2023-11-15
- Add functionality to output RGB color codes
- Introducing modifier-keys for displaying (and copy and paste) hex and RGB color codes.
[0.0.1] - 2023-11-14
- First release. Add basic functionality to copy and paste hex color code when pressed
Show your support
Give a ⭐️ if this project helped you!
📝 License
Copyright © 2023 Daniel Blatt. This project is MIT licensed.
👏 Credits
This open source project was made possible with the help of the following individuals, libraries, and resources:
- Palettes | Flat UI Colors 🎨 280 handpicked colors ready for COPY & PASTE
- palettes.json generated with akx/flat-ui-colors-json
- jimp-dev/jimp: An image processing library written entirely in JavaScript for Node, with zero external or native dependencies.
- sindresorhus/alfy: Create Alfred workflows with ease
- Alfred - Productivity App for macOS