Commit b1e0643
Generate the Semantic Colours as class members in Swift. (#86)
* Drop the color prefix from Swift token names.
* Generate (semantic) colours in Swift as class members
Move core colours into their own class but leaving them as static.
* Fix comparison.
Co-authored-by: Robin <[email protected]>
* Fix another comparison.
Co-authored-by: Robin <[email protected]>1 parent 240fb7d commit b1e0643
File tree
322 files changed
+842
-778
lines changed- assets/ios/swift
- Colors.xcassets
- alphaBlue100.colorset
- alphaBlue1000.colorset
- alphaBlue1100.colorset
- alphaBlue1200.colorset
- alphaBlue1300.colorset
- alphaBlue1400.colorset
- alphaBlue200.colorset
- alphaBlue300.colorset
- alphaBlue400.colorset
- alphaBlue500.colorset
- alphaBlue600.colorset
- alphaBlue700.colorset
- alphaBlue800.colorset
- alphaBlue900.colorset
- alphaCyan100.colorset
- alphaCyan1000.colorset
- alphaCyan1100.colorset
- alphaCyan1200.colorset
- alphaCyan1300.colorset
- alphaCyan1400.colorset
- alphaCyan200.colorset
- alphaCyan300.colorset
- alphaCyan400.colorset
- alphaCyan500.colorset
- alphaCyan600.colorset
- alphaCyan700.colorset
- alphaCyan800.colorset
- alphaCyan900.colorset
- alphaFuchsia100.colorset
- alphaFuchsia1000.colorset
- alphaFuchsia1100.colorset
- alphaFuchsia1200.colorset
- alphaFuchsia1300.colorset
- alphaFuchsia1400.colorset
- alphaFuchsia200.colorset
- alphaFuchsia300.colorset
- alphaFuchsia400.colorset
- alphaFuchsia500.colorset
- alphaFuchsia600.colorset
- alphaFuchsia700.colorset
- alphaFuchsia800.colorset
- alphaFuchsia900.colorset
- alphaGray100.colorset
- alphaGray1000.colorset
- alphaGray1100.colorset
- alphaGray1200.colorset
- alphaGray1300.colorset
- alphaGray1400.colorset
- alphaGray200.colorset
- alphaGray300.colorset
- alphaGray400.colorset
- alphaGray500.colorset
- alphaGray600.colorset
- alphaGray700.colorset
- alphaGray800.colorset
- alphaGray900.colorset
- alphaGreen100.colorset
- alphaGreen1000.colorset
- alphaGreen1100.colorset
- alphaGreen1200.colorset
- alphaGreen1300.colorset
- alphaGreen1400.colorset
- alphaGreen200.colorset
- alphaGreen300.colorset
- alphaGreen400.colorset
- alphaGreen500.colorset
- alphaGreen600.colorset
- alphaGreen700.colorset
- alphaGreen800.colorset
- alphaGreen900.colorset
- alphaLime100.colorset
- alphaLime1000.colorset
- alphaLime1100.colorset
- alphaLime1200.colorset
- alphaLime1300.colorset
- alphaLime1400.colorset
- alphaLime200.colorset
- alphaLime300.colorset
- alphaLime400.colorset
- alphaLime500.colorset
- alphaLime600.colorset
- alphaLime700.colorset
- alphaLime800.colorset
- alphaLime900.colorset
- alphaOrange100.colorset
- alphaOrange1000.colorset
- alphaOrange1100.colorset
- alphaOrange1200.colorset
- alphaOrange1300.colorset
- alphaOrange1400.colorset
- alphaOrange200.colorset
- alphaOrange300.colorset
- alphaOrange400.colorset
- alphaOrange500.colorset
- alphaOrange600.colorset
- alphaOrange700.colorset
- alphaOrange800.colorset
- alphaOrange900.colorset
- alphaPink100.colorset
- alphaPink1000.colorset
- alphaPink1100.colorset
- alphaPink1200.colorset
- alphaPink1300.colorset
- alphaPink1400.colorset
- alphaPink200.colorset
- alphaPink300.colorset
- alphaPink400.colorset
- alphaPink500.colorset
- alphaPink600.colorset
- alphaPink700.colorset
- alphaPink800.colorset
- alphaPink900.colorset
- alphaPurple100.colorset
- alphaPurple1000.colorset
- alphaPurple1100.colorset
- alphaPurple1200.colorset
- alphaPurple1300.colorset
- alphaPurple1400.colorset
- alphaPurple200.colorset
- alphaPurple300.colorset
- alphaPurple400.colorset
- alphaPurple500.colorset
- alphaPurple600.colorset
- alphaPurple700.colorset
- alphaPurple800.colorset
- alphaPurple900.colorset
- alphaRed100.colorset
- alphaRed1000.colorset
- alphaRed1100.colorset
- alphaRed1200.colorset
- alphaRed1300.colorset
- alphaRed1400.colorset
- alphaRed200.colorset
- alphaRed300.colorset
- alphaRed400.colorset
- alphaRed500.colorset
- alphaRed600.colorset
- alphaRed700.colorset
- alphaRed800.colorset
- alphaRed900.colorset
- alphaYellow100.colorset
- alphaYellow1000.colorset
- alphaYellow1100.colorset
- alphaYellow1200.colorset
- alphaYellow1300.colorset
- alphaYellow1400.colorset
- alphaYellow200.colorset
- alphaYellow300.colorset
- alphaYellow400.colorset
- alphaYellow500.colorset
- alphaYellow600.colorset
- alphaYellow700.colorset
- alphaYellow800.colorset
- alphaYellow900.colorset
- blue100.colorset
- blue1000.colorset
- blue1100.colorset
- blue1200.colorset
- blue1300.colorset
- blue1400.colorset
- blue200.colorset
- blue300.colorset
- blue400.colorset
- blue500.colorset
- blue600.colorset
- blue700.colorset
- blue800.colorset
- blue900.colorset
- cyan100.colorset
- cyan1000.colorset
- cyan1100.colorset
- cyan1200.colorset
- cyan1300.colorset
- cyan1400.colorset
- cyan200.colorset
- cyan300.colorset
- cyan400.colorset
- cyan500.colorset
- cyan600.colorset
- cyan700.colorset
- cyan800.colorset
- cyan900.colorset
- fuchsia100.colorset
- fuchsia1000.colorset
- fuchsia1100.colorset
- fuchsia1200.colorset
- fuchsia1300.colorset
- fuchsia1400.colorset
- fuchsia200.colorset
- fuchsia300.colorset
- fuchsia400.colorset
- fuchsia500.colorset
- fuchsia600.colorset
- fuchsia700.colorset
- fuchsia800.colorset
- fuchsia900.colorset
- gray100.colorset
- gray1000.colorset
- gray1100.colorset
- gray1200.colorset
- gray1300.colorset
- gray1400.colorset
- gray200.colorset
- gray300.colorset
- gray400.colorset
- gray500.colorset
- gray600.colorset
- gray700.colorset
- gray800.colorset
- gray900.colorset
- green100.colorset
- green1000.colorset
- green1100.colorset
- green1200.colorset
- green1300.colorset
- green1400.colorset
- green200.colorset
- green300.colorset
- green400.colorset
- green500.colorset
- green600.colorset
- green700.colorset
- green800.colorset
- green900.colorset
- lime100.colorset
- lime1000.colorset
- lime1100.colorset
- lime1200.colorset
- lime1300.colorset
- lime1400.colorset
- lime200.colorset
- lime300.colorset
- lime400.colorset
- lime500.colorset
- lime600.colorset
- lime700.colorset
- lime800.colorset
- lime900.colorset
- orange100.colorset
- orange1000.colorset
- orange1100.colorset
- orange1200.colorset
- orange1300.colorset
- orange1400.colorset
- orange200.colorset
- orange300.colorset
- orange400.colorset
- orange500.colorset
- orange600.colorset
- orange700.colorset
- orange800.colorset
- orange900.colorset
- pink100.colorset
- pink1000.colorset
- pink1100.colorset
- pink1200.colorset
- pink1300.colorset
- pink1400.colorset
- pink200.colorset
- pink300.colorset
- pink400.colorset
- pink500.colorset
- pink600.colorset
- pink700.colorset
- pink800.colorset
- pink900.colorset
- purple100.colorset
- purple1000.colorset
- purple1100.colorset
- purple1200.colorset
- purple1300.colorset
- purple1400.colorset
- purple200.colorset
- purple300.colorset
- purple400.colorset
- purple500.colorset
- purple600.colorset
- purple700.colorset
- purple800.colorset
- purple900.colorset
- red100.colorset
- red1000.colorset
- red1100.colorset
- red1200.colorset
- red1300.colorset
- red1400.colorset
- red200.colorset
- red300.colorset
- red400.colorset
- red500.colorset
- red600.colorset
- red700.colorset
- red800.colorset
- red900.colorset
- themeBg.colorset
- yellow100.colorset
- yellow1000.colorset
- yellow1100.colorset
- yellow1200.colorset
- yellow1300.colorset
- yellow1400.colorset
- yellow200.colorset
- yellow300.colorset
- yellow400.colorset
- yellow500.colorset
- yellow600.colorset
- yellow700.colorset
- yellow800.colorset
- yellow900.colorset
- src
- actions/swift
- configs
- formats/templates/swift
- transforms/swift
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
322 files changed
+842
-778
lines changedFile renamed without changes.
0 commit comments