Skip to content

Sync-in · Sovereign platform for file storage, sharing, synchronization, and collaboration.

chore(frontend): optimize table header and remove unused dependency

johaven6c8e367e9b6a
diff --git a/frontend/package.json b/frontend/package.json
index 99235c7b..98de819b 100644
--- a/frontend/package.json
+++ b/frontend/package.json
@@ -34,7 +34,6 @@
"@angular/router": "^20.1.7",
"@codemirror/language-data": "^6.5.2",
"@fontsource-variable/inter": "^5.2.8",
- "@fontsource/inter": "^5.2.8",
"@fortawesome/angular-fontawesome": "^3.0.0",
"@fortawesome/fontawesome-svg-core": "^7.0.0",
"@fortawesome/free-brands-svg-icons": "^7.0.0",
diff --git a/frontend/src/app/applications/spaces/components/spaces-browser.component.html b/frontend/src/app/applications/spaces/components/spaces-browser.component.html
index b9252137..30dfa653 100644
--- a/frontend/src/app/applications/spaces/components/spaces-browser.component.html
+++ b/frontend/src/app/applications/spaces/components/spaces-browser.component.html
@@ -286,7 +286,7 @@
}
@if (f.newly) {
<span class="label-top-right">
- <span [style.font-size.px]="galleryMode.textSize" class="badge rounded-pill bg-warning">{{ f.hTimeAgo }}</span>
+ <span [style.font-size.px]="galleryMode.textSize" class="badge rounded-pill bg-purple">{{ f.hTimeAgo }}</span>
</span>
}
</div>
diff --git a/frontend/src/styles/components/_app.scss b/frontend/src/styles/components/_app.scss
index f1da747e..ee4c2e68 100755
--- a/frontend/src/styles/components/_app.scss
+++ b/frontend/src/styles/components/_app.scss
@@ -228,7 +228,7 @@
border-top: none;
.badge {
- font-size: $font-size-xxs;
+ font-size: $font-size-xxxs;
display: inline;
line-height: normal;
}
diff --git a/frontend/src/styles/components/_core.scss b/frontend/src/styles/components/_core.scss
index 4b282345..5983eb21 100644
--- a/frontend/src/styles/components/_core.scss
+++ b/frontend/src/styles/components/_core.scss
@@ -23,10 +23,10 @@ html {
body {
margin: 0;
height: 100%;
+ //letter-spacing: -0.01em;
font-optical-sizing: auto;
- letter-spacing: -0.012em;
- text-rendering: optimizeLegibility;
font-kerning: normal;
+ font-feature-settings: "kern" 1, "liga" 1;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
background-color: $sidebar-dark-icons-menu-bg;
diff --git a/frontend/src/styles/components/_theme_dark.scss b/frontend/src/styles/components/_theme_dark.scss
index c605c03b..98c7f09c 100755
--- a/frontend/src/styles/components/_theme_dark.scss
+++ b/frontend/src/styles/components/_theme_dark.scss
@@ -309,6 +309,10 @@
border-top: 1px solid $sidebar-dark-icons-menu-border-color;
}
+ thead {
+ background-color: darken($sidebar-dark-icons-menu-bg, 1.5%);
+ }
+
tbody tr {
border-bottom-color: darken($sidebar-dark-icons-menu-border-color, 3%) !important;
diff --git a/frontend/src/styles/components/_theme_light.scss b/frontend/src/styles/components/_theme_light.scss
index 08bf60b8..ff3cc45d 100755
--- a/frontend/src/styles/components/_theme_light.scss
+++ b/frontend/src/styles/components/_theme_light.scss
@@ -317,6 +317,10 @@
border-top: 1px solid $gray-light;
}
+ thead {
+ background-color: #F3F7FD;
+ }
+
tbody tr {
border-bottom-color: $gray-lighter !important;
@@ -590,7 +594,7 @@
background-color: $gray-lightest !important;
}
.recents-grid .box-transparent > .box-header {
- background: #e1ebf8;
+ background: #e2ecf8;
border-bottom-color: mix($primary, $white, 20%);
> fa-icon {