MCPcopy Create free account
hub / github.com/ICBNetwork/web3-Wallet / createStyles

Function createStyles

app/components/UI/StyledButton/styledButtonStyles.js:4–139  ·  view source on GitHub ↗
(colors)

Source from the content-addressed store, hash-verified

2import { colors as importedColors, fontStyles } from '../../../styles/common';
3
4const createStyles = (colors) =>
5 StyleSheet.create({
6 container: {
7 padding: 15,
8 borderRadius: 100,
9 justifyContent: 'center',
10 },
11 text: {
12 fontSize: 14,
13 textAlign: 'center',
14 ...fontStyles.bold,
15 },
16 blue: {
17 backgroundColor: colors.primary.default,
18 },
19 blueText: {
20 color: colors.primary.inverse,
21 },
22 orange: {
23 borderColor: colors.secondary.default,
24 borderWidth: 1,
25 },
26 orangeText: {
27 color: colors.secondary.default,
28 },
29 infoText: {
30 color: colors.primary.default,
31 },
32 confirm: {
33 backgroundColor: colors.primary.default,
34 minHeight: 50,
35 },
36 confirmText: {
37 color: colors.primary.inverse,
38 },
39 roundedNormal: {
40 backgroundColor: colors.background.default,
41 borderWidth: 1,
42 borderColor: colors.primary.default,
43 padding: 8,
44 },
45 roundedNormalText: {
46 color: colors.primary.default,
47 },
48 normal: {
49 backgroundColor: colors.background.default,
50 borderWidth: 1,
51 borderColor: colors.primary.default,
52 },
53 normalText: {
54 color: colors.primary.default,
55 },
56 transparent: {
57 backgroundColor: importedColors.transparent,
58 borderWidth: 0,
59 borderColor: importedColors.transparent,
60 },
61 cancel: {

Callers 1

getStylesFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected