30 lines
810 B
JavaScript
Raw Permalink Normal View History

2024-01-29 09:26:07 +08:00
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const common_1 = require("../../_styles/common");
2024-08-02 18:19:39 +08:00
function self(vars) {
2024-01-29 09:26:07 +08:00
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
};
2024-08-02 18:19:39 +08:00
}
2024-01-29 09:26:07 +08:00
const codeLight = {
name: 'Code',
common: common_1.commonLight,
self
};
exports.default = codeLight;