Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Table colors for Obsidian Live Preview
.cm-table-widget table thead tr {
background-color: var(--dark3);
}
.cm-table-widget table tbody tr:nth-child(even) {
background-color: var(--background-primary);
}
.cm-table-widget table tbody tr:nth-child(even) {
background-color: var(--background-secondary);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment