yapp 4.0.91 → 4.0.93

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -189,9 +189,9 @@ If you choose to enable Fira Code then you need to provide the necessary web fon
189
189
 
190
190
  ```
191
191
  @font-face {
192
- font-family: "Fira Code";
193
192
  src: url("css/woff2/FiraCode-Light.woff2");
194
- font-style: normal;
193
+ font-family: "Fira Code";
194
+ font-weight: normal;
195
195
  }
196
196
  ```
197
197
  You do not have to provide this, rendering Yapp's styles will do so, but it is recommended that you check the network tab in your browser's developer tools to ensure that these files are being served.
@@ -221,7 +221,7 @@ Rendering the styles in this manner should always be done before any instance of
221
221
 
222
222
  ### Overall styles
223
223
 
224
- A handful of overall CSS properties, mainly relating to font colours, can be overridden directly. The most elegant way to do this is with programmatic styles. You can take the following approach, for example:
224
+ The following styles can be overridden. The most elegant way to do this is with programmatic styles. You can take the following approach, for example:
225
225
 
226
226
  ```
227
227
  "use strict";
@@ -234,21 +234,19 @@ export default withStyle(Yapp)`
234
234
  border: 2px dotted;
235
235
 
236
236
  color: green;
237
- caret-color: white;
238
- border-color: yellow;
239
- background-color: red;
240
-
241
237
  font-size: 14px;
242
238
  line-height: 20px;
243
- font-family: monospace;
244
- text-rendering: optimizeLegibility;
245
- font-feature-settings: normal;
239
+ font-family: monospace;
240
+ font-weight: bold;
241
+ caret-color: white;
242
+ border-color: yellow;
243
+ text-rendering: initial;
244
+ background-color: black;
245
+ font-feature-settings: initial;
246
246
 
247
- `;
248
247
  ```
249
- Now you can import this class rather than the package's `Yapp` class and your style will always be used without the need for repetition.
250
248
 
251
- Some of the relevant CSS properties of child elements are not inheritable and must therefore be targeted directly. For example:
249
+ Now you can import this class rather than the package's `Yapp` class and your styles will always be used without the need for repetition. Note that all of the above styles will be inherited by all of the child elements with the exception of the `border` style, which is only used at the topmost level; a few other sty3es such as the `background` style, which some child elements need to override. A little experimentation is recommended.
252
250
 
253
251
  ```
254
252
  .yaap > textarea::selection {