Skip to content

Commit

Permalink
feat(cc-icon): delete unused legacy icons and update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
roberttran-cc committed Jun 26, 2023
1 parent b55f737 commit df98f26
Show file tree
Hide file tree
Showing 47 changed files with 4 additions and 1,800 deletions.
4 changes: 2 additions & 2 deletions docs/cc-example-component.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import { css, html, LitElement } from 'lit';

// DOCS: Import the icon(s), using an alias being recommended (better meaning, cleaner future update, shorter variable name, etc.).
import { iconCleverRedirectionOn as iconRedirOn } from '../src/assets/cc-clever.icons.js';
import { iconCleverRam as iconRam } from '../src/assets/cc-clever.icons.js';
import { iconRemixCloudFill as iconLogo } from '../src/assets/cc-remix.icons.js';

// DOCS: You may setup/init some stuffs here but this should be rare and most of the setup should happen in the component.
Expand Down Expand Up @@ -173,7 +173,7 @@ export class CcExampleComponent extends LitElement {
<!-- icon usage -->
<cc-icon .icon="${iconLogo}" size="xl"></cc-icon>
<cc-icon .icon="${iconRedirOn}" style="--cc-icon-color: #d74d4e;"></cc-icon>
<cc-icon .icon="${iconRam}" style="--cc-icon-color: #d74d4e;"></cc-icon>
</div>
`;
}
Expand Down
1 change: 0 additions & 1 deletion src/assets/alert-fill.svg

This file was deleted.

1 change: 0 additions & 1 deletion src/assets/alert-line.svg

This file was deleted.

62 changes: 0 additions & 62 deletions src/assets/backup.svg

This file was deleted.

67 changes: 0 additions & 67 deletions src/assets/badge-white.svg

This file was deleted.

Loading

0 comments on commit df98f26

Please sign in to comment.