Skip to content
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
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
node-version: '24'
cache: 'npm'
cache-dependency-path: website/package-lock.json

Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ Kite is your AI marketer in Slack. It researches your business, builds a growth

## Development

Requires Node.js 24. CI and Vercel both build on Node 24.

```bash
cd website
npm install
Expand Down
8 changes: 4 additions & 4 deletions website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ const config = {
image: 'img/social-card.png',
navbar: {
logo: {
alt: 'Kite Logo',
src: 'img/logo.png',
alt: 'Kite',
src: 'img/logo-wordmark.png',
},
items: [
{
Expand All @@ -95,7 +95,7 @@ const config = {
href: 'https://kite.ai',
label: 'Try Kite',
position: 'right',
className: 'navbar-try-button',
className: 'kite-nav-cta',
},
],
},
Expand All @@ -108,7 +108,7 @@ const config = {
darkTheme: prismThemes.dracula,
},
colorMode: {
defaultMode: 'dark',
defaultMode: 'light',
disableSwitch: false,
respectPrefersColorScheme: true,
},
Expand Down
1,985 changes: 1,243 additions & 742 deletions website/package-lock.json

Large diffs are not rendered by default.

15 changes: 8 additions & 7 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
"write-heading-ids": "docusaurus write-heading-ids"
},
"dependencies": {
"@docusaurus/core": "^3.9.2",
"@docusaurus/preset-classic": "^3.9.2",
"@docusaurus/theme-mermaid": "^3.9.2",
"@docusaurus/core": "^3.10.2",
"@docusaurus/preset-classic": "^3.10.2",
"@docusaurus/theme-mermaid": "^3.10.2",
"@easyops-cn/docusaurus-search-local": "^0.55.2",
"@mdx-js/react": "^3.0.0",
"clsx": "^2.1.1",
Expand All @@ -25,12 +25,13 @@
"react-dom": "^18.3.1"
},
"devDependencies": {
"@docusaurus/module-type-aliases": "^3.9.2",
"@docusaurus/types": "^3.9.2"
"@docusaurus/module-type-aliases": "^3.10.2",
"@docusaurus/types": "^3.10.2"
},
"overrides": {
"serialize-javascript": "^7.0.5",
"uuid": "^11.1.1"
"uuid": "^11.1.1",
"tinypool": "^2.1.2"
},
"browserslist": {
"production": [
Expand All @@ -45,6 +46,6 @@
]
},
"engines": {
"node": ">=18.0"
"node": "24.x"
}
}
5 changes: 5 additions & 0 deletions website/src/components/ask-ai/css/AskAI.css
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,11 @@
color: #fff;
}

/* Dark mode's primary is a light blue, so white text fails contrast. */
html[data-theme='dark'] .kite-ask-ai-modal-close {
color: #0f111a;
}

.kite-ask-ai-modal-close:hover {
background-color: var(--ifm-color-primary-dark);
}
23 changes: 23 additions & 0 deletions website/src/components/custom-search/css/CustomSearch.css
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,29 @@
background-color: transparent;
}

/* In the blue navbar, use kite.ai's dark glass pill instead of the
theme's gray border. */
.navbar .kite-segmented-search {
border-color: var(--kite-glass-border);
border-radius: 12px;
background-color: var(--kite-glass-bg);
}

.navbar .kite-segmented-search .kite-ask-ai-option {
border-right-color: var(--kite-glass-border);
}

.navbar .kite-ask-ai-option:hover {
background-color: rgba(255, 255, 255, 0.12);
}

/* Translucent badge so it matches the glass pill. Keep the white tint
light: more tint lowers white-text contrast (0.12 gives about 5.3:1). */
.navbar .kite-ask-ai-badge {
background-color: rgba(255, 255, 255, 0.12);
color: #ffffff;
}

/* Keep the two halves visually divided. */
.kite-segmented-search .kite-ask-ai-option {
border-right: 1px solid var(--ifm-color-emphasis-300);
Expand Down
222 changes: 172 additions & 50 deletions website/src/css/custom.css
Original file line number Diff line number Diff line change
@@ -1,76 +1,198 @@
/**
* Kite Documentation - Brand Colors
* Based on kite.ai
* Kite Documentation - Brand Theme
* Matches the kite.ai "sky" look: a blue gradient nav and footer, white
* wordmark, Inter Display-style headings, and a warm off-white page.
*
* Text and link colors are a little darker than kite.ai so they pass
* WCAG AA contrast on the docs background.
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
/* Inter with the optical-size axis, so large headings render like
Inter Display (the font kite.ai uses). */
@import url('https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,400..700&display=swap');

:root {
--ifm-font-family-base: 'Inter', system-ui, -apple-system, sans-serif;

/* Kite orange */
--ifm-color-primary: #FF6D2D;
--ifm-color-primary-dark: #e55a1a;
--ifm-color-primary-darker: #d65118;
--ifm-color-primary-darkest: #b04314;
--ifm-color-primary-light: #ff8650;
--ifm-color-primary-lighter: #ff9361;
--ifm-color-primary-lightest: #ffb08a;

--ifm-heading-font-family: 'Inter', system-ui, -apple-system, sans-serif;
--ifm-heading-font-weight: 600;

/* Kite sky blue */
--ifm-color-primary: #2f72c0;
--ifm-color-primary-dark: #2a67ad;
--ifm-color-primary-darker: #2861a3;
--ifm-color-primary-darkest: #215086;
--ifm-color-primary-light: #3e7fcc;
--ifm-color-primary-lighter: #4a87cf;
--ifm-color-primary-lightest: #6d9dd8;

--ifm-background-color: #fcfbf9;
--ifm-background-surface-color: #ffffff;
--ifm-font-color-base: #2e3a52;
--ifm-heading-color: #17223b;
--ifm-font-color-secondary: #52617b;

--ifm-global-radius: 12px;
--ifm-code-font-size: 95%;
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);

/* Sky gradients taken from kite.ai, darkened slightly so white nav
text keeps AA contrast. */
--kite-sky-nav: linear-gradient(90deg, #2c6bb5 0%, #3274bf 100%);
--kite-sky-footer: linear-gradient(180deg, #2f6fb9 0%, #4a6f99 100%);
--kite-glass-bg: rgba(0, 0, 0, 0.22);
--kite-glass-border: rgba(255, 255, 255, 0.22);

--ifm-navbar-background-color: var(--ifm-background-color);
/* White navbar links are for the blue top bar only. Anything that
renders on the page background must not use this variable. */
--ifm-navbar-link-color: #ffffff;
--ifm-navbar-link-hover-color: #ffffff;
--ifm-navbar-search-input-background-color: transparent;
--ifm-navbar-search-input-color: #ffffff;
--ifm-navbar-search-input-placeholder-color: rgba(255, 255, 255, 0.8);
--ifm-navbar-search-input-icon: url('data:image/svg+xml;utf8,<svg fill="white" height="16px" viewBox="0 0 16 16" width="16px" xmlns="http://www.w3.org/2000/svg"><path d="M6.02945,10.20327a4.17382,4.17382,0,1,1,4.17382-4.17382A4.15609,4.15609,0,0,1,6.02945,10.20327Zm9.69195,4.2199L10.8989,9.59979A5.88021,5.88021,0,0,0,12.058,6.02856,6.00467,6.00467,0,1,0,9.59979,10.8989l4.82338,4.82338a.89729.89729,0,0,0,1.29912,0,.89749.89749,0,0,0-.00087-1.29909Z" /></svg>');
}

/* Dark mode - default for Kite */
[data-theme='dark'] {
--ifm-background-color: #181818;
--ifm-background-surface-color: #0E0E0E;
html[data-theme='dark'] {
--ifm-color-primary: #6ba6ea;
--ifm-color-primary-dark: #5096e5;
--ifm-color-primary-darker: #428ee3;
--ifm-color-primary-darkest: #2076d9;
--ifm-color-primary-light: #86b6ef;
--ifm-color-primary-lighter: #94bef1;
--ifm-color-primary-lightest: #bcd6f6;

--ifm-color-primary: #FF6D2D;
--ifm-color-primary-dark: #ff5a14;
--ifm-color-primary-darker: #fa5009;
--ifm-color-primary-darkest: #cf4207;
--ifm-color-primary-light: #ff8046;
--ifm-color-primary-lighter: #ff8b56;
--ifm-color-primary-lightest: #ffab83;
--ifm-background-color: #0f111a;
--ifm-background-surface-color: #161a26;
--ifm-font-color-base: #d5dbe6;
--ifm-heading-color: #f3f6fb;
--ifm-font-color-secondary: #9aa6bb;

--ifm-navbar-background-color: #0E0E0E;
--ifm-footer-background-color: #0E0E0E;
--kite-sky-nav: linear-gradient(90deg, #173a63 0%, #1d4777 100%);
--kite-sky-footer: linear-gradient(180deg, #173a63 0%, #1f3550 100%);

/* Keyboard-selected search result sits on the light-blue primary, so
it needs dark text. */
--search-local-hit-active-color: #0f111a;

--docusaurus-highlighted-code-line-bg: rgba(255, 255, 255, 0.1);
}

/* Headings: tight tracking like kite.ai's display type. */
h1,
h2,
h3,
.markdown h1,
.markdown h2,
.markdown h3 {
letter-spacing: -0.02em;
}

.markdown h1:first-child {
font-size: 2.5rem;
letter-spacing: -0.025em;
}

/* Navbar: sky gradient with white text. */
.navbar {
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
background: var(--kite-sky-nav);
border-bottom: 0;
box-shadow: none;
}

/* "Try Kite" CTA. order:1 places it after the color-mode toggle,
which Docusaurus renders inside .navbar__items--right. */
.navbar-try-button {
background-color: var(--ifm-color-primary);
color: #fff !important;
border-radius: 0.25em;
.navbar__logo {
height: 1.6rem;
}

.navbar__logo img {
/* Turn the orange wordmark white, as on kite.ai. */
filter: brightness(0) invert(1);
}

.navbar__link {
font-weight: 500;
font-size: 0.875rem;
padding: 0.5rem 1rem;
margin-left: 0.5rem;
white-space: nowrap;
}

.navbar__link:hover {
text-decoration: underline;
text-underline-offset: 4px;
}

.navbar__link.kite-nav-cta:focus-visible,
.navbar .kite-ask-ai-option:focus-visible {
outline: 2px solid #ffffff;
outline-offset: 2px;
}

/* "Go to Kite" link styled as kite.ai's white Get Started button. */
/* order: 1 places the CTA after the color-mode toggle, which Docusaurus
renders inside .navbar__items--right. */
.navbar__link.kite-nav-cta {
order: 1;
white-space: nowrap;
margin-left: 0.5rem;
padding: 0.45rem 1.1rem;
border-radius: 12px;
background-color: #ffffff;
color: #18190f;
font-weight: 600;
}

.navbar__link.kite-nav-cta:hover {
background-color: rgba(255, 255, 255, 0.88);
color: #18190f;
text-decoration: none;
}

/* Drop the auto-added external-link icon on the CTA. */
.navbar-try-button svg {
.navbar__link.kite-nav-cta svg {
display: none;
}

.navbar-try-button:hover {
background-color: var(--ifm-color-primary-dark);
color: #fff !important;
text-decoration: none;
/* Theme toggle, hamburger and drawer close icons sit on the blue bar.
Scope to the bar and the drawer header only: the mobile drawer's
"Back to main menu" button is also a .clean-btn inside .navbar, and
it sits on the light page background. */
.navbar__inner .clean-btn,
.navbar-sidebar__brand .clean-btn,
.navbar__toggle {
color: #ffffff;
}

/* Mobile drawer: keep the blue header strip, but use the page color for
the menu so menu text stays readable. */
.navbar-sidebar {
background-color: var(--ifm-background-color);
}

.navbar-sidebar__brand {
background: var(--kite-sky-nav);
}

/* The close icon hard-codes a gray stroke on its SVG. */
.navbar-sidebar__close svg g {
stroke: #ffffff;
}

/* Footer: sky gradient with white text. */
.footer,
.footer--dark {
border-top: 1px solid rgba(255, 255, 255, 0.1);
background: var(--kite-sky-footer);
border-top: 0;
color: #ffffff;
}

/* Sidebar: rounded items with a soft blue active state. */
.menu__link {
border-radius: 8px;
}

.menu__link--active:not(.menu__link--sublist) {
background-color: rgba(47, 114, 192, 0.1);
font-weight: 600;
}

[data-theme='dark'] .menu__link--active:not(.menu__link--sublist) {
background-color: rgba(107, 166, 234, 0.14);
}

/* Doc screenshots: center and never upscale past native size.
Expand All @@ -85,16 +207,16 @@
width: auto;
max-width: min(100%, 587px);
height: auto;
border-radius: 8px;
border: 1px solid rgba(255, 255, 255, 0.12);
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
border-radius: 12px;
border: 1px solid rgba(0, 0, 0, 0.08);
box-shadow: 0 4px 16px rgba(23, 34, 59, 0.08);
}

.theme-doc-markdown img[src*='publish-button'] {
max-width: min(100%, 196px);
}

[data-theme='light'] .theme-doc-markdown img {
border-color: rgba(0, 0, 0, 0.08);
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
[data-theme='dark'] .theme-doc-markdown img {
border-color: rgba(255, 255, 255, 0.12);
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}
Binary file added website/static/img/logo-wordmark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading