flattened layers and elevations

This commit is contained in:
K Simmons 2022-10-19 13:02:51 -07:00
parent 0d9eecd2ed
commit e3809c267d
26 changed files with 203 additions and 398 deletions

View file

@ -2,13 +2,12 @@ import { ColorScheme } from "../themes/common/colorScheme";
import { background, border, borderColor, text } from "./components";
export default function contextMenu(colorScheme: ColorScheme) {
let elevation = colorScheme.middle;
let layer = elevation.bottom;
let layer = colorScheme.lowest;
return {
background: background(layer),
cornerRadius: 10,
padding: 4,
shadow: elevation.shadow,
shadow: colorScheme.popoverShadow,
border: border(layer),
keystrokeMargin: 30,
item: {