[release] v0.12.0-unstable39

This commit is contained in:
Yann Stepienik 2023-11-03 16:24:28 +00:00
parent 6d275216de
commit 57e6680668
2 changed files with 7 additions and 3 deletions

View file

@ -192,6 +192,9 @@ const HomePage = () => {
// return () => clearInterval(interval); // return () => clearInterval(interval);
}, []); }, []);
const primCol = theme.palette.primary.main.replace('rgb(', 'rgba(')
const secCol = theme.palette.secondary.main.replace('rgb(', 'rgba(')
const optionsRadial = { const optionsRadial = {
plotOptions: { plotOptions: {
radialBar: { radialBar: {
@ -247,13 +250,14 @@ const HomePage = () => {
} }
}, },
fill: { fill: {
colors: [primCol],
type: "gradient", type: "gradient",
gradient: { gradient: {
shade: "dark", shade: "dark",
type: "horizontal", type: "horizontal",
shadeIntensity: 0.5, shadeIntensity: 0.5,
gradientToColors: ["#ABE5A1"], gradientToColors: [secCol], // A light green color as the end of the gradient.
inverseColors: true, inverseColors: false,
opacityFrom: 1, opacityFrom: 1,
opacityTo: 1, opacityTo: 1,
stops: [0, 100] stops: [0, 100]

View file

@ -1,6 +1,6 @@
{ {
"name": "cosmos-server", "name": "cosmos-server",
"version": "0.12.0-unstable38", "version": "0.12.0-unstable39",
"description": "", "description": "",
"main": "test-server.js", "main": "test-server.js",
"bugs": { "bugs": {