Skip to content

Commit

Permalink
dark theme updates (#134)
Browse files Browse the repository at this point in the history
Signed-off-by: cosmicBboy <[email protected]>
Signed-off-by: Eduardo Apolinario <[email protected]>
  • Loading branch information
cosmicBboy authored and eapolinario committed Sep 13, 2023
1 parent ba5c1b4 commit 780947b
Show file tree
Hide file tree
Showing 2 changed files with 63 additions and 5 deletions.
66 changes: 62 additions & 4 deletions flyteidl/_static/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,24 @@ h1, h2, h3, h4, h5, h6 {
content: none;
}

.sphx-glr-thumbcontainer {
background-color: transparent;
border: transparent;
}

.sphx-glr-thumbcontainer:hover {
border: transparent;
}

div.sphx-glr-download a {
color: #4300c9;
background-color: rgb(241, 241, 241);
color:white;
background-color: #9d68e4cf;
background-image: none;
border: 1px solid rgb(202, 202, 202);
border: 1px solid #9d68e4cf;
}

div.sphx-glr-download a:hover {
background-color: rgb(230, 230, 230);
background-color: #8b48e2cf;
box-shadow: none;
}

Expand All @@ -31,3 +40,52 @@ div.sphx-glr-thumbcontainer:hover {
border-color: white;
box-shadow: none;
}

.sphx-glr-script-out .highlight pre {
background-color: #f8f8f8;
}

p.sphx-glr-script-out {
padding-top: 0em;
}

.search__outer::-webkit-scrollbar-track {
border-radius: 0px;
}

@media (prefers-color-scheme: dark) {
.search__outer {
background-color: #131416 !important;
border: 1px solid #131416 !important;
}
.search__outer__input {
background-color: #1a1c1e !important;
}
.search__result__single {
border-bottom: #303335 !important;
}
.outer_div_page_results:hover {
background-color: black;
}
.search__result__title, .rtd_ui_search_subtitle {
color: #9D68E4 !important;
border-bottom: 1px solid #9D68E4 !important;
}
.search__outer .search__result__title span, .search__outer .search__result__content span {
background-color: #9d68e454;
}
.search__result__subheading, .search__result__content {
color: #ffffffd9 !important;
}
.search__outer::-webkit-scrollbar-track {
background-color: #131416 !important;
}
.rtd__search__credits {
background-color: #1a1c1e !important;
border: 1px solid #1a1c1e !important;
color: #81868d !important;
}
.rtd__search__credits a, .search__error__box {
color: #9ca0a5 !important;
}
}
2 changes: 1 addition & 1 deletion flyteidl/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@

# The name of the Pygments (syntax highlighting) style to use.
pygments_style = "tango"
pygments_dark_style = "paraiso-dark"
pygments_dark_style = "native"


# -- Options for HTML output -------------------------------------------------
Expand Down

0 comments on commit 780947b

Please sign in to comment.