Automatically upgrade syntax themes for shadow DOM compatibility
Automatically upgrade syntax themes for shadow DOM compatibility

If a given selector in a stylesheet targeting the atom-text-editor
context references `.editor` or `.editor-colors`, we automatically
replace these with the appropriate `:host` pseudo-class expressions.
If the selector already contains the :host pseudo-class, we perform no
upgrade.

Signed-off-by: Max Brunsfeld <78036c9b69b887700d5846f26a788d53b201ffbb@gmail.com>

gzzhanghao/atom,jtrose2/atom,dannyflax/atom,Shekharrajak/atom,Jdesk/atom,001szymon/atom,MjAbuz/atom,jordanbtucker/atom,ezeoleaf/atom,devmario/atom,deepfox/atom,codex8/atom,prembasumatary/atom,elkingtonmcb/atom,codex8/atom,CraZySacX/atom,dannyflax/atom,mnquintana/atom,charleswhchan/atom,folpindo/atom,basarat/atom,Neron-X5/atom,Ju2ender/atom,pombredanne/atom,ReddTea/atom,vcarrera/atom,stuartquin/atom,rmartin/atom,PKRoma/atom,0x73/atom,qiujuer/atom,ezeoleaf/atom,MjAbuz/atom,qiujuer/atom,woss/atom,fang-yufeng/atom,bcoe/atom,chfritz/atom,sekcheong/atom,einarmagnus/atom,sillvan/atom,batjko/atom,NunoEdgarGub1/atom,batjko/atom,prembasumatary/atom,lovesnow/atom,ralphtheninja/atom,vcarrera/atom,john-kelly/atom,hharchani/atom,gontadu/atom,SlimeQ/atom,CraZySacX/atom,DiogoXRP/atom,svanharmelen/atom,ironbox360/atom,rxkit/atom,brettle/atom,crazyquark/atom,deepfox/atom,rmartin/atom,elkingtonmcb/atom,daxlab/atom,abcP9110/atom,alexandergmann/atom,gontadu/atom,matthewclendening/atom,isghe/atom,lovesnow/atom,folpindo/atom,dsandstrom/atom,transcranial/atom,pombredanne/atom,YunchengLiao/atom,rmartin/atom,hpham04/atom,fedorov/atom,batjko/atom,jacekkopecky/atom,liuderchi/atom,woss/atom,AdrianVovk/substance-ide,fang-yufeng/atom,vinodpanicker/atom,Rychard/atom,amine7536/atom,dkfiresky/atom,bencolon/atom,hakatashi/atom,gzzhanghao/atom,sxgao3001/atom,tisu2tisu/atom,ashneo76/atom,devmario/atom,mnquintana/atom,mdumrauf/atom,hharchani/atom,tisu2tisu/atom,Ju2ender/atom,atom/atom,acontreras89/atom,RobinTec/atom,kaicataldo/atom,jtrose2/atom,ivoadf/atom,dsandstrom/atom,champagnez/atom,Sangaroonaom/atom,Galactix/atom,tony612/atom,florianb/atom,fedorov/atom,sillvan/atom,ali/atom,rlugojr/atom,RuiDGoncalves/atom,FoldingText/atom,tmunro/atom,fredericksilva/atom,amine7536/atom,constanzaurzua/atom,tanin47/atom,matthewclendening/atom,mertkahyaoglu/atom,basarat/atom,sebmck/atom,RobinTec/atom,devmario/atom,rjattrill/atom,burodepeper/atom,johnhaley81/atom,dannyflax/atom,KENJU/atom,Jdesk/atom,MjAbuz/atom,vjeux/atom,ppamorim/atom,AlbertoBarrago/atom,atom/atom,yalexx/atom,hpham04/atom,lpommers/atom,seedtigo/atom,cyzn/atom,hagb4rd/atom,KENJU/atom,hellendag/atom,darwin/atom,omarhuanca/atom,deoxilix/atom,tanin47/atom,russlescai/atom,GHackAnonymous/atom,dsandstrom/atom,sebmck/atom,phord/atom,Hasimir/atom,GHackAnonymous/atom,yomybaby/atom,KENJU/atom,AlbertoBarrago/atom,pombredanne/atom,florianb/atom,scv119/atom,ilovezy/atom,tony612/atom,targeter21/atom,sillvan/atom,RobinTec/atom,Jandersoft/atom,hharchani/atom,constanzaurzua/atom,0x73/atom,g2p/atom,Dennis1978/atom,bryonwinger/atom,PKRoma/atom,mrodalgaard/atom,batjko/atom,qiujuer/atom,abcP9110/atom,johnrizzo1/atom,beni55/atom,sebmck/atom,efatsi/atom,yomybaby/atom,Mokolea/atom,dkfiresky/atom,targeter21/atom,h0dgep0dge/atom,basarat/atom,helber/atom,bsmr-x-script/atom,yalexx/atom,NunoEdgarGub1/atom,rookie125/atom,gisenberg/atom,DiogoXRP/atom,nvoron23/atom,atom/atom,vcarrera/atom,mostafaeweda/atom,woss/atom,qiujuer/atom,ivoadf/atom,kittens/atom,kaicataldo/atom,darwin/atom,mertkahyaoglu/atom,gzzhanghao/atom,hagb4rd/atom,wiggzz/atom,daxlab/atom,seedtigo/atom,brumm/atom,stuartquin/atom,Ingramz/atom,palita01/atom,sotayamashita/atom,chfritz/atom,bryonwinger/atom,bsmr-x-script/atom,mnquintana/atom,nucked/atom,oggy/atom,Jonekee/atom,lisonma/atom,me6iaton/atom,scippio/atom,synaptek/atom,AlexxNica/atom,n-riesco/atom,jlord/atom,hharchani/atom,jjz/atom,decaffeinate-examples/atom,Galactix/atom,devmario/atom,stuartquin/atom,rlugojr/atom,Neron-X5/atom,tisu2tisu/atom,kevinrenaers/atom,t9md/atom,ppamorim/atom,isghe/atom,G-Baby/atom,FoldingText/atom,Rychard/atom,AdrianVovk/substance-ide,oggy/atom,liuderchi/atom,AlisaKiatkongkumthon/atom,mertkahyaoglu/atom,jeremyramin/atom,mdumrauf/atom,rsvip/aTom,Galactix/atom,bolinfest/atom,devmario/atom,kdheepak89/atom,crazyquark/atom,hakatashi/atom,medovob/atom,Jandersolutions/atom,Jandersolutions/atom,vinodpanicker/atom,n-riesco/atom,fredericksilva/atom,fedorov/atom,ilovezy/atom,AlisaKiatkongkumthon/atom,MjAbuz/atom,florianb/atom,sxgao3001/atom,chengky/atom,BogusCurry/atom,sxgao3001/atom,kdheepak89/atom,GHackAnonymous/atom,russlescai/atom,vhutheesing/atom,tanin47/atom,h0dgep0dge/atom,vhutheesing/atom,nvoron23/atom,transcranial/atom,devoncarew/atom,Neron-X5/atom,amine7536/atom,bencolon/atom,rookie125/atom,Jandersoft/atom,Mokolea/atom,dannyflax/atom,dijs/atom,Locke23rus/atom,bj7/atom,hellendag/atom,fedorov/atom,kdheepak89/atom,acontreras89/atom,liuxiong332/atom,vjeux/atom,RobinTec/atom,isghe/atom,liuderchi/atom,Abdillah/atom,targeter21/atom,G-Baby/atom,davideg/atom,rsvip/aTom,paulcbetts/atom,Austen-G/BlockBuilder,lisonma/atom,dkfiresky/atom,basarat/atom,tjkr/atom,niklabh/atom,nucked/atom,nrodriguez13/atom,palita01/atom,Rychard/atom,john-kelly/atom,ivoadf/atom,gabrielPeart/atom,g2p/atom,charleswhchan/atom,isghe/atom,kevinrenaers/atom,yangchenghu/atom,synaptek/atom,Rodjana/atom,ardeshirj/atom,gisenberg/atom,Klozz/atom,sebmck/atom,Rodjana/atom,ezeoleaf/atom,Arcanemagus/atom,fedorov/atom,kandros/atom,YunchengLiao/atom,cyzn/atom,jlord/atom,SlimeQ/atom,gisenberg/atom,pengshp/atom,yalexx/atom,KENJU/atom,fredericksilva/atom,ppamorim/atom,andrewleverette/atom,kittens/atom,decaffeinate-examples/atom,dijs/atom,nrodriguez13/atom,chengky/atom,burodepeper/atom,pengshp/atom,ardeshirj/atom,panuchart/atom,Huaraz2/atom,sekcheong/atom,deepfox/atom,vcarrera/atom,ObviouslyGreen/atom,chengky/atom,isghe/atom,gisenberg/atom,davideg/atom,brumm/atom,SlimeQ/atom,kc8wxm/atom,helber/atom,ali/atom,jeremyramin/atom,vjeux/atom,devoncarew/atom,crazyquark/atom,vhutheesing/atom,yamhon/atom,dijs/atom,yamhon/atom,charleswhchan/atom,Ju2ender/atom,vinodpanicker/atom,stinsonga/atom,alfredxing/atom,brumm/atom,t9md/atom,jordanbtucker/atom,sxgao3001/atom,001szymon/atom,hagb4rd/atom,lpommers/atom,ykeisuke/atom,G-Baby/atom,ilovezy/atom,bryonwinger/atom,chfritz/atom,andrewleverette/atom,toqz/atom,me6iaton/atom,Hasimir/atom,n-riesco/atom,dsandstrom/atom,prembasumatary/atom,matthewclendening/atom,kaicataldo/atom,t9md/atom,bj7/atom,Shekharrajak/atom,cyzn/atom,nvoron23/atom,rjattrill/atom,kjav/atom,oggy/atom,lisonma/atom,kandros/atom,phord/atom,rookie125/atom,yomybaby/atom,mnquintana/atom,helber/atom,Andrey-Pavlov/atom,boomwaiza/atom,Austen-G/BlockBuilder,elkingtonmcb/atom,mnquintana/atom,avdg/atom,Shekharrajak/atom,qskycolor/atom,Locke23rus/atom,deoxilix/atom,stinsonga/atom,DiogoXRP/atom,nrodriguez13/atom,Austen-G/BlockBuilder,splodingsocks/atom,mostafaeweda/atom,ali/atom,decaffeinate-examples/atom,sillvan/atom,harshdattani/atom,brettle/atom,chengky/atom,bolinfest/atom,Jonekee/atom,medovob/atom,gabrielPeart/atom,FoldingText/atom,basarat/atom,yomybaby/atom,vjeux/atom,GHackAnonymous/atom,sekcheong/atom,ironbox360/atom,Andrey-Pavlov/atom,boomwaiza/atom,yamhon/atom,nvoron23/atom,acontreras89/atom,tmunro/atom,jacekkopecky/atom,omarhuanca/atom,BogusCurry/atom,batjko/atom,bcoe/atom,fscherwi/atom,lovesnow/atom,wiggzz/atom,ali/atom,tony612/atom,johnrizzo1/atom,omarhuanca/atom,Andrey-Pavlov/atom,YunchengLiao/atom,h0dgep0dge/atom,hakatashi/atom,targeter21/atom,scv119/atom,jjz/atom,Abdillah/atom,jlord/atom,kjav/atom,omarhuanca/atom,alexandergmann/atom,jlord/atom,AdrianVovk/substance-ide,tjkr/atom,hpham04/atom,rmartin/atom,ReddTea/atom,rsvip/aTom,lovesnow/atom,kittens/atom,beni55/atom,basarat/atom,Huaraz2/atom,FIT-CSE2410-A-Bombs/atom,rsvip/aTom,dannyflax/atom,Andrey-Pavlov/atom,johnhaley81/atom,alexandergmann/atom,Dennis1978/atom,charleswhchan/atom,mostafaeweda/atom,deepfox/atom,amine7536/atom,crazyquark/atom,Jandersolutions/atom,me-benni/atom,alfredxing/atom,xream/atom,Locke23rus/atom,synaptek/atom,hharchani/atom,Shekharrajak/atom,Jdesk/atom,vinodpanicker/atom,lisonma/atom,toqz/atom,einarmagnus/atom,abcP9110/atom,jjz/atom,fang-yufeng/atom,brettle/atom,FoldingText/atom,sekcheong/atom,darwin/atom,Klozz/atom,kandros/atom,amine7536/atom,andrewleverette/atom,harshdattani/atom,synaptek/atom,RuiDGoncalves/atom,palita01/atom,rlugojr/atom,codex8/atom,Shekharrajak/atom,svanharmelen/atom,n-riesco/atom,tmunro/atom,omarhuanca/atom,mertkahyaoglu/atom,pombredanne/atom,YunchengLiao/atom,Arcanemagus/atom,oggy/atom,deepfox/atom,AlbertoBarrago/atom,liuxiong332/atom,qskycolor/atom,hellendag/atom,daxlab/atom,phord/atom,lisonma/atom,PKRoma/atom,kjav/atom,n-riesco/atom,mrodalgaard/atom,hpham04/atom,toqz/atom,AlexxNica/atom,sekcheong/atom,bcoe/atom,hakatashi/atom,MjAbuz/atom,Jonekee/atom,hagb4rd/atom,hagb4rd/atom,jacekkopecky/atom,sotayamashita/atom,fang-yufeng/atom,mostafaeweda/atom,splodingsocks/atom,oggy/atom,Austen-G/BlockBuilder,rjattrill/atom,harshdattani/atom,champagnez/atom,folpindo/atom,hpham04/atom,NunoEdgarGub1/atom,FIT-CSE2410-A-Bombs/atom,woss/atom,jeremyramin/atom,0x73/atom,boomwaiza/atom,ppamorim/atom,bcoe/atom,constanzaurzua/atom,john-kelly/atom,SlimeQ/atom,splodingsocks/atom,SlimeQ/atom,abcP9110/atom,kc8wxm/atom,vinodpanicker/atom,paulcbetts/atom,fscherwi/atom,mertkahyaoglu/atom,rsvip/aTom,stinsonga/atom,Ju2ender/atom,kdheepak89/atom,Ju2ender/atom,liuxiong332/atom,GHackAnonymous/atom,nvoron23/atom,0x73/atom,h0dgep0dge/atom,ardeshirj/atom,gontadu/atom,Galactix/atom,anuwat121/atom,Jdesk/atom,dkfiresky/atom,Austen-G/BlockBuilder,Hasimir/atom,ReddTea/atom,dsandstrom/atom,kc8wxm/atom,tjkr/atom,scippio/atom,FoldingText/atom,burodepeper/atom,YunchengLiao/atom,jjz/atom,tony612/atom,lpommers/atom,ReddTea/atom,fscherwi/atom,ralphtheninja/atom,toqz/atom,jacekkopecky/atom,russlescai/atom,deoxilix/atom,johnrizzo1/atom,panuchart/atom,FoldingText/atom,NunoEdgarGub1/atom,pkdevbox/atom,ykeisuke/atom,paulcbetts/atom,matthewclendening/atom,constanzaurzua/atom,Abdillah/atom,medovob/atom,xream/atom,me6iaton/atom,me-benni/atom,bcoe/atom,transcranial/atom,Ingramz/atom,kjav/atom,qskycolor/atom,johnhaley81/atom,fang-yufeng/atom,niklabh/atom,einarmagnus/atom,avdg/atom,davideg/atom,bolinfest/atom,davideg/atom,AlisaKiatkongkumthon/atom,qskycolor/atom,kittens/atom,einarmagnus/atom,einarmagnus/atom,yangchenghu/atom,ezeoleaf/atom,woss/atom,sillvan/atom,lovesnow/atom,jacekkopecky/atom,jtrose2/atom,Abdillah/atom,bencolon/atom,originye/atom,champagnez/atom,codex8/atom,liuxiong332/atom,sebmck/atom,Sangaroonaom/atom,Jandersolutions/atom,Jandersoft/atom,scv119/atom,vcarrera/atom,001szymon/atom,jtrose2/atom,targeter21/atom,ralphtheninja/atom,bj7/atom,Sangaroonaom/atom,Rodjana/atom,bryonwinger/atom,niklabh/atom,Jandersoft/atom,ali/atom,mdumrauf/atom,russlescai/atom,ironbox360/atom,stinsonga/atom,jtrose2/atom,ashneo76/atom,Austen-G/BlockBuilder,Hasimir/atom,pombredanne/atom,synaptek/atom,Mokolea/atom,liuxiong332/atom,me-benni/atom,scippio/atom,panuchart/atom,FIT-CSE2410-A-Bombs/atom,davideg/atom,decaffeinate-examples/atom,nucked/atom,florianb/atom,codex8/atom,prembasumatary/atom,bsmr-x-script/atom,acontreras89/atom,yalexx/atom,RobinTec/atom,rjattrill/atom,liuderchi/atom,kittens/atom,chengky/atom,sxgao3001/atom,dkfiresky/atom,Hasimir/atom,ObviouslyGreen/atom,gabrielPeart/atom,jlord/atom,Arcanemagus/atom,qskycolor/atom,rxkit/atom,yalexx/atom,prembasumatary/atom,vjeux/atom,tony612/atom,kevinrenaers/atom,jacekkopecky/atom,Andrey-Pavlov/atom,CraZySacX/atom,mostafaeweda/atom,seedtigo/atom,yangchenghu/atom,avdg/atom,acontreras89/atom,efatsi/atom,Dennis1978/atom,Jandersoft/atom,abcP9110/atom,devoncarew/atom,pkdevbox/atom,Neron-X5/atom,matthewclendening/atom,kjav/atom,ashneo76/atom,alfredxing/atom,ykeisuke/atom,jjz/atom,dannyflax/atom,Abdillah/atom,devoncarew/atom,AlexxNica/atom,anuwat121/atom,pkdevbox/atom,beni55/atom,me6iaton/atom,splodingsocks/atom,jordanbtucker/atom,originye/atom,mrodalgaard/atom,Huaraz2/atom,sotayamashita/atom,gisenberg/atom,kc8wxm/atom,fredericksilva/atom,me6iaton/atom,qiujuer/atom,ReddTea/atom,john-kelly/atom,NunoEdgarGub1/atom,BogusCurry/atom,russlescai/atom,Galactix/atom,toqz/atom,ppamorim/atom,svanharmelen/atom,ilovezy/atom,KENJU/atom,wiggzz/atom,ObviouslyGreen/atom,rmartin/atom,Jandersolutions/atom,florianb/atom,kc8wxm/atom,originye/atom,pengshp/atom,Ingramz/atom,Klozz/atom,Jdesk/atom,xream/atom,rxkit/atom,scv119/atom,RuiDGoncalves/atom,g2p/atom,fredericksilva/atom,devoncarew/atom,ilovezy/atom,efatsi/atom,Neron-X5/atom,john-kelly/atom,anuwat121/atom,constanzaurzua/atom,paulcbetts/atom,yomybaby/atom,crazyquark/atom,kdheepak89/atom,charleswhchan/atom