153 Commits (c5df3e3604d426a768700be9720a6122cf9e23d8)

Author SHA1 Message Date
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
Jake Dexheimer 71abf28466 Use x-php mime-type 7 years ago
Hugo a69a3f2e44 Add Oceanic Next theme (#167)
* Add Oceanic Next theme

* Update Codemirror to 5.34.0
7 years ago
Brian Dennis 77af47b59e add PowerShell langauge (#174)
* add PowerShell langauge

* remove npm lockfile

* update lockfile
7 years ago
Kunall Banerjee 73eb4ac2cd add support for shell syntax (#172)
Closes #168
7 years ago
Michael Fix ed9993170f
GraphQL Type (#164) 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
Mike Fix 9ce3558a44 Fix typescript vs js naming descrepancy
- Closes #139
7 years ago
Brad Davies 9435c7564f Renamed to 'MySQL' 7 years ago
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`).
7 years ago
Andrew Dassonville 921d6b40b2 Fix crash when using Plain Text (#129) 7 years ago
Kunall Banerjee 830828d6c5 remove erroneous constant (#127)
This resulted in an unrecognized theme that further caused a bug in the UI.
7 years ago
Jake Dexheimer 9379528ccc Remove line numbers background style 7 years ago
Jake Dexheimer f13b394ebd Fix default theme 7 years ago
Mat Gadd ba6e8c4e6f Use parentheses around the theme to match others, and use the same order as ones above 7 years ago
Mat Gadd 03259f473c Add extra constants for Solarized flavours 7 years ago
Jake Dexheimer 96ac36baf5 Fix component state issues 7 years ago
Kunall Banerjee 1f9c81df9e add support for base-16 syntax (#101) 7 years ago
Stosh Fabricius 9be9ef1ac5 Add Elixir to available languages (#61)
* Add Elixir mode to available languages

* Update module to mode
7 years ago
Jake Dexheimer de11ff034f Add hover styles 7 years ago
Andrew Dassonville 9b7abc50d3 Add more JavaScript-like languages 7 years ago
Jake Dexheimer 7bfa2ef621 Add support for more clike languages 7 years ago
briandennis 93c0214081 use set lookup to keep track of loaded modes 7 years ago
Andrew f3b80b1783 Use mode instead of module 7 years ago
Andrew Dassonville 1500627c3b Use CodeMirror Kotlin 7 years ago
Jake Dexheimer 27bad782b4 Fix solarized theme, remove redundant light:true 7 years ago
Andrew 3cbcb49c27 Remove semicolons 7 years ago
Andrew Dassonville 7e69ca2897 Add prettier 7 years ago
Andrew Dassonville 6b1e0aedaa Add Kotlin support 7 years ago
Oto Brglez f309fbaf47 Adding support for Scala. 7 years ago
Mike Fix 26ea4615f7 Fix Selecting a language and then going back to auto
- Closes #37
7 years ago
briandennis 878e9e4f2e import custom modules 7 years ago
Dominik Picheta 89ec557e50 Add Nim language 7 years ago
Chris Ball b91a9d55dd Add my favorite theme 7 years ago
Krzysztof Cieślak 65acc18779 Add F# / OCaml mode 7 years ago
Jake Dexheimer d6b4db144a Default theme 7 years ago
Jake Dexheimer 208242ae1e Update themes 7 years ago
Mike Fix c9d4f9ea56 Add JSX 7 years ago
Mike Fix 3ca3e254b2 Fix language inconsistancies
- Depend on toHash
- Move auto out of languages export
7 years ago
briandennis c4296c7ee7 add language hash 7 years ago
briandennis dd9ba60d70 set languge when changed from toolbar 7 years ago
Jake Dexheimer bf374f1728 Clean up styles
- Move globals out of Meta component
- Create style components for Reset and TypeSystem
7 years ago
Jake Dexheimer 5aa85443dc Add new logo, colors 7 years ago
Jake Dexheimer ad43cd7d32 Add link styles 7 years ago
Jake Dexheimer 741451271d Better defaults 7 years ago
Jake Dexheimer 96dff6d8fe Style /about page 7 years ago
Jake Dexheimer d62bbf1a90 Minor style additions 7 years ago
Jake Dexheimer 85b193e1f1 Make pretty 👻 7 years ago
Mike Fix 54201ba701 Add module definitions 7 years ago
Jake Dexheimer 7e295817c7 Fix default code 7 years ago
Jake Dexheimer 2729531ad6 Start global color palette 7 years ago
Mike Fix 51b0087a3b Link CDN from constants 7 years ago