mirror of
https://github.com/textmate/textmate.git
synced 2026-04-28 03:00:34 -04:00
Use separatorColor dividers in Open Quickly (⌘T) and friends
Not too fond of how this looks in Dark Mode but I think it’s better than the previous colors, which stem from back when the window had more of a 3D look.
This commit is contained in:
@@ -471,8 +471,8 @@ static std::vector<bundles::item_ptr> relevant_items_in_scope (scope::context_t
|
||||
self.scopeBar = [OakScopeBarView new];
|
||||
self.scopeBar.labels = _sourceListLabels;
|
||||
|
||||
self.topDivider = OakCreateHorizontalLine([NSColor darkGrayColor], [NSColor colorWithCalibratedWhite:0.551 alpha:1]),
|
||||
self.bottomDivider = OakCreateHorizontalLine([NSColor grayColor], [NSColor lightGrayColor]);
|
||||
self.topDivider = OakCreateHorizontalLine(OakBackgroundFillViewStyleDivider),
|
||||
self.bottomDivider = OakCreateHorizontalLine(OakBackgroundFillViewStyleDivider);
|
||||
|
||||
self.selectButton = OakCreateButton(@"Select");
|
||||
self.selectButton.font = [NSFont messageFontOfSize:[NSFont smallSystemFontSize]];
|
||||
|
||||
@@ -264,8 +264,8 @@ static NSDictionary* globs_for_path (std::string const& path)
|
||||
_progressIndicator.controlSize = NSControlSizeSmall;
|
||||
_progressIndicator.displayedWhenStopped = NO;
|
||||
|
||||
OakBackgroundFillView* topDivider = OakCreateHorizontalLine([NSColor darkGrayColor], [NSColor colorWithCalibratedWhite:0.551 alpha:1]);
|
||||
OakBackgroundFillView* bottomDivider = OakCreateHorizontalLine([NSColor grayColor], [NSColor lightGrayColor]);
|
||||
OakBackgroundFillView* topDivider = OakCreateHorizontalLine(OakBackgroundFillViewStyleDivider);
|
||||
OakBackgroundFillView* bottomDivider = OakCreateHorizontalLine(OakBackgroundFillViewStyleDivider);
|
||||
|
||||
NSDictionary* views = @{
|
||||
@"scopeBar": scopeBar,
|
||||
|
||||
@@ -41,7 +41,7 @@ static SymbolChooserItem* CreateItem (OakDocument* document, text::pos_t const&
|
||||
{
|
||||
self.window.title = @"Jump to Symbol";
|
||||
|
||||
OakBackgroundFillView* bottomDivider = OakCreateHorizontalLine([NSColor grayColor], [NSColor lightGrayColor]);
|
||||
OakBackgroundFillView* bottomDivider = OakCreateHorizontalLine(OakBackgroundFillViewStyleDivider);
|
||||
|
||||
NSDictionary* views = @{
|
||||
@"scrollView": self.scrollView,
|
||||
|
||||
Reference in New Issue
Block a user