[Bug]: Possible missing tokens
See original GitHub issuePackage
Browser
No response
Package version
v11
React version
16
Description
I may be missing something, or very new to sass and carbon 11, but I been grabbing tokens of the @carbon/styles
as such
@use '@carbon/styles';
...
.someClass {
// background-color: $interactive-01; <----carbon v10 with import
background-color: styles.$button-primary; <-----carbon 11 using use
}
but for some reason, I cannot find the replaced tokens for
interactive-01
interactive-02
interactive-03
interactive-04
using @use '@carbon/styles';
or @use '@carbon/colors;
I been able to find other colors/styles tokens but not these ones.
CodeSandbox example
N/A
Steps to reproduce
See description
Code of Conduct
- I agree to follow this project’s Code of Conduct
- I checked the current issues for duplicate problems
Issue Analytics
- State:
- Created a year ago
- Comments:10 (10 by maintainers)
Top Results From Across the Web
PSA** Possible Bug Fixes For Battle Pass Tokens Missing In ...
In this video i talk about a Possible Bug Fixes For Battle Pass Tokens Missing In Call Of Duty MW2, WZ2 And DMZ....
Read more >Resolved! Possible missing status tokens? - BoardGameGeek
I just finished taking the inventory of all items, and everything seems to be there... except I only have 48 status tokens instead...
Read more >How to fix missing Battle Pass Tokens glitch in Modern ...
This new in-game bug accounts for and completes the token progression ... can obtain the missing Battle Pass token by restarting the game....
Read more >CoD MW2: How To Fix Battle Pass Tokens Not Showing Bug
This guide explains how to fix the issue of Battle Pass tokens not showing in Call of Duty: Modern Warfare 2 and Warzone...
Read more >Missing return value bug — At least 130 tokens affected
Missing return value bug — At least 130 tokens affected. tl;dr There is a critical bug in a lot of ERC20 token contracts...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
hey @jnm2377 thanks that appears to work, but I have some comments.
What works
issues
use
imports for tokens/styles/ etc, my IDEs cant resolve this path so it comes up as invalid and is a bit misleading unless i wait for the compiling and find the UI element and see if the color reflectsinteractice-0*
tokens to the button-primary and button-secondary, but theese docs are listed under the theme import, meaning, if we have to use'@carbon/react/scss/components/button/tokens';
for these updated tokens, i think the docs should be updated (unless I missed something)😃
Hey @jnm2377 , for me, I been able to find and use every replacement except the
interactive-0*
ones, I think mostly the -01, -02. I forgot if -03 and -04 was problematic.Like, the way i am importing the tokens so far has worked for everything except those so Im wondering if its a bug, are they imported through another source or something.
I was using
@use '@carbon/styles'
for the tokens and I dont remmeber if the /colors import had same issue, but using that import every token was found except for the oens I tried,button-primary
,button-secondary