289 Commits (6fcdb99691b825f447f91956d17031dbdad179d6)

Author SHA1 Message Date
Vince Speelman a7159f87c2 feat(save): add "copy" button (#441)
* 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

#49

* feat(save): open in a new window

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

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

* Add .DS_Store to .gitignore

* Add setting to toggle timestamp on file save

* Tweak timestamp format
6 years ago
Maxim Gerasimov e92e4567de Add Nord theme (#426)
* Add Nord theme

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

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

* Fix for breaking changes
7 years ago
Michael Fix 2a52d101e7
Fix spinner position (#398) 7 years ago
Michael Fix a81107d723 Remove UNSAFE lifecycle methods (#377)
* Remove UNSAFE lifecycle methods

* Fix gDSFP issue

* Extract onBeforeChange

* Remove this from getDerivedStateFromProps
7 years ago
Brian Dennis d885b63b3a add alt text support for Twitter images (#372)
* add alt text support for Twitter images

* move constant declarations up

* Use UNSAFE_cWRP

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

* Fix 'this' in <style jsx> bug

* Better variables
7 years ago
Michael Fix 89931eab59
Add linting back (#349) 7 years ago
Mike Fix dd5a996e72 Fix twitter bug
- Closes #347
7 years ago
Michael Fix 3bbb98a3a2
Revert "Refactor state components (#338)" (#348)
This reverts commit 0a59db56c8.
7 years ago
Michael Fix 0a59db56c8
Refactor state components (#338)
* 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
7 years ago
Michael Fix 80cf355b44
Use gist language response (#343)
* Use gist language response

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

* 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
7 years ago
Mike Fix e02d5e1ddf Add TODOs when upgrading to React@16.3 7 years ago
Vernon de Goede f8579bac73 Add support for Verminal theme 💅 (#341)
* Add verminal theme.

* Only decrease opacity if vibrancy is supported.

* Use Framer Syntax.

* Reset constants.

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

* Add myself as a contributor

* Alphabetize Fonts
7 years ago
Steven Sacks 9e519e2b5f fix issue #321 - load defaults, then localStorage, then url config (#322)
* fix issue #321 - load defaults, then localStorage, then url config

* update comment and also do not need current state
7 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
Camron Flanders 98403b2ad2 Add Monoid Font (#314)
* 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
7 years ago
Mike Fix 81ad041f37 Fix opacity bug
- Closes #317
7 years ago
Jake Dexheimer cf1e92b8cb Use Unsplash API (#301)
* 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
7 years ago
Camron Flanders eef096bc49 Add Fantasque Sans Mono font (#313)
* Add Fantasque Sans Mono as font-face

* Add Fantasque Sans mono to constants

* Set to regular weight, not bold
7 years ago
Michael Fix 5691236934
Refactor index.js (#310)
* 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
7 years ago
Mike Fix d6a31941d5 Add default Seti link tag to prevent code flash 7 years ago
Ian Wang 6bf64a6ae0 delay loading highlightjs & codemirror theme (#309) 7 years ago
Mike Fix 1f9076c679 Implement Shift-tab to dedent
- Closes #304
7 years ago
Michael Fix 5a4cdd7d7f
Lint and fix issues, don't add linting yet though (#293)
* Lint and fix issue, don't add linting yet though

* Clean up

* Remove /about href
7 years ago
Michael Fix a6324586eb Performance improvements (#287)
* 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
7 years ago
Raphael Amorim 7f40e9b469 [WIP] add lucario as theme option and update contributors (#292)
* add lucario as theme option and update contributors

* undo miss change

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

* Minify CSS

* Use Next CSS imports instead
7 years ago
Michael Fix d77ff14e05
Implement typeable dropdowns (#283)
* Implement typeable dropdowns

- Closes #276

* Fix up and down arrows

* Use instance variables for state and user input

* Bug fixes

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

* Change watermark to carbon logo

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

* Added state for title bar
7 years ago
Mark Molnar d044beb977 Feature: Squared Image (#250)
* Added squared images feature

* Moved 'Squared image' to advanced dropdown
7 years ago
Jake Dexheimer 3c0b3dd387 Fix dropdown hover/width, window themes bg 7 years ago
briandennis f7771aee8c remove blue outline from dropdown 7 years ago
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.
7 years ago
briandennis 5a11b115e0 if no selected value, provide default value 7 years ago
Jake Dexheimer c50fc497b6 Fix footer font-size 7 years ago
Jake Dexheimer e5f4321c9e Increase max vertical padding 7 years ago
Dillon Mulroy 91cf4b7734 import default settings from constants 7 years ago
Dillon Mulroy 700872c188 Change string casing for menu option to be consistent 7 years ago
Dillon Mulroy 6fa28a0062 Add reset option in advanced options + all contributors addition. 7 years ago
Michael Fix 048ab355ff First accessability changes (#200)
* First accessability changes

* Add <main>

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

* Remove unneeded dep

* Move to constants

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

* Fix double border width on collapse element
7 years ago
Hugo a69a3f2e44 Add Oceanic Next theme (#167)
* Add Oceanic Next theme

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

* Load fonts with css

* Change settings item order
7 years ago
Michael Fix ac28311429
Collapsible "Advanced" settings (#148)
* Collapsible "Advanced" settings

* Address comments

* Just center Advanced
7 years ago
Rafael Câmara a4cfaab3a7 Adding drop shadow offset-y and blur-radius menu option (#143)
* Adding drop shadow offset-y and blur-radius menu option

* Fixing @jakedex concerns

* Fixing drop-shadow blur-radius label to fit the pattern
7 years ago
Jake Dexheimer 5ecb19c6b6 Fix export alpha padding issue 7 years ago
Michael Fix 70e9e40811
Add max-width to container (#144)
- Closes #135
7 years ago
Michael Fix 94e4767808
Debounce language changes (#141)
- Closes #140
7 years ago
Mike Fix e55217f8f9 Fix solarized
Closes #134
7 years ago
slorber 4cfbb8f3d1 fix cursor jumping at the end after every editor update 7 years ago
briandennis 2eee0078e7 fix background rendering 7 years ago