Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

163
Views
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 answers
Answer question

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!