Lightness is a small static website that allows users to view a palette of varying lightness based on the hue of an input color. This repository contains the completed version of the final challenge for the ProgWeb course in the Media Engineering department at HEIG-VD. Additionally, this repository serves as a base for a containerization exercise given in the ArchiDep course.
| Feature | Description | |
|---|---|---|
| βοΈ | Architecture | Follows a basic structure, with source files in src. Key files include index.html and app.js. |
| π | Integrations | Uses Vite as a web application bundler. |
| π¦ | Dependencies | Key dependencies include invert-color, notyf, and color-convert. Vite is a dev dependency. |
βββ /
βββ package.json
βββ package-lock.json
βββ src
βββ app.js
βββ index.html
βββ modules
β βββ Color.js
β βββ utils.js
βββ style.cssRequirements
Ensure you have the following dependencies installed on your system:
- Node.js:
22.12.0
- Clone the repository:
git clone https://github.com/simonpinkas/Lightness/- Change to the project directory:
cd Lightness- Install the dependencies:
npm ciUse the following command to run the dev server:
npm startUse the following command to bundle the app:
npm run build