bullet_train-themes-light 1.0.2 → 1.0.5

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: 9355602d1279b445f92210f641a00e93dc939947393d381f8f2f6441d6cf6e11
4
- data.tar.gz: c919c1a4c34fd19c62c43d124ff2a190ef95ad3636d2a863921d514317c7aa6c
3
+ metadata.gz: 6a9bb36fddede3c8f542e07f6192f80caa0c668f8a43ffebef8cc1081ad1af15
4
+ data.tar.gz: def07bddf3310757be3f64e05bc90a59fee8176050aeea377a10f175bcc6ab70
5
5
  SHA512:
6
- metadata.gz: 6aefe215dcf682b514deb1ffa5057894c2add6d3da7d1b6da23f4604eadda5ab80cca90fa7914ffffca8d1f5810c3d2146b1a0c9c323b50a72a4219b9150eb02
7
- data.tar.gz: cbddbf909da9cdfeeec93b87b97903b5c6d97a757f97e14a98541f685e8c76e84e4dd49b9691629a61eacdb0f1373815d3f9b41eaee3c456823200fc5a643b16
6
+ metadata.gz: a128cbb7fc124963ad1c27478fdefebbb9d4cf83464304d89c9090721b4aa3c48561377c68919aac9b6b4862e5bbfd54a681773d718a54c3ca71ea228dd496ff
7
+ data.tar.gz: 40a584cad8089f6d636734a974eab8d359ee880c9ec69f6bd617a44cd27018b93cf25ac2502bf63651359fa37f9dede783c8516645bb72d2c5264517f77d2d7e
@@ -1,7 +1,7 @@
1
1
  module BulletTrain
2
2
  module Themes
3
3
  module Light
4
- VERSION = "1.0.2"
4
+ VERSION = "1.0.5"
5
5
  end
6
6
  end
7
7
  end
@@ -1,10 +1,15 @@
1
1
  require "bullet_train/themes/light/version"
2
2
  require "bullet_train/themes/light/engine"
3
- require "bullet_train/themes/light/theme"
3
+ require "bullet_train/themes/tailwind_css"
4
4
 
5
5
  module BulletTrain
6
6
  module Themes
7
7
  module Light
8
+ class Theme < BulletTrain::Themes::TailwindCss::Theme
9
+ def directory_order
10
+ ['light'] + super
11
+ end
12
+ end
8
13
  end
9
14
  end
10
15
  end
@@ -0,0 +1,77 @@
1
+ const defaultTheme = require('tailwindcss/defaultTheme')
2
+ const colors = require('tailwindcss/colors')
3
+
4
+ module.exports = {
5
+ content: [
6
+ './app/views/**/*.html.erb',
7
+ './app/helpers/**/*.rb',
8
+ './app/assets/stylesheets/**/*.css',
9
+ './app/javascript/**/*.js'
10
+ ],
11
+ darkMode: 'media',
12
+ theme: {
13
+ extend: {
14
+ fontSize: {
15
+ 'xs': '.81rem',
16
+ },
17
+ colors: {
18
+ red: {
19
+ darker: '#652424',
20
+ DEFAULT: '#e86060',
21
+ light: '#ee8989',
22
+ },
23
+ yellow: {
24
+ darker: '#6e6446',
25
+ DEFAULT: '#fbe6a8',
26
+ light: '#fcedbe',
27
+ },
28
+ blue: {
29
+ light: '#95acff',
30
+ lightish: '#448eef',
31
+ DEFAULT: '#047bf8',
32
+ dark: '#0362c6',
33
+ darker: '#00369D',
34
+ },
35
+ green: {
36
+ darker: '#166e0c',
37
+ dark: '#1b850f',
38
+ DEFAULT: '#71c21a',
39
+ light: '#c5f0c0',
40
+ },
41
+ sealBlue: {
42
+ 100: '#232942',
43
+ 200: '#293145',
44
+ 300: '#2b344e',
45
+ 400: '#323c58',
46
+ 500: '#4D566F',
47
+ 600: '#777E94',
48
+ 700: '#9facc7',
49
+ 800: '#b3bcde',
50
+ 900: '#ccd9e8'
51
+ },
52
+ vividBlue: {
53
+ 700: '#1c4cc3',
54
+ 800: '#0e369a'
55
+ },
56
+ black: {
57
+ 100: '#000000',
58
+ 200: '#101112',
59
+ 300: '#171818',
60
+ 400: '#292b2c',
61
+ DEFAULT: '#000000',
62
+ }
63
+ },
64
+ fontFamily: {
65
+ // "Avenir Next W01", "Proxima Nova W01", "", -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif
66
+ sans: ['Inter var', ...defaultTheme.fontFamily.sans],
67
+ },
68
+ },
69
+ },
70
+ variants: {
71
+ extend: {},
72
+ },
73
+ plugins: [
74
+ require('@tailwindcss/forms'),
75
+ require('@tailwindcss/typography'),
76
+ ],
77
+ }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bullet_train-themes-light
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Culver
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-02-16 00:00:00.000000000 Z
11
+ date: 2022-02-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -75,9 +75,9 @@ files:
75
75
  - config/routes.rb
76
76
  - lib/bullet_train/themes/light.rb
77
77
  - lib/bullet_train/themes/light/engine.rb
78
- - lib/bullet_train/themes/light/theme.rb
79
78
  - lib/bullet_train/themes/light/version.rb
80
79
  - lib/tasks/bullet_train/themes/light_tasks.rake
80
+ - tailwind.light.config.js
81
81
  homepage: https://github.com/bullet-train-co/bullet_train-themes-light
82
82
  licenses:
83
83
  - MIT
@@ -1,13 +0,0 @@
1
- require "bullet_train/themes/tailwind_css"
2
-
3
- module BulletTrain
4
- module Themes
5
- module Light
6
- class Theme < TailwindCss::Theme
7
- def directory_order
8
- ['light'] + super
9
- end
10
- end
11
- end
12
- end
13
- end