-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(core): application frame enhancement (#735)
- Loading branch information
1 parent
c0bb78f
commit e4fe29d
Showing
73 changed files
with
1,447 additions
and
408 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
35 changes: 35 additions & 0 deletions
35
packages/angular-test-app/src/preview-examples/theme-switcher.html
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 |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<ix-grid> | ||
<ix-row> | ||
<ix-col size="2"> | ||
<span>Light/Dark</span> | ||
</ix-col> | ||
<ix-col> | ||
<ix-button (click)="toggleMode()">Toggle mode</ix-button> | ||
</ix-col> | ||
</ix-row> | ||
|
||
<ix-row> | ||
<ix-col size="2">Theme</ix-col> | ||
<ix-col> | ||
<ix-select | ||
[selectedIndices]="selectedTheme" | ||
(itemSelectionChange)="onItemSelectionChange($event)" | ||
placeholder="Select a theme" | ||
> | ||
<ix-select-item | ||
*ngFor="let theme of themes" | ||
[label]="theme" | ||
[value]="theme" | ||
></ix-select-item> | ||
</ix-select> | ||
</ix-col> | ||
</ix-row> | ||
|
||
<ix-row> | ||
<ix-col size="2">Use System</ix-col> | ||
<ix-col> | ||
<input type="checkbox" id="system" (change)="onSystemMode($event)" /> | ||
<label for="system"></label> | ||
</ix-col> | ||
</ix-row> | ||
</ix-grid> |
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.