12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973 |
- //
- // 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 KMImageNameUXIconPropertybarFileElse = "KMImageNameUXIconPropertybarFileElse";
- let KMImageNameUXIconPropertybarFileExcel = "KMImageNameUXIconPropertybarFileExcel";
- let KMImageNameUXIconPropertybarFileIMG = "KMImageNameUXIconPropertybarFileIMG";
- let KMImageNameUXIconPropertybarFilePdf = "KMImageNameUXIconPropertybarFilePdf";
- let KMImageNameUXIconPropertybarFilePPT = "KMImageNameUXIconPropertybarFilePPT";
- let KMImageNameUXIconPropertybarFileWord = "KMImageNameUXIconPropertybarFileWord";
- 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";
- let KMImageNameUXIconPropertybarFileHTML = "KMImageNameUXIconPropertybarFileHTML";
- let KMImageNameUXIconPropertybarFileCSV = "KMImageNameUXIconPropertybarFileCSV";
- let KMImageNameUXIconPropertybarFileTXT = "KMImageNameUXIconPropertybarFileTXT";
- let KMImageNameUXIconPropertybarFileJPEG = "KMImageNameUXIconPropertybarFileJPEG";
- let KMImageNameUXIconPropertybarFileJPG = "KMImageNameUXIconPropertybarFileJPG";
- let KMImageNameUXIconPropertybarFilePNG = "KMImageNameUXIconPropertybarFilePNG";
- let KMImageNameUXIconPropertybarFileGIF = "KMImageNameUXIconPropertybarFileGIF";
- let KMImageNameUXIconPropertybarFileTIFF = "KMImageNameUXIconPropertybarFileTIFF";
- let KMImageNameUXIconPropertybarFileTGA = "KMImageNameUXIconPropertybarFileTGA";
- let KMImageNameUXIconPropertybarFileBMP = "KMImageNameUXIconPropertybarFileBMP";
- let KMImageNameUXIconPropertybarFileJP2 = "KMImageNameUXIconPropertybarFileJP2";
- //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(hex: "#EAF2FB")
- }
- if let _color = NSColor(named: "KMButtonSelectedColor") {
- return _color
- }
- return NSColor(hex: "#EAF2FB")
- }
-
- class func buttonDisabledColor() -> NSColor {
- if (!self.isSupportNewColor()) {
- return NSColor(hex: "#DADBDE")
- }
- if let _color = NSColor(named: "KMButtonDisabledColor") {
- return _color
- }
- return NSColor(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 {}
- }
|