Skip to content

Commit 88a2a46

Browse files
Add files via upload
0 parents  commit 88a2a46

File tree

9 files changed

+182
-0
lines changed

9 files changed

+182
-0
lines changed

LICENSE

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2019 Marshmallow-Development
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Laravel Nova Responsive Theme + Dark Mode Toggle
2+
3+
### Installation
4+
```bash
5+
composer require laravelwebdev/responsive"
6+
```
7+
8+
### Vendor Publish
9+
This theme includes adapted Nova blade files and a config file with options based on Nova Responsive Theme. To use them, first publish the config file:
10+
```bash
11+
php artisan vendor:publish --provider="Laravelwebdev\Responsive\ThemeServiceProvider" --force
12+
```
13+
14+
## Credits
15+
16+
Responsive design is based on Nova Responsive Theme by Gregoriohc.
17+
See https://github.com/gregoriohc/laravel-nova-theme-responsive
18+
- [Gregorio Hernández Caso](https://github.com/gregoriohc)
19+
- [Marshmallow Packages](https://github.com/marshmallow-packages)
20+
21+
## License
22+
23+
The MIT License (MIT). Please see [License File](LICENSE) for more information.

composer.json

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{
2+
"name": "laravelwebdev/responsive",
3+
"version": "v1.0.0",
4+
"type": "library",
5+
"description": "A Responsive Laravel Nova Theme based on 'A Responsive Laravel Nova theme'.",
6+
"keywords": [
7+
"Laravel Nova Theme",
8+
"Dark Theme",
9+
"laravel",
10+
"nova",
11+
"Responsive Laravel Nova Theme"
12+
],
13+
"homepage": "https://github.com/laravelwebdev/responsive",
14+
"license": "MIT",
15+
"authors": [
16+
{
17+
"name": "Muhlis Abdi",
18+
"email": "[email protected]",
19+
"role": "Developer"
20+
}
21+
],
22+
"require": {
23+
"php": "^7.1|^8.0"
24+
},
25+
"autoload": {
26+
"psr-4": {
27+
"Laravelwebdev\\Responsive\\": "src"
28+
}
29+
},
30+
"extra": {
31+
"laravel": {
32+
"providers": [
33+
"Laravelwebdev\\Responsive\\ThemeServiceProvider"
34+
]
35+
}
36+
},
37+
"config": {
38+
"sort-packages": true
39+
},
40+
"minimum-stability": "dev",
41+
"prefer-stable": true
42+
}

config/responsive.php

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<?php
2+
3+
return [
4+
5+
// If true, hide all sidebar headlines
6+
'hide_all_sidebar_headlines' => false,
7+
8+
// List of sidebar headlines to hide (Ex.: ["Other"])
9+
'hidden_sidebar_headlines' => [],
10+
11+
// If true, the resource tables actions will be always visible (sticky)
12+
'resource_tables_sticky_actions' => false,
13+
14+
// If true, the resource tables actions will be always visible (sticky) on mobile
15+
'resource_tables_sticky_actions_on_mobile' => false,
16+
17+
// If true, hides the "Update & Continue Editing" button on "Update" forms
18+
'hide_update_and_continue_editing_button' => false,
19+
20+
// If true, hides the "Update & Continue Editing" button on "Update" forms (mobile only)
21+
'hide_update_and_continue_editing_button_on_mobile' => false,
22+
23+
// If true, the sidebar will stay fixed on desktop view
24+
'fixed_sidebar' => false,
25+
26+
];

dist/css/responsive.css

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)