Skip to content

Commit

Permalink
Remove illuminate/contracts from composer.json and update the tailwin…
Browse files Browse the repository at this point in the history
…d.config.js.stub file to extend the theme with new font families and colors. Also, update the description of the TailwindCssCommand to be more concise.
  • Loading branch information
thejmitchener committed Jun 11, 2024
1 parent a78e263 commit a3f05de
Show file tree
Hide file tree
Showing 3 changed files with 82 additions and 4 deletions.
1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
"require": {
"php": "^8.2",
"spatie/laravel-package-tools": "^1.16",
"illuminate/contracts": "^10.0||^11.0",
"laravel/prompts": "^0.1.16"
},
"require-dev": {
Expand Down
83 changes: 81 additions & 2 deletions resources/tailwind.config.js.stub
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,89 @@ import typography from '@tailwindcss/typography';
export default {
content: [
'./resources/**/*.{js,vue,blade.php}',
'./vendors/fuelviews/**/resources/**/*.{js,vue,blade.php}'
'./vendor/fuelviews/**/resources/**/*.{js,vue,blade.php}',
],
theme: {
extend: {},
extend: {
fontFamily: {
sans: ['"Montserrat"', ...defaultTheme.fontFamily.sans],
serif: ['"Montserrat"', ...defaultTheme.fontFamily.sans],
},
colors: {
'prime': {
DEFAULT: '#003082',
50: '#3B83FF',
100: '#2676FF',
200: '#005DFC',
300: '#004ED4',
400: '#003FAB',
500: '#003082',
600: '#001B4A',
700: '#000712',
800: '#000000',
900: '#000000',
950: '#000000',
},
'alt': {
DEFAULT: '#FF0000',
50: '#FFB8B8',
100: '#FFA3A3',
200: '#FF7A7A',
300: '#FF5252',
400: '#FF2929',
500: '#FF0000',
600: '#C70000',
700: '#8F0000',
800: '#570000',
900: '#1F0000',
950: '#030000',
},
'cta': {
DEFAULT: '#F6DB32',
50: '#FEFAE2',
100: '#FDF6CE',
200: '#FBF0A7',
300: '#F9E980',
400: '#F8E259',
500: '#F6DB32',
600: '#E6C80A',
700: '#B09908',
800: '#7A6A05',
900: '#453C03',
950: '#2A2402',
},
'background': {
DEFAULT: '#F3F4F6',
50: '#FFFFFF',
100: '#FFFFFF',
200: '#FFFFFF',
300: '#FFFFFF',
400: '#FFFFFF',
500: '#F3F4F6',
600: '#D3D7DE',
700: '#B3B9C6',
800: '#939CAE',
900: '#737E96',
950: '#657187',
},
},
textColor: {
'link': {
DEFAULT: '#3490DC',
50: '#D1E6F7',
100: '#BFDCF4',
200: '#9CC9EE',
300: '#7AB6E8',
400: '#57A3E2',
500: '#3490DC',
600: '#2073B8',
700: '#185588',
800: '#0F3758',
900: '#071929',
950: '#030A11',
},
}
},
},
plugins: [
forms,
Expand Down
2 changes: 1 addition & 1 deletion src/Commands/TailwindCssCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class TailwindCssCommand extends Command
{
public $signature = 'tailwindcss:install';

public $description = 'Install tailwindcss, postcss, and supporting dependencies';
public $description = 'Install tailwindcss, postcss, and dependencies';

/**
* Execute the console command.
Expand Down

0 comments on commit a3f05de

Please sign in to comment.