[RN] Share font selections between web and native
This commit is contained in:
parent
2b91745af1
commit
10163274d3
|
@ -8,6 +8,5 @@
|
||||||
7. Download the result in a zip file using the "download" button.
|
7. Download the result in a zip file using the "download" button.
|
||||||
8. Copy <code>selection.json</code> and <code>fonts/jitsi.*</code> from the zip file to <code>fonts/</code> in Jitsi Meet
|
8. Copy <code>selection.json</code> and <code>fonts/jitsi.*</code> from the zip file to <code>fonts/</code> in Jitsi Meet
|
||||||
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)
|
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. Copy the <code>selection.json</code> file to <code>react/features/base/font-icons</code> overwriting <code>jitsi.json</code>
|
|
||||||
|
|
||||||
Sample commit: https://github.com/jitsi/jitsi-meet/commit/68bc819b89aec12364fcf07b81efa83a1900eed6
|
Sample commit: https://github.com/jitsi/jitsi-meet/commit/68bc819b89aec12364fcf07b81efa83a1900eed6
|
||||||
|
|
|
@ -5,8 +5,7 @@ import { Platform } from 'react-native';
|
||||||
// reflect that, it suggests the file is platform-independent.
|
// reflect that, it suggests the file is platform-independent.
|
||||||
import { createIconSetFromIcoMoon } from 'react-native-vector-icons';
|
import { createIconSetFromIcoMoon } from 'react-native-vector-icons';
|
||||||
|
|
||||||
// FIXME Share this with fonts/selection.json
|
import icoMoonConfig from '../../../../fonts/selection.json';
|
||||||
import icoMoonConfig from './jitsi.json';
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates the Jitsi icon set from the ico moon project config file.
|
* Creates the Jitsi icon set from the ico moon project config file.
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue