Skip to content

Commit 8ab9726

Browse files
Refine component styles and fix layout containers
- Reduce accordion border thickness from 2px to 1px - Add border and use CSS variables for progress component - Fix dashboard layout margins and container inheritance
1 parent 4d03152 commit 8ab9726

File tree

3 files changed

+10
-12
lines changed

3 files changed

+10
-12
lines changed

packages/main/src/compoments/_accordion.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
details {
2-
border-bottom: 2px solid var(--border);
2+
border-bottom: 1px solid var(--border);
33
padding-block-end: 1rem;
44
list-style-type: none;
55

packages/main/src/compoments/_progress.scss

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,19 @@ progress[value] {
33
-webkit-appearance: none;
44
-moz-appearance: none;
55
appearance: none;
6-
border: none;
6+
border-style: solid;
7+
border-width: 1px;
8+
border-color: var(--border);
79
border-radius: 9999px;
810
background: var(--background);
911
width: 100%;
1012
height: 1rem;
1113
overflow: hidden;
1214
}
13-
progress[value]::-webkit-progress-bar {
14-
background: #27272a;
15-
}
15+
1616
progress[value]::-webkit-progress-value {
17-
background: #fafafa;
17+
background: var(--color);
1818
}
1919
progress[value]::-moz-progress-bar {
20-
background: #fafafa;
20+
background: var(--color);
2121
}

packages/main/src/layouts/_dashboard.scss

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"header"
88
"main"
99
"footer";
10-
> {
10+
> {
1111
header {
1212
grid-area: header;
1313
}
@@ -16,13 +16,11 @@
1616
grid-area: main;
1717
gap: 1rem;
1818
margin-block-start: 1rem;
19+
margin-inline: auto;
20+
@include breakpoints.container;
1921
}
2022
footer {
2123
grid-area: footer;
22-
}
23-
main,
24-
footer {
25-
margin: 0 auto;
2624
@include breakpoints.container;
2725
}
2826
header {

0 commit comments

Comments
 (0)