Kevin Sawicki
8425c15cd7
💄 Use Array::filter instead of for/in/when
2014-02-10 13:21:08 -08:00
probablycorey
8d40e4df10
Merge remote-tracking branch 'origin/master' into cj-make-package-activation-consistent
...
Conflicts:
package.json
src/package-manager.coffee
src/text-mate-package.coffee
2014-02-07 16:53:24 -08:00
probablycorey
9a51c24937
Make AtomPackage:activate return a promise that is fulfilled when the
...
package is activated.
2014-02-07 11:21:42 -08:00
Kevin Sawicki
dfdab3d006
📝 doc parameters in theme-manager.coffee
2014-02-06 17:33:29 -08:00
Kevin Sawicki
932a792289
Remove Private: prefix
2014-02-06 10:02:53 -08:00
Kevin Sawicki
ece269f158
📝 Consistently mention what classes have global instances
2014-02-04 10:06:37 -08:00
Kevin Sawicki
1b17441bfe
Update default stylesheet name to styles.less
2014-01-30 16:58:20 -08:00
Kevin Sawicki
1c790a3c55
Rename ~/.atom/user.css to ~/.atom/styles.css
2014-01-30 16:53:25 -08:00
Kevin Sawicki
d8c1587534
📝 Mark getters a public
2014-01-22 16:31:10 -08:00
Kevin Sawicki
a4754b2bd5
📝 Mark ThemeManager class public
2014-01-22 16:25:55 -08:00
Kevin Sawicki
59c4c15afd
Add command to open ~/.atom/user.less in an editor
2014-01-20 10:37:13 -08:00
Kevin Sawicki
6a14c0df81
Remove unused package require
2014-01-17 12:40:33 -08:00
Kevin Sawicki
083204f737
💄 Sort requires
2014-01-17 12:40:21 -08:00
Kevin Sawicki
4d17f625f8
Null out file when unwatching
2014-01-17 12:28:30 -08:00
Kevin Sawicki
64ebc37204
Reload user stylesheet when changed
2014-01-17 11:33:25 -08:00
Kevin Sawicki
1006706cf6
Consistently order less cache import paths
2014-01-15 17:42:17 -08:00
Kevin Sawicki
796632c36c
Refresh less cache before activating themes
...
This ensures the import paths for themes contain the stylesheet directories
Closes #1225
2013-12-07 11:31:06 -08:00
Kevin Sawicki
85d5968318
Remove consecutive comment blocks
2013-11-22 15:45:01 -08:00
Kevin Sawicki
7a6c75a83e
Refresh cache when core.themes changes
...
Previously this wasn't needed because a new cache was created for each
stylesheet loaded.
2013-11-21 17:46:29 -08:00
Kevin Sawicki
3e7a517c25
Add missing @ before lessCache lazy initialization
2013-11-21 17:03:10 -08:00
Ben Ogle
6fa7da79eb
Provide a defualt
2013-11-21 14:34:49 -08:00
Ben Ogle
c2371f3054
Allow passing an htmlElement into requireStylesheet
2013-11-21 14:32:48 -08:00
Kevin Sawicki
d4b5303983
Remove remaining package paths from Config class
2013-11-11 10:33:09 -08:00
Kevin Sawicki
78617e31bc
💉 resource path into LessCompileCache
2013-11-11 09:20:48 -08:00
Matt Colyer
43419fdef2
Normalize dom ids rather than remove
2013-11-07 14:41:58 -08:00
Matt Colyer
e312050163
Create valid DOM ids for stylesheets
2013-11-04 16:21:50 -08:00
Kevin Sawicki
9c79e39401
Upgrade to fs-plus@0.4.0
2013-11-01 08:46:03 -07:00
Kevin Sawicki
ebb7a2637a
Upgrade to fs-plus@0.3.0
2013-11-01 08:46:03 -07:00
Kevin Sawicki
ef97dadea1
Update fs-utils references to fs-plus
2013-11-01 08:46:02 -07:00
Ben Ogle
80f4e7eb7f
Add ThemeManager.setEnabledThemes
2013-10-22 18:09:21 -07:00
Ben Ogle
967c04fb19
Clean up theme check in PackageManager with PackageActivators
...
You can now call `PackageManager.registerPackageActivator` for specific
package types. On `PackageManager.activate` it will call your
`PackageActivator.activatePackages(packages)` with the proper packages.
2013-10-22 15:07:09 -07:00
Ben Ogle
2624cf6e75
oops, don't deactivate all the packages!
2013-10-22 15:06:54 -07:00
Ben Ogle
0b74dfc67a
Remove unnecessary lines
2013-10-22 15:06:25 -07:00
Ben Ogle
4440210d9a
Fix tests
2013-10-22 15:06:25 -07:00
Ben Ogle
56832b11fc
Refactor pkg and themeManager -- all themes stored in the pkg manager
2013-10-22 15:06:25 -07:00
Ben Ogle
077cb9ddb7
Add an enableTheme() function to ThemeManager
...
And use it in the activatePackage() function in PackageManager
2013-10-22 15:04:55 -07:00
Kevin Sawicki
9d51d1a143
Use jquery provided by space-pen
2013-10-16 13:34:41 -07:00
Kevin Sawicki
216a5e61fd
Update underscore-extensions requires
2013-10-15 13:50:16 -07:00
Kevin Sawicki
9fe32954dc
Update classes for emissary API
2013-10-14 17:28:26 -07:00
Kevin Sawicki
e5ac73e0db
Use includeInto instead of _.extend
2013-10-14 17:28:26 -07:00
Kevin Sawicki
0b0c3229d3
EventEmitter is exported as Emitter
2013-10-14 17:28:26 -07:00
Kevin Sawicki
f9a0e038a5
Use emissary for EventEmitter and Subscriber
2013-10-14 17:28:26 -07:00
Kevin Sawicki
862220adf2
Store less cache as an ivar on ThemeManager
2013-10-02 13:40:33 -07:00
Kevin Sawicki
c808630ba1
Move all stylesheet globals to ThemeManager
2013-10-02 13:40:32 -07:00
Kevin Sawicki
5de21e2cd7
Ignore theme names that cannot be resolved
2013-10-02 11:24:39 -07:00
Kevin Sawicki
ea54fd78b8
Add getter for loaded themes
2013-09-24 21:44:42 -07:00
Kevin Sawicki
41fc4f7fe6
Use relative require paths in src/ files
2013-09-20 10:02:20 -07:00
Kevin Sawicki
74e8614653
💄 Use theme as variable name instead of t
2013-09-16 18:34:59 -07:00
Ben Ogle
b1bd387aee
Remove parens
2013-09-16 18:09:45 -07:00
Ben Ogle
1ba04cb58a
Reverse the loading order of themes.
...
We want the first/top-most theme's css to be loaded after the others
so its styles will override styles in the other themes.
2013-09-16 18:09:01 -07:00