mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-04-27 19:30:29 -04:00
* prepare dark mode stuffs * themed all global colors * store preference in local storage * toggle styling * lightbulb position * minify bundled script with uglify-js instead of hugo * detect whether user has an OS-wide dark mode preference and use that by default * two different colors for each homepage link * inline bulb SVGs into stylesheet * fingerprint and cache styles for a year * fix lightbulb positioning with weird magic numbers, will come back to that * themed syntax highlighting * use terser instead of uglify-js (b/c of ES6)
24 lines
451 B
YAML
24 lines
451 B
YAML
version: 1
|
|
snapshot:
|
|
widths: [375, 1280] # px
|
|
enable-javascript: true
|
|
percy-css: |
|
|
video {
|
|
display: none;
|
|
}
|
|
div.embed {
|
|
display: none;
|
|
}
|
|
div.highlight {
|
|
border: 0 !important; /* no clue why this bugs out... */
|
|
}
|
|
.wave, .beat {
|
|
animation: none !important;
|
|
}
|
|
static-snapshots:
|
|
path: public/
|
|
snapshot-files: '**/index.html'
|
|
agent:
|
|
asset-discovery:
|
|
network-idle-timeout: 10000 # ms
|