-
-
Notifications
You must be signed in to change notification settings - Fork 446
Modern Themes #704
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
Merged
Merged
Modern Themes #704
Changes from all commits
Commits
Show all changes
68 commits
Select commit
Hold shift + click to select a range
3a0594f
- Changing Result item and hotkey layout
onesounds 0c47557
Add Modern Theme
onesounds b07a437
delete margin
onesounds 7789c1c
adjust padding
onesounds c6f1a00
adjust
onesounds 53c04fd
Fix Separator
onesounds f07a009
- Add Textbox Caret Color
onesounds 4ced995
- Delete Comment
onesounds f83212a
remove itemgroup in csproj.
onesounds c227ba3
- fix for build (recovery some item group)
onesounds 3bc3563
- Rollback Classic Skins
onesounds 46917ea
but default hotkey color is not same subtitle color in classicthemes …
onesounds 3e25030
Merge branch 'ModernTheme' of https://github.com/onesounds/Flow.Launc…
onesounds 91d21a7
- Search Ico- In the theme, search icons can be inserted and styled (…
onesounds 505b4cb
fix win11light theme seperator margin
onesounds 8eba28f
- fix the theme preview in setting window
onesounds f1bfa5c
Fix Selected color in Darker.theme
onesounds 9d10b7f
Fix the White Querybox in Metro Server.theme
onesounds bb7b0cd
- Add Magnifier in Win 11 Light/Dark Theme
onesounds ecb0cac
- Add listbox clipping class for rounded corner theme.
onesounds 6a58576
- clean code
onesounds 136f227
- Fix Responsive Query Area
onesounds c89d277
- Fix Responsive Query Area
onesounds 49f00f5
- Fix List Item Margin
onesounds 8e93969
- Fix pink theme (querybox witdh)
onesounds 6048de4
- Fix Querybox Width
onesounds 6211275
- Fix Setting window preview (last item clip)
onesounds c32ae79
Merge branch 'ModernTheme' of https://github.com/onesounds/Flow.Launc…
onesounds 2b7855c
Change default Scrollbar Thumb color
onesounds 39b53d9
Change default Scrollbar Thumb color
onesounds 2144577
- Adjust Theme Preivew in setting window
onesounds 03d134d
Add sublime theme
onesounds 6e047e0
Fix Icon Image little cut #710
onesounds e7b4dd1
- Add ItemHotkeySelectedStyle Property
onesounds df3c5bf
- Add ItemHotkeySelectedStyle Property
onesounds 89f4f5d
Fix Win11Light font size
onesounds 1621f34
Fix Win11Light font size
onesounds 92f0041
Merge branch 'ModernTheme' of https://github.com/onesounds/Flow.Launc…
onesounds c1b0929
- Redesign Setting Window
onesounds 832405a
- Adjust base.xaml to match original(1.8) size for classic themes
onesounds 1c96f04
- Adjust base.xaml to match original(1.8) size for classic themes
onesounds ca179be
- Adjust Plugin Tab in setting window
onesounds ed5bd5b
Merge branch 'ModernTheme' of https://github.com/onesounds/Flow.Launc…
onesounds 4e01019
Merge branch 'ModernTheme' of https://github.com/onesounds/Flow.Launc…
onesounds d084793
Merge branch 'ModernTheme' of https://github.com/onesounds/Flow.Launc…
onesounds e201df9
- Fix Dropshadow
onesounds 6c43a48
- Add Left/Right Key for context menu.
onesounds a5534ca
Update Flow.Launcher/Converters/BorderClipConverter.cs
onesounds d1e7b4e
Update Flow.Launcher/Flow.Launcher.csproj
onesounds 1948ec5
Update Flow.Launcher/Flow.Launcher.csproj
onesounds 88a9767
- delete csproj
onesounds 10accd5
- Change value progress bar (using actual window)
onesounds d902a1e
use switch statement for Left/Right context menu logic
jjw24 e14bb23
- Merge "use switch statement for Left/Right context menu logic"
onesounds 1b1a81d
- Rollback progressbar
onesounds 12f95d1
- Fix Sperator(if it has) is not visible in the context menu or history.
onesounds 25b5f30
- Add automatically height for subtitle.
onesounds 8aaeb85
- item of *.lnk remove subtitle (for test)
onesounds 66e722b
- Change context icon to glyph in some plugin
onesounds 1149ff5
- Add Close Context menu in main window query bar
onesounds c74a2db
- Add clock in query bar (sublime theme only)
onesounds 763cab8
Revert "- Add clock in query bar (sublime theme only)"
onesounds 54145d7
revert subtitle change
jjw24 5f0df98
adjust Program plugin width
jjw24 04a10ed
add glyph option to settings
jjw24 4f19355
update wording
jjw24 1d746c2
- Fix ProgressBar (Finally!)
onesounds 42dda34
add ItemHotkeyStyle key into dictionary
jjw24 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Globalization; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
using System.Windows; | ||
using System.Windows.Data; | ||
using System.Windows.Media; | ||
using System.Windows.Documents; | ||
using System.Windows.Shapes; | ||
|
||
// For Clipping inside listbox item | ||
|
||
namespace Flow.Launcher.Converters | ||
{ | ||
public class BorderClipConverter : IMultiValueConverter | ||
{ | ||
public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture) | ||
{ | ||
if (values.Length == 3 && values[0] is double && values[1] is double && values[2] is CornerRadius) | ||
jjw24 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
{ | ||
var width = (double)values[0]; | ||
var height = (double)values[1]; | ||
Path myPath = new Path(); | ||
if (width < Double.Epsilon || height < Double.Epsilon) | ||
{ | ||
return Geometry.Empty; | ||
} | ||
var radius = (CornerRadius)values[2]; | ||
var radiusHeight = radius.TopLeft; | ||
|
||
// Drawing Round box for bottom round, and rect for top area of listbox. | ||
var corner = new RectangleGeometry(new Rect(0, 0, width, height), radius.TopLeft, radius.TopLeft); | ||
var box = new RectangleGeometry(new Rect(0, 0, width, radiusHeight), 0, 0); | ||
|
||
GeometryGroup myGeometryGroup = new GeometryGroup(); | ||
myGeometryGroup.Children.Add(corner); | ||
myGeometryGroup.Children.Add(box); | ||
|
||
CombinedGeometry c1 = new CombinedGeometry(GeometryCombineMode.Union, corner, box); | ||
myPath.Data = c1; | ||
|
||
myPath.Data.Freeze(); | ||
return myPath.Data; | ||
} | ||
|
||
return DependencyProperty.UnsetValue; | ||
} | ||
|
||
public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture) | ||
{ | ||
throw new NotSupportedException(); | ||
} | ||
} | ||
|
||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Could you provide a screenshot for people to check the effect of this change?
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.
It turned into a softer shadow. I tried to give it a feeling that is commonly used in modern Windows.