From b93ea5e3e7b1b52393f6f17cf86c347e7a81d994 Mon Sep 17 00:00:00 2001 From: Matt Watson Date: Fri, 15 May 2020 12:51:58 -0400 Subject: [PATCH] initial commit --- .gitignore | 10 ++++++++ composer.json | 29 ++++++++++++++++++++++ resources/css/theme.css | 48 ++++++++++++++++++++++++++++++++++++ src/ThemeServiceProvider.php | 32 ++++++++++++++++++++++++ 4 files changed, 119 insertions(+) create mode 100644 .gitignore create mode 100644 composer.json create mode 100644 resources/css/theme.css create mode 100644 src/ThemeServiceProvider.php diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b817577 --- /dev/null +++ b/.gitignore @@ -0,0 +1,10 @@ +/.idea +/vendor +/node_modules +package-lock.json +composer.phar +composer.lock +phpunit.xml +.phpunit.result.cache +.DS_Store +Thumbs.db diff --git a/composer.json b/composer.json new file mode 100644 index 0000000..2d7071f --- /dev/null +++ b/composer.json @@ -0,0 +1,29 @@ +{ + "name": "devpartners/vip", + "description": "A Laravel Nova theme.", + "keywords": [ + "laravel", + "nova" + ], + "license": "MIT", + "require": { + "php": ">=7.1.0" + }, + "autoload": { + "psr-4": { + "Devpartners\\Vip\\": "src/" + } + }, + "extra": { + "laravel": { + "providers": [ + "Devpartners\\Vip\\ThemeServiceProvider" + ] + } + }, + "config": { + "sort-packages": true + }, + "minimum-stability": "dev", + "prefer-stable": true +} diff --git a/resources/css/theme.css b/resources/css/theme.css new file mode 100644 index 0000000..efad1b6 --- /dev/null +++ b/resources/css/theme.css @@ -0,0 +1,48 @@ +:root { + --primary: #3182ce; + --primary-dark: #3182ce; + --primary-70: #2C75B9; + --primary-50: #1D4E7C; + --primary-30: #163B5D; + --primary-10: #0F273E; + --logo: #0F273E; + --sidebar-icon: #fff; + --red: #F56565; +} + +#nova { + background-image: url('/img/hero.jpg'); + background-repeat: no-repeat; + background-size: cover; +} + +.content { + background-color: rgba(238, 238, 238, 0.95) +} + +.btn-default, +.form-input, +.card { + border-radius: 0.15rem; +} + +.bg-grad-sidebar { + background-image: -webkit-gradient( + linear, + left bottom, + left top, + from(rgba(56, 161, 105, 0.9)), + to(rgba(49, 130, 206, 0.9)) + ); + + background-image: linear-gradient(0deg, rgba(56, 161, 105, 0.9) 0%, rgba(49, 151, 149, 0.9) 50%, rgba(49, 130, 206, 0.9) 100%); +} + +.table td { + height: 2.8rem; +} + +table.w-full td img { + border-radius: 0 !important; + width: auto !important; +} diff --git a/src/ThemeServiceProvider.php b/src/ThemeServiceProvider.php new file mode 100644 index 0000000..afab391 --- /dev/null +++ b/src/ThemeServiceProvider.php @@ -0,0 +1,32 @@ +