* Theme options.
| 43 | * Theme options. |
| 44 | */ |
| 45 | interface Theme { |
| 46 | /** |
| 47 | * 1 - dark mode, 0 - dimmed mode. |
| 48 | * Default 1. |
| 49 | */ |
| 50 | mode: 0 | 1; |
| 51 | /** |
| 52 | * Brightness (0 - 100+). |
| 53 | * Default 100. |
| 54 | */ |
| 55 | brightness: number; |
| 56 | /** |
| 57 | * Contrast (0 - 100+). |
| 58 | * Default 100. |
| 59 | */ |
| 60 | contrast: number; |
| 61 | /** |
| 62 | * Grayscale (0 - 100). |
| 63 | * Default 0. |
| 64 | */ |
| 65 | grayscale: number; |
| 66 | /** |
| 67 | * Sepia (0 - 100). |
| 68 | * Default 0. |
| 69 | */ |
| 70 | sepia: number; |
| 71 | /** |
| 72 | * Specifies if custom font should be used. |
| 73 | * Default false. |
| 74 | */ |
| 75 | useFont: boolean; |
| 76 | /** |
| 77 | * Font family to use. |
| 78 | */ |
| 79 | fontFamily: string; |
| 80 | /** |
| 81 | * Makes text look bolder (0 - 1px). |
| 82 | * Default 0. |
| 83 | */ |
| 84 | textStroke: number; |
| 85 | /** |
| 86 | * Background color to use for dark mode. |
| 87 | * Default #181a1b |
| 88 | */ |
| 89 | darkSchemeBackgroundColor: string; |
| 90 | /** |
| 91 | * Text color to use for dark mode. |
| 92 | * Default #e8e6e3 |
| 93 | */ |
| 94 | darkSchemeTextColor: string; |
| 95 | /** |
| 96 | * Background color to use for light mode. |
| 97 | * Default #dcdad7 |
| 98 | */ |
| 99 | lightSchemeBackgroundColor: string; |
| 100 | /** |
| 101 | * Text color to use for light mode. |
| 102 | * Default #181a1b |
nothing calls this directly
no outgoing calls
no test coverage detected