feat: integrate tabbed color picker into extension popup
Replace native color inputs with swatch divs wired to the shared tabbed picker widget for global and per-subreddit color controls. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -82,13 +82,14 @@ fieldset label {
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
fieldset input[type="color"] {
|
||||
fieldset .rt-color-swatch {
|
||||
width: 40px;
|
||||
height: 24px;
|
||||
border: 1px solid #ccc;
|
||||
border-radius: 3px;
|
||||
padding: 1px;
|
||||
cursor: pointer;
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
fieldset input[type="text"] {
|
||||
@@ -201,6 +202,14 @@ fieldset input[type="text"] {
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.subreddit-entry-colors .rt-color-swatch {
|
||||
width: 40px;
|
||||
height: 24px;
|
||||
border: 1px solid #ccc;
|
||||
border-radius: 3px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
/* --- Color Picker Widget --- */
|
||||
.rt-color-picker {
|
||||
margin: 8px 0;
|
||||
|
||||
Reference in New Issue
Block a user