Winter โ17 tokens
iOS static library for Salesforce Lightning Design System Tokens
Add to your Podfile:
pod 'DesignSystem'
run
pod install
See more info
#import <DesignSystem/DesignSystem.h>
...
UIColor* c = [UIColor sldsColorText:SLDSColorTextInverse];
#import <DesignSystem/DesignSystem.h>
...
UIFont* f = [UIFont sldsFontLightWithSize:SLDSFontSizeXLarge];
#import <DesignSystem/DesignSystem.h>
...
UIImage *icon = [UIImage sldsIconAction:SLDSIconActionNewCustom98 withSize:20.0f];
#import <DesignSystem/DesignSystem.h>
...
UIImage *icon = [UIImage sldsIconCustom:SLDSIconCustom1 withSize:20.0f];
#import <DesignSystem/DesignSystem.h>
...
UIImage *icon = [UIImage sldsIconStandard:SLDSIconStandardAccount withSize:20.0f];
#import <DesignSystem/DesignSystem.h>
...
UIImage *icon = [UIImage sldsIconUtility:SLDSIconUtility3dots withSize:20.0f];
See Demo App for sample code:
$ npm install
$ npm start