{"id":13490199,"url":"https://github.com/andredelft/typora-tailwind-theme","last_synced_at":"2025-12-30T00:29:11.639Z","repository":{"id":41377800,"uuid":"456230885","full_name":"andredelft/typora-tailwind-theme","owner":"andredelft","description":"The beautiful Tailwind typography layout for Typora.","archived":false,"fork":false,"pushed_at":"2023-10-18T09:25:53.000Z","size":8442,"stargazers_count":100,"open_issues_count":0,"forks_count":11,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-10-31T03:35:34.377Z","etag":null,"topics":["dark-theme","light-theme","tailwind-typography","tailwindcss","typography","typora","typora-theme"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/andredelft.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2022-02-06T18:06:39.000Z","updated_at":"2024-10-29T12:34:21.000Z","dependencies_parsed_at":"2022-08-22T19:10:55.944Z","dependency_job_id":"7736888d-f873-4735-ad66-27d23475f30c","html_url":"https://github.com/andredelft/typora-tailwind-theme","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andredelft%2Ftypora-tailwind-theme","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andredelft%2Ftypora-tailwind-theme/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andredelft%2Ftypora-tailwind-theme/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andredelft%2Ftypora-tailwind-theme/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andredelft","download_url":"https://codeload.github.com/andredelft/typora-tailwind-theme/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245984239,"owners_count":20704787,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dark-theme","light-theme","tailwind-typography","tailwindcss","typography","typora","typora-theme"],"created_at":"2024-07-31T19:00:42.651Z","updated_at":"2025-12-30T00:29:11.633Z","avatar_url":"https://github.com/andredelft.png","language":null,"funding_links":[],"categories":["Others","主题"],"sub_categories":[],"readme":"# Tailwind theme for Typora\n\nAn implementation of the beautiful [Tailwind Typography](https://tailwindcss.com/docs/typography-plugin) layout for [Typora](https://typora.io):\n\n![Screenshot of the Tailwind theme](media/tailwind-screenshot.png)\n\nA light and dark theme are provided, which use the `prose-xl` class and `slate` grayscale. In particular, the themes are equivalent to:\n\n```html\n\u003carticle class=\"prose prose-xl prose-slate dark:prose-invert dark:bg-slate-800\"\u003e\n  ...\n\u003c/article\u003e\n```\n\n## Installation\n\n1. Go to the Typora theme folder (reachable via the settings menu: Appearance \u003e Open theme folder)\n2. Copy the contents of `dist/` into this folder.\n3. Restart Typora and select either 'Tailwind' or 'Tailwind Dark' from the 'Theme' menu.\n\n## Customization\n\nAs with any theme, the Tailwind and Tailwind Dark themes can be customized by defining rules in `tailwind.user.css` and `tailwind-dark.user.css` respectively. In this particular case, `tailwind.user.css` will also be imported by the Tailwind Dark theme, such that customizations will be applied uniformly. If one only wants to target the light theme, rules can be defined in `tailwind-light.user.css`.\n\n### Grayscale\n\nThe `slate` grayscale can be modified by overriding the `--theme-X` variables in `tailwind.user.css` as follows:\n\n```css\n:root {\n  /* Zinc grayscale */\n  --theme-50: #fafafa;\n  --theme-100: #f4f4f5;\n  --theme-200: #e4e4e7;\n  --theme-300: #d4d4d8;\n  --theme-400: #a1a1aa;\n  --theme-500: #71717a;\n  --theme-600: #52525b;\n  --theme-700: #3f3f46;\n  --theme-800: #27272a;\n  --theme-900: #18181b;\n}\n```\n\nNote that both the light and dark theme automatically adjust to this grayscale.\n\nRefer to the [Tailwind docs](https://tailwindcss.com/docs/background-color) for other grayscales (or define your own).\n\n### Font\n\nThe default Tailwind font is [Inter](https://rsms.me/inter). A different font-family, as well as general adjustments like font-size and line-height can be defined using the `#write` selector:\n\n```css\n#write {\n  font-family: \"Crimson Pro\";\n  font-size: 1.6rem;\n  line-height: 1.6;\n}\n```\n\nI personally find that the Tailwind theme works very well with a serif font like [Crimson Pro](https://fonts.google.com/specimen/Crimson+Pro).\n\nIf the chosen font is not in proportion to the monospace font (as is the case with Crimson Pro), one can change this balance by adjusting the monospace font-size through the following variables:\n\n```css\n#write {\n  --code-blocks-font-size: 0.65em;\n  --inline-code-font-size: 0.75em;\n}\n```\n\nAdditionally, the monospace font-family can be customized through the `--monospace` variable.\n\n\n\n## Screenshots\n\n### Outline\n\n![Outline](media/twty-outline.png)\n\n![Outline (Dark)](media/twty-outline-dark.png)\n\n### Lists\n\n![Lists](media/twty-lists.png)\n\n![Lists (Dark)](media/twty-lists-dark.png)\n\n### Other styles\n\n![Other styles](media/twty-table.png)\n\n![Codeblocks](media/twty-codeblocks.png)\n\n### Extensions\n\n![Extensions](media/twty-extensions.png)\n\n![Diagrams](media/twty-diagrams.png)\n\n![Diagrams (Dark)](media/twty-diagrams-dark.png)\n\n### Source code mode\n\n![Source mode](media/twty-source.png)\n\n![Source mode (Dark)](media/twty-source-dark.png)\n\n### Github style alerts\n\nNew in version 1.2.0\n\n![GitHub style alerts](media/twty-alerts.png)\n\n![GitHub style alerts (Dark)](media/twty-alerts-dark.png)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandredelft%2Ftypora-tailwind-theme","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandredelft%2Ftypora-tailwind-theme","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandredelft%2Ftypora-tailwind-theme/lists"}