-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
90 lines (88 loc) · 2.24 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./src/**/*.{js,ts,jsx,tsx}', './pages/**/*.{js,jsx,ts,tsx}', './public/index.html'], // 追記
theme: {
extend: {
fontFamily: {
title: ['Acuta,serif'],
text: ['Noto Serif JP'],
buttonText: ['Acuta'],
},
colors: {
main: ['#333333'],
label: ['#B6B4B0'],
},
backgroundColor: {
portfolioLine: ['#333333'],
inputBg: ['#B6B4B0'],
},
borderColor: {
line: ['#333333'],
input: ['#B6B4B0'],
},
screens: {
sp: '428px', // スマホサイズを追加
maxsp: { max: '427px' }, // maxも追加
sptb: { min: '428px', max: '559px' }, // min-maxを追加
tb: '600px', // タブレットサイズを追加
maxtb: { max: '599px' },
tbpc: { min: '600px', max: '1023px' },
maxpc: { max: '1023px' },
pc: '1024px',
},
keyframes: {
slideView1: {
from: {
transform: 'translate(400%)',
},
'50%': {
transform: 'translate(100%)',
},
to: {
transform: 'translate(-200%)',
},
},
slideView2: {
from: {
transform: 'translate(400%)',
},
to: {
transform: 'translate(-200%)',
},
},
slideView3: {
from: {
transform: 'translate(400%)',
},
to: {
transform: 'translate(-200%);',
},
},
slideView4: {
from: {
transform: 'translate(400%)',
},
to: {
transform: 'translate(-200%);',
},
},
floatText: {
from: {
opacity: '0',
},
to: {
opacity: '1',
},
},
},
animation: {
slideView1: 'slideView1 40s linear infinite;',
slideView2: 'slideView2 50s linear infinite;',
slideView3: 'slideView3 60s linear infinite;',
slideView4: 'slideView4 70s linear infinite;',
floatText: 'floatText 0.7s cubic-bezier(0.33, 1, 0.68, 1) 1 forwards;',
},
},
},
plugins: [],
};