@aliemir/react-live
Version:
A production-focused playground for live editing React code
74 lines (73 loc) • 1.34 kB
JavaScript
export const theme = {
plain: {
color: "#C5C8C6",
backgroundColor: "#1D1F21",
},
styles: [
{
types: ["prolog", "comment", "doctype", "cdata"],
style: {
color: "hsl(30, 20%, 50%)",
},
},
{
types: ["property", "tag", "boolean", "number", "constant", "symbol"],
style: { color: "hsl(350, 40%, 70%)" },
},
{
types: ["attr-name", "string", "char", "builtin", "insterted"],
style: {
color: "hsl(75, 70%, 60%)",
},
},
{
types: [
"operator",
"entity",
"url",
"string",
"variable",
"language-css",
],
style: {
color: "hsl(40, 90%, 60%)",
},
},
{
types: ["deleted"],
style: {
color: "rgb(255, 85, 85)",
},
},
{
types: ["italic"],
style: {
fontStyle: "italic",
},
},
{
types: ["important", "bold"],
style: {
fontWeight: "bold",
},
},
{
types: ["regex", "important"],
style: {
color: "#e90",
},
},
{
types: ["atrule", "attr-value", "keyword"],
style: {
color: "hsl(350, 40%, 70%)",
},
},
{
types: ["punctuation", "symbol"],
style: {
opacity: "0.7",
},
},
],
};