mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-12-07 13:04:16 +01:00
#1590 Themes tweaked
This commit is contained in:
4
src/themes/theme-helpers.js
Normal file
4
src/themes/theme-helpers.js
Normal file
@@ -0,0 +1,4 @@
|
||||
import { adjust } from 'khroma';
|
||||
|
||||
export const mkBorder = (col, darkMode) =>
|
||||
darkMode ? adjust(col, { s: -40, l: 10 }) : adjust(col, { s: -40, l: -10 });
|
||||
Reference in New Issue
Block a user