Handle text color at the container level

This commit is contained in:
Alessandro Pignotti 2024-09-30 16:46:10 +02:00
parent 9a2dcb0c8f
commit f2fb54c29f
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@
</script> </script>
<div <div
class="p-2 cursor-pointer text-center text-3xl text-gray-300" class="p-2 cursor-pointer text-center text-3xl"
> >
{icon} {icon}
</div> </div>

View File

@ -7,7 +7,7 @@
</script> </script>
<div class="flex flex-row w-14 bg-neutral-700"> <div class="flex flex-row w-14 bg-neutral-700">
<div class="flex flex-col w-14 shrink-0"> <div class="flex flex-col shrink-0 w-14 text-gray-300">
{#each icons as { id, icon, info }} {#each icons as { id, icon, info }}
<Icon <Icon
icon={icon} icon={icon}