buttonsHovered static method

String buttonsHovered({
  1. required ColorScheme colorScheme,
})

Build the CSS for buttons when they are hovered/focused =>

Implementation

static String buttonsHovered({required ColorScheme colorScheme}) => elementCss(
  selector: ['.note-btn:hover', '.note-btn:active'].join(','),
  properties: {
    'color': hexFromColor(color: colorScheme.onPrimaryContainer),
    'background-color': hexFromColor(color: colorScheme.primaryContainer),
    'border-color': hexFromColor(color: colorScheme.inversePrimary),
  },
);