//
//  BFColorPaletteInfo.h
//  GlyphsKit
//
//  Created by Florian Pircher on 17.01.25.
//  Copyright © 2025 schriftgestaltung.de. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

typedef NS_ENUM(uint8_t, BFColorBackground) {
	BFColorBackgroundUnknown,
	BFColorBackgroundLight,
	BFColorBackgroundDark,
};

@interface BFColorPaletteInfo : NSObject

/// Transferable representation of `GSPalettes`. `nil` when only the text color (0xFFFF) can be selected.
@property (strong, nullable) NSDictionary<NSString *, id> *palettes;
@property (assign) BFColorBackground colorBackground;

- (instancetype)initWithPalettes:(nullable NSDictionary<NSString *, id> *)palettes colorBackground:(BFColorBackground)colorBackground;

@end

NS_ASSUME_NONNULL_END
