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

Custom Color for Alternating Background Shading #125

Open
miriambrueckner opened this issue Aug 9, 2023 · 7 comments
Open

Custom Color for Alternating Background Shading #125

miriambrueckner opened this issue Aug 9, 2023 · 7 comments

Comments

@miriambrueckner
Copy link

Hi there - is it possible to use custom colors for alternating background shading? That would be awesome. I do only understand a little bit of css and cannot figure out the selectors myself. Can you help?

@steveseguin
Copy link
Owner

If using OBS, you can insert this into the Custom CSS section:

body { background-color: rgba(0, 0, 0, 0); margin: 0px auto; overflow: hidden; }

:root {
--highlight-base: red!important;
--highlight-base2: green!important;
}

@miriambrueckner
Copy link
Author

miriambrueckner commented Aug 9, 2023 via email

@steveseguin
Copy link
Owner

transparency I think should work,

image

image

ie

body { background-color: rgba(0, 0, 0, 0); margin: 0px auto; overflow: hidden; }

:root {
--highlight-base: #F0F4!important;
--highlight-base2: #F0F4!important;
}

@miriambrueckner
Copy link
Author

I qould like to have transparent white but cannot get it to work. I tried --highlight-base: #FFF!important;
--highlight-base2: #FFF!important;
And the result is solid white:
image

@steveseguin
Copy link
Owner

What does it look like if you do #FFF7!important; ?

@miriambrueckner
Copy link
Author

Looks like this (does not seem to work)
image

@steveseguin
Copy link
Owner

I'm not entirely sure at the moment what the solution is, as it's definitely transparent, but I guess the point is that it's darkening still. This could be just how OBS overlays transparencies, or something I'm missing in the CSS; not sure. I'll need to play with things and update you if I find something.

You could pick a solid light blue background color, but I suspect that's not what you want.

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

No branches or pull requests

2 participants