Commit Graph

9689 Commits

Author SHA1 Message Date
Cheng Zhao
faffc09f7a Merge pull request #844 from atom/custom-resource-loader
Add custom resource loader, fixes #197
2013-09-16 18:44:21 -07:00
Kevin Sawicki
3fee026d04 Don't load keymaps, grammars, or properties for themes
Theme packages are just stylesheets and previously all themes had
their stylesheets loaded even when there weren't being used.
2013-09-16 18:38:46 -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
Kevin Sawicki
37c10af4de Upgrade to atom-light-syntax@0.2.0 2013-09-16 17:18:59 -07:00
Kevin Sawicki
958618ae01 Upgrade to atom-dark-syntax@0.2.0 2013-09-16 17:12:16 -07:00
Kevin Sawicki
35fd5be62d Upgrade to less-cache@0.8.0 2013-09-16 16:58:07 -07:00
Kevin Sawicki
52ac06cfd9 Don't look for less files under src/
This is no longer needed now that packages have been extracted from
this folder.
2013-09-16 16:44:54 -07:00
Kevin Sawicki
9aed542e4e Remove bootstrap from less config 2013-09-16 16:36:52 -07:00
Kevin Sawicki
d9313bd5e3 Remove remaining references to deleted themes folder 2013-09-16 16:34:49 -07:00
Kevin Sawicki
46b0c8087e Remove bootstrap from LESS search path 2013-09-16 16:32:21 -07:00
Kevin Sawicki
9ea1ad7ce9 Use resolvable path to bootstrap stylesheet 2013-09-16 16:31:51 -07:00
Kevin Sawicki
f1f5fb4fd8 Upgrade to settings-view@0.18.0 2013-09-16 16:30:40 -07:00
Kevin Sawicki
33bce240cf Use LESS imports paths from config 2013-09-16 16:23:59 -07:00
Kevin Sawicki
bb479f47d9 Put vendor/bootstrap/less instead of vendor/ on less search path 2013-09-16 16:16:05 -07:00
Kevin Sawicki
613f72003c Precompile main stylesheet from each theme 2013-09-16 15:52:15 -07:00
Kevin Sawicki
92c2da30cc Remove themes directory from less config 2013-09-16 15:47:58 -07:00
Kevin Sawicki
262ada0b6c 💄 typo in TODO comment 2013-09-16 15:35:45 -07:00
Kevin Sawicki
508a0d4f2d Upgrade to less-cache@0.7.0 2013-09-16 15:34:06 -07:00
Kevin Sawicki
02f0bfb0e0 💄 2013-09-16 15:05:54 -07:00
Kevin Sawicki
b68fc9c44a Copy dev dependencies to application directory 2013-09-16 15:01:13 -07:00
Kevin Sawicki
0d8411dbbb Prebuild LESS cache for common theme configurations 2013-09-16 14:58:25 -07:00
Kevin Sawicki
f54f4f440d 💄 2013-09-16 14:41:25 -07:00
Kevin Sawicki
c80afda593 Don't precompile LESS files 2013-09-16 14:41:25 -07:00
Kevin Sawicki
c8fc7b8400 Delete less cache from partial-clean task 2013-09-16 14:40:39 -07:00
Kevin Sawicki
ad381087dd Cache compiled LESS files 2013-09-16 14:40:39 -07:00
Matt Colyer
134510dfe1 Move old Theme specs and apply them to AtomPackage. 2013-09-16 12:15:09 -07:00
Cheng Zhao
61f9cf059a 💄 Remove unused requires. 2013-09-17 00:05:09 +08:00
Kevin Sawicki
a234ed96bd Remove themes paths from config
Themes are now co-located with packages
2013-09-16 08:34:03 -07:00
Cheng Zhao
c682a964fa Add spec for the 'atom' protocol URLs. 2013-09-14 15:00:19 +08:00
Cheng Zhao
0a8d9bdad5 doc: Add usage on the 'atom' protocol URL. 2013-09-14 14:34:00 +08:00
Cheng Zhao
1b4be18dd7 Add ~/.atom/packages to the resource load path. 2013-09-14 11:07:00 +08:00
Cheng Zhao
656793108c Add the "atom://" custom protocol handler. 2013-09-14 11:04:15 +08:00
Cheng Zhao
59e7229ea4 Update to atom-shell v0.4.7. 2013-09-14 11:04:15 +08:00
Matt Colyer
906c5b0a9d Bump settings view, again. 2013-09-13 17:22:10 -07:00
Matt Colyer
05dd400772 Bump settings-view for compatibility 2013-09-13 17:16:33 -07:00
Matt Colyer
c413f024f2 Make the build green 2013-09-13 16:21:26 -07:00
Matt Colyer
382a7b8a7f Update specs to reflect new functionality 2013-09-13 16:21:07 -07:00
Matt Colyer
658c106349 Convert fixture themes to packages 2013-09-13 16:20:05 -07:00
Matt Colyer
a4fd23b645 Remove unused Theme class 2013-09-13 13:50:25 -07:00
Matt Colyer
a83878590d Remove build step which copied themes folder 2013-09-13 12:13:33 -07:00
Matt Colyer
c6a23ba32c Add theme dependencies 2013-09-13 12:13:32 -07:00
Matt Colyer
e00936f49c Remove themes directory 2013-09-13 12:13:32 -07:00
Matt Colyer
1361ec6ec1 Ensure that theme styles are applied after packages 2013-09-13 12:13:32 -07:00
Matt Colyer
708c760c6c Implement index.less/css fallback for themes 2013-09-13 12:13:32 -07:00
Matt Colyer
b1675714e6 Load themes after packages, since we depend on them 2013-09-13 12:13:32 -07:00
Matt Colyer
a4dedeb92d Use packages to load themes 2013-09-13 12:13:32 -07:00
Matt Colyer
a3069edec0 Add test for initialLine option to EditSession 2013-09-13 11:42:31 -07:00
Matt Colyer
7c84f38410 Be more defensive about parsing line numbers 2013-09-13 11:42:31 -07:00