Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

tailwind.config.cjs 661 B

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
  1. const defaultTheme = require("tailwindcss/defaultTheme");
  2. const colors = require("tailwindcss/colors");
  3. import dotenv from "dotenv";
  4. dotenv.config({ path: "./.env" });
  5. /** @type {import('tailwindcss').Config} */
  6. export default {
  7. darkMode: "class",
  8. content: ["./src/**/*.{html,js,svelte,ts}"],
  9. theme: {
  10. extend: {
  11. colors: {
  12. primary: colors[process.env.PUBLIC_APP_COLOR],
  13. },
  14. // fontFamily: {
  15. // sans: ['"Inter"', ...defaultTheme.fontFamily.sans]
  16. // },
  17. fontSize: {
  18. xxs: "0.625rem",
  19. smd: "0.94rem",
  20. },
  21. },
  22. },
  23. plugins: [
  24. require("tailwind-scrollbar")({ nocompatible: true }),
  25. require("@tailwindcss/typography"),
  26. ],
  27. };
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...