forked from inaturalist/iNaturalistReactNative
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
54 lines (52 loc) · 1.49 KB
/
tailwind.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
/** @type {import('tailwindcss').Config} */
const PRIMARY = "#5D8017";
const PRIMARY_DISABLED = "#C6DC98";
const WARNING = "#9B1111";
const WARNING_DISABLED = "#B95F5E";
const NEUTRAL = "#979797";
const NEUTRAL_DISABLED = "#D3D3D3";
module.exports = {
content: ["index.js", "./src/**/*.js"],
theme: {
extend: {
height: {
22: "5.5rem"
},
fontFamily: {
"Whitney-Medium": ["Whitney-Medium"],
"Whitney-Medium-Pro": ["Whitney-Medium-Pro"], // Android naming convention
"Whitney-Light": ["Whitney-Light"],
// selected from list of fonts already available in RN
// https://infinitbility.com/react-native-font-family-list/
"Papyrus-Condensed": ["Papyrus-Condensed"],
Roboto: ["Roboto"]
}
},
colors: {
primary: "#77b300",
secondary: "#979797",
tertiary: "#C4C4C4",
white: "#ffffff",
red: "#ff0000",
black: "#000000",
transparent: "#ff000000",
inatGreen: "#77b300",
inatGreenDisabled: "#cce2a4",
gray: "#393939",
lightGray: "#f5f5f5",
midGray: "#cccccc",
borderGray: "#d1d1d1",
grayText: "#999999",
logInGray: "#999999",
border: "#DBDBDB",
buttonPrimary: PRIMARY,
buttonPrimaryDisabled: PRIMARY_DISABLED,
buttonWarning: WARNING,
buttonWarningDisabled: WARNING_DISABLED,
buttonNeutral: NEUTRAL,
buttonNeutralDisabled: NEUTRAL_DISABLED,
selectionGreen: "#C1FF00"
}
},
plugins: []
};