Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
8fcbea2c
Unverified
Commit
8fcbea2c
authored
Jun 15, 2020
by
Ivana Huckova
Committed by
GitHub
Jun 15, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Alerting: Replace icons on for alerting (#25599)
* Update Alerting icons * Keep critical red for alerting
parent
093383eb
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
27 additions
and
1 deletions
+27
-1
packages/grafana-ui/src/components/Icon/Icon.tsx
+1
-1
packages/grafana-ui/src/components/Icon/assets/Heart.tsx
+10
-0
packages/grafana-ui/src/components/Icon/assets/HeartBreak.tsx
+14
-0
packages/grafana-ui/src/components/Icon/assets/index.ts
+2
-0
No files found.
packages/grafana-ui/src/components/Icon/Icon.tsx
View file @
8fcbea2c
...
...
@@ -8,7 +8,7 @@ import { IconName, IconType, IconSize } from '../../types/icon';
import
*
as
DefaultIcon
from
'@iconscout/react-unicons'
;
import
*
as
MonoIcon
from
'./assets'
;
const
alwaysMonoIcons
=
[
'grafana'
,
'favorite'
];
const
alwaysMonoIcons
=
[
'grafana'
,
'favorite'
,
'heart-break'
,
'heart'
];
export
interface
IconProps
extends
React
.
HTMLAttributes
<
HTMLDivElement
>
{
name
:
IconName
;
...
...
packages/grafana-ui/src/components/Icon/assets/Heart.tsx
0 → 100644
View file @
8fcbea2c
import
React
,
{
FunctionComponent
}
from
'react'
;
import
{
SvgProps
}
from
'./types'
;
export
const
Heart
:
FunctionComponent
<
SvgProps
>
=
({
size
,
...
rest
})
=>
{
return
(
<
svg
xmlns=
"http://www.w3.org/2000/svg"
viewBox=
"0 0 24 24"
width=
{
size
}
height=
{
size
}
{
...
rest
}
>
<
path
d=
"M12,20.8623a2.75115,2.75115,0,0,1-1.94922-.80468L3.83691,13.84277A6.27238,6.27238,0,0,1,12,4.36328a6.27239,6.27239,0,0,1,8.16309,9.47949l-6.21338,6.21387A2.75,2.75,0,0,1,12,20.8623Z"
/>
</
svg
>
);
};
packages/grafana-ui/src/components/Icon/assets/HeartBreak.tsx
0 → 100644
View file @
8fcbea2c
import
React
,
{
FunctionComponent
}
from
'react'
;
import
{
SvgProps
}
from
'./types'
;
export
const
HeartBreak
:
FunctionComponent
<
SvgProps
>
=
({
size
,
...
rest
})
=>
{
return
(
<
svg
xmlns=
"http://www.w3.org/2000/svg"
viewBox=
"0 0 24 24"
width=
{
size
}
height=
{
size
}
{
...
rest
}
>
<
g
id=
"Layer_2"
data
-
name=
"Layer 2"
>
<
g
id=
"Layer_1-2"
data
-
name=
"Layer 1"
>
<
path
d=
"M18.17,1.85h0A6.25,6.25,0,0,0,12.12.23L9.42,6.56l2.83.71a1,1,0,0,1,.67,1.41l-2,4a1,1,0,0,1-.9.56,1.13,1.13,0,0,1-.44-.1h0a1,1,0,0,1-.46-1.33l1.4-2.89-2.77-.7a1,1,0,0,1-.65-.53,1,1,0,0,1,0-.83L9.58,1a6.27,6.27,0,0,0-7.73,9.77L9.3,18.18a1,1,0,0,0,1.42,0h0l7.45-7.46A6.27,6.27,0,0,0,18.17,1.85Z"
/>
</
g
>
</
g
>
</
svg
>
);
};
packages/grafana-ui/src/components/Icon/assets/index.ts
View file @
8fcbea2c
...
...
@@ -11,3 +11,5 @@ export * from './Import';
export
*
from
'./PanelAdd'
;
export
*
from
'./Circle'
;
export
*
from
'./SquareShape'
;
export
*
from
'./HeartBreak'
;
export
*
from
'./Heart'
;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment