Skip to content

Commit 5961706

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/chatgpt-auto-refresh]
1 parent 005ec31 commit 5961706

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

chatgpt/chatgpt-auto-refresh/chatgpt-auto-refresh.user.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@
220220
// @description:zu *NGOKUPHEPHA* susa ukusetha kabusha ingxoxo yemizuzu eyi-10 + amaphutha enethiwekhi ahlala njalo + Ukuhlolwa kwe-Cloudflare ku-ChatGPT.
221221
// @author Adam Lui
222222
// @namespace https://github.com/adamlui
223-
// @version 2025.1.29.3
223+
// @version 2025.1.29.4
224224
// @license MIT
225225
// @icon https://assets.chatgptautorefresh.com/images/icons/openai/black/icon48.png?v=f11a0a8
226226
// @icon64 https://assets.chatgptautorefresh.com/images/icons/openai/black/icon64.png?v=f11a0a8
@@ -239,7 +239,7 @@
239239
// @connect gm.chatgptautorefresh.com
240240
// @connect raw.githubusercontent.com
241241
// @require https://cdn.jsdelivr.net/npm/@kudoai/chatgpt.js@3.5.0/dist/chatgpt.min.js#sha256-+C0x4BOFQc38aZB3pvUC2THu+ZSvuCxRphGdtRLjCDg=
242-
// @resource brpCSS https://assets.aiwebextensions.com/styles/rising-particles/dist/black.min.css?v=727feff#sha256-7ycEGqwB5zKKoaW3olhaFP8yj0KEXe+Ks2kS/4iRGZM=
242+
// @resource grpCSS https://assets.aiwebextensions.com/styles/rising-particles/dist/gray.min.css?v=727feff#sha256-7ycEGqwB5zKKoaW3olhaFP8yj0KEXe+Ks2kS/4iRGZM=
243243
// @resource wrpCSS https://assets.aiwebextensions.com/styles/rising-particles/dist/white.min.css?v=727feff#sha256-6xBXczm7yM1MZ/v0o1KVFfJGehHk47KJjq8oTktH4KE=
244244
// @grant GM_setValue
245245
// @grant GM_getValue
@@ -787,15 +787,15 @@
787787
return style
788788
}
789789

790-
function addRisingParticles(targetNode) { // requires https://assets.aiwebextensions.com/styles/rising-particles/dist/<black|white>.min.css
790+
function addRisingParticles(targetNode) { // requires https://assets.aiwebextensions.com/styles/rising-particles/dist/<gray|white>.min.css
791791
if (targetNode.querySelector('[id*=particles]')) return
792792
const particlesDivsContainer = document.createElement('div')
793793
particlesDivsContainer.style.cssText = 'position: absolute ; top: 0 ; left: 0 ;' // hug targetNode's top-left corner
794794
+ 'height: 100% ; width: 100% ; border-radius: 15px ; overflow: clip ;' // bound innards exactly by targetNode
795795
+ 'z-index: -1'; // allow interactive elems to be clicked
796796
['sm', 'med', 'lg'].forEach(particleSize => {
797797
const particlesDiv = document.createElement('div')
798-
particlesDiv.id = `${ env.ui.scheme == 'dark' ? 'white' : 'black' }-particles-${particleSize}`
798+
particlesDiv.id = `${ env.ui.scheme == 'dark' ? 'white' : 'gray' }-particles-${particleSize}`
799799
particlesDivsContainer.append(particlesDiv)
800800
})
801801
targetNode.prepend(particlesDivsContainer)
@@ -950,7 +950,7 @@
950950
env.ui.firstLink = chatgpt.getNewChatLink();
951951

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

955955
toggles.sidebar.insert()
956956

0 commit comments

Comments
 (0)