32 lines
680 B
JavaScript
32 lines
680 B
JavaScript
import { commonLight } from "../../_styles/common/index.mjs";
|
|
const self = vars => {
|
|
const {
|
|
textColor2,
|
|
fontSize,
|
|
fontWeightStrong,
|
|
textColor3
|
|
} = vars;
|
|
return {
|
|
textColor: textColor2,
|
|
fontSize,
|
|
fontWeightStrong,
|
|
// extracted from hljs atom-one-light.scss
|
|
'mono-3': '#a0a1a7',
|
|
'hue-1': '#0184bb',
|
|
'hue-2': '#4078f2',
|
|
'hue-3': '#a626a4',
|
|
'hue-4': '#50a14f',
|
|
'hue-5': '#e45649',
|
|
'hue-5-2': '#c91243',
|
|
'hue-6': '#986801',
|
|
'hue-6-2': '#c18401',
|
|
// line-number styles
|
|
lineNumberTextColor: textColor3
|
|
};
|
|
};
|
|
const codeLight = {
|
|
name: 'Code',
|
|
common: commonLight,
|
|
self
|
|
};
|
|
export default codeLight; |