move error component to standalone
This commit is contained in:
parent
2b4aac7189
commit
5731ba62d0
6 changed files with 40 additions and 34 deletions
16
src/components/error/error.module.css
Normal file
16
src/components/error/error.module.css
Normal file
|
@ -0,0 +1,16 @@
|
|||
.error {
|
||||
display: grid;
|
||||
place-content: center;
|
||||
|
||||
background: repeating-linear-gradient(-45deg,
|
||||
color(from var(--fail) xyz x y z / .05),
|
||||
color(from var(--fail) xyz x y z / .05) 10px,
|
||||
color(from var(--fail) xyz x y z / .25) 10px,
|
||||
color(from var(--fail) xyz x y z / .25) 12px,
|
||||
color(from var(--fail) xyz x y z / .05) 12px);
|
||||
color: var(--text-2);
|
||||
border: 1px solid var(--fail);
|
||||
border-radius: var(--radii-m);
|
||||
|
||||
margin: var(--padding-l);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue