activeadmin_dark_color_scheme 0.1.4 → 0.1.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (37) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +0 -11
  3. data/Gemfile.lock +5 -31
  4. data/README.md +7 -1
  5. data/Rakefile +28 -24
  6. data/activeadmin_dark_color_scheme.gemspec +7 -10
  7. data/app/assets/stylesheets/_activeadmin-dark-color-scheme.sass +22 -3
  8. data/app/assets/stylesheets/activeadmin-dark-color-scheme/addons/_date-time-picker.sass +38 -0
  9. data/app/assets/stylesheets/activeadmin-dark-color-scheme/addons/_status-tag.sass +3 -0
  10. data/app/assets/stylesheets/activeadmin-dark-color-scheme/addons/_toggle-bool-switch.sass +5 -0
  11. data/app/assets/stylesheets/activeadmin-dark-color-scheme/mixins/_button-dark.sass +42 -0
  12. data/app/assets/stylesheets/activeadmin-dark-color-scheme/mixins/_button-light.sass +15 -0
  13. data/app/assets/stylesheets/activeadmin-dark-color-scheme/modules/_buttons.sass +8 -2
  14. data/app/assets/stylesheets/activeadmin-dark-color-scheme/modules/_fieldsets.sass +10 -0
  15. data/app/assets/stylesheets/activeadmin-dark-color-scheme/modules/_inputs.sass +28 -0
  16. data/app/assets/stylesheets/activeadmin-dark-color-scheme/modules/_labels.sass +4 -0
  17. data/app/assets/stylesheets/activeadmin-dark-color-scheme/modules/_navbar.sass +18 -0
  18. data/app/assets/stylesheets/activeadmin-dark-color-scheme/modules/_select2.sass +23 -10
  19. data/app/assets/stylesheets/activeadmin-dark-color-scheme/modules/_tabs.sass +6 -0
  20. data/app/assets/stylesheets/activeadmin-dark-color-scheme/variables/_alerts.sass +14 -0
  21. data/app/assets/stylesheets/activeadmin-dark-color-scheme/variables/_base.sass +9 -0
  22. data/app/assets/stylesheets/activeadmin-dark-color-scheme/variables/_buttons.sass +24 -0
  23. data/app/assets/stylesheets/activeadmin-dark-color-scheme/variables/_date-time-picker.sass +4 -0
  24. data/app/assets/stylesheets/activeadmin-dark-color-scheme/variables/_inputs.sass +13 -0
  25. data/app/assets/stylesheets/activeadmin-dark-color-scheme/variables/_labels.sass +2 -0
  26. data/app/assets/stylesheets/activeadmin-dark-color-scheme/variables/_panels.sass +5 -0
  27. data/app/assets/stylesheets/activeadmin-dark-color-scheme/variables/_select2.sass +3 -0
  28. data/app/assets/stylesheets/activeadmin-dark-color-scheme/variables/_status-tag.sass +1 -0
  29. data/app/assets/stylesheets/activeadmin-dark-color-scheme/variables/_tables.sass +10 -0
  30. data/app/assets/stylesheets/activeadmin-dark-color-scheme/variables/_toggle-bool.sass +4 -0
  31. data/lib/activeadmin/dark_color_scheme/engine.rb +5 -7
  32. data/lib/activeadmin/dark_color_scheme/version.rb +3 -1
  33. data/lib/activeadmin/dark_color_scheme.rb +2 -2
  34. metadata +42 -37
  35. data/app/assets/stylesheets/activeadmin-dark-color-scheme/mixins/_buttons.sass +0 -36
  36. data/app/assets/stylesheets/activeadmin-dark-color-scheme/modules/_forms.sass +0 -33
  37. data/app/assets/stylesheets/activeadmin-dark-color-scheme/variables/_all.sass +0 -68
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f98d9beefd66f62baf67cefa1f6a1bd9dddba36f498866de62c63b0cdb237434
4
- data.tar.gz: 640e2b08ccef1d1401ac2f216aeba3f937e1e431c5aa8bb94f1b793509aad372
3
+ metadata.gz: 5a6653af3558bf5a0cecf1a181e4db95b4ff76f64a5926fca59f4e273640f666
4
+ data.tar.gz: 99be43648ce66383f941bbad9a98aaad7f469ff8377ab5f153c4e02412e10f19
5
5
  SHA512:
6
- metadata.gz: 7038435573277a48a44d32da29984b2ef31c687a946dba193b8629dbc58b8a09222a1f9d1a9de5d08bc76ae4ef836cf812caad5a51c224104b6e722913957931
7
- data.tar.gz: 4597f5ad0611bfa38919726724ceb988272f1a9479593dc9aabf71647b56469e8fd37523a7764c5c7a64ef82604983dab43b1e2970a82df68a67547f4e2f336e
6
+ metadata.gz: 43b45e62d73a1d2cc5c88a12d6f27535da20bc0a63155094df7a92aa7d57e6cd3f569a66efbdbc077f6df45f40e22e55d5bec96152eee77698bcd3c07d562297
7
+ data.tar.gz: c03c65e6fa0e3d1511c3237b1487dc1ef355aa1300b30080304ccd1cdf10b7ec9d9345f01ca2911d6cc5d460fe23faaeb370cc7edc6a819e8f14bc49cd0cb98e
data/Gemfile CHANGED
@@ -2,15 +2,4 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- # Specify your gem's dependencies in moscow_metro.gemspec
6
5
  gemspec
7
-
8
- group :test do
9
- gem "pry"
10
- end
11
-
12
- group :test do
13
- # gem "coveralls", require: false
14
- gem "rake"
15
- gem "rspec"
16
- end
data/Gemfile.lock CHANGED
@@ -1,8 +1,8 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- activeadmin_dark_color_scheme (0.1.4)
5
- sassc-rails (~> 2, >= 2.0.0)
4
+ activeadmin_dark_color_scheme (0.1.7)
5
+ railties (>= 4)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
@@ -25,15 +25,11 @@ GEM
25
25
  i18n (>= 1.6, < 2)
26
26
  minitest (>= 5.1)
27
27
  tzinfo (~> 2.0)
28
- autoprefixer-rails (10.4.7.0)
29
- execjs (~> 2)
30
28
  builder (3.2.4)
31
- coderay (1.1.3)
32
29
  concurrent-ruby (1.1.10)
33
30
  crass (1.0.6)
34
31
  diff-lcs (1.5.0)
35
32
  erubi (1.10.0)
36
- execjs (2.8.1)
37
33
  ffi (1.15.5)
38
34
  i18n (1.10.0)
39
35
  concurrent-ruby (~> 1.0)
@@ -44,9 +40,6 @@ GEM
44
40
  minitest (5.15.0)
45
41
  nokogiri (1.13.6-arm64-darwin)
46
42
  racc (~> 1.4)
47
- pry (0.14.1)
48
- coderay (~> 1.1)
49
- method_source (~> 1.0)
50
43
  racc (1.6.0)
51
44
  rack (2.2.3.1)
52
45
  rack-test (1.1.0)
@@ -79,31 +72,14 @@ GEM
79
72
  rspec-support (3.11.0)
80
73
  sassc (2.4.0)
81
74
  ffi (~> 1.9)
82
- sassc-rails (2.1.2)
83
- railties (>= 4.0.0)
84
- sassc (>= 2.0)
85
- sprockets (> 3.0)
86
- sprockets-rails
87
- tilt
88
- sprockets (4.0.3)
89
- concurrent-ruby (~> 1.0)
90
- rack (> 1, < 3)
91
- sprockets-rails (3.4.2)
92
- actionpack (>= 5.2)
93
- activesupport (>= 5.2)
94
- sprockets (>= 3.0.0)
95
75
  sync (0.5.0)
96
76
  term-ansicolor (1.7.1)
97
77
  tins (~> 1.0)
98
78
  thor (1.2.1)
99
- tilt (2.0.10)
100
79
  tins (1.31.1)
101
80
  sync
102
81
  tzinfo (2.0.4)
103
82
  concurrent-ruby (~> 1.0)
104
- webrick (1.7.0)
105
- yard (0.9.28)
106
- webrick (~> 1.7.0)
107
83
  zeitwerk (2.5.4)
108
84
 
109
85
  PLATFORMS
@@ -111,12 +87,10 @@ PLATFORMS
111
87
 
112
88
  DEPENDENCIES
113
89
  activeadmin_dark_color_scheme!
114
- autoprefixer-rails (~> 10, >= 10.4.7)
115
- pry
116
- rake
117
- rspec
90
+ rake (~> 13)
91
+ rspec (~> 3)
92
+ sassc (~> 2, >= 2.0.0)
118
93
  term-ansicolor (~> 1)
119
- yard (~> 0, >= 0.9.20)
120
94
 
121
95
  BUNDLED WITH
122
96
  2.3.15
data/README.md CHANGED
@@ -1,4 +1,6 @@
1
- # Dark color scheme for Activeadmin
1
+ # Dark color scheme for ActiveAdmin
2
+
3
+ [![Gem Version](https://badge.fury.io/rb/activeadmin_dark_color_scheme.svg)](https://badge.fury.io/rb/activeadmin_dark_color_scheme)
2
4
 
3
5
  ## Installation
4
6
 
@@ -69,6 +71,10 @@ Here is an example from [_table-index.sass](https://github.com/sergeypedan/activ
69
71
  text-shadow: none
70
72
  ```
71
73
 
74
+ ## ActiveAdmin version compatibility
75
+
76
+ The current version of ActiveAdmin is 2.13.1. Our styles are and will be targeted on the latest version.
77
+
72
78
  ## How to disable
73
79
 
74
80
  Switch to light color scheme in you system preferences or your browser developer tools.
data/Rakefile CHANGED
@@ -1,6 +1,9 @@
1
1
  require "bundler/setup"
2
2
  require "bundler/gem_tasks"
3
3
  require "rspec/core/rake_task"
4
+ require "term/ansicolor"
5
+
6
+ require "./lib/activeadmin/dark_color_scheme"
4
7
 
5
8
  RSpec::Core::RakeTask.new(:spec)
6
9
 
@@ -10,6 +13,31 @@ load "rails/tasks/statistics.rake"
10
13
 
11
14
  task default: :spec
12
15
 
16
+ desc "Dumps output to a CSS file for testing"
17
+ task :debug do
18
+ require "sassc"
19
+
20
+ path = Activeadmin::DarkColorScheme.stylesheets_path
21
+ entrypoins = %w(_activeadmin-dark-color-scheme)
22
+
23
+ entrypoins.each do |file|
24
+ css = File.read("#{path}/#{file}.sass")
25
+ engine = SassC::Engine.new(css, syntax: :sass, load_paths: [path])
26
+ out = File.join("tmp", "#{file[1..-1]}.css")
27
+ css = engine.render
28
+ File.open(out, "w+") do |f|
29
+ f << css
30
+ end
31
+ $stderr.puts Term::ANSIColor.green "Compiled #{out}"
32
+ $stderr.puts css
33
+ end
34
+ end
35
+
36
+ # desc "Publish"
37
+ # task :publish do
38
+ # puts `gem push pkg/activeadmin_dark_color_scheme-#{Activeadmin::DarkColorScheme::VERSION}.gem`
39
+ # end
40
+
13
41
  # require 'rake/testtask'
14
42
  # Rake::TestTask.new do |t|
15
43
  # t.libs << 'test'
@@ -50,30 +78,6 @@ task default: :spec
50
78
  # end
51
79
  # end
52
80
 
53
- desc "Dumps output to a CSS file for testing"
54
- task :debug do
55
- require "sassc"
56
- require "term/ansicolor"
57
- require "autoprefixer-rails"
58
- require "./lib/activeadmin/dark_color_scheme"
59
-
60
- path = Activeadmin::DarkColorScheme.stylesheets_path
61
- entrypoins = %w(_activeadmin-dark-color-scheme)
62
-
63
- entrypoins.each do |file|
64
- css = File.read("#{path}/#{file}.sass")
65
- engine = SassC::Engine.new(css, syntax: :sass, load_paths: [path])
66
- out = File.join("tmp", "#{file[1..-1]}.css")
67
- css = engine.render
68
- css = AutoprefixerRails.process(css)
69
- # File.write(out, css)
70
- File.open(out, "w+") do |f|
71
- f << css
72
- end
73
- $stderr.puts Term::ANSIColor.green "Compiled #{out}"
74
- end
75
- end
76
-
77
81
  # desc 'Start a dummy Rails app server'
78
82
  # task :rails_server do
79
83
  # require 'rack'
@@ -16,12 +16,12 @@ Gem::Specification.new do |spec|
16
16
  You can override that on the browser level if you wish.
17
17
  HEREDOC
18
18
 
19
- spec.homepage = "https://github.com/sergeypedan/activeadmin-dark-color-scheme"
19
+ spec.homepage = "https://github.com/sergeypedan/#{spec.name.gsub('_', '-')}"
20
20
  spec.extra_rdoc_files = ["README.md", "CHANGELOG.md"]
21
21
  spec.rdoc_options = ["--charset=UTF-8"]
22
22
  spec.metadata = { "changelog_uri" => "#{spec.homepage}/blob/master/CHANGELOG.md",
23
23
  "documentation_uri" => "https://www.rubydoc.info/gems/#{spec.name}",
24
- "homepage_uri" => spec.homepage,
24
+ "homepage_uri" => "https://sergeypedan.ru/open_source_projects/#{spec.name.gsub('_', '-')}",
25
25
  "source_code_uri" => spec.homepage }
26
26
 
27
27
  spec.require_paths = ["app", "lib"]
@@ -34,13 +34,10 @@ Gem::Specification.new do |spec|
34
34
  .reject { |f| f.start_with? "." }
35
35
  end
36
36
 
37
- spec.required_ruby_version = Gem::Requirement.new(">= 2.3.3")
38
- # SassC requires Ruby 2.3.3+
37
+ spec.add_runtime_dependency "railties", ">= 4"
39
38
 
40
- spec.add_runtime_dependency "sassc-rails", "~> 2", ">= 2.0.0"
41
-
42
- spec.add_development_dependency "autoprefixer-rails", "~> 10", ">= 10.4.7"
43
- spec.add_development_dependency "rspec", "~> 3"
44
- spec.add_development_dependency "term-ansicolor", "~> 1"
45
- spec.add_development_dependency "yard", "~> 0", ">= 0.9.20"
39
+ spec.add_development_dependency "rake", "~> 13"
40
+ spec.add_development_dependency "rspec", "~> 3"
41
+ spec.add_development_dependency "sassc", "~> 2", ">= 2.0.0"
42
+ spec.add_development_dependency "term-ansicolor", "~> 1"
46
43
  end
@@ -1,16 +1,27 @@
1
1
  // Variables
2
- @import "./activeadmin-dark-color-scheme/variables/all"
2
+ @import "./activeadmin-dark-color-scheme/variables/alerts"
3
+ @import "./activeadmin-dark-color-scheme/variables/base"
4
+ @import "./activeadmin-dark-color-scheme/variables/buttons"
5
+ @import "./activeadmin-dark-color-scheme/variables/inputs"
6
+ @import "./activeadmin-dark-color-scheme/variables/labels"
7
+ @import "./activeadmin-dark-color-scheme/variables/panels"
8
+ @import "./activeadmin-dark-color-scheme/variables/select2"
9
+ @import "./activeadmin-dark-color-scheme/variables/tables"
3
10
 
4
11
  // Mixins
5
- @import "./activeadmin-dark-color-scheme/mixins/buttons"
12
+ @import "./activeadmin-dark-color-scheme/mixins/button-light"
13
+ @import "./activeadmin-dark-color-scheme/mixins/button-dark"
6
14
  @import "./activeadmin-dark-color-scheme/mixins/panel-heads"
7
15
 
8
16
  // Modules
9
17
  @import "./activeadmin-dark-color-scheme/modules/buttons"
18
+ @import "./activeadmin-dark-color-scheme/modules/fieldsets"
10
19
  @import "./activeadmin-dark-color-scheme/modules/flash"
11
- @import "./activeadmin-dark-color-scheme/modules/forms"
20
+ @import "./activeadmin-dark-color-scheme/modules/inputs"
21
+ @import "./activeadmin-dark-color-scheme/modules/labels"
12
22
  @import "./activeadmin-dark-color-scheme/modules/login"
13
23
  @import "./activeadmin-dark-color-scheme/modules/misc"
24
+ @import "./activeadmin-dark-color-scheme/modules/navbar"
14
25
  @import "./activeadmin-dark-color-scheme/modules/pagination"
15
26
  @import "./activeadmin-dark-color-scheme/modules/panels"
16
27
  @import "./activeadmin-dark-color-scheme/modules/select2"
@@ -20,3 +31,11 @@
20
31
  @import "./activeadmin-dark-color-scheme/modules/tabs"
21
32
  @import "./activeadmin-dark-color-scheme/modules/title-bar"
22
33
  @import "./activeadmin-dark-color-scheme/modules/top-level"
34
+
35
+ @import "./activeadmin-dark-color-scheme/variables/date-time-picker"
36
+ @import "./activeadmin-dark-color-scheme/variables/status-tag"
37
+ @import "./activeadmin-dark-color-scheme/variables/toggle-bool"
38
+
39
+ @import "./activeadmin-dark-color-scheme/addons/toggle-bool-switch"
40
+ @import "./activeadmin-dark-color-scheme/addons/status-tag"
41
+ @import "./activeadmin-dark-color-scheme/addons/date-time-picker"
@@ -0,0 +1,38 @@
1
+ @media (prefers-color-scheme: dark)
2
+ .xdsoft_datetimepicker
3
+ background-color: $dt-picker-bg
4
+ border-color: $dt-picker-border-color
5
+ color: white
6
+
7
+ .xdsoft_label
8
+ background-color: $dt-picker-bg
9
+
10
+ .xdsoft_calendar
11
+ th
12
+ background-color: $dt-picker-bg
13
+ border-color: $dt-picker-border-color
14
+ color: white
15
+
16
+ td
17
+ background-color: $dt-picker-bg
18
+ border-color: $dt-picker-border-color
19
+ color: white
20
+
21
+ &.xdsoft_default,
22
+ &.xdsoft_current
23
+ background-color: $dt-picker-cell-active-bg
24
+ box-shadow: $dt-picker-cell-active-box-shadow
25
+
26
+ .xdsoft_timepicker
27
+ .xdsoft_time_box
28
+ border-color: $dt-picker-border-color
29
+
30
+ > div
31
+ > div
32
+ background-color: $dt-picker-bg
33
+ border-color: $dt-picker-border-color
34
+ color: white
35
+
36
+ &.xdsoft_current
37
+ background-color: $dt-picker-cell-active-bg
38
+ box-shadow: $dt-picker-cell-active-box-shadow
@@ -0,0 +1,3 @@
1
+ @media (prefers-color-scheme: dark)
2
+ .status_tag
3
+ background-color: $status-tag-bg
@@ -0,0 +1,5 @@
1
+ @media (prefers-color-scheme: dark)
2
+ .toggle-bool-switches-container
3
+ .toggle-bool-switch.on
4
+ background-image: linear-gradient($toggle-bool-gradient-stop-top, $toggle-bool-gradient-stop-bottom)
5
+ box-shadow: $toggle-bool-box-shadow
@@ -0,0 +1,42 @@
1
+ @media (prefers-color-scheme: dark)
2
+ %btn-dark-inset-state
3
+ background-color: $btn-dark-1-inset-bg
4
+ background-image: linear-gradient($btn-dark-1-inset-gradient-stop-top, $btn-dark-1-inset-gradient-stop-bottom)
5
+ border-top-color: $btn-datk-1-inset-border-top-color
6
+ border-right-color: lighten($btn-dark-1-bg, 10%)
7
+ border-bottom-color: darken($btn-dark-1-gradient-stop-bottom, 10%)
8
+ border-left-color: $btn-dark-1-inset-color
9
+ box-shadow: 0 1px 3px 0 hsla(0, 0%, 0%, 0.3) inset
10
+
11
+ @mixin btn-dark-1
12
+ background-color: $btn-dark-1-bg
13
+ background-image: linear-gradient(to bottom, $btn-dark-1-gradient-stop-top, $btn-dark-1-gradient-stop-bottom)
14
+ border-top-color: lighten($btn-dark-1-gradient-stop-top, 5%)
15
+ border-right-color: lighten($btn-dark-1-bg, 10%)
16
+ border-bottom-color: darken($btn-dark-1-gradient-stop-bottom, 5%)
17
+ border-left-color: lighten($btn-dark-1-bg, 10%)
18
+ box-shadow: 0 1px 2px darken($btn-dark-1-gradient-stop-bottom, 10%)
19
+ color: $btn-dark-1-color
20
+ text-shadow: none
21
+
22
+ &:not(.disabled)
23
+ &:hover:not(:active)
24
+ background-image: linear-gradient(to bottom, lighten($btn-dark-1-gradient-stop-top, 2%), lighten($btn-dark-1-gradient-stop-bottom, 2%))
25
+
26
+ &:active
27
+ @extend %btn-dark-inset-state
28
+
29
+ &:focus, &:focus-visible
30
+ outline-color: $btn-focus-outline-color
31
+ outline-offset: $btn-focus-outline-auto-offset
32
+ outline-style: $btn-focus-outline-auto-style
33
+ outline-width: $btn-focus-outline-width
34
+
35
+
36
+ @mixin btn-dark-1-inset
37
+ color: $btn-dark-1-color
38
+ @extend %btn-dark-inset-state
39
+
40
+ &:not(.disabled)
41
+ &:hover
42
+ background-image: linear-gradient(to bottom, lighten($btn-dark-1-inset-gradient-stop-top, 2%), lighten($btn-dark-1-inset-gradient-stop-bottom, 2%))
@@ -0,0 +1,15 @@
1
+ @mixin btn-light-1
2
+ background-color: $btn-light-1-bg
3
+ background-image: linear-gradient(180deg, $btn-light-1-gradient-stop-top, $btn-light-1-gradient-stop-bottom)
4
+ color: $btn-light-1-color
5
+ text-shadow: none
6
+
7
+ &:not(.disabled)
8
+ &:hover
9
+ background-image: linear-gradient(to bottom, darken($btn-light-1-gradient-stop-top, 3%), darken($btn-light-1-gradient-stop-bottom, 3%))
10
+
11
+ &:focus, &:focus-visible
12
+ outline-color: $btn-focus-outline-color
13
+ outline-offset: $btn-focus-outline-auto-offset
14
+ outline-style: $btn-focus-outline-auto-style
15
+ outline-width: $btn-focus-outline-width
@@ -2,14 +2,15 @@
2
2
 
3
3
  a.table_tools_button,
4
4
  .table_tools .dropdown_menu_button
5
- color: #d7d7d7
6
5
  @include gradient-bar-1
6
+ color: #d7d7d7
7
7
 
8
8
  &:not(.disabled):hover
9
9
  @include gradient-bar-1
10
10
 
11
11
  a.batch_action
12
- color: darkgray
12
+ &, &:link
13
+ color: white
13
14
 
14
15
  .dropdown_menu
15
16
  .dropdown_menu_list_wrapper
@@ -22,6 +23,11 @@
22
23
  background-image: linear-gradient($color, $color)
23
24
 
24
25
  form
26
+ input[type=submit],
27
+ input[type=button],
28
+ button
29
+ @include btn-light-1
30
+
25
31
  fieldset
26
32
  &.actions, &.buttons
27
33
  li.cancel
@@ -0,0 +1,10 @@
1
+ @media (prefers-color-scheme: dark)
2
+ form
3
+ fieldset
4
+ &.inputs
5
+ background-color: $panel-bg-color-transparent
6
+ box-shadow: $panel-shadow
7
+
8
+ legend
9
+ span
10
+ @include gradient-bar-1
@@ -0,0 +1,28 @@
1
+ @media (prefers-color-scheme: dark)
2
+ form
3
+ input[type=text],
4
+ input[type=password],
5
+ input[type=email],
6
+ input[type=number],
7
+ input[type=url],
8
+ input[type=tel],
9
+ input[type=date],
10
+ input[type=time],
11
+ textarea
12
+ border-color: $input-border-colors
13
+ box-shadow: $input-box-shadow
14
+
15
+ // &:focus, &:focus-visible
16
+ // outline-color: $input-focus-outline-color
17
+ // outline-offset: $input-focus-outline-auto-offset
18
+ // outline-style: $input-focus-outline-auto-style
19
+ // outline-width: $input-focus-outline-width
20
+
21
+ input, textarea
22
+ background-color: $input-bg-color
23
+
24
+ // &:focus, &:focus-visible
25
+ // outline-color: $input-focus-outline-color
26
+ // outline-offset: $input-focus-outline-auto-offset
27
+ // outline-style: $input-focus-outline-auto-style
28
+ // outline-width: $input-focus-outline-width
@@ -0,0 +1,4 @@
1
+ @media (prefers-color-scheme: dark)
2
+ form
3
+ ol > li label
4
+ color: $label-color !important
@@ -0,0 +1,18 @@
1
+ @media (prefers-color-scheme: dark)
2
+ #header
3
+ h1
4
+ a
5
+ &:focus, &:focus-visible
6
+ outline-offset: $btn-focus-outline-solid-offset
7
+ outline-color: $btn-focus-outline-color
8
+ outline-style: $btn-focus-outline-solid-style
9
+ outline-width: $btn-focus-outline-auto-offset
10
+
11
+ ul.tabs
12
+ > li
13
+ a
14
+ &:focus, &:focus-visible
15
+ outline-offset: $btn-focus-outline-solid-offset
16
+ outline-color: $btn-focus-outline-color
17
+ outline-style: $btn-focus-outline-solid-style
18
+ outline-width: $btn-focus-outline-auto-offset
@@ -3,22 +3,35 @@
3
3
  background-color: $select2-bg-color
4
4
  border-color: $panel-bg-color-solid
5
5
 
6
-
7
6
  .select2-container--default
8
- .select2-selection--single
9
- background-color: $input-bg-color
10
- border-color: $input-border-colors
7
+ &.select2-container--focus
8
+ .select2-selection--multiple
9
+ border-color: $input-border-colors
10
+
11
+ .select2-selection
12
+ &--single, &--multiple
13
+ background-color: $input-bg-color
14
+ border-color: $input-border-colors
15
+ box-shadow: $input-box-shadow
16
+
17
+ &--single
18
+ .select2-selection__rendered
19
+ color: $input-text-color
11
20
 
12
- .select2-selection__rendered
13
- color: $input-text-color
21
+ &--multiple
22
+ .select2-selection__choice
23
+ background-color: $select2-bg-color
24
+ border-color: $select2-bg-color
14
25
 
15
26
  .select2-search--dropdown
16
27
  .select2-search__field
17
28
  background-color: $select2-input-bg-color
18
29
  border-color: $input-border-colors
19
30
 
20
- .select2-results__option--highlighted[aria-selected]
21
- background-color: lighten($select2-bg-color, 5%)
31
+ .select2-results
32
+ &__option
33
+ &[aria-selected=true]
34
+ background-color: $select2-bg-color
22
35
 
23
- .select2-results__option[aria-selected=true]
24
- background-color: $select2-bg-color
36
+ &--highlighted[aria-selected]
37
+ background-color: lighten($select2-bg-color, 5%)
@@ -7,5 +7,11 @@
7
7
  a
8
8
  @include btn-dark-1
9
9
 
10
+ &:focus, &:focus-visible
11
+ outline-offset: -1px
12
+
10
13
  &.ui-tabs-active a
11
14
  @include btn-dark-1-inset
15
+
16
+ // &:focus, &:focus-visible
17
+ // outline-offset: -1px
@@ -0,0 +1,14 @@
1
+ // Alerts
2
+ $alert-danger-text-color: hsl(349, 57%, 53%) !default
3
+
4
+ $alert-success-bg-color: hsl(131, 39%, 33%) !default
5
+ $alert-success-gradient-stop-top: hsl(131, 39%, 33%) !default
6
+ $alert-success-gradient-stop-bottom: hsl(123, 41%, 25%) !default
7
+ $alert-success-text-color: #daeec8 !default
8
+ $alert-success-border-bottom-color: hsl(123, 45%, 26%) !default
9
+
10
+ $alert-default-bg-color: #c2b36c !default
11
+ $alert-default-gradient-stop-top: #a38e35 !default
12
+ $alert-default-gradient-stop-bottom: #a99847 !default
13
+ $alert-default-text-color: white !default
14
+ $alert-default-border-bottom-color: #958118 !default
@@ -0,0 +1,9 @@
1
+ // $body-bg-color: hsl(200, 4%, 20%) !default
2
+ $body-bg-color: hsl(200, 8%, 15%) !default
3
+ $body-text-color: hsla(0, 0%, 100%, 0.8) !default
4
+
5
+ // Links
6
+ $link-color-1: hsl(210, 70%, 73%) !default
7
+
8
+ // Tab
9
+ $tab-border-color: hsla(0, 0%, 100%, .1) !default
@@ -0,0 +1,24 @@
1
+ // Buttons
2
+
3
+ $btn-focus-outline-color: -webkit-focus-ring-color
4
+ $btn-focus-outline-width: 2px
5
+ $btn-focus-outline-auto-offset: 2px
6
+ $btn-focus-outline-auto-style: auto
7
+ $btn-focus-outline-solid-offset: 0
8
+ $btn-focus-outline-solid-style: solid
9
+
10
+ $btn-dark-1-bg: hsl(0, 0%, 17%) !default
11
+ $btn-dark-1-gradient-stop-top: hsl(0, 0%, 33%) !default
12
+ $btn-dark-1-gradient-stop-bottom: hsl(0, 0%, 29%) !default
13
+ $btn-dark-1-color: white !default
14
+
15
+ $btn-dark-1-inset-bg: #3b3b3b
16
+ $btn-datk-1-inset-border-top-color: hsla(0, 0%, 0%, .01)
17
+ $btn-dark-1-inset-gradient-stop-top: #3b3b3b !default
18
+ $btn-dark-1-inset-gradient-stop-bottom: #414141 !default
19
+ $btn-dark-1-inset-color: lighten($btn-dark-1-bg, 10%)
20
+
21
+ $btn-light-1-bg: hsl(208, 15%, 87%) !default
22
+ $btn-light-1-gradient-stop-top: hsl(208, 15%, 87%) !default
23
+ $btn-light-1-gradient-stop-bottom: hsl(210, 2%, 68%) !default
24
+ $btn-light-1-color: hsl(0, 0%, 7%) !default
@@ -0,0 +1,4 @@
1
+ $dt-picker-bg: rgb(46, 50, 52)
2
+ $dt-picker-border-color: $dt-picker-bg
3
+ $dt-picker-cell-active-bg: hsl(205, 100%, 35%)
4
+ $dt-picker-cell-active-box-shadow: 0 1px 3px 0 darken($dt-picker-cell-active-bg, 15%) inset
@@ -0,0 +1,13 @@
1
+ // Inputs
2
+ $input-bg-color: hsla(0, 0%, 0%, .2) !default
3
+ $input-box-shadow: inset 0 1px 5px hsla(0, 0%, 0%, .2)
4
+ $input-border-color: hsla(0, 0%, 50%, .2) !default
5
+ $input-border-color-top: hsla(0, 0%, 50%, .1) !default
6
+ $input-border-colors: $input-border-color-top $input-border-color $input-border-color $input-border-color !default
7
+ $input-focus-outline-color: -webkit-focus-ring-color
8
+ $input-focus-outline-width: 2px
9
+ $input-focus-outline-auto-offset: 2px
10
+ $input-focus-outline-auto-style: auto
11
+ // $input-focus-outline-solid-offset: 0
12
+ // $input-focus-outline-solid-style: solid
13
+ $input-text-color: white !default
@@ -0,0 +1,2 @@
1
+ // Labels
2
+ $label-color: hsl(0, 0%, 80%) !default
@@ -0,0 +1,5 @@
1
+ // Panels
2
+ $panel-bg-color-solid: hsl(0, 0%, 26%) !default
3
+ $panel-bg-color-transparent: hsla(0, 0%, 100%, 0.05) !default
4
+ $panel-head-gradient: linear-gradient(rgba(255, 255, 255, .08), transparent) !default
5
+ $panel-shadow: 0 1px 4px hsla(0, 0%, 0%, .2) !default
@@ -0,0 +1,3 @@
1
+ // Select2
2
+ $select2-bg-color: hsl(200, 5%, 20%) !default
3
+ $select2-input-bg-color: hsl(240, 0%, 15%) !default
@@ -0,0 +1 @@
1
+ $status-tag-bg: #3f4245 !default
@@ -0,0 +1,10 @@
1
+ // Tables
2
+ $tr-border-bottom-color: hsla(0, 0%, 50%, .1) !default
3
+ $th-bg-color: #6f6f6f !default
4
+ $th-border-color-bottom: hsl(0, 0%, 30%) !default
5
+ $th-border-color-left: hsl(0, 0%, 24%) !default
6
+ $th-border-color-right: hsl(0, 0%, 35%) !default
7
+ $th-border-color-top: hsl(0, 0%, 31%) !default
8
+ $tr-even-bg-color: hsla(0, 0%, 100%, .02) !default
9
+ $tr-odd-bg-color: $body-bg-color !default
10
+ $tr-selected-bg-color: rgba(0, 0, 0, 0.16) !default
@@ -0,0 +1,4 @@
1
+ // Toggle bool switch
2
+ $toggle-bool-gradient-stop-top: hsl(109, 82%, 23%)
3
+ $toggle-bool-gradient-stop-bottom: hsl(143, 86%, 20%)
4
+ $toggle-bool-box-shadow: 0 1px 3px hsla(0, 0%, 0%, .1), 0 0 1px hsla(0, 0%, 100%, .7) inset
@@ -1,16 +1,14 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "sassc-rails"
3
+ # This is standard Rails way to autoload gem’s contents dynamically as an “engine”
4
+ # @see https://guides.rubyonrails.org/engines.html Rails guide on engines
5
+ #
6
+ require "rails"
4
7
 
5
- module FormtasticTristateRadio
6
-
7
- # This is standard Rails way to autoload gem’s contents dynamically as an “engine”
8
- # @see https://guides.rubyonrails.org/engines.html Rails guide on engines
9
- #
8
+ module Activeadmin
10
9
  class Engine < ::Rails::Engine
11
10
  initializer "activeadmin_dark_color_scheme.assets" do |app|
12
11
  app.config.assets.paths << root.join("assets", "stylesheets").to_s
13
12
  end
14
13
  end
15
-
16
14
  end
@@ -1,5 +1,7 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Activeadmin
2
4
  module DarkColorScheme
3
- VERSION = "0.1.4"
5
+ VERSION = "0.1.8"
4
6
  end
5
7
  end
@@ -12,11 +12,11 @@ module Activeadmin
12
12
  end
13
13
 
14
14
  def assets_path
15
- @assets_path ||= File.join gem_path, 'assets'
15
+ @assets_path ||= File.join gem_path, "assets"
16
16
  end
17
17
 
18
18
  def stylesheets_path
19
- File.join assets_path, 'stylesheets'
19
+ File.join assets_path, "stylesheets"
20
20
  end
21
21
 
22
22
  end
metadata CHANGED
@@ -1,55 +1,43 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activeadmin_dark_color_scheme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sergey Pedan
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-06-10 00:00:00.000000000 Z
11
+ date: 2022-07-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: sassc-rails
14
+ name: railties
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
18
- - !ruby/object:Gem::Version
19
- version: '2'
20
17
  - - ">="
21
18
  - !ruby/object:Gem::Version
22
- version: 2.0.0
19
+ version: '4'
23
20
  type: :runtime
24
21
  prerelease: false
25
22
  version_requirements: !ruby/object:Gem::Requirement
26
23
  requirements:
27
- - - "~>"
28
- - !ruby/object:Gem::Version
29
- version: '2'
30
24
  - - ">="
31
25
  - !ruby/object:Gem::Version
32
- version: 2.0.0
26
+ version: '4'
33
27
  - !ruby/object:Gem::Dependency
34
- name: autoprefixer-rails
28
+ name: rake
35
29
  requirement: !ruby/object:Gem::Requirement
36
30
  requirements:
37
31
  - - "~>"
38
32
  - !ruby/object:Gem::Version
39
- version: '10'
40
- - - ">="
41
- - !ruby/object:Gem::Version
42
- version: 10.4.7
33
+ version: '13'
43
34
  type: :development
44
35
  prerelease: false
45
36
  version_requirements: !ruby/object:Gem::Requirement
46
37
  requirements:
47
38
  - - "~>"
48
39
  - !ruby/object:Gem::Version
49
- version: '10'
50
- - - ">="
51
- - !ruby/object:Gem::Version
52
- version: 10.4.7
40
+ version: '13'
53
41
  - !ruby/object:Gem::Dependency
54
42
  name: rspec
55
43
  requirement: !ruby/object:Gem::Requirement
@@ -65,39 +53,39 @@ dependencies:
65
53
  - !ruby/object:Gem::Version
66
54
  version: '3'
67
55
  - !ruby/object:Gem::Dependency
68
- name: term-ansicolor
56
+ name: sassc
69
57
  requirement: !ruby/object:Gem::Requirement
70
58
  requirements:
71
59
  - - "~>"
72
60
  - !ruby/object:Gem::Version
73
- version: '1'
61
+ version: '2'
62
+ - - ">="
63
+ - !ruby/object:Gem::Version
64
+ version: 2.0.0
74
65
  type: :development
75
66
  prerelease: false
76
67
  version_requirements: !ruby/object:Gem::Requirement
77
68
  requirements:
78
69
  - - "~>"
79
70
  - !ruby/object:Gem::Version
80
- version: '1'
71
+ version: '2'
72
+ - - ">="
73
+ - !ruby/object:Gem::Version
74
+ version: 2.0.0
81
75
  - !ruby/object:Gem::Dependency
82
- name: yard
76
+ name: term-ansicolor
83
77
  requirement: !ruby/object:Gem::Requirement
84
78
  requirements:
85
79
  - - "~>"
86
80
  - !ruby/object:Gem::Version
87
- version: '0'
88
- - - ">="
89
- - !ruby/object:Gem::Version
90
- version: 0.9.20
81
+ version: '1'
91
82
  type: :development
92
83
  prerelease: false
93
84
  version_requirements: !ruby/object:Gem::Requirement
94
85
  requirements:
95
86
  - - "~>"
96
87
  - !ruby/object:Gem::Version
97
- version: '0'
98
- - - ">="
99
- - !ruby/object:Gem::Version
100
- version: 0.9.20
88
+ version: '1'
101
89
  description: |
102
90
  A dark color scheme for ActiveAdmin Ruby CMS. This gem provides Sass files that you can include via Sprockets.
103
91
  The dark theme automatically switches on / off with your system’s dark / light mode.
@@ -118,13 +106,20 @@ files:
118
106
  - Rakefile
119
107
  - activeadmin_dark_color_scheme.gemspec
120
108
  - app/assets/stylesheets/_activeadmin-dark-color-scheme.sass
121
- - app/assets/stylesheets/activeadmin-dark-color-scheme/mixins/_buttons.sass
109
+ - app/assets/stylesheets/activeadmin-dark-color-scheme/addons/_date-time-picker.sass
110
+ - app/assets/stylesheets/activeadmin-dark-color-scheme/addons/_status-tag.sass
111
+ - app/assets/stylesheets/activeadmin-dark-color-scheme/addons/_toggle-bool-switch.sass
112
+ - app/assets/stylesheets/activeadmin-dark-color-scheme/mixins/_button-dark.sass
113
+ - app/assets/stylesheets/activeadmin-dark-color-scheme/mixins/_button-light.sass
122
114
  - app/assets/stylesheets/activeadmin-dark-color-scheme/mixins/_panel-heads.sass
123
115
  - app/assets/stylesheets/activeadmin-dark-color-scheme/modules/_buttons.sass
116
+ - app/assets/stylesheets/activeadmin-dark-color-scheme/modules/_fieldsets.sass
124
117
  - app/assets/stylesheets/activeadmin-dark-color-scheme/modules/_flash.sass
125
- - app/assets/stylesheets/activeadmin-dark-color-scheme/modules/_forms.sass
118
+ - app/assets/stylesheets/activeadmin-dark-color-scheme/modules/_inputs.sass
119
+ - app/assets/stylesheets/activeadmin-dark-color-scheme/modules/_labels.sass
126
120
  - app/assets/stylesheets/activeadmin-dark-color-scheme/modules/_login.sass
127
121
  - app/assets/stylesheets/activeadmin-dark-color-scheme/modules/_misc.sass
122
+ - app/assets/stylesheets/activeadmin-dark-color-scheme/modules/_navbar.sass
128
123
  - app/assets/stylesheets/activeadmin-dark-color-scheme/modules/_pagination.sass
129
124
  - app/assets/stylesheets/activeadmin-dark-color-scheme/modules/_panels.sass
130
125
  - app/assets/stylesheets/activeadmin-dark-color-scheme/modules/_select2.sass
@@ -134,7 +129,17 @@ files:
134
129
  - app/assets/stylesheets/activeadmin-dark-color-scheme/modules/_tabs.sass
135
130
  - app/assets/stylesheets/activeadmin-dark-color-scheme/modules/_title-bar.sass
136
131
  - app/assets/stylesheets/activeadmin-dark-color-scheme/modules/_top-level.sass
137
- - app/assets/stylesheets/activeadmin-dark-color-scheme/variables/_all.sass
132
+ - app/assets/stylesheets/activeadmin-dark-color-scheme/variables/_alerts.sass
133
+ - app/assets/stylesheets/activeadmin-dark-color-scheme/variables/_base.sass
134
+ - app/assets/stylesheets/activeadmin-dark-color-scheme/variables/_buttons.sass
135
+ - app/assets/stylesheets/activeadmin-dark-color-scheme/variables/_date-time-picker.sass
136
+ - app/assets/stylesheets/activeadmin-dark-color-scheme/variables/_inputs.sass
137
+ - app/assets/stylesheets/activeadmin-dark-color-scheme/variables/_labels.sass
138
+ - app/assets/stylesheets/activeadmin-dark-color-scheme/variables/_panels.sass
139
+ - app/assets/stylesheets/activeadmin-dark-color-scheme/variables/_select2.sass
140
+ - app/assets/stylesheets/activeadmin-dark-color-scheme/variables/_status-tag.sass
141
+ - app/assets/stylesheets/activeadmin-dark-color-scheme/variables/_tables.sass
142
+ - app/assets/stylesheets/activeadmin-dark-color-scheme/variables/_toggle-bool.sass
138
143
  - lib/activeadmin/dark_color_scheme.rb
139
144
  - lib/activeadmin/dark_color_scheme/engine.rb
140
145
  - lib/activeadmin/dark_color_scheme/version.rb
@@ -145,7 +150,7 @@ licenses:
145
150
  metadata:
146
151
  changelog_uri: https://github.com/sergeypedan/activeadmin-dark-color-scheme/blob/master/CHANGELOG.md
147
152
  documentation_uri: https://www.rubydoc.info/gems/activeadmin_dark_color_scheme
148
- homepage_uri: https://github.com/sergeypedan/activeadmin-dark-color-scheme
153
+ homepage_uri: https://sergeypedan.ru/open_source_projects/activeadmin-dark-color-scheme
149
154
  source_code_uri: https://github.com/sergeypedan/activeadmin-dark-color-scheme
150
155
  post_install_message:
151
156
  rdoc_options:
@@ -157,7 +162,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
157
162
  requirements:
158
163
  - - ">="
159
164
  - !ruby/object:Gem::Version
160
- version: 2.3.3
165
+ version: '0'
161
166
  required_rubygems_version: !ruby/object:Gem::Requirement
162
167
  requirements:
163
168
  - - ">="
@@ -1,36 +0,0 @@
1
- @mixin btn-dark-1
2
- background-color: $btn-dark-1-bg
3
- background-image: linear-gradient(to bottom, $btn-dark-1-gradient-stop-top, $btn-dark-1-gradient-stop-bottom)
4
- border-top-color: lighten($btn-dark-1-gradient-stop-top, 10%)
5
- border-right-color: lighten($btn-dark-1-bg, 10%)
6
- border-bottom-color: darken($btn-dark-1-gradient-stop-bottom, 10%)
7
- border-left-color: lighten($btn-dark-1-bg, 10%)
8
- box-shadow: 0 1px 2px darken($btn-dark-1-gradient-stop-bottom, 10%)
9
- color: $btn-dark-1-color
10
- text-shadow: none
11
-
12
- &:not(.disabled):hover
13
- background-image: linear-gradient(to bottom, lighten($btn-dark-1-gradient-stop-top, 2%), lighten($btn-dark-1-gradient-stop-bottom, 2%))
14
-
15
- @mixin btn-dark-1-inset
16
- background-color: $btn-dark-1-inset-bg
17
- background-image: linear-gradient($btn-dark-1-inset-gradient-stop-top, $btn-dark-1-inset-gradient-stop-bottom)
18
- border-top-color: $btn-datk-1-inset-border-top-color
19
- border-right-color: lighten($btn-dark-1-bg, 10%)
20
- border-bottom-color: darken($btn-dark-1-gradient-stop-bottom, 10%)
21
- border-left-color: $btn-dark-1-inset-color
22
- box-shadow: 0 1px 3px 0 hsla(0, 0%, 0%, 0.3) inset
23
- color: $btn-dark-1-color
24
- text-shadow: none
25
-
26
- &:not(.disabled):hover
27
- background-image: linear-gradient(to bottom, lighten($btn-dark-1-inset-gradient-stop-top, 2%), lighten($btn-dark-1-inset-gradient-stop-bottom, 2%))
28
-
29
- @mixin btn-light-1
30
- background-color: $btn-light-1-bg
31
- background-image: linear-gradient(180deg, $btn-light-1-gradient-stop-top, $btn-light-1-gradient-stop-bottom)
32
- color: $btn-light-1-color
33
- text-shadow: none
34
-
35
- &:not(.disabled):hover
36
- background-image: linear-gradient(to bottom, darken($btn-light-1-gradient-stop-top, 3%), darken($btn-light-1-gradient-stop-bottom, 3%))
@@ -1,33 +0,0 @@
1
- @media (prefers-color-scheme: dark)
2
- form
3
- input[type=submit],
4
- input[type=button],
5
- button
6
- @include btn-light-1
7
-
8
- fieldset
9
- &.inputs
10
- background-color: $panel-bg-color-transparent
11
- box-shadow: $panel-shadow
12
-
13
- legend
14
- span
15
- @include gradient-bar-1
16
-
17
- ol > li label
18
- color: $label-color !important
19
-
20
- input[type=text],
21
- input[type=password],
22
- input[type=email],
23
- input[type=number],
24
- input[type=url],
25
- input[type=tel],
26
- input[type=date],
27
- input[type=time],
28
- textarea
29
- border-color: $input-border-colors
30
- box-shadow: inset 0 1px 5px hsla(0, 0%, 0%, .2)
31
-
32
- input, textarea
33
- background-color: $input-bg-color
@@ -1,68 +0,0 @@
1
- // $body-bg-color: hsl(200, 4%, 20%) !default
2
- $body-bg-color: hsl(200, 8%, 15%) !default
3
- $body-text-color: hsla(0, 0%, 100%, 0.8) !default
4
-
5
- // Links
6
- $link-color-1: hsl(210, 70%, 73%) !default
7
-
8
- // Tables
9
- $tr-border-bottom-color: hsla(0, 0%, 100%, .075) !default
10
- $th-bg-color: #6f6f6f !default
11
- $th-border-color-bottom: hsl(0, 0%, 30%) !default
12
- $th-border-color-left: hsl(0, 0%, 24%) !default
13
- $th-border-color-right: hsl(0, 0%, 35%) !default
14
- $th-border-color-top: hsl(0, 0%, 31%) !default
15
- $tr-even-bg-color: hsla(0, 0%, 100%, .02) !default
16
- $tr-odd-bg-color: $body-bg-color !default
17
- $tr-selected-bg-color: rgba(0, 0, 0, 0.16) !default
18
-
19
- // Panels
20
- $panel-bg-color-solid: hsl(0, 0%, 26%) !default
21
- $panel-bg-color-transparent: hsla(0, 0%, 100%, 0.05) !default
22
- $panel-head-gradient: linear-gradient(rgba(255, 255, 255, .08), transparent) !default
23
- $panel-shadow: 0 1px 4px hsla(0, 0%, 0%, .2) !default
24
-
25
- // Forms
26
- $input-bg-color: hsla(0, 0%, 0%, .2) !default
27
- $input-border-colors: hsla(0, 0%, 50%, .1) hsla(0, 0%, 50%, .2) hsla(0, 0%, 50%, .2) hsla(0, 0%, 50%, .2) !default
28
- $input-text-color: white !default
29
- $label-color: hsl(0, 0%, 80%) !default
30
-
31
- // Select
32
- $select2-bg-color: hsl(200, 5%, 20%) !default
33
- $select2-input-bg-color: hsl(240, 0%, 15%) !default
34
-
35
- // Buttons
36
- $btn-dark-1-bg: hsl(0, 0%, 17%) !default
37
- $btn-dark-1-gradient-stop-top: hsl(0, 0%, 33%) !default
38
- $btn-dark-1-gradient-stop-bottom: hsl(0, 0%, 29%) !default
39
- $btn-dark-1-color: white !default
40
-
41
- $btn-dark-1-inset-bg: #3b3b3b
42
- $btn-datk-1-inset-border-top-color: hsla(0, 0%, 0%, .01)
43
- $btn-dark-1-inset-gradient-stop-top: #3b3b3b !default
44
- $btn-dark-1-inset-gradient-stop-bottom: #414141 !default
45
- $btn-dark-1-inset-color: lighten($btn-dark-1-bg, 10%)
46
-
47
- $btn-light-1-bg: hsl(208, 15%, 87%) !default
48
- $btn-light-1-gradient-stop-top: hsl(208, 15%, 87%) !default
49
- $btn-light-1-gradient-stop-bottom: hsl(210, 2%, 68%) !default
50
- $btn-light-1-color: hsl(0, 0%, 7%) !default
51
-
52
- // Tab
53
- $tab-border-color: hsla(0, 0%, 100%, .1) !default
54
-
55
- // Alerts
56
- $alert-danger-text-color: hsl(349, 57%, 53%) !default
57
-
58
- $alert-success-bg-color: hsl(131, 39%, 33%) !default
59
- $alert-success-gradient-stop-top: hsl(131, 39%, 33%) !default
60
- $alert-success-gradient-stop-bottom: hsl(123, 41%, 25%) !default
61
- $alert-success-text-color: #daeec8 !default
62
- $alert-success-border-bottom-color: hsl(123, 45%, 26%) !default
63
-
64
- $alert-default-bg-color: #c2b36c !default
65
- $alert-default-gradient-stop-top: #a38e35 !default
66
- $alert-default-gradient-stop-bottom: #a99847 !default
67
- $alert-default-text-color: white !default
68
- $alert-default-border-bottom-color: #958118 !default