From 6029a0699bce52f1e8c82bc7ab93850dcde09b0f Mon Sep 17 00:00:00 2001 From: akloeckner Date: Mon, 20 Apr 2020 00:34:47 +0200 Subject: [PATCH] remove duplicate `classes` documentation (#361) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * remove duplicate `classes` documentation I simply merged the two descriptions... * Update README.md Co-Authored-By: Rafał Chłodnicki Co-authored-by: Alexey Co-authored-by: Rafał Chłodnicki --- README.md | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 085aa675..26edbc57 100644 --- a/README.md +++ b/README.md @@ -255,10 +255,6 @@ Tile Object. [Click here for some real-life examples](TILE_EXAMPLES.md) bgOpacity: 0.5, /* theme: Override default theme for the tile */ theme: TYPES.SWITCH, - /* classes: A list of classes to be appended to the tile element - * Useful for custom CSS styles - */ - classes: ["-big-entity"], /* slides: A list of slide images to use for the background * Currently a maximum of 3 slides are supported * (optional) @@ -377,8 +373,11 @@ Tile Object. [Click here for some real-life examples](TILE_EXAMPLES.md) backgroundColor: 'rgba(0, 0, 0, 0.1)', // Defaults to rgba(0, 0, 0, 0.1) fractionSize: 0 // Number of decimal places to round the number to. Defaults to current locale formatting }, - - /* classes: Additional CSS classes. Use 'compact' for a compact (1x1) tile + + /* classes: A list of classes to be appended to the tile element + * Useful for custom CSS styles. + * Use CLASS_BIG, CLASS_SMALL or CLASS_MICRO to change the size of a tile. + * The TYPES.WEATHER tile supports '-compact' class for a compact (1x1) tile * (optional) */ classes: ['-compact'],