-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #891 from helsingborg-stad/chore/remove-button-bac…
…kground chore: remove background params from button
- Loading branch information
Showing
18 changed files
with
49 additions
and
115 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,17 @@ | ||
@button([ | ||
'background' => 'primary', | ||
'text' => 'Primary bg', | ||
'color' => 'white' | ||
]) | ||
@endbutton | ||
|
||
@button([ | ||
'background' => 'secondary', | ||
'text' => 'Secondary bg', | ||
'color' => 'white' | ||
]) | ||
@endbutton | ||
|
||
@button([ | ||
'background' => 'default', | ||
'text' => 'Default bg' | ||
]) | ||
@endbutton |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,17 @@ | ||
@button([ | ||
'floating' => ['animate' => true, 'hover' => true], | ||
'text' => 'Animate + hover', | ||
'background' => 'default' | ||
]) | ||
@endbutton | ||
|
||
@button([ | ||
'floating' => ['animate' => false, 'hover' => true], | ||
'text' => 'Only hover', | ||
'background' => 'default' | ||
]) | ||
@endbutton | ||
|
||
@button([ | ||
'floating' => ['animate' => false, 'hover' => false], | ||
'text' => 'No hover or animate', | ||
'background' => 'default' | ||
]) | ||
@endbutton |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,20 @@ | ||
@button([ | ||
'color' => 'secondary', | ||
'size' => 'sm', | ||
'text' => 'Size sm', | ||
'background' => 'default' | ||
'text' => 'Size sm' | ||
]) | ||
@endbutton | ||
|
||
@button([ | ||
'color' => 'secondary', | ||
'size' => 'md', | ||
'text' => 'Size md', | ||
'background' => 'default' | ||
'text' => 'Size md' | ||
]) | ||
@endbutton | ||
|
||
@button([ | ||
'color' => 'secondary', | ||
'size' => 'lg', | ||
'text' => 'Size lg', | ||
'background' => 'default' | ||
'text' => 'Size lg' | ||
]) | ||
@endbutton |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,7 +26,6 @@ | |
]) | ||
|
||
@button([ | ||
'background' => 'primary', | ||
'text' => 'Primary bg', | ||
'color' => 'white' | ||
]) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.