| @@ -55,8 +55,13 @@ | ||
| 55 | 55 | array( |
| 56 | 56 | 'id' => 'holomesh', |
| 57 | 57 | 'label' => __( 'Holomesh', 'desktop-mode' ), |
| 58 | 58 | 'file' => 'holomesh.svg', |
| 59 | + // The two meshes are the only built-ins that are pale | |
| 60 | + // everywhere. The rest are dark at the top-left corner the | |
| 61 | + // icon grid starts from, and a tone is one value for the | |
| 62 | + // whole surface. | |
| 63 | + 'tone' => 'light', | |
| 59 | 64 | 'description' => __( 'The holographic mesh: lavender, pink, cyan and mint pooling into each other like light through a prism.', 'desktop-mode' ), |
| 60 | 65 | ), |
| 61 | 66 | array( |
| 62 | 67 | 'id' => 'pulsemesh', |
| @@ -61,8 +66,9 @@ | ||
| 61 | 66 | array( |
| 62 | 67 | 'id' => 'pulsemesh', |
| 63 | 68 | 'label' => __( 'Pulsemesh', 'desktop-mode' ), |
| 64 | 69 | 'file' => 'pulsemesh.svg', |
| 70 | + 'tone' => 'light', | |
| 65 | 71 | 'description' => __( 'The pulsar mesh: magenta and violet burning through a white core, the brightest surface the brand has.', 'desktop-mode' ), |
| 66 | 72 | ), |
| 67 | 73 | ); |
| 68 | 74 | |
| @@ -77,8 +83,9 @@ | ||
| 77 | 83 | // than the desk: `cover` on a 40px square would crop to a |
| 78 | 84 | // meaningless corner of the composition. |
| 79 | 85 | 'preview' => 'url( ' . OPENSTATION_URL . 'assets/wallpapers/' . $wallpaper['file'] . ' ) center center / cover no-repeat', |
| 80 | 86 | 'value' => $css, |
| 87 | + 'tone' => isset( $wallpaper['tone'] ) ? $wallpaper['tone'] : '', | |
| 81 | 88 | 'description' => $wallpaper['description'], |
| 82 | 89 | ) |
| 83 | 90 | ); |
| 84 | 91 | } |