"use strict"; var __importDefault = this && this.__importDefault || function (mod) { return mod && mod.__esModule ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); const cssr_1 = require("../../_utils/cssr"); const _common_1 = __importDefault(require("../common/_common")); const { fontSize, fontFamily, lineHeight } = _common_1.default; // All the components need the style // It is static and won't be changed in the app's lifetime // If user want to overrides it they need to use `n-global-style` is provided // // Technically we can remove font-size & font-family & line-height to make // it pure. However the coding cost doesn't worth it. // // -webkit-tap-hilight-color: // https://developer.mozilla.org/en-US/docs/Web/CSS/-webkit-tap-highlight-color // In some android devices, there will be the style. exports.default = (0, cssr_1.c)('body', ` margin: 0; font-size: ${fontSize}; font-family: ${fontFamily}; line-height: ${lineHeight}; -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; `, [(0, cssr_1.c)('input', ` font-family: inherit; font-size: inherit; `)]);