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

Add percent units to color stops #15

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

Conversation

acupoftee
Copy link

@acupoftee acupoftee commented Oct 1, 2019

This PR address issue #13

Percentage units were added to all four gradient properties in codeblock.jsx.

This produces the correct CSS. Here's an example for XPro2:

Screen Shot 2019-09-30 at 9 23 28 PM

Full CSS:

background: -webkit-radial-gradient(50% 50%, circle closest-corner, rgba(224, 231, 230, 1) 40%, rgba(43, 42, 161, 0.6));
background: radial-gradient(50% 50%, circle closest-corner, rgba(224, 231, 230, 1) 40%, rgba(43, 42, 161, 0.6));

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant