Skip to content

Commit

Permalink
Improve docs styles
Browse files Browse the repository at this point in the history
  • Loading branch information
marcofugaro committed Apr 8, 2021
1 parent b0a6838 commit ed7de23
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions docs-style.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
body {
font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji,
Segoe UI Emoji !important;
}

.tsd-page-toolbar {
transform: none !important;
}
Expand All @@ -20,3 +25,35 @@
[for='tsd-filter-only-exported'] {
display: none !important;
}

.tsd-typography p {
line-height: 1.7;
}

.tsd-typography p a {
color: #0366d6;
}

pre {
background: #f6f8fa !important;
}

/* comments */
pre span[style='color: #008000'] {
color: #6a737d !important;
}

/* names */
pre span[style='color: #795E26'] {
color: #6442c1 !important;
}

/* declarations */
pre span[style='color: #0000FF'] {
color: #d73a49 !important;
}

/* variable names */
pre span[style='color: #001080'] {
color: #24292e !important;
}
Binary file modified screenshots/docs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit ed7de23

Please sign in to comment.