UNPKG

link-styler

Version:

JavaScript package that simplifies the task of identifying links within text and applying custom styling by automatically replacing them with tags.

33 lines (31 loc) 629 B
import { Setting } from '../interface'; export const DefaultSetting: Setting = { bg: true, bgColor: '#a9a9a94f', textColor: '#000000d9', borderRadius: 15, showIcon: true, iconColor: true, underline: false, link: { pathnameLengthLimit: 20, }, atsign: { enable: true, path: '', bg: false, textColor: '#e31a1ad9', showIcon: false, underline: true, removeAtsignChar: false, }, hashTag: { enable: true, path: '', bg: false, textColor: '#0250ffd9', showIcon: false, underline: false, removeHashTagChar: false, }, };