Add basic copilot modal
This commit is contained in:
@@ -1,11 +1,21 @@
|
||||
import { ColorScheme } from "../themes/common/colorScheme"
|
||||
import { text } from "./components";
|
||||
import { background, border, text } from "./components";
|
||||
|
||||
|
||||
export default function copilot(colorScheme: ColorScheme) {
|
||||
let layer = colorScheme.highest;
|
||||
|
||||
|
||||
return {
|
||||
authModal: text(layer, "sans")
|
||||
authModal: {
|
||||
background: background(colorScheme.lowest),
|
||||
border: border(colorScheme.lowest),
|
||||
shadow: colorScheme.modalShadow,
|
||||
cornerRadius: 12,
|
||||
padding: {
|
||||
bottom: 4,
|
||||
},
|
||||
},
|
||||
authText: text(layer, "sans")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user