Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
lightdark
master
Top Level Namespace
Lightdark
Toggle
Mode
NotificationObserver
ThemeController
ThemeSetter
TTYThemeSetter
VimThemeSetter
Generated using Crystal 1.10.1
2024-01-09 19:00:07 UTC
enum
Mode
Defined in:
mode.cr
Enum Members
Dark
=
0
Light
=
1
Constructors
.current
: Mode
Instance Method Summary
#dark?
#light?
#theme
Constructor Detail
def self.
current
:
Mode
#
[
View source
]
Instance Method Detail
def
dark?
#
[
View source
]
def
light?
#
[
View source
]
def
theme
#
[
View source
]