104 Commits (5f369876d7ecaffbe47fe5c164e4cf1178980ba8)

Author SHA1 Message Date
Joshua Robusto 3009533bf4 Add TSX language (#605) 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
Sean 070b7f8aaf New settings menu (#588)
* New settings menu

* remove showPresets

* clean

* use React.memo for pure function components
6 years ago
Michael Fix 5badd2fbbb
remove timestamp (#583)
Clean up
6 years ago
Sean 68d90364b0 New export menu (#582)
* New export menu

* Fix lint errors
6 years ago
Michael Fix f4f23541ea
Create dark watermark (#577)
- Closes #575
6 years ago
Sean 2af4aa55ca Fix N-Triples language support (#534) 6 years ago
Rodolfo Aguirre fc5e6e475a Add N-Triples language support (#519)
* Add N-Triples & N-Quads into LANGUAGES

* Remove N-Quads since N-Triple can be used instead
6 years ago
Rodolfo Aguirre ac22d23886 Add Turtle into LANGUAGES (#520) 6 years ago
zhao.zhang 2b6a91dfee feat: add atom one-light theme (#499) 6 years ago
Mike Fix 1451ee2582 remove extra solarized link 6 years ago
Mike Fix 0b366d18f7 refactor stylesheets abstraction 6 years ago
Rodolfo Aguirre 4f52ecd161 Add SPARQL language support (#487) 6 years ago
Etienne Millon f80c835328 Split F# and OCaml entries (#475)
While they use the same mode, OCaml is easy to miss.
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
Yashu Mittal 22f2ea673e Space mono normal font (#462)
* Arranging in alphabetical order

* Add Space Mono (normal) font

* Added myself as contributor
6 years ago
Mike Fix 0df0f68756 don't load styles that we have locally
- Closes #460
6 years ago
Mike Fix b49662cd1d organize Lucario alphabetically 6 years ago
Gabriel JUCHAULT d31f6ee3a6 feat(highlight): add TOML support (#434) 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
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
Tirth Patel 4dff52ed79 Added sTeX/LaTeX Language Support (#419)
* added latex language support

* sTeX/LaTeX name changed to LaTeX

* Placed Latex in alphabetical order
6 years ago
Mike Fix d98319d5d9 Alphabetize languages 7 years ago
Ankit Tiwari d59d4a99d7 Add Octave language support (#369)
* Add Octave language support

* Update constants.js

* Clean up
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
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
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
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 9dd8d3a9c4
Fix issue 294 (#305) 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
Mike Fix 034c35ca92 Back to 2x default 7 years ago
Mike Fix 7fce4060f0 Default to 1x 7 years ago
Mike Fix 1b5ed6a60c Fix CMD+A backspace issue
- Closes #272
7 years ago
Jake Dexheimer 9499248e1c
Add watermark feature (#274)
* Add watermark feature

* Change watermark to carbon logo

* Fix double borders
7 years ago
Mike Fix 3168ddb0ad Add title bar to default settings 7 years ago
Michael Fix 70928b765e Iosevka font (#268)
- Closes #233
7 years ago
Jake Dexheimer 4c86468e50 Rename ResolutionSelect 7 years ago
Takahiko Inayama b7adab9bea Support variable export sizes (#264) 7 years ago
Jake Dexheimer 3c0b3dd387 Fix dropdown hover/width, window themes bg 7 years ago
Nihad Abbasov e3d2646885 Add Tomorrow Night - Bright theme (#222)
* Add Tomorrow Night - Bright theme

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

* Update contributors
7 years ago
Iván Munguía b2f6e1c963 Add syntax highlighting for Apache 7 years ago
briandennis d62145f727 modify default settings constant, use new constant when setting initial settings 7 years ago
Dillon Mulroy 7a2b778204 Initial Proof of concept 7 years ago
Michael Fix 3d4ba85732
Sanitize color inputs (#196)
* Sanitize color inputs

* Remove unneeded dep

* Move to constants

* Case insensative
7 years ago
Iván Munguía a3697f48b9 Add syntax highlighting for the diff language (#191) 7 years ago