promotional bannermobile promotional banner

Dark Mode

Dark Mode & UI Refinements

File Details

DarkMode_v1.3.zip

  • R
  • Mar 11, 2026
  • 73.99 KB
  • 19
  • 12.0.1
  • Retail

File Name

DarkMode_v1.3.zip

Supported Versions

  • 12.0.1
## [1.3] - 2026-03-11
### Changed
- Addon renamed from "Daste Tweaks" to "Dark Mode by daste" — updated title in TOC, all in-game UI panels, minimap tooltip, settings category, slash commands (`/dastetweaks` → `/darkmode`, `/dt` → `/dm`), SavedVariables global (`DasteTweaksDB` → `DarkModeDB`), and all internal frame/object identifiers

### Fixed
- Tooltip border darkening now reacts in real time to slider changes — the `OnShow` hook was capturing the color value at registration time (stale closure); moved tooltip logic to module scope so the hook always reads the live value from `NS.db`
- Added `EmbeddedItemTooltip` to the tooltip darkening list — covers item tooltips embedded in map reward frames, quest frames, and similar popups that were previously unaffected


### Added
- Embedded LibStub, LibDataBroker-1.1, and LibDBIcon-1.0 directly into the addon — minimap icon now works without any other addon providing these libraries
- Minimap button: Left-click opens options, Shift+Left-click reloads UI, Right-click reapplies dark borders
- Minimap button icon positioned on the edge of the minimap with dynamic radius calculation
- Minimap border overlay alignment corrected (`-1, 2` offset)
- Built-in Blizzard statusbar textures in PRD bar texture selector (Blizzard, Raid Bar, Solid) — no longer requires LibSharedMedia to have textures available
- Texture dropdown gracefully falls back to "Original" when a saved texture (e.g. from LibSharedMedia) is no longer available, and resets brightness to 100% automatically
- Global darken override auto-unticks when any individual module control is changed manually

### Changed
- "Visibility" options tab renamed to "Misc" and moved to last position in tab order
- UI Elements section in Darkening tab redistributed to 4 left / 3 right column layout
- General tab intro text updated to reflect correct tab order
- Default PRD bar texture changed from `lsm:Solid` to `Original` so brightness defaults correctly to 100%
- Slash command short alias corrected to `/dm` (previously `/dt`)

### Fixed
- Resource Bar tab: gradient swatch mutex bug — both `gradSwatchFrame` and `gradSwatchBtn` could become visible simultaneously; fixed by re-applying swatch mode after bulk widget show
- Dropdown scroll speed reduced from 3 rows/tick to 1 row/tick to prevent skipping entries
- Main options window scroll step overridden to 20px for consistent feel
- End cap and timer slider lo/hi labels now correctly dim when the slider is disabled
- Darkening tab: individual module controls' check-text alpha now correctly respects the checked state when re-enabled
- Tab selection highlight no longer persists incorrectly on panel re-open (removed stray `PanelTemplates_DeselectTab` call from `OnShow`)
- Tooltip border darkening rewritten to match other modules: uses `desaturate=true` and 0.3 default, only affects the 8 NineSlice border pieces — background and center pieces are no longer touched
- Brightness slider auto-resets to 100% when switching away from a solid/flat texture

## [1.1] - 2026-03-10
### Added
- In-game options panel accessible via `/darkmode` or `/dm`, or ESC > Interface > AddOns > Dark Mode by daste