tramway 2.2.1 → 2.2.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/assets/javascripts/tramway/table_row_preview_controller.js +3 -5
- data/app/components/tailwind_component.rb +10 -15
- data/app/components/tailwinds/back_button_component.rb +2 -2
- data/app/components/tailwinds/badge_component.rb +1 -2
- data/app/components/tailwinds/button_component.rb +2 -3
- data/app/components/tailwinds/containers/main_component.rb +1 -1
- data/app/components/tailwinds/containers/narrow_component.rb +1 -1
- data/app/components/tailwinds/form/multiselect/dropdown_container.rb +1 -1
- data/app/components/tailwinds/form/multiselect/item_container.rb +4 -5
- data/app/components/tailwinds/form/multiselect/select_as_input.rb +2 -2
- data/app/components/tailwinds/form/multiselect/selected_item_template.rb +1 -2
- data/app/components/tailwinds/form/multiselect_component.rb +3 -5
- data/app/components/tailwinds/nav/item_component.rb +1 -2
- data/app/components/tailwinds/navbar_component.rb +4 -5
- data/app/components/tailwinds/pagination/base.rb +2 -2
- data/app/components/tailwinds/pagination/gap_component.html.haml +1 -1
- data/app/components/tailwinds/pagination/gap_component.rb +1 -1
- data/app/components/tailwinds/pagination/page_component.rb +1 -2
- data/app/components/tailwinds/table/cell_component.rb +1 -2
- data/app/components/tailwinds/table/header_component.rb +1 -2
- data/app/components/tailwinds/table/row_component.rb +4 -6
- data/app/components/tailwinds/table_component.rb +1 -1
- data/app/components/tailwinds/title_component.rb +1 -1
- data/config/tailwind.config.js +37 -18
- data/lib/tramway/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d5340c2d99f2c8a3bb262cd939c3a96e19f9ddbd45d2df354896709d4eaf106b
|
|
4
|
+
data.tar.gz: 7f5b801f6e4991efb47fd99a15ff7a1e9502fed1fb7d4dbd402be77c770a3408
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4beda40cd25ea87d274c86daada9938ad3036c21855c1f703be0fcdaa4ae45cef277fdec9cb5e1ec20183f4c045f79714ca375e43687cb666eda5ba0b840de4e
|
|
7
|
+
data.tar.gz: 04dad79a2e722cbf7189ef5bab6d7579db5b47d948db8d4f996ffc24f51204b23ff1158d3f195d63c26c630ddf1615f08a10d4bb29ecfab5ca508cf3f5d67ad2
|
|
@@ -59,10 +59,8 @@ export default class TableRowPreview extends Controller {
|
|
|
59
59
|
createTableRow(key, value) {
|
|
60
60
|
const keyRow = document.createElement("div");
|
|
61
61
|
keyRow.classList.add("div-table-row");
|
|
62
|
-
keyRow.classList.add("bg-
|
|
63
|
-
keyRow.classList.add("text-
|
|
64
|
-
keyRow.classList.add("dark:text-white");
|
|
65
|
-
keyRow.classList.add("dark:bg-gray-700");
|
|
62
|
+
keyRow.classList.add("bg-gray-700");
|
|
63
|
+
keyRow.classList.add("text-white");
|
|
66
64
|
keyRow.classList.add("px-2");
|
|
67
65
|
keyRow.classList.add("py-1");
|
|
68
66
|
keyRow.classList.add("text-xs");
|
|
@@ -71,7 +69,7 @@ export default class TableRowPreview extends Controller {
|
|
|
71
69
|
|
|
72
70
|
const valueRow = document.createElement("div");
|
|
73
71
|
valueRow.classList.add("div-table-row");
|
|
74
|
-
valueRow.classList.add("
|
|
72
|
+
valueRow.classList.add("bg-gray-800");
|
|
75
73
|
valueRow.classList.add("px-2");
|
|
76
74
|
valueRow.classList.add("py-2");
|
|
77
75
|
valueRow.textContent = value;
|
|
@@ -40,41 +40,36 @@ class TailwindComponent < Tramway::BaseComponent
|
|
|
40
40
|
|
|
41
41
|
def text_input_base_classes
|
|
42
42
|
theme_classes(
|
|
43
|
-
classic: 'w-full rounded-xl border border-gray-
|
|
44
|
-
'focus:outline-none focus:ring-2 focus:ring-gray-
|
|
45
|
-
'dark:bg-gray-900 dark:border-gray-700 dark:text-gray-100 dark:placeholder-gray-500 ' \
|
|
46
|
-
'dark:focus:ring-gray-600'
|
|
43
|
+
classic: 'w-full rounded-xl border border-gray-700 bg-gray-900 text-gray-100 shadow-inner ' \
|
|
44
|
+
'focus:outline-none focus:ring-2 focus:ring-gray-600 placeholder-gray-500'
|
|
47
45
|
)
|
|
48
46
|
end
|
|
49
47
|
|
|
50
48
|
def select_base_classes
|
|
51
49
|
theme_classes(
|
|
52
|
-
classic: 'w-full rounded-xl border border-gray-
|
|
53
|
-
'focus:outline-none focus:ring-2 focus:ring-gray-
|
|
54
|
-
'disabled:bg-gray-
|
|
55
|
-
'dark:text-gray-100 dark:focus:ring-gray-600 dark:disabled:bg-gray-800 ' \
|
|
56
|
-
'dark:disabled:text-gray-500'
|
|
50
|
+
classic: 'w-full rounded-xl border border-gray-700 bg-gray-900 text-gray-100 shadow-inner ' \
|
|
51
|
+
'focus:outline-none focus:ring-2 focus:ring-gray-600 disabled:cursor-not-allowed ' \
|
|
52
|
+
'disabled:bg-gray-800 disabled:text-gray-500'
|
|
57
53
|
)
|
|
58
54
|
end
|
|
59
55
|
|
|
60
56
|
def file_button_base_classes
|
|
61
57
|
theme_classes(
|
|
62
|
-
classic: 'inline-block text-blue-
|
|
63
|
-
'hover:bg-blue-
|
|
58
|
+
classic: 'inline-block text-blue-100 font-semibold rounded-xl cursor-pointer mt-4 bg-blue-900 ' \
|
|
59
|
+
'hover:bg-blue-800 shadow-md'
|
|
64
60
|
)
|
|
65
61
|
end
|
|
66
62
|
|
|
67
63
|
def submit_button_base_classes
|
|
68
64
|
theme_classes(
|
|
69
|
-
classic: 'font-semibold rounded-xl focus:outline-none focus:ring-2 focus:ring-red-
|
|
70
|
-
'bg-green-
|
|
71
|
-
'dark:hover:bg-green-800 dark:focus:ring-red-700'
|
|
65
|
+
classic: 'font-semibold rounded-xl focus:outline-none focus:ring-2 focus:ring-red-700 cursor-pointer ' \
|
|
66
|
+
'bg-green-900 hover:bg-green-800 shadow-md'
|
|
72
67
|
)
|
|
73
68
|
end
|
|
74
69
|
|
|
75
70
|
def form_label_classes
|
|
76
71
|
theme_classes(
|
|
77
|
-
classic: 'block text-sm font-semibold mb-2 text-gray-
|
|
72
|
+
classic: 'block text-sm font-semibold mb-2 text-gray-200'
|
|
78
73
|
)
|
|
79
74
|
end
|
|
80
75
|
|
|
@@ -5,8 +5,8 @@ module Tailwinds
|
|
|
5
5
|
class BackButtonComponent < BaseComponent
|
|
6
6
|
def back_button_classes
|
|
7
7
|
theme_classes(
|
|
8
|
-
classic: 'btn btn-delete bg-orange-
|
|
9
|
-
'rounded-xl ml-2 shadow-md
|
|
8
|
+
classic: 'btn btn-delete bg-orange-400 hover:bg-orange-200 text-white font-semibold py-2 px-4 ' \
|
|
9
|
+
'rounded-xl ml-2 shadow-md'
|
|
10
10
|
)
|
|
11
11
|
end
|
|
12
12
|
end
|
|
@@ -12,8 +12,7 @@ module Tailwinds
|
|
|
12
12
|
theme_classes(
|
|
13
13
|
classic: [
|
|
14
14
|
'flex', 'px-3', 'py-1', 'text-sm', 'font-semibold', 'rounded-full', 'w-fit', 'h-fit',
|
|
15
|
-
"bg-#{resolved_color}-
|
|
16
|
-
"dark:bg-#{resolved_color}-700", "dark:text-#{resolved_color}-100"
|
|
15
|
+
"bg-#{resolved_color}-700", "text-#{resolved_color}-100", 'shadow-md'
|
|
17
16
|
]
|
|
18
17
|
)
|
|
19
18
|
end
|
|
@@ -39,11 +39,10 @@ module Tailwinds
|
|
|
39
39
|
|
|
40
40
|
def color_classes
|
|
41
41
|
if disabled?
|
|
42
|
-
%w[bg-gray-
|
|
42
|
+
%w[bg-gray-800 text-gray-500 shadow-inner]
|
|
43
43
|
else
|
|
44
44
|
[
|
|
45
|
-
"bg-#{resolved_color}-
|
|
46
|
-
"dark:bg-#{resolved_color}-700", "dark:hover:bg-#{resolved_color}-600", "dark:text-#{resolved_color}-100"
|
|
45
|
+
"bg-#{resolved_color}-700", "hover:bg-#{resolved_color}-800", 'text-white'
|
|
47
46
|
]
|
|
48
47
|
end => classes_collection
|
|
49
48
|
|
|
@@ -10,7 +10,7 @@ module Tailwinds
|
|
|
10
10
|
def container_classes
|
|
11
11
|
theme_classes(
|
|
12
12
|
classic: 'container p-4 flex align-center justify-center w-full mx-auto bg-gray-100 text-gray-700 ' \
|
|
13
|
-
'shadow-inner rounded-xl
|
|
13
|
+
'shadow-inner rounded-xl bg-gray-900 text-gray-100'
|
|
14
14
|
)
|
|
15
15
|
end
|
|
16
16
|
end
|
|
@@ -8,7 +8,7 @@ module Tailwinds
|
|
|
8
8
|
def dropdown_classes
|
|
9
9
|
theme_classes(
|
|
10
10
|
classic: 'absolute shadow top-11 z-40 w-full lef-0 rounded-xl max-h-select overflow-y-auto ' \
|
|
11
|
-
'bg-gray-
|
|
11
|
+
'bg-gray-900 shadow-md ring-1 ring-gray-700'
|
|
12
12
|
)
|
|
13
13
|
end
|
|
14
14
|
end
|
|
@@ -7,22 +7,21 @@ module Tailwinds
|
|
|
7
7
|
class ItemContainer < Tramway::BaseComponent
|
|
8
8
|
def item_classes
|
|
9
9
|
theme_classes(
|
|
10
|
-
classic: 'cursor-pointer w-full rounded-xl border-b border-gray-
|
|
11
|
-
'hover:bg-gray-
|
|
12
|
-
'dark:hover:bg-gray-800'
|
|
10
|
+
classic: 'cursor-pointer w-full rounded-xl border-b border-gray-700 bg-gray-900 ' \
|
|
11
|
+
'hover:bg-gray-800 shadow-inner'
|
|
13
12
|
)
|
|
14
13
|
end
|
|
15
14
|
|
|
16
15
|
def item_inner_classes
|
|
17
16
|
theme_classes(
|
|
18
17
|
classic: 'flex w-full items-center p-2 pl-2 border-transparent border-l-2 relative ' \
|
|
19
|
-
'hover:border-gray-
|
|
18
|
+
'hover:border-gray-600'
|
|
20
19
|
)
|
|
21
20
|
end
|
|
22
21
|
|
|
23
22
|
def item_text_classes
|
|
24
23
|
theme_classes(
|
|
25
|
-
classic: 'w-full items-center flex text-gray-
|
|
24
|
+
classic: 'w-full items-center flex text-gray-100'
|
|
26
25
|
)
|
|
27
26
|
end
|
|
28
27
|
end
|
|
@@ -12,8 +12,8 @@ module Tailwinds
|
|
|
12
12
|
|
|
13
13
|
def base_classes
|
|
14
14
|
theme_classes(
|
|
15
|
-
classic: 'bg-transparent appearance-none outline-none h-full w-full hidden text-gray-
|
|
16
|
-
'placeholder-gray-
|
|
15
|
+
classic: 'bg-transparent appearance-none outline-none h-full w-full hidden text-gray-100 ' \
|
|
16
|
+
'placeholder-gray-500'
|
|
17
17
|
)
|
|
18
18
|
end
|
|
19
19
|
end
|
|
@@ -8,8 +8,7 @@ module Tailwinds
|
|
|
8
8
|
def selected_item_classes
|
|
9
9
|
theme_classes(
|
|
10
10
|
classic: 'flex justify-center items-center m-1 font-medium py-1 px-2 rounded-full border ' \
|
|
11
|
-
'bg-teal-
|
|
12
|
-
'dark:text-teal-100 dark:border-teal-700'
|
|
11
|
+
'bg-teal-900 text-teal-100 border-teal-700 shadow-md'
|
|
13
12
|
)
|
|
14
13
|
end
|
|
15
14
|
end
|
|
@@ -28,21 +28,19 @@ module Tailwinds
|
|
|
28
28
|
|
|
29
29
|
def wrapper_classes
|
|
30
30
|
theme_classes(
|
|
31
|
-
classic: 'flex flex-col relative text-gray-
|
|
31
|
+
classic: 'flex flex-col relative text-gray-200'
|
|
32
32
|
)
|
|
33
33
|
end
|
|
34
34
|
|
|
35
35
|
def dropdown_classes
|
|
36
36
|
theme_classes(
|
|
37
|
-
classic: 'p-1 flex border rounded-xl border-gray-
|
|
38
|
-
'dark:bg-gray-900 dark:border-gray-700'
|
|
37
|
+
classic: 'p-1 flex border rounded-xl border-gray-700 bg-gray-900 shadow-inner'
|
|
39
38
|
)
|
|
40
39
|
end
|
|
41
40
|
|
|
42
41
|
def dropdown_indicator_classes
|
|
43
42
|
theme_classes(
|
|
44
|
-
classic: 'w-8 py-1 pl-2 pr-1 border-l flex items-center text-gray-
|
|
45
|
-
'dark:text-gray-500 dark:border-gray-700'
|
|
43
|
+
classic: 'w-8 py-1 pl-2 pr-1 border-l flex items-center text-gray-500 border-gray-700'
|
|
46
44
|
)
|
|
47
45
|
end
|
|
48
46
|
|
|
@@ -8,8 +8,7 @@ module Tailwinds
|
|
|
8
8
|
def style
|
|
9
9
|
@style ||= [
|
|
10
10
|
theme_classes(
|
|
11
|
-
classic: 'px-4 py-2 rounded-xl whitespace-nowrap hover:bg-gray-
|
|
12
|
-
'dark:text-gray-200 dark:hover:bg-gray-800 dark:hover:text-gray-300'
|
|
11
|
+
classic: 'px-4 py-2 rounded-xl whitespace-nowrap hover:bg-gray-800 hover:text-gray-300 text-white'
|
|
13
12
|
)
|
|
14
13
|
].join(' ')
|
|
15
14
|
end
|
|
@@ -11,26 +11,25 @@ module Tailwinds
|
|
|
11
11
|
|
|
12
12
|
def navbar_classes
|
|
13
13
|
theme_classes(
|
|
14
|
-
classic: 'py-2 px-4 sm:px-8 flex justify-between items-center bg-gray-
|
|
15
|
-
'dark:bg-gray-900'
|
|
14
|
+
classic: 'py-2 px-4 sm:px-8 flex justify-between items-center bg-gray-900 shadow-md'
|
|
16
15
|
)
|
|
17
16
|
end
|
|
18
17
|
|
|
19
18
|
def title_classes
|
|
20
19
|
theme_classes(
|
|
21
|
-
classic: 'text-xl font-semibold text-gray-
|
|
20
|
+
classic: 'text-xl font-semibold text-gray-100'
|
|
22
21
|
)
|
|
23
22
|
end
|
|
24
23
|
|
|
25
24
|
def mobile_button_classes
|
|
26
25
|
theme_classes(
|
|
27
|
-
classic: 'text-gray-
|
|
26
|
+
classic: 'text-gray-200 focus:outline-none'
|
|
28
27
|
)
|
|
29
28
|
end
|
|
30
29
|
|
|
31
30
|
def mobile_menu_classes
|
|
32
31
|
theme_classes(
|
|
33
|
-
classic: 'hidden flex-col sm:hidden bg-gray-
|
|
32
|
+
classic: 'hidden flex-col sm:hidden bg-gray-900 shadow-inner'
|
|
34
33
|
)
|
|
35
34
|
end
|
|
36
35
|
end
|
|
@@ -11,8 +11,8 @@ module Tailwinds
|
|
|
11
11
|
def pagination_classes(klass: nil)
|
|
12
12
|
default_classes = theme_classes(
|
|
13
13
|
classic: [
|
|
14
|
-
'cursor-pointer', 'px-3', 'py-2', 'font-medium', 'rounded-xl', 'text-gray-
|
|
15
|
-
'shadow-md', 'hover:bg-gray-
|
|
14
|
+
'cursor-pointer', 'px-3', 'py-2', 'font-medium', 'rounded-xl', 'text-gray-200', 'bg-gray-800',
|
|
15
|
+
'shadow-md', 'hover:bg-gray-700'
|
|
16
16
|
]
|
|
17
17
|
)
|
|
18
18
|
|
|
@@ -6,7 +6,7 @@ module Tailwinds
|
|
|
6
6
|
class GapComponent < Tramway::BaseComponent
|
|
7
7
|
def gap_classes
|
|
8
8
|
theme_classes(
|
|
9
|
-
classic: 'page gap px-3 py-2 text-sm font-medium text-gray-
|
|
9
|
+
classic: 'page gap px-3 py-2 text-sm font-medium text-gray-400 sm:flex hidden'
|
|
10
10
|
)
|
|
11
11
|
end
|
|
12
12
|
end
|
|
@@ -8,8 +8,7 @@ module Tailwinds
|
|
|
8
8
|
|
|
9
9
|
def current_page_classes
|
|
10
10
|
theme_classes(
|
|
11
|
-
classic: 'px-3 py-2 font-medium rounded-xl text-gray-
|
|
12
|
-
'dark:bg-gray-700 dark:text-gray-100'
|
|
11
|
+
classic: 'px-3 py-2 font-medium rounded-xl text-gray-100 bg-gray-700 shadow-inner'
|
|
13
12
|
)
|
|
14
13
|
end
|
|
15
14
|
end
|
|
@@ -6,8 +6,7 @@ module Tailwinds
|
|
|
6
6
|
class CellComponent < Tramway::BaseComponent
|
|
7
7
|
def cell_classes
|
|
8
8
|
theme_classes(
|
|
9
|
-
classic: 'div-table-cell md:block first:block hidden px-6 py-4 font-medium text-gray-
|
|
10
|
-
'dark:text-gray-100'
|
|
9
|
+
classic: 'div-table-cell md:block first:block hidden px-6 py-4 font-medium text-gray-100 text-base'
|
|
11
10
|
)
|
|
12
11
|
end
|
|
13
12
|
|
|
@@ -13,8 +13,7 @@ module Tailwinds
|
|
|
13
13
|
|
|
14
14
|
def header_row_classes
|
|
15
15
|
theme_classes(
|
|
16
|
-
classic: 'div-table-row grid text-small gap-4 bg-gray-
|
|
17
|
-
'dark:bg-gray-800 dark:text-gray-300'
|
|
16
|
+
classic: 'div-table-row grid text-small gap-4 bg-gray-800 text-gray-500 grid-cols-1'
|
|
18
17
|
)
|
|
19
18
|
end
|
|
20
19
|
|
|
@@ -27,23 +27,21 @@ module Tailwinds
|
|
|
27
27
|
def desktop_row_classes(cells_count)
|
|
28
28
|
theme_classes(
|
|
29
29
|
classic: [
|
|
30
|
-
'div-table-row', 'grid', 'gap-4', 'border-b', 'last:border-b-0', 'bg-gray-
|
|
31
|
-
'border-gray-
|
|
32
|
-
'dark:bg-gray-900', 'dark:border-gray-700'
|
|
30
|
+
'div-table-row', 'grid', 'gap-4', 'border-b', 'last:border-b-0', 'bg-gray-900',
|
|
31
|
+
'border-gray-700', "md:grid-cols-#{cells_count}", 'grid-cols-1'
|
|
33
32
|
]
|
|
34
33
|
).join(' ')
|
|
35
34
|
end
|
|
36
35
|
|
|
37
36
|
def link_row_classes
|
|
38
37
|
theme_classes(
|
|
39
|
-
classic: 'cursor-pointer hover:bg-gray-
|
|
38
|
+
classic: 'cursor-pointer hover:bg-gray-800'
|
|
40
39
|
)
|
|
41
40
|
end
|
|
42
41
|
|
|
43
42
|
def cell_classes
|
|
44
43
|
theme_classes(
|
|
45
|
-
classic: 'div-table-cell px-6 py-4 font-medium text-gray-
|
|
46
|
-
'dark:text-gray-100'
|
|
44
|
+
classic: 'div-table-cell px-6 py-4 font-medium text-gray-100 text-xs sm:text-base'
|
|
47
45
|
)
|
|
48
46
|
end
|
|
49
47
|
end
|
data/config/tailwind.config.js
CHANGED
|
@@ -118,46 +118,62 @@ module.exports = {
|
|
|
118
118
|
'h-12',
|
|
119
119
|
|
|
120
120
|
// === Button color presets ===
|
|
121
|
-
'bg-
|
|
122
|
-
'bg-
|
|
123
|
-
'bg-
|
|
124
|
-
'bg-
|
|
125
|
-
'hover:bg-
|
|
126
|
-
'hover:bg-
|
|
121
|
+
'bg-green-100',
|
|
122
|
+
'bg-green-200',
|
|
123
|
+
'bg-green-700',
|
|
124
|
+
'hover:bg-green-200',
|
|
125
|
+
'hover:bg-green-300',
|
|
126
|
+
'hover:bg-green-800',
|
|
127
|
+
|
|
128
|
+
'bg-red-100',
|
|
129
|
+
'bg-red-200',
|
|
130
|
+
'bg-red-700',
|
|
131
|
+
'hover:bg-red-200',
|
|
132
|
+
'hover:bg-red-300',
|
|
133
|
+
'hover:bg-red-800',
|
|
127
134
|
|
|
128
135
|
'bg-blue-100',
|
|
129
136
|
'bg-blue-200',
|
|
137
|
+
'bg-blue-700',
|
|
130
138
|
'hover:bg-blue-200',
|
|
131
139
|
'hover:bg-blue-300',
|
|
132
|
-
|
|
133
|
-
'bg-zinc-100',
|
|
134
|
-
'bg-zinc-200',
|
|
135
|
-
'hover:bg-zinc-300',
|
|
136
|
-
|
|
137
|
-
'bg-green-100',
|
|
138
|
-
'bg-green-200',
|
|
139
|
-
'hover:bg-green-300',
|
|
140
|
+
'hover:bg-blue-800',
|
|
140
141
|
|
|
141
142
|
'bg-orange-100',
|
|
142
143
|
'bg-orange-200',
|
|
144
|
+
'bg-orange-700',
|
|
145
|
+
'hover:bg-orange-200',
|
|
143
146
|
'hover:bg-orange-300',
|
|
147
|
+
'hover:bg-orange-800',
|
|
144
148
|
|
|
145
|
-
'bg-
|
|
146
|
-
'bg-
|
|
147
|
-
'
|
|
148
|
-
'hover:bg-
|
|
149
|
+
'bg-zinc-100',
|
|
150
|
+
'bg-zinc-200',
|
|
151
|
+
'bg-zinc-700',
|
|
152
|
+
'hover:bg-zinc-200',
|
|
153
|
+
'hover:bg-zinc-300',
|
|
154
|
+
'hover:bg-zinc-800',
|
|
149
155
|
|
|
150
156
|
'bg-violet-100',
|
|
151
157
|
'bg-violet-200',
|
|
158
|
+
'bg-violet-700',
|
|
159
|
+
'hover:bg-violet-200',
|
|
152
160
|
'hover:bg-violet-300',
|
|
161
|
+
'hover:bg-violet-800',
|
|
153
162
|
|
|
154
163
|
'bg-indigo-100',
|
|
155
164
|
'bg-indigo-200',
|
|
165
|
+
'bg-indigo-700',
|
|
166
|
+
'hover:bg-indigo-200',
|
|
156
167
|
'hover:bg-indigo-300',
|
|
168
|
+
'hover:bg-indigo-800',
|
|
157
169
|
|
|
158
170
|
'bg-yellow-100',
|
|
159
171
|
'bg-yellow-200',
|
|
172
|
+
'bg-yellow-700',
|
|
173
|
+
'hover:bg-yellow-200',
|
|
160
174
|
'hover:bg-yellow-300',
|
|
175
|
+
'hover:bg-yellow-800',
|
|
176
|
+
|
|
161
177
|
'bg-teal-100',
|
|
162
178
|
'bg-teal-900',
|
|
163
179
|
'bg-purple-300',
|
|
@@ -165,6 +181,9 @@ module.exports = {
|
|
|
165
181
|
|
|
166
182
|
// === Button Disabled state ===
|
|
167
183
|
'bg-gray-200',
|
|
184
|
+
'text-gray-100',
|
|
185
|
+
'text-gray-200',
|
|
186
|
+
'text-gray-300',
|
|
168
187
|
'text-gray-400',
|
|
169
188
|
'text-gray-500',
|
|
170
189
|
'text-gray-700',
|
data/lib/tramway/version.rb
CHANGED