crisvegadev/jet-dark
Composer 安装命令:
composer require crisvegadev/jet-dark
包简介
A Laravel package that add dark theme to Jetstream
README 文档
README
jet-dark is a package for Laravel Jetstream that provides a dark theme for the application. This package overrides the default files of Jetstream views with custom files that included support for dark mode using tailwindcss.
Recommended for new projects only.
Requirements
- Laravel
- Jetstream (livewire)
- TailwindCSS
Installation
Complete installation
- publish the views of jetstream
if you don't publish the views of jetstream, jet-dark will create the files automatically.
php artisan vendor:publish --tag=jetstream-views
- Install with composer
composer require crisvegadev/jet-dark
Make a backup of yours views before the execution of this command
If you don't like the theme, you can restore yours views later with yours backup
¡¡WARNING!!
This action replaces all files in following directories and this is irreversible
Sure not customize views in these directories before execute this command
- resources/views/api/*
- resources/views/auth/*
- resources/views/layouts/*
- resources/views/profile/*
- resources/views/teams/*
- resources/views/vendor/jetstream/components/*
- resources/views/dashboard.blade.php
- resources/views/navigation-menu.blade.php
- resources/views/policy.blade.php
- resources/views/terms.blade.php
- resources/views/welcome.blade.php
- After running
composer require crisvegadev/jet-darkcommand, just run:
php artisan jet-dark:install --mode=complete
Styles only
Installing the styles only, you can set manually the classes to your components.
This option is recommended if you conserve the original files of Jetstream views.
--mode=styles is the default option.
php artisan jet-dark:install --mode=styles
Usage/Configuration
- import the styles of the theme into your app.css file on resources/css/app.css
@import 'vendor/crisvegadev/jet-dark/app.css';
Authors
License
crisvegadev/jet-dark 适用场景与选型建议
crisvegadev/jet-dark 是一款 基于 Blade 开发的 Composer 扩展包,目前已累计 251 次下载、GitHub Stars 达 1, 最近一次更新时间为 2022 年 02 月 19 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 crisvegadev/jet-dark 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 crisvegadev/jet-dark 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 251
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-02-19