Skip to content

LordOS — a free, fast and secure GNU/Linux distribution based on Debian, with its own desktop environment: display server and Wayland compositor in C, a React UI engine on QuickJS, and private native apps.

App icons: Passwords' padlock and Backups' disk bar placed with left, centered in the Dock

Federico Pereiraa23acf0b348e
diff --git a/apps/backup/index.jsx b/apps/backup/index.jsx
index ec99b08..f9bd570 100644
--- a/apps/backup/index.jsx
+++ b/apps/backup/index.jsx
@@ -25,7 +25,7 @@ export function Icon({ size }) {
<View style={{ position: 'absolute', left: s * 0.16, top: s * 0.3, width: s * 0.17, height: bw * 1.4, backgroundColor: '#fff', borderRadius: bw }} />
<View style={{ position: 'absolute', left: s * 0.26, top: s * 0.2, width: bw * 1.4, height: s * 0.13, backgroundColor: '#fff', borderRadius: bw }} />
{/* disk at the bottom */}
- <View style={{ position: 'absolute', bottom: s * 0.08, width: s * 0.5, height: s * 0.07, borderRadius: s * 0.03, backgroundColor: 'rgba(255,255,255,0.55)' }} />
+ <View style={{ position: 'absolute', left: s * 0.25, bottom: s * 0.08, width: s * 0.5, height: s * 0.07, borderRadius: s * 0.03, backgroundColor: 'rgba(255,255,255,0.55)' }} />
</View>
);
}
diff --git a/apps/passwords/index.jsx b/apps/passwords/index.jsx
index c02eae1..d55b3be 100644
--- a/apps/passwords/index.jsx
+++ b/apps/passwords/index.jsx
@@ -25,11 +25,11 @@ import { SettingsSheet, ImportSheet, ExportSheet, CategorySheet, TagSheet } from
export function Icon({ size: s }) {
return (
<View style={{ width: s, height: s, borderRadius: s * 0.225, background: 'linear-gradient(160deg, #3fd2c7, #1f6fd1)', overflow: 'hidden',
- boxShadow: `0 ${s * 0.04}px ${s * 0.12}px rgba(0,0,0,0.35)`, alignItems: 'center' }}>
- {/* shackle */}
- <View style={{ position: 'absolute', top: s * 0.14, width: s * 0.4, height: s * 0.4, borderRadius: s * 0.2, border: `${Math.max(2, s * 0.075)}px solid #ffffff` }} />
+ boxShadow: `0 ${s * 0.04}px ${s * 0.12}px rgba(0,0,0,0.35)` }}>
+ {/* shackle (absolute children are placed by left/top, as in the other app icons) */}
+ <View style={{ position: 'absolute', left: s * 0.3, top: s * 0.14, width: s * 0.4, height: s * 0.4, borderRadius: s * 0.2, border: `${Math.max(2, s * 0.075)}px solid #ffffff` }} />
{/* body */}
- <View style={{ position: 'absolute', top: s * 0.38, width: s * 0.62, height: s * 0.44, borderRadius: s * 0.1, backgroundColor: '#ffffff',
+ <View style={{ position: 'absolute', left: s * 0.19, top: s * 0.38, width: s * 0.62, height: s * 0.44, borderRadius: s * 0.1, backgroundColor: '#ffffff',
flexDirection: 'row', alignItems: 'center', justifyContent: 'center', gap: s * 0.05, boxShadow: `0 ${s * 0.02}px ${s * 0.05}px rgba(0,0,0,0.25)` }}>
{[0, 1, 2].map((i) => <View key={i} style={{ width: s * 0.09, height: s * 0.09, borderRadius: s * 0.045, backgroundColor: '#1f6fd1' }} />)}
</View>