Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

feat: introduce a handful of icons #558

Merged
merged 7 commits into from
Dec 1, 2020
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

#### 2.3.7 (Unreleased)

- [#558](https://github.com/influxdata/clockface/pull/558): Update `Book`, `BookCode`, and `BookPencil` icons. Add `CurrencyEUR`, `CurrencyGBP`, `CurrencyUSD`, `Layers`, `Share`, and `Shield` icons

#### 2.3.6 (2020-11-20)

- [#557](https://github.com/influxdata/clockface/pull/557): Add `Book`, `BookCode`, and `BookPencil` icons to font
Expand Down
Binary file modified src/Styles/Fonts/icomoon.eot
Binary file not shown.
12 changes: 9 additions & 3 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.
36 changes: 27 additions & 9 deletions src/Styles/icon.scss
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,15 @@
&.bell:before {
content: '\e934';
}
&.book-code:before {
content: '\e967';
}
&.book-pencil:before {
content: '\e965';
}
&.book:before {
content: '\e966';
}
&.brush:before {
content: '\e93d';
}
Expand Down Expand Up @@ -131,6 +140,15 @@
&.cubo:before {
content: '\e95e';
}
&.currency-eur:before {
content: '\e968';
}
&.currency-gbp:before {
content: '\e969';
}
&.currency-usd:before {
content: '\e96a';
}
&.dash-f:before {
content: '\e927';
}
Expand Down Expand Up @@ -206,6 +224,9 @@
&.import:before {
content: '\e910';
}
&.layers:before {
content: '\e96c';
}
&.link:before {
content: '\e92e';
}
Expand All @@ -218,15 +239,6 @@
&.moon:before {
content: '\e95c';
}
&.book:before {
content: '\e966';
}
&.book-code:before {
content: '\e967';
}
&.book-pencil:before {
content: '\e965';
}
&.nav-chat:before {
content: '\e941';
}
Expand Down Expand Up @@ -275,6 +287,12 @@
&.server2:before {
content: '\e94c';
}
&.share:before {
content: '\e96d';
}
&.shield:before {
content: '\e96b';
}
&.shuffle:before {
content: '\e94e';
}
Expand Down
10 changes: 8 additions & 2 deletions src/Types/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -252,9 +252,9 @@ export enum IconFont {
Bell = 'bell',
BellRinging = 'bell-ringing',
BellSolid = 'bell-solid',
Book = 'book',
BookCode = 'book-code',
BookPencil = 'book-pencil',
Book = 'book',
Brush = 'brush',
BucketOutline = 'bucket-outline',
BucketSolid = 'bucket-solid',
Expand All @@ -279,6 +279,9 @@ export enum IconFont {
Cubo = 'cubo',
CuboNav = 'cubo-nav',
Cubouniform = 'cubo-uniform',
CurrencyEUR = 'currency-eur',
CurrencyGBP = 'currency-gbp',
CurrencyUSD = 'currency-usd',
Dashboards = 'dashboards',
DashF = 'dash-f',
DashH = 'dash-h',
Expand All @@ -302,8 +305,9 @@ export enum IconFont {
GraphLine = 'graphline-2',
Group = 'group',
Heroku = 'heroku',
HerokuSimple = '',
HerokuSimple = 'heroku-simple',
Import = 'import',
Layers = 'layers',
Link = 'link',
Maximize = 'maximize',
Minimize = 'minimize',
Expand All @@ -324,6 +328,8 @@ export enum IconFont {
Remove = 'remove',
Search = 'search',
Server = 'server2',
Share = 'share',
Shield = 'shield',
Shuffle = 'shuffle',
Square = 'square',
SquareCheck = 'square-check',
Expand Down