Skip to content

Commit

Permalink
Update docs theme (#784)
Browse files Browse the repository at this point in the history
Signed-off-by: Pavithra Eswaramoorthy <[email protected]>
Co-authored-by: smeragoel <[email protected]>
  • Loading branch information
pavithraes and smeragoel authored Apr 10, 2024
1 parent 5e5ce8b commit 47a02d9
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 20 deletions.
43 changes: 24 additions & 19 deletions docusaurus-docs/src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,36 +4,37 @@
* work well for content-centric websites.
*/

/* You can override the default Infima variables here. */
/* Override the default Infima variables here. */
:root {
--ifm-color-primary: #2e8555;
--ifm-color-primary-dark: #29784c;
--ifm-color-primary-darker: #277148;
--ifm-color-primary-darkest: #205d3b;
--ifm-color-primary-light: #33925d;
--ifm-color-primary-lighter: #359962;
--ifm-color-primary-lightest: #3cad6e;
--ifm-color-primary: #298642;
--ifm-color-primary-dark: #206532;
--ifm-color-primary-darker: #144321;
--ifm-color-primary-darkest: #0a2210;
--ifm-color-primary-light: #85cb97;
--ifm-color-primary-lighter: #addcba;
--ifm-color-primary-lightest: #d6eedc;
--ifm-code-font-size: 95%;
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);
--ifm-breadcrumb-color-active: var(--ifm-color-primary-dark);
}

/* For readability concerns, you should choose a lighter palette in dark mode. */
/* For readability concerns, choose a lighter palette in dark mode. */
[data-theme="dark"] {
--ifm-color-primary: #25c2a0;
--ifm-color-primary-dark: #21af90;
--ifm-color-primary-darker: #1fa588;
--ifm-color-primary-darkest: #1a8870;
--ifm-color-primary-light: #29d5b0;
--ifm-color-primary-lighter: #32d8b4;
--ifm-color-primary-lightest: #4fddbf;
--ifm-color-primary: #5cb975;
--ifm-color-primary-dark: #85cb97;
--ifm-color-primary-darker: #addcba;
--ifm-color-primary-darkest: #d6eedc;
--ifm-color-primary-light: #206532;
--ifm-color-primary-lighter: #144321;
--ifm-color-primary-lightest: #0a2210;
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
}

div[class^="announcementBar_"] {
font-weight: 500;
color: var(--ifm-color-black);
background-color: var(--ifm-color-primary-lightest);
border-bottom: 2px solid var(--ifm-color-primary-darkest);
color: var(--ifm-color-content);
background-color: var(--ifm-color-primary-light);
border-bottom: 1.5px solid var(--ifm-color-primary-darkest);
}

div[class^="announcementBarContent_"] {
Expand All @@ -47,6 +48,10 @@ img {
border-style: solid;
}

.footer--dark {
--ifm-footer-background-color: #242526;
}

/* Remove border (only) for conda-store logo in the top navbar */
.navbar__logo img {
border-width: 0;
Expand Down
2 changes: 1 addition & 1 deletion docusaurus-docs/src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ function HomepageFeatures() {
function HomepageVideo() {
const { siteConfig } = useDocusaurusContext();
return (
<header className={clsx("hero hero--secondary", styles.heroBanner)}>
<header className={clsx(styles.heroBanner)}>
<div className="container">
<img
src={useBaseUrl("/img/conda-store-ui.webp")}
Expand Down

0 comments on commit 47a02d9

Please sign in to comment.