In this section, we’ll implement a simple random theme provider.
Create a kotlin file named KotlinTheme.kt
locate in src/main/kotlin/runflow
, and writing the following content:
Add the following content to plugin-spec.yml
:
themes:
- service: runflow.KotlinTheme
name-bundle-id: Demo Theme
Read theme explanation.