neon_sakura 0.1.4 → 0.1.5
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/CHANGELOG.md +32 -1
- data/Gemfile.lock +1 -1
- data/README.md +2 -2
- data/app/assets/stylesheets/components.css +33 -0
- data/app/views/shared/icons/_file_question.html.erb +10 -6
- data/app/views/shared/icons/_history.html.erb +3 -4
- data/app/views/shared/icons/_network.html.erb +3 -3
- data/app/views/shared/icons/_store.html.erb +2 -2
- data/lib/neon_sakura/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: 3cf9aa0ac0c3eb7dffae4918ddcd9ef7d2ebcb0242e0e8601d9c290f82a12c19
|
|
4
|
+
data.tar.gz: f5939c6e5572dc937c62bb8293c85bc56f19dcd2a370f40dc1229f7da4f38a0d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3510bde44cbbeca0ab25445a5f396f132a818dfa6641ff9b18f1e5e7e5881eb832c71c2378cc8b8b79fba8753d7c549b2d52dc9a3f5a85237256aba324c5c4f7
|
|
7
|
+
data.tar.gz: a3154b53c81b234e80b80c55ddc505bec69e7144e691dc98e8c7b52fc51fa8602c67febc02500256357424732947c56e933598b8dd603626a25da6875d222388
|
data/CHANGELOG.md
CHANGED
|
@@ -7,7 +7,31 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
-
## [0.1.
|
|
10
|
+
## [0.1.5] - 2025-01-06
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
- **Icon Corrections** - Fixed 4 broken/incorrect SVG icons
|
|
14
|
+
- `file_question` - Fixed to use proper question-mark-circle icon from Heroicons
|
|
15
|
+
- `history` - Fixed duplicate/incorrect paths, now uses clean clock icon
|
|
16
|
+
- `network` - Replaced broken custom SVG with server-stack icon from Heroicons
|
|
17
|
+
- `store` - Verified and cleaned up storefront icon
|
|
18
|
+
- All icons now use consistent `css_class` parameter
|
|
19
|
+
- All icons include proper xmlns attribute
|
|
20
|
+
|
|
21
|
+
### Changed
|
|
22
|
+
- **Configuration Architecture** - Removed hardcoded dependencies
|
|
23
|
+
- Removed hardcoded `Artemis::Version` references in footer/header
|
|
24
|
+
- Added configurable `version_module` parameter to NeonSakura configuration
|
|
25
|
+
- Renamed all `artemis-*` CSS classes to generic `mc-*` (Mission Control) names
|
|
26
|
+
- Updated GitHub URLs from `artemis-search/neon_sakura` to `trex22/neon_sakura`
|
|
27
|
+
- Updated git hook comments to be project-agnostic
|
|
28
|
+
|
|
29
|
+
- **Gemspec Improvements** - Cleaner gem metadata
|
|
30
|
+
- Removed duplicate homepage_uri metadata
|
|
31
|
+
- Added bug_tracker_uri for better RubyGems integration
|
|
32
|
+
- Fixed file permissions for world-readable distribution
|
|
33
|
+
|
|
34
|
+
## [0.1.4] - 2025-01-05
|
|
11
35
|
|
|
12
36
|
### Added
|
|
13
37
|
- **Gravatar Support** - New `ProfileHelper` with `gravatar_url` method
|
|
@@ -565,4 +589,11 @@ OR
|
|
|
565
589
|
- Ensured all CSS imports work correctly in gem context
|
|
566
590
|
- Verified JavaScript components work with Propshaft asset pipeline
|
|
567
591
|
|
|
592
|
+
[0.1.5]: https://github.com/trex22/neon_sakura/releases/tag/v0.1.5
|
|
593
|
+
[0.1.4]: https://github.com/trex22/neon_sakura/releases/tag/v0.1.4
|
|
594
|
+
[0.1.3]: https://github.com/trex22/neon_sakura/releases/tag/v0.1.3
|
|
595
|
+
[0.1.2]: https://github.com/trex22/neon_sakura/releases/tag/v0.1.2
|
|
596
|
+
[0.1.1]: https://github.com/trex22/neon_sakura/releases/tag/v0.1.1
|
|
597
|
+
[0.1.0]: https://github.com/trex22/neon_sakura/releases/tag/v0.1.0
|
|
598
|
+
[0.0.2]: https://github.com/trex22/neon_sakura/releases/tag/v0.0.2
|
|
568
599
|
[0.0.1]: https://github.com/trex22/neon_sakura/releases/tag/v0.0.1
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<img src="app/assets/images/cherry_blossom.svg" alt="Neon Sakura Logo" width="1024" />
|
|
5
5
|
</p>
|
|
6
6
|
|
|
7
|
-
A gem that
|
|
7
|
+
A gem that provides styling and theming components for Rails applications with a dark-themed UI, multi-theme support, and comprehensive UI components.
|
|
8
8
|
|
|
9
9
|
## Installation
|
|
10
10
|
|
|
@@ -44,7 +44,7 @@ The gem also provides layout templates and view components:
|
|
|
44
44
|
|
|
45
45
|
- Layout templates for application and error pages
|
|
46
46
|
- SVG icon components for common UI elements
|
|
47
|
-
- Shared partials for common patterns
|
|
47
|
+
- Shared partials for common UI patterns
|
|
48
48
|
- Header and footer components for consistent page structure
|
|
49
49
|
|
|
50
50
|
### Integration
|
|
@@ -9,6 +9,39 @@ svg {
|
|
|
9
9
|
flex-shrink: 0;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
+
/* Bootstrap Card Styling - rounded corners and consistent theming */
|
|
13
|
+
.card {
|
|
14
|
+
background-color: var(--color-surface);
|
|
15
|
+
border: 1px solid var(--color-border);
|
|
16
|
+
border-radius: 0.5rem;
|
|
17
|
+
transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.card:hover {
|
|
21
|
+
border-color: color-mix(in srgb, var(--color-border) 80%, var(--color-text-muted) 20%);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.card-header {
|
|
25
|
+
background-color: var(--color-surface);
|
|
26
|
+
border-bottom: 1px solid var(--color-border);
|
|
27
|
+
border-top-left-radius: 0.5rem;
|
|
28
|
+
border-top-right-radius: 0.5rem;
|
|
29
|
+
padding: 0.75rem 1rem;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.card-body {
|
|
33
|
+
background-color: var(--color-surface);
|
|
34
|
+
padding: 1rem;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.card-footer {
|
|
38
|
+
background-color: var(--color-surface);
|
|
39
|
+
border-top: 1px solid var(--color-border);
|
|
40
|
+
border-bottom-left-radius: 0.5rem;
|
|
41
|
+
border-bottom-right-radius: 0.5rem;
|
|
42
|
+
padding: 0.75rem 1rem;
|
|
43
|
+
}
|
|
44
|
+
|
|
12
45
|
/* Default link styling - theme-aware */
|
|
13
46
|
a {
|
|
14
47
|
color: var(--color-accent);
|
|
@@ -1,6 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
<%# Icon: File Question (file with question mark) %>
|
|
2
|
+
<%# Source: https://heroicons.com/ (document-question-mark) %>
|
|
3
|
+
<svg xmlns="http://www.w3.org/2000/svg"
|
|
4
|
+
fill="none"
|
|
5
|
+
viewBox="0 0 24 24"
|
|
6
|
+
stroke-width="1.5"
|
|
7
|
+
stroke="currentColor"
|
|
8
|
+
class="<%= css_class %>">
|
|
9
|
+
<path stroke-linecap="round" stroke-linejoin="round" d="M9.879 7.519c1.171-1.025 3.071-1.025 4.242 0 1.172 1.025 1.172 2.687 0 3.712-.203.179-.43.326-.67.442-.745.361-1.45.999-1.45 1.827v.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9 5.25h.008v.008H12v-.008Z" />
|
|
10
|
+
</svg>
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
<%# Icon: History (
|
|
2
|
-
<%# Source: https://heroicons.com/ (clock
|
|
1
|
+
<%# Icon: History (clock/recent/past) %>
|
|
2
|
+
<%# Source: https://heroicons.com/ (clock) %>
|
|
3
3
|
<svg xmlns="http://www.w3.org/2000/svg"
|
|
4
4
|
fill="none"
|
|
5
5
|
viewBox="0 0 24 24"
|
|
6
6
|
stroke-width="1.5"
|
|
7
7
|
stroke="currentColor"
|
|
8
8
|
class="<%= css_class %>">
|
|
9
|
-
<path stroke-linecap="round" stroke-linejoin="round" d="M12 6v6h4.5m4.5 0a9 9 0
|
|
10
|
-
<path stroke-linecap="round" stroke-linejoin="round" d="M9 3.75H6.912a2.25 2.25 0 00-2.15 1.588L2.35 13.177a2.25 2.25 0 00-.1.661V18a2.25 2.25 0 002.25 2.25h15A2.25 2.25 0 0021.75 18v-4.162c0-.224-.034-.447-.1-.661L19.24 5.338a2.25 2.25 0 00-2.15-1.588H15M2.25 13.5h3.86a2.25 2.25 0 012.012 1.244l.256.512a2.25 2.25 0 002.013 1.244h3.218a2.25 2.25 0 002.013-1.244l.256-.512a2.25 2.25 0 012.013-1.244h3.859" />
|
|
9
|
+
<path stroke-linecap="round" stroke-linejoin="round" d="M12 6v6h4.5m4.5 0a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z" />
|
|
11
10
|
</svg>
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
<%# Icon: Network (
|
|
2
|
-
<%# Source:
|
|
1
|
+
<%# Icon: Network (server/network connections) %>
|
|
2
|
+
<%# Source: https://heroicons.com/ (server-stack) %>
|
|
3
3
|
<svg xmlns="http://www.w3.org/2000/svg"
|
|
4
4
|
fill="none"
|
|
5
5
|
viewBox="0 0 24 24"
|
|
6
6
|
stroke-width="1.5"
|
|
7
7
|
stroke="currentColor"
|
|
8
8
|
class="<%= css_class %>">
|
|
9
|
-
<path stroke-linecap="round" stroke-linejoin="round" d="
|
|
9
|
+
<path stroke-linecap="round" stroke-linejoin="round" d="M5.25 14.25h13.5m-13.5 0a3 3 0 0 1-3-3m3 3a3 3 0 1 0 0 6h13.5a3 3 0 1 0 0-6m-16.5-3a3 3 0 0 1 3-3h13.5a3 3 0 0 1 3 3m-19.5 0a4.5 4.5 0 0 1 .9-2.7L5.737 5.1a3.375 3.375 0 0 1 2.7-1.35h7.126c1.062 0 2.062.5 2.7 1.35l2.587 3.45a4.5 4.5 0 0 1 .9 2.7m0 0a3 3 0 0 1-3 3m0 3h.008v.008h-.008v-.008Zm0-6h.008v.008h-.008v-.008Zm-3 6h.008v.008h-.008v-.008Zm0-6h.008v.008h-.008v-.008Z" />
|
|
10
10
|
</svg>
|
data/lib/neon_sakura/version.rb
CHANGED