prism-react-renderer
Version:
Renders highlighted Prism output using React
58 lines (56 loc) • 1.1 kB
JavaScript
// Original: https://github.com/dracula/visual-studio-code
// Converted automatically using ./tools/themeFromVsCode
var theme = {
plain: {
color: "#F8F8F2",
backgroundColor: "#282A36"
},
styles: [{
types: ["prolog", "constant", "builtin"],
style: {
color: "rgb(189, 147, 249)"
}
}, {
types: ["inserted", "function"],
style: {
color: "rgb(80, 250, 123)"
}
}, {
types: ["deleted"],
style: {
color: "rgb(255, 85, 85)"
}
}, {
types: ["changed"],
style: {
color: "rgb(255, 184, 108)"
}
}, {
types: ["punctuation", "symbol"],
style: {
color: "rgb(248, 248, 242)"
}
}, {
types: ["string", "char", "tag", "selector"],
style: {
color: "rgb(255, 121, 198)"
}
}, {
types: ["keyword", "variable"],
style: {
color: "rgb(189, 147, 249)",
fontStyle: "italic"
}
}, {
types: ["comment"],
style: {
color: "rgb(98, 114, 164)"
}
}, {
types: ["attr-name"],
style: {
color: "rgb(241, 250, 140)"
}
}]
};
export default theme;