-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add colors preview for notification component
- Loading branch information
1 parent
bd4ad71
commit 42a856d
Showing
3 changed files
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,7 @@ | |
class Elements::NotificationComponentPreview < ViewComponent::Preview | ||
def default | ||
end | ||
|
||
def colors | ||
end | ||
end |
35 changes: 35 additions & 0 deletions
35
previews/elements/notification_component_preview/colors.html.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<%= bulma_notification color: :link do |c| %> | ||
<%= c.with_delete %> | ||
|
||
Amet sapiente eius amet exercitationem consequuntur Laboriosam dolorem tenetur nihil iusto nostrum iste Architecto nemo eveniet reiciendis perspiciatis dolorem Tenetur corrupti nulla quisquam cumque quaerat eius Voluptas tenetur rerum ratione? | ||
<% end %> | ||
|
||
<%= bulma_notification color: :primary do |c| %> | ||
<%= c.with_delete %> | ||
|
||
Sit porro adipisicing iusto veniam tempora culpa Consequuntur magni dicta minus officiis fugiat Aspernatur deleniti atque aliquid quibusdam aperiam Velit veniam delectus reprehenderit cum repellat. Commodi doloremque debitis vero velit. | ||
<% end %> | ||
|
||
<%= bulma_notification color: :info do |c| %> | ||
<%= c.with_delete %> | ||
|
||
Lorem error vero dolore incidunt libero Elit recusandae atque qui perspiciatis sequi. Necessitatibus commodi cumque perferendis pariatur nihil Soluta adipisci ullam hic veritatis rerum. Quae veritatis voluptas placeat aperiam delectus? | ||
<% end %> | ||
|
||
<%= bulma_notification color: :success do |c| %> | ||
<%= c.with_delete %> | ||
|
||
Lorem ipsum tenetur provident laboriosam illo. Possimus recusandae laborum sed dignissimos unde qui Illo earum non illum labore id? Commodi provident beatae dolores exercitationem autem Accusantium eligendi possimus enim alias? | ||
<% end %> | ||
|
||
<%= bulma_notification color: :warning do |c| %> | ||
<%= c.with_delete %> | ||
|
||
Consectetur cupiditate aliquid deserunt id optio quos. Quam placeat mollitia vitae itaque tempore fuga Eos laborum quo facilis ratione numquam, ex odit Fugiat vitae ad dolorum suscipit repellat? Quae nobis | ||
<% end %> | ||
|
||
<%= bulma_notification color: :danger do |c| %> | ||
<%= c.with_delete %> | ||
|
||
Dolor commodi accusantium dignissimos sequi odit Velit voluptates voluptatem facere exercitationem cumque rerum Culpa sit facere cum vero aspernatur? Perferendis repellendus provident quae deserunt consectetur. Inventore voluptates quo sequi aut! | ||
<% end %> |