Skip to content

Commit

Permalink
Feat/add org icon (#910)
Browse files Browse the repository at this point in the history
* feat: add organization chart icon

* fix: update iconfont readme instructions

* update changelog
  • Loading branch information
mavarius authored Dec 13, 2022
1 parent 1505ecc commit 267b875
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

### 6.3.11 (2022-12-13)

- [910](https://github.com/influxdata/clockface/pull/910): Add OrganizationChart icon

### 6.3.10 (2022-11-22)

- [905](https://github.com/influxdata/clockface/pull/905): Fixed Form Ref export
Expand Down
4 changes: 3 additions & 1 deletion ICONFONT.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ When designing an icon the first consideration is whether it will be used in the
4. Reformat every entry to look like so:

```
&.add-cell:before {content: "\e925";}
&.add-cell:before {
content: '\e925';
}
```

5. Copy all entries, then open `src/Styles/icon.scss` and starting from line `32` paste over the existing definitions
Expand Down
Binary file modified src/Styles/Fonts/icomoon.eot
Binary file not shown.
1 change: 1 addition & 0 deletions src/Styles/Fonts/icomoon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/Styles/Fonts/icomoon.ttf
Binary file not shown.
Binary file modified src/Styles/Fonts/icomoon.woff
Binary file not shown.
Binary file modified src/Styles/Fonts/icomoon.woff2
Binary file not shown.
4 changes: 4 additions & 0 deletions src/Styles/icon.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
// Better Font Rendering
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;

&.FolderOpen:before {
content: '\e956';
}
Expand Down Expand Up @@ -232,6 +233,9 @@
&.More:before {
content: '\e933';
}
&.OrganizationChart:before {
content: '\e958';
}
&.Pencil:before {
content: '\e934';
}
Expand Down
1 change: 1 addition & 0 deletions src/Types/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,7 @@ export enum IconFont {
Lock = 'Lock',
Logout = 'Logout',
More = 'More',
OrganizationChart = 'OrganizationChart',
Pause = 'Pause',
Pencil = 'Pencil',
PieChart = 'PieChart',
Expand Down

0 comments on commit 267b875

Please sign in to comment.