Organize misc files into theme, themes and styleTrees
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { ColorScheme } from "../themes/common/colorScheme"
|
||||
import { withOpacity } from "../utils/color"
|
||||
import { ColorScheme } from "../theme/colorScheme"
|
||||
import { withOpacity } from "../theme/color"
|
||||
import { background, border, foreground, text } from "./components"
|
||||
|
||||
export default function projectPanel(colorScheme: ColorScheme) {
|
||||
@@ -24,8 +24,8 @@ export default function projectPanel(colorScheme: ColorScheme) {
|
||||
: colorScheme.ramps.green(0.5).hex(),
|
||||
conflict: isLight
|
||||
? colorScheme.ramps.red(0.6).hex()
|
||||
: colorScheme.ramps.red(0.5).hex()
|
||||
}
|
||||
: colorScheme.ramps.red(0.5).hex(),
|
||||
},
|
||||
}
|
||||
|
||||
let entry = {
|
||||
@@ -44,7 +44,7 @@ export default function projectPanel(colorScheme: ColorScheme) {
|
||||
background: background(layer, "active"),
|
||||
text: text(layer, "mono", "active", { size: "sm" }),
|
||||
},
|
||||
status
|
||||
status,
|
||||
}
|
||||
|
||||
return {
|
||||
@@ -79,7 +79,7 @@ export default function projectPanel(colorScheme: ColorScheme) {
|
||||
text: text(layer, "mono", "on", { size: "sm" }),
|
||||
background: withOpacity(background(layer, "on"), 0.9),
|
||||
border: border(layer),
|
||||
status
|
||||
status,
|
||||
},
|
||||
ignoredEntry: {
|
||||
...entry,
|
||||
@@ -88,7 +88,7 @@ export default function projectPanel(colorScheme: ColorScheme) {
|
||||
active: {
|
||||
...entry.active,
|
||||
iconColor: foreground(layer, "variant"),
|
||||
}
|
||||
},
|
||||
},
|
||||
cutEntry: {
|
||||
...entry,
|
||||
|
||||
Reference in New Issue
Block a user