Design system.
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.
 
 
 

56 line
1.7 KiB

  1. /** @type {import('tailwindcss').Config} */
  2. module.exports = {
  3. content: [
  4. './src/pages/**/*.{js,ts,jsx,tsx,mdx}',
  5. './src/components/**/*.{js,ts,jsx,tsx,mdx}',
  6. './src/categories/**/*.{js,ts,jsx,tsx,mdx}',
  7. ],
  8. theme: {
  9. fontFamily: {
  10. sans: ['Encode Sans Semi Expanded', 'Encode Sans', 'sans-serif'],
  11. },
  12. colors: {
  13. 'shade': 'rgb(var(--color-shade))',
  14. 'negative': 'rgb(var(--color-negative))',
  15. 'positive': 'rgb(var(--color-positive))',
  16. 'primary': 'rgb(var(--color-primary))',
  17. 'secondary': 'rgb(var(--color-secondary))',
  18. 'tertiary': 'rgb(var(--color-tertiary))',
  19. 'code-number': 'rgb(var(--color-code-number))',
  20. 'code-keyword': 'rgb(var(--color-code-keyword))',
  21. 'code-type': 'rgb(var(--color-code-type))',
  22. 'code-instance-attribute': 'rgb(var(--color-code-instance-attribute))',
  23. 'code-function': 'rgb(var(--color-code-function))',
  24. 'code-parameter': 'rgb(var(--color-code-parameter))',
  25. 'code-property': 'rgb(var(--color-code-property))',
  26. 'code-string': 'rgb(var(--color-code-string))',
  27. 'code-variable': 'rgb(var(--color-code-variable))',
  28. 'code-regexp': 'rgb(var(--color-code-regexp))',
  29. 'code-url': 'rgb(var(--color-code-url))',
  30. 'code-global': 'rgb(var(--color-code-global))',
  31. 'current': 'currentcolor',
  32. 'inherit': 'inherit',
  33. },
  34. extend: {
  35. fontSize: {
  36. 'xxs': '0.625rem',
  37. },
  38. borderRadius: {
  39. inherit: 'inherit',
  40. },
  41. minWidth: {
  42. 6: '1.5rem',
  43. 10: '2.5rem',
  44. 12: '3rem',
  45. 16: '4rem',
  46. },
  47. minHeight: {
  48. 10: '2.5rem',
  49. 12: '3rem',
  50. 16: '4rem',
  51. },
  52. },
  53. },
  54. plugins: [],
  55. }