(In reply to asish7295 from comment #10) > hi, trying this approach i found out that there hasn't been an custom property hasn't been defined in the > devtools/shared/css/constants.js file. so do i manually change the contents of this file by adding a custom property, or am i missing something. please help. I don't think it's necessary to add anything in the constants.js file for this. CSS custom properties always start with `--`, so it might be enough to simply check if the `name` variable starts with these `--` character. And if so, set the `options.supportsColor` to true. > i am sorry if the question isn't clear or sounds childish, i am really new to firefox development and am trying to learn Oh, don't worry at all about asking questions, no matter if they may sound childish, stupid, whatever, or even if they have been asked before. There is no stupid questions. A question means that something isn't clear, and it's always always valid to clarify things for people, so people can go ahead and do the change they intended to do.
Bug 1456167 Comment 11 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
(In reply to asish7295 from comment #10) > hi, trying this approach i found out that there hasn't been an custom property hasn't been defined in the > devtools/shared/css/constants.js file. so do i manually change the contents of this file by adding a custom property, or am i missing something. please help. I don't think it's necessary to add anything in the constants.js file for this. CSS custom properties always start with `--`, so it might be enough to simply check if the `name` variable starts with these `--` character. And if so, set the `options.supportsColor` to true. > i am sorry if the question isn't clear or sounds childish, i am really new to firefox development and am trying to learn Oh, don't worry at all about asking questions, no matter if they may sound childish, stupid, whatever, or even if they have been asked before. There is no stupid questions. A question means that something isn't clear, and it's always always valid to clarify things for people, so people can go ahead and do the change they intended to do.