Getting icons: Theme
theme is an optional property that can be specified by the key theme or t. Its values can be dark or d, and light or l. This property has priority over color, in other words, if both properties are present only theme will work.
Like color, this property only works on icons with one color, therefore if the default icon has more than one color it returns the plain icon instead.
GET /api?{iconName}&theme={theme}GET /api?{iconName}&t={theme}Double click to copy
Examples
Parameter
Value
iconName
p5js
theme
dark | d
Request
https://devapix.vercel.app/api?p5js&theme=darkDouble click to copy
Response
Parameter
Value
iconName
p5js
t
light | l
Request
https://devapix.vercel.app/api?p5js&t=l