From c4e1730aef08aa42d973b6240537e3a00a4e799f Mon Sep 17 00:00:00 2001 From: Andrea Del Rio Date: Tue, 20 Apr 2021 18:57:54 -0700 Subject: [PATCH] Fix colors in Kibana overview page (#97741) (#97769) --- .../assets/solutions_enterprise_search_2x.png | Bin 0 -> 1974 bytes .../solutions_enterprise_search_dark_2x.png | Bin 2566 -> 0 bytes .../solutions_enterprise_search_light_2x.png | Bin 2503 -> 0 bytes .../assets/solutions_observability_2x.png | Bin 0 -> 976 bytes .../solutions_observability_dark_2x.png | Bin 1484 -> 0 bytes .../solutions_observability_light_2x.png | Bin 1487 -> 0 bytes .../assets/solutions_security_solution_2x.png | Bin 0 -> 1441 bytes .../solutions_security_solution_dark_2x.png | Bin 1999 -> 0 bytes .../solutions_security_solution_light_2x.png | Bin 2041 -> 0 bytes .../public/components/_overview.scss | 18 ++ .../__snapshots__/overview.test.tsx.snap | 192 +++++++++--------- .../public/components/overview/overview.tsx | 6 +- 12 files changed, 116 insertions(+), 100 deletions(-) create mode 100644 src/plugins/kibana_overview/public/assets/solutions_enterprise_search_2x.png delete mode 100644 src/plugins/kibana_overview/public/assets/solutions_enterprise_search_dark_2x.png delete mode 100644 src/plugins/kibana_overview/public/assets/solutions_enterprise_search_light_2x.png create mode 100644 src/plugins/kibana_overview/public/assets/solutions_observability_2x.png delete mode 100644 src/plugins/kibana_overview/public/assets/solutions_observability_dark_2x.png delete mode 100644 src/plugins/kibana_overview/public/assets/solutions_observability_light_2x.png create mode 100644 src/plugins/kibana_overview/public/assets/solutions_security_solution_2x.png delete mode 100644 src/plugins/kibana_overview/public/assets/solutions_security_solution_dark_2x.png delete mode 100644 src/plugins/kibana_overview/public/assets/solutions_security_solution_light_2x.png diff --git a/src/plugins/kibana_overview/public/assets/solutions_enterprise_search_2x.png b/src/plugins/kibana_overview/public/assets/solutions_enterprise_search_2x.png new file mode 100644 index 0000000000000000000000000000000000000000..e8a8d08c78fe03a34a8c7f9fb82fb0a0266a2ba7 GIT binary patch literal 1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_enterprise_search_dark_2x.png b/src/plugins/kibana_overview/public/assets/solutions_enterprise_search_dark_2x.png deleted file mode 100644 index 86ac827f06a77ccd3f7949c22620882aee6494c0..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2566 zcmeHJdr;GN65sGr9+pZ<5~x*&Ll_Ww9S=cKd_@>A7AU8@Bto$Q0U-#=BM|gzu>`@# z1py%~v53V>Ktl=P6)T~KR0T6B0)`;rA;tiPBpL!qf6mR^U-#eXfA`0CzOy^KpV^(= z{p?=+l5lXHnXMTBtP2j>9}ZxE13F#2ZCp*;XC<>o8LjS+{M;Qf2PI*XEvWn^@}&2KL@CcC_dNIGLG5Y5B$ohKCNmTdWE~yy)LcqLb%T?$#{1=HC&2!&GfaAxnMv4!Y}~48fTv9=jXc2FqUpr>$4rG4>00ZP43A%3v^@H z9(sN!CVZcCS^OP2KQoG_;sJb@G&oC;ofwo!c3)FDym#<;cOR2oow+o>>fpmNhYVcZ z^wgc@-hR0tGAcIC8i@J;+0c#Bfz-<=STiy5L|5l4l$*n|_#K-#t))v#OXOd2)BYLK zE+^@Xs1zj$O>>(}Nc5??#_XF;hUW6RX|ztp<@z#02W}>tL36x`CGC{pK%{W;EZWA( z5Y!?03dQgv$JNT(uqUj>aykoB8qUsQ`!>!`>IH(Xeh0T#_EPC+p#?m{%5PGLj9Fzw z24`tRyJ^*@?UT>(beY?6#i@ z-Ms3ouy2of3CSY4j}r;fYjQOR*e~!>DHWR6?mEgO|+RYsj{i) zj-dTvWC-}wW{>;zvbT-Nadww+;7&Mi+;>-2ME{oZZvh{-IZ8#d$VGwF>m}h~_b~f# zn$n0GW~)RO#O3W`rTiTQOs_>FrZS<%5olMv*TUxcTc22{3_+@lD7w(W`2za-D*#G9 z_i`r<8Brg2k%&qc8f!L@1^jZ4lf=;c$L@dB@`37M>*c;YUgGQq#2Y5&wB^354U#eT z789U7B^G<6E%&r;u>#z!`v!@-=KQ)|lHM3mTWsy!FZl>dyWf^PuQ~?&l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z8Pn*0YV8W^$ucWO*!@7ca#jbxEz#bx?DF{$$tYOf+bZP88mkoj=aGl<*0*_HZr{ zRVcshaPfJ(lf^pxLNCGf5}G7v6_}o=IC?*uG9E4$Mq~jgwzavnwt+s!e9001n%O{x z!rI-|mgP0M&kv^ug%&x0_DF=erXIu?MX{ORY_*Qf9eMJc4A-H~}Ag+!wzYN%;ifQ^||(=_sg> z`!(|7++C4-k9na%Xu}Q^D%m5>b_CxFAg2A>iCwzFy=r`q`UIo%;Y%838=gwmO z?#4<_G%WR!8A$5fw|&r*@W34nNzcfP>YKp+lZO+=PD>~OKMvFT3~ z*LKkppb z;~$&W0Ir;e@n)N?x#SFtcIO(;xXJ?B24w%ldHbV#qkk|)a3TW@i=gBVE9&YRm2!&n z9w!uV@?s1^cN3kjh}qOFfDcp}df)t4-$b_ON-EO|&M-FUj&)^Zu7Sa*Fm#cxQ&a$f zKVlArUX0#vPwRX>l=V_gVCp-8k@wAj-s|@=)8>DOG=izr|COosC6%hSu9wa#dbZj7 zW)}kV-*U_IM}hgTTF1YhcUOnK|3+Em+DJPL$>puLJ-bGWMF&=`$iDkc2T{q<)qzt`diyQ;a{&ti}0@Z@AM)!&~QpNI`S&#ukKR9 exs#?q>i(_S&5>C~rl@8C8DuYC&x$V?U;iJgWu?ae diff --git a/src/plugins/kibana_overview/public/assets/solutions_observability_2x.png b/src/plugins/kibana_overview/public/assets/solutions_observability_2x.png new file mode 100644 index 0000000000000000000000000000000000000000..d73b3e311f9f6e34660be19a68e7eceb264128fa GIT binary patch literal 976 zcmeAS@N?(olHy`uVBq!ia0y~yV3J^9VASJa1B#sS&$b0poCO|{#S9E$svykh8Km+7 zD9BhGx7srqa#q~2 z+1~%Ur8#L@T^G)A9eH4O=CO=M7Pt65NuYkxz=NOy_gwATrb)e260R} zb}Dwaig}9i5(A-QYZM~xC~!VMaR2brzfXVvO_pY8IJXT*%s9ZnP{hQ{aDtPEK|$Ss zpOy_gvV94>a=3|S_) zr_udO*SuqHTLg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s1X|P_eO|K|t0Z zSNDSYt#TzFCVwJzJVTVTVlmQRB%7Dih&LH@rV)3|(uvzxey*4C?mXK|C0xi7lU9l?_LOK#l zwJxA55kjn}9Naaji@~&pB#Ah_R{7}B8+Qu=jG-Y`A|A^BqFnqP_RFW1>7i8wW6e=| zx2U=%=D#o1K99r4nm#r+Cqv%j0$Q_MYOv(8{YC28C_XW3PVE0u%chzGUgHZfCZtJRMXy$LYH(=n1Mw=2jiDBQ_ajM^>E&V z)f|QTw>iorZ2W7Uba1+GdgD+=!0ALn-e9U6Y)`-3e}b~SW@?{rl@)jQ(p u+%(Tv{?B{-S#|%ty0WE(CLV+jt`^?j5L@RsOMk{cH6+9&MQb7@m45*)c4w{t diff --git a/src/plugins/kibana_overview/public/components/_overview.scss b/src/plugins/kibana_overview/public/components/_overview.scss index 94555013d0a77..12e2d9cd921ec 100644 --- a/src/plugins/kibana_overview/public/components/_overview.scss +++ b/src/plugins/kibana_overview/public/components/_overview.scss @@ -59,6 +59,24 @@ } } +.kbnOverviewSolution { + &.enterpriseSearch { + .euiCard__image { + background-color: $euiColorSecondary; + } + } + &.observability { + .euiCard__image { + background-color: $euiColorAccent; + } + } + &.securitySolution { + .euiCard__image { + background-color: $euiColorDarkestShade; + } + } +} + .kbnOverviewSolution__icon { background-color: $euiColorEmptyShade !important; box-shadow: none !important; diff --git a/src/plugins/kibana_overview/public/components/overview/__snapshots__/overview.test.tsx.snap b/src/plugins/kibana_overview/public/components/overview/__snapshots__/overview.test.tsx.snap index 142fe37ae932f..2e7dc9a7ddc60 100644 --- a/src/plugins/kibana_overview/public/components/overview/__snapshots__/overview.test.tsx.snap +++ b/src/plugins/kibana_overview/public/components/overview/__snapshots__/overview.test.tsx.snap @@ -13,25 +13,25 @@ exports[`Overview render 1`] = ` "kibana_landing_page", ], Array [ - "/plugins/kibanaOverview/assets/solutions_kibana_light_2x.png", + "/plugins/kibanaOverview/assets/solutions_kibana_2x.png", ], Array [ "path-to-solution-two", ], Array [ - "/plugins/kibanaOverview/assets/solutions_solution_2_light_2x.png", + "/plugins/kibanaOverview/assets/solutions_solution_2_2x.png", ], Array [ "path-to-solution-three", ], Array [ - "/plugins/kibanaOverview/assets/solutions_solution_3_light_2x.png", + "/plugins/kibanaOverview/assets/solutions_solution_3_2x.png", ], Array [ "path-to-solution-four", ], Array [ - "/plugins/kibanaOverview/assets/solutions_solution_4_light_2x.png", + "/plugins/kibanaOverview/assets/solutions_solution_4_2x.png", ], ], "results": Array [ @@ -41,7 +41,7 @@ exports[`Overview render 1`] = ` }, Object { "type": "return", - "value": "/plugins/kibanaOverview/assets/solutions_kibana_light_2x.png", + "value": "/plugins/kibanaOverview/assets/solutions_kibana_2x.png", }, Object { "type": "return", @@ -49,7 +49,7 @@ exports[`Overview render 1`] = ` }, Object { "type": "return", - "value": "/plugins/kibanaOverview/assets/solutions_solution_2_light_2x.png", + "value": "/plugins/kibanaOverview/assets/solutions_solution_2_2x.png", }, Object { "type": "return", @@ -57,7 +57,7 @@ exports[`Overview render 1`] = ` }, Object { "type": "return", - "value": "/plugins/kibanaOverview/assets/solutions_solution_3_light_2x.png", + "value": "/plugins/kibanaOverview/assets/solutions_solution_3_2x.png", }, Object { "type": "return", @@ -65,7 +65,7 @@ exports[`Overview render 1`] = ` }, Object { "type": "return", - "value": "/plugins/kibanaOverview/assets/solutions_solution_4_light_2x.png", + "value": "/plugins/kibanaOverview/assets/solutions_solution_4_2x.png", }, ], } @@ -191,7 +191,7 @@ exports[`Overview render 1`] = ` > } - image="/plugins/kibanaOverview/assets/solutions_kibana_light_2x.png" + image="/plugins/kibanaOverview/assets/solutions_kibana_2x.png" onClick={[Function]} title="Kibana" titleElement="h3" @@ -217,7 +217,7 @@ exports[`Overview render 1`] = ` > } - image="/plugins/kibanaOverview/assets/solutions_solution_2_light_2x.png" + image="/plugins/kibanaOverview/assets/solutions_solution_2_2x.png" onClick={[Function]} title="Solution two" titleElement="h3" @@ -243,7 +243,7 @@ exports[`Overview render 1`] = ` > } - image="/plugins/kibanaOverview/assets/solutions_solution_3_light_2x.png" + image="/plugins/kibanaOverview/assets/solutions_solution_3_2x.png" onClick={[Function]} title="Solution three" titleElement="h3" @@ -269,7 +269,7 @@ exports[`Overview render 1`] = ` > } - image="/plugins/kibanaOverview/assets/solutions_solution_4_light_2x.png" + image="/plugins/kibanaOverview/assets/solutions_solution_4_2x.png" onClick={[Function]} title="Solution four" titleElement="h3" @@ -305,25 +305,25 @@ exports[`Overview render 1`] = ` "kibana_landing_page", ], Array [ - "/plugins/kibanaOverview/assets/solutions_kibana_light_2x.png", + "/plugins/kibanaOverview/assets/solutions_kibana_2x.png", ], Array [ "path-to-solution-two", ], Array [ - "/plugins/kibanaOverview/assets/solutions_solution_2_light_2x.png", + "/plugins/kibanaOverview/assets/solutions_solution_2_2x.png", ], Array [ "path-to-solution-three", ], Array [ - "/plugins/kibanaOverview/assets/solutions_solution_3_light_2x.png", + "/plugins/kibanaOverview/assets/solutions_solution_3_2x.png", ], Array [ "path-to-solution-four", ], Array [ - "/plugins/kibanaOverview/assets/solutions_solution_4_light_2x.png", + "/plugins/kibanaOverview/assets/solutions_solution_4_2x.png", ], ], "results": Array [ @@ -333,7 +333,7 @@ exports[`Overview render 1`] = ` }, Object { "type": "return", - "value": "/plugins/kibanaOverview/assets/solutions_kibana_light_2x.png", + "value": "/plugins/kibanaOverview/assets/solutions_kibana_2x.png", }, Object { "type": "return", @@ -341,7 +341,7 @@ exports[`Overview render 1`] = ` }, Object { "type": "return", - "value": "/plugins/kibanaOverview/assets/solutions_solution_2_light_2x.png", + "value": "/plugins/kibanaOverview/assets/solutions_solution_2_2x.png", }, Object { "type": "return", @@ -349,7 +349,7 @@ exports[`Overview render 1`] = ` }, Object { "type": "return", - "value": "/plugins/kibanaOverview/assets/solutions_solution_3_light_2x.png", + "value": "/plugins/kibanaOverview/assets/solutions_solution_3_2x.png", }, Object { "type": "return", @@ -357,7 +357,7 @@ exports[`Overview render 1`] = ` }, Object { "type": "return", - "value": "/plugins/kibanaOverview/assets/solutions_solution_4_light_2x.png", + "value": "/plugins/kibanaOverview/assets/solutions_solution_4_2x.png", }, ], } @@ -383,49 +383,49 @@ exports[`Overview without features 1`] = ` "kibana_landing_page", ], Array [ - "/plugins/kibanaOverview/assets/solutions_kibana_light_2x.png", + "/plugins/kibanaOverview/assets/solutions_kibana_2x.png", ], Array [ "path-to-solution-two", ], Array [ - "/plugins/kibanaOverview/assets/solutions_solution_2_light_2x.png", + "/plugins/kibanaOverview/assets/solutions_solution_2_2x.png", ], Array [ "path-to-solution-three", ], Array [ - "/plugins/kibanaOverview/assets/solutions_solution_3_light_2x.png", + "/plugins/kibanaOverview/assets/solutions_solution_3_2x.png", ], Array [ "path-to-solution-four", ], Array [ - "/plugins/kibanaOverview/assets/solutions_solution_4_light_2x.png", + "/plugins/kibanaOverview/assets/solutions_solution_4_2x.png", ], Array [ "kibana_landing_page", ], Array [ - "/plugins/kibanaOverview/assets/solutions_kibana_light_2x.png", + "/plugins/kibanaOverview/assets/solutions_kibana_2x.png", ], Array [ "path-to-solution-two", ], Array [ - "/plugins/kibanaOverview/assets/solutions_solution_2_light_2x.png", + "/plugins/kibanaOverview/assets/solutions_solution_2_2x.png", ], Array [ "path-to-solution-three", ], Array [ - "/plugins/kibanaOverview/assets/solutions_solution_3_light_2x.png", + "/plugins/kibanaOverview/assets/solutions_solution_3_2x.png", ], Array [ "path-to-solution-four", ], Array [ - "/plugins/kibanaOverview/assets/solutions_solution_4_light_2x.png", + "/plugins/kibanaOverview/assets/solutions_solution_4_2x.png", ], ], "results": Array [ @@ -435,7 +435,7 @@ exports[`Overview without features 1`] = ` }, Object { "type": "return", - "value": "/plugins/kibanaOverview/assets/solutions_kibana_light_2x.png", + "value": "/plugins/kibanaOverview/assets/solutions_kibana_2x.png", }, Object { "type": "return", @@ -443,7 +443,7 @@ exports[`Overview without features 1`] = ` }, Object { "type": "return", - "value": "/plugins/kibanaOverview/assets/solutions_solution_2_light_2x.png", + "value": "/plugins/kibanaOverview/assets/solutions_solution_2_2x.png", }, Object { "type": "return", @@ -451,7 +451,7 @@ exports[`Overview without features 1`] = ` }, Object { "type": "return", - "value": "/plugins/kibanaOverview/assets/solutions_solution_3_light_2x.png", + "value": "/plugins/kibanaOverview/assets/solutions_solution_3_2x.png", }, Object { "type": "return", @@ -459,7 +459,7 @@ exports[`Overview without features 1`] = ` }, Object { "type": "return", - "value": "/plugins/kibanaOverview/assets/solutions_solution_4_light_2x.png", + "value": "/plugins/kibanaOverview/assets/solutions_solution_4_2x.png", }, Object { "type": "return", @@ -467,7 +467,7 @@ exports[`Overview without features 1`] = ` }, Object { "type": "return", - "value": "/plugins/kibanaOverview/assets/solutions_kibana_light_2x.png", + "value": "/plugins/kibanaOverview/assets/solutions_kibana_2x.png", }, Object { "type": "return", @@ -475,7 +475,7 @@ exports[`Overview without features 1`] = ` }, Object { "type": "return", - "value": "/plugins/kibanaOverview/assets/solutions_solution_2_light_2x.png", + "value": "/plugins/kibanaOverview/assets/solutions_solution_2_2x.png", }, Object { "type": "return", @@ -483,7 +483,7 @@ exports[`Overview without features 1`] = ` }, Object { "type": "return", - "value": "/plugins/kibanaOverview/assets/solutions_solution_3_light_2x.png", + "value": "/plugins/kibanaOverview/assets/solutions_solution_3_2x.png", }, Object { "type": "return", @@ -491,7 +491,7 @@ exports[`Overview without features 1`] = ` }, Object { "type": "return", - "value": "/plugins/kibanaOverview/assets/solutions_solution_4_light_2x.png", + "value": "/plugins/kibanaOverview/assets/solutions_solution_4_2x.png", }, ], } @@ -617,7 +617,7 @@ exports[`Overview without features 1`] = ` > } - image="/plugins/kibanaOverview/assets/solutions_kibana_light_2x.png" + image="/plugins/kibanaOverview/assets/solutions_kibana_2x.png" onClick={[Function]} title="Kibana" titleElement="h3" @@ -643,7 +643,7 @@ exports[`Overview without features 1`] = ` > } - image="/plugins/kibanaOverview/assets/solutions_solution_2_light_2x.png" + image="/plugins/kibanaOverview/assets/solutions_solution_2_2x.png" onClick={[Function]} title="Solution two" titleElement="h3" @@ -669,7 +669,7 @@ exports[`Overview without features 1`] = ` > } - image="/plugins/kibanaOverview/assets/solutions_solution_3_light_2x.png" + image="/plugins/kibanaOverview/assets/solutions_solution_3_2x.png" onClick={[Function]} title="Solution three" titleElement="h3" @@ -695,7 +695,7 @@ exports[`Overview without features 1`] = ` > } - image="/plugins/kibanaOverview/assets/solutions_solution_4_light_2x.png" + image="/plugins/kibanaOverview/assets/solutions_solution_4_2x.png" onClick={[Function]} title="Solution four" titleElement="h3" @@ -731,49 +731,49 @@ exports[`Overview without features 1`] = ` "kibana_landing_page", ], Array [ - "/plugins/kibanaOverview/assets/solutions_kibana_light_2x.png", + "/plugins/kibanaOverview/assets/solutions_kibana_2x.png", ], Array [ "path-to-solution-two", ], Array [ - "/plugins/kibanaOverview/assets/solutions_solution_2_light_2x.png", + "/plugins/kibanaOverview/assets/solutions_solution_2_2x.png", ], Array [ "path-to-solution-three", ], Array [ - "/plugins/kibanaOverview/assets/solutions_solution_3_light_2x.png", + "/plugins/kibanaOverview/assets/solutions_solution_3_2x.png", ], Array [ "path-to-solution-four", ], Array [ - "/plugins/kibanaOverview/assets/solutions_solution_4_light_2x.png", + "/plugins/kibanaOverview/assets/solutions_solution_4_2x.png", ], Array [ "kibana_landing_page", ], Array [ - "/plugins/kibanaOverview/assets/solutions_kibana_light_2x.png", + "/plugins/kibanaOverview/assets/solutions_kibana_2x.png", ], Array [ "path-to-solution-two", ], Array [ - "/plugins/kibanaOverview/assets/solutions_solution_2_light_2x.png", + "/plugins/kibanaOverview/assets/solutions_solution_2_2x.png", ], Array [ "path-to-solution-three", ], Array [ - "/plugins/kibanaOverview/assets/solutions_solution_3_light_2x.png", + "/plugins/kibanaOverview/assets/solutions_solution_3_2x.png", ], Array [ "path-to-solution-four", ], Array [ - "/plugins/kibanaOverview/assets/solutions_solution_4_light_2x.png", + "/plugins/kibanaOverview/assets/solutions_solution_4_2x.png", ], ], "results": Array [ @@ -783,7 +783,7 @@ exports[`Overview without features 1`] = ` }, Object { "type": "return", - "value": "/plugins/kibanaOverview/assets/solutions_kibana_light_2x.png", + "value": "/plugins/kibanaOverview/assets/solutions_kibana_2x.png", }, Object { "type": "return", @@ -791,7 +791,7 @@ exports[`Overview without features 1`] = ` }, Object { "type": "return", - "value": "/plugins/kibanaOverview/assets/solutions_solution_2_light_2x.png", + "value": "/plugins/kibanaOverview/assets/solutions_solution_2_2x.png", }, Object { "type": "return", @@ -799,7 +799,7 @@ exports[`Overview without features 1`] = ` }, Object { "type": "return", - "value": "/plugins/kibanaOverview/assets/solutions_solution_3_light_2x.png", + "value": "/plugins/kibanaOverview/assets/solutions_solution_3_2x.png", }, Object { "type": "return", @@ -807,7 +807,7 @@ exports[`Overview without features 1`] = ` }, Object { "type": "return", - "value": "/plugins/kibanaOverview/assets/solutions_solution_4_light_2x.png", + "value": "/plugins/kibanaOverview/assets/solutions_solution_4_2x.png", }, Object { "type": "return", @@ -815,7 +815,7 @@ exports[`Overview without features 1`] = ` }, Object { "type": "return", - "value": "/plugins/kibanaOverview/assets/solutions_kibana_light_2x.png", + "value": "/plugins/kibanaOverview/assets/solutions_kibana_2x.png", }, Object { "type": "return", @@ -823,7 +823,7 @@ exports[`Overview without features 1`] = ` }, Object { "type": "return", - "value": "/plugins/kibanaOverview/assets/solutions_solution_2_light_2x.png", + "value": "/plugins/kibanaOverview/assets/solutions_solution_2_2x.png", }, Object { "type": "return", @@ -831,7 +831,7 @@ exports[`Overview without features 1`] = ` }, Object { "type": "return", - "value": "/plugins/kibanaOverview/assets/solutions_solution_3_light_2x.png", + "value": "/plugins/kibanaOverview/assets/solutions_solution_3_2x.png", }, Object { "type": "return", @@ -839,7 +839,7 @@ exports[`Overview without features 1`] = ` }, Object { "type": "return", - "value": "/plugins/kibanaOverview/assets/solutions_solution_4_light_2x.png", + "value": "/plugins/kibanaOverview/assets/solutions_solution_4_2x.png", }, ], } @@ -865,25 +865,25 @@ exports[`Overview without solutions 1`] = ` "kibana_landing_page", ], Array [ - "/plugins/kibanaOverview/assets/solutions_kibana_light_2x.png", + "/plugins/kibanaOverview/assets/solutions_kibana_2x.png", ], Array [ "path-to-solution-two", ], Array [ - "/plugins/kibanaOverview/assets/solutions_solution_2_light_2x.png", + "/plugins/kibanaOverview/assets/solutions_solution_2_2x.png", ], Array [ "path-to-solution-three", ], Array [ - "/plugins/kibanaOverview/assets/solutions_solution_3_light_2x.png", + "/plugins/kibanaOverview/assets/solutions_solution_3_2x.png", ], Array [ "path-to-solution-four", ], Array [ - "/plugins/kibanaOverview/assets/solutions_solution_4_light_2x.png", + "/plugins/kibanaOverview/assets/solutions_solution_4_2x.png", ], ], "results": Array [ @@ -893,7 +893,7 @@ exports[`Overview without solutions 1`] = ` }, Object { "type": "return", - "value": "/plugins/kibanaOverview/assets/solutions_kibana_light_2x.png", + "value": "/plugins/kibanaOverview/assets/solutions_kibana_2x.png", }, Object { "type": "return", @@ -901,7 +901,7 @@ exports[`Overview without solutions 1`] = ` }, Object { "type": "return", - "value": "/plugins/kibanaOverview/assets/solutions_solution_2_light_2x.png", + "value": "/plugins/kibanaOverview/assets/solutions_solution_2_2x.png", }, Object { "type": "return", @@ -909,7 +909,7 @@ exports[`Overview without solutions 1`] = ` }, Object { "type": "return", - "value": "/plugins/kibanaOverview/assets/solutions_solution_3_light_2x.png", + "value": "/plugins/kibanaOverview/assets/solutions_solution_3_2x.png", }, Object { "type": "return", @@ -917,7 +917,7 @@ exports[`Overview without solutions 1`] = ` }, Object { "type": "return", - "value": "/plugins/kibanaOverview/assets/solutions_solution_4_light_2x.png", + "value": "/plugins/kibanaOverview/assets/solutions_solution_4_2x.png", }, ], } @@ -1026,25 +1026,25 @@ exports[`Overview without solutions 1`] = ` "kibana_landing_page", ], Array [ - "/plugins/kibanaOverview/assets/solutions_kibana_light_2x.png", + "/plugins/kibanaOverview/assets/solutions_kibana_2x.png", ], Array [ "path-to-solution-two", ], Array [ - "/plugins/kibanaOverview/assets/solutions_solution_2_light_2x.png", + "/plugins/kibanaOverview/assets/solutions_solution_2_2x.png", ], Array [ "path-to-solution-three", ], Array [ - "/plugins/kibanaOverview/assets/solutions_solution_3_light_2x.png", + "/plugins/kibanaOverview/assets/solutions_solution_3_2x.png", ], Array [ "path-to-solution-four", ], Array [ - "/plugins/kibanaOverview/assets/solutions_solution_4_light_2x.png", + "/plugins/kibanaOverview/assets/solutions_solution_4_2x.png", ], ], "results": Array [ @@ -1054,7 +1054,7 @@ exports[`Overview without solutions 1`] = ` }, Object { "type": "return", - "value": "/plugins/kibanaOverview/assets/solutions_kibana_light_2x.png", + "value": "/plugins/kibanaOverview/assets/solutions_kibana_2x.png", }, Object { "type": "return", @@ -1062,7 +1062,7 @@ exports[`Overview without solutions 1`] = ` }, Object { "type": "return", - "value": "/plugins/kibanaOverview/assets/solutions_solution_2_light_2x.png", + "value": "/plugins/kibanaOverview/assets/solutions_solution_2_2x.png", }, Object { "type": "return", @@ -1070,7 +1070,7 @@ exports[`Overview without solutions 1`] = ` }, Object { "type": "return", - "value": "/plugins/kibanaOverview/assets/solutions_solution_3_light_2x.png", + "value": "/plugins/kibanaOverview/assets/solutions_solution_3_2x.png", }, Object { "type": "return", @@ -1078,7 +1078,7 @@ exports[`Overview without solutions 1`] = ` }, Object { "type": "return", - "value": "/plugins/kibanaOverview/assets/solutions_solution_4_light_2x.png", + "value": "/plugins/kibanaOverview/assets/solutions_solution_4_2x.png", }, ], } @@ -1095,25 +1095,25 @@ exports[`Overview without solutions 1`] = ` "kibana_landing_page", ], Array [ - "/plugins/kibanaOverview/assets/solutions_kibana_light_2x.png", + "/plugins/kibanaOverview/assets/solutions_kibana_2x.png", ], Array [ "path-to-solution-two", ], Array [ - "/plugins/kibanaOverview/assets/solutions_solution_2_light_2x.png", + "/plugins/kibanaOverview/assets/solutions_solution_2_2x.png", ], Array [ "path-to-solution-three", ], Array [ - "/plugins/kibanaOverview/assets/solutions_solution_3_light_2x.png", + "/plugins/kibanaOverview/assets/solutions_solution_3_2x.png", ], Array [ "path-to-solution-four", ], Array [ - "/plugins/kibanaOverview/assets/solutions_solution_4_light_2x.png", + "/plugins/kibanaOverview/assets/solutions_solution_4_2x.png", ], ], "results": Array [ @@ -1123,7 +1123,7 @@ exports[`Overview without solutions 1`] = ` }, Object { "type": "return", - "value": "/plugins/kibanaOverview/assets/solutions_kibana_light_2x.png", + "value": "/plugins/kibanaOverview/assets/solutions_kibana_2x.png", }, Object { "type": "return", @@ -1131,7 +1131,7 @@ exports[`Overview without solutions 1`] = ` }, Object { "type": "return", - "value": "/plugins/kibanaOverview/assets/solutions_solution_2_light_2x.png", + "value": "/plugins/kibanaOverview/assets/solutions_solution_2_2x.png", }, Object { "type": "return", @@ -1139,7 +1139,7 @@ exports[`Overview without solutions 1`] = ` }, Object { "type": "return", - "value": "/plugins/kibanaOverview/assets/solutions_solution_3_light_2x.png", + "value": "/plugins/kibanaOverview/assets/solutions_solution_3_2x.png", }, Object { "type": "return", @@ -1147,7 +1147,7 @@ exports[`Overview without solutions 1`] = ` }, Object { "type": "return", - "value": "/plugins/kibanaOverview/assets/solutions_solution_4_light_2x.png", + "value": "/plugins/kibanaOverview/assets/solutions_solution_4_2x.png", }, ], } @@ -1170,25 +1170,25 @@ exports[`Overview without solutions 1`] = ` "kibana_landing_page", ], Array [ - "/plugins/kibanaOverview/assets/solutions_kibana_light_2x.png", + "/plugins/kibanaOverview/assets/solutions_kibana_2x.png", ], Array [ "path-to-solution-two", ], Array [ - "/plugins/kibanaOverview/assets/solutions_solution_2_light_2x.png", + "/plugins/kibanaOverview/assets/solutions_solution_2_2x.png", ], Array [ "path-to-solution-three", ], Array [ - "/plugins/kibanaOverview/assets/solutions_solution_3_light_2x.png", + "/plugins/kibanaOverview/assets/solutions_solution_3_2x.png", ], Array [ "path-to-solution-four", ], Array [ - "/plugins/kibanaOverview/assets/solutions_solution_4_light_2x.png", + "/plugins/kibanaOverview/assets/solutions_solution_4_2x.png", ], ], "results": Array [ @@ -1198,7 +1198,7 @@ exports[`Overview without solutions 1`] = ` }, Object { "type": "return", - "value": "/plugins/kibanaOverview/assets/solutions_kibana_light_2x.png", + "value": "/plugins/kibanaOverview/assets/solutions_kibana_2x.png", }, Object { "type": "return", @@ -1206,7 +1206,7 @@ exports[`Overview without solutions 1`] = ` }, Object { "type": "return", - "value": "/plugins/kibanaOverview/assets/solutions_solution_2_light_2x.png", + "value": "/plugins/kibanaOverview/assets/solutions_solution_2_2x.png", }, Object { "type": "return", @@ -1214,7 +1214,7 @@ exports[`Overview without solutions 1`] = ` }, Object { "type": "return", - "value": "/plugins/kibanaOverview/assets/solutions_solution_3_light_2x.png", + "value": "/plugins/kibanaOverview/assets/solutions_solution_3_2x.png", }, Object { "type": "return", @@ -1222,7 +1222,7 @@ exports[`Overview without solutions 1`] = ` }, Object { "type": "return", - "value": "/plugins/kibanaOverview/assets/solutions_solution_4_light_2x.png", + "value": "/plugins/kibanaOverview/assets/solutions_solution_4_2x.png", }, ], } diff --git a/src/plugins/kibana_overview/public/components/overview/overview.tsx b/src/plugins/kibana_overview/public/components/overview/overview.tsx index 43f7dc82a6bd1..68c52b0395591 100644 --- a/src/plugins/kibana_overview/public/components/overview/overview.tsx +++ b/src/plugins/kibana_overview/public/components/overview/overview.tsx @@ -64,9 +64,7 @@ export const Overview: FC = ({ newsFetchResult, solutions, features }) => .sort(sortByOrder); const getSolutionGraphicURL = (solutionId: string) => - `/plugins/${PLUGIN_ID}/assets/solutions_${solutionId}_${ - IS_DARK_THEME ? 'dark' : 'light' - }_2x.png`; + `/plugins/${PLUGIN_ID}/assets/solutions_${solutionId}_2x.png`; const findFeatureById = (featureId: string) => features.find(({ id }) => id === featureId); const kibanaApps = features.filter(({ solutionId }) => solutionId === 'kibana').sort(sortByOrder); @@ -199,7 +197,7 @@ export const Overview: FC = ({ newsFetchResult, solutions, features }) =>