Skip to content

armgit / papra

Public Imported from GitHub
0

The minimalistic document archiving platform.

style(docs): updated some dark theme colors (#179)

Corentin Thomassetf9b02c44396d
diff --git a/apps/docs/astro.config.ts b/apps/docs/astro.config.ts
index ae0f60f8..231fee19 100644
--- a/apps/docs/astro.config.ts
+++ b/apps/docs/astro.config.ts
@@ -28,6 +28,9 @@ export default defineConfig({
blueSky: 'https://bsky.app/profile/papra.app',
discord: 'https://discord.gg/8UPjzsrBNF',
},
+ expressiveCode: {
+ themes: ['vitesse-black', 'vitesse-light'],
+ },
editLink: {
baseUrl: 'https://github.com/papra-hq/papra/edit/main/apps/docs/',
},
diff --git a/apps/docs/src/assets/app.css b/apps/docs/src/assets/app.css
index 09c72597..2c22de2a 100644
--- a/apps/docs/src/assets/app.css
+++ b/apps/docs/src/assets/app.css
@@ -1,7 +1,10 @@
:root[data-theme='dark'] {
- --background-color: #050505!important;
+ --background-color: #0c0d0f!important;
--accent-color: #fff!important;
- --foreground-color: #f6f6f6!important;
+ --foreground-color: #9ea3a2!important;
+ --sl-color-white: #f3f7f6!important;
+
+ --surface: #0a0b0d!important;
--sl-color-text: var(--foreground-color)!important;
@@ -13,6 +16,16 @@
--sl-color-bg-sidebar: var(--background-color)!important;
}
+
+.sl-link-card {
+ background-color: var(--surface)!important;
+}
+
+#_top {
+ padding-top: 10px!important;
+ padding-bottom: 30px!important;
+}
+
.site-title {
color:inherit !important;
gap: 0.5rem !important;