« get me outta code hell

color.js « wiki-properties « composite « data « src - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/data/composite/wiki-properties/color.js
blob: 1bc9888ba9ea7312e10f12525a1c930a6317beee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// A color! This'll be some CSS-ready value.

import {isColor} from '#validators';

// TODO: Not templateCompositeFrom.

export default function() {
  return {
    flags: {update: true, expose: true},
    update: {validate: isColor},
  };
}