Skip to content

Commit 82c3088

Browse files
Merge branch 'main' into add-faq
2 parents 1ee52bf + 07c19c2 commit 82c3088

File tree

7 files changed

+70
-30
lines changed

7 files changed

+70
-30
lines changed

docusaurus.config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,8 @@ const config: Config = {
166166
hideOnScroll: true,
167167
logo: {
168168
alt: "",
169-
src: "img/coderabbit_nav_logo.svg",
169+
src: "img/logo/bw_coderabbit.svg",
170+
srcDark: "img/logo/white_coderabbit.svg",
170171
href: "https://coderabbit.ai",
171172
},
172173
items: [],

src/css/custom.css

Lines changed: 24 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&family=Work+Sans:wght@400;500;600;700&display=swap");
2+
13
@tailwind base;
24
@tailwind components;
35
@tailwind utilities;
@@ -9,28 +11,35 @@
911

1012
/* You can override the default Infima variables here. */
1113
:root {
12-
--ifm-color-primary: #ff4702;
13-
--ifm-color-primary-dark: #29784c;
14-
--ifm-color-primary-darker: #277148;
15-
--ifm-color-primary-darkest: #205d3b;
16-
--ifm-color-primary-light: #33925d;
17-
--ifm-color-primary-lighter: #359962;
18-
--ifm-color-primary-lightest: #3cad6e;
14+
--ifm-color-primary: #ff570a;
15+
--ifm-color-primary-dark: #ff570ae5;
16+
--ifm-color-primary-darker: #ff570a;
17+
--ifm-color-primary-darkest: #ff570a;
18+
--ifm-color-primary-light: #ff570a1a;
19+
--ifm-color-primary-lighter: #ff570a33;
20+
--ifm-color-primary-lightest: #ff8b51;
1921
--ifm-code-font-size: 95%;
2022
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);
2123
--ifm-navbar-height: 5rem;
24+
--ifm-font-family-base: "Poppins", "Work Sans", sans-serif;
25+
--ifm-background-color-primary: #f6f6f1;
2226
}
2327

24-
/* For readability concerns, you should choose a lighter palette in dark mode. */
2528
[data-theme="dark"] {
26-
--ifm-color-primary: #ff4702;
27-
--ifm-color-primary-dark: #21af90;
28-
--ifm-color-primary-darker: #1fa588;
29-
--ifm-color-primary-darkest: #1a8870;
30-
--ifm-color-primary-light: #29d5b0;
31-
--ifm-color-primary-lighter: #32d8b4;
32-
--ifm-color-primary-lightest: #4fddbf;
29+
--ifm-color-primary: #ff865be5;
30+
--ifm-color-primary-dark: #ff865bcc;
31+
--ifm-color-primary-darker: #ff865b80;
32+
--ifm-color-primary-darkest: #ff865b80;
33+
--ifm-color-primary-light: #ff865b;
34+
--ifm-color-primary-lighter: #ff865b1a;
35+
--ifm-color-primary-lightest: #171717;
3336
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
37+
--ifm-background-color-primary: #171717;
38+
}
39+
40+
#__docusaurus {
41+
background-color: var(--ifm-background-color-primary);
42+
font-family: var(--ifm-font-family-base);
3443
}
3544

3645
.navbar .navbar__item {

src/theme/Footer/index.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@ function CustomFooter(props) {
1414
<div className="flex gap-1 pr-2 py-px items-start">
1515
<img
1616
loading="lazy"
17-
src="https://cdn.builder.io/api/v1/image/assets/TEMP/c2b003ad3b20290b59f3b08f614c5151ce5af2538be8ff145c1aae4ecfa170f8?"
18-
className="aspect-[1.17] object-contain object-center w-7 fill-white overflow-hidden shrink-0 max-w-full"
17+
src="img/logo/white_coderabbit.svg"
18+
style={{
19+
maxWidth: "200px",
20+
height: "auto",
21+
}}
1922
/>
20-
<div className="text-center text-xl font-extrabold leading-7 tracking-tighter self-stretch grow whitespace-nowrap text-customWhite">
21-
CodeRabbit
22-
</div>
2323
</div>
24-
<div className="flex items-stretch max-w-md text-xs font-medium mt-10 max-md:mt-10 font-satoshi leading-5 text-customGray">
24+
<div className="flex items-stretch max-w-md text-xs font-medium mt-10 max-md:mt-10 leading-5 text-customGray">
2525
CodeRabbit is an innovative, AI-driven platform that transforms
2626
the way code reviews are done. Its automated reviews elevate the
2727
code quality while significantly reducing the time and effort tied
@@ -90,7 +90,7 @@ function CustomFooter(props) {
9090
</div>
9191
<div className="bg-neutral-700 shrink-0 h-px mt-6 max-md:max-w-full" />
9292
<div className="justify-between flex w-full gap-5 mt-7 items-start max-md:max-w-full max-md:flex-wrap">
93-
<div className="text-sm font-medium font-satoshi text-customWhite">
93+
<div className="text-sm font-medium text-customWhite">
9494
CodeRabbit © {new Date().getFullYear()}
9595
</div>
9696
<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">

static/img/favicon.ico

-2.18 KB
Binary file not shown.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy