Utilities for Effects.
Using shadow-[*]
, you can control the box-shadow of an element.
Modify Mojo's configuration object to personalize box-shadow utilities and introduce fresh options as per your requirements.
mojo({
base: {
definedValues: {
-- boxShadow ** : {
xs: "0 1px 2px var(--m-shadow-color, #0000001a)",
sm: "0 1px 3px var(--m-shadow-color, #0000001a), 0 1px 2px var(--m-shadow-color, #0000001a)",
md: "0 4px 6px var(--m-shadow-color, #0000001a), 0 2px 4px var(--m-shadow-color, #0000001a)",
lg: "0 10px 15px var(--m-shadow-color, #0000001a), 0 4px 6px var(--m-shadow-color, #0000001a)",
xl: "0 20px 25px var(--m-shadow-color, #0000001a), 0 10px 10px var(--m-shadow-color, #0000001a)",
}
},
},
})
Using mix-blend-[*]
, you can control the blending of an element's content and its background.
Using bg-blend-[*]
, you can control the blending of an element's background color and background image.