Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

171
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda