Skip to content

Commit

Permalink
설정 파일 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
greeng00se committed Jan 2, 2024
1 parent df9bf86 commit bd774bf
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
// @ts-check
// Note: type annotations allow type checking and IDEs autocompletion

const lightCodeTheme = require('prism-react-renderer/themes/github');
const darkCodeTheme = require('prism-react-renderer/themes/dracula');
import { themes as prismThemes } from 'prism-react-renderer';

/** @type {import('@docusaurus/types').Config} */
const config = {
Expand Down Expand Up @@ -96,8 +95,8 @@ const config = {
contextualSearch: true,
},
prism: {
theme: lightCodeTheme,
darkTheme: darkCodeTheme,
theme: prismThemes.github,
darkTheme: prismThemes.dracula,
additionalLanguages: ['java', 'kotlin', 'groovy'],
},
metadata: [{
Expand Down

0 comments on commit bd774bf

Please sign in to comment.