21 Commits (132c0f6d5a5527e1d1bf7955ea872d24aea71bb6)

Author SHA1 Message Date
Michael Fix 117b4f021a
Add offline support (#699)
* add offline support

* update manifest to use desktop icon

* simplify next-offline config

* don't enable cache control on service workers
6 years ago
Mike Fix 54d8fff617 add desktop icon 6 years ago
Sean f6f0adee6b Add preset feature (#595)
* Add preset feature without create

* fix lint errors

* Add presets to Editor state

* add remove, update -> apply, omit presets

* replace name with index, add undo functionality

* fix reduce function

* Tweaks:

- Make remove filter setState atomic
- Remove broken sCU in BackgroundSelect
- Touch up style of arrow functions a little
- Remove titleBar from default settings
- Don't expose SETTINGS_KEYS
- Use hasOwnProperty instead of includes()

* refactor preset state into Settings

* move format code into editor and make it work again

* omit custom in applyPreset

* move presets array state into Settings

* keep custom sCU in BackgroundSelect

* pull out inline objects

* revert pages/index

* increase Presets font-size, remove margin-top

* Add ability to create presets

* also enable passing exportSize as prop

* move selectedPreset back into Settings (my bad Sean)

* replace splice with filter, getSavedX -> getX

* Revert "move selectedPreset back into Settings (my bad Sean)"

This reverts commit ae5da4700ea36ad7c31e697e83a2724be4b448f4.

* make sure background updates remove selected preset

* selectedPreset -> preset

* use onChange instead of selectPreset

* use preset id's instead of indexes

* bug fixes

* use disabled instead of pointer-events

* make .settings-presets-applied flex 💪

* make .settings-presets-arrow flex 💪

* move getPresets outside of `setState`

* move inline styles to style tag

* refactor using omitBy and isFunction

* remove lodash.isfunction

* fix applyPreset to disclude preset field

* move omit to getSettingsFromProps

* replace lodash.omit with omitBy solution

* .includes -> .indexOf

* add default preset and presetApplied state

* fix lint error

* remove presetApplied

* add more default presets

* fix default preset functionality

* tweaks

* preserve preset list scrollLeft b/w updates with a hack

* Use ref for preset content

* remove forwardRef
6 years ago
RDIL a10c5ea777 [ImgBot] optimizes images (#536)
*Total -- 401.09kb -> 183.65kb (54.21%)

/static/brand/logo-banner-transparent.png -- 148.38kb -> 59.75kb (59.73%)
/static/brand/logo-banner.png -- 114.03kb -> 50.66kb (55.58%)
/static/banner.png -- 44.72kb -> 22.02kb (50.77%)
/static/brand/logo-square.png -- 75.91kb -> 41.18kb (45.75%)
/static/brand/icon.png -- 18.05kb -> 10.04kb (44.39%)
6 years ago
zhao.zhang 2b6a91dfee feat: add atom one-light theme (#499) 6 years ago
Michael Fix d44fe06e28
Add files via upload 6 years ago
Michael Fix a9b25e05a3
Performance improvements (#458)
* Performance improvements

- Use font-display: swap
- Preload CSS links
- Compress all request payloads

* inline react spinner css

* remove @zeit/next-css, move custom themes to static

* update contributing docs

* spinner styles

* move spinner back to top level

* load codemirror synchronously
6 years ago
Michael Fix 86be3aae35
update spinner for react-codemirror2 (#470) 6 years ago
Michael Fix f018c454bf
Implement PWA functionality (#455)
* implement PWA functionality

* disable tweet button when offline

* just remove tweet button instead
6 years ago
briandennis f49b7649fb reorganize custom themes/modes 7 years ago
Ben Jervis f15d7a83e2 Adds Atom's One Dark theme (#319)
* Adds Atom's One Dark theme

* Moves one-dark.css into static

* Moves the file from a stylesheet link to an import

* Removes the link from constants
7 years ago
Michael Fix 7d95eb44b4
Improve Perf 1 (#282)
* Inline stylesheets

* Minify CSS

* Use Next CSS imports instead
7 years ago
Jake Dexheimer cbc6824b83 Background image settings (#169)
* Implement drag-n-drop image for backgrounds

- Closes #122

* In progress

* Add background-size, background-position settings

* Add ReactCrop

* Remove old bg sizing sliders

* Add resize observer

* Fix typo

* Disable select on sliders

* onAspectRatioChange hook

* Rename to backgroundColor

* Fix state issues

* Add backgroundMode toggle

* Rename ColorPicker

* Add upload-image margin

* Minor font-size change

* Fix build
7 years ago
Jake Dexheimer d5e2993a25 Add brand assets 7 years ago
Jake Dexheimer dac21e89cc Remove redundant css 7 years ago
Jake Dexheimer 0dd2198bd5 Add twitter banner 7 years ago
Jake Dexheimer 109edb660d Add social meta tags 7 years ago
Jake Dexheimer bf374f1728 Clean up styles
- Move globals out of Meta component
- Create style components for Reset and TypeSystem
8 years ago
Jake Dexheimer 641dfd90a7 Add type-system.css 8 years ago
briandennis 88edd12827 fix jank on editor load with spinner 8 years ago
Jake Dexheimer d99ea801be Add meta component 8 years ago