Skip to content

[question] how to not apply a background color? #1130

Open
@wsw70

Description

@wsw70

(I apologize if this is not the correct place to ask questions - I did not see "Discussions" enabled in the repo)

First of all: thank you. This is an excellent date picker, and to all my "it would be good to ..." there was an appropriate setting :)

There is one thing I cannot find, though - a transparent background in inline mode. Today I have a witish background that contrasts with the one in my app.

Is there a way to not apply the background?

I attempted to overwrite the background via

<style scoped>
  .dp__theme_light {
    --dp-background-color: #fefae0;
}
</style>

but i) this did not work (no change in the background) and ii) this requires to manually synchronize the colour with the global vue setting:

@theme {
  --color-background: #fefae0;
  --color-header: #e9edc9;
}

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