diff --git a/Block/Adminhtml/System/Config/Form/Field/ColorPicker.php b/Block/Adminhtml/System/Config/Form/Field/ColorPicker.php index d5954bb..2fed115 100644 --- a/Block/Adminhtml/System/Config/Form/Field/ColorPicker.php +++ b/Block/Adminhtml/System/Config/Form/Field/ColorPicker.php @@ -5,7 +5,7 @@ * @category Admin * @package Del001_AdminUiColorSwap * @author https://github.com/nmarcy-del - * @copyright Copyright (c) 2023 https://github.com/nmarcy-del + * @copyright Copyright (c) 2024 https://github.com/nmarcy-del */ namespace Del001\AdminUiColorSwap\Block\Adminhtml\System\Config\Form\Field; diff --git a/Block/Adminhtml/Theme.php b/Block/Adminhtml/Theme.php index 3a8d9b4..9a6b8b2 100644 --- a/Block/Adminhtml/Theme.php +++ b/Block/Adminhtml/Theme.php @@ -5,7 +5,7 @@ * @category Admin * @package Del001_AdminUiColorSwap * @author https://github.com/nmarcy-del - * @copyright Copyright (c) 2023 https://github.com/nmarcy-del + * @copyright Copyright (c) 2024 https://github.com/nmarcy-del */ namespace Del001\AdminUiColorSwap\Block\Adminhtml; diff --git a/Helper/Data.php b/Helper/Data.php index fc1a321..e01de4a 100644 --- a/Helper/Data.php +++ b/Helper/Data.php @@ -5,7 +5,7 @@ * @category Admin * @package Del001_AdminUiColorSwap * @author https://github.com/nmarcy-del - * @copyright Copyright (c) 2023 https://github.com/nmarcy-del + * @copyright Copyright (c) 2024 https://github.com/nmarcy-del */ namespace Del001\AdminUiColorSwap\Helper; diff --git a/Model/Config/Source/Theme.php b/Model/Config/Source/Theme.php index fa8e59a..529d814 100644 --- a/Model/Config/Source/Theme.php +++ b/Model/Config/Source/Theme.php @@ -5,7 +5,7 @@ * @category Admin * @package Del001_AdminUiColorSwap * @author https://github.com/nmarcy-del - * @copyright Copyright (c) 2023 https://github.com/nmarcy-del + * @copyright Copyright (c) 2024 https://github.com/nmarcy-del */ namespace Del001\AdminUiColorSwap\Model\Config\Source; diff --git a/Test/Unit/Block/Adminhtml/ThemeTest.php b/Test/Unit/Block/Adminhtml/ThemeTest.php index 62bc078..ac6fd72 100644 --- a/Test/Unit/Block/Adminhtml/ThemeTest.php +++ b/Test/Unit/Block/Adminhtml/ThemeTest.php @@ -62,4 +62,9 @@ public function testGetCustomFontSecondaryColor(): void { $this->assertNull($this->theme->getCustomFontSecondaryColor()); } + + public function testIsCssMinified(): void + { + $this->assertNull($this->theme->isCssMinified()); + } } diff --git a/composer.json b/composer.json index 592ea02..972ac5d 100644 --- a/composer.json +++ b/composer.json @@ -2,7 +2,7 @@ "name": "del001/admin-ui-color-swap", "description": "A Magento 2 module to swap the admin UI colors", "type": "magento2-module", - "version": "1.0.4", + "version": "1.0.5", "license": [ "proprietary" ], diff --git a/etc/adminhtml/system.xml b/etc/adminhtml/system.xml index 2ad43b6..9998145 100644 --- a/etc/adminhtml/system.xml +++ b/etc/adminhtml/system.xml @@ -6,7 +6,7 @@ * @category Admin * @package Del001_AdminUiColorSwap * @author https://github.com/nmarcy-del - * @copyright Copyright (c) 2023 https://github.com/nmarcy-del + * @copyright Copyright (c) 2024 https://github.com/nmarcy-del */ --> diff --git a/etc/config.xml b/etc/config.xml index b0d8c59..17c42f1 100644 --- a/etc/config.xml +++ b/etc/config.xml @@ -6,7 +6,7 @@ * @category Admin * @package Del001_AdminUiColorSwap * @author https://github.com/nmarcy-del - * @copyright Copyright (c) 2023 https://github.com/nmarcy-del + * @copyright Copyright (c) 2024 https://github.com/nmarcy-del */ --> diff --git a/etc/module.xml b/etc/module.xml index b89bf83..4f1d844 100644 --- a/etc/module.xml +++ b/etc/module.xml @@ -6,7 +6,7 @@ * @category Admin * @package Del001_AdminUiColorSwap * @author https://github.com/nmarcy-del - * @copyright Copyright (c) 2023 https://github.com/nmarcy-del + * @copyright Copyright (c) 2024 https://github.com/nmarcy-del */ --> escapeHtml($block->getCustomFontMainColor()); $fontSecondary = $escaper->escapeHtml($block->getCustomFontSecondaryColor()); ?>