angular-material, we can define color palettes in an angular
config block the folowing way:
Its pretty great...
I can't find a way to handle the current color value of given palette, simply for using the same colors on elements, custom or not, that don't match the list of natively supported elements.
The elements that support theming are :
Maybe a little more, but sure, custom elements are not supported.
Thus, if I create a custom
DOM element, or nested elements (anyway), how can I apply the current
700 value of the
warn palette of the current
default theme ?
I didn't found anything in the API.
I search something like a
service exposing one or more method(s) usable like following, for example:
This method, for example, should return an object filled by all palettes filled in this theme.
EDIT : an example of usage
this example is not beautiful code design, but it is to be simple
Then, I will be able to expose it on scope and use it in othe