积木系统上线半年,取得了些成绩,也暴露出不少问题,加上 2.0 版本也准备开动,因此正是时候来个总结反思下。
项目开始之前
系统要解决的问题
产品运营在产品侧来说,是个大事,产品的冲量、用户的活跃等等一大堆指标都靠它了,有人说再好的产品不运营也是个渣渣。于此同时,产品运营对技术岗的同学来说,是无休无止的赶时间点(节假日、网络热点)以及不是很能体现技术含量的重复性的简单页面。
这个矛盾,让产品和技术双方都很沮丧,产品觉得技术不够重视,技术则觉得不应该在重复性的简单的工作上投入过多时间。
好吧,这其实就是积木系统想要解决的问题以及终极目标,让产品同学可以快速发布页面,同时技术同学沉淀组件(积木)来避免重复性工作,如下图:
系统的核心功能
分析了各方的痛点以及诉求之后,系统的核心功能其实和容易理出来:
- 简单易用的、可视化的可编辑页面
- 通用的、简便地组件接入机制
当然除此之外还要有:
- 发布系统,既然是批量的生成页面,也就没必要每次都有测试(首次发布要严格测试)来发布
- 编译系统,类似 grunt ,fis 做的事,发布之前要编译,如果资源合并、CDN 路径替换等等
- 业务管理系统,是的,这个系统不能只为腾讯课堂服务
- 权限系统,不多说
- 响应式,一次配置,多端运行
……
开始技术规划之前,我们有必要也必须要分析现有的解决方案,没必要重复轮子。
现有的一些解决方案
传统的后台管理系统(CMS)
不管是产品还是开发,对 CMS 应该都不陌生。
技术开发好前端页面以及后台录入系统,产品在录入系统录入和修改数据让后发布。
这个方案离我们的期望很远:
- 不能可视化的编辑页面
- 页面的路径都不容易变动,而我们的活动则是无穷多个
- 前端代码倒是可以组件化,但也也就停留在代码层面,而不是系统层面
毫不留情的 pass 。
mmrp
这是一个优秀的运营系统,地址 http://mmrp.oa.com/ 。
官方团队这样描述它:
MMRP 全称是 The MultiMedia Release Platform,数字多媒体内容发布系统。
它是一个全新理念的运营需求处理系统,通过 B/S 在线绑定数据及前端代码,录入模块库并通过按需求组合组件,生成网页发布到 CDN 服务器群,旨在推动过渡到工业化时代,避免重复劳动,节省人力资源成本输出价值最大化,同时减少版本风险,缩短研发周期,统一视觉表现。
是的,这是积木系统的前辈,运营系统的先行者。但我们在做深入分析时,也发现了一些缺陷:
- 交互复杂。产品可以在页面拖拽组件,还可以给组件绑定事件(比如 click),多个组件的之间的联动等等等等。这些操作我作为一个开发者在使用的时候都有些云里雾里,不要说产品了。产品在这里的诉求是简单配置,快速发布,绑定 click 事件什么的真的有些夸张了。
- 难以维护和移植。组件和系统是耦合的,这一点很致命。没新增一个组件,系统都要做相应调整,这对于多业务的系统来说是不可介绍的,假如我们的 tapd 也是每新建一个项目就得改下系统……太可怕了!
上面的缺陷,丝毫不影响 mmrp 的光辉,虽然它已经停止维护了,但还是要向它致敬!
积木系统的设计
现有的系统并不能满足刚需,所以,积木系统蓄势待发。
经过团队(imweb)几轮的讨论,架构如下:
可视化和组件化摆到了核心位置,也对应了积木系统的两大核心:系统本身和组件体系。
系统:
- 可视化编辑
- 发布
- 接入各种组件
组件:
- 开发过程和系统无关
- 逻辑和系统无关
- 遵照系统约定
系统不求花哨,但求实用。更多的细节有时间在单独来篇文章,这里就不赘述。
取得的成绩
接入的业务
- 腾讯课堂
- QQ 电影票
发布的活动
总数将近 50 个,其中响应式 30 个。响应式如果走开发流程的话,工作量翻倍。
换算成工作量 (20 + 30 * 2) * 3 = 240 天。这是保守估计,一个活动算了 3d 工作量,同时这也仅仅是算了前端开发,没有算上后台、cgi 、视觉等等。
存在的问题以及 2.0 版特性
问题同样不少,比如接入其他业务还是不够方便、组件与系统联调也不是非常简单,为了解决遇到的问题,让系统更容易接入、开发和移植,积木系统 2.0 已经在规划中!
2.0 的新特性包括但不限于以下几点:
- 系统和业务分离,业务逻辑以插件的形式接入系统,方便业务接入。
- 组件开发套件,无需搭建系统来 debug 组件。
- 更多的表单类型支持,这里的表单是编辑页产品配置表单,包括单选、多选等等常用表单,颜色选择器优化以及能展现复杂数据结构的组件 型表单。
- 更易定制的、易于业务优化的编译、打包系统。
想让 markdown
高亮,找了点插件,比如
https://github.com/jonschlinkert/sublime-markdown-extended
可以让代码块高亮。但没有达到我想要的效果,我想让 markdown
的每个部分高亮,比如 # 标题 高亮。
然后找到了
这个达到了我的效果,但是将整个的 color scheme
都改了,自然不行。
现在的问题是——
在当前的 color scheme 高亮 markdown
继续寻找,然后找了这个
按照上面说的,将代码复制到我的 Obsidian.tmTheme
,成功了。在现有 color scheme
上高亮了 markdown
。
但是头疼的是,我不喜欢他的 标题 颜色,想改。看了代码,摘录一段:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
<dict> <key>name</key> <string>Markup: Underline</string> <key>scope</key> <string>markup.underline</string> <key>settings</key> <dict> <key>fontStyle</key> <string>underline</string> <key>foreground</key> <string><span class="comment">#839496</string></span> </dict> </dict> |
一头雾水,完全不知道 how does it working
,也就无从改起。
没有解决不了的问题,找了半天,这篇博客
Tips For Creating Sublime Text Color Schemes
解决了我的问题。其中的 tip1
尤其好——
Sublime text color schemes work by defining colors for scopes. A syntax definition matches the different parts of the file’s text (e.g. functions, classes, keywords, etc.) and maps them to a named scope. Then the color scheme specifies what colors to use for what scopes.
The hard part comes when you see a particular piece of syntax you want to style a specific way, but you do not know what scope it is. I did a lot of guess work until I discovered the ScopeHunter plugin.
The ScopeHunter plugin allows you to select some text and it tells you what scope it matches. This removes the guess work and allows you to quickly color the pieces you want to.
sublime text 的 color scheme 是通过 scopes
来定义 color
的,我们可以安装插件 ScopeHunter
来查看光标出的 scopes
,从而可以自定义颜色。
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
<dict> <key>name</key> <string>Markup: Underline</string> <key>scope</key> <!-- 这里就是 scope,知道了这个,其他就好办 --> <string>markup.underline</string> <key>settings</key> <dict> <key>fontStyle</key> <string>underline</string> <key>foreground</key> <string><span class="comment">#839496</string></span> </dict> </dict> |
至此,已经可以修改 markdown
到我想要的状态了。但是我又想,能不能把 markdown.md
的背景也改了,
甚至模仿 github
的样式。
少说多做,幸福一生。
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
<dict> <key>name</key> <string>Markdown</string> <key>scope</key> <string>text.html.markdown</string> <key>settings</key> <dict> <key>background</key> <string><span class="comment">#ffffff</string></span> <key>foreground</key> <string><span class="comment">#666666</string></span> </dict> </dict> |
马上把上面的代码加入 color scheme
,有效果,嗯,现在比较大的问题是 lineHighlight
(鼠标所在行高亮)比较突兀。
是个问题,并且 lineHighlight
没有 scope
,蛋疼了。
解决方式是调整全局 lineHighlight
的值,使其用透明度达到效果。
Perfect!
参考:
http://stackoverflow.com/questions/10636410/modifying-sublime-text-2-for-js
附上我的 color scheme
Obsidian.tmTheme
:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 |
<?xml version=<span class="string">"1.0"</span> encoding=<span class="string">"UTF-8"</span><span class="preprocessor">?></span> <!DOCTYPE plist <span class="keyword">PUBLIC</span> <span class="string">"-//Apple//DTD PLIST 1.0//EN"</span> <span class="string">"http://www.apple.com/DTDs/PropertyList-1.0.dtd"</span>> <plist version=<span class="string">"1.0"</span>> <dict> <key>author</key> <string>Marcus Ekwall</string> <key>modify</key> <string>jerry</string> <key>name</key> <string>Obsidian</string> <key>version</key> <string><span class="number">0.1</span></string> <key>settings</key> <<span class="keyword">array</span>> <!-- <span class="keyword">global</span> --> <dict> <key>settings</key> <dict> <key>background</key> <string><span class="comment">#293134</string></span> <key>caret</key> <string><span class="comment">#E0E2E4</string></span> <key>foreground</key> <string><span class="comment">#81969A</string></span> <key>invisibles</key> <string><span class="comment">#BFBFBF</string></span> <key>lineHighlight</key> <string><span class="comment">#E5E5E520</string></span> <key>selection</key> <string><span class="comment">#0D0F0F</string></span> </dict> </dict> <dict> <key>name</key> <string>Text base</string> <key>scope</key> <string>text</string> <key>settings</key> <dict> <key>background</key> <string><span class="comment">#293134</string></span> <key>foreground</key> <string><span class="comment">#E0E2E4</string></span> </dict> </dict> <dict> <key>name</key> <string>Source base</string> <key>scope</key> <string>source</string> <key>settings</key> <dict> <key>background</key> <string><span class="comment">#293134</string></span> <key>foreground</key> <string><span class="comment">#E0E2E4</string></span> </dict> </dict> <dict> <key>name</key> <string>Comment</string> <key>scope</key> <string>comment</string> <key>settings</key> <dict> <key>fontStyle</key> <string></string> <key>foreground</key> <string><span class="comment">#66747B</string></span> </dict> </dict> <dict> <key>name</key> <string>Comment Block</string> <key>scope</key> <string>comment.block</string> <key>settings</key> <dict> <key>fontStyle</key> <string>italic</string> <key>foreground</key> <string><span class="comment">#66747B</string></span> </dict> </dict> <dict> <key>name</key> <string>Comment Doc</string> <key>scope</key> <string>comment.documentation</string> <key>settings</key> <dict> <key>fontStyle</key> <string></string> <key>foreground</key> <string><span class="comment">#66747B</string></span> </dict> </dict> <dict> <key>name</key> <string>String</string> <key>scope</key> <string>string</string> <key>settings</key> <dict> <key>foreground</key> <string><span class="comment">#EC7600</string></span> </dict> </dict> <dict> <key>name</key> <string>Number</string> <key>scope</key> <string>constant.numeric</string> <key>settings</key> <dict> <key>foreground</key> <string><span class="comment">#FFCD22</string></span> </dict> </dict> <dict> <key>name</key> <string>Built-in constant</string> <key>scope</key> <string>constant.language</string> <key>settings</key> <dict> <key>fontStyle</key> <string>bold</string> <key>foreground</key> <string><span class="comment">#93C763</string></span> </dict> </dict> <dict> <key>name</key> <string>User-defined constant</string> <key>scope</key> <string>constant.character, constant.other</string> <key>settings</key> <dict> <key>fontStyle</key> <string></string> </dict> </dict> <dict> <key>name</key> <string>Variable</string> <key>scope</key> <string>variable.language, variable.other</string> <key>settings</key> <dict> <key>foreground</key> <string><span class="comment">#678CB1</string></span> </dict> </dict> <dict> <key>name</key> <string>JavaScript: Variable</string> <key>scope</key> <string>variable.language.js</string> <key>settings</key> <dict> <key>fontStyle</key> <string>bold</string> <key>foreground</key> <string><span class="comment">#93C763</string></span> </dict> </dict> <dict> <key>name</key> <string>Keyword</string> <key>scope</key> <string>keyword</string> <key>settings</key> <dict> <key>fontStyle</key> <string>bold</string> <key>foreground</key> <string><span class="comment">#93C763</string></span> </dict> </dict> <dict> <key>name</key> <string>Operator</string> <key>scope</key> <string>keyword.operator</string> <key>settings</key> <dict> <key>fontStyle</key> <string></string> <key>foreground</key> <string><span class="comment">#E0E2E4</string></span> </dict> </dict> <dict> <key>name</key> <string>Storage</string> <key>scope</key> <string>storage</string> <key>settings</key> <dict> <key>fontStyle</key> <string>bold</string> <key>foreground</key> <string><span class="comment">#93C763</string></span> </dict> </dict> <dict> <key>name</key> <string><span class="keyword">Class</span> name</string> <key>scope</key> <string>entity.name.<span class="keyword">class</span></string> <key>settings</key> <dict> <key>fontStyle</key> <string></string> </dict> </dict> <dict> <key>name</key> <string>Inherited <span class="keyword">class</span></string> <key>scope</key> <string>entity.other.inherited-<span class="keyword">class</span></string> <key>settings</key> <dict> <key>fontStyle</key> <string></string> </dict> </dict> <dict> <key>name</key> <string><span class="keyword">Function</span> name</string> <key>scope</key> <string>entity.name.<span class="keyword">function</span></string> <key>settings</key> <dict> <key>fontStyle</key> <string>bold</string> <key>foreground</key> <string><span class="comment">#678CB1</string></span> </dict> </dict> <dict> <key>name</key> <string><span class="keyword">Function</span> argument</string> <key>scope</key> <string>variable.parameter</string> <key>settings</key> <dict> <key>fontStyle</key> <string></string> </dict> </dict> <dict> <key>name</key> <string>Tag name</string> <key>scope</key> <string>entity.name.tag</string> <key>settings</key> <dict> <key>fontStyle</key> <string>bold</string> <key>foreground</key> <string><span class="comment">#408080</string></span> </dict> </dict> <dict> <key>name</key> <string>Tag attribute</string> <key>scope</key> <string>entity.other.attribute-name</string> <key>settings</key> <dict> <key>fontStyle</key> <string>bold</string> <key>foreground</key> <string><span class="comment">#808040</string></span> </dict> </dict> <dict> <key>name</key> <string>Library <span class="keyword">function</span></string> <key>scope</key> <string>support.<span class="keyword">function</span></string> <key>settings</key> <dict> <key>fontStyle</key> <string></string> </dict> </dict> <dict> <key>name</key> <string>Library constant</string> <key>scope</key> <string>support.constant</string> <key>settings</key> <dict> <key>fontStyle</key> <string></string> </dict> </dict> <dict> <key>name</key> <string>Library <span class="keyword">class</span>/type</string> <key>scope</key> <string>support.type, support.<span class="keyword">class</span></string> <key>settings</key> <dict> <key>fontStyle</key> <string></string> </dict> </dict> <dict> <key>name</key> <string>Library variable</string> <key>scope</key> <string>support.other.variable</string> <key>settings</key> <dict> <key>fontStyle</key> <string></string> </dict> </dict> <dict> <key>name</key> <string>Invalid</string> <key>scope</key> <string>invalid</string> <key>settings</key> <dict> <key>fontStyle</key> <string></string> </dict> </dict> <dict> <key>name</key> <string>Embedded section</string> <key>scope</key> <string>punctuation.section.embedded</string> <key>settings</key> <dict> <key>fontStyle</key> <string>bold</string> <key>foreground</key> <string><span class="comment">#D955C1</string></span> </dict> </dict> <dict> <key>name</key> <string>Keyword Operator <span class="keyword">Class</span></string> <key>scope</key> <string>keyword.operator.<span class="keyword">class</span></string> <key>settings</key> <dict> <key>fontStyle</key> <string></string> <key>foreground</key> <string><span class="comment">#96989A</string></span> </dict> </dict> <dict> <key>name</key> <string>Delimiter</string> <key>scope</key> <string>meta.delimiter</string> <key>settings</key> <dict> <key>foreground</key> <string><span class="comment">#96979A</string></span> </dict> </dict> <dict> </dict> <dict> <key>name</key> <string>Round brace</string> <key>scope</key> <string>meta.brace</string> <key>settings</key> <dict> <key>foreground</key> <string><span class="comment">#E8E2B7</string></span> </dict> </dict> <dict> <key>name</key> <string>Curly brace</string> <key>scope</key> <string>meta.brace.curly</string> <key>settings</key> <dict> <key>foreground</key> <string><span class="comment">#96979A</string></span> </dict> </dict> <dict> <key>name</key> <string>JavaScript: Embedded</string> <key>scope</key> <string>source.js.embedded</string> <key>settings</key> <dict> <key>background</key> <string><span class="comment">#262C2F</string></span> </dict> </dict> <dict> <key>name</key> <string>JavaScript: Variable</string> <key>scope</key> <string>variable.language.js</string> <key>settings</key> <dict> <key>fontStyle</key> <string>bold</string> <key>foreground</key> <string><span class="comment">#93C763</string></span> </dict> </dict> <dict> <key>name</key> <string>JavaScript: <span class="keyword">Function</span> name</string> <key>scope</key> <string>entity.name.<span class="keyword">function</span>.js</string> <key>settings</key> <dict> <key>fontStyle</key> <string></string> <key>foreground</key> <string><span class="comment">#E0E2E4</string></span> </dict> </dict> <dict> <key>name</key> <string>JavaScript: Instance</string> <key>scope</key> <string>entity.name.type.instance.js</string> <key>settings</key> <dict> <key>fontStyle</key> <string>underline, bold</string> <key>foreground</key> <string><span class="comment">#AFC0E5</string></span> </dict> </dict> <dict> <key>name</key> <string>JavaScript: <span class="keyword">Class</span></string> <key>scope</key> <string>support.<span class="keyword">class</span>.js</string> <key>settings</key> <dict> <key>fontStyle</key> <string></string> <key>foreground</key> <string><span class="comment">#78D023</string></span> </dict> </dict> <dict> <key>name</key> <string>JavaScript: Modifier</string> <key>scope</key> <string>storage.modifier.js</string> <key>settings</key> <dict> <key>fontStyle</key> <string></string> <key>foreground</key> <string><span class="comment">#78D023</string></span> </dict> </dict> <dict> <key>name</key> <string>JavaScript: Constant</string> <key>scope</key> <string>support.constant.js, support.constant.dom.js</string> <key>settings</key> <dict> <key>fontStyle</key> <string></string> <key>foreground</key> <string><span class="comment">#78D023</string></span> </dict> </dict> <dict> <key>name</key> <string>JavaScript: Operator <span class="keyword">and</span> terminator</string> <key>scope</key> <string>keyword.operator.js, punctuation.terminator.statement.js</string> <key>settings</key> <dict> <key>fontStyle</key> <string></string> <key>foreground</key> <string><span class="comment">#E0E2E4</string></span> </dict> </dict> <dict> <key>name</key> <string>JavaScript: Console</string> <key>scope</key> <string>entity.name.type.object.js.firebug, keyword.other.js</string> <key>settings</key> <dict> <key>fontStyle</key> <string></string> <key>foreground</key> <string><span class="comment">#DA4236</string></span> </dict> </dict> <dict> <key>name</key> <string>CSS: Embedded</string> <key>scope</key> <string>source.css.embedded</string> <key>settings</key> <dict> <key>background</key> <string><span class="comment">#262C2F</string></span> <key>foreground</key> <string><span class="comment">#E0E2E4</string></span> </dict> </dict> <dict> <key>name</key> <string>CSS: Directive</string> <key>scope</key> <string>keyword.control.at-rule.import.css</string> <key>settings</key> <dict> <key>foreground</key> <string><span class="comment">#A082BD</string></span> </dict> </dict> <dict> <key>name</key> <string>CSS: <span class="keyword">Class</span></string> <key>scope</key> <string>entity.other.attribute-name.<span class="keyword">class</span>.css</string> <key>settings</key> <dict> <key>fontStyle</key> <string></string> <key>foreground</key> <string><span class="comment">#93C763</string></span> </dict> </dict> <dict> <key>name</key> <string>CSS: Tag</string> <key>scope</key> <string>entity.name.tag.css</string> <key>settings</key> <dict> <key>foreground</key> <string><span class="comment">#B3B689</string></span> </dict> </dict> <dict> <key>name</key> <string>CSS: Property</string> <key>scope</key> <string>support.type.property-name.css, meta.property-name.css</string> <key>settings</key> <dict> <key>foreground</key> <string><span class="comment">#678CB1</string></span> </dict> </dict> <dict> <key>name</key> <string>CSS: Unit</string> <key>scope</key> <string>keyword.other.unit.css</string> <key>settings</key> <dict> <key>fontStyle</key> <string></string> <key>foreground</key> <string><span class="comment">#E0E2E4</string></span> </dict> </dict> <dict> <key>name</key> <string>CSS: Parameter</string> <key>scope</key> <string>variable.parameter.misc.css</string> <key>settings</key> <dict> <key>fontStyle</key> <string></string> <key>foreground</key> <string><span class="comment">#EC7600</string></span> </dict> </dict> <dict> <key>name</key> <string>CSS: ID</string> <key>scope</key> <string>entity.other.attribute-name.id.css</string> <key>settings</key> <dict> <key>fontStyle</key> <string></string> <key>foreground</key> <string><span class="comment">#D5AB55</string></span> </dict> </dict> <dict> <key>name</key> <string>CSS: Definition</string> <key>scope</key> <string>punctuation.definition.entity.css</string> <key>settings</key> <dict> <key>fontStyle</key> <string></string> <key>foreground</key> <string><span class="comment">#9CB4AA</string></span> </dict> </dict> <dict> <key>name</key> <string>HTML/XML: String</string> <key>scope</key> <string>string.quoted.double.html, string.quoted.single.html, string.quoted.double.xml, string.quoted.single.xml</string> <key>settings</key> <dict> <key>foreground</key> <string><span class="comment">#E1E2CF</string></span> </dict> </dict> <dict> <key>name</key> <string>HTML/XML: Definition</string> <key>scope</key> <string>punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html, punctuation.definition.tag.html, punctuation.definition.tag.begin.xml, punctuation.definition.tag.end.xml, punctuation.definition.tag.xml, meta.tag.no-content</string> <key>settings</key> <dict> <key>fontStyle</key> <string></string> <key>foreground</key> <string><span class="comment">#557182</string></span> </dict> </dict> <dict> <key>name</key> <string>XML: Tag</string> <key>scope</key> <string>entity.name.tag.xml, entity.name.tag.localname.xml</string> <key>settings</key> <dict> <key>fontStyle</key> <string>bold</string> <key>foreground</key> <string><span class="comment">#678CB1</string></span> </dict> </dict> <dict> <key>name</key> <string>XML: Definition</string> <key>scope</key> <string>meta.tag.preprocessor.xml punctuation.definition.tag.xml</string> <key>settings</key> <dict> <key>fontStyle</key> <string></string> <key>foreground</key> <string><span class="comment">#557182</string></span> </dict> </dict> <dict> <key>name</key> <string>XML: Value</string> <key>scope</key> <string>constant.other.name.xml, string.quoted.other.xml</string> <key>settings</key> <dict> <key>foreground</key> <string><span class="comment">#E0E2E4</string></span> </dict> </dict> <dict> <key>name</key> <string>DocType HTML: Tag</string> <key>scope</key> <string>meta.tag.sgml.doctype</string> <key>settings</key> <dict> <key>fontStyle</key> <string></string> <key>foreground</key> <string><span class="comment">#557182</string></span> </dict> </dict> <dict> <key>name</key> <string>DocType: Root</string> <key>scope</key> <string>meta.tag.sgml.doctype variable.documentroot.xml, meta.tag.sgml.doctype.html</string> <key>settings</key> <dict> <key>fontStyle</key> <string></string> <key>foreground</key> <string><span class="comment">#D5AB55</string></span> </dict> </dict> <dict> <key>name</key> <string>DocType: Keyword</string> <key>scope</key> <string>keyword.doctype, entity.name.tag.doctype</string> <key>settings</key> <dict> <key>foreground</key> <string><span class="comment">#557182</string></span> </dict> </dict> <dict> <key>name</key> <string>DocType: Variable</string> <key>scope</key> <string>variable.documentroot</string> <key>settings</key> <dict> <key>foreground</key> <string><span class="comment">#E0E2E4</string></span> </dict> </dict> <dict> <key>name</key> <string>PHP: Embedded</string> <key>scope</key> <string>source.php.embedded</string> <key>settings</key> <dict> <key>background</key> <string><span class="comment">#252C30</string></span> </dict> </dict> <dict> <key>name</key> <string>PHP: Word</string> <key>scope</key> <string>support.<span class="keyword">function</span>.construct.php</string> <key>settings</key> <dict> <key>foreground</key> <string><span class="comment">#93C763</string></span> </dict> </dict> <dict> <key>name</key> <string>PHP: Constant</string> <key>scope</key> <string>constant.other.php</string> <key>settings</key> <dict> <key>foreground</key> <string><span class="comment">#D39745</string></span> </dict> </dict> <dict> <key>name</key> <string>PHP: Operator</string> <key>scope</key> <string>keyword.operator.string.php, keyword.operator.<span class="keyword">class</span>.php, keyword.operator.comparison.php, punctuation.definition.<span class="keyword">array</span>.begin.php, punctuation.definition.<span class="keyword">array</span>.end.php, punctuation.terminator.expression.php</string> <key>settings</key> <dict> <key>foreground</key> <string><span class="comment">#E8E2B7</string></span> </dict> </dict> <!-- markdown --> <dict> <key>name</key> <string>diff: deleted</string> <key>scope</key> <string>markup.deleted</string> <key>settings</key> <dict> <key>background</key> <string><span class="comment">#EAE3CA</string></span> <key>fontStyle</key> <string></string> <key>foreground</key> <string><span class="comment">#D3201F</string></span> </dict> </dict> <dict> <key>name</key> <string>diff: changed</string> <key>scope</key> <string>markup.changed</string> <key>settings</key> <dict> <key>background</key> <string><span class="comment">#EAE3CA</string></span> <key>fontStyle</key> <string></string> <key>foreground</key> <string><span class="comment">#BF3904</string></span> </dict> </dict> <dict> <key>name</key> <string>diff: inserted</string> <key>scope</key> <string>markup.inserted</string> <key>settings</key> <dict> <key>background</key> <string><span class="comment">#EAE3CA</string></span> <key>foreground</key> <string><span class="comment">#219186</string></span> </dict> </dict> <dict> <key>name</key> <string>Markdown</string> <key>scope</key> <string>text.html.markdown</string> <key>settings</key> <dict> <key>background</key> <string><span class="comment">#ffffff</string></span> <key>foreground</key> <string><span class="comment">#666666</string></span> </dict> </dict> <dict> <key>name</key> <string>Markdown</string> <key>scope</key> <string>text.html.markdown</string> <key>settings</key> <dict> <key>background</key> <string><span class="comment">#ffffff</string></span> <key>foreground</key> <string><span class="comment">#666666</string></span> </dict> </dict> <dict> <key>name</key> <string>Markdown: Linebreak</string> <key>scope</key> <string>text.html.markdown meta.dummy.line-<span class="keyword">break</span></string> <key>settings</key> <dict> <key>background</key> <string><span class="comment">#A57706</string></span> <key>foreground</key> <string><span class="comment">#E0EDDD</string></span> </dict> </dict> <dict> <key>name</key> <string>Markdown: Raw</string> <key>scope</key> <string>text.html.markdown markup.raw.inline</string> <key>settings</key> <dict> <key>background</key> <string><span class="comment">#F8F8F8</string></span> <key>foreground</key> <string><span class="comment">#269186</string></span> </dict> </dict> <dict> <key>name</key> <string>Markup: Heading</string> <key>scope</key> <string>markup.heading</string> <key>settings</key> <dict> <key>fontStyle</key> <string>bold</string> <key>foreground</key> <string><span class="comment">#000000</string></span> </dict> </dict> <dict> <key>name</key> <string>Markup: Italic</string> <key>scope</key> <string>markup.italic</string> <key>settings</key> <dict> <key>fontStyle</key> <string>italic</string> <key>foreground</key> <string><span class="comment">#839496</string></span> </dict> </dict> <dict> <key>name</key> <string>Markup: Bold</string> <key>scope</key> <string>markup.bold</string> <key>settings</key> <dict> <key>fontStyle</key> <string>bold</string> <key>foreground</key> <string><span class="comment">#ec7600</string></span> </dict> </dict> <dict> <key>name</key> <string>Markup: Underline</string> <key>scope</key> <string>markup.underline</string> <key>settings</key> <dict> <key>fontStyle</key> <string>underline</string> <key>foreground</key> <string><span class="comment">#839496</string></span> </dict> </dict> <dict> <key>name</key> <string>Markup: Quote</string> <key>scope</key> <string>markup.quote</string> <key>settings</key> <dict> <key>fontStyle</key> <string>italic</string> <key>foreground</key> <string><span class="comment">#268bd2</string></span> </dict> </dict> <dict> <key>name</key> <string>Markup: <span class="keyword">List</span></string> <key>scope</key> <string>markup.<span class="keyword">list</span></string> <key>settings</key> <dict> <key>foreground</key> <string><span class="comment">#afc0e5</string></span> </dict> </dict> <dict> <key>name</key> <string>Markup: Raw</string> <key>scope</key> <string>markup.raw</string> <key>settings</key> <dict> <key>foreground</key> <string><span class="comment">#b58900</string></span> </dict> </dict> <dict> <key>name</key> <string>Markup: Separator</string> <key>scope</key> <string>meta.separator</string> <key>settings</key> <dict> <key>background</key> <string><span class="comment">#eee8d5</string></span> <key>fontStyle</key> <string>bold</string> <key>foreground</key> <string><span class="comment">#268bd2</string></span> </dict> </dict> </<span class="keyword">array</span>> <key>uuid</key> <string><span class="number">70442</span>A54-<span class="number">7505</span>-<span class="number">46</span>E2-AAD8-<span class="number">44691</span>BBC53DF</string> </dict> </plist> |