mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-07-01 18:38:16 +08:00
Rename Style
and Appearance
* Renames Style -> Decoration * Renames Appearance -> Style * Adds Style.Parse and Style.TryParse
This commit is contained in:

committed by
Patrik Svensson

parent
c3286a4842
commit
98cf63f485
@ -13,7 +13,7 @@ namespace Spectre.Console.Tests
|
||||
|
||||
public Encoding Encoding => _console.Encoding;
|
||||
|
||||
public Styles Style { get => _console.Style; set => _console.Style = value; }
|
||||
public Decoration Decoration { get => _console.Decoration; set => _console.Decoration = value; }
|
||||
public Color Foreground { get => _console.Foreground; set => _console.Foreground = value; }
|
||||
public Color Background { get => _console.Background; set => _console.Background = value; }
|
||||
|
||||
|
@ -13,7 +13,7 @@ namespace Spectre.Console.Tests
|
||||
public int Width { get; }
|
||||
public int Height { get; }
|
||||
|
||||
public Styles Style { get; set; }
|
||||
public Decoration Decoration { get; set; }
|
||||
public Color Foreground { get; set; }
|
||||
public Color Background { get; set; }
|
||||
|
||||
|
Reference in New Issue
Block a user