ThemeTests.cs 414 B

1234567891011121314151617
  1. using System.Text.Json;
  2. using static Terminal.Gui.Configuration.ConfigurationManager;
  3. namespace Terminal.Gui.ConfigurationTests;
  4. /// <summary>
  5. /// Tests Settings["Theme"] and ThemeManager.Theme
  6. /// </summary>
  7. public class ThemeTests
  8. {
  9. public static readonly JsonSerializerOptions _jsonOptions = new ()
  10. {
  11. Converters = { new AttributeJsonConverter (), new ColorJsonConverter () }
  12. };
  13. }