generated from pixel-point/gatsby-tailwind-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
47 lines (46 loc) · 1.58 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
/* eslint-disable import/no-extraneous-dependencies, global-require */
// const defaultTheme = require('tailwindcss/defaultTheme');
module.exports = {
content: ['./src/**/*.{js,jsx,ts,tsx}'],
corePlugins: {
container: false,
},
theme: {
// TODO: Uncomment this part of the code and the import of "defaultTheme" above, and complete TODOs
// fontFamily: {
// // TODO: Add font families
// // Delete "mono" if it isn't needed
// sans: ['', ...defaultTheme.fontFamily.sans],
// mono: ['', ...defaultTheme.fontFamily.mono],
// },
colors: ({ colors }) => ({
inherit: colors.inherit,
current: colors.current,
transparent: colors.transparent,
// TODO: Add colors
// Make sure that they are prepared in the Figma and follow the naming primary/secondary/gray-${number}
// Example of correctly prepared colors in Figma — https://user-images.githubusercontent.com/20713191/143586876-5e834233-9639-4166-9811-b00e63820d98.png
// Example of incorrectly prepared colors in Figma — https://user-images.githubusercontent.com/20713191/143586974-6986149f-aee3-450c-a1dd-26e73e3aca02.png
// black: '',
// white: '',
// primary: {
// 1: '',
// },
// secondary: {
// 1: '',
// },
// gray: {
// 1: '',
// },
}),
screens: {
'2xl': { max: '1919px' },
xl: { max: '1535px' },
lg: { max: '1279px' },
md: { max: '1023px' },
sm: { max: '767px' },
xs: { max: '359px' },
},
},
plugins: [require('tailwindcss-safe-area')],
};