Skip to content

Commit 73e1370

Browse files
committed
Initial commit
0 parents  commit 73e1370

100 files changed

Lines changed: 28886 additions & 0 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Auto detect text files and perform LF normalization
2+
* text=auto

.github/workflows/static.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# Simple workflow for deploying static content to GitHub Pages
2+
name: Deploy static content to Pages
3+
4+
on:
5+
# Runs on pushes targeting the default branch
6+
push:
7+
branches: ["main"]
8+
9+
# Allows you to run this workflow manually from the Actions tab
10+
workflow_dispatch:
11+
12+
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
13+
permissions:
14+
contents: read
15+
pages: write
16+
id-token: write
17+
18+
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
19+
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
20+
concurrency:
21+
group: "pages"
22+
cancel-in-progress: false
23+
24+
jobs:
25+
# Single deploy job since we're just deploying
26+
deploy:
27+
environment:
28+
name: github-pages
29+
url: ${{ steps.deployment.outputs.page_url }}
30+
runs-on: ubuntu-latest
31+
steps:
32+
- name: Checkout
33+
uses: actions/checkout@v4
34+
- name: Setup Pages
35+
uses: actions/configure-pages@v5
36+
- name: Upload artifact
37+
uses: actions/upload-pages-artifact@v3
38+
with:
39+
# Upload entire repository
40+
path: './site'
41+
- name: Deploy to GitHub Pages
42+
id: deployment
43+
uses: actions/deploy-pages@v4

LICENSE

Lines changed: 674 additions & 0 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# Color PickUp
2+
3+
**Color PickUp** is a minimalist color picker extension and web tool designed to help you inspect, convert, and organize color palettes from a clean, responsive popup.
4+
5+
The interface is divided into three key functional areas:
6+
7+
### 1. The Top Control Bar
8+
9+
Divided into two streamlined groups to keep your workspace uncluttered:
10+
11+
- **Left Controls:** Includes the **Clear History** button to wipe your custom palette, the **Color Picker** shortcut, the **Eye Dropper** tool, and a dynamic **Tile Size** field to scale the size of color tiles (from 8px to 128px) dynamically across the entire application.
12+
- **Right Tools:** Houses the **Reload UI** utility, the **Theme Toggle** (for seamless Light/Dark mode transitions), and standard links to **Support** and **Donation** pages (hidden automatically when run as a standalone web application).
13+
14+
### 2. The Main Workspace
15+
16+
Consists of an adaptive dual-column layout:
17+
18+
- **Color Preview Block (Left):** Displays a large preview of your active color. Clicking this area triggers your operating system or browser's native color picker. _(Please note: the visual style of the native color picker varies depending on your platform and operating system)._
19+
- **Conversion Panel (Right):** Displays the selected color automatically converted into six standard formats: **HEX, HSB, RGB, HSL, HWB, and CMYK**. Clicking any field copies the formatted code to your clipboard instantly while showing a subtle popup alert.
20+
21+
### 3. Palette Sections
22+
23+
Located at the bottom of the interface, this area features collapsible, grid-based accordions containing several predefined palettes (Artistic, Favorite, UI Design, Material, Safe, etc.).
24+
25+
- Clicking any color tile automatically updates the main workspace, showing a checkmark (``) on the active tile to indicate your current selection.
26+
- The **User defined** section at the top of the list acts as your historical log. Your custom picks are saved automatically and can be cleared at any time using the **Clear History** button in the top control bar.
27+
28+
---
29+
30+
**Note on the Eye Dropper Feature:**
31+
The Eye Dropper allows you to inspect and capture colors from anywhere on your desktop screen, including areas outside of your browser window. This utilizes the modern browser `EyeDropper` API; on unsupported environments or mobile devices, the extension will gracefully notify you and prompt you to use the standard color picker block.
32+
33+
You can install this application as a Progressive Web App (PWA) on your mobile device, run it as a standalone web application, or deploy it as a browser extension on Google Chrome, Mozilla Firefox, and other Chromium-based browsers.
34+
35+
---
36+
37+
Support & FAQ: [Visit Repository](https://github.com/Pro-Bandey/Color-PickUp)

chrome/background.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
// Service Worker Initialization
2+
chrome.runtime.onInstalled.addListener((details) => {
3+
if (details.reason === chrome.runtime.OnInstalledReason.INSTALL) {
4+
console.info("Color PickUp Extension installed successfully.");
5+
}
6+
});
7+
8+
// Port communication lifecycle initialization
9+
chrome.runtime.onConnect.addListener((port) => {
10+
port.onDisconnect.addListener(() => {
11+
// Graceful teardown of communication channels when popup panel closes
12+
});
13+
});

chrome/icons/128.png

12.4 KB
Loading

chrome/icons/16.png

804 Bytes
Loading

chrome/icons/256.png

36.5 KB
Loading

chrome/icons/32.png

1.76 KB
Loading

chrome/icons/48.png

3.24 KB
Loading

0 commit comments

Comments
 (0)