Skip to content

Conversation

@lifehackerhansol
Copy link

Description

This adds a custom block with the success keyword, which is a green container.

The colours for this container already exist in vars.css (--vp-c-success*), which, before this commit, is completely unused outside of generating a diff.

For example, this can be used for messages such as:

::: success

You have completed the walkthrough!

:::

Linked Issues

N/A

Additional Context

That success text in Chinese may not be accurate; I transliterated the meaning of success from Korean to Standard Mandarin. It should probably be checked.


Tip

The author of this PR can publish a preview release by commenting /publish below.

This adds a custom block with the `success` keyword, which is a green
container.

The colours for this container already exist in vars.css
(--vp-c-success*), which, before this commit, is completely unused
outside of generating a diff.

For example, this can be used for messages such as:
```
::: success

You have completed the walkthrough!

:::
```
@github-actions github-actions bot added the stale label Dec 3, 2024
@brc-dd brc-dd force-pushed the main branch 2 times, most recently from c5a8428 to 8abbe29 Compare August 14, 2025 03:45
@brc-dd brc-dd force-pushed the main branch 2 times, most recently from 084cf43 to d3a1567 Compare August 20, 2025 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant