mirror of
https://github.com/go-task/task.git
synced 2026-06-28 07:04:33 +00:00
* feat: docusaurus v3 * feat: update release tool to stop it from converting links - this is now done use mdx plugins * fix: broken links * feat: more github links and prettier config * chore: changelog * fix: blog emoji
80 lines
1.3 KiB
JavaScript
80 lines
1.3 KiB
JavaScript
/**
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
|
|
import { themes } from 'prism-react-renderer';
|
|
|
|
export default {
|
|
plain: {
|
|
color: '#D4D4D4',
|
|
backgroundColor: '#212121'
|
|
},
|
|
styles: [
|
|
...themes.vsDark.styles,
|
|
{
|
|
types: ['title'],
|
|
style: {
|
|
color: '#569CD6',
|
|
fontWeight: 'bold'
|
|
}
|
|
},
|
|
{
|
|
types: ['property', 'parameter'],
|
|
style: {
|
|
color: '#9CDCFE'
|
|
}
|
|
},
|
|
{
|
|
types: ['script'],
|
|
style: {
|
|
color: '#D4D4D4'
|
|
}
|
|
},
|
|
{
|
|
types: ['boolean', 'arrow', 'atrule', 'tag'],
|
|
style: {
|
|
color: '#569CD6'
|
|
}
|
|
},
|
|
{
|
|
types: ['number', 'color', 'unit'],
|
|
style: {
|
|
color: '#B5CEA8'
|
|
}
|
|
},
|
|
{
|
|
types: ['font-matter'],
|
|
style: {
|
|
color: '#CE9178'
|
|
}
|
|
},
|
|
{
|
|
types: ['keyword', 'rule'],
|
|
style: {
|
|
color: '#C586C0'
|
|
}
|
|
},
|
|
{
|
|
types: ['regex'],
|
|
style: {
|
|
color: '#D16969'
|
|
}
|
|
},
|
|
{
|
|
types: ['maybe-class-name'],
|
|
style: {
|
|
color: '#4EC9B0'
|
|
}
|
|
},
|
|
{
|
|
types: ['constant'],
|
|
style: {
|
|
color: '#4FC1FF'
|
|
}
|
|
}
|
|
]
|
|
};
|