mirror of
https://github.com/woodchen-ink/CoverView.git
synced 2025-07-18 14:01:56 +08:00
Merge pull request #15 from le0zh/fix/icon
feat: add defaultIcon to devIconOptions
This commit is contained in:
commit
e9f7534a59
@ -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"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user