diff --git a/_admin.php b/_admin.php
index bf170c4..ca8e2df 100644
--- a/_admin.php
+++ b/_admin.php
@@ -21,7 +21,7 @@ $core->addBehavior('adminDashboardFavorites', ['packmanBehaviors', 'adminDashboa
$_menu['Plugins']->addItem(
__('Packages repository'),
'plugin.php?p=pacKman#packman-repository-repository',
- 'index.php?pf=pacKman/icon.png',
+ [dcPage::getPF('pacKman/icon.svg'), dcPage::getPF('pacKman/icon-dark.svg')],
preg_match(
'/plugin.php\?p=pacKman(&.*)?$/',
$_SERVER['REQUEST_URI']
@@ -36,8 +36,8 @@ class packmanBehaviors
$favs->register('pacKman', [
'title' => __('Packages repository'),
'url' => 'plugin.php?p=pacKman#packman-repository-repository',
- 'small-icon' => 'index.php?pf=pacKman/icon.png',
- 'large-icon' => 'index.php?pf=pacKman/icon-big.png',
+ 'small-icon' => [dcPage::getPF('pacKman/icon.svg'), dcPage::getPF('pacKman/icon-dark.svg')],
+ 'large-icon' => [dcPage::getPF('pacKman/icon.svg'), dcPage::getPF('pacKman/icon-dark.svg')],
'permissions' => $core->auth->isSuperAdmin(),
'active_cb' => [
'packmanBehaviors',
diff --git a/_define.php b/_define.php
index d5f36ac..605cfa0 100644
--- a/_define.php
+++ b/_define.php
@@ -18,9 +18,9 @@ $this->registerModule(
'pacKman',
'Manage your Dotclear packages',
'Jean-Christian Denis',
- '2021.11.06',
+ '2022.02.01',
[
- 'requires' => [['core', '2.19']],
+ 'requires' => [['core', '2.21']],
'permissions' => null,
'type' => 'plugin',
'support' => 'https://github.com/JcDenis/pacKman',
diff --git a/icon-big.png b/icon-big.png
deleted file mode 100644
index 9b7014d..0000000
Binary files a/icon-big.png and /dev/null differ
diff --git a/icon-dark.svg b/icon-dark.svg
new file mode 100644
index 0000000..6538ed4
--- /dev/null
+++ b/icon-dark.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/icon.png b/icon.png
deleted file mode 100644
index 252e978..0000000
Binary files a/icon.png and /dev/null differ
diff --git a/icon.svg b/icon.svg
new file mode 100644
index 0000000..a5b535b
--- /dev/null
+++ b/icon.svg
@@ -0,0 +1 @@
+
\ No newline at end of file