Skip to content

Commit 2468549

Browse files
feat: create new card styles, update navbar colors, and remove obsolete service styles
1 parent ab24e8c commit 2468549

File tree

5 files changed

+25
-23
lines changed

5 files changed

+25
-23
lines changed

src/components/_cards.scss

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
@use 'globals' as *;
2+
3+
div.border-l.border-dashed.box-without-bg-without-border {
4+
border-radius: var(--radius-xl);
5+
background: var(--card);
6+
color: var(--card-foreground);
7+
padding: s(4) s(0) s(4) s(4);
8+
border-style: solid;
9+
background-clip: padding-box;
10+
overflow: hidden;
11+
}
12+
13+
div.border-l-2.bg-white.dark\:bg-coolgray-100 {
14+
border-radius: var(--radius-xl);
15+
background: var(--card);
16+
color: var(--card-foreground);
17+
padding: s(4);
18+
border-style: solid;
19+
background-clip: padding-box;
20+
overflow: hidden;
21+
}

src/components/_index.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@
99
@use 'settings-menu';
1010
@use 'spinner';
1111
@use 'search';
12-
@use 'service';
12+
@use 'cards';

src/components/_navbar.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
.navbar-main nav a {
2525
padding: s(1.25);
2626
border-radius: 10px;
27-
color: var(--sidebar-foreground);
27+
color: var(--muted-foreground);
2828
font-weight: 600;
2929
cursor: pointer;
3030
transition:
@@ -33,12 +33,12 @@
3333
}
3434

3535
.navbar-main nav a:hover {
36-
color: var(--sidebar-accent-foreground);
36+
color: var(--sidebar-foreground);
3737
}
3838

3939
.navbar-main nav a[class*='dark:text-white'],
4040
.navbar-main nav a[aria-current='page'] {
41-
color: var(--sidebar-accent-foreground);
41+
color: var(--sidebar-foreground);
4242
}
4343

4444
.navbar-main .flex-1 {

src/components/_service.scss

Lines changed: 0 additions & 11 deletions
This file was deleted.

src/pages/_deployments.scss

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,5 @@
11
@use 'globals' as *;
22

3-
// Deployment Card
4-
.p-2.border-l-2.bg-white.dark\:bg-coolgray-100 {
5-
padding: s(2);
6-
background-color: var(--card);
7-
color: var(--card-foreground);
8-
border-radius: var(--radius-lg);
9-
}
10-
113
.p-4.my-4.border.dark\:border-coolgray-200.border-neutral-200 {
124
padding: s(4);
135
margin-top: s(4);

0 commit comments

Comments
 (0)