Skip to content

Commit

Permalink
👌 IMPROVE: default colors for admonitions (#246)
Browse files Browse the repository at this point in the history
  • Loading branch information
choldgraf authored Nov 1, 2020
1 parent 72f417b commit 32d99d3
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 6 deletions.

Large diffs are not rendered by default.

This file was deleted.

2 changes: 1 addition & 1 deletion sphinx_book_theme/theme.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
inherit = pydata_sphinx_theme
pygments_style = tango
sidebars = sidebar-search-bs.html, sbt-sidebar-nav.html, sbt-sidebar-footer.html
stylesheet = sphinx-book-theme.63c1bb27cdeb33c8dc47305fbcf4d6aa.css
stylesheet = sphinx-book-theme.3b24e2d940fc6b5a0ff0663ffd603a93.css

[options]
single_page = False
Expand Down
8 changes: 8 additions & 0 deletions src/scss/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,11 @@ $breakpoint-sm: 576px;
$non-content-grey: #5a5a5a;

$topbar-height: 3em;

// Overrides for pydata sphinx theme
:root {
--color-primary: rgba(0, 123, 255, 1);
--color-info: rgba(255, 193, 7, 1);
--color-warning: rgba(253, 126, 20, 1);
--color-danger: rgba(220, 53, 69, 1);
}

0 comments on commit 32d99d3

Please sign in to comment.