No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

SubTitleTheme.cs 698B

12345678910111213141516171819202122232425
  1. using System;
  2. namespace XCharts.Runtime
  3. {
  4. [Serializable]
  5. public class SubTitleTheme : ComponentTheme
  6. {
  7. public SubTitleTheme(ThemeType theme) : base(theme)
  8. {
  9. m_FontSize = XCSettings.fontSizeLv2;
  10. switch (theme)
  11. {
  12. case ThemeType.Default:
  13. m_TextColor = ColorUtil.GetColor("#969696");
  14. break;
  15. case ThemeType.Light:
  16. m_TextColor = ColorUtil.GetColor("#969696");
  17. break;
  18. case ThemeType.Dark:
  19. m_TextColor = ColorUtil.GetColor("#B9B8CE");
  20. break;
  21. }
  22. }
  23. }
  24. }