Make background opacity work

This commit is contained in:
Joey Yakimowich-Payne 2025-04-19 05:51:20 -06:00
commit bf8e473703
No known key found for this signature in database
GPG key ID: 6BFE655FA5ABD1E1
4 changed files with 67 additions and 15 deletions

View file

@ -396,6 +396,12 @@
<label for="board-bg-image-url-input" class="block text-sm font-medium text-gray-700">Background Image URL (Optional):</label>
<input type="url" id="board-bg-image-url-input" name="board-bg-image-url-input" placeholder="Overrides background color" class="mt-1 block w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-green-500 focus:border-green-500 sm:text-sm">
<p class="mt-1 text-xs text-gray-500">If set, opacity still applies to the image.</p>
<!-- START Board Background Image Opacity Slider -->
<div class="mt-1 w-28 flex flex-col items-center ml-auto">
<label for="board-bg-image-opacity-slider" class="block text-xs font-medium text-gray-500">Image Opacity: <span id="board-bg-image-opacity-value">100</span>%</label>
<input type="range" id="board-bg-image-opacity-slider" name="board-bg-image-opacity-slider" min="0" max="100" value="100" class="w-full h-2 bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700">
</div>
<!-- END Board Background Image Opacity Slider -->
</div>
</div>
</details>