-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyles.css
More file actions
33 lines (28 loc) · 1.17 KB
/
styles.css
File metadata and controls
33 lines (28 loc) · 1.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/* AI Chat Pinboard - Minimal external styles */
/* Most styling is now inline in content.js for better isolation */
/* Ensure sidebar host doesn't interfere with page layout */
#pinboard-host {
position: fixed !important;
top: 0 !important;
right: 0 !important;
width: 0 !important;
height: 0 !important;
overflow: visible !important;
pointer-events: none !important;
}
/* ==========================================================
Theme System — CSS Variables
The sidebar lives inside a Shadow DOM, so these variables
are defined INSIDE the shadow <style> block (content.js).
Below is the canonical reference for the two-tone theme.
========================================================== */
/*
Dark theme variables — applied on #pinboard-container:
--bg-color, --text-color, --text-secondary, --text-muted,
--border-color, --card-bg, --hover-bg, --btn-bg
Light theme — activated by .light-theme on #pinboard-container
Theme auto-detection:
On first load (no localStorage override), the extension uses
window.matchMedia('(prefers-color-scheme: dark)') in JS
to follow the OS/browser theme. Manual toggle persists to localStorage.
*/