Project

General

Profile

« Previous | Next » 

Revision 60720

[Library | Trunk]: Add new icons on preview

View differences:

modules/uoa-services-library/trunk/ng-openaire-library/src/app/utils/icons/icons.ts
128 128
}
129 129

  
130 130
export const check_circle_outlined = {
131
    name: 'check_circle_outlined',
132
    data: '<svg xmlns="http://www.w3.org/2000/svg" height="20" viewBox="0 0 24 24" width="20"><path d="M0 0h24v24H0V0zm0 0h24v24H0V0z" fill="none"/><path d="M16.59 7.58L10 14.17l-3.59-3.58L5 12l5 5 8-8zM12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"/></svg>'
133
  }
131
  name: 'check_circle_outlined',
132
  data: '<svg xmlns="http://www.w3.org/2000/svg" height="20" viewBox="0 0 24 24" width="20"><path d="M0 0h24v24H0V0zm0 0h24v24H0V0z" fill="none"/><path d="M16.59 7.58L10 14.17l-3.59-3.58L5 12l5 5 8-8zM12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"/></svg>'
133
}
134 134

  
135 135
/** Add new icon under this line to be sure that it will be added on preview */
modules/uoa-services-library/trunk/ng-openaire-library/src/app/utils/icons/icons-preview/icons-preview.component.ts
106 106
          <icon name="photo"></icon>
107 107
          <div class="uk-text-bold uk-margin-small-top">photo</div>
108 108
        </div>
109
        <div class="uk-text-center">
110
          <icon name="check_circle_outlined"></icon>
111
          <div class="uk-text-bold uk-margin-small-top">check_circle_outlined</div>
112
        </div>
109 113
      </div>
110 114
      <div class="uk-margin-medium-top">
111 115
        <h4 class="uk-text-bold">Usage</h4>
modules/uoa-services-library/trunk/ng-openaire-library/src/app/utils/icons/icons-preview/icons-preview.module.ts
10 10
  arrow_left,
11 11
  arrow_right,
12 12
  arrow_up,
13
  book, bullet, close, cloud_upload,
13
  book, bullet, check_circle_outlined, close, cloud_upload,
14 14
  cog,
15 15
  database, done,
16 16
  earth,
......
30 30
  constructor(private iconsService: IconsService) {
31 31
    this.iconsService.registerIcons([arrow_left, arrow_right, arrow_up, arrow_down, book, database, cog, earth, edit,
32 32
      remove, preview, bullet, remove_circle, remove_circle_outline, person_add, cloud_upload, add, group, lock, search,
33
      refresh, close, done, mail, photo
33
      refresh, close, done, mail, photo, check_circle_outlined
34 34
    ])
35 35
  }
36 36
}

Also available in: Unified diff