Commit Graph

275 Commits (b294a315bf92c5bc57be4ac657fdd1e41c85dca1)

Author SHA1 Message Date
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
Tirth Patel 4dff52ed79 Added sTeX/LaTeX Language Support ()
* added latex language support

* sTeX/LaTeX name changed to LaTeX

* Placed Latex in alphabetical order
Mike Fix d0b02d53a5 Reuse escapeHtml
Michael Fix 2a52d101e7
Fix spinner position ()
Mike Fix 27470a90a3 Clean up custom modes
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)
Mike Fix d98319d5d9 Alphabetize languages
Ankit Tiwari d59d4a99d7 Add Octave language support ()
* Add Octave language support

* Update constants.js

* Clean up
Michael Fix 89931eab59
Add linting back ()
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
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.
Eric Adamski fd63008f12 Add Supoprt for IBM Plex Mono ()
* Add support for IBM Plex Mono (Italic) font

* Add myself as a contributor

* Alphabetize Fonts
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
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 9dd8d3a9c4
Fix issue 294 ()
Mike Fix 53b8965b79 Watermark in URL parameters"
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
Mike Fix 034c35ca92 Back to 2x default
Jake Dexheimer c6be4f0295 prettier
briandennis fe1df904ea pass encode state to api instead of url
briandennis fa5f5f7036 add state query support
briandennis 89a80c3c2b add state query support
briandennis 57dddd0b19 add /image api endpoint, use it to get carbon image if on safari
Mike Fix 7fce4060f0 Default to 1x
Mike Fix 1b5ed6a60c Fix CMD+A backspace issue
- Closes 
Jake Dexheimer f79d01ad9b Add RandomImage component
Jake Dexheimer 9499248e1c
Add watermark feature ()
* Add watermark feature

* Change watermark to carbon logo

* Fix double borders
Mike Fix 3168ddb0ad Add title bar to default settings
Michael Fix 70928b765e Iosevka font ()
- Closes 
Jake Dexheimer 4c86468e50 Rename ResolutionSelect
Takahiko Inayama b7adab9bea Support variable export sizes ()
Adi Vaknin 56f11f404f Added missing settings to mapping in routing.js so they will update the url
Jake Dexheimer 3c0b3dd387 Fix dropdown hover/width, window themes bg
briandennis 46091f6dc5 URI component encode carbon text
Nihad Abbasov e3d2646885 Add Tomorrow Night - Bright theme ()
* Add Tomorrow Night - Bright theme

https://github.com/chriskempson/tomorrow-theme

* Update contributors
Iván Munguía b2f6e1c963 Add syntax highlighting for Apache
briandennis 5af953cd2e remove empty state values so as not to override defaults
briandennis d62145f727 modify default settings constant, use new constant when setting initial settings
Dillon Mulroy 7a2b778204 Initial Proof of concept
Mike Fix 959703c51a Fix localStorage
Michael Fix 3d4ba85732
Sanitize color inputs ()
* Sanitize color inputs

* Remove unneeded dep

* Move to constants

* Case insensative
Brad Dougherty 71e535e9e2 Fix boolean params ()
* Parse boolean query params properly

* Update routing.js
Mike Fix abb0948324 Fix escape error
Mike Fix bb4eb1ed9a XSS localStorage
Iván Munguía a3697f48b9 Add syntax highlighting for the diff language ()
Jake Dexheimer 71abf28466 Use x-php mime-type
Hugo a69a3f2e44 Add Oceanic Next theme ()
* Add Oceanic Next theme

* Update Codemirror to 5.34.0
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
Brian Dennis 77af47b59e add PowerShell langauge ()
* add PowerShell langauge

* remove npm lockfile

* update lockfile
Mike Fix 8e2c725267 Fix build
Kunall Banerjee 73eb4ac2cd add support for shell syntax ()
Closes 
Michael Fix ed9993170f
GraphQL Type ()
Jake Dexheimer 38cc0f91af Font support ()
* Add font family/font size support

* Load fonts with css

* Change settings item order
Mike Fix 9ce3558a44 Fix typescript vs js naming descrepancy
- Closes 
Brad Davies 9435c7564f Renamed to 'MySQL'
Brad Davies 1a1a384db3 Fix MySQL syntax highlighting.
The MySQL syntax highlighting does not currently work unless you explicitly define the correct MIME type associated with it (`text/x-mysql`).
slorber 4cfbb8f3d1 fix cursor jumping at the end after every editor update
Andrew Dassonville 921d6b40b2 Fix crash when using Plain Text ()
Kunall Banerjee 830828d6c5 remove erroneous constant ()
This resulted in an unrecognized theme that further caused a bug in the UI.
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 9379528ccc Remove line numbers background style
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 ba6e8c4e6f Use parentheses around the theme to match others, and use the same order as ones above
Mat Gadd 03259f473c Add extra constants for Solarized flavours
Jake Dexheimer 96ac36baf5 Fix component state issues
Jake Dexheimer ee0feeb527 Twitter colorpicker -> Sketch colorpicker
Kunall Banerjee 1f9c81df9e add support for base-16 syntax ()
Stosh Fabricius 9be9ef1ac5 Add Elixir to available languages ()
* Add Elixir mode to available languages

* Update module to mode
Jake Dexheimer de11ff034f Add hover styles
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
Mike Fix 598ca88b98 React-codemirror -> react-codemirror2
- Closes 
Andrew Dassonville 9b7abc50d3 Add more JavaScript-like languages
Jake Dexheimer 7bfa2ef621 Add support for more clike languages
briandennis 93c0214081 use set lookup to keep track of loaded modes
Andrew f3b80b1783 Use mode instead of module
Andrew Dassonville 1500627c3b Use CodeMirror Kotlin
Jake Dexheimer 27bad782b4 Fix solarized theme, remove redundant light:true
Andrew 3cbcb49c27 Remove semicolons
Andrew Dassonville 7e69ca2897 Add prettier
Andrew Dassonville 6b1e0aedaa Add Kotlin support
Oto Brglez f309fbaf47 Adding support for Scala.
Mike Fix 26ea4615f7 Fix Selecting a language and then going back to auto
- Closes 
briandennis 878e9e4f2e import custom modules
briandennis fecf754495 add nimrod to custom modules
Dominik Picheta 89ec557e50 Add Nim language
Chris Ball b91a9d55dd Add my favorite theme
Krzysztof Cieślak 65acc18779 Add F# / OCaml mode
Jake Dexheimer d6b4db144a Default theme
Jake Dexheimer 208242ae1e Update themes
Mike Fix c9d4f9ea56 Add JSX
briandennis f71506ffbd move debounce to api
Brian Dennis db73c56eca Add notification of Twitter rate limiting ()
* add rate limiting detection to handler

* alert user on rate limit error

* Update api.js

* Add morphmorph dep
Mike Fix 3ca3e254b2 Fix language inconsistancies
- Depend on toHash
- Move auto out of languages export
Michael Fix 52fcb7e86b Merge pull request from dawnlabs/language
Make language highlighting dynamic and handle auto selection
briandennis c4296c7ee7 add language hash
Mike Fix 646d8919c5 Clean up old code
Mike Fix 1cf0757324 Slight updates
briandennis 3a60e4622f add tweet api function
briandennis dd9ba60d70 set languge when changed from toolbar
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 741451271d Better defaults
Jake Dexheimer 96dff6d8fe Style /about page
Jake Dexheimer d62bbf1a90 Minor style additions
Jake Dexheimer 85b193e1f1 Make pretty 👻
Mike Fix 54201ba701 Add module definitions
Jake Dexheimer 7e295817c7 Fix default code
Jake Dexheimer 2729531ad6 Start global color palette
Mike Fix 51b0087a3b Link CDN from constants
Mike Fix 9001198ad5 Pass config into codeimage;
Mike Fix d7bf3be820 pass config object
Mike Fix d0c0f18b45 move constanst to separate file
Mike Fix 01e8b46966 Hook up imgur
Mike Fix b16b0d6d78 Add Gist support
briandennis 820cd3b13a move api to lib