Skip to content
This repository was archived by the owner on Aug 16, 2025. It is now read-only.

Theme fixes #139

Merged
merged 2 commits into from
Nov 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,23 @@
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);
--ifm-navbar-height: 5rem;
--ifm-font-family-base: "Poppins", "Work Sans", sans-serif;
--ifm-background-color-primary: #f6f6f1;
}

[data-theme="dark"] {
--ifm-color-primary: #ff865b80;
--ifm-color-primary: #ff865be5;
--ifm-color-primary-dark: #ff865bcc;
--ifm-color-primary-darker: #ff865be5;
--ifm-color-primary-darkest: #ff865b;
--ifm-color-primary-light: #ff865b33;
--ifm-color-primary-darker: #ff865b80;
--ifm-color-primary-darkest: #ff865b80;
--ifm-color-primary-light: #ff865b;
--ifm-color-primary-lighter: #ff865b1a;
--ifm-color-primary-lightest: #171717;
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
--ifm-background-color-primary: #171717;
}

body {
#__docusaurus {
background-color: var(--ifm-background-color-primary);
font-family: var(--ifm-font-family-base);
}

Expand Down
14 changes: 7 additions & 7 deletions src/theme/Footer/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ function CustomFooter(props) {
<div className="flex gap-1 pr-2 py-px items-start">
<img
loading="lazy"
src="https://cdn.builder.io/api/v1/image/assets/TEMP/c2b003ad3b20290b59f3b08f614c5151ce5af2538be8ff145c1aae4ecfa170f8?"
className="aspect-[1.17] object-contain object-center w-7 fill-white overflow-hidden shrink-0 max-w-full"
src="img/logo/white_coderabbit.svg"
style={{
maxWidth: "200px",
height: "auto",
}}
/>
<div className="text-center text-xl font-extrabold leading-7 tracking-tighter self-stretch grow whitespace-nowrap text-customWhite">
CodeRabbit
</div>
</div>
<div className="flex items-stretch max-w-md text-xs font-medium mt-10 max-md:mt-10 font-satoshi leading-5 text-customGray">
<div className="flex items-stretch max-w-md text-xs font-medium mt-10 max-md:mt-10 leading-5 text-customGray">
CodeRabbit is an innovative, AI-driven platform that transforms
the way code reviews are done. Its automated reviews elevate the
code quality while significantly reducing the time and effort tied
Expand Down Expand Up @@ -90,7 +90,7 @@ function CustomFooter(props) {
</div>
<div className="bg-neutral-700 shrink-0 h-px mt-6 max-md:max-w-full" />
<div className="justify-between flex w-full gap-5 mt-7 items-start max-md:max-w-full max-md:flex-wrap">
<div className="text-sm font-medium font-satoshi text-customWhite">
<div className="text-sm font-medium text-customWhite">
CodeRabbit © {new Date().getFullYear()}
</div>
<div className="justify-end items-stretch self-stretch flex gap-4 pl-20 max-md:max-w-full max-md:flex-wrap max-md:pl-5">
Expand Down
Binary file modified static/img/preview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.