GithubHelp home page GithubHelp logo

surajmandalcell / elementary-x Goto Github PK

View Code? Open in Web Editor NEW
295.0 12.0 28.0 6.02 MB

Transform your Linux system with an elegant Elementary OS theme and sleek macOS window controls, available in both light and dark mode.

Home Page: https://surajmandalcell.github.io/elementary-x/

License: GNU General Public License v3.0

CSS 98.56% Shell 1.44%
elementaryos theme desktop icon-theme stylesheets desktop-environment tweaks

elementary-x's Introduction

Elementary X

Maintainer Needed! Please leave a comment in "Maintainer Needed!" issue if you're intrested

Fork of the Default Gtk+ Stylesheet for elementary OS with OS X window controls

The forked Gtk.CSS stylesheet with OS X window controls is designed specifically for elementary OS and its desktop environment: Pantheon. Since Gtk.CSS has changed quite a bit, this stylesheet only supports Gtk >= 3.22

Elementary-X is available in two variants

Dark Variant

Light Variant
(old screenshots)

More screenshots

Features

  • Traffic lights window controls
  • Re-designed widgets to look cool
  • Always up to date with original elementary-os stylesheet

Installation

You'll need git to install this theme

  1. Open terminal and execute the following
git clone https://github.com/surajmandalcell/elementary-x.git ~/.themes/elementary-x
  1. Select this theme in tweak tool or execute the following
gsettings set org.gnome.desktop.interface gtk-theme "elementary-x"
  1. Thats it you're done!

Note: To install it globally i.e. for situation when you run apps as root or specially SNAP packages move your theme to /usr/share/themes

Extras

  • Refer here to see how to set DARK MODE
  • The icon theme used is La Capitaine. (Use install_fixed_icons.sh to install a fixed version of icon theme for eos)
  • The folder also includes plank themes! To install just use the install_plank_themes.sh script
  • Chrome themes will be included soon..
  • There are metacity and xfwm4 themes wich are for other desktop environment use.
  • There is no gnome-shell theme as it is ment for elementary gala de.

TO-DO

Here is the link to the trello board for the project > board.

Contributing

This stylesheet doesn't need to be compiled. It is recommended to make a symbolic link from the source directory to "/usr/share/themes" for testing:

ln -s /path/to/your/branch /usr/share/themes/

Apps will need to be restarted or the system stylesheet will need to be changed for your changes to take effect.

You can also test changes live with Gtk Inspector. Make sure you have Gtk development libraries installed:

sudo apt install libgtk-3-dev

Open an app you wish to test your changes on. Open Gtk Inspector with the keyboard shortcut Shift + Ctrl + D, then navigate to the tab "Custom CSS". Your changes here will take immediate effect on the focused app.

Todo

elementary-x's People

Contributors

blendfoul avatar btkostner avatar cassidyjames avatar codygarver avatar danirabbit avatar davidgomes avatar dreckr avatar jacobp100 avatar jarvis-ai avatar nlaplante avatar philip-scott avatar poorpocketsmcnewhold avatar roryjs avatar satya164 avatar sourenaraya avatar surajmandalcell avatar thalexander avatar themrfarquad avatar tom95 avatar vigilantfalcon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

elementary-x's Issues

Yellow line on some windows

I notice that some application like AppCenter and Tardis have an ugly yellow line below the title bar. How can I remove it? Thanks!

image

Errors in elementaryX.css

Hello,

first of all really, really great theme, i really enjoy it ๐Ÿ‘.

When using electron i noticed some GTK warnings (see console log fragment below), probably just minor code errors, i didnt want to withhold that from you.

(electron:21861): Gtk-WARNING **: Theme parsing error: elementaryX.css:1:122: Expected a valid selector

(electron:21861): Gtk-WARNING **: Theme parsing error: elementaryX.css:213:38: Expected ',' in color definition

(electron:21861): Gtk-WARNING **: Theme parsing error: elementaryX.css:213:39: Expected semicolon

(electron:21861): Gtk-WARNING **: Theme parsing error: elementaryX.css:213:41: Expected semicolon

(electron:21861): Gtk-WARNING **: Theme parsing error: elementaryX.css:213:43: Expected semicolon

(electron:21861): Gtk-WARNING **: Theme parsing error: elementaryX.css:218:38: Expected ',' in color definition

(electron:21861): Gtk-WARNING **: Theme parsing error: elementaryX.css:218:39: Expected semicolon

(electron:21861): Gtk-WARNING **: Theme parsing error: elementaryX.css:218:41: Expected semicolon

(electron:21861): Gtk-WARNING **: Theme parsing error: elementaryX.css:218:43: Expected semicolon

(electron:21861): Gtk-WARNING **: Theme parsing error: elementaryX.css:257:1: '/*' in comment block

Thanks again for this great theme, really appreciate your work.

native pdf reader strange behaviour

Some parts of the application ( left bar and background ) disappear in the native pdf. Also is the only app ( so far ) that doesn't have the minimize, close and reduce button like osx

eOs Juno
pdf

Question: Juno and OSX buttons?

Love this theme, however, is it able to correctly theme the OSX style buttons on all apps including pantheon apps. From what I'm seeing the developers (specifically the designers) seem to have prevented this?

EDIT: I'm specifically referring to Juno Beta- not Loki

Maintainer Needed!

I've left elementary os thus I'm no longer developing this theme, if you are interested in developing the theme further or want to do some pull requests for fixes you're free to do so, I'll test it in vm and accept if valid.

Flatpak Support

screenshot from 2018-05-29 10 02 47
Flatpak support is relatively easy and can be done by making two files. Although, there are button border issues with newer versions of GTK (elementary/stylesheet#291)

org.gtk.Gtk3theme.elementary-x.appdata.xml

<?xml version="1.0" encoding="UTF-8"?>
<component type="runtime">
  <id>org.gtk.Gtk3theme.elementary</id>
  <metadata_license>CC0-1.0</metadata_license>
  <name>elementary-x stylesheet</name>
  <summary>Original elementary theme with some tweaks and OS X window controls.</summary>
  <description>
    <p>Original elementary theme with some tweaks and OS X window controls.</p>
  </description>
  <url type="homepage">https://github.com/surajmandalcell/elementary-x</url>
</component>

org.gtk.Gtk3theme.elementary-x.json

{
  "id":"org.gtk.Gtk3theme.elementary-x",
  "branch": "3.22",
  "runtime": "org.gnome.Platform",
  "build-extension": true,
  "sdk": "org.gnome.Sdk",
  "runtime-version": "3.24",
  "appstream-compose": false,
  "separate-locales": false,
  "modules": [
    {
      "name": "elementary-x",
      "buildsystem": "simple",
      "build-commands": [
        "install -dm755 /usr/share/runtime/share/themes/elementary-x/gtk-3.0",
        "cp -aL gtk-3.22/* /usr/share/runtime/share/themes/elementary-x/gtk-3.0",
        "cp -a index.theme /usr/share/runtime/share/themes/elementary-x"
      ],
      "sources": [
        {
          "type": "git",
          "url": "git://github.com/surajmandalcell/elementary-x.git",
          "branch": "master"
        }
      ]
    },
    {
      "name": "appdata",
      "buildsystem": "simple",
      "build-commands": [
        "mkdir -p ${FLATPAK_DEST}/share/appdata",
        "cp org.gtk.Gtk3theme.elementary-x.appdata.xml ${FLATPAK_DEST}/share/appdata",
        "appstream-compose --basename=org.gtk.Gtk3theme.elementary-x --prefix=${FLATPAK_DEST} --origin=flatpak org.gtk.Gtk3theme.elementary-x"
      ],
      "sources": [
        {
          "type": "file",
          "path": "org.gtk.Gtk3theme.elementary-x.appdata.xml"
        }
      ]
    }
  ]
}

Compile/Install

flatpak install gnome org.gnome.Sdk 3.24
flatpak install gnome org.gnome.Platform 3.24
flatpak-builder --install build-dir org.gtk.Gtk3theme.elementary-x.json  --force-clean

"Fix" for GNOME 3.28 Apps

GNOME 3.28 apps don't have .image-button in the buttons in the headerbar, causing borders.

This seems to "fix" it. by fix it, a work around.

.titlebar button:not(.titlebutton):not(.text-button):not(.radio),
.titlebar .button:not(.titlebutton):not(.text-button):not(.radio)
{
    padding: 3px;
    border-radius: 99px;
    border: 1px solid transparent;
    background-image: none;
    box-shadow: none;

}

Sublime Text 3 missing style

Hei there, thank you so much for creating this nice theme.

I've installed this theme in Juno. But when i open sublime text, top menu and right click menu still using default elementary theme.

Is this a bug? or just happened in my PC? Thank you

Theme couldn't applied on Inkscape

Hi, looks like the theme couldn't applied to Inkscape. I used Inkscape 0.92, and other themes work fine on it. I want to try to change the Inkscape theme from the config, but I don't know how to do it. Could you help me, please.

Tab height incorrect

Hello,

Seems the tab height is incorrect in Elementary OS 6.1. This is both for light and dark themes

I find this in Terminal, Files and in Code where tabs are present.

I have attached some screenshot of the tab height in code
tab-heigh-codet

Here is a screenshot of the tab height in files
tab-height-files

This is the default correct tab height
tab-height-correct

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.