Primary color change do not works works in Material Dark.
This is my shared-styles file:
<link rel="import" href="../bower_components/polymer/polymer-element.html">
<link rel="import" href="../bower_components/polymer/lib/elements/custom-style.html">
<link rel="import" href="../bower_components/vaadin-material-styles/color.html">
<link rel="import" href="../bower_components/vaadin-material-styles/typography.html">
<dom-module id="shared-styles">
<template>
<style include="material-color-light material-typography">
:host {
--material-primary-color: #FFA409;
}
</style>
</template>
</custom-style>
</dom-module>
And this is an extract from the polymer component html file:
...
<div theme="dark">
<div class="myclass">
... vaadin components ...
</div>
</div>
...
When I change to Material Light mode and remove theme=“dark” from div it works.