Skip to content

Commit 301918f

Browse files
committed
Condensed CSS color declarations ↞ [auto-sync from https://github.com/KudoAI/chatgpt.js-chrome-starter]
1 parent b8aa765 commit 301918f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

starters/chrome/extension/content.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@
4747
if (foundState) {
4848
const styledStateSpan = dom.create.elem('span')
4949
styledStateSpan.style.cssText = `color: ${
50-
foundState == 'OFF' ? '#ef4848 ; text-shadow: rgba(255, 169, 225, 0.44) 2px 1px 5px'
51-
: '#5cef48 ; text-shadow: rgba(255, 250, 169, 0.38) 2px 1px 5px' }`
50+
foundState == 'OFF' ? '#ef4848 ; text-shadow: rgba(255,169,225,0.44) 2px 1px 5px'
51+
: '#5cef48 ; text-shadow: rgba(255,250,169,0.38) 2px 1px 5px' }`
5252
styledStateSpan.append(foundState) ; notif.append(styledStateSpan)
5353
}
5454
}

starters/chrome/extension/popup/style.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ a:focus, a:hover { text-decoration: underline ; color: inherit }
5050
}
5151
.menu-icon { padding: 8px }
5252
.menu-area:focus, .menu-area:hover { /* add hover color/cursor */
53-
color: var(--bg) ; background: rgb(100, 149, 237) ; cursor: pointer }
53+
color: var(--bg) ; background: rgb(100,149,237) ; cursor: pointer }
5454
.menu-item:hover span:not(.slider) { filter: invert(1) } /* invert setting labels on hover */
5555
.menu-item > label > .slider { transform: scale(0.95) ; top: 1px } /* make child toggles smaller */
5656
.menu-prompt { margin-left: 2px } /* align non-toggle items */

0 commit comments

Comments
 (0)