-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
REFACT :: [#327] Assets Extension 생성
- Loading branch information
Showing
3 changed files
with
177 additions
and
0 deletions.
There are no files selected for viewing
54 changes: 54 additions & 0 deletions
54
Projects/Modules/DSKit/Sources/Extension/Color/UIColor+.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
import UIKit | ||
|
||
public extension UIColor { | ||
|
||
//MARK: blue | ||
static let blue50 = DSKitAsset.Colors.blue50.color | ||
static let blue100 = DSKitAsset.Colors.blue100.color | ||
static let blue200 = DSKitAsset.Colors.blue200.color | ||
static let blue300 = DSKitAsset.Colors.blue300.color | ||
static let blue400 = DSKitAsset.Colors.blue400.color | ||
static let blue500 = DSKitAsset.Colors.blue500.color | ||
static let blue600 = DSKitAsset.Colors.blue600.color | ||
static let blue700 = DSKitAsset.Colors.blue700.color | ||
static let blue800 = DSKitAsset.Colors.blue800.color | ||
static let blue900 = DSKitAsset.Colors.blue900.color | ||
|
||
//MARK: gray | ||
static let gray25 = DSKitAsset.Colors.gray25.color | ||
static let gray50 = DSKitAsset.Colors.gray50.color | ||
static let gray100 = DSKitAsset.Colors.gray100.color | ||
static let gray200 = DSKitAsset.Colors.gray200.color | ||
static let gray300 = DSKitAsset.Colors.gray300.color | ||
static let gray400 = DSKitAsset.Colors.gray400.color | ||
static let gray500 = DSKitAsset.Colors.gray500.color | ||
static let gray600 = DSKitAsset.Colors.gray600.color | ||
static let gray700 = DSKitAsset.Colors.gray700.color | ||
static let gray800 = DSKitAsset.Colors.gray800.color | ||
static let gray900 = DSKitAsset.Colors.gray900.color | ||
|
||
//MARK: red | ||
static let red50 = DSKitAsset.Colors.red50.color | ||
static let red100 = DSKitAsset.Colors.red100.color | ||
static let red200 = DSKitAsset.Colors.red200.color | ||
static let red300 = DSKitAsset.Colors.red300.color | ||
static let red400 = DSKitAsset.Colors.red400.color | ||
static let red500 = DSKitAsset.Colors.red500.color | ||
static let red600 = DSKitAsset.Colors.red600.color | ||
static let red700 = DSKitAsset.Colors.red700.color | ||
static let red800 = DSKitAsset.Colors.red800.color | ||
static let red900 = DSKitAsset.Colors.red900.color | ||
|
||
//MARK: yellow | ||
static let yellow50 = DSKitAsset.Colors.yellow50.color | ||
static let yellow100 = DSKitAsset.Colors.yellow100.color | ||
static let yellow200 = DSKitAsset.Colors.yellow200.color | ||
static let yellow300 = DSKitAsset.Colors.yellow300.color | ||
static let yellow400 = DSKitAsset.Colors.yellow400.color | ||
static let yellow500 = DSKitAsset.Colors.yellow500.color | ||
static let yellow600 = DSKitAsset.Colors.yellow600.color | ||
static let yellow700 = DSKitAsset.Colors.yellow700.color | ||
static let yellow800 = DSKitAsset.Colors.yellow800.color | ||
static let yellow900 = DSKitAsset.Colors.yellow900.color | ||
|
||
} |
File renamed without changes.
123 changes: 123 additions & 0 deletions
123
Projects/Modules/DSKit/Sources/Extension/Image/UIImage+.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,123 @@ | ||
import UIKit | ||
|
||
public extension UIImage { | ||
//MARK: ActIcon | ||
static let bellActIcon = DSKitAsset.Assets.bellActIcon.image | ||
static let blackDosActIcon = DSKitAsset.Assets.blackDotsActIcon.image | ||
static let blackImageActIcon = DSKitAsset.Assets.blackImageActIcon.image | ||
static let blackSearchActIcon = DSKitAsset.Assets.blackSearchActIcon.image | ||
static let cameraActIcon = DSKitAsset.Assets.cameraActIcon.image | ||
static let commentActIcon = DSKitAsset.Assets.commentActIcon.image | ||
static let dotsActIcon = DSKitAsset.Assets.dotsActIcon.image | ||
static let grayDotsActIcon = DSKitAsset.Assets.grayDotsActIcon.image | ||
static let heartActIcon = DSKitAsset.Assets.heartActIcon.image | ||
static let imageActIcon = DSKitAsset.Assets.imageActIcon.image | ||
static let noCheckActIcon = DSKitAsset.Assets.noCheckActIcon.image | ||
static let pauseActIcon = DSKitAsset.Assets.pauseActIcon.image | ||
static let pencilActIcon = DSKitAsset.Assets.pencilActIcon.image | ||
static let playActIcon = DSKitAsset.Assets.playActIcon.image | ||
static let redHeartActIcon = DSKitAsset.Assets.redHaertActIcon.image | ||
static let searchActIcon = DSKitAsset.Assets.searchActIcon.image | ||
static let settingActIcon = DSKitAsset.Assets.settingActIcon.image | ||
static let shareActIcon = DSKitAsset.Assets.shareActIcon.image | ||
static let timerActIcon = DSKitAsset.Assets.timerActIcon.image | ||
static let trashActIcon = DSKitAsset.Assets.trashActIcon.image | ||
static let vibrationActIcon = DSKitAsset.Assets.vibrationActIcon.image | ||
static let volumeActIcon = DSKitAsset.Assets.volumeActIcon.image | ||
static let whitePencilActIcon = DSKitAsset.Assets.whitePencilActIcon.image | ||
static let yesCheckActIcon = DSKitAsset.Assets.yesCheckActIcon.image | ||
|
||
//MARK: Arrow | ||
static let blackLeftBarArrow = DSKitAsset.Assets.blackLeftBarArrow.image | ||
static let bottomArrow = DSKitAsset.Assets.bottomArrow.image | ||
static let leftBarArrow = DSKitAsset.Assets.leftBarArrow.image | ||
static let leftOpenArrow = DSKitAsset.Assets.leftOpenArrow.image | ||
static let redoArrow = DSKitAsset.Assets.redoArrow.image | ||
static let rightArrow = DSKitAsset.Assets.rightArrow.image | ||
static let topArrow = DSKitAsset.Assets.topArrow.image | ||
static let turnArrow = DSKitAsset.Assets.turnArrow.image | ||
|
||
//MARK: Calculation | ||
static let blackCancel = DSKitAsset.Assets.blackCancel.image | ||
static let blackMinus = DSKitAsset.Assets.blackMinus.image | ||
static let blackPlus = DSKitAsset.Assets.blackPlus.image | ||
static let blueCancel = DSKitAsset.Assets.blueCancel.image | ||
static let circleCancel = DSKitAsset.Assets.circleCancel.image | ||
static let grayCancel = DSKitAsset.Assets.grayCancel.image | ||
static let whiteAdd = DSKitAsset.Assets.whiteAdd.image | ||
static let whiteCancel = DSKitAsset.Assets.whiteCancel.image | ||
|
||
//MARK: Icons | ||
static let albumIcon = DSKitAsset.Assets.albumIcon.image | ||
static let basicProfileIcon = DSKitAsset.Assets.basicProfileIcon.image | ||
static let blackEarth = DSKitAsset.Assets.blackEarth.image | ||
static let blueArmIcon = DSKitAsset.Assets.blueArmIcon.image | ||
static let blueDumbellIcon = DSKitAsset.Assets.blueDumbelIcon.image | ||
static let blueEarthIcon = DSKitAsset.Assets.blueEarthIcon.image | ||
static let calculatorIcon = DSKitAsset.Assets.calculatorIcon.image | ||
static let cameraIcon = DSKitAsset.Assets.cameraIcon.image | ||
static let dietIcon = DSKitAsset.Assets.dietIcon.image | ||
static let earthIcon = DSKitAsset.Assets.earthIcon.image | ||
static let goalIcon = DSKitAsset.Assets.goalIcon.image | ||
static let introIcon = DSKitAsset.Assets.introIcon.image | ||
static let profileDotIcon = DSKitAsset.Assets.profileDotIcon.image | ||
static let timeIcon = DSKitAsset.Assets.timerIcon.image | ||
|
||
//MARK: TapBarIcon | ||
static let baHomeTapBar = DSKitAsset.Assets.baHomeTapBar | ||
static let baMuscleTapBar = DSKitAsset.Assets.baMuscleTapBar | ||
static let baPickleTapBar = DSKitAsset.Assets.baPickleTapBar | ||
static let baShopTapBar = DSKitAsset.Assets.baShopTapBar | ||
static let biHomeTapBar = DSKitAsset.Assets.blHomeTapBar | ||
static let biPeopleTapBar = DSKitAsset.Assets.blPeopleTapBar | ||
static let biPickleTapBar = DSKitAsset.Assets.blPickleTapBar | ||
static let biShopTapBar = DSKitAsset.Assets.blShopTapBar | ||
static let bPeopleTapBar = DSKitAsset.Assets.bPeopleTapBar | ||
static let whitePickle = DSKitAsset.Assets.whitePickle | ||
|
||
//MARK: Logo | ||
static let appleLogo = DSKitAsset.Assets.appleLogo.image | ||
static let googleLogo = DSKitAsset.Assets.googleLogo.image | ||
static let kakaoLogo = DSKitAsset.Assets.kakaoLogo.image | ||
static let mainLogo = DSKitAsset.Assets.mainLogo.image | ||
static let mainTextLogo = DSKitAsset.Assets.mainTextLogo.image | ||
|
||
//MARK: Exercise | ||
|
||
static let airSqt = DSKitAsset.Assets.airSqt.image | ||
static let archPushUp = DSKitAsset.Assets.archPushUp.image | ||
static let babelBackSqt = DSKitAsset.Assets.babelBackSqt.image | ||
static let babelBgrSplitSqt = DSKitAsset.Assets.babelBgrSplitSqt.image | ||
static let babelLow = DSKitAsset.Assets.babelLow.image | ||
static let backExtension = DSKitAsset.Assets.backExtension.image | ||
static let benchPress = DSKitAsset.Assets.benchPress.image | ||
static let bodyOverHeadSqt = DSKitAsset.Assets.bodyOverheadSqt.image | ||
static let bodySplitSqt = DSKitAsset.Assets.bodySplitSqt.image | ||
static let clapPushUp = DSKitAsset.Assets.clapPushUp.image | ||
static let closeGripPushUp = DSKitAsset.Assets.closeGripPushUp.image | ||
static let deeps = DSKitAsset.Assets.deeps.image | ||
static let dumbelBenchPress = DSKitAsset.Assets.dumbelBenchPress.image | ||
static let dumbelBgrSplitSqt = DSKitAsset.Assets.dumbelBgrSplitSqt.image | ||
static let dumbelGoblinSqt = DSKitAsset.Assets.dumbelGoblinSqt.image | ||
static let dumbelLow = DSKitAsset.Assets.dumbelLow.image | ||
static let dumbelSplitSqt = DSKitAsset.Assets.dumbelSplitSqt.image | ||
static let dumbelSqzPress = DSKitAsset.Assets.dumbelSqzPress.image | ||
static let FrontSqt = DSKitAsset.Assets.frontSqt.image | ||
static let goodMorningExercise = DSKitAsset.Assets.goodMorningExercise.image | ||
static let hinduPushUp = DSKitAsset.Assets.hinduPushUp.image | ||
static let hyperExtension = DSKitAsset.Assets.hyperExtension.image | ||
static let inClineBenchPress = DSKitAsset.Assets.inclineBenchPress.image | ||
static let inClineDumbelBenchPress = DSKitAsset.Assets.inclineDumbelBenchPress.image | ||
static let inclineDumbelLow = DSKitAsset.Assets.inclineDumbelLow.image | ||
static let invertedLow = DSKitAsset.Assets.invertedLow.image | ||
static let jumpSqt = DSKitAsset.Assets.jumpSqt.image | ||
static let lyingHeapAvdt = DSKitAsset.Assets.lyingHeapAvdt.image | ||
static let pullUp = DSKitAsset.Assets.pullUp.image | ||
static let pushUp = DSKitAsset.Assets.pushUp.image | ||
static let ratPullDown = DSKitAsset.Assets.ratPullDown.image | ||
static let runge = DSKitAsset.Assets.runge.image | ||
static let weightDeeps = DSKitAsset.Assets.weightDeeps.image | ||
|
||
//MARK: Sample | ||
|
||
} |