{"dist":{"shasum":"556bcbeec0a36d50a5737a9f5a6590e5ee6a9706","tarball":"https://registry.npmjs.org/docz-theme-default/-/docz-theme-default-1.0.0-alpha.107.tgz","fileCount":19,"integrity":"sha512-00q/WlEidjFUqsuayIEUfxR4wTMlGwPqtCU1hGrK8cOElQm83V6PD4uAJknh1q1PvWM34GWD0vq3k1cYRHoZgQ==","signatures":[{"sig":"MEQCIDgTie6kHrJEOfpnfyX1MUkEqX7dEC7Qt00yeTG6VYvhAiBt54aq4F9oI3SdUaN8GtzadIMnb8vZi415YpR1TIbdYg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":302155,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcdx+rCRA9TVsSAnZWagAAzu0P/19YqvfZ2PBZUdMA9Fdd\n2/v9sZLIQvms9+qzAlZsZVIKLYikuvy0EzRDz5w+TOsLTkZ30BYLnHNW3sWY\nxqhoI/3CzuZhwWgwv0fG0dwOHfoOdoj9R3cHZ9jlgFRkpoRifeeFH3gbOcuM\n3yV1SEZTVYMgxfSBgJuMzUp+DfTa38ReV2Ta2SgyLbHhL9L6HviIAJNd2x64\nhb1+F2ZhB5o7JQoa/S8xDk1c691VjF902UFKhnxb7tURS1vIU9sLmcdxlXyK\ncFzH27s+FTr18CT2AF0gKW6TIFDN75Vs619+Q0vmb62bq0c61imxEJdhZwQr\nAs3+tSrIid4JkvHlfB0eXMuPOb65ILyGQXpmDQET4ixKMsk8WmDdmQfC1r/q\nIAKAc3rT1pF/RPSl5BoP033Xk+s7x0nqS+452HuFnDn6q1inXP+kmQtFncPu\n2ctWHZAXRG2Vhlvwpq3Ig+brW3ODLpgtpv6/S6fJYAWPmK+XxEXrN3bWE0gF\n+hJ+EPb2v46qlI5/UZFOaYSWwvUTo3HMtKsAagJsOlU36IAnst3LmGkobJbl\nXw6VLHUf+05z3C/VoWImgYINMWkSX9Sy9T9wqG52ZJz4LfrC61X0/d+sSAyy\nujk2jCIszisqGN5OycTfUgOjxI2u80zJZRHkfLrP7An+4Oev1SZBRLWLuSr9\nrT9E\r\n=E9x+\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":"d3b4bc6e8eaa6d7e167bb28926977a437b26d2e1","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.107+d3b4bc6","react":"^16.8.3","lodash":"^4.17.11","polished":"^3.0.0","facepaint":"^1.2.1","react-dom":"^16.8.3","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":"^1.0.4","react-perfect-scrollbar":"^1.4.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"@types/lodash":"^4.14.121","@types/styled-components":"^4.1.11","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.107_1551310762683_0.8314962360340041","host":"s3://npm-registry-packages"},"_id":"docz-theme-default@1.0.0-alpha.107","version":"1.0.0-alpha.107"}