1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957 |
- //
- // KMAppearance.swift
- // PDF Reader Pro
- //
- // Created by tangchao on 2023/4/17.
- //
- import Cocoa
- let KMImageNameToolbarLeftPanel = "KMImageNameToolbarLeftPanel";
- let KMImageNameToolbarRightPanel = "KMImageNameToolbarRightPanel";
- let KMImageNameToolbarMinus = "KMImageNameToolbarMinus";
- let KMImageNameToolbarPlus = "KMImageNameToolbarPlus";
- let KMImageNameToolbarPrevious = "KMImageNameToolbarPrevious";
- let KMImageNameToolbarNext = "KMImageNameToolbarNext";
- let KMImageNameToolbarTools = "KMImageNameToolbarTools";
- let KMImageNameToolbarPageEdit = "KMImageNameToolbarPageEdit";
- let KMImageNameToolbarEdit = "KMImageNameToolbarEdit";
- let KMImageNameToolbarConvert = "KMImageNameToolbarConvert";
- let KMImageNameToolbarSettings = "KMImageNameToolbarSettings";
- let KMImageNameToolbarShare = "KMImageNameToolbarShare";
- let KMImageNameToolbarBack = "KMImageNameToolbarBack";
- let KMImageNameToolbarForward = "KMImageNameToolbarForward";
- let KMImageNameToolbarFirst = "KMImageNameToolbarFirst";
- let KMImageNameToolbarLast = "KMImageNameToolbarLast";
- let KMImageNameToolbarInfo = "KMImageNameToolbarInfo";
- let KMImageNameToolbarLines = "KMImageNameToolbarLines";
- let KMImageNameToolbarFont = "KMImageNameToolbarFont";
- let KMImageNameToolbarPrint = "KMImageNameToolbarPrint";
- let KMImageNameToolbarPlay = "KMImageNameToolbarPlay";
- let KMImageNameToolbarHome = "KMImageNameToolbarHome";
- let KMImageNameToolbarForm = "KMImageNameToolbarForm";
- let KMImageNameToolbarSelfSign = "KMImageNameToolbarSelfSign";
- let KMImageNameToolbarTextEdit = "KMImageNameToolbarTextEdit";
- let KMImageNameToolbarLeftPanelSelected = "KMImageNameToolbarLeftPanelSelected";
- let KMImageNameToolbarRightPanelSelected = "KMImageNameToolbarRightPanelSelected";
- let KMImageNameToolbarToolsSelected = "KMImageNameToolbarToolsSelected";
- let KMImageNameToolbarSettingsSelected = "KMImageNameToolbarSettingsSelected";
- let KMImageNameToolbarPageEditSelected = "KMImageNameToolbarPageEditSelected";
- let KMImageNameToolbarConvertSelected = "KMImageNameToolbarConvertSelected";
- let KMImageNameToolbarEditSelected = "KMImageNameToolbarEditSelected";
- let KMImageNameToolbarHomeSelected = "KMImageNameToolbarHomeSelected";
- let KMImageNameToolbarFormSelected = "KMImageNameToolbarFormSelected";
- let KMImageNameToolbarSelfSignSelected = "KMImageNameToolbarSelfSignSelected";
- let KMImageNameToolbarTextEditSelected = "KMImageNameToolbarTextEditSelected";
- let KMImageNameToolbarHand = "KMImageNameToolbarHand";
- let KMImageNameToolbarZoom = "KMImageNameToolbarZoom";
- let KMImageNameToolbarSelect = "KMImageNameToolbarSelect";
- let KMImageNameToolbarSelectZoom = "KMImageNameToolbarSelectZoom";
- let KMImageNameToolbarHighlight = "KMImageNameToolbarHighlight";
- let KMImageNameToolbarUnderline = "KMImageNameToolbarUnderline";
- let KMImageNameToolbarStrickout = "KMImageNameToolbarStrickout";
- let KMImageNameToolbarInk = "KMImageNameToolbarInk";
- let KMImageNameToolbarFreeText = "KMImageNameToolbarFreeText";
- let KMImageNameToolbarNote = "KMImageNameToolbarNote";
- let KMImageNameToolbarSquare = "KMImageNameToolbarSquare";
- let KMImageNameToolbarCircle = "KMImageNameToolbarCircle";
- let KMImageNameToolbarArrow = "KMImageNameToolbarArrow";
- let KMImageNameToolbarLine = "KMImageNameToolbarLine";
- let KMImageNameToolbarLink = "KMImageNameToolbarLink";
- let KMImageNameToolbarStamp = "KMImageNameToolbarStamp";
- let KMImageNameToolbarImage = "KMImageNameToolbarImage";
- let KMImageNameToolbarSign = "KMImageNameToolbarSign";
- let KMImageNameToolbarSet = "KMImageNameToolbarSet";
- let KMImageNameToolbarSpace = "KMImageNameToolbarSpace";
- let KMImageNameToolbarInsert = "KMImageNameToolbarInsert";
- let KMImageNameToolbarMerge = "KMImageNameToolbarMerge";
- let KMImageNameToolbarReplace = "KMImageNameToolbarReplace";
- let KMImageNameToolbarExtract = "KMImageNameToolbarExtract";
- let KMImageNameToolbarSplit = "KMImageNameToolbarSplit";
- let KMImageNameToolbarRotate = "KMImageNameToolbarRotate";
- let KMImageNameToolbarPaste = "KMImageNameToolbarPaste";
- let KMImageNameToolbarCopy = "KMImageNameToolbarCopy";
- let KMImageNameToolbarDelete = "KMImageNameToolbarDelete";
- let KMImageNameToolbarReverse = "KMImageNameToolbarReverse";
- let KMImageNameToolbarCompress = "KMImageNameToolbarCompress";
- let KMImageNameToolbarSercurity = "KMImageNameToolbarSercurity";
- let KMImageNameToolbarWatermark = "KMImageNameToolbarWatermark";
- let KMImageNameToolbarBackground = "KMImageNameToolbarBackground";
- let KMImageNameToolbarHeaderFooter = "KMImageNameToolbarHeaderFooter";
- let KMImageNameToolbarBates = "KMImageNameToolbarBates";
- let KMImageNameToolbarPDFToWord = "KMImageNameToolbarPDFToWord";
- let KMImageNameToolbarPDFToHtml = "KMImageNameToolbarPDFToHtml";
- let KMImageNameToolbarPDFToText = "KMImageNameToolbarPDFToText";
- let KMImageNameToolbarPDFToImage = "KMImageNameToolbarPDFToImage";
- let KMImageNameToolbarImageToPDF = "KMImageNameToolbarImageToPDF";
- let KMImageNameToolbarThemes = "KMImageNameToolbarThemes";
- let KMImageNameToolbarTurning = "KMImageNameToolbarTurning";
- let KMImageNameToolbarSplitScreen = "KMImageNameToolbarSplitScreen";
- let KMImageNameToolbarBreaks = "KMImageNameToolbarBreaks";
- let KMImageNameToolbarRotateRight = "KMImageNameToolbarRotateRight";
- let KMImageNameToolbarRotateLeft = "KMImageNameToolbarRotateLeft";
- let KMImageNameToolbarCrop = "KMImageNameToolbarCrop";
- let KMImageNameToolbarSnapshots = "KMImageNameToolbarSnapshots";
- let KMImageNamePanelContent = "KMImageNamePanelContent";
- let KMImageNamePanelRange = "KMImageNamePanelRange";
- let KMImageNamePanelAdd = "KMImageNamePanelAdd";
- let KMImageNamePanelDelete = "KMImageNamePanelDelete";
- let KMImageNamePanelFilter = "KMImageNamePanelFilter";
- let KMImageNamePanelExport = "KMImageNamePanelExport";
- let KMImageNamePanelPrint = "KMImageNamePanelPrint";
- let KMImageNamePanelSettings = "KMImageNamePanelSettings";
- let KMImageNameHomeDelete = "KMImageNameHomeDelete";
- let KMImageNameHomeDeleteHover = "KMImageNameHomeDeleteHover";
- let KMImageNameFormTextField = "KMImageNameFormTextField";
- let KMImageNameFormTable = "KMImageNameFormTable";
- let KMImageNameFormRadio = "KMImageNameFormRadio";
- let KMImageNameFormList = "KMImageNameFormList";
- let KMImageNameFormComboBox = "KMImageNameFormComboBox";
- let KMImageNameFormCheckBox = "KMImageNameFormCheckBox";
- let KMImageNameFormActionButton = "KMImageNameFormActionButton";
- let KMImageNameFormSignature = "KMImageNameFormSignature";
- let KMImageNameFormSegmentation = "KMImageNameFormSegmentation";
- let KMImageNameFormAlignment = "KMImageNameFormAlignment";
- let KMImageNameSelfSignCircle = "KMImageNameSelfSignCircle";
- let KMImageNameSelfSignCircleMouse = "KMImageNameSelfSignCircleMouse";
- let KMImageNameSelfSignCircleSel = "KMImageNameSelfSignCircleSel";
- let KMImageNameSelfSignDot = "KMImageNameSelfSignDot";
- let KMImageNameSelfSignDotSel = "KMImageNameSelfSignDotSel";
- let KMImageNameSelfSignFalse = "KMImageNameSelfSignFalse";
- let KMImageNameSelfSignFalseMouse = "KMImageNameSelfSignFalseMouse";
- let KMImageNameSelfSignFalseSel = "KMImageNameSelfSignFalseSel";
- let KMImageNameSelfSignTure = "KMImageNameSelfSignTure";
- let KMImageNameSelfSignTureMouse = "KMImageNameSelfSignTureMouse";
- let KMImageNameSelfSignTureSel = "KMImageNameSelfSignTureSel";
- let KMImageNameSelfSignLine = "KMImageNameSelfSignLine";
- let KMImageNameSelfSignLineSel = "KMImageNameSelfSignLineSel";
- let KMImageNameSelfSignLineMouse = "KMImageNameSelfSignLineMouse";
- let KMImageNameSelfSignDotMouse = "KMImageNameSelfSignDotMouse";
- let KMImageNameSelfSignProfile = "KMImageNameSelfSignProfile";
- let KMImageNameSelfSignDate = "KMImageNameSelfSignDate";
- let KMImageNameSelfSignDateMouse = "KMImageNameSelfSignDateMouse";
- let KMImageNameSplitOne = "KMImageNameSplitOne";
- let KMImageNameSplitOneSelect = "KMImageNameSplitOneSelect";
- let KMImageNameSplitHorizontal = "KMImageNameSplitHorizontal";
- let KMImageNameSplitHorizontalSelect = "KMImageNameSplitHorizontalSelect";
- let KMImageNameSplitVertical = "KMImageNameSplitVertical";
- let KMImageNameSplitVerticalSelect = "KMImageNameSplitVerticalSelect";
- //UX 改版
- //Home
- let KMImageNameUXIconHomeGuideNor = "KMImageNameUXIconHomeGuideNor";
- let KMImageNameUXIconHomeGuidePre = "KMImageNameUXIconHomeGuidePre";
- let KMImageNameUXIconHomeIosNor = "KMImageNameUXIconHomeIosNor";
- let KMImageNameUXIconHomeIosPre = "KMImageNameUXIconHomeIosPre";
- let KMImageNameUXIconHomeViewlistNor = "KMImageNameUXIconHomeViewlistNor";
- let KMImageNameUXIconHomeViewlistPre = "KMImageNameUXIconHomeViewlistPre";
- let KMImageNameUXIconHomeViewthumbnailNor = "KMImageNameUXIconHomeViewthumbnailNor";
- let KMImageNameUXIconHomeViewthumbnailPre = "KMImageNameUXIconHomeViewthumbnailPre";
- let KMImageNameUXIconHomeQuicktoolBackgroundNor = "KMImageNameUXIconHomeQuicktoolBackgroundNor";
- let KMImageNameUXIconHomeQuicktoolBatchNor = "KMImageNameUXIconHomeQuicktoolBatchNor";
- let KMImageNameUXIconHomeQuicktoolComprison = "KMImageNameUXIconHomeQuicktoolComprison";
- let KMImageNameUXIconHomeQuicktoolBatesNor = "KMImageNameUXIconHomeQuicktoolBatesNor";
- let KMImageNameUXIconHomeQuicktoolBookNor = "KMImageNameUXIconHomeQuicktoolBookNor";
- let KMImageNameUXIconHomeQuicktoolConvertNor = "KMImageNameUXIconHomeQuicktoolConvertNor";
- let KMImageNameUXIconHomeQuicktoolExcelNor = "KMImageNameUXIconHomeQuicktoolExcelNor";
- let KMImageNameUXIconHomeQuicktoolExtractNor = "KMImageNameUXIconHomeQuicktoolExtractNor";
- let KMImageNameUXIconHomeQuicktoolHeaderandfooterNor = "KMImageNameUXIconHomeQuicktoolHeaderandfooterNor";
- let KMImageNameUXIconHomeQuicktoolInsertNor = "KMImageNameUXIconHomeQuicktoolInsertNor";
- let KMImageNameUXIconHomeQuicktoolMergeNor = "KMImageNameUXIconHomeQuicktoolMergeNor";
- let KMImageNameUXIconHomeQuicktoolMultipageNor = "KMImageNameUXIconHomeQuicktoolMultipageNor";
- let KMImageNameUXIconHomeQuicktoolOcrNor = "KMImageNameUXIconHomeQuicktoolOcrNor";
- let KMImageNameUXIconHomeQuicktoolOptimizeNor = "KMImageNameUXIconHomeQuicktoolOptimizeNor";
- let KMImageNameUXIconHomeQuicktoolPageeditNor = "KMImageNameUXIconHomeQuicktoolPageeditNor";
- let KMImageNameUXIconHomeQuicktoolPdftoimgNor = "KMImageNameUXIconHomeQuicktoolPdftoimgNor";
- let KMImageNameUXIconHomeQuicktoolPosterNor = "KMImageNameUXIconHomeQuicktoolPosterNor";
- let KMImageNameUXIconHomeQuicktoolPPTNor = "KMImageNameUXIconHomeQuicktoolPPTNor";
- let KMImageNameUXIconHomeQuicktoolSafeNor = "KMImageNameUXIconHomeQuicktoolSafeNor";
- let KMImageNameUXIconHomeQuicktoolSplitNor = "KMImageNameUXIconHomeQuicktoolSplitNor";
- let KMImageNameUXIconHomeQuicktoolWatermarkNor = "KMImageNameUXIconHomeQuicktoolWatermarkNor";
- let KMImageNameUXIconHomeQuicktoolWordNor = "KMImageNameUXIconHomeQuicktoolWordNor";
- let KMImageNameUXIconHomeRemoveNor = "KMImageNameUXIconHomeRemoveNor";
- let KMImageNameUXIconHomeRemoveHov = "KMImageNameUXIconHomeRemoveHov";
- //Batch
- let KMImageNameUXIconBatchBackground = "KMImageNameUXIconBatchBackground";
- let KMImageNameUXIconBatchBates = "KMImageNameUXIconBatchBates";
- let KMImageNameUXIconBatchConvert = "KMImageNameUXIconBatchConvert";
- let KMImageNameUXIconBatchConvertOCR = "KMImageNameUXIconBatchConvertOCR";
- let KMImageNameUXIconBatchHeaderandfooter = "KMImageNameUXIconBatchHeaderandfooter";
- let KMImageNameUXIconBatchMerge = "KMImageNameUXIconBatchMerge";
- let KMImageNameUXIconBatchOptimize = "KMImageNameUXIconBatchOptimize";
- let KMImageNameUXIconBatchComparison = "KMImageNameUXIconBatchComparison";
- let KMImageNameUXIconBatchSafe = "KMImageNameUXIconBatchSafe";
- let KMImageNameUXIconBatchWatermark = "KMImageNameUXIconBatchWatermark";
- //Toolbar
- let KMImageNameUXIconToolbarConvertNor = "KMImageNameUXIconToolbarConvertNor";
- let KMImageNameUXIconToolbarConvertSel = "KMImageNameUXIconToolbarConvertSel";
- let KMImageNameUXIconToolbarEditNor = "KMImageNameUXIconToolbarEditNor";
- let KMImageNameUXIconToolbarEditSel = "KMImageNameUXIconToolbarEditSel";
- let KMImageNameUXIconToolbarRedactNor = "KMImageNameUXIconToolbarRedactNor";
- let KMImageNameUXIconToolbarRedactSel = "KMImageNameUXIconToolbarRedactSel";
- let KMImageNameUXIconToolbarEdittoolNor = "KMImageNameUXIconToolbarEdittoolNor";
- let KMImageNameUXIconToolbarEdittoolSel = "KMImageNameUXIconToolbarEdittoolSel";
- let KMImageNameUXIconToolbarFillsignNor = "KMImageNameUXIconToolbarFillsignNor";
- let KMImageNameUXIconToolbarFillsignSel = "KMImageNameUXIconToolbarFillsignSel";
- let KMImageNameUXIconToolbarFormNor = "KMImageNameUXIconToolbarFormNor";
- let KMImageNameUXIconToolbarFormSel = "KMImageNameUXIconToolbarFormSel";
- let KMImageNameUXIconToolbarMytoolsNor = "KMImageNameUXIconToolbarMytoolsNor";
- let KMImageNameUXIconToolbarMytoolsSel = "KMImageNameUXIconToolbarMytoolsSel";
- let KMImageNameUXIconToolbarPageeditNor = "KMImageNameUXIconToolbarPageeditNor";
- let KMImageNameUXIconToolbarPageeditSel = "KMImageNameUXIconToolbarPageeditSel";
- let KMImageNameUXIconToolbarPageviewNor = "KMImageNameUXIconToolbarPageviewNor";
- let KMImageNameUXIconToolbarPageviewSel = "KMImageNameUXIconToolbarPageviewSel";
- let KMImageNameUXIconToolbarShareNor = "KMImageNameUXIconToolbarShareNor";
- let KMImageNameUXIconToolbarShareSel = "KMImageNameUXIconToolbarShareSel";
- let KMImageNameUXIconToolbarZoominNor = "KMImageNameUXIconToolbarZoominNor";
- let KMImageNameUXIconToolbarZoominSel = "KMImageNameUXIconToolbarZoominSel";
- let KMImageNameUXIconToolbarZoomoutNor = "KMImageNameUXIconToolbarZoomoutNor";
- let KMImageNameToolbarZoomoutPre = "KMImageNameToolbarZoomoutPre";
- let KMImageNameToolbarBackwardNor = "KMImageNameToolbarBackwardNor";
- let KMImageNameToolbarBackwardSel = "KMImageNameToolbarBackwardSel";
- let KMImageNameToolbarFirstpageNor = "KMImageNameToolbarFirstpageNor";
- let KMImageNameToolbarFirstpageSel = "KMImageNameToolbarFirstpageSel";
- let KMImageNameToolbarForwardNor = "KMImageNameToolbarForwardNor";
- let KMImageNameToolbarForwardSel = "KMImageNameToolbarForwardSel";
- let KMImageNameToolbarHomeNor = "KMImageNameToolbarHomeNor";
- let KMImageNameToolbarHomeSel = "KMImageNameToolbarHomeSel";
- let KMImageNameToolbarLastpageNor = "KMImageNameToolbarLastpageNor";
- let KMImageNameToolbarLastpageSel = "KMImageNameToolbarLastpageSel";
- let KMImageNameToolbarPagenextNor = "KMImageNameToolbarPagenextNor";
- let KMImageNameToolbarPagenextSel = "KMImageNameToolbarPagenextSel";
- let KMImageNameToolbarPagepreviousNor = "KMImageNameToolbarPagepreviousNor";
- let KMImageNameToolbarPagepreviousSel = "KMImageNameToolbarPagepreviousSel";
- let KMImageNameToolbarSlideshowNor = "KMImageNameToolbarSlideshowNor";
- let KMImageNameToolbarSlideshowSel = "KMImageNameToolbarSlideshowSel";
- let KMImageNameToolbarFontNor = "KMImageNameToolbarFontNor";
- let KMImageNameToolbarFontSel = "KMImageNameToolbarFontSel";
- let KMImageNameToolbarInfoNor = "KMImageNameToolbarInfoNor";
- let KMImageNameToolbarInfoSel = "KMImageNameToolbarInfoSel";
- let KMImageNameToolbarOCRNor = "KMImageNameToolbarOCRNor";
- let KMImageNameToolbarOCRSel = "KMImageNameToolbarOCRSel";
- let KMImageNameToolbarPrintNor = "KMImageNameToolbarPrintNor";
- let KMImageNameToolbarPrintSel = "KMImageNameToolbarPrintSel";
- let KMImageNameToolbarStirkeNor = "KMImageNameToolbarStirkeNor";
- let KMImageNameToolbarStirkeSel = "KMImageNameToolbarStirkeSel";
- //ic_Subtoolbar
- let KMImageNameUXIconSubtoolbarConvertCreatPDF = "KMImageNameUXIconSubtoolbarConvertCreatpdf";
- let KMImageNameUXIconSubtoolbarConvertCSV = "KMImageNameUXIconSubtoolbarConvertCSV";
- let KMImageNameUXIconSubtoolbarConvertExcel = "KMImageNameUXIconSubtoolbarConvertExcel";
- let KMImageNameUXIconSubtoolbarConvertHtml = "KMImageNameUXIconSubtoolbarConvertHtml";
- let KMImageNameUXIconSubtoolbarConvertOCR = "KMImageNameUXIconSubtoolbarConvertOCR";
- let KMImageNameUXIconSubtoolbarConvertPDFToIMG = "KMImageNameUXIconSubtoolbarConvertPDFToIMG";
- let KMImageNameUXIconSubtoolbarConvertExportImage = "KMImageNameUXIconSubtoolbarConvertExportImage";
- let KMImageNameUXIconSubtoolbarConvertPPT = "KMImageNameUXIconSubtoolbarConvertPPT";
- let KMImageNameUXIconSubtoolbarConvertRTF = "KMImageNameUXIconSubtoolbarConvertRTF";
- let KMImageNameUXIconSubtoolbarConvertText = "KMImageNameUXIconSubtoolbarConvertText";
- let KMImageNameUXIconSubtoolbarConvertWord = "KMImageNameUXIconSubtoolbarConvertWord";
- let KMImageNameUXIconSubtoolbarDisplaySnapshot = "KMImageNameUXIconSubtoolbarDisplaySnapshot";
- let KMImageNameUXIconSubtoolbarDisplayTailor = "KMImageNameUXIconSubtoolbarDisplayTailor";
- let KMImageNameUXIconSubtoolbarDisplayTTS = "KMImageNameUXIconSubtoolbarDisplayTTS";
- let KMImageNameUXIconSubtoolbarDisplayView = "KMImageNameUXIconSubtoolbarDisplayView";
- let KMImageNameUXIconSubtoolbarEdittoolRemovepassword = "KMImageNameUXIconSubtoolbarEdittoolRemovepassword";
- let KMImageNameUXIconSubtoolbarEdittoolSafe = "KMImageNameUXIconSubtoolbarEdittoolSafe";
- let KMImageNameUXIconSubtoolbarFillsignDate = "KMImageNameUXIconSubtoolbarFillsignDate";
- let KMImageNameUXIconSubtoolbarFillsignDigitalsignature = "KMImageNameUXIconSubtoolbarFillsignDigitalsignature";
- let KMImageNameUXIconSubtoolbarFillsignFork = "KMImageNameUXIconSubtoolbarFillsignFork";
- let KMImageNameUXIconSubtoolbarFillsignLine = "KMImageNameUXIconSubtoolbarFillsignLine";
- let KMImageNameUXIconSubtoolbarFillsignMyprofile = "KMImageNameUXIconSubtoolbarFillsignMyprofile";
- let KMImageNameUXIconSubtoolbarFillsignMysignature = "KMImageNameUXIconSubtoolbarFillsignMysignature";
- let KMImageNameUXIconSubtoolbarFillsignPoint = "KMImageNameUXIconSubtoolbarFillsignPoint";
- let KMImageNameButtonRedactText = "KMImageNameButtonRedactText";
- let KMImageNameUXIconSubtoolbarFillsignRoundedrec = "KMImageNameUXIconSubtoolbarFillsignRoundedrec";
- let KMImageNameUXIconSubtoolbarFillsignTick = "KMImageNameUXIconSubtoolbarFillsignTick";
- let KMImageNameUXIconSubtoolbarFormButton = "KMImageNameUXIconSubtoolbarFormButton";
- let KMImageNameUXIconSubtoolbarFormCheckbox = "KMImageNameUXIconSubtoolbarFormCheckbox";
- let KMImageNameUXIconSubtoolbarFormListbox = "KMImageNameUXIconSubtoolbarFormListbox";
- let KMImageNameUXIconSubtoolbarFormPulldownmenu = "KMImageNameUXIconSubtoolbarFormPulldownmenu";
- let KMImageNameUXIconSubtoolbarFormRadiobutton = "KMImageNameUXIconSubtoolbarFormRadiobutton";
- let KMImageNameUXIconSubtoolbarFormSet = "KMImageNameUXIconSubtoolbarFormSet";
- let KMImageNameUXIconSubtoolbarFormSign = "KMImageNameUXIconSubtoolbarFormSign";
- let KMImageNameUXIconSubtoolbarFormClear = "KMImageNameUXIconSubtoolbarFormClear";
- let KMImageNameUXIconSubtoolbarFormTextfield = "KMImageNameUXIconSubtoolbarFormTextfield";
- let KMImageNameUXIconSubtoolbarMytoolsAreazoom = "KMImageNameUXIconSubtoolbarMytoolsAreazoom";
- let KMImageNameUXIconSubtoolbarMytoolsArrow = "KMImageNameUXIconSubtoolbarMytoolsArrow";
- let KMImageNameUXIconSubtoolbarMytoolsContentsel = "KMImageNameUXIconSubtoolbarMytoolsContentsel";
- let KMImageNameUXIconSubtoolbarMytoolsHighlight = "KMImageNameUXIconSubtoolbarMytoolsHighlight";
- let KMImageNameUXIconSubtoolbarMytoolsImage = "KMImageNameUXIconSubtoolbarMytoolsImage";
- let KMImageNameUXIconSubtoolbarMytoolsLine = "KMImageNameUXIconSubtoolbarMytoolsLine";
- let KMImageNameUXIconSubtoolbarMytoolsLink = "KMImageNameUXIconSubtoolbarMytoolsLink";
- let KMImageNameUXIconSubtoolbarMytoolsMagnifier = "KMImageNameUXIconSubtoolbarMytoolsMagnifier";
- let KMImageNameUXIconSubtoolbarMytoolsNote = "KMImageNameUXIconSubtoolbarMytoolsNote";
- let KMImageNameUXIconSubtoolbarMytoolsOval = "KMImageNameUXIconSubtoolbarMytoolsOval";
- let KMImageNameUXIconSubtoolbarMytoolsPantool = "KMImageNameUXIconSubtoolbarMytoolsPantool";
- let KMImageNameUXIconSubtoolbarMytoolsPen = "KMImageNameUXIconSubtoolbarMytoolsPen";
- let KMImageNameUXIconSubtoolbarMytoolsRec = "KMImageNameUXIconSubtoolbarMytoolsRec";
- let KMImageNameUXIconSubtoolbarMytoolsSign = "KMImageNameUXIconSubtoolbarMytoolsSign";
- let KMImageNameUXIconSubtoolbarMytoolsStamp = "KMImageNameUXIconSubtoolbarMytoolsStamp";
- let KMImageNameUXIconSubtoolbarMytoolsStrikeout = "KMImageNameUXIconSubtoolbarMytoolsStrikeout";
- let KMImageNameUXIconSubtoolbarMytoolsTable = "KMImageNameUXIconSubtoolbarMytoolsTable";
- let KMImageNameUXIconSubtoolbarMytoolsText = "KMImageNameUXIconSubtoolbarMytoolsText";
- let KMImageNameUXIconSubtoolbarMytoolsUnderline = "KMImageNameUXIconSubtoolbarMytoolsUnderline";
- let KMImageNameUXIconSubtoolbarPageCopy = "KMImageNameUXIconSubtoolbarPageCopy";
- let KMImageNameUXIconSubtoolbarPageDelete = "KMImageNameUXIconSubtoolbarPageDelete";
- let KMImageNameUXIconSubtoolbarPageExtract = "KMImageNameUXIconSubtoolbarPageExtract";
- let KMImageNameUXIconSubtoolbarPageInsert = "KMImageNameUXIconSubtoolbarPageInsert";
- let KMImageNameUXIconSubtoolbarPagePaste = "KMImageNameUXIconSubtoolbarPagePaste";
- let KMImageNameUXIconSubtoolbarPageRange = "KMImageNameUXIconSubtoolbarPageRange";
- let KMImageNameUXIconSubtoolbarPageReverse = "KMImageNameUXIconSubtoolbarPageReverse";
- let KMImageNameUXIconSubtoolbarPageRotate = "KMImageNameUXIconSubtoolbarPageRotate";
- let KMImageNameUXIconSubtoolbarPageSplit = "KMImageNameUXIconSubtoolbarPageSplit";
- let KMImageNameUXIconSubtoolbarPageTailor = "KMImageNameUXIconSubtoolbarPageTailor";
- //ic_Sidetabbar
- let KMImageNameUXIconSidetabbarAnnotationNor = "KMImageNameUXIconSidetabbarAnnotationNor";
- let KMImageNameUXIconSidetabbarAnnotationSel = "KMImageNameUXIconSidetabbarAnnotationSel";
- let KMImageNameUXIconSidetabbarOutlineNor = "KMImageNameUXIconSidetabbarOutlineNor";
- let KMImageNameUXIconSidetabbarOutlineSel = "KMImageNameUXIconSidetabbarOutlineSel";
- let KMImageNameUXIconSidetabbarSearchNor = "KMImageNameUXIconSidetabbarSearchNor";
- let KMImageNameUXIconSidetabbarSearchSel = "KMImageNameUXIconSidetabbarSearchSel";
- let KMImageNameUXIconSidetabbarSnapshotNor = "KMImageNameUXIconSidetabbarSnapshotNor";
- let KMImageNameUXIconSidetabbarSnapshotSel = "KMImageNameUXIconSidetabbarSnapshotSel";
- let KMImageNameUXIconSidetabbarThumbnailNor = "KMImageNameUXIconSidetabbarThumbnailNor";
- let KMImageNameUXIconSidetabbarThumbnailSel = "KMImageNameUXIconSidetabbarThumbnailSel";
- //ic_Sidebar
- let KMImageNameUXIconSidebarAnnotationFilterHightlightNor = "KMImageNameUXIconSidebarAnnotationFilterHightlightNor";
- let KMImageNameUXIconSidebarAnnotationFilterHightlightWhite = "KMImageNameUXIconSidebarAnnotationFilterHightlightWhite";
- let KMImageNameUXIconSidebarAnnotationFilterOvalNor = "KMImageNameUXIconSidebarAnnotationFilterOvalNor";
- let KMImageNameUXIconSidebarAnnotationFilterOvalWhite = "KMImageNameUXIconSidebarAnnotationFilterOvalWhite";
- let KMImageNameUXIconSidebarAnnotationFilterStampNor = "KMImageNameUXIconSidebarAnnotationFilterStampNor";
- let KMImageNameUXIconSidebarAnnotationFilterStampWhite = "KMImageNameUXIconSidebarAnnotationFilterStampWhite";
- let KMImageNameUXIconSidebarAnnotationFilterTextNor = "KMImageNameUXIconSidebarAnnotationFilterTextNor";
- let KMImageNameUXIconSidebarAnnotationFilterTextWhite = "KMImageNameUXIconSidebarAnnotationFilterTextWhite";
- let KMImageNameUXIconSidebarAnnotationFilterUnderlineNor = "KMImageNameUXIconSidebarAnnotationFilterUnderlineNor";
- let KMImageNameUXIconSidebarAnnotationFilterUnderlineWhite = "KMImageNameUXIconSidebarAnnotationFilterUnderlineWhite";
- let KMImageNameUXIconSidebarAnnotationHightlight = "KMImageNameUXIconSidebarAnnotationHightlight";
- let KMImageNameUXIconSidebarAnnotationOval = "KMImageNameUXIconSidebarAnnotationOval";
- let KMImageNameUXIconSidebarAnnotationStamp = "KMImageNameUXIconSidebarAnnotationStamp";
- let KMImageNameUXIconSidebarAnnotationText = "KMImageNameUXIconSidebarAnnotationText";
- let KMImageNameUXIconSidebarAnnotationUnderline = "KMImageNameUXIconSidebarAnnotationUnderline";
- let KMImageNameUXIconSidebarFormButton = "KMImageNameUXIconSidebarFormButton";
- let KMImageNameUXIconSidebarFormCheckbox = "KMImageNameUXIconSidebarFormCheckbox";
- let KMImageNameUXIconSidebarFormListbox = "KMImageNameUXIconSidebarFormListbox";
- let KMImageNameUXIconSidebarFormPulldownmenu = "KMImageNameUXIconSidebarFormPulldownmenu";
- let KMImageNameUXIconSidebarFormRadiobutton = "KMImageNameUXIconSidebarFormRadiobutton";
- let KMImageNameUXIconSidebarFormSign = "KMImageNameUXIconSidebarFormSign";
- let KMImageNameUXIconSidebarFormTextfield = "KMImageNameUXIconSidebarFormTextfield";
- let KMImageNameUXIconSidebarSnapshotWindowNor = "KMImageNameUXIconSidebarSnapshotWindowNor";
- let KMImageNameUXIconSidebarSnapshotWindowSel = "KMImageNameUXIconSidebarSnapshotWindowSel";
- let KMImageNameSidebarAnnotationLink = "KMImageNameSidebarAnnotationLink";
- let KMImageNameSidebarAnnotationImage = "KMImageNameSidebarAnnotationImage";
- let KMImageNameSidebarAnnotationSign = "KMImageNameSidebarAnnotationSign";
- let KMImageNameSidebarAnnotationTable = "KMImageNameSidebarAnnotationTable";
- let KMImageNameSidebarAnnotationMarkup = "KMImageNameSidebarAnnotationMarkup";
- let KMImageNameSidebarAnnotationNote = "KMImageNameSidebarAnnotationNote";
- //ic_Propertybar
- let KMImageNameUXIconPropertybarAlignDownNor = "KMImageNameUXIconPropertybarAlignDownNor";
- let KMImageNameUXIconPropertybarAlignDownPre = "KMImageNameUXIconPropertybarAlignDownPre";
- let KMImageNameUXIconPropertybarAlignHorcenterNor = "KMImageNameUXIconPropertybarAlignHorcenterNor";
- let KMImageNameUXIconPropertybarAlignHorcenterPre = "KMImageNameUXIconPropertybarAlignHorcenterPre";
- let KMImageNameUXIconPropertybarAlignHorsplitNor = "KMImageNameUXIconPropertybarAlignHorsplitNor";
- let KMImageNameUXIconPropertybarAlignHorsplitPre = "KMImageNameUXIconPropertybarAlignHorsplitPre";
- let KMImageNameUXIconPropertybarAlignLeftNor = "KMImageNameUXIconPropertybarAlignLeftNor";
- let KMImageNameUXIconPropertybarAlignLeftPre = "KMImageNameUXIconPropertybarAlignLeftPre";
- let KMImageNameUXIconPropertybarAlignLeftToor = "KMImageNameUXIconPropertybarAlignLeftToor";
- let KMImageNameUXIconPropertybarAlignRightNor = "KMImageNameUXIconPropertybarAlignRightNor";
- let KMImageNameUXIconPropertybarAlignRightPre = "KMImageNameUXIconPropertybarAlignRightPre";
- let KMImageNameUXIconPropertybarAlignUpNor = "KMImageNameUXIconPropertybarAlignUpNor";
- let KMImageNameUXIconPropertybarAlignUpPre = "KMImageNameUXIconPropertybarAlignUpPre";
- let KMImageNameUXIconPropertybarAlignVercenterNor = "KMImageNameUXIconPropertybarAlignVercenterNor";
- let KMImageNameUXIconPropertybarAlignVercenterPre = "KMImageNameUXIconPropertybarAlignVercenterPre";
- let KMImageNameUXIconPropertybarAlignVersplitNor = "KMImageNameUXIconPropertybarAlignVersplitNor";
- let KMImageNameUXIconPropertybarAlignVersplitPre = "KMImageNameUXIconPropertybarAlignVersplitPre";
- let KMImageNameUXIconPropertybarFileIMG = "KMImageNameUXIconPropertybarFileIMG";
- let KMImageNameUXIconPropertybarFilePdf = "KMImageNameUXIconPropertybarFilePdf";
- let KMImageNameUXIconPropertybarFillsignForkNor = "KMImageNameUXIconPropertybarFillsignForkNor";
- let KMImageNameUXIconPropertybarFillsignForkSel = "KMImageNameUXIconPropertybarFillsignForkSel";
- let KMImageNameUXIconPropertybarFillsignLineNor = "KMImageNameUXIconPropertybarFillsignLineNor";
- let KMImageNameUXIconPropertybarFillsignLineSel = "KMImageNameUXIconPropertybarFillsignLineSel";
- let KMImageNameUXIconPropertybarFillsignPointNor = "KMImageNameUXIconPropertybarFillsignPointNor";
- let KMImageNameUXIconPropertybarFillsignPointSel = "KMImageNameUXIconPropertybarFillsignPointSel";
- let KMImageNameUXIconPropertybarFillsignRoundedrecNor = "KMImageNameUXIconPropertybarFillsignRoundedrecNor";
- let KMImageNameUXIconPropertybarFillsignRoundedrecSel = "KMImageNameUXIconPropertybarFillsignRoundedrecSel";
- let KMImageNameUXIconPropertybarFillsignTickNor = "KMImageNameUXIconPropertybarFillsignTickNor";
- let KMImageNameUXIconPropertybarFillsignTickSel = "KMImageNameUXIconPropertybarFillsignTickSel";
- let KMImageNameUXIconPropertybarLinkEmail = "KMImageNameUXIconPropertybarLinkEmail";
- let KMImageNameUXIconPropertybarLinkPage = "KMImageNameUXIconPropertybarLinkPage";
- let KMImageNameUXIconPropertybarLinkUrl = "KMImageNameUXIconPropertybarLinkUrl";
- let KMImageNameUXIconPropertybarNoteAnnotationNor = "KMImageNameUXIconPropertybarNoteAnnotationNor";
- let KMImageNameUXIconPropertybarNoteAnnotationSel = "KMImageNameUXIconPropertybarNoteAnnotationSel";
- let KMImageNameUXIconPropertybarNoteHelpNor = "KMImageNameUXIconPropertybarNoteHelpNor";
- let KMImageNameUXIconPropertybarNoteHelpSel = "KMImageNameUXIconPropertybarNoteHelpSel";
- let KMImageNameUXIconPropertybarNoteInsertNor = "KMImageNameUXIconPropertybarNoteInsertNor";
- let KMImageNameUXIconPropertybarNoteInsertSel = "KMImageNameUXIconPropertybarNoteInsertSel";
- let KMImageNameUXIconPropertybarNoteKeywordNor = "KMImageNameUXIconPropertybarNoteKeywordNor";
- let KMImageNameUXIconPropertybarNoteKeywordSel = "KMImageNameUXIconPropertybarNoteKeywordSel";
- let KMImageNameUXIconPropertybarNoteNewparagraphNor = "KMImageNameUXIconPropertybarNoteNewparagraphNor";
- let KMImageNameUXIconPropertybarNoteNewparagraphSel = "KMImageNameUXIconPropertybarNoteNewparagraphSel";
- let KMImageNameUXIconPropertybarNoteNotesNor = "KMImageNameUXIconPropertybarNoteNotesNor";
- let KMImageNameUXIconPropertybarNoteNotesSel = "KMImageNameUXIconPropertybarNoteNotesSel";
- let KMImageNameUXIconPropertybarNoteParagraphNor = "KMImageNameUXIconPropertybarNoteParagraphNor";
- let KMImageNameUXIconPropertybarNoteParagraphSel = "KMImageNameUXIconPropertybarNoteParagraphSel";
- let KMImageNameUXIconPropertybarRotateClockwiseNor = "KMImageNameUXIconPropertybarRotateClockwiseNor";
- let KMImageNameUXIconPropertybarRotateClockwisePre = "KMImageNameUXIconPropertybarRotateClockwisePre";
- let KMImageNameUXIconPropertybarRotateCounterclockwiseNor = "KMImageNameUXIconPropertybarRotateCounterclockwiseNor";
- let KMImageNameUXIconPropertybarRotateCounterclockwisePre = "KMImageNameUXIconPropertybarRotateCounterclockwisePre";
- let KMImageNameUXIconPropertybarTableBottom = "KMImageNameUXIconPropertybarTableBottom";
- let KMImageNameUXIconPropertybarTableTitleAbove = "KMImageNameUXIconPropertybarTableTitleAbove";
- let KMImageNameUXIconPropertybarTableTitleLeft = "KMImageNameUXIconPropertybarTableTitleLeft";
- let KMImageNameUXIconPropertybarTextalignCenterNor = "KMImageNameUXIconPropertybarTextalignCenterNor";
- let KMImageNameUXIconPropertybarTextalignCenterSel = "KMImageNameUXIconPropertybarTextalignCenterSel";
- let KMImageNameUXIconPropertybarTextalignCenterWhite = "KMImageNameUXIconPropertybarTextalignCenterWhite";
- let KMImageNameUXIconPropertybarTextalignJustifyNor = "KMImageNameUXIconPropertybarTextalignJustifyNor";
- let KMImageNameUXIconPropertybarTextalignJustifySel = "KMImageNameUXIconPropertybarTextalignJustifySel";
- let KMImageNameUXIconPropertybarTextalignJustifyWhite = "KMImageNameUXIconPropertybarTextalignJustifyWhite";
- let KMImageNameUXIconPropertybarTextalignLeftNor = "KMImageNameUXIconPropertybarTextalignLeftNor";
- let KMImageNameUXIconPropertybarTextalignLeftSel = "KMImageNameUXIconPropertybarTextalignLeftSel";
- let KMImageNameUXIconPropertybarTextalignLeftWhite = "KMImageNameUXIconPropertybarTextalignLeftWhite";
- let KMImageNameUXIconPropertybarTextalignRightNor = "KMImageNameUXIconPropertybarTextalignRightNor";
- let KMImageNameUXIconPropertybarTextalignRightSel = "KMImageNameUXIconPropertybarTextalignRightSel";
- let KMImageNameUXIconPropertybarTextalignRightWhite = "KMImageNameUXIconPropertybarTextalignRightWhite";
- let KMImageNameUXIconPropertybarViewPagecoverNor = "KMImageNameUXIconPropertybarViewPagecoverNor";
- let KMImageNameUXIconPropertybarViewPagecoverSel = "KMImageNameUXIconPropertybarViewPagecoverSel";
- let KMImageNameUXIconPropertybarViewPagedoubleNor = "KMImageNameUXIconPropertybarViewPagedoubleNor";
- let KMImageNameUXIconPropertybarViewPagedoubleSel = "KMImageNameUXIconPropertybarViewPagedoubleSel";
- let KMImageNameUXIconPropertybarViewPagereadingNor = "KMImageNameUXIconPropertybarViewPagereadingNor";
- let KMImageNameUXIconPropertybarViewPagereadingSel = "KMImageNameUXIconPropertybarViewPagereadingSel";
- let KMImageNameUXIconPropertybarViewPagesingleNor = "KMImageNameUXIconPropertybarViewPagesingleNor";
- let KMImageNameUXIconPropertybarViewPagesingleSel = "KMImageNameUXIconPropertybarViewPagesingleSel";
- let KMImageNameUXIconPropertybarViewSplitscreenhorNor = "KMImageNameUXIconPropertybarViewSplitscreenhorNor";
- let KMImageNameUXIconPropertybarViewSplitscreenhorSel = "KMImageNameUXIconPropertybarViewSplitscreenhorSel";
- let KMImageNameUXIconPropertybarViewSplitscreensingleNor = "KMImageNameUXIconPropertybarViewSplitscreensingleNor";
- let KMImageNameUXIconPropertybarViewSplitscreensingleSel = "KMImageNameUXIconPropertybarViewSplitscreensingleSel";
- let KMImageNameUXIconPropertybarViewSplitscreenverNor = "KMImageNameUXIconPropertybarViewSplitscreenverNor";
- let KMImageNameUXIconPropertybarViewSplitscreenverSel = "KMImageNameUXIconPropertybarViewSplitscreenverSel";
- //ic_Cursors
- let KMImageNameUXIconCursorsText = "KMImageNameUXIconCursorsText";
- //ic_Progress
- let KMImageNameUXIconProgressComplete = "KMImageNameUXIconProgressComplete";
- let KMImageNameUXIconProgressFailure = "KMImageNameUXIconProgressFailure";
- let KMImageNameUXIconProgressWaiting = "KMImageNameUXIconProgressWaiting";
- //ic_Vip
- let KMImageNameUXIconVip = "KMImageNameUXIconVip";
- //ic_Btn
- let KMImageNameUXIconBtnAddHov = "KMImageNameUXIconBtnAddHov";
- let KMImageNameUXIconBtnAddNor = "KMImageNameUXIconBtnAddNor";
- let KMImageNameUXIconBtnAddWhite = "KMImageNameUXIconBtnAddWhite";
- let KMImageNameUXIconBtnArrowDown = "KMImageNameUXIconBtnArrowDown";
- let KMImageNameUXIconBtnArrowLeft = "KMImageNameUXIconBtnArrowLeft";
- let KMImageNameUXIconBtnArrowRight = "KMImageNameUXIconBtnArrowRight";
- let KMImageNameUXIconBtnArrowUp = "KMImageNameUXIconBtnArrowUp";
- let KMImageNameUXIconBtnArrowUpdown = "KMImageNameUXIconBtnArrowUpdown";
- let KMImageNameUXIconBtnCheckboxDis = "KMImageNameUXIconBtnCheckboxDis";
- let KMImageNameUXIconBtnCheckboxSel = "KMImageNameUXIconBtnCheckboxSel";
- let KMImageNameUXIconBtnClear = "KMImageNameUXIconBtnClear";
- let KMImageNameUXIconBtnCloseHov = "KMImageNameUXIconBtnCloseHov";
- let KMImageNameUXIconBtnCloseNor = "KMImageNameUXIconBtnCloseNor";
- let KMImageNameUXIconBtnCloseWhite = "KMImageNameUXIconBtnCloseWhite";
- let KMImageNameUXIconBtnColor = "KMImageNameUXIconBtnColor";
- let KMImageNameUXIconBtnDeletAccent = "KMImageNameUXIconBtnDeletAccent";
- let KMImageNameUXIconBtnDeletHov = "KMImageNameUXIconBtnDeletHov";
- let KMImageNameUXIconBtnDeletNor = "KMImageNameUXIconBtnDeletNor";
- let KMImageNameUXIconBtnEditHov = "KMImageNameUXIconBtnEditHov";
- let KMImageNameUXIconBtnEditNor = "KMImageNameUXIconBtnEditNor";
- let KMImageNameUXIconBtnEyesInvisible = "KMImageNameUXIconBtnEyesInvisible";
- let KMImageNameUXIconBtnEyesVisible = "KMImageNameUXIconBtnEyesVisible";
- let KMImageNameUXIconBtnFontsetNor = "KMImageNameUXIconBtnFontsetNor";
- let KMImageNameUXIconBtnFontsetPre = "KMImageNameUXIconBtnFontsetPre";
- let KMImageNameUXIconBtnOpenfileNor = "KMImageNameUXIconBtnOpenfileNor";
- let KMImageNameUXIconBtnOpenfileWhite = "KMImageNameUXIconBtnOpenfileWhite";
- let KMImageNameUXIconBtnOvalarrowDown = "KMImageNameUXIconBtnOvalarrowDown";
- let KMImageNameUXIconBtnRadioDis = "KMImageNameUXIconBtnRadioDis";
- let KMImageNameUXIconBtnRadioSel = "KMImageNameUXIconBtnRadioSel";
- let KMImageNameUXIconBtnSearchbarSearch = "KMImageNameUXIconBtnSearchbarSearch";
- let KMImageNameUXIconBtnSearchbarSearchfilter = "KMImageNameUXIconBtnSearchbarSearchfilter";
- let KMImageNameUXIconBtnSetNor = "KMImageNameUXIconBtnSetNor";
- let KMImageNameUXIconBtnSetPre = "KMImageNameUXIconBtnSetPre";
- let KMImageNameUXIconBtnSidebarAddNor = "KMImageNameUXIconBtnSidebarAddNor";
- let KMImageNameUXIconBtnSidebarAddPre = "KMImageNameUXIconBtnSidebarAddPre";
- let KMImageNameUXIconBtnSidebarFilterNor = "KMImageNameUXIconBtnSidebarFilterNor";
- let KMImageNameUXIconBtnSidebarFilterPre = "KMImageNameUXIconBtnSidebarFilterPre";
- let KMImageNameUXIconBtnSidebarListNor = "KMImageNameUXIconBtnSidebarListNor";
- let KMImageNameUXIconBtnSidebarListPre = "KMImageNameUXIconBtnSidebarListPre";
- let KMImageNameUXIconBtnSidebarMoreNor = "KMImageNameUXIconBtnSidebarMoreNor";
- let KMImageNameUXIconBtnSidebarMorePre = "KMImageNameUXIconBtnSidebarMorePre";
- let KMImageNameUXIconBtnSidebarMoreSecondary = "KMImageNameUXIconBtnSidebarMoreSecondary";
- let KMImageNameUXIconBtnSidebarPageNor = "KMImageNameUXIconBtnSidebarPageNor";
- let KMImageNameUXIconBtnSidebarPagePre = "KMImageNameUXIconBtnSidebarPagePre";
- let KMImageNameUXIconBtnSidebarSearchNor = "KMImageNameUXIconBtnSidebarSearchNor";
- let KMImageNameUXIconBtnSidebarSearchPre = "KMImageNameUXIconBtnSidebarSearchPre";
- let KMImageNameUXIconBtnSidebarZoominNor = "KMImageNameUXIconBtnSidebarZoominNor";
- let KMImageNameUXIconBtnSidebarZoominPre = "KMImageNameUXIconBtnSidebarZoominPre";
- let KMImageNameUXIconBtnSidebarZoomoutNor = "KMImageNameUXIconBtnSidebarZoomoutNor";
- let KMImageNameUXIconBtnSidebarZoomoutPre = "KMImageNameUXIconBtnSidebarZoomoutPre";
- let KMImageNameUXIconBtnStrikeNor = "KMImageNameUXIconBtnStrikeNor";
- let KMImageNameUXIconBtnStrikePre = "KMImageNameUXIconBtnStrikePre";
- let KMImageNameUXIconBtnsysArrowLeft = "KMImageNameUXIconBtnsysArrowLeft";
- let KMImageNameUXIconBtnSysArrowRight = "KMImageNameUXIconBtnSysArrowRight";
- let KMImageNameUXIconBtnTriDownNor = "KMImageNameUXIconBtnTriDownNor";
- let KMImageNameUXIconBtnTriDownPre = "KMImageNameUXIconBtnTriDownPre";
- let KMImageNameUXIconBtnTriLeftNor = "KMImageNameUXIconBtnTriLeftNor";
- let KMImageNameUXIconBtnTriLeftPre = "KMImageNameUXIconBtnTriLeftPre";
- let KMImageNameUXIconBtnTriLeftSel = "KMImageNameUXIconBtnTriLeftSel";
- let KMImageNameUXIconBtnTriRightNor = "KMImageNameUXIconBtnTriRightNor";
- let KMImageNameUXIconBtnTriRightPre = "KMImageNameUXIconBtnTriRightPre";
- let KMImageNameUXIconBtnTriRightSel = "KMImageNameUXIconBtnTriRightSel";
- let KMImageNameUXIconBtnTriUpNor = "KMImageNameUXIconBtnTriUpNor";
- let KMImageNameUXIconBtnTriUpPre = "KMImageNameUXIconBtnTriUpPre";
- let KMImageNameBtnSidebarRankPositive = "KMImageNameBtnSidebarRankPositive";
- let KMImageNameBtnSidebarRankReverse = "KMImageNameBtnSidebarRankReverse";
- let KMImageNameEmptyOutline = "KMImageNameEmptyOutline";
- let KMImageNameEmptyAnnotation = "KMImageNameEmptyAnnotation";
- let KMImageNameEmptySearch = "KMImageNameEmptySearch";
- let KMImageNameEmptyStamp = "KMImageNameEmptyStamp";
- let KMImageNameEmptySign = "KMImageNameEmptySign";
- let KMImageNameEmptyWatermark = "KMImageNameEmptyWatermark";
- let KMImageNameEmptyBackground = "KMImageNameEmptyBackground";
- let KMImageNameEmptyHeaderandfooter = "KMImageNameEmptyHeaderandfooter";
- let KMImageNameEmptySplitview = "KMImageNameEmptySplitview";
- let KMImageNameCursorsUnderline = "KMImageNameCursorsUnderline";
- let KMImageNameCursorsHighlight = "KMImageNameCursorsHighlight";
- let KMImageNameCursorsStrikeout = "KMImageNameCursorsStrikeout";
- let KMImageNameCursorsFreehand = "KMImageNameCursorsFreehand";
- let KMImageNameCursorsText = "KMImageNameCursorsText";
- let KMImageNameCursorsNote = "KMImageNameCursorsNote";
- let KMImageNameCursorsRec = "KMImageNameCursorsRec";
- let KMImageNameCursorsOval = "KMImageNameCursorsOval";
- let KMImageNameCursorsArrow = "KMImageNameCursorsArrow";
- let KMImageNameCursorsTable = "KMImageNameCursorsTable";
- let KMImageNameCursorsLink = "KMImageNameCursorsLink";
- let KMImageNameCursorsLine = "KMImageNameCursorsLine";
- let KMImageNameCursorsButton = "KMImageNameCursorsButton";
- let KMImageNameCursorsCheckbox = "KMImageNameCursorsCheckbox";
- let KMImageNameCursorsDate = "KMImageNameCursorsDate";
- let KMImageNameCursorsFork = "KMImageNameCursorsFork";
- let KMImageNameCursorsFormLine = "KMImageNameCursorsFormLine";
- let KMImageNameCursorsListbox = "KMImageNameCursorsListbox";
- let KMImageNameCursorsPoint = "KMImageNameCursorsPoint";
- let KMImageNameCursorsPulldownmenu = "KMImageNameCursorsPulldownmenu";
- let KMImageNameCursorsRadiobutton = "KMImageNameCursorsRadiobutton";
- let KMImageNameCursorsRoundedrec = "KMImageNameCursorsRoundedrec";
- let KMImageNameCursorsSign = "KMImageNameCursorsSign";
- let KMImageNameCursorsTextfield = "KMImageNameCursorsTextfield";
- let KMImageNameCursorsTick = "KMImageNameCursorsTick";
- let KMImageNameElse1 = "KMImageNameElse1";
- let KMImageNameElse2 = "KMImageNameElse2";
- let KMImageNameElsei = "KMImageNameElsei";
- @objcMembers class KMAppearance: NSObject {
-
- class func isDarkMode() -> Bool {
- let result = false
- if #available(macOS 10.14, *) {
- let appearanceName = NSApp.effectiveAppearance.bestMatch(from: [.aqua, .darkAqua])
- if (appearanceName == .darkAqua) {
- return true
- }
- }
- return result
- }
- @objc class func titleColor() -> NSColor {
- if (!KMAppearance.isSupportNewColor()) {
- return NSColor.km_init(hex: "#252629")
- }
- if let _color = NSColor(named: "KMTitleColor") {
- return _color
- }
- return NSColor.km_init(hex: "#252629")
- }
-
- @objc class func subtitleColor() -> NSColor {
- if (!KMAppearance.isSupportNewColor()) {
- return NSColor.km_init(hex: "#616469")
- }
- if let _color = NSColor(named: "KMSubtitleColor") {
- return _color
- }
- return NSColor.km_init(hex: "#616469")
- }
-
- @objc class func view_bg_dis_color() -> NSColor {
- if (!KMAppearance.isSupportNewColor()) {
- return NSColor.km_init(hex: "#EDEEF0")
- }
- if let _color = NSColor(named: "KMBackgroundDisableColor") {
- return _color
- }
- return NSColor.km_init(hex: "#EDEEF0")
- }
-
- @objc class func view_border_dis_color() -> NSColor {
- if (!KMAppearance.isSupportNewColor()) {
- return NSColor.km_init(hex: "#DFE1E5")
- }
- if let _color = NSColor(named: "KMBorderDisableColor") {
- return _color
- }
- return NSColor.km_init(hex: "#DFE1E5")
- }
-
- @objc class func controlBackgroundColor() -> NSColor {
- if (!KMAppearance.isSupportNewColor()) {
- return NSColor(white: 246/255.0, alpha: 1)
- }
- if let _color = NSColor(named: "KMControlBackgroundColor") {
- return _color
- }
- return NSColor(white: 246/255.0, alpha: 1)
- }
-
- class func isSupportNewColor() -> Bool {
- if #available(macOS 10.14, *) {
- return true
- }
- return false
- }
- }
- // MARK: - Reader Pro
- @objc extension KMAppearance {
- class func viewBackgroundColor() -> NSColor {
- if (!self.isSupportNewColor()) {
- return NSColor(red: 250.0/255.0, green: 250.0/255.0, blue: 250.0/255.0, alpha: 1)
- }
- if let _color = NSColor(named: "KMViewBackgroundColor") {
- return _color
- }
- return NSColor(red: 250.0/255.0, green: 250.0/255.0, blue: 250.0/255.0, alpha: 1)
- }
-
- class func PDFViewBackgroundColor() -> NSColor {
- if (!self.isSupportNewColor()) {
- return NSColor.km_init(hex: "#DADBDE")
- }
- if let _color = NSColor(named: "KMPDFViewBackgroundColor") {
- return _color
- }
- return NSColor.km_init(hex: "#DADBDE")
- }
-
- class func toolbarBorderColor() -> NSColor {
- if (!self.isSupportNewColor()) {
- return NSColor(red: 213/255.0, green: 213/255.0, blue: 213/255.0, alpha: 1)
- }
- if let _color = NSColor(named: "KMToolbarBorderColor") {
- return _color
- }
- return NSColor(red: 213/255.0, green: 213/255.0, blue: 213/255.0, alpha: 1)
- }
-
- class func newWindowBackgroundColor() -> NSColor {
- if (!self.isSupportNewColor()) {
- return NSColor.km_init(hex: "#EEEEEE", alpha: 0.85)
- }
- if let _color = NSColor(named: "KMNewWindowBackgroundColor") {
- return _color
- }
- return NSColor.km_init(hex: "#EEEEEE", alpha: 0.85)
- }
-
- class func buttonHoverColor() -> NSColor {
- if (!self.isSupportNewColor()) {
- return NSColor.km_init(hex: "#DADBDE", alpha: 1)
- }
- if let _color = NSColor(named: "KMButtonHoverColor") {
- return _color
- }
- return NSColor.km_init(hex: "#DADBDE", alpha: 1)
- }
-
- // 236 242 251
- class func buttonSelectedColor() -> NSColor {
- if (!self.isSupportNewColor()) {
- return NSColor.km_init(hex: "#EAF2FB")
- }
- if let _color = NSColor(named: "KMButtonSelectedColor") {
- return _color
- }
- return NSColor.km_init(hex: "#EAF2FB")
- }
-
- class func buttonDisabledColor() -> NSColor {
- if (!self.isSupportNewColor()) {
- return NSColor.km_init(hex: "#DADBDE")
- }
- if let _color = NSColor(named: "KMButtonDisabledColor") {
- return _color
- }
- return NSColor.km_init(hex: "#DADBDE")
- }
-
- class func separatorLineColor() -> NSColor {
- if (!self.isSupportNewColor()) {
- return NSColor.km_init(hex: "#DADBDE", alpha: 1)
- }
- if let _color = NSColor(named: "KMSeparatorLineColor") {
- return _color
- }
- return NSColor.km_init(hex: "#DADBDE", alpha: 1)
- }
-
- // MARK: - New UX Color
-
- class func KM_477EDE_Color15() -> NSColor {
- if (!self.isSupportNewColor()) {
- return NSColor.km_init(hex: "#477EDE", alpha: 0.15)
- }
- if let _color = NSColor(named: "KM_477EDE_Color15") {
- return _color
- }
- return NSColor.km_init(hex: "#477EDE", alpha: 0.15)
- }
-
- /// 高亮颜色
- class func KM_D2D1D2_Color() -> NSColor {
- if (!self.isSupportNewColor()) {
- return NSColor.km_init(hex: "#D2D1D2", alpha: 1)
- }
- if let _color = NSColor(named: "KM_D2D1D2_Color") {
- return _color
- }
- return NSColor.km_init(hex: "#D2D1D2", alpha: 1)
- }
-
- class func KM_EDECED_Color() -> NSColor {
- if (!self.isSupportNewColor()) {
- return NSColor.km_init(hex: "#EDECED", alpha: 1)
- }
- if let _color = NSColor(named: "KM_EDECED_Color") {
- return _color
- }
- return NSColor.km_init(hex: "#EDECED", alpha: 1)
- }
-
- class func KM_DBDBDB_Color() -> NSColor {
- if (!self.isSupportNewColor()) {
- return NSColor.km_init(hex: "#DBDBDB", alpha: 1)
- }
- if let _color = NSColor(named: "KM_DBDBDB_Color") {
- return _color
- }
- return NSColor.km_init(hex: "#DBDBDB", alpha: 1)
- }
-
- class func KM_FFFFFF_ColorChange01() -> NSColor {
- if (!self.isSupportNewColor()) {
- return NSColor.km_init(hex: "#FFFFFF", alpha: 1)
- }
- if let _color = NSColor(named: "KM_FFFFFF_ColorChange01") {
- return _color
- }
- return NSColor.km_init(hex: "#FFFFFF", alpha: 1)
- }
-
- class func KM_757780_Color() -> NSColor {
- if (!self.isSupportNewColor()) {
- return NSColor.km_init(hex: "#757780", alpha: 1)
- }
- if let _color = NSColor(named: "KM_757780_Color") {
- return _color
- }
- return NSColor.km_init(hex: "#757780", alpha: 1)
- }
-
- class func KM_FFFFFF_Color35() -> NSColor {
- if (!self.isSupportNewColor()) {
- return NSColor.km_init(hex: "#FFFFFF", alpha: 1)
- }
- if let _color = NSColor(named: "KM_FFFFFF_Color35") {
- return _color
- }
- return NSColor.km_init(hex: "#FFFFFF", alpha: 1)
- }
-
- class func KM_000000_Color15Chang35() -> NSColor {
- if (!self.isSupportNewColor()) {
- return NSColor.km_init(hex: "#000000", alpha: 0.15)
- }
- if let _color = NSColor(named: "KM_000000_Color15Chang35") {
- return _color
- }
- return NSColor.km_init(hex: "#000000", alpha: 0.15)
- }
-
- class func KM_000000_Color20() -> NSColor {
- return NSColor.km_init(hex: "#000000", alpha: 0.2)
- }
-
- class func KM_242424_Color() -> NSColor {
- if (!self.isSupportNewColor()) {
- return NSColor.km_init(hex: "#242424", alpha: 1)
- }
- if let _color = NSColor(named: "KM_242424_Color") {
- return _color
- }
- return NSColor.km_init(hex: "#242424", alpha: 1)
- }
-
- class func KM_242424_Color40() -> NSColor {
- if (!self.isSupportNewColor()) {
- return NSColor.km_init(hex: "#242424", alpha: 0.6)
- }
- if let _color = NSColor(named: "KM_242424_Color40") {
- return _color
- }
- return NSColor.km_init(hex: "#242424", alpha: 0.6)
- }
-
- class func KM_242424_Color75() -> NSColor {
- if (!self.isSupportNewColor()) {
- return NSColor.km_init(hex: "#242424", alpha: 1)
- }
- if let _color = NSColor(named: "KM_242424_Color75") {
- return _color
- }
- return NSColor.km_init(hex: "#242424", alpha: 1)
- }
-
- class func KM_067DFF_Color() -> NSColor {
- if (!self.isSupportNewColor()) {
- return NSColor.km_init(hex: "#067DFF", alpha: 1)
- }
- if let _color = NSColor(named: "KM_067DFF_Color") {
- return _color
- }
- return NSColor.km_init(hex: "#067DFF", alpha: 1)
- }
-
- class func KM_FFF700_Color60() -> NSColor {
- if (!self.isSupportNewColor()) {
- return NSColor.km_init(hex: "#FFF700", alpha: 0.6)
- }
- if let _color = NSColor(named: "KM_FFF700_Color60") {
- return _color
- }
- return NSColor.km_init(hex: "#FFF700", alpha: 0.6)
- }
-
- class func KM_F6F6F6_Color() -> NSColor {
- if (!self.isSupportNewColor()) {
- return NSColor.km_init(hex: "#F6F6F6", alpha: 1)
- }
- if let _color = NSColor(named: "KM_F6F6F6_Color") {
- return _color
- }
- return NSColor.km_init(hex: "#F6F6F6", alpha: 1)
- }
- // MARK: - 已经存在日间模式颜色,但是夜间模式颜色和原来存在的颜色不一致。以下
-
- class func KM_273C62_ColorDarkChanged02() -> NSColor {
- if (!self.isSupportNewColor()) {
- return NSColor.km_init(hex: "#273C62", alpha: 1)
- }
- if let _color = NSColor(named: "KMMainColorDarkChanged02") {
- return _color
- }
- return NSColor.km_init(hex: "#273C62", alpha: 1)
- }
-
- class func KM_FFFFFF_ColorDarkChanged06() -> NSColor {
- if (!self.isSupportNewColor()) {
- return NSColor.km_init(hex: "#FFFFFF", alpha: 1)
- }
- if let _color = NSColor(named: "KM_FFFFFF_ColorDarkChanged06") {
- return _color
- }
- return NSColor.km_init(hex: "#FFFFFF", alpha: 1)
- }
-
- class func KM_DADBDE_ColorDarkChange04() -> NSColor {
- if (!self.isSupportNewColor()) {
- return NSColor.km_init(hex: "#DADBDE", alpha: 1)
- }
- if let _color = NSColor(named: "KM_DADBDE_ColorDarkChange04") {
- return _color
- }
- return NSColor.km_init(hex: "#DADBDE", alpha: 1)
- }
-
- class func KM_273C62_Color80DarkChanged01() -> NSColor {
- if (!self.isSupportNewColor()) {
- return NSColor.km_init(hex: "#273C62", alpha: 0.8)
- }
- if let _color = NSColor(named: "KM_273C62_Color80DarkChanged01") {
- return _color
- }
- return NSColor.km_init(hex: "#273C62", alpha: 0.8)
- }
-
- class func KM_477EDE_ColorDarkChange01() -> NSColor {
- if (!self.isSupportNewColor()) {
- return NSColor.km_init(hex: "#477EDE", alpha: 1)
- }
- if let _color = NSColor(named: "KM_477EDE_ColorDarkChange01") {
- return _color
- }
- return NSColor.km_init(hex: "#477EDE", alpha: 1)
- }
-
- class func KM_000000_Color5DarkChange01() -> NSColor {
- if (!self.isSupportNewColor()) {
- return NSColor.km_init(hex: "#000000", alpha: 0.05)
- }
- if let _color = NSColor(named: "KM_000000_Color5DarkChange01") {
- return _color
- }
- return NSColor.km_init(hex: "#000000", alpha: 0.05)
- }
-
- // MARK: - New Color
-
- @available(*, deprecated, renamed: "Layout.mColor()")
- class func KMColor_Layout_M() -> NSColor {
- if (!self.isSupportNewColor()) {
- return NSColor.km_init(hex: "#273C62", alpha: 1)
- }
- if let _color = NSColor(named: "KMColor_Layout_M") {
- return _color
- }
- return NSColor.km_init(hex: "#273C62", alpha: 1)
- }
-
- @available(*, deprecated, renamed: "Layout.m_1Color()")
- class func KMColor_Layout_M_1() -> NSColor {
- if (!self.isSupportNewColor()) {
- return NSColor.km_init(hex: "#273C62", alpha: 1)
- }
- if let _color = NSColor(named: "KMColor_Layout_M_1") {
- return _color
- }
- return NSColor.km_init(hex: "#273C62", alpha: 1)
- }
-
- @available(*, deprecated, renamed: "Layout.bgColor()")
- class func KMColor_Layout_BG() -> NSColor {
- if (!self.isSupportNewColor()) {
- return NSColor.km_init(hex: "#EBECF0", alpha: 1)
- }
- if let _color = NSColor(named: "KMColor_Layout_BG") {
- return _color
- }
- return NSColor.km_init(hex: "#EBECF0", alpha: 1)
- }
-
- @available(*, deprecated, renamed: "Layout.bgDrakColor()")
- class func KMColor_Layout_BG_Drak() -> NSColor {
- if (!self.isSupportNewColor()) {
- return NSColor.km_init(hex: "#DADBDE", alpha: 1)
- }
- if let _color = NSColor(named: "KMColor_Layout_BG_Drak") {
- return _color
- }
- return NSColor.km_init(hex: "#DADBDE", alpha: 1)
- }
-
- @available(*, deprecated, renamed: "Layout.l_2Color()")
- class func KMColor_Layout_L_2() -> NSColor {
- if (!self.isSupportNewColor()) {
- return NSColor.km_init(hex: "#DADBDE", alpha: 1)
- }
- if let _color = NSColor(named: "KMColor_Layout_L_2") {
- return _color
- }
- return NSColor.km_init(hex: "#DADBDE", alpha: 1)
- }
-
- @available(*, deprecated, renamed: "Layout.l_1Color()")
- class func KMColor_Layout_L_1() -> NSColor {
- if (!self.isSupportNewColor()) {
- return NSColor.km_init(hex: "#EBECF0", alpha: 1)
- }
- if let _color = NSColor(named: "KMColor_Layout_L_1") {
- return _color
- }
- return NSColor.km_init(hex: "#EBECF0", alpha: 1)
- }
-
- @available(*, deprecated, renamed: "Layout.l0Color()")
- class func KMColor_Layout_L0() -> NSColor {
- if (!self.isSupportNewColor()) {
- return NSColor.km_init(hex: "#FCFDFF", alpha: 1)
- }
- if let _color = NSColor(named: "KMColor_Layout_L0") {
- return _color
- }
- return NSColor.km_init(hex: "#FCFDFF", alpha: 1)
- }
-
- @available(*, deprecated, renamed: "Layout.l1Color()")
- class func KMColor_Layout_L1() -> NSColor {
- if (!self.isSupportNewColor()) {
- return NSColor.km_init(hex: "#FFFFFF", alpha: 1)
- }
- if let _color = NSColor(named: "KMColor_Layout_L1") {
- return _color
- }
- return NSColor.km_init(hex: "#FFFFFF", alpha: 1)
- }
-
- @available(*, deprecated, renamed: "Layout.h0Color()")
- class func KMColor_Layout_H0() -> NSColor {
- if (!self.isSupportNewColor()) {
- return NSColor.km_init(hex: "#0E1114", alpha: 1)
- }
- if let _color = NSColor(named: "KMColor_Layout_H0") {
- return _color
- }
- return NSColor.km_init(hex: "#0E1114", alpha: 1)
- }
-
- @available(*, deprecated, renamed: "Layout.h1Color()")
- class func KMColor_Layout_H1() -> NSColor {
- if (!self.isSupportNewColor()) {
- return NSColor.km_init(hex: "#42464D", alpha: 1)
- }
- if let _color = NSColor(named: "KMColor_Layout_H1") {
- return _color
- }
- return NSColor.km_init(hex: "#42464D", alpha: 1)
- }
-
- @available(*, deprecated, renamed: "Layout.h2Color()")
- class func KMColor_Layout_H2() -> NSColor {
- if (!self.isSupportNewColor()) {
- return NSColor.km_init(hex: "#757780", alpha: 1)
- }
- if let _color = NSColor(named: "KMColor_Layout_H2") {
- return _color
- }
- return NSColor.km_init(hex: "#757780", alpha: 1)
- }
-
- @available(*, deprecated, renamed: "Layout.b80Color()")
- class func KMColor_Layout_B80() -> NSColor {
- if (!self.isSupportNewColor()) {
- return NSColor.km_init(hex: "#000000", alpha: 0.8)
- }
- if let _color = NSColor(named: "KMColor_Layout_B80") {
- return _color
- }
- return NSColor.km_init(hex: "#000000", alpha: 0.8)
- }
-
- @available(*, deprecated, renamed: "Layout.b30Color()")
- class func KMColor_Layout_B30() -> NSColor {
- if (!self.isSupportNewColor()) {
- return NSColor.km_init(hex: "#000000", alpha: 0.3)
- }
- if let _color = NSColor(named: "KMColor_Layout_B30") {
- return _color
- }
- return NSColor.km_init(hex: "#000000", alpha: 0.3)
- }
-
- @available(*, deprecated, renamed: "Layout.b15Color()")
- class func KMColor_Layout_B15() -> NSColor {
- if (!self.isSupportNewColor()) {
- return NSColor.km_init(hex: "#000000", alpha: 0.15)
- }
- if let _color = NSColor(named: "KMColor_Layout_B15") {
- return _color
- }
- return NSColor.km_init(hex: "#000000", alpha: 0.15)
- }
-
- @available(*, deprecated, renamed: "Layout.w0Color()")
- class func KMColor_Layout_W0() -> NSColor {
- if (!self.isSupportNewColor()) {
- return NSColor.km_init(hex: "#FFFFFF", alpha: 1)
- }
- if let _color = NSColor(named: "KMColor_Layout_W0") {
- return _color
- }
- return NSColor.km_init(hex: "#FFFFFF", alpha: 1)
- }
-
- @available(*, deprecated, renamed: "Layout.w70Color()")
- class func KMColor_Layout_W70() -> NSColor {
- if (!self.isSupportNewColor()) {
- return NSColor.km_init(hex: "#FFFFFF", alpha: 0.7)
- }
- if let _color = NSColor(named: "KMColor_Layout_W70") {
- return _color
- }
- return NSColor.km_init(hex: "#FFFFFF", alpha: 0.7)
- }
-
- @available(*, deprecated, renamed: "Layout.w30Color()")
- class func KMColor_Layout_W30() -> NSColor {
- if (!self.isSupportNewColor()) {
- return NSColor.km_init(hex: "#FFFFFF", alpha: 0.3)
- }
- if let _color = NSColor(named: "KMColor_Layout_W30") {
- return _color
- }
- return NSColor.km_init(hex: "#FFFFFF", alpha: 0.3)
- }
-
- @available(*, deprecated, renamed: "Layout.w15Color()")
- class func KMColor_Layout_W15() -> NSColor {
- if (!self.isSupportNewColor()) {
- return NSColor.km_init(hex: "#FFFFFF", alpha: 0.15)
- }
- if let _color = NSColor(named: "KMColor_Layout_W15") {
- return _color
- }
- return NSColor.km_init(hex: "#FFFFFF", alpha: 0.15)
- }
-
- @available(*, deprecated, renamed: "Layout.b15_1Color()")
- class func KMColor_Layout_B15_1() -> NSColor {
- if (!self.isSupportNewColor()) {
- return NSColor.km_init(hex: "#000000", alpha: 0.15)
- }
- if let _color = NSColor(named: "KMColor_Layout_B15_1") {
- return _color
- }
- return NSColor.km_init(hex: "#000000", alpha: 0.15)
- }
-
- /// Interactive
- @available(*, deprecated, renamed: "Interactive.a_1Color()")
- class func KMColor_Interactive_A_1() -> NSColor {
- if (!self.isSupportNewColor()) {
- return NSColor.km_init(hex: "#3864B0", alpha: 1)
- }
- if let _color = NSColor(named: "KMColor_Interactive_A_1") {
- return _color
- }
- return NSColor.km_init(hex: "#3864B0", alpha: 1)
- }
-
- @available(*, deprecated, renamed: "Interactive.a0Color()")
- class func KMColor_Interactive_A0() -> NSColor {
- if (!self.isSupportNewColor()) {
- return NSColor.km_init(hex: "#4982E6", alpha: 1)
- }
- if let _color = NSColor(named: "KMColor_Interactive_A0") {
- return _color
- }
- return NSColor.km_init(hex: "#4982E6", alpha: 1)
- }
-
- @available(*, deprecated, renamed: "Interactive.a1Color()")
- class func KMColor_Interactive_A1() -> NSColor {
- if (!self.isSupportNewColor()) {
- return NSColor.km_init(hex: "#6B97E4", alpha: 1)
- }
- if let _color = NSColor(named: "KMColor_Interactive_A1") {
- return _color
- }
- return NSColor.km_init(hex: "#6B97E4", alpha: 1)
- }
-
- @available(*, deprecated, renamed: "Interactive.m_1Color()")
- class func KMColor_Interactive_M_1() -> NSColor {
- if (!self.isSupportNewColor()) {
- return NSColor.km_init(hex: "#1B2944", alpha: 1)
- }
- if let _color = NSColor(named: "KMColor_Interactive_M_1") {
- return _color
- }
- return NSColor.km_init(hex: "#1B2944", alpha: 1)
- }
-
- @available(*, deprecated, renamed: "Interactive.m0Color()")
- class func KMColor_Interactive_M0() -> NSColor {
- if (!self.isSupportNewColor()) {
- return NSColor.km_init(hex: "#273C62", alpha: 1)
- }
- if let _color = NSColor(named: "KMColor_Interactive_M0") {
- return _color
- }
- return NSColor.km_init(hex: "#273C62", alpha: 1)
- }
-
- @available(*, deprecated, renamed: "Interactive.m1Color()")
- class func KMColor_Interactive_M1() -> NSColor {
- if (!self.isSupportNewColor()) {
- return NSColor.km_init(hex: "#365283", alpha: 1)
- }
- if let _color = NSColor(named: "KMColor_Interactive_M1") {
- return _color
- }
- return NSColor.km_init(hex: "#365283", alpha: 1)
- }
-
- @available(*, deprecated, renamed: "Interactive.s_1Color()")
- class func KMColor_Interactive_S_1() -> NSColor {
- if (!self.isSupportNewColor()) {
- return NSColor.km_init(hex: "#AEAFB1", alpha: 1)
- }
- if let _color = NSColor(named: "KMColor_Interactive_S_1") {
- return _color
- }
- return NSColor.km_init(hex: "#AEAFB1", alpha: 1)
- }
-
- @available(*, deprecated, renamed: "Interactive.s0Color()")
- class func KMColor_Interactive_S0() -> NSColor {
- if (!self.isSupportNewColor()) {
- return NSColor.km_init(hex: "#DADBDE", alpha: 1)
- }
- if let _color = NSColor(named: "KMColor_Interactive_S0") {
- return _color
- }
- return NSColor.km_init(hex: "#DADBDE", alpha: 1)
- }
-
- @available(*, deprecated, renamed: "Interactive.s1Color()")
- class func KMColor_Interactive_S1() -> NSColor {
- if (!self.isSupportNewColor()) {
- return NSColor.km_init(hex: "#C8C9CC", alpha: 1)
- }
- if let _color = NSColor(named: "KMColor_Interactive_S1") {
- return _color
- }
- return NSColor.km_init(hex: "#C8C9CC", alpha: 1)
- }
-
- /// Status
- @available(*, deprecated, renamed: "Status.sucColor()")
- class func KMColor_Status_Suc() -> NSColor {
- if (!self.isSupportNewColor()) {
- return NSColor.km_init(hex: "#3CCD75", alpha: 1)
- }
- if let _color = NSColor(named: "KMColor_Status_Suc") {
- return _color
- }
- return NSColor.km_init(hex: "#3CCD75", alpha: 1)
- }
-
- @available(*, deprecated, renamed: "Status.errColor()")
- class func KMColor_Status_Err() -> NSColor {
- if (!self.isSupportNewColor()) {
- return NSColor.km_init(hex: "#FA1E5D", alpha: 1)
- }
- if let _color = NSColor(named: "KMColor_Status_Err") {
- return _color
- }
- return NSColor.km_init(hex: "#FA1E5D", alpha: 1)
- }
-
- @available(*, deprecated, renamed: "Status.errBGColor()")
- class func KMColor_Status_Err_BG() -> NSColor {
- if (!self.isSupportNewColor()) {
- return NSColor.km_init(hex: "#FA1E5D", alpha: 0.12)
- }
- if let _color = NSColor(named: "KMColor_Status_Err_BG") {
- return _color
- }
- return NSColor.km_init(hex: "#FA1E5D", alpha: 0.12)
- }
-
- @available(*, deprecated, renamed: "Status.errBG1Color()")
- class func KMColor_Status_Err_BG_1() -> NSColor {
- if (!self.isSupportNewColor()) {
- return NSColor.km_init(hex: "#FA1E5D", alpha: 0.12)
- }
- if let _color = NSColor(named: "KMColor_Status_Err_BG_1") {
- return _color
- }
- return NSColor.km_init(hex: "#FA1E5D", alpha: 0.12)
- }
-
- @available(*, deprecated, renamed: "Status.hovColor()")
- class func KMColor_Status_Hov() -> NSColor {
- if (!self.isSupportNewColor()) {
- return NSColor.km_init(hex: "#000000", alpha: 0.05)
- }
- if let _color = NSColor(named: "KMColor_Status_Hov") {
- return _color
- }
- return NSColor.km_init(hex: "#000000", alpha: 0.05)
- }
-
- @available(*, deprecated, renamed: "Status.preColor()")
- class func KMColor_Status_Pre() -> NSColor {
- if (!self.isSupportNewColor()) {
- return NSColor.km_init(hex: "#000000", alpha: 0.1)
- }
- if let _color = NSColor(named: "KMColor_Status_Pre") {
- return _color
- }
- return NSColor.km_init(hex: "#000000", alpha: 0.1)
- }
-
- @available(*, deprecated, renamed: "Status.selColor()")
- class func KMColor_Status_Sel() -> NSColor {
- if (!self.isSupportNewColor()) {
- return NSColor.km_init(hex: "#4982E6", alpha: 0.2)
- }
- if let _color = NSColor(named: "KMColor_Status_Sel") {
- return _color
- }
- return NSColor.km_init(hex: "#4982E6", alpha: 0.2)
- }
-
- /// Upgrade
- @available(*, deprecated, renamed: "Upgrade.vip_1Color()")
- class func KMColor_Upgrade_Vip_1() -> NSColor {
- if (!self.isSupportNewColor()) {
- return NSColor.km_init(hex: "#D2B58F", alpha: 1)
- }
- if let _color = NSColor(named: "KMColor_Upgrade_Vip_1") {
- return _color
- }
- return NSColor.km_init(hex: "#D2B58F", alpha: 1)
- }
-
- @available(*, deprecated, renamed: "Upgrade.vip0Color()")
- class func KMColor_Upgrade_Vip0() -> NSColor {
- if (!self.isSupportNewColor()) {
- return NSColor.km_init(hex: "#ECDCC1", alpha: 1)
- }
- if let _color = NSColor(named: "KMColor_Upgrade_Vip0") {
- return _color
- }
- return NSColor.km_init(hex: "#ECDCC1", alpha: 1)
- }
-
- @available(*, deprecated, renamed: "Upgrade.vip01Color()")
- class func KMColor_Upgrade_Vip0_1() -> NSColor {
- if (!self.isSupportNewColor()) {
- return NSColor.km_init(hex: "#DCBA8C", alpha: 1)
- }
- if let _color = NSColor(named: "KMColor_Upgrade_Vip0_1") {
- return _color
- }
- return NSColor.km_init(hex: "#DCBA8C", alpha: 1)
- }
-
- @available(*, deprecated, renamed: "Upgrade.vip1Color()")
- class func KMColor_Upgrade_Vip1() -> NSColor {
- if (!self.isSupportNewColor()) {
- return NSColor.km_init(hex: "#EFDCC1", alpha: 1)
- }
- if let _color = NSColor(named: "KMColor_Upgrade_Vip1") {
- return _color
- }
- return NSColor.km_init(hex: "#EFDCC1", alpha: 1)
- }
-
- @available(*, deprecated, renamed: "Upgrade.vipBGColor()")
- class func KMColor_Upgrade_Vip_BG() -> NSColor {
- if (!self.isSupportNewColor()) {
- return NSColor.km_init(hex: "#1B263A", alpha: 1)
- }
- if let _color = NSColor(named: "KMColor_Upgrade_Vip_BG") {
- return _color
- }
- return NSColor.km_init(hex: "#1B263A", alpha: 1)
- }
-
- @available(*, deprecated, renamed: "Upgrade.vipBG1Color()")
- class func KMColor_Upgrade_Vip_BG_1() -> NSColor {
- if (!self.isSupportNewColor()) {
- return NSColor.km_init(hex: "#273C62", alpha: 1)
- }
- if let _color = NSColor(named: "KMColor_Upgrade_Vip_BG_1") {
- return _color
- }
- return NSColor.km_init(hex: "#273C62", alpha: 1)
- }
-
- /// Else
- @available(*, deprecated, renamed: "Else.clearColor()")
- class func KMColor_Else_00() -> NSColor {
- return .clear
- }
-
- @available(*, deprecated, renamed: "Else.searchHighlightColor()")
- class func KMColor_Else_Search_Highlight() -> NSColor {
- if (!self.isSupportNewColor()) {
- return NSColor.km_init(hex: "#FFF700", alpha: 0.6)
- }
- if let _color = NSColor(named: "KMColor_Else_Search_Highlight") {
- return _color
- }
-
- return NSColor.km_init(hex: "#FFF700", alpha: 0.6)
- }
-
- @available(*, deprecated, renamed: "Else.textHighlightColor()")
- class func KMColor_Else_Text_Highlight() -> NSColor {
- if (!self.isSupportNewColor()) {
- return NSColor.km_init(hex: "#4982E6", alpha: 0.3)
- }
- if let _color = NSColor(named: "KMColor_Else_Text_Highlight") {
- return _color
- }
- return NSColor.km_init(hex: "#4982E6", alpha: 0.3)
- }
-
- @available(*, deprecated, renamed: "Else.textTagColor()")
- class func KMColor_Else_Text_Tag() -> NSColor {
- if (!self.isSupportNewColor()) {
- return NSColor.km_init(hex: "#000000", alpha: 0.15)
- }
- if let _color = NSColor(named: "KMColor_Else_Text_Tag") {
- return _color
- }
- return NSColor.km_init(hex: "#000000", alpha: 0.15)
- }
-
- @available(*, deprecated, renamed: "Else.tipsBGColor()")
- class func KMColor_Else_Tips_BG() -> NSColor {
- if (!self.isSupportNewColor()) {
- return NSColor.km_init(hex: "#DADBDE", alpha: 1)
- }
- if let _color = NSColor(named: "KMColor_Else_Tips_BG") {
- return _color
- }
- return NSColor.km_init(hex: "#DADBDE", alpha: 1)
- }
-
- @available(*, deprecated, renamed: "Else.tipbarColor()", message: "优化")
- class func KMColor_Else_Tipbar() -> NSColor {
- if (!self.isSupportNewColor()) {
- return NSColor.km_init(hex: "#273C62", alpha: 0.8)
- }
- if let _color = NSColor(named: "KMColor_Else_Tipbar") {
- return _color
- }
- return NSColor.km_init(hex: "#273C62", alpha: 0.8)
- }
-
- /*
- + (BOOL)isObj:(NSObject *)obj hasObserverKey:(NSString *)keyPath{
- if (obj == nil) {
- return NO;
- }
- if (obj.observationInfo == nil) {
- return NO;
- }
- NSObject *observances = [((__bridge NSObject*)(obj.observationInfo))valueForKeyPath:@"observances"];
- if ([observances isKindOfClass:[NSArray class]]) {
- for (NSObject *observance in (NSArray *)observances) {
- NSString *inKeyPath = [NSString stringWithFormat:@"Key path: %@",keyPath];
- NSString *objString = [NSString stringWithFormat:@"%@",observance];
- if ([objString containsString:inKeyPath]) {
- return YES;
- }
- }
- }
- return NO;
- }
- */
- }
- // MARK: - KMAppearance.Else
- extension KMAppearance.Else {
- static func clearColor() -> NSColor {
- return .clear
- }
-
- static func searchHighlightColor() -> NSColor {
- if (!KMAppearance.isSupportNewColor()) {
- return NSColor.km_init(hex: "#FFF700", alpha: 0.6)
- }
- if let _color = NSColor(named: "KMColor_Else_Search_Highlight") {
- return _color
- }
-
- return NSColor.km_init(hex: "#FFF700", alpha: 0.6)
- }
-
- static func textHighlightColor() -> NSColor {
- if (!KMAppearance.isSupportNewColor()) {
- return NSColor.km_init(hex: "#4982E6", alpha: 0.3)
- }
- if let _color = NSColor(named: "KMColor_Else_Text_Highlight") {
- return _color
- }
- return NSColor.km_init(hex: "#4982E6", alpha: 0.3)
- }
-
- static func textTagColor() -> NSColor {
- if (!KMAppearance.isSupportNewColor()) {
- return NSColor.km_init(hex: "#000000", alpha: 0.15)
- }
- if let _color = NSColor(named: "KMColor_Else_Text_Tag") {
- return _color
- }
- return NSColor.km_init(hex: "#000000", alpha: 0.15)
- }
-
- static func tipsBGColor() -> NSColor {
- if (!KMAppearance.isSupportNewColor()) {
- return NSColor.km_init(hex: "#DADBDE", alpha: 1)
- }
- if let _color = NSColor(named: "KMColor_Else_Tips_BG") {
- return _color
- }
- return NSColor.km_init(hex: "#DADBDE", alpha: 1)
- }
-
- static func tipbarColor() -> NSColor {
- if (!KMAppearance.isSupportNewColor()) {
- return NSColor.km_init(hex: "#273C62", alpha: 0.8)
- }
- if let _color = NSColor(named: "KMColor_Else_Tipbar") {
- return _color
- }
- return NSColor.km_init(hex: "#273C62", alpha: 0.8)
- }
- }
- // MARK: - KMAppearance.Upgrade
- extension KMAppearance.Upgrade {
- static func vip_1Color() -> NSColor {
- if (!KMAppearance.isSupportNewColor()) {
- return NSColor.km_init(hex: "#D2B58F", alpha: 1)
- }
- if let _color = NSColor(named: "KMColor_Upgrade_Vip_1") {
- return _color
- }
- return NSColor.km_init(hex: "#D2B58F", alpha: 1)
- }
-
- static func vip0Color() -> NSColor {
- if (!KMAppearance.isSupportNewColor()) {
- return NSColor.km_init(hex: "#ECDCC1", alpha: 1)
- }
- if let _color = NSColor(named: "KMColor_Upgrade_Vip0") {
- return _color
- }
- return NSColor.km_init(hex: "#ECDCC1", alpha: 1)
- }
-
- static func vip01Color() -> NSColor {
- if (!KMAppearance.isSupportNewColor()) {
- return NSColor.km_init(hex: "#DCBA8C", alpha: 1)
- }
- if let _color = NSColor(named: "KMColor_Upgrade_Vip0_1") {
- return _color
- }
- return NSColor.km_init(hex: "#DCBA8C", alpha: 1)
- }
-
- static func vip1Color() -> NSColor {
- if (!KMAppearance.isSupportNewColor()) {
- return NSColor.km_init(hex: "#EFDCC1", alpha: 1)
- }
- if let _color = NSColor(named: "KMColor_Upgrade_Vip1") {
- return _color
- }
- return NSColor.km_init(hex: "#EFDCC1", alpha: 1)
- }
-
- static func vipBGColor() -> NSColor {
- if (!KMAppearance.isSupportNewColor()) {
- return NSColor.km_init(hex: "#1B263A", alpha: 1)
- }
- if let _color = NSColor(named: "KMColor_Upgrade_Vip_BG") {
- return _color
- }
- return NSColor.km_init(hex: "#1B263A", alpha: 1)
- }
-
- static func vipBG1Color() -> NSColor {
- if (!KMAppearance.isSupportNewColor()) {
- return NSColor.km_init(hex: "#273C62", alpha: 1)
- }
- if let _color = NSColor(named: "KMColor_Upgrade_Vip_BG_1") {
- return _color
- }
- return NSColor.km_init(hex: "#273C62", alpha: 1)
- }
- }
- // MARK: - KMAppearance.Status
- extension KMAppearance.Status {
- static func sucColor() -> NSColor {
- if (!KMAppearance.isSupportNewColor()) {
- return NSColor.km_init(hex: "#3CCD75", alpha: 1)
- }
- if let _color = NSColor(named: "KMColor_Status_Suc") {
- return _color
- }
- return NSColor.km_init(hex: "#3CCD75", alpha: 1)
- }
-
- static func errColor() -> NSColor {
- if (!KMAppearance.isSupportNewColor()) {
- return NSColor.km_init(hex: "#FA1E5D", alpha: 1)
- }
- if let _color = NSColor(named: "KMColor_Status_Err") {
- return _color
- }
- return NSColor.km_init(hex: "#FA1E5D", alpha: 1)
- }
-
- static func errBGColor() -> NSColor {
- if (!KMAppearance.isSupportNewColor()) {
- return NSColor.km_init(hex: "#FA1E5D", alpha: 0.12)
- }
- if let _color = NSColor(named: "KMColor_Status_Err_BG") {
- return _color
- }
- return NSColor.km_init(hex: "#FA1E5D", alpha: 0.12)
- }
-
- static func errBG1Color() -> NSColor {
- if (!KMAppearance.isSupportNewColor()) {
- return NSColor.km_init(hex: "#FA1E5D", alpha: 0.12)
- }
- if let _color = NSColor(named: "KMColor_Status_Err_BG_1") {
- return _color
- }
- return NSColor.km_init(hex: "#FA1E5D", alpha: 0.12)
- }
-
- static func hovColor() -> NSColor {
- if (!KMAppearance.isSupportNewColor()) {
- return NSColor.km_init(hex: "#000000", alpha: 0.05)
- }
- if let _color = NSColor(named: "KMColor_Status_Hov") {
- return _color
- }
- return NSColor.km_init(hex: "#000000", alpha: 0.05)
- }
-
- static func preColor() -> NSColor {
- if (!KMAppearance.isSupportNewColor()) {
- return NSColor.km_init(hex: "#000000", alpha: 0.1)
- }
- if let _color = NSColor(named: "KMColor_Status_Pre") {
- return _color
- }
- return NSColor.km_init(hex: "#000000", alpha: 0.1)
- }
-
- static func selColor() -> NSColor {
- if (!KMAppearance.isSupportNewColor()) {
- return NSColor.km_init(hex: "#4982E6", alpha: 0.2)
- }
- if let _color = NSColor(named: "KMColor_Status_Sel") {
- return _color
- }
- return NSColor.km_init(hex: "#4982E6", alpha: 0.2)
- }
- static func selColorNew() -> NSColor {
- if (!KMAppearance.isSupportNewColor()) {
- return NSColor.km_init(hex: "#4982E6", alpha: 0.2)
- }
- if let _color = NSColor(named: "KMColor_Status_Sel_new") {
- return _color
- }
- return NSColor.km_init(hex: "#4982E6", alpha: 0.2)
- }
- }
- // MARK: - KMAppearance.Interactive
- extension KMAppearance.Interactive {
- static func a_1Color() -> NSColor {
- if (!KMAppearance.isSupportNewColor()) {
- return NSColor.km_init(hex: "#3864B0", alpha: 1)
- }
- if let _color = NSColor(named: "KMColor_Interactive_A_1") {
- return _color
- }
- return NSColor.km_init(hex: "#3864B0", alpha: 1)
- }
-
- static func a0Color() -> NSColor {
- if (!KMAppearance.isSupportNewColor()) {
- return NSColor.km_init(hex: "#4982E6", alpha: 1)
- }
- if let _color = NSColor(named: "KMColor_Interactive_A0") {
- return _color
- }
- return NSColor.km_init(hex: "#4982E6", alpha: 1)
- }
-
- static func a1Color() -> NSColor {
- if (!KMAppearance.isSupportNewColor()) {
- return NSColor.km_init(hex: "#6B97E4", alpha: 1)
- }
- if let _color = NSColor(named: "KMColor_Interactive_A1") {
- return _color
- }
- return NSColor.km_init(hex: "#6B97E4", alpha: 1)
- }
-
- static func m_1Color() -> NSColor {
- if (!KMAppearance.isSupportNewColor()) {
- return NSColor.km_init(hex: "#1B2944", alpha: 1)
- }
- if let _color = NSColor(named: "KMColor_Interactive_M_1") {
- return _color
- }
- return NSColor.km_init(hex: "#1B2944", alpha: 1)
- }
-
- static func m0Color() -> NSColor {
- if (!KMAppearance.isSupportNewColor()) {
- return NSColor.km_init(hex: "#273C62", alpha: 1)
- }
- if let _color = NSColor(named: "KMColor_Interactive_M0") {
- return _color
- }
- return NSColor.km_init(hex: "#273C62", alpha: 1)
- }
-
- static func m1Color() -> NSColor {
- if (!KMAppearance.isSupportNewColor()) {
- return NSColor.km_init(hex: "#365283", alpha: 1)
- }
- if let _color = NSColor(named: "KMColor_Interactive_M1") {
- return _color
- }
- return NSColor.km_init(hex: "#365283", alpha: 1)
- }
-
- static func s_1Color() -> NSColor {
- if (!KMAppearance.isSupportNewColor()) {
- return NSColor.km_init(hex: "#AEAFB1", alpha: 1)
- }
- if let _color = NSColor(named: "KMColor_Interactive_S_1") {
- return _color
- }
- return NSColor.km_init(hex: "#AEAFB1", alpha: 1)
- }
-
- static func s0Color() -> NSColor {
- if (!KMAppearance.isSupportNewColor()) {
- return NSColor.km_init(hex: "#DADBDE", alpha: 1)
- }
- if let _color = NSColor(named: "KMColor_Interactive_S0") {
- return _color
- }
- return NSColor.km_init(hex: "#DADBDE", alpha: 1)
- }
-
- static func s1Color() -> NSColor {
- if (!KMAppearance.isSupportNewColor()) {
- return NSColor.km_init(hex: "#C8C9CC", alpha: 1)
- }
- if let _color = NSColor(named: "KMColor_Interactive_S1") {
- return _color
- }
- return NSColor.km_init(hex: "#C8C9CC", alpha: 1)
- }
- }
- // MARK: - KMAppearance.Layout
- extension KMAppearance.Layout {
- static func mColor() -> NSColor {
- if (!KMAppearance.isSupportNewColor()) {
- return NSColor.km_init(hex: "#273C62", alpha: 1)
- }
- if let _color = NSColor(named: "KMColor_Layout_M") {
- return _color
- }
- return NSColor.km_init(hex: "#273C62", alpha: 1)
- }
-
- static func m_1Color() -> NSColor {
- if (!KMAppearance.isSupportNewColor()) {
- return NSColor.km_init(hex: "#273C62", alpha: 1)
- }
- if let _color = NSColor(named: "KMColor_Layout_M_1") {
- return _color
- }
- return NSColor.km_init(hex: "#273C62", alpha: 1)
- }
-
- static func bgColor() -> NSColor {
- if (!KMAppearance.isSupportNewColor()) {
- return NSColor.km_init(hex: "#EBECF0", alpha: 1)
- }
- if let _color = NSColor(named: "KMColor_Layout_BG") {
- return _color
- }
- return NSColor.km_init(hex: "#EBECF0", alpha: 1)
- }
-
- static func bgDrakColor() -> NSColor {
- if (!KMAppearance.isSupportNewColor()) {
- return NSColor.km_init(hex: "#DADBDE", alpha: 1)
- }
- if let _color = NSColor(named: "KMColor_Layout_BG_Drak") {
- return _color
- }
- return NSColor.km_init(hex: "#DADBDE", alpha: 1)
- }
-
- static func l_2Color() -> NSColor {
- if (!KMAppearance.isSupportNewColor()) {
- return NSColor.km_init(hex: "#DADBDE", alpha: 1)
- }
- if let _color = NSColor(named: "KMColor_Layout_L_2") {
- return _color
- }
- return NSColor.km_init(hex: "#DADBDE", alpha: 1)
- }
-
- static func l_1Color() -> NSColor {
- if (!KMAppearance.isSupportNewColor()) {
- return NSColor.km_init(hex: "#EBECF0", alpha: 1)
- }
- if let _color = NSColor(named: "KMColor_Layout_L_1") {
- return _color
- }
- return NSColor.km_init(hex: "#EBECF0", alpha: 1)
- }
-
- static func l0Color() -> NSColor {
- if (!KMAppearance.isSupportNewColor()) {
- return NSColor.km_init(hex: "#FCFDFF", alpha: 1)
- }
- if let _color = NSColor(named: "KMColor_Layout_L0") {
- return _color
- }
- return NSColor.km_init(hex: "#FCFDFF", alpha: 1)
- }
-
- static func l1Color() -> NSColor {
- if (!KMAppearance.isSupportNewColor()) {
- return NSColor.km_init(hex: "#FFFFFF", alpha: 1)
- }
- if let _color = NSColor(named: "KMColor_Layout_L1") {
- return _color
- }
- return NSColor.km_init(hex: "#FFFFFF", alpha: 1)
- }
-
- static func h0Color() -> NSColor {
- if (!KMAppearance.isSupportNewColor()) {
- return NSColor.km_init(hex: "#0E1114", alpha: 1)
- }
- if let _color = NSColor(named: "KMColor_Layout_H0") {
- return _color
- }
- return NSColor.km_init(hex: "#0E1114", alpha: 1)
- }
-
- static func h1Color() -> NSColor {
- if (!KMAppearance.isSupportNewColor()) {
- return NSColor.km_init(hex: "#42464D", alpha: 1)
- }
- if let _color = NSColor(named: "KMColor_Layout_H1") {
- return _color
- }
- return NSColor.km_init(hex: "#42464D", alpha: 1)
- }
-
- static func h2Color() -> NSColor {
- if (!KMAppearance.isSupportNewColor()) {
- return NSColor.km_init(hex: "#757780", alpha: 1)
- }
- if let _color = NSColor(named: "KMColor_Layout_H2") {
- return _color
- }
- return NSColor.km_init(hex: "#757780", alpha: 1)
- }
-
- static func b80Color() -> NSColor {
- if (!KMAppearance.isSupportNewColor()) {
- return NSColor.km_init(hex: "#000000", alpha: 0.8)
- }
- if let _color = NSColor(named: "KMColor_Layout_B80") {
- return _color
- }
- return NSColor.km_init(hex: "#000000", alpha: 0.8)
- }
-
- static func b30Color() -> NSColor {
- if (!KMAppearance.isSupportNewColor()) {
- return NSColor.km_init(hex: "#000000", alpha: 0.3)
- }
- if let _color = NSColor(named: "KMColor_Layout_B30") {
- return _color
- }
- return NSColor.km_init(hex: "#000000", alpha: 0.3)
- }
-
- static func b15Color() -> NSColor {
- if (!KMAppearance.isSupportNewColor()) {
- return NSColor.km_init(hex: "#000000", alpha: 0.15)
- }
- if let _color = NSColor(named: "KMColor_Layout_B15") {
- return _color
- }
- return NSColor.km_init(hex: "#000000", alpha: 0.15)
- }
-
- static func w0Color() -> NSColor {
- if (!KMAppearance.isSupportNewColor()) {
- return NSColor.km_init(hex: "#FFFFFF", alpha: 1)
- }
- if let _color = NSColor(named: "KMColor_Layout_W0") {
- return _color
- }
- return NSColor.km_init(hex: "#FFFFFF", alpha: 1)
- }
-
- static func w70Color() -> NSColor {
- if (!KMAppearance.isSupportNewColor()) {
- return NSColor.km_init(hex: "#FFFFFF", alpha: 0.7)
- }
- if let _color = NSColor(named: "KMColor_Layout_W70") {
- return _color
- }
- return NSColor.km_init(hex: "#FFFFFF", alpha: 0.7)
- }
-
- static func w30Color() -> NSColor {
- if (!KMAppearance.isSupportNewColor()) {
- return NSColor.km_init(hex: "#FFFFFF", alpha: 0.3)
- }
- if let _color = NSColor(named: "KMColor_Layout_W30") {
- return _color
- }
- return NSColor.km_init(hex: "#FFFFFF", alpha: 0.3)
- }
-
- static func w15Color() -> NSColor {
- if (!KMAppearance.isSupportNewColor()) {
- return NSColor.km_init(hex: "#FFFFFF", alpha: 0.15)
- }
- if let _color = NSColor(named: "KMColor_Layout_W15") {
- return _color
- }
- return NSColor.km_init(hex: "#FFFFFF", alpha: 0.15)
- }
-
- static func b15_1Color() -> NSColor {
- if (!KMAppearance.isSupportNewColor()) {
- return NSColor.km_init(hex: "#000000", alpha: 0.15)
- }
- if let _color = NSColor(named: "KMColor_Layout_B15_1") {
- return _color
- }
- return NSColor.km_init(hex: "#000000", alpha: 0.15)
- }
-
- }
- extension KMAppearance {
- struct Else {}
- struct Upgrade {}
- struct Status {}
- struct Interactive {}
- struct Layout {}
- }
|