Skip to content

Commit

Permalink
Make WIP tag orange.
Browse files Browse the repository at this point in the history
  • Loading branch information
dvorka committed Jan 26, 2025
1 parent cc7453c commit 1436516
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/src/config/color.h
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,10 @@ class Color
static const Color color(0xFF,0xCD,0x8D);
return color;
}
static const Color& MF_ORANGE() {
static const Color color(0xED,0x70,0x14);
return color;
}
static const Color& MF_PURPLE() {
static const Color color(0xC7,0x9E,0xC9);
return color;
Expand Down
1 change: 1 addition & 0 deletions lib/src/mind/ontology/ontology.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ Ontology::Ontology()
tagTaxonomy.add(Tag::KeyPersonal(), new Tag{Tag::KeyPersonal(), &tagTaxonomy, Color::MF_GREEN()});
tagTaxonomy.add(Tag::KeyProblem(), new Tag{Tag::KeyProblem(), &tagTaxonomy, Color::MF_BLACK()});
tagTaxonomy.add(Tag::KeyTodo(), new Tag{Tag::KeyTodo(), &tagTaxonomy, Color::MF_YELLOW()});
tagTaxonomy.add(Tag::KeyWip(), new Tag{Tag::KeyWip(), &tagTaxonomy, Color::MF_ORANGE()});
tagTaxonomy.add(Tag::KeyDone(), new Tag{Tag::KeyDone(), &tagTaxonomy, Color::MF_GREEN()});
// knowledge type
tagTaxonomy.add(Tag::KeyWhat(), new Tag{Tag::KeyWhat(), &tagTaxonomy, Color::MF_TURQUOISE()});
Expand Down
4 changes: 4 additions & 0 deletions lib/src/model/tag.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,10 @@ class Tag : public Clazz
static const std::string KEY_TODO = std::string{"todo"};
return KEY_TODO;
}
static const std::string& KeyWip() {
static const std::string KEY_WIP= std::string{"wip"};
return KEY_WIP;
}
static const std::string& KeyDone() {
static const std::string KEY_DONE = std::string{"done"};
return KEY_DONE;
Expand Down

0 comments on commit 1436516

Please sign in to comment.