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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 841453615fd5367056dc21793ef27dc4df0164e5d2de26ce35e0ef2596518433
4
- data.tar.gz: 6ab2432307a1e12de018f465502803a607c3b8ec433f21d475c415318d21fb9d
3
+ metadata.gz: d3249865a6d7525c33bb201a3212e55173ec05f959f3e9ce122531441b45c1ae
4
+ data.tar.gz: fed04bc40c2723973cddd09c114626c5d9daa62a08d55f977feb4f25558f137b
5
5
  SHA512:
6
- metadata.gz: ca763a0baeadb7cbae6c41f12e3ebeab4696da85e7c89c75eac381800dbf4823303aa45407e83c3bc44159191c6754b1fc232ea54f49b499755c6c09379ef0f0
7
- data.tar.gz: ff3cbc6b120b77d29a21ce3a8ac616befe043ab4274ad3c8aefdf40c8cf65fb571f85bf0ba4dd0f07c54d478d31ce00fddbe010c5124c8f0da5aa55c04fde5f2
6
+ metadata.gz: ecde4d468282e083ebc39999165f635cb413ddcc4ede9d67ec0a7baa897bb4060aa712498380d590c1458910d97a4175090897a7a611b26fe52964e647896c0e
7
+ data.tar.gz: 89aeccf83b2be5f33032465721b57e533ce268948249fb63176ff97587f20045f02c3e3edf2ccc81f01eb21234ef78280c26a7eb5ddb43a6475a31513f5ac075
@@ -1,7 +1,7 @@
1
1
  module BulletTrain
2
2
  module Themes
3
3
  module Light
4
- VERSION = "1.6.29"
4
+ VERSION = "1.6.30"
5
5
  end
6
6
  end
7
7
  end
@@ -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.29
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