Closed denghui1010 closed 6 years ago
Hi @denghui1010, thank you for the comment.
I confirmed that the extension worked fine in the code you indicated.
So, what does "can not use" you said mean? Do you mean that Pick Color
command doesn't work?
Preview color works in .css but not works in .js Pick color
command can use in .css and .js
What is preview color?
Do you say about a small box on the left of #dbc9c9
?
@anseki yes
I see. That preview box is shown by VS Code, not the extension. You should report this issue to VS Code team, not here.
@anseki e... ok, I make a mistake, close this issue
😄
node -v
):6.9.4npm -v
):5.5.1Steps to Reproduce:
can not use in react jsx like this:
const styles = StyleSheet.create({ container: { backgroundColor: 'rgba(0, 0, 0, 0.4)', flex: 1, alignItems: 'center', justifyContent: 'center', }, root: { position: 'absolute', right: 24, left: 24, borderWidth: 1, borderColor: '#dddddd', borderRadius:8, backgroundColor: '#ffffff', } });
Log (All lines): (Click menu of VS Code "Help > Toggle Developer Tools", and click "Console" tab)