Until something is done, a decision is just an opinion.
It’s not the responsibility of the mind to deal with pain.
This is how you can create custom color variables for different themes with tailwind:
@import "tailwindcss"; @theme { --color-accent: #AC792E; --color-subtle: #8f8176; } @layer theme { :root, :host { @variant dark { --color-accent: #dca838; --color-subtle: #817a6a; } } }This is the nushell script used for creating this post:
# post.nu def main [slug: string] { let date = date now | format date "%b %d %Y" let file = $"src/content/posts/($slug).md" let content = $"---\ndate: '($date)'\n---\n\n" touch $file $content | ^tee -a $file | ignore }