softOperatorStyleOf function

SoftOperatorStyle softOperatorStyleOf(
  1. ThemeSpec spec
)

Whether spec (a soft-style theme) gives operators an accent label on the surface face rather than a tinted face.

Implementation

SoftOperatorStyle softOperatorStyleOf(ThemeSpec spec) =>
    spec.palette.operator.face == spec.palette.digit.face
    ? SoftOperatorStyle.accentLabel
    : SoftOperatorStyle.accentFace;