mirror of
https://github.com/enso-org/enso.git
synced 2024-11-10 02:39:49 +03:00
Update icons (#10570)
This commit is contained in:
parent
0268cbb55b
commit
2d6c86398d
@ -6,16 +6,15 @@ import type { Icon } from '@/util/iconName'
|
||||
|
||||
const blockType = defineModel<BlockType>({ required: true })
|
||||
|
||||
const TODO: Icon = 'text'
|
||||
const blockTypeIcon: Record<keyof typeof blockTypeToBlockName, Icon> = {
|
||||
paragraph: 'text',
|
||||
bullet: 'bullet-list',
|
||||
code: TODO,
|
||||
h1: TODO,
|
||||
h2: TODO,
|
||||
h3: TODO,
|
||||
code: 'code',
|
||||
h1: 'header1',
|
||||
h2: 'header2',
|
||||
h3: 'header3',
|
||||
number: 'numbered-list',
|
||||
quote: TODO,
|
||||
quote: 'quote',
|
||||
}
|
||||
const blockTypesOrdered: BlockType[] = [
|
||||
'paragraph',
|
||||
|
@ -47,7 +47,7 @@ const close = () => (menuOpen.value = false)
|
||||
/>
|
||||
<ToggleIcon
|
||||
:modelValue="code.state.value"
|
||||
:icon="TODO"
|
||||
icon="code"
|
||||
title="Insert Code Block"
|
||||
@update:modelValue="code.set"
|
||||
/>
|
||||
|
Loading…
Reference in New Issue
Block a user