This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:root { | |
--font-size: 15.5px; | |
--border-color: rgba(0, 0, 0, 0.08); | |
--subtle-border-color: rgba(0, 0, 0, 0.05); | |
--main-background-color: hsl(210, 9%, 98%); | |
--body-background-color: #ffffff; | |
--reference-item-background: hsl(0, 0%, 99%); | |
--brackets-color: rgba(0, 0, 0, 0.25); | |
--empty-text-color: hsl(203, 12%, 75%); } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env ruby | |
require 'tmpdir' | |
def fixed?(fn) fn =~ /\.searchable\.pdf/; end | |
def searchable_fn(fn) | |
return fn if fixed?(fn) | |
"#{File.dirname(fn)}/#{File.basename(fn, File.extname(fn))}.searchable.pdf" | |
end |