-
Notifications
You must be signed in to change notification settings - Fork 12
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
Asides (Admonitions) restyle #36
Asides (Admonitions) restyle #36
Conversation
Signed-off-by: Mihael Vitlov <mihael.vitlov@arasdigital.co>
Signed-off-by: Mihael Vitlov <mihael.vitlov@arasdigital.co>
Signed-off-by: Mihael Vitlov <mihael.vitlov@arasdigital.co>
Signed-off-by: Mihael Vitlov <mihael.vitlov@arasdigital.co>
Signed-off-by: Mihael Vitlov <mihael.vitlov@arasdigital.co>
Signed-off-by: Mihael Vitlov <mihael.vitlov@arasdigital.co> # Conflicts: # astro.config.mjs
Signed-off-by: Mihael Vitlov <mihael.vitlov@arasdigital.co>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mikimih tip has the wrong icon. Please double check this things before submitting
Signed-off-by: Mihael Vitlov <mihael.vitlov@arasdigital.co>
As I explained in my initial PR comment: The default Starlight Aside component cannot be overridden, which results in the default Starlight icon on "tip" admonitions with triple colons (:::) syntax. To address this, I created a custom Aside component to use the correct icons per our design. This custom component should be used in MDX files for accurate "tip" annotations. I've now pushed updates to the MDX files, replacing the triple colon syntax with a custom Aside component. |
Restyle Starlight Admonitions Based on Design
This PR adds a new Aside component to match the design for admonitions.
How to Use in MDX Files
There are two ways to create admonitions:
Notes
and
We recommend using the second option with the Aside component, as it uses the icons from our design.