Last active
March 1, 2023 01:56
-
-
Save shaunlebron/0dec33ca6bec4f911975e62cab7bed72 to your computer and use it in GitHub Desktop.
Google Sheets Dark Mode
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* invert the table, formula bar, cell editor, and navbar | |
and dim transparency to soften */ | |
#waffle-grid-container, | |
#formula-bar-name-box-wrapper, | |
div[role="navigation"], | |
.cell-input.editable { | |
filter: invert(); | |
opacity: 0.9; | |
} | |
/* re-invert colors inside inverted parents to restore them */ | |
.overlay-container-ltr, | |
.formula-content > span:not(.default-formula-text-color), | |
.docs-gm .docs-sheet-active-tab .docs-sheet-tab-name, | |
.docs-gm .docs-sheet-active-tab .docs-icon { | |
filter: invert(); | |
} | |
/* invert selection color manually */ | |
::selection { | |
background-color: #e58c17 !important; | |
} | |
/* Misc artifacts */ | |
.autofill-handle { | |
border-color: #333; | |
} | |
.input-box { | |
background: #000 !important; | |
} | |
.cell-input { | |
background: #DDD !important; | |
} | |
.docs-gm .docs-menubar .goog-control-disabled { | |
background-color: transparent !important; | |
opacity: 0.5; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Added to Google Docs Dark Mode to make this work for Google Sheets.