aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/docs/tailwind.config.js
diff options
context:
space:
mode:
authorHsiangNianian <admin@jyunko.cn>2023-04-22 19:52:26 +0800
committerHsiangNianian <admin@jyunko.cn>2023-04-22 19:52:26 +0800
commit4838df315931bb883f704ec3e1abe2685f296cdf (patch)
tree57a8550c4cd5338f1126364bb518c6cde8d96e7d /docs/tailwind.config.js
parentdb74ade0234a40c2120ad5f2a41bee50ce13de02 (diff)
downloadHydroRoll-4838df315931bb883f704ec3e1abe2685f296cdf.tar.gz
HydroRoll-4838df315931bb883f704ec3e1abe2685f296cdf.zip
😀
Diffstat (limited to 'docs/tailwind.config.js')
-rw-r--r--docs/tailwind.config.js44
1 files changed, 44 insertions, 0 deletions
diff --git a/docs/tailwind.config.js b/docs/tailwind.config.js
new file mode 100644
index 0000000..43a26d3
--- /dev/null
+++ b/docs/tailwind.config.js
@@ -0,0 +1,44 @@
+const colors = require("tailwindcss/colors");
+
+module.exports = {
+ content: [
+ "./components/**/*.{js,tsx}",
+ "./nextra-theme-docs/**/*.{js,tsx}",
+ "./pages/**/*.{md,mdx,tsx}",
+ "./theme.config.js",
+ ],
+ theme: {
+ extend: {
+ fontFamily: {
+ sans: [`"Inter"`, "sans-serif"],
+ "space-grotesk": ["Space Grotesk", "monospace"],
+ mono: [
+ "Menlo",
+ "Monaco",
+ "Lucida Console",
+ "Liberation Mono",
+ "DejaVu Sans Mono",
+ "Bitstream Vera Sans Mono",
+ "Courier New",
+ "monospace",
+ ],
+ },
+ colors: {
+ dark: "#000",
+ gray: colors.neutral,
+ blue: colors.blue,
+ orange: colors.orange,
+ green: colors.green,
+ red: colors.red,
+ yellow: colors.yellow,
+ },
+ screens: {
+ sm: "640px",
+ md: "768px",
+ lg: "1024px",
+ betterhover: { raw: "(hover: hover)" },
+ },
+ },
+ },
+ darkMode: "class",
+};