<script>"use strict";
import { twMerge } from "tailwind-merge";
import { getContext } from "svelte";
export let className = "";
export let containsCheckbox = false;
let section = getContext("table-section") || "body";
</script>

<td
	class={twMerge('table-cell align-middle p-4 text-3xl first:pl-6', className)}
	class:text-stone-950={section === 'body'}
	class:text-stone-400={section === 'head'}
	class:w-[49px]={containsCheckbox}
>
	<slot />
</td>
