atomic_view 0.5.0 → 0.5.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/lib/atomic_view/components/tabs_component.rb +6 -1
- data/lib/atomic_view/version.rb +1 -1
- data/lib/atomic_view.rb +1 -0
- 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: d48b9aeb4fc6bd4b464ad92923bd08c91481cd07eb10784d30071e9fcc02b49f
|
|
4
|
+
data.tar.gz: 6f1d34f46f36a3633641b8a2b9b37aa2f29f314fb79fe59dd1d8406d7338fd5a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5dec3e0b86feda6b1a8d3746ad125ff105334def14e54ac091e69d1b15c0b19ddbbcd4ecfb17ed40cb0bae3a5cf4f0b3cc30e534c6bb4e6c5e76a22bb4ec5774
|
|
7
|
+
data.tar.gz: 2f58dc5ba164ba0404ed902a4bef77aac1f7d159bd524eacba657439562122434118de233097e9df60382d3790f610e534c5a4bfc200368d8d379c005e0a413f
|
|
@@ -62,8 +62,13 @@ module AtomicView
|
|
|
62
62
|
"-mb-px border-b-2 pb-3 text-sm font-semibold"
|
|
63
63
|
end
|
|
64
64
|
|
|
65
|
+
# Neutral foreground text (not `text-accent`) -- matches
|
|
66
|
+
# SegmentedControlComponent's active segment, which raises the
|
|
67
|
+
# selected option in `text-foreground` rather than an accent color.
|
|
68
|
+
# The accent only shows up in the underline, as the one colored
|
|
69
|
+
# signal of which tab is active.
|
|
65
70
|
def active_classes
|
|
66
|
-
"border-accent text-
|
|
71
|
+
"border-accent text-foreground"
|
|
67
72
|
end
|
|
68
73
|
|
|
69
74
|
def inactive_classes
|
data/lib/atomic_view/version.rb
CHANGED
data/lib/atomic_view.rb
CHANGED