Introduce prettier

This commit is contained in:
Takeshi Kimata
2024-05-19 21:04:45 +09:00
parent cbb5993276
commit 75eeebefda
89 changed files with 872 additions and 944 deletions

View File

@@ -1,37 +1,37 @@
import { nextui } from "@nextui-org/theme";
import { nextui } from '@nextui-org/theme';
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./pages/**/*.{js,ts,jsx,tsx,mdx}",
"./components/**/*.{js,ts,jsx,tsx,mdx}",
"./app/**/*.{js,ts,jsx,tsx,mdx}",
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",
"./node_modules/@nextui-org/theme/dist/**/*.{js,ts,jsx,tsx}",
'./pages/**/*.{js,ts,jsx,tsx,mdx}',
'./components/**/*.{js,ts,jsx,tsx,mdx}',
'./app/**/*.{js,ts,jsx,tsx,mdx}',
'./src/app/**/*.{js,ts,jsx,tsx,mdx}',
'./node_modules/@nextui-org/theme/dist/**/*.{js,ts,jsx,tsx}',
],
theme: {
extend: {},
},
darkMode: "class",
darkMode: 'class',
plugins: [
nextui({
themes: {
light: {
colors: {
primary: {
DEFAULT: "#030712",
foreground: "#FFFFFF",
DEFAULT: '#030712',
foreground: '#FFFFFF',
},
focus: "#030712",
focus: '#030712',
},
},
dark: {
colors: {
primary: {
DEFAULT: "#1F883D",
foreground: "#FFFFFF",
DEFAULT: '#1F883D',
foreground: '#FFFFFF',
},
focus: "#1F883D",
focus: '#1F883D',
},
},
},