Skip to content

Commit 32b85c0

Browse files
committed
Delete app icons
Summary: Unused at this point Test Plan: Grep Reviewers: epriestley Reviewed By: epriestley Subscribers: hach-que, Korvin, epriestley Differential Revision: https://secure.phabricator.com/D11506
1 parent d3d480f commit 32b85c0

File tree

138 files changed

+0
-86
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

138 files changed

+0
-86
lines changed
-5.88 KB
Binary file not shown.
-5.88 KB
Binary file not shown.
-5.88 KB
Binary file not shown.
-5.88 KB
Binary file not shown.
-5.88 KB
Binary file not shown.
-5.88 KB
Binary file not shown.
-5.88 KB
Binary file not shown.
-5.88 KB
Binary file not shown.
-5.88 KB
Binary file not shown.
-5.88 KB
Binary file not shown.
-5.88 KB
Binary file not shown.
-5.88 KB
Binary file not shown.
-5.88 KB
Binary file not shown.
-5.88 KB
Binary file not shown.
-5.88 KB
Binary file not shown.
-5.88 KB
Binary file not shown.
-5.88 KB
Binary file not shown.
-5.88 KB
Binary file not shown.
-5.88 KB
Binary file not shown.
-5.88 KB
Binary file not shown.
-5.88 KB
Binary file not shown.
-5.88 KB
Binary file not shown.
-5.88 KB
Binary file not shown.
-5.88 KB
Binary file not shown.
-5.88 KB
Binary file not shown.
-5.88 KB
Binary file not shown.
-5.88 KB
Binary file not shown.
-5.88 KB
Binary file not shown.
-5.88 KB
Binary file not shown.
-5.88 KB
Binary file not shown.
-5.88 KB
Binary file not shown.
-5.88 KB
Binary file not shown.
-5.88 KB
Binary file not shown.

resources/sprite/apps_dark_2x/new.png

-5.88 KB
Binary file not shown.
-1.73 KB
Binary file not shown.
-5.88 KB
Binary file not shown.
-5.88 KB
Binary file not shown.
-5.88 KB
Binary file not shown.
-5.88 KB
Binary file not shown.
-5.88 KB
Binary file not shown.
-5.88 KB
Binary file not shown.
-5.88 KB
Binary file not shown.
-5.88 KB
Binary file not shown.
-5.88 KB
Binary file not shown.
-5.88 KB
Binary file not shown.
-5.88 KB
Binary file not shown.
-5.88 KB
Binary file not shown.
-5.88 KB
Binary file not shown.
-5.88 KB
Binary file not shown.
-5.88 KB
Binary file not shown.
-1.25 KB
Binary file not shown.
-5.88 KB
Binary file not shown.
-5.88 KB
Binary file not shown.
-5.88 KB
Binary file not shown.
-5.88 KB
Binary file not shown.
-5.88 KB
Binary file not shown.
-5.88 KB
Binary file not shown.
-5.88 KB
Binary file not shown.
-5.88 KB
Binary file not shown.
-5.88 KB
Binary file not shown.
-5.88 KB
Binary file not shown.
-5.88 KB
Binary file not shown.
-5.88 KB
Binary file not shown.
-5.88 KB
Binary file not shown.
-5.88 KB
Binary file not shown.
-5.88 KB
Binary file not shown.
-5.88 KB
Binary file not shown.
-5.88 KB
Binary file not shown.
-15.1 KB
Binary file not shown.
-15.1 KB
Binary file not shown.
-15.1 KB
Binary file not shown.
-15.1 KB
Binary file not shown.
-15.1 KB
Binary file not shown.
-15.1 KB
Binary file not shown.
-15.1 KB
Binary file not shown.
-15.1 KB
Binary file not shown.
-15.1 KB
Binary file not shown.
-15.1 KB
Binary file not shown.
-15.1 KB
Binary file not shown.
-15.1 KB
Binary file not shown.
-15.1 KB
Binary file not shown.
-15.1 KB
Binary file not shown.
-15.1 KB
Binary file not shown.
-15.1 KB
Binary file not shown.
-15.1 KB
Binary file not shown.
-15.1 KB
Binary file not shown.
-15.1 KB
Binary file not shown.
-15.1 KB
Binary file not shown.
-15.1 KB
Binary file not shown.
-15.1 KB
Binary file not shown.
-15.1 KB
Binary file not shown.
-15.1 KB
Binary file not shown.
-15.1 KB
Binary file not shown.
-15.1 KB
Binary file not shown.
-15.1 KB
Binary file not shown.
-15.1 KB
Binary file not shown.
-15.1 KB
Binary file not shown.
-15.1 KB
Binary file not shown.
-15.1 KB
Binary file not shown.
-15.1 KB
Binary file not shown.
-15.1 KB
Binary file not shown.

resources/sprite/apps_dark_4x/new.png

-15.1 KB
Binary file not shown.
-2.45 KB
Binary file not shown.
-15.1 KB
Binary file not shown.
-15.1 KB
Binary file not shown.
-15.1 KB
Binary file not shown.
-15.1 KB
Binary file not shown.
-15.1 KB
Binary file not shown.
-15.1 KB
Binary file not shown.
-15.1 KB
Binary file not shown.
-15.1 KB
Binary file not shown.
-15.1 KB
Binary file not shown.
-15.1 KB
Binary file not shown.
-15.1 KB
Binary file not shown.
-15.1 KB
Binary file not shown.
-15.1 KB
Binary file not shown.
-15.1 KB
Binary file not shown.
-15.1 KB
Binary file not shown.
-1.72 KB
Binary file not shown.
-15.1 KB
Binary file not shown.
-15.1 KB
Binary file not shown.
-15.1 KB
Binary file not shown.
-15.1 KB
Binary file not shown.
-15.1 KB
Binary file not shown.
-15.1 KB
Binary file not shown.
-15.1 KB
Binary file not shown.
-15.1 KB
Binary file not shown.
-15.1 KB
Binary file not shown.
-15.1 KB
Binary file not shown.
-15.1 KB
Binary file not shown.
-15.1 KB
Binary file not shown.
-15.1 KB
Binary file not shown.
-15.1 KB
Binary file not shown.
-15.1 KB
Binary file not shown.
-15.1 KB
Binary file not shown.
-15.1 KB
Binary file not shown.

scripts/celerity/generate_sprites.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828

2929
$sheets = array(
3030
'menu' => $generator->buildMenuSheet(),
31-
'apps-large' => $generator->buildAppsLargeSheet(),
3231
'tokens' => $generator->buildTokenSheet(),
3332
'gradient' => $generator->buildGradientSheet(),
3433
'main-header' => $generator->buildMainHeaderSheet(),

src/applications/celerity/CeleritySpriteGenerator.php

Lines changed: 0 additions & 85 deletions
Original file line numberDiff line numberDiff line change
@@ -209,91 +209,6 @@ public function buildMainHeaderSheet() {
209209
return $sheet;
210210
}
211211

212-
public function buildAppsLargeSheet() {
213-
return $this->buildAppsSheetVariant(2);
214-
}
215-
216-
public function buildAppsXLargeSheet() {
217-
return $this->buildAppsSheetVariant(3);
218-
}
219-
220-
private function buildAppsSheetVariant($variant) {
221-
222-
if ($variant == 1) {
223-
$scales = array(
224-
'1x' => 1,
225-
'2x' => 2,
226-
'4x' => 4,
227-
);
228-
$variant_name = 'apps';
229-
$variant_short = '';
230-
$size_x = 14;
231-
$size_y = 14;
232-
233-
$colors = array(
234-
'dark' => 'dark',
235-
);
236-
} else if ($variant == 2) {
237-
$scales = array(
238-
'2x' => 1,
239-
'4x' => 2,
240-
);
241-
$variant_name = 'apps-large';
242-
$variant_short = '-large';
243-
$size_x = 28;
244-
$size_y = 28;
245-
246-
$colors = array(
247-
'dark' => 'dark',
248-
);
249-
} else {
250-
$scales = array(
251-
'4x' => 1,
252-
);
253-
$variant_name = 'apps-xlarge';
254-
$variant_short = '-xlarge';
255-
$size_x = 56;
256-
$size_y = 56;
257-
258-
$colors = array(
259-
'dark' => 'dark',
260-
);
261-
}
262-
263-
$apps = $this->getDirectoryList('apps_dark_1x');
264-
265-
$template = id(new PhutilSprite())
266-
->setSourceSize($size_x, $size_y);
267-
268-
$sprites = array();
269-
foreach ($apps as $app) {
270-
foreach ($colors as $color => $color_path) {
271-
272-
$css = '.apps-'.$app.'-'.$color.$variant_short;
273-
$sprite = id(clone $template)
274-
->setName('apps-'.$app.'-'.$color.$variant_short)
275-
->setTargetCSS($css);
276-
277-
foreach ($scales as $scale_name => $scale) {
278-
$path = $this->getPath(
279-
'apps_'.$color_path.'_'.$scale_name.'/'.$app.'.png');
280-
$sprite->setSourceFile($path, $scale);
281-
}
282-
283-
$sprites[] = $sprite;
284-
}
285-
}
286-
287-
$sheet = $this->buildSheet($variant_name, count($scales) > 1);
288-
$sheet->setScales($scales);
289-
foreach ($sprites as $sprite) {
290-
$sheet->addSprite($sprite);
291-
}
292-
293-
return $sheet;
294-
}
295-
296-
297212
private function getPath($to_path = null) {
298213
$root = dirname(phutil_get_library_root('phabricator'));
299214
return $root.'/resources/sprite/'.$to_path;

0 commit comments

Comments
 (0)