diff options
| author | Adam Soltys <[email protected]> | 2022-09-15 17:44:37 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2022-09-15 17:44:37 -0700 |
| commit | c844f3d8b269bf1c6cd5a93657973c5feda361bf (patch) | |
| tree | 45fab25423ba15a44425143d831c3f55479deeee | |
| parent | 67280f7e61fcc7f4bed7c3654f8903a4bd004292 (diff) | |
| download | coinos-ui-c844f3d8b269bf1c6cd5a93657973c5feda361bf.tar.gz coinos-ui-c844f3d8b269bf1c6cd5a93657973c5feda361bf.zip | |
move global styles to css file
| -rw-r--r-- | src/app.css | 19 | ||||
| -rw-r--r-- | src/routes/+layout.svelte | 19 |
2 files changed, 19 insertions, 19 deletions
diff --git a/src/app.css b/src/app.css index 3c760dad..c5de9093 100644 --- a/src/app.css +++ b/src/app.css @@ -19,3 +19,22 @@ html { :fullscreen { background-color: white; } + +input { + @apply block border rounded-2xl px-5 py-4 w-full; +} + +button.primary { + @apply rounded-full border py-2 font-bold my-4 flex px-4 bg-white mx-auto hover:bg-primary; +} + +.select-styles { + @apply border rounded-2xl py-4 px-5; + -webkit-appearance: none; + -moz-appearance: none; + background: transparent; + background-image: url('/icons/down.svg'); + background-repeat: no-repeat; + background-position-x: 100%; + background-position-y: 0.7em; +} diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index e7a82a1a..b6e100c0 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -51,23 +51,4 @@ --toastContainerLeft: calc(50vw - 8rem); --toastBackground: #292929; } - - button.primary { - @apply rounded-full border py-2 font-bold my-4 flex px-4 bg-white mx-auto hover:bg-primary; - } - - input { - @apply block border rounded-2xl px-5 py-4 w-full; - } - - .select-styles { - @apply border rounded-2xl py-4 px-5; - -webkit-appearance: none; - -moz-appearance: none; - background: transparent; - background-image: url('/icons/down.svg'); - background-repeat: no-repeat; - background-position-x: 100%; - background-position-y: 0.7em; - } </style> |
