Skip to content

Commit 1436516

Browse files
committed
Make WIP tag orange.
1 parent cc7453c commit 1436516

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

lib/src/config/color.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,10 @@ class Color
9494
static const Color color(0xFF,0xCD,0x8D);
9595
return color;
9696
}
97+
static const Color& MF_ORANGE() {
98+
static const Color color(0xED,0x70,0x14);
99+
return color;
100+
}
97101
static const Color& MF_PURPLE() {
98102
static const Color color(0xC7,0x9E,0xC9);
99103
return color;

lib/src/mind/ontology/ontology.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ Ontology::Ontology()
6666
tagTaxonomy.add(Tag::KeyPersonal(), new Tag{Tag::KeyPersonal(), &tagTaxonomy, Color::MF_GREEN()});
6767
tagTaxonomy.add(Tag::KeyProblem(), new Tag{Tag::KeyProblem(), &tagTaxonomy, Color::MF_BLACK()});
6868
tagTaxonomy.add(Tag::KeyTodo(), new Tag{Tag::KeyTodo(), &tagTaxonomy, Color::MF_YELLOW()});
69+
tagTaxonomy.add(Tag::KeyWip(), new Tag{Tag::KeyWip(), &tagTaxonomy, Color::MF_ORANGE()});
6970
tagTaxonomy.add(Tag::KeyDone(), new Tag{Tag::KeyDone(), &tagTaxonomy, Color::MF_GREEN()});
7071
// knowledge type
7172
tagTaxonomy.add(Tag::KeyWhat(), new Tag{Tag::KeyWhat(), &tagTaxonomy, Color::MF_TURQUOISE()});

lib/src/model/tag.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,10 @@ class Tag : public Clazz
6969
static const std::string KEY_TODO = std::string{"todo"};
7070
return KEY_TODO;
7171
}
72+
static const std::string& KeyWip() {
73+
static const std::string KEY_WIP= std::string{"wip"};
74+
return KEY_WIP;
75+
}
7276
static const std::string& KeyDone() {
7377
static const std::string KEY_DONE = std::string{"done"};
7478
return KEY_DONE;

0 commit comments

Comments
 (0)