 		]
 
 		content.push Assets.getText file for file in @files
+
+		for packageCallback in @packageCallbacks
+			result = packageCallback()
+			if _.isString result
+				content.push result
 
 		content = content.join '\n'
 


RocketChat.theme = new class
	variables: {}
	files: [
		'assets/stylesheets/global/_variables.less'
		'assets/stylesheets/utils/_emojione.import.less'


		return items.join '\n'

	addPackageAsset: (cb) ->
		@packageCallbacks.push cb

	getCss: ->
		return RocketChat.settings.get 'css'
