Skip to content

Commit 2b3f629

Browse files
committed
feat(ui): add a login icon and button
1 parent 243a40d commit 2b3f629

File tree

4 files changed

+25
-2
lines changed

4 files changed

+25
-2
lines changed

Brocfile.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const appRoot = "src";
1212
// First select all the source files and put them into trees with Funnel.
1313
// We use different trees for js metadata files and saas
1414
const info = new Funnel(appRoot, {
15-
include: ["**/*.info", '**/*.files','**/*.tid','**/*.multids'],
15+
include: ["**/*.info", '**/*.files','**/*.tid','**/*.multids','**/*.svg'],
1616
annotation: "Metadata files",
1717
});
1818

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"tiddlers": [
3+
{
4+
"file": "user-circle-o.svg",
5+
"fields": {
6+
"type": "text/vnd.tiddlywiki",
7+
"title": "$:/plugins/noteself/core/icons/user.svg",
8+
"tags": "icon"
9+
}
10+
}
11+
]
12+
}
Loading
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
11
title: $:/plugins/danielo515/tiddlypouch/ui/buttons/#
22

3-
<$button message="tm-modal" param="login-popup">Login</$button>
3+
<$button message="tm-modal" param="login-popup" tooltip="Login" aria-label="login" class=<<tv-config-toolbar-class>>>
4+
<$list filter="[<tv-config-toolbar-icons>prefix[yes]]">
5+
{{$:/plugins/noteself/core/icons/user.svg}}
6+
</$list>
7+
<$list filter="[<tv-config-toolbar-text>prefix[yes]]">
8+
<span class="tc-btn-text"><$text text="Login"/></span>
9+
</$list>
10+
</$button>

0 commit comments

Comments
 (0)