Skip to content

Commit

Permalink
v1.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
emravoan committed Nov 14, 2022
1 parent 814ce38 commit e95e3f0
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/npmjs.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Publish Package to npmjs
name: Publish Package to NPM Registry

on:
workflow_dispatch: # for manual workflow trigger
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@emravoan/kontoast",
"version": "1.0.2",
"version": "1.0.3",
"description": "KonToast - Simple JS Toast",
"author": "EM Ravoan",
"license": "MIT",
Expand Down
4 changes: 2 additions & 2 deletions src/bundle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,15 @@ export default class KonToast {
});
}

static warning(option: { title: '', text: '' }) {
static warning(option = { title: '', text: '' }) {
KonToast.show({
title: option.title,
text: option.text,
type: 'warning'
});
}

static error(option: { title: '', text: '' }) {
static error(option = { title: '', text: '' }) {
KonToast.show({
title: option.title,
text: option.text,
Expand Down
6 changes: 3 additions & 3 deletions src/scss/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,13 @@
}

&.bg-success {
background-color: #198754;
background-color: #198754 !important;
}
&.bg-warning {
background-color: #ffc107;
background-color: #ffc107 !important;
}
&.bg-danger {
background-color: #dc3545;
background-color: #dc3545 !important;
}
}

Expand Down

0 comments on commit e95e3f0

Please sign in to comment.