Skip to content
This repository was archived by the owner on Jan 27, 2024. It is now read-only.

Commit 122b1f0

Browse files
committed
chore: added TokenizedShadow
1 parent 9b69425 commit 122b1f0

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

packages/css/src/AncestorCss.res

+16-1
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,14 @@ module Make = (
77
) => {
88
include CssJs
99

10-
let zIndex = x => Css_Js_Core.zIndex(x->CustomZIndex.zIndex)
10+
module TokenizedShadow = {
11+
let box = (~x=?, ~y=?, ~blur=?, ~spread=?, ~inset=?, color) =>
12+
CssJs.Shadow.box(~x?, ~y?, ~blur?, ~spread?, ~inset?, color)
13+
14+
let text = (~x=?, ~y=?, ~blur=?, color) => CssJs.Shadow.text(~x?, ~y?, ~blur?, color)
15+
}
1116

17+
let zIndex = x => Css_Js_Core.zIndex(x->CustomZIndex.zIndex)
1218
/*
1319
* Colors
1420
*/
@@ -17,6 +23,15 @@ module Make = (
1723

1824
let border = (length, style, color) =>
1925
Css_Js_Core.border(length, style, color->CustomColors.colors)
26+
let borderBottom = (length, style, color) =>
27+
Css_Js_Core.borderBottom(length, style, color->CustomColors.colors)
28+
let borderTop = (length, style, color) =>
29+
Css_Js_Core.borderTop(length, style, color->CustomColors.colors)
30+
let borderLeft = (length, style, color) =>
31+
Css_Js_Core.borderLeft(length, style, color->CustomColors.colors)
32+
let borderRight = (length, style, color) =>
33+
Css_Js_Core.borderRight(length, style, color->CustomColors.colors)
34+
2035
let borderColor = x => Css_Js_Core.borderColor(x->CustomColors.colors)
2136
let borderTopColor = x => Css_Js_Core.borderTopColor(x->CustomColors.colors)
2237
let borderBottomColor = x => Css_Js_Core.borderBottomColor(x->CustomColors.colors)

0 commit comments

Comments
 (0)