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
dc9b8303
Commit
dc9b8303
authored
Jan 11, 2019
by
Hugo Häggmark
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed default export for colors
parent
6f2bbb73
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
8 additions
and
11 deletions
+8
-11
packages/grafana-ui/src/index.ts
+0
-1
packages/grafana-ui/src/utils/colors.ts
+1
-2
packages/grafana-ui/src/utils/index.ts
+0
-1
public/app/core/core.ts
+1
-1
public/app/core/logs_model.ts
+1
-1
public/app/core/utils/explore.ts
+1
-1
public/app/plugins/panel/graph/data_processor.ts
+1
-1
public/app/plugins/panel/graph2/GraphPanel.tsx
+1
-1
public/app/routes/GrafanaCtrl.ts
+1
-1
public/app/viz/state/timeSeries.ts
+1
-1
No files found.
packages/grafana-ui/src/index.ts
View file @
dc9b8303
...
...
@@ -2,5 +2,4 @@ export * from './components';
export
*
from
'./visualizations'
;
export
*
from
'./types'
;
export
*
from
'./utils'
;
export
{
default
}
from
'./utils'
;
export
*
from
'./forms'
;
packages/grafana-ui/src/utils/colors.ts
View file @
dc9b8303
...
...
@@ -10,7 +10,7 @@ export const NO_DATA_COLOR = 'rgba(150, 150, 150, 1)';
export
const
PENDING_COLOR
=
'rgba(247, 149, 32, 1)'
;
export
const
REGION_FILL_ALPHA
=
0.09
;
const
colors
=
[
export
const
colors
=
[
'#7EB26D'
,
// 0: pale green
'#EAB839'
,
// 1: mustard
'#6ED0E0'
,
// 2: light blue
...
...
@@ -91,4 +91,3 @@ function hslToHex(color: any) {
}
export
let
sortedColors
=
sortColorsByHue
(
colors
);
export
default
colors
;
packages/grafana-ui/src/utils/index.ts
View file @
dc9b8303
export
*
from
'./processTimeSeries'
;
export
*
from
'./colors'
;
export
{
default
}
from
'./colors'
;
public/app/core/core.ts
View file @
dc9b8303
...
...
@@ -16,6 +16,7 @@ import './utils/outline';
import
'./components/colorpicker/spectrum_picker'
;
import
'./services/search_srv'
;
import
'./services/ng_react'
;
import
{
colors
}
from
'@grafana/ui/'
;
import
{
searchDirective
}
from
'./components/search/search'
;
import
{
infoPopover
}
from
'./components/info_popover'
;
...
...
@@ -34,7 +35,6 @@ import 'app/core/services/all';
import
'./filters/filters'
;
import
coreModule
from
'./core_module'
;
import
appEvents
from
'./app_events'
;
import
colors
from
'@grafana/ui/'
;
import
{
assignModelProperties
}
from
'./utils/model_utils'
;
import
{
contextSrv
}
from
'./services/context_srv'
;
import
{
KeybindingSrv
}
from
'./services/keybindingSrv'
;
...
...
public/app/core/logs_model.ts
View file @
dc9b8303
import
_
from
'lodash'
;
import
colors
from
'@grafana/ui'
;
import
{
colors
}
from
'@grafana/ui'
;
import
{
TimeSeries
}
from
'app/core/core'
;
import
{
getThemeColor
}
from
'app/core/utils/colors'
;
...
...
public/app/core/utils/explore.ts
View file @
dc9b8303
import
_
from
'lodash'
;
import
colors
from
'@grafana/ui'
;
import
{
colors
}
from
'@grafana/ui'
;
import
{
renderUrl
}
from
'app/core/utils/url'
;
import
kbn
from
'app/core/utils/kbn'
;
...
...
public/app/plugins/panel/graph/data_processor.ts
View file @
dc9b8303
import
_
from
'lodash'
;
import
colors
from
'@grafana/ui'
;
import
{
colors
}
from
'@grafana/ui'
;
import
TimeSeries
from
'app/core/time_series2'
;
...
...
public/app/plugins/panel/graph2/GraphPanel.tsx
View file @
dc9b8303
// Libraries
import
_
from
'lodash'
;
import
React
,
{
PureComponent
}
from
'react'
;
import
colors
from
'@grafana/ui'
;
import
{
colors
}
from
'@grafana/ui'
;
// Components & Types
import
{
Graph
,
PanelProps
,
NullValueMode
,
processTimeSeries
}
from
'@grafana/ui'
;
...
...
public/app/routes/GrafanaCtrl.ts
View file @
dc9b8303
...
...
@@ -2,7 +2,7 @@ import config from 'app/core/config';
import
_
from
'lodash'
;
import
$
from
'jquery'
;
import
Drop
from
'tether-drop'
;
import
colors
from
'@grafana/ui'
;
import
{
colors
}
from
'@grafana/ui'
;
import
coreModule
from
'app/core/core_module'
;
import
{
profiler
}
from
'app/core/profiler'
;
...
...
public/app/viz/state/timeSeries.ts
View file @
dc9b8303
...
...
@@ -2,7 +2,7 @@
import
_
from
'lodash'
;
// Utils
import
colors
from
'@grafana/ui'
;
import
{
colors
}
from
'@grafana/ui'
;
// Types
import
{
TimeSeries
,
TimeSeriesVMs
,
NullValueMode
}
from
'@grafana/ui'
;
...
...
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