Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wyrmiyu/4752f9e769a3315a64680e348a55eaaf to your computer and use it in GitHub Desktop.
Save wyrmiyu/4752f9e769a3315a64680e348a55eaaf to your computer and use it in GitHub Desktop.
regular-expressions.info dark mode with Night Eye and custom CSS
span[class=regexnest1] {
color: rgb(237, 177, 208);
}
span[class=regexnest2] {
color: rgb(233, 229, 162);
}
span[class=regexplain] {
color: rgb(221, 211, 215);
}
span[class^=regex] {
background: rgb(60, 44, 62);
}
tt[class=syntax] {
font-family: SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace;
font-size: 11pt;
background: rgb(60, 44, 62);
box-decoration-break: clone;
padding: .1rem .3rem .2rem;
border-radius: .2rem;
}
tt[class=string] {
background: rgb(48, 62, 44);
color: rgb(213, 220, 210);
font-family: SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace;
font-size: 11pt;
padding: .1rem .3rem .2rem;
border-radius: .2rem;
}
tt[class=match] {
background: rgb(43, 69, 71);
color: rgb(191, 247, 246);
font-family: SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace;
font-size: 11pt;
padding: .1rem .3rem .2rem;
border-radius: .2rem;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment