+ error
+ require-createRoute: Use createRoute() factory
+
+
+ src/api/users/list.ts:14
+
+
+ 1 violation
+ found across 1 ADR
+
+
+
+
+
+
diff --git a/docs/src/content/docs/index.mdx b/docs/src/content/docs/index.mdx
index 251db7a1..4936b9b7 100644
--- a/docs/src/content/docs/index.mdx
+++ b/docs/src/content/docs/index.mdx
@@ -16,6 +16,7 @@ hero:
---
import { Card, CardGrid, LinkCard } from "@astrojs/starlight/components";
+import CodeShowcase from "../../components/CodeShowcase.astro";
## How it works
@@ -25,16 +26,10 @@ Archgate has two layers that work together:
2. **ADRs as rules** — Companion `.rules.ts` files with automated checks written in TypeScript. They run against your codebase and report violations with file paths and line numbers.
-```
-.archgate/
- adrs/
- ARCH-001-command-structure.md # The decision (human + AI readable)
- ARCH-001-command-structure.rules.ts # The checks (machine executable)
- ARCH-002-error-handling.md
- ARCH-002-error-handling.rules.ts
- lint/
- archgate.config.ts # Archgate configuration
-```
+
When you run `archgate check`, the CLI loads every ADR that has `rules: true` in its frontmatter, executes the companion rules file, and reports any violations. Exit code 0 means your code complies. Exit code 1 means it does not.
diff --git a/docs/src/content/docs/pt-br/index.mdx b/docs/src/content/docs/pt-br/index.mdx
index 349d8a06..f4f4c01d 100644
--- a/docs/src/content/docs/pt-br/index.mdx
+++ b/docs/src/content/docs/pt-br/index.mdx
@@ -16,6 +16,7 @@ hero:
---
import { Card, CardGrid, LinkCard } from "@astrojs/starlight/components";
+import CodeShowcase from "../../../components/CodeShowcase.astro";
## Como funciona
@@ -25,16 +26,10 @@ O Archgate possui duas camadas que trabalham juntas:
2. **ADRs como regras** — Arquivos complementares `.rules.ts` com verificações automatizadas escritas em TypeScript. Eles são executados contra sua base de código e reportam violações com caminhos de arquivos e números de linha.
-```
-.archgate/
- adrs/
- ARCH-001-command-structure.md # The decision (human + AI readable)
- ARCH-001-command-structure.rules.ts # The checks (machine executable)
- ARCH-002-error-handling.md
- ARCH-002-error-handling.rules.ts
- lint/
- archgate.config.ts # Archgate configuration
-```
+
Quando você executa `archgate check`, a CLI carrega cada ADR que possui `rules: true` em seu frontmatter, executa o arquivo de regras complementar e reporta quaisquer violações. Código de saída 0 significa que seu código está em conformidade. Código de saída 1 significa que não está.
diff --git a/docs/src/styles/custom.css b/docs/src/styles/custom.css
new file mode 100644
index 00000000..e1dae6d6
--- /dev/null
+++ b/docs/src/styles/custom.css
@@ -0,0 +1,46 @@
+/*
+ * Custom Starlight theme — matches the archgate.dev marketing site aesthetic.
+ * Terminal/editor window chrome: dark title bar with macOS dots, #0f0f0f code bg.
+ */
+
+/* ── Starlight color overrides (dark mode) ─────────────────────────── */
+:root {
+ --sl-color-accent-low: #1e1b4b;
+ --sl-color-accent: #6366f1;
+ --sl-color-accent-high: #c7d2fe;
+}
+
+/* ── Expressive Code frame refinements ─────────────────────────────── */
+
+/*
+ * The title bar dots are SVG background-images generated by Expressive Code.
+ * We can't style them directly, but the `terminalTitlebarDotsForeground`
+ * and opacity styleOverrides in astro.config.mjs handle their color.
+ *
+ * Below we fine-tune spacing and visual weight to match the website.
+ */
+
+/* Tighten the tab bar / title bar feel */
+.expressive-code .frame:not(.has-title):not(.is-terminal) .header {
+ display: none;
+}
+
+/* Softer selection color matching the website */
+.expressive-code pre::selection,
+.expressive-code pre *::selection,
+.expressive-code code::selection,
+.expressive-code code *::selection {
+ background-color: color-mix(in srgb, #6366f1 40%, transparent);
+}
+
+/* Scrollbar theming for code blocks */
+.expressive-code pre::-webkit-scrollbar {
+ height: 6px;
+}
+.expressive-code pre::-webkit-scrollbar-thumb {
+ background: #333;
+ border-radius: 3px;
+}
+.expressive-code pre::-webkit-scrollbar-thumb:hover {
+ background: #555;
+}