diff --git a/src/editor.coffee b/src/editor.coffee index 6db5eab9f..ca6bfcb0b 100644 --- a/src/editor.coffee +++ b/src/editor.coffee @@ -83,8 +83,6 @@ class Editor extends View else {editSession, @mini} = editSessionOrOptions ? {} - requireStylesheet 'editor' - @id = Editor.nextEditorId++ @lineCache = [] @configure() diff --git a/src/select-list.coffee b/src/select-list.coffee index 83de17021..8b92a5615 100644 --- a/src/select-list.coffee +++ b/src/select-list.coffee @@ -28,8 +28,6 @@ class SelectList extends View # Public: initialize: -> - requireStylesheet 'select-list' - @miniEditor.getBuffer().on 'changed', => @schedulePopulateList() @miniEditor.on 'focusout', => @cancel() unless @cancelling @on 'core:move-up', => @selectPreviousItem() diff --git a/static/atom.less b/static/atom.less index 8435756b4..a5bb6b2a6 100644 --- a/static/atom.less +++ b/static/atom.less @@ -1,9 +1,16 @@ -@import "bootstrap/less/bootstrap.less"; -@import "root-view.less"; -@import "overlay.less"; -@import "popover-list.less"; -@import "notification.less"; -@import "markdown.less"; +@import "bootstrap/less/bootstrap"; + +@import "./octicon-utf-codes.less"; +@import "./octicon-mixins.less"; + +@import "./root-view.less"; +@import "./overlay.less"; +@import "./popover-list.less"; +@import "./notification.less"; +@import "./markdown.less"; + +@import "./editor.less"; +@import "./select-list.less"; :focus { outline: none; diff --git a/static/editor.less b/static/editor.less index 26d96c0e8..328d96a18 100644 --- a/static/editor.less +++ b/static/editor.less @@ -1,6 +1,3 @@ -@import "octicon-utf-codes.less"; -@import "octicon-mixins.less"; - .editor { overflow: hidden; cursor: text; diff --git a/static/root-view.less b/static/root-view.less index f7d770994..9c51f98c8 100644 --- a/static/root-view.less +++ b/static/root-view.less @@ -1,5 +1,3 @@ -@import "octicon-mixins.less"; - @font-face { .octicon-font(); } html, body { diff --git a/static/select-list.less b/static/select-list.less index 07c5bbe9a..09ecf0113 100644 --- a/static/select-list.less +++ b/static/select-list.less @@ -1,5 +1,3 @@ -@import "octicon-mixins.less"; - .select-list { .loading { .loading-message {