From c604e0390d1b808088ab02fbe1d47992f6fd7ba4 Mon Sep 17 00:00:00 2001
From: Nikhil M Warrier
Date: Sat, 7 Mar 2026 22:07:47 +0530
Subject: Assets and style guide page
---
src/components/ColorSwatch.astro | 49 ++++++++++++++
src/pages/styleguide.astro | 136 +++++++++++++++++++++++++++++++++++++++
2 files changed, 185 insertions(+)
create mode 100644 src/components/ColorSwatch.astro
create mode 100644 src/pages/styleguide.astro
(limited to 'src')
diff --git a/src/components/ColorSwatch.astro b/src/components/ColorSwatch.astro
new file mode 100644
index 0000000..df01d5a
--- /dev/null
+++ b/src/components/ColorSwatch.astro
@@ -0,0 +1,49 @@
+---
+import { cn } from '@/lib/utils'
+
+interface Props {
+ class?: string
+ color: string
+ [key: string]: any
+}
+
+const { color: colorName, class: className, ...rest } = Astro.props
+---
+
+
+
+
diff --git a/src/pages/styleguide.astro b/src/pages/styleguide.astro
new file mode 100644
index 0000000..575718a
--- /dev/null
+++ b/src/pages/styleguide.astro
@@ -0,0 +1,136 @@
+---
+import Breadcrumbs from '@/components/Breadcrumbs.astro'
+import ColorSwatch from '@/components/ColorSwatch.astro'
+import PageHead from '@/components/PageHead.astro'
+import Layout from '@/layouts/Layout.astro'
+---
+
+
+
+
+
+ Assets and Style Guide
+
+
+ Logo
+
+
+
+
+
+ Logo and Word Mark
+
+
+
+
+
+ Fonts
+
+
+
+ 0xProto
+
+
+ Tailwind class font-mono.
+
+ Use for headings, code blocks, and aesthetic details.
+
+ Download from
+ GitHub: 0xType/0xProto
+
+
+
+ Geist
+
+
+ Tailwind class font-sans.
+
+ Use for text everywhere else.
+
+ Download from
+ Google Fonts: Geist
+
+
+
+
+
+
+ Colours
+
+ General guidelines:
+
+ -
+ Use the
primary colour sparingly, for design elements and
+ accents. Avoid using it for text.
+
+ -
+ Use
foreground for headings, navigation elements, and text
+ that stands out.
+
+ -
+ Use
muted-foreground for paragraphs.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
--
cgit v1.2.3