Skip to content

Commit

Permalink
wip: progress to v5 upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
iBotPeaches committed Mar 15, 2024
1 parent 409eee4 commit 3faaffa
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 38 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
"devDependencies": {
"@creativebulma/bulma-divider": "^1.1.0",
"@creativebulma/bulma-tooltip": "^1.2.0",
"@erbelion/vite-plugin-laravel-purgecss": "^0.2.3",
"@fortawesome/fontawesome-free": "^6.5.1",
"bulma": "^0.9.4",
"bulma-ribbon": "^0.1.1",
Expand Down
9 changes: 2 additions & 7 deletions resources/sass/_variables.scss
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
@import 'bulma/sass/utilities/initial-variables';
@import 'bulma/sass/utilities/functions';
@use 'sass:color';

$footer-padding: 3rem 1.5rem 2rem;

$orange: #ff8606;
$orange-invert: findColorInvert($orange);

$purple: #9400ff;
$purple-invert: findColorInvert($purple);

$custom-colors: ("orange": ($orange, $orange-invert), "purple": ($purple, $purple-invert));
$custom-colors: ("orange": ($orange), "purple": ($purple));
8 changes: 4 additions & 4 deletions resources/sass/app.scss
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
@import 'variables';
@import 'progressbar';

@import 'bulma/bulma';
@import '@creativebulma/bulma-divider';
@import '@creativebulma/bulma-tooltip';
@import 'bulma-ribbon/src/sass/index';
@import '../../../../Node/bulma-v1-private-beta/sass';
// '@creativebulma/bulma-divider';
// @import '@creativebulma/bulma-tooltip';
// @import 'bulma-ribbon/src/sass/index';

html {
height: 100%;
Expand Down
26 changes: 0 additions & 26 deletions vite.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import {defineConfig} from 'vite';
import laravel from 'laravel-vite-plugin';
import purge from '@erbelion/vite-plugin-laravel-purgecss';
import manifestSRI from 'vite-plugin-manifest-sri';

export default defineConfig({
Expand All @@ -12,31 +11,6 @@ export default defineConfig({
'resources/sass/app.scss',
'resources/js/app.js',
]),
purge({
templates: ['blade'],
safelist: {
greedy: [
/orange/,
/purple/,
/unranked/,
],
deep: [
/has-tooltip-info/,
/has-tooltip-success/,
/has-tooltip-warning/,
/has-tooltip-danger/,
/has-text-success/,
/has-text-info/,
/has-text-warning/,
/has-text-danger/,
/has-text-primary/,
/has-background-success-light/,
/has-background-info-light/,
/has-background-warning-light/,
/has-background-danger-light/,
]
},
}),
manifestSRI(),
],
});

0 comments on commit 3faaffa

Please sign in to comment.