diff --git a/src/App/ComponentsDocumentation/components/Togglebox/constants.js b/src/App/ComponentsDocumentation/components/Togglebox/constants.js
index e86eb6c8c7..49c6a71188 100644
--- a/src/App/ComponentsDocumentation/components/Togglebox/constants.js
+++ b/src/App/ComponentsDocumentation/components/Togglebox/constants.js
@@ -48,6 +48,24 @@ export const toggleboxShowCase = {
},
],
},
+ {
+ id: "color-theme",
+ title: "Color theme",
+ values: [
+ {
+ name: "Grey",
+ value: {
+ colorTheme: "grey",
+ },
+ },
+ {
+ name: "White",
+ value: {
+ colorTheme: "white",
+ },
+ },
+ ],
+ },
],
},
title: "Togglebox",
diff --git a/src/App/components/FormComponents/Togglebox.js b/src/App/components/FormComponents/Togglebox.js
index 54be7e695f..58759e51bd 100644
--- a/src/App/components/FormComponents/Togglebox.js
+++ b/src/App/components/FormComponents/Togglebox.js
@@ -1,7 +1,14 @@
import React from "react";
import PropTypes from "prop-types";
-const Togglebox = ({ id, checked, disabled, label, labelTop }) => {
+const Togglebox = ({
+ id,
+ checked,
+ disabled,
+ label,
+ labelTop,
+ colorTheme = "grey",
+}) => {
const attrs = {
type: "checkbox",
id: id || null,
@@ -12,7 +19,10 @@ const Togglebox = ({ id, checked, disabled, label, labelTop }) => {
return (
{"\n"}
-
+
{"\n"}
{label ? (