Themes
This endpoint exposes system themes, a list of custom color sets.
URL: /themes
Method: GET
Success Responses
Code : 200 OK
Content: [theme] where theme is defined as:
{
"name": "string",
"light": "styles",
"dark": "styles"
}Where styles is an object with the following properties:
{
"selectorStyle": "style",
"symbolStyle": "style",
"argumentStyle": "style",
"temporaryStyle": "style",
"assignmentStyle": "style",
"stringStyle": "style",
"variableStyle": "style",
"metaStyle": "style",
"bracketStyle": "style",
"reservedStyle": "style",
"returnStyle": "style",
"globalStyle": "style",
"numberStyle": "style",
"commentStyle": "style"
}and style has the form:
with color being an RGBA color in HEX format.
If style is omitted a default style will be used.
Example:: Pharo themes GET /themes.
Last updated