Skip to content

Commit be542b4

Browse files
authored
Merge pull request #167 from omimouni/master
2 parents 6095cd5 + 0fb2068 commit be542b4

File tree

8 files changed

+24
-111
lines changed

8 files changed

+24
-111
lines changed

.github/workflows/tests.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
uses: actions/checkout@v2
2424

2525
- name: Cache dependencies
26-
uses: actions/cache@v1
26+
uses: actions/cache@v4
2727
with:
2828
path: ~/.composer/cache/files
2929
key: dependencies-laravel-${{ matrix.laravel }}-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }}

src/TallPreset.php

-6
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,9 @@ class TallPreset extends Preset
1111
const NPM_PACKAGES_TO_ADD = [
1212
'@tailwindcss/forms' => '^0.5',
1313
'@tailwindcss/typography' => '^0.5',
14-
'autoprefixer' => '^10.4',
15-
'resolve-url-loader' => '^3.1',
16-
'sass' => '^1.3',
17-
'sass-loader' => '^8.0',
18-
'tailwindcss' => '^3.4',
1914
];
2015

2116
const NPM_PACKAGES_TO_REMOVE = [
22-
'lodash',
2317
'axios',
2418
];
2519

stubs/default/postcss.config.js

-6
This file was deleted.

stubs/default/resources/css/app.css

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
/* Import Tailwind CSS framework */
2+
@import 'tailwindcss';
3+
4+
/* Custom theme configuration with system font stack */
5+
@theme {
6+
--font-sans: 'Inter var', ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',
7+
'Segoe UI Symbol', 'Noto Color Emoji';
8+
}
9+
10+
/* Include Tailwind CSS plugins for enhanced form styling and typography */
11+
@plugin '@tailwindcss/forms';
12+
@plugin '@tailwindcss/typography';
13+
14+
/* Remove default red box-shadow on invalid form elements */
15+
input:invalid, textarea:invalid, select:invalid {
16+
box-shadow: none;
17+
}
18+
19+
/* Hide elements with x-cloak attribute (used with Alpine.js) until JavaScript loads */
20+
[x-cloak] {
21+
display: none;
22+
}

stubs/default/resources/sass/app.scss

-55
This file was deleted.

stubs/default/resources/views/layouts/base.blade.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<!-- Fonts -->
1717
<link rel="stylesheet" href="https://rsms.me/inter/inter.css">
1818

19-
@vite(['resources/sass/app.scss', 'resources/js/app.js'])
19+
@vite(['resources/css/app.css', 'resources/js/app.js'])
2020
@livewireStyles
2121
@livewireScripts
2222

stubs/default/tailwind.config.js

-31
This file was deleted.

stubs/default/vite.config.js

-11
This file was deleted.

0 commit comments

Comments
 (0)