Skip to content

Commit

Permalink
Added glow to state word in notifs ↞ [auto-sync from `adamlui/chatgpt…
Browse files Browse the repository at this point in the history
…-apps`]
  • Loading branch information
adamlui authored and kudo-sync-bot committed Jul 25, 2024
1 parent 360a080 commit f838820
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions greasemonkey/duckduckgpt.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@
// @description:zu Yengeza izimpendulo ze-AI ku-DuckDuckGo (inikwa amandla yi-GPT-4o!)
// @author KudoAI
// @namespace https://kudoai.com
// @version 2024.7.24
// @version 2024.7.25
// @license MIT
// @icon https://media.ddgpt.com/images/icons/duckduckgpt/icon48.png?af89302
// @icon64 https://media.ddgpt.com/images/icons/duckduckgpt/icon64.png?af89302
Expand Down Expand Up @@ -504,7 +504,8 @@
if (foundState) {
const styledState = document.createElement('span')
styledState.style.cssText = `font-weight: bold ; color: ${
foundState == menuState.word[0] ? 'rgb(239, 72, 72)' : '#5cef48' }`
foundState == menuState.word[0] ? '#ef4848 ; text-shadow: rgba(255, 169, 225, 0.44) 2px 1px 5px'
: '#5cef48 ; text-shadow: rgba(255, 250, 169, 0.38) 2px 1px 5px' }`
styledState.append(foundState) ; notif.insertBefore(styledState, notif.children[2])
}
}
Expand Down

0 comments on commit f838820

Please sign in to comment.