Skip to content

Commit

Permalink
enhance: provide opacity for special tags
Browse files Browse the repository at this point in the history
  • Loading branch information
debanjandhar12 committed Jul 10, 2022
1 parent 67553bd commit cbf5e7c
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/notes/MultilineCardNote.ts
Expand Up @@ -31,6 +31,20 @@ export class MultilineCardNote extends Note {
["editor/input", `#card #bidirectional`],
["editor/clear-current-slash"],
]);
logseq.provideStyle(`
.page-reference[data-ref=forward], a[data-ref=forward] {
opacity: .3;
}
.page-reference[data-ref=reversed], a[data-ref=reversed] {
opacity: .3;
}
.page-reference[data-ref=bidirectional], a[data-ref=bidirectional] {
opacity: .3;
}
.page-reference[data-ref^=depth-], a[data-ref^=depth-] {
opacity: .3;
}
`);
});

private getCardDirection(): String {
Expand Down

0 comments on commit cbf5e7c

Please sign in to comment.