更改实体化css中的原色



我正在尝试使用kong仪表板(https://github.com/PGBI/kong-dashboard)。我想通过使用另一个SCSS文件来更改使用GULPJS实现时使用的原色。我不想更改由bower或npm拉取的_variables.css。

有什么想法吗?

我添加了添加自己的原色的功能。提交了一个拉取请求,该请求已被接受。只需在app.scss.中设置原色

使用$mdThemingProvider可以在angular的.config中更改原色

$mdThemingProvider.theme("default")
        .primaryPalette('grey', {
            'default': '600', // by default use shade 400 from the pink palette for primary intentions
            'hue-1': '100', // use shade 100 for the <code>md-hue-1</code> class
            'hue-2': '600', // use shade 600 for the <code>md-hue-2</code> class
            'hue-3': 'A100' // use shade A100 for the <code>md-hue-3</code> class
        })

https://material.angularjs.org/latest/Theming/03_configuring_a_theme

你的应用程序的所有颜色都可以在那里设置