Skip to content

Commit

Permalink
(docs) add missing colors for code snippets tokens #407
Browse files Browse the repository at this point in the history
  • Loading branch information
jcubic committed Dec 23, 2024
1 parent b8f19d7 commit 53a8b3a
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions docs/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,21 @@ import renderSocialCards from './src/utils';

const isProd = process.env.NODE_ENV === 'production';

prismThemes.dracula.styles.push({
types: ['regex', 'important'],
style: {
color: '#fd971f'
}
}, {
types: ['number', 'boolean'],
style: {
color: '#ae81ff'
}
});




const config: Config = {
title: 'LIPS Scheme',
tagline: 'Powerful Scheme based Lisp in JavaScript',
Expand Down Expand Up @@ -176,8 +191,7 @@ const config: Config = {
copyright: `Copyright (c) 2018-${new Date().getFullYear()} <a href="https://jakub.jankiewicz.org">Jakub T. Jankiewicz</a><br/>Website content licensed with <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a> unless noted otherwise.`,
},
prism: {
theme: prismThemes.github,
darkTheme: prismThemes.dracula,
theme: prismThemes.dracula,
additionalLanguages: ['scheme', 'lisp', 'bash']
},
} satisfies Preset.ThemeConfig,
Expand Down

0 comments on commit 53a8b3a

Please sign in to comment.