@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add Pebkac app icon, 2x Tokens

Summary: Adds a new app icon, 2x Tokens for Retina pixelness.

Test Plan: Photoshop

Reviewers: epriestley, btrahan

Reviewed By: btrahan

CC: Korvin, epriestley, aran

Maniphest Tasks: T4044

Differential Revision: https://secure.phabricator.com/D7473

+293 -218
resources/sprite/apps_blue_2x/pebkac.png

This is a binary file and will not be displayed.

resources/sprite/apps_blue_4x/pebkac.png

This is a binary file and will not be displayed.

resources/sprite/apps_dark_1x/pebkac.png

This is a binary file and will not be displayed.

resources/sprite/apps_dark_2x/pebkac.png

This is a binary file and will not be displayed.

resources/sprite/apps_dark_4x/pebkac.png

This is a binary file and will not be displayed.

resources/sprite/apps_lb_2x/pebkac.png

This is a binary file and will not be displayed.

resources/sprite/apps_lb_4x/pebkac.png

This is a binary file and will not be displayed.

resources/sprite/apps_white_1x/pebkac.png

This is a binary file and will not be displayed.

resources/sprite/apps_white_2x/pebkac.png

This is a binary file and will not be displayed.

resources/sprite/apps_white_4x/pebkac.png

This is a binary file and will not be displayed.

+20
resources/sprite/manifest/apps-large.json
··· 621 621 "rule" : ".apps-paste-white-large", 622 622 "hash" : "94cf3ee0f2b15b82ad8f62cb9399ecad" 623 623 }, 624 + "apps-pebkac-blue-large" : { 625 + "name" : "apps-pebkac-blue-large", 626 + "rule" : ".apps-pebkac-blue-large, .phabricator-crumb-view:hover .apps-pebkac-dark-large", 627 + "hash" : "7a1010119d4589609f364c603cd03d1b" 628 + }, 629 + "apps-pebkac-dark-large" : { 630 + "name" : "apps-pebkac-dark-large", 631 + "rule" : ".apps-pebkac-dark-large", 632 + "hash" : "617142b451eec10fe60246eec52a99d0" 633 + }, 634 + "apps-pebkac-light-large" : { 635 + "name" : "apps-pebkac-light-large", 636 + "rule" : ".apps-pebkac-light-large", 637 + "hash" : "2319b657d0fe3df60b234e8961c4869e" 638 + }, 639 + "apps-pebkac-white-large" : { 640 + "name" : "apps-pebkac-white-large", 641 + "rule" : ".apps-pebkac-white-large", 642 + "hash" : "25eb13ac78cf507b6ec66016cd477cfe" 643 + }, 624 644 "apps-people-blue-large" : { 625 645 "name" : "apps-people-blue-large", 626 646 "rule" : ".apps-people-blue-large, .phabricator-crumb-view:hover .apps-people-dark-large",
+10
resources/sprite/manifest/apps.json
··· 311 311 "rule" : ".apps-paste-white", 312 312 "hash" : "ed5ec1ee39cc2a01f568f91c72141bfb" 313 313 }, 314 + "apps-pebkac-dark" : { 315 + "name" : "apps-pebkac-dark", 316 + "rule" : ".apps-pebkac-dark", 317 + "hash" : "4adb4a8f0a8c5bc5462bb806ceafc63f" 318 + }, 319 + "apps-pebkac-white" : { 320 + "name" : "apps-pebkac-white", 321 + "rule" : ".apps-pebkac-white", 322 + "hash" : "35438c7a295df21aa2fa4771a5c3c986" 323 + }, 314 324 "apps-people-dark" : { 315 325 "name" : "apps-people-dark", 316 326 "rule" : ".apps-people-dark",
+19 -18
resources/sprite/manifest/tokens.json
··· 4 4 "tokens-coin-1" : { 5 5 "name" : "tokens-coin-1", 6 6 "rule" : ".tokens-coin-1", 7 - "hash" : "144fe1689d96f1e32102c6963e38d419" 7 + "hash" : "0ec4c7309f8191972340c6789a6b5691" 8 8 }, 9 9 "tokens-coin-2" : { 10 10 "name" : "tokens-coin-2", 11 11 "rule" : ".tokens-coin-2", 12 - "hash" : "fb39ebba861cfd0e1770f0fefc617a20" 12 + "hash" : "4c85dd4b0c388cfefe0075b7056384fd" 13 13 }, 14 14 "tokens-coin-3" : { 15 15 "name" : "tokens-coin-3", 16 16 "rule" : ".tokens-coin-3", 17 - "hash" : "f67d4c69a97262b53db38214274fbade" 17 + "hash" : "a2e3770894539957e436a7d5a2be4703" 18 18 }, 19 19 "tokens-coin-4" : { 20 20 "name" : "tokens-coin-4", 21 21 "rule" : ".tokens-coin-4", 22 - "hash" : "871f3130c0a00489454acdd1f1b14406" 22 + "hash" : "856cb87c5590975c0a25177ca2fd2a8f" 23 23 }, 24 24 "tokens-heart-1" : { 25 25 "name" : "tokens-heart-1", 26 26 "rule" : ".tokens-heart-1", 27 - "hash" : "312c32354b082fd54eb1611a114b8c89" 27 + "hash" : "370228318750a79d93848bdf686444e5" 28 28 }, 29 29 "tokens-heart-2" : { 30 30 "name" : "tokens-heart-2", 31 31 "rule" : ".tokens-heart-2", 32 - "hash" : "f23c6e814bc0c5140a6ec65d9522a4b2" 32 + "hash" : "197144d3987308aaef311e29e3503707" 33 33 }, 34 34 "tokens-like-1" : { 35 35 "name" : "tokens-like-1", 36 36 "rule" : ".tokens-like-1", 37 - "hash" : "810d7ff43284c9611dfc9d81b5010889" 37 + "hash" : "3c5271d6678ad6d217a47779488c9918" 38 38 }, 39 39 "tokens-like-2" : { 40 40 "name" : "tokens-like-2", 41 41 "rule" : ".tokens-like-2", 42 - "hash" : "8d1f0de719ce3d9c126a698bc41bbb5b" 42 + "hash" : "b009176baadc3e71786ac24ce8229c5a" 43 43 }, 44 44 "tokens-medal-1" : { 45 45 "name" : "tokens-medal-1", 46 46 "rule" : ".tokens-medal-1", 47 - "hash" : "f565655bd55c8a62711295aa4d76d5c3" 47 + "hash" : "cd897529c6834917da062589ae1a69ae" 48 48 }, 49 49 "tokens-medal-2" : { 50 50 "name" : "tokens-medal-2", 51 51 "rule" : ".tokens-medal-2", 52 - "hash" : "3aa60b71c15cb3f9c88c02572ce5dbd8" 52 + "hash" : "d56f106b508c33bca6c0a33e2544d0d6" 53 53 }, 54 54 "tokens-medal-3" : { 55 55 "name" : "tokens-medal-3", 56 56 "rule" : ".tokens-medal-3", 57 - "hash" : "3e0edafb5b26b9f88019031b7738cf85" 57 + "hash" : "d4e7c06cfd39d932a35aa25841d5008c" 58 58 }, 59 59 "tokens-medal-4" : { 60 60 "name" : "tokens-medal-4", 61 61 "rule" : ".tokens-medal-4", 62 - "hash" : "20a31832833ba9b0ace59235bc39270b" 62 + "hash" : "36f596bd2615e521542ac10a771d6902" 63 63 }, 64 64 "tokens-misc-1" : { 65 65 "name" : "tokens-misc-1", 66 66 "rule" : ".tokens-misc-1", 67 - "hash" : "a35a19550f5786a255dd5247a5877063" 67 + "hash" : "8f7575c0176570b30aaffb801bcb2c13" 68 68 }, 69 69 "tokens-misc-2" : { 70 70 "name" : "tokens-misc-2", 71 71 "rule" : ".tokens-misc-2", 72 - "hash" : "33a10020a1f62d3a103cefe22979d0e9" 72 + "hash" : "5c61bc36fd0b5545ebf31b57c6ab5185" 73 73 }, 74 74 "tokens-misc-3" : { 75 75 "name" : "tokens-misc-3", 76 76 "rule" : ".tokens-misc-3", 77 - "hash" : "ba1e7f3db3b0b58b93b92409b38fcf21" 77 + "hash" : "97a383def5eb847077b2b26a1a441c0e" 78 78 }, 79 79 "tokens-misc-4" : { 80 80 "name" : "tokens-misc-4", 81 81 "rule" : ".tokens-misc-4", 82 - "hash" : "8084934d0cdea6a07bb84c5f6c724ff5" 82 + "hash" : "229c8a28e3b6bb883effbb62689e190f" 83 83 } 84 84 }, 85 85 "scales" : [ 86 - 1 86 + 1, 87 + 2 87 88 ], 88 - "header" : "\/**\n * @provides sprite-tokens-css\n * @generated\n *\/\n\n.sprite-tokens {\n background-image: url(\/rsrc\/image\/sprite-tokens.png);\n background-repeat: no-repeat;\n}\n\n\n", 89 + "header" : "\/**\n * @provides sprite-tokens-css\n * @generated\n *\/\n\n.sprite-tokens {\n background-image: url(\/rsrc\/image\/sprite-tokens.png);\n background-repeat: no-repeat;\n}\n\n@media\nonly screen and (min-device-pixel-ratio: 1.5),\nonly screen and (-webkit-min-device-pixel-ratio: 1.5) {\n .sprite-tokens {\n background-image: url(\/rsrc\/image\/sprite-tokens-X2.png);\n background-size: {X}px {Y}px;\n }\n}\n", 89 90 "type" : "standard" 90 91 }
resources/sprite/tokens_2x/coin-1.png

This is a binary file and will not be displayed.

resources/sprite/tokens_2x/coin-2.png

This is a binary file and will not be displayed.

resources/sprite/tokens_2x/coin-3.png

This is a binary file and will not be displayed.

resources/sprite/tokens_2x/coin-4.png

This is a binary file and will not be displayed.

resources/sprite/tokens_2x/heart-1.png

This is a binary file and will not be displayed.

resources/sprite/tokens_2x/heart-2.png

This is a binary file and will not be displayed.

resources/sprite/tokens_2x/like-1.png

This is a binary file and will not be displayed.

resources/sprite/tokens_2x/like-2.png

This is a binary file and will not be displayed.

resources/sprite/tokens_2x/medal-1.png

This is a binary file and will not be displayed.

resources/sprite/tokens_2x/medal-2.png

This is a binary file and will not be displayed.

resources/sprite/tokens_2x/medal-3.png

This is a binary file and will not be displayed.

resources/sprite/tokens_2x/medal-4.png

This is a binary file and will not be displayed.

resources/sprite/tokens_2x/misc-1.png

This is a binary file and will not be displayed.

resources/sprite/tokens_2x/misc-2.png

This is a binary file and will not be displayed.

resources/sprite/tokens_2x/misc-3.png

This is a binary file and will not be displayed.

resources/sprite/tokens_2x/misc-4.png

This is a binary file and will not be displayed.

+63 -56
src/__celerity_resource_map__.php
··· 569 569 ), 570 570 '/rsrc/image/sprite-apps-X2.png' => 571 571 array( 572 - 'hash' => 'c15f920572ee2acb51881039f53ab1cd', 573 - 'uri' => '/res/c15f9205/rsrc/image/sprite-apps-X2.png', 572 + 'hash' => '68bbb3f409d0eb42d65dd94769813044', 573 + 'uri' => '/res/68bbb3f4/rsrc/image/sprite-apps-X2.png', 574 574 'disk' => '/rsrc/image/sprite-apps-X2.png', 575 575 'type' => 'png', 576 576 ), 577 577 '/rsrc/image/sprite-apps-large-X2.png' => 578 578 array( 579 - 'hash' => '0d03d3aa517de750c2765f6d85af63fb', 580 - 'uri' => '/res/0d03d3aa/rsrc/image/sprite-apps-large-X2.png', 579 + 'hash' => '15368afbac0e1402c20f99f3166cdb11', 580 + 'uri' => '/res/15368afb/rsrc/image/sprite-apps-large-X2.png', 581 581 'disk' => '/rsrc/image/sprite-apps-large-X2.png', 582 582 'type' => 'png', 583 583 ), 584 584 '/rsrc/image/sprite-apps-large.png' => 585 585 array( 586 - 'hash' => 'e7d84eb34053b30a9f73eddddb58adab', 587 - 'uri' => '/res/e7d84eb3/rsrc/image/sprite-apps-large.png', 586 + 'hash' => 'b1f1de55803cf22eb3beb391fff17b04', 587 + 'uri' => '/res/b1f1de55/rsrc/image/sprite-apps-large.png', 588 588 'disk' => '/rsrc/image/sprite-apps-large.png', 589 589 'type' => 'png', 590 590 ), ··· 597 597 ), 598 598 '/rsrc/image/sprite-apps.png' => 599 599 array( 600 - 'hash' => 'fd67e1346117ee95b1327a2b92472525', 601 - 'uri' => '/res/fd67e134/rsrc/image/sprite-apps.png', 600 + 'hash' => 'bf7feaae848d44a461e63123c28e402f', 601 + 'uri' => '/res/bf7feaae/rsrc/image/sprite-apps.png', 602 602 'disk' => '/rsrc/image/sprite-apps.png', 603 603 'type' => 'png', 604 604 ), ··· 726 726 'hash' => 'b78e998cb34964052b17a8777651ecbd', 727 727 'uri' => '/res/b78e998c/rsrc/image/sprite-status.png', 728 728 'disk' => '/rsrc/image/sprite-status.png', 729 + 'type' => 'png', 730 + ), 731 + '/rsrc/image/sprite-tokens-X2.png' => 732 + array( 733 + 'hash' => '8b822687e6b1088cbb5ea89cf6d351a4', 734 + 'uri' => '/res/8b822687/rsrc/image/sprite-tokens-X2.png', 735 + 'disk' => '/rsrc/image/sprite-tokens-X2.png', 729 736 'type' => 'png', 730 737 ), 731 738 '/rsrc/image/sprite-tokens.png' => ··· 4176 4183 ), 4177 4184 'sprite-apps-css' => 4178 4185 array( 4179 - 'uri' => '/res/49414f73/rsrc/css/sprite-apps.css', 4186 + 'uri' => '/res/37c55e75/rsrc/css/sprite-apps.css', 4180 4187 'type' => 'css', 4181 4188 'requires' => 4182 4189 array( ··· 4185 4192 ), 4186 4193 'sprite-apps-large-css' => 4187 4194 array( 4188 - 'uri' => '/res/9b28c951/rsrc/css/sprite-apps-large.css', 4195 + 'uri' => '/res/8ddded36/rsrc/css/sprite-apps-large.css', 4189 4196 'type' => 'css', 4190 4197 'requires' => 4191 4198 array( ··· 4293 4300 ), 4294 4301 'sprite-tokens-css' => 4295 4302 array( 4296 - 'uri' => '/res/edb4e341/rsrc/css/sprite-tokens.css', 4303 + 'uri' => '/res/eeca7cf1/rsrc/css/sprite-tokens.css', 4297 4304 'type' => 'css', 4298 4305 'requires' => 4299 4306 array( ··· 4321 4328 ), array( 4322 4329 'packages' => 4323 4330 array( 4324 - 'cbf6df8c' => 4331 + 'f350af41' => 4325 4332 array( 4326 4333 'name' => 'core.pkg.css', 4327 4334 'symbols' => ··· 4370 4377 41 => 'phabricator-tag-view-css', 4371 4378 42 => 'phui-list-view-css', 4372 4379 ), 4373 - 'uri' => '/res/pkg/cbf6df8c/core.pkg.css', 4380 + 'uri' => '/res/pkg/f350af41/core.pkg.css', 4374 4381 'type' => 'css', 4375 4382 ), 4376 4383 '2c1dba03' => ··· 4562 4569 ), 4563 4570 'reverse' => 4564 4571 array( 4565 - 'aphront-dialog-view-css' => 'cbf6df8c', 4566 - 'aphront-error-view-css' => 'cbf6df8c', 4567 - 'aphront-list-filter-view-css' => 'cbf6df8c', 4568 - 'aphront-pager-view-css' => 'cbf6df8c', 4569 - 'aphront-panel-view-css' => 'cbf6df8c', 4570 - 'aphront-table-view-css' => 'cbf6df8c', 4571 - 'aphront-tokenizer-control-css' => 'cbf6df8c', 4572 - 'aphront-tooltip-css' => 'cbf6df8c', 4573 - 'aphront-typeahead-control-css' => 'cbf6df8c', 4572 + 'aphront-dialog-view-css' => 'f350af41', 4573 + 'aphront-error-view-css' => 'f350af41', 4574 + 'aphront-list-filter-view-css' => 'f350af41', 4575 + 'aphront-pager-view-css' => 'f350af41', 4576 + 'aphront-panel-view-css' => 'f350af41', 4577 + 'aphront-table-view-css' => 'f350af41', 4578 + 'aphront-tokenizer-control-css' => 'f350af41', 4579 + 'aphront-tooltip-css' => 'f350af41', 4580 + 'aphront-typeahead-control-css' => 'f350af41', 4574 4581 'differential-changeset-view-css' => '1084b12b', 4575 4582 'differential-core-view-css' => '1084b12b', 4576 4583 'differential-inline-comment-editor' => '5e9e5c4e', ··· 4584 4591 'differential-table-of-contents-css' => '1084b12b', 4585 4592 'diffusion-commit-view-css' => '7aa115b4', 4586 4593 'diffusion-icons-css' => '7aa115b4', 4587 - 'global-drag-and-drop-css' => 'cbf6df8c', 4594 + 'global-drag-and-drop-css' => 'f350af41', 4588 4595 'inline-comment-summary-css' => '1084b12b', 4589 4596 'javelin-aphlict' => '2c1dba03', 4590 4597 'javelin-behavior' => '3e3be199', ··· 4659 4666 'javelin-util' => '3e3be199', 4660 4667 'javelin-vector' => '3e3be199', 4661 4668 'javelin-workflow' => '3e3be199', 4662 - 'lightbox-attachment-css' => 'cbf6df8c', 4669 + 'lightbox-attachment-css' => 'f350af41', 4663 4670 'maniphest-task-summary-css' => '49898640', 4664 - 'phabricator-action-list-view-css' => 'cbf6df8c', 4665 - 'phabricator-application-launch-view-css' => 'cbf6df8c', 4671 + 'phabricator-action-list-view-css' => 'f350af41', 4672 + 'phabricator-application-launch-view-css' => 'f350af41', 4666 4673 'phabricator-busy' => '2c1dba03', 4667 4674 'phabricator-content-source-view-css' => '1084b12b', 4668 - 'phabricator-core-css' => 'cbf6df8c', 4669 - 'phabricator-crumbs-view-css' => 'cbf6df8c', 4675 + 'phabricator-core-css' => 'f350af41', 4676 + 'phabricator-crumbs-view-css' => 'f350af41', 4670 4677 'phabricator-drag-and-drop-file-upload' => '5e9e5c4e', 4671 4678 'phabricator-dropdown-menu' => '2c1dba03', 4672 4679 'phabricator-file-upload' => '2c1dba03', 4673 - 'phabricator-filetree-view-css' => 'cbf6df8c', 4674 - 'phabricator-flag-css' => 'cbf6df8c', 4680 + 'phabricator-filetree-view-css' => 'f350af41', 4681 + 'phabricator-flag-css' => 'f350af41', 4675 4682 'phabricator-hovercard' => '2c1dba03', 4676 - 'phabricator-jump-nav' => 'cbf6df8c', 4683 + 'phabricator-jump-nav' => 'f350af41', 4677 4684 'phabricator-keyboard-shortcut' => '2c1dba03', 4678 4685 'phabricator-keyboard-shortcut-manager' => '2c1dba03', 4679 - 'phabricator-main-menu-view' => 'cbf6df8c', 4686 + 'phabricator-main-menu-view' => 'f350af41', 4680 4687 'phabricator-menu-item' => '2c1dba03', 4681 - 'phabricator-nav-view-css' => 'cbf6df8c', 4688 + 'phabricator-nav-view-css' => 'f350af41', 4682 4689 'phabricator-notification' => '2c1dba03', 4683 - 'phabricator-notification-css' => 'cbf6df8c', 4684 - 'phabricator-notification-menu-css' => 'cbf6df8c', 4690 + 'phabricator-notification-css' => 'f350af41', 4691 + 'phabricator-notification-menu-css' => 'f350af41', 4685 4692 'phabricator-object-selector-css' => '1084b12b', 4686 4693 'phabricator-phtize' => '2c1dba03', 4687 4694 'phabricator-prefab' => '2c1dba03', 4688 4695 'phabricator-project-tag-css' => '49898640', 4689 - 'phabricator-remarkup-css' => 'cbf6df8c', 4696 + 'phabricator-remarkup-css' => 'f350af41', 4690 4697 'phabricator-shaped-request' => '5e9e5c4e', 4691 - 'phabricator-side-menu-view-css' => 'cbf6df8c', 4692 - 'phabricator-standard-page-view' => 'cbf6df8c', 4693 - 'phabricator-tag-view-css' => 'cbf6df8c', 4698 + 'phabricator-side-menu-view-css' => 'f350af41', 4699 + 'phabricator-standard-page-view' => 'f350af41', 4700 + 'phabricator-tag-view-css' => 'f350af41', 4694 4701 'phabricator-textareautils' => '2c1dba03', 4695 4702 'phabricator-tooltip' => '2c1dba03', 4696 - 'phabricator-transaction-view-css' => 'cbf6df8c', 4697 - 'phabricator-zindex-css' => 'cbf6df8c', 4698 - 'phui-button-css' => 'cbf6df8c', 4699 - 'phui-form-css' => 'cbf6df8c', 4700 - 'phui-form-view-css' => 'cbf6df8c', 4701 - 'phui-header-view-css' => 'cbf6df8c', 4702 - 'phui-icon-view-css' => 'cbf6df8c', 4703 - 'phui-list-view-css' => 'cbf6df8c', 4704 - 'phui-object-item-list-view-css' => 'cbf6df8c', 4705 - 'phui-property-list-view-css' => 'cbf6df8c', 4706 - 'phui-spacing-css' => 'cbf6df8c', 4707 - 'sprite-apps-large-css' => 'cbf6df8c', 4708 - 'sprite-gradient-css' => 'cbf6df8c', 4709 - 'sprite-icons-css' => 'cbf6df8c', 4710 - 'sprite-menu-css' => 'cbf6df8c', 4711 - 'sprite-status-css' => 'cbf6df8c', 4712 - 'syntax-highlighting-css' => 'cbf6df8c', 4703 + 'phabricator-transaction-view-css' => 'f350af41', 4704 + 'phabricator-zindex-css' => 'f350af41', 4705 + 'phui-button-css' => 'f350af41', 4706 + 'phui-form-css' => 'f350af41', 4707 + 'phui-form-view-css' => 'f350af41', 4708 + 'phui-header-view-css' => 'f350af41', 4709 + 'phui-icon-view-css' => 'f350af41', 4710 + 'phui-list-view-css' => 'f350af41', 4711 + 'phui-object-item-list-view-css' => 'f350af41', 4712 + 'phui-property-list-view-css' => 'f350af41', 4713 + 'phui-spacing-css' => 'f350af41', 4714 + 'sprite-apps-large-css' => 'f350af41', 4715 + 'sprite-gradient-css' => 'f350af41', 4716 + 'sprite-icons-css' => 'f350af41', 4717 + 'sprite-menu-css' => 'f350af41', 4718 + 'sprite-status-css' => 'f350af41', 4719 + 'syntax-highlighting-css' => 'f350af41', 4713 4720 ), 4714 4721 ));
+15 -9
src/infrastructure/celerity/CeleritySpriteGenerator.php
··· 312 312 } 313 313 314 314 public function buildTokenSheet() { 315 - $tokens = $this->getDirectoryList('tokens_1x'); 316 - 315 + $icons = $this->getDirectoryList('tokens_1x'); 316 + $scales = array( 317 + '1x' => 1, 318 + '2x' => 2, 319 + ); 317 320 $template = id(new PhutilSprite()) 318 321 ->setSourceSize(16, 16); 319 322 320 323 $sprites = array(); 321 - foreach ($tokens as $token) { 322 - $path = $this->getPath('tokens_1x/'.$token.'.png'); 323 - 324 + $prefix = 'tokens_'; 325 + foreach ($icons as $icon) { 324 326 $sprite = id(clone $template) 325 - ->setName('tokens-'.$token) 326 - ->setTargetCSS('.tokens-'.$token) 327 - ->setSourceFile($path, 1); 327 + ->setName('tokens-'.$icon) 328 + ->setTargetCSS('.tokens-'.$icon); 328 329 330 + foreach ($scales as $scale_key => $scale) { 331 + $path = $this->getPath($prefix.$scale_key.'/'.$icon.'.png'); 332 + $sprite->setSourceFile($path, $scale); 333 + } 329 334 $sprites[] = $sprite; 330 335 } 331 336 332 - $sheet = $this->buildSheet('tokens', false); 337 + $sheet = $this->buildSheet('tokens', true); 338 + $sheet->setScales($scales); 333 339 foreach ($sprites as $sprite) { 334 340 $sheet->addSprite($sprite); 335 341 }
+98 -82
webroot/rsrc/css/sprite-apps-large.css
··· 514 514 background-position: -87px -232px; 515 515 } 516 516 517 - .apps-people-light-large { 517 + .apps-pebkac-light-large { 518 518 background-position: -116px -232px; 519 519 } 520 520 521 - .apps-people-dark-large { 521 + .apps-pebkac-dark-large { 522 522 background-position: -145px -232px; 523 523 } 524 524 525 - .apps-people-blue-large, .phabricator-crumb-view:hover .apps-people-dark-large { 525 + .apps-pebkac-blue-large, .phabricator-crumb-view:hover .apps-pebkac-dark-large { 526 526 background-position: -174px -232px; 527 527 } 528 528 529 - .apps-people-white-large { 529 + .apps-pebkac-white-large { 530 530 background-position: -203px -232px; 531 531 } 532 532 533 - .apps-phage-light-large { 533 + .apps-people-light-large { 534 534 background-position: -232px -232px; 535 535 } 536 536 537 - .apps-phage-dark-large { 537 + .apps-people-dark-large { 538 538 background-position: -261px -232px; 539 539 } 540 540 541 - .apps-phage-blue-large, .phabricator-crumb-view:hover .apps-phage-dark-large { 541 + .apps-people-blue-large, .phabricator-crumb-view:hover .apps-people-dark-large { 542 542 background-position: -290px -232px; 543 543 } 544 544 545 - .apps-phage-white-large { 545 + .apps-people-white-large { 546 546 background-position: -319px -232px; 547 547 } 548 548 549 - .apps-phame-light-large { 549 + .apps-phage-light-large { 550 550 background-position: -348px -232px; 551 551 } 552 552 553 - .apps-phame-dark-large { 553 + .apps-phage-dark-large { 554 554 background-position: -377px -232px; 555 555 } 556 556 557 - .apps-phame-blue-large, .phabricator-crumb-view:hover .apps-phame-dark-large { 557 + .apps-phage-blue-large, .phabricator-crumb-view:hover .apps-phage-dark-large { 558 558 background-position: -406px -232px; 559 559 } 560 560 561 - .apps-phame-white-large { 561 + .apps-phage-white-large { 562 562 background-position: 0px -261px; 563 563 } 564 564 565 - .apps-phid-light-large { 565 + .apps-phame-light-large { 566 566 background-position: -29px -261px; 567 567 } 568 568 569 - .apps-phid-dark-large { 569 + .apps-phame-dark-large { 570 570 background-position: -58px -261px; 571 571 } 572 572 573 - .apps-phid-blue-large, .phabricator-crumb-view:hover .apps-phid-dark-large { 573 + .apps-phame-blue-large, .phabricator-crumb-view:hover .apps-phame-dark-large { 574 574 background-position: -87px -261px; 575 575 } 576 576 577 - .apps-phid-white-large { 577 + .apps-phame-white-large { 578 578 background-position: -116px -261px; 579 579 } 580 580 581 - .apps-phlux-light-large { 581 + .apps-phid-light-large { 582 582 background-position: -145px -261px; 583 583 } 584 584 585 - .apps-phlux-dark-large { 585 + .apps-phid-dark-large { 586 586 background-position: -174px -261px; 587 587 } 588 588 589 - .apps-phlux-blue-large, .phabricator-crumb-view:hover .apps-phlux-dark-large { 589 + .apps-phid-blue-large, .phabricator-crumb-view:hover .apps-phid-dark-large { 590 590 background-position: -203px -261px; 591 591 } 592 592 593 - .apps-phlux-white-large { 593 + .apps-phid-white-large { 594 594 background-position: -232px -261px; 595 595 } 596 596 597 - .apps-pholio-light-large { 597 + .apps-phlux-light-large { 598 598 background-position: -261px -261px; 599 599 } 600 600 601 - .apps-pholio-dark-large { 601 + .apps-phlux-dark-large { 602 602 background-position: -290px -261px; 603 603 } 604 604 605 - .apps-pholio-blue-large, .phabricator-crumb-view:hover .apps-pholio-dark-large { 605 + .apps-phlux-blue-large, .phabricator-crumb-view:hover .apps-phlux-dark-large { 606 606 background-position: -319px -261px; 607 607 } 608 608 609 - .apps-pholio-white-large { 609 + .apps-phlux-white-large { 610 610 background-position: -348px -261px; 611 611 } 612 612 613 - .apps-phortune-light-large { 613 + .apps-pholio-light-large { 614 614 background-position: -377px -261px; 615 615 } 616 616 617 - .apps-phortune-dark-large { 617 + .apps-pholio-dark-large { 618 618 background-position: -406px -261px; 619 619 } 620 620 621 - .apps-phortune-blue-large, .phabricator-crumb-view:hover .apps-phortune-dark-large { 621 + .apps-pholio-blue-large, .phabricator-crumb-view:hover .apps-pholio-dark-large { 622 622 background-position: 0px -290px; 623 623 } 624 624 625 - .apps-phortune-white-large { 625 + .apps-pholio-white-large { 626 626 background-position: -29px -290px; 627 627 } 628 628 629 - .apps-phpast-light-large { 629 + .apps-phortune-light-large { 630 630 background-position: -58px -290px; 631 631 } 632 632 633 - .apps-phpast-dark-large { 633 + .apps-phortune-dark-large { 634 634 background-position: -87px -290px; 635 635 } 636 636 637 - .apps-phpast-blue-large, .phabricator-crumb-view:hover .apps-phpast-dark-large { 637 + .apps-phortune-blue-large, .phabricator-crumb-view:hover .apps-phortune-dark-large { 638 638 background-position: -116px -290px; 639 639 } 640 640 641 - .apps-phpast-white-large { 641 + .apps-phortune-white-large { 642 642 background-position: -145px -290px; 643 643 } 644 644 645 - .apps-phrequent-light-large { 645 + .apps-phpast-light-large { 646 646 background-position: -174px -290px; 647 647 } 648 648 649 - .apps-phrequent-dark-large { 649 + .apps-phpast-dark-large { 650 650 background-position: -203px -290px; 651 651 } 652 652 653 - .apps-phrequent-blue-large, .phabricator-crumb-view:hover .apps-phrequent-dark-large { 653 + .apps-phpast-blue-large, .phabricator-crumb-view:hover .apps-phpast-dark-large { 654 654 background-position: -232px -290px; 655 655 } 656 656 657 - .apps-phrequent-white-large { 657 + .apps-phpast-white-large { 658 658 background-position: -261px -290px; 659 659 } 660 660 661 - .apps-phriction-light-large { 661 + .apps-phrequent-light-large { 662 662 background-position: -290px -290px; 663 663 } 664 664 665 - .apps-phriction-dark-large { 665 + .apps-phrequent-dark-large { 666 666 background-position: -319px -290px; 667 667 } 668 668 669 - .apps-phriction-blue-large, .phabricator-crumb-view:hover .apps-phriction-dark-large { 669 + .apps-phrequent-blue-large, .phabricator-crumb-view:hover .apps-phrequent-dark-large { 670 670 background-position: -348px -290px; 671 671 } 672 672 673 - .apps-phriction-white-large { 673 + .apps-phrequent-white-large { 674 674 background-position: -377px -290px; 675 675 } 676 676 677 - .apps-policy-light-large { 677 + .apps-phriction-light-large { 678 + background-position: -406px -290px; 679 + } 680 + 681 + .apps-phriction-dark-large { 678 682 background-position: 0px -319px; 679 683 } 680 684 681 - .apps-policy-dark-large { 685 + .apps-phriction-blue-large, .phabricator-crumb-view:hover .apps-phriction-dark-large { 682 686 background-position: -29px -319px; 683 687 } 684 688 685 - .apps-policy-blue-large, .phabricator-crumb-view:hover .apps-policy-dark-large { 689 + .apps-phriction-white-large { 686 690 background-position: -58px -319px; 687 691 } 688 692 689 - .apps-policy-white-large { 693 + .apps-policy-light-large { 690 694 background-position: -87px -319px; 691 695 } 692 696 693 - .apps-ponder-light-large { 697 + .apps-policy-dark-large { 694 698 background-position: -116px -319px; 695 699 } 696 700 697 - .apps-ponder-dark-large { 701 + .apps-policy-blue-large, .phabricator-crumb-view:hover .apps-policy-dark-large { 698 702 background-position: -145px -319px; 699 703 } 700 704 701 - .apps-ponder-blue-large, .phabricator-crumb-view:hover .apps-ponder-dark-large { 705 + .apps-policy-white-large { 702 706 background-position: -174px -319px; 703 707 } 704 708 705 - .apps-ponder-white-large { 709 + .apps-ponder-light-large { 706 710 background-position: -203px -319px; 707 711 } 708 712 709 - .apps-power-light-large { 713 + .apps-ponder-dark-large { 710 714 background-position: -232px -319px; 711 715 } 712 716 713 - .apps-power-dark-large { 717 + .apps-ponder-blue-large, .phabricator-crumb-view:hover .apps-ponder-dark-large { 714 718 background-position: -261px -319px; 715 719 } 716 720 717 - .apps-power-blue-large, .phabricator-crumb-view:hover .apps-power-dark-large { 721 + .apps-ponder-white-large { 718 722 background-position: -290px -319px; 719 723 } 720 724 721 - .apps-power-white-large { 725 + .apps-power-light-large { 722 726 background-position: -319px -319px; 723 727 } 724 728 725 - .apps-projects-light-large { 729 + .apps-power-dark-large { 726 730 background-position: -348px -319px; 727 731 } 728 732 729 - .apps-projects-dark-large { 733 + .apps-power-blue-large, .phabricator-crumb-view:hover .apps-power-dark-large { 730 734 background-position: -377px -319px; 731 735 } 732 736 733 - .apps-projects-blue-large, .phabricator-crumb-view:hover .apps-projects-dark-large { 737 + .apps-power-white-large { 738 + background-position: -406px -319px; 739 + } 740 + 741 + .apps-projects-light-large { 734 742 background-position: 0px -348px; 735 743 } 736 744 737 - .apps-projects-white-large { 745 + .apps-projects-dark-large { 738 746 background-position: -29px -348px; 739 747 } 740 748 741 - .apps-releeph-light-large { 749 + .apps-projects-blue-large, .phabricator-crumb-view:hover .apps-projects-dark-large { 742 750 background-position: -58px -348px; 743 751 } 744 752 745 - .apps-releeph-dark-large { 753 + .apps-projects-white-large { 746 754 background-position: -87px -348px; 747 755 } 748 756 749 - .apps-releeph-blue-large, .phabricator-crumb-view:hover .apps-releeph-dark-large { 757 + .apps-releeph-light-large { 750 758 background-position: -116px -348px; 751 759 } 752 760 753 - .apps-releeph-white-large { 761 + .apps-releeph-dark-large { 754 762 background-position: -145px -348px; 755 763 } 756 764 757 - .apps-repositories-light-large { 765 + .apps-releeph-blue-large, .phabricator-crumb-view:hover .apps-releeph-dark-large { 758 766 background-position: -174px -348px; 759 767 } 760 768 761 - .apps-repositories-dark-large { 769 + .apps-releeph-white-large { 762 770 background-position: -203px -348px; 763 771 } 764 772 765 - .apps-repositories-blue-large, .phabricator-crumb-view:hover .apps-repositories-dark-large { 773 + .apps-repositories-light-large { 766 774 background-position: -232px -348px; 767 775 } 768 776 769 - .apps-repositories-white-large { 777 + .apps-repositories-dark-large { 770 778 background-position: -261px -348px; 771 779 } 772 780 773 - .apps-search-light-large { 781 + .apps-repositories-blue-large, .phabricator-crumb-view:hover .apps-repositories-dark-large { 774 782 background-position: -290px -348px; 775 783 } 776 784 785 + .apps-repositories-white-large { 786 + background-position: -319px -348px; 787 + } 788 + 789 + .apps-search-light-large { 790 + background-position: -348px -348px; 791 + } 792 + 777 793 .apps-search-dark-large { 778 - background-position: -319px -348px; 794 + background-position: -377px -348px; 779 795 } 780 796 781 797 .apps-search-blue-large, .phabricator-crumb-view:hover .apps-search-dark-large { 782 - background-position: -348px -348px; 798 + background-position: -406px -348px; 783 799 } 784 800 785 801 .apps-search-white-large { 786 - background-position: -377px -348px; 802 + background-position: 0px -377px; 787 803 } 788 804 789 805 .apps-settings-light-large { 790 - background-position: 0px -377px; 806 + background-position: -29px -377px; 791 807 } 792 808 793 809 .apps-settings-dark-large { 794 - background-position: -29px -377px; 810 + background-position: -58px -377px; 795 811 } 796 812 797 813 .apps-settings-blue-large, .phabricator-crumb-view:hover .apps-settings-dark-large { 798 - background-position: -58px -377px; 814 + background-position: -87px -377px; 799 815 } 800 816 801 817 .apps-settings-white-large { 802 - background-position: -87px -377px; 818 + background-position: -116px -377px; 803 819 } 804 820 805 821 .apps-setup-light-large { 806 - background-position: -116px -377px; 822 + background-position: -145px -377px; 807 823 } 808 824 809 825 .apps-setup-dark-large { 810 - background-position: -145px -377px; 826 + background-position: -174px -377px; 811 827 } 812 828 813 829 .apps-setup-blue-large, .phabricator-crumb-view:hover .apps-setup-dark-large { 814 - background-position: -174px -377px; 830 + background-position: -203px -377px; 815 831 } 816 832 817 833 .apps-setup-white-large { 818 - background-position: -203px -377px; 834 + background-position: -232px -377px; 819 835 } 820 836 821 837 .apps-slowvote-light-large { 822 - background-position: -232px -377px; 838 + background-position: -261px -377px; 823 839 } 824 840 825 841 .apps-slowvote-dark-large { 826 - background-position: -261px -377px; 842 + background-position: -290px -377px; 827 843 } 828 844 829 845 .apps-slowvote-blue-large, .phabricator-crumb-view:hover .apps-slowvote-dark-large { 830 - background-position: -290px -377px; 846 + background-position: -319px -377px; 831 847 } 832 848 833 849 .apps-slowvote-white-large { 834 - background-position: -319px -377px; 850 + background-position: -348px -377px; 835 851 } 836 852 837 853 .apps-token-light-large { 838 - background-position: -348px -377px; 854 + background-position: -377px -377px; 839 855 } 840 856 841 857 .apps-token-dark-large { 842 - background-position: -377px -377px; 858 + background-position: -406px -377px; 843 859 } 844 860 845 861 .apps-token-blue-large, .phabricator-crumb-view:hover .apps-token-dark-large {
+60 -52
webroot/rsrc/css/sprite-apps.css
··· 13 13 only screen and (-webkit-min-device-pixel-ratio: 1.5) { 14 14 .sprite-apps { 15 15 background-image: url(/rsrc/image/sprite-apps-X2.png); 16 - background-size: 150px 165px; 16 + background-size: 165px 165px; 17 17 } 18 18 } 19 19 ··· 59 59 } 60 60 61 61 .apps-chatlog-dark { 62 - background-position: 0px -15px; 62 + background-position: -150px 0px; 63 63 } 64 64 65 65 .apps-chatlog-white { 66 - background-position: -15px -15px; 66 + background-position: 0px -15px; 67 67 } 68 68 69 69 .apps-conduit-dark { 70 - background-position: -30px -15px; 70 + background-position: -15px -15px; 71 71 } 72 72 73 73 .apps-conduit-white { 74 - background-position: -45px -15px; 74 + background-position: -30px -15px; 75 75 } 76 76 77 77 .apps-conpherence-dark { 78 - background-position: -60px -15px; 78 + background-position: -45px -15px; 79 79 } 80 80 81 81 .apps-conpherence-white { 82 - background-position: -75px -15px; 82 + background-position: -60px -15px; 83 83 } 84 84 85 85 .apps-countdown-dark { 86 - background-position: -90px -15px; 86 + background-position: -75px -15px; 87 87 } 88 88 89 89 .apps-countdown-white { 90 - background-position: -105px -15px; 90 + background-position: -90px -15px; 91 91 } 92 92 93 93 .apps-daemon-dark { 94 - background-position: -120px -15px; 94 + background-position: -105px -15px; 95 95 } 96 96 97 97 .apps-daemon-white { 98 - background-position: -135px -15px; 98 + background-position: -120px -15px; 99 99 } 100 100 101 101 .apps-differential-dark { 102 - background-position: 0px -30px; 102 + background-position: -135px -15px; 103 103 } 104 104 105 105 .apps-differential-white { 106 - background-position: -15px -30px; 106 + background-position: -150px -15px; 107 107 } 108 108 109 109 .apps-diffusion-dark { 110 - background-position: -30px -30px; 110 + background-position: 0px -30px; 111 111 } 112 112 113 113 .apps-diffusion-white { 114 - background-position: -45px -30px; 114 + background-position: -15px -30px; 115 115 } 116 116 117 117 .apps-diviner-dark { 118 - background-position: -60px -30px; 118 + background-position: -30px -30px; 119 119 } 120 120 121 121 .apps-diviner-white { 122 - background-position: -75px -30px; 122 + background-position: -45px -30px; 123 123 } 124 124 125 125 .apps-drydock-dark { 126 - background-position: -90px -30px; 126 + background-position: -60px -30px; 127 127 } 128 128 129 129 .apps-drydock-white { 130 - background-position: -105px -30px; 130 + background-position: -75px -30px; 131 131 } 132 132 133 133 .apps-fact-dark { 134 - background-position: -120px -30px; 134 + background-position: -90px -30px; 135 135 } 136 136 137 137 .apps-fact-white { 138 - background-position: -135px -30px; 138 + background-position: -105px -30px; 139 139 } 140 140 141 141 .apps-feed-dark { 142 - background-position: 0px -45px; 142 + background-position: -120px -30px; 143 143 } 144 144 145 145 .apps-feed-white { 146 - background-position: -15px -45px; 146 + background-position: -135px -30px; 147 147 } 148 148 149 149 .apps-files-dark { 150 - background-position: -30px -45px; 150 + background-position: 0px -45px; 151 151 } 152 152 153 153 .apps-files-white { 154 - background-position: -45px -45px; 154 + background-position: -15px -45px; 155 155 } 156 156 157 157 .apps-flags-dark { 158 - background-position: -60px -45px; 158 + background-position: -30px -45px; 159 159 } 160 160 161 161 .apps-flags-white { 162 - background-position: -75px -45px; 162 + background-position: -45px -45px; 163 163 } 164 164 165 165 .apps-harbormaster-dark { 166 - background-position: -90px -45px; 166 + background-position: -60px -45px; 167 167 } 168 168 169 169 .apps-harbormaster-white { 170 - background-position: -105px -45px; 170 + background-position: -75px -45px; 171 171 } 172 172 173 173 .apps-help-dark { 174 - background-position: -120px -45px; 174 + background-position: -90px -45px; 175 175 } 176 176 177 177 .apps-help-white { 178 - background-position: -135px -45px; 178 + background-position: -105px -45px; 179 179 } 180 180 181 181 .apps-herald-dark { 182 - background-position: 0px -60px; 182 + background-position: -120px -45px; 183 183 } 184 184 185 185 .apps-herald-white { 186 - background-position: -15px -60px; 186 + background-position: -135px -45px; 187 187 } 188 188 189 189 .apps-home-dark { 190 - background-position: -30px -60px; 190 + background-position: 0px -60px; 191 191 } 192 192 193 193 .apps-home-white { 194 - background-position: -45px -60px; 194 + background-position: -15px -60px; 195 195 } 196 196 197 197 .apps-legalpad-dark { 198 - background-position: -60px -60px; 198 + background-position: -30px -60px; 199 199 } 200 200 201 201 .apps-legalpad-white { 202 - background-position: -75px -60px; 202 + background-position: -45px -60px; 203 203 } 204 204 205 205 .apps-logo-dark { 206 - background-position: -90px -60px; 206 + background-position: -60px -60px; 207 207 } 208 208 209 209 .apps-logo-white { 210 - background-position: -105px -60px; 210 + background-position: -75px -60px; 211 211 } 212 212 213 213 .apps-macro-dark { 214 - background-position: -120px -60px; 214 + background-position: -90px -60px; 215 215 } 216 216 217 217 .apps-macro-white { 218 - background-position: -135px -60px; 218 + background-position: -105px -60px; 219 219 } 220 220 221 221 .apps-mail-dark { 222 - background-position: 0px -75px; 222 + background-position: -120px -60px; 223 223 } 224 224 225 225 .apps-mail-white { 226 - background-position: -15px -75px; 226 + background-position: -135px -60px; 227 227 } 228 228 229 229 .apps-maniphest-dark { 230 - background-position: -30px -75px; 230 + background-position: 0px -75px; 231 231 } 232 232 233 233 .apps-maniphest-white { 234 - background-position: -45px -75px; 234 + background-position: -15px -75px; 235 235 } 236 236 237 237 .apps-metamta-dark { 238 - background-position: -60px -75px; 238 + background-position: -30px -75px; 239 239 } 240 240 241 241 .apps-metamta-white { 242 - background-position: -75px -75px; 242 + background-position: -45px -75px; 243 243 } 244 244 245 245 .apps-new-dark { 246 - background-position: -90px -75px; 246 + background-position: -60px -75px; 247 247 } 248 248 249 249 .apps-new-white { 250 - background-position: -105px -75px; 250 + background-position: -75px -75px; 251 251 } 252 252 253 253 .apps-owners-dark { 254 - background-position: -120px -75px; 254 + background-position: -90px -75px; 255 255 } 256 256 257 257 .apps-owners-white { 258 - background-position: -135px -75px; 258 + background-position: -105px -75px; 259 259 } 260 260 261 261 .apps-paste-dark { 262 - background-position: 0px -90px; 262 + background-position: -120px -75px; 263 263 } 264 264 265 265 .apps-paste-white { 266 + background-position: -135px -75px; 267 + } 268 + 269 + .apps-pebkac-dark { 270 + background-position: 0px -90px; 271 + } 272 + 273 + .apps-pebkac-white { 266 274 background-position: -15px -90px; 267 275 } 268 276
+8 -1
webroot/rsrc/css/sprite-tokens.css
··· 8 8 background-repeat: no-repeat; 9 9 } 10 10 11 - 11 + @media 12 + only screen and (min-device-pixel-ratio: 1.5), 13 + only screen and (-webkit-min-device-pixel-ratio: 1.5) { 14 + .sprite-tokens { 15 + background-image: url(/rsrc/image/sprite-tokens-X2.png); 16 + background-size: 68px 68px; 17 + } 18 + } 12 19 13 20 14 21 .tokens-coin-1 {
webroot/rsrc/image/sprite-apps-X2.png

This is a binary file and will not be displayed.

webroot/rsrc/image/sprite-apps-large-X2.png

This is a binary file and will not be displayed.

webroot/rsrc/image/sprite-apps-large.png

This is a binary file and will not be displayed.

webroot/rsrc/image/sprite-apps.png

This is a binary file and will not be displayed.

webroot/rsrc/image/sprite-tokens-X2.png

This is a binary file and will not be displayed.