Skip to content

Commit

Permalink
fix: ChatGPTNextWeb#229 disable light code theme
Browse files Browse the repository at this point in the history
  • Loading branch information
Yidadaa committed Mar 30, 2023
1 parent 7599ae3 commit bf50eba
Showing 1 changed file with 0 additions and 30 deletions.
30 changes: 0 additions & 30 deletions app/styles/prism.scss
Original file line number Diff line number Diff line change
Expand Up @@ -120,33 +120,3 @@
cursor: help;
}
}

@mixin light {
.markdown-body pre {
filter: invert(1) hue-rotate(90deg) brightness(1.3);
}
}

@mixin dark {
.markdown-body pre {
filter: none;
}
}

:root {
@include light();
}

.light {
@include light();
}

.dark {
@include dark();
}

@media (prefers-color-scheme: dark) {
:root {
@include dark();
}
}

0 comments on commit bf50eba

Please sign in to comment.