Ben Ogle
3fc514659a
Remove workspaceView references from ThemeManager
2014-11-19 17:46:32 -08:00
Nathan Sobo
49471070a3
Move public stylesheet related methods off of atom.themes
...
* Move atom.themes.getUserStylesheetPath to
atom.styles.getUserStyleSheetPath
* Deprecate atom.themes.requireStylesheet
2014-11-19 10:31:03 -07:00
Max Brunsfeld
003c101f14
W/o shadow-dom, don't add global atom-styles element for text editor
...
Signed-off-by: Nathan Sobo <nathan@github.com >
2014-11-07 13:05:46 -08:00
Ben Ogle
4537e9bd1a
Fix specs
2014-11-04 16:37:27 -07:00
Nathan Sobo
cdb62812d2
Don’t use syntax themes in spec because they are inserted in shadow DOM
2014-11-04 16:37:23 -07:00
Ben Ogle
ee4116536d
Move the ViewRegistry to atom.views
2014-10-30 13:42:27 -07:00
Kevin Sawicki
6e827434fd
Log a warning when a enabled theme isn't installed
2014-10-30 10:04:38 -07:00
Lee Dohm
d20e91897a
Load the default themes when configured themes don't exist
2014-10-29 19:42:42 -07:00
Nathan Sobo
04b3eef768
Fix theme-manager-specs
2014-10-15 15:14:13 -06:00
Nathan Sobo
1eb3d8bf99
Use ‘atom-text-editor’ custom tag name for TextEditorElement
2014-10-09 07:39:14 -07:00
Nathan Sobo
211a1c75e2
Return a disposable from ThemeManager::requireStylesheet
2014-09-30 14:02:04 -06:00
Nathan Sobo
fd3cb1a232
💄 theme-manager-spec
2014-09-30 14:01:41 -06:00
Nathan Sobo
7f41be3103
Use atom.workspace.getView to construct WorkspaceViews
...
It returns the root DOM node of the workspace. Eventually this will
be a custom element but for now it’s just a DOM node with a
__spacePenView reference on it.
2014-09-19 16:24:12 -06:00
Ben Ogle
5ba5215f5d
Add event subscription methods to ThemeManager
2014-09-09 15:35:00 -07:00
Ben Ogle
3bf348e51f
Add ThemeManager::onDidReloadAll
2014-09-09 15:24:55 -07:00
Ben Ogle
26d696a93d
Add classes to the workspace for themes
...
Fixes #3097
2014-08-21 11:53:10 -07:00
Kevin Sawicki
f447781e01
Allow any bundled theme when in safe mode
...
Check enabled names against the bundled names and ensure
one bundled UI and one bundled syntax theme are enabled,
defaulting to the dark themes when necessary.
2014-08-11 15:24:49 -07:00
Maximilian Schüßler
c2304e1124
Fix indentation
2014-08-08 19:59:45 +02:00
Maximilian Schüßler
b463d9d876
Load the default themes in safe mode
2014-08-05 13:32:16 +02:00
Ben Ogle
e620121953
Add spec for loading theme with incomplete variable file
2014-07-11 14:04:54 -07:00
Kevin Sawicki
c700ca0430
Remove unused sync option
2014-05-21 08:55:40 -07:00
Nathan Sobo
84e76556da
Try to fix flaky spec
2014-05-20 11:11:35 -06:00
Nathan Sobo
f2c7d171bf
Fix another subscription leakage associated with theme manager specs
2014-05-16 09:14:21 -06:00
Nathan Sobo
76b9982e04
Emit stylesheet-added/removed from ThemeManager w/ CSSStyleSheet objects
...
This enables subscribers to detect not just that stylesheets have
changed, but specifically how they have changed. This is used by the
React editor component to only refresh scrollbars when a stylesheet
that actually contains selectors for scrollbar elements is added or
removed.
2014-05-09 11:33:04 -06:00
Corey Johnson
fd7951b2c6
Remove focused spec
2014-04-22 09:51:15 -07:00
Kevin Sawicki
81646532b4
Ignore non-string core.themes config entries
...
Previously exceptions would be raised downstream if invalid theme
names were returned from ThemeManager::getEnabledThemeNames
Closes #1877
2014-04-17 13:33:51 -07:00
Nathan Sobo
2d26382510
Emit 'stylesheet-changed' from atom.themes
...
Whenever stylesheets are applied or removed.
2014-03-19 15:51:36 -06:00
Kevin Sawicki
0307c0e6c9
Rename ~/.atom/styles.css to ~/.atom/styles.less
2014-02-24 16:14:05 -08:00
Kevin Sawicki
a651254e38
Require fs-plus directly in specs
2014-02-23 17:19:00 -08:00
Kevin Sawicki
08ede33b66
Log warning when enabled theme isn't installed
2014-02-20 11:42:04 -08:00
Kevin Sawicki
3f8d9a4c47
Combine AtomPackage and Package
2014-02-17 12:59:03 -08:00
probablycorey
d9a47f256c
Update specs
2014-02-07 11:21:52 -08:00
Kevin Sawicki
caa16f2718
Update user stylesheet path in spec
2014-01-30 16:58:35 -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
e45aeecb0a
Update specs now that syntax themes have stylesheets folders
2013-12-06 13:24:34 -08:00
Kevin Sawicki
3ce6176313
Rename rootView to workspaceView
2013-11-26 11:02:53 -08:00
Kevin Sawicki
b19390b519
Add missing atom prefix to rootView and project
2013-11-20 17:23:48 -08:00
Kevin Sawicki
d0b380e535
Add atom prefix to rootView and project references
2013-11-20 17:23:47 -08:00
Kevin Sawicki
f9498732a5
Add atom prefix to rootView
2013-11-20 17:23:47 -08:00
Kevin Sawicki
81c56ca4f1
Set configDirPath on ThemeManager in specs
2013-11-11 11:47:24 -08:00
Kevin Sawicki
d0e1d32ae9
Use resource path from load settings
2013-11-11 10:32:01 -08:00
Kevin Sawicki
78617e31bc
💉 resource path into LessCompileCache
2013-11-11 09:20:48 -08:00
Kevin Sawicki
a377a49004
Use atom.config instead of window.config
2013-11-11 09:16:44 -08:00
Matt Colyer
28d7160c3b
Update specs concerning stylesheet ids
2013-11-06 17:12:47 -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
059671c454
🐎 Load packages by path
...
Previously the package paths were converted to names and then
re-resolved to paths.
Now we just load the paths directly reducing the number of stat calls
and saving ~50ms in PackageManager::loadPackages
Also now internal packages are loaded by parsing the package.json
file for packageDependencies instead of loading the metadata for all
packages in node_modules and checking the engines field.
2013-10-29 13:31:42 -07:00
Ben Ogle
abe36765b5
Fix test for both local and janky
2013-10-22 15:06:25 -07:00
Ben Ogle
eaea8753f5
nof
2013-10-22 15:06:25 -07:00