Skip to content

Liquid Glass and Apple Music touches for the Spotify iOS app. A GPL-3.0 fork of spoti.pw 0.21.1.

C
900 B
Raw Blame
// The native look's appearance: the AMOLED background (Amoled.x), the accent color in place of
// Spotify's green (Accent.x), the soft top edge (EdgeEffect.x) and Repaint.x, which keeps what the
// native tweaks stripped transparent when Spotify repaints it. The switches are off until asked for.
#import <UIKit/UIKit.h>

#define SGKeyAmoled @"spotifyglass.amoled"
#define SGKeyAccent @"spotifyglass.accent"   // 0xRRGGBB; unset or negative keeps Spotify's own green
// The last color picked, kept while a preset is in place so Custom brings it back.
#define SGKeyAccentCustom @"spotifyglass.accent.custom"

UIColor *SGAccentColor(void);   // nil while Spotify's own green is kept
NSInteger SGAccentRGB(void);    // the color in effect, 0xRRGGBB, Spotify's green included

@class SGModRow;
NSArray<SGModRow *> *SGNativeAppearanceRows(void);   // AMOLED and the accent color, for the Appearance page