Skip to content

Commit 7961ecb

Browse files
Merge pull request #136 from TailGrids/feat/doc-content-redesign
feat(doc-content): update doc content
2 parents e3b8998 + 8ba20fa commit 7961ecb

File tree

16 files changed

+1074
-570
lines changed

16 files changed

+1074
-570
lines changed

apps/docs/content/get-started/global-variables.mdx

Lines changed: 17 additions & 479 deletions
Large diffs are not rendered by default.

apps/docs/content/get-started/themes/dark.css

Lines changed: 492 additions & 0 deletions
Large diffs are not rendered by default.

apps/docs/content/get-started/themes/default.css

Lines changed: 496 additions & 0 deletions
Large diffs are not rendered by default.

apps/docs/content/installation/astro.mdx

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -77,12 +77,9 @@ Run the command in the CLI to initialize Tailgrids in your project:
7777
npx @tailgrids/cli@latest init
7878
```
7979

80-
</Step>
81-
82-
<Step>
83-
### Configure Styles
80+
Follow the prompts to configure your project.
8481

85-
Copy the contents of the generated `tailgrids.css` file and paste them into `src/styles/global.css` file.
82+
**Note:** If you have chosen not to replace the content of your main CSS file, you will need to copy and paste the styles of [tailgrids.css](/get-started/global-variables) into your main CSS file (e.g., `src/app/globals.css` or `src/index.css`).
8683

8784
</Step>
8885

apps/docs/content/installation/index.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ The fastest way to get started is by using our CLI. Run the following command in
1717
npx @tailgrids/cli@latest init
1818
```
1919

20-
This will initialize Tailgrids by installing required dependencies, generating the config file, and adding base styles. Then copy and paste the styles of [tailgrids.css](/get-started/global-variables) into your main CSS file (e.g., `src/app/globals.css`).
20+
This will initialize Tailgrids by installing required dependencies, generating the config file, and adding base styles.
21+
22+
**Note:** If you have chosen not to replace the content of your main CSS file, you will need to copy and paste the styles of [tailgrids.css](/get-started/global-variables) into your main CSS file (e.g., `src/app/globals.css` or `src/index.css`).
2123

2224
## Pick Your Framework
2325

apps/docs/content/installation/manual.mdx

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,7 @@ npx @tailgrids/cli@latest init
2727

2828
Follow the prompts to configure your project structure and path aliases.
2929

30-
</Step>
31-
32-
<Step>
33-
### Configure Styles
34-
35-
Copy the contents of the generated `tailgrids.css` file and paste them into your main CSS file (e.g., `src/styles.css`).
30+
**Note:** If you have chosen not to replace the content of your main CSS file, you will need to copy and paste the styles of [tailgrids.css](/get-started/global-variables) into your main CSS file (e.g., `src/app/globals.css` or `src/index.css`).
3631

3732
</Step>
3833

apps/docs/content/installation/next.mdx

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,7 @@ npx @tailgrids/cli@latest init
3333

3434
Follow the prompts to configure your project.
3535

36-
</Step>
37-
38-
<Step>
39-
### Configure Styles
40-
41-
Copy the contents of the generated `tailgrids.css` file and paste them into your main CSS file (e.g., `src/app/globals.css`).
42-
43-
Make sure you have imported the CSS file in your root layout.
36+
**Note:** If you have chosen not to replace the content of your main CSS file, you will need to copy and paste the styles of [tailgrids.css](/get-started/global-variables) into your main CSS file (e.g., `src/app/globals.css` or `src/index.css`).
4437

4538
</Step>
4639

apps/docs/content/installation/react-router.mdx

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,9 @@ Run the command in the CLI to initialize Tailgrids UI in your project:
5656
npx @tailgrids/cli@latest init
5757
```
5858

59-
</Step>
60-
61-
<Step>
62-
### Configure Styles
59+
Follow the prompts to configure your project.
6360

64-
Copy the contents of the generated `tailgrids.css` file and transition them into your main CSS file (e.g., `src/app.css`).
61+
**Note:** If you have chosen not to replace the content of your main CSS file, you will need to copy and paste the styles of [tailgrids.css](/get-started/global-variables) into your main CSS file (e.g., `src/app/globals.css` or `src/index.css`).
6562

6663
</Step>
6764

apps/docs/content/installation/tanstack.mdx

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,7 @@ npx @tailgrids/cli@latest init
3333

3434
Follow the prompts to configure Tailgrids UI
3535

36-
</Step>
37-
38-
<Step>
39-
### Configure Styles
40-
41-
Copy the contents of the generated `tailgrids.css` file and paste them into your main CSS file (e.g., `src/styles.css`).
42-
43-
Make sure your CSS file is imported in your root route.
36+
**Note:** If you have chosen not to replace the content of your main CSS file, you will need to copy and paste the styles of [tailgrids.css](/get-started/global-variables) into your main CSS file (e.g., `src/app/globals.css` or `src/index.css`).
4437

4538
</Step>
4639

apps/docs/content/installation/vite.mdx

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,9 @@ Vite requires some configuration for path aliases. Update your `tsconfig.json` a
4040

4141
#### tsconfig.json
4242

43-
```json title="tsconfig.json"
43+
```jsonc title="tsconfig.json"
4444
{
45+
// ...existing code
4546
"compilerOptions": {
4647
"baseUrl": ".",
4748
"paths": {
@@ -80,12 +81,9 @@ Run the CLI in your project root to initialize Tailgrids UI:
8081
npx @tailgrids/cli@latest init
8182
```
8283

83-
</Step>
84-
85-
<Step>
86-
### Configure Styles
84+
Follow the prompts to configure your project.
8785

88-
Copy the contents of the generated `tailgrids.css` file into your main CSS file (e.g., `src/index.css`).
86+
**Note:** If you have chosen not to replace the content of your main CSS file, you will need to copy and paste the styles of [tailgrids.css](/get-started/global-variables) into your main CSS file (e.g., `src/app/globals.css` or `src/index.css`).
8987

9088
</Step>
9189

0 commit comments

Comments
 (0)