forked from laysense/laysite
Prepare LaySite 1.5.0 canvas and publishing improvements
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
use App\Content\DesignLibrary;
|
||||
use App\Content\View;
|
||||
|
||||
$previewKeys = ['accent', 'ink', 'muted', 'paper', 'white', 'line', 'accent-deep', 'accent-light', 'button-ink'];
|
||||
?>
|
||||
<svg class="palette-swatches" viewBox="0 0 133 14" aria-hidden="true" focusable="false">
|
||||
<?php foreach ($previewKeys as $index => $key): ?>
|
||||
<circle cx="<?= 7 + 15 * $index ?>" cy="7" r="6" data-color-key="<?= View::escape($key) ?>" fill="<?= View::escape($colors[$key] ?? DesignLibrary::COLORS[$key][1]) ?>"/>
|
||||
<?php endforeach ?>
|
||||
</svg>
|
||||
Reference in New Issue
Block a user