question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add `outline` version to each button

See original GitHub issue

Let’s add a boolean prop to Button, outline, that when true, gives the button the following appearance:

  • White background color
  • Whatever color prop is specified to becomes the border and text color

Kind of like

image image

Buttons without a color prop already look this way. 🤔

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
rimildeyjsrcommented, Oct 2, 2019

@TejasQ - hey no problem! honestly, I should have mentioned that I won’t be able to pick this up for a long time after it got assigned to me!

I will pick up something more current from the issue list! 😃

1reaction
TejasQcommented, Jul 11, 2019

Yes you can!

Read more comments on GitHub >

github_iconTop Results From Across the Web

How To Create Outline Buttons - W3Schools
How TO - Outline Buttons ... Learn how to style outline buttons with CSS. ... Add the border-radius property to create rounded outline...
Read more >
How to make every button by default look like BS5 btn-outline ...
The obvious answer is add btn-outline-secondary to each of your buttons. But I suppose that's not what you wanted... wich is .
Read more >
How to Edit or Remove Outline Around Inputs and Buttons
To add a colored outline when the field is selected, you can use the focus state. In this example, we're changing the outline...
Read more >
outline - CSS: Cascading Style Sheets - MDN Web Docs
The outline property may be specified using one, two, or three of the values listed below. The order of the values does not...
Read more >
Adding Custom Button Borders With Shadows in Power BI
Learn how to customize a shadow to provide a one sided border to a button in Power BI. This design process can give...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found