mirror of
https://github.com/pipipi-pikachu/PPTist.git
synced 2025-04-15 02:20:00 +08:00
Merge branch 'master' of github.com:pipipi-pikachu/ppt_online_editor
This commit is contained in:
commit
b5bfc76b43
@ -129,7 +129,7 @@ export default defineComponent({
|
||||
|
||||
const themeColors = computed(() => {
|
||||
let colors: string[] = []
|
||||
if (props.themeColor.length === 10) colors = props.themeColor
|
||||
if (props.themeColor.length >= 10) colors = props.themeColor
|
||||
else if (props.themeColor.length === 1) colors = tinycolor(props.themeColor[0]).analogous(10).map(color => color.toHexString())
|
||||
else {
|
||||
const len = props.themeColor.length
|
||||
|
Loading…
x
Reference in New Issue
Block a user