Skip to content

Commit b268ada

Browse files
authored
add amoled black theme (#4)
1 parent c8af3bf commit b268ada

File tree

1 file changed

+54
-48
lines changed

1 file changed

+54
-48
lines changed

tailwind/index.js

+54-48
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,54 @@
1-
const themes = require('daisyui/src/theming/themes')
2-
3-
/** @type {import('tailwindcss').Config} */
4-
module.exports = {
5-
plugins: [require('@tailwindcss/typography'), require('daisyui')],
6-
daisyui: {
7-
themes: [
8-
{
9-
light: {
10-
...themes.light,
11-
primary: '#bc171c',
12-
secondary: '#1762d2',
13-
accent: '#b41a3b',
14-
},
15-
dark: {
16-
...themes.dark,
17-
primary: '#dc2b31',
18-
secondary: '#1784d2',
19-
accent: '#d21746',
20-
},
21-
synthwave: {
22-
...themes.synthwave,
23-
primary: '#cd1946',
24-
},
25-
'nix-light': {
26-
...themes.light,
27-
primary: '#5277c3',
28-
secondary: '#6ad541',
29-
accent: '#27385d',
30-
neutral: '#7ebae4',
31-
'primary-content': '#ffffff',
32-
'secondary-content': '#ffffff',
33-
'neutral-content': '#ffffff',
34-
},
35-
'nix-dark': {
36-
...themes.dark,
37-
primary: '#5277c3',
38-
secondary: '#6ad541',
39-
accent: '#27385d',
40-
neutral: '#7ebae4',
41-
'primary-content': '#ffffff',
42-
'secondary-content': '#ffffff',
43-
'neutral-content': '#ffffff',
44-
},
45-
},
46-
],
47-
},
48-
}
1+
const themes = require('daisyui/src/theming/themes')
2+
3+
/** @type {import('tailwindcss').Config} */
4+
module.exports = {
5+
plugins: [require('@tailwindcss/typography'), require('daisyui')],
6+
daisyui: {
7+
themes: [
8+
{
9+
light: {
10+
...themes.light,
11+
primary: '#bc171c',
12+
secondary: '#1762d2',
13+
accent: '#b41a3b',
14+
},
15+
dark: {
16+
...themes.dark,
17+
primary: '#dc2b31',
18+
secondary: '#1784d2',
19+
accent: '#d21746',
20+
},
21+
synthwave: {
22+
...themes.synthwave,
23+
primary: '#cd1946',
24+
},
25+
black: {
26+
...themes.black,
27+
primary: '#dc2b31',
28+
secondary: '#1784d2',
29+
accent: '#d21746',
30+
},
31+
'nix-light': {
32+
...themes.light,
33+
primary: '#5277c3',
34+
secondary: '#6ad541',
35+
accent: '#27385d',
36+
neutral: '#7ebae4',
37+
'primary-content': '#ffffff',
38+
'secondary-content': '#ffffff',
39+
'neutral-content': '#ffffff',
40+
},
41+
'nix-dark': {
42+
...themes.dark,
43+
primary: '#5277c3',
44+
secondary: '#6ad541',
45+
accent: '#27385d',
46+
neutral: '#7ebae4',
47+
'primary-content': '#ffffff',
48+
'secondary-content': '#ffffff',
49+
'neutral-content': '#ffffff',
50+
},
51+
},
52+
],
53+
},
54+
}

0 commit comments

Comments
 (0)