Home
last modified time | relevance | path

Searched refs:colorFileContentsJSON (Results 1 – 4 of 4) sorted by relevance

/expo/packages/@expo/config-plugins/src/android/
H A DColors.ts18 export function setColorItem(itemToAdd: ResourceItemXML, colorFileContentsJSON: ResourceXML) {
19 if (colorFileContentsJSON.resources?.color) {
20 const colorNameExists = colorFileContentsJSON.resources.color.filter(
26 colorFileContentsJSON.resources.color.push(itemToAdd);
29 if (!colorFileContentsJSON.resources || typeof colorFileContentsJSON.resources === 'string') {
31 colorFileContentsJSON.resources = {};
33 colorFileContentsJSON.resources.color = [itemToAdd];
35 return colorFileContentsJSON;
/expo/packages/@expo/config-plugins/build/android/
H A DColors.js34 function setColorItem(itemToAdd, colorFileContentsJSON) { argument
36 …if ((_colorFileContentsJSO = colorFileContentsJSON.resources) !== null && _colorFileContentsJSO !=…
37 …const colorNameExists = colorFileContentsJSON.resources.color.filter(e => e.$.name === itemToAdd.$…
41 colorFileContentsJSON.resources.color.push(itemToAdd);
44 if (!colorFileContentsJSON.resources || typeof colorFileContentsJSON.resources === 'string') {
46 colorFileContentsJSON.resources = {};
48 colorFileContentsJSON.resources.color = [itemToAdd];
50 return colorFileContentsJSON;
H A DColors.js.map1colorFileContentsJSON","_colorFileContentsJSO","resources","color","colorNameExists","filter","e",…
H A DColors.d.ts5 export declare function setColorItem(itemToAdd: ResourceItemXML, colorFileContentsJSON: ResourceXML…