Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

166
Visualizações
Vuetify changes <vs-button> text color
  1. Summarize the problem

After install vuetify the text color from my <vs-button> changes from white to black. I can't change the color even with a change in the vuetify theme. I also made a custom postcss-filter-rule in my vue.config.js file:

  1. Describe what you’ve tried

To return to having the color white in all the buttons

  1. Some code
    const webpack = require('webpack')
    const autoprefixer = require('autoprefixer')
    const filterRules = require('postcss-filter-rules')
    
    module.exports = {
      publicPath: process.env.BASE_URL,
    
      devServer: {
        // port: process.env.VUE_APP_PORT,
        https: false,
        hotOnly: false,
      },
    
      configureWebpack: {
        plugins: [
          new webpack.DefinePlugin({
            'process.env': {
              PACKAGE_JSON: '"' + escape(JSON.stringify(require('./package.json'))) + '"'
            }
          })
        ]
      },
      css: {
        loaderOptions: {
          postcss: {
            plugins: [
              filterRules({
                filter: (selector) => {
                  const re = new RegExp(/^(select|vs-button)(\W|$)/, 'i')
                  const exception  = '.vue-global'
                  return !re.test(selector) || selector.includes(exception)
                },
                keepAtRules: true
              }),
              autoprefixer
            ]
          }
        }
      },
    
      transpileDependencies: [
        'vuetify'
      ]
    };
about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

If all you need is white text, you might achieve it by adding dark prop to the v-btns.

about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda