Nicer hash tag CSS
parent
a41695bc67
commit
15263a8dc6
|
@ -63,7 +63,7 @@ export async function indexTasks({ name, tree }: IndexTreeEvent) {
|
||||||
// Push the tag to the list, removing the initial #
|
// Push the tag to the list, removing the initial #
|
||||||
task.tags.push(tree.children![0].text!.substring(1));
|
task.tags.push(tree.children![0].text!.substring(1));
|
||||||
// Remove this node from the tree
|
// Remove this node from the tree
|
||||||
return null;
|
// return null;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -178,7 +178,13 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.sb-hashtag {
|
.sb-hashtag {
|
||||||
color: blue;
|
color: #e2e9ff;
|
||||||
|
background-color: #002b6aad;
|
||||||
|
border: 1px solid #0120416b;
|
||||||
|
border-radius: 6px;
|
||||||
|
padding: 0 3px;
|
||||||
|
margin: 0 -3px;
|
||||||
|
font-size: 0.9em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sb-line-hr {
|
.sb-line-hr {
|
||||||
|
@ -434,10 +440,6 @@ html[data-theme="dark"] {
|
||||||
background-color: #333;
|
background-color: #333;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sb-hashtag {
|
|
||||||
color: #94b0f4;
|
|
||||||
}
|
|
||||||
|
|
||||||
.sb-naked-url {
|
.sb-naked-url {
|
||||||
color: #94b0f4;
|
color: #94b0f4;
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,6 +9,8 @@ release.
|
||||||
* Less "floppy" behavior when clicking links (regular, wiki and command): just navigates there right away. Note: use `Alt-click` to move the cursor inside of a link.
|
* Less "floppy" behavior when clicking links (regular, wiki and command): just navigates there right away. Note: use `Alt-click` to move the cursor inside of a link.
|
||||||
* Page reference to non-existing pages are now higlighted in a (red-ish) color
|
* Page reference to non-existing pages are now higlighted in a (red-ish) color
|
||||||
* Added `invokeFunction` `silverbullet` CLI sub-command to run arbitrary plug functions from the CLI.
|
* Added `invokeFunction` `silverbullet` CLI sub-command to run arbitrary plug functions from the CLI.
|
||||||
|
* Restyled #tags
|
||||||
|
* When tasks are indexed, the hashtag is now no longer removed from the task text
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue