2
0
mirror of https://github.com/frappe/books.git synced 2024-12-22 19:09:01 +00:00

feat: dark mode for loyalty program in POS

This commit is contained in:
AbleKSaju 2024-09-28 10:01:43 +05:30
parent dc7b4b0c60
commit 716e0109f7

View File

@ -117,8 +117,9 @@
transform transform
-translate-x-1/2 -translate-x-1/2
mb-2 mb-2
bg-gray-800 bg-gray-100
text-white text-xs dark:bg-gray-850 dark:text-white
text-black text-xs
rounded-md rounded-md
p-2 p-2
w-20 w-20
@ -138,7 +139,7 @@
class="p-1 rounded-md bg-gray-100" class="p-1 rounded-md bg-gray-100"
:class="{ :class="{
'bg-gray-100': loyaltyPoints, 'bg-gray-100': loyaltyPoints,
'bg-gray-600 cursor-not-allowed': 'dark:bg-gray-600 cursor-not-allowed':
!loyaltyPoints || !sinvDoc.party || !sinvDoc.items?.length, !loyaltyPoints || !sinvDoc.party || !sinvDoc.items?.length,
}" }"
@click=" @click="
@ -149,7 +150,7 @@
> >
<svg <svg
xmlns="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
height="26px" height="24px"
viewBox="0 -960 960 960" viewBox="0 -960 960 960"
width="26px" width="26px"
fill="#000" fill="#000"
@ -168,8 +169,9 @@
transform transform
-translate-x-1/2 -translate-x-1/2
mb-2 mb-2
bg-gray-800 bg-gray-100
text-white text-xs dark:bg-gray-850 dark:text-white
text-black text-xs
rounded-md rounded-md
p-2 p-2
w-28 w-28