add instructions to use revised filetype icons

This commit is contained in:
Stuart Deusoz 2019-03-11 20:25:59 +01:00 committed by GitHub
parent 29eb0cd8af
commit 8d9e08b16d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -86,7 +86,7 @@ Figure out the path of the old logo
Replace the old picture, which position you found out as described under 1.3. by adding an extension in case you want to re-use it later.
Creating an own logo
Creating your own logo
^^^^^^^^^^^^^^^^^^^^
If you want to do a quick exchange like (1) it's important to know the size of the picture before you start creating an own logo:
@ -180,6 +180,22 @@ The other major color scheme is the blue header bar on the main navigation page
This color we will change with the above as well.
Save the file and refresh the browser for the changes to take effect.
Changing file/folder type icons
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The core filetype icons are located in /core/img/filetypes/ directory.
Create a "filetypes" drrectory in your custom theme folder:
/themes/mytheme/core/img/filetypes/
Edit the filetype icon .svg files that you want to revise and place them in your new "filetypes" directory.
Run this command from root of app:
.. code-block:: php
./occ maintenance:mimetype:update-js
This will instruct app to use revised icons from your themes folder.
How to change translations
--------------------------