mirror of
https://github.com/anyproto/anytype-ts.git
synced 2025-06-09 09:35:02 +09:00
JS-5794: default date icon
This commit is contained in:
parent
4b6f7b5255
commit
9c188f7e2d
2 changed files with 16 additions and 1 deletions
11
dist/img/icon/default/date.svg
vendored
Normal file
11
dist/img/icon/default/date.svg
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
<svg width="28" height="28" viewBox="0 0 28 28" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect x="3.75" y="4.75" width="20.5" height="18.5" rx="4.25" stroke="#B6B6B6" stroke-width="1.5"/>
|
||||
<path d="M17 12.9C17 12.6791 17.1791 12.5 17.4 12.5H19.6C19.8209 12.5 20 12.6791 20 12.9V13.6C20 13.8209 19.8209 14 19.6 14H17.4C17.1791 14 17 13.8209 17 13.6V12.9Z" fill="#B6B6B6"/>
|
||||
<path d="M12.5 15.9547C12.5 15.7338 12.6791 15.5547 12.9 15.5547H15.1C15.3209 15.5547 15.5 15.7338 15.5 15.9547V16.6547C15.5 16.8756 15.3209 17.0547 15.1 17.0547H12.9C12.6791 17.0547 12.5 16.8756 12.5 16.6547V15.9547Z" fill="#B6B6B6"/>
|
||||
<path d="M17 15.9547C17 15.7338 17.1791 15.5547 17.4 15.5547H19.6C19.8209 15.5547 20 15.7338 20 15.9547V16.6547C20 16.8756 19.8209 17.0547 19.6 17.0547H17.4C17.1791 17.0547 17 16.8756 17 16.6547V15.9547Z" fill="#B6B6B6"/>
|
||||
<path d="M12.5 12.9C12.5 12.6791 12.6791 12.5 12.9 12.5H15.1C15.3209 12.5 15.5 12.6791 15.5 12.9V13.6C15.5 13.8209 15.3209 14 15.1 14H12.9C12.6791 14 12.5 13.8209 12.5 13.6V12.9Z" fill="#B6B6B6"/>
|
||||
<path d="M8 15.9C8 15.6791 8.17909 15.5 8.4 15.5H10.6C10.8209 15.5 11 15.6791 11 15.9V16.6C11 16.8209 10.8209 17 10.6 17H8.4C8.17909 17 8 16.8209 8 16.6V15.9Z" fill="#B6B6B6"/>
|
||||
<path d="M12.5 18.9C12.5 18.6791 12.6791 18.5 12.9 18.5H15.1C15.3209 18.5 15.5 18.6791 15.5 18.9V19.6C15.5 19.8209 15.3209 20 15.1 20H12.9C12.6791 20 12.5 19.8209 12.5 19.6V18.9Z" fill="#B6B6B6"/>
|
||||
<path d="M8 18.9C8 18.6791 8.17909 18.5 8.4 18.5H10.6C10.8209 18.5 11 18.6791 11 18.9V19.6C11 19.8209 10.8209 20 10.6 20H8.4C8.17909 20 8 19.8209 8 19.6V18.9Z" fill="#B6B6B6"/>
|
||||
<path d="M3.5 9.5C3.5 7.01472 5.51472 5 8 5H20C22.4853 5 24.5 7.01472 24.5 9.5V10H3.5V9.5Z" fill="#B6B6B6"/>
|
||||
</svg>
|
After Width: | Height: | Size: 1.7 KiB |
|
@ -92,7 +92,7 @@ const FontSize = {
|
|||
96: 64,
|
||||
};
|
||||
|
||||
const DefaultIcons = [ 'page', 'task', 'set', 'chat', 'bookmark', 'type' ];
|
||||
const DefaultIcons = [ 'page', 'task', 'set', 'chat', 'bookmark', 'type', 'date' ];
|
||||
const Ghost = require('img/icon/ghost.svg');
|
||||
|
||||
const CheckboxTask = {
|
||||
|
@ -183,6 +183,10 @@ const IconObject = observer(class IconObject extends React.Component<Props> {
|
|||
break;
|
||||
};
|
||||
|
||||
case I.ObjectLayout.Date:
|
||||
defaultIcon('date');
|
||||
break;
|
||||
|
||||
case I.ObjectLayout.Collection:
|
||||
case I.ObjectLayout.Set: {
|
||||
if (iconImage) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue