Skip to content

Commit

Permalink
Add Extra Colour Palette Description
Browse files Browse the repository at this point in the history
WIP #4
  • Loading branch information
aljawaid committed Dec 25, 2022
1 parent 901338f commit 636be8f
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Assets/css/color-manager.css
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@ a:hover { color: var(--pp-red-alt-2) !important; }
margin-top: 20px;
}

.color-manager-section .cm-section-desc {
margin-bottom: 15px;
}

.color-manager-section-icon {
width: 1.2em;
Expand Down
1 change: 1 addition & 0 deletions Locale/en_GB/translations.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,5 @@
'Extra Color Palette' => 'Extra Colour Palette',
'Custom Color Palette' => 'Custom Colour Palette',
'Delete Color' => 'Delete Colour',
'This palette shows a collection of colors different to those in the default palette. Selected colors also use alternative colors for text. These colors are particularly suitable for tags and categories.' => 'This palette shows a collection of colours different to those in the default palette. Selected colours also use alternative colours for text. These colours are particularly suitable for tags and categories.',
);
1 change: 1 addition & 0 deletions Locale/translations-starter-template.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,5 @@
'Extra Color Palette' => '',
'Custom Color Palette' => '',
'Delete Color' => '',
'This palette shows a collection of colors different to those in the default palette. Selected colors also use alternative colors for text. These colors are particularly suitable for tags and categories.' => '',
);
3 changes: 3 additions & 0 deletions Template/config/colors.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@
<img class="color-manager-section-icon" src="/plugins/ColorManager/Assets/palette-print-bordered.svg" alt="<?= t('Extra Color Palette') ?>">
<?= t('Extra Color Palette') ?> <span class="colour-total-count-section"><?= count($this->task->colorModelExt->getStaticColors()); ?></span>
</h3>
<p class="cm-section-desc">
<?= t('This palette shows a collection of colors different to those in the default palette. Selected colors also use alternative colors for text. These colors are particularly suitable for tags and categories.') ?>
</p>
</div>

<div class="colour-boxes">
Expand Down

0 comments on commit 636be8f

Please sign in to comment.