Skip to content

Commit

Permalink
fix(prompt-textarea/temporary-chat): Address text color issue in prom…
Browse files Browse the repository at this point in the history
…pt textarea for temporary chat

- Fix the text color in the prompt textarea for temporary chats in light themes

Changes summary:
- Addressed a visual issue:
  - Ensured the text color in the prompt textarea in temporary chat is readable and consistent with the light theme, improving the overall user experience.
  • Loading branch information
itsmartashub committed Sep 16, 2024
1 parent fe296c2 commit f433905
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 7 deletions.
21 changes: 15 additions & 6 deletions src/popup/changes.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,25 @@
const RELEASE_CHANGES = `
<h3>🛠️ Improvements</h3>
<ul>
<li>Increased scrollbar width for better usability</li>
<li>Add style to <code>code</code> text in chat bubbles to match the GPThemes</li>
<li>Many minor enhancements</li>
<li>Theme changes made in GPT settings are now reflected in the GPThemes theme, and vice versa, to maintain consistency across the board.</li>
<li>The application of themes across the extension has been enhanced to ensure consistency, which was previously broken due to new OpenAI's code loading techniques.</li>
</ul>
<h3>🐛 Bug Fixes</h3>
<ul>
<li>Fixed broken prompt textarea due to recent OpenAI changes</li>
<li>Fixed broken <code>Upgrade Your Plan</code> dialog due to recent OpenAI changes</li>
<li>Scrollbar styling issues caused by recent OpenAI changes have been resolved.</li>
<li>The OLED theme display has been fixed in dialogs and GPT Stores.</li>
</ul>
<h3>🔧 Under the Hood</h3>
<ul>
<li>Storage management has been optimized for better efficiency.</li>
<li>Significant code improvements have been made to enhance maintanability.</li>
</ul>
<h3>⚠️ Known Issue</h3>
<ul>
<li>A minor theme inconsistency remains on shared chat pages due to recent ChatGPT updates. Custom accent colors are not applied due to OpenAI's new dynamic code loading, which overrides some extension code.</li>
</ul>
`

Expand Down
3 changes: 2 additions & 1 deletion src/sass/elements/_right--textarea.scss
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ main form {
}
}



/* @mentions in textarea */
.absolute.bottom-16:has(>.popover) {
.popover {
Expand Down Expand Up @@ -124,7 +126,6 @@ main form {
}
}


/* In DALLE there are random button examples above the textarea: ➕ Mosaic, ➕ 3D Wireframe, ➕ Claymation and shuffle btn, and arround that is some ugly gradient */
.absolute:has(.bg-gradient-to-t) {
.from-token-main-surface-primary {
Expand Down
6 changes: 6 additions & 0 deletions src/sass/global/_colors-txts.scss
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@
color: var(--c-subtext-1) !important;
}

/* Temp textarea text */
.text-token-text-primary {
--text-primary: var(--c-txt) !important;
// color: var(--text-primary);
}

/*
- GPTs Page - "Discover and create custom versions of ChatGPT that combine instructions, extra knowledge, and any - combination of skills.
- Footer - "ChatGPT can make mistakes. Consider checking important information."
Expand Down

0 comments on commit f433905

Please sign in to comment.