Theme background editting

Post Reply
tenpiecechicken
Posts: 1
Joined: 22 Jun 2022, 19:37

22 Jun 2022, 20:16

I have essentially had to add (unable to find documentation just found from some users input) the following in order to update the body of the themes provided to include the background. I see no option to change background in the Designer view, making it frustrating to prototype. Am I missing something here? It seems like surface->ground has no effect.

body {
margin: 0;
height: 100%;
overflow-x: hidden;
overflow-y: auto;
background-color: var(--surface-a);
font-family: var(--font-family);
font-weight: 400;
color: var(--text-color);
}

tugce.kucukoglu
Posts: 383
Joined: 23 Oct 2020, 09:28

27 Jun 2022, 08:08

Sorry for the late answer.

The usage seems correct. There could be another style for the layout that override the body background.

Regards,

Post Reply

Return to “PrimeVue Theme Designer API”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 2 guests