Use wavy flags (flag-alternative) (#1995)

This commit is contained in:
Henrik Giesel 2022-08-01 12:15:22 +02:00 committed by GitHub
parent 8a62e9c95e
commit 3e28605638
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 13 additions and 13 deletions

View File

@ -58,7 +58,7 @@
"dependencies": {
"@floating-ui/dom": "^0.3.0",
"@fluent/bundle": "^0.17.0",
"@mdi/svg": "^6.1.95",
"@mdi/svg": "^7.0.96",
"@popperjs/core": "^2.9.2",
"@types/lodash-es": "^4.17.4",
"@types/marked": "^4.0.1",

View File

@ -695,9 +695,9 @@ class SidebarTreeView(QTreeView):
###########################
def _flags_tree(self, root: SidebarItem) -> None:
icon_off = "icons:flag-off-outline.svg"
icon = "icons:flag.svg"
icon_outline = "icons:flag-outline.svg"
icon_off = "icons:flag-variant-off-outline.svg"
icon = "icons:flag-variant.svg"
icon_outline = "icons:flag-variant-outline.svg"
root = self._section_root(
root=root,

View File

@ -14,9 +14,9 @@ copy_mdi_icons(
"circle-outline.svg",
# flags
"flag.svg",
"flag-outline.svg",
"flag-off-outline.svg",
"flag-variant.svg",
"flag-variant-outline.svg",
"flag-variant-off-outline.svg",
# decks
"book-outline.svg",

View File

@ -61,7 +61,7 @@ class FlagManager:
def _load_flags(self) -> None:
labels = cast(dict[str, str], self.mw.col.get_config("flagLabels", {}))
icon = ColoredIcon(path="icons:flag.svg", color=colors.DISABLED)
icon = ColoredIcon(path="icons:flag-variant.svg", color=colors.DISABLED)
self._flags = [
Flag(

View File

@ -66,7 +66,7 @@
"path": "node_modules/@humanwhocodes/object-schema",
"licenseFile": "node_modules/@humanwhocodes/object-schema/LICENSE"
},
"@mdi/svg@6.6.95": {
"@mdi/svg@7.0.96": {
"licenses": "Apache-2.0",
"repository": "https://github.com/Templarian/MaterialDesign-SVG",
"publisher": "Austin Andrews",

View File

@ -597,10 +597,10 @@
"@jridgewell/resolve-uri" "^3.0.3"
"@jridgewell/sourcemap-codec" "^1.4.10"
"@mdi/svg@^6.1.95":
version "6.6.95"
resolved "https://registry.yarnpkg.com/@mdi/svg/-/svg-6.6.95.tgz#334ef718a06889e6a02b6802020f4f35f0ad5adb"
integrity sha512-krWKPBPmDle424VI3cJzTEyZgL/DryScgYjmPoaMhv6cb50M7sjqPNBkE5H5fpru2fc+II2ICEWvlIM0sVW00w==
"@mdi/svg@^7.0.96":
version "7.0.96"
resolved "https://registry.yarnpkg.com/@mdi/svg/-/svg-7.0.96.tgz#c7275a318da8594337243368c6b4dca6a90154f6"
integrity sha512-5DC+w7Kl2C82j4aTWCUf6wtHzgY60WBf1gT1qrpkLaMNcH6Vj9FpYPAXdSmtdkmSMvVMs8i1Rtv9cXWcHFQYpw==
"@mdn/browser-compat-data@^3.3.14":
version "3.3.14"