Skip to content

Instantly share code, notes, and snippets.

@OmarNamis
Created July 16, 2021 13:03
Show Gist options
  • Save OmarNamis/cbf0378e0e2d8290922615b3a9811ee0 to your computer and use it in GitHub Desktop.
Save OmarNamis/cbf0378e0e2d8290922615b3a9811ee0 to your computer and use it in GitHub Desktop.
Dark Gray theme for Ditto Clipboard
<Ditto_Theme_File Version = "3" Author = "Omar Namis" Notes = "https://github.com/OmarNamis">
<CaptionLeft>RGB(25, 25, 25)</CaptionLeft>
<CaptionRight>RGB(25, 25, 25)</CaptionRight>
<CaptionLeftTopMost>RGB(25, 25, 25)</CaptionLeftTopMost>
<CaptionRightTopMost>RGB(25, 25, 25)</CaptionRightTopMost>
<CaptionLeftNotConnected>RGB(255, 255, 0)</CaptionLeftNotConnected>
<CaptionRightNotConnected>RGB(218, 255, 127)</CaptionRightNotConnected>
<CaptionTextColor>RGB(251, 251, 254)</CaptionTextColor>
<ListBoxOddRowsBG>RGB(48, 48, 48)</ListBoxOddRowsBG>
<ListBoxEvenRowsBG>RGB(32, 32, 32)</ListBoxEvenRowsBG>
<ListBoxOddRowsText>RGB(180, 192, 185)</ListBoxOddRowsText>
<ListBoxEvenRowsText>RGB(180, 192, 185)</ListBoxEvenRowsText>
<ListBoxSelectedBG>RGB(79, 79, 79)</ListBoxSelectedBG>
<ListBoxSelectedNoFocusBG>RGB(79, 79, 79)</ListBoxSelectedNoFocusBG>
<ListBoxSelectedText>RGB(251, 251, 254)</ListBoxSelectedText>
<ListBoxSelectedNoFocusText>RGB(251, 251, 254)</ListBoxSelectedNoFocusText>
<Border>RGB(25, 25, 25)</Border>
<BorderTopMost>RGB(25, 25, 25)</BorderTopMost>
<BorderNotConnected>RGB(255, 0, 0)</BorderNotConnected>
<GroupTreeBG>RGB(25, 25, 25)</GroupTreeBG>
<GroupTreeText>RGB(153, 153, 153)</GroupTreeText>
<CaptionSize></CaptionSize>
<CaptionFontSize></CaptionFontSize>
<DescriptionWindowBG>RGB(30, 30, 30)</DescriptionWindowBG>
<DescriptionWindowText>RGB(180, 192, 185)</DescriptionWindowText>
<MainWindowBG>RGB(25, 25, 25)</MainWindowBG>
<ClipPastedColor>RGB(25, 100, 230)</ClipPastedColor>
<SearchTextBoxFocusBG>RGB(24, 24, 24)</SearchTextBoxFocusBG>
<SearchTextBoxFocusText>RGB(127, 127, 127)</SearchTextBoxFocusText>
<SearchTextBoxFocusBorder>RGB(79, 79, 79)</SearchTextBoxFocusBorder>
<SearchTextHighlight>RGB(25, 100, 230)</SearchTextHighlight>
</Ditto_Theme_File>
@OmarNamis
Copy link
Author

Actually, I think that might be it!

I confused it with the "Quick Paste Text" field in clips properties.

@Dhyfer1
Copy link

Dhyfer1 commented Aug 19, 2021

This is just a guess, as I've noticed that the function "LoadColor" is called for all keys except listSmallQuickPasteIndexColor.

I hadn't noticed, you're right, LoadColor works for all the other keys, except for listSmallQuickPasteIndexColor I'm sure it has to be related to what I said before, with those little numbers.

Also, listSmallQuickPasteIndexColor has the RGB value (180, 180, 180), this value never changes when changing the theme and I discovered that this value is not only the color of the numbers I mentioned, it is also the same color for the thin vertical line that separates the numbers from the clips.

With the help of Instant Eyedropper I know that the RGB value of the pixels in those numbers is (180, 180, 180), the same RGB value indicated in listSmallQuickPasteIndexColor

image

So, according to the above, I'm sure that if this line of code:
LoadColor(ItemHeader, "listSmallQuickPasteIndexColor", m_listSmallQuickPasteIndexColor);
would have been added to Theme.cpp, then we could change the color of the small numbers and the thin vertical line next to them.

@sabrogden
Copy link

yes listSmallQuickPasteIndexColor is the color of the small number on the first 10 rows.

@Dhyfer1
Copy link

Dhyfer1 commented Aug 19, 2021

yes listSmallQuickPasteIndexColor is the color of the small number on the first 10 rows.

Thank you very much for your answer. So I got my guess right. Hey, why listSmallQuickPasteIndexColor is not available for customization? Because I would like to change its color, but for now it doesn't work after creating a new theme.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment