Skip to content

Commit

Permalink
some updates (#146)
Browse files Browse the repository at this point in the history
Signed-off-by: Timo Glastra <[email protected]>
  • Loading branch information
TimoGlastra authored Jan 31, 2024
1 parent 06b8878 commit f102b0e
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 27 deletions.
65 changes: 40 additions & 25 deletions src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,34 +6,49 @@

/* You can override the default Infima variables here. */
:root {
--ifm-color-primary: #fe008e;
--ifm-color-primary-dark: #e50080;
--ifm-color-primary-darker: #d80079;
--ifm-color-primary-darkest: #b20063;
--ifm-color-primary-light: #ff1899;
--ifm-color-primary-lighter: #ff259f;
--ifm-color-primary-lightest: #ff4bb0;
--ifm-background-color: #faf9f6;
--ifm-code-font-size: 95%;
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);
}
/* For readability concerns, you should choose a lighter palette in dark mode. */
[data-theme="dark"] {
--ifm-color-primary: #cf00b8;
--ifm-color-primary-dark: #ba00a6;
--ifm-color-primary-darker: #b0009c;
--ifm-color-primary-darkest: #910081;
--ifm-color-primary-light: #e400ca;
--ifm-color-primary-lighter: #ee00d4;
--ifm-color-primary-lightest: #ff0ee4;
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
}
--ifm-color-primary: #fe008e;
--ifm-color-primary-dark: #e50080;
--ifm-color-primary-darker: #d80079;
--ifm-color-primary-darkest: #b20063;
--ifm-color-primary-light: #ff1899;
--ifm-color-primary-lighter: #ff259f;
--ifm-color-primary-lightest: #ff4bb0;
--ifm-background-color: #faf9f6;
--ifm-code-font-size: 95%;
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);
}

/* For readability concerns, you should choose a lighter palette in dark mode. */
[data-theme='dark'] {
--ifm-color-primary: #cf00b8;
--ifm-color-primary-dark: #ba00a6;
--ifm-color-primary-darker: #b0009c;
--ifm-color-primary-darkest: #910081;
--ifm-color-primary-light: #e400ca;
--ifm-color-primary-lighter: #ee00d4;
--ifm-color-primary-lightest: #ff0ee4;
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
}

.custom-banner-bg {
background: linear-gradient(135deg, #ff008e 0%, #CF00B8 100%);
background: var(--ifm-background-color);
}

[data-theme='dark'] .custom-banner-bg a {
color: white;
}

.custom-banner-bg h1 {
color: var(--ifm-color-primary);
}

[data-theme='dark'] .custom-banner-bg p {
color: white;
}

[data-theme='light'] .custom-banner-bg p {
color: black;
}

.admonition-holder {
--ifm-alert-background-color: #b6b2f5;
Expand Down
4 changes: 2 additions & 2 deletions src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ function HomepageHeader() {
<h1 className="hero__title">{siteConfig.title}</h1>
<p className="hero__subtitle">{siteConfig.tagline}</p>
<div className={styles.buttons}>
<Link className="button button--secondary button--lg" to="/guides/0.4/getting-started">
Get Started 🚀
<Link className="button button--primary button--lg" to="/guides/getting-started">
Get Started
</Link>
</div>
</div>
Expand Down
Binary file modified static/img/favicon.ico
Binary file not shown.

0 comments on commit f102b0e

Please sign in to comment.