1. 13 Apr, 2021 1 commit
    • Robert Knight's avatar
      Improve readability of focused PDF highlights · 599cfba3
      Robert Knight authored
      The visible part of PDF highlights are created by SVG elements which are
      multiply-blended with the PDF content to enhance legibility of
      highlighted text.  The blueish background for focused highlights was
      still being applied to the transparent text layer on top of the PDF
      which contains the `<hypothesis-highlight>` elements. This impacted the
      legibility of focused highlights.
      
      Improve the readability of PDF highlights by instead modifying the fill
      color of the SVG element.
      599cfba3
  2. 12 Apr, 2021 15 commits
  3. 09 Apr, 2021 10 commits
  4. 08 Apr, 2021 2 commits
  5. 07 Apr, 2021 7 commits
  6. 06 Apr, 2021 5 commits
    • Eduardo Sanz García's avatar
      Swap types of search options · 1e099d9b
      Eduardo Sanz García authored
      The types for `SortBy` and `SortOrder` were swapped.
      1e099d9b
    • Robert Knight's avatar
      Add space before `/>` in self-closing tag · 940db5b4
      Robert Knight authored
      This matches how Prettier formats self-closing JSX tags and makes
      expressions such as `<Widget expanded />` more readable.
      940db5b4
    • Robert Knight's avatar
      Improve JSX code formatting in dev server · 610cc5eb
      Robert Knight authored
       - Indent children by two spaces
      
       - Handle boolean props closer to how we normally set them in JSX by omitting
         them if false and including them without explicit values if true.
         This assumes that boolean props default to false. If there is a
         scenario in future where this is not the case, this behavior may need
         to be configurable.
      
       - Handle `bigint` numeric values. We have no use case for this, but
         TypeScript pointed out that it wasn't handled.
      
       - Add JSDoc comments
      610cc5eb
    • Lyza Danger Gardner's avatar
    • Lyza Danger Gardner's avatar
      Refactor SASS for sizes, variants, clarity · 51270f0e
      Lyza Danger Gardner authored
      * Break out most private mixins into `_base`
      * Provide `IconButton`, `LabeledButton`, `LinkButton` as public mixins
      * Establish colors for all variants in `_config`
      * Extend mixins to support sizes and more variants
      * Update `TopBar` and `SearchInput`, as custom styling no longer
        necessary; remove those custom styles
      51270f0e