{"dist":{"shasum":"a26ae8253f803e7f666f0d27aeb5ae69a876464a","tarball":"https://registry.npmjs.org/docz-theme-default/-/docz-theme-default-1.0.0-alpha.139.tgz","fileCount":19,"integrity":"sha512-O3dyVyR3c1CjFHpqCqCLyboHNt7hypMnknFYoHAZrdvNGT4iTUNLYNdg3r3dpUAWD6O3AOo87KgBDCN1I5J7kg==","signatures":[{"sig":"MEUCIDF30oUMXTT7BN1kXhwAnL09NJNHc6wOED29FNiWkVCFAiEA9Q/ZjtLrVrsuntNHIXQCB9jhkIWTHdRDzdPWvfQIZMs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":351236,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcjumKCRA9TVsSAnZWagAA1B8P/0UarZkvgZHzYBkmv0Lo\nkTO32K8iIqOT0B9TEDWj4hWuw+NPG0HkBy/Ge6nhR6ofNCEShiNbzAjumqTF\nsAdPkzZ9wjDOHlrG8KXKgiJAA+KSiZxsG6HMFBL5mXehCAEF1qXBEjduCqVJ\nibaCKkyc/2qwN0iTMaMFr5GSxXqhlMuOqH+DnfHaygrLvWBmwNBpwiqzrH6B\nDtsIrvqmUdq9tewKSiPWIu8uwJUEKTexOrVbjJ2XFQI9U0EPPCEzIt4SnhKb\ngW+im5PbS7+duV7ajPqttwPKibVbaoReAPJi6GDUw94YIJnsL2AFcGp6t9Wz\nlz1GuHDitz4CKPNtWcE4banwSQvuAbHO/UJr8WIAsxHNqPh9eFpG1HZtSaSf\nYhHuwu1LIsj0ELsUtj/UvFEMz+9ixX86cfz6FpggHLKxHJMreKwTYd4LsOIh\niXXGnrsBAokKURCry/6Nhm8HgNcQEUtC1CnYMrEQsAxNS3sc6AInNyk7PYL4\nql3UUX3IlgEH/a7I/ASxRc/kYr3R9YKXLtGFvg1QKizHNXN3RxYvhccFifhP\nEejViiO8ZGp/jV3H0hL9MqjTXqg1Lf1FWCcLQCY3e5CmrhHMQbNgYBKx2Qnp\n8HK8c/rMLeduCrlElTA6b2m/2pyF7VZAat5fX4z0BR6jjCqilJvMjdcNJtF3\n+5i3\r\n=lwGs\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","name":"docz-theme-default","module":"dist/index.esm.js","readme":"# docz-theme-default\n\nDefault theme for [docz](https://docz.site)\n\n![](https://cdn-std.dprcdn.net/files/acc_649651/xZt5zr)\n\n## Dark Mode\n\nTo change your project to use a darker version of default theme, just set your `doczrc.js` like that:\n\n```js\n// doczrc.js\nexport default {\n  themeConfig: {\n    mode: 'dark',\n  },\n}\n```\n\n## Changing your logo\n\nUse your own logo by changing the `logo` property:\n\n```js\n// doczrc.js\nexport default {\n  themeConfig: {\n    logo: {\n      src: '/path/of/my/logo',\n      width: 150,\n    },\n  },\n}\n```\n\n## Changing playground theme\n\nIf you want to customize `<Playground>` theme, you just need to import the css of your [codemirror theme](https://codemirror.net/theme/) and change the `codemirrorTheme` to use your theme. One of ways to import a new css without pain, is add new link on `htmlContext`:\n\n```js\n// doczrc.js\nexport default {\n  htmlContext: {\n    head: {\n      links: [\n        {\n          rel: 'stylesheet',\n          href: 'https://codemirror.net/theme/dracula.css',\n        },\n      ],\n    },\n  },\n  themeConfig: {\n    codemirrorTheme: 'dracula',\n  },\n}\n```\n\n## Default `themeConfig`\n\nAs explained on [Customizing](https://www.docz.site/introduction/customizing) section of docz website, you can customize the theme that you're using by changing `themeConfig` property on your `doczrc.js`. So, each theme has your own specific configuration and for this theme, is that the default config and what you can change:\n\n```js\nconst config = {\n  /**\n   * Mode\n   */\n  mode: 'light', // you can use: 'dark' or 'light'\n  /**\n   * Show/hide Playground editor by default\n   */\n  showPlaygroundEditor: true,\n  /**\n   * Set the numbers of max lines before scroll editor\n   */\n  linesToScrollEditor: 14\n  /**\n   * Customize codemirror theme\n   */\n  codemirrorTheme: 'docz-light',\n  /**\n   * Logo\n   */\n  logo: {\n    src: null,\n    width: null,\n  },\n  /**\n   * Radius\n   */\n  radii: '4px',\n  /**\n   * Colors (depends on select mode)\n   */\n  colors: {\n    white: '#FFFFFF',\n    grayExtraLight: '#EEF1F5',\n    grayLight: '#CED4DE',\n    gray: '#7D899C',\n    grayDark: '#2D3747',\n    grayExtraDark: '#1D2330',\n    dark: '#13161F',\n    blue: '#0B5FFF',\n    skyBlue: '#1FB6FF',\n    /** properties bellow depends on mode select */\n    primary: colors.blue,\n    text: colors.grayDark,\n    link: colors.blue,\n    footerText: colors.grayDark,\n    sidebarBg: colors.grayExtraLight,\n    sidebarText: colors.dark,\n    sidebarHighlight: null,\n    sidebarBorder: colors.grayLight,\n    background: colors.white,\n    border: colors.grayLight,\n    theadColor: colors.gray,\n    theadBg: colors.grayExtraLight,\n    tableColor: colors.dark,\n    codeBg: lighten(0.02, colors.grayExtraLight),\n    codeColor: colors.gray,\n    preBg: colors.grayExtraLight,\n    blockquoteBg: colors.grayExtraLight,\n    blockquoteBorder: colors.grayLight,\n    blockquoteColor: colors.gray,\n  },\n  /**\n   * Styles\n   */\n  styles: {\n    body: css`\n      font-family: ${get('fonts.ui')};\n      font-size: 16px;\n      line-height: 1.6;\n    `,\n    h1: css`\n      margin: 40px 0 20px;\n      font-family: ${get('fonts.display')};\n      font-size: 48px;\n      font-weight: 500;\n      letter-spacing: -0.02em;\n    `,\n    h2: css`\n      margin: 30px 0 20px;\n      line-height: 1.4em;\n      font-family: ${get('fonts.display')};\n      font-weight: 500;\n      font-size: 28px;\n      letter-spacing: -0.02em;\n    `,\n    h3: css`\n      margin: 25px 0 10px;\n      font-size: 20px;\n      font-weight: 400;\n    `,\n    h4: css`\n      margin: 25px 0 10px;\n      font-size: 16px;\n      font-weight: 400;\n    `,\n    h5: css`\n      margin: 20px 0 10px;\n      font-size: 16px;\n      font-weight: 400;\n    `,\n    h6: css`\n      margin: 20px 0 10px;\n      font-size: 16px;\n      font-weight: 400;\n      text-transform: uppercase;\n    `,\n    ol: css`\n      padding: 0;\n      margin: 10px 0 10px;\n    `,\n    ul: css`\n      padding: 0;\n      margin: 10px 0 10px;\n    `,\n    playground: css`\n      padding: 40px;\n    `,\n    code: css`\n      margin: 0 3px;\n      border-radius: 3px;\n      font-family: ${get('fonts.mono')};\n      padding: 2px 5px;\n      font-size: 0.8em;\n      border: '1px solid rgba(0, 0, 0, 0.02)';\n    `,\n    pre: css`\n      font-family: ${get('fonts.mono')};\n      font-size: 14px;\n      line-height: 1.8;\n    `,\n    paragraph: css`\n      margin: 10px 0 20px 0;\n    `,\n    table: css`\n      overflow-y: hidden;\n      width: 100%;\n      font-family: ${get('fonts.mono')};\n      font-size: 14px;\n      overflow-x: initial;\n      display: block;\n    `,\n    blockquote: css`\n      margin: 25px 0;\n      padding: 20px;\n      font-style: italic;\n      font-size: 16px;\n    `,\n  }\n}\n```\n","gitHead":"b0409a83b11fa0c74bea41de3b0b31d58482a8fa","license":"MIT","scripts":{"dev":"cross-env NODE_ENV=development yarn build -w","fix":"run-s fix:*","build":"cross-env NODE_ENV=production rollup -c","tslint":"tslint --project .","fix:tslint":"tslint --fix --project .","fix:prettier":"prettier \"src/**/*.{ts,tsx,md,mdx,js,jsx,json}\" --write"},"_npmUser":{"name":"pedronauck","email":"pedronauck@gmail.com"},"deprecated":"this version is deprecated","_npmVersion":"lerna/3.13.1/node@v11.6.0+x64 (darwin)","description":"The default theme of docz","directories":{},"maintainers":[{"name":"pedronauck","email":"pedronauck@gmail.com"}],"_nodeVersion":"11.6.0","dependencies":{"docz":"1.0.0-alpha.139+b0409a83","react":"^16.8.4","lodash":"^4.17.11","polished":"^3.0.3","facepaint":"^1.2.1","react-dom":"^16.8.4","codemirror":"^5.44.0","hotkeys-js":"^3.4.4","prop-types":"15.7.2","react-live":"^1.12.0","re-resizable":"^4.11.0","@reach/router":"^1.2.1","react-feather":"^1.1.6","@tippy.js/react":"^2.1.1","react-codemirror2":"^5.1.0","styled-components":"^4.1.3","copy-text-to-clipboard":"^2.0.0","react-perfect-scrollbar":"^1.4.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"@types/lodash":"^4.14.123","@types/styled-components":"^4.1.12","babel-plugin-module-resolver":"^3.2.0","babel-plugin-styled-components":"^1.10.0"},"peerDependencies":{"react":"^16.8.0","react-dom":"^16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/docz-theme-default_1.0.0-alpha.139_1552869769429_0.3731270792923975","host":"s3://npm-registry-packages"},"_id":"docz-theme-default@1.0.0-alpha.139","version":"1.0.0-alpha.139"}