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

fix: application color propagation #20995

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

johnleider
Copy link
Member

@johnleider johnleider commented Feb 17, 2025

Description

Markup:

<template>
  <v-app>
    <v-card color="black">
      <v-card-text class="pa-6">
        Lorem ipsum dolor sit amet consectetur adipisicing elit. Commodi, ratione debitis quis est labore voluptatibus! Eaque cupiditate minima, at placeat totam, magni doloremque veniam neque porro libero rerum unde voluptatem!

        <v-btn>Hello</v-btn>
      </v-card-text>

      <div class="px-6">
        <v-list-subheader>Testing</v-list-subheader>
      </div>
    </v-card>

    <v-container>
      <v-text-field label="Label - default" />
      <v-text-field bg-color="black" label="Label - bg-color" />
    </v-container>

    <v-container>
      <v-text-field label="Label - default" />
      <v-text-field bg-color="#3e0000" label="Label - bg-white" />
    </v-container>
  </v-app>
</template>

@johnleider johnleider changed the title chore: init fix: application color propagation Feb 17, 2025
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this helps figure out what color (black or white) would be most appropriate for a given color to provide readable text.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would this be the layered opacity?

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

Successfully merging this pull request may close these issues.

2 participants