0
0
Fork 0
mirror of https://github.com/alexadhy/tokyonight-jetbrains.git synced 2024-09-12 20:28:09 -04:00

Derive borders, padding, insets, and icons from Dark theme

This commit is contained in:
David Spry 2024-05-25 20:34:04 +10:00
parent 8c74d446b9
commit 879bb2b19d
2 changed files with 202 additions and 22 deletions

View file

@ -40,7 +40,7 @@
"*": { "*": {
"acceleratorForeground": "blue", "acceleratorForeground": "blue",
"acceleratorSelectionForeground": "blue", "acceleratorSelectionForeground": "blue",
"arc": "7", "arc": 7,
"background": "bg", "background": "bg",
"foreground": "fgDark", "foreground": "fgDark",
"caretForeground": "fgDark", "caretForeground": "fgDark",
@ -87,6 +87,8 @@
"borderColor": "blue0" "borderColor": "blue0"
}, },
"Button": { "Button": {
"arc": 8,
"border": "com.intellij.ide.ui.laf.darcula.ui.DarculaButtonBorder",
"foreground": "fg", "foreground": "fg",
"startBorderColor": "hoverBackground", "startBorderColor": "hoverBackground",
"endBorderColor": "hoverBackground", "endBorderColor": "hoverBackground",
@ -94,6 +96,7 @@
"endBackground": "hoverBackground", "endBackground": "hoverBackground",
"focusedBorderColor": "blue0", "focusedBorderColor": "blue0",
"disabledBorderColor": "bgHi", "disabledBorderColor": "bgHi",
"minimumSize": "72,28",
"default": { "default": {
"foreground": "bg", "foreground": "bg",
"startBackground": "blue", "startBackground": "blue",
@ -104,6 +107,11 @@
"focusedBorderColor": "fg" "focusedBorderColor": "fg"
} }
}, },
"CheckBox": {
"borderInsets": "4,4,4,4",
"iconSize": 24,
"textIconGap": 4
},
"Counter": { "Counter": {
"foreground": "bgHi", "foreground": "bgHi",
"background": "blue0" "background": "blue0"
@ -116,8 +124,12 @@
"iconColor": "blue" "iconColor": "blue"
}, },
"selectionBackground": "blue0", "selectionBackground": "blue0",
"nonEditableBackground": "hoverBackground" "nonEditableBackground": "hoverBackground",
"border": "com.intellij.ide.ui.laf.darcula.ui.DarculaComboBoxBorder",
"minimumSize": "49,28",
"padding": "1,9,1,6"
}, },
"ComboPopup.border": "1,1,1,1",
"CompletionPopup": { "CompletionPopup": {
"foreground": "fgDark", "foreground": "fgDark",
"selectionBackground": "green1", "selectionBackground": "green1",
@ -125,6 +137,8 @@
"matchForeground": "bgHi" "matchForeground": "bgHi"
}, },
"Component": { "Component": {
"arc": 8,
"arrowAreaWidth": "28",
"focusColor": "hoverBackground", "focusColor": "hoverBackground",
"borderColor": "bgHi", "borderColor": "bgHi",
"focusedBorderColor": "blue0", "focusedBorderColor": "blue0",
@ -152,7 +166,8 @@
"background": "bgHi", "background": "bgHi",
"underlinedTabBackground": "hoverBackground", "underlinedTabBackground": "hoverBackground",
"underlineColor": "blue", "underlineColor": "blue",
"underlineHeight": 1, "underlineArc": 4,
"underlineHeight": 4,
"hoverBackground": "hoverBackground", "hoverBackground": "hoverBackground",
"inactiveUnderlineColor": "blue" "inactiveUnderlineColor": "blue"
}, },
@ -164,12 +179,34 @@
"Rose": "#F7768E05", "Rose": "#F7768E05",
"Violet": "#bb9af705" "Violet": "#bb9af705"
}, },
"HelpTooltip": {
"verticalGap": 6
},
"Ide.Shadow": {
"borderInsets": "16,16,16,16"
},
"Link": { "Link": {
"activeForeground": "blue", "activeForeground": "blue",
"hoverForeground": "blue", "hoverForeground": "blue",
"visitedForeground": "magenta", "visitedForeground": "magenta",
"pressedForeground": "magenta" "pressedForeground": "magenta"
}, },
"List": {
"rowHeight": 24,
"border": "4,0,4,0",
"Button": {
"separatorInset": 4,
"leftRightInset": 8
}
},
"MainToolbar": {
"Icon": {
"insets": "5,5,5,5"
},
"Dropdown": {
"maxWidth": 350
}
},
"Notification": { "Notification": {
"background": "hoverBackground", "background": "hoverBackground",
"errorBorderColor": "red1", "errorBorderColor": "red1",
@ -187,6 +224,9 @@
"informativeBorderColor": "magenta" "informativeBorderColor": "magenta"
} }
}, },
"Notification.Shadow": {
"borderInsets": "5,5,5,5"
},
"PasswordField": { "PasswordField": {
"background": "hoverBackground" "background": "hoverBackground"
}, },
@ -227,17 +267,25 @@
"passedColor": "green" "passedColor": "green"
}, },
"Popup": { "Popup": {
"borderWidth": 1,
"paintBorder": true,
"Header": { "Header": {
"activeBackground": "hoverBackground", "activeBackground": "hoverBackground",
"inactiveBackground": "hoverBackground" "inactiveBackground": "hoverBackground"
}, },
"Advertiser": { "Advertiser": {
"foreground": "dark5" "foreground": "dark5",
"fontSizeOffset": -1
} }
}, },
"PopupMenu": { "PopupMenu": {
"background": "hoverBackground" "background": "hoverBackground"
}, },
"RadioButton": {
"borderInsets": "4,4,4,4",
"iconSize": 24,
"iconTextGap": 4
},
"RadioButtonMenuItem": { "RadioButtonMenuItem": {
"selectionBackground": "hoverBackground" "selectionBackground": "hoverBackground"
}, },
@ -269,11 +317,22 @@
"SidePanel": { "SidePanel": {
"background": "bg" "background": "bg"
}, },
"Spinner": {
"border": "com.intellij.ide.ui.laf.darcula.ui.DarculaSpinnerBorderNew",
"minimumSize": "72,28"
},
"StatusBar": { "StatusBar": {
"borderColor": "bg", "borderColor": "bg",
"hoverBackground": "hoverBackground" "Breadcrumbs": {
"chevronInset": 0
},
"Widget": {
"hoverBackground": "hoverBackground"
}
}, },
"TabbedPane": { "TabbedPane": {
"tabHeight": 40,
"tabSelectionArc": 4,
"tabSelectionHeight": 1, "tabSelectionHeight": 1,
"focusColor": "hoverBackground", "focusColor": "hoverBackground",
"hoverColor": "hoverBackground", "hoverColor": "hoverBackground",
@ -287,12 +346,20 @@
"TableHeader": { "TableHeader": {
"bottomSeparatorColor": "fgGutter" "bottomSeparatorColor": "fgGutter"
}, },
"TextField": {
"background": "hoverBackground"
},
"TextArea": { "TextArea": {
"background": "bgHi" "background": "bgHi"
}, },
"TextField": {
"background": "hoverBackground",
"border": "com.intellij.ide.ui.laf.darcula.ui.DarculaTextBorderNew",
"minimumSize": "49,28"
},
"TitlePane": {
"Button": {
"preferredSize": "40,40",
"preferredSize.compact": "40,30"
}
},
"ToggleButton": { "ToggleButton": {
"onBackground": "green", "onBackground": "green",
"onForeground": "hoverBackground", "onForeground": "hoverBackground",
@ -311,7 +378,8 @@
"Header": { "Header": {
"background": "bg", "background": "bg",
"inactiveBackground": "bgHi", "inactiveBackground": "bgHi",
"borderColor": "hoverBackground" "borderColor": "hoverBackground",
"font.size.offset": 0
}, },
"HeaderTab": { "HeaderTab": {
"underlineColor": "magenta2", "underlineColor": "magenta2",
@ -323,11 +391,17 @@
} }
}, },
"Tree": { "Tree": {
"collapsedIcon": "/expui/general/chevronRight.svg",
"collapsedSelectedIcon": "/expui/general/chevronRight.svg",
"expandedIcon": "/expui/general/chevronDown.svg",
"expandedSelectedIcon": "/expui/general/chevronDown.svg",
"background": "bg", "background": "bg",
"modifiedItemForeground": "blue", "modifiedItemForeground": "blue",
"hoverBackground": "hoverBackground", "hoverBackground": "hoverBackground",
"selectionBackground": "blue0", "selectionBackground": "blue0",
"selectionInactiveBackground": "selectionInactiveBackground" "selectionInactiveBackground": "selectionInactiveBackground",
"rowHeight": 24,
"border": "4,12,4,12"
}, },
"ValidationTooltip": { "ValidationTooltip": {
"errorBackground": "bgHi", "errorBackground": "bgHi",
@ -372,9 +446,25 @@
"background": "hoverBackground" "background": "hoverBackground"
} }
} }
} },
"Window.undecorated.border" : "1,1,1,1"
}, },
"icons": { "icons": {
"/com/intellij/ide/ui/laf/icons/darcula/checkBox.svg": "/themes/expUI/icons/dark/checkBox.svg",
"/com/intellij/ide/ui/laf/icons/darcula/checkBoxDisabled.svg": "/themes/expUI/icons/dark/checkBoxDisabled.svg",
"/com/intellij/ide/ui/laf/icons/darcula/checkBoxFocused.svg": "/themes/expUI/icons/dark/checkBoxFocused.svg",
"/com/intellij/ide/ui/laf/icons/darcula/checkBoxIndeterminateSelected.svg": "/themes/expUI/icons/dark/checkBoxIndeterminateSelected.svg",
"/com/intellij/ide/ui/laf/icons/darcula/checkBoxIndeterminateSelectedDisabled.svg": "/themes/expUI/icons/dark/checkBoxIndeterminateSelectedDisabled.svg",
"/com/intellij/ide/ui/laf/icons/darcula/checkBoxIndeterminateSelectedFocused.svg": "/themes/expUI/icons/dark/checkBoxIndeterminateSelectedFocused.svg",
"/com/intellij/ide/ui/laf/icons/darcula/checkBoxSelected.svg": "/themes/expUI/icons/dark/checkBoxSelected.svg",
"/com/intellij/ide/ui/laf/icons/darcula/checkBoxSelectedDisabled.svg": "/themes/expUI/icons/dark/checkBoxSelectedDisabled.svg",
"/com/intellij/ide/ui/laf/icons/darcula/checkBoxSelectedFocused.svg": "/themes/expUI/icons/dark/checkBoxSelectedFocused.svg",
"/com/intellij/ide/ui/laf/icons/darcula/radio.svg": "/themes/expUI/icons/dark/radio.svg",
"/com/intellij/ide/ui/laf/icons/darcula/radioDisabled.svg": "/themes/expUI/icons/dark/radioDisabled.svg",
"/com/intellij/ide/ui/laf/icons/darcula/radioFocused.svg": "/themes/expUI/icons/dark/radioFocused.svg",
"/com/intellij/ide/ui/laf/icons/darcula/radioSelected.svg": "/themes/expUI/icons/dark/radioSelected.svg",
"/com/intellij/ide/ui/laf/icons/darcula/radioSelectedDisabled.svg": "/themes/expUI/icons/dark/radioSelectedDisabled.svg",
"/com/intellij/ide/ui/laf/icons/darcula/radioSelectedFocused.svg": "/themes/expUI/icons/dark/radioSelectedFocused.svg",
"ColorPalette": { "ColorPalette": {
"Actions.Blue": "#7AA2F7", "Actions.Blue": "#7AA2F7",
"Actions.Green": "#9ECE6A", "Actions.Green": "#9ECE6A",

View file

@ -40,7 +40,7 @@
"*": { "*": {
"acceleratorForeground": "blue", "acceleratorForeground": "blue",
"acceleratorSelectionForeground": "blue", "acceleratorSelectionForeground": "blue",
"arc": "7", "arc": 7,
"background": "bg", "background": "bg",
"foreground": "fg", "foreground": "fg",
"caretForeground": "fg", "caretForeground": "fg",
@ -87,6 +87,8 @@
"borderColor": "blue0" "borderColor": "blue0"
}, },
"Button": { "Button": {
"arc": 8,
"border": "com.intellij.ide.ui.laf.darcula.ui.DarculaButtonBorder",
"foreground": "fg", "foreground": "fg",
"startBorderColor": "hoverBackground", "startBorderColor": "hoverBackground",
"endBorderColor": "hoverBackground", "endBorderColor": "hoverBackground",
@ -94,6 +96,7 @@
"endBackground": "hoverBackground", "endBackground": "hoverBackground",
"focusedBorderColor": "blue0", "focusedBorderColor": "blue0",
"disabledBorderColor": "bgDark", "disabledBorderColor": "bgDark",
"minimumSize": "72,28",
"default": { "default": {
"foreground": "bg", "foreground": "bg",
"startBackground": "blue", "startBackground": "blue",
@ -104,6 +107,11 @@
"focusedBorderColor": "fg" "focusedBorderColor": "fg"
} }
}, },
"CheckBox": {
"borderInsets": "4,4,4,4",
"iconSize": 24,
"textIconGap": 4
},
"Counter": { "Counter": {
"foreground": "bgDark", "foreground": "bgDark",
"background": "blue0" "background": "blue0"
@ -116,14 +124,20 @@
"iconColor": "blue" "iconColor": "blue"
}, },
"selectionBackground": "blue0", "selectionBackground": "blue0",
"nonEditableBackground": "hoverBackground" "nonEditableBackground": "hoverBackground",
"border": "com.intellij.ide.ui.laf.darcula.ui.DarculaComboBoxBorder",
"minimumSize": "49,28",
"padding": "1,9,1,6"
}, },
"ComboPopup.border": "1,1,1,1",
"CompletionPopup": { "CompletionPopup": {
"selectionBackground": "fgGutter", "selectionBackground": "fgGutter",
"selectionInactiveBackground": "dark3", "selectionInactiveBackground": "dark3",
"matchForeground": "green1" "matchForeground": "green1"
}, },
"Component": { "Component": {
"arc": 8,
"arrowAreaWidth": "28",
"focusColor": "hoverBackground", "focusColor": "hoverBackground",
"borderColor": "bgDark", "borderColor": "bgDark",
"focusedBorderColor": "blue0", "focusedBorderColor": "blue0",
@ -151,7 +165,8 @@
"background": "bgDark", "background": "bgDark",
"underlinedTabBackground": "hoverBackground", "underlinedTabBackground": "hoverBackground",
"underlineColor": "blue", "underlineColor": "blue",
"underlineHeight": 1, "underlineArc": 4,
"underlineHeight": 4,
"hoverBackground": "hoverBackground", "hoverBackground": "hoverBackground",
"inactiveUnderlineColor": "blue" "inactiveUnderlineColor": "blue"
}, },
@ -163,12 +178,34 @@
"Rose": "#F7768E05", "Rose": "#F7768E05",
"Violet": "#bb9af705" "Violet": "#bb9af705"
}, },
"HelpTooltip": {
"verticalGap": 6
},
"Ide.Shadow": {
"borderInsets": "16,16,16,16"
},
"Link": { "Link": {
"activeForeground": "blue", "activeForeground": "blue",
"hoverForeground": "blue", "hoverForeground": "blue",
"visitedForeground": "magenta", "visitedForeground": "magenta",
"pressedForeground": "magenta" "pressedForeground": "magenta"
}, },
"List": {
"rowHeight": 24,
"border": "4,0,4,0",
"Button": {
"separatorInset": 4,
"leftRightInset": 8
}
},
"MainToolbar": {
"Icon": {
"insets": "5,5,5,5"
},
"Dropdown": {
"maxWidth": 350
}
},
"Notification": { "Notification": {
"background": "hoverBackground", "background": "hoverBackground",
"errorBorderColor": "red1", "errorBorderColor": "red1",
@ -186,6 +223,9 @@
"informativeBorderColor": "magenta" "informativeBorderColor": "magenta"
} }
}, },
"Notification.Shadow": {
"borderInsets": "5,5,5,5"
},
"PasswordField": { "PasswordField": {
"background": "hoverBackground" "background": "hoverBackground"
}, },
@ -226,17 +266,25 @@
"passedColor": "green" "passedColor": "green"
}, },
"Popup": { "Popup": {
"borderWidth": 1,
"paintBorder": true,
"Header": { "Header": {
"activeBackground": "hoverBackground", "activeBackground": "hoverBackground",
"inactiveBackground": "hoverBackground" "inactiveBackground": "hoverBackground"
}, },
"Advertiser": { "Advertiser": {
"foreground": "dark5" "foreground": "dark5",
"fontSizeOffset": -1
} }
}, },
"PopupMenu": { "PopupMenu": {
"background": "hoverBackground" "background": "hoverBackground"
}, },
"RadioButton": {
"borderInsets": "4,4,4,4",
"iconSize": 24,
"iconTextGap": 4
},
"RadioButtonMenuItem": { "RadioButtonMenuItem": {
"selectionBackground": "hoverBackground" "selectionBackground": "hoverBackground"
}, },
@ -268,11 +316,22 @@
"SidePanel": { "SidePanel": {
"background": "bg" "background": "bg"
}, },
"Spinner": {
"border": "com.intellij.ide.ui.laf.darcula.ui.DarculaSpinnerBorderNew",
"minimumSize": "72,28"
},
"StatusBar": { "StatusBar": {
"borderColor": "bg", "borderColor": "bg",
"hoverBackground": "hoverBackground" "Breadcrumbs": {
"chevronInset": 0
},
"Widget": {
"hoverBackground": "hoverBackground"
}
}, },
"TabbedPane": { "TabbedPane": {
"tabHeight": 40,
"tabSelectionArc": 4,
"tabSelectionHeight": 1, "tabSelectionHeight": 1,
"focusColor": "hoverBackground", "focusColor": "hoverBackground",
"hoverColor": "hoverBackground", "hoverColor": "hoverBackground",
@ -286,12 +345,20 @@
"TableHeader": { "TableHeader": {
"bottomSeparatorColor": "fgGutter" "bottomSeparatorColor": "fgGutter"
}, },
"TextField": {
"background": "hoverBackground"
},
"TextArea": { "TextArea": {
"background": "bgDark" "background": "bgDark"
}, },
"TextField": {
"background": "hoverBackground",
"border": "com.intellij.ide.ui.laf.darcula.ui.DarculaTextBorderNew",
"minimumSize": "49,28"
},
"TitlePane": {
"Button": {
"preferredSize": "40,40",
"preferredSize.compact": "40,30"
}
},
"ToggleButton": { "ToggleButton": {
"onBackground": "green", "onBackground": "green",
"onForeground": "hoverBackground", "onForeground": "hoverBackground",
@ -310,7 +377,8 @@
"Header": { "Header": {
"background": "bgDark", "background": "bgDark",
"inactiveBackground": "bgDark", "inactiveBackground": "bgDark",
"borderColor": "hoverBackground" "borderColor": "hoverBackground",
"font.size.offset": 0
}, },
"HeaderTab": { "HeaderTab": {
"underlineColor": "magenta2", "underlineColor": "magenta2",
@ -322,11 +390,17 @@
} }
}, },
"Tree": { "Tree": {
"collapsedIcon": "/expui/general/chevronRight.svg",
"collapsedSelectedIcon": "/expui/general/chevronRight.svg",
"expandedIcon": "/expui/general/chevronDown.svg",
"expandedSelectedIcon": "/expui/general/chevronDown.svg",
"background": "bg", "background": "bg",
"modifiedItemForeground": "blue", "modifiedItemForeground": "blue",
"hoverBackground": "hoverBackground", "hoverBackground": "hoverBackground",
"selectionBackground": "blue0", "selectionBackground": "blue0",
"selectionInactiveBackground": "selectionInactiveBackground" "selectionInactiveBackground": "selectionInactiveBackground",
"rowHeight": 24,
"border": "4,12,4,12"
}, },
"ToolTip.shortcutForeground": "blue", "ToolTip.shortcutForeground": "blue",
"ValidationTooltip": { "ValidationTooltip": {
@ -371,9 +445,25 @@
"background": "hoverBackground" "background": "hoverBackground"
} }
} }
} },
"Window.undecorated.border" : "1,1,1,1"
}, },
"icons": { "icons": {
"/com/intellij/ide/ui/laf/icons/darcula/checkBox.svg": "/themes/expUI/icons/dark/checkBox.svg",
"/com/intellij/ide/ui/laf/icons/darcula/checkBoxDisabled.svg": "/themes/expUI/icons/dark/checkBoxDisabled.svg",
"/com/intellij/ide/ui/laf/icons/darcula/checkBoxFocused.svg": "/themes/expUI/icons/dark/checkBoxFocused.svg",
"/com/intellij/ide/ui/laf/icons/darcula/checkBoxIndeterminateSelected.svg": "/themes/expUI/icons/dark/checkBoxIndeterminateSelected.svg",
"/com/intellij/ide/ui/laf/icons/darcula/checkBoxIndeterminateSelectedDisabled.svg": "/themes/expUI/icons/dark/checkBoxIndeterminateSelectedDisabled.svg",
"/com/intellij/ide/ui/laf/icons/darcula/checkBoxIndeterminateSelectedFocused.svg": "/themes/expUI/icons/dark/checkBoxIndeterminateSelectedFocused.svg",
"/com/intellij/ide/ui/laf/icons/darcula/checkBoxSelected.svg": "/themes/expUI/icons/dark/checkBoxSelected.svg",
"/com/intellij/ide/ui/laf/icons/darcula/checkBoxSelectedDisabled.svg": "/themes/expUI/icons/dark/checkBoxSelectedDisabled.svg",
"/com/intellij/ide/ui/laf/icons/darcula/checkBoxSelectedFocused.svg": "/themes/expUI/icons/dark/checkBoxSelectedFocused.svg",
"/com/intellij/ide/ui/laf/icons/darcula/radio.svg": "/themes/expUI/icons/dark/radio.svg",
"/com/intellij/ide/ui/laf/icons/darcula/radioDisabled.svg": "/themes/expUI/icons/dark/radioDisabled.svg",
"/com/intellij/ide/ui/laf/icons/darcula/radioFocused.svg": "/themes/expUI/icons/dark/radioFocused.svg",
"/com/intellij/ide/ui/laf/icons/darcula/radioSelected.svg": "/themes/expUI/icons/dark/radioSelected.svg",
"/com/intellij/ide/ui/laf/icons/darcula/radioSelectedDisabled.svg": "/themes/expUI/icons/dark/radioSelectedDisabled.svg",
"/com/intellij/ide/ui/laf/icons/darcula/radioSelectedFocused.svg": "/themes/expUI/icons/dark/radioSelectedFocused.svg",
"ColorPalette": { "ColorPalette": {
"Actions.Blue": "#7AA2F7", "Actions.Blue": "#7AA2F7",
"Actions.Green": "#9ECE6A", "Actions.Green": "#9ECE6A",