@docubook/create 1.12.0 → 1.13.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. package/package.json +1 -1
  2. package/src/dist/.vscode/card.code-snippets +52 -14
  3. package/src/dist/.vscode/table.code-snippets +10 -18
  4. package/src/dist/app/page.tsx +2 -2
  5. package/src/dist/components/context-popover.tsx +133 -0
  6. package/src/dist/components/docs-menu.tsx +39 -21
  7. package/src/dist/components/footer.tsx +4 -2
  8. package/src/dist/components/leftbar.tsx +10 -4
  9. package/src/dist/components/markdown/CardGroupMdx.tsx +1 -1
  10. package/src/dist/components/markdown/CardMdx.tsx +5 -4
  11. package/src/dist/components/markdown/FileTreeMdx.tsx +52 -33
  12. package/src/dist/components/markdown/KeyboardMdx.tsx +1 -1
  13. package/src/dist/components/markdown/NoteMdx.tsx +1 -1
  14. package/src/dist/components/markdown/StepperMdx.tsx +2 -2
  15. package/src/dist/components/markdown/TooltipsMdx.tsx +6 -3
  16. package/src/dist/components/navbar.tsx +3 -3
  17. package/src/dist/components/search.tsx +36 -4
  18. package/src/dist/components/sublink.tsx +7 -6
  19. package/src/dist/components/theme-toggle.tsx +10 -10
  20. package/src/dist/components/toc-observer.tsx +9 -9
  21. package/src/dist/contents/docs/{getting-started/changelog → changelog/version-1}/index.mdx +45 -3
  22. package/src/dist/contents/docs/components/accordion/index.mdx +86 -0
  23. package/src/dist/contents/docs/components/button/index.mdx +40 -0
  24. package/src/dist/contents/docs/{getting-started/components → components}/card/index.mdx +9 -11
  25. package/src/dist/contents/docs/{getting-started/components → components}/card-group/index.mdx +2 -4
  26. package/src/dist/contents/docs/{getting-started/components → components}/code-block/index.mdx +2 -4
  27. package/src/dist/contents/docs/{getting-started/components → components}/file-tree/index.mdx +3 -3
  28. package/src/dist/contents/docs/{getting-started/components → components}/index.mdx +1 -1
  29. package/src/dist/contents/docs/{getting-started/components → components}/keyboard/index.mdx +3 -3
  30. package/src/dist/contents/docs/{getting-started/components → components}/note/index.mdx +4 -6
  31. package/src/dist/contents/docs/{getting-started/components → components}/release-note/index.mdx +2 -2
  32. package/src/dist/contents/docs/{getting-started/components → components}/stepper/index.mdx +2 -4
  33. package/src/dist/contents/docs/{getting-started/components → components}/tabs/index.mdx +4 -4
  34. package/src/dist/contents/docs/{getting-started/components → components}/tooltips/index.mdx +1 -1
  35. package/src/dist/contents/docs/{getting-started/components → components}/youtube/index.mdx +7 -5
  36. package/src/dist/contents/docs/getting-started/customize/index.mdx +0 -2
  37. package/src/dist/contents/docs/getting-started/index.mdx +9 -0
  38. package/src/dist/contents/docs/getting-started/installation/index.mdx +1 -1
  39. package/src/dist/contents/docs/getting-started/introduction/index.mdx +1 -1
  40. package/src/dist/contents/docs/getting-started/quick-start-guide/index.mdx +78 -60
  41. package/src/dist/contents/docs/getting-started/theme-colors/coffee/index.mdx +167 -0
  42. package/src/dist/contents/docs/getting-started/theme-colors/default/index.mdx +163 -0
  43. package/src/dist/contents/docs/getting-started/theme-colors/freshlime/index.mdx +164 -0
  44. package/src/dist/contents/docs/getting-started/theme-colors/index.mdx +9 -0
  45. package/src/dist/contents/docs/getting-started/theme-colors/llms/index.mdx +66 -0
  46. package/src/dist/docu.json +56 -23
  47. package/src/dist/lib/routes-config.ts +8 -1
  48. package/src/dist/package.json +1 -1
  49. package/src/dist/styles/globals.css +50 -67
  50. package/src/dist/styles/syntax.css +24 -29
  51. package/src/dist/tailwind.config.ts +0 -1
  52. package/bun.lock +0 -102
  53. package/src/dist/.vscode/extensions.json +0 -3
  54. package/src/dist/contents/docs/getting-started/components/accordion/index.mdx +0 -72
  55. package/src/dist/contents/docs/getting-started/components/button/index.mdx +0 -42
  56. package/src/dist/styles/editor.css +0 -57
  57. /package/src/dist/contents/docs/{getting-started/components → components}/custom/index.mdx +0 -0
  58. /package/src/dist/contents/docs/{getting-started/components → components}/image/index.mdx +0 -0
  59. /package/src/dist/contents/docs/{getting-started/components → components}/link/index.mdx +0 -0
@@ -8,14 +8,16 @@ I have implemented a `YouTube` component for your documentation. This component
8
8
 
9
9
  ## Preview
10
10
 
11
- <Youtube videoId="cpraXaw7dyc" />
11
+ <Youtube videoId="8sM0Di7Ew9Q" />
12
12
 
13
- ## Code
13
+ ## Output Markdown
14
14
 
15
- ```bash
16
- <Youtube videoId="cpraXaw7dyc" />
15
+ ```markdown
16
+ <Youtube videoId="8sM0Di7Ew9Q" />
17
17
  ```
18
18
 
19
19
  ## Usage
20
20
 
21
- for example the youtube URL show this https://www.youtube.com/watch?v=cpraXaw7dyc the ID `cpraXaw7dyc`
21
+ <Note type="note" title="Usage">
22
+ for example the youtube URL show this https://www.youtube.com/watch?v=8sM0Di7Ew9Q the ID `8sM0Di7Ew9Q`
23
+ </Note>
@@ -90,5 +90,3 @@ For both options, ensure that you add the variable to `tailwind.config.ts`:
90
90
  }
91
91
  }
92
92
  ```
93
-
94
- For theme and colors, refer to the [Theme section](/docs/getting-started/themes)
@@ -0,0 +1,9 @@
1
+ ---
2
+ title: Getting Started
3
+ description: Set up Your Documentations with DocuBook
4
+ date: 29-05-2025
5
+ ---
6
+
7
+ Welcome to DocuBook! This guide will help you set up and customize your documentation site quickly. Whether you're creating API references, user guides, or technical documentation, these components will help you build a professional and consistent documentation experience. Follow the steps below to get started with DocuBook and make the most of its powerful features.
8
+
9
+ <Outlet path="getting-started" />
@@ -15,7 +15,7 @@ To get started, you can clone the DocuBook repository directly from GitHub.
15
15
  Begin by cloning the DocuBook repository from GitHub:
16
16
 
17
17
  ```bash
18
- git clone --branch starter https://gitlab.com/mywildancloud/docubook.git
18
+ git clone --branch main https://github.com/DocuBook/docubook.git
19
19
  ```
20
20
 
21
21
  </StepperItem>
@@ -13,7 +13,7 @@ DocuBook is proudly **open-source**! 🎉 We believe in creating an accessible,
13
13
 
14
14
  <Note title="Contribute">
15
15
  Interested in helping us improve? Check out our [GitHub
16
- repository](https://github.com/gitfromwildan/docubook) to get started! From
16
+ repository](https://github.com/DocuBook/docubook) to get started! From
17
17
  feature suggestions to bug fixes, all contributions are welcome.
18
18
  </Note>
19
19
 
@@ -4,11 +4,11 @@ description: Get up and running with DocuBook in minutes with this comprehensive
4
4
  date: 20-05-2025
5
5
  ---
6
6
 
7
- Welcome to DocuBook! This guide will help you set up your documentation site quickly and efficiently.
7
+ Welcome to DocuBook! This guide will help you set up and customize your documentation site efficiently.
8
8
 
9
9
  ## Prerequisites
10
10
 
11
- Before we begin, make sure you have the following installed:
11
+ Before we begin, ensure you have the following installed:
12
12
 
13
13
  - [Git](https://git-scm.com/)
14
14
  - [Node.js 18+](https://nodejs.org/) or [Bun 1.0+](https://bun.sh/)
@@ -16,112 +16,130 @@ Before we begin, make sure you have the following installed:
16
16
 
17
17
  ## Installation
18
18
 
19
- <Note type="note" title="Note">
20
- Follow the instructions on the [installation page](/docs/getting-started/installation) to install the required dependencies and set up your project.
19
+ <Note type="note" title="Initial Setup">
20
+ Follow the [installation guide](/docs/getting-started/installation) to set up your project dependencies and configuration.
21
21
  </Note>
22
22
 
23
23
  ## Project Setup
24
24
 
25
- ### Customize Branding
25
+ ### Configuration
26
26
 
27
27
  <Stepper>
28
- <StepperItem title="Step 1: Add Favicon">
29
- Place your favicon at `public/favicon.ico`
28
+ <StepperItem title="Add Favicon">
29
+ Place your favicon at `public/favicon.ico` for browser tab display.
30
30
  </StepperItem>
31
- <StepperItem title="Step 2: Add Logo">
32
- Place your logo at `public/images/docu.svg` (SVG format recommended)
31
+ <StepperItem title="Add Logo">
32
+ Add your logo at `public/images/docu.svg` (SVG format recommended for scalability).
33
33
  </StepperItem>
34
- <StepperItem title="Step 3: Update Site Info">
35
- Edit `docu.json` to update site name, description, and other settings
34
+ <StepperItem title="Update Site Information">
35
+ Customize your site's metadata in `docu.json`:
36
+ - Site title and description
37
+ - Navigation structure
38
+ - Default theme settings
36
39
  </StepperItem>
37
40
  </Stepper>
38
41
 
39
- ## Creating Content
42
+ ## Content Management
40
43
 
41
44
  ### File Structure
42
45
 
43
- DocuBook uses the following structure:
46
+ DocuBook organizes content in a hierarchical structure:
44
47
 
45
- ````plaintext
48
+ ```plaintext
46
49
  contents/
47
- docs/
48
- getting-started/
49
- quick-start-guide/ <-- You are here
50
+ docs/ # Main documentation directory
51
+ getting-started/ # Section for getting started guides
52
+ quick-start-guide/ # Current guide
53
+ index.mdx # Main content file
54
+ guides/ # Additional documentation sections
55
+ components/ # Component-specific documentation
50
56
  index.mdx
51
- guides/
52
- components/
53
- index.mdx
54
- ````
57
+ ```
55
58
 
56
- ### Adding New Pages
59
+ ### Creating New Content
57
60
 
58
61
  <Stepper>
59
- <StepperItem title="Step 1: Create a New Folder">
60
- Create a new folder in `contents/docs/getting-started/` for your content section
62
+ <StepperItem title="1. Create Content Directory">
63
+ Organize your documentation by creating a new directory:
64
+ ```bash
65
+ mkdir -p contents/docs/your-section/your-topic
66
+ ```
67
+
68
+ Example for an API reference:
61
69
  ```bash
62
- mkdir -p contents/docs/getting-started/your-page-title
70
+ mkdir -p contents/docs/api/authentication
63
71
  ```
64
72
  </StepperItem>
65
- <StepperItem title="Step 2: Add MDX File">
66
- Create an `index.mdx` file with frontmatter:
73
+
74
+ <StepperItem title="2. Create MDX Content">
75
+ Add an `index.mdx` file with frontmatter metadata:
67
76
  ````markdown
68
77
  ---
69
- title: Your Page Title
70
- description: Brief description of your page
71
- date: 20-05-2025
78
+ title: Authentication
79
+ description: Learn how to implement user authentication
80
+ date: 2025-05-29
72
81
  ---
73
82
 
74
- # Your Content Here
83
+ Your comprehensive guide to implementing authentication in your application.
84
+
85
+ ## Getting Started
75
86
 
76
- Start writing your documentation using Markdown or MDX components.
87
+ Start by setting up your authentication provider...
77
88
  ````
78
89
  </StepperItem>
79
- <StepperItem title="Step 3: Add to Navigation">
80
- Update the navigation in `docu.json`:
81
- ```json:docu.json showLineNumbers {8}
82
- {
90
+
91
+ <StepperItem title="3. Update Navigation">
92
+ Add your new section to the navigation in `docu.json`. Here's how to add the authentication section we created earlier:
93
+
94
+ ```json:docu.json showLineNumbers {4-16}
95
+ {
83
96
  "routes": [
97
+ // ... existing routes ...
84
98
  {
85
- "title": "Getting Started",
86
- "href": "/getting-started",
87
- "noLink": true,
88
- "items": [
89
- { "title": "Your Page Title", "href": "/your-page-title" } // Add your page here separated by comma `,`
90
- ]
99
+ "title": "API",
100
+ "href": "/api",
101
+ "noLink": true,
102
+ "context": {
103
+ "icon": "Code2",
104
+ "description": "API Reference and Integration",
105
+ "title": "API"
106
+ },
107
+ "items": [
108
+ { "title": "Authentication", "href": "/authentication" }
109
+ ]
91
110
  }
92
- ]
93
- }
111
+ ]
112
+ }
94
113
  ```
114
+
115
+ This will add a new "API" section with an "Authentication" page under it. The `context` object defines how this section appears in the navigation, including its icon and description.
95
116
  </StepperItem>
96
117
  </Stepper>
97
118
 
98
- ## Development
119
+ ## Development Workflow
120
+
121
+ ### Local Development
99
122
 
100
- Start the development server:
123
+ Start the development server with live reload:
101
124
 
102
125
  ```bash
126
+ # Using npm
103
127
  npm run dev
104
- # or
128
+
129
+ # Or using Bun
105
130
  bun dev
106
131
  ```
107
132
 
108
- Visit [http://localhost:3000](http://localhost:3000) to see your site.
133
+ Access your site at [http://localhost:3000](http://localhost:3000)
109
134
 
110
- ## Building for Production
135
+ ### Building for Production
111
136
 
112
- When you're ready to deploy:
137
+ When ready to deploy:
113
138
 
114
139
  ```bash
140
+ # Build the production version
115
141
  npm run build
142
+
143
+ # Start the production server
116
144
  npm start
117
145
  ```
118
-
119
- ## Need Help?
120
-
121
- <Note type="info">
122
- Check out the [Components Guide](/docs/getting-started/components) to learn about all available components.
123
- </Note>
124
-
125
- <Note type="warning">
126
- Make sure to commit your changes to version control before deploying.
127
- </Note>
@@ -0,0 +1,167 @@
1
+ ---
2
+ title: Coffee
3
+ description: A warm, minimalistic design inspired by early computing. This theme is a replica of the "Coffee" theme from the `shiki-twoslash` package.
4
+ date: 2025-05-30
5
+ ---
6
+
7
+ ## Styles
8
+
9
+ DocuBook comes with a carefully designed color system that ensures consistency and accessibility across your documentation. The theme includes both light and dark modes, automatically adapting to the user's system preferences.
10
+
11
+ <Note type="note" title="note">
12
+ You can override the default styles by adding your own CSS variables in the `globals.css` and `syntax.css` files.
13
+ </Note>
14
+
15
+ <Tabs defaultValue="globals" className="pt-5 pb-1">
16
+ <TabsList>
17
+ <TabsTrigger value="globals">globals.css</TabsTrigger>
18
+ <TabsTrigger value="syntax">syntax.css</TabsTrigger>
19
+ </TabsList>
20
+ <TabsContent value="globals">
21
+ ```css:globals.css
22
+ /* Rich Coffee Theme */
23
+ @layer base {
24
+ :root {
25
+ --background: 35 40% 96%;
26
+ --foreground: 25 25% 10%;
27
+ --card: 0 0% 100%;
28
+ --card-foreground: 25 25% 10%;
29
+ --popover: 0 0% 100%;
30
+ --popover-foreground: 25 25% 10%;
31
+ --primary: 25 60% 40%;
32
+ --primary-foreground: 0 0% 100%;
33
+ --secondary: 35 30% 90%;
34
+ --secondary-foreground: 25 25% 10%;
35
+ --muted: 35 20% 94%;
36
+ --muted-foreground: 25 15% 35%;
37
+ --accent: 30 50% 38%;
38
+ --accent-foreground: 0 0% 100%;
39
+ --destructive: 5 85% 45%;
40
+ --destructive-foreground: 0 0% 100%;
41
+ --border: 30 15% 85%;
42
+ --input: 30 15% 88%;
43
+ --ring: 25 60% 40%;
44
+ --radius: 0.5rem;
45
+ --chart-1: 25 60% 45%;
46
+ --chart-2: 30 55% 45%;
47
+ --chart-3: 35 50% 42%;
48
+ --chart-4: 20 45% 38%;
49
+ --chart-5: 40 45% 40%;
50
+ --line-number-color: rgba(0, 0, 0, 0.08);
51
+ }
52
+
53
+ .dark {
54
+ --background: 30 10% 6%;
55
+ --foreground: 35 20% 94%;
56
+ --card: 30 10% 8%;
57
+ --card-foreground: 35 20% 94%;
58
+ --popover: 30 10% 8%;
59
+ --popover-foreground: 35 20% 94%;
60
+ --primary: 30 45% 52%;
61
+ --primary-foreground: 30 10% 6%;
62
+ --secondary: 30 12% 14%;
63
+ --secondary-foreground: 35 20% 94%;
64
+ --muted: 30 10% 16%;
65
+ --muted-foreground: 30 15% 60%;
66
+ --accent: 28 40% 48%;
67
+ --accent-foreground: 0 0% 100%;
68
+ --destructive: 5 80% 55%;
69
+ --destructive-foreground: 0 0% 100%;
70
+ --border: 30 10% 20%;
71
+ --input: 30 10% 20%;
72
+ --ring: 30 45% 52%;
73
+ --chart-1: 30 45% 52%;
74
+ --chart-2: 28 40% 50%;
75
+ --chart-3: 32 45% 50%;
76
+ --chart-4: 25 35% 46%;
77
+ --chart-5: 35 40% 48%;
78
+ --line-number-color: rgba(255, 255, 255, 0.12);
79
+ }
80
+ }
81
+ ```
82
+ </TabsContent>
83
+
84
+ <TabsContent value="syntax">
85
+ ```css:syntax.css
86
+ /* Rich Coffee Theme - Syntax Highlighting */
87
+
88
+ /* Light Mode */
89
+ .keyword {
90
+ color: hsl(25 60% 35%); /* Rich coffee brown */
91
+ }
92
+
93
+ .function {
94
+ color: hsl(30 55% 38%); /* Warm coffee brown */
95
+ }
96
+
97
+ .punctuation {
98
+ color: hsl(30 15% 55%); /* Muted brown */
99
+ }
100
+
101
+ .comment {
102
+ color: hsl(25 15% 45%); /* Muted brown */
103
+ font-style: italic;
104
+ opacity: 0.9;
105
+ }
106
+
107
+ .string,
108
+ .constant,
109
+ .annotation,
110
+ .boolean,
111
+ .number {
112
+ color: hsl(32 50% 40%); /* Warm brown with hint of orange */
113
+ }
114
+
115
+ .tag {
116
+ color: hsl(25 65% 30%); /* Dark rich coffee */
117
+ }
118
+
119
+ .attr-name {
120
+ color: hsl(28 55% 38%); /* Warm brown */
121
+ }
122
+
123
+ .attr-value {
124
+ color: hsl(35 55% 35%); /* Slightly orange brown */
125
+ }
126
+
127
+ /* Dark Mode */
128
+ .dark .keyword {
129
+ color: hsl(30 50% 65%); /* Light warm brown */
130
+ }
131
+
132
+ .dark .function {
133
+ color: hsl(28 55% 68%); /* Light warm brown */
134
+ }
135
+
136
+ .dark .string,
137
+ .dark .constant,
138
+ .dark .annotation,
139
+ .dark .boolean,
140
+ .dark .number {
141
+ color: hsl(35 50% 72%); /* Light warm brown with hint of orange */
142
+ }
143
+
144
+ .dark .tag {
145
+ color: hsl(30 50% 75%); /* Light warm brown */
146
+ }
147
+
148
+ .dark .attr-name {
149
+ color: hsl(28 45% 70%); /* Light warm brown */
150
+ }
151
+
152
+ .dark .attr-value {
153
+ color: hsl(35 50% 70%); /* Light warm brown with hint of orange */
154
+ }
155
+
156
+ .dark .comment {
157
+ color: hsl(30 15% 65%); /* Light brown-gray */
158
+ opacity: 0.8;
159
+ }
160
+
161
+ .dark .punctuation {
162
+ color: hsl(30 15% 70%); /* Light brown-gray */
163
+ opacity: 0.9;
164
+ }
165
+ ```
166
+ </TabsContent>
167
+ </Tabs>
@@ -0,0 +1,163 @@
1
+ ---
2
+ title: Default Theme
3
+ description: This page explains the Modern Blue theme colors used in DocuBook, which is a default theme provided by DocuBook.
4
+ date: 2025-05-20
5
+ ---
6
+
7
+ ## Styles
8
+
9
+ DocuBook comes with a carefully designed color system that ensures consistency and accessibility across your documentation. The theme includes both light and dark modes, automatically adapting to the user's system preferences.
10
+
11
+ <Note type="note" title="note">
12
+ You can override the default styles by adding your own CSS variables in the `globals.css` and `syntax.css` files.
13
+ </Note>
14
+
15
+ <Tabs defaultValue="globals" className="pt-5 pb-1">
16
+ <TabsList>
17
+ <TabsTrigger value="globals">globals.css</TabsTrigger>
18
+ <TabsTrigger value="syntax">syntax.css</TabsTrigger>
19
+ </TabsList>
20
+ <TabsContent value="globals">
21
+ ```css:globals.css
22
+ /* Modern Blue Theme */
23
+ @layer base {
24
+ :root {
25
+ --background: 210 40% 98%;
26
+ --foreground: 220 30% 15%;
27
+ --card: 0 0% 100%;
28
+ --card-foreground: 220 30% 15%;
29
+ --popover: 0 0% 100%;
30
+ --popover-foreground: 220 30% 15%;
31
+ --primary: 210 81% 56%; /* #2281E3 */
32
+ --primary-foreground: 0 0% 100%;
33
+ --secondary: 210 30% 90%;
34
+ --secondary-foreground: 220 30% 15%;
35
+ --muted: 210 20% 92%;
36
+ --muted-foreground: 220 15% 50%;
37
+ --accent: 200 100% 40%;
38
+ --accent-foreground: 0 0% 100%;
39
+ --destructive: 0 85% 60%;
40
+ --destructive-foreground: 0 0% 100%;
41
+ --border: 210 20% 85%;
42
+ --input: 210 20% 85%;
43
+ --ring: 210 81% 56%;
44
+ --radius: 0.5rem;
45
+ --chart-1: 210 81% 56%;
46
+ --chart-2: 200 100% 40%;
47
+ --chart-3: 220 76% 60%;
48
+ --chart-4: 190 90% 50%;
49
+ --chart-5: 230 86% 45%;
50
+ --line-number-color: rgba(0, 0, 0, 0.05);
51
+ }
52
+
53
+ .dark {
54
+ --background: 220 25% 10%;
55
+ --foreground: 210 30% 96%;
56
+ --card: 220 25% 15%;
57
+ --card-foreground: 210 30% 96%;
58
+ --popover: 220 25% 15%;
59
+ --popover-foreground: 210 30% 96%;
60
+ --primary: 210 100% 65%;
61
+ --primary-foreground: 220 25% 10%;
62
+ --secondary: 215 25% 20%;
63
+ --secondary-foreground: 210 30% 96%;
64
+ --muted: 215 20% 25%;
65
+ --muted-foreground: 215 20% 65%;
66
+ --accent: 200 100% 60%;
67
+ --accent-foreground: 0 0% 100%;
68
+ --destructive: 0 85% 70%;
69
+ --destructive-foreground: 0 0% 100%;
70
+ --border: 215 20% 25%;
71
+ --input: 215 20% 25%;
72
+ --ring: 210 100% 65%;
73
+ --chart-1: 210 100% 65%;
74
+ --chart-2: 200 100% 60%;
75
+ --chart-3: 220 90% 70%;
76
+ --chart-4: 190 100% 65%;
77
+ --chart-5: 230 90% 60%;
78
+ --line-number-color: rgba(255, 255, 255, 0.1);
79
+ }
80
+ }
81
+ ```
82
+ </TabsContent>
83
+
84
+ <TabsContent value="syntax">
85
+ ```css:syntax.css
86
+ /* Modern Blue Theme */
87
+ /* Light Mode */
88
+ .keyword {
89
+ color: #1d4ed8; /* Darker blue for better contrast */
90
+ }
91
+
92
+ .function {
93
+ color: #0369a1; /* Deep blue */
94
+ }
95
+
96
+ .punctuation {
97
+ color: #4b5563; /* Slate gray */
98
+ }
99
+
100
+ .comment {
101
+ color: #6b7280; /* Muted gray */
102
+ font-style: italic;
103
+ }
104
+
105
+ .string,
106
+ .constant,
107
+ .annotation,
108
+ .boolean,
109
+ .number {
110
+ color: #0d9488; /* Teal for better distinction */
111
+ }
112
+
113
+ .tag {
114
+ color: #1d4ed8; /* Matching keyword color */
115
+ }
116
+
117
+ .attr-name {
118
+ color: #0284c7; /* Sky blue */
119
+ }
120
+
121
+ .attr-value {
122
+ color: #2563eb; /* Primary blue */
123
+ }
124
+
125
+ /* Dark Mode */
126
+ .dark .keyword {
127
+ color: #60a5fa; /* Soft blue */
128
+ }
129
+
130
+ .dark .function {
131
+ color: #38bdf8; /* Sky blue */
132
+ }
133
+
134
+ .dark .string,
135
+ .dark .constant,
136
+ .dark .annotation,
137
+ .dark .boolean,
138
+ .dark .number {
139
+ color: #2dd4bf; /* Teal */
140
+ }
141
+
142
+ .dark .tag {
143
+ color: #60a5fa; /* Matching keyword color */
144
+ }
145
+
146
+ .dark .attr-name {
147
+ color: #7dd3fc; /* Lighter blue */
148
+ }
149
+
150
+ .dark .attr-value {
151
+ color: #3b82f6; /* Brighter blue */
152
+ }
153
+
154
+ .dark .comment {
155
+ color: #9ca3af; /* Lighter gray for dark mode */
156
+ }
157
+
158
+ .dark .punctuation {
159
+ color: #9ca3af; /* Lighter gray for dark mode */
160
+ }
161
+ ```
162
+ </TabsContent>
163
+ </Tabs>