Skip to content

Commit

Permalink
feat: add dark theme overides
Browse files Browse the repository at this point in the history
  • Loading branch information
v8tenko committed Oct 29, 2024
1 parent dbc8e5d commit 1cf3dd7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/scss/_dark.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
.g-root_theme_dark .dc-doc-page .yfm {
.yfm-cut-title:before {
background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggc3Ryb2tlPSJyZ2JhKDI1NSwgMjU1LCAyNTUsIDAuNykiIGZpbGw9Im5vbmUiIGQ9Ik0zIDZsNSA1IDUtNSI+PC9wYXRoPjwvc3ZnPg==');
}

.yfm-tabs-dropdown-select:after {
background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggc3Ryb2tlPSJyZ2JhKDI1NSwgMjU1LCAyNTUsIDAuNykiIGZpbGw9Im5vbmUiIGQ9Ik0zIDZsNSA1IDUtNSI+PC9wYXRoPjwvc3ZnPg==');
}
}
1 change: 1 addition & 0 deletions src/scss/base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
@import 'anchor';
@import 'highlight';
@import 'code';
@import '_dark';

0 comments on commit 1cf3dd7

Please sign in to comment.