🌃
Use graphs considering with dark-mode
When you get graphs, you can specify
appearance=dark
to get graphs suitable for dark-mode environment. You can also use this option with mode
option.You can get graphs suitable for dark-mode environment when you get graphs with
appearance=dark
.https://pixe.la/v1/users/<username>/graphs/<graphID>?appearance=dark
https://pixe.la/v1/users/<username>/graphs/<graphID>?mode=short&appearance=dark
https://pixe.la/v1/users/<username>/graphs/<graphID>?mode=line&appearance=dark

<graphID>?appearance=dark

<graphID>?mode=line&appearance=dark
Also, if you
GET - /v1/users/<username>/graphs/<graphID>.html
with mode=simple
or mode=simple-short
, you don't need to take any special care to deal with the dark-mode environment. The view will automatically switch based on the settings of the OS where the graph displayed.