Sfoglia il codice sorgente

[RN] Share font selections between web and native

j8
Saúl Ibarra Corretgé 6 anni fa
parent
commit
10163274d3

+ 0
- 1
doc/adding-an-icon.md Vedi File

8
 7. Download the result in a zip file using the "download" button.
8
 7. Download the result in a zip file using the "download" button.
9
 8. Copy <code>selection.json</code> and <code>fonts/jitsi.*</code> from the zip file to <code>fonts/</code> in Jitsi Meet
9
 8. Copy <code>selection.json</code> and <code>fonts/jitsi.*</code> from the zip file to <code>fonts/</code> in Jitsi Meet
10
 9. Copy the class for the new icon from <code>style.css</code> in the zip file to <code>css/_font.scss</code> in Jitsi Meet (do *not* copy the whole file)
10
 9. Copy the class for the new icon from <code>style.css</code> in the zip file to <code>css/_font.scss</code> in Jitsi Meet (do *not* copy the whole file)
11
-10. Copy the <code>selection.json</code> file to <code>react/features/base/font-icons</code> overwriting <code>jitsi.json</code>
12
 
11
 
13
 Sample commit: https://github.com/jitsi/jitsi-meet/commit/68bc819b89aec12364fcf07b81efa83a1900eed6
12
 Sample commit: https://github.com/jitsi/jitsi-meet/commit/68bc819b89aec12364fcf07b81efa83a1900eed6

+ 1
- 2
react/features/base/font-icons/Icon.js Vedi File

5
 // reflect that, it suggests the file is platform-independent.
5
 // reflect that, it suggests the file is platform-independent.
6
 import { createIconSetFromIcoMoon } from 'react-native-vector-icons';
6
 import { createIconSetFromIcoMoon } from 'react-native-vector-icons';
7
 
7
 
8
-// FIXME Share this with fonts/selection.json
9
-import icoMoonConfig from './jitsi.json';
8
+import icoMoonConfig from '../../../../fonts/selection.json';
10
 
9
 
11
 /**
10
 /**
12
  * Creates the Jitsi icon set from the ico moon project config file.
11
  * Creates the Jitsi icon set from the ico moon project config file.

+ 0
- 1
react/features/base/font-icons/jitsi.json
File diff soppresso perché troppo grande
Vedi File


Loading…
Annulla
Salva