Skip to content

Update button color, add text-decoration none, rename CSS variable#130

Merged
pixelbandito merged 2 commits intomasterfrom
chore/update-button-color
Nov 12, 2019
Merged

Update button color, add text-decoration none, rename CSS variable#130
pixelbandito merged 2 commits intomasterfrom
chore/update-button-color

Conversation

@pixelbandito
Copy link
Copy Markdown
Contributor

This is a patch version, since it doesn't add any functionality, it just fixes a bug and cleans up internal workings.

Updated primary button color to Cision green-ish blue. (Bug fix)

text-decoration: none for when a button uses an a or Link as the tag. (Bug fix)

CSS var name cleanup (--rvr-rvr-* -> --rvr-*)

Made example app use the same package versions as the parent by default, hopefully that will squash some of the security warnings on the github repo.

Added yalc to .gitignore. I used yalc to test locally, but I'm not confident enough yet to add instructions to the README. I will once I have the process down.

Copy link
Copy Markdown
Contributor

@mdespuits mdespuits left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The prop-types declaration is in the wrong place. Other than the one question, looks good!

Comment thread package.json Outdated
Comment thread .gitignore
yarn-error.log*
storybook-static
.yalc
yalc.lock
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is yalc?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yalc solves the same problem as yarn link/npm link, but it actually copies deps and maintains a sort of local package registry.

https://github.com/whitecolor/yalc

It works more like real dependencies, and, in this case, solved some issues with peer deps when I was trying to test local front-ends importing local RoverUI.

However, I haven't figured out the best options to use it with, so I had to let it make changes to my front-end code's package.json file. Not ideal, long term, so I haven't documented it as a "solution" for local testing.

I wanted to add it to .gitignore, because I anticipate using it for testing again and this reduces the risk of me pushing local registry metadata to git.

@pixelbandito pixelbandito merged commit a2a6846 into master Nov 12, 2019
@pixelbandito pixelbandito deleted the chore/update-button-color branch November 12, 2019 18:12
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.

2 participants