Skip to content

Commit 07c19c2

Browse files
Theme fixes (#139)
* remaining changes * footer fix
1 parent 5e765b6 commit 07c19c2

File tree

3 files changed

+15
-12
lines changed

3 files changed

+15
-12
lines changed

src/css/custom.css

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,20 +22,23 @@
2222
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);
2323
--ifm-navbar-height: 5rem;
2424
--ifm-font-family-base: "Poppins", "Work Sans", sans-serif;
25+
--ifm-background-color-primary: #f6f6f1;
2526
}
2627

2728
[data-theme="dark"] {
28-
--ifm-color-primary: #ff865b80;
29+
--ifm-color-primary: #ff865be5;
2930
--ifm-color-primary-dark: #ff865bcc;
30-
--ifm-color-primary-darker: #ff865be5;
31-
--ifm-color-primary-darkest: #ff865b;
32-
--ifm-color-primary-light: #ff865b33;
31+
--ifm-color-primary-darker: #ff865b80;
32+
--ifm-color-primary-darkest: #ff865b80;
33+
--ifm-color-primary-light: #ff865b;
3334
--ifm-color-primary-lighter: #ff865b1a;
3435
--ifm-color-primary-lightest: #171717;
3536
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
37+
--ifm-background-color-primary: #171717;
3638
}
3739

38-
body {
40+
#__docusaurus {
41+
background-color: var(--ifm-background-color-primary);
3942
font-family: var(--ifm-font-family-base);
4043
}
4144

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/preview.png

347 KB
Loading

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