adjust palette css for the changes in core-menu and core-item