You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import themeColors from '../selectors/themeColors'
import commandStateStore from '../stores/commandStateStore'
import isColorSelected from '../util/isColorSelected'
import { formatSelectionActionCreator as formatSelection } from './formatSelection'
/**
* Applies a text color or background color to the browser selection, matching the behavior of tapping a color swatch. If the color is already applied to the selection, resets it back to the default (toggle off).