changed colors of few elements and a bit of additional logic for colors.

This commit is contained in:
2020-01-26 17:46:12 +01:00
parent d25a708314
commit 7127194c4d
4 changed files with 35 additions and 4 deletions

View File

@@ -133,7 +133,8 @@ class View:
if cluster is not None:
example_content.append(h("span.example-cluster", {}, str(cluster)))
example_content.append(h("span.example-text-inner", {}, example.text()))
example_text_inner_tag = "span.example-text-{}".format(example.get_view_type())
example_content.append(h(example_text_inner_tag, {}, example.text()))
if "frequency" in example.other_attributes:
example_content.append(h("span.example-frequency", {}, example.other_attributes["frequency"]))