From 83fc189fd332c0df2dc719a7ba676f3fad7cca32 Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Tue, 20 Jun 2023 22:48:50 +0200 Subject: [PATCH] Themes: make the selected note pulsate and have a different border when selected --- assets/layers/note/note.json | 4 ++-- assets/svg/note.svg | 25 ++----------------------- assets/svg/resolved.svg | 22 +--------------------- 3 files changed, 5 insertions(+), 46 deletions(-) diff --git a/assets/layers/note/note.json b/assets/layers/note/note.json index 4bf57c781..fc87b0f01 100644 --- a/assets/layers/note/note.json +++ b/assets/layers/note/note.json @@ -105,11 +105,11 @@ "centroid" ], "icon": { - "render": "./assets/svg/note.svg", + "render": "note", "mappings": [ { "if": "closed_at~*", - "then": "./assets/svg/resolved.svg" + "then": "resolved" } ] }, diff --git a/assets/svg/note.svg b/assets/svg/note.svg index 34daea006..cd04d94cb 100644 --- a/assets/svg/note.svg +++ b/assets/svg/note.svg @@ -13,32 +13,11 @@ xmlns:svg="http://www.w3.org/2000/svg"> - - - + d="M 135.55664,1.9765625 C 74.593645,2.1922681 20.084472,43.910648 7.2773438,104.37109 4.936895,115.41704 4.1435422,126.42334 4.7265625,137.18555 2.5821353,205.89923 56.815085,269.30423 107.08203,335.96094 c 12.32031,15.26562 30.35156,34.07422 30.35156,34.07422 l 27.64453,-32.61328 C 227.98632,255.40992 319.84389,135.74148 238.04492,49.080078 219.42005,26.853995 193.07863,10.556457 161.97656,4.4921875 153.10693,2.7626953 144.26564,1.9457474 135.55664,1.9765625 Z"/> - - -