echo === initial state: empty ===
reset *
dump native appearance/color/layer

echo === import 3 levels ===
paste system \
	li:pcb-rnd-conf-v1 { \
		ha:overwrite { \
			ha:appearance { \
				ha:color { \
					li:layer = {{#000001}; {#000002};} \
				} \
			} \
		} \
	}
dump native appearance/color/layer

paste user \
	li:pcb-rnd-conf-v1 { \
		ha:overwrite { \
			ha:appearance { \
				ha:color { \
					li:layer = {{#000101}; {#000102};} \
				} \
			} \
		} \
	}
dump native appearance/color/layer

paste design \
	li:pcb-rnd-conf-v1 { \
		ha:overwrite { \
			ha:appearance { \
				ha:color { \
					li:layer = {{#000201}; {#000201};} \
				} \
			} \
		} \
	}
dump native appearance/color/layer

echo === change policy: design->prepend (2, 1) ===
role design
chpolicy prepend
dump native appearance/color/layer

echo === change policy: user->append (2, 0, 1) ===
role user
chpolicy append
dump native appearance/color/layer

echo === change policy: design->append (0, 1, 2) ===
role design
chpolicy append
dump native appearance/color/layer
