Missing some linting
This commit was merged in pull request #4.
This commit is contained in:
@@ -7,8 +7,8 @@ module.exports = {
|
||||
"tina/__generated__/frags.gql",
|
||||
"tina/queries/queries.gql",
|
||||
"tina/queries/frags.gql",
|
||||
"pages/**/*.{graphql,js,ts,jsx,tsx}",
|
||||
],
|
||||
},
|
||||
},
|
||||
"pages/**/*.{graphql,js,ts,jsx,tsx}"
|
||||
]
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
@@ -3,7 +3,7 @@ module.exports = {
|
||||
config.module.rules.push({
|
||||
test: /\.svg$/i,
|
||||
issuer: /\.[jt]sx?$/,
|
||||
use: ["@svgr/webpack"],
|
||||
use: ["@svgr/webpack"]
|
||||
});
|
||||
|
||||
return config;
|
||||
@@ -12,12 +12,12 @@ module.exports = {
|
||||
return [
|
||||
{
|
||||
source: "/",
|
||||
destination: "/home",
|
||||
destination: "/home"
|
||||
},
|
||||
{
|
||||
source: "/admin",
|
||||
destination: "/admin/index.html",
|
||||
},
|
||||
destination: "/admin/index.html"
|
||||
}
|
||||
];
|
||||
},
|
||||
}
|
||||
};
|
||||
|
||||
@@ -3,6 +3,6 @@ module.exports = {
|
||||
"postcss-import": {},
|
||||
"tailwindcss/nesting": {},
|
||||
tailwindcss: {},
|
||||
autoprefixer: {},
|
||||
},
|
||||
autoprefixer: {}
|
||||
}
|
||||
};
|
||||
|
||||
@@ -30,7 +30,7 @@ module.exports = {
|
||||
700: "#433e52",
|
||||
800: "#363145",
|
||||
900: "#252336",
|
||||
1000: "#1c1b2e",
|
||||
1000: "#1c1b2e"
|
||||
},
|
||||
blue: {
|
||||
50: "#DCEEFF",
|
||||
@@ -43,7 +43,7 @@ module.exports = {
|
||||
700: "#0D5DBD",
|
||||
800: "#144696",
|
||||
900: "#1D2C6C",
|
||||
1000: "#241748",
|
||||
1000: "#241748"
|
||||
},
|
||||
orange: {
|
||||
200: "#EB7752",
|
||||
@@ -52,15 +52,15 @@ module.exports = {
|
||||
500: "#EC4815",
|
||||
600: "#DC4419",
|
||||
700: "#D04017",
|
||||
800: "#C1360F",
|
||||
},
|
||||
800: "#C1360F"
|
||||
}
|
||||
},
|
||||
screens: {
|
||||
sm: "600px",
|
||||
md: "900px",
|
||||
lg: "1200px",
|
||||
xl: "1500px",
|
||||
"2xl": "1800px",
|
||||
"2xl": "1800px"
|
||||
},
|
||||
fontSize: {
|
||||
xs: ".875rem",
|
||||
@@ -74,33 +74,33 @@ module.exports = {
|
||||
"5xl": "3.25rem",
|
||||
"6xl": "4rem",
|
||||
"7xl": "5rem",
|
||||
"8xl": "6rem",
|
||||
"8xl": "6rem"
|
||||
},
|
||||
borderWidth: {
|
||||
DEFAULT: "3px",
|
||||
0: "0",
|
||||
2: "2px",
|
||||
3: "3px",
|
||||
4: "4px",
|
||||
4: "4px"
|
||||
},
|
||||
extend: {
|
||||
textDecoration: ["active"],
|
||||
opacity: {
|
||||
7: ".075",
|
||||
15: ".15",
|
||||
15: ".15"
|
||||
},
|
||||
maxWidth: {
|
||||
"8xl": "86rem",
|
||||
"8xl": "86rem"
|
||||
},
|
||||
spacing: {
|
||||
128: "32rem",
|
||||
128: "32rem"
|
||||
},
|
||||
zIndex: {
|
||||
"-1": "-1",
|
||||
"-1": "-1"
|
||||
},
|
||||
fontFamily: {
|
||||
nunito: ["Nunito", ...defaultTheme.fontFamily.sans],
|
||||
lato: ["Lato", ...defaultTheme.fontFamily.sans],
|
||||
lato: ["Lato", ...defaultTheme.fontFamily.sans]
|
||||
},
|
||||
typography: (theme) => ({
|
||||
DEFAULT: {
|
||||
@@ -108,64 +108,64 @@ module.exports = {
|
||||
pre: {
|
||||
color: theme("colors.gray.700"),
|
||||
backgroundColor: theme("colors.gray.100"),
|
||||
lineHeight: 1.5,
|
||||
lineHeight: 1.5
|
||||
},
|
||||
code: {
|
||||
backgroundColor: theme("colors.gray.100"),
|
||||
padding: "0.25rem",
|
||||
borderRadius: "3px",
|
||||
margin: "-0.25rem 1px",
|
||||
margin: "-0.25rem 1px"
|
||||
},
|
||||
"code::before": {
|
||||
content: '""',
|
||||
content: "\"\""
|
||||
},
|
||||
"code::after": {
|
||||
content: '""',
|
||||
content: "\"\""
|
||||
},
|
||||
"p:first-of-type": {
|
||||
fontSize: "1.125rem",
|
||||
},
|
||||
},
|
||||
fontSize: "1.125rem"
|
||||
}
|
||||
}
|
||||
},
|
||||
tint: {
|
||||
css: {
|
||||
pre: {
|
||||
color: theme("colors.gray.800"),
|
||||
backgroundColor: theme("colors.gray.150"),
|
||||
},
|
||||
},
|
||||
backgroundColor: theme("colors.gray.150")
|
||||
}
|
||||
}
|
||||
},
|
||||
lg: {
|
||||
css: {
|
||||
pre: {
|
||||
lineHeight: 1.5,
|
||||
lineHeight: 1.5
|
||||
},
|
||||
"p:first-of-type": {
|
||||
fontSize: "1.365rem",
|
||||
},
|
||||
},
|
||||
fontSize: "1.365rem"
|
||||
}
|
||||
}
|
||||
},
|
||||
xl: {
|
||||
css: {
|
||||
pre: {
|
||||
lineHeight: 1.5,
|
||||
lineHeight: 1.5
|
||||
},
|
||||
"p:first-of-type": {
|
||||
fontSize: "1.365rem",
|
||||
},
|
||||
},
|
||||
fontSize: "1.365rem"
|
||||
}
|
||||
}
|
||||
},
|
||||
dark: {
|
||||
css: {
|
||||
color: theme("colors.gray.200"),
|
||||
'[class~="lead"]': { color: theme("colors.gray.400") },
|
||||
"[class~=\"lead\"]": { color: theme("colors.gray.400") },
|
||||
a: { color: theme("colors.gray.100") },
|
||||
strong: { color: theme("colors.gray.100") },
|
||||
"ul > li::before": { backgroundColor: theme("colors.gray.700") },
|
||||
hr: { borderColor: theme("colors.gray.800") },
|
||||
blockquote: {
|
||||
color: theme("colors.gray.100"),
|
||||
borderLeftColor: theme("colors.gray.800"),
|
||||
borderLeftColor: theme("colors.gray.800")
|
||||
},
|
||||
h1: { color: theme("colors.gray.100") },
|
||||
h2: { color: theme("colors.gray.100") },
|
||||
@@ -173,31 +173,31 @@ module.exports = {
|
||||
h4: { color: theme("colors.gray.100") },
|
||||
code: {
|
||||
color: theme("colors.gray.100"),
|
||||
backgroundColor: theme("colors.gray.1000"),
|
||||
backgroundColor: theme("colors.gray.1000")
|
||||
},
|
||||
"a code": { color: theme("colors.gray.100") },
|
||||
pre: {
|
||||
color: theme("colors.gray.200"),
|
||||
backgroundColor: theme("colors.gray.900"),
|
||||
backgroundColor: theme("colors.gray.900")
|
||||
},
|
||||
thead: {
|
||||
color: theme("colors.gray.100"),
|
||||
borderBottomColor: theme("colors.gray.700"),
|
||||
},
|
||||
"tbody tr": { borderBottomColor: theme("colors.gray.800") },
|
||||
borderBottomColor: theme("colors.gray.700")
|
||||
},
|
||||
"tbody tr": { borderBottomColor: theme("colors.gray.800") }
|
||||
}
|
||||
},
|
||||
primary: {
|
||||
css: {
|
||||
color: theme("colors.gray.50"),
|
||||
'[class~="lead"]': { color: theme("colors.gray.400") },
|
||||
"[class~=\"lead\"]": { color: theme("colors.gray.400") },
|
||||
a: { color: theme("colors.gray.100") },
|
||||
strong: { color: theme("colors.gray.100") },
|
||||
"ul > li::before": { backgroundColor: theme("colors.gray.700") },
|
||||
hr: { borderColor: theme("colors.gray.800") },
|
||||
blockquote: {
|
||||
color: theme("colors.gray.100"),
|
||||
borderLeftColor: theme("colors.gray.800"),
|
||||
borderLeftColor: theme("colors.gray.800")
|
||||
},
|
||||
h1: { color: theme("colors.gray.100") },
|
||||
h2: { color: theme("colors.gray.100") },
|
||||
@@ -205,25 +205,25 @@ module.exports = {
|
||||
h4: { color: theme("colors.gray.100") },
|
||||
code: {
|
||||
color: theme("colors.gray.100"),
|
||||
backgroundColor: "rgba(0,0,0,0.15)",
|
||||
backgroundColor: "rgba(0,0,0,0.15)"
|
||||
},
|
||||
"a code": { color: theme("colors.gray.100") },
|
||||
pre: {
|
||||
color: theme("colors.gray.200"),
|
||||
backgroundColor: "rgba(0,0,0,0.15)",
|
||||
backgroundColor: "rgba(0,0,0,0.15)"
|
||||
},
|
||||
thead: {
|
||||
color: theme("colors.gray.100"),
|
||||
borderBottomColor: theme("colors.gray.700"),
|
||||
},
|
||||
"tbody tr": { borderBottomColor: theme("colors.gray.800") },
|
||||
},
|
||||
},
|
||||
}),
|
||||
borderBottomColor: theme("colors.gray.700")
|
||||
},
|
||||
"tbody tr": { borderBottomColor: theme("colors.gray.800") }
|
||||
}
|
||||
}
|
||||
})
|
||||
}
|
||||
},
|
||||
variants: {
|
||||
extend: { typography: ["tint", "dark", "primary"] },
|
||||
extend: { typography: ["tint", "dark", "primary"] }
|
||||
},
|
||||
plugins: [require("@tailwindcss/typography")],
|
||||
plugins: [require("@tailwindcss/typography")]
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user