Update icon themes
This commit is contained in:
+14
-2
@@ -107,6 +107,18 @@ ICONS = [
|
||||
"theme_dark",
|
||||
"theme_auto",
|
||||
|
||||
"btn_ok",
|
||||
"btn_cancel",
|
||||
"btn_yes",
|
||||
"btn_no",
|
||||
"btn_open",
|
||||
"btn_close",
|
||||
"btn_browse",
|
||||
"btn_list",
|
||||
"btn_new",
|
||||
"btn_create",
|
||||
"btn_reset",
|
||||
|
||||
"add",
|
||||
"bookmarks",
|
||||
"browse",
|
||||
@@ -142,7 +154,6 @@ ICONS = [
|
||||
"more_arrow",
|
||||
"more_vertical",
|
||||
"noncheckable",
|
||||
"open",
|
||||
"panel",
|
||||
"pin",
|
||||
"project_copy",
|
||||
@@ -151,7 +162,6 @@ ICONS = [
|
||||
"remove",
|
||||
"revert",
|
||||
"settings",
|
||||
"star",
|
||||
"stats",
|
||||
"text",
|
||||
"timer_off",
|
||||
@@ -288,6 +298,8 @@ def processFontAwesome(workDir: Path, iconsDir: Path, jobs: dict) -> None:
|
||||
viewbox = [int(x) for x in svg.get("viewBox", "").split()]
|
||||
viewbox = [viewbox[2]//2 - 256, 0, 512, 512]
|
||||
svg.set("viewBox", " ".join(str(x) for x in viewbox))
|
||||
for elem in svg.iter():
|
||||
elem.attrib.pop("fill", None)
|
||||
icons[key] = svg
|
||||
else:
|
||||
print(f"Not Found: {icon}.svg")
|
||||
|
||||
@@ -60,6 +60,18 @@
|
||||
"theme_dark": "moon",
|
||||
"theme_auto": "circle-half-stroke",
|
||||
|
||||
"btn_ok": "circle-check",
|
||||
"btn_cancel": "ban",
|
||||
"btn_yes": "circle-check",
|
||||
"btn_no": "circle-xmark",
|
||||
"btn_open": "file-arrow-up",
|
||||
"btn_close": "circle-xmark",
|
||||
"btn_browse": "folder-open",
|
||||
"btn_list": "list",
|
||||
"btn_new": "plus",
|
||||
"btn_create": "star",
|
||||
"btn_reset": "rotate-left",
|
||||
|
||||
"add": "plus",
|
||||
"bookmarks": "bookmark",
|
||||
"browse": "folder-open",
|
||||
@@ -95,16 +107,14 @@
|
||||
"more_arrow": "caret-right",
|
||||
"more_vertical": "ellipsis-vertical",
|
||||
"noncheckable": "square-minus",
|
||||
"open": "file-arrow-up",
|
||||
"panel": "table-list",
|
||||
"pin": "thumbtack",
|
||||
"project_copy": "copy",
|
||||
"quote": "quote-right",
|
||||
"refresh": "arrow-rotate-right",
|
||||
"refresh": "rotate-right",
|
||||
"remove": "minus",
|
||||
"revert": "arrow-rotate-left",
|
||||
"revert": "rotate-left",
|
||||
"settings": "gear",
|
||||
"star": "star",
|
||||
"stats": "chart-line",
|
||||
"text": "file-lines",
|
||||
"timer_off": "pause",
|
||||
|
||||
@@ -60,6 +60,18 @@
|
||||
"theme_dark": "dark_mode",
|
||||
"theme_auto": "contrast",
|
||||
|
||||
"btn_ok": "check_circle",
|
||||
"btn_cancel": "cancel",
|
||||
"btn_yes": "check_circle",
|
||||
"btn_no": "do_not_disturb_on",
|
||||
"btn_open": "open_in_new",
|
||||
"btn_close": "close",
|
||||
"btn_browse": "folder_open",
|
||||
"btn_list": "format_list_bulleted",
|
||||
"btn_new": "new_window",
|
||||
"btn_create": "star",
|
||||
"btn_reset": "undo",
|
||||
|
||||
"add": "add",
|
||||
"bookmarks": "bookmarks",
|
||||
"browse": "folder_open",
|
||||
@@ -95,7 +107,6 @@
|
||||
"more_arrow": "arrow_right",
|
||||
"more_vertical": "more_vert",
|
||||
"noncheckable": "indeterminate_check_box",
|
||||
"open": "open_in_new",
|
||||
"panel": "dock_to_bottom",
|
||||
"pin": "keep",
|
||||
"project_copy": "folder_copy",
|
||||
@@ -104,7 +115,6 @@
|
||||
"remove": "remove",
|
||||
"revert": "settings_backup_restore",
|
||||
"settings": "settings",
|
||||
"star": "star",
|
||||
"stats": "stacked_line_chart",
|
||||
"text": "subject",
|
||||
"timer_off": "timer_off",
|
||||
|
||||
@@ -60,6 +60,18 @@
|
||||
"theme_dark": "moon",
|
||||
"theme_auto": "contrast",
|
||||
|
||||
"btn_ok": "checkbox-circle",
|
||||
"btn_cancel": "indeterminate-circle",
|
||||
"btn_yes": "checkbox-circle",
|
||||
"btn_no": "close-circle",
|
||||
"btn_open": "file-upload",
|
||||
"btn_close": "close-circle",
|
||||
"btn_browse": "folder-2",
|
||||
"btn_list": "list-unordered",
|
||||
"btn_new": "add",
|
||||
"btn_create": "star-fill",
|
||||
"btn_reset": "reset-left",
|
||||
|
||||
"add": "add",
|
||||
"bookmarks": "bookmark",
|
||||
"browse": "folder-2",
|
||||
@@ -95,7 +107,6 @@
|
||||
"more_arrow": "arrow-right-s-fill",
|
||||
"more_vertical": "more-2-fill",
|
||||
"noncheckable": "checkbox-indeterminate",
|
||||
"open": "file-upload",
|
||||
"panel": "layout-bottom",
|
||||
"pin": "pushpin",
|
||||
"project_copy": "file-copy-2",
|
||||
@@ -104,7 +115,6 @@
|
||||
"remove": "subtract",
|
||||
"revert": "reset-left",
|
||||
"settings": "settings-2",
|
||||
"star": "star-fill",
|
||||
"stats": "line-chart",
|
||||
"text": "file-text",
|
||||
"timer_off": "zzz",
|
||||
|
||||
Reference in New Issue
Block a user