Skip to content

Commit

Permalink
feat(toast): fix linter problems
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrsavk committed Jan 19, 2021
1 parent b600f86 commit e8342e8
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ exports[`Notification Snapshots tests should match snapshot 1`] = `
</div>
</div>
<div
class="actionsSection"
class="actionsSection hasChildren"
>
<button
aria-label="закрыть"
Expand Down
3 changes: 0 additions & 3 deletions packages/themes/src/mixins/toast-plate/click.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,9 @@

@define-mixin toast-plate-click {
--toast-plate-title-font-weight: 400;

--toast-plate-close-icon-background-image: url('https://alfabank.st/icons/glyph_cross_m_white.svg');
--toast-plate-close-icon-size: 24px;

--toast-plate-badge-size: 20px;
--toast-plate-badge-icon-size: 24px;

--toast-plate-left-addons-margin: 0 var(--gap-xs) 0 0;
}
3 changes: 3 additions & 0 deletions packages/toast-plate/src/index.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,15 @@
--toast-plate-border-radius: 8px;
--toast-plate-title-font-weight: 700;

/* Close icon */
--toast-plate-close-icon-size: 18px;
--toast-plate-close-icon-background-image: url('https://alfabank.st/icons/icon_close_s_white.svg');

/* Badge */
--toast-plate-badge-size: 24px;
--toast-plate-badge-icon-size: 30px;

/* Left addons */
--toast-plate-left-addons-margin: 0 var(--gap-m) 0 0;
}

Expand Down
2 changes: 1 addition & 1 deletion packages/toast/src/component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ import React from 'react';
export type ToastProps = {};

export const Toast = () => {
return null;
return <div>Toast</div>;
};
Empty file.

0 comments on commit e8342e8

Please sign in to comment.