bullet_train-themes-light 1.6.29 → 1.6.30
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bullet_train/themes/light/version.rb +1 -1
- data/postcss-import-config.js +15 -0
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d3249865a6d7525c33bb201a3212e55173ec05f959f3e9ce122531441b45c1ae
|
4
|
+
data.tar.gz: fed04bc40c2723973cddd09c114626c5d9daa62a08d55f977feb4f25558f137b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ecde4d468282e083ebc39999165f635cb413ddcc4ede9d67ec0a7baa897bb4060aa712498380d590c1458910d97a4175090897a7a611b26fe52964e647896c0e
|
7
|
+
data.tar.gz: 89aeccf83b2be5f33032465721b57e533ce268948249fb63176ff97587f20045f02c3e3edf2ccc81f01eb21234ef78280c26a7eb5ddb43a6475a31513f5ac075
|
@@ -0,0 +1,15 @@
|
|
1
|
+
const { execSync } = require("child_process");
|
2
|
+
|
3
|
+
const themeStylesheetsDir = execSync(`bundle exec bin/theme stylesheets-dir ${process.env.THEME} 2> /dev/null`).toString().trim()
|
4
|
+
const themeStylesheet = execSync(`bundle exec bin/theme tailwind-stylesheet ${process.env.THEME} 2> /dev/null`).toString().trim()
|
5
|
+
|
6
|
+
module.exports = {
|
7
|
+
resolve: (id, basedir, importOptions) => {
|
8
|
+
if (id.startsWith('$ThemeStylesheetsDir')) {
|
9
|
+
id = id.replace('$ThemeStylesheetsDir', themeStylesheetsDir);
|
10
|
+
} else if (id.startsWith('$ThemeStylesheet')) {
|
11
|
+
id = id.replace('$ThemeStylesheet', themeStylesheet);
|
12
|
+
}
|
13
|
+
return id;
|
14
|
+
}
|
15
|
+
}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bullet_train-themes-light
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.6.
|
4
|
+
version: 1.6.30
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Culver
|
@@ -245,6 +245,7 @@ files:
|
|
245
245
|
- lib/bullet_train/themes/light/version.rb
|
246
246
|
- lib/tasks/application.rb
|
247
247
|
- lib/tasks/bullet_train/themes/light_tasks.rake
|
248
|
+
- postcss-import-config.js
|
248
249
|
- tailwind.light.config.js
|
249
250
|
- tailwind.mailer.light.config.js
|
250
251
|
homepage: https://github.com/bullet-train-co/bullet_train-core/tree/main/bullet_train-themes-light
|