mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-11 12:33:09 +02:00
38 lines
589 B
Vue
38 lines
589 B
Vue
<template>
|
|
<div class="mkw-nav">
|
|
<mk-widget-container>
|
|
<div class="mkw-nav--body">
|
|
<mk-nav/>
|
|
</div>
|
|
</mk-widget-container>
|
|
</div>
|
|
</template>
|
|
|
|
<script lang="ts">
|
|
import define from '../../../common/define-widget';
|
|
export default define({
|
|
name: 'nav'
|
|
});
|
|
</script>
|
|
|
|
<style lang="stylus" scoped>
|
|
root(isDark)
|
|
.mkw-nav--body
|
|
padding 16px
|
|
font-size 12px
|
|
color isDark ? #9aa4b3 : #aaa
|
|
background var(--face)
|
|
|
|
a
|
|
color isDark ? #9aa4b3 : #999
|
|
|
|
i
|
|
color isDark ? #9aa4b3 : #ccc
|
|
|
|
.mkw-nav[data-darkmode]
|
|
root(true)
|
|
|
|
.mkw-nav:not([data-darkmode])
|
|
root(false)
|
|
|
|
</style>
|