Skip to content
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

Md-primary or accent not working #1623

Closed
maarteNNNN opened this issue Mar 23, 2018 · 4 comments
Closed

Md-primary or accent not working #1623

maarteNNNN opened this issue Mar 23, 2018 · 4 comments

Comments

@maarteNNNN
Copy link
Contributor

maarteNNNN commented Mar 23, 2018

Steps to reproduce

I'm trying to get md-primary on md-button but I'm not getting the styles
I have seen the node-sass issue #1619 but I tried to install "node-sass": "^4.5.3" doesn't work.
Here you can see the class defined:
2018-03-23_18-20-51_screenshot
This is what I'm getting in the developer console:
2018-03-23_18-21-26_screenshot
Here is how the button looks:
2018-03-23_18-26-21_screenshot

Which browser?

    "vue": "^2.5.2",
    "vue-material": "^1.0.0-beta-7",
    "node-sass": "^4.5.3",
    "sass-loader": "^6.0.7",

I've only tested in Chromium Version 65.0.3325.181 (Developer Build) (64-bit)

What is expected?

The button should color blue.

What is actually happening?

The button stays the normal style

Navigation drawer

The navigation drawer does indeed color to md-primary which is defined in App.vue:

md-app-toolbar.md-primary(md-elevation="0")

This works.

@maarteNNNN
Copy link
Contributor Author

maarteNNNN commented Mar 23, 2018

I'm terribly sorry, In my App.vue I put scoped now it is resolved. I overlooked the simplest solution.

@CristiAllan
Copy link

Hi, I'm with the same issue, I'm using Vue Cli 3 and I already have tried to put scoped at my App.vue and it not worked to me, my components are without any color

@salissadiq
Copy link

I'm with the-same issue too

@krysalead
Copy link

Hi, same issue here no color

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants