A Chrome extension that adds beautiful gradient backgrounds to ChatGPT with customizable themes and message box controls.
-
3 Beautiful Gradient Themes:
- Custom Radial: Multi-layered radial gradients with vibrant colors
- Sunset: Pink and purple sunset gradient
- Ocean: Deep blue ocean gradient (Grok V5 inspired)
-
Smart Text Color Management:
- Light themes: Black text for optimal readability
- Ocean theme: White chat text, black sidebar/input text
-
Message Box Toggle:
- Show/hide gray background boxes around messages
- Clean, minimal chat appearance option
-
Instant Application:
- Changes apply immediately without page refresh
- Persistent settings across sessions
- Go to the GitHub repository
- Click the green "Code" button
- Select "Download ZIP"
- Extract the ZIP file to a folder on your computer
- Open Google Chrome
- Navigate to
chrome://extensions/or:- Click the three dots menu (⋮) in the top right
- Go to More tools → Extensions
- Toggle "Developer mode" ON (top right corner)
- Click "Load unpacked" button
- Navigate to the folder where you extracted the ZIP file
- Select the folder containing the extension files
- Click "Select Folder"
- Click the extensions puzzle piece icon in the Chrome toolbar
- Find "ChatGPT Gradient" in the list
- Click the pin icon (📌) to pin it to your toolbar
- Navigate to ChatGPT: Go to chat.openai.com
- Open Extension: Click the ChatGPT Gradient icon in your Chrome toolbar
- Select Theme: Click on any gradient button:
- Custom Radial: Colorful multi-layered gradient
- Sunset: Warm pink/purple gradient
- Ocean: Deep blue gradient with white chat text
- Instant Application: The gradient applies immediately!
- In the extension popup, find the "Message Boxes" section
- Toggle the switch to show/hide gray boxes around messages
- ON: Normal message boxes (default)
- OFF: Clean, minimal appearance without boxes
chatgpt-gradient-extension/
├── manifest.json # Extension configuration
├── popup.html # Extension popup interface
├── popup.js # Popup functionality
├── content.js # Main extension logic
├── styles.css # Gradient and styling definitions
└── README.md # This file
- Edit Files: Modify any of the extension files as needed
- Reload Extension:
- Go to
chrome://extensions/ - Find "ChatGPT Gradient"
- Click the refresh icon (🔄)
- Go to
- Test Changes: Refresh ChatGPT page to see updates
- Add CSS: Define new gradient in
styles.css:
html.gradient-newtheme,
body.gradient-newtheme {
background: your-gradient-here !important;
background-attachment: fixed !important;
min-height: 100vh !important;
}- Update HTML: Add button to
popup.html:
<button class="gradient-option your-preview-class" data-gradient="gradient-newtheme">
New Theme
</button>- Add Preview: Create preview styles in
popup.html<style>section
- Check Developer Mode: Ensure it's enabled in
chrome://extensions/ - Reload Extension: Click refresh icon in extensions page
- Check Console: Open DevTools (F12) for error messages
- Refresh Page: Try refreshing ChatGPT page
- Check URL: Extension only works on
chat.openai.com - Clear Cache: Clear browser cache and try again
- Try Different Theme: Ocean theme has white text, others have black
- Check Message Boxes: Toggle message boxes for better contrast
- Manifest Version: 3
- Permissions:
activeTab,storage - Content Scripts: Injects CSS into ChatGPT pages
- Storage: Uses Chrome's storage API for persistence
This project is open source. Feel free to modify and distribute according to your needs.
- Fork the repository
- Create your feature branch
- Commit your changes
- Push to the branch
- Open a Pull Request
Created for enhancing the ChatGPT user experience with beautiful gradient backgrounds.
Enjoy your beautiful ChatGPT gradients! 🌈