Skip to content

Commit 148a9d0

Browse files
alexremoonclaude
andcommitted
feat: comprehensive UI overhaul and improvements
- Complete TUI-style redesign with orange theme (#C15F3C) - Auto dark/light theme detection based on DevTools - Added Phosphor icons for all UI elements - Keyboard shortcuts (Cmd+Enter/Ctrl+Enter) for prompt submission - Periodic connection status checking with version display - Fixed layout scrolling and responsive behavior - Improved element details with multiline display - Auto-resizing textarea with proper constraints - Persistent checkbox preferences in localStorage - Fixed image clipboard to work only on macOS - Updated README with simplified installation instructions - Replaced icon.svg with claude.png/claude.svg consistently - Added --version flag to host server - Fixed send button state management after submission - Element selection now properly resets after sending 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent ead4ba2 commit 148a9d0

19 files changed

Lines changed: 602 additions & 380 deletions

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ jobs:
3131
cd claude-devtools-host
3232
pnpm install --no-frozen-lockfile
3333
34+
- name: Copy README to package
35+
run: |
36+
cp README.md claude-devtools-host/
37+
3438
- name: Package Chrome Extension
3539
run: |
3640
cd chrome-devtools-extension

README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,15 @@ pnpm add -g @alexstrnik/claude-devtools
2222

2323
### 2. Install the Chrome extension
2424

25-
**Option A: Download latest release**
25+
**Option A: Download latest release** (Easiest)
2626
1. Go to [Releases](https://github.com/AlexStrNik/claude-devtools/releases/latest)
2727
2. Download `claude-devtools-extension-vX.X.X.zip`
28-
3. Extract the zip file
29-
4. Open Chrome → Extensions → Developer mode
30-
5. Click **Load unpacked** → select the extracted folder
28+
3. Open Chrome → Extensions → Enable **Developer mode**
29+
4. **Drag and drop** the zip file directly onto the Extensions page
3130

3231
**Option B: Clone from source**
3332
1. Clone this repo: `git clone https://github.com/AlexStrNik/claude-devtools`
34-
2. Open Chrome → Extensions → Developer mode
33+
2. Open Chrome → Extensions → Enable **Developer mode**
3534
3. Click **Load unpacked** → select `chrome-devtools-extension` folder
3635

3736
### 3. Start the host server
78.1 KB
Loading
Lines changed: 7 additions & 0 deletions
Loading

chrome-devtools-extension/content.css

Lines changed: 20 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@
33
position: fixed !important;
44
pointer-events: none !important;
55
z-index: 999999 !important;
6-
border: 2px solid #007aff !important;
7-
background-color: rgba(0, 122, 255, 0.1) !important;
6+
border: 2px solid #C15F3C !important;
7+
background-color: rgba(193, 95, 60, 0.1) !important;
88
box-sizing: border-box !important;
99
display: none !important;
10+
border-radius: 2px !important;
1011
}
1112

1213
.claude-devtools-highlighter.active {
@@ -15,13 +16,13 @@
1516

1617
.claude-devtools-label {
1718
position: fixed !important;
18-
background: #007aff !important;
19-
color: white !important;
19+
background: #C15F3C !important;
20+
color: #F4F3EE !important;
2021
font-size: 11px !important;
2122
padding: 2px 6px !important;
22-
border-radius: 3px !important;
23-
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
24-
font-weight: 500 !important;
23+
border-radius: 2px !important;
24+
font-family: "SF Mono", Monaco, "Cascadia Code", "Roboto Mono", Consolas, "Courier New", monospace !important;
25+
font-weight: normal !important;
2526
white-space: nowrap !important;
2627
z-index: 1000000 !important;
2728
pointer-events: none !important;
@@ -38,7 +39,7 @@
3839
left: 0 !important;
3940
width: 100vw !important;
4041
height: 100vh !important;
41-
background: rgba(0, 0, 0, 0.3) !important;
42+
background: rgba(42, 38, 33, 0.4) !important;
4243
z-index: 999998 !important;
4344
pointer-events: none !important;
4445
}
@@ -48,20 +49,22 @@
4849
top: 20px !important;
4950
left: 50% !important;
5051
transform: translateX(-50%) !important;
51-
background: #1a1a1a !important;
52-
color: white !important;
53-
padding: 12px 20px !important;
54-
border-radius: 8px !important;
55-
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
56-
font-size: 14px !important;
52+
background: #2A2621 !important;
53+
color: #F4F3EE !important;
54+
padding: 8px 12px !important;
55+
border-radius: 2px !important;
56+
font-family: "SF Mono", Monaco, "Cascadia Code", "Roboto Mono", Consolas, "Courier New", monospace !important;
57+
font-size: 12px !important;
5758
z-index: 1000001 !important;
5859
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
5960
}
6061

6162
.claude-devtools-instructions .key {
62-
background: #333 !important;
63+
background: rgba(244, 243, 238, 0.2) !important;
64+
color: #C15F3C !important;
6365
padding: 2px 6px !important;
64-
border-radius: 3px !important;
65-
font-size: 12px !important;
66+
border-radius: 2px !important;
67+
font-size: 11px !important;
6668
margin: 0 2px !important;
69+
border: 1px solid rgba(193, 95, 60, 0.3) !important;
6770
}

chrome-devtools-extension/content.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ class ClaudeDevTools {
5656
this.instructions = document.createElement("div");
5757
this.instructions.className = "claude-devtools-instructions";
5858
this.instructions.innerHTML = `
59-
Click any element to select • <span class="key">ESC</span> to cancel
59+
Click any element to select • Click "Cancel Picking" to stop
6060
`;
6161
document.body.appendChild(this.instructions);
6262

chrome-devtools-extension/devtools.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Create the Claude DevTools panel
22
chrome.devtools.panels.create(
33
"Claude",
4-
"icon.svg",
4+
"claude.svg",
55
"panel.html",
66
function (panel) {
77
console.log("Claude DevTools panel created");

chrome-devtools-extension/icon.svg

Lines changed: 0 additions & 25 deletions
This file was deleted.

chrome-devtools-extension/manifest.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"manifest_version": 3,
33
"name": "Claude DevTools",
4-
"version": "1.0.0",
4+
"version": "0.0.6",
55
"description": "Pick elements and send them to Claude with React/Angular/Vue component detection",
66
"permissions": ["activeTab", "storage", "tabs", "debugger", "scripting"],
77
"host_permissions": ["<all_urls>"],
@@ -10,10 +10,10 @@
1010
},
1111
"devtools_page": "devtools.html",
1212
"icons": {
13-
"16": "icon.svg",
14-
"32": "icon.svg",
15-
"48": "icon.svg",
16-
"128": "icon.svg"
13+
"16": "claude.png",
14+
"32": "claude.png",
15+
"48": "claude.png",
16+
"128": "claude.png"
1717
},
1818
"content_scripts": [
1919
{

0 commit comments

Comments
 (0)