Skip to content

Commit 592eaa5

Browse files
committed
Added/used css.js ↞ [auto-sync from https://github.com/KudoAI/chatgpt.js-chrome-starter]
1 parent fa6afa1 commit 592eaa5

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

starters/chrome/extension/components/modals.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Requires lib/<chatgpt|dom>.js + app + env
1+
// Requires lib/<chatgpt|css|dom>.js + app + env
22

33
window.modals = {
44

@@ -76,7 +76,7 @@ window.modals = {
7676
if (!modal) return // to support non-div this.open()s
7777
if (!this.styles) this.stylize() // to init/append stylesheet
7878
modal.classList.add(this.class) ; modal.parentNode.classList.add(`${this.class}-bg`)
79-
dom.addRisingParticles(modal)
79+
css.addRisingParticles(modal)
8080
},
8181

8282
observeRemoval(modal, modalType) { // to maintain stack for proper nav

starters/chrome/extension/lib/css.min.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

starters/chrome/extension/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"name": "ChatGPT Extension",
44
"short_name": "ChatGPT 🧩",
55
"description": "A Chromium extension template to start using chatgpt.js like a boss!",
6-
"version": "2026.1.21",
6+
"version": "2026.1.21.1",
77
"homepage_url": "https://github.com/KudoAI/chatgpt.js-chrome-starter",
88
"icons": { "16": "icons/icon16.png", "32": "icons/icon32.png", "64": "icons/icon64.png", "128": "icons/icon128.png" },
99
"permissions": ["activeTab", "storage"],

starters/chrome/extension/popup/controller.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
document.documentElement.classList.add('dark')
66

77
// Import JS resources
8-
for (const resource of ['components/icons.js', 'lib/dom.js', 'lib/settings.js'])
8+
for (const resource of ['components/icons.js', 'lib/css.min.js', 'lib/dom.js', 'lib/settings.js'])
99
await import(chrome.runtime.getURL(resource))
1010

1111
// Init DATA
@@ -223,7 +223,7 @@
223223
href: `https://cdn.jsdelivr.net/gh/adamlui/ai-web-extensions@71695ca/assets/styles/rising-particles/dist/${
224224
color}.min.css`
225225
})))
226-
dom.addRisingParticles(document.body, { lightScheme: env.menu.isDark ? 'white' : 'gray' })
226+
css.addRisingParticles(document.body, { lightScheme: env.menu.isDark ? 'white' : 'gray' })
227227

228228
// Init MASTER TOGGLE
229229
const masterToggle = {

0 commit comments

Comments
 (0)