tailwind.mobile.js 1.7 KB

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