Lucas Vallenet
810df92a61
Fix functions.scss error
2023-01-04 14:41:25 +01:00
Lucas Vallenet
4fd7968b86
Fix SCSS syntax error and duplicate
2023-01-04 11:26:56 +01:00
Lucas Vallenet
aba77ea2d9
Add default CSS Variables
2023-01-04 11:21:43 +01:00
Lucas Vallenet
bf28fe21a3
Strip breakpoint unit from responsive-type
2023-01-04 11:02:32 +01:00
Lucas Vallenet
7b3cefd8df
Add usefull scss functions
2023-01-04 10:50:36 +01:00
Lucas Bigot
20b167da33
Invert grid-helper visibility condition
2022-11-22 14:51:37 -05:00
Deven Caron
f7ca837782
Disable browsersync ghostMode
2022-11-02 11:15:49 -04:00
Deven Caron
0c8ed9595f
Merge pull request #112 from locomotivemtl/feature/grid-helper
2022-10-31 14:34:13 -04:00
arnvvd
eead1d27cd
Move grid helper call to global.js
2022-10-31 14:27:18 -04:00
arnvvd
2e3db21ec8
Update dynamic imports condition
2022-10-31 14:25:22 -04:00
arnvvd
9c478f5f7d
grid helper refactoring + prepare JS dynamic import + add app-env function for Sass conditions
2022-10-31 14:25:20 -04:00
Jérémy Minié
ebcbb6dc84
Only use GridHelper's margin setting for lateral grid spacing
2022-10-31 14:22:31 -04:00
Lucas Vallenet
b7c49086c9
Add custom grid helper based on CSS custom properties
2022-10-31 14:20:59 -04:00
Chauncey McAskill
9219a4cc0a
Rename default function in versions.js task
...
Renamed from `bumpVersion` to `bumpVersions` for consistency with the default functions of other tasks.
2022-10-13 12:53:32 -04:00
Chauncey McAskill
14afe2295a
Improve asset versioning task
...
Added:
- Support for writing multiple times to the same file.
- Support for random hexadecimal value instead of timestamp.
Usage:
```json
"versions": [
{
"format": "timestamp",
"key": "now",
"outfile": "./assets.json"
},
{
"format": "hex:8",
"key": "hex",
"outfile": "./assets.json"
}
]
```
```json
{
"now": 1665071717350,
"hex": "6ef54181c4ba"
}
```
2022-10-12 12:07:24 -04:00
Deven Caron
1bdd2def8d
Compile assets
2022-10-06 14:00:32 -04:00
Deven Caron
84ce496df7
Tweak images size to match block ratio
2022-10-06 14:00:26 -04:00
Deven Caron
05e631dbca
Fixed locomotive-scroll rendering glitch
2022-10-06 13:59:42 -04:00
Chauncey McAskill
f8f0a7779c
Implement simple asset versioning task
...
A task to allow one to define zero or more JSON files and keys to create or update with the current timestamp.
By default, the boilerplate will maintain a './assets.json' file which should be imported by the Web framework and applied to compiled assets.
2022-10-06 11:32:04 -04:00
Arnaud Pinot
8e320f2cd0
Merge pull request #120 from locomotivemtl/feature/es6-updates
2022-10-05 16:56:16 -04:00
Arnaud Pinot
a8314d064f
Update assets/scripts/utils/maths.js
...
Co-authored-by: Chauncey McAskill <chauncey@locomotive.ca >
2022-10-05 16:54:36 -04:00
arnvvd
76614e8126
Merge branch 'master' into feature/es6-updates
2022-10-05 16:43:57 -04:00
arnvvd
bed84ce392
Merge branch 'feature/es6-updates' of github.com:locomotivemtl/locomotive-boilerplate into feature/es6-updates
2022-10-05 16:39:30 -04:00
arnvvd
feb2241164
Add documentation for esbuild process.env
2022-10-05 16:39:25 -04:00
arnvvd
b1f5a00b8c
Delete transform utils function
2022-10-05 16:38:55 -04:00
Arnaud Pinot
2b30d9ac5c
Update assets/scripts/utils/is.js
...
Co-authored-by: Chauncey McAskill <chauncey@locomotive.ca >
2022-10-05 16:36:20 -04:00
Arnaud Pinot
9e5704238e
Update assets/scripts/utils/tickers.js
...
Co-authored-by: Chauncey McAskill <chauncey@locomotive.ca >
2022-10-05 16:35:23 -04:00
Arnaud Pinot
1ede84e1b1
Update assets/scripts/utils/tickers.js
...
Co-authored-by: Chauncey McAskill <chauncey@locomotive.ca >
2022-10-05 16:34:49 -04:00
Arnaud Pinot
3a83a3209b
Merge pull request #129 from locomotivemtl/feature/eager-fonts
...
Add support for the CSS Font Loading API
2022-10-05 14:42:00 -04:00
arnvvd
98957eb6c4
Merge branch 'master' of github.com:locomotivemtl/locomotive-boilerplate into feature/eager-fonts
2022-10-05 14:38:55 -04:00
arnvvd
6712d2d24d
Remove unused constant
2022-10-05 14:27:36 -04:00
Chauncey McAskill
139a6739f6
Update NPM dependencies
...
Updated:
- autoprefixer v10.4.4 → v10.4.12
- browser-sync v2.27.9 → v2.27.10
- esbuild v0.14.27 → v0.14.54
- kleur v4.1.4 → v4.1.5
- postcss v8.4.12 → v8.4.17
- purgecss v4.1.3 → v4.1.3
2022-10-05 12:54:05 -04:00
Chauncey McAskill
3272521dba
Add constant to collect all eager fonts
2022-10-04 16:56:31 -04:00
Chauncey McAskill
e7f0455ce4
Testing CSS Font Loading API
...
The code in this commit is not intended for production environments;
it requires further testing.
Added:
- Multiple "Source Sans 3" fonts to test many `FontFace` entries.
Changed:
- Removed quotes from font family name to avoid them being included in `FontFace.family` value.
Notes:
- Replaces hidden `<span>` elements with `FaceFace.load()` and `FaceFace.loaded` to eagerly load fonts.
- Fonts are eagerly using custom `loadFonts()` (see 'app.js').
- Acting upon loaded fonts is done using `whenReady()` (see 'Example.js').
2022-09-27 11:11:31 -04:00
Deven Caron
bf425521c4
Fix "z()" sass function typo
2022-08-25 14:45:24 -04:00
Chauncey McAskill
4bdaa5d085
Fix typo in styles.js
...
Resolves #125
2022-08-12 14:03:55 -04:00
Deven Caron
a385f6ed11
Merge pull request #108 from locomotivemtl/feature/grid-css
...
Add grid CSS layout system
2022-06-07 13:13:31 -04:00
Deven Caron
4079752fe0
Add ul,ol condition grid reset styles
2022-06-07 10:46:44 -04:00
Deven Caron
14d7e09b2b
Compile assets
2022-06-06 16:43:51 -04:00
Deven Caron
e70bf33409
Update variable names to kebab-case
2022-06-06 16:43:13 -04:00
Deven Caron
8b0926269a
Apply suggestions from code review
...
Co-authored-by: Chauncey McAskill <chauncey@mcaskill.ca >
2022-06-06 16:30:59 -04:00
Deven Caron
8d1b548ad0
Update PurgeCSS import order
2022-06-06 16:28:07 -04:00
Deven Caron
7ca7486913
Fix $container-width conflict
2022-06-06 14:42:25 -04:00
Jérémy Minié
520b75185f
Remove unused $container-width SCSS variable
2022-06-06 13:26:47 -04:00
Jérémy Minié
a056a87855
Fix grid.md code sample closure + Link grid doc in README
2022-06-06 13:26:07 -04:00
Deven Caron
9b99a1958b
Manually apply some #108 suggestions
2022-06-06 13:26:07 -04:00
Deven Caron
d6193a41fa
Apply suggestions from code review
...
Co-authored-by: Chauncey McAskill <chauncey@mcaskill.ca >
2022-06-06 13:26:07 -04:00
Deven Caron
4fafcb8e1d
Update docs/grid.md
...
Co-authored-by: Chauncey McAskill <chauncey@mcaskill.ca >
2022-06-06 13:26:07 -04:00
Deven Caron
aadc410e44
Change PurgeCSS task message label
...
Co-authored-by: Chauncey McAskill <chauncey@mcaskill.ca >
2022-06-06 13:26:07 -04:00
Deven Caron
0439b165cf
Apply suggestions from code review
...
Co-authored-by: Chauncey McAskill <chauncey@mcaskill.ca >
2022-06-06 13:26:07 -04:00