---
agentTools:
  projectIndex: https://laravel-angular.readme.io/llms.txt
---

# Angular Material Theme

[Theming](https://material.angularjs.org/latest/#/Theming/01_introduction) is provided by Angular Material. It allows you to specify the 3 main colors for your interface.

This is a common task for all apps, so we've already included the config provider for you in `angular/config/theme.config.js`.

Here's how it looks like:

[block:code]
{
  "codes": [
    {
      "code": "export function ThemeConfig($mdThemingProvider) {\n\t'ngInject';\n\t/* For more info, visit https://material.angularjs.org/#/Theming/01_introduction */\n\t$mdThemingProvider.theme('default')\n\t\t.primaryPalette('indigo')\n\t\t.accentPalette('grey')\n\t\t.warnPalette('red');\n}",
      "language": "javascript"
    }
  ]
}
[/block]

[block:callout]
{
  "type": "success",
  "body": "Consult the [official docs](https://material.angularjs.org/latest/#/Theming/01_introduction) for instructions & tips on selecting the colors."
}
[/block]