Skip to content
Draft
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
10 changes: 10 additions & 0 deletions components/Layout.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import DefaultLayout from '@node-core/doc-kit/src/generators/web/ui/components/Layout/index.jsx';
import '../styles/theme.css';

export default function Layout(props) {
return (
<>
<DefaultLayout {...props} />
</>
);
}
1 change: 1 addition & 0 deletions doc-kit.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ export default {
imports: {
'#theme/Sidebar': join(ROOT, 'components/SideBar.jsx'),
'#theme/site': join(ROOT, DOCS_DIR, 'site.json'),
'#theme/Layout': join(ROOT, 'components/Layout.jsx'),
},
},
};
27 changes: 27 additions & 0 deletions styles/theme.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
:root {
/* Brand — Webpack Cube Blue (Primary) */
--color-green-50: #f0f8fe;
--color-green-100: #e0effd;
--color-green-200: #b9def9;
--color-green-300: #8ed6fb;
--color-green-400: #4ba8de;
--color-green-500: #2b8fcf;
--color-green-600: #1c78c0;
--color-green-700: #175e96;
--color-green-800: #134c79;
--color-green-900: #0f3c61;
Comment on lines +4 to +12
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Image

--color-green-950: #0a2c47;

/* Neutrals — Surfaces, Type, Borders */
--color-neutral-50: #fbfcfd;
--color-neutral-100: #f6f7f9;
--color-neutral-200: #e9edf0;
--color-neutral-300: #d9e1e4;
--color-neutral-400: #cbd4d9;
--color-neutral-500: #b1bcc2;
--color-neutral-600: #929fa5;
--color-neutral-700: #6e7b83;
--color-neutral-800: #556066;
--color-neutral-900: #2c3437;
--color-neutral-950: #0d121c;
}