Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot revert Material Design study changes #183

Open
soundeos opened this issue Jun 4, 2020 · 2 comments
Open

Cannot revert Material Design study changes #183

soundeos opened this issue Jun 4, 2020 · 2 comments

Comments

@soundeos
Copy link

soundeos commented Jun 4, 2020

I'm trying out the rally preset. It has a lighter background color from the default dark theme. After I comment out the preset usage in the vuetify.js file, the background color remains the same.

import Vue from 'vue';
import Vuetify from 'vuetify/lib';
//import { preset } from 'vue-cli-plugin-vuetify-preset-rally/preset'

Vue.use(Vuetify);

export default new Vuetify({
    //preset,
    theme: {
        dark: true
    }
});

Also, I need to manually remove the font link from the index.html. How can I disable these material design study themes? And how can I use a custom background color?

@michaeltoohig
Copy link

Same.

For anyone wondering what they can do though I found that if you remove the preset from your package.json dev section and then delete your node_modules directory and you may need to delete the package.lock file, then run yarn install again it will 'revert' the changes.

@JessicaOPRD
Copy link

I've been playing around with the Vuetify presets to weigh if creating a custom preset is a good idea. Spinning up new projects via vue create, vue add vuetify, and finally vue add vuetify-preset-{name}... I am seeing the same behavior. The preset's variables seem to "stick" even when preset is no longer passed as part of the project's Vuetify bootstrapping. Has anyone figured out why this is? All I can figure is that it has something to do with how Vue and/or Vuetify plugins are registered via add. I appreciate others posting about this. 👍

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

No branches or pull requests

3 participants