Skip to content

Commit 005ec31

Browse files
committed
Changed light scheme modal BG to use gray rising particles ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions/tree/main/autoclear-chatgpt-history]
1 parent fc871cd commit 005ec31

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

chatgpt/autoclear-chatgpt-history/autoclear-chatgpt-history.user.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@
225225
// @description:zu Ziba itshala lokucabanga okuzoshintshwa ngokuzenzakalelayo uma ukubuka chatgpt.com
226226
// @author Adam Lui
227227
// @namespace https://github.com/adamlui
228-
// @version 2025.1.29.2
228+
// @version 2025.1.29.3
229229
// @license MIT
230230
// @icon https://assets.autoclearchatgpt.com/images/icons/openai/black/icon48.png?v=f461c06
231231
// @icon64 https://assets.autoclearchatgpt.com/images/icons/openai/black/icon64.png?v=f461c06
@@ -243,7 +243,7 @@
243243
// @connect gm.autoclearchatgpt.com
244244
// @connect raw.githubusercontent.com
245245
// @require https://cdn.jsdelivr.net/npm/@kudoai/chatgpt.js@3.5.0/dist/chatgpt.min.js#sha256-+C0x4BOFQc38aZB3pvUC2THu+ZSvuCxRphGdtRLjCDg=
246-
// @resource brpCSS https://assets.aiwebextensions.com/styles/rising-particles/dist/black.min.css?v=727feff#sha256-7ycEGqwB5zKKoaW3olhaFP8yj0KEXe+Ks2kS/4iRGZM=
246+
// @resource grpCSS https://assets.aiwebextensions.com/styles/rising-particles/dist/gray.min.css?v=727feff#sha256-7ycEGqwB5zKKoaW3olhaFP8yj0KEXe+Ks2kS/4iRGZM=
247247
// @resource wrpCSS https://assets.aiwebextensions.com/styles/rising-particles/dist/white.min.css?v=727feff#sha256-6xBXczm7yM1MZ/v0o1KVFfJGehHk47KJjq8oTktH4KE=
248248
// @grant GM_setValue
249249
// @grant GM_getValue
@@ -753,15 +753,15 @@
753753
return style
754754
}
755755

756-
function addRisingParticles(targetNode) { // requires https://assets.aiwebextensions.com/styles/rising-particles/dist/<black|white>.min.css
756+
function addRisingParticles(targetNode) { // requires https://assets.aiwebextensions.com/styles/rising-particles/dist/<gray|white>.min.css
757757
if (targetNode.querySelector('[id*=particles]')) return
758758
const particlesDivsContainer = document.createElement('div')
759759
particlesDivsContainer.style.cssText = 'position: absolute ; top: 0 ; left: 0 ;' // hug targetNode's top-left corner
760760
+ 'height: 100% ; width: 100% ; border-radius: 15px ; overflow: clip ;' // bound innards exactly by targetNode
761761
+ 'z-index: -1'; // allow interactive elems to be clicked
762762
['sm', 'med', 'lg'].forEach(particleSize => {
763763
const particlesDiv = document.createElement('div')
764-
particlesDiv.id = `${ env.ui.scheme == 'dark' ? 'white' : 'black' }-particles-${particleSize}`
764+
particlesDiv.id = `${ env.ui.scheme == 'dark' ? 'white' : 'gray' }-particles-${particleSize}`
765765
particlesDivsContainer.append(particlesDiv)
766766
})
767767
targetNode.prepend(particlesDivsContainer)
@@ -930,7 +930,7 @@
930930
env.ui.firstLink = chatgpt.getNewChatLink();
931931

932932
// Add RISING PARTICLES styles
933-
['brp', 'wrp'].forEach(cssType => document.head.append(createStyle(GM_getResourceText(`${cssType}CSS`))))
933+
['grp', 'wrp'].forEach(cssType => document.head.append(createStyle(GM_getResourceText(`${cssType}CSS`))))
934934

935935
toggles.sidebar.insert()
936936

0 commit comments

Comments
 (0)