mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-27 09:54:15 -05:00
cfda925862
This will get tailwindcss working on a basic level. It provides only the utility classes, e.g. no tailwind base which we don't need because we have our own CSS reset. Without the base, we also do not have their CSS variables so a small amount of features do not work and I removed the generated classes for them. ***Note for future developers: This currently uses a `tw-` prefix, so we use it like `tw-p-3`.*** <details> <summary>Currently added CSS, all false-positives</summary> ``` .\!visible{ visibility: visible !important } .visible{ visibility: visible } .invisible{ visibility: hidden } .collapse{ visibility: collapse } .static{ position: static } .\!fixed{ position: fixed !important } .absolute{ position: absolute } .relative{ position: relative } .sticky{ position: sticky } .left-10{ left: 2.5rem } .isolate{ isolation: isolate } .float-right{ float: right } .float-left{ float: left } .mr-2{ margin-right: 0.5rem } .mr-3{ margin-right: 0.75rem } .\!block{ display: block !important } .block{ display: block } .inline-block{ display: inline-block } .inline{ display: inline } .flex{ display: flex } .inline-flex{ display: inline-flex } .\!table{ display: table !important } .inline-table{ display: inline-table } .table-caption{ display: table-caption } .table-cell{ display: table-cell } .table-column{ display: table-column } .table-column-group{ display: table-column-group } .table-footer-group{ display: table-footer-group } .table-header-group{ display: table-header-group } .table-row-group{ display: table-row-group } .table-row{ display: table-row } .flow-root{ display: flow-root } .inline-grid{ display: inline-grid } .contents{ display: contents } .list-item{ display: list-item } .\!hidden{ display: none !important } .hidden{ display: none } .flex-shrink{ flex-shrink: 1 } .shrink{ flex-shrink: 1 } .flex-grow{ flex-grow: 1 } .grow{ flex-grow: 1 } .border-collapse{ border-collapse: collapse } .select-all{ user-select: all } .resize{ resize: both } .flex-wrap{ flex-wrap: wrap } .overflow-visible{ overflow: visible } .rounded{ border-radius: 0.25rem } .border{ border-width: 1px } .text-justify{ text-align: justify } .uppercase{ text-transform: uppercase } .lowercase{ text-transform: lowercase } .capitalize{ text-transform: capitalize } .italic{ font-style: italic } .text-red{ color: var(--color-red) } .text-shadow{ color: var(--color-shadow) } .underline{ text-decoration-line: underline } .overline{ text-decoration-line: overline } .line-through{ text-decoration-line: line-through } .outline{ outline-style: solid } .ease-in{ transition-timing-function: cubic-bezier(0.4, 0, 1, 1) } .ease-in-out{ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) } .ease-out{ transition-timing-function: cubic-bezier(0, 0, 0.2, 1) } ``` </details> --------- Co-authored-by: Giteabot <teabot@gitea.io> (cherry picked from commit f4b92578b4601bc6e9b631b9a5a5f3766c27b0cb)
101 lines
3.1 KiB
JSON
101 lines
3.1 KiB
JSON
{
|
|
"type": "module",
|
|
"engines": {
|
|
"node": ">= 18.0.0"
|
|
},
|
|
"dependencies": {
|
|
"@citation-js/core": "0.7.6",
|
|
"@citation-js/plugin-bibtex": "0.7.8",
|
|
"@citation-js/plugin-csl": "0.7.6",
|
|
"@citation-js/plugin-software-formats": "0.6.1",
|
|
"@claviska/jquery-minicolors": "2.3.6",
|
|
"@github/markdown-toolbar-element": "2.2.1",
|
|
"@github/relative-time-element": "4.3.1",
|
|
"@github/text-expander-element": "2.6.1",
|
|
"@mcaptcha/vanilla-glue": "0.1.0-alpha-3",
|
|
"@primer/octicons": "19.8.0",
|
|
"@webcomponents/custom-elements": "1.6.0",
|
|
"add-asset-webpack-plugin": "2.0.1",
|
|
"ansi_up": "6.0.2",
|
|
"asciinema-player": "3.6.4",
|
|
"chart.js": "4.4.1",
|
|
"chartjs-adapter-dayjs-4": "1.0.4",
|
|
"chartjs-plugin-zoom": "2.0.1",
|
|
"clippie": "4.0.6",
|
|
"css-loader": "6.10.0",
|
|
"css-variables-parser": "1.0.1",
|
|
"dayjs": "1.11.10",
|
|
"dropzone": "6.0.0-beta.2",
|
|
"easymde": "2.18.0",
|
|
"esbuild-loader": "4.0.3",
|
|
"escape-goat": "4.0.0",
|
|
"fast-glob": "3.3.2",
|
|
"htmx.org": "1.9.10",
|
|
"idiomorph": "0.3.0",
|
|
"jquery": "3.7.1",
|
|
"katex": "0.16.9",
|
|
"license-checker-webpack-plugin": "0.2.1",
|
|
"mermaid": "10.8.0",
|
|
"mini-css-extract-plugin": "2.8.0",
|
|
"minimatch": "9.0.3",
|
|
"monaco-editor": "0.46.0",
|
|
"monaco-editor-webpack-plugin": "7.1.0",
|
|
"pdfobject": "2.3.0",
|
|
"postcss": "8.4.35",
|
|
"postcss-loader": "8.1.0",
|
|
"pretty-ms": "9.0.0",
|
|
"sortablejs": "1.15.2",
|
|
"swagger-ui-dist": "5.11.6",
|
|
"tailwindcss": "3.4.1",
|
|
"throttle-debounce": "5.0.0",
|
|
"tinycolor2": "1.6.0",
|
|
"tippy.js": "6.3.7",
|
|
"toastify-js": "1.12.0",
|
|
"tributejs": "5.1.3",
|
|
"uint8-to-base64": "0.2.0",
|
|
"vue": "3.4.19",
|
|
"vue-bar-graph": "2.0.0",
|
|
"vue-chartjs": "5.3.0",
|
|
"vue-loader": "17.4.2",
|
|
"vue3-calendar-heatmap": "2.0.5",
|
|
"webpack": "5.90.2",
|
|
"webpack-cli": "5.1.4",
|
|
"wrap-ansi": "9.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint-community/eslint-plugin-eslint-comments": "4.1.0",
|
|
"@playwright/test": "1.41.2",
|
|
"@stoplight/spectral-cli": "6.11.0",
|
|
"@stylistic/eslint-plugin-js": "1.6.2",
|
|
"@stylistic/stylelint-plugin": "2.0.0",
|
|
"@vitejs/plugin-vue": "5.0.4",
|
|
"eslint": "8.56.0",
|
|
"eslint-plugin-array-func": "4.0.0",
|
|
"eslint-plugin-github": "4.10.1",
|
|
"eslint-plugin-i": "2.29.1",
|
|
"eslint-plugin-jquery": "1.5.1",
|
|
"eslint-plugin-no-jquery": "2.7.0",
|
|
"eslint-plugin-no-use-extend-native": "0.5.0",
|
|
"eslint-plugin-regexp": "2.2.0",
|
|
"eslint-plugin-sonarjs": "0.24.0",
|
|
"eslint-plugin-unicorn": "51.0.1",
|
|
"eslint-plugin-vitest": "0.3.22",
|
|
"eslint-plugin-vitest-globals": "1.4.0",
|
|
"eslint-plugin-vue": "9.21.1",
|
|
"eslint-plugin-vue-scoped-css": "2.7.2",
|
|
"eslint-plugin-wc": "2.0.4",
|
|
"jsdom": "24.0.0",
|
|
"markdownlint-cli": "0.39.0",
|
|
"postcss-html": "1.6.0",
|
|
"stylelint": "16.2.1",
|
|
"stylelint-declaration-block-no-ignored-properties": "2.8.0",
|
|
"stylelint-declaration-strict-value": "1.10.4",
|
|
"svgo": "3.2.0",
|
|
"updates": "15.1.2",
|
|
"vite-string-plugin": "1.1.5",
|
|
"vitest": "1.2.2"
|
|
},
|
|
"browserslist": [
|
|
"defaults"
|
|
]
|
|
}
|