-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature] Operative UI Style #102
Conversation
WalkthroughThe pull request introduces new entries and configurations for the HUD theme in both English and Russian locales, enhancing the user interface customization options. Specifically, it adds the Changes
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 2
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
⛔ Files ignored due to path filters (45)
Resources/Textures/_White/Interface/Operative/SlotBackground.png
is excluded by!**/*.png
Resources/Textures/_White/Interface/Operative/Slots/back.png
is excluded by!**/*.png
Resources/Textures/_White/Interface/Operative/Slots/belt.png
is excluded by!**/*.png
Resources/Textures/_White/Interface/Operative/Slots/ears.png
is excluded by!**/*.png
Resources/Textures/_White/Interface/Operative/Slots/ears_extra.png
is excluded by!**/*.png
Resources/Textures/_White/Interface/Operative/Slots/glasses.png
is excluded by!**/*.png
Resources/Textures/_White/Interface/Operative/Slots/gloves.png
is excluded by!**/*.png
Resources/Textures/_White/Interface/Operative/Slots/hand_l.png
is excluded by!**/*.png
Resources/Textures/_White/Interface/Operative/Slots/hand_l_no_letter.png
is excluded by!**/*.png
Resources/Textures/_White/Interface/Operative/Slots/hand_r.png
is excluded by!**/*.png
Resources/Textures/_White/Interface/Operative/Slots/hand_r_no_letter.png
is excluded by!**/*.png
Resources/Textures/_White/Interface/Operative/Slots/head.png
is excluded by!**/*.png
Resources/Textures/_White/Interface/Operative/Slots/id.png
is excluded by!**/*.png
Resources/Textures/_White/Interface/Operative/Slots/mask.png
is excluded by!**/*.png
Resources/Textures/_White/Interface/Operative/Slots/neck.png
is excluded by!**/*.png
Resources/Textures/_White/Interface/Operative/Slots/pocket.png
is excluded by!**/*.png
Resources/Textures/_White/Interface/Operative/Slots/shoes.png
is excluded by!**/*.png
Resources/Textures/_White/Interface/Operative/Slots/socks.png
is excluded by!**/*.png
Resources/Textures/_White/Interface/Operative/Slots/suit.png
is excluded by!**/*.png
Resources/Textures/_White/Interface/Operative/Slots/suit_storage.png
is excluded by!**/*.png
Resources/Textures/_White/Interface/Operative/Slots/toggle-alt.png
is excluded by!**/*.png
Resources/Textures/_White/Interface/Operative/Slots/toggle.png
is excluded by!**/*.png
Resources/Textures/_White/Interface/Operative/Slots/underwearb.png
is excluded by!**/*.png
Resources/Textures/_White/Interface/Operative/Slots/underweart.png
is excluded by!**/*.png
Resources/Textures/_White/Interface/Operative/Slots/uniform.png
is excluded by!**/*.png
Resources/Textures/_White/Interface/Operative/Slots/web.png
is excluded by!**/*.png
Resources/Textures/_White/Interface/Operative/Slots/wrists.png
is excluded by!**/*.png
Resources/Textures/_White/Interface/Operative/Storage/piece_bottom.png
is excluded by!**/*.png
Resources/Textures/_White/Interface/Operative/Storage/piece_bottomLeft.png
is excluded by!**/*.png
Resources/Textures/_White/Interface/Operative/Storage/piece_bottomRight.png
is excluded by!**/*.png
Resources/Textures/_White/Interface/Operative/Storage/piece_center.png
is excluded by!**/*.png
Resources/Textures/_White/Interface/Operative/Storage/piece_left.png
is excluded by!**/*.png
Resources/Textures/_White/Interface/Operative/Storage/piece_right.png
is excluded by!**/*.png
Resources/Textures/_White/Interface/Operative/Storage/piece_top.png
is excluded by!**/*.png
Resources/Textures/_White/Interface/Operative/Storage/piece_topLeft.png
is excluded by!**/*.png
Resources/Textures/_White/Interface/Operative/Storage/piece_topRight.png
is excluded by!**/*.png
Resources/Textures/_White/Interface/Operative/Storage/sidebar_bottom.png
is excluded by!**/*.png
Resources/Textures/_White/Interface/Operative/Storage/sidebar_mid.png
is excluded by!**/*.png
Resources/Textures/_White/Interface/Operative/Storage/sidebar_top.png
is excluded by!**/*.png
Resources/Textures/_White/Interface/Operative/Storage/tile_blocked.png
is excluded by!**/*.png
Resources/Textures/_White/Interface/Operative/Storage/tile_blocked_opaque.png
is excluded by!**/*.png
Resources/Textures/_White/Interface/Operative/Storage/tile_empty.png
is excluded by!**/*.png
Resources/Textures/_White/Interface/Operative/Storage/tile_empty_opaque.png
is excluded by!**/*.png
Resources/Textures/_White/Interface/Operative/slot_highlight.png
is excluded by!**/*.png
Resources/Textures/_White/Interface/Operative/template_small.png
is excluded by!**/*.png
📒 Files selected for processing (4)
- Resources/Locale/en-US/_white/escape-menu/ui/options.ftl (1 hunks)
- Resources/Locale/ru-RU/_white/escape-menu/ui/options.ftl (1 hunks)
- Resources/Prototypes/_White/hud.yml (1 hunks)
- Resources/Prototypes/_White/themes.yml (1 hunks)
✅ Files skipped from review due to trivial changes (2)
- Resources/Locale/en-US/_white/escape-menu/ui/options.ftl
- Resources/Locale/ru-RU/_white/escape-menu/ui/options.ftl
🔇 Additional comments (3)
Resources/Prototypes/_White/hud.yml (1)
5-5
: Verify theme ordering.The order value of 7 suggests this theme will be displayed after other themes in the UI. Please ensure this ordering aligns with the intended position in the theme selection dropdown.
Let's check other theme orders to confirm proper positioning:
✅ Verification successful
Order value 7 is correctly positioned as the last theme in sequence
Based on the search results, the theme ordering is consistent:
- Minimalist (order: 1)
- Slimecore (order: 2)
- Plasmafire (order: 3)
- Clockwork (order: 4)
- Ashen (order: 5)
- Retro (order: 6)
- Operative (order: 7)
The order value of 7 for the Operative theme appropriately places it as the last item in the theme selection dropdown.
🏁 Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Check ordering of all HUD themes # Test: Extract all hudTheme entries with their order values rg -U "type: hudTheme\n.*\n.*\n.*\n.*order: \d+" --multilineLength of output: 1892
Resources/Prototypes/_White/themes.yml (2)
1-3
: LGTM! Theme configuration follows the standard format.The theme configuration is well-structured with proper type definition, unique identifier, and correct resource path format.
5-14
: Verify color contrast ratios for accessibility.While the color choices appear intentional, it's important to ensure they meet WCAG accessibility guidelines for contrast ratios, particularly for text colors:
whiteText: "#FFF5EE"
should have sufficient contrast against background colorsslotText: "#333850"
might need verification againstslotColor: "#0f1215"
Описание PR
Sigma UI style
Медиа
Содержание
(у меня монитор не вмещает 100% масштаб)
Изменения
🆑 PuroSlavKing