+
Skip to content

wip style update #3664

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 22 commits into
base: v4-integration
Choose a base branch
from
Draft

wip style update #3664

wants to merge 22 commits into from

Conversation

jeffbaumes
Copy link
Contributor

This branch merges the v4-integration and wip-style branches and reconciles the new vite build with the tailwind-based experimental UI. Instead of hard coding the development-oriented version of Tailwind from CDN, this now does it the more official way with a tailwind.config.js file and importing the Tailwind base CSS.

I used the Tailwind 3.4 docs using the "Tailwind CLI" instructions for installation. There is now a Tailwind 4 but things were built based of Tailwind 3 so I'm not sure if Tailwind 4 works.

Note the use of

  safelist: [
    {
      pattern: /.*/, // Match all class names since plugins may use anything
    },
  ],

in tailwind.config.js. This will pull in all classes without Tailwind's normal tree-shaking , which is safest since plugins might use arbitrary other Tailwind classes.

Attn @zachmullen @manthey @naglepuff

jeffbaumes and others added 22 commits September 26, 2024 13:00
Remove spurious leading period from class name
This setting is core.download_shown and can be "all" (default), "user",
"admin", or "none".  If not all, download controls are only shown for a
subset of users -- any logged in user, only those who are admins, or no
one.

This doesn't effect endpoints, just what is shown in the UI.
Add a show-download setting that defaults to all
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载