├── Assets ├── MicaUpdate.png └── Jdownloadermica.png ├── FlatMacDarkLaf.json ├── README.md ├── org.jdownloader.settings.GraphicalUserInterfaceSettings.json └── FlatMacDarkLaf.properties /Assets/MicaUpdate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikoshura/JDownloader-Fluent-Theme/HEAD/Assets/MicaUpdate.png -------------------------------------------------------------------------------- /Assets/Jdownloadermica.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ikoshura/JDownloader-Fluent-Theme/HEAD/Assets/Jdownloadermica.png -------------------------------------------------------------------------------- /FlatMacDarkLaf.json: -------------------------------------------------------------------------------- 1 | {"colorforconfigpaneldescriptiontext":"#ffcccccc","colorfortablerowgap":"#00ffffff","configlabelenabledtextcolor":"#ffcccccc","colorforconfigheadertextcolor":"#ff999999","windowopaque":true,"colorfortablemouseoverrowbackground":"#32ffffff","colorfortablepackagerowbackground":"#00000000","colorfortableselectedrowsbackground":"#32ffffff","colorforscrollbarsnormalstate":"#ff1E1E1E","colorforscrollbarsmouseoverstate":"#ff111111","colorforspeedmeteraveragetext":"#ffffffff","colorforpanelbackground":"#fe000000","colorforpanelborders":"#00c0c0c0","colorforspeedmetertext":"#ffffffff","colorfortablesortedcolumnview":"#ff111111","colorfortablealternaterowbackground":"#00000000","windowdecorationenabled":true,"colorforpanelheaderbackground":"#fe000000","colorforspeedmeterlimiterbottom":"#ffffffff","colorforpanelheaderforeground":"#ff999999"} 2 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # JDownloader Fluent Theme 2 | Fluent-style dark theme for **JDownloader 2** with **Mica Effect** support. 3 | 4 | ![Screenshot](https://github.com/ikoshura/JDownloader-Fluent-Theme/blob/main/Assets/MicaUpdate.png) 5 | 6 | --- 7 | 8 | ## Features 9 | - Modern Fluent design with dark aesthetics. 10 | - Mica Effect support for a dynamic & polished look on Windows. 11 | 12 | --- 13 | 14 | ## Installation Guide 15 | 16 | ### Quick Installation 17 | 1. **Download** the files from this repository. 18 | 2. **Replace** the existing configuration files with the downloaded ones: 19 | 20 | **JSON Configuration File Paths:** 21 | ``` 22 | %LOCALAPPDATA%\JDownloader 2\cfg\laf\FlatMacDarkLaf.json 23 | ``` 24 | ``` 25 | %LOCALAPPDATA%\JDownloader 2\cfg\org.jdownloader.settings.GraphicalUserInterfaceSettings.json 26 | ``` 27 | 28 | > **Note:** Your folder name might differ (e.g., `JDownloader 2.0`). Adjust as needed. 29 | 30 | 3. Navigate to `%LOCALAPPDATA%\JDownloader 2\libs\laf`. 31 | 4. Create a backup of `flatlaf.jar` (e.g., rename it to `flatlaf.jar.bak`). 32 | 5. Open `flatlaf.jar` with a tool like **7-Zip**. 33 | 6. Go to `\com\formdev\flatlaf\themes\` inside the archive. 34 | 7. Replace `FlatMacDarkLaf.properties` with the one from this repository. 35 | 8. Save changes when prompted. 36 | 37 | ### Manual Installation 38 | 39 | #### 1. Apply Theme in JDownloader: 40 | 1. Open **Settings** in JDownloader. 41 | 2. In the left sidebar, select **Advanced Settings**. 42 | 3. Search for `LookAndFeelTheme`. 43 | 4. Set **`GraphicalUserInterfaceSettings: Look and Feel Theme`** to `FLATLAF_MAC_DARK`. 44 | 5. Search for `Color Background` and apply these values: 45 | 46 | | **Setting** | **HEX** | **RGB** | **Alpha** | 47 | |--------------------------------------------------|--------------|--------------|-----------| 48 | | Color For Table Package Row Background | `00000000` | `000000` | `0` | 49 | | Color For Table Alternate Row Background | `00000000` | `000000` | `0` | 50 | | Color For Panel Background | `fe000000` | `000000` | `254` | 51 | | Color For Table Mouse Over Rows Background | `32FFFFFF` | `FFFFFF` | `50` | 52 | | Color For Table Selected Rows Background | `32FFFFFF` | `FFFFFF` | `50` | 53 | 54 | 6. Search for `Color For Table Row Gap` and set it to: 55 | 56 | | **Setting** | **HEX** | **RGB** | **Alpha** | 57 | |----------------------------------|--------------|--------------|-----------| 58 | | Color For Table Row Gap | `00000000` | `000000` | `0` | 59 | 60 | 7. Search for `Color Foreground` and change all black/white values to **white**. 61 | 8. Search for `Color Text` and set all colors to **white**. 62 | 9. Search for `Window Decoration` and enable **`LAFSettings: Window Decoration`**. 63 | 10. Navigate to `%LOCALAPPDATA%\JDownloader 2\libs\laf`. 64 | 11. Create a backup of `flatlaf.jar` (e.g., rename it to `flatlaf.jar.bak`). 65 | 12. Open `flatlaf.jar` with a tool like **7-Zip**: 66 | - Go to `\com\formdev\flatlaf\themes\`. 67 | - Open `FlatMacDarkLaf.properties` in a text editor. 68 | - follow this configuration: 69 | ``` 70 | @nsTextBackgroundColor = #202020 71 | @nsControlBackgroundColor = #202020 72 | @nsControlAccentColor = #fffffff1 # You can replace this with your preferred accent color 73 | @buttonBackground = #00000001 74 | @accentFocusColor = #00000000 75 | Component.borderColor = #00000000 76 | Component.disabledBorderColor = #00000000 77 | ``` 78 | - Save and close the editor. 79 | - Accept prompts to update the archive. 80 | 81 | > **Tip:** You can preview the advanced color settings below: 82 |
83 | 84 | > ![Colors Preview](https://github.com/user-attachments/assets/fa011986-ed4f-4f3d-9d23-0203067890a0) 85 | 86 |
87 | 88 | #### 2. Enable Mica Effect: 89 | 1. Install [MicaForEveryone](https://github.com/MicaForEveryone/MicaForEveryone). 90 | 2. Add **JDownloader 2** to the **MicaForEveryone** process rules. 91 | 3. Enable **Extend Frame Into Client Area**. 92 | 4. Restart JDownloader to apply changes. 93 | 94 | --- 95 | 96 | ## Upcoming Features 97 | 1. **Mica effect support** for the Header/Titlebar. 98 | 2. Updated icons and symbols for a modern Windows 11-style look. 99 | 100 | --- 101 | 102 | -------------------------------------------------------------------------------- /org.jdownloader.settings.GraphicalUserInterfaceSettings.json: -------------------------------------------------------------------------------- 1 | {"overviewpaneldownloadlinksfailedcountvisible":false,"clipboarddisabledwarningflashenabled":true,"activepluginconfigpanel":"jd.plugins.hoster.PanBaiduCom/pan.baidu.com","horizontalscrollbarsindownloadtableenabled":false,"overviewpaneldownloadrunningdownloadscountvisible":true,"downloadview":"ALL","linkpropertiespaneldownloadpasswordvisible":true,"downloadfolderchooserdialogsubfolder":"AUTO","speedmetervisible":true,"premiumalertetacolumnenabled":false,"overviewpaneldownloadpackagecountvisible":true,"datetimeformataccountmanagerexpiredatecolumn":null,"password":"","linkpropertiespanelfilenamevisible":true,"titlepattern":"|#TITLE|| - #SPEED/s|| - #UPDATENOTIFY|","filterhighlightenabled":true,"overviewpaneltotalinfovisible":true,"linkpropertiespanelchecksumvisible":true,"downloadspropertiespanelsavetovisible":true,"packagesbackgroundhighlightenabled":true,"overviewpaneldownloadlinkcountvisible":true,"downloadspropertiespanelpackagenamevisible":true,"newdialogframestate":"TO_FRONT","used3d":false,"overviewpaneldownloadlinksfinishedcountvisible":false,"downloadviewrefresh":500,"datetimeformatdownloadlistaddeddatecolumn":null,"overviewpanelsmartinfovisible":true,"presentationmodeenabled":false,"availablecolumntextvisible":false,"newlinksactionv2":"SWITCH","overviewpaneldownloadbytesremainingvisible":true,"bannerenabled":false,"showfullhostname":false,"taskbarflashenabled":true,"overviewpanellinkgrabberstatusonlinevisible":false,"prioritycolumnautoshowenabled":true,"clipboardmonitored":true,"linkpropertiespanelcommentvisible":true,"bannerchangetimestamp":1694133049059,"donatebuttonstate":"AUTO_VISIBLE","filecountinsizecolumnvisible":true,"clipboardskipmode":"ON_STARTUP","premiumexpirewarningenabled":true,"downloadstablerefreshinterval":1000,"overviewpaneldownloadpanelincludedisabledlinks":true,"datetimeformatdownloadlistmodifieddatecolumn":null,"tablewraparoundenabled":true,"specialdealoboomdialogvisibleonstartup":false,"tooltipenabled":true,"statusbaraddpremiumbuttonvisible":true,"captchadialogborderaroundimageenabled":true,"tablemouseoverhighlightenabled":true,"linkpropertiespanelsavetovisible":true,"downloadcontrolcolumnautoshowenabled":true,"overviewpanellinkgrabberlinkscountvisible":true,"clipboardmonitorprocesshtmlflavor":true,"packagedoubleclickaction":"OPEN_FOLDER","overviewpanelselectedinfovisible":true,"linkpropertiespaneldownloadfromvisible":false,"premiumalerttaskcolumnenabled":false,"sortcolumnhighlightenabled":true,"startbuttonactioninlinkgrabbercontext":"ADD_ALL_LINKS_AND_START_DOWNLOADS","downloadfolderchooserdefaultpath":"CURRENT_PATH","colorediconsfordisabledhostercolumnenabled":true,"premiumalertspeedcolumnenabled":false,"downloadspropertiespanelcommentvisible":true,"overviewpaneldownloadtotalbytesvisible":true,"captchadialoguniquepositionbyhosterenabled":true,"overviewpanellinkgrabberpackagecountvisible":true,"confirmincompletearchiveaction":"ASK","windowswindowmanagerforegroundlocktimeout":200000,"datetimeformatdownloadlistfinisheddatecolumn":null,"bypassallrlydeletedialogsenabled":false,"linkgrabbertabpropertiespanelvisible":false,"configviewvisible":true,"downloadstabpropertiespanelvisible":false,"selecteddownloadsearchcategory":"FILENAME","logviewvisible":false,"overviewpaneldownloadetavisible":true,"premiumdisabledwarningflashenabled":true,"captchascalefactor":100,"savedownloadviewcrosssessionenabled":false,"shortcutforcaptchadialogrefresh":"pressed F5","overviewpanellinkgrabberstatusunknownvisible":true,"myjdownloaderviewvisible":false,"downloadspropertiespanelchecksumvisible":true,"downloadspropertiespanelfilenamevisible":false,"containerexportopenexplorer":true,"speedmetertimeframe":30000,"mainwindowalwaysontop":false,"windowstaskbarprogressdisplay":"TOTAL_PROGRESS","overviewpaneldownloadconnectionsvisible":true,"helpdialogsenabled":true,"lookandfeeltheme":"FLATLAF_MAC_DARK","linkpropertiespanelarchivepasswordvisible":true,"horizontalscrollbarsinlinkgrabbertableenabled":false,"downloadspropertiespaneldownloadfromvisible":false,"linkdoubleclickaction":"OPEN_FILE","overviewpanellinkgrabberstatusofflinevisible":true,"activeconfigpanel":"jd.gui.swing.jdgui.views.settings.panels.advanced.AdvancedSettings","balloonnotificationenabled":true,"donationnotifyid":"NEWYEARSEVE.2024-2025","primarytablesorterdesc":true,"speedmeterframespersecond":4,"linkpropertiespanelpackagenamevisible":true,"premiumstatusbardisabledaccountexpire":14,"passwordprotectionenabled":false,"specialdealsenabled":false,"overviewpaneldownloadspeedvisible":true,"lastiffileexists":"SKIP_FILE","activemyjdownloaderpanel":"jd.gui.swing.jdgui.views.myjd.panels.MyJDownloaderSettingsPanelForTab","premiumstatusbardisplay":"GROUP_BY_ACCOUNT_TYPE","maxsizeunit":"TiB","downloadpaneloverviewsettingsvisible":false,"captchadebugmodeenabled":false,"tooltipdelay":2000,"overviewpaneldownloadbytesloadedvisible":true,"hatecaptchastextincaptchadialogvisible":true,"speedinwindowtitle":"WHEN_WINDOW_IS_MINIMIZED","overviewpanellinkgrabbertotalbytesvisible":true,"selectedlinkgrabbersearchcategory":"FILENAME","downloadtaboverviewvisible":false,"rlywarnlevel":"NORMAL","overviewpanellinkgrabberhostercountvisible":true,"twostepctrlaselectionenabled":false,"downloadspropertiespaneldownloadpasswordvisible":true,"renameactionregexenabled":false,"dialogdefaulttimeoutinms":20000,"propertiespanelheightnormalized":false,"overviewpanellinkgrabberincludedisabledlinks":true,"macdockprogressdisplay":"TOTAL_PROGRESS","hidesinglechildpackages":false,"linkgrabberbottombarposition":"SOUTH","linkgrabbertaboverviewvisible":false,"windowswindowmanageraltkeyworkaroundenabled":true,"overviewpaneldownloadlinksskippedcountvisible":false,"customlookandfeelclass":"null","updatebuttonflashingenabled":true,"overviewpanelvisibleonlyinfovisible":true,"linkgrabbersidebarvisible":false,"donatebuttonlatestautochange":1706652213673,"filechooserview":"DETAILS","downloadspropertiespanelarchivepasswordvisible":true} 2 | -------------------------------------------------------------------------------- /FlatMacDarkLaf.properties: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright 2022 FormDev Software GmbH 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # https://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | 17 | # base theme (light, dark, intellij or darcula); only used by theme editor 18 | @baseTheme = dark 19 | 20 | 21 | #---- macOS NSColor system colors (in NSColorSpace.deviceRGB) ---- 22 | # generated on macOS 12.2 using Xcode and flatlaf-testing/misc/MacOSColorDump.playground 23 | 24 | @nsLabelColor = #ffffffd8 25 | @nsSecondaryLabelColor = #ffffff8c 26 | @nsTertiaryLabelColor = #ffffff3f 27 | @nsQuaternaryLabelColor = #ffffff19 28 | @nsSystemRedColor = #ff453a 29 | @nsSystemGreenColor = #32d74b 30 | @nsSystemBlueColor = #0a84ff 31 | @nsSystemOrangeColor = #ff9f0a 32 | @nsSystemYellowColor = #ffd60a 33 | @nsSystemBrownColor = #ac8e68 34 | @nsSystemPinkColor = #ff375f 35 | @nsSystemPurpleColor = #bf5af2 36 | @nsSystemTealColor = #6ac4dc 37 | @nsSystemIndigoColor = #5e5ce6 38 | @nsSystemMintColor = #63e6e2 39 | @nsSystemCyanColor = #5ac8f5 40 | @nsSystemGrayColor = #98989d 41 | @nsLinkColor = #419cff 42 | @nsPlaceholderTextColor = #ffffff3f 43 | @nsWindowFrameTextColor = #ffffffd8 44 | @nsSelectedMenuItemTextColor = #ffffff 45 | @nsAlternateSelectedControlTextColor = #ffffff 46 | @nsHeaderTextColor = #ffffff 47 | @nsSeparatorColor = #ffffff19 48 | @nsGridColor = #1a1a1a 49 | @nsTextColor = #ffffff 50 | @nsTextBackgroundColor = #202020 51 | @nsSelectedTextColor = #ffffff 52 | @nsSelectedTextBackgroundColor = #3f638b 53 | @nsUnemphasizedSelectedTextBackgroundColor = #464646 54 | @nsUnemphasizedSelectedTextColor = #ffffff 55 | @nsWindowBackgroundColor = #323232 56 | @nsUnderPageBackgroundColor = #282828 57 | @nsControlBackgroundColor = #202020 58 | @nsSelectedContentBackgroundColor = #0058d0 59 | @nsUnemphasizedSelectedContentBackgroundColor = #464646 60 | @nsFindHighlightColor = #ffff00 61 | @nsControlColor = #ffffff3f 62 | @nsControlTextColor = #ffffffd8 63 | @nsSelectedControlColor = #3f638b 64 | @nsSelectedControlTextColor = #ffffffd8 65 | @nsDisabledControlTextColor = #ffffff3f 66 | @nsKeyboardFocusIndicatorColor = #1aa9ff7f 67 | @nsControlAccentColor = #fffffff1 68 | 69 | # accent colors are: 70 | # @nsSelectedTextBackgroundColor for @textSelectionBackground 71 | # @nsSelectedContentBackgroundColor for @selectionBackground 72 | # @nsSelectedControlColor unused 73 | # @nsKeyboardFocusIndicatorColor for @accentFocusColor 74 | # @nsControlAccentColor for @accentColor 75 | 76 | 77 | #---- variables ---- 78 | 79 | # general background and foreground (text color) 80 | @background = @nsControlBackgroundColor 81 | @foreground = over(@nsControlTextColor,@background) 82 | @disabledForeground = over(@nsSecondaryLabelColor,@background) 83 | 84 | # component background 85 | @buttonBackground = #00000001 86 | @componentBackground = darken(over(@nsControlColor,@background),18%) 87 | @disabledComponentBackground = darken(@componentBackground,2%) 88 | @menuBackground = lighten(@background,8%) 89 | 90 | # selection 91 | @selectionBackground = shade(spin(if(systemColor(accent), systemColor(accent), @accentColor),4),20%) 92 | @selectionForeground = @nsSelectedMenuItemTextColor 93 | @selectionInactiveBackground = @nsUnemphasizedSelectedContentBackgroundColor 94 | 95 | # text selection 96 | @textSelectionBackground = systemColor(highlight,darken(desaturate(if(systemColor(accent), systemColor(accent), @accentColor),60%),10%)) 97 | @textSelectionForeground = @nsSelectedTextColor 98 | 99 | # menu 100 | @menuSelectionBackground = desaturate(@selectionBackground,20%) 101 | @menuItemMargin = 3,11,3,11 102 | 103 | # accent colors (blueish) 104 | @accentColor = systemColor(accent,@nsControlAccentColor) 105 | @accentFocusColor = #00000000 106 | 107 | 108 | #---- Button ---- 109 | 110 | Button.arc = 12 111 | Button.borderWidth = 0 112 | Button.disabledBackground = darken($Button.background,10%) 113 | 114 | Button.default.borderWidth = 0 115 | 116 | Button.toolbar.hoverBackground = #fff1 117 | Button.toolbar.pressedBackground = #fff2 118 | Button.toolbar.selectedBackground = #fff3 119 | 120 | 121 | #---- CheckBox ---- 122 | 123 | CheckBox.iconTextGap = 6 124 | CheckBox.arc = 7 125 | CheckBox.icon.focusWidth = null 126 | CheckBox.icon.style = filled 127 | CheckBox.icon[filled].borderWidth = 0 128 | CheckBox.icon[filled].selectedBorderWidth = 0 129 | CheckBox.icon[filled].background = darken(over(@nsControlColor,@background),3%) 130 | CheckBox.icon[filled].disabledBackground = darken($CheckBox.icon[filled].background,10%) 131 | CheckBox.icon[filled].selectedBackground = @accentColor 132 | CheckBox.icon[filled].checkmarkColor = fadeout(@nsSelectedMenuItemTextColor,15%) 133 | CheckBox.icon[filled].disabledCheckmarkColor = darken($CheckBox.icon[filled].checkmarkColor,45%) 134 | CheckBox.icon.focusedBackground = null 135 | 136 | 137 | #---- ComboBox ---- 138 | 139 | ComboBox.buttonStyle = mac 140 | ComboBox.background = over(@nsControlColor,@background) 141 | ComboBox.editableBackground = @componentBackground 142 | ComboBox.disabledBackground = @disabledComponentBackground 143 | ComboBox.buttonBackground = @accentColor 144 | ComboBox.buttonArrowColor = @nsSelectedMenuItemTextColor 145 | ComboBox.buttonHoverArrowColor = darken($ComboBox.buttonArrowColor,15%,derived noAutoInverse) 146 | ComboBox.buttonPressedArrowColor = darken($ComboBox.buttonArrowColor,25%,derived noAutoInverse) 147 | ComboBox.popupBackground = @menuBackground 148 | ComboBox.selectionBackground = @menuSelectionBackground 149 | ComboBox.popupInsets = 5,0,5,0 150 | ComboBox.selectionInsets = 0,5,0,5 151 | ComboBox.selectionArc = 8 152 | ComboBox.borderCornerRadius = 8 153 | 154 | 155 | #---- Component ---- 156 | 157 | Component.focusWidth = 2 158 | Component.innerFocusWidth = 0 159 | Component.innerOutlineWidth = 0 160 | Component.arc = 12 161 | Component.borderColor = #00000000 162 | Component.disabledBorderColor = #00000000 163 | 164 | 165 | #---- EditorPane --- 166 | 167 | EditorPane.disabledBackground = @disabledComponentBackground 168 | EditorPane.selectionBackground = @textSelectionBackground 169 | EditorPane.selectionForeground = @textSelectionForeground 170 | 171 | 172 | #---- FormattedTextField --- 173 | 174 | FormattedTextField.disabledBackground = @disabledComponentBackground 175 | FormattedTextField.selectionBackground = @textSelectionBackground 176 | FormattedTextField.selectionForeground = @textSelectionForeground 177 | 178 | 179 | #---- MenuBar ---- 180 | 181 | MenuBar.selectionInsets = 0,0,0,0 182 | MenuBar.selectionEmbeddedInsets = 3,0,3,0 183 | MenuBar.selectionArc = 8 184 | MenuBar.selectionBackground = lighten(@menuBackground,15%,derived) 185 | MenuBar.selectionForeground = @foreground 186 | 187 | 188 | #---- MenuItem ---- 189 | 190 | MenuItem.selectionInsets = 0,5,0,5 191 | MenuItem.selectionArc = 8 192 | 193 | Menu.selectionBackground = @menuSelectionBackground 194 | MenuItem.selectionBackground = @menuSelectionBackground 195 | CheckBoxMenuItem.selectionBackground = @menuSelectionBackground 196 | RadioButtonMenuItem.selectionBackground = @menuSelectionBackground 197 | 198 | 199 | #---- PasswordField --- 200 | 201 | PasswordField.disabledBackground = @disabledComponentBackground 202 | PasswordField.selectionBackground = @textSelectionBackground 203 | PasswordField.selectionForeground = @textSelectionForeground 204 | 205 | 206 | #---- PopupMenu ---- 207 | 208 | PopupMenu.borderInsets = 6,1,6,1 209 | PopupMenu.borderCornerRadius = 8 210 | 211 | 212 | #---- ProgressBar ---- 213 | 214 | ProgressBar.background = lighten(@background,8%) 215 | 216 | 217 | #---- RadioButton ---- 218 | 219 | RadioButton.iconTextGap = 6 220 | RadioButton.icon.style = filled 221 | RadioButton.icon[filled].centerDiameter = 6 222 | 223 | 224 | #---- ScrollBar ---- 225 | 226 | ScrollBar.width = 12 227 | ScrollBar.track = @componentBackground 228 | ScrollBar.thumb = @buttonBackground 229 | 230 | # from FlatLaf.properties (when using not on macOS) 231 | ScrollBar.minimumThumbSize = 18,18 232 | ScrollBar.thumbInsets = 2,2,2,2 233 | ScrollBar.thumbArc = 999 234 | ScrollBar.hoverThumbWithTrack = true 235 | 236 | 237 | #---- Separator ---- 238 | 239 | Separator.foreground = @nsSeparatorColor 240 | 241 | 242 | #---- Slider ---- 243 | 244 | Slider.trackWidth = 3 245 | Slider.thumbSize = 14,14 246 | Slider.trackColor = lighten(@background,8%) 247 | Slider.thumbColor = lighten($Slider.trackColor,35%) 248 | Slider.disabledTrackColor = darken($Slider.trackColor,4%) 249 | Slider.disabledThumbColor = darken($Slider.thumbColor,32%) 250 | Slider.focusedColor = $Component.focusColor 251 | 252 | 253 | #---- Spinner ---- 254 | 255 | Spinner.buttonStyle = mac 256 | Spinner.disabledBackground = @disabledComponentBackground 257 | Spinner.buttonBackground = @buttonBackground 258 | Spinner.buttonArrowColor = @foreground 259 | Spinner.buttonHoverArrowColor = lighten($Spinner.buttonArrowColor,10%,derived noAutoInverse) 260 | Spinner.buttonPressedArrowColor = lighten($Spinner.buttonArrowColor,20%,derived noAutoInverse) 261 | Spinner.buttonSeparatorWidth = 0 262 | 263 | 264 | #---- TabbedPane ---- 265 | 266 | TabbedPane.tabArc = $Button.arc 267 | TabbedPane.tabSelectionArc = 999 268 | TabbedPane.cardTabArc = $Button.arc 269 | 270 | 271 | #---- TextArea --- 272 | 273 | TextArea.disabledBackground = @disabledComponentBackground 274 | TextArea.selectionBackground = @textSelectionBackground 275 | TextArea.selectionForeground = @textSelectionForeground 276 | 277 | 278 | #---- TextField ---- 279 | 280 | TextField.disabledBackground = @disabledComponentBackground 281 | TextField.selectionBackground = @textSelectionBackground 282 | TextField.selectionForeground = @textSelectionForeground 283 | 284 | 285 | #---- TextPane --- 286 | 287 | TextPane.disabledBackground = @disabledComponentBackground 288 | TextPane.selectionBackground = @textSelectionBackground 289 | TextPane.selectionForeground = @textSelectionForeground 290 | 291 | 292 | #---- ToggleButton ---- 293 | 294 | ToggleButton.disabledBackground = $Button.disabledBackground 295 | ToggleButton.selectedBackground = lighten($ToggleButton.background,20%,derived) 296 | 297 | ToggleButton.toolbar.selectedBackground = #fff3 298 | 299 | 300 | #---- ToolBar ---- 301 | 302 | ToolBar.hoverButtonGroupArc = 14 303 | --------------------------------------------------------------------------------