{"dist":{"shasum":"d47b193e85ee0ae58eff2344a1ab7c6bc948be05","tarball":"https://registry.npmjs.org/docz-theme-default/-/docz-theme-default-0.13.3-alpha.4.tgz","fileCount":10,"integrity":"sha512-iynzUnBevLgFr3fUfaiUjIuHZIHKyJraisPnnetn0l+bEhNugGBR6fIr1Od+XCritqfNbV/fNz/TJBeRkwJ8PQ==","signatures":[{"sig":"MEUCIFLUvge8T3nViLEtV48U3Fzos3f0E0snUxIGuI78lx5TAiEAtFIIFD2b40lYghSJTVj/CAo1TmEQB6gD7c+epAdDoEM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":314703,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcGA+bCRA9TVsSAnZWagAAbZYP/RwBm7yMOOWqF/2TljGG\ngNJL4RQDbBbrgYtdyPyfb5NnRwHxzaf0qIHsDBMX52IKuVNK4ZGrnmTUnQjF\nSA1z2T8rIbuWzvPnHr58m1AgHuWr8QZ1V51Rv8U3r8T0mKLVVnHGxNU2AGGQ\nMCvnjyaMMzR84Uy3WpF7M+6a98NVXSX91fgDYa2CuJS06ifQPqIE+ukw83h4\nGLT9gLBSpn4W98lSlxiGcrqFr7ZkttAad2bBmpx0TkJ8P6c+pIbdtLVaP+KZ\nLoUrSPlXsShEdl8VeTqYL9DaONedfQcDGfR7LW8srV8HUw5Gghrx/W5wiDzL\nzfKSfJfdrgynNl9g9AD83sOGHgxzJwa8W2jtaFIVu25xxKcF6OwbE+GecD0w\nJF/Qm5uflwFggt15WcN3afDEdwjQSOjlzCcNjDequkdN8Xm4y7eelo4sAKZG\n3ti9mxf1TOc9mJzE8WKT4L+LM8mzdXLOYDGo++qt1oKExWBZ1f9tfhka0zQ5\nwkmA9djLNdX6SG9Ef41+7QV/PxsGZfoUxKycFYeruzEltzvi/Eclds13GyVg\nNSTYp5ieZii78nCIgsj9mrV+70sYiPoYdnceB1lQjZbhGAv9qDsEzrkVL7qb\ncWSw2ptTePgE6CrveBFERHm7Hg5K5kQ2fj7eVPvR6uLRb4AHkwnPleZDPUYd\nziL4\r\n=F/na\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","name":"docz-theme-default","module":"dist/index.m.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        rel: 'stylesheet',\n        href: 'https://codemirror.net/theme/dracula.css'\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: {\n      fontFamily: \"'Source Sans Pro', Helvetica, sans-serif\",\n      fontSize: 16,\n      lineHeight: 1.6,\n    },\n    container: {\n      width: ['100%', '100%', 920],\n      padding: ['20px', '0 40px 40px'],\n    },\n    h1: {\n      margin: ['30px 0 20px', '60px 0 20px', '40px 0'],\n      fontSize: [36, 42, 48],\n      fontWeight: 100,\n      letterSpacing: '-0.02em',\n    },\n    h2: {\n      margin: ['20px 0 20px', '35px 0 20px'],\n      lineHeight: ['1.2em', '1.5em'],\n      fontSize: 28,\n      fontWeight: 600,\n      letterSpacing: '-0.02em',\n    },\n    h3: {\n      margin: '25px 0 10px',\n      fontSize: [22, 24],\n      fontWeight: 400,\n    },\n    h4: {\n      fontSize: 20,\n      fontWeight: 400,\n    },\n    h5: {\n      fontSize: 18,\n      fontWeight: 400,\n    },\n    h6: {\n      fontSize: 16,\n      fontWeight: 400,\n    },\n    list: {\n      padding: 0,\n      margin: '10px 0 10px 20px',\n    },\n    playground: {\n      padding: ['1.5em', '2em'],\n    },\n    code: {\n      margin: '0 3px',\n      padding: '4px 6px',\n      borderRadius: '3px',\n      fontFamily: '\"Source Code Pro\", monospace',\n      fontSize: '0.85em',\n    },\n    pre: {\n      fontFamily: '\"Source Code Pro\", monospace',\n      fontSize: 14,\n      lineHeight: 1.8,\n    },\n    paragraph: {\n      margin: '10px 0 30px',\n    },\n    table: {\n      overflowY: 'hidden',\n      overflowX: ['initial', 'initial', 'initial', 'hidden'],\n      display: ['block', 'block', 'block', 'table'],\n      width: '100%',\n      marginBottom: [20, 40],\n      fontFamily: '\"Source Code Pro\", monospace',\n      fontSize: 14,\n    },\n    blockquote: {\n      margin: '25px 0',\n      padding: '20px',\n      fontStyle: 'italic',\n      fontSize: 18,\n    },\n  }\n}\n```\n","source":"src/index.tsx","gitHead":"f106e27c98af1a6f3558afe71938e4bec9cc9349","license":"MIT","scripts":{"dev":"libundler watch --ts","fix":"run-s fix:*","build":"libundler build --ts --sm","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"},"umd:main":"dist/index.umd.js","deprecated":"this version is deprecated","_npmVersion":"5.6.0","description":"The default theme of docz","directories":{},"maintainers":[{"name":"pedronauck","email":"pedronauck@gmail.com"}],"_nodeVersion":"9.10.0","dependencies":{"docz":"0.13.3-alpha.4+f106e27","react":"^16.6.3","polished":"^2.3.1","facepaint":"^1.2.1","react-dom":"^16.6.3","codemirror":"^5.42.0","hotkeys-js":"^3.4.1","lodash.get":"^4.4.2","prop-types":"15.6.2","rc-tooltip":"^3.7.3","react-live":"^1.12.0","react-sizes":"^1.0.4","match-sorter":"^2.3.0","re-resizable":"^4.11.0","@emotion/core":"^10.0.5","react-feather":"^1.1.4","webfontloader":"^1.6.28","@emotion/styled":"^10.0.5","emotion-theming":"^10.0.5","react-powerplug":"^1.0.0","react-codemirror2":"^5.1.0","lodash.flattendepth":"^4.7.0","copy-text-to-clipboard":"^1.0.4","react-perfect-scrollbar":"^1.4.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","peerDependencies":{"react":"^16.2.0","react-dom":"^16.2.0"},"_npmOperationalInternal":{"tmp":"tmp/docz-theme-default_0.13.3-alpha.4_1545080730770_0.6513628727772454","host":"s3://npm-registry-packages"},"_id":"docz-theme-default@0.13.3-alpha.4","version":"0.13.3-alpha.4"}