Hello A.,
Unfortunately, it is not yet implemented; because `style` on `timing` is nowadays only global not yet local...
See:
Here are some proposals:
@startuml
<style>
timingDiagram {
binary {
LineColor green
}
}
</style>
clock clk with period 1
binary "Input Signal 1" as IS1
binary "Input Signal 2" as IS2
binary "Output Signal 1" as OS1
@0
IS1 is low
IS2 is high
@5
IS1 is high
@6
IS2 is low
@10
IS1 is low
/' Output Signals '/
<style>
timingDiagram {
binary {
LineColor red
}
}
</style>
@0
OS1 is low
@2
OS1 is high
@4
OS1 is low
@5
OS1 is high
@10
OS1 is low
@enduml
Or:
@startuml
<style>
timingDiagram {
.red {
LineColor red
}
}
</style>
clock clk with period 1
binary "Input Signal 1" as IS1
binary "Input Signal 2" as IS2
binary "Output Signal 1" as OS1 <<red>>
@0
IS1 is low
IS2 is high
OS1 is low
@2
OS1 is high
@4
OS1 is low
@5
IS1 is high
OS1 is high
@6
IS2 is low
@10
IS1 is low
OS1 is low
@enduml
If that can help for a wanted feature... (for PlantUML team)
Regards.