refactor(shadow): introduce shadow-card utility and extend tailwind-merge
This commit is contained in:
+1
-1
@@ -37,7 +37,7 @@ export default function HomePage() {
|
||||
type="text"
|
||||
name="q"
|
||||
placeholder="搜索陪玩、店铺、游戏..."
|
||||
className="w-full border-border bg-card shadow-[0_4px_16px_-2px_rgba(0,0,0,0.08),0_8px_24px_-4px_rgba(0,0,0,0.1)] transition-shadow focus:shadow-[0_8px_30px_-4px_rgba(0,0,0,0.12),0_12px_40px_-8px_rgba(0,0,0,0.14)]"
|
||||
className="w-full border-border bg-card shadow-card transition-shadow focus:shadow-card-hover"
|
||||
/>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user