Skip to content

Commit 2d20fd2

Browse files
committed
Add grip lines icon and make it bigger
1 parent fbf60ae commit 2d20fd2

File tree

6 files changed

+48
-21
lines changed

6 files changed

+48
-21
lines changed

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
.*.swp
22

33
.env*
4+
bin/push
5+
bin/pull
6+
assets/icons.svg

assets/icons/grip-lines.svg

+1
Loading

assets/state_manager.js

+4
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ const INITIAL_STATE = {
1010
{
1111
done: false,
1212
name: 'Add your first to do task',
13+
},
14+
{
15+
done: false,
16+
name: 'Place your finger in the icon at the left (=) and move the task up or down',
1317
}
1418
]
1519
}

assets/styles.css

+5-3
Original file line numberDiff line numberDiff line change
@@ -372,9 +372,11 @@ task-item,
372372

373373
task-item .grabber,
374374
.task-item .grabber {
375-
padding: 0.25rem 0.5rem;
376-
font-weight: 600;
377-
font-size: var(--emoticon-font-size);
375+
--grabber-size: 16px;
376+
fill: var(--fg-dark, #e6ffff);
377+
max-height: var(--grabber-size, 16px);
378+
max-width: var(--grabber-size, 16px);
379+
padding: 0.25rem 0.5rem 0.25rem 0.25rem;
378380
}
379381

380382
task-item label,

bin/svgeez

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#!/bin/bash
2+
#
3+
# See: https://github.com/jgarber623/svgeez
4+
5+
MYLIST_DIR="$(dirname "$(dirname "$(readlink -f "$0")")")"
6+
7+
if ! command -v svgeez &> /dev/null
8+
then
9+
echo "Installing svgeez..."
10+
gem install svgeez
11+
fi
12+
13+
svgeez \
14+
build \
15+
--source "$MYLIST_DIR/assets/icons/" \
16+
--destination "$MYLIST_DIR/assets/icons.svg" \
17+
--prefix "icons"

0 commit comments

Comments
 (0)