Browse Source

lazygit

main
Gregory Leeman 3 weeks ago
parent
commit
8f4ebc103f
  1. 4
      workflowy-helper/main.js
  2. 42
      workflowy-helper/style.css

4
workflowy-helper/main.js

@ -117,6 +117,10 @@
tag.classList.add("tag"); tag.classList.add("tag");
tag.classList.add("tag-" + tagText); tag.classList.add("tag-" + tagText);
} }
var computedStyle = window.getComputedStyle(tag);
// if (computedStyle.backgroundColor === "rgb(227, 160, 8)") {
// tag.classList.add("tag-yellow");
// }
}); });
const links = n.querySelectorAll('.contentLink'); const links = n.querySelectorAll('.contentLink');
links.forEach(link => { links.forEach(link => {

42
workflowy-helper/style.css

@ -187,12 +187,12 @@ body::-webkit-scrollbar {
.linked-xPROJECT.tagged-ACTIVE > .notes .innerContentContainer { .linked-xPROJECT.tagged-ACTIVE > .notes .innerContentContainer {
color: var(--magenta); color: var(--magenta);
} }
.linked-xPROJECT.tagged-ACTIVE.tagged-PLANT > .name .innerContentContainer, .linked-xPROJECT.tagged-PLANT > .name .innerContentContainer,
.linked-xPROJECT.tagged-ACTIVE.tagged-PLANT > .notes .innerContentContainer { .linked-xPROJECT.tagged-PLANT > .notes .innerContentContainer {
color: var(--orange); color: var(--orange);
} }
.linked-xPROJECT.tagged-WAITING > .name .innerContentContainer, .linked-xPROJECT.tagged-STALLED > .name .innerContentContainer,
.linked-xPROJECT.tagged-WAITING > .notes .innerContentContainer { .linked-xPROJECT.tagged-STALLED > .notes .innerContentContainer {
color: var(--cyan); color: var(--cyan);
} }
@ -281,3 +281,37 @@ body::-webkit-scrollbar {
.root > .name { .root > .name {
color: var(--white) !important; color: var(--white) !important;
} }
.linked.tagged-done > .name > .content,
.linked.tagged-done > .notes > .content,
.linked.tagged-done > .name time > span,
.linked.tagged-missed > .name > .content,
.linked.tagged-missed > .notes > .content,
.linked.tagged-missed > .name time > span,
.linked.tagged-na > .name > .content,
.linked.tagged-na > .notes > .content,
.linked.tagged-na > .name time > span {
/* opacity: 0.5 !important; */
/* text-decoration: none !important; */
text-decoration: line-through !important;
text-decoration-thickness: 2px !important;
}
.linked.tagged-done > .name > .content,
.linked.tagged-done > .name time > span {
text-decoration-color: var(--green) !important;
}
.linked.tagged-missed > .name > .content,
.linked.tagged-missed > .name time > span {
text-decoration-color: var(--red) !important;
}
.linked.tagged-na > .name > .content,
.linked.tagged-na > .name time > span {
text-decoration-color: var(--blue) !important;
}
.tag-new {
color: var(--blue) !important;
}

Loading…
Cancel
Save