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