diff --git a/lunaria/components.ts b/lunaria/components.ts index f5d65d9672..f911e4cd2b 100644 --- a/lunaria/components.ts +++ b/lunaria/components.ts @@ -221,14 +221,16 @@ export const StatusByFile = (

Translation status by file

- - - - ${['File', ...locales.map(({ lang }) => lang)].map(col => html``)} - - - ${TableBody(status, locales, lunaria)} -
${col}
+
+ + + + ${['File', ...locales.map(({ lang }) => lang)].map(col => html``)} + + + ${TableBody(status, locales, lunaria)} +
${col}
+
❌ missing   🔄 outdated   ✔ done ` } diff --git a/lunaria/styles.ts b/lunaria/styles.ts index d712b9c0a5..9e7d0db23e 100644 --- a/lunaria/styles.ts +++ b/lunaria/styles.ts @@ -29,7 +29,7 @@ export const BaseStyles = html` --ln-color-link: var(--ln-color-blue); --ln-color-done: var(--ln-color-purple); --ln-color-outdated: var(--ln-color-orange); - --ln-color-missing: var(--ln-color-black); + --ln-color-missing: #ef4444; --ln-color-table-border: var(--ln-color-gray-3); --ln-color-table-background: var(--ln-color-gray-1); } @@ -175,12 +175,17 @@ export const BaseStyles = html` font-size: 0.75rem; } - .status-by-file { + .status-by-file-wrapper { + overflow-x: auto; margin-bottom: 1rem; - border-collapse: collapse; border: 1px solid var(--ln-color-table-border); + border-radius: 0.375rem; + scrollbar-color: var(--ln-color-gray-6) var(--ln-color-gray-2); + } + + .status-by-file { + border-collapse: collapse; font-size: 0.8125rem; - column-gap: 64px; } .status-by-file tr:first-of-type td { @@ -296,9 +301,9 @@ export const CustomStyles = html` --ln-color-link: #539bf5; --ln-color-table-background: var(--bg-subtle); --ln-color-table-border: var(--border); - --ln-color-background: var(--theme-bg-gradient); - --ln-color-black: var(--theme-text); - --ln-color-missing: var(--ln-color-black); + --ln-color-background: var(--bg); + --ln-color-black: var(--fg); + --ln-color-missing: #f87171; --ln-color-outdated: #fb923c; --ln-color-done: #c084fc; } @@ -307,6 +312,10 @@ export const CustomStyles = html` background-color: var(--bg); } + body { + color: var(--fg); + } + h1, h2, h3,