Skip to content
Discussion options

You must be logged in to vote

In order to compile SCSS, you need to set up the theme development process (mentioned in the customization guide). Other than that, you might just use regular CSS. If you're using slate as a dark theme, just prefix your rules accordingly:

[data-md-color-scheme="slate"] .md-typeset__table tr:nth-child(2n) {
  background-color: red; /* Just for demonstration purposes */
}

Adding this as extra CSS, this will only be applied if the dark theme is active.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@ironicbadger
Comment options

@squidfunk
Comment options

@ironicbadger
Comment options

Answer selected by ironicbadger
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants