Skip to content

Commit

Permalink
Focus & Template color
Browse files Browse the repository at this point in the history
  • Loading branch information
nadjak77 authored and bembelimen committed Mar 27, 2019
1 parent 0fcd9c3 commit 2e4bba1
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 1 deletion.
5 changes: 5 additions & 0 deletions administrator/templates/atum/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,11 @@
$root[] = '--atum-special-color: ' . $this->params->get('special-color') . ';';
}

if ($this->params->get('contrast-color'))
{
$root[] = '--atum-contrast: ' . $this->params->get('contrast-color') . ';';
}

if (count($root))
{
$css .= ':root {' . implode($root) . '}';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ TPL_ATUM_COLORS_SETTINGS_TEXT_DARK_LABEL="Dark Text"
TPL_ATUM_COLORS_SETTINGS_TEXT_LIGHT_LABEL="Light Text"
TPL_ATUM_COLORS_SETTINGS_LINK_COLOR_LABEL="Link Color"
TPL_ATUM_COLORS_SETTINGS_SPECIAL_COLOR_LABEL="Special Color"
TPL_ATUM_COLORS_SETTINGS_CONTRAST_COLOR_LABEL="Contrast Color"
TPL_ATUM_LOGIN_HEADING="Joomla Backend Login"
TPL_ATUM_LOGIN_SIDEBAR_VIEW_WEBSITE="view website"
TPL_ATUM_LOGIN_SITE_TITLE="%s - Administrator Login"
Expand Down
1 change: 0 additions & 1 deletion administrator/templates/atum/scss/blocks/_sidebar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,6 @@
.fa {
display: flex;
padding: 0 1rem;
/* height: 100%;*/
align-items: center;
margin: 0;
}
Expand Down
7 changes: 7 additions & 0 deletions administrator/templates/atum/templateDetails.xml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,13 @@
default="#001B4C"
filter="color"
/>
<field
name="contrast-color"
type="color"
label="TPL_ATUM_COLORS_SETTINGS_CONTRAST_COLOR_LABEL"
default="#00cfcf"
filter="color"
/>
</fieldset>
<fieldset name="images" label="TPL_ATUM_IMAGES_SETTINGS_LABEL">

Expand Down

0 comments on commit 2e4bba1

Please sign in to comment.