Skip to content

Commit

Permalink
Changed light scheme app div BG particles color to blue ↞ [auto-sync …
Browse files Browse the repository at this point in the history
  • Loading branch information
kudo-sync-bot committed Jan 31, 2025
1 parent 88f5f66 commit fcd0079
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions chatgpt/bravegpt/bravegpt.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-Brave Search (inikwa amandla yi-GPT-4o!)
// @author KudoAI
// @namespace https://kudoai.com
// @version 2025.1.30.8
// @version 2025.1.30.9
// @license MIT
// @icon https://assets.bravegpt.com/images/icons/bravegpt/icon48.png?v=df624b0
// @icon64 https://assets.bravegpt.com/images/icons/bravegpt/icon64.png?v=df624b0
Expand Down Expand Up @@ -182,7 +182,7 @@
// @require https://cdn.jsdelivr.net/npm/@kudoai/[email protected]/dist/chatgpt.min.js#sha256-+C0x4BOFQc38aZB3pvUC2THu+ZSvuCxRphGdtRLjCDg=
// @require https://cdnjs.cloudflare.com/ajax/libs/crypto-js/4.2.0/crypto-js.min.js#sha256-dppVXeVTurw1ozOPNE3XqhYmDJPOosfbKQcHyQSE58w=
// @require https://assets.aiwebextensions.com/lib/crypto-utils.js/dist/crypto-utils.min.js?v=37e0d7d#sha256-xRkis9u0tYeTn/GBN4sqVRqcCdEhDUN16/PlCy9wNnk=
// @require https://assets.aiwebextensions.com/lib/dom.js/dist/dom.min.js?v=89fbf65#sha256-/EgED9SPTv8tS4G5b0X5/FnHAsMppAnhvPUpRQUiJA4=
// @require https://assets.aiwebextensions.com/lib/dom.js/dist/dom.min.js?v=0195359#sha256-xcOM7QjvlXqcQzvUexsDRZ7Kujdsvy7bXhb2mcYHZfw=
// @require https://cdn.jsdelivr.net/npm/[email protected]/dist/generate-ip.min.js#sha256-aQQKAQcMgCu8IpJp9HKs387x0uYxngO+Fb4pc5nSF4I=
// @require https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/highlight.min.js#sha256-g3pvpbDHNrUrveKythkPMF2j/J7UFoHbUyFQcFe1yEY=
// @require https://cdn.jsdelivr.net/npm/[email protected]/dist/katex.min.js#sha256-n0UwfFeU7SR6DQlfOmLlLvIhWmeyMnIDp/2RmVmuedE=
Expand All @@ -192,6 +192,7 @@
// @resource bgptLSlogo https://assets.bravegpt.com/images/logos/bravegpt/lightmode/logo730x155.png.b64?v=a76e718#sha256-gGomHdYcs/AE4Ep8dAJhPFbCX6uyHmb38vi9hWYJZLI=
// @resource bgptDSlogo https://assets.bravegpt.com/images/logos/bravegpt/darkmode/logo730x155.png.b64?v=a76e718#sha256-2Qx4bTS8s7dKj4m2dsJdPnijThaYRwYQMi30+KjtopI=
// @resource hljsCSS https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/dark.min.css#sha256-v0N76BFFkH0dCB8bUr4cHSVN8A/zCaOopMuSmJWV/5w=
// @resource rpbCSS https://assets.aiwebextensions.com/styles/rising-particles/dist/blue.min.css?v=0195359#sha256-ZTNsuOLeW4j59Tz54DwA88QPG/NKX1GUnGj5jRFI004=
// @resource rpgCSS https://assets.aiwebextensions.com/styles/rising-particles/dist/gray.min.css?v=727feff#sha256-48sEWzNUGUOP04ur52G5VOfGZPSnZQfrF3szUr4VaRs=
// @resource rpwCSS https://assets.aiwebextensions.com/styles/rising-particles/dist/white.min.css?v=727feff#sha256-6xBXczm7yM1MZ/v0o1KVFfJGehHk47KJjq8oTktH4KE=
// @grant GM_getValue
Expand Down Expand Up @@ -580,7 +581,7 @@
}})

// Export DEPENDENCIES to dom.js
dom.imports.import({ config, env }) // for config.bgAnimationsDisabled + env.ui.app.scheme in dom.addRisingParticles()
dom.imports.import({ config, env }) // for config.bgAnimationsDisabled + env.ui.app.scheme in addRisingParticles()

// Define MENU functions

Expand Down Expand Up @@ -3630,7 +3631,8 @@
// Build answer interface up to reply section if missing
if (!appDiv.querySelector('pre')) {
appDiv.textContent = ''
dom.addRisingParticles(appDiv)
dom.addRisingParticles(appDiv, { lightScheme: 'blue' })


// Create/append title
const appHeaderLogo = logos.braveGPT.create() ; appHeaderLogo.width = 104
Expand Down Expand Up @@ -3930,7 +3932,7 @@
['anchored', 'expanded', 'sticky', 'wider'].forEach(mode =>
(config[mode] || config[`${mode}Sidebar`]) && appDiv.classList.add(mode))
app.styles = dom.create.style() ; update.appStyle() ; document.head.append(app.styles);
['rpg', 'rpw', 'hljs'].forEach(cssType => // gray rising particles, white rising particles, code highlighting
['rpb', 'rpg', 'rpw', 'hljs'].forEach(cssType => // rising particles, code highlighting
document.head.append(dom.create.style(GM_getResourceText(`${cssType}CSS`))))

// Create/stylize TOOLTIPs
Expand Down

0 comments on commit fcd0079

Please sign in to comment.