-
Notifications
You must be signed in to change notification settings - Fork 51
Input color and font-weight stylig is not applied #90
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
@MikolajKaminski Hi. What the version of the code-input component do you use? |
@AlexMiniApps Lastest release - v1.6.0 |
@MikolajKaminski it looks like you have incorrect styled the component, the styles have the different css paths: |
That is because the style variables are applied to the |
@AlexMiniApps As you can see, the |
@MikolajKaminski ok. Please provide the SCSS source sample where you are styling the component for further research. |
@AlexMiniApps Below is the styling I use for updating the code-input component
|
I'm unable to style the input (specifically
color
andfont-weight
).As can be seen on the images below. I do correctly set the
--color
and--item-font-weight
variables, yet these are not applied to the actual input styles. I apply other styles too ie.--item-background
and this one works, so I believe it is not an issue with my implemenation.I worked my way around it using
::ng-deep
, however it is not the desired solution as it is deprecated.Correctly set variables.
Not applied to the input.
The text was updated successfully, but these errors were encountered: