Update theme to Bulma 1.0 so that CSS compiles if not look precisely right

This commit is contained in:
benjamin melançon 2025-03-28 15:35:47 -04:00
parent 66fea3dc4b
commit 151b411797
12 changed files with 74 additions and 113 deletions

View file

@ -13,7 +13,6 @@ var sass = require('gulp-sass');
var prefix = require('gulp-autoprefixer');
var sourcemaps = require('gulp-sourcemaps');
var sync = require('browser-sync');
var babel = require('gulp-babel');
var rename = require('gulp-rename');
// Small error handler helper function.
@ -49,10 +48,6 @@ module.exports = {
'./src/{global,layout,components}/**/*.es6.js'
], { base: './' })
.pipe(sourcemaps.init())
.pipe(
babel()
.on('error', handleError)
)
.pipe(rename(function (path) {
// Currently not using ES6 modules so for now
// es6 files are compiled into individual JS files.

View file

@ -1,48 +0,0 @@
/*eslint strict: ["error", "global"]*/
'use strict';
//=======================================================
// Include kss
//=======================================================
var kss = require('kss');
//=======================================================
// Include Our Plugins
//=======================================================
var path = require('path');
// Export our tasks.
module.exports = {
// Generate the style guide using the top level
// directory name passed in as a parameter.
generate: function(dirname) {
return kss({
source: [
dirname + '/src/global',
dirname + '/src/components',
dirname + '/src/layout'
],
destination: dirname + '/dist/style-guide',
builder: dirname + '/src/style-guide/builder',
namespace: 'octavia:' + dirname + '/src/components/',
'extend-drupal8': true,
// The css and js paths are URLs, like '/misc/jquery.js'.
// The following paths are relative to the generated style guide.
// The all.css file is for the style guide ONLY so you don't have to
// keep adding the file here everytime you add a new component.
// Drupal libraries should be leveraged for adding CSS per component.
css: [
path.relative(
dirname + '/style-guide/',
dirname + '/all/all.css'
)
],
js: [
],
homepage: 'style-guide.md',
title: 'Style Guide'
});
}
};