Hello,
is there a way to access the current md-theme color?
Something like this.$material.currentTheme.primary[500] or this.$material.colors.deepOrange[100]
This is not exposed by any Vue Material API. What you can do is to import the src file, that is inside
vue-material/src/core/components/mdTheme/palette.js
I will create a way to expose this to the final build.
Closing this issue as our focus is on the new 1.0.0 version.
Most helpful comment
This is not exposed by any Vue Material API. What you can do is to import the src file, that is inside
vue-material/src/core/components/mdTheme/palette.jsI will create a way to expose this to the final build.