Fix collab indicators
This commit is contained in:
parent
fa0ddfa15d
commit
8b1322745d
2 changed files with 2 additions and 3 deletions
|
@ -1,9 +1,9 @@
|
||||||
import { background } from "../style_tree/components"
|
import { foreground } from "../style_tree/components"
|
||||||
import { Layer, StyleSets } from "../theme"
|
import { Layer, StyleSets } from "../theme"
|
||||||
|
|
||||||
export const indicator = ({ layer, color }: { layer: Layer, color: StyleSets }) => ({
|
export const indicator = ({ layer, color }: { layer: Layer, color: StyleSets }) => ({
|
||||||
corner_radius: 4,
|
corner_radius: 4,
|
||||||
padding: 4,
|
padding: 4,
|
||||||
margin: { top: 12, left: 12 },
|
margin: { top: 12, left: 12 },
|
||||||
background: background(layer, color),
|
background: foreground(layer, color),
|
||||||
})
|
})
|
||||||
|
|
|
@ -8,7 +8,6 @@ import {
|
||||||
import { interactive, toggleable } from "../element"
|
import { interactive, toggleable } from "../element"
|
||||||
import { useTheme } from "../theme"
|
import { useTheme } from "../theme"
|
||||||
import collab_modals from "./collab_modals"
|
import collab_modals from "./collab_modals"
|
||||||
import { text_button } from "../component/text_button"
|
|
||||||
import { icon_button, toggleable_icon_button } from "../component/icon_button"
|
import { icon_button, toggleable_icon_button } from "../component/icon_button"
|
||||||
import { indicator } from "../component/indicator"
|
import { indicator } from "../component/indicator"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue