Skip to content

Commit

Permalink
experiment: Auth screen
Browse files Browse the repository at this point in the history
  • Loading branch information
areknawo committed Nov 21, 2024
1 parent 71b1e01 commit 0cf42a9
Show file tree
Hide file tree
Showing 6 changed files with 4,608 additions and 5,158 deletions.
2 changes: 1 addition & 1 deletion apps/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"version": "1.0.0",
"private": true,
"scripts": {
"dev": "astro dev",
"dev:page": "astro dev",
"start": "astro preview",
"build": "astro build",
"preview": "astro preview",
Expand Down
2 changes: 1 addition & 1 deletion apps/landing-page/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"version": "1.0.0",
"private": true,
"scripts": {
"dev": "astro dev",
"dev:page": "astro dev",
"start": "astro preview",
"build": "astro build",
"preview": "astro preview",
Expand Down
28 changes: 24 additions & 4 deletions apps/web/src/styles/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,14 @@ html {
font-family: "NunitoVariable", sans-serif;
-webkit-overflow-scrolling: touch;
overscroll-behavior-y: none;
@apply h-[100dvh] text-gray-700 bg-gray-100 from-secondary to-primary overflow-hidden;
@apply h-[100dvh] text-gray-700 bg-gray-100 from-secondary via-primary to-secondary overflow-hidden;
}
html.dark {
@apply text-white bg-gray-800;
@apply text-white bg-gray-900;
}
[data-accent-color="energy"] {
--color-primary: theme("colors.orange.500");
--color-secondary: theme("colors.red.500");
--color-primary: #ef4444;
--color-secondary: #ffa166;
}
[data-accent-color="neon"] {
--color-primary: theme("colors.lime.400");
Expand Down Expand Up @@ -193,3 +193,23 @@ input[type="time"]::-webkit-calendar-picker-indicator {
16px 2px,
100% 2px;
}

.dots-background {
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
background-image: radial-gradient(rgba(75, 85, 99, 0.2) 2px, transparent 0);
background-size: 16px 16px;
background-position: center center;
mask-position: center center;
mask-repeat: no-repeat;
mask-image: radial-gradient(ellipse at center, transparent 16%, rgba(0, 0, 0, 1));
animation: uncover 1s ease-out forwards;
}
.dark {
.dots-background {
background-image: radial-gradient(rgba(75, 85, 99, 0.2) 2px, transparent 0);
}
}
Loading

0 comments on commit 0cf42a9

Please sign in to comment.