icons page

This commit is contained in:
nixa 2016-05-12 14:50:06 +03:00
parent 8dbdd2fa64
commit 5a2a990141
13 changed files with 465 additions and 5 deletions

View file

@ -28,6 +28,10 @@ export class SidebarService {
title: 'Buttons',
name: 'Buttons',
},
{
title: 'Icons',
name: 'Icons',
},
]
},
{

View file

@ -1,2 +1,3 @@
export * from './profilePicture';
export * from './appPicture';
export * from './kameleonPicture';

View file

@ -0,0 +1 @@
export * from './kameleonPicture.pipe.ts';

View file

@ -0,0 +1,10 @@
import {Pipe, PipeTransform} from '@angular/core';
import {layoutPaths} from '../../../theme';
@Pipe({name: 'kameleonPicture'})
export class KameleonPicturePipe implements PipeTransform {
transform(input:string):string {
return layoutPaths.images.root + 'theme/icon/kameleon/' + input + '.svg';
}
}