Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 | 109x | import { cssClass } from '../styled'; import { theme } from '../utils'; export const Text = styleProps => cssClass` line-height: 1.2; abbr& { border-bottom: 1px dotted; cursor: help; text-decoration: none; } code& { font-family: monospace; } i& { font-style: italic; } kbd& { background: #454d5d; border-radius: 0.1rem; color: #fff; fill: #fff; padding: 0.1rem 0.2rem; } mark& { background: #ffe9b3; border-radius: 0.1rem; padding: 0.1rem 0.2rem; } strong& { font-weight: bold; } sub&, sup& { font-size: 0.8em; vertical-align: baseline; } ins&, u& { text-decoration-skip: ink edges; } i&, cite&, var&, em& { font-style: italic; } kbd&, pre&, samp& { font-family: 'SF Mono', 'Segoe UI Mono', 'Roboto Mono', Menlo, Courier, monospace; } & .fp-Icon { vertical-align: -0.125em; } & { ${theme(styleProps.themeKey, `css.root`)(styleProps)}; } `; |