From f007ecf6c56e091ef2f0489cf8bc474918ea9cb4 Mon Sep 17 00:00:00 2001 From: Alexandre Wilhelm Date: Tue, 2 Sep 2014 13:17:07 -0700 Subject: [PATCH] Fixed: wrong text-color for CPDatePicker Previously the color of a CPDatePicker wasn't black as a CPTextField Fixed #2188 --- AppKit/Themes/Aristo/ThemeDescriptors.j | 1 - AppKit/Themes/Aristo2/ThemeDescriptors.j | 2 -- 2 files changed, 3 deletions(-) diff --git a/AppKit/Themes/Aristo/ThemeDescriptors.j b/AppKit/Themes/Aristo/ThemeDescriptors.j index 394213d85..0d0f3285f 100755 --- a/AppKit/Themes/Aristo/ThemeDescriptors.j +++ b/AppKit/Themes/Aristo/ThemeDescriptors.j @@ -1271,7 +1271,6 @@ var themedButtonValues = nil, [@"bezel-color", bezelDisabledColor, [CPThemeStateBezeled, CPThemeStateDisabled]], [@"font", [CPFont boldSystemFontOfSize:13.0]], - [@"text-color", [CPColor colorWithWhite:0.2 alpha:0.8]], [@"text-color", textDisabledColor, CPThemeStateDisabled], [@"content-inset", CGInsetMake(6.0, 0.0, 0.0, 3.0), CPThemeStateNormal], diff --git a/AppKit/Themes/Aristo2/ThemeDescriptors.j b/AppKit/Themes/Aristo2/ThemeDescriptors.j index 9abce6b8c..174ebda1a 100644 --- a/AppKit/Themes/Aristo2/ThemeDescriptors.j +++ b/AppKit/Themes/Aristo2/ThemeDescriptors.j @@ -837,8 +837,6 @@ var themedButtonValues = nil, [@"bezel-color", bezelColor["disabled"], [CPThemeStateBezeled, CPThemeStateDisabled]], [@"font", [CPFont systemFontOfSize:CPFontCurrentSystemSize]], - - [@"text-color", [CPColor colorWithWhite:0.2 alpha:0.8]], [@"text-color", [CPColor colorWithWhite:0.2 alpha:0.5], CPThemeStateDisabled], [@"content-inset", CGInsetMake(6.0, 0.0, 0.0, 3.0), CPThemeStateNormal],