tailwind.mobile.js 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. // Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
  2. const path = require('path')
  3. const formKitTailwind = require('@formkit/themes/tailwindcss')
  4. const colors = require('tailwindcss/colors')
  5. const zammadTailwind = require('../../../build/zammadTailwindPlugin.js')
  6. const mobileDir = path.resolve(__dirname, '..')
  7. const sharedDir = path.resolve(__dirname, '../../../shared')
  8. /** @type {import('tailwindcss').Config} */
  9. module.exports = {
  10. content: [
  11. `${mobileDir}/**/*.{js,jsx,ts,tsx,vue,css}`,
  12. `${sharedDir}/**/*.{js,jsx,ts,tsx,vue,css}`,
  13. ],
  14. plugins: [formKitTailwind, zammadTailwind],
  15. theme: {
  16. colors: {
  17. pink: {
  18. DEFAULT: '#EA4D84',
  19. bright: '#FF006B',
  20. },
  21. black: {
  22. DEFAULT: '#191919',
  23. full: colors.black,
  24. },
  25. white: colors.white,
  26. gray: {
  27. DEFAULT: '#999999',
  28. 100: '#D1D1D1',
  29. 150: '#D8D8D8',
  30. 200: '#656567',
  31. 300: '#4C4C4D',
  32. 400: '#323234',
  33. 500: '#282829',
  34. 600: '#262627',
  35. highlight: '#99999926',
  36. light: '#25262D99',
  37. },
  38. blue: {
  39. DEFAULT: '#23A2CD',
  40. dark: '#045972',
  41. highlight: '#23A2CD19',
  42. },
  43. yellow: {
  44. DEFAULT: '#FFCE33',
  45. highlight: '#FFCE331A',
  46. inactive: '#A38629',
  47. },
  48. red: {
  49. DEFAULT: '#E54011',
  50. highlight: '#E540111A',
  51. bright: '#FF4008',
  52. dark: '#261F1D',
  53. },
  54. green: {
  55. DEFAULT: '#36AF6A',
  56. highlight: '#38AD691A',
  57. },
  58. orange: '#F39804',
  59. },
  60. },
  61. }