Skip to content

Commit a813362

Browse files
authored
Add insights colors (#570)
* Add insights colors * v5.0.49
1 parent 038c6ef commit a813362

3 files changed

Lines changed: 35 additions & 20 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@netdata/netdata-ui",
3-
"version": "5.0.48",
3+
"version": "5.0.49",
44
"description": "netdata UI kit",
55
"main": "dist/index.js",
66
"module": "dist/es6/index.js",

src/theme/dark/colors.js

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ const appColors = {
100100

101101
topBarBg: rawColors.neutral.grey35,
102102
elevationLevelOne: rawColors.neutral.grey60,
103-
//Input colors
103+
// Input colors
104104
inputBg: rawColors.neutral.grey55,
105105
inputBorder: rawColors.neutral.grey65,
106106
inputBorderHover: rawColors.neutral.grey85,
@@ -110,32 +110,32 @@ const appColors = {
110110
nodeBadgeBorder: rawColors.neutral.bluebayoux,
111111
nodeBadgeColor: rawColors.neutral.white,
112112

113-
//Default pills
113+
// Default pills
114114
neutralPillBg: rawColors.neutral.grey90,
115115
neutralPillBorder: rawColors.neutral.grey90,
116116
neutralPillColor: rawColors.neutral.grey120,
117117

118-
//Alert MasterCard
118+
// Alert MasterCard
119119
alertIcon: rawColors.neutral.grey50,
120120
idleError: rawColors.red.red20,
121121
idleWarning: rawColors.yellow.yellow20,
122122
idleClear: rawColors.green.green20,
123123

124-
//Table
124+
// Table
125125
dropdownTable: rawColors.neutral.eerieBlack,
126126
tableRowBgHover: rawColors.neutral.grey35,
127127
tableRowBg: rawColors.neutral.grey10,
128128
tableRowBg2: rawColors.neutral.grey20,
129129
tableRowBg2Hover: rawColors.neutral.grey35,
130130
columnHighlight: rawColors.green.green30,
131131

132-
//Progress Bare
132+
// Progress Bare
133133
progressBg: rawColors.neutral.bluebayoux,
134134

135-
//IconButton
135+
// IconButton
136136
iconColor: rawColors.neutral.grey160,
137137

138-
//table-resizer
138+
// table-resizer
139139
resizerLine: rawColors.green.vista,
140140

141141
anomalyText: rawColors.purple.mauve,
@@ -146,16 +146,22 @@ const appColors = {
146146
darkBackground: rawColors.neutral.grey05,
147147
integrationMenuItemHover: rawColors.green.green20,
148148

149-
//Dynamic rooms
149+
// Dynamic rooms
150150
clauseBg: rawColors.neutral.grey90,
151151
clauseText: rawColors.neutral.white,
152152

153-
//Onboarding
153+
// Onboarding
154154
nodeButtonsText: rawColors.green.green100,
155155
nodeButtonsTextHover: rawColors.green.green130,
156156
pnlBorder: rawColors.green.green20,
157157
pnlBackground: rawColors.neutral.black,
158158
pnlText: rawColors.green.green110,
159+
160+
// Insights
161+
insightsYellow: rawColors.yellow.yellow130,
162+
insightsViolet: rawColors.violet.violet150,
163+
insightsPurple: rawColors.purple.purple130,
164+
insightsGreen: rawColors.green.netdata,
159165
}
160166

161167
export default {

src/theme/default/colors.js

Lines changed: 19 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -100,41 +100,44 @@ const appColors = {
100100
menuItem: rawColors.neutral.grey120,
101101
topBarBg: rawColors.neutral.grey190,
102102
elevationLevelOne: rawColors.neutral.grey185,
103-
//Input colors
103+
104+
// Input colors
104105
inputBg: rawColors.neutral.grey190,
105106
inputBorder: rawColors.neutral.grey185,
106107
inputBorderHover: rawColors.neutral.grey165,
107108
inputBorderFocus: rawColors.neutral.grey165,
108-
//Badges
109+
110+
// Badges
109111
nodeBadgeBackground: rawColors.neutral.grey155,
110112
nodeBadgeBorder: rawColors.neutral.iron,
111113
nodeBadgeColor: rawColors.neutral.bluebayoux,
112114

113-
//Default pills
115+
// Default pills
114116
neutralPillBg: rawColors.neutral.grey155,
115117
neutralPillBorder: rawColors.neutral.grey155,
116118
neutralPillColor: rawColors.neutral.grey100,
117119

118-
//Alert MasterCard
120+
// Alert MasterCard
119121
alertIcon: rawColors.neutral.grey180,
120122
idleError: rawColors.red.red170,
121123
idleWarning: rawColors.yellow.yellow170,
122124
idleClear: rawColors.green.green190,
123125

124-
//Table
126+
// Table
125127
dropdownTable: rawColors.neutral.white,
126128
tableRowBg: rawColors.neutral.grey195,
127129
tableRowBgHover: rawColors.neutral.grey180,
128130
tableRowBg2: rawColors.neutral.grey190,
129131
tableRowBg2Hover: rawColors.neutral.grey180,
130132
columnHighlight: rawColors.green.green190,
131-
//IconButton
133+
134+
// IconButton
132135
iconColor: rawColors.neutral.limedSpruce,
133136

134-
//Progress Bare
137+
// Progress Bare
135138
progressBg: rawColors.neutral.chineseWhite,
136139

137-
//table-resizer
140+
// table-resizer
138141
resizerLine: rawColors.green.vista,
139142

140143
anomalyText: rawColors.purple.lilac,
@@ -145,16 +148,22 @@ const appColors = {
145148
darkBackground: rawColors.neutral.grey195,
146149
integrationMenuItemHover: rawColors.neutral.grey180,
147150

148-
//Dynamic rooms
151+
// Dynamic rooms
149152
clauseBg: rawColors.neutral.grey180,
150153
clauseText: rawColors.neutral.grey100,
151154

152-
//Onboarding
155+
// Onboarding
153156
nodeButtonsText: rawColors.neutral.grey100,
154157
nodeButtonsTextHover: rawColors.neutral.black,
155158
pnlBorder: rawColors.neutral.grey185,
156159
pnlBackground: rawColors.neutral.white,
157160
pnlText: rawColors.neutral.black,
161+
162+
// Insights
163+
insightsYellow: rawColors.yellow.yellow300,
164+
insightsViolet: rawColors.violet.violet150,
165+
insightsPurple: rawColors.purple.purple100,
166+
insightsGreen: rawColors.green.netdata,
158167
}
159168

160169
export default {

0 commit comments

Comments
 (0)