feature: proposal item dark theme
This commit is contained in:
parent
581a3b0e33
commit
9ff69c68cd
@ -51,7 +51,7 @@ const statusMap: Record<string, string> = {
|
|||||||
<div class="text-xs">{{ statusMap?.[item?.status] || item?.status }}</div>
|
<div class="text-xs">{{ statusMap?.[item?.status] || item?.status }}</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="truncate mb-3 col-span-2 md:col-span-1 text-right md:flex md:justify-start">
|
<div class="truncate mb-3 col-span-2 md:col-span-1 text-xs text-gray-400 text-right md:flex md:justify-start">
|
||||||
{{ format.toDay(item.voting_end_time, 'from') }}
|
{{ format.toDay(item.voting_end_time, 'from') }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -22,7 +22,7 @@ const veto = computed(() => format.calculatePercent(props.tally?.no_with_veto, t
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div class="progress rounded-full h-1 text-xs">
|
<div class="progress rounded-full h-1 text-xs flex items-center">
|
||||||
<div class="h-1 bg-yes" :style="`width: ${yes}`"></div>
|
<div class="h-1 bg-yes" :style="`width: ${yes}`"></div>
|
||||||
<div class="h-1 bg-no" :style="`width: ${no}`"></div>
|
<div class="h-1 bg-no" :style="`width: ${no}`"></div>
|
||||||
<div class="h-1" :style="`width: ${veto}; background-color: #B71C1C;`"></div>
|
<div class="h-1" :style="`width: ${veto}; background-color: #B71C1C;`"></div>
|
||||||
|
@ -10,6 +10,7 @@ module.exports = {
|
|||||||
main: '#5973fe',
|
main: '#5973fe',
|
||||||
yes: '#3fb68b',
|
yes: '#3fb68b',
|
||||||
no: '#ff5353',
|
no: '#ff5353',
|
||||||
|
info: '#00ddc6',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user