mirror of
https://github.com/go-shiori/shiori.git
synced 2026-04-25 14:35:52 +03:00
[PR #735] [MERGED] feat: build css from less files locally #760
Labels
No labels
component:backend
component:builds
component:builds
component:extension
component:frontend
component:readability
database
database:mysql
database:postgres
database:sqlite
feature:ebooks
github_actions
good first issue
hacktoberfest
note:duplicate?
note:fixed?
note:out-of-scope?
os:windows
priority:high
priority:low
pull-request
resolution:as-intended
resolution:cant-reproduce
resolution:duplicate
resolution:fixed
resolution:wontfix
tag:TBD
tag:big-task
tag:help-wanted
tag:huge-data
tag:meta
tag:more-info
tag:next
tag:no-stale
tag:requires-migrations
tag:research
tag:security 🛡️
tag:stale
tag:waiting-for-assignee
type:bug
type:documentation
type:enhancement
type:meta
type:ux
user:cli
user:web
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/shiori#760
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/go-shiori/shiori/pull/735
Author: @fmartingr
Created: 9/16/2023
Status: ✅ Merged
Merged: 9/16/2023
Merged by: @fmartingr
Base:
master← Head:build-less📝 Commits (10+)
16108a1build less using lessc and bun4404f26build6eea2e7make styles-checkd88b302Added workflow to check updates9ab13f3avoid embed less files2e296daMerge branch 'master' into build-lesseff1b53docsf4ad0b7updated tests to reflect changes8fde9a8typo7531b77fixed archive page css📊 Changes
50 files changed (+138 additions, -24 deletions)
View changed files
➕
.github/workflows/_styles-check.yml(+18 -0)📝
.github/workflows/pull_request.yml(+3 -1)📝
.gitignore(+3 -0)📝
Makefile(+13 -0)➕
bun.lockb(+0 -0)📝
docs/Contribute.md(+14 -0)📝
internal/http/routes/frontend_test.go(+2 -2)📝
internal/view/404.html(+1 -0)📝
internal/view/assets/css/archive.css(+1 -1)➖
internal/view/assets/css/bookmark-item.css(+0 -1)➖
internal/view/assets/css/custom-dialog.css(+0 -1)📝
internal/view/assets/css/libs/fontawesome.min.css(+0 -0)📝
internal/view/assets/css/libs/fonts/fa-brands-400.eot(+0 -0)📝
internal/view/assets/css/libs/fonts/fa-brands-400.svg(+0 -0)📝
internal/view/assets/css/libs/fonts/fa-brands-400.ttf(+0 -0)📝
internal/view/assets/css/libs/fonts/fa-brands-400.woff(+0 -0)📝
internal/view/assets/css/libs/fonts/fa-brands-400.woff2(+0 -0)📝
internal/view/assets/css/libs/fonts/fa-regular-400.eot(+0 -0)📝
internal/view/assets/css/libs/fonts/fa-regular-400.svg(+0 -0)📝
internal/view/assets/css/libs/fonts/fa-regular-400.ttf(+0 -0)...and 30 more files
📄 Description
makecommands to build the CSS, which was lost in time.bunsince it was the easier path, but the build process is built into a script that can be modified to add alternatives, it defaults to havinglesscinstalled locally and usesbunif it finds it.style.cssis generated and minified for the webapp, andarchive.cssis generated to display the top bar in archives.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.