1
0

Style preference tab for user (#467)

هذا الالتزام موجود في:
Thomas Miceli
2025-05-05 01:31:42 +02:00
ملتزم من قبل GitHub
الأصل 0e9b778b45
التزام dc43fccc04
23 ملفات معدلة مع 664 إضافات و361 حذوفات

عرض الملف

@@ -50,6 +50,16 @@
{{ else }}
<title>{{ if $.c.CustomName }}{{ $.c.CustomName }}{{ else }}Opengist{{ end }}</title>
{{ end }}
{{ if .currentStyle }}
<style>
:root {
--red-diff: rgba({{ hexToRgb .currentStyle.RemovedLineColor }} 0.1);
--green-diff: rgba({{ hexToRgb .currentStyle.AddedLineColor }} 0.1);
--git-diff: rgba({{ hexToRgb .currentStyle.GitLineColor }} 0.38);
}
</style>
{{ end }}
</head>
<body class="h-full">
<div id="app" class="text-gray-700 dark:text-white min-h-full bg-white dark:bg-gray-900">