WIP: dark mode
This commit is contained in:
@@ -38,7 +38,7 @@ const NetworkInfo: React.FC = () => {
|
||||
|
||||
return (
|
||||
<div className="w-full flex-direction: row flex">
|
||||
<div className=" flex-grow flex justify-between items-center mt-1 bg-white dark:bg-gray-800 p-2 rounded-lg shadow-md border border-gray-200 dark:border-gray-700 laptop:m-0 laptop:scale-y-75 2xl:scale-y-75">
|
||||
<div className=" flex-grow flex justify-between items-center mt-1 p-2 rounded-lg shadow-sm bg-[var(--color-surface)] dark:bg-[var(--color-surface)] border border-[var(--color-border)] laptop:m-0 laptop:scale-y-75 2xl:scale-y-75">
|
||||
<div className="flex items-center space-x-4">
|
||||
<Image
|
||||
src="/images/IP-icon.svg"
|
||||
@@ -49,10 +49,10 @@ const NetworkInfo: React.FC = () => {
|
||||
priority
|
||||
/>
|
||||
<div>
|
||||
<p className="text-xs text-gray-500 dark:text-gray-400">
|
||||
<p className="text-xs text-[var(--color-fg-muted)]">
|
||||
IP-Adresse
|
||||
</p>
|
||||
<p className="text-sm font-medium text-gray-700 dark:text-gray-200">
|
||||
<p className="text-sm font-medium text-[var(--color-fg)]">
|
||||
{ip}
|
||||
</p>
|
||||
</div>
|
||||
@@ -68,10 +68,10 @@ const NetworkInfo: React.FC = () => {
|
||||
priority
|
||||
/>
|
||||
<div>
|
||||
<p className="text-xs text-gray-500 dark:text-gray-400">
|
||||
<p className="text-xs text-[var(--color-fg-muted)]">
|
||||
Subnet-Maske
|
||||
</p>
|
||||
<p className="text-sm font-medium text-gray-700 dark:text-gray-200">
|
||||
<p className="text-sm font-medium text-[var(--color-fg)]">
|
||||
{subnet}
|
||||
</p>
|
||||
</div>
|
||||
@@ -87,8 +87,8 @@ const NetworkInfo: React.FC = () => {
|
||||
priority
|
||||
/>
|
||||
<div>
|
||||
<p className="text-xs text-gray-500 dark:text-gray-400">Gateway</p>
|
||||
<p className="text-sm font-medium text-gray-700 dark:text-gray-200">
|
||||
<p className="text-xs text-[var(--color-fg-muted)]">Gateway</p>
|
||||
<p className="text-sm font-medium text-[var(--color-fg)]">
|
||||
{gateway}
|
||||
</p>
|
||||
</div>
|
||||
@@ -97,8 +97,8 @@ const NetworkInfo: React.FC = () => {
|
||||
<div className="flex items-center space-x-4">
|
||||
<div className="text-xs font-bold text-littwin-blue">OPC-UA</div>
|
||||
<div>
|
||||
<p className="text-xs text-gray-500 dark:text-gray-400">Status</p>
|
||||
<p className="text-sm font-medium text-gray-700 dark:text-gray-200">
|
||||
<p className="text-xs text-[var(--color-fg-muted)]">Status</p>
|
||||
<p className="text-sm font-medium text-[var(--color-fg)]">
|
||||
{opcUaZustand}
|
||||
</p>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user