Skip to content

Commit cadb32d

Browse files
authored
Merge pull request #7 from ModuleArt/release/v1.0.8
v1.0.8
2 parents 650eabf + c422cef commit cadb32d

Some content is hidden

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

87 files changed

+2409
-470
lines changed

README.md

Lines changed: 34 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<p align="center">
22
<a href="https://moduleart.github.io/plaincolor">
3-
<img src='/src-tauri/icons/128x128.png' height="96px" />
3+
<img src='https://moduleart.github.io/assets/images/projects/plain-color/icon.webp' height="96px" />
44
</a>
55
</p>
66
<h1 align="center">PlainColor</h1>
@@ -23,20 +23,22 @@
2323

2424
## ⬇️ Download
2525

26-
- <a href="https://github.com/ModuleArt/plain-color/releases/download/v1.0.7/PlainColor_1.0.7_aarch64.dmg">macOS: dmg</a>
27-
- Windows: Coming soon...
28-
- Linux: Coming soon...
26+
- macOS: <a href="https://github.com/ModuleArt/plain-color/releases/download/v1.0.8/PlainColor_1.0.8_aarch64.dmg">dmg</a>
27+
- Windows: exe | microsoft store | chocolatey - Coming soon...
28+
- Linux: flathub | appimage | deb - Coming soon...
2929

3030
## 🚀 Features
3131

32-
- 🔍 Magnifying glass
33-
- 🎨 Custom palettes
34-
- 📋 A lot of copy options
32+
- 🔍 <b>Picker</b> - Pick a color from your screen with advanced magnifying glass
33+
- 🎨 <b>Custom palettes</b> - Organize your colors with palettes. Name colors and add them to palettes to use in your projects
34+
- Export palette to `JSON` `CSS / SASS variables` `JavaScript object`
35+
- Import colors from `JSON` `Tailwind CSS default colors`
36+
- 📋 <b>A lot of color formats</b> - Copy your colors as:
3537
- `#HEX` `HEX` `#hex` `hex`
3638
- `rgb()` `R,G,B` `color(display-p3)`
3739
- `hsl()` `H,S,L`
3840
- `cmyk()` `C,M,Y,K`
39-
- 🍎 Great macOS support
41+
- 🍎 <b>Great macOS support</b>
4042
- Works on top of menu bar and fullscreen windows
4143

4244
### Coming soon
@@ -54,27 +56,33 @@ Want more? Open a <a href="https://github.com/ModuleArt/plain-color/issues/new">
5456

5557
If you want to report a bug, first, thank you, that helps us a lot. Please open an <a href="https://github.com/ModuleArt/plain-color/issues/new">issue</a> and mention your OS, your PlainColor version, and how to reproduce it. Adding a screenshot of the issue or screen recording is a big help too.
5658

57-
## 🔮 Future Plans
59+
## 🔮 Roadmap
5860

59-
### v1.0.8
61+
### v1.0.9
6062

61-
- Fix: Color name, Palette name white-space
62-
- ColorCard: Checkboard background for alpha colors
63-
- ColorCard: Add ability to type/paste HEX value
64-
- Prepend default palette (Apple colors)
63+
- ❗ Improve list performance (infinite scroll)
64+
- ❗ Fix: Color/Palette name white-space
65+
- ❗ Fix context menu height (check on different window heights)
66+
- ❗ Hide context menu on scroll
67+
- ❗ Animation on export palette content copied
68+
- ❗ Fix: Cannot copy/select text in inputs/textareas
69+
- ❗ ColorCard: Add ability to type/paste HEX value
70+
- Picker: Pinch to zoom
6571
- Move picker with arrows (step = 1px), make sure it cannot be out of screen bounds
72+
- Instant copy shortcut `CommandOrControl+Shift+C`
73+
- Export to image (with preview, mb use canvas)
74+
- Prepend default palette: Apple colors (integrate with import feature?)
6675

6776
### v1.1.x
6877

69-
- <a href="https://icon.kitchen/">New app icon</a>
70-
- <a href="https://v2.tauri.app/plugin/updater/">Add updater</a>
71-
- Add picker sound (Funny mouth sound, with ability to turn off)
72-
- Better color wheel: Add inputs for values (hex, rgba, etc.)
78+
- ❗ <a href="https://v2.tauri.app/plugin/updater/">Add updater</a>
79+
- ❗ Better color wheel: Add inputs for values (hex, rgba, etc.)
7380
- Add ability to reorder colors
74-
- More quick copy options
81+
- More color formats:
7582
- Common:
76-
- RGB/RGBA from 0 to 1 `0,36; 0,18; 0,57`
77-
- HSB/HSV `268, 69, 57`
83+
- 🖥️ RGB/RGBA from 0 to 1 `0,36; 0,18; 0,57`
84+
- 🎨 HSB/HSV `268, 69, 57`
85+
- 💈 Oklab `oklch(40.1% 0.123 21.57)`
7886
- Native:
7987
- 🖥️ NSColor RGB
8088
- 🖥️ NSColor HSB
@@ -87,6 +95,8 @@ If you want to report a bug, first, thank you, that helps us a lot. Please open
8795
- 🌊 .NET RGB/ARGB
8896
- ☕ Java RGB/RGBA
8997
- 📱 Android RGB/ARGB
90-
- Tray icon
91-
- Picker shortcut `Command + Shift + M`
92-
- Instant picker shortcut `Ctrl + Shift + M` (?)
98+
- Custom color formatter
99+
- Add ability to change global shortcuts
100+
- Add picker sound (Funny mouth sound, with ability to turn off)
101+
- New button pressed animation: scale down
102+
- Control Select with arrows up/down

docs/ICONS.md

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
# How to generate new icons
2+
3+
### 1. Generate images using [IconKitchen](https://icon.kitchen/i/H4sIAAAAAAAAA1WOuw7CMAxF%2F8WsHTpn5QeQ6IYYHOI8RIJLHiBU9d9xstWD5Xt0fe0NPhgbFVAbGMzPxVMiUBZjoQmsW36rSAgJHUEHFzQmvFz3V15BzRPk4Hwdk%2BZaOY0xku1sF%2BiuHkdKeTfMPUa7M0fOgk7zqMEOt2QxsWmxv3aDwEUsX9LSEz5E3fc%2FhbNzy7sAAAA%3D)
4+
5+
Settings:
6+
7+
- Icon: `Image`
8+
- Place the app icon
9+
- Scaling: `Center`
10+
- Mask: `Off`
11+
- Effect: `None`
12+
- Padding: `0%`
13+
- Background: `Image`
14+
- Place the transparent empty png
15+
- Texture: `None`
16+
17+
### 2. macOS icon
18+
19+
- Place `AppIcon.icns` from the generated `/macos` folder into `/src-tauri/icons/icon.icns`
20+
21+
### 3. Web icons
22+
23+
- Place `apple-touch-icon.png`, `favicon.ico`, `icon-192-maskable.png`, `icon-192.png`, `icon-512-maskable.png`, `icon-512.png` from the generated `/web`folder into `/public`
24+
- Append these lines to `index.html` or `{{ window name }}.html`:
25+
26+
```
27+
<link rel="icon" href="/favicon.ico" sizes="any" />
28+
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
29+
```
30+
31+
- Add `icons` field to `/public/manifest.json` file or create a `/public/manifest.json` with the following content:
32+
33+
```json
34+
{
35+
"manifest_version": 3,
36+
"name": "PlainColor",
37+
"version": "1.0.0",
38+
"description": "A basic example extension with only required keys",
39+
"icons": [
40+
{ "src": "/favicon.ico", "type": "image/x-icon", "sizes": "16x16 32x32" },
41+
{ "src": "/icon-192.png", "type": "image/png", "sizes": "192x192" },
42+
{ "src": "/icon-512.png", "type": "image/png", "sizes": "512x512" },
43+
{ "src": "/icon-192-maskable.png", "type": "image/png", "sizes": "192x192", "purpose": "maskable" },
44+
{ "src": "/icon-512-maskable.png", "type": "image/png", "sizes": "512x512", "purpose": "maskable" }
45+
]
46+
}
47+
```
48+
49+
### 4. Tauri icons
50+
51+
- Place `favicon.ico` from the generated `/web` folder into `/src-tauri/icons/icon.ico`
52+
- Place `icon-512.png` from the generated `/web` folder into `/src-tauri/icons/icon.png`
53+
- Replace all other `.png` images inside the `/src-tauri/icons` folder by resizing the generated`/web/icon-512.png` into different sizes (check an existing image size before replacing)

index.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
66
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
77
<title>PlainColor</title>
8+
<link rel="icon" href="/favicon.ico" sizes="any">
9+
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
810
</head>
911

1012
<body>

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "plain-color",
33
"private": false,
4-
"version": "1.0.7",
4+
"version": "1.0.8",
55
"type": "module",
66
"scripts": {
77
"dev": "vite",
@@ -14,6 +14,10 @@
1414
"@phosphor-icons/react": "^2.1.7",
1515
"@tauri-apps/api": "^2",
1616
"@tauri-apps/plugin-clipboard-manager": "^2.0.0",
17+
"@tauri-apps/plugin-dialog": "~2",
18+
"@tauri-apps/plugin-fs": "~2",
19+
"@tauri-apps/plugin-global-shortcut": "~2",
20+
"@tauri-apps/plugin-http": "~2",
1721
"@tauri-apps/plugin-os": "~2",
1822
"@tauri-apps/plugin-process": "^2.0.0",
1923
"@tauri-apps/plugin-shell": "^2",

picker.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
<head>
44
<meta charset="UTF-8" />
55
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6-
<title>PlainColor Magnifying Glass</title>
6+
<title>PlainColor Picker</title>
7+
<link rel="icon" href="/favicon.ico" sizes="any">
8+
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
79
</head>
810

911
<body>

public/apple-touch-icon.png

14.2 KB
Loading

public/favicon.ico

5.12 KB
Binary file not shown.

public/icon-192-maskable.png

15.1 KB
Loading

public/icon-192.png

14.8 KB
Loading

public/icon-512-maskable.png

73.4 KB
Loading

0 commit comments

Comments
 (0)