Skip to content

Commit

Permalink
[TASK] Make some small lightmode/darkmode changes
Browse files Browse the repository at this point in the history
  • Loading branch information
einpraegsam committed Oct 25, 2024
1 parent 1d98a37 commit f982455
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 5 deletions.
13 changes: 10 additions & 3 deletions Classes/Backend/Buttons/NavigationGroupButton.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,15 @@ public function render()

protected function prepend(): string
{
$icon = $this->iconFactory->getIcon('extension-lux');
return $icon->render();
return '
<span class="t3js-icon icon icon-size-medium icon-state-default icon-extension-lux" data-identifier="extension-lux" aria-hidden="true">
<span class="icon-markup">
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" viewBox="0 0 70.9 70.9" style="enable-background:new 0 0 70.9 70.9;" xml:space="preserve">
<path d="M27.4,2.7c0,0-2.4,6.7,0.9,9.3s4.8,7.1,4.3,9.1c0,0,12.7-0.5,16.4,7.7c0,0-0.2,1.3,7.7,4.7c0,0,2.7,0.9-2.4,6.9 c0,0,0.8,1.7-2.8,2.9c0,0,0.8,4.4-3.9,3.6c-4.7-0.8-11.1-3.8-6.9,3.3c0,0,7.9,7.8,6.4,14.6c0,0-4.9-12.4-20.5-14.1 c0,0,14,3.2,19.1,17.4c0,0-2.8-5.7-15.2-9.1c0,0,3.6,1.3,4.9,5.4c0,0-1-1.9-12.4-5.2s-9.6-14.8-9-17.1c0.9-3.5,3.5-12.4,8.9-17.2 c0,0-3.1-2.7,2.1-13.5C24.9,11.5,24.1,6.7,27.4,2.7z" fill="currentColor"></path>
</svg>
</span>
</span>
';
}

protected function append(string $content): string
Expand All @@ -84,7 +91,7 @@ protected function appendCommunity(string $content): string
$content .= '<a href="' . $this->getInfoUri() . '" style="margin-left: 5px;">';
$content .= $this->iconFactory->getIcon('actions-info-circle-alt', Icon::SIZE_SMALL);
$content .= '</a></div>';
$content .= '<a href="https://www.in2code.de/produkte/lux-typo3-marketing-automation/?utm_campaign=LUX+Community+Version&utm_id=llcv&utm_source=typo3&utm_medium=browser&utm_content=go+enterprise" class="lux_poweredby" style="color:black !important; font-weight:bold; right:85px; position:absolute;" target="_blank" rel="noopener">';
$content .= '<a href="https://www.in2code.de/produkte/lux-typo3-marketing-automation/?utm_campaign=LUX+Community+Version&utm_id=llcv&utm_source=typo3&utm_medium=browser&utm_content=go+enterprise" class="lux_poweredby" style="color:currentColor !important; font-weight:bold; right:85px; position:absolute;" target="_blank" rel="noopener">';
$content .= $icon->render();
$content .= 'Go enterprise</a>';
return $content;
Expand Down
2 changes: 1 addition & 1 deletion Configuration/Backend/Modules.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
return [
'lux_module' => [
'labels' => 'LLL:EXT:lux/Resources/Private/Language/locallang_mod.xlf',
'iconIdentifier' => 'extension-lux-module',
'iconIdentifier' => 'extension-lux',
],
'lux_LuxAnalysis' => [
'parent' => 'lux_module',
Expand Down
1 change: 1 addition & 0 deletions Resources/Private/Layouts/Backend.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

<div class="module-body lux">
<f:render partial="Miscellaneous/FlashMessages" arguments="{_all}"/>

<f:if condition="{filter} && !{filter.anyAllowedSites}">
<f:then>
<f:render partial="Miscellaneous/NoSites" arguments="{_all}"/>
Expand Down
2 changes: 1 addition & 1 deletion Resources/Public/Icons/lux.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit f982455

Please sign in to comment.