diff --git a/src/app.js b/src/app.js index b98e337623..c74aceaf2d 100644 --- a/src/app.js +++ b/src/app.js @@ -65,12 +65,8 @@ var css = csjs` html { box-sizing: border-box; } *, *:before, *:after { box-sizing: inherit; } body { - font: 14px/1.5 Lato, "Helvetica Neue", Helvetica, Arial, sans-serif; - margin : 0; - padding : 0; - font-size : 12px; - color : ${styles.leftPanel.text_Primary}; - font-weight : normal; + /* font: 14px/1.5 Lato, "Helvetica Neue", Helvetica, Arial, sans-serif; */ + font-size : .8rem; } pre { overflow-x: auto; diff --git a/src/app/tabs/settings-tab.js b/src/app/tabs/settings-tab.js index 619cf06452..3c1f656b48 100644 --- a/src/app/tabs/settings-tab.js +++ b/src/app/tabs/settings-tab.js @@ -6,7 +6,7 @@ var globalRegistry = require('../../global/registry') var tooltip = require('../ui/tooltip') var copyToClipboard = require('../ui/copy-to-clipboard') var styleGuide = require('../ui/styles-guide/theme-chooser') -var styles = styleGuide.chooser() +// var styles = styleGuide.chooser() var Storage = remixLib.Storage var EventManager = require('../../lib/events') @@ -52,79 +52,85 @@ module.exports = class SettingsTab { if (self._view.el) return self._view.el // Gist settings - var gistAccessToken = yo`` + var gistAccessToken = yo`` var token = self._deps.config.get('settings/gist-access-token') if (token) gistAccessToken.value = token - var gistAddToken = yo` { self._deps.config.set('settings/gist-access-token', gistAccessToken.value); tooltip('Access token saved') }} value="Save" type="button">` - var gistRemoveToken = yo` { gistAccessToken.value = ''; self._deps.config.set('settings/gist-access-token', ''); tooltip('Access token removed') }} value="Remove" type="button">` + var gistAddToken = yo` { self._deps.config.set('settings/gist-access-token', gistAccessToken.value); tooltip('Access token saved') }} value="Save" type="button">` + var gistRemoveToken = yo` { gistAccessToken.value = ''; self._deps.config.set('settings/gist-access-token', ''); tooltip('Access token removed') }} value="Remove" type="button">` self._view.gistToken = yo`
Manage the access token used to publish to Gist and retrieve Github contents.
+Go to github token page (link below) to create a new token and save it in Remix. Make sure this token has only 'create gist' permission.
+https://github.com/settings/tokens
+