You need to sign in to do that
Don't have an account?
Caleb Kuester
<aura:tokens > Questions
Greetings!
I am under the impression that the first set of tokens must be within a file called "defaultTokens.tokens." That's all well and good, but what if you want to have the same page rendered with multiple different style options using a different .tokens file?
I see that there's an "extends = "c:defaultTokens">" option, but what is the point of it? I can't seem to access the new tokens within the "arbitraryTokens.tokens" file? Do I have to declare that I'm using a different tokens file?
Also, are there any other means by which I can accomplish this feature?
Thanks in advance for your expertise!
I am under the impression that the first set of tokens must be within a file called "defaultTokens.tokens." That's all well and good, but what if you want to have the same page rendered with multiple different style options using a different .tokens file?
I see that there's an "extends = "c:defaultTokens">" option, but what is the point of it? I can't seem to access the new tokens within the "arbitraryTokens.tokens" file? Do I have to declare that I'm using a different tokens file?
Also, are there any other means by which I can accomplish this feature?
Thanks in advance for your expertise!
go to below link for understand how to use token in lightning component
http://www.sfdcmonkey.com/2016/12/30/use-token-lightning-component/
i hope it helps you
thanks
let me inform if it helps you and mark it best answer if it helps you so it make proper solution for others in future
All Answers
go to below link for understand how to use token in lightning component
http://www.sfdcmonkey.com/2016/12/30/use-token-lightning-component/
i hope it helps you
thanks
let me inform if it helps you and mark it best answer if it helps you so it make proper solution for others in future
Imagine making a demo that shows what tokens can do for an org.
1) Make defaultTokens and proceed to put nothing in there, since the point is to change everything.
2) Make several different .tokens files and fill them with arbitrary style sets.
3) Make a giant conga line of .tokens files arbitrarily extending each other, where the order of extension is based on which one you open first.
4) ???
5) Proffit (also, you get fired because everybody thinks that you're insane).
Thanks for your response. I expected something different.