-
Notifications
You must be signed in to change notification settings - Fork 1
/
tailwind.config.js
56 lines (50 loc) · 1.7 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
/** @type {import('tailwindcss').Config} */
const plugin = require('tailwindcss/plugin');
module.exports = {
content: [
'./pages/**/*.{js,ts,jsx,tsx,mdx}',
'./components/**/*.{js,ts,jsx,tsx,mdx}',
'./app/**/*.{js,ts,jsx,tsx,mdx}',
],
theme: {
extend: {
backgroundImage: {
rainbow:
"linear-gradient(-90deg, #B100F4 0%, #5E00F8 14.29%, #363EFD 28.57%, #00C78B 42.86%, #95DB00 57.14%, #E2E700 71.43%, #FF8A00 85.71%, #F13A00 100%)",
},
},
},
plugins: [
plugin(function ({ addUtilities }) {
addUtilities({
'.no-scrollbar::-webkit-scrollbar': {
display: 'none',
},
'.no-scrollbar': {
'-ms-overflow-style': 'none',
'scrollbar-width': 'none',
},
'.text-rainbow': {
background:
'linear-gradient(270deg, #AE00EB 0%, #2A19F4 24.44%, #00E456 40.00%, #CEB800 60.00%, #EF6C00 80.00%, #F80029 100%)',
'background-clip': 'text',
'-webkit-background-clip': 'text',
'-webkit-text-fill-color': 'transparent',
},
'.btn-rainbow': {
'border-radius': '50px',
background:
'linear-gradient(-90deg, #B100F4 0%, #5E00F8 14.29%, #363EFD 28.57%, #00C78B 42.86%, #95DB00 57.14%, #E2E700 71.43%, #FF8A00 85.71%, #F13A00 100%)',
},
' .border-rainbow': {
border: ' 5px solid',
'border-image':
'linear-gradient(-90deg, #B100F4 0%, #5E00F8 14.29%, #363EFD 28.57%, #00C78B 42.86%, #95DB00 57.14%, #E2E700 71.43%, #FF8A00 85.71%, #F13A00 100%) 1',
},
".grid-desktop": {
"grid-template-columns": "fit-content(100%) 1fr",
},
});
}),
],
};