AlexxNica / colors-app

A PWA for copying values from popular color palettes. Supports HEX, RGB, and HSL formats.

Home Page:https://colors.now.sh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

colors-app

Copy color values from popular palettes. Supports HEX, RGB, and HSL formats.

Current Palettes
Why?

One night I asked myself, "Self, what can I build in two hours using Preact?" πŸ€”
The initial version took less than 2 hours and I was pretty happy with it.* πŸ˜„

Additional features (and other changes) have and will continue to improve this web app.

* I got a head start by using fly-kit-preact. Webpack users may want to see preact-starter instead!

Install

git clone https://github.com/lukeed/colors-app
npm install
npm start

❗ Pro Tip: Use Yarn to install dependencies 3x faster than NPM!

Development

Commands

Any of the following commands can (and should πŸ˜‰) be run from the command line.

If using Yarn, all instances of npm can be replaced with yarn. πŸ‘Œ

build

$ npm run build

Compiles all files. Output is sent to the dist directory.

start

$ npm start

Executes build and runs your application (from the dist directory) in the browser.

watch

$ npm run watch

Like start, but will auto-compile & auto-reload the server after any file changes within the src directory.

License

MIT Β© Luke Edwards

About

A PWA for copying values from popular color palettes. Supports HEX, RGB, and HSL formats.

https://colors.now.sh

License:MIT License


Languages

Language:JavaScript 78.0%Language:CSS 17.9%Language:HTML 4.1%