Commit Graph

705 Commits (524f789601fc100abb710c7899c765260a365315)

Author SHA1 Message Date
Sean a1e05af5c0 Custom themes ()
* Custom themes

* Fix theme selection

* fixes and add more theme highlights

* Fix remove bug

* change create button hoverBackground

* change id format

* fixes

* remove default highlights, style tweaks

* move consturctor to componentDidMount, create constants

* simplify color picker style api'

* replace notAllowed with disabled

* remove itemWrapperProps from Dropdown

* create itemWrapper class prop

* remove onClose from Dropdown

* fix ColorPicker and font sizes

* increase specificity of selector
Mike Fix f45d133d3c remove verifyPayloadSize from util
Mike Fix dbde17a65f reduce imports and exports
raboid 3aec3ebc28 Conditionally disable PNG export for Safari
Mike Fix 794a50d3f3 fix # issues for SVGs
Closes 
Mike Fix 7896e96213 show presets by default
Mike Fix 642749a701 use escape-goat
Mike Fix cc45569b6c remove old mounted state from BackgroundSelect
Mike Fix cc593a7968 allow id's in <Button />
Mike Fix 4d91c5d4c9 add ids back again
Mike Fix 469890df68 add pop id prop to fix integration tests
raboid 9d37f9bf99 use HOC for popout state, remove react-addons-shallow-compare
raboid 64cccc1d90 Move Presets into separate file
raboid fdaa990ab2 Remove title prop from Button
raboid bf26e34f06 Update Editor to use Button
raboid ee6f8ffdc2 Update ListSetting to use util/toggle
raboid e5b3d39d4e Update ExportMenu to use Popout, Button, Input
raboid 0c22633853 Update ImagePicker to use Input
raboid f51ab29cd1 Create Input component
raboid 6da617b553 Update Settings to use Popout & Button
raboid 7a5145135c Update Button component
raboid 583e4ece73 Update BackgroundSelect to use Popout & ColorPicker
raboid e073dec0cd Create ColorPicker component
raboid 36178adc07 Create Popout component
Mike Fix b12c3f802c lint and prettier
Mike Fix 428b4bd400 upgrade CodeMirror
Jake Dexheimer 231bd39169 minor ux fixes
Sean 5206dc4ef1 Reduce updates caused by typing ()
* prevent index page from updating

* implement shouldComponentUpdate for ExportMenu

* replace componentDidUpdate with updateState in Editor

* replace shallowCompare with React.memo

* add flex-basis to prevent jank
Jake Dexheimer 0aa1d7404f minor design improvements
Jake Dexheimer 4571b03eb4 clean up menu controls position, about page
Mike Fix b5a1052b40 remove unused utils, move specific utils into component files
Sean Rabaut cd81f056ca Fix menu button alignment in Firefox
Sean 0934186ce9 Fix setting menu movement ()
Sean f6f0adee6b Add preset feature ()
* 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
Mike Fix 4a00206526 fix filter regex for encoded characters
Closes  (again)
Mike Fix 90a0ead95b move format code into editor and make it work again
Mike Fix dd93b6af9e update export-menu-container
Mike Fix 109a3edc6b export-container -> export-menu-container"
Mike Fix a174c26067 fix another encoding bug...🤞
- Closes 
Miloš Sutanovac 09397baf7b Adds CLI hooks (IDs) to certain elements ()
* Adds CLI hooks (ids) to certain elements

* Update Carbon.js

* Update ExportMenu.js
Jake Dexheimer 479e3b7bbf minor aesthetic tweaks
Sean eb8341b5bc add setting options back ()
* add setting options back

* fix height
Sean 070b7f8aaf New settings menu ()
* New settings menu

* remove showPresets

* clean

* use React.memo for pure function components
Mike Fix bb36e0062b fix tab characters in SVG
- closes 
Sean 38665cc34d Dropdown updates ()
* Add dropdown icons

* remove cursor pointer from icons
Mike Fix 9b5b96cd58 remove unneeded sCU
Mike Fix 17c8036b34 tweak
Mike Fix 7772108f01 remove button option for dropdown
Sean 02debae7e2 increase button click area ()
Mike Fix 8087f0222f show network error in in imagepicker
Michael Fix 5badd2fbbb
remove timestamp ()
Clean up
Michael Fix 737cb979ae
implement background url support ()
* implement background url support

- Closes 

* fix lint

* WIP: move input into background picker

* fix cors issue

* keep background select as is

* update UI to select between URL and file

* fetch https url instead of http
Sean 68d90364b0 New export menu ()
* New export menu

* Fix lint errors
Sean 32e09c9e25 Increase dropdown border width ()
Sean 3248f82298
New checkmark icon ()
Michael Fix f4f23541ea
Create dark watermark ()
- Closes 
Mike Fix 3b67c0a846 undo map even if conversion fails
Mike Fix 61ca421789 create Map of changes and undo them
- Closes 
Mike Fix f184e711c1 fix encoding issue for plain text
- Closes 
- Opens 
Michael Fix 246a2f648f
fix(Editor): use cloned element for calculating width ()
- Closes 
Michael Fix 6ab33153a8
Ability to name file downloads ()
* Ability to name file downloads

- Closes 

* fix codemirror-graphql
Michael Fix 386b4a5bf5
Refactor list settings ()
* refactor list setting components

* remove mention of font
Mike Fix 01023bb1ad enable react in scope lint rule
Mike Fix 44356be373 make BackgroundSelect extend Component not Pure w/ custom update
Michael Fix 20df18ebec
tune component updates and bump codemirror polling to hit 60 Hz ()
* tune componenet updates and bump codemirror polling to hit 60 Hz

* reuse omit
Mike Fix 1067ab3429 Exports
zhao.zhang 2b6a91dfee feat: add atom one-light theme ()
Mike Fix 6babce42a9 make page a React components
Mike Fix deb0638e18 add TODO for theme specific styles
Mike Fix f79da0f7f0 fix solarized line numbers styling
- Closes 
Mike Fix 7bab61ee81 Merge branch 'refactor-stylesheets'
Mike Fix 7c567412dc pull out getRef
Mike Fix 4321c3455f add aria labels
Mike Fix 1451ee2582 remove extra solarized link
Mike Fix 0b366d18f7 refactor stylesheets abstraction
Mike Fix 68469a4dbb rect needs ids
Michael Fix bd695b7fd1
convert ids to classNames, use refs ()
Mike Fix e8f72be402 lint
Mike Fix dbbbb2f33f fix Carbon <title>
Mike Fix 9a86e7e7c4 prepare
Mike Fix 8e13d2d05c allow editing in embeds
Mike Fix 25fa1eec6e update copy button text
Mike Fix 004ac6c902 hide cursor
Mike Fix 92a80429f3 move manifest to all pages
Mike Fix c0ff116de8 embeds
expose CodeMirrorLink, load only necessary theme in embed

implement copy button in Carbon window controls

add copy to queryParam

use next/head and metatags in /embed

make editor have router prop

fix now.json rewrites

allow local stylesheets in embed
Mike Fix 1d85149a97 fix api.image call logic
Michael Fix fa983f6fbe
Make carbon a stateless component, move highlight.js calc into render ()
* make carbon a stateless component, move highlight.js calc into render

* remove unneeded class function

* inline handleLanguageChange
Michael Fix 09fa737ca1
move localStorage.clear() to prop of Editor ()
Mike Fix 6fc3d2b5e1 use react-addons-shallow-compare for comparing state
Tim Neutkens 2e945fc528 Don't use custom history API ()
* Add shallowEquals check for onUpdate

* Using Next.js Router instead of custom history API

Fixes https://github.com/zeit/next.js/issues/4994

* Remove urlObject code
Mike Fix d41f05d9c1 update comment
Mike Fix d70c8f0c2a upgrade codemirror CDN links to 5.39.2 (patch)
Mike Fix 5b80d2a7bf add comment about <link rel='preload'>
Mike Fix b19bbf26ae Fix preload for Firefox
Mike Fix ded88c2e40 remove unused aria 'role'
Mike Fix d8f24bda48 add viewport meta tag
Michael Fix 6c9a09e522
Clean up () (patch)
* clean up things

* introduce toggle fn

* remove constructor from Collapse (ignore)

* prettier (ignore)

* make Collapse a PureComponent (ignore)

* give ExportSizeSelect a display name (ignore)

* give ThemeSelect a display name (ignore)

* Toggle: displayName, PureComponent, remove constructor (ignore)

* Meta and Slider display names (ignore)

* remove ThemeSelect constructor (ignore)

* fix lint-staged, prettier
Mike Fix 584a866bc1 fix comment
Michael Fix d3462bb961
Make `api` a prop of Editor ()
Michael Fix c22a8e2a0d
Remove gDSFP in Carbon ()
* remove gDSFP in Carbon

* add comment
Mike Fix b665dfc5f4 fix pathname issues when using next export
Mike Fix 20f9b5aa82 decoding from local storage bug fix
Mike Fix 0441205217 decode language html correctly
Mike Fix a16141bdfa fix default language dropdown
Michael Fix 0580e1c8e8
Separate API service, deploy frontend statically ()
* extract server into separate service

* fix basic tests with url.parse

* use Next withRouter

* remove old custom next rendering
Michael Fix a9b25e05a3
Performance improvements ()
* 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
Michael Fix 0d2f2f4444
Code split and load prettier dynamically ()
* code split and load prettier dynamically;

* move prettier to dependencies
Mike Fix 4f7938d931 Run prettier
Farzad YZ 1747534921 WIP: integration with prettier ()
* add basic format with basic parser

* remove format loading

* change formatCode to be sync

* prettier adjustments

* prettier our code

* move prettify into settings menu
Michael Fix 86be3aae35
update spinner for react-codemirror2 ()
Michael Fix 2abef908ce
encode text before reading the container width ()
* encode text before reading the container width

* isPNG
Jake Dexheimer b7c8466711 fix mobile overflow issue ()
Yashu Mittal 22f2ea673e Space mono normal font ()
* Arranging in alphabetical order

* Add Space Mono (normal) font

* Added myself as contributor
Michael Fix f018c454bf
Implement PWA functionality ()
* implement PWA functionality

* disable tweet button when offline

* just remove tweet button instead
Michael Fix 95f0a27111 Begin responsiveness overhaul ()
Closes 
Mike Fix f8a3499156 safari bug fixes
Vince Speelman a7159f87c2 feat(save): add "copy" button ()
* feat(save): add "copy" button

add a button to the save menu called "copy", which opens the raw image data in the window so users
can directly copy it for easy pasting into a variety of apps



* feat(save): open in a new window

update the action to open in a new window and rename it to "open"

* simplify open logic
Mike Fix fd9de34410 fix uri encoding for PNGs
Mike Fix 0525a9fcca Pull out formatTimestamp into function
erick d0d3589dc4 Add optional timestamp to saved file names ()
* Add timestamp to file name save

* Add .DS_Store to .gitignore

* Add setting to toggle timestamp on file save

* Tweak timestamp format
Maxim Gerasimov e92e4567de Add Nord theme ()
* Add Nord theme

* Add descendant selector in nord.css
Shiranka Miskin 345480e98c Fix crash on dropdown arrowkey movement ()
Fixes  where the application crashes after selecting a dropdown item
and then pressing the up or down arrow keys.
Winner Crespo 452370772f Adding VS Code's Night Owl theme ()
Jake Archibald c4e224df29 Adding line-height setting & granular font size. ()
* Adding line-height option. Fixes .

* Allowing more granular font size
Mike Fix 926ba9224f Fix % encoding issue
Mike Fix 7b9c31101e Fix replace &nbsp;
greenkeeper[bot] ded4b04349 Update downshift to the latest version 🚀 ()
* fix(package): update downshift to version 2.0.0

* Fix for breaking changes
Michael Fix 2a52d101e7
Fix spinner position ()
Michael Fix a81107d723 Remove UNSAFE lifecycle methods ()
* Remove UNSAFE lifecycle methods

* Fix gDSFP issue

* Extract onBeforeChange

* Remove this from getDerivedStateFromProps
Brian Dennis d885b63b3a add alt text support for Twitter images ()
* add alt text support for Twitter images

* move constant declarations up

* Use UNSAFE_cWRP

* remove duplicate TODO (whoops)
greenkeeper[bot] 6368833e16 Update next to the latest version 🚀 ()
* fix(package): update next to version 6.0.3

* Fix 'this' in <style jsx> bug

* Better variables
Michael Fix 89931eab59
Add linting back ()
Mike Fix dd5a996e72 Fix twitter bug
- Closes 
Michael Fix 3bbb98a3a2
Revert "Refactor state components ()" ()
This reverts commit 0a59db56c8.
Michael Fix 0a59db56c8
Refactor state components ()
* WIP: Unstated works

* WIP: extract into its own file

* Container instance

* Remove unused variables

* Move toolbar children into Toolbar

* Extract our Coder interface

* Remove top level subscription

* Bug fix

* WIP

* Remove old dependencies

* Add import eslint plugin

* Rename components

- add createRef TODO [ ]

* Bug fixes

* Rename Coder -> CodeWindow

* Address comments

- Rename to variable
- Rename onDrop from Editor containers perspective

* More variable renaming
Michael Fix 80cf355b44
Use gist language response ()
* Use gist language response

* Use gist language response - fix when no queryparams are given ()

* fix when no queryparams are given
e.g. http://carbon.now.sh/3208813b324d82a9ebd197e4b1c3bae8 would still not set the language property because the initialState is null

* move gist language to its own test

* Update test
Mike Fix e02d5e1ddf Add TODOs when upgrading to React@16.3
Vernon de Goede f8579bac73 Add support for Verminal theme 💅 ()
* Add verminal theme.

* Only decrease opacity if vibrancy is supported.

* Use Framer Syntax.

* Reset constants.

* Don't prefill example env variables.
Michael Fix ce5cc92aa3
Editor refactors ()
Michael Fix 2276435fef
Fix svg using Blob URLs ()
Mike Fix 517aca7c8f Fix user upload bug
Eric Adamski fd63008f12 Add Supoprt for IBM Plex Mono ()
* Add support for IBM Plex Mono (Italic) font

* Add myself as a contributor

* Alphabetize Fonts
Steven Sacks 9e519e2b5f fix issue - load defaults, then localStorage, then url config ()
* fix issue  - load defaults, then localStorage, then url config

* update comment and also do not need current state
briandennis f49b7649fb reorganize custom themes/modes
Ben Jervis f15d7a83e2 Adds Atom's One Dark theme ()
* 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
Camron Flanders 98403b2ad2 Add Monoid Font ()
* Add Fantasque Sans Mono as font-face

* Add Fantasque Sans mono to constants

* Set to regular weight, not bold

* forgot to add myself as contrib

* add Monoid font
Mike Fix 81ad041f37 Fix opacity bug
- Closes 
Jake Dexheimer cf1e92b8cb Use Unsplash API ()
* Add unsplash-js, isomorphic-fetch

* /unsplash route/handling

* RandomImage use unsplash api

* Implement Photographer accredidation

* Add referral link

* Fetch photographer profile_url from unsplash api

* Change credit copy

* Add PhotoCredit component
Camron Flanders eef096bc49 Add Fantasque Sans Mono font ()
* Add Fantasque Sans Mono as font-face

* Add Fantasque Sans mono to constants

* Set to regular weight, not bold
Michael Fix 5691236934
Refactor index.js ()
* Move Editor to components

* Separate index and editor a little

* Revert dynamic import of hljs b/c it's critical

* Move query param update to index.js

* Clean up editor further
Mike Fix d6a31941d5 Add default Seti link tag to prevent code flash
Ian Wang 6bf64a6ae0 delay loading highlightjs & codemirror theme ()
Mike Fix 1f9076c679 Implement Shift-tab to dedent
- Closes 
Michael Fix 5a4cdd7d7f
Lint and fix issues, don't add linting yet though ()
* Lint and fix issue, don't add linting yet though

* Clean up

* Remove /about href
Michael Fix a6324586eb Performance improvements ()
* Perf improvements. Limit rerender on keystrokes

* Spread settings props, make dropdowns and carbon pure

* Remove last TODO

* Pass state into value of titleBar input

* Clean up
Raphael Amorim 7f40e9b469 [WIP] add lucario as theme option and update contributors ()
* add lucario as theme option and update contributors

* undo miss change

* update codemirror to latest
Jake Dexheimer 8a814beed3 Fix dropdown minWidth issue
Jake Dexheimer 04de6cae53 Remove body height
Jake Dexheimer c6be4f0295 prettier
Jake Dexheimer 0dc47db39f Fix css style imports
Jake Dexheimer 4bfde22b48 Clear dropdown input on open
Mike Fix ba1d550cd3 Fix RandomImage
Mike Fix c7e39c5e36 Fix url() by only rendering SketchPicker browser side
Mike Fix 7a0153dcda Fix downshift id issue
Michael Fix 7d95eb44b4
Improve Perf 1 ()
* Inline stylesheets

* Minify CSS

* Use Next CSS imports instead
Michael Fix d77ff14e05
Implement typeable dropdowns ()
* Implement typeable dropdowns

- Closes 

* Fix up and down arrows

* Use instance variables for state and user input

* Bug fixes

* Pass getButtonProps
Mike Fix c47eb97c3a Theme color [PWA]
Mike Fix 6e01e9be59 Accessability improvements
Mike Fix b9b22f8034 Use instance variables
Jake Dexheimer 400a42bf77 Use different wallpaper collection, dedupe images, add loading spinner
Jake Dexheimer f79d01ad9b Add RandomImage component
Jake Dexheimer 9499248e1c
Add watermark feature ()
* Add watermark feature

* Change watermark to carbon logo

* Fix double borders
Jake Dexheimer ec412e6391 Fix height overflow
Jake Dexheimer d3633743f8 dropdown user-select:none
Jake Dexheimer f1760129d6 Fix window theme svg BG
Jake Dexheimer 4d9793f3df Remove non-woff fonts
Jake Dexheimer c90099f72a Merge remote-tracking branch 'origin/master' into HEAD
Jake Dexheimer 12ce55b89a Remove non-woff fonts
Jake Dexheimer e8bb4ac0e0 Add button dropdown
Michael Fix 70928b765e Iosevka font ()
- Closes 
Jake Dexheimer f28d80c250 Minor windowTitle positioning change
Jake Dexheimer 4c86468e50 Rename ResolutionSelect
Takahiko Inayama b7adab9bea Support variable export sizes ()
Mark Molnar b1ef2d1263 Feature: Window Title ()
* Added title bar

* Added state for title bar
Mark Molnar d044beb977 Feature: Squared Image ()
* Added squared images feature

* Moved 'Squared image' to advanced dropdown
Jake Dexheimer 3c0b3dd387 Fix dropdown hover/width, window themes bg
briandennis f7771aee8c remove blue outline from dropdown
Bruno C. Couto 83d30234a3 Add support to keyboard navigation in Dropdowns
The user can navigate through the Themes and Languages selects using the
keyboard arrow down and up keys.
briandennis 5a11b115e0 if no selected value, provide default value
Jake Dexheimer c50fc497b6 Fix footer font-size
Jake Dexheimer e5f4321c9e Increase max vertical padding
Dillon Mulroy 91cf4b7734 import default settings from constants
Dillon Mulroy 700872c188 Change string casing for menu option to be consistent
Dillon Mulroy 6fa28a0062 Add reset option in advanced options + all contributors addition.
Michael Fix 048ab355ff First accessability changes ()
* First accessability changes

* Add <main>

* <header>
Mike Fix 4e15b66001 Add save as dropdown (needs reconfiguring + style)
Michael Fix 3d4ba85732
Sanitize color inputs ()
* Sanitize color inputs

* Remove unneeded dep

* Move to constants

* Case insensative
Mike Fix ba7da58f2b Fix potential background issue
Mike Fix 412abda0da Some screen reader adjustments
Mike Fix b44ecff6ea XSS
Jake Dexheimer d314b8643b
Consistent borders ()
* Use 1px border width

* Fix double border width on collapse element
Hugo a69a3f2e44 Add Oceanic Next theme ()
* Add Oceanic Next theme

* Update Codemirror to 5.34.0
Mike Fix 9d1f05ad0f Fix Hack default
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 508afdfbb4
Implement drag-n-drop image for backgrounds ()
- Closes 
Michael Fix a394079b2a
Make default font one without ligatures ()
Mike Fix 28577aaf64 Font fixes
Jake Dexheimer 38cc0f91af Font support ()
* Add font family/font size support

* Load fonts with css

* Change settings item order
Michael Fix ac28311429
Collapsible "Advanced" settings ()
* Collapsible "Advanced" settings

* Address comments

* Just center Advanced
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
Michael Fix 70e9e40811
Add max-width to container ()
- Closes 
Michael Fix 94e4767808
Debounce language changes ()
- Closes 
Mike Fix e55217f8f9 Fix solarized
Closes 
slorber 4cfbb8f3d1 fix cursor jumping at the end after every editor update
briandennis 2eee0078e7 fix background rendering
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 b4e5459432 Update dependencies ()
* Upgrade react, react-dom, react-color, next

* Use dynamic styles in Carbon.js

* Fix react-color alpha issues
Jake Dexheimer 9379528ccc Remove line numbers background style
Mat Gadd 3abcefb807 Disable box-shadow for all solarized themes
Mat Gadd 91654f1477 Only add link elements for themes with stylesheets
Mat Gadd c7a71b7b12 Apply solarized hacks to the light theme only
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
Jake Dexheimer 75a6587e99 Minor fixes
Jake Dexheimer 526453796b Add transparent pixels to image
Patryk Jóźwiak ede83bf424 Add width adjustment. ()
Peng Jie 3985e35b52 Use spread operator ()
* Use spread operator replace Object.assign()

* Fix tag name
Jake Dexheimer de11ff034f Add hover styles
Jake Dexheimer a3a90f99bb Fix selected color block
Mike Fix 598ca88b98 React-codemirror -> react-codemirror2
- Closes 
Jake Dexheimer 7bfa2ef621 Add support for more clike languages
Andrew f3b80b1783 Use mode instead of module
Jake Dexheimer 27bad782b4 Fix solarized theme, remove redundant light:true
Andrew 3cbcb49c27 Remove semicolons
Andrew Dassonville 7e69ca2897 Add prettier
Jake Dexheimer bb38cd1d63 Fix overflow-x
briandennis 457cffd289 update footer link
Jake Dexheimer c523af5dff Increase font size
Jake Dexheimer c099c763be Fix windows scrollbar issue
Jake Dexheimer d6b4db144a Default theme
Jake Dexheimer bb9efd6e38 Fix double select, buttons align
Jake Dexheimer 7b00c6e37a Minor window controls changes
Jake Dexheimer 208242ae1e Update themes
Jake Dexheimer c4b09d58a9 Fix solarized theme
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
Mike Fix df98812783 Send feedback via issues
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 606e150ed7 Remove state from components/ReadFileDropContainer
Mike Fix 3ca3e254b2 Fix language inconsistancies
- Depend on toHash
- Move auto out of languages export
briandennis d8f2735437 fix render bug
Michael Fix 52fcb7e86b Merge pull request from dawnlabs/language
Make language highlighting dynamic and handle auto selection
briandennis 535da42962 add auto detection for languages
Jake Dexheimer d819727285 add file drop overlay
Jake Dexheimer 45bb7efbfb Change "Drag a file" copy
Jake Dexheimer 7db2e8ff4f Button -> button html
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 109edb660d Add social meta tags
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 026b3443ef Clean up margin styles
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 d62bbf1a90 Minor style additions
Jake Dexheimer 641dfd90a7 Add type-system.css
Jake Dexheimer 902688ae82 Remove hover styles
Jake Dexheimer 483b456f08 Add color picker style overrides
Jake Dexheimer a60655b795 Add winow pointer thing
Jake Dexheimer d4096d7e16 Add window control themes
Jake Dexheimer c82779f2df Rename colorpicker
Jake Dexheimer 1bba205853 Wire-up window theme functionality
Jake Dexheimer 467a4540e3 CodeMirror use Hack
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 dd40da7328 Fix windowControls padding
Jake Dexheimer 2ee9bb0da5 Wire up padding settings
Jake Dexheimer 1df36b5603 Wire up windowControls, dropShadow toggles
Jake Dexheimer ad48ac5046 Minor fixes
Jake Dexheimer 18bab25b2d Add Slider component
Jake Dexheimer 6343dc5a15 Start hooking up Settings state
Jake Dexheimer c5074e22f2 Reactify themes SVG attributes
Jake Dexheimer 7a0e1daec2 Finish theme select, add theme svgs
Jake Dexheimer 77b1a722d8 Add toggle component
Jake Dexheimer 2729531ad6 Start global color palette
briandennis 69c2557eee add basic copy button support
Jake Dexheimer 95ae960536 Fix Brian's borks 🙃
briandennis 3ddf969fb8 add basic render function to copy button
briandennis f33bcc9e87 add copy button
Jake Dexheimer cef5c9652e Rename logo
Jake Dexheimer 459ede6765 Merge branch 'master' into toolbar
Jake Dexheimer 0c872f69fc CSS display fixes
Jake Dexheimer 1ea13ab095 Start settings component internals
Jake Dexheimer 3a84948ce5 Balance padding with window controls
Jake Dexheimer 204c8cd393 Change cursor color
briandennis 88edd12827 fix jank on editor load with spinner
Mike Fix 51b0087a3b Link CDN from constants
Jake Dexheimer 6befb747db Merge branch 'master' into toolbar
Mike Fix 8697c2e683 Fix git renaming issue
Mike Fix c61f2184a9 Rename components
Mike Fix 0bf01d6fbe Move state out of CodeImage
briandennis eb75ecd320 add dynamic styles, fix window control
briandennis 94e1ce5949 add more codeimage stuffs
briandennis 171546b179 move window control styling into component
Mike Fix 9001198ad5 Pass config into codeimage;
Mike Fix d0c0f18b45 move constanst to separate file
Jake Dexheimer 5a4a1ea33c Add logo, index page styles
Mike Fix 1a911ce776 Merge branch 'toolbar'
Jake Dexheimer a9a91aa641 Add window controls
Jake Dexheimer c501fa72ee Toolbar styles
briandennis b863eb0427 get editor working
Mike Fix 1fc9411241 clean up
Mike Fix dcc6317a7e Closes
Jake Dexheimer 94bed49f07 Start settings component
Jake Dexheimer 387ab57b2f listvisible -> isVisible
Mike Fix 01e8b46966 Hook up imgur
Mike Fix bb17e1ddbd Pass background theme color from index
Mike Fix ce6b20fc4e Add save image to toolbar callback
Mike Fix 93ec8dc952 isolate button style
Mike Fix 565b209a35 Add click outside to colorpicker
Jake Dexheimer aab6bad5e6 Fix colorpicker positioning
Jake Dexheimer c11206b338 Fix settings svg fillRule
Jake Dexheimer 3e0f6483ea Merge branch 'toolbar' of https://github.com/dawnlabs/code-image into toolbar
Jake Dexheimer 0f97acbe5e Start copy/save butons
Mike Fix 900bbcb75d Add click outside
Mike Fix c79f327a0c Fix toolbar overflow and jank issues
Jake Dexheimer c85f0553a1 Start settings button
Jake Dexheimer 21c3f181e6 Add color picker
Jake Dexheimer 90cbe0827c codeimage styling changes
Jake Dexheimer cc9f68d0f5 Add toolbar component
Jake Dexheimer 8ee6032491 Add arrowdown svg
Jake Dexheimer 059052ad48 Add WIP dropdown component
Jake Dexheimer d99ea801be Add meta component
briandennis 5ec1219f87 resolve conflicts
Mike Fix 6db235184a Change something
Mike Fix 1399994eb6 Add drag and drop support
briandennis 4914df7531 init