mirror of
https://github.com/atom/atom.git
synced 2026-02-08 13:45:09 -05:00
Use Twilight theme stylesheet based on TextMateTheme
This commit is contained in:
@@ -7,6 +7,7 @@ EditSession = require 'edit-session'
|
||||
CursorView = require 'cursor-view'
|
||||
SelectionView = require 'selection-view'
|
||||
Native = require 'native'
|
||||
TextMateTheme = require 'text-mate-theme'
|
||||
fs = require 'fs'
|
||||
|
||||
$ = require 'jquery'
|
||||
@@ -54,7 +55,7 @@ class Editor extends View
|
||||
|
||||
initialize: ({editSession, @mini} = {}) ->
|
||||
requireStylesheet 'editor.css'
|
||||
requireStylesheet 'theme/twilight.css'
|
||||
TextMateTheme.activate('Twilight')
|
||||
|
||||
@id = Editor.idCounter++
|
||||
@lineCache = []
|
||||
|
||||
Reference in New Issue
Block a user