urls static method

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

Build the CSS for URLs

Implementation

static String urls({required ColorScheme colorScheme}) => elementCss(
  selector: [
    '.note-editable a',
    '.note-popover a',
    '.note-editable a:hover',
    '.note-popover a:hover',
    '.note-editable a:focus',
    '.note-popover a:focus',
  ].join(','),
  properties: {
    'color': hexFromColor(color: colorScheme.primary),
    'text-decoration': 'underline',
  },
);