[dom] Move color-base out of dom-style

This change resolves an oversight in #576. Fix #1621.