diff --git a/aqt/browser.py b/aqt/browser.py index 89db4ac70..ffd55dc4d 100644 --- a/aqt/browser.py +++ b/aqt/browser.py @@ -823,13 +823,13 @@ by clicking on one on the left.""")) saved = self.col.conf.get('savedFilters', {}) for name, filt in sorted(saved.items()): item = self.CallbackItem(root, name, lambda s=filt: self.setFilter(s)) - item.setIcon(0, QIcon(":/icons/heart.png")) + item.setIcon(0, QIcon(":/icons/heart.svg")) def _userTagTree(self, root): for t in sorted(self.col.tags.all(), key=lambda t: t.lower()): item = self.CallbackItem( root, t, lambda t=t: self.setFilter("tag", t)) - item.setIcon(0, QIcon(":/icons/tag.png")) + item.setIcon(0, QIcon(":/icons/tag.svg")) def _decksTree(self, root): grps = self.col.sched.deckDueTree() @@ -840,7 +840,7 @@ by clicking on one on the left.""")) lambda g=g: self.setFilter("deck", head+g[0]), lambda g=g: self.mw.col.decks.collapseBrowser(g[1]), not self.mw.col.decks.get(g[1]).get('browserCollapsed', False)) - item.setIcon(0, QIcon(":/icons/deck.png")) + item.setIcon(0, QIcon(":/icons/deck.svg")) newhead = head + g[0]+"::" fillGroups(item, g[5], newhead) fillGroups(root, grps) @@ -849,7 +849,7 @@ by clicking on one on the left.""")) for m in sorted(self.col.models.all(), key=itemgetter("name")): mitem = self.CallbackItem( root, m['name'], lambda m=m: self.setFilter("mid", str(m['id']))) - mitem.setIcon(0, QIcon(":/icons/notetype.png")) + mitem.setIcon(0, QIcon(":/icons/notetype.svg")) # Filter tree ###################################################################### diff --git a/aqt/deckbrowser.py b/aqt/deckbrowser.py index d2d21bdf8..d3b3dd3e5 100644 --- a/aqt/deckbrowser.py +++ b/aqt/deckbrowser.py @@ -188,7 +188,7 @@ where id > ?""", (self.mw.col.sched.dayCutoff-86400)*1000) nonzeroColour(new, "#000099")) # options buf += ("" - "" % did) + "" % did) # children buf += self._renderDeckTree(children, depth+1) return buf diff --git a/designer/icons.qrc b/designer/icons.qrc index 1c30eebd2..cbf4e1b2d 100644 --- a/designer/icons.qrc +++ b/designer/icons.qrc @@ -1,9 +1,9 @@ icons/anki.png - icons/tag.png - icons/deck.png - icons/notetype.png - icons/heart.png + icons/tag.svg + icons/deck.svg + icons/notetype.svg + icons/heart.svg diff --git a/designer/icons/deck.png b/designer/icons/deck.png deleted file mode 100644 index f4797df5c..000000000 Binary files a/designer/icons/deck.png and /dev/null differ diff --git a/designer/icons/deck.svg b/designer/icons/deck.svg new file mode 100644 index 000000000..eb667570f --- /dev/null +++ b/designer/icons/deck.svg @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + diff --git a/designer/icons/heart.png b/designer/icons/heart.png deleted file mode 100644 index 482beedd0..000000000 Binary files a/designer/icons/heart.png and /dev/null differ diff --git a/designer/icons/heart.svg b/designer/icons/heart.svg new file mode 100644 index 000000000..61ddb2de2 --- /dev/null +++ b/designer/icons/heart.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/designer/icons/notetype.png b/designer/icons/notetype.png deleted file mode 100644 index 99172a987..000000000 Binary files a/designer/icons/notetype.png and /dev/null differ diff --git a/designer/icons/notetype.svg b/designer/icons/notetype.svg new file mode 100644 index 000000000..4269f6a73 --- /dev/null +++ b/designer/icons/notetype.svg @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/designer/icons/tag.png b/designer/icons/tag.png deleted file mode 100644 index 5406ac44c..000000000 Binary files a/designer/icons/tag.png and /dev/null differ diff --git a/designer/icons/tag.svg b/designer/icons/tag.svg new file mode 100644 index 000000000..6454cab9b --- /dev/null +++ b/designer/icons/tag.svg @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/web/imgs/gears.png b/web/imgs/gears.png deleted file mode 100644 index 7738414e9..000000000 Binary files a/web/imgs/gears.png and /dev/null differ diff --git a/web/imgs/gears.svg b/web/imgs/gears.svg new file mode 100644 index 000000000..7efbeb328 --- /dev/null +++ b/web/imgs/gears.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + +