Deltarix Scripts
TebexDiscord
  • Information
    • About Me - Deltarix
  • Keymaster
    • FiveM Asset Escrow
    • Authentication
    • Transfers
  • Paid Assets
    • MDT V3
      • Setup Guide
      • Configurations
        • Settings
        • Graphics
        • Locales
        • Themes
      • Exports
        • Server
          • OpenMDT
          • CloseMDT
          • CreateLog
          • GetBoloByLinkedId
          • GetIdentifierByStateId
          • GetOfficerByBadgenumber
          • GetOfficerByStateId
          • GetOfficerExists
          • GetOfficerFiredByStateId
          • GetOfficerSuspendedByStateId
          • GetPlayerFullNameByStateId
          • GetStateIdBySource
          • GetWantedByLinkedId
      • Public
        • Bridges
          • Server
            • Framework
              • qbx_core
              • qb-core
              • es_extended
            • Garage
              • qbx_garages
              • qb-garages
              • jg-advancedgarages
            • Inventory
              • ox_inventory
            • Licence
              • qbx_core
              • qb-core
            • Media
              • fivemanage
            • Property
              • qbx_properties
              • qb-apartments
              • qb-houses
              • qb-apartments & qb-housing
              • nolag_properties
              • qbx_properties & nolag_properties
        • Functions
          • Server
            • Create Card
            • Log
            • Prints
          • Client
            • Waypoint
            • Anim
      • Dependencies
    • MDT V2
      • Setup
      • Locales
      • Configurations
        • Server
        • Client
        • Settings
        • 10 Codes
        • Commands
      • Exports
        • Server
          • OpenMDT
          • OpenVehicleDetailsInMDT
          • GetStateId
          • GetOfficer
          • GetPlayerWanted
          • GetPlateFlagged
          • GetOfficerSuspended
          • GetWeaponRegistered
          • GetOfficerClockedIn
          • GetClosestCamera
          • CreateWeapon
          • CreateOfficer
          • DeleteOfficer
          • UpdateCitizenData
          • UpdateCitizenPoints
          • ToggleCamera
          • ToggleCameraTimeout
          • ToggleClock
        • Client
          • OpenMDT
          • InsertPhotoToGallery
      • Bridges
        • Server
          • Framework
            • es_extended
            • qb-core
            • qbx_core
          • Garage
            • esx_garage
            • qb-garages
            • qbx_garages
          • Inventory
            • ox_inventory
            • qb-inventory
          • Licence
            • es_extended
            • qb-core
            • qbx_core
          • Property
            • esx_property
            • qb-apartments
            • qbx_apartments
          • Utilities
            • Logger
        • Client
          • Garage
            • esx_garage
            • qb-garages
            • qbx_garages
          • Utilities
            • Camera
      • Dependencies
      • Known Bugs
      • Common Issues and Troubleshooting
    • Dispatch
      • Exports
        • Server
          • Notifications
          • IsDispatcher
          • GetDispatchersByGroup
          • GetGroups
          • GetStateId
        • Client
          • defaultNotification
          • officerNotification
          • dispatchNotification
          • Copy of dispatchNotification
      • Dependencies
Powered by GitBook
On this page

Was this helpful?

  1. Paid Assets
  2. MDT V3
  3. Configurations

Themes


You can customize the visual appearance of the MDT by editing or creating theme files. Themes are stored locally in: drx_mdt/web/themes

  • Each theme is a JSON file with a wide ranges of settings, including fonts, colors, borders and more.

  • The active theme is set in your settings.json file.

  • You can create as many themes as you want and switch between them any time.

{
  "common": {
    "fontFamily": "Arial, sans-serif",
    "fontFamilyMono": "Courier New, monospace",
    "fontWeight": "400",
    "fontWeightStrong": "500",
    "fontSize": "14px",
    "fontSizeHuge": "18px",
    "fontSizeLarge": "16px",
    "fontSizeMedium": "14px",
    "fontSizeSmall": "14px",
    "fontSizeMini": "12px",
    "fontSizeTiny": "12px",

    "lineHeight": "1.5",
    "heightHuge": "48px",
    "heightLarge": "40px",
    "heightMedium": "32px",
    "heightSmall": "28px",
    "heightMini": "24px",
    "heightTiny": "20px",
    "borderRadius": "3px",
    "borderRadiusSmall": "2px",

    "primaryColor": "#64b5f6",
    "primaryColorHover": "#2196f3",
    "primaryColorPressed": "#1e88e5",
    "primaryColorSuppl": "#bbdefb",

    "infoColor": "#64b5f6",
    "infoColorHover": "#2196f3",
    "infoColorPressed": "#1e88e5",
    "infoColorSuppl": "#bbdefb",
    "successColor": "#66bb6a",
    "successColorHover": "#43a047",
    "successColorPressed": "#388e3c",
    "successColorSuppl": "#c8e6c9",
    "warningColor": "#ffa726",
    "warningColorHover": "#fb8c00",
    "warningColorPressed": "#f57c00",
    "warningColorSuppl": "#ffe0b2",
    "errorColor": "#ef5350",
    "errorColorHover": "#e53935",
    "errorColorPressed": "#d32f2f",
    "errorColorSuppl": "#ffcdd2",

    "textColorBase": "#212121",
    "textColor1": "#212121",
    "textColor2": "#424242",
    "textColor3": "#616161",
    "textColorDisabled": "#bdbdbd",
    "placeholderColor": "#9e9e9e",
    "placeholderColorDisabled": "#bdbdbd",
    "iconColor": "#757575",
    "iconColorHover": "#616161",
    "iconColorPressed": "#424242",
    "iconColorDisabled": "#bdbdbd",

    "opacity1": "0.05",
    "opacity2": "0.1",
    "opacity3": "0.2",
    "opacity4": "0.3",
    "opacity5": "0.4",

    "dividerColor": "#e0e0e0",
    "borderColor": "#e0e0e0",
    
    "closeIconColor": "#9e9e9e",
    "closeIconColorHover": "#616161",
    "closeIconColorPressed": "#424242",
    "closeColor": "#bdbdbd",
    "closeColorHover": "#616161",
    "closeColorPressed": "#424242",
    "clearColor": "#bdbdbd",
    "clearColorHover": "#616161",
    "clearColorPressed": "#424242",

    "scrollbarColor": "#bdbdbd",
    "scrollbarColorHover": "#616161",
    "scrillbarWidth": "8px",
    "scrollbarHeight": "8px",
    "scrollbarBorderRadius": "4px",
    "progressRailColor": "#e0e0e0",
    "railColor": "#e0e0e0",

    "popoverColor": "#ffffff",

    "tableColor": "#ffffff",
    "cardColor": "#ffffff",
    "modalColor": "#ffffff",
    "bodyColor": "#ffffff",
    "tagColor": "#ffffff",
    "avatarColor": "#ffffff",
    "invertedColor": "#212121",
    "inputColor": "#ffffff",
    "codeColor": "#f5f5f5",
    "tabColor": "#ffffff",
    "actionColor": "#ffffff",
    "tableHeaderColor": "#f5f5f5",
    "hoverColor": "#f5f5f5",
    "tableColorHover": "#f5f5f5",
    "tableColorStriped": "#f5f5f5",
    "pressedColor": "#e0e0e0",
    "opacityDisabled": "0.5",
    "inputColorDisabled": "#f5f5f5",
    "buttonColor2": "#f5f5f5",
    "buttonColor2Hover": "#e0e0e0",
    "buttonColor2Pressed": "#d0d0d0",
    "boxSahdow1": "0 1px 2px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1)",
    "boxSahdow2": "0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 6px rgba(0, 0, 0, 0.1)",
    "boxSahdow3": "0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 6px rgba(0, 0, 0, 0.1), 0 1px 12px rgba(0, 0, 0, 0.1)"
  }
}

Last updated 12 days ago

Was this helpful?