Skip to content

Commit a3a2f8c

Browse files
committed
renamed primary theme to toasted-primary to remove conflict with vuetify
fixed #83
1 parent 9eb4633 commit a3a2f8c

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
## Introduction
1616

17-
Vue Toasted is One of the Best Toast plugin available for VueJS. it is used by VueJS, Laravel, NuxtJS and trusted by many more organizations. it is responsive, touch compatible, easy to use, attractive and feature rich with icons, actions etc...
17+
Vue Toasted is One of the Best Toast plugin available for VueJS. it is used by VueJS, Laravel, NuxtJS and trusted by many more organizations it is responsive, touch compatible, easy to use, attractive and feature rich with icons, actions etc...
1818

1919
#### Interactive Demo
2020

@@ -188,7 +188,7 @@ className|String, Array|null|Custom css class name of the toast
188188
containerClass|String, Array|null|Custom css classes for toast container
189189
Icon|String, Object|null|Material icon name as string. [explained here](#icons-fire)
190190
type|String|'default'| Type of the Toast **['success', 'info', 'error']**
191-
theme|String|'primary'|Theme of the toast you prefer<br> **['primary', 'outline', 'bubble']**
191+
theme|String|'toasted-primary'|Theme of the toast you prefer<br> **['toasted-primary', 'outline', 'bubble']**
192192
onComplete|Function|null|Trigger when toast is completed
193193
closeOnSwipe|Boolean|true|Closes the toast when the user swipes it
194194
singleton|Boolean|false| Only allows one toast at a time.

dist/vue-toasted.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/vue-toasted.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/js/show.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const parseOptions = function (options) {
2626
options.duration = options.duration || null;
2727

2828
// normal type will allow the basic color
29-
options.theme = options.theme || "primary";
29+
options.theme = options.theme || "toasted-primary";
3030

3131
// normal type will allow the basic color
3232
options.type = options.type || "default";

src/sass/themes.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
}
88

99
// Primary
10-
&.primary {
10+
&.toasted-primary, .primary {
1111
border-radius: 2px;
1212
min-height: 38px;
1313
line-height: 1.1em;

0 commit comments

Comments
 (0)