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

How can change default css class in props ? #39

Open
ali-niazi opened this issue Jul 25, 2018 · 1 comment
Open

How can change default css class in props ? #39

ali-niazi opened this issue Jul 25, 2018 · 1 comment

Comments

@ali-niazi
Copy link

ali-niazi commented Jul 25, 2018

Very thanks for this component. please add the props class

@darktasevski
Copy link
Member

We don't have any way right now to add custom CSS via props, but I'll put it on the list of improvements TBD.
In the meantime, you can overwrite styles/classes you want to be changed in your CSS file, with something like this:

.combo-select {
		min-width: 180px;

		.combo-select-body {
			border-radius: 2px;
			font-size: 14px;
			border-color: gray;

			.combo-select-item {
				white-space: nowrap;
			}

			.combo-select-item.selected path {
				fill: gray;
			}
		}

		path {
			fill: $passiveMedium;
		}

		.search-input {
			border-radius: 2px;
			border: 1px solid $borderPanel !important;
                         color: $dark;
		}
	}

We are using SCSS here, but it can be acomplished with regular CSS as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants