-
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update readmes, change previewhost gallery to use ConsoloniaApplicati…
…on<T>
- Loading branch information
Showing
10 changed files
with
63 additions
and
66 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,34 @@ | ||
# Consolonia UI | ||
|
||
TUI (Text User Interface) (GUI Framework) implementation for [Avalonia UI](https://github.com/AvaloniaUI) | ||
# Consolonia.Themes.TurboVision | ||
Consolonia is a TUI (Text User Interface) (GUI Framework) implementation for [Avalonia UI](https://github.com/AvaloniaUI) | ||
|
||
Supports XAML, data bindings, animation, styling and the rest from Avalonia. | ||
|
||
> Project is in proof of concept state and is looking for collaboration. | ||
## Showcase (click picture to see video) | ||
# Showcase (click picture to see video) | ||
[![datagridpic](https://user-images.githubusercontent.com/10516222/141980173-4eb4057a-6996-45bf-83f6-931316c98d88.png)](https://youtu.be/ttgZmbruk3Y) | ||
|
||
This package defines 4 themes for Consolonia | ||
* **MaterialTheme** - Material Design | ||
* **FluentTheme** - Fluent Design | ||
* **TurboVisionTheme** - Turbo Vision | ||
* **TurboVisionDarkTheme** - Turbo Vision Dark | ||
* **TurboVisionBlackTheme** - Turbo Vision Black | ||
This package contains the following Consolonia Themes: | ||
* **MaterialTheme** - Material Design theme | ||
* **FluentTheme** - Fluent Design theme | ||
* **TurboVisionTheme** - TurboVision theme | ||
* **TurboVisionDarkTheme** - TurboVision Dark theme | ||
* **TurboVisionBlackTheme** - TurboVision Black theme | ||
|
||
# Usage | ||
Define an application with a theme | ||
|
||
## Define an application | ||
Themes are styles which are applied to the application. | ||
|
||
HelloWorldApp.cs | ||
```csharp | ||
// use HelloWorldWindow as the MainWindow for the application | ||
public class HelloWorldApp : ConsoloniaApplication<HelloWorldWindow> | ||
{ | ||
public override void Initialize() | ||
{ | ||
// set the theme | ||
Styles.Add(new MaterialTheme()); | ||
} | ||
} | ||
``` | ||
|
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 was deleted.
Oops, something went wrong.
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