Skip to content

Commit

Permalink
Drop flat scrollbars from Xiliary
Browse files Browse the repository at this point in the history
  • Loading branch information
PyvesB committed Jun 16, 2024
1 parent d512c2a commit 5a69ceb
Show file tree
Hide file tree
Showing 73 changed files with 4 additions and 337 deletions.
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Three themes are currently available:
* Pluto: not much light reaches this distant dwarf planet, leading to a resolutely dark theme. The presence of purple has yet to be explained by astronomers.

A few words to summarise the planetary ambitions:
* compact: few borders, less visual artifacts, hidden buttons and flat scrollbars on Windows.
* compact: few borders, less visual artifacts, and hidden buttons.
* readable: easy on the eyes with low glare, balanced contrasts and an integrated editor font with programming ligatures.
* outstanding: not a revolution, but hopefully a nice twist to the traditional Eclipse look and feel.

Expand Down Expand Up @@ -71,6 +71,4 @@ Setting up your own working copy of the project is easy:

Planet Themes are licensed under Eclipse Public License - v 2.0.

The following third-party projects are being used, many thanks to them:
* [Xiliary](https://github.com/fappel/xiliary) by [Frank Appel](https://github.com/fappel): flat scrollbars on Windows (Eclipse Public License).
* [Fira Code](https://github.com/tonsky/FiraCode) by [Nikita Prokopov](https://github.com/tonsky): editor font (Open Font License).
[Fira Code](https://github.com/tonsky/FiraCode) (Open Font License) is being used as the editor font, many thanks to [Nikita Prokopov](https://github.com/tonsky) and other contributors!
4 changes: 0 additions & 4 deletions p2.index

This file was deleted.

3 changes: 0 additions & 3 deletions p2artifacts.xml

This file was deleted.

58 changes: 0 additions & 58 deletions p2content.xml

This file was deleted.

40 changes: 0 additions & 40 deletions planet-themes-feature/feature.xml
Original file line number Diff line number Diff line change
Expand Up @@ -299,44 +299,4 @@ version(s), and exceptions or additional permissions here}."
install-size="0"
version="0.2.6"
unpack="false"/>

<plugin
id="com.codeaffine.eclipse.swt"
download-size="188"
install-size="188"
version="0.6.0.20200802-1642"
unpack="false"/>

<plugin
id="com.codeaffine.eclipse.swt.win"
os="win32"
download-size="2"
install-size="2"
version="0.6.0.20200802-1642"
fragment="true"
unpack="false"/>

<plugin
id="com.codeaffine.eclipse.ui.swt.theme"
download-size="40"
install-size="40"
version="0.8.0.20200802-1642"
unpack="false"/>

<plugin
id="com.codeaffine.eclipse.ui.swt.theme.win"
os="win32"
download-size="1"
install-size="1"
version="0.8.0.20200802-1642"
fragment="true"
unpack="false"/>

<plugin
id="com.codeaffine.util"
download-size="8"
install-size="8"
version="0.1.0.20200802-1642"
unpack="false"/>

</feature>
3 changes: 1 addition & 2 deletions planet-themes-plugin/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,5 @@ Require-Bundle: org.eclipse.core.runtime,
org.eclipse.ui,
org.eclipse.e4.ui.css.swt,
org.eclipse.e4.ui.css.swt.theme,
org.eclipse.osgi,
com.codeaffine.eclipse.ui.swt.theme;resolution:=optional
org.eclipse.osgi
Export-Package: com.codeaffine.eclipse.ui.swt.theme
13 changes: 0 additions & 13 deletions planet-themes-plugin/css/planets-win.css
Original file line number Diff line number Diff line change
@@ -1,20 +1,7 @@
Tree, Table {
flat-scroll-bar: true;
flat-scroll-bar-thumb: '#io-github-pyvesb-eclipse_planet_themes-ACCENT_COLOR';
flat-scroll-bar-thumb-top-level: '#io-github-pyvesb-eclipse_planet_themes-ACCENT_COLOR';
flat-scroll-bar-page-increment: '#io-github-pyvesb-eclipse_planet_themes-INTERACTION_COLOR';
flat-scroll-bar-page-increment-top-level: '#io-github-pyvesb-eclipse_planet_themes-INTERACTION_COLOR';
swt-lines-visible: false;
}

StyledText, ScrolledComposite, ScrolledForm, Shell > Table {
flat-scroll-bar: true;
flat-scroll-bar-thumb: '#io-github-pyvesb-eclipse_planet_themes-ACCENT_COLOR';
flat-scroll-bar-thumb-top-level: '#io-github-pyvesb-eclipse_planet_themes-ACCENT_COLOR';
flat-scroll-bar-page-increment: '#io-github-pyvesb-eclipse_planet_themes-BACKGROUND_COLOR';
flat-scroll-bar-page-increment-top-level: '#io-github-pyvesb-eclipse_planet_themes-BACKGROUND_COLOR';
}

FontDefinition#org-eclipse-jface-textfont,
FontDefinition#org-eclipse-ui-workbench-texteditor-blockSelectionModeFont,
FontDefinition#org-eclipse-jdt-ui-editors-textfont {
Expand Down
2 changes: 1 addition & 1 deletion planet-themes-plugin/css/planets.css
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ ColorDefinition#io-github-pyvesb-eclipse_planet_themes-BACKGROUND_COLOR {
ColorDefinition#io-github-pyvesb-eclipse_planet_themes-ACCENT_COLOR {
category: '#io-github-pyvesb-eclipse_planet_themes-themeElementCategory';
label: 'Accent Color';
description: 'The color for tab highlights, keylines and scrollbars on Windows.';
description: 'The color for tab highlights and keylines.';
}

ColorDefinition#io-github-pyvesb-eclipse_planet_themes-INTERACTION_COLOR {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,5 @@
<unit id="org.eclipse.osgi" version="0.0.0"/>
<unit id="com.google.gson" version="0.0.0"/>
</location>
<location path="${project_loc:/planet-themes-targetplatform}/xiliary" type="Directory">
<unit id="com.codeaffine.eclipse.ui.swt.theme.feature.feature.group" version="0.8.0.20200802-1642"/>
</location>
</locations>
</target>
Loading

0 comments on commit 5a69ceb

Please sign in to comment.