emulsify-ds / compound

Compound is the default component collection for Emulsify
https://emulsify-ds.github.io/compound/
GNU General Public License v2.0
12 stars 12 forks source link

Feat: Code Component #45

Closed Rain-kanyini closed 1 year ago

Rain-kanyini commented 2 years ago

Summary

This PR creates a code component for Compound

This PR fixes/implements the following bugs/features

When a user wants to use a code bracket, or single line of code. They can use this Atom to show their code styled with the correct Markup

Documentation Update (required)

If this pull request requires a change to Emulsify documentation, those changes, updates, and/or new information must accompany this pull request.

How to review this PR

Rain-kanyini commented 1 year ago

@Gregg-Hendrix approving this PR so we can review/approve as a group during our Frontend L10. Can you update the styles one more time?

  1. Remove the styles added to .code
  2. Add margin: 0; and background-color: var(--c-background-section); to .pre.

If you make these changes you should see it like: Screenshot from 2022-08-21 23-07-10

@callinmullaney , thank you for this feedback! I have now made these changes, and it matches the photo. I will add this to the L10 IDS :)

github-actions[bot] commented 1 year ago

:tada: This PR is included in version 1.10.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: