Merge pull request #15 from le0zh/fix/icon

feat: add defaultIcon to devIconOptions
This commit is contained in:
Rutik Wankhade 2023-02-03 10:17:01 +05:30 committed by GitHub
commit e9f7534a59
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,19 +18,20 @@ import theme7 from '../assets/images/theme7.webp'
const defaultIcon = { 'label': 'react', 'value': 'react' }
const defaultSettings = { const defaultSettings = {
title: "A begineers guide to frontend development", title: "A begineers guide to frontend development",
bgColor: "#949ee5", bgColor: "#949ee5",
pattern: "", pattern: "",
download: "PNG", download: "PNG",
author: 'Rutik Wankhade', author: 'Rutik Wankhade',
icon: { 'label': 'react', 'value': 'react' }, icon: defaultIcon,
devIconOptions: [], devIconOptions: [defaultIcon],
font: 'font-Anek', font: 'font-Anek',
theme: 'background', theme: 'background',
customIcon: '', customIcon: '',
platform: 'hashnode' platform: 'hashnode'
}; };
const devIconsUrl = "https://raw.githubusercontent.com/devicons/devicon/master/devicon.json" const devIconsUrl = "https://raw.githubusercontent.com/devicons/devicon/master/devicon.json"