From b7ff917d8c4ef792a324c131898564875aa675b1 Mon Sep 17 00:00:00 2001 From: thepra Date: Tue, 6 Oct 2026 21:42:06 +0200 Subject: [PATCH] Textareas take the boxes' radius Every daisyUI field reads --radius-field, 2rem in our themes: a pill on a one-line input, but on a textarea several lines tall the curve ate into its first and last lines. A textarea now takes --radius-box (.75rem, the cards'); it changes the variable daisyUI reads, so a rounded-* class at the call site still wins (the composer keeps its 1.4rem). Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01LsXgEaXee4GCU1hwYgPJXw --- Styles/neo.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Styles/neo.css b/Styles/neo.css index 8aec87b..8e9eedf 100644 --- a/Styles/neo.css +++ b/Styles/neo.css @@ -168,7 +168,12 @@ } } +/* A field's radius (--radius-field, 2rem) makes a pill of a one-line input, but on a box several lines tall it curves + into the first and last lines: a textarea takes the boxes' radius. daisyUI reads the variable, so a rounded-* class + at the call site (the composer's) still wins. */ @utility textarea { + --radius-field: var(--radius-box); + &:not(:where(.textarea-ghost)) { background-color: var(--color-base-100); background-image: linear-gradient(145deg, var(--neo-grad-dark), var(--neo-grad-light));