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

Make width, title and body font-size customazible during imports in SCSS #54

Merged
merged 1 commit into from Aug 2, 2018
Merged

Conversation

ghost
Copy link

@ghost ghost commented Jul 3, 2018

Hello,

This is by far the most awesome notification plugin for my angular 6 applications. What I wanted could have been solved easily (and as documented) by replicating the styles instead.

Anyway, my client wasn't happy with the width of the toast (300px), the big font-size of the title and the body as well. Modifying snotify.scss and toasts.scss in the styles is easier and minor changes.

So when importing the libraries in my application styles:

$snotify-width:430px;
$snotify-body-font-size:.75em;
$snotify-title-font-size:1em;
@import "~ng-snotify/styles/material";

@artemsky artemsky merged commit 7f71589 into artemsky:master Aug 2, 2018
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

Successfully merging this pull request may close these issues.

None yet

2 participants