From 5527ce6c9a48c7c917bd9633a075ec62ba328506 Mon Sep 17 00:00:00 2001 From: jlukic Date: Tue, 28 Jul 2015 15:38:21 -0400 Subject: [PATCH] Rename pressedTextColor var --- RELEASE-NOTES.md | 1 + src/definitions/collections/menu.less | 2 +- src/themes/default/collections/menu.variables | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/RELEASE-NOTES.md b/RELEASE-NOTES.md index 62deb1c15..1314dd3e7 100644 --- a/RELEASE-NOTES.md +++ b/RELEASE-NOTES.md @@ -17,6 +17,7 @@ - **Input** - Input now will reset `font-weight` and `font-style` if set on parent; - **Menu** - Added `flex: 0 0 auto` to menu item to make sure menu do not collapse text content to reduce space - **Menu** - Fixed issue with `labeled input` text inside menu not appearing vertically centered +- **Menu** - `@pressedItemColor` has been renamed to `@pressedItemTextColor` to match naming conventions of other variables **[Merged PR](https://github.com/Semantic-Org/Semantic-UI/issues?q=is%3Aissue+milestone%3A2.1.0+is%3Aclosed)** diff --git a/src/definitions/collections/menu.less b/src/definitions/collections/menu.less index b30a15e67..736773df9 100755 --- a/src/definitions/collections/menu.less +++ b/src/definitions/collections/menu.less @@ -417,7 +417,7 @@ .ui.menu .link.item:active, .ui.menu a.item:active { background: @pressedItemBackground; - color: @pressedItemColor; + color: @pressedItemTextColor; } diff --git a/src/themes/default/collections/menu.variables b/src/themes/default/collections/menu.variables index 9d7224f3e..dbeb746d8 100644 --- a/src/themes/default/collections/menu.variables +++ b/src/themes/default/collections/menu.variables @@ -163,7 +163,7 @@ /* Pressed Item */ @pressedItemBackground: @subtleTransparentBlack; -@pressedItemColor: @pressedTextColor; +@pressedItemTextColor: @pressedTextColor; /* Active Item */