Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(theme): containers: add the success custom block #4228

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Oct 8, 2024

  1. feat(theme): containers: add the success custom block

    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!
    
    :::
    ```
    lifehackerhansol committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    056c6da View commit details
    Browse the repository at this point in the history