@artsy/palette-mobile 20.5.0 → 20.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -70,7 +70,11 @@ const styles = (fontScale) => StyleSheet.create({
|
|
|
70
70
|
});
|
|
71
71
|
// This component represents the √ mark in CSS. We are not using styled-system since it's easier to specify raw CSS
|
|
72
72
|
// properties with styled-component.
|
|
73
|
-
export const CheckMark = ({ size }) => (_jsx(Box, { style: {
|
|
73
|
+
export const CheckMark = ({ size }) => (_jsx(Box, { style: {
|
|
74
|
+
transform: [{ rotate: "-45deg" }],
|
|
75
|
+
borderBottomWidth: 2,
|
|
76
|
+
borderLeftWidth: 2,
|
|
77
|
+
}, top: "-12%", width: size * 0.625, height: size * 0.3125, borderBottomColor: "mono0", borderLeftColor: "mono0" }));
|
|
74
78
|
export const DisabledMark = styled(CheckMark) `
|
|
75
79
|
border-bottom-color: ${themeGet("colors.mono30")};
|
|
76
80
|
border-left-color: ${themeGet("colors.mono30")};
|