Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

tlbx-ai/DimWit

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DimWit

Chrome extension that brings back X's Dim dark mode (#15202B) by replacing the Lights Out pure black theme.

DimWit Screenshot

Install from Chrome Web Store

Here it is: https://chromewebstore.google.com/detail/dim-mode-on-x-grokipedia/dofhdndlcebmacdidimdjaomdjlbgmjj

Install manually

  1. Clone or download this repo
  2. Open chrome://extensions
  3. Enable Developer mode
  4. Click Load unpacked and select the src/ folder

How it works

DimWit uses CSS overrides and a lightweight MutationObserver to replace Lights Out colors with their Dim equivalents:

Lights Out Dim Usage
#000000 #15202B Main background
#16181C #1A2734 Elevated surfaces
#1D1F23 #1E2D3D Hover states
#2F3336 #38444D Borders/dividers
#202327 #253341 Input fields

CSS handles static styles, the MutationObserver catches dynamically injected inline styles as X loads content.

Chrome Web Store publishing

The GitHub Actions workflow (.github/workflows/publish.yml) publishes automatically when you push a v* tag.

Required GitHub secrets:

Secret Source
EXTENSION_ID Chrome Web Store dashboard
CLIENT_ID Google Cloud Console → OAuth 2.0
CLIENT_SECRET Google Cloud Console → OAuth 2.0
REFRESH_TOKEN OAuth flow via chrome-webstore-upload-cli

License

MIT

Releases

Packages

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.