Remove visual noise: drop AppBar, battery/brightness widgets, OS selector
- Remove AppBar, BatteryIcon, BrightIcon and related store state (battery, brightness, currentOs, isCharging, batteryLevel, isSupportFullApi) - Remove OS selector and osList from settings - Comment out zoom slider - Drop unused syncBodyClassWithStore/syncStoreWithQuery calls - Simplify checkbox icon and tighten its styles - Round login input corners - Add global nody-greeter-types reference in env.d.tsmain
parent
31d4dfefba
commit
b607568c6b
@ -1,14 +1,3 @@
|
||||
<svg
|
||||
width="37"
|
||||
height="28"
|
||||
viewBox="0 0 37 28"
|
||||
fill="none"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
>
|
||||
<path
|
||||
d="M3 16.0213L11.9362 24.9574L33.8936 3"
|
||||
stroke="currentColor"
|
||||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
/>
|
||||
</svg>
|
||||
<svg width="17" height="17" viewBox="0 0 17 17" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M0.5 8.06838L7.30838 16.5001L16.5 0.500061" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 279 B After Width: | Height: | Size: 227 B |
@ -1,22 +0,0 @@
|
||||
import AppIcon from '@/components/app/AppIcon.vue'
|
||||
import { defineComponent } from 'vue'
|
||||
import { useAppStore } from '@/store/app'
|
||||
|
||||
export default defineComponent({
|
||||
name: 'BatteryIcon',
|
||||
setup() {
|
||||
const appStore = useAppStore()
|
||||
return () => (
|
||||
<div class="app-bar-battery">
|
||||
<div class="app-bar-battery-icon">
|
||||
<div
|
||||
class={`app-bar-battery-icon__fill ${appStore.isCharging ? 'charging' : ''}`}
|
||||
style={{ width: `${appStore.batteryLevel}%` }}
|
||||
/>
|
||||
{appStore.isCharging && <AppIcon name="charge" class="app-bar-battery-icon__charge" />}
|
||||
</div>
|
||||
<span class="app-bar-battery__percent">{appStore.batteryLevel}%</span>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
})
|
||||
@ -1,16 +0,0 @@
|
||||
import AppIcon from '@/components/app/AppIcon.vue'
|
||||
import { defineComponent } from 'vue'
|
||||
import { useAppStore } from '@/store/app'
|
||||
|
||||
export default defineComponent({
|
||||
name: 'BrightIcon',
|
||||
setup() {
|
||||
const appStore = useAppStore()
|
||||
return () => (
|
||||
<div class="app-bar__bright">
|
||||
<AppIcon name="brightness" class="brightness-icon" />
|
||||
{appStore.brightness}
|
||||
</div>
|
||||
)
|
||||
}
|
||||
})
|
||||
Loading…
Reference in New Issue