-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
55 lines (53 loc) · 1.55 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
55
const { join } = require('path');
const { createGlobPatternsForDependencies } = require('@nx/react/tailwind');
const typographyPlugin = require('@tailwindcss/typography');
/** @type {import('tailwindcss').Config} */
const config = {
content: [
join(
__dirname,
'{src,pages,components,app}/**/*!(*.stories|*.spec).{ts,tsx,js,jsx,html,mdx}',
),
...createGlobPatternsForDependencies(__dirname),
],
darkMode: 'class',
theme: {
extend: {
colors: {
'islamic-primary-green': '#01B26E',
'islamic-primary-green-hover': '#0BD286',
'islamic-primary-graphite': '#181E25A8',
'islamic-classic-green': '#18FFAC',
'islamic-classic-green-hover': '#99FFDA',
'islamic-bg-black': '#010304',
},
fontFamily: {
alexandria: ['var(--font-alexandria)'],
handjet: ['var(--font-handjet)'],
vcr: ['var(--font-vcr)'],
},
keyframes: {
'scroll-left': {
from: { transform: 'translateX(0)' },
to: { transform: 'translateX(100%)' },
},
'scroll-right': {
from: { transform: 'translateX(0)' },
to: { transform: 'translateX(-100%)' },
},
reveal: {
'0%': { opacity: 0 },
'100%': { opacity: 1 },
},
},
animation: {
'scroll-left': 'scroll-left 60s linear infinite',
'scroll-right': 'scroll-right 60s linear infinite',
reveal: 'reveal 0.15s',
},
screens: {},
},
},
plugins: [typographyPlugin],
};
module.exports = config;