chore: add solarized light theme and bash

Signed-off-by: Matej Focko <mfocko@redhat.com>
This commit is contained in:
Matej Focko 2022-12-14 21:35:59 +01:00
parent 0e7d145747
commit 2ddd0a3a05
Signed by: mfocko
GPG key ID: 7C47D46246790496
2 changed files with 97 additions and 1 deletions

View file

@ -1,7 +1,7 @@
// @ts-check
// Note: type annotations allow type checking and IDEs autocompletion
const lightCodeTheme = require("prism-react-renderer/themes/vsLight");
const lightCodeTheme = require("./src/prism-themes/solarizedLight");
const darkCodeTheme = require("prism-react-renderer/themes/dracula");
const math = require("remark-math");
@ -114,6 +114,7 @@ const config = {
darkTheme: darkCodeTheme,
additionalLanguages: [
"ada",
"bash",
"csharp",
"dot",
"haskell",

View file

@ -0,0 +1,95 @@
// @flow
// Converted automatically using ./tools/themeFromVsCode
// import type { PrismTheme } from '../types'
var theme/* : PrismTheme */ = {
"plain": {
"color": "#657b83",
"backgroundColor": "#fdf6e3"
},
"styles": [
{
"types": [
"comment"
],
"style": {
"color": "rgb(147, 161, 161)",
"fontStyle": "italic"
}
},
{
"types": [
"string"
],
"style": {
"color": "rgb(42, 161, 152)"
}
},
{
"types": [
"number"
],
"style": {
"color": "rgb(211, 54, 130)"
}
},
{
"types": [
"variable",
"function",
"tag"
],
"style": {
"color": "rgb(38, 139, 210)"
}
},
{
"types": [
"class-name",
"keyword",
"char",
"constant",
"changed"
],
"style": {
"color": "rgb(203, 75, 22)"
}
},
{
"types": [
"punctuation",
"inserted"
],
"style": {
"color": "rgb(133, 153, 0)"
}
},
{
"types": [
"builtin"
],
"style": {
"color": "rgb(181, 137, 0)"
}
},
{
"types": [
"attr-name"
],
"style": {
"color": "rgb(147, 161, 161)"
}
},
{
"types": [
"deleted"
],
"style": {
"color": "rgb(220, 50, 47)"
}
}
]
};
module.exports = theme;