diff --git a/Docs/Classes/DarkTheme.html b/Docs/Classes/DarkTheme.html index 94c5dfd..5187e9f 100644 --- a/Docs/Classes/DarkTheme.html +++ b/Docs/Classes/DarkTheme.html @@ -159,7 +159,7 @@
Swift
-public var identifier: String = DarkTheme.identifier;
+ public var identifier: String = DarkTheme.identifier
Swift
-public var identifier: String = SystemTheme.identifier;
+ public var identifier: String = SystemTheme.identifier
open class ThemeColor : NSColor
+ open class ThemeColor: NSColor
A ThemeColor
instance for the specified selector.
Resolved color for specified selector on given theme.
@@ -507,7 +507,7 @@Resolved color for specified selector on given view.
@@ -538,7 +538,7 @@open class ThemeGradient : NSGradient
+ open class ThemeGradient: NSGradient
A ThemeGradient
instance for the specified selector.
Resolved gradient for specified selector on given theme.
@@ -477,7 +477,7 @@Resolved gradient for specified selector on given view.
@@ -508,7 +508,7 @@open class ThemeImage : NSImage
+ open class ThemeImage: NSImage
Swift
-@objc public var resolvedThemeImage: NSImage = NSImage(size: NSZeroSize)
+ @objc public var resolvedThemeImage: NSImage = NSImage(size: NSSize.zero)
A ThemeImage
instance for the specified selector.
Resolved image for specified selector on given theme.
@@ -480,7 +480,7 @@Resolved image for specified selector on given view.
@@ -511,7 +511,7 @@The Theme
instance with the given identifier.
Check if window complies to current policy.
NSWindow.themeIfCompliantWithWindowThemePolicy()
Theme window if compliant to windowThemePolicy
(and if appearance needs update).
Theme window if compliant to windowThemePolicy
(and if appearance needs update).
Theme all windows compliant to ThemeManager.windowThemePolicy (and if appearance needs update).
-
+
- windowThemePolicy
+ windowThemePolicy
Check if window complies to current policy.
NSWindow.themeIfCompliantWithWindowThemePolicy()
Theme window if compliant to windowThemePolicy
(and if appearance needs update).
Theme window if compliant to windowThemePolicy
(and if appearance needs update).
Theme all windows compliant to ThemeManager.windowThemePolicy (and if appearance needs update).
-
+
- willChangeTheme
+ willChangeTheme
-
+
- didChangeTheme
+ didChangeTheme
Swift
-@objc optional var fallbackForegroundColor : NSColor?
+ @objc optional var fallbackForegroundColor: NSColor?
Swift
-@objc optional var fallbackBackgroundColor : NSColor?
+ @objc optional var fallbackBackgroundColor: NSColor?
Swift
-@objc optional var fallbackGradient : NSGradient?
+ @objc optional var fallbackGradient: NSGradient?
Swift
-@objc optional var fallbackImage : NSImage?
+ @objc optional var fallbackImage: NSImage?
-
+
- isLightTheme
+ isLightTheme
Extension method
@@ -431,7 +431,7 @@
-
+
- isSystemTheme
+ isSystemTheme
Extension method
@@ -470,7 +470,7 @@
-
+
- isUserTheme
+ isUserTheme
Extension method
@@ -507,7 +507,7 @@ The theme value for the specified key.
@@ -664,7 +664,7 @@true
if theme provides an asset for the given key; false
otherwise.
-
+
- defaultFallbackForegroundColor
+ defaultFallbackForegroundColor
Extension method
@@ -702,7 +702,7 @@
-
+
- defaultFallbackBackgroundColor
+ defaultFallbackBackgroundColor
Extension method
@@ -741,7 +741,7 @@
-
+
- defaultFallbackGradient
+ defaultFallbackGradient
Extension method
@@ -779,7 +779,7 @@
-
+
- defaultFallbackImage
+ defaultFallbackImage
Extension method
@@ -817,7 +817,7 @@
-
+
- effectiveTheme
+ effectiveTheme
Extension method
@@ -856,7 +856,7 @@ Swift
-open class ThemeColor : NSColor
+ open class ThemeColor: NSColor
Swift
-open class ThemeGradient : NSGradient
+ open class ThemeGradient: NSGradient
Swift
-open class ThemeImage : NSImage
+ open class ThemeImage: NSImage
Swift
-public var identifier: String = DarkTheme.identifier;
+ public var identifier: String = DarkTheme.identifier
Swift
-public var identifier: String = SystemTheme.identifier;
+ public var identifier: String = SystemTheme.identifier
open class ThemeColor : NSColor
+ open class ThemeColor: NSColor
A ThemeColor
instance for the specified selector.
Resolved color for specified selector on given theme.
@@ -507,7 +507,7 @@Resolved color for specified selector on given view.
@@ -538,7 +538,7 @@open class ThemeGradient : NSGradient
+ open class ThemeGradient: NSGradient
A ThemeGradient
instance for the specified selector.
Resolved gradient for specified selector on given theme.
@@ -477,7 +477,7 @@Resolved gradient for specified selector on given view.
@@ -508,7 +508,7 @@open class ThemeImage : NSImage
+ open class ThemeImage: NSImage
Swift
-@objc public var resolvedThemeImage: NSImage = NSImage(size: NSZeroSize)
+ @objc public var resolvedThemeImage: NSImage = NSImage(size: NSSize.zero)
A ThemeImage
instance for the specified selector.
Resolved image for specified selector on given theme.
@@ -480,7 +480,7 @@Resolved image for specified selector on given view.
@@ -511,7 +511,7 @@The Theme
instance with the given identifier.
Check if window complies to current policy.
NSWindow.themeIfCompliantWithWindowThemePolicy()
Theme window if compliant to windowThemePolicy
(and if appearance needs update).
Theme window if compliant to windowThemePolicy
(and if appearance needs update).
Theme all windows compliant to ThemeManager.windowThemePolicy (and if appearance needs update).
-
+
- windowThemePolicy
+ windowThemePolicy
Check if window complies to current policy.
NSWindow.themeIfCompliantWithWindowThemePolicy()
Theme window if compliant to windowThemePolicy
(and if appearance needs update).
Theme window if compliant to windowThemePolicy
(and if appearance needs update).
Theme all windows compliant to ThemeManager.windowThemePolicy (and if appearance needs update).
-
+
- willChangeTheme
+ willChangeTheme
-
+
- didChangeTheme
+ didChangeTheme
Swift
-@objc optional var fallbackForegroundColor : NSColor?
+ @objc optional var fallbackForegroundColor: NSColor?
Swift
-@objc optional var fallbackBackgroundColor : NSColor?
+ @objc optional var fallbackBackgroundColor: NSColor?
Swift
-@objc optional var fallbackGradient : NSGradient?
+ @objc optional var fallbackGradient: NSGradient?
Swift
-@objc optional var fallbackImage : NSImage?
+ @objc optional var fallbackImage: NSImage?
-
+
- isLightTheme
+ isLightTheme
Extension method
@@ -431,7 +431,7 @@
-
+
- isSystemTheme
+ isSystemTheme
Extension method
@@ -470,7 +470,7 @@
-
+
- isUserTheme
+ isUserTheme
Extension method
@@ -507,7 +507,7 @@ The theme value for the specified key.
@@ -664,7 +664,7 @@true
if theme provides an asset for the given key; false
otherwise.
-
+
- defaultFallbackForegroundColor
+ defaultFallbackForegroundColor
Extension method
@@ -702,7 +702,7 @@
-
+
- defaultFallbackBackgroundColor
+ defaultFallbackBackgroundColor
Extension method
@@ -741,7 +741,7 @@
-
+
- defaultFallbackGradient
+ defaultFallbackGradient
Extension method
@@ -779,7 +779,7 @@
-
+
- defaultFallbackImage
+ defaultFallbackImage
Extension method
@@ -817,7 +817,7 @@
-
+
- effectiveTheme
+ effectiveTheme
Extension method
@@ -856,7 +856,7 @@ Swift
-open class ThemeColor : NSColor
+ open class ThemeColor: NSColor
Swift
-open class ThemeGradient : NSGradient
+ open class ThemeGradient: NSGradient
Swift
-open class ThemeImage : NSImage
+ open class ThemeImage: NSImage
- +
ThemeKit is a lightweight theming library completely written in Swift that provides theming capabilities to both Swift 4 and Objective-C macOS applications.
+ThemeKit is a lightweight theming library completely written in Swift that provides theming capabilities to both Swift and Objective-C macOS applications.
ThemeKit is brought to you with ❤️ by Nuno Grilo and the Paw team.
@@ -153,7 +153,7 @@ThemeKit Version | +Swift Version | +
---|---|
1.0.0 | +3.0 | +
1.1.0 | +4.0 | +
1.2.0 | +4.1 | +
There are multiple options to include ThemeKit on your project:
Add to your Podfile
:
use_frameworks!
target '[YOUR APP TARGET]' do
- pod 'macOSThemeKit', '~> 1.1.0'
+ pod 'macOSThemeKit', '~> 1.2.0'
end
@@ -318,9 +338,9 @@ ThemeKit provides the following notifications:
Notification.Name.willChangeTheme
is sent when current theme is about to changeNotification.Name.didChangeTheme
is sent when current theme did changeNotification.Name.didChangeSystemTheme
is sent when system theme did change (System Preference > General)Notification.Name.willChangeTheme
is sent when current theme is about to changeNotification.Name.didChangeTheme
is sent when current theme did changeNotification.Name.didChangeSystemTheme
is sent when system theme did change (System Preference > General)Example:
diff --git a/Docs/docsets/ThemeKit.docset/Contents/Resources/Documents/search.json b/Docs/docsets/ThemeKit.docset/Contents/Resources/Documents/search.json index 75cb14c..e280791 100644 --- a/Docs/docsets/ThemeKit.docset/Contents/Resources/Documents/search.json +++ b/Docs/docsets/ThemeKit.docset/Contents/Resources/Documents/search.json @@ -1 +1 @@ -{"Extensions/NSColor.html#/c:@CM@ThemeKit@@objc(cs)NSColor(py)isThemeOverriden":{"name":"isThemeOverriden","abstract":"Check if color is being overriden in a ThemeColor extension.
","parent_name":"NSColor"},"Extensions/NSColor.html#/c:@CM@ThemeKit@@objc(cs)NSColor(cm)colorMethodNames":{"name":"colorMethodNames()","abstract":"Get all NSColor
color methods.","parent_name":"NSColor"},"Extensions/NSWindow.html#/c:@CM@ThemeKit@@objc(cs)NSWindow(py)windowTheme":{"name":"windowTheme","abstract":"
Any window specific theme.
","parent_name":"NSWindow"},"Extensions/NSWindow.html#/c:@CM@ThemeKit@@objc(cs)NSWindow(py)windowEffectiveTheme":{"name":"windowEffectiveTheme","abstract":"Returns the current effective theme (read-only).
","parent_name":"NSWindow"},"Extensions/NSWindow.html#/c:@CM@ThemeKit@@objc(cs)NSWindow(py)windowEffectiveThemeAppearance":{"name":"windowEffectiveThemeAppearance","abstract":"Returns the current effective appearance (read-only).
","parent_name":"NSWindow"},"Extensions/NSWindow.html#/c:@CM@ThemeKit@@objc(cs)NSWindow(im)theme":{"name":"theme()","abstract":"Theme window if needed.
","parent_name":"NSWindow"},"Extensions/NSWindow.html#/c:@CM@ThemeKit@@objc(cs)NSWindow(im)themeIfCompliantWithWindowThemePolicy":{"name":"themeIfCompliantWithWindowThemePolicy()","abstract":"Theme window if compliant to ThemeManager.windowThemePolicy (and if needed).
","parent_name":"NSWindow"},"Extensions/NSWindow.html#/c:@CM@ThemeKit@@objc(cs)NSWindow(cm)themeAllWindows":{"name":"themeAllWindows()","abstract":"Theme all windows compliant to ThemeManager.windowThemePolicy (and if needed).
","parent_name":"NSWindow"},"Extensions/NSWindow.html":{"name":"NSWindow","abstract":"NSWindow
ThemeKit extension.
NSColor
ThemeKit extension to help on when overriding colors in ThemeColor
extensions.
ThemeImage
image selector used as theme instance method for same","parent_name":"ThemeImage"},"Classes/ThemeImage.html#/c:@M@ThemeKit@objc(cs)TKThemeImage(py)resolvedThemeImage":{"name":"resolvedThemeImage","abstract":"
Resolved Image from current theme (dynamically changes with the current theme).
","parent_name":"ThemeImage"},"Classes/ThemeImage.html#/c:@M@ThemeKit@objc(cs)TKThemeImage(cm)imageWithSelector:":{"name":"image(with:)","abstract":"Create a new ThemeImage instance for the specified selector.
","parent_name":"ThemeImage"},"Classes/ThemeImage.html#/c:@M@ThemeKit@objc(cs)TKThemeImage(cm)imageForTheme:selector:":{"name":"image(for:selector:)","abstract":"Image for a specific theme.
","parent_name":"ThemeImage"},"Classes/ThemeImage.html#/c:@M@ThemeKit@objc(cs)TKThemeImage(cm)imageForView:selector:":{"name":"image(for:selector:)","abstract":"Current theme image, but respecting view appearance and any window","parent_name":"ThemeImage"},"Classes/ThemeImage.html#/c:@M@ThemeKit@objc(cs)TKThemeImage(im)recacheImage":{"name":"recacheImage()","abstract":"
Forces dynamic color resolution into resolvedThemeImage
and cache it.","parent_name":"ThemeImage"},"Classes/ThemeImage.html#/c:@M@ThemeKit@objc(cs)TKThemeImage(cm)emptyCache":{"name":"emptyCache()","abstract":"
Clear all caches.","parent_name":"ThemeImage"},"Classes/ThemeGradient.html#/c:@M@ThemeKit@objc(cs)TKThemeGradient(py)themeGradientSelector":{"name":"themeGradientSelector","abstract":"
ThemeGradient
gradient selector used as theme instance method for same","parent_name":"ThemeGradient"},"Classes/ThemeGradient.html#/c:@M@ThemeKit@objc(cs)TKThemeGradient(py)resolvedThemeGradient":{"name":"resolvedThemeGradient","abstract":"
Resolved gradient from current theme (dynamically changes with the current theme).
","parent_name":"ThemeGradient"},"Classes/ThemeGradient.html#/c:@M@ThemeKit@objc(cs)TKThemeGradient(cm)gradientWithSelector:":{"name":"gradient(with:)","abstract":"Create a new ThemeGradient instance for the specified selector.
","parent_name":"ThemeGradient"},"Classes/ThemeGradient.html#/c:@M@ThemeKit@objc(cs)TKThemeGradient(cm)gradientForTheme:selector:":{"name":"gradient(for:selector:)","abstract":"Gradient for a specific theme.
","parent_name":"ThemeGradient"},"Classes/ThemeGradient.html#/c:@M@ThemeKit@objc(cs)TKThemeGradient(cm)gradientForView:selector:":{"name":"gradient(for:selector:)","abstract":"Current theme gradient, but respecting view appearance and any window","parent_name":"ThemeGradient"},"Classes/ThemeGradient.html#/c:@M@ThemeKit@objc(cs)TKThemeGradient(im)recacheGradient":{"name":"recacheGradient()","abstract":"
Forces dynamic gradient resolution into resolvedThemeGradient
and cache it.","parent_name":"ThemeGradient"},"Classes/ThemeGradient.html#/c:@M@ThemeKit@objc(cs)TKThemeGradient(cm)emptyCache":{"name":"emptyCache()","abstract":"
Clear all caches.","parent_name":"ThemeGradient"},"Classes/ThemeColor.html#/c:@M@ThemeKit@objc(cs)TKThemeColor(py)themeColorSelector":{"name":"themeColorSelector","abstract":"
ThemeColor
color selector used as theme instance method for same selector","parent_name":"ThemeColor"},"Classes/ThemeColor.html#/c:@M@ThemeKit@objc(cs)TKThemeColor(py)resolvedThemeColor":{"name":"resolvedThemeColor","abstract":"
Resolved color from current theme (dynamically changes with the current theme).
","parent_name":"ThemeColor"},"Classes/ThemeColor.html#/c:@M@ThemeKit@objc(cs)TKThemeColor(cm)colorWithSelector:":{"name":"color(with:)","abstract":"Create a new ThemeColor instance for the specified selector.
","parent_name":"ThemeColor"},"Classes/ThemeColor.html#/c:@M@ThemeKit@objc(cs)TKThemeColor(cm)colorForTheme:selector:":{"name":"color(for:selector:)","abstract":"Color for a specific theme.
","parent_name":"ThemeColor"},"Classes/ThemeColor.html#/c:@M@ThemeKit@objc(cs)TKThemeColor(cm)colorForView:selector:":{"name":"color(for:selector:)","abstract":"Current theme color, but respecting view appearance and any window","parent_name":"ThemeColor"},"Classes/ThemeColor.html#/c:@M@ThemeKit@objc(cs)TKThemeColor(im)recacheColor":{"name":"recacheColor()","abstract":"
Forces dynamic color resolution into resolvedThemeColor
and cache it.","parent_name":"ThemeColor"},"Classes/ThemeColor.html#/c:@M@ThemeKit@objc(cs)TKThemeColor(cm)emptyCache":{"name":"emptyCache()","abstract":"
Clear all caches.","parent_name":"ThemeColor"},"Classes/ThemeColor.html":{"name":"ThemeColor","abstract":"
ThemeColor
is a NSColor
subclass that dynamically changes its colors whenever"},"Classes/ThemeGradient.html":{"name":"ThemeGradient","abstract":"
ThemeGradient
is a NSGradient
subclass that dynamically changes its colors"},"Classes/ThemeImage.html":{"name":"ThemeImage","abstract":"
ThemeImage
is a NSImage
subclass that dynamically changes its colors"},"Classes/UserTheme.html#/c:@M@ThemeKit@objc(cs)TKUserTheme(py)identifier":{"name":"identifier","abstract":"
Unique theme identifier.
","parent_name":"UserTheme"},"Classes/UserTheme.html#/c:@M@ThemeKit@objc(cs)TKUserTheme(py)displayName":{"name":"displayName","abstract":"Theme display name.
","parent_name":"UserTheme"},"Classes/UserTheme.html#/c:@M@ThemeKit@objc(cs)TKUserTheme(py)shortDisplayName":{"name":"shortDisplayName","abstract":"Theme short display name.
","parent_name":"UserTheme"},"Classes/UserTheme.html#/c:@M@ThemeKit@objc(cs)TKUserTheme(py)isDarkTheme":{"name":"isDarkTheme","abstract":"Is this a dark theme?
","parent_name":"UserTheme"},"Classes/UserTheme.html#/c:@M@ThemeKit@objc(cs)TKUserTheme(py)fileURL":{"name":"fileURL","abstract":"File URL.
","parent_name":"UserTheme"},"Classes/UserTheme.html#/c:@M@ThemeKit@objc(cs)TKUserTheme(im)reload":{"name":"reload()","abstract":"Reloads user theme from file.
","parent_name":"UserTheme"},"Classes/UserTheme.html#/c:@M@ThemeKit@objc(cs)TKUserTheme(im)themeAsset:":{"name":"themeAsset(_:)","abstract":"Theme asset for the specified key. Supported assets are NSColor
, NSGradient
, NSImage
and NSString
.
Checks if a theme asset is provided for the given key.
","parent_name":"UserTheme"},"Classes/SystemTheme.html#/c:@M@ThemeKit@objc(cs)TKSystemTheme(cpy)identifier":{"name":"identifier","abstract":"System theme identifier (static).
","parent_name":"SystemTheme"},"Classes/SystemTheme.html#/c:@M@ThemeKit@objc(cs)TKSystemTheme(py)identifier":{"name":"identifier","abstract":"Unique theme identifier.
","parent_name":"SystemTheme"},"Classes/SystemTheme.html#/c:@M@ThemeKit@objc(cs)TKSystemTheme(py)displayName":{"name":"displayName","abstract":"Theme display name.
","parent_name":"SystemTheme"},"Classes/SystemTheme.html#/c:@M@ThemeKit@objc(cs)TKSystemTheme(py)shortDisplayName":{"name":"shortDisplayName","abstract":"Theme short display name.
","parent_name":"SystemTheme"},"Classes/SystemTheme.html#/c:@M@ThemeKit@objc(cs)TKSystemTheme(py)isDarkTheme":{"name":"isDarkTheme","abstract":"Is this a dark theme?
","parent_name":"SystemTheme"},"Classes/SystemTheme.html#/c:@M@ThemeKit@objc(cs)TKSystemTheme(cpy)isAppleInterfaceThemeDark":{"name":"isAppleInterfaceThemeDark","abstract":"Checks if Apple UI theme is set to dark, as set on System Preferences > General > Appearance.
","parent_name":"SystemTheme"},"Classes/DarkTheme.html#/c:@M@ThemeKit@objc(cs)TKDarkTheme(cpy)identifier":{"name":"identifier","abstract":"Dark theme identifier (static).
","parent_name":"DarkTheme"},"Classes/DarkTheme.html#/c:@M@ThemeKit@objc(cs)TKDarkTheme(py)identifier":{"name":"identifier","abstract":"Unique theme identifier.
","parent_name":"DarkTheme"},"Classes/DarkTheme.html#/c:@M@ThemeKit@objc(cs)TKDarkTheme(py)displayName":{"name":"displayName","abstract":"Theme display name.
","parent_name":"DarkTheme"},"Classes/DarkTheme.html#/c:@M@ThemeKit@objc(cs)TKDarkTheme(py)shortDisplayName":{"name":"shortDisplayName","abstract":"Theme short display name.
","parent_name":"DarkTheme"},"Classes/DarkTheme.html#/c:@M@ThemeKit@objc(cs)TKDarkTheme(py)isDarkTheme":{"name":"isDarkTheme","abstract":"Is this a dark theme?
","parent_name":"DarkTheme"},"Classes/LightTheme.html#/c:@M@ThemeKit@objc(cs)TKLightTheme(cpy)identifier":{"name":"identifier","abstract":"Light theme identifier (static).
","parent_name":"LightTheme"},"Classes/LightTheme.html#/c:@M@ThemeKit@objc(cs)TKLightTheme(py)identifier":{"name":"identifier","abstract":"Unique theme identifier.
","parent_name":"LightTheme"},"Classes/LightTheme.html#/c:@M@ThemeKit@objc(cs)TKLightTheme(py)displayName":{"name":"displayName","abstract":"Theme display name.
","parent_name":"LightTheme"},"Classes/LightTheme.html#/c:@M@ThemeKit@objc(cs)TKLightTheme(py)shortDisplayName":{"name":"shortDisplayName","abstract":"Theme short display name.
","parent_name":"LightTheme"},"Classes/LightTheme.html#/c:@M@ThemeKit@objc(cs)TKLightTheme(py)isDarkTheme":{"name":"isDarkTheme","abstract":"Is this a dark theme?
","parent_name":"LightTheme"},"Protocols/Theme.html#/c:@M@ThemeKit@objc(pl)TKTheme(py)identifier":{"name":"identifier","abstract":"Unique theme identifier.
","parent_name":"Theme"},"Protocols/Theme.html#/c:@M@ThemeKit@objc(pl)TKTheme(py)displayName":{"name":"displayName","abstract":"Theme display name.
","parent_name":"Theme"},"Protocols/Theme.html#/c:@M@ThemeKit@objc(pl)TKTheme(py)shortDisplayName":{"name":"shortDisplayName","abstract":"Theme short display name.
","parent_name":"Theme"},"Protocols/Theme.html#/c:@M@ThemeKit@objc(pl)TKTheme(py)isDarkTheme":{"name":"isDarkTheme","abstract":"Is this a dark theme?
","parent_name":"Theme"},"Protocols/Theme.html#/c:@M@ThemeKit@objc(pl)TKTheme(py)fallbackForegroundColor":{"name":"fallbackForegroundColor","abstract":"Optional: foreground color to be used on when a foreground color is not provided","parent_name":"Theme"},"Protocols/Theme.html#/c:@M@ThemeKit@objc(pl)TKTheme(py)fallbackBackgroundColor":{"name":"fallbackBackgroundColor","abstract":"
Optional: background color to be used on when a background color (a color which","parent_name":"Theme"},"Protocols/Theme.html#/c:@M@ThemeKit@objc(pl)TKTheme(py)fallbackGradient":{"name":"fallbackGradient","abstract":"
Optional: gradient to be used on when a gradient is not provided by the theme.
","parent_name":"Theme"},"Protocols/Theme.html#/c:@M@ThemeKit@objc(pl)TKTheme(py)fallbackImage":{"name":"fallbackImage","abstract":"Optional: image to be used on when an image is not provided by the theme.
","parent_name":"Theme"},"Protocols/Theme.html#/s:8ThemeKit0A0PAAE07isLightA0Sbv":{"name":"isLightTheme","abstract":"Is this a light theme?
","parent_name":"Theme"},"Protocols/Theme.html#/s:8ThemeKit0A0PAAE08isSystemA0Sbv":{"name":"isSystemTheme","abstract":"Is this the system theme? If true, theme automatically resolve to","parent_name":"Theme"},"Protocols/Theme.html#/s:8ThemeKit0A0PAAE06isUserA0Sbv":{"name":"isUserTheme","abstract":"
Is this a user theme?
","parent_name":"Theme"},"Protocols/Theme.html#/s:8ThemeKit0A0PAAE5applyyyF":{"name":"apply()","abstract":"Apply theme (make it the current one).
","parent_name":"Theme"},"Protocols/Theme.html#/s:8ThemeKit0A0PAAE10themeAssetypSgSSF":{"name":"themeAsset(_:)","abstract":"Theme asset for the specified key. Supported assets are NSColor
, NSGradient
, NSImage
and NSString
.
Checks if a theme asset is provided for the given key.
","parent_name":"Theme"},"Protocols/Theme.html#/s:8ThemeKit0A0PAAE30defaultFallbackForegroundColorSo7NSColorCv":{"name":"defaultFallbackForegroundColor","abstract":"Default foreground color to be used on fallback situations when","parent_name":"Theme"},"Protocols/Theme.html#/s:8ThemeKit0A0PAAE30defaultFallbackBackgroundColorSo7NSColorCv":{"name":"defaultFallbackBackgroundColor","abstract":"
Default background color to be used on fallback situations when","parent_name":"Theme"},"Protocols/Theme.html#/s:8ThemeKit0A0PAAE23defaultFallbackGradientSo10NSGradientCSgv":{"name":"defaultFallbackGradient","abstract":"
Default gradient to be used on fallback situations when","parent_name":"Theme"},"Protocols/Theme.html#/s:8ThemeKit0A0PAAE20defaultFallbackImageSo7NSImageCv":{"name":"defaultFallbackImage","abstract":"
Default image to be used on fallback situations when","parent_name":"Theme"},"Protocols/Theme.html#/s:8ThemeKit0A0PAAE09effectiveA0AaB_pv":{"name":"effectiveTheme","abstract":"
Effective theme, which can be different from itself if it represents the","parent_name":"Theme"},"Protocols/Theme.html#/s:8ThemeKit0A0PAAE16themeDescriptionSSAaB_pF":{"name":"themeDescription(_:)","abstract":"
Theme description.
","parent_name":"Theme"},"Protocols/Theme.html":{"name":"Theme","abstract":"Theme protocol: the base of all themes.
"},"Classes/LightTheme.html":{"name":"LightTheme","abstract":"Light theme (default).
"},"Classes/DarkTheme.html":{"name":"DarkTheme","abstract":"Dark theme.
"},"Classes/SystemTheme.html":{"name":"SystemTheme","abstract":"System theme.
"},"Classes/UserTheme.html":{"name":"UserTheme","abstract":"A Theme
class wrapping a user provided theme file (.theme
).
ThemeKit notification sent when current theme is about to change.
","parent_name":"Name"},"Extensions/Notification/Name.html#/s:So14NSNotificationC4NameV8ThemeKitE09didChangeC0ADvZ":{"name":"didChangeTheme","abstract":"ThemeKit notification sent when current theme did change.
","parent_name":"Name"},"Extensions/Notification/Name.html#/s:So14NSNotificationC4NameV8ThemeKitE015didChangeSystemC0ADvZ":{"name":"didChangeSystemTheme","abstract":"ThemeKit notification sent when system theme did change (System Preference > General > Appearance).
","parent_name":"Name"},"Extensions/Notification/Name.html#/s:So14NSNotificationC4NameV8ThemeKitE023didChangeAppleInterfaceC0ADvZ":{"name":"didChangeAppleInterfaceTheme","abstract":"Convenience property for the system notification sent when System Preference for dark mode changes.
","parent_name":"Name"},"Extensions/Notification/Name.html":{"name":"Name","abstract":"Notifications defined by ThemeKit
.
Theme all application windows (default).
","parent_name":"WindowThemePolicy"},"Classes/ThemeManager/WindowThemePolicy.html#/s:8ThemeKit0A7ManagerC06WindowA6PolicyO16themeSomeWindowsAESayyXlXpG13windowClasses_tcAEmF":{"name":"themeSomeWindows","abstract":"Only theme windows of the specified classes.
","parent_name":"WindowThemePolicy"},"Classes/ThemeManager/WindowThemePolicy.html#/s:8ThemeKit0A7ManagerC06WindowA6PolicyO05doNotA11SomeWindowsAESayyXlXpG13windowClasses_tcAEmF":{"name":"doNotThemeSomeWindows","abstract":"Do not theme windows of the specified classes.
","parent_name":"WindowThemePolicy"},"Classes/ThemeManager/WindowThemePolicy.html#/s:8ThemeKit0A7ManagerC06WindowA6PolicyO05doNotA7WindowsA2EmF":{"name":"doNotThemeWindows","abstract":"Do not theme any window.
","parent_name":"WindowThemePolicy"},"Classes/ThemeManager.html#/c:@M@ThemeKit@objc(cs)TKThemeManager(cpy)sharedManager":{"name":"shared","abstract":"ThemeManager shared manager.
","parent_name":"ThemeManager"},"Classes/ThemeManager.html#/c:@M@ThemeKit@objc(cs)TKThemeManager(py)theme":{"name":"theme","abstract":"Sets or returns the current theme.
","parent_name":"ThemeManager"},"Classes/ThemeManager.html#/c:@M@ThemeKit@objc(cs)TKThemeManager(py)effectiveTheme":{"name":"effectiveTheme","abstract":"Returns the current effective theme (read-only).
","parent_name":"ThemeManager"},"Classes/ThemeManager.html#/c:@M@ThemeKit@objc(cs)TKThemeManager(py)themes":{"name":"themes","abstract":"List all available themes:
","parent_name":"ThemeManager"},"Classes/ThemeManager.html#/c:@M@ThemeKit@objc(cs)TKThemeManager(py)userThemes":{"name":"userThemes","abstract":"List all user themes (UserTheme
class, loaded from .theme
files)
Convenience method for accessing the light theme.
","parent_name":"ThemeManager"},"Classes/ThemeManager.html#/c:@M@ThemeKit@objc(cs)TKThemeManager(cpy)darkTheme":{"name":"darkTheme","abstract":"Convenience method for accessing the dark theme.
","parent_name":"ThemeManager"},"Classes/ThemeManager.html#/c:@M@ThemeKit@objc(cs)TKThemeManager(cpy)systemTheme":{"name":"systemTheme","abstract":"Convenience method for accessing the theme that dynamically changes to","parent_name":"ThemeManager"},"Classes/ThemeManager.html#/c:@M@ThemeKit@objc(cs)TKThemeManager(cpy)defaultTheme":{"name":"defaultTheme","abstract":"
Set/get default theme to be used on the first run (default: ThemeManager.systemTheme
).
Get the theme with specified identifier.
","parent_name":"ThemeManager"},"Classes/ThemeManager.html#/c:@M@ThemeKit@objc(cs)TKThemeManager(cpy)userDefaultsThemeKey":{"name":"userDefaultsThemeKey","abstract":"User defaults key for current theme
.
Apply last applied theme, or default, if none.
","parent_name":"ThemeManager"},"Classes/ThemeManager.html#/c:@M@ThemeKit@objc(cs)TKThemeManager(im)reApplyCurrentTheme":{"name":"reApplyCurrentTheme()","abstract":"Force-apply current theme
.
Location of user provided themes (.theme files).
","parent_name":"ThemeManager"},"Classes/ThemeManager.html#/c:@M@ThemeKit@objc(cs)TKThemeManager(py)effectiveThemeAppearance":{"name":"effectiveThemeAppearance","abstract":"Appearance in use for effective theme.
","parent_name":"ThemeManager"},"Classes/ThemeManager.html#/c:@M@ThemeKit@objc(cs)TKThemeManager(py)lightAppearance":{"name":"lightAppearance","abstract":"Convenience method to get the light appearance.
","parent_name":"ThemeManager"},"Classes/ThemeManager.html#/c:@M@ThemeKit@objc(cs)TKThemeManager(py)darkAppearance":{"name":"darkAppearance","abstract":"Convenience method to get the dark appearance.
","parent_name":"ThemeManager"},"Classes/ThemeManager/WindowThemePolicy.html":{"name":"WindowThemePolicy","abstract":"Window theme policies that define which windows should be automatically themed, if any.
","parent_name":"ThemeManager"},"Classes/ThemeManager.html#/s:8ThemeKit0A7ManagerC06windowA6PolicyAC06WindowaE0Ov":{"name":"windowThemePolicy","abstract":"Current window theme policy.
","parent_name":"ThemeManager"},"Classes/ThemeManager.html#/c:@M@ThemeKit@objc(cs)TKThemeManager(cpy)willChangeThemeNotification":{"name":"willChangeThemeNotification","abstract":"ThemeKit notification sent when current theme is about to change.
","parent_name":"ThemeManager"},"Classes/ThemeManager.html#/c:@M@ThemeKit@objc(cs)TKThemeManager(cpy)didChangeThemeNotification":{"name":"didChangeThemeNotification","abstract":"ThemeKit notification sent when current theme did change.
","parent_name":"ThemeManager"},"Classes/ThemeManager.html#/c:@M@ThemeKit@objc(cs)TKThemeManager(cpy)didChangeSystemThemeNotification":{"name":"didChangeSystemThemeNotification","abstract":"ThemeKit notification sent when system theme did change (System Preference > General > Appearance).
","parent_name":"ThemeManager"},"Classes/ThemeManager.html":{"name":"ThemeManager","abstract":"Use ThemeManager
shared instance to perform app-wide theming related operations,"},"Extensions/Notification.html":{"name":"Notification"},"ThemeKit.html":{"name":"ThemeKit"},"Themes.html":{"name":"Themes"},"Theme Assets.html":{"name":"Theme Assets"},"Extensions.html":{"name":"Extensions"}}
\ No newline at end of file
+{"Extensions/NSColor.html#/c:@CM@ThemeKit@@objc(cs)NSColor(py)isThemeOverriden":{"name":"isThemeOverriden","abstract":"
Check if color is being overriden in a ThemeColor extension.
","parent_name":"NSColor"},"Extensions/NSColor.html#/c:@CM@ThemeKit@@objc(cs)NSColor(cm)colorMethodNames":{"name":"colorMethodNames()","abstract":"Get all NSColor
color methods.","parent_name":"NSColor"},"Extensions/NSWindow.html#/c:@CM@ThemeKit@@objc(cs)NSWindow(py)windowTheme":{"name":"windowTheme","abstract":"
Any window specific theme.
","parent_name":"NSWindow"},"Extensions/NSWindow.html#/c:@CM@ThemeKit@@objc(cs)NSWindow(py)windowEffectiveTheme":{"name":"windowEffectiveTheme","abstract":"Returns the current effective theme (read-only).
","parent_name":"NSWindow"},"Extensions/NSWindow.html#/c:@CM@ThemeKit@@objc(cs)NSWindow(py)windowEffectiveThemeAppearance":{"name":"windowEffectiveThemeAppearance","abstract":"Returns the current effective appearance (read-only).
","parent_name":"NSWindow"},"Extensions/NSWindow.html#/c:@CM@ThemeKit@@objc(cs)NSWindow(im)theme":{"name":"theme()","abstract":"Theme window if needed.
","parent_name":"NSWindow"},"Extensions/NSWindow.html#/c:@CM@ThemeKit@@objc(cs)NSWindow(im)themeIfCompliantWithWindowThemePolicy":{"name":"themeIfCompliantWithWindowThemePolicy()","abstract":"Theme window if compliant to ThemeManager.windowThemePolicy (and if needed).
","parent_name":"NSWindow"},"Extensions/NSWindow.html#/c:@CM@ThemeKit@@objc(cs)NSWindow(cm)themeAllWindows":{"name":"themeAllWindows()","abstract":"Theme all windows compliant to ThemeManager.windowThemePolicy (and if needed).
","parent_name":"NSWindow"},"Extensions/NSWindow.html":{"name":"NSWindow","abstract":"NSWindow
ThemeKit extension.
NSColor
ThemeKit extension to help on when overriding colors in ThemeColor
extensions.
ThemeImage
image selector used as theme instance method for same","parent_name":"ThemeImage"},"Classes/ThemeImage.html#/c:@M@ThemeKit@objc(cs)TKThemeImage(py)resolvedThemeImage":{"name":"resolvedThemeImage","abstract":"
Resolved Image from current theme (dynamically changes with the current theme).
","parent_name":"ThemeImage"},"Classes/ThemeImage.html#/c:@M@ThemeKit@objc(cs)TKThemeImage(cm)imageWithSelector:":{"name":"image(with:)","abstract":"Create a new ThemeImage instance for the specified selector.
","parent_name":"ThemeImage"},"Classes/ThemeImage.html#/c:@M@ThemeKit@objc(cs)TKThemeImage(cm)imageForTheme:selector:":{"name":"image(for:selector:)","abstract":"Image for a specific theme.
","parent_name":"ThemeImage"},"Classes/ThemeImage.html#/c:@M@ThemeKit@objc(cs)TKThemeImage(cm)imageForView:selector:":{"name":"image(for:selector:)","abstract":"Current theme image, but respecting view appearance and any window","parent_name":"ThemeImage"},"Classes/ThemeImage.html#/c:@M@ThemeKit@objc(cs)TKThemeImage(im)recacheImage":{"name":"recacheImage()","abstract":"
Forces dynamic color resolution into resolvedThemeImage
and cache it.","parent_name":"ThemeImage"},"Classes/ThemeImage.html#/c:@M@ThemeKit@objc(cs)TKThemeImage(cm)emptyCache":{"name":"emptyCache()","abstract":"
Clear all caches.","parent_name":"ThemeImage"},"Classes/ThemeGradient.html#/c:@M@ThemeKit@objc(cs)TKThemeGradient(py)themeGradientSelector":{"name":"themeGradientSelector","abstract":"
ThemeGradient
gradient selector used as theme instance method for same","parent_name":"ThemeGradient"},"Classes/ThemeGradient.html#/c:@M@ThemeKit@objc(cs)TKThemeGradient(py)resolvedThemeGradient":{"name":"resolvedThemeGradient","abstract":"
Resolved gradient from current theme (dynamically changes with the current theme).
","parent_name":"ThemeGradient"},"Classes/ThemeGradient.html#/c:@M@ThemeKit@objc(cs)TKThemeGradient(cm)gradientWithSelector:":{"name":"gradient(with:)","abstract":"Create a new ThemeGradient instance for the specified selector.
","parent_name":"ThemeGradient"},"Classes/ThemeGradient.html#/c:@M@ThemeKit@objc(cs)TKThemeGradient(cm)gradientForTheme:selector:":{"name":"gradient(for:selector:)","abstract":"Gradient for a specific theme.
","parent_name":"ThemeGradient"},"Classes/ThemeGradient.html#/c:@M@ThemeKit@objc(cs)TKThemeGradient(cm)gradientForView:selector:":{"name":"gradient(for:selector:)","abstract":"Current theme gradient, but respecting view appearance and any window","parent_name":"ThemeGradient"},"Classes/ThemeGradient.html#/c:@M@ThemeKit@objc(cs)TKThemeGradient(im)recacheGradient":{"name":"recacheGradient()","abstract":"
Forces dynamic gradient resolution into resolvedThemeGradient
and cache it.","parent_name":"ThemeGradient"},"Classes/ThemeGradient.html#/c:@M@ThemeKit@objc(cs)TKThemeGradient(cm)emptyCache":{"name":"emptyCache()","abstract":"
Clear all caches.","parent_name":"ThemeGradient"},"Classes/ThemeColor.html#/c:@M@ThemeKit@objc(cs)TKThemeColor(py)themeColorSelector":{"name":"themeColorSelector","abstract":"
ThemeColor
color selector used as theme instance method for same selector","parent_name":"ThemeColor"},"Classes/ThemeColor.html#/c:@M@ThemeKit@objc(cs)TKThemeColor(py)resolvedThemeColor":{"name":"resolvedThemeColor","abstract":"
Resolved color from current theme (dynamically changes with the current theme).
","parent_name":"ThemeColor"},"Classes/ThemeColor.html#/c:@M@ThemeKit@objc(cs)TKThemeColor(cm)colorWithSelector:":{"name":"color(with:)","abstract":"Create a new ThemeColor instance for the specified selector.
","parent_name":"ThemeColor"},"Classes/ThemeColor.html#/c:@M@ThemeKit@objc(cs)TKThemeColor(cm)colorForTheme:selector:":{"name":"color(for:selector:)","abstract":"Color for a specific theme.
","parent_name":"ThemeColor"},"Classes/ThemeColor.html#/c:@M@ThemeKit@objc(cs)TKThemeColor(cm)colorForView:selector:":{"name":"color(for:selector:)","abstract":"Current theme color, but respecting view appearance and any window","parent_name":"ThemeColor"},"Classes/ThemeColor.html#/c:@M@ThemeKit@objc(cs)TKThemeColor(im)recacheColor":{"name":"recacheColor()","abstract":"
Forces dynamic color resolution into resolvedThemeColor
and cache it.","parent_name":"ThemeColor"},"Classes/ThemeColor.html#/c:@M@ThemeKit@objc(cs)TKThemeColor(cm)emptyCache":{"name":"emptyCache()","abstract":"
Clear all caches.","parent_name":"ThemeColor"},"Classes/ThemeColor.html":{"name":"ThemeColor","abstract":"
ThemeColor
is a NSColor
subclass that dynamically changes its colors whenever"},"Classes/ThemeGradient.html":{"name":"ThemeGradient","abstract":"
ThemeGradient
is a NSGradient
subclass that dynamically changes its colors"},"Classes/ThemeImage.html":{"name":"ThemeImage","abstract":"
ThemeImage
is a NSImage
subclass that dynamically changes its colors"},"Classes/UserTheme.html#/c:@M@ThemeKit@objc(cs)TKUserTheme(py)identifier":{"name":"identifier","abstract":"
Unique theme identifier.
","parent_name":"UserTheme"},"Classes/UserTheme.html#/c:@M@ThemeKit@objc(cs)TKUserTheme(py)displayName":{"name":"displayName","abstract":"Theme display name.
","parent_name":"UserTheme"},"Classes/UserTheme.html#/c:@M@ThemeKit@objc(cs)TKUserTheme(py)shortDisplayName":{"name":"shortDisplayName","abstract":"Theme short display name.
","parent_name":"UserTheme"},"Classes/UserTheme.html#/c:@M@ThemeKit@objc(cs)TKUserTheme(py)isDarkTheme":{"name":"isDarkTheme","abstract":"Is this a dark theme?
","parent_name":"UserTheme"},"Classes/UserTheme.html#/c:@M@ThemeKit@objc(cs)TKUserTheme(py)fileURL":{"name":"fileURL","abstract":"File URL.
","parent_name":"UserTheme"},"Classes/UserTheme.html#/c:@M@ThemeKit@objc(cs)TKUserTheme(im)reload":{"name":"reload()","abstract":"Reloads user theme from file.
","parent_name":"UserTheme"},"Classes/UserTheme.html#/c:@M@ThemeKit@objc(cs)TKUserTheme(im)themeAsset:":{"name":"themeAsset(_:)","abstract":"Theme asset for the specified key. Supported assets are NSColor
, NSGradient
, NSImage
and NSString
.
Checks if a theme asset is provided for the given key.
","parent_name":"UserTheme"},"Classes/SystemTheme.html#/c:@M@ThemeKit@objc(cs)TKSystemTheme(cpy)identifier":{"name":"identifier","abstract":"System theme identifier (static).
","parent_name":"SystemTheme"},"Classes/SystemTheme.html#/c:@M@ThemeKit@objc(cs)TKSystemTheme(py)identifier":{"name":"identifier","abstract":"Unique theme identifier.
","parent_name":"SystemTheme"},"Classes/SystemTheme.html#/c:@M@ThemeKit@objc(cs)TKSystemTheme(py)displayName":{"name":"displayName","abstract":"Theme display name.
","parent_name":"SystemTheme"},"Classes/SystemTheme.html#/c:@M@ThemeKit@objc(cs)TKSystemTheme(py)shortDisplayName":{"name":"shortDisplayName","abstract":"Theme short display name.
","parent_name":"SystemTheme"},"Classes/SystemTheme.html#/c:@M@ThemeKit@objc(cs)TKSystemTheme(py)isDarkTheme":{"name":"isDarkTheme","abstract":"Is this a dark theme?
","parent_name":"SystemTheme"},"Classes/SystemTheme.html#/c:@M@ThemeKit@objc(cs)TKSystemTheme(cpy)isAppleInterfaceThemeDark":{"name":"isAppleInterfaceThemeDark","abstract":"Checks if Apple UI theme is set to dark, as set on System Preferences > General > Appearance.
","parent_name":"SystemTheme"},"Classes/DarkTheme.html#/c:@M@ThemeKit@objc(cs)TKDarkTheme(cpy)identifier":{"name":"identifier","abstract":"Dark theme identifier (static).
","parent_name":"DarkTheme"},"Classes/DarkTheme.html#/c:@M@ThemeKit@objc(cs)TKDarkTheme(py)identifier":{"name":"identifier","abstract":"Unique theme identifier.
","parent_name":"DarkTheme"},"Classes/DarkTheme.html#/c:@M@ThemeKit@objc(cs)TKDarkTheme(py)displayName":{"name":"displayName","abstract":"Theme display name.
","parent_name":"DarkTheme"},"Classes/DarkTheme.html#/c:@M@ThemeKit@objc(cs)TKDarkTheme(py)shortDisplayName":{"name":"shortDisplayName","abstract":"Theme short display name.
","parent_name":"DarkTheme"},"Classes/DarkTheme.html#/c:@M@ThemeKit@objc(cs)TKDarkTheme(py)isDarkTheme":{"name":"isDarkTheme","abstract":"Is this a dark theme?
","parent_name":"DarkTheme"},"Classes/LightTheme.html#/c:@M@ThemeKit@objc(cs)TKLightTheme(cpy)identifier":{"name":"identifier","abstract":"Light theme identifier (static).
","parent_name":"LightTheme"},"Classes/LightTheme.html#/c:@M@ThemeKit@objc(cs)TKLightTheme(py)identifier":{"name":"identifier","abstract":"Unique theme identifier.
","parent_name":"LightTheme"},"Classes/LightTheme.html#/c:@M@ThemeKit@objc(cs)TKLightTheme(py)displayName":{"name":"displayName","abstract":"Theme display name.
","parent_name":"LightTheme"},"Classes/LightTheme.html#/c:@M@ThemeKit@objc(cs)TKLightTheme(py)shortDisplayName":{"name":"shortDisplayName","abstract":"Theme short display name.
","parent_name":"LightTheme"},"Classes/LightTheme.html#/c:@M@ThemeKit@objc(cs)TKLightTheme(py)isDarkTheme":{"name":"isDarkTheme","abstract":"Is this a dark theme?
","parent_name":"LightTheme"},"Protocols/Theme.html#/c:@M@ThemeKit@objc(pl)TKTheme(py)identifier":{"name":"identifier","abstract":"Unique theme identifier.
","parent_name":"Theme"},"Protocols/Theme.html#/c:@M@ThemeKit@objc(pl)TKTheme(py)displayName":{"name":"displayName","abstract":"Theme display name.
","parent_name":"Theme"},"Protocols/Theme.html#/c:@M@ThemeKit@objc(pl)TKTheme(py)shortDisplayName":{"name":"shortDisplayName","abstract":"Theme short display name.
","parent_name":"Theme"},"Protocols/Theme.html#/c:@M@ThemeKit@objc(pl)TKTheme(py)isDarkTheme":{"name":"isDarkTheme","abstract":"Is this a dark theme?
","parent_name":"Theme"},"Protocols/Theme.html#/c:@M@ThemeKit@objc(pl)TKTheme(py)fallbackForegroundColor":{"name":"fallbackForegroundColor","abstract":"Optional: foreground color to be used on when a foreground color is not provided","parent_name":"Theme"},"Protocols/Theme.html#/c:@M@ThemeKit@objc(pl)TKTheme(py)fallbackBackgroundColor":{"name":"fallbackBackgroundColor","abstract":"
Optional: background color to be used on when a background color (a color which","parent_name":"Theme"},"Protocols/Theme.html#/c:@M@ThemeKit@objc(pl)TKTheme(py)fallbackGradient":{"name":"fallbackGradient","abstract":"
Optional: gradient to be used on when a gradient is not provided by the theme.
","parent_name":"Theme"},"Protocols/Theme.html#/c:@M@ThemeKit@objc(pl)TKTheme(py)fallbackImage":{"name":"fallbackImage","abstract":"Optional: image to be used on when an image is not provided by the theme.
","parent_name":"Theme"},"Protocols/Theme.html#/s:8ThemeKit0A0PAAE07isLightA0Sbvp":{"name":"isLightTheme","abstract":"Is this a light theme?
","parent_name":"Theme"},"Protocols/Theme.html#/s:8ThemeKit0A0PAAE08isSystemA0Sbvp":{"name":"isSystemTheme","abstract":"Is this the system theme? If true, theme automatically resolve to","parent_name":"Theme"},"Protocols/Theme.html#/s:8ThemeKit0A0PAAE06isUserA0Sbvp":{"name":"isUserTheme","abstract":"
Is this a user theme?
","parent_name":"Theme"},"Protocols/Theme.html#/s:8ThemeKit0A0PAAE5applyyyF":{"name":"apply()","abstract":"Apply theme (make it the current one).
","parent_name":"Theme"},"Protocols/Theme.html#/s:8ThemeKit0A0PAAE10themeAssetypSgSSF":{"name":"themeAsset(_:)","abstract":"Theme asset for the specified key. Supported assets are NSColor
, NSGradient
, NSImage
and NSString
.
Checks if a theme asset is provided for the given key.
","parent_name":"Theme"},"Protocols/Theme.html#/s:8ThemeKit0A0PAAE30defaultFallbackForegroundColorSo7NSColorCvp":{"name":"defaultFallbackForegroundColor","abstract":"Default foreground color to be used on fallback situations when","parent_name":"Theme"},"Protocols/Theme.html#/s:8ThemeKit0A0PAAE30defaultFallbackBackgroundColorSo7NSColorCvp":{"name":"defaultFallbackBackgroundColor","abstract":"
Default background color to be used on fallback situations when","parent_name":"Theme"},"Protocols/Theme.html#/s:8ThemeKit0A0PAAE23defaultFallbackGradientSo10NSGradientCSgvp":{"name":"defaultFallbackGradient","abstract":"
Default gradient to be used on fallback situations when","parent_name":"Theme"},"Protocols/Theme.html#/s:8ThemeKit0A0PAAE20defaultFallbackImageSo7NSImageCvp":{"name":"defaultFallbackImage","abstract":"
Default image to be used on fallback situations when","parent_name":"Theme"},"Protocols/Theme.html#/s:8ThemeKit0A0PAAE09effectiveA0AaB_pvp":{"name":"effectiveTheme","abstract":"
Effective theme, which can be different from itself if it represents the","parent_name":"Theme"},"Protocols/Theme.html#/s:8ThemeKit0A0PAAE16themeDescriptionSSAaB_pF":{"name":"themeDescription(_:)","abstract":"
Theme description.
","parent_name":"Theme"},"Protocols/Theme.html":{"name":"Theme","abstract":"Theme protocol: the base of all themes.
"},"Classes/LightTheme.html":{"name":"LightTheme","abstract":"Light theme (default).
"},"Classes/DarkTheme.html":{"name":"DarkTheme","abstract":"Dark theme.
"},"Classes/SystemTheme.html":{"name":"SystemTheme","abstract":"System theme.
"},"Classes/UserTheme.html":{"name":"UserTheme","abstract":"A Theme
class wrapping a user provided theme file (.theme
).
ThemeKit notification sent when current theme is about to change.
","parent_name":"Name"},"Extensions/Notification/Name.html#/s:So14NSNotificationC4NameV8ThemeKitE09didChangeC0ADvpZ":{"name":"didChangeTheme","abstract":"ThemeKit notification sent when current theme did change.
","parent_name":"Name"},"Extensions/Notification/Name.html#/s:So14NSNotificationC4NameV8ThemeKitE015didChangeSystemC0ADvpZ":{"name":"didChangeSystemTheme","abstract":"ThemeKit notification sent when system theme did change (System Preference > General > Appearance).
","parent_name":"Name"},"Extensions/Notification/Name.html#/s:So14NSNotificationC4NameV8ThemeKitE023didChangeAppleInterfaceC0ADvpZ":{"name":"didChangeAppleInterfaceTheme","abstract":"Convenience property for the system notification sent when System Preference for dark mode changes.
","parent_name":"Name"},"Extensions/Notification/Name.html":{"name":"Name","abstract":"Notifications defined by ThemeKit
.
Theme all application windows (default).
","parent_name":"WindowThemePolicy"},"Classes/ThemeManager/WindowThemePolicy.html#/s:8ThemeKit0A7ManagerC06WindowA6PolicyO16themeSomeWindowsAESayyXlXpG13windowClasses_tcAEmF":{"name":"themeSomeWindows","abstract":"Only theme windows of the specified classes.
","parent_name":"WindowThemePolicy"},"Classes/ThemeManager/WindowThemePolicy.html#/s:8ThemeKit0A7ManagerC06WindowA6PolicyO05doNotA11SomeWindowsAESayyXlXpG13windowClasses_tcAEmF":{"name":"doNotThemeSomeWindows","abstract":"Do not theme windows of the specified classes.
","parent_name":"WindowThemePolicy"},"Classes/ThemeManager/WindowThemePolicy.html#/s:8ThemeKit0A7ManagerC06WindowA6PolicyO05doNotA7WindowsA2EmF":{"name":"doNotThemeWindows","abstract":"Do not theme any window.
","parent_name":"WindowThemePolicy"},"Classes/ThemeManager.html#/c:@M@ThemeKit@objc(cs)TKThemeManager(cpy)sharedManager":{"name":"shared","abstract":"ThemeManager shared manager.
","parent_name":"ThemeManager"},"Classes/ThemeManager.html#/c:@M@ThemeKit@objc(cs)TKThemeManager(py)theme":{"name":"theme","abstract":"Sets or returns the current theme.
","parent_name":"ThemeManager"},"Classes/ThemeManager.html#/c:@M@ThemeKit@objc(cs)TKThemeManager(py)effectiveTheme":{"name":"effectiveTheme","abstract":"Returns the current effective theme (read-only).
","parent_name":"ThemeManager"},"Classes/ThemeManager.html#/c:@M@ThemeKit@objc(cs)TKThemeManager(py)themes":{"name":"themes","abstract":"List all available themes:
","parent_name":"ThemeManager"},"Classes/ThemeManager.html#/c:@M@ThemeKit@objc(cs)TKThemeManager(py)userThemes":{"name":"userThemes","abstract":"List all user themes (UserTheme
class, loaded from .theme
files)
Convenience method for accessing the light theme.
","parent_name":"ThemeManager"},"Classes/ThemeManager.html#/c:@M@ThemeKit@objc(cs)TKThemeManager(cpy)darkTheme":{"name":"darkTheme","abstract":"Convenience method for accessing the dark theme.
","parent_name":"ThemeManager"},"Classes/ThemeManager.html#/c:@M@ThemeKit@objc(cs)TKThemeManager(cpy)systemTheme":{"name":"systemTheme","abstract":"Convenience method for accessing the theme that dynamically changes to","parent_name":"ThemeManager"},"Classes/ThemeManager.html#/c:@M@ThemeKit@objc(cs)TKThemeManager(cpy)defaultTheme":{"name":"defaultTheme","abstract":"
Set/get default theme to be used on the first run (default: ThemeManager.systemTheme
).
Get the theme with specified identifier.
","parent_name":"ThemeManager"},"Classes/ThemeManager.html#/c:@M@ThemeKit@objc(cs)TKThemeManager(cpy)userDefaultsThemeKey":{"name":"userDefaultsThemeKey","abstract":"User defaults key for current theme
.
Apply last applied theme, or default, if none.
","parent_name":"ThemeManager"},"Classes/ThemeManager.html#/c:@M@ThemeKit@objc(cs)TKThemeManager(im)reApplyCurrentTheme":{"name":"reApplyCurrentTheme()","abstract":"Force-apply current theme
.
Location of user provided themes (.theme files).
","parent_name":"ThemeManager"},"Classes/ThemeManager.html#/c:@M@ThemeKit@objc(cs)TKThemeManager(py)effectiveThemeAppearance":{"name":"effectiveThemeAppearance","abstract":"Appearance in use for effective theme.
","parent_name":"ThemeManager"},"Classes/ThemeManager.html#/c:@M@ThemeKit@objc(cs)TKThemeManager(py)lightAppearance":{"name":"lightAppearance","abstract":"Convenience method to get the light appearance.
","parent_name":"ThemeManager"},"Classes/ThemeManager.html#/c:@M@ThemeKit@objc(cs)TKThemeManager(py)darkAppearance":{"name":"darkAppearance","abstract":"Convenience method to get the dark appearance.
","parent_name":"ThemeManager"},"Classes/ThemeManager/WindowThemePolicy.html":{"name":"WindowThemePolicy","abstract":"Window theme policies that define which windows should be automatically themed, if any.
","parent_name":"ThemeManager"},"Classes/ThemeManager.html#/s:8ThemeKit0A7ManagerC06windowA6PolicyAC06WindowaE0Ovp":{"name":"windowThemePolicy","abstract":"Current window theme policy.
","parent_name":"ThemeManager"},"Classes/ThemeManager.html#/c:@M@ThemeKit@objc(cs)TKThemeManager(cpy)willChangeThemeNotification":{"name":"willChangeThemeNotification","abstract":"ThemeKit notification sent when current theme is about to change.
","parent_name":"ThemeManager"},"Classes/ThemeManager.html#/c:@M@ThemeKit@objc(cs)TKThemeManager(cpy)didChangeThemeNotification":{"name":"didChangeThemeNotification","abstract":"ThemeKit notification sent when current theme did change.
","parent_name":"ThemeManager"},"Classes/ThemeManager.html#/c:@M@ThemeKit@objc(cs)TKThemeManager(cpy)didChangeSystemThemeNotification":{"name":"didChangeSystemThemeNotification","abstract":"ThemeKit notification sent when system theme did change (System Preference > General > Appearance).
","parent_name":"ThemeManager"},"Classes/ThemeManager.html":{"name":"ThemeManager","abstract":"Use ThemeManager
shared instance to perform app-wide theming related operations,"},"Extensions/Notification.html":{"name":"Notification"},"ThemeKit.html":{"name":"ThemeKit"},"Themes.html":{"name":"Themes"},"Theme Assets.html":{"name":"Theme Assets"},"Extensions.html":{"name":"Extensions"}}
\ No newline at end of file
diff --git a/Docs/docsets/ThemeKit.docset/Contents/Resources/docSet.dsidx b/Docs/docsets/ThemeKit.docset/Contents/Resources/docSet.dsidx
index 366d574..87863d8 100644
Binary files a/Docs/docsets/ThemeKit.docset/Contents/Resources/docSet.dsidx and b/Docs/docsets/ThemeKit.docset/Contents/Resources/docSet.dsidx differ
diff --git a/Docs/docsets/ThemeKit.tgz b/Docs/docsets/ThemeKit.tgz
index c2558b8..2db8887 100644
Binary files a/Docs/docsets/ThemeKit.tgz and b/Docs/docsets/ThemeKit.tgz differ
diff --git a/Docs/docsets/ThemeKit.xml b/Docs/docsets/ThemeKit.xml
index fe5cdef..13740d9 100644
--- a/Docs/docsets/ThemeKit.xml
+++ b/Docs/docsets/ThemeKit.xml
@@ -1 +1 @@
-
- +
ThemeKit is a lightweight theming library completely written in Swift that provides theming capabilities to both Swift 4 and Objective-C macOS applications.
+ThemeKit is a lightweight theming library completely written in Swift that provides theming capabilities to both Swift and Objective-C macOS applications.
ThemeKit is brought to you with ❤️ by Nuno Grilo and the Paw team.
@@ -153,7 +153,7 @@ThemeKit Version | +Swift Version | +
---|---|
1.0.0 | +3.0 | +
1.1.0 | +4.0 | +
1.2.0 | +4.1 | +
There are multiple options to include ThemeKit on your project:
Add to your Podfile
:
use_frameworks!
target '[YOUR APP TARGET]' do
- pod 'macOSThemeKit', '~> 1.1.0'
+ pod 'macOSThemeKit', '~> 1.2.0'
end
@@ -318,9 +338,9 @@ ThemeKit provides the following notifications:
Notification.Name.willChangeTheme
is sent when current theme is about to changeNotification.Name.didChangeTheme
is sent when current theme did changeNotification.Name.didChangeSystemTheme
is sent when system theme did change (System Preference > General)Notification.Name.willChangeTheme
is sent when current theme is about to changeNotification.Name.didChangeTheme
is sent when current theme did changeNotification.Name.didChangeSystemTheme
is sent when system theme did change (System Preference > General)Example:
diff --git a/Docs/search.json b/Docs/search.json index 75cb14c..e280791 100644 --- a/Docs/search.json +++ b/Docs/search.json @@ -1 +1 @@ -{"Extensions/NSColor.html#/c:@CM@ThemeKit@@objc(cs)NSColor(py)isThemeOverriden":{"name":"isThemeOverriden","abstract":"Check if color is being overriden in a ThemeColor extension.
","parent_name":"NSColor"},"Extensions/NSColor.html#/c:@CM@ThemeKit@@objc(cs)NSColor(cm)colorMethodNames":{"name":"colorMethodNames()","abstract":"Get all NSColor
color methods.","parent_name":"NSColor"},"Extensions/NSWindow.html#/c:@CM@ThemeKit@@objc(cs)NSWindow(py)windowTheme":{"name":"windowTheme","abstract":"
Any window specific theme.
","parent_name":"NSWindow"},"Extensions/NSWindow.html#/c:@CM@ThemeKit@@objc(cs)NSWindow(py)windowEffectiveTheme":{"name":"windowEffectiveTheme","abstract":"Returns the current effective theme (read-only).
","parent_name":"NSWindow"},"Extensions/NSWindow.html#/c:@CM@ThemeKit@@objc(cs)NSWindow(py)windowEffectiveThemeAppearance":{"name":"windowEffectiveThemeAppearance","abstract":"Returns the current effective appearance (read-only).
","parent_name":"NSWindow"},"Extensions/NSWindow.html#/c:@CM@ThemeKit@@objc(cs)NSWindow(im)theme":{"name":"theme()","abstract":"Theme window if needed.
","parent_name":"NSWindow"},"Extensions/NSWindow.html#/c:@CM@ThemeKit@@objc(cs)NSWindow(im)themeIfCompliantWithWindowThemePolicy":{"name":"themeIfCompliantWithWindowThemePolicy()","abstract":"Theme window if compliant to ThemeManager.windowThemePolicy (and if needed).
","parent_name":"NSWindow"},"Extensions/NSWindow.html#/c:@CM@ThemeKit@@objc(cs)NSWindow(cm)themeAllWindows":{"name":"themeAllWindows()","abstract":"Theme all windows compliant to ThemeManager.windowThemePolicy (and if needed).
","parent_name":"NSWindow"},"Extensions/NSWindow.html":{"name":"NSWindow","abstract":"NSWindow
ThemeKit extension.
NSColor
ThemeKit extension to help on when overriding colors in ThemeColor
extensions.
ThemeImage
image selector used as theme instance method for same","parent_name":"ThemeImage"},"Classes/ThemeImage.html#/c:@M@ThemeKit@objc(cs)TKThemeImage(py)resolvedThemeImage":{"name":"resolvedThemeImage","abstract":"
Resolved Image from current theme (dynamically changes with the current theme).
","parent_name":"ThemeImage"},"Classes/ThemeImage.html#/c:@M@ThemeKit@objc(cs)TKThemeImage(cm)imageWithSelector:":{"name":"image(with:)","abstract":"Create a new ThemeImage instance for the specified selector.
","parent_name":"ThemeImage"},"Classes/ThemeImage.html#/c:@M@ThemeKit@objc(cs)TKThemeImage(cm)imageForTheme:selector:":{"name":"image(for:selector:)","abstract":"Image for a specific theme.
","parent_name":"ThemeImage"},"Classes/ThemeImage.html#/c:@M@ThemeKit@objc(cs)TKThemeImage(cm)imageForView:selector:":{"name":"image(for:selector:)","abstract":"Current theme image, but respecting view appearance and any window","parent_name":"ThemeImage"},"Classes/ThemeImage.html#/c:@M@ThemeKit@objc(cs)TKThemeImage(im)recacheImage":{"name":"recacheImage()","abstract":"
Forces dynamic color resolution into resolvedThemeImage
and cache it.","parent_name":"ThemeImage"},"Classes/ThemeImage.html#/c:@M@ThemeKit@objc(cs)TKThemeImage(cm)emptyCache":{"name":"emptyCache()","abstract":"
Clear all caches.","parent_name":"ThemeImage"},"Classes/ThemeGradient.html#/c:@M@ThemeKit@objc(cs)TKThemeGradient(py)themeGradientSelector":{"name":"themeGradientSelector","abstract":"
ThemeGradient
gradient selector used as theme instance method for same","parent_name":"ThemeGradient"},"Classes/ThemeGradient.html#/c:@M@ThemeKit@objc(cs)TKThemeGradient(py)resolvedThemeGradient":{"name":"resolvedThemeGradient","abstract":"
Resolved gradient from current theme (dynamically changes with the current theme).
","parent_name":"ThemeGradient"},"Classes/ThemeGradient.html#/c:@M@ThemeKit@objc(cs)TKThemeGradient(cm)gradientWithSelector:":{"name":"gradient(with:)","abstract":"Create a new ThemeGradient instance for the specified selector.
","parent_name":"ThemeGradient"},"Classes/ThemeGradient.html#/c:@M@ThemeKit@objc(cs)TKThemeGradient(cm)gradientForTheme:selector:":{"name":"gradient(for:selector:)","abstract":"Gradient for a specific theme.
","parent_name":"ThemeGradient"},"Classes/ThemeGradient.html#/c:@M@ThemeKit@objc(cs)TKThemeGradient(cm)gradientForView:selector:":{"name":"gradient(for:selector:)","abstract":"Current theme gradient, but respecting view appearance and any window","parent_name":"ThemeGradient"},"Classes/ThemeGradient.html#/c:@M@ThemeKit@objc(cs)TKThemeGradient(im)recacheGradient":{"name":"recacheGradient()","abstract":"
Forces dynamic gradient resolution into resolvedThemeGradient
and cache it.","parent_name":"ThemeGradient"},"Classes/ThemeGradient.html#/c:@M@ThemeKit@objc(cs)TKThemeGradient(cm)emptyCache":{"name":"emptyCache()","abstract":"
Clear all caches.","parent_name":"ThemeGradient"},"Classes/ThemeColor.html#/c:@M@ThemeKit@objc(cs)TKThemeColor(py)themeColorSelector":{"name":"themeColorSelector","abstract":"
ThemeColor
color selector used as theme instance method for same selector","parent_name":"ThemeColor"},"Classes/ThemeColor.html#/c:@M@ThemeKit@objc(cs)TKThemeColor(py)resolvedThemeColor":{"name":"resolvedThemeColor","abstract":"
Resolved color from current theme (dynamically changes with the current theme).
","parent_name":"ThemeColor"},"Classes/ThemeColor.html#/c:@M@ThemeKit@objc(cs)TKThemeColor(cm)colorWithSelector:":{"name":"color(with:)","abstract":"Create a new ThemeColor instance for the specified selector.
","parent_name":"ThemeColor"},"Classes/ThemeColor.html#/c:@M@ThemeKit@objc(cs)TKThemeColor(cm)colorForTheme:selector:":{"name":"color(for:selector:)","abstract":"Color for a specific theme.
","parent_name":"ThemeColor"},"Classes/ThemeColor.html#/c:@M@ThemeKit@objc(cs)TKThemeColor(cm)colorForView:selector:":{"name":"color(for:selector:)","abstract":"Current theme color, but respecting view appearance and any window","parent_name":"ThemeColor"},"Classes/ThemeColor.html#/c:@M@ThemeKit@objc(cs)TKThemeColor(im)recacheColor":{"name":"recacheColor()","abstract":"
Forces dynamic color resolution into resolvedThemeColor
and cache it.","parent_name":"ThemeColor"},"Classes/ThemeColor.html#/c:@M@ThemeKit@objc(cs)TKThemeColor(cm)emptyCache":{"name":"emptyCache()","abstract":"
Clear all caches.","parent_name":"ThemeColor"},"Classes/ThemeColor.html":{"name":"ThemeColor","abstract":"
ThemeColor
is a NSColor
subclass that dynamically changes its colors whenever"},"Classes/ThemeGradient.html":{"name":"ThemeGradient","abstract":"
ThemeGradient
is a NSGradient
subclass that dynamically changes its colors"},"Classes/ThemeImage.html":{"name":"ThemeImage","abstract":"
ThemeImage
is a NSImage
subclass that dynamically changes its colors"},"Classes/UserTheme.html#/c:@M@ThemeKit@objc(cs)TKUserTheme(py)identifier":{"name":"identifier","abstract":"
Unique theme identifier.
","parent_name":"UserTheme"},"Classes/UserTheme.html#/c:@M@ThemeKit@objc(cs)TKUserTheme(py)displayName":{"name":"displayName","abstract":"Theme display name.
","parent_name":"UserTheme"},"Classes/UserTheme.html#/c:@M@ThemeKit@objc(cs)TKUserTheme(py)shortDisplayName":{"name":"shortDisplayName","abstract":"Theme short display name.
","parent_name":"UserTheme"},"Classes/UserTheme.html#/c:@M@ThemeKit@objc(cs)TKUserTheme(py)isDarkTheme":{"name":"isDarkTheme","abstract":"Is this a dark theme?
","parent_name":"UserTheme"},"Classes/UserTheme.html#/c:@M@ThemeKit@objc(cs)TKUserTheme(py)fileURL":{"name":"fileURL","abstract":"File URL.
","parent_name":"UserTheme"},"Classes/UserTheme.html#/c:@M@ThemeKit@objc(cs)TKUserTheme(im)reload":{"name":"reload()","abstract":"Reloads user theme from file.
","parent_name":"UserTheme"},"Classes/UserTheme.html#/c:@M@ThemeKit@objc(cs)TKUserTheme(im)themeAsset:":{"name":"themeAsset(_:)","abstract":"Theme asset for the specified key. Supported assets are NSColor
, NSGradient
, NSImage
and NSString
.
Checks if a theme asset is provided for the given key.
","parent_name":"UserTheme"},"Classes/SystemTheme.html#/c:@M@ThemeKit@objc(cs)TKSystemTheme(cpy)identifier":{"name":"identifier","abstract":"System theme identifier (static).
","parent_name":"SystemTheme"},"Classes/SystemTheme.html#/c:@M@ThemeKit@objc(cs)TKSystemTheme(py)identifier":{"name":"identifier","abstract":"Unique theme identifier.
","parent_name":"SystemTheme"},"Classes/SystemTheme.html#/c:@M@ThemeKit@objc(cs)TKSystemTheme(py)displayName":{"name":"displayName","abstract":"Theme display name.
","parent_name":"SystemTheme"},"Classes/SystemTheme.html#/c:@M@ThemeKit@objc(cs)TKSystemTheme(py)shortDisplayName":{"name":"shortDisplayName","abstract":"Theme short display name.
","parent_name":"SystemTheme"},"Classes/SystemTheme.html#/c:@M@ThemeKit@objc(cs)TKSystemTheme(py)isDarkTheme":{"name":"isDarkTheme","abstract":"Is this a dark theme?
","parent_name":"SystemTheme"},"Classes/SystemTheme.html#/c:@M@ThemeKit@objc(cs)TKSystemTheme(cpy)isAppleInterfaceThemeDark":{"name":"isAppleInterfaceThemeDark","abstract":"Checks if Apple UI theme is set to dark, as set on System Preferences > General > Appearance.
","parent_name":"SystemTheme"},"Classes/DarkTheme.html#/c:@M@ThemeKit@objc(cs)TKDarkTheme(cpy)identifier":{"name":"identifier","abstract":"Dark theme identifier (static).
","parent_name":"DarkTheme"},"Classes/DarkTheme.html#/c:@M@ThemeKit@objc(cs)TKDarkTheme(py)identifier":{"name":"identifier","abstract":"Unique theme identifier.
","parent_name":"DarkTheme"},"Classes/DarkTheme.html#/c:@M@ThemeKit@objc(cs)TKDarkTheme(py)displayName":{"name":"displayName","abstract":"Theme display name.
","parent_name":"DarkTheme"},"Classes/DarkTheme.html#/c:@M@ThemeKit@objc(cs)TKDarkTheme(py)shortDisplayName":{"name":"shortDisplayName","abstract":"Theme short display name.
","parent_name":"DarkTheme"},"Classes/DarkTheme.html#/c:@M@ThemeKit@objc(cs)TKDarkTheme(py)isDarkTheme":{"name":"isDarkTheme","abstract":"Is this a dark theme?
","parent_name":"DarkTheme"},"Classes/LightTheme.html#/c:@M@ThemeKit@objc(cs)TKLightTheme(cpy)identifier":{"name":"identifier","abstract":"Light theme identifier (static).
","parent_name":"LightTheme"},"Classes/LightTheme.html#/c:@M@ThemeKit@objc(cs)TKLightTheme(py)identifier":{"name":"identifier","abstract":"Unique theme identifier.
","parent_name":"LightTheme"},"Classes/LightTheme.html#/c:@M@ThemeKit@objc(cs)TKLightTheme(py)displayName":{"name":"displayName","abstract":"Theme display name.
","parent_name":"LightTheme"},"Classes/LightTheme.html#/c:@M@ThemeKit@objc(cs)TKLightTheme(py)shortDisplayName":{"name":"shortDisplayName","abstract":"Theme short display name.
","parent_name":"LightTheme"},"Classes/LightTheme.html#/c:@M@ThemeKit@objc(cs)TKLightTheme(py)isDarkTheme":{"name":"isDarkTheme","abstract":"Is this a dark theme?
","parent_name":"LightTheme"},"Protocols/Theme.html#/c:@M@ThemeKit@objc(pl)TKTheme(py)identifier":{"name":"identifier","abstract":"Unique theme identifier.
","parent_name":"Theme"},"Protocols/Theme.html#/c:@M@ThemeKit@objc(pl)TKTheme(py)displayName":{"name":"displayName","abstract":"Theme display name.
","parent_name":"Theme"},"Protocols/Theme.html#/c:@M@ThemeKit@objc(pl)TKTheme(py)shortDisplayName":{"name":"shortDisplayName","abstract":"Theme short display name.
","parent_name":"Theme"},"Protocols/Theme.html#/c:@M@ThemeKit@objc(pl)TKTheme(py)isDarkTheme":{"name":"isDarkTheme","abstract":"Is this a dark theme?
","parent_name":"Theme"},"Protocols/Theme.html#/c:@M@ThemeKit@objc(pl)TKTheme(py)fallbackForegroundColor":{"name":"fallbackForegroundColor","abstract":"Optional: foreground color to be used on when a foreground color is not provided","parent_name":"Theme"},"Protocols/Theme.html#/c:@M@ThemeKit@objc(pl)TKTheme(py)fallbackBackgroundColor":{"name":"fallbackBackgroundColor","abstract":"
Optional: background color to be used on when a background color (a color which","parent_name":"Theme"},"Protocols/Theme.html#/c:@M@ThemeKit@objc(pl)TKTheme(py)fallbackGradient":{"name":"fallbackGradient","abstract":"
Optional: gradient to be used on when a gradient is not provided by the theme.
","parent_name":"Theme"},"Protocols/Theme.html#/c:@M@ThemeKit@objc(pl)TKTheme(py)fallbackImage":{"name":"fallbackImage","abstract":"Optional: image to be used on when an image is not provided by the theme.
","parent_name":"Theme"},"Protocols/Theme.html#/s:8ThemeKit0A0PAAE07isLightA0Sbv":{"name":"isLightTheme","abstract":"Is this a light theme?
","parent_name":"Theme"},"Protocols/Theme.html#/s:8ThemeKit0A0PAAE08isSystemA0Sbv":{"name":"isSystemTheme","abstract":"Is this the system theme? If true, theme automatically resolve to","parent_name":"Theme"},"Protocols/Theme.html#/s:8ThemeKit0A0PAAE06isUserA0Sbv":{"name":"isUserTheme","abstract":"
Is this a user theme?
","parent_name":"Theme"},"Protocols/Theme.html#/s:8ThemeKit0A0PAAE5applyyyF":{"name":"apply()","abstract":"Apply theme (make it the current one).
","parent_name":"Theme"},"Protocols/Theme.html#/s:8ThemeKit0A0PAAE10themeAssetypSgSSF":{"name":"themeAsset(_:)","abstract":"Theme asset for the specified key. Supported assets are NSColor
, NSGradient
, NSImage
and NSString
.
Checks if a theme asset is provided for the given key.
","parent_name":"Theme"},"Protocols/Theme.html#/s:8ThemeKit0A0PAAE30defaultFallbackForegroundColorSo7NSColorCv":{"name":"defaultFallbackForegroundColor","abstract":"Default foreground color to be used on fallback situations when","parent_name":"Theme"},"Protocols/Theme.html#/s:8ThemeKit0A0PAAE30defaultFallbackBackgroundColorSo7NSColorCv":{"name":"defaultFallbackBackgroundColor","abstract":"
Default background color to be used on fallback situations when","parent_name":"Theme"},"Protocols/Theme.html#/s:8ThemeKit0A0PAAE23defaultFallbackGradientSo10NSGradientCSgv":{"name":"defaultFallbackGradient","abstract":"
Default gradient to be used on fallback situations when","parent_name":"Theme"},"Protocols/Theme.html#/s:8ThemeKit0A0PAAE20defaultFallbackImageSo7NSImageCv":{"name":"defaultFallbackImage","abstract":"
Default image to be used on fallback situations when","parent_name":"Theme"},"Protocols/Theme.html#/s:8ThemeKit0A0PAAE09effectiveA0AaB_pv":{"name":"effectiveTheme","abstract":"
Effective theme, which can be different from itself if it represents the","parent_name":"Theme"},"Protocols/Theme.html#/s:8ThemeKit0A0PAAE16themeDescriptionSSAaB_pF":{"name":"themeDescription(_:)","abstract":"
Theme description.
","parent_name":"Theme"},"Protocols/Theme.html":{"name":"Theme","abstract":"Theme protocol: the base of all themes.
"},"Classes/LightTheme.html":{"name":"LightTheme","abstract":"Light theme (default).
"},"Classes/DarkTheme.html":{"name":"DarkTheme","abstract":"Dark theme.
"},"Classes/SystemTheme.html":{"name":"SystemTheme","abstract":"System theme.
"},"Classes/UserTheme.html":{"name":"UserTheme","abstract":"A Theme
class wrapping a user provided theme file (.theme
).
ThemeKit notification sent when current theme is about to change.
","parent_name":"Name"},"Extensions/Notification/Name.html#/s:So14NSNotificationC4NameV8ThemeKitE09didChangeC0ADvZ":{"name":"didChangeTheme","abstract":"ThemeKit notification sent when current theme did change.
","parent_name":"Name"},"Extensions/Notification/Name.html#/s:So14NSNotificationC4NameV8ThemeKitE015didChangeSystemC0ADvZ":{"name":"didChangeSystemTheme","abstract":"ThemeKit notification sent when system theme did change (System Preference > General > Appearance).
","parent_name":"Name"},"Extensions/Notification/Name.html#/s:So14NSNotificationC4NameV8ThemeKitE023didChangeAppleInterfaceC0ADvZ":{"name":"didChangeAppleInterfaceTheme","abstract":"Convenience property for the system notification sent when System Preference for dark mode changes.
","parent_name":"Name"},"Extensions/Notification/Name.html":{"name":"Name","abstract":"Notifications defined by ThemeKit
.
Theme all application windows (default).
","parent_name":"WindowThemePolicy"},"Classes/ThemeManager/WindowThemePolicy.html#/s:8ThemeKit0A7ManagerC06WindowA6PolicyO16themeSomeWindowsAESayyXlXpG13windowClasses_tcAEmF":{"name":"themeSomeWindows","abstract":"Only theme windows of the specified classes.
","parent_name":"WindowThemePolicy"},"Classes/ThemeManager/WindowThemePolicy.html#/s:8ThemeKit0A7ManagerC06WindowA6PolicyO05doNotA11SomeWindowsAESayyXlXpG13windowClasses_tcAEmF":{"name":"doNotThemeSomeWindows","abstract":"Do not theme windows of the specified classes.
","parent_name":"WindowThemePolicy"},"Classes/ThemeManager/WindowThemePolicy.html#/s:8ThemeKit0A7ManagerC06WindowA6PolicyO05doNotA7WindowsA2EmF":{"name":"doNotThemeWindows","abstract":"Do not theme any window.
","parent_name":"WindowThemePolicy"},"Classes/ThemeManager.html#/c:@M@ThemeKit@objc(cs)TKThemeManager(cpy)sharedManager":{"name":"shared","abstract":"ThemeManager shared manager.
","parent_name":"ThemeManager"},"Classes/ThemeManager.html#/c:@M@ThemeKit@objc(cs)TKThemeManager(py)theme":{"name":"theme","abstract":"Sets or returns the current theme.
","parent_name":"ThemeManager"},"Classes/ThemeManager.html#/c:@M@ThemeKit@objc(cs)TKThemeManager(py)effectiveTheme":{"name":"effectiveTheme","abstract":"Returns the current effective theme (read-only).
","parent_name":"ThemeManager"},"Classes/ThemeManager.html#/c:@M@ThemeKit@objc(cs)TKThemeManager(py)themes":{"name":"themes","abstract":"List all available themes:
","parent_name":"ThemeManager"},"Classes/ThemeManager.html#/c:@M@ThemeKit@objc(cs)TKThemeManager(py)userThemes":{"name":"userThemes","abstract":"List all user themes (UserTheme
class, loaded from .theme
files)
Convenience method for accessing the light theme.
","parent_name":"ThemeManager"},"Classes/ThemeManager.html#/c:@M@ThemeKit@objc(cs)TKThemeManager(cpy)darkTheme":{"name":"darkTheme","abstract":"Convenience method for accessing the dark theme.
","parent_name":"ThemeManager"},"Classes/ThemeManager.html#/c:@M@ThemeKit@objc(cs)TKThemeManager(cpy)systemTheme":{"name":"systemTheme","abstract":"Convenience method for accessing the theme that dynamically changes to","parent_name":"ThemeManager"},"Classes/ThemeManager.html#/c:@M@ThemeKit@objc(cs)TKThemeManager(cpy)defaultTheme":{"name":"defaultTheme","abstract":"
Set/get default theme to be used on the first run (default: ThemeManager.systemTheme
).
Get the theme with specified identifier.
","parent_name":"ThemeManager"},"Classes/ThemeManager.html#/c:@M@ThemeKit@objc(cs)TKThemeManager(cpy)userDefaultsThemeKey":{"name":"userDefaultsThemeKey","abstract":"User defaults key for current theme
.
Apply last applied theme, or default, if none.
","parent_name":"ThemeManager"},"Classes/ThemeManager.html#/c:@M@ThemeKit@objc(cs)TKThemeManager(im)reApplyCurrentTheme":{"name":"reApplyCurrentTheme()","abstract":"Force-apply current theme
.
Location of user provided themes (.theme files).
","parent_name":"ThemeManager"},"Classes/ThemeManager.html#/c:@M@ThemeKit@objc(cs)TKThemeManager(py)effectiveThemeAppearance":{"name":"effectiveThemeAppearance","abstract":"Appearance in use for effective theme.
","parent_name":"ThemeManager"},"Classes/ThemeManager.html#/c:@M@ThemeKit@objc(cs)TKThemeManager(py)lightAppearance":{"name":"lightAppearance","abstract":"Convenience method to get the light appearance.
","parent_name":"ThemeManager"},"Classes/ThemeManager.html#/c:@M@ThemeKit@objc(cs)TKThemeManager(py)darkAppearance":{"name":"darkAppearance","abstract":"Convenience method to get the dark appearance.
","parent_name":"ThemeManager"},"Classes/ThemeManager/WindowThemePolicy.html":{"name":"WindowThemePolicy","abstract":"Window theme policies that define which windows should be automatically themed, if any.
","parent_name":"ThemeManager"},"Classes/ThemeManager.html#/s:8ThemeKit0A7ManagerC06windowA6PolicyAC06WindowaE0Ov":{"name":"windowThemePolicy","abstract":"Current window theme policy.
","parent_name":"ThemeManager"},"Classes/ThemeManager.html#/c:@M@ThemeKit@objc(cs)TKThemeManager(cpy)willChangeThemeNotification":{"name":"willChangeThemeNotification","abstract":"ThemeKit notification sent when current theme is about to change.
","parent_name":"ThemeManager"},"Classes/ThemeManager.html#/c:@M@ThemeKit@objc(cs)TKThemeManager(cpy)didChangeThemeNotification":{"name":"didChangeThemeNotification","abstract":"ThemeKit notification sent when current theme did change.
","parent_name":"ThemeManager"},"Classes/ThemeManager.html#/c:@M@ThemeKit@objc(cs)TKThemeManager(cpy)didChangeSystemThemeNotification":{"name":"didChangeSystemThemeNotification","abstract":"ThemeKit notification sent when system theme did change (System Preference > General > Appearance).
","parent_name":"ThemeManager"},"Classes/ThemeManager.html":{"name":"ThemeManager","abstract":"Use ThemeManager
shared instance to perform app-wide theming related operations,"},"Extensions/Notification.html":{"name":"Notification"},"ThemeKit.html":{"name":"ThemeKit"},"Themes.html":{"name":"Themes"},"Theme Assets.html":{"name":"Theme Assets"},"Extensions.html":{"name":"Extensions"}}
\ No newline at end of file
+{"Extensions/NSColor.html#/c:@CM@ThemeKit@@objc(cs)NSColor(py)isThemeOverriden":{"name":"isThemeOverriden","abstract":"
Check if color is being overriden in a ThemeColor extension.
","parent_name":"NSColor"},"Extensions/NSColor.html#/c:@CM@ThemeKit@@objc(cs)NSColor(cm)colorMethodNames":{"name":"colorMethodNames()","abstract":"Get all NSColor
color methods.","parent_name":"NSColor"},"Extensions/NSWindow.html#/c:@CM@ThemeKit@@objc(cs)NSWindow(py)windowTheme":{"name":"windowTheme","abstract":"
Any window specific theme.
","parent_name":"NSWindow"},"Extensions/NSWindow.html#/c:@CM@ThemeKit@@objc(cs)NSWindow(py)windowEffectiveTheme":{"name":"windowEffectiveTheme","abstract":"Returns the current effective theme (read-only).
","parent_name":"NSWindow"},"Extensions/NSWindow.html#/c:@CM@ThemeKit@@objc(cs)NSWindow(py)windowEffectiveThemeAppearance":{"name":"windowEffectiveThemeAppearance","abstract":"Returns the current effective appearance (read-only).
","parent_name":"NSWindow"},"Extensions/NSWindow.html#/c:@CM@ThemeKit@@objc(cs)NSWindow(im)theme":{"name":"theme()","abstract":"Theme window if needed.
","parent_name":"NSWindow"},"Extensions/NSWindow.html#/c:@CM@ThemeKit@@objc(cs)NSWindow(im)themeIfCompliantWithWindowThemePolicy":{"name":"themeIfCompliantWithWindowThemePolicy()","abstract":"Theme window if compliant to ThemeManager.windowThemePolicy (and if needed).
","parent_name":"NSWindow"},"Extensions/NSWindow.html#/c:@CM@ThemeKit@@objc(cs)NSWindow(cm)themeAllWindows":{"name":"themeAllWindows()","abstract":"Theme all windows compliant to ThemeManager.windowThemePolicy (and if needed).
","parent_name":"NSWindow"},"Extensions/NSWindow.html":{"name":"NSWindow","abstract":"NSWindow
ThemeKit extension.
NSColor
ThemeKit extension to help on when overriding colors in ThemeColor
extensions.
ThemeImage
image selector used as theme instance method for same","parent_name":"ThemeImage"},"Classes/ThemeImage.html#/c:@M@ThemeKit@objc(cs)TKThemeImage(py)resolvedThemeImage":{"name":"resolvedThemeImage","abstract":"
Resolved Image from current theme (dynamically changes with the current theme).
","parent_name":"ThemeImage"},"Classes/ThemeImage.html#/c:@M@ThemeKit@objc(cs)TKThemeImage(cm)imageWithSelector:":{"name":"image(with:)","abstract":"Create a new ThemeImage instance for the specified selector.
","parent_name":"ThemeImage"},"Classes/ThemeImage.html#/c:@M@ThemeKit@objc(cs)TKThemeImage(cm)imageForTheme:selector:":{"name":"image(for:selector:)","abstract":"Image for a specific theme.
","parent_name":"ThemeImage"},"Classes/ThemeImage.html#/c:@M@ThemeKit@objc(cs)TKThemeImage(cm)imageForView:selector:":{"name":"image(for:selector:)","abstract":"Current theme image, but respecting view appearance and any window","parent_name":"ThemeImage"},"Classes/ThemeImage.html#/c:@M@ThemeKit@objc(cs)TKThemeImage(im)recacheImage":{"name":"recacheImage()","abstract":"
Forces dynamic color resolution into resolvedThemeImage
and cache it.","parent_name":"ThemeImage"},"Classes/ThemeImage.html#/c:@M@ThemeKit@objc(cs)TKThemeImage(cm)emptyCache":{"name":"emptyCache()","abstract":"
Clear all caches.","parent_name":"ThemeImage"},"Classes/ThemeGradient.html#/c:@M@ThemeKit@objc(cs)TKThemeGradient(py)themeGradientSelector":{"name":"themeGradientSelector","abstract":"
ThemeGradient
gradient selector used as theme instance method for same","parent_name":"ThemeGradient"},"Classes/ThemeGradient.html#/c:@M@ThemeKit@objc(cs)TKThemeGradient(py)resolvedThemeGradient":{"name":"resolvedThemeGradient","abstract":"
Resolved gradient from current theme (dynamically changes with the current theme).
","parent_name":"ThemeGradient"},"Classes/ThemeGradient.html#/c:@M@ThemeKit@objc(cs)TKThemeGradient(cm)gradientWithSelector:":{"name":"gradient(with:)","abstract":"Create a new ThemeGradient instance for the specified selector.
","parent_name":"ThemeGradient"},"Classes/ThemeGradient.html#/c:@M@ThemeKit@objc(cs)TKThemeGradient(cm)gradientForTheme:selector:":{"name":"gradient(for:selector:)","abstract":"Gradient for a specific theme.
","parent_name":"ThemeGradient"},"Classes/ThemeGradient.html#/c:@M@ThemeKit@objc(cs)TKThemeGradient(cm)gradientForView:selector:":{"name":"gradient(for:selector:)","abstract":"Current theme gradient, but respecting view appearance and any window","parent_name":"ThemeGradient"},"Classes/ThemeGradient.html#/c:@M@ThemeKit@objc(cs)TKThemeGradient(im)recacheGradient":{"name":"recacheGradient()","abstract":"
Forces dynamic gradient resolution into resolvedThemeGradient
and cache it.","parent_name":"ThemeGradient"},"Classes/ThemeGradient.html#/c:@M@ThemeKit@objc(cs)TKThemeGradient(cm)emptyCache":{"name":"emptyCache()","abstract":"
Clear all caches.","parent_name":"ThemeGradient"},"Classes/ThemeColor.html#/c:@M@ThemeKit@objc(cs)TKThemeColor(py)themeColorSelector":{"name":"themeColorSelector","abstract":"
ThemeColor
color selector used as theme instance method for same selector","parent_name":"ThemeColor"},"Classes/ThemeColor.html#/c:@M@ThemeKit@objc(cs)TKThemeColor(py)resolvedThemeColor":{"name":"resolvedThemeColor","abstract":"
Resolved color from current theme (dynamically changes with the current theme).
","parent_name":"ThemeColor"},"Classes/ThemeColor.html#/c:@M@ThemeKit@objc(cs)TKThemeColor(cm)colorWithSelector:":{"name":"color(with:)","abstract":"Create a new ThemeColor instance for the specified selector.
","parent_name":"ThemeColor"},"Classes/ThemeColor.html#/c:@M@ThemeKit@objc(cs)TKThemeColor(cm)colorForTheme:selector:":{"name":"color(for:selector:)","abstract":"Color for a specific theme.
","parent_name":"ThemeColor"},"Classes/ThemeColor.html#/c:@M@ThemeKit@objc(cs)TKThemeColor(cm)colorForView:selector:":{"name":"color(for:selector:)","abstract":"Current theme color, but respecting view appearance and any window","parent_name":"ThemeColor"},"Classes/ThemeColor.html#/c:@M@ThemeKit@objc(cs)TKThemeColor(im)recacheColor":{"name":"recacheColor()","abstract":"
Forces dynamic color resolution into resolvedThemeColor
and cache it.","parent_name":"ThemeColor"},"Classes/ThemeColor.html#/c:@M@ThemeKit@objc(cs)TKThemeColor(cm)emptyCache":{"name":"emptyCache()","abstract":"
Clear all caches.","parent_name":"ThemeColor"},"Classes/ThemeColor.html":{"name":"ThemeColor","abstract":"
ThemeColor
is a NSColor
subclass that dynamically changes its colors whenever"},"Classes/ThemeGradient.html":{"name":"ThemeGradient","abstract":"
ThemeGradient
is a NSGradient
subclass that dynamically changes its colors"},"Classes/ThemeImage.html":{"name":"ThemeImage","abstract":"
ThemeImage
is a NSImage
subclass that dynamically changes its colors"},"Classes/UserTheme.html#/c:@M@ThemeKit@objc(cs)TKUserTheme(py)identifier":{"name":"identifier","abstract":"
Unique theme identifier.
","parent_name":"UserTheme"},"Classes/UserTheme.html#/c:@M@ThemeKit@objc(cs)TKUserTheme(py)displayName":{"name":"displayName","abstract":"Theme display name.
","parent_name":"UserTheme"},"Classes/UserTheme.html#/c:@M@ThemeKit@objc(cs)TKUserTheme(py)shortDisplayName":{"name":"shortDisplayName","abstract":"Theme short display name.
","parent_name":"UserTheme"},"Classes/UserTheme.html#/c:@M@ThemeKit@objc(cs)TKUserTheme(py)isDarkTheme":{"name":"isDarkTheme","abstract":"Is this a dark theme?
","parent_name":"UserTheme"},"Classes/UserTheme.html#/c:@M@ThemeKit@objc(cs)TKUserTheme(py)fileURL":{"name":"fileURL","abstract":"File URL.
","parent_name":"UserTheme"},"Classes/UserTheme.html#/c:@M@ThemeKit@objc(cs)TKUserTheme(im)reload":{"name":"reload()","abstract":"Reloads user theme from file.
","parent_name":"UserTheme"},"Classes/UserTheme.html#/c:@M@ThemeKit@objc(cs)TKUserTheme(im)themeAsset:":{"name":"themeAsset(_:)","abstract":"Theme asset for the specified key. Supported assets are NSColor
, NSGradient
, NSImage
and NSString
.
Checks if a theme asset is provided for the given key.
","parent_name":"UserTheme"},"Classes/SystemTheme.html#/c:@M@ThemeKit@objc(cs)TKSystemTheme(cpy)identifier":{"name":"identifier","abstract":"System theme identifier (static).
","parent_name":"SystemTheme"},"Classes/SystemTheme.html#/c:@M@ThemeKit@objc(cs)TKSystemTheme(py)identifier":{"name":"identifier","abstract":"Unique theme identifier.
","parent_name":"SystemTheme"},"Classes/SystemTheme.html#/c:@M@ThemeKit@objc(cs)TKSystemTheme(py)displayName":{"name":"displayName","abstract":"Theme display name.
","parent_name":"SystemTheme"},"Classes/SystemTheme.html#/c:@M@ThemeKit@objc(cs)TKSystemTheme(py)shortDisplayName":{"name":"shortDisplayName","abstract":"Theme short display name.
","parent_name":"SystemTheme"},"Classes/SystemTheme.html#/c:@M@ThemeKit@objc(cs)TKSystemTheme(py)isDarkTheme":{"name":"isDarkTheme","abstract":"Is this a dark theme?
","parent_name":"SystemTheme"},"Classes/SystemTheme.html#/c:@M@ThemeKit@objc(cs)TKSystemTheme(cpy)isAppleInterfaceThemeDark":{"name":"isAppleInterfaceThemeDark","abstract":"Checks if Apple UI theme is set to dark, as set on System Preferences > General > Appearance.
","parent_name":"SystemTheme"},"Classes/DarkTheme.html#/c:@M@ThemeKit@objc(cs)TKDarkTheme(cpy)identifier":{"name":"identifier","abstract":"Dark theme identifier (static).
","parent_name":"DarkTheme"},"Classes/DarkTheme.html#/c:@M@ThemeKit@objc(cs)TKDarkTheme(py)identifier":{"name":"identifier","abstract":"Unique theme identifier.
","parent_name":"DarkTheme"},"Classes/DarkTheme.html#/c:@M@ThemeKit@objc(cs)TKDarkTheme(py)displayName":{"name":"displayName","abstract":"Theme display name.
","parent_name":"DarkTheme"},"Classes/DarkTheme.html#/c:@M@ThemeKit@objc(cs)TKDarkTheme(py)shortDisplayName":{"name":"shortDisplayName","abstract":"Theme short display name.
","parent_name":"DarkTheme"},"Classes/DarkTheme.html#/c:@M@ThemeKit@objc(cs)TKDarkTheme(py)isDarkTheme":{"name":"isDarkTheme","abstract":"Is this a dark theme?
","parent_name":"DarkTheme"},"Classes/LightTheme.html#/c:@M@ThemeKit@objc(cs)TKLightTheme(cpy)identifier":{"name":"identifier","abstract":"Light theme identifier (static).
","parent_name":"LightTheme"},"Classes/LightTheme.html#/c:@M@ThemeKit@objc(cs)TKLightTheme(py)identifier":{"name":"identifier","abstract":"Unique theme identifier.
","parent_name":"LightTheme"},"Classes/LightTheme.html#/c:@M@ThemeKit@objc(cs)TKLightTheme(py)displayName":{"name":"displayName","abstract":"Theme display name.
","parent_name":"LightTheme"},"Classes/LightTheme.html#/c:@M@ThemeKit@objc(cs)TKLightTheme(py)shortDisplayName":{"name":"shortDisplayName","abstract":"Theme short display name.
","parent_name":"LightTheme"},"Classes/LightTheme.html#/c:@M@ThemeKit@objc(cs)TKLightTheme(py)isDarkTheme":{"name":"isDarkTheme","abstract":"Is this a dark theme?
","parent_name":"LightTheme"},"Protocols/Theme.html#/c:@M@ThemeKit@objc(pl)TKTheme(py)identifier":{"name":"identifier","abstract":"Unique theme identifier.
","parent_name":"Theme"},"Protocols/Theme.html#/c:@M@ThemeKit@objc(pl)TKTheme(py)displayName":{"name":"displayName","abstract":"Theme display name.
","parent_name":"Theme"},"Protocols/Theme.html#/c:@M@ThemeKit@objc(pl)TKTheme(py)shortDisplayName":{"name":"shortDisplayName","abstract":"Theme short display name.
","parent_name":"Theme"},"Protocols/Theme.html#/c:@M@ThemeKit@objc(pl)TKTheme(py)isDarkTheme":{"name":"isDarkTheme","abstract":"Is this a dark theme?
","parent_name":"Theme"},"Protocols/Theme.html#/c:@M@ThemeKit@objc(pl)TKTheme(py)fallbackForegroundColor":{"name":"fallbackForegroundColor","abstract":"Optional: foreground color to be used on when a foreground color is not provided","parent_name":"Theme"},"Protocols/Theme.html#/c:@M@ThemeKit@objc(pl)TKTheme(py)fallbackBackgroundColor":{"name":"fallbackBackgroundColor","abstract":"
Optional: background color to be used on when a background color (a color which","parent_name":"Theme"},"Protocols/Theme.html#/c:@M@ThemeKit@objc(pl)TKTheme(py)fallbackGradient":{"name":"fallbackGradient","abstract":"
Optional: gradient to be used on when a gradient is not provided by the theme.
","parent_name":"Theme"},"Protocols/Theme.html#/c:@M@ThemeKit@objc(pl)TKTheme(py)fallbackImage":{"name":"fallbackImage","abstract":"Optional: image to be used on when an image is not provided by the theme.
","parent_name":"Theme"},"Protocols/Theme.html#/s:8ThemeKit0A0PAAE07isLightA0Sbvp":{"name":"isLightTheme","abstract":"Is this a light theme?
","parent_name":"Theme"},"Protocols/Theme.html#/s:8ThemeKit0A0PAAE08isSystemA0Sbvp":{"name":"isSystemTheme","abstract":"Is this the system theme? If true, theme automatically resolve to","parent_name":"Theme"},"Protocols/Theme.html#/s:8ThemeKit0A0PAAE06isUserA0Sbvp":{"name":"isUserTheme","abstract":"
Is this a user theme?
","parent_name":"Theme"},"Protocols/Theme.html#/s:8ThemeKit0A0PAAE5applyyyF":{"name":"apply()","abstract":"Apply theme (make it the current one).
","parent_name":"Theme"},"Protocols/Theme.html#/s:8ThemeKit0A0PAAE10themeAssetypSgSSF":{"name":"themeAsset(_:)","abstract":"Theme asset for the specified key. Supported assets are NSColor
, NSGradient
, NSImage
and NSString
.
Checks if a theme asset is provided for the given key.
","parent_name":"Theme"},"Protocols/Theme.html#/s:8ThemeKit0A0PAAE30defaultFallbackForegroundColorSo7NSColorCvp":{"name":"defaultFallbackForegroundColor","abstract":"Default foreground color to be used on fallback situations when","parent_name":"Theme"},"Protocols/Theme.html#/s:8ThemeKit0A0PAAE30defaultFallbackBackgroundColorSo7NSColorCvp":{"name":"defaultFallbackBackgroundColor","abstract":"
Default background color to be used on fallback situations when","parent_name":"Theme"},"Protocols/Theme.html#/s:8ThemeKit0A0PAAE23defaultFallbackGradientSo10NSGradientCSgvp":{"name":"defaultFallbackGradient","abstract":"
Default gradient to be used on fallback situations when","parent_name":"Theme"},"Protocols/Theme.html#/s:8ThemeKit0A0PAAE20defaultFallbackImageSo7NSImageCvp":{"name":"defaultFallbackImage","abstract":"
Default image to be used on fallback situations when","parent_name":"Theme"},"Protocols/Theme.html#/s:8ThemeKit0A0PAAE09effectiveA0AaB_pvp":{"name":"effectiveTheme","abstract":"
Effective theme, which can be different from itself if it represents the","parent_name":"Theme"},"Protocols/Theme.html#/s:8ThemeKit0A0PAAE16themeDescriptionSSAaB_pF":{"name":"themeDescription(_:)","abstract":"
Theme description.
","parent_name":"Theme"},"Protocols/Theme.html":{"name":"Theme","abstract":"Theme protocol: the base of all themes.
"},"Classes/LightTheme.html":{"name":"LightTheme","abstract":"Light theme (default).
"},"Classes/DarkTheme.html":{"name":"DarkTheme","abstract":"Dark theme.
"},"Classes/SystemTheme.html":{"name":"SystemTheme","abstract":"System theme.
"},"Classes/UserTheme.html":{"name":"UserTheme","abstract":"A Theme
class wrapping a user provided theme file (.theme
).
ThemeKit notification sent when current theme is about to change.
","parent_name":"Name"},"Extensions/Notification/Name.html#/s:So14NSNotificationC4NameV8ThemeKitE09didChangeC0ADvpZ":{"name":"didChangeTheme","abstract":"ThemeKit notification sent when current theme did change.
","parent_name":"Name"},"Extensions/Notification/Name.html#/s:So14NSNotificationC4NameV8ThemeKitE015didChangeSystemC0ADvpZ":{"name":"didChangeSystemTheme","abstract":"ThemeKit notification sent when system theme did change (System Preference > General > Appearance).
","parent_name":"Name"},"Extensions/Notification/Name.html#/s:So14NSNotificationC4NameV8ThemeKitE023didChangeAppleInterfaceC0ADvpZ":{"name":"didChangeAppleInterfaceTheme","abstract":"Convenience property for the system notification sent when System Preference for dark mode changes.
","parent_name":"Name"},"Extensions/Notification/Name.html":{"name":"Name","abstract":"Notifications defined by ThemeKit
.
Theme all application windows (default).
","parent_name":"WindowThemePolicy"},"Classes/ThemeManager/WindowThemePolicy.html#/s:8ThemeKit0A7ManagerC06WindowA6PolicyO16themeSomeWindowsAESayyXlXpG13windowClasses_tcAEmF":{"name":"themeSomeWindows","abstract":"Only theme windows of the specified classes.
","parent_name":"WindowThemePolicy"},"Classes/ThemeManager/WindowThemePolicy.html#/s:8ThemeKit0A7ManagerC06WindowA6PolicyO05doNotA11SomeWindowsAESayyXlXpG13windowClasses_tcAEmF":{"name":"doNotThemeSomeWindows","abstract":"Do not theme windows of the specified classes.
","parent_name":"WindowThemePolicy"},"Classes/ThemeManager/WindowThemePolicy.html#/s:8ThemeKit0A7ManagerC06WindowA6PolicyO05doNotA7WindowsA2EmF":{"name":"doNotThemeWindows","abstract":"Do not theme any window.
","parent_name":"WindowThemePolicy"},"Classes/ThemeManager.html#/c:@M@ThemeKit@objc(cs)TKThemeManager(cpy)sharedManager":{"name":"shared","abstract":"ThemeManager shared manager.
","parent_name":"ThemeManager"},"Classes/ThemeManager.html#/c:@M@ThemeKit@objc(cs)TKThemeManager(py)theme":{"name":"theme","abstract":"Sets or returns the current theme.
","parent_name":"ThemeManager"},"Classes/ThemeManager.html#/c:@M@ThemeKit@objc(cs)TKThemeManager(py)effectiveTheme":{"name":"effectiveTheme","abstract":"Returns the current effective theme (read-only).
","parent_name":"ThemeManager"},"Classes/ThemeManager.html#/c:@M@ThemeKit@objc(cs)TKThemeManager(py)themes":{"name":"themes","abstract":"List all available themes:
","parent_name":"ThemeManager"},"Classes/ThemeManager.html#/c:@M@ThemeKit@objc(cs)TKThemeManager(py)userThemes":{"name":"userThemes","abstract":"List all user themes (UserTheme
class, loaded from .theme
files)
Convenience method for accessing the light theme.
","parent_name":"ThemeManager"},"Classes/ThemeManager.html#/c:@M@ThemeKit@objc(cs)TKThemeManager(cpy)darkTheme":{"name":"darkTheme","abstract":"Convenience method for accessing the dark theme.
","parent_name":"ThemeManager"},"Classes/ThemeManager.html#/c:@M@ThemeKit@objc(cs)TKThemeManager(cpy)systemTheme":{"name":"systemTheme","abstract":"Convenience method for accessing the theme that dynamically changes to","parent_name":"ThemeManager"},"Classes/ThemeManager.html#/c:@M@ThemeKit@objc(cs)TKThemeManager(cpy)defaultTheme":{"name":"defaultTheme","abstract":"
Set/get default theme to be used on the first run (default: ThemeManager.systemTheme
).
Get the theme with specified identifier.
","parent_name":"ThemeManager"},"Classes/ThemeManager.html#/c:@M@ThemeKit@objc(cs)TKThemeManager(cpy)userDefaultsThemeKey":{"name":"userDefaultsThemeKey","abstract":"User defaults key for current theme
.
Apply last applied theme, or default, if none.
","parent_name":"ThemeManager"},"Classes/ThemeManager.html#/c:@M@ThemeKit@objc(cs)TKThemeManager(im)reApplyCurrentTheme":{"name":"reApplyCurrentTheme()","abstract":"Force-apply current theme
.
Location of user provided themes (.theme files).
","parent_name":"ThemeManager"},"Classes/ThemeManager.html#/c:@M@ThemeKit@objc(cs)TKThemeManager(py)effectiveThemeAppearance":{"name":"effectiveThemeAppearance","abstract":"Appearance in use for effective theme.
","parent_name":"ThemeManager"},"Classes/ThemeManager.html#/c:@M@ThemeKit@objc(cs)TKThemeManager(py)lightAppearance":{"name":"lightAppearance","abstract":"Convenience method to get the light appearance.
","parent_name":"ThemeManager"},"Classes/ThemeManager.html#/c:@M@ThemeKit@objc(cs)TKThemeManager(py)darkAppearance":{"name":"darkAppearance","abstract":"Convenience method to get the dark appearance.
","parent_name":"ThemeManager"},"Classes/ThemeManager/WindowThemePolicy.html":{"name":"WindowThemePolicy","abstract":"Window theme policies that define which windows should be automatically themed, if any.
","parent_name":"ThemeManager"},"Classes/ThemeManager.html#/s:8ThemeKit0A7ManagerC06windowA6PolicyAC06WindowaE0Ovp":{"name":"windowThemePolicy","abstract":"Current window theme policy.
","parent_name":"ThemeManager"},"Classes/ThemeManager.html#/c:@M@ThemeKit@objc(cs)TKThemeManager(cpy)willChangeThemeNotification":{"name":"willChangeThemeNotification","abstract":"ThemeKit notification sent when current theme is about to change.
","parent_name":"ThemeManager"},"Classes/ThemeManager.html#/c:@M@ThemeKit@objc(cs)TKThemeManager(cpy)didChangeThemeNotification":{"name":"didChangeThemeNotification","abstract":"ThemeKit notification sent when current theme did change.
","parent_name":"ThemeManager"},"Classes/ThemeManager.html#/c:@M@ThemeKit@objc(cs)TKThemeManager(cpy)didChangeSystemThemeNotification":{"name":"didChangeSystemThemeNotification","abstract":"ThemeKit notification sent when system theme did change (System Preference > General > Appearance).
","parent_name":"ThemeManager"},"Classes/ThemeManager.html":{"name":"ThemeManager","abstract":"Use ThemeManager
shared instance to perform app-wide theming related operations,"},"Extensions/Notification.html":{"name":"Notification"},"ThemeKit.html":{"name":"ThemeKit"},"Themes.html":{"name":"Themes"},"Theme Assets.html":{"name":"Theme Assets"},"Extensions.html":{"name":"Extensions"}}
\ No newline at end of file
diff --git a/Docs/undocumented.json b/Docs/undocumented.json
index ca0dcf3..5f1db3d 100644
--- a/Docs/undocumented.json
+++ b/Docs/undocumented.json
@@ -44,546 +44,546 @@
},
{
"file": "/Users/nfgrilo/Projects/luckymarmot/ThemeKit/Sources/ThemeColor.swift",
- "line": 412,
+ "line": 406,
"symbol": "ThemeColor.setFill()",
"symbol_kind": "source.lang.swift.decl.function.method.instance",
"warning": "undocumented"
},
{
"file": "/Users/nfgrilo/Projects/luckymarmot/ThemeKit/Sources/ThemeColor.swift",
- "line": 416,
+ "line": 410,
"symbol": "ThemeColor.setStroke()",
"symbol_kind": "source.lang.swift.decl.function.method.instance",
"warning": "undocumented"
},
{
"file": "/Users/nfgrilo/Projects/luckymarmot/ThemeKit/Sources/ThemeColor.swift",
- "line": 420,
+ "line": 414,
"symbol": "ThemeColor.set()",
"symbol_kind": "source.lang.swift.decl.function.method.instance",
"warning": "undocumented"
},
{
"file": "/Users/nfgrilo/Projects/luckymarmot/ThemeKit/Sources/ThemeColor.swift",
- "line": 424,
+ "line": 418,
"symbol": "ThemeColor.usingColorSpace(_:)",
"symbol_kind": "source.lang.swift.decl.function.method.instance",
"warning": "undocumented"
},
{
"file": "/Users/nfgrilo/Projects/luckymarmot/ThemeKit/Sources/ThemeColor.swift",
- "line": 428,
+ "line": 422,
"symbol": "ThemeColor.usingColorSpaceName(_:device:)",
"symbol_kind": "source.lang.swift.decl.function.method.instance",
"warning": "undocumented"
},
{
"file": "/Users/nfgrilo/Projects/luckymarmot/ThemeKit/Sources/ThemeColor.swift",
- "line": 460,
+ "line": 448,
"symbol": "ThemeColor.colorSpaceName",
"symbol_kind": "source.lang.swift.decl.var.instance",
"warning": "undocumented"
},
{
"file": "/Users/nfgrilo/Projects/luckymarmot/ThemeKit/Sources/ThemeColor.swift",
- "line": 464,
+ "line": 452,
"symbol": "ThemeColor.colorSpace",
"symbol_kind": "source.lang.swift.decl.var.instance",
"warning": "undocumented"
},
{
"file": "/Users/nfgrilo/Projects/luckymarmot/ThemeKit/Sources/ThemeColor.swift",
- "line": 468,
+ "line": 456,
"symbol": "ThemeColor.numberOfComponents",
"symbol_kind": "source.lang.swift.decl.var.instance",
"warning": "undocumented"
},
{
"file": "/Users/nfgrilo/Projects/luckymarmot/ThemeKit/Sources/ThemeColor.swift",
- "line": 472,
+ "line": 460,
"symbol": "ThemeColor.getComponents(_:)",
"symbol_kind": "source.lang.swift.decl.function.method.instance",
"warning": "undocumented"
},
{
"file": "/Users/nfgrilo/Projects/luckymarmot/ThemeKit/Sources/ThemeColor.swift",
- "line": 477,
+ "line": 465,
"symbol": "ThemeColor.redComponent",
"symbol_kind": "source.lang.swift.decl.var.instance",
"warning": "undocumented"
},
{
"file": "/Users/nfgrilo/Projects/luckymarmot/ThemeKit/Sources/ThemeColor.swift",
- "line": 485,
+ "line": 473,
"symbol": "ThemeColor.greenComponent",
"symbol_kind": "source.lang.swift.decl.var.instance",
"warning": "undocumented"
},
{
"file": "/Users/nfgrilo/Projects/luckymarmot/ThemeKit/Sources/ThemeColor.swift",
- "line": 493,
+ "line": 481,
"symbol": "ThemeColor.blueComponent",
"symbol_kind": "source.lang.swift.decl.var.instance",
"warning": "undocumented"
},
{
"file": "/Users/nfgrilo/Projects/luckymarmot/ThemeKit/Sources/ThemeColor.swift",
- "line": 501,
+ "line": 489,
"symbol": "ThemeColor.getRed(_:green:blue:alpha:)",
"symbol_kind": "source.lang.swift.decl.function.method.instance",
"warning": "undocumented"
},
{
"file": "/Users/nfgrilo/Projects/luckymarmot/ThemeKit/Sources/ThemeColor.swift",
- "line": 506,
+ "line": 494,
"symbol": "ThemeColor.cyanComponent",
"symbol_kind": "source.lang.swift.decl.var.instance",
"warning": "undocumented"
},
{
"file": "/Users/nfgrilo/Projects/luckymarmot/ThemeKit/Sources/ThemeColor.swift",
- "line": 514,
+ "line": 502,
"symbol": "ThemeColor.magentaComponent",
"symbol_kind": "source.lang.swift.decl.var.instance",
"warning": "undocumented"
},
{
"file": "/Users/nfgrilo/Projects/luckymarmot/ThemeKit/Sources/ThemeColor.swift",
- "line": 522,
+ "line": 510,
"symbol": "ThemeColor.yellowComponent",
"symbol_kind": "source.lang.swift.decl.var.instance",
"warning": "undocumented"
},
{
"file": "/Users/nfgrilo/Projects/luckymarmot/ThemeKit/Sources/ThemeColor.swift",
- "line": 530,
+ "line": 518,
"symbol": "ThemeColor.blackComponent",
"symbol_kind": "source.lang.swift.decl.var.instance",
"warning": "undocumented"
},
{
"file": "/Users/nfgrilo/Projects/luckymarmot/ThemeKit/Sources/ThemeColor.swift",
- "line": 538,
+ "line": 526,
"symbol": "ThemeColor.getCyan(_:magenta:yellow:black:alpha:)",
"symbol_kind": "source.lang.swift.decl.function.method.instance",
"warning": "undocumented"
},
{
"file": "/Users/nfgrilo/Projects/luckymarmot/ThemeKit/Sources/ThemeColor.swift",
- "line": 543,
+ "line": 535,
"symbol": "ThemeColor.whiteComponent",
"symbol_kind": "source.lang.swift.decl.var.instance",
"warning": "undocumented"
},
{
"file": "/Users/nfgrilo/Projects/luckymarmot/ThemeKit/Sources/ThemeColor.swift",
- "line": 551,
+ "line": 543,
"symbol": "ThemeColor.getWhite(_:alpha:)",
"symbol_kind": "source.lang.swift.decl.function.method.instance",
"warning": "undocumented"
},
{
"file": "/Users/nfgrilo/Projects/luckymarmot/ThemeKit/Sources/ThemeColor.swift",
- "line": 556,
+ "line": 548,
"symbol": "ThemeColor.hueComponent",
"symbol_kind": "source.lang.swift.decl.var.instance",
"warning": "undocumented"
},
{
"file": "/Users/nfgrilo/Projects/luckymarmot/ThemeKit/Sources/ThemeColor.swift",
- "line": 564,
+ "line": 556,
"symbol": "ThemeColor.saturationComponent",
"symbol_kind": "source.lang.swift.decl.var.instance",
"warning": "undocumented"
},
{
"file": "/Users/nfgrilo/Projects/luckymarmot/ThemeKit/Sources/ThemeColor.swift",
- "line": 572,
+ "line": 564,
"symbol": "ThemeColor.brightnessComponent",
"symbol_kind": "source.lang.swift.decl.var.instance",
"warning": "undocumented"
},
{
"file": "/Users/nfgrilo/Projects/luckymarmot/ThemeKit/Sources/ThemeColor.swift",
- "line": 580,
+ "line": 572,
"symbol": "ThemeColor.getHue(_:saturation:brightness:alpha:)",
"symbol_kind": "source.lang.swift.decl.function.method.instance",
"warning": "undocumented"
},
{
"file": "/Users/nfgrilo/Projects/luckymarmot/ThemeKit/Sources/ThemeColor.swift",
- "line": 585,
+ "line": 577,
"symbol": "ThemeColor.highlight(withLevel:)",
"symbol_kind": "source.lang.swift.decl.function.method.instance",
"warning": "undocumented"
},
{
"file": "/Users/nfgrilo/Projects/luckymarmot/ThemeKit/Sources/ThemeColor.swift",
- "line": 590,
+ "line": 582,
"symbol": "ThemeColor.shadow(withLevel:)",
"symbol_kind": "source.lang.swift.decl.function.method.instance",
"warning": "undocumented"
},
{
"file": "/Users/nfgrilo/Projects/luckymarmot/ThemeKit/Sources/ThemeColor.swift",
- "line": 595,
+ "line": 587,
"symbol": "ThemeColor.withAlphaComponent(_:)",
"symbol_kind": "source.lang.swift.decl.function.method.instance",
"warning": "undocumented"
},
{
"file": "/Users/nfgrilo/Projects/luckymarmot/ThemeKit/Sources/ThemeColor.swift",
- "line": 600,
+ "line": 592,
"symbol": "ThemeColor.description",
"symbol_kind": "source.lang.swift.decl.var.instance",
"warning": "undocumented"
},
{
"file": "/Users/nfgrilo/Projects/luckymarmot/ThemeKit/Sources/ThemeGradient.swift",
- "line": 266,
+ "line": 263,
"symbol": "ThemeGradient.init(coder:)",
"symbol_kind": "source.lang.swift.decl.function.method.instance",
"warning": "undocumented"
},
{
"file": "/Users/nfgrilo/Projects/luckymarmot/ThemeKit/Sources/ThemeGradient.swift",
- "line": 321,
+ "line": 317,
"symbol": "ThemeGradient.draw(in:angle:)",
"symbol_kind": "source.lang.swift.decl.function.method.instance",
"warning": "undocumented"
},
{
"file": "/Users/nfgrilo/Projects/luckymarmot/ThemeKit/Sources/ThemeGradient.swift",
- "line": 325,
+ "line": 321,
"symbol": "ThemeGradient.draw(in:angle:)",
"symbol_kind": "source.lang.swift.decl.function.method.instance",
"warning": "undocumented"
},
{
"file": "/Users/nfgrilo/Projects/luckymarmot/ThemeKit/Sources/ThemeGradient.swift",
- "line": 329,
+ "line": 325,
"symbol": "ThemeGradient.draw(from:to:options:)",
"symbol_kind": "source.lang.swift.decl.function.method.instance",
"warning": "undocumented"
},
{
"file": "/Users/nfgrilo/Projects/luckymarmot/ThemeKit/Sources/ThemeGradient.swift",
- "line": 333,
+ "line": 329,
"symbol": "ThemeGradient.draw(fromCenter:radius:toCenter:radius:options:)",
"symbol_kind": "source.lang.swift.decl.function.method.instance",
"warning": "undocumented"
},
{
"file": "/Users/nfgrilo/Projects/luckymarmot/ThemeKit/Sources/ThemeGradient.swift",
- "line": 337,
+ "line": 333,
"symbol": "ThemeGradient.draw(in:relativeCenterPosition:)",
"symbol_kind": "source.lang.swift.decl.function.method.instance",
"warning": "undocumented"
},
{
"file": "/Users/nfgrilo/Projects/luckymarmot/ThemeKit/Sources/ThemeGradient.swift",
- "line": 341,
+ "line": 337,
"symbol": "ThemeGradient.draw(in:relativeCenterPosition:)",
"symbol_kind": "source.lang.swift.decl.function.method.instance",
"warning": "undocumented"
},
{
"file": "/Users/nfgrilo/Projects/luckymarmot/ThemeKit/Sources/ThemeGradient.swift",
- "line": 345,
+ "line": 341,
"symbol": "ThemeGradient.colorSpace",
"symbol_kind": "source.lang.swift.decl.var.instance",
"warning": "undocumented"
},
{
"file": "/Users/nfgrilo/Projects/luckymarmot/ThemeKit/Sources/ThemeGradient.swift",
- "line": 349,
+ "line": 345,
"symbol": "ThemeGradient.numberOfColorStops",
"symbol_kind": "source.lang.swift.decl.var.instance",
"warning": "undocumented"
},
{
"file": "/Users/nfgrilo/Projects/luckymarmot/ThemeKit/Sources/ThemeGradient.swift",
- "line": 353,
+ "line": 349,
"symbol": "ThemeGradient.getColor(_:location:at:)",
"symbol_kind": "source.lang.swift.decl.function.method.instance",
"warning": "undocumented"
},
{
"file": "/Users/nfgrilo/Projects/luckymarmot/ThemeKit/Sources/ThemeGradient.swift",
- "line": 357,
+ "line": 353,
"symbol": "ThemeGradient.interpolatedColor(atLocation:)",
"symbol_kind": "source.lang.swift.decl.function.method.instance",
"warning": "undocumented"
},
{
"file": "/Users/nfgrilo/Projects/luckymarmot/ThemeKit/Sources/ThemeImage.swift",
- "line": 320,
+ "line": 314,
"symbol": "ThemeImage.size",
"symbol_kind": "source.lang.swift.decl.var.instance",
"warning": "undocumented"
},
{
"file": "/Users/nfgrilo/Projects/luckymarmot/ThemeKit/Sources/ThemeImage.swift",
- "line": 329,
+ "line": 323,
"symbol": "ThemeImage.setName(_:)",
"symbol_kind": "source.lang.swift.decl.function.method.instance",
"warning": "undocumented"
},
{
"file": "/Users/nfgrilo/Projects/luckymarmot/ThemeKit/Sources/ThemeImage.swift",
- "line": 333,
+ "line": 327,
"symbol": "ThemeImage.name()",
"symbol_kind": "source.lang.swift.decl.function.method.instance",
"warning": "undocumented"
},
{
"file": "/Users/nfgrilo/Projects/luckymarmot/ThemeKit/Sources/ThemeImage.swift",
- "line": 337,
+ "line": 331,
"symbol": "ThemeImage.backgroundColor",
"symbol_kind": "source.lang.swift.decl.var.instance",
"warning": "undocumented"
},
{
"file": "/Users/nfgrilo/Projects/luckymarmot/ThemeKit/Sources/ThemeImage.swift",
- "line": 346,
+ "line": 340,
"symbol": "ThemeImage.usesEPSOnResolutionMismatch",
"symbol_kind": "source.lang.swift.decl.var.instance",
"warning": "undocumented"
},
{
"file": "/Users/nfgrilo/Projects/luckymarmot/ThemeKit/Sources/ThemeImage.swift",
- "line": 355,
+ "line": 349,
"symbol": "ThemeImage.prefersColorMatch",
"symbol_kind": "source.lang.swift.decl.var.instance",
"warning": "undocumented"
},
{
"file": "/Users/nfgrilo/Projects/luckymarmot/ThemeKit/Sources/ThemeImage.swift",
- "line": 364,
+ "line": 358,
"symbol": "ThemeImage.matchesOnMultipleResolution",
"symbol_kind": "source.lang.swift.decl.var.instance",
"warning": "undocumented"
},
{
"file": "/Users/nfgrilo/Projects/luckymarmot/ThemeKit/Sources/ThemeImage.swift",
- "line": 373,
+ "line": 367,
"symbol": "ThemeImage.matchesOnlyOnBestFittingAxis",
"symbol_kind": "source.lang.swift.decl.var.instance",
"warning": "undocumented"
},
{
"file": "/Users/nfgrilo/Projects/luckymarmot/ThemeKit/Sources/ThemeImage.swift",
- "line": 382,
+ "line": 376,
"symbol": "ThemeImage.draw(at:from:operation:fraction:)",
"symbol_kind": "source.lang.swift.decl.function.method.instance",
"warning": "undocumented"
},
{
"file": "/Users/nfgrilo/Projects/luckymarmot/ThemeKit/Sources/ThemeImage.swift",
- "line": 386,
+ "line": 380,
"symbol": "ThemeImage.draw(in:from:operation:fraction:)",
"symbol_kind": "source.lang.swift.decl.function.method.instance",
"warning": "undocumented"
},
{
"file": "/Users/nfgrilo/Projects/luckymarmot/ThemeKit/Sources/ThemeImage.swift",
- "line": 390,
+ "line": 384,
"symbol": "ThemeImage.draw(in:from:operation:fraction:respectFlipped:hints:)",
"symbol_kind": "source.lang.swift.decl.function.method.instance",
"warning": "undocumented"
},
{
"file": "/Users/nfgrilo/Projects/luckymarmot/ThemeKit/Sources/ThemeImage.swift",
- "line": 394,
+ "line": 388,
"symbol": "ThemeImage.drawRepresentation(_:in:)",
"symbol_kind": "source.lang.swift.decl.function.method.instance",
"warning": "undocumented"
},
{
"file": "/Users/nfgrilo/Projects/luckymarmot/ThemeKit/Sources/ThemeImage.swift",
- "line": 398,
+ "line": 392,
"symbol": "ThemeImage.draw(in:)",
"symbol_kind": "source.lang.swift.decl.function.method.instance",
"warning": "undocumented"
},
{
"file": "/Users/nfgrilo/Projects/luckymarmot/ThemeKit/Sources/ThemeImage.swift",
- "line": 402,
+ "line": 396,
"symbol": "ThemeImage.recache()",
"symbol_kind": "source.lang.swift.decl.function.method.instance",
"warning": "undocumented"
},
{
"file": "/Users/nfgrilo/Projects/luckymarmot/ThemeKit/Sources/ThemeImage.swift",
- "line": 406,
+ "line": 400,
"symbol": "ThemeImage.tiffRepresentation",
"symbol_kind": "source.lang.swift.decl.var.instance",
"warning": "undocumented"
},
{
"file": "/Users/nfgrilo/Projects/luckymarmot/ThemeKit/Sources/ThemeImage.swift",
- "line": 410,
+ "line": 404,
"symbol": "ThemeImage.tiffRepresentation(using:factor:)",
"symbol_kind": "source.lang.swift.decl.function.method.instance",
"warning": "undocumented"
},
{
"file": "/Users/nfgrilo/Projects/luckymarmot/ThemeKit/Sources/ThemeImage.swift",
- "line": 414,
+ "line": 408,
"symbol": "ThemeImage.representations",
"symbol_kind": "source.lang.swift.decl.var.instance",
"warning": "undocumented"
},
{
"file": "/Users/nfgrilo/Projects/luckymarmot/ThemeKit/Sources/ThemeImage.swift",
- "line": 418,
+ "line": 412,
"symbol": "ThemeImage.addRepresentations(_:)",
"symbol_kind": "source.lang.swift.decl.function.method.instance",
"warning": "undocumented"
},
{
"file": "/Users/nfgrilo/Projects/luckymarmot/ThemeKit/Sources/ThemeImage.swift",
- "line": 422,
+ "line": 416,
"symbol": "ThemeImage.addRepresentation(_:)",
"symbol_kind": "source.lang.swift.decl.function.method.instance",
"warning": "undocumented"
},
{
"file": "/Users/nfgrilo/Projects/luckymarmot/ThemeKit/Sources/ThemeImage.swift",
- "line": 426,
+ "line": 420,
"symbol": "ThemeImage.removeRepresentation(_:)",
"symbol_kind": "source.lang.swift.decl.function.method.instance",
"warning": "undocumented"
},
{
"file": "/Users/nfgrilo/Projects/luckymarmot/ThemeKit/Sources/ThemeImage.swift",
- "line": 430,
+ "line": 424,
"symbol": "ThemeImage.isValid",
"symbol_kind": "source.lang.swift.decl.var.instance",
"warning": "undocumented"
},
{
"file": "/Users/nfgrilo/Projects/luckymarmot/ThemeKit/Sources/ThemeImage.swift",
- "line": 434,
+ "line": 428,
"symbol": "ThemeImage.lockFocus()",
"symbol_kind": "source.lang.swift.decl.function.method.instance",
"warning": "undocumented"
},
{
"file": "/Users/nfgrilo/Projects/luckymarmot/ThemeKit/Sources/ThemeImage.swift",
- "line": 438,
+ "line": 432,
"symbol": "ThemeImage.lockFocusFlipped(_:)",
"symbol_kind": "source.lang.swift.decl.function.method.instance",
"warning": "undocumented"
},
{
"file": "/Users/nfgrilo/Projects/luckymarmot/ThemeKit/Sources/ThemeImage.swift",
- "line": 442,
+ "line": 436,
"symbol": "ThemeImage.unlockFocus()",
"symbol_kind": "source.lang.swift.decl.function.method.instance",
"warning": "undocumented"
},
{
"file": "/Users/nfgrilo/Projects/luckymarmot/ThemeKit/Sources/ThemeImage.swift",
- "line": 446,
+ "line": 440,
"symbol": "ThemeImage.delegate",
"symbol_kind": "source.lang.swift.decl.var.instance",
"warning": "undocumented"
},
{
"file": "/Users/nfgrilo/Projects/luckymarmot/ThemeKit/Sources/ThemeImage.swift",
- "line": 455,
+ "line": 449,
"symbol": "ThemeImage.cancelIncrementalLoad()",
"symbol_kind": "source.lang.swift.decl.function.method.instance",
"warning": "undocumented"
},
{
"file": "/Users/nfgrilo/Projects/luckymarmot/ThemeKit/Sources/ThemeImage.swift",
- "line": 459,
+ "line": 453,
"symbol": "ThemeImage.cacheMode",
"symbol_kind": "source.lang.swift.decl.var.instance",
"warning": "undocumented"
},
{
"file": "/Users/nfgrilo/Projects/luckymarmot/ThemeKit/Sources/ThemeImage.swift",
- "line": 468,
+ "line": 462,
"symbol": "ThemeImage.alignmentRect",
"symbol_kind": "source.lang.swift.decl.var.instance",
"warning": "undocumented"
},
{
"file": "/Users/nfgrilo/Projects/luckymarmot/ThemeKit/Sources/ThemeImage.swift",
- "line": 477,
+ "line": 471,
"symbol": "ThemeImage.isTemplate",
"symbol_kind": "source.lang.swift.decl.var.instance",
"warning": "undocumented"
},
{
"file": "/Users/nfgrilo/Projects/luckymarmot/ThemeKit/Sources/ThemeImage.swift",
- "line": 486,
+ "line": 480,
"symbol": "ThemeImage.accessibilityDescription",
"symbol_kind": "source.lang.swift.decl.var.instance",
"warning": "undocumented"
},
{
"file": "/Users/nfgrilo/Projects/luckymarmot/ThemeKit/Sources/ThemeImage.swift",
- "line": 495,
+ "line": 489,
"symbol": "ThemeImage.cgImage(forProposedRect:context:hints:)",
"symbol_kind": "source.lang.swift.decl.function.method.instance",
"warning": "undocumented"
},
{
"file": "/Users/nfgrilo/Projects/luckymarmot/ThemeKit/Sources/ThemeImage.swift",
- "line": 499,
+ "line": 493,
"symbol": "ThemeImage.bestRepresentation(for:context:hints:)",
"symbol_kind": "source.lang.swift.decl.function.method.instance",
"warning": "undocumented"
},
{
"file": "/Users/nfgrilo/Projects/luckymarmot/ThemeKit/Sources/ThemeImage.swift",
- "line": 503,
+ "line": 497,
"symbol": "ThemeImage.hitTest(_:withDestinationRect:context:hints:flipped:)",
"symbol_kind": "source.lang.swift.decl.function.method.instance",
"warning": "undocumented"
},
{
"file": "/Users/nfgrilo/Projects/luckymarmot/ThemeKit/Sources/ThemeImage.swift",
- "line": 507,
+ "line": 501,
"symbol": "ThemeImage.recommendedLayerContentsScale(_:)",
"symbol_kind": "source.lang.swift.decl.function.method.instance",
"warning": "undocumented"
},
{
"file": "/Users/nfgrilo/Projects/luckymarmot/ThemeKit/Sources/ThemeImage.swift",
- "line": 511,
+ "line": 505,
"symbol": "ThemeImage.layerContents(forContentsScale:)",
"symbol_kind": "source.lang.swift.decl.function.method.instance",
"warning": "undocumented"
},
{
"file": "/Users/nfgrilo/Projects/luckymarmot/ThemeKit/Sources/ThemeImage.swift",
- "line": 515,
+ "line": 509,
"symbol": "ThemeImage.capInsets",
"symbol_kind": "source.lang.swift.decl.var.instance",
"warning": "undocumented"
},
{
"file": "/Users/nfgrilo/Projects/luckymarmot/ThemeKit/Sources/ThemeImage.swift",
- "line": 524,
+ "line": 518,
"symbol": "ThemeImage.resizingMode",
"symbol_kind": "source.lang.swift.decl.var.instance",
"warning": "undocumented"
},
{
"file": "/Users/nfgrilo/Projects/luckymarmot/ThemeKit/Sources/ThemeManager.swift",
- "line": 429,
+ "line": 427,
"symbol": "ThemeManager.observeValue(forKeyPath:of:change:context:)",
"symbol_kind": "source.lang.swift.decl.function.method.instance",
"warning": "undocumented"
},
{
"file": "/Users/nfgrilo/Projects/luckymarmot/ThemeKit/Sources/UserTheme.swift",
- "line": 230,
+ "line": 225,
"symbol": "UserTheme.description",
"symbol_kind": "source.lang.swift.decl.var.instance",
"warning": "undocumented"