Themes (other than the default theme) can specify a `parent-name` in the json file. This theme will be used as a base for the theme. Events and profiles of the children override those in the parents. For this we move the lookup code into it's separate class and also add tests. Closes: #38
32 lines
557 B
JSON
32 lines
557 B
JSON
{
|
|
"name" : "default",
|
|
"profiles" : [
|
|
{
|
|
"name" : "full",
|
|
"feedbacks" : [
|
|
{
|
|
"event-name" : "test-dummy-0",
|
|
"type" : "Dummy"
|
|
},
|
|
{
|
|
"event-name" : "test-dummy-1",
|
|
"type" : "Dummy"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name" : "quiet",
|
|
"feedbacks" : [
|
|
{
|
|
"event-name" : "test-dummy-0",
|
|
"type" : "Dummy"
|
|
},
|
|
{
|
|
"event-name" : "test-dummy-1",
|
|
"type" : "Dummy"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|