Material-ui GridTile标题颜色

时间:2016-02-05 08:21:35

标签: fonts colors reactjs redux material-ui

我看了一遍,如果它在这里只是对我大喊大叫!我正在尝试更改material-ui GridTile标题中的标题颜色。我试过添加一个什么也没做的style = {{color:black;}}。我想选择我是另一种颜色。有任何想法吗?我非常感谢我应该关注的任何方向!

以下是我正在查看的代码:

pubilc void ConfigureAuth(IAppBuilder app)
{ 
    oauthauthorizationserveroptions oauthserveroptions = new oauthauthorizationserveroptions()
    {
       allowinsecurehttp = true,
       tokenendpointpath = new pathstring("/token"),
       accesstokenexpiretimespan = timespan.fromdays(30),
       provider = new simpleauthorizationserverprovider(),
       refreshtokenprovider = new simplerefreshtokenprovider()
    };

    activedirectoryfederationservicesbearerauthenticationoptions  adfsauthoptions = new activedirectoryfederationservicesbearerauthenticationoptions()
    {
       metadataendpoint = configurationmanager.appsettings["federationmetadatalocation"]
    };

    app.useoauthauthorizationserver(oauthserveroptions);
    app.useoauthbearerauthentication(new oauthbearerauthenticationoptions());
    app.useactivedirectoryfederationservicesbearerauthentication(adfsauthoptions);
}

1 个答案:

答案 0 :(得分:0)

GitHub source for Grid-Tile开始,文字颜色是与主题相关的值 -

titleWrap: {
    flexGrow: 1,
    marginLeft: actionPos !== 'left' ? gutterLess : 0,
    marginRight: actionPos === 'left' ? gutterLess : 0,
    color: themeVariables.textColor,
    overflow: 'hidden',
  },

按照instructions on this page覆盖组件的主题变量。