Skip to content

Commit ffd19e0

Browse files
author
Kevin Zuniga Cuellar
committed
edit theming callout section to be centered stying and move syntax info to content page
1 parent d071b2a commit ffd19e0

File tree

2 files changed

+3
-15
lines changed

2 files changed

+3
-15
lines changed

docs/tutorialkit.dev/src/content/docs/guides/creating-content.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,8 @@ TutorialKit comes with built-in support for both Markdown and MDX, powered by As
153153

154154
Callouts are visual elements designed to highlight specific information or provide additional context within a document or user interface. They are ideal for drawing attention to important tips, warnings, and other key messages.
155155

156+
You can create callouts using the following types: tip, info, warn, danger and success.
157+
156158
```
157159
:::tip
158160
Remember to save your work frequently to avoid losing any changes.

docs/tutorialkit.dev/src/content/docs/reference/theming.mdx

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -77,21 +77,7 @@ The content refers to the main part of the lesson that contains the text and ima
7777

7878
### Callouts
7979

80-
Callouts are visual elements used to draw attention to specific information or provide additional context within a document or user interface. They are typically used to highlight important tips, warnings, or other types of messages.
81-
82-
For instanceof, here's an example of an info callout.
83-
84-
![Content](./images/theming-callout.png)
85-
86-
Callouts are created like this:
87-
88-
```
89-
:::tip
90-
This is a tip
91-
:::
92-
```
93-
94-
Valid callout names are `tip`, `info`, `warn` and `danger`.
80+
Customize the appearance of each callout type by adjusting its specific style tokens. Each callout includes tokens for elements such as text color, title color, icon color, background, code snippet color, and border color.
9581

9682
#### Tip
9783

0 commit comments

Comments
 (0)