tailwind.config.js 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. /** @type {import('tailwindcss').Config} */
  2. export default {
  3. darkMode: 'class',
  4. content: [
  5. "./index.html",
  6. "./src/**/*.{js,ts,jsx,tsx}",
  7. ],
  8. theme: {
  9. extend: {
  10. colors: {
  11. // Bambu Lab color palette
  12. bambu: {
  13. green: '#00ae42',
  14. 'green-light': '#00c64d',
  15. 'green-dark': '#009438',
  16. dark: '#1a1a1a',
  17. 'dark-secondary': '#2d2d2d',
  18. 'dark-tertiary': '#3d3d3d',
  19. card: '#2d2d2d', // Same as dark-secondary for card backgrounds
  20. gray: '#808080',
  21. 'gray-light': '#a0a0a0',
  22. 'gray-dark': '#4a4a4a',
  23. }
  24. },
  25. fontFamily: {
  26. sans: ['Inter', 'system-ui', 'sans-serif'],
  27. },
  28. keyframes: {
  29. fadeIn: {
  30. '0%': { opacity: '0' },
  31. '100%': { opacity: '1' },
  32. },
  33. slideUp: {
  34. '0%': { opacity: '0', transform: 'translateY(16px) scale(0.98)' },
  35. '100%': { opacity: '1', transform: 'translateY(0) scale(1)' },
  36. },
  37. },
  38. animation: {
  39. 'fade-in': 'fadeIn 0.15s ease-out',
  40. 'slide-up': 'slideUp 0.2s ease-out',
  41. },
  42. },
  43. },
  44. plugins: [],
  45. }