Skip to content

Commit d769820

Browse files
committed
✨ Add Chrome theme integration support
Add comprehensive Chrome browser theming with SilkCircuit colors - Add manifest.json with neon purple frame and electric cyan accents - Create chrome-pages.css for styling internal Chrome pages - Add devtools-theme.css for developer tools integration - Add detailed README with installation methods and customization - Update extras documentation with Chrome theme section - Configure toolbar, tabs, and new tab page styling - Support both developer mode and direct installation methods - Include advanced theming for DevTools and internal pages Provides complete browser integration with SilkCircuit color scheme for consistent neon aesthetics across development environment.
1 parent 8b1dee3 commit d769820

File tree

6 files changed

+473
-0
lines changed

6 files changed

+473
-0
lines changed

extras/README.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,28 @@ cp extras/warp.yaml ~/.warp/themes/silkcircuit.yaml
6666
# Windows Terminal - import JSON manually in settings
6767
```
6868

69+
### 🌐 Chrome Theme (`chrome-theme/`)
70+
71+
Bring SilkCircuit's vibrant colors to your browser:
72+
73+
- **Neon purple** frame and toolbar
74+
- **Electric cyan** links and accents
75+
- **Pure magenta** highlights
76+
- **Dark theme** optimized for developer tools
77+
78+
**Setup:**
79+
80+
```bash
81+
# Method 1: Developer Mode
82+
# 1. Open chrome://extensions/
83+
# 2. Enable "Developer mode"
84+
# 3. Click "Load unpacked"
85+
# 4. Select the chrome-theme directory
86+
87+
# Method 2: Direct drag & drop
88+
# Drag the chrome-theme folder onto chrome://extensions/
89+
```
90+
6991
### 🎨 Enhanced Tools
7092

7193
Additional tool configurations for the complete experience:
562 Bytes
Binary file not shown.

extras/chrome-theme/README.md

Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
# SilkCircuit Chrome Theme
2+
3+
A vibrant Chrome theme featuring neon purples, electric pinks, and glowing cyan accents to match your SilkCircuit Neovim experience.
4+
5+
## Installation
6+
7+
### Method 1: Developer Mode (Recommended)
8+
9+
1. Open Chrome and navigate to `chrome://extensions/`
10+
2. Enable "Developer mode" in the top right
11+
3. Click "Load unpacked"
12+
4. Select the `silkcircuit-nvim/extras/chrome-theme` directory
13+
5. The theme will be applied immediately
14+
15+
### Method 2: Direct Installation
16+
17+
1. Open Chrome and navigate to `chrome://extensions/`
18+
2. Drag and drop the `chrome-theme` folder onto the page
19+
3. Click "Add theme" when prompted
20+
21+
## Color Scheme
22+
23+
The theme uses SilkCircuit's signature neon palette:
24+
25+
- **Frame**: Deep purple background (#12101a)
26+
- **Toolbar**: Matching dark purple
27+
- **Tabs**: Light text on dark background
28+
- **Accents**: Electric purple tints
29+
- **Links**: Glowing cyan (#80ffea)
30+
- **Headers**: Pure magenta (#ff00ff)
31+
32+
## Customization
33+
34+
To modify the colors, edit `manifest.json`:
35+
36+
- `frame`: Browser frame background
37+
- `toolbar`: Toolbar and bookmark bar
38+
- `tab_text`: Active tab text color
39+
- `ntp_background`: New tab page background
40+
- `ntp_link`: New tab page link colors
41+
42+
## Compatibility
43+
44+
- Chrome 88+
45+
- Chromium-based browsers (Edge, Brave, etc.)
46+
47+
## Advanced Theming
48+
49+
### DevTools Theme
50+
51+
To theme Chrome DevTools with SilkCircuit colors:
52+
53+
1. Install a DevTools theme extension like [DevTools Theme: Zero Dark Matrix](https://chrome.google.com/webstore/detail/devtools-theme-zero-dark/bomhdjeadceaggdgfoefmpeafkjhegbo)
54+
2. Open DevTools → Settings → Experiments
55+
3. Enable "Allow extensions to load custom stylesheets"
56+
4. Load the `devtools-theme.css` file through the extension
57+
58+
### Chrome Internal Pages
59+
60+
To theme Chrome's settings, extensions, and other internal pages:
61+
62+
1. Install [Stylus](https://chrome.google.com/webstore/detail/stylus/clngdbkpkpeebahjckkjfobafhncgmne) extension
63+
2. Click the Stylus icon → "Manage"
64+
3. Create new style → Import the `chrome-pages.css` file
65+
4. Add URL patterns:
66+
- `chrome://*`
67+
- `chrome-extension://*`
68+
69+
### Complete Integration
70+
71+
For the full SilkCircuit experience across Chrome:
72+
73+
1. **Base theme**: Load via chrome://extensions/
74+
2. **DevTools**: Apply via DevTools theme extension
75+
3. **Internal pages**: Apply via Stylus or similar
76+
77+
This gives you consistent neon aesthetics throughout your entire browser!
78+
79+
## License
80+
81+
MIT - Same as SilkCircuit Neovim theme
Lines changed: 156 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,156 @@
1+
/* SilkCircuit Chrome Internal Pages Theme
2+
* Use with Stylus or similar extension to theme chrome:// pages
3+
* Add URL patterns: chrome://*, chrome-extension://*
4+
*/
5+
6+
@-moz-document regexp("chrome://.*"), regexp("chrome-extension://.*") {
7+
:root {
8+
/* Override Chrome's color variables */
9+
--cr-primary-text-color: #f8f8f2 !important;
10+
--cr-secondary-text-color: #9580ff !important;
11+
--cr-card-background-color: #1a162a !important;
12+
--cr-card-shadow-color-ambient: rgba(225, 53, 255, 0.1) !important;
13+
--cr-card-shadow-color-key: rgba(225, 53, 255, 0.2) !important;
14+
--cr-checked-color: #e135ff !important;
15+
--cr-focused-item-color: rgba(225, 53, 255, 0.2) !important;
16+
--cr-form-field-label-color: #80ffea !important;
17+
--cr-link-color: #80ffea !important;
18+
--cr-menu-background-color: #12101a !important;
19+
--cr-menu-background-focus-color: #1a162a !important;
20+
--cr-menu-shadow-color-ambient: rgba(225, 53, 255, 0.15) !important;
21+
--cr-menu-shadow-color-key: rgba(225, 53, 255, 0.3) !important;
22+
--cr-separator-color: rgba(225, 53, 255, 0.3) !important;
23+
--cr-title-text-color: #ff00ff !important;
24+
--cr-toolbar-background-color: #0a0812 !important;
25+
26+
/* Toggle/Switch colors */
27+
--cr-toggle-color: #9580ff !important;
28+
--cr-toggle-checked-bar-color: #e135ff !important;
29+
--cr-toggle-checked-button-color: #ff00ff !important;
30+
--cr-toggle-checked-ripple-color: rgba(255, 0, 255, 0.3) !important;
31+
32+
/* Button colors */
33+
--cr-button-background-color: #1a162a !important;
34+
--cr-button-border-color: #e135ff !important;
35+
--cr-button-text-color: #f8f8f2 !important;
36+
--cr-button-hover-background-color: #2a264a !important;
37+
38+
/* Input fields */
39+
--cr-input-background-color: #1a162a !important;
40+
--cr-input-border-color: #637777 !important;
41+
--cr-input-border-color-focus: #e135ff !important;
42+
--cr-input-border-color-hover: #80ffea !important;
43+
--cr-input-error-color: #ff6363 !important;
44+
--cr-input-focus-color: rgba(225, 53, 255, 0.3) !important;
45+
46+
/* Selection colors */
47+
--cr-active-background-color: #e135ff !important;
48+
--cr-focus-outline-color: #80ffea !important;
49+
--cr-hover-background-color: rgba(225, 53, 255, 0.1) !important;
50+
--cr-selected-background-color: rgba(225, 53, 255, 0.2) !important;
51+
}
52+
53+
/* Background for all chrome pages */
54+
body {
55+
background-color: #12101a !important;
56+
color: #f8f8f2 !important;
57+
}
58+
59+
/* Settings page specific */
60+
settings-ui::part(container) {
61+
background-color: #12101a !important;
62+
}
63+
64+
/* Extensions page */
65+
extensions-manager {
66+
--cr-toolbar-height: 56px;
67+
background-color: #12101a !important;
68+
}
69+
70+
/* Cards */
71+
.cr-card,
72+
extensions-item {
73+
background-color: #1a162a !important;
74+
border: 1px solid rgba(225, 53, 255, 0.2) !important;
75+
}
76+
77+
/* Hover effects */
78+
.cr-button:hover,
79+
.cr-icon-button:hover,
80+
.cr-link-button:hover {
81+
background-color: rgba(225, 53, 255, 0.1) !important;
82+
}
83+
84+
/* Downloads page */
85+
downloads-manager {
86+
background-color: #12101a !important;
87+
}
88+
89+
downloads-item {
90+
background-color: #1a162a !important;
91+
border-bottom: 1px solid rgba(225, 53, 255, 0.2) !important;
92+
}
93+
94+
/* History page */
95+
history-app {
96+
background-color: #12101a !important;
97+
}
98+
99+
/* Bookmarks */
100+
bookmarks-folder-node,
101+
bookmarks-item {
102+
background-color: #1a162a !important;
103+
}
104+
105+
/* Search boxes */
106+
cr-toolbar-search-field {
107+
background-color: #1a162a !important;
108+
border-color: #637777 !important;
109+
}
110+
111+
cr-toolbar-search-field:focus-within {
112+
border-color: #e135ff !important;
113+
}
114+
115+
/* Scrollbars */
116+
::-webkit-scrollbar {
117+
width: 12px;
118+
height: 12px;
119+
}
120+
121+
::-webkit-scrollbar-track {
122+
background: #0a0812 !important;
123+
}
124+
125+
::-webkit-scrollbar-thumb {
126+
background: #9580ff !important;
127+
border-radius: 6px;
128+
}
129+
130+
::-webkit-scrollbar-thumb:hover {
131+
background: #e135ff !important;
132+
}
133+
134+
/* Selection */
135+
::selection {
136+
background-color: #e135ff !important;
137+
color: #12101a !important;
138+
}
139+
140+
/* Links */
141+
a {
142+
color: #80ffea !important;
143+
}
144+
145+
a:hover {
146+
color: #5fffff !important;
147+
}
148+
149+
/* Code blocks */
150+
code,
151+
pre {
152+
background-color: #0a0812 !important;
153+
color: #ff99ff !important;
154+
border: 1px solid rgba(225, 53, 255, 0.3) !important;
155+
}
156+
}

0 commit comments

Comments
 (0)