Skip to content

Commit a3f05de

Browse files
committed
Remove illuminate/contracts from composer.json and update the tailwind.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.
1 parent a78e263 commit a3f05de

File tree

3 files changed

+82
-4
lines changed

3 files changed

+82
-4
lines changed

composer.json

-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
"require": {
2323
"php": "^8.2",
2424
"spatie/laravel-package-tools": "^1.16",
25-
"illuminate/contracts": "^10.0||^11.0",
2625
"laravel/prompts": "^0.1.16"
2726
},
2827
"require-dev": {

resources/tailwind.config.js.stub

+81-2
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,89 @@ import typography from '@tailwindcss/typography';
66
export default {
77
content: [
88
'./resources/**/*.{js,vue,blade.php}',
9-
'./vendors/fuelviews/**/resources/**/*.{js,vue,blade.php}'
9+
'./vendor/fuelviews/**/resources/**/*.{js,vue,blade.php}',
1010
],
1111
theme: {
12-
extend: {},
12+
extend: {
13+
fontFamily: {
14+
sans: ['"Montserrat"', ...defaultTheme.fontFamily.sans],
15+
serif: ['"Montserrat"', ...defaultTheme.fontFamily.sans],
16+
},
17+
colors: {
18+
'prime': {
19+
DEFAULT: '#003082',
20+
50: '#3B83FF',
21+
100: '#2676FF',
22+
200: '#005DFC',
23+
300: '#004ED4',
24+
400: '#003FAB',
25+
500: '#003082',
26+
600: '#001B4A',
27+
700: '#000712',
28+
800: '#000000',
29+
900: '#000000',
30+
950: '#000000',
31+
},
32+
'alt': {
33+
DEFAULT: '#FF0000',
34+
50: '#FFB8B8',
35+
100: '#FFA3A3',
36+
200: '#FF7A7A',
37+
300: '#FF5252',
38+
400: '#FF2929',
39+
500: '#FF0000',
40+
600: '#C70000',
41+
700: '#8F0000',
42+
800: '#570000',
43+
900: '#1F0000',
44+
950: '#030000',
45+
},
46+
'cta': {
47+
DEFAULT: '#F6DB32',
48+
50: '#FEFAE2',
49+
100: '#FDF6CE',
50+
200: '#FBF0A7',
51+
300: '#F9E980',
52+
400: '#F8E259',
53+
500: '#F6DB32',
54+
600: '#E6C80A',
55+
700: '#B09908',
56+
800: '#7A6A05',
57+
900: '#453C03',
58+
950: '#2A2402',
59+
},
60+
'background': {
61+
DEFAULT: '#F3F4F6',
62+
50: '#FFFFFF',
63+
100: '#FFFFFF',
64+
200: '#FFFFFF',
65+
300: '#FFFFFF',
66+
400: '#FFFFFF',
67+
500: '#F3F4F6',
68+
600: '#D3D7DE',
69+
700: '#B3B9C6',
70+
800: '#939CAE',
71+
900: '#737E96',
72+
950: '#657187',
73+
},
74+
},
75+
textColor: {
76+
'link': {
77+
DEFAULT: '#3490DC',
78+
50: '#D1E6F7',
79+
100: '#BFDCF4',
80+
200: '#9CC9EE',
81+
300: '#7AB6E8',
82+
400: '#57A3E2',
83+
500: '#3490DC',
84+
600: '#2073B8',
85+
700: '#185588',
86+
800: '#0F3758',
87+
900: '#071929',
88+
950: '#030A11',
89+
},
90+
}
91+
},
1392
},
1493
plugins: [
1594
forms,

src/Commands/TailwindCssCommand.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class TailwindCssCommand extends Command
1616
{
1717
public $signature = 'tailwindcss:install';
1818

19-
public $description = 'Install tailwindcss, postcss, and supporting dependencies';
19+
public $description = 'Install tailwindcss, postcss, and dependencies';
2020

2121
/**
2222
* Execute the console command.

0 commit comments

Comments
 (0)