mirror of
https://github.com/rowyio/rowy.git
synced 2025-12-29 00:16:39 +01:00
update shadow level 1 to match tailwind 3
This commit is contained in:
@@ -63,6 +63,10 @@ export const colorsLight = (
|
||||
|
||||
if (i === 0) return "none";
|
||||
|
||||
if (i === 1)
|
||||
// prettier-ignore
|
||||
return `0 0 0 1px ${shadowBase.alpha(0.03).toHslString()}, 0 1px 2px 0 ${shadowBase.alpha(0.1).toHslString()}`;
|
||||
|
||||
if (i < 4)
|
||||
// prettier-ignore
|
||||
return `0 0 0 1px ${shadowBase.alpha(0.04).toHslString()}, 0 1px 3px 0 ${shadowBase.alpha(0.1).toHslString()}, 0 1px 2px 0 ${shadowBase.alpha(0.06).toHslString()}`;
|
||||
@@ -159,6 +163,10 @@ export const colorsDark = (
|
||||
|
||||
if (i === 0) return "none";
|
||||
|
||||
if (i === 1)
|
||||
// prettier-ignore
|
||||
return `0 0 0 1px ${shadowBase.alpha(0.03*4).toHslString()}, 0 1px 2px 0 ${shadowBase.alpha(0.1*4).toHslString()}`;
|
||||
|
||||
if (i < 4)
|
||||
// prettier-ignore
|
||||
return `0 0 0 1px ${shadowBase.alpha(0.04 * 4).toHslString()}, 0 1px 3px 0 ${shadowBase.alpha(0.1 * 4).toHslString()}, 0 1px 2px 0 ${shadowBase.alpha(0.06 * 4).toHslString()}`;
|
||||
|
||||
Reference in New Issue
Block a user