Commit Graph

203 Commits (690a3637649c93f2274047579e07a8cd57ad6f92)

Author SHA1 Message Date
Michael Fix 3d4ba85732
Sanitize color inputs ()
* Sanitize color inputs

* Remove unneeded dep

* Move to constants

* Case insensative
martinfrancois 9e44a41762 added possibility of saving as an svg file
Mike Fix b44ecff6ea XSS
Mike Fix a998ccf139 WIP XSS
Mike Fix cf72b87f08 Lowercase too
Mike Fix 5b894546e0 Remove <scripts>
- Closes 
Jake Dexheimer cbc6824b83 Background image settings ()
* Implement drag-n-drop image for backgrounds

- Closes 

* 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
Michael Fix dcac30a7a2
Add image dnd description to /about ()
* Add image dnd description to /about

* Update about.js
Michael Fix 508afdfbb4
Implement drag-n-drop image for backgrounds ()
- Closes 
Jake Dexheimer 38cc0f91af Font support ()
* Add font family/font size support

* Load fonts with css

* Change settings item order
Rafael Câmara a4cfaab3a7 Adding drop shadow offset-y and blur-radius menu option ()
* Adding drop shadow offset-y and blur-radius menu option

* Fixing @jakedex concerns

* Fixing drop-shadow blur-radius label to fit the pattern
Jake Dexheimer 5ecb19c6b6 Fix export alpha padding issue
Mike Fix 9ce3558a44 Fix typescript vs js naming descrepancy
- Closes 
Mike Fix 497188aa1a > -> >= for query length
briandennis 2eee0078e7 fix background rendering
Mike Fix 8dec652c2a Fix URL bugs
Michael Fix bdc9211d25 Fix state bugs, fix drag-n-drop bugs, fix url encoding bugs ()
* react-codemirror to react-codemirror2@3

* Fix encoding queryParam issues

* Fix gist support
Jake Dexheimer f13b394ebd Fix default theme
Michael Fix 63f43dcc40 Save and update query params based on editor state ()
* Save and update query params based on editor state

* Fix typo and asPath bug with new queryParams
Mat Gadd 95c8413c83 Only list themes that have a name in the dropdown
Mike Fix 1277a11143 Fix asPath length bug
Jake Dexheimer 96ac36baf5 Fix component state issues
Neto Guimarães e51628ce8d adding support to 'line numbers' settings ()
* adding support to 'line numbers' settings

* Update Settings.js
Jake Dexheimer 9d69d2392b Add alpha support, sketch color picker
Jake Dexheimer ee0feeb527 Twitter colorpicker -> Sketch colorpicker
Patryk Jóźwiak ede83bf424 Add width adjustment. ()
Peng Jie 3985e35b52 Use spread operator ()
* Use spread operator replace Object.assign()

* Fix tag name
Andrew Dassonville 38c8effd0b Fix failing CI ()
Michael Fix 0c365218d6 Load and store state from localStorage ()
* Load and store state from localStorage

* remove idea of localStorage from get and set state fns
enguerrand des Vaux 56b8133fcb Run prettier
Jake Dexheimer 7bfa2ef621 Add support for more clike languages
Andrew f3b80b1783 Use mode instead of module
Andrew 3cbcb49c27 Remove semicolons
Andrew Dassonville 7e69ca2897 Add prettier
briandennis 0004f25fea append download link to DOM before downloading
briandennis 3df297f037 update file name on save
Jake Dexheimer d6b4db144a Default theme
Jake Dexheimer bb9efd6e38 Fix double select, buttons align
Mike Fix d270bcf397 Depend on dropperx
Mike Fix 932f0ae225 Ignore gist endpoints less than 30 characters
Mike Fix 5b7d7833fc Refactor onDrop
Mike Fix 05a6905d68 Add more emoji
Mike Fix 131640245c Prepare to separate DND to a separate module
Mike Fix fd0fa897c4 Remove Gist call when favicon is requested for
briandennis f71506ffbd move debounce to api
Mike Fix a5f42043d3 Debounce twitter calls to 5 seconds
Mike Fix 36800e763c Make toolbar just be a aesthetic component
Mike Fix ed87bfb7f8 Merge branch 'master' into dnd-overlay
Mike Fix 1305a748ad Compound compononents work
Mike Fix 3ca3e254b2 Fix language inconsistancies
- Depend on toHash
- Move auto out of languages export
briandennis 1380bcddb6 make dragged files, gist work again and be editable
briandennis d8f2735437 fix render bug
Michael Fix 52fcb7e86b Merge pull request from dawnlabs/language
Make language highlighting dynamic and handle auto selection
Jake Dexheimer d819727285 add file drop overlay
Jake Dexheimer 60c92fe07f make carbon the file drop target
Jake Dexheimer 45bb7efbfb Change "Drag a file" copy
Mike Fix 646d8919c5 Clean up old code
Mike Fix 1cf0757324 Slight updates
briandennis fd38138dae update pages/components to handle new tweet functionality
briandennis dd9ba60d70 set languge when changed from toolbar
Jake Dexheimer 81f0ce2e53 Fix image resolution
Jake Dexheimer bf374f1728 Clean up styles
- Move globals out of Meta component
- Create style components for Reset and TypeSystem
Jake Dexheimer 5aa85443dc Add new logo, colors
Jake Dexheimer ad43cd7d32 Add link styles
Jake Dexheimer b60afeaa7e Update /about copy
Jake Dexheimer e11c7bede2 Minor changes
Jake Dexheimer 741451271d Better defaults
Jake Dexheimer 96dff6d8fe Style /about page
Jake Dexheimer d6dfe3f446 Add hero text toggle
Jake Dexheimer 7687ccd05d Refactor into Page component
Jake Dexheimer 9b1187a9ae Better theme defaults
Jake Dexheimer 1bba205853 Wire-up window theme functionality
Jake Dexheimer 85b193e1f1 Make pretty 👻
Mike Fix cb3a9093b3 Move Header and Footer into separate files
Mike Fix 7dac7ae15c Add dnd container (doesn't render?). Make top level settings single source of truth
Jake Dexheimer 8272d81753 Merge branch 'master' into toolbar
Jake Dexheimer 8886fed9ba Minor style changes
Jake Dexheimer 1df36b5603 Wire up windowControls, dropShadow toggles
Jake Dexheimer 6343dc5a15 Start hooking up Settings state
Jake Dexheimer 2729531ad6 Start global color palette
Jake Dexheimer 95ae960536 Fix Brian's borks 🙃
briandennis 818e2d45d3 switch imgur link to path that has twitter card
Jake Dexheimer 459ede6765 Merge branch 'master' into toolbar
Jake Dexheimer 0c872f69fc CSS display fixes
Jake Dexheimer 6befb747db Merge branch 'master' into toolbar
Mike Fix 6e57d06d13 Use png
Mike Fix 676fb594a4 Dont make gist request if at /
Mike Fix c61f2184a9 Rename components
briandennis eb75ecd320 add dynamic styles, fix window control
Mike Fix 9001198ad5 Pass config into codeimage;
Mike Fix d7bf3be820 pass config object
Jake Dexheimer 5a4a1ea33c Add logo, index page styles
Mike Fix 1a911ce776 Merge branch 'toolbar'
Jake Dexheimer c501fa72ee Toolbar styles
briandennis b863eb0427 get editor working
Mike Fix dcc6317a7e Closes
Mike Fix 01e8b46966 Hook up imgur
Mike Fix bb17e1ddbd Pass background theme color from index
Mike Fix ce6b20fc4e Add save image to toolbar callback
Jake Dexheimer d6da4c7e70 Home -> Index, styles
Mike Fix 1399994eb6 Add drag and drop support
Mike Fix b16b0d6d78 Add Gist support
briandennis 4914df7531 init