summary refs log tree commit diff stats
path: root/stalwart/tailwind.config.js
blob: f8dfe93d4cb577041e816fbb50f13f1b41f94872 (plain) (blame)
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
30
31
32
33
34
35
36
/** @type {import('tailwindcss').Config} */
module.exports = {
  content: ["*.html", "./src/**/*.rs", "./node_modules/preline/dist/*.js"],
  theme: {
    screens: {
      sm: '480px',
      md: '768px',
      lg: '1020px',
      xl: '1440px',
    },
    fontFamily: {
      sans: ['Inter', 'sans-serif'],

    },
    extend: {
      //https://play.tailwindcss.com/VCZwwz1e3R
      animation: {
        text: 'text 5s ease infinite',
      },
      keyframes: {
        text: {
          '0%, 100%': {
            'background-size': '200% 200%',
            'background-position': 'left center',
          },
          '50%': {
            'background-size': '200% 200%',
            'background-position': 'right center',
          },
        },
      },
    },
  },
  darkMode: 'class',
  plugins: [require('@tailwindcss/forms'), require("@tailwindcss/typography"), require("preline/plugin")],
}