generated from filamentphp/plugin-skeleton
-
-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
23 changed files
with
2,053 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
@import '../../vendor/filament/filament/resources/css/theme.css'; | ||
|
||
@config './tailwind.nord.config.js'; | ||
|
||
body { | ||
@apply !bg-gray-950 !text-white; | ||
} | ||
|
||
.fi-main-ctn { | ||
@apply bg-gray-950; | ||
} | ||
|
||
.fi-sidebar, .fi-sidebar header { | ||
@apply !bg-primary-950; | ||
} | ||
|
||
.fi-sidebar-header { | ||
@apply bg-transparent !ring-0 !shadow-none; | ||
} | ||
|
||
.fi-logo { | ||
@apply !text-secondary-500; | ||
} | ||
|
||
.fi-topbar nav { | ||
@apply !bg-gray-950 !ring-0 !shadow-none; | ||
} | ||
|
||
.fi-sidebar-item a, .fi-sidebar-item svg { | ||
@apply !text-success-200; | ||
} | ||
|
||
.fi-sidebar-item-active a { | ||
@apply !bg-gray-950 dark:!text-secondary-500; | ||
} | ||
|
||
.fi-sidebar-item-active svg { | ||
@apply !text-secondary-500; | ||
} | ||
|
||
.fi-header-heading { | ||
@apply !text-secondary-500; | ||
} | ||
|
||
.fi-section-header-heading, .fi-ta-header-heading { | ||
@apply !text-secondary-500; | ||
} | ||
|
||
.fi-breadcrumbs li a { | ||
@apply !text-success-500; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<p class="pt-4 text-sm font-semibold text-gray-600 dark:text-gray-400 border-t"> | ||
Hasnayeen/Themes: {{ \Composer\InstalledVersions::getPrettyVersion('hasnayeen/themes') }} | ||
</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?php | ||
|
||
namespace Hasnayeen\Themes\Contracts; | ||
|
||
interface HasOnlyDarkMode | ||
{ | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?php | ||
|
||
namespace Hasnayeen\Themes\Contracts; | ||
|
||
interface HasOnlyLightMode | ||
{ | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<?php | ||
|
||
namespace Hasnayeen\Themes\Themes; | ||
|
||
use Hasnayeen\Themes\Contracts\HasOnlyDarkMode; | ||
use Hasnayeen\Themes\Contracts\Theme; | ||
|
||
class Dracula implements Theme, HasOnlyDarkMode | ||
{ | ||
public static function getName(): string | ||
{ | ||
return 'dracula'; | ||
} | ||
|
||
public static function getPath(): string | ||
{ | ||
return __DIR__ . '/../../resources/dist/dracula.css'; | ||
} | ||
|
||
public function getThemeColor(): array | ||
{ | ||
return [ | ||
'primary' => '#9580ff', | ||
'custom' => '#6932f5', | ||
'secondary' => '#ff80bf', | ||
'info' => '#80ffea', | ||
'success' => '#8aff80', | ||
'warning' => '#f9f06b', | ||
'danger' => '#ff9580', | ||
]; | ||
} | ||
} |
Oops, something went wrong.