Closed alanaasmaa closed 8 years ago
I'm sorry, could you add a little more detail to this issue?
@jescalan I would like to remove border-radius from everything.
What do you mean by "everything"? Let's get started by listing out elements you are interested in.
Buttons, fields, inputs
Awesome -- ok the next step is to fork the repo and add the option, then open up a pull request with the changes 😁
...or close the issue! haha
Im pretty new to this kind of stuff and i don't have time right now to dig into it. I will try do to this later. I closed the issue cause this is not that kind of "issue". Haha
chants 👏 ALAN! ALAN! You can do it!
open source is all about teamwork! get your name on that contributor list, the glory will be worth it
Maybe something like this?
settings.styl
// Set to null to remove all rounded borders
$global-border-radius = 3px
code.styl
code($color = #DF5C33)
padding: 3px 4px
color: $color
background-color: #F5F5F5
border: 1px solid #E1E1E8
font-family: Menlo, Monaco, $monospace
if $global-border-radius
border-radius: $global-border-radius
@dbox thanks for the tip. When i looked the code i was thinking it would be more practical to give button or input field one more option
button($color,$size,$text-color,$border-radius) then it would not be global. And maybe someone would like to make different fields look a bit different. Also global default would be creat too.
I'd say if you're going to pick and chose which ones get it, might as well just do it in the css code. No point in passing that many arguments for every mixin.
Option to remove round borders.