Skip to content

Commit 267b875

Browse files
authored
Feat/add org icon (#910)
* feat: add organization chart icon * fix: update iconfont readme instructions * update changelog
1 parent 1505ecc commit 267b875

File tree

9 files changed

+13
-1
lines changed

9 files changed

+13
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
### 6.3.11 (2022-12-13)
4+
5+
- [910](https://github.com/influxdata/clockface/pull/910): Add OrganizationChart icon
6+
37
### 6.3.10 (2022-11-22)
48

59
- [905](https://github.com/influxdata/clockface/pull/905): Fixed Form Ref export

ICONFONT.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ When designing an icon the first consideration is whether it will be used in the
3434
4. Reformat every entry to look like so:
3535

3636
```
37-
&.add-cell:before {content: "\e925";}
37+
&.add-cell:before {
38+
content: '\e925';
39+
}
3840
```
3941

4042
5. Copy all entries, then open `src/Styles/icon.scss` and starting from line `32` paste over the existing definitions

src/Styles/Fonts/icomoon.eot

212 Bytes
Binary file not shown.

src/Styles/Fonts/icomoon.svg

Lines changed: 1 addition & 0 deletions
Loading

src/Styles/Fonts/icomoon.ttf

212 Bytes
Binary file not shown.

src/Styles/Fonts/icomoon.woff

212 Bytes
Binary file not shown.

src/Styles/Fonts/icomoon.woff2

60 Bytes
Binary file not shown.

src/Styles/icon.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
// Better Font Rendering
2929
-webkit-font-smoothing: antialiased;
3030
-moz-osx-font-smoothing: grayscale;
31+
3132
&.FolderOpen:before {
3233
content: '\e956';
3334
}
@@ -232,6 +233,9 @@
232233
&.More:before {
233234
content: '\e933';
234235
}
236+
&.OrganizationChart:before {
237+
content: '\e958';
238+
}
235239
&.Pencil:before {
236240
content: '\e934';
237241
}

src/Types/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -334,6 +334,7 @@ export enum IconFont {
334334
Lock = 'Lock',
335335
Logout = 'Logout',
336336
More = 'More',
337+
OrganizationChart = 'OrganizationChart',
337338
Pause = 'Pause',
338339
Pencil = 'Pencil',
339340
PieChart = 'PieChart',

0 commit comments

Comments
 (0)