@deckdeckgo/highlight-code
Version:
A Web Component to highlight your code
18 lines (15 loc) • 883 B
JavaScript
'use strict';
const theme = `{
--deckgo-highlight-code-carbon-background: #282a36;
--deckgo-highlight-code-carbon-color: #ffffff;
--deckgo-highlight-code-token-atrule: #ff79c6; //get from JAVA interface color
--deckgo-highlight-code-token-comment: #6272a4; // get from JAVA yolo comment
--deckgo-highlight-code-token-comment-rgb: 98, 114, 164;
--deckgo-highlight-code-token-function: #ffb86c; // get from JAVA className color
--deckgo-highlight-code-token-operator: #ff79c6; // get from JAVA equal color(NumericTest isEven (=) )
--deckgo-highlight-code-token-property: #bd93f9; // get from CSS propName
--deckgo-highlight-code-token-punctuation: #6272a4; // get from CSS colon
--deckgo-highlight-code-token-selector: #50fa7b; //get from CSS selector button
--deckgo-highlight-code-token-regex: #f1fa8c; // get from JAVASCROIP REGEX
}`;
exports.theme = theme;