tree: 4d883a3f99cd067a71b81fc620fecb27c602c9f6
  1. src/
  2. accelerometer-back.svg
  3. accelerometer-bottom.png
  4. accelerometer-front.svg
  5. accelerometer-left.png
  6. accelerometer-right.png
  7. accelerometer-top.png
  8. baseline-icon.svg
  9. breaking_change_icon.svg
  10. BUILD.gn
  11. checkboxCheckmark.svg
  12. checker.png
  13. chevrons.svg
  14. chromeDisabledSelect.png
  15. chromeDisabledSelect_2x.png
  16. chromeLeft.png
  17. chromeMiddle.png
  18. chromeRight.png
  19. chromeSelect.png
  20. chromeSelect_2x.png
  21. cssoverview_icons_2x.png
  22. dropdown_7x6_icon.svg
  23. elements_panel_icon.svg
  24. errorWave.svg
  25. feedback_thin_16x16_icon.svg
  26. flex-align-content-center-icon.svg
  27. flex-align-content-end-icon.svg
  28. flex-align-content-space-around-icon.svg
  29. flex-align-content-space-between-icon.svg
  30. flex-align-content-space-evenly-icon.svg
  31. flex-align-content-start-icon.svg
  32. flex-align-content-stretch-icon.svg
  33. flex-align-items-center-icon.svg
  34. flex-align-items-flex-end-icon.svg
  35. flex-align-items-flex-start-icon.svg
  36. flex-align-items-stretch-icon.svg
  37. flex-align-self-center-icon.svg
  38. flex-align-self-flex-end-icon.svg
  39. flex-align-self-flex-start-icon.svg
  40. flex-align-self-stretch-icon.svg
  41. flex-direction-icon.svg
  42. flex-justify-content-center-icon.svg
  43. flex-justify-content-flex-end-icon.svg
  44. flex-justify-content-flex-start-icon.svg
  45. flex-justify-content-space-around-icon.svg
  46. flex-justify-content-space-between-icon.svg
  47. flex-justify-content-space-evenly-icon.svg
  48. ic_delete_filter.svg
  49. ic_delete_list.svg
  50. ic_info_black_18dp.svg
  51. ic_page_next_16x16_icon.svg
  52. ic_page_prev_16x16_icon.svg
  53. ic_redo_16x16_icon.svg
  54. ic_show_node_16x16.svg
  55. ic_suggest_color.svg
  56. ic_undo_16x16_icon.svg
  57. ic_warning_black_18dp.svg
  58. largeIcons.svg
  59. lighthouse_logo.svg
  60. link_icon.svg
  61. mediumIcons.svg
  62. navigationControls.png
  63. navigationControls_2x.png
  64. network_panel_icon.svg
  65. node_search_icon.svg
  66. nodeIcon.png
  67. OWNERS
  68. popoverArrows.png
  69. profileGroupIcon.png
  70. profileIcon.png
  71. profileSmallIcon.png
  72. radioDot-dark-theme.png
  73. radioDot.png
  74. readme.md
  75. refresh_12x12_icon.svg
  76. resizeDiagonal.svg
  77. resizeHorizontal.svg
  78. resizeVertical.svg
  79. resourceCSSIcon.png
  80. resourceDocumentIcon.png
  81. resourceDocumentIconSmall.png
  82. resourceJSIcon.png
  83. resourcePlainIcon.png
  84. resourcePlainIconSmall.png
  85. resourcesTimeGraphIcon.png
  86. searchNext.png
  87. searchPrev.png
  88. securityIcons.svg
  89. settings_14x14_icon.svg
  90. smallIcons.svg
  91. speech.png
  92. toolbarResizerVertical.png
  93. touchCursor.png
  94. touchCursor_2x.png
  95. treeoutlineTriangles.svg
  96. whatsnew.png
front_end/Images/readme.md

Adding new icons

  1. Out of a spritesheet (if you have a separately saved icon already go to 2.):

    • Open a spritesheet with the icon of interest, like largeIcons.svg.
    • Make sure it's the src/ version of the spritesheet.
    • Copy-paste the icon to a new page. Make sure it preserved its original size.
    • Set the size of the page to match the icon. Ideally 1-2px bigger.
    • Center the icon within the page.
    • Save the icon with _icon.svg suffix. For instance list_icon.svg.
  2. Compress the icon:

  3. Add the compressed icon to front_end/Images/src folder.

  4. Optimize:

    • ./scripts/optimize_svg_images.py.
  5. Add respective entries to .gni files.

    • Update the devtols_image_files list in devtools_image_files.gni.
    • Update the grd_files_release_sources list in devtools_grd_files.gni.
  6. Use Icon component: