-
Notifications
You must be signed in to change notification settings - Fork 300
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactors Theme Component and added tests for coverage
- Loading branch information
1 parent
11c1b88
commit c6de390
Showing
3 changed files
with
157 additions
and
15 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,50 @@ | ||
<div class="modal-dialog" role="document"> | ||
<div class="modal-content"> | ||
|
||
<div class="modal-header"> | ||
<!-- Start ignoring HTMLLintBear --> | ||
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button> | ||
<!-- Stop ignoring HTMLLintBear --> | ||
<button | ||
type="button" | ||
class="close" | ||
data-dismiss="modal" | ||
aria-label="Close" | ||
><span aria-hidden="true">×</span | ||
></button> | ||
<h4 class="modal-title" id="my-modal-label">Customization</h4> | ||
<button type="button" (click)="setTheme('defaultTheme')" class="btn btn-round btn-default theme-link" id="default">Default</button> | ||
<button type="button" (click)="setTheme('darkTheme')" class="btn btn-round btn-default theme-link" id="dark">Dark</button> | ||
<button type="button" (click)="setTheme('basicTheme')" class="btn btn-round btn-default theme-link" id="basic">Basic</button> | ||
<button type="button" (click)="setTheme('contrastTheme')" class="btn btn-round btn-default theme-link" id="contrast">Contrast</button> | ||
<button type="button" (click)="setTheme('terminalTheme')" class="btn btn-round btn-default theme-link" id="terminal">Terminal</button> | ||
<button type="button" (click)="setTheme('nightTheme')" class="btn btn-round btn-default theme-link" id="night">Night</button> | ||
<button | ||
type="button" | ||
(click)="setTheme('defaultTheme')" | ||
class="btn btn-round btn-default theme-link" | ||
id="default" | ||
>Default</button> | ||
<button | ||
type="button" | ||
(click)="setTheme('darkTheme')" | ||
class="btn btn-round btn-default theme-link" | ||
id="dark" | ||
>Dark</button> | ||
<button | ||
type="button" | ||
(click)="setTheme('basicTheme')" | ||
class="btn btn-round btn-default theme-link" | ||
id="basic" | ||
>Basic</button> | ||
<button | ||
type="button" | ||
(click)="setTheme('contrastTheme')" | ||
class="btn btn-round btn-default theme-link" | ||
id="contrast" | ||
>Contrast</button> | ||
<button | ||
type="button" | ||
(click)="setTheme('terminalTheme')" | ||
class="btn btn-round btn-default theme-link" | ||
id="terminal" | ||
>Terminal</button> | ||
<button | ||
type="button" | ||
(click)="setTheme('nightTheme')" | ||
class="btn btn-round btn-default theme-link" | ||
id="night" | ||
>Night</button> | ||
</div> | ||
|
||
</div> | ||
</div> |
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