Skouter mortgage estimates. Web application with view written in PHP and Vue, but controller and models in Go.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

71 lines
1.6 KiB

  1. const colors = require('tailwindcss/colors');
  2. module.exports = {
  3. content: [
  4. '../../config/**/*.yaml',
  5. '../../pages/**/*.md',
  6. './blueprints/**/*.yaml',
  7. './js/**/*.js',
  8. './templates/**/*.twig',
  9. './{{ component.name|hyphenize }}.yaml',
  10. './{{ component.name|hyphenize }}.php'
  11. ],
  12. darkMode: 'class', //false or 'media' or 'class'
  13. theme: {
  14. extend: {
  15. screens: {
  16. sm: '640px',
  17. md: '768px',
  18. lg: '1024px',
  19. xl: '1280px',
  20. '2xl': '1536px'
  21. }
  22. },
  23. colors: {
  24. 'primary': {
  25. 'lighter': colors.yellow['300'],
  26. DEFAULT: colors.yellow['400'],
  27. 'darker' : colors.yellow['500'],
  28. },
  29. black: colors.black,
  30. white: colors.white,
  31. red: colors.red,
  32. green: colors.green,
  33. blue: colors.blue,
  34. orange: colors.orange,
  35. indigo: colors.indigo,
  36. transparent: 'transparent',
  37. 'inherit': 'inherit',
  38. },
  39. typography: (theme) => ({
  40. DEFAULT: {
  41. css: {
  42. color: 'inherit',
  43. lineHeight: 'inherit',
  44. maxWidth: 'inherit',
  45. a: {
  46. transition: 'all 500ms',
  47. color: theme('colors.primary.DEFAULT'),
  48. '&:hover': {
  49. color: theme('colors.primary.darker')
  50. },
  51. textDecoration: 'none'
  52. },
  53. strong: {
  54. color: 'inherit'
  55. },
  56. }
  57. }
  58. }),
  59. },
  60. variants: {
  61. extend: {},
  62. },
  63. plugins: [
  64. require('@tailwindcss/forms'),
  65. require('@tailwindcss/typography'),
  66. require('tailwindcss-debug-screens')
  67. ],
  68. important: false,
  69. }