Skip to content
This repository has been archived by the owner on Oct 4, 2022. It is now read-only.

Use CSS variables for styles #77

Open
anhtran opened this issue Jan 16, 2021 · 0 comments
Open

Use CSS variables for styles #77

anhtran opened this issue Jan 16, 2021 · 0 comments

Comments

@anhtran
Copy link

anhtran commented Jan 16, 2021

More easy to custom colors for dark theme for example.

.ct-toast {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 12px 20px;
	background-color: var(--cogo-bg-color);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	color: var(--cogo-text-color);
	border-radius: 4px;
	margin: 0px;
	opacity: 1;
	transition: 0.3s all ease-in-out;
	min-height: 45px;
	pointer-events: all;
}
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant