const nest = require('depnest') const { assign } = Object exports.gives = nest('styles.mixins') exports.create = (api) => { return nest('styles.mixins', (sofar = {}) => { return assign(sofar, { mainMixins }) }) } const mainMixins = ` $fontSerif { font-family: Georgia,Cambria,"Times New Roman",Times,serif } $fontSansSerif { font-family: "Lucida Grande","Lucida Sans Unicode","Lucida Sans",Geneva,Arial,sans-serif } $fontBasic { color: rgba(0,0,0,.84) $fontSansSerif font-size: 1rem line-height: 1.2 } $fontTitle { $fontSansSerif font-size: 2.5rem } $maxWidth { max-width: 1000px } $maxWidthSmaller { max-width: 40rem } $colorPrimary { color: white background-color: #2f63ad (a) { color: #5c6bc0 } } $colorMessagePrimary { background-color: #7eaaea (a) { color: #0b4fe7 } } $colorFontBasic { color: #222 } $colorFontPrimary { color: #2f63ad } $colorFontSubtle { color: hsla(0, 0%, 52%, 1) } $backgroundPrimary { background-color: #f5f6f7 } $backgroundPrimaryText { background-color: #fff } $backgroundSelected { background-color: #f0f1f2 } $borderPrimary { border: 1px #2f63ad solid } $borderBottomLight { border-bottom: 1px rgba(224, 224, 224 , 0.8) solid } $circleTiny { min-width: 2rem min-height: 2rem width: 2rem height: 2rem border-radius: 1rem } $circleSmall { min-width: 2.8rem min-height: 2.8rem width: 2.8rem height: 2.8rem border-radius: 4rem } $circleHalfSmall { min-width: 1.4rem min-height: 1.4rem width: 1.4rem height: 1.4rem border-radius: 2rem } $circleMedium { min-width: 3.5rem min-height: 3.5rem width: 3.5rem height: 3.5rem border-radius: 4rem } $circleLarge { min-width: 8rem min-height: 8rem width: 8rem height: 8rem border-radius: 8rem } $markdownSmall { div.Markdown { h1, h2, h3, h4, h5, h6, p { font-size: 1rem font-weight: 300 margin: 0 } (img.emoji) { height: 1rem } } h1, h2, h3, h4, h5, h6, p { font-size: 1rem font-weight: 300 margin: 0 } (img.emoji) { height: 1rem } } $markdownLarge { div.Markdown { h1, h2, h3, h4, h5, h6, p { font-size: 1.5rem font-weight: 300 margin: 0 } } h1, h2, h3, h4, h5, h6, p { font-size: 1.5rem font-weight: 300 margin: 0 } (img.emoji) { height: 1.5rem } } $markdownBold { div.Markdown { h1, h2, h3, h4, h5, h6, p { font-weight: bold } } h1, h2, h3, h4, h5, h6, p { font-weight: bold } } $markdownBlog { $fontSerif line-height: 1.58 h1 { font-size: 2.3rem } h1, h2, h3, h4, h5, h6 { $fontSansSerif letter-spacing: -.015rem } h1, h2, h3, h4 { margin: 2rem 0 .5rem 0 } p { margin: 0 0 1rem 0 } font-size: 1.25rem } $borderSubtle { border: 1px solid #b9b9b9 } $roundLeft { border-top-left-radius: 1.2rem border-bottom-left-radius: 1.2rem } $roundRight { border-top-right-radius: 1.2rem border-bottom-right-radius: 1.2rem } $roundTop { border-top-left-radius: 1.2rem border-top-right-radius: 1.2rem } $roundBottom { border-bottom-left-radius: 1.2rem border-bottom-right-radius: 1.2rem } $code { background-color: #f5f5f5 color: #c121dc border: 1px solid #e6e6e6 border-radius: 2px } $dontSelect { user-select: none !important -webkit-touch-callout: none !important } `