Electron Color Picker
Introduction
A color picker tool built on top of Electron and Angular. It's also a project I use to learn Electron.
Features
- Pick colors from your screen. (Support multiple screen)
- Copy color text
Development
Read known issues before you getting start.
Requirements
Angular CLI needs Node 10.9 or later.
If you want to use angular-cli globally:
npm install -g @angular/cli
Getting Started
Install dependencies with npm :
npm install
Rebuild Electron modules:
npm run electron:rebuild-modules
Start development with:
npm start
Other commands
To run application in browser:
npm run electron:serve
Then open http://localhost:4200/
Build
I only tested build process on Windows. For Mac and Linux will update later.
On Windows:
npm run electron:windows
Known Issues
- When you first time start your development with
npm run start
, the color picker function will not work as expect. If you start pick color from the screen, it will always stay at "Color pick mode". To solve this problem, usewin + d
exit to desktop and open Color Picker window then restart development session withctrl + r
.