Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
struct
Srcom::User::NameStyle
Inherits
JSON::Serializable
/
Struct
/
Value
/
Object
Constructors
new
(pull :
JSON::PullParser
)
Source
new
(*, __pull_for_json_serializable pull :
JSON::PullParser
)
Source
Instance methods
color
light => hexcode and dark => hexcode
Source
color=
(color :
Hash
(
String
,
String
) |
Nil
)
light => hexcode and dark => hexcode
Source
color_from
light => hexcode and dark => hexcode
Source
color_from=
(color_from :
Hash
(
String
,
String
) |
Nil
)
light => hexcode and dark => hexcode
Source
color_to
light => hexcode and dark => hexcode
Source
color_to=
(color_to :
Hash
(
String
,
String
) |
Nil
)
light => hexcode and dark => hexcode
Source
style
Source
style=
(style :
String
)
Source