diff --git a/lib/styled-components/__snapshots__/Sawmill.test.ts.snap b/lib/styled-components/__snapshots__/Sawmill.test.ts.snap index 778ee34..a636274 100644 --- a/lib/styled-components/__snapshots__/Sawmill.test.ts.snap +++ b/lib/styled-components/__snapshots__/Sawmill.test.ts.snap @@ -37,31 +37,31 @@ exports[`styled-components sawmill should generate dark theme based on custom co "colors": { "alerts": { "danger": { - "background": "rgb(255 151 151 / 0.15)", + "background": "#ff979726", "border": "#bd0000", }, "default": { - "background": "rgb(183 183 183 / 0.15)", + "background": "#b7b7b726", "border": "#5f5f5f", }, "gray": { - "background": "rgb(111 118 143 / 0.15)", + "background": "#6f768f26", "border": "#12182B", }, "info": { - "background": "rgb(151 151 255 / 0.15)", + "background": "#9797ff26", "border": "#0000bd", }, "primary": { - "background": "rgb(183 151 183 / 0.15)", + "background": "#b797b726", "border": "#5f005f", }, "success": { - "background": "rgb(151 183 151 / 0.15)", + "background": "#97b79726", "border": "#005f00", }, "warning": { - "background": "rgb(255 255 151 / 0.15)", + "background": "#ffff9726", "border": "#bdbd00", }, }, @@ -73,7 +73,7 @@ exports[`styled-components sawmill should generate dark theme based on custom co "badges": { "blue": { "dot": { - "color": "rgb(152 95 152 / 0.2)", + "color": "#985f9833", }, "filled": { "background": "#985f98", @@ -94,7 +94,7 @@ exports[`styled-components sawmill should generate dark theme based on custom co "text": "#6F768F", }, "light": { - "background": "rgb(111 118 143 / 0.2)", + "background": "#6f768f33", "text": "#E1E4ED", }, }, @@ -107,7 +107,7 @@ exports[`styled-components sawmill should generate dark theme based on custom co "text": "#FFFFFF", }, "light": { - "background": "rgb(0 128 0 / 0.1)", + "background": "#0080001a", "text": "#008000", }, }, @@ -120,7 +120,7 @@ exports[`styled-components sawmill should generate dark theme based on custom co "text": "#FFFFFF", }, "light": { - "background": "rgb(255 95 95 / 0.2)", + "background": "#ff5f5f33", "text": "#ff5f5f", }, }, @@ -133,7 +133,7 @@ exports[`styled-components sawmill should generate dark theme based on custom co "text": "#959500", }, "light": { - "background": "rgb(255 255 0 / 0.1)", + "background": "#ffff001a", "text": "#FFFF00", }, }, @@ -148,56 +148,56 @@ exports[`styled-components sawmill should generate dark theme based on custom co "button": { "danger": { "background": "#FF0000", - "color": "rgb(255 249 249)", + "color": "#fff9f9", }, "default": { "background": "#808080", - "color": "rgb(250 250 250)", + "color": "#fafafa", }, "gray": { "background": "#6F768F", - "color": "rgb(250 250 251)", + "color": "#fafafb", }, "info": { "background": "#0000FF", - "color": "rgb(235 235 255)", + "color": "#ebebff", }, "primary": { "background": "#800080", - "color": "rgb(230 221 230)", + "color": "#e6dde6", }, "success": { "background": "#008000", - "color": "rgb(249 250 249)", + "color": "#f9faf9", }, "warning": { "background": "#FFFF00", - "color": "rgb(81 81 0)", + "color": "#515100", }, }, "buttons": { "blue": { "filled": { "background": "#985f98", - "backgroundHover": "rgb(152 95 152 / 0.7)", + "backgroundHover": "#985f98b3", "text": "#FFFFFF", }, "light": { - "background": "rgb(152 95 152 / 0.2)", - "backgroundHover": "rgb(152 95 152 / 0.1)", + "background": "#985f9833", + "backgroundHover": "#985f981a", "text": "#985f98", }, "outlined": { - "backgroundHover": "rgb(152 95 152 / 0.1)", - "border": "rgb(152 95 152 / 0.5)", + "backgroundHover": "#985f981a", + "border": "#985f9880", "text": "#985f98", }, "subtle": { - "backgroundHover": "rgb(152 95 152 / 0.2)", + "backgroundHover": "#985f9833", "text": "#985f98", }, }, - "disabledBackground": "rgb(246 247 252 / 0.1)", + "disabledBackground": "#f6f7fc1a", "gray": { "filled": { "background": "#6F768F", @@ -205,38 +205,38 @@ exports[`styled-components sawmill should generate dark theme based on custom co "text": "#FFFFFF", }, "light": { - "background": "rgb(111 118 143 / 0.2)", - "backgroundHover": "rgb(111 118 143 / 0.1)", + "background": "#6f768f33", + "backgroundHover": "#6f768f1a", "text": "#F6F7FC", }, "outlined": { - "backgroundHover": "rgb(111 118 143 / 0.1)", - "border": "rgb(111 118 143 / 0.6)", + "backgroundHover": "#6f768f1a", + "border": "#6f768f99", "text": "#F6F7FC", }, "subtle": { - "backgroundHover": "rgb(111 118 143 / 0.3)", + "backgroundHover": "#6f768f4d", "text": "#F6F7FC", }, }, "red": { "filled": { "background": "#ff5f5f", - "backgroundHover": "rgb(255 95 95 / 0.7)", + "backgroundHover": "#ff5f5fb3", "text": "#FFFFFF", }, "light": { - "background": "rgb(255 95 95 / 0.2)", - "backgroundHover": "rgb(255 95 95 / 0.1)", + "background": "#ff5f5f33", + "backgroundHover": "#ff5f5f1a", "text": "#ff5f5f", }, "outlined": { - "backgroundHover": "rgb(255 95 95 / 0.1)", - "border": "rgb(255 191 191 / 0.4)", + "backgroundHover": "#ff5f5f1a", + "border": "#ffbfbf66", "text": "#ff5f5f", }, "subtle": { - "backgroundHover": "rgb(255 95 95 / 0.2)", + "backgroundHover": "#ff5f5f33", "text": "#ff5f5f", }, }, @@ -249,7 +249,7 @@ exports[`styled-components sawmill should generate dark theme based on custom co "containerBackground": "#F6F7FC", "containerBorder": "#E1E4ED", "cyan": { - "fill": "rgb(0 0 255 / 0.2)", + "fill": "#0000ff33", "markerColor": "#0000FF", "textColor": "#FFFFFF", }, @@ -257,42 +257,42 @@ exports[`styled-components sawmill should generate dark theme based on custom co "lines": "#394261", }, "contrast": { - "danger": "rgb(255 249 249)", - "default": "rgb(250 250 250)", - "gray": "rgb(191 192 195)", - "info": "rgb(235 235 255)", - "primary": "rgb(230 221 230)", - "success": "rgb(249 250 249)", - "warning": "rgb(81 81 0)", + "danger": "#fff9f9", + "default": "#fafafa", + "gray": "#bfc0c3", + "info": "#ebebff", + "primary": "#e6dde6", + "success": "#f9faf9", + "warning": "#515100", }, "disabled": { "danger": { "background": "#ff6969", - "color": "rgb(255 250 250)", + "color": "#fffafa", }, "default": { "background": "#a29b9b", - "color": "rgb(251 251 251)", + "color": "#fbfbfb", }, "gray": { "background": "#77717b", - "color": "rgb(250 250 250)", + "color": "#fafafa", }, "info": { "background": "#7269fb", - "color": "rgb(250 250 255)", + "color": "#fafaff", }, "primary": { "background": "#a2699b", - "color": "rgb(251 250 251)", + "color": "#fbfafb", }, "success": { "background": "#729b69", - "color": "rgb(250 251 250)", + "color": "#fafbfa", }, "warning": { "background": "#e8e832", - "color": "rgb(90 90 19)", + "color": "#5a5a13", }, }, "global": { @@ -317,35 +317,35 @@ exports[`styled-components sawmill should generate dark theme based on custom co "90": "#959595", }, "icons": { - "active": "rgb(246 247 252 / 0.7)", - "disabled": "rgb(246 247 252 / 0.5)", + "active": "#f6f7fcb3", + "disabled": "#f6f7fc80", "icon": "#E1E4ED", }, "input": { "background": "#1C2235", "backgroundDisabled": "#181d2e", - "border": "rgb(183 183 183 / 0.74)", + "border": "#b7b7b7bd", "borderFocus": "#0000f2", - "boxShadow": "inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgb(0 0 242 / 0.4)", + "boxShadow": "inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px #0000f266", "color": "#5c6370", "colorDisabled": "#bdbdbd", "placeholder": "#bdbdbd", }, "link": { "default": "#985f98", - "disabled": "rgb(240 235 240 / 0.5)", + "disabled": "#f0ebf080", "hover": "#b797b7", }, "menu": { "default": { - "activeBackground": "rgb(152 95 152 / 0.2)", + "activeBackground": "#985f9833", "activeColor": "#985f98", "color": "#F6F7FC", - "hover": "rgb(57 66 97 / 0.2)", + "hover": "#39426133", }, "red": { "color": { - "active": "rgb(255 95 95 / 0.2)", + "active": "#ff5f5f33", "color": "#ff5f5f", }, }, @@ -353,7 +353,7 @@ exports[`styled-components sawmill should generate dark theme based on custom co "misc": { "divider": "#060C1F", "logoColor": "#F6F7FC", - "stripedBackground": "rgb(57 66 97 / 0.35)", + "stripedBackground": "#39426159", }, "newsCards": { "background": "#252D47", @@ -380,10 +380,10 @@ exports[`styled-components sawmill should generate dark theme based on custom co }, }, "severity": { - "high": "rgb(255 0 0 / 0.75)", - "low": "rgb(111 118 143 / 0.75)", - "medium": "rgb(37 45 71 / 0.75)", - "success": "rgb(35 43 67 / 0.75)", + "high": "#ff0000bf", + "low": "#6f768fbf", + "medium": "#252d47bf", + "success": "#232b43bf", }, "table": { "head": { @@ -396,11 +396,11 @@ exports[`styled-components sawmill should generate dark theme based on custom co "background": "transparent", "backgroundExpanded": "#252D47", "backgroundHover": "#394261", - "backgroundStriped": "rgb(6 12 31 / 0.2)", + "backgroundStriped": "#060c1f33", "divider": "#060C1F", }, "variant": { - "active": "rgb(193 199 220 / 0.2)", + "active": "#c1c7dc33", "danger": "#f20000", "info": "#0000f2", "primary": "#790079", @@ -408,7 +408,7 @@ exports[`styled-components sawmill should generate dark theme based on custom co "warning": "#f2f200", }, "variantHover": { - "active": "rgb(193 199 220 / 0.2)", + "active": "#c1c7dc33", "danger": "#bd0000", "info": "#0000bd", "primary": "#5f005f", @@ -421,9 +421,9 @@ exports[`styled-components sawmill should generate dark theme based on custom co "hover": "#6F768F", }, "text": { - "disabled": "rgb(92 99 112 / 0.5)", + "disabled": "#5c637080", "primary": "#5c6370", - "secondary": "rgb(92 99 112 / 0.6)", + "secondary": "#5c637099", "severity": { "danger": "#5f985f", "success": "#008000", @@ -496,7 +496,7 @@ exports[`styled-components sawmill should generate dark theme based on custom co "components": { "aceEditor": " .ace_editor { - border: 1px solid rgb(183 183 183 / 0.74) !important; + border: 1px solid #b7b7b7bd !important; border-radius: 0; } @@ -620,7 +620,7 @@ exports[`styled-components sawmill should generate dark theme based on custom co } .ace_comment { - color: rgb(92 99 112 / 0.6); + color: #5c637099; } .ace_tooltip { @@ -729,31 +729,31 @@ exports[`styled-components sawmill should generate light theme based on custom c "colors": { "alerts": { "danger": { - "background": "rgb(255 0 0 / 0.1)", + "background": "#ff00001a", "border": "#ffbfbf", }, "default": { - "background": "rgb(128 128 128 / 0.1)", + "background": "#8080801a", "border": "#d1d1d1", }, "gray": { - "background": "rgb(37 45 71 / 0.1)", + "background": "#252d471a", "border": "#C1C7DC", }, "info": { - "background": "rgb(0 0 255 / 0.1)", + "background": "#0000ff1a", "border": "#bfbfff", }, "primary": { - "background": "rgb(128 0 128 / 0.1)", + "background": "#8000801a", "border": "#d1bfd1", }, "success": { - "background": "rgb(0 128 0 / 0.1)", + "background": "#0080001a", "border": "#bfd1bf", }, "warning": { - "background": "rgb(255 255 0 / 0.1)", + "background": "#ffff001a", "border": "#ffffbf", }, }, @@ -765,7 +765,7 @@ exports[`styled-components sawmill should generate light theme based on custom c "badges": { "blue": { "dot": { - "color": "rgb(128 0 128 / 0.1)", + "color": "#8000801a", }, "filled": { "background": "#800080", @@ -786,7 +786,7 @@ exports[`styled-components sawmill should generate light theme based on custom c "text": "#6F768F", }, "light": { - "background": "rgb(111 118 143 / 0.1)", + "background": "#6f768f1a", "text": "#252D47", }, }, @@ -799,7 +799,7 @@ exports[`styled-components sawmill should generate light theme based on custom c "text": "#FFFFFF", }, "light": { - "background": "rgb(0 128 0 / 0.1)", + "background": "#0080001a", "text": "#006d00", }, }, @@ -812,7 +812,7 @@ exports[`styled-components sawmill should generate light theme based on custom c "text": "#FFFFFF", }, "light": { - "background": "rgb(255 0 0 / 0.1)", + "background": "#ff00001a", "text": "#FF0000", }, }, @@ -825,7 +825,7 @@ exports[`styled-components sawmill should generate light theme based on custom c "text": "#959500", }, "light": { - "background": "rgb(255 255 0 / 0.1)", + "background": "#ffff001a", "text": "#d8d800", }, }, @@ -840,31 +840,31 @@ exports[`styled-components sawmill should generate light theme based on custom c "button": { "danger": { "background": "#FF0000", - "color": "rgb(255 249 249)", + "color": "#fff9f9", }, "default": { "background": "#808080", - "color": "rgb(250 250 250)", + "color": "#fafafa", }, "gray": { - "background": "rgb(193 199 220 / 0.4)", - "color": "rgb(43 44 49 / 0.9700000000000002)", + "background": "#c1c7dc66", + "color": "#2b2c31f7", }, "info": { "background": "#0000FF", - "color": "rgb(235 235 255)", + "color": "#ebebff", }, "primary": { "background": "#800080", - "color": "rgb(230 221 230)", + "color": "#e6dde6", }, "success": { "background": "#008000", - "color": "rgb(249 250 249)", + "color": "#f9faf9", }, "warning": { "background": "#FFFF00", - "color": "rgb(81 81 0)", + "color": "#515100", }, }, "buttons": { @@ -875,21 +875,21 @@ exports[`styled-components sawmill should generate light theme based on custom c "text": "#FFFFFF", }, "light": { - "background": "rgb(128 0 128 / 0.1)", - "backgroundHover": "rgb(128 0 128 / 0.05)", + "background": "#8000801a", + "backgroundHover": "#8000800d", "text": "#800080", }, "outlined": { - "backgroundHover": "rgb(128 0 128 / 0.1)", + "backgroundHover": "#8000801a", "border": "#d1bfd1", "text": "#800080", }, "subtle": { - "backgroundHover": "rgb(128 0 128 / 0.2)", + "backgroundHover": "#80008033", "text": "#800080", }, }, - "disabledBackground": "rgb(37 45 71 / 0.08)", + "disabledBackground": "#252d4714", "gray": { "filled": { "background": "#6F768F", @@ -897,17 +897,17 @@ exports[`styled-components sawmill should generate light theme based on custom c "text": "#FFFFFF", }, "light": { - "background": "rgb(111 118 143 / 0.1)", - "backgroundHover": "rgb(111 118 143 / 0.05)", + "background": "#6f768f1a", + "backgroundHover": "#6f768f0d", "text": "#252D47", }, "outlined": { - "backgroundHover": "rgb(111 118 143 / 0.1)", + "backgroundHover": "#6f768f1a", "border": "#C1C7DC", "text": "#252D47", }, "subtle": { - "backgroundHover": "rgb(111 118 143 / 0.2)", + "backgroundHover": "#6f768f33", "text": "#252D47", }, }, @@ -918,17 +918,17 @@ exports[`styled-components sawmill should generate light theme based on custom c "text": "#FFFFFF", }, "light": { - "background": "rgb(255 0 0 / 0.1)", - "backgroundHover": "rgb(255 0 0 / 0.05)", + "background": "#ff00001a", + "backgroundHover": "#ff00000d", "text": "#FF0000", }, "outlined": { - "backgroundHover": "rgb(255 0 0 / 0.1)", + "backgroundHover": "#ff00001a", "border": "#ffbfbf", "text": "#FF0000", }, "subtle": { - "backgroundHover": "rgb(255 0 0 / 0.1)", + "backgroundHover": "#ff00001a", "text": "#FF0000", }, }, @@ -941,7 +941,7 @@ exports[`styled-components sawmill should generate light theme based on custom c "containerBackground": "#F6F7FC", "containerBorder": "#E1E4ED", "cyan": { - "fill": "rgb(0 0 255 / 0.2)", + "fill": "#0000ff33", "markerColor": "#0000FF", "textColor": "#FFFFFF", }, @@ -949,42 +949,42 @@ exports[`styled-components sawmill should generate light theme based on custom c "lines": "#E1E4ED", }, "contrast": { - "danger": "rgb(255 249 249)", - "default": "rgb(250 250 250)", - "gray": "rgb(191 192 195)", - "info": "rgb(235 235 255)", - "primary": "rgb(230 221 230)", - "success": "rgb(249 250 249)", - "warning": "rgb(81 81 0)", + "danger": "#fff9f9", + "default": "#fafafa", + "gray": "#bfc0c3", + "info": "#ebebff", + "primary": "#e6dde6", + "success": "#f9faf9", + "warning": "#515100", }, "disabled": { "danger": { "background": "#ff6969", - "color": "rgb(255 250 250)", + "color": "#fffafa", }, "default": { "background": "#a29b9b", - "color": "rgb(251 251 251)", + "color": "#fbfbfb", }, "gray": { "background": "#77717b", - "color": "rgb(250 250 250)", + "color": "#fafafa", }, "info": { "background": "#7269fb", - "color": "rgb(250 250 255)", + "color": "#fafaff", }, "primary": { "background": "#a2699b", - "color": "rgb(251 250 251)", + "color": "#fbfafb", }, "success": { "background": "#729b69", - "color": "rgb(250 251 250)", + "color": "#fafbfa", }, "warning": { "background": "#e8e832", - "color": "rgb(90 90 19)", + "color": "#5a5a13", }, }, "global": { @@ -1009,8 +1009,8 @@ exports[`styled-components sawmill should generate light theme based on custom c "90": "#e7e8eb", }, "icons": { - "active": "rgb(37 45 71 / 0.7)", - "disabled": "rgb(37 45 71 / 0.4)", + "active": "#252d47b3", + "disabled": "#252d4766", "icon": "#394261", }, "input": { @@ -1018,26 +1018,26 @@ exports[`styled-components sawmill should generate light theme based on custom c "backgroundDisabled": "#0a39dd", "border": "#C1C7DC", "borderFocus": "#5f5fff", - "boxShadow": "inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgb(95 95 255 / 0.4)", + "boxShadow": "inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px #5f5fff66", "color": "#5c6370", "colorDisabled": "#9ea2ad", "placeholder": "#9ea2ad", }, "link": { "default": "#800080", - "disabled": "rgb(37 45 71 / 0.4)", + "disabled": "#252d4766", "hover": "#790079", }, "menu": { "default": { - "activeBackground": "rgb(128 0 128 / 0.1)", + "activeBackground": "#8000801a", "activeColor": "#800080", "color": "#252D47", - "hover": "rgb(111 118 143 / 0.1)", + "hover": "#6f768f1a", }, "red": { "color": { - "active": "rgb(255 0 0 / 0.1)", + "active": "#ff00001a", "color": "#FF0000", }, }, @@ -1072,10 +1072,10 @@ exports[`styled-components sawmill should generate light theme based on custom c }, }, "severity": { - "high": "rgb(255 0 0 / 0.75)", - "low": "rgb(111 118 143 / 0.75)", - "medium": "rgb(37 45 71 / 0.75)", - "success": "rgb(35 43 67 / 0.75)", + "high": "#ff0000bf", + "low": "#6f768fbf", + "medium": "#252d47bf", + "success": "#232b43bf", }, "table": { "head": { @@ -1088,11 +1088,11 @@ exports[`styled-components sawmill should generate light theme based on custom c "background": "transparent", "backgroundExpanded": "#FFFFFF", "backgroundHover": "#E1E4ED", - "backgroundStriped": "rgb(193 199 220 / 0.1)", + "backgroundStriped": "#c1c7dc1a", "divider": "#E1E4ED", }, "variant": { - "active": "rgb(193 199 220 / 0.2)", + "active": "#c1c7dc33", "danger": "#ff5f5f", "info": "#5f5fff", "primary": "#985f98", @@ -1100,7 +1100,7 @@ exports[`styled-components sawmill should generate light theme based on custom c "warning": "#ffff5f", }, "variantHover": { - "active": "rgb(193 199 220 / 0.2)", + "active": "#c1c7dc33", "danger": "#ffbfbf", "info": "#bfbfff", "primary": "#d1bfd1", @@ -1113,9 +1113,9 @@ exports[`styled-components sawmill should generate light theme based on custom c "hover": "#C1C7DC", }, "text": { - "disabled": "rgb(92 99 112 / 0.4)", + "disabled": "#5c637066", "primary": "#5c6370", - "secondary": "rgb(92 99 112 / 0.6)", + "secondary": "#5c637099", "severity": { "danger": "#008000", "success": "#007900", @@ -1312,7 +1312,7 @@ exports[`styled-components sawmill should generate light theme based on custom c } .ace_comment { - color: rgb(92 99 112 / 0.6); + color: #5c637099; } .ace_tooltip { diff --git a/lib/styled-components/generated/theme.json b/lib/styled-components/generated/theme.json index f8d0367..3b1207a 100644 --- a/lib/styled-components/generated/theme.json +++ b/lib/styled-components/generated/theme.json @@ -11,70 +11,70 @@ "button": { "danger": { "background": "#FE4A49", - "color": "rgb(255 249 249)" + "color": "#fff9f9" }, "default": { "background": "#20194D", - "color": "rgb(173 172 180)" + "color": "#adacb4" }, "info": { "background": "#03C2FF", - "color": "rgb(249 252 255)" + "color": "#f9fcff" }, "primary": { "background": "#1877EF", - "color": "rgb(249 250 254)" + "color": "#f9fafe" }, "success": { "background": "#2ECA8F", - "color": "rgb(249 253 251)" + "color": "#f9fdfb" }, "warning": { "background": "#FFCA0A", - "color": "rgb(57 45 2)" + "color": "#392d02" }, "gray": { - "background": "rgb(193 199 220 / 0.4)", - "color": "rgb(43 44 49 / 0.9700000000000002)" + "background": "#c1c7dc66", + "color": "#2b2c31f7" } }, "contrast": { - "danger": "rgb(255 249 249)", - "default": "rgb(173 172 180)", - "info": "rgb(249 252 255)", - "primary": "rgb(249 250 254)", - "success": "rgb(249 253 251)", - "warning": "rgb(57 45 2)", - "gray": "rgb(191 192 195)" + "danger": "#fff9f9", + "default": "#adacb4", + "info": "#f9fcff", + "primary": "#f9fafe", + "success": "#f9fdfb", + "warning": "#392d02", + "gray": "#bfc0c3" }, "disabled": { "danger": { "background": "#fe8483", - "color": "rgb(255 250 250)" + "color": "#fffafa" }, "default": { "background": "#767485", - "color": "rgb(250 250 250)" + "color": "#fafafa" }, "info": { "background": "#72d0ff", - "color": "rgb(44 81 99)" + "color": "#2c5163" }, "primary": { "background": "#749cf2", - "color": "rgb(250 251 254)" + "color": "#fafbfe" }, "success": { "background": "#79d6ab", - "color": "rgb(47 83 66)" + "color": "#2f5342" }, "warning": { "background": "#e5b621", - "color": "rgb(89 70 13)" + "color": "#59460d" }, "gray": { "background": "#777983", - "color": "rgb(250 250 250)" + "color": "#fafafa" } }, "section": { @@ -114,7 +114,7 @@ "backgroundDisabled": "#dddddd", "border": "#C1C7DC", "borderFocus": "#1FC7FF", - "boxShadow": "inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgb(31 199 255 / 0.4)", + "boxShadow": "inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px #1fc7ff66", "color": "#252D47", "colorDisabled": "#9ea2ad", "placeholder": "#9ea2ad" @@ -132,14 +132,14 @@ }, "row": { "background": "transparent", - "backgroundStriped": "rgb(193 199 220 / 0.1)", + "backgroundStriped": "#c1c7dc1a", "backgroundHover": "#E1E4ED", "backgroundExpanded": "#FFFFFF", "divider": "#E1E4ED" }, "variant": { "danger": "#FE6E6D", - "active": "rgb(193 199 220 / 0.2)", + "active": "#c1c7dc33", "info": "#1FC7FF", "primary": "#4396FF", "success": "#45E5A8", @@ -147,7 +147,7 @@ }, "variantHover": { "danger": "#FFACAB", - "active": "rgb(193 199 220 / 0.2)", + "active": "#c1c7dc33", "info": "#85E0FF", "primary": "#7FB8FF", "success": "#69F9C3", @@ -227,31 +227,31 @@ }, "alerts": { "danger": { - "background": "rgb(254 74 73 / 0.1)", + "background": "#fe4a491a", "border": "#FFACAB" }, "default": { - "background": "rgb(32 25 77 / 0.1)", + "background": "#20194d1a", "border": "#CAC8D7" }, "info": { - "background": "rgb(3 194 255 / 0.1)", + "background": "#03c2ff1a", "border": "#85E0FF" }, "primary": { - "background": "rgb(24 119 239 / 0.1)", + "background": "#1877ef1a", "border": "#7FB8FF" }, "success": { - "background": "rgb(46 202 143 / 0.1)", + "background": "#2eca8f1a", "border": "#69F9C3" }, "warning": { - "background": "rgb(255 202 10 / 0.1)", + "background": "#ffca0a1a", "border": "#FFEDAD" }, "gray": { - "background": "rgb(37 45 71 / 0.1)", + "background": "#252d471a", "border": "#C1C7DC" } }, @@ -259,7 +259,7 @@ "dotBorder": "#C1C7DC", "blue": { "dot": { - "color": "rgb(24 119 239 / 0.1)" + "color": "#1877ef1a" }, "light": { "text": "#1877EF", @@ -276,7 +276,7 @@ }, "light": { "text": "#FE4A49", - "background": "rgb(254 74 73 / 0.1)" + "background": "#fe4a491a" }, "filled": { "text": "#FFFFFF", @@ -289,7 +289,7 @@ }, "light": { "text": "#1A9869", - "background": "rgb(46 202 143 / 0.1)" + "background": "#2eca8f1a" }, "filled": { "text": "#FFFFFF", @@ -302,7 +302,7 @@ }, "light": { "text": "#CCA000", - "background": "rgb(255 202 10 / 0.1)" + "background": "#ffca0a1a" }, "filled": { "text": "#292000", @@ -315,7 +315,7 @@ }, "light": { "text": "#252D47", - "background": "rgb(111 118 143 / 0.1)" + "background": "#6f768f1a" }, "filled": { "text": "#6F768F", @@ -324,12 +324,12 @@ } }, "buttons": { - "disabledBackground": "rgb(37 45 71 / 0.08)", + "disabledBackground": "#252d4714", "blue": { "light": { "text": "#1877EF", - "background": "rgb(24 119 239 / 0.1)", - "backgroundHover": "rgb(24 119 239 / 0.05)" + "background": "#1877ef1a", + "backgroundHover": "#1877ef0d" }, "filled": { "text": "#FFFFFF", @@ -339,18 +339,18 @@ "outlined": { "text": "#1877EF", "border": "#7FB8FF", - "backgroundHover": "rgb(24 119 239 / 0.1)" + "backgroundHover": "#1877ef1a" }, "subtle": { "text": "#1877EF", - "backgroundHover": "rgb(24 119 239 / 0.2)" + "backgroundHover": "#1877ef33" } }, "red": { "light": { "text": "#FE4A49", - "background": "rgb(254 74 73 / 0.1)", - "backgroundHover": "rgb(254 74 73 / 0.05)" + "background": "#fe4a491a", + "backgroundHover": "#fe4a490d" }, "filled": { "text": "#FFFFFF", @@ -360,18 +360,18 @@ "outlined": { "text": "#FE4A49", "border": "#FFACAB", - "backgroundHover": "rgb(254 74 73 / 0.1)" + "backgroundHover": "#fe4a491a" }, "subtle": { "text": "#FE4A49", - "backgroundHover": "rgb(254 74 73 / 0.1)" + "backgroundHover": "#fe4a491a" } }, "gray": { "light": { "text": "#252D47", - "background": "rgb(111 118 143 / 0.1)", - "backgroundHover": "rgb(111 118 143 / 0.05)" + "background": "#6f768f1a", + "backgroundHover": "#6f768f0d" }, "filled": { "text": "#FFFFFF", @@ -381,11 +381,11 @@ "outlined": { "text": "#252D47", "border": "#C1C7DC", - "backgroundHover": "rgb(111 118 143 / 0.1)" + "backgroundHover": "#6f768f1a" }, "subtle": { "text": "#252D47", - "backgroundHover": "rgb(111 118 143 / 0.2)" + "backgroundHover": "#6f768f33" } } }, @@ -401,30 +401,30 @@ "cyan": { "markerColor": "#03C2FF", "textColor": "#FFFFFF", - "fill": "rgb(3 194 255 / 0.2)" + "fill": "#03c2ff33" } }, "icons": { "icon": "#394261", - "active": "rgb(37 45 71 / 0.7)", - "disabled": "rgb(37 45 71 / 0.4)" + "active": "#252d47b3", + "disabled": "#252d4766" }, "link": { "default": "#1877EF", "hover": "#1064CD", - "disabled": "rgb(37 45 71 / 0.4)" + "disabled": "#252d4766" }, "menu": { "default": { "color": "#252D47", - "hover": "rgb(111 118 143 / 0.1)", + "hover": "#6f768f1a", "activeColor": "#1877EF", - "activeBackground": "rgb(24 119 239 / 0.1)" + "activeBackground": "#1877ef1a" }, "red": { "color": { "color": "#FE4A49", - "active": "rgb(254 74 73 / 0.1)" + "active": "#fe4a491a" } } }, @@ -440,10 +440,10 @@ "progressBackground": "#252D47" }, "severity": { - "high": "rgb(254 74 73 / 0.75)", - "low": "rgb(111 118 143 / 0.75)", - "medium": "rgb(37 45 71 / 0.75)", - "success": "rgb(35 43 67 / 0.75)" + "high": "#fe4a49bf", + "low": "#6f768fbf", + "medium": "#252d47bf", + "success": "#232b43bf" }, "tabs": { "hover": "#C1C7DC", @@ -451,8 +451,8 @@ }, "text": { "primary": "#252D47", - "secondary": "rgb(37 45 71 / 0.6)", - "disabled": "rgb(37 45 71 / 0.4)", + "secondary": "#252d4799", + "disabled": "#252d4766", "severity": { "success": "#22B07A", "danger": "#2ECA8F" @@ -470,70 +470,70 @@ "button": { "danger": { "background": "#FE4A49", - "color": "rgb(255 249 249)" + "color": "#fff9f9" }, "default": { "background": "#20194D", - "color": "rgb(173 172 180)" + "color": "#adacb4" }, "info": { "background": "#03C2FF", - "color": "rgb(249 252 255)" + "color": "#f9fcff" }, "primary": { "background": "#1877EF", - "color": "rgb(249 250 254)" + "color": "#f9fafe" }, "success": { "background": "#2ECA8F", - "color": "rgb(249 253 251)" + "color": "#f9fdfb" }, "warning": { "background": "#FFCA0A", - "color": "rgb(57 45 2)" + "color": "#392d02" }, "gray": { "background": "#6F768F", - "color": "rgb(250 250 251)" + "color": "#fafafb" } }, "contrast": { - "danger": "rgb(255 249 249)", - "default": "rgb(173 172 180)", - "info": "rgb(249 252 255)", - "primary": "rgb(249 250 254)", - "success": "rgb(249 253 251)", - "warning": "rgb(57 45 2)", - "gray": "rgb(191 192 195)" + "danger": "#fff9f9", + "default": "#adacb4", + "info": "#f9fcff", + "primary": "#f9fafe", + "success": "#f9fdfb", + "warning": "#392d02", + "gray": "#bfc0c3" }, "disabled": { "danger": { "background": "#e44549", - "color": "rgb(254 249 249)" + "color": "#fef9f9" }, "default": { "background": "#211e4c", - "color": "rgb(142 142 153)" + "color": "#8e8e99" }, "info": { "background": "#11afe6", - "color": "rgb(249 252 254)" + "color": "#f9fcfe" }, "primary": { "background": "#1b6cd8", - "color": "rgb(242 244 251)" + "color": "#f2f4fb" }, "success": { "background": "#2cb684", - "color": "rgb(249 252 250)" + "color": "#f9fcfa" }, "warning": { "background": "#fdd471", - "color": "rgb(98 82 44)" + "color": "#62522c" }, "gray": { "background": "#252d47", - "color": "rgb(154 155 161)" + "color": "#9a9ba1" } }, "section": { @@ -566,14 +566,14 @@ "misc": { "divider": "#060C1F", "logoColor": "#F6F7FC", - "stripedBackground": "rgb(57 66 97 / 0.35)" + "stripedBackground": "#39426159" }, "input": { "background": "#1C2235", "backgroundDisabled": "#181d2e", - "border": "rgb(141 138 169 / 0.74)", + "border": "#8d8aa9bd", "borderFocus": "#00A8E0", - "boxShadow": "inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgb(0 168 224 / 0.4)", + "boxShadow": "inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px #00a8e066", "color": "#F6F7FC", "colorDisabled": "#bdbdbd", "placeholder": "#bdbdbd" @@ -591,14 +591,14 @@ }, "row": { "background": "transparent", - "backgroundStriped": "rgb(6 12 31 / 0.2)", + "backgroundStriped": "#060c1f33", "backgroundHover": "#394261", "backgroundExpanded": "#252D47", "divider": "#060C1F" }, "variant": { "danger": "#E74342", - "active": "rgb(193 199 220 / 0.2)", + "active": "#c1c7dc33", "info": "#00A8E0", "primary": "#1064CD", "success": "#22B07A", @@ -606,7 +606,7 @@ }, "variantHover": { "danger": "#8C2928", - "active": "rgb(193 199 220 / 0.2)", + "active": "#c1c7dc33", "info": "#006B8F", "primary": "#083772", "success": "#128057", @@ -686,31 +686,31 @@ }, "alerts": { "danger": { - "background": "rgb(254 134 133 / 0.15)", + "background": "#fe868526", "border": "#8C2928" }, "default": { - "background": "rgb(141 138 169 / 0.15)", + "background": "#8d8aa926", "border": "#0D0A1F" }, "info": { - "background": "rgb(71 209 255 / 0.15)", + "background": "#47d1ff26", "border": "#006B8F" }, "primary": { - "background": "rgb(101 169 255 / 0.15)", + "background": "#65a9ff26", "border": "#083772" }, "success": { - "background": "rgb(98 243 188 / 0.15)", + "background": "#62f3bc26", "border": "#128057" }, "warning": { - "background": "rgb(255 228 133 / 0.15)", + "background": "#ffe48526", "border": "#7A6000" }, "gray": { - "background": "rgb(111 118 143 / 0.15)", + "background": "#6f768f26", "border": "#12182B" } }, @@ -718,7 +718,7 @@ "dotBorder": "#6F768F", "blue": { "dot": { - "color": "rgb(67 150 255 / 0.2)" + "color": "#4396ff33" }, "light": { "text": "#4396FF", @@ -735,7 +735,7 @@ }, "light": { "text": "#FE6E6D", - "background": "rgb(254 110 109 / 0.2)" + "background": "#fe6e6d33" }, "filled": { "text": "#FFFFFF", @@ -748,7 +748,7 @@ }, "light": { "text": "#2ECA8F", - "background": "rgb(46 202 143 / 0.1)" + "background": "#2eca8f1a" }, "filled": { "text": "#FFFFFF", @@ -761,7 +761,7 @@ }, "light": { "text": "#FFCA0A", - "background": "rgb(255 202 10 / 0.1)" + "background": "#ffca0a1a" }, "filled": { "text": "#292000", @@ -774,7 +774,7 @@ }, "light": { "text": "#E1E4ED", - "background": "rgb(111 118 143 / 0.2)" + "background": "#6f768f33" }, "filled": { "text": "#6F768F", @@ -783,54 +783,54 @@ } }, "buttons": { - "disabledBackground": "rgb(246 247 252 / 0.1)", + "disabledBackground": "#f6f7fc1a", "blue": { "light": { "text": "#4396FF", - "background": "rgb(67 150 255 / 0.2)", - "backgroundHover": "rgb(67 150 255 / 0.1)" + "background": "#4396ff33", + "backgroundHover": "#4396ff1a" }, "filled": { "text": "#FFFFFF", "background": "#4396FF", - "backgroundHover": "rgb(67 150 255 / 0.7)" + "backgroundHover": "#4396ffb3" }, "outlined": { "text": "#4396FF", - "border": "rgb(67 150 255 / 0.5)", - "backgroundHover": "rgb(67 150 255 / 0.1)" + "border": "#4396ff80", + "backgroundHover": "#4396ff1a" }, "subtle": { "text": "#4396FF", - "backgroundHover": "rgb(67 150 255 / 0.2)" + "backgroundHover": "#4396ff33" } }, "red": { "light": { "text": "#FE6E6D", - "background": "rgb(254 110 109 / 0.2)", - "backgroundHover": "rgb(254 110 109 / 0.1)" + "background": "#fe6e6d33", + "backgroundHover": "#fe6e6d1a" }, "filled": { "text": "#FFFFFF", "background": "#FE6E6D", - "backgroundHover": "rgb(254 110 109 / 0.7)" + "backgroundHover": "#fe6e6db3" }, "outlined": { "text": "#FE6E6D", - "border": "rgb(255 172 171 / 0.4)", - "backgroundHover": "rgb(254 110 109 / 0.1)" + "border": "#ffacab66", + "backgroundHover": "#fe6e6d1a" }, "subtle": { "text": "#FE6E6D", - "backgroundHover": "rgb(254 110 109 / 0.2)" + "backgroundHover": "#fe6e6d33" } }, "gray": { "light": { "text": "#F6F7FC", - "background": "rgb(111 118 143 / 0.2)", - "backgroundHover": "rgb(111 118 143 / 0.1)" + "background": "#6f768f33", + "backgroundHover": "#6f768f1a" }, "filled": { "text": "#FFFFFF", @@ -839,12 +839,12 @@ }, "outlined": { "text": "#F6F7FC", - "border": "rgb(111 118 143 / 0.6)", - "backgroundHover": "rgb(111 118 143 / 0.1)" + "border": "#6f768f99", + "backgroundHover": "#6f768f1a" }, "subtle": { "text": "#F6F7FC", - "backgroundHover": "rgb(111 118 143 / 0.3)" + "backgroundHover": "#6f768f4d" } } }, @@ -860,30 +860,30 @@ "cyan": { "markerColor": "#03C2FF", "textColor": "#FFFFFF", - "fill": "rgb(3 194 255 / 0.2)" + "fill": "#03c2ff33" } }, "icons": { "icon": "#E1E4ED", - "active": "rgb(246 247 252 / 0.7)", - "disabled": "rgb(246 247 252 / 0.5)" + "active": "#f6f7fcb3", + "disabled": "#f6f7fc80" }, "link": { "default": "#4396FF", "hover": "#65A9FF", - "disabled": "rgb(217 235 255 / 0.5)" + "disabled": "#d9ebff80" }, "menu": { "default": { "color": "#F6F7FC", - "hover": "rgb(57 66 97 / 0.2)", + "hover": "#39426133", "activeColor": "#4396FF", - "activeBackground": "rgb(67 150 255 / 0.2)" + "activeBackground": "#4396ff33" }, "red": { "color": { "color": "#FE6E6D", - "active": "rgb(254 110 109 / 0.2)" + "active": "#fe6e6d33" } } }, @@ -899,10 +899,10 @@ "progressBackground": "#252D47" }, "severity": { - "high": "rgb(254 74 73 / 0.75)", - "low": "rgb(111 118 143 / 0.75)", - "medium": "rgb(37 45 71 / 0.75)", - "success": "rgb(35 43 67 / 0.75)" + "high": "#fe4a49bf", + "low": "#6f768fbf", + "medium": "#252d47bf", + "success": "#232b43bf" }, "tabs": { "hover": "#6F768F", @@ -910,8 +910,8 @@ }, "text": { "primary": "#F6F7FC", - "secondary": "rgb(246 247 252 / 0.6)", - "disabled": "rgb(246 247 252 / 0.5)", + "secondary": "#f6f7fc99", + "disabled": "#f6f7fc80", "severity": { "success": "#2ECA8F", "danger": "#45E5A8" @@ -997,10 +997,10 @@ }, "components": { "light": { - "aceEditor": "\n .ace_editor {\n border: 1px solid #C1C7DC !important;\n border-radius: 0;\n }\n\n .ace-graylog {\n background-color: #fff;\n color: #06050F;\n\n &.ace_multiselect .ace_selection.ace_start {\n box-shadow: 0 0 3px 0 #fff;\n }\n\n .ace_gutter {\n background: #CAC8D7;\n color: #06050F;\n }\n\n .ace_print-margin {\n width: 1px;\n background: #FAF9FF;\n }\n\n .ace_cursor {\n border-color: #252D47;\n }\n\n .ace_marker-layer {\n .ace_selection {\n background: Highlight;\n }\n\n .ace_step {\n background: rgb(255 255 0);\n }\n\n .ace_bracket {\n margin: -1px 0 0 -1px;\n border: 1px solid #b6b9c2;\n }\n\n .ace_selected-word {\n border: 1px solid #9ea2ad;\n background: transparent;\n }\n\n .ace_active-line {\n background: #FAF9FF;\n }\n }\n\n .ace_gutter-active-line {\n background-color: #FAF9FF;\n }\n\n .ace_invisible {\n color: #b6b9c2;\n }\n\n .ace_keyword,\n .ace_meta,\n .ace_storage,\n .ace_storage.ace_type,\n .ace_support.ace_type {\n color: #1877EF;\n }\n\n .ace_keyword.ace_operator {\n color: #006B8F;\n }\n\n .ace_constant.ace_character,\n .ace_constant.ace_language,\n .ace_constant.ace_numeric,\n .ace_keyword.ace_other.ace_unit,\n .ace_support.ace_constant,\n .ace_variable.ace_parameter {\n color: #083772;\n }\n\n .ace_constant.ace_other {\n color: #0D0A1F;\n }\n\n .ace_invalid {\n color: #fff;\n background-color: #FE6E6D;\n }\n\n .ace_invalid.ace_deprecated {\n color: #fff;\n background-color: #1877EF;\n }\n\n .ace_fold {\n background-color: #03C2FF;\n border-color: #06050F;\n }\n\n .ace_entity.ace_name.ace_function,\n .ace_support.ace_function,\n .ace_variable {\n color: #03C2FF;\n }\n\n .ace_support.ace_class,\n .ace_support.ace_type {\n color: #7A6000;\n }\n\n .ace_heading,\n .ace_markup.ace_heading,\n .ace_string {\n color: #128057;\n }\n\n .ace_entity.ace_name.ace_tag,\n .ace_entity.ace_other.ace_attribute-name,\n .ace_meta.ace_tag,\n .ace_string.ace_regexp,\n .ace_variable {\n color: #FE6E6D;\n }\n\n .ace_comment {\n color: rgb(37 45 71 / 0.6);\n }\n\n .ace_tooltip {\n background-color: #EEEDF6;\n padding: 4px;\n padding-left: 0;\n line-height: 1.5;\n \n .ace_icon {\n margin-right: 3px;\n }\n }\n }\n" + "aceEditor": "\n .ace_editor {\n border: 1px solid #C1C7DC !important;\n border-radius: 0;\n }\n\n .ace-graylog {\n background-color: #fff;\n color: #06050F;\n\n &.ace_multiselect .ace_selection.ace_start {\n box-shadow: 0 0 3px 0 #fff;\n }\n\n .ace_gutter {\n background: #CAC8D7;\n color: #06050F;\n }\n\n .ace_print-margin {\n width: 1px;\n background: #FAF9FF;\n }\n\n .ace_cursor {\n border-color: #252D47;\n }\n\n .ace_marker-layer {\n .ace_selection {\n background: Highlight;\n }\n\n .ace_step {\n background: rgb(255 255 0);\n }\n\n .ace_bracket {\n margin: -1px 0 0 -1px;\n border: 1px solid #b6b9c2;\n }\n\n .ace_selected-word {\n border: 1px solid #9ea2ad;\n background: transparent;\n }\n\n .ace_active-line {\n background: #FAF9FF;\n }\n }\n\n .ace_gutter-active-line {\n background-color: #FAF9FF;\n }\n\n .ace_invisible {\n color: #b6b9c2;\n }\n\n .ace_keyword,\n .ace_meta,\n .ace_storage,\n .ace_storage.ace_type,\n .ace_support.ace_type {\n color: #1877EF;\n }\n\n .ace_keyword.ace_operator {\n color: #006B8F;\n }\n\n .ace_constant.ace_character,\n .ace_constant.ace_language,\n .ace_constant.ace_numeric,\n .ace_keyword.ace_other.ace_unit,\n .ace_support.ace_constant,\n .ace_variable.ace_parameter {\n color: #083772;\n }\n\n .ace_constant.ace_other {\n color: #0D0A1F;\n }\n\n .ace_invalid {\n color: #fff;\n background-color: #FE6E6D;\n }\n\n .ace_invalid.ace_deprecated {\n color: #fff;\n background-color: #1877EF;\n }\n\n .ace_fold {\n background-color: #03C2FF;\n border-color: #06050F;\n }\n\n .ace_entity.ace_name.ace_function,\n .ace_support.ace_function,\n .ace_variable {\n color: #03C2FF;\n }\n\n .ace_support.ace_class,\n .ace_support.ace_type {\n color: #7A6000;\n }\n\n .ace_heading,\n .ace_markup.ace_heading,\n .ace_string {\n color: #128057;\n }\n\n .ace_entity.ace_name.ace_tag,\n .ace_entity.ace_other.ace_attribute-name,\n .ace_meta.ace_tag,\n .ace_string.ace_regexp,\n .ace_variable {\n color: #FE6E6D;\n }\n\n .ace_comment {\n color: #252d4799;\n }\n\n .ace_tooltip {\n background-color: #EEEDF6;\n padding: 4px;\n padding-left: 0;\n line-height: 1.5;\n \n .ace_icon {\n margin-right: 3px;\n }\n }\n }\n" }, "dark": { - "aceEditor": "\n .ace_editor {\n border: 1px solid rgb(141 138 169 / 0.74) !important;\n border-radius: 0;\n }\n\n .ace-graylog {\n background-color: #232B43;\n color: #FAF9FF;\n\n &.ace_multiselect .ace_selection.ace_start {\n box-shadow: 0 0 3px 0 #232B43;\n }\n\n .ace_gutter {\n background: #0D0A1F;\n color: #FAF9FF;\n }\n\n .ace_print-margin {\n width: 1px;\n background: #06050F;\n }\n\n .ace_cursor {\n border-color: #F6F7FC;\n }\n\n .ace_marker-layer {\n .ace_selection {\n background: Highlight;\n }\n\n .ace_step {\n background: rgb(255 255 0);\n }\n\n .ace_bracket {\n margin: -1px 0 0 -1px;\n border: 1px solid #b0b0b0;\n }\n\n .ace_selected-word {\n border: 1px solid #bdbdbd;\n background: transparent;\n }\n\n .ace_active-line {\n background: #06050F;\n }\n }\n\n .ace_gutter-active-line {\n background-color: #06050F;\n }\n\n .ace_invisible {\n color: #b0b0b0;\n }\n\n .ace_keyword,\n .ace_meta,\n .ace_storage,\n .ace_storage.ace_type,\n .ace_support.ace_type {\n color: #4396FF;\n }\n\n .ace_keyword.ace_operator {\n color: #85E0FF;\n }\n\n .ace_constant.ace_character,\n .ace_constant.ace_language,\n .ace_constant.ace_numeric,\n .ace_keyword.ace_other.ace_unit,\n .ace_support.ace_constant,\n .ace_variable.ace_parameter {\n color: #7FB8FF;\n }\n\n .ace_constant.ace_other {\n color: #CAC8D7;\n }\n\n .ace_invalid {\n color: #252D47;\n background-color: #E74342;\n }\n\n .ace_invalid.ace_deprecated {\n color: #252D47;\n background-color: #1877EF;\n }\n\n .ace_fold {\n background-color: #03C2FF;\n border-color: #FAF9FF;\n }\n\n .ace_entity.ace_name.ace_function,\n .ace_support.ace_function,\n .ace_variable {\n color: #03C2FF;\n }\n\n .ace_support.ace_class,\n .ace_support.ace_type {\n color: #FFEDAD;\n }\n\n .ace_heading,\n .ace_markup.ace_heading,\n .ace_string {\n color: #69F9C3;\n }\n\n .ace_entity.ace_name.ace_tag,\n .ace_entity.ace_other.ace_attribute-name,\n .ace_meta.ace_tag,\n .ace_string.ace_regexp,\n .ace_variable {\n color: #E74342;\n }\n\n .ace_comment {\n color: rgb(246 247 252 / 0.6);\n }\n\n .ace_tooltip {\n background-color: #12182B;\n padding: 4px;\n padding-left: 0;\n line-height: 1.5;\n \n .ace_icon {\n margin-right: 3px;\n }\n }\n }\n" + "aceEditor": "\n .ace_editor {\n border: 1px solid #8d8aa9bd !important;\n border-radius: 0;\n }\n\n .ace-graylog {\n background-color: #232B43;\n color: #FAF9FF;\n\n &.ace_multiselect .ace_selection.ace_start {\n box-shadow: 0 0 3px 0 #232B43;\n }\n\n .ace_gutter {\n background: #0D0A1F;\n color: #FAF9FF;\n }\n\n .ace_print-margin {\n width: 1px;\n background: #06050F;\n }\n\n .ace_cursor {\n border-color: #F6F7FC;\n }\n\n .ace_marker-layer {\n .ace_selection {\n background: Highlight;\n }\n\n .ace_step {\n background: rgb(255 255 0);\n }\n\n .ace_bracket {\n margin: -1px 0 0 -1px;\n border: 1px solid #b0b0b0;\n }\n\n .ace_selected-word {\n border: 1px solid #bdbdbd;\n background: transparent;\n }\n\n .ace_active-line {\n background: #06050F;\n }\n }\n\n .ace_gutter-active-line {\n background-color: #06050F;\n }\n\n .ace_invisible {\n color: #b0b0b0;\n }\n\n .ace_keyword,\n .ace_meta,\n .ace_storage,\n .ace_storage.ace_type,\n .ace_support.ace_type {\n color: #4396FF;\n }\n\n .ace_keyword.ace_operator {\n color: #85E0FF;\n }\n\n .ace_constant.ace_character,\n .ace_constant.ace_language,\n .ace_constant.ace_numeric,\n .ace_keyword.ace_other.ace_unit,\n .ace_support.ace_constant,\n .ace_variable.ace_parameter {\n color: #7FB8FF;\n }\n\n .ace_constant.ace_other {\n color: #CAC8D7;\n }\n\n .ace_invalid {\n color: #252D47;\n background-color: #E74342;\n }\n\n .ace_invalid.ace_deprecated {\n color: #252D47;\n background-color: #1877EF;\n }\n\n .ace_fold {\n background-color: #03C2FF;\n border-color: #FAF9FF;\n }\n\n .ace_entity.ace_name.ace_function,\n .ace_support.ace_function,\n .ace_variable {\n color: #03C2FF;\n }\n\n .ace_support.ace_class,\n .ace_support.ace_type {\n color: #FFEDAD;\n }\n\n .ace_heading,\n .ace_markup.ace_heading,\n .ace_string {\n color: #69F9C3;\n }\n\n .ace_entity.ace_name.ace_tag,\n .ace_entity.ace_other.ace_attribute-name,\n .ace_meta.ace_tag,\n .ace_string.ace_regexp,\n .ace_variable {\n color: #E74342;\n }\n\n .ace_comment {\n color: #f6f7fc99;\n }\n\n .ace_tooltip {\n background-color: #12182B;\n padding: 4px;\n padding-left: 0;\n line-height: 1.5;\n \n .ace_icon {\n margin-right: 3px;\n }\n }\n }\n" } } } \ No newline at end of file diff --git a/lib/styled-components/utils/inputColors.ts b/lib/styled-components/utils/inputColors.ts index 4a77690..e68ef2f 100644 --- a/lib/styled-components/utils/inputColors.ts +++ b/lib/styled-components/utils/inputColors.ts @@ -23,7 +23,7 @@ const inputColors = ( backgroundDisabled: darken(background, 0.25), border: colorScheme === COLOR_SCHEME_LIGHT ? colors.gray[2] : opacify(colors.default[3], 0.74), borderFocus: variant.light.info as string, - boxShadow: `inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px ${chroma(variant.light.info as string).alpha(0.4).css()}`, + boxShadow: `inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px ${opacify(variant.light.info as string, 0.4)}`, color: primaryTextColor, colorDisabled: gray[60], placeholder: gray[60], diff --git a/lib/utils/colorLevel.ts b/lib/utils/colorLevel.ts index b2f0895..21adc2d 100644 --- a/lib/utils/colorLevel.ts +++ b/lib/utils/colorLevel.ts @@ -13,7 +13,7 @@ const colorLevel = (textDefault: string, textAlt: string) => (colorHex: string, const upperLevel = absLevel > 1 ? 1 : absLevel; const mixLevel = absLevel < 0 ? 0 : upperLevel; - return chroma.mix(colorBase, colorHex, mixLevel).css(); + return chroma.mix(colorBase, colorHex, mixLevel).hex(); }; export default colorLevel; diff --git a/lib/utils/contrastingColor.ts b/lib/utils/contrastingColor.ts index 670d0f8..9b17da0 100644 --- a/lib/utils/contrastingColor.ts +++ b/lib/utils/contrastingColor.ts @@ -21,10 +21,10 @@ const contrastingColor = (color: string, wcagLevel = 'AAA'): string => { const mixStep = 0.05; const mixColor = chroma(color).luminance() < 0.5 ? '#fff' : '#000'; let mixture = 0; - let outputColor = chroma.mix(color, mixColor, mixture).css(); + let outputColor = chroma.mix(color, mixColor, mixture).hex(); while (mixture <= 1) { - outputColor = chroma.mix(color, mixColor, mixture).css(); + outputColor = chroma.mix(color, mixColor, mixture).hex(); if (chroma.contrast(color, outputColor) >= contrastRatios[wcagLevel]) { break; diff --git a/lib/utils/opacify.ts b/lib/utils/opacify.ts index 0d022ad..6070d36 100644 --- a/lib/utils/opacify.ts +++ b/lib/utils/opacify.ts @@ -12,7 +12,7 @@ function opacify(color: string, alpha: number): string { return color; } - return chroma(color).alpha(alpha).css(); + return chroma(color).alpha(alpha).hex(); } export default opacify;