UNPKG

@codedoc/core

Version:

Create beautiful modern documentation websites.

50 lines 1.54 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.WatermarkStyle = void 0; var jss_theme_1 = require("@connectv/jss-theme"); exports.WatermarkStyle = jss_theme_1.themedStyle(function (theme) { return ({ watermark: { fontSize: 8, cursor: 'pointer', opacity: .2, display: 'inline-block', color: theme.light.text, textDecoration: 'none !important', transition: 'opacity .15s', 'body.dark-mode-animate &': { transition: 'opacity .15s, color .3s', }, '&:hover': { opacity: 1, textDecoration: 'none', }, '@media (prefers-color-scheme: dark)': { 'body:not(.dark-mode-animate) &': { color: theme.dark.text, }, }, 'body.dark &': { color: theme.dark.text, }, '& svg': { display: 'block', marginTop: '.25rem', width: '2.8rem', '& g': { fill: theme.light.text, 'body.dark-mode-animate &': { transition: 'fill .3s', }, 'body.dark &': { fill: theme.dark.text, }, '@media (prefers-color-scheme: dark)': { 'body:not(.dark-mode-animate) &': { fill: theme.dark.text, }, }, } } } }); }); //# sourceMappingURL=style.js.map