Skip to content

Commit

Permalink
Update Button support Theming (#175)
Browse files Browse the repository at this point in the history
* Update stories of Button

Fixed disabled states
Fixed loading icon

* Updated Button component

Button now uses children
Deleted onlyIcon prop
Possibility to set title for Button
Updated tests
Updated stories

* Update Button support Theming

* Refactor

Props destructuring
Updated stories
Fixed styling

* Refactor

Added constants
Updated tokens styling
Updated branch

* Fix box-shadow on active and hover
  • Loading branch information
vepor authored and jaroslav-kubicek committed Jun 1, 2018
1 parent 9bca036 commit c4e80e5
Show file tree
Hide file tree
Showing 6 changed files with 6,184 additions and 1,448 deletions.
2 changes: 1 addition & 1 deletion config/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ names.forEach(async ({ inputFileName, outputComponentFileName, functionName }) =
return (
${optimizedSvg.replace(
/<svg\b[^>]*>(.*?)<\/svg>/g,
`<OrbitIcon viewBox="0 0 24 24" size={size} color={color} customColor={customColor}>$1</OrbitIcon>`,
`<OrbitIcon viewBox="0 0 24 24" size={size} color={color} customColor={customColor} className={className}>$1</OrbitIcon>`,
)}
);
}
Expand Down
Loading

0 comments on commit c4e80e5

Please sign in to comment.