59 Commits (c0ff116de863ec86f81de065b02dbf1ff28d920c)

Author SHA1 Message Date
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
6 years ago
Mike Fix d41f05d9c1 update comment 6 years ago
Mike Fix d70c8f0c2a upgrade codemirror CDN links to 5.39.2 (patch) 6 years ago
Mike Fix 5b80d2a7bf add comment about <link rel='preload'> 6 years ago
Mike Fix b19bbf26ae Fix preload for Firefox 6 years ago
Mike Fix d8f24bda48 add viewport meta tag 6 years ago
Michael Fix 6c9a09e522
Clean up (#481) (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
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
Farzad YZ 1747534921 WIP: integration with prettier (#469)
* add basic format with basic parser

* remove format loading

* change formatCode to be sync

* prettier adjustments

* prettier our code

* move prettify into settings menu
6 years ago
Jake Dexheimer b7c8466711 fix mobile overflow issue (#468) 6 years ago
Michael Fix f018c454bf
Implement PWA functionality (#455)
* implement PWA functionality

* disable tweet button when offline

* just remove tweet button instead
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
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
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
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
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
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
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 0dc47db39f Fix css style imports 7 years ago
Michael Fix 7d95eb44b4
Improve Perf 1 (#282)
* Inline stylesheets

* Minify CSS

* Use Next CSS imports instead
7 years ago
Mike Fix c47eb97c3a Theme color [PWA] 7 years ago
Hugo a69a3f2e44 Add Oceanic Next theme (#167)
* Add Oceanic Next theme

* Update Codemirror to 5.34.0
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
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 e55217f8f9 Fix solarized
Closes #134
7 years ago
Mat Gadd 91654f1477 Only add link elements for themes with stylesheets 7 years ago
Jake Dexheimer 96ac36baf5 Fix component state issues 7 years ago
Peng Jie 3985e35b52 Use spread operator (#95)
* Use spread operator replace Object.assign()

* Fix tag name
7 years ago
Andrew 3cbcb49c27 Remove semicolons 7 years ago
Andrew Dassonville 7e69ca2897 Add prettier 7 years ago
Jake Dexheimer c523af5dff Increase font size 7 years ago
Jake Dexheimer d6b4db144a Default theme 7 years ago
Jake Dexheimer 208242ae1e Update themes 7 years ago
Mike Fix fd0fa897c4 Remove Gist call when favicon is requested for 7 years ago
Jake Dexheimer 109edb660d Add social meta tags 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 ad43cd7d32 Add link styles 7 years ago
Jake Dexheimer 96dff6d8fe Style /about page 7 years ago
Jake Dexheimer d62bbf1a90 Minor style additions 7 years ago
Jake Dexheimer 641dfd90a7 Add type-system.css 7 years ago
Jake Dexheimer 483b456f08 Add color picker style overrides 7 years ago
Jake Dexheimer a60655b795 Add winow pointer thing 7 years ago
Jake Dexheimer 1bba205853 Wire-up window theme functionality 7 years ago
Jake Dexheimer 467a4540e3 CodeMirror use Hack 7 years ago
Jake Dexheimer 85b193e1f1 Make pretty 👻 7 years ago
Jake Dexheimer dd40da7328 Fix windowControls padding 8 years ago