Skip to content

Provide support for variable currentColor #143

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
fortezhuo opened this issue May 14, 2020 · 1 comment
Closed

Provide support for variable currentColor #143

fortezhuo opened this issue May 14, 2020 · 1 comment

Comments

@fortezhuo
Copy link

/Users/forte/Workspace/freedom/node_modules/css-to-react-native/index.js:825
    throw new Error("Failed to parse declaration \"" + propName + ": " + value + "\"");
    ^

Error: Failed to parse declaration "borderColor: currentColor"
    at transformShorthandValue (/Users/forte/Workspace/freedom/node_modules/css-to-react-native/index.js:825:11)
    at getStylesForProperty (/Users/forte/Workspace/freedom/node_modules/css-to-react-native/index.js:834:109)
    at /Users/forte/Workspace/freedom/node_modules/css-to-react-native/index.js:857:33
    at Array.reduce (<anonymous>)
    at index (/Users/forte/Workspace/freedom/node_modules/css-to-react-native/index.js:853:16)
    at getStyles (/Users/forte/Workspace/freedom/client/tailwind/build.js:34:10)
    at Object.<anonymous> (/Users/forte/Workspace/freedom/client/tailwind/build.js:117:27)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
@jacobp100
Copy link
Contributor

Only Text elements can have a color defined, and they can't have borders

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants