Base: Change JSON file icon to add CSS file icon

Add CSS icon and add replacement JSON icon as the colors conflict.

Update HackStudioWidget.cpp
This commit is contained in:
electrikmilk 2022-02-07 14:45:00 -05:00 committed by Linus Groh
parent d55978c254
commit 4263dad838
Notes: sideshowbarker 2024-07-17 19:08:43 +09:00
6 changed files with 2 additions and 2 deletions

View file

@ -4,6 +4,7 @@ font=*.font
form=*.frm
header=*.h,*.hpp,*.hxx,*.hh,*.h++
html=*.html,*.htm
css=*.css
ini=*.ini
java=*.java
javascript=*.js,*.mjs

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.6 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.5 KiB

After

Width:  |  Height:  |  Size: 3 KiB

View file

@ -390,8 +390,7 @@ NonnullRefPtr<GUI::Menu> HackStudioWidget::create_project_tree_view_context_menu
m_new_file_actions.append(create_new_file_action("GML File", "/res/icons/16x16/filetype-gml.png", "gml"));
m_new_file_actions.append(create_new_file_action("JavaScript Source File", "/res/icons/16x16/filetype-javascript.png", "js"));
m_new_file_actions.append(create_new_file_action("HTML File", "/res/icons/16x16/filetype-html.png", "html"));
// FIXME: Create a file icon for CSS files
m_new_file_actions.append(create_new_file_action("CSS File", "/res/icons/16x16/new.png", "css"));
m_new_file_actions.append(create_new_file_action("CSS File", "/res/icons/16x16/filetype-css.png", "css"));
m_new_plain_file_action = create_new_file_action("Plain File", "/res/icons/16x16/new.png", "");