MCPcopy
hub / github.com/callstack/react-native-paper / getBorderColor

Function getBorderColor

src/components/Card/utils.tsx:69–78  ·  view source on GitHub ↗
({ theme }: { theme: InternalTheme })

Source from the content-addressed store, hash-verified

67};
68
69const getBorderColor = ({ theme }: { theme: InternalTheme }) => {
70 if (theme.isV3) {
71 return theme.colors.outline;
72 }
73
74 if (theme.dark) {
75 return color(white).alpha(0.12).rgb().string();
76 }
77 return color(black).alpha(0.12).rgb().string();
78};
79
80const getBackgroundColor = ({
81 theme,

Callers 1

getCardColorsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…