devtools-tips icon indicating copy to clipboard operation
devtools-tips copied to clipboard

Optimize CSS

Open captainbrosset opened this issue 1 year ago • 0 comments

Three possible improvements:

  • Minify at build-time.
  • Split into two main css files: lists of tips, content of a tip. These things aren't displayed at the same time, but we're always loading everything on all pages.
  • Removed unused CSS. There's probably some of it somewhere, like
    .tips .tip.highlighted .highlight {
      background: var(--accent-color);
    }
    .tips.searching .tip:not(.highlighted) {
      display: none;
    }
    

captainbrosset avatar Nov 20 '23 10:11 captainbrosset