master
kek7198 2021-12-19 22:50:51 -06:00
parent 2fb652399e
commit 9b0b835571
2 changed files with 31 additions and 1 deletions

View File

@ -82,7 +82,7 @@
.theme-canary {
--color-primary: 2,132,199;
--color-100: 254,249,195;
--color-100: 255, 248, 172;
--color-200: 254,240,138;
--color-300: 253,224,71;
--color-400: 250,204,21;

View File

@ -130,6 +130,36 @@
</div>
</label>
</div>
<!-- Canary -->
<div class="my-2 px-2 w-1/2 lg:w-1/4 flex items-center justify-center">
<input hidden name="kind" value="theme-canary" type="radio" id="canary-theme" class="peer" onchange="changeTheme(['theme-canary']); post_toast2('/settings/profile?theme='+value, '1')" {% if v.theme == 'theme-canary'%}checked{% endif %}>
<label for="canary-theme" class="flex flex-col items-center justify-center w-full h-full text-center border border-gray-300 shadow-sm dark:border-gray-600 hover:bg-gray-100 dark:hover:bg-gray-600 peer-checked:border-blue-500 rounded-lg overflow-hidden">
<div class="flex flex-col w-full h-full bg-[#a16207]">
<div class="h-3 w-full bg-[#a16207]"></div>
<div class="h-4 w-full bg-[#fde047]"></div>
<ul class="flex flex-col space-y-1 h-12 w-full bg-[#fff8ac] p-2 mb-0">
<li class="flex">
<i class="fas fa-arrow-alt-up text-[8px] text-[#0284c7]"></i>
<div class="ml-1 h-2 w-2/4 rounded-full bg-black/40"></div>
<div class="ml-auto h-2 w-1/4 rounded-full bg-[#0284c7]"></div>
</li>
<li class="flex">
<i class="fas fa-arrow-alt-up text-[8px] text-gray-400"></i>
<div class="ml-1 h-2 w-2/4 rounded-full bg-black/40"></div>
<div class="ml-auto h-2 w-1/4 rounded-full bg-transparent"></div>
</li>
<li class="flex">
<i class="fas fa-arrow-alt-up text-[8px] text-gray-400"></i>
<div class="ml-1 h-2 w-2/4 rounded-full bg-black/40"></div>
<div class="ml-auto h-2 w-1/4 rounded-full bg-transparent"></div>
</li>
</ul>
</div>
<div class="w-full border-t border-gray-200 dark:border-gray-600 p-2 text-center">
<span class="font-bold text-base">Canary</span>
</div>
</label>
</div>
</div>
</div>
</div>