mirror of
https://github.com/diced/zipline.git
synced 2025-04-04 23:21:17 -05:00
feat(themes): added dracula theme (#92)
* added dracula theme * change border color from white Co-authored-by: dicedtomato <35403473+diced@users.noreply.github.com>
This commit is contained in:
parent
e7c58a4847
commit
b5e882f07e
2 changed files with 22 additions and 2 deletions
|
@ -8,6 +8,7 @@ import ayu_mirage from 'lib/themes/ayu_mirage';
|
|||
import ayu_light from 'lib/themes/ayu_light';
|
||||
import nord from 'lib/themes/nord';
|
||||
import polar from 'lib/themes/polar';
|
||||
import dracula from 'lib/themes/dracula';
|
||||
import { useStoreSelector } from 'lib/redux/store';
|
||||
import createTheme from 'lib/themes';
|
||||
|
||||
|
@ -18,7 +19,8 @@ export const themes = {
|
|||
'ayu_mirage': ayu_mirage,
|
||||
'ayu_light': ayu_light,
|
||||
'nord': nord,
|
||||
'polar': polar
|
||||
'polar': polar,
|
||||
'dracula': dracula
|
||||
};
|
||||
|
||||
export const friendlyThemeName = {
|
||||
|
@ -28,7 +30,8 @@ export const friendlyThemeName = {
|
|||
'ayu_mirage': 'Ayu Mirage',
|
||||
'ayu_light': 'Ayu Light',
|
||||
'nord': 'Nord',
|
||||
'polar': 'Polar'
|
||||
'polar': 'Polar',
|
||||
'dracula': 'Dracula'
|
||||
};
|
||||
|
||||
export default function ZiplineTheming({ Component, pageProps }) {
|
||||
|
|
17
src/lib/themes/dracula.ts
Normal file
17
src/lib/themes/dracula.ts
Normal file
|
@ -0,0 +1,17 @@
|
|||
// https://github.com/AlphaNecron/
|
||||
// https://github.com/dracula/dracula-theme
|
||||
import createTheme from '.';
|
||||
|
||||
export default createTheme({
|
||||
type: 'dark',
|
||||
primary: '#BD93F9',
|
||||
secondary: '#6272A4',
|
||||
error: '#FF5555',
|
||||
warning: '#FFB86C',
|
||||
info: '#8BE9FD',
|
||||
border: '#7D8096',
|
||||
background: {
|
||||
main: '#282A36',
|
||||
paper: '#44475A'
|
||||
}
|
||||
});
|
Loading…
Add table
Reference in a new issue