Skip to content
This repository was archived by the owner on May 8, 2025. It is now read-only.
This repository was archived by the owner on May 8, 2025. It is now read-only.

Cannot revert Material Design study changes #183

Open

Description

@soundeos

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?

Activity

  1. michaeltoohig commented on Jun 6, 2020

    @michaeltoohig

    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.

  2. JessicaOPRD commented on Nov 2, 2020

    @JessicaOPRD

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions