Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

button primary green/gray color + disabled + selected states #1154

Closed
the-j0k3r opened this issue Jun 28, 2020 · 30 comments
Closed

button primary green/gray color + disabled + selected states #1154

the-j0k3r opened this issue Jun 28, 2020 · 30 comments
Assignees
Labels
bug 🐛 Something isn't working

Comments

@the-j0k3r
Copy link
Member

the-j0k3r commented Jun 28, 2020

  • Browser: FF 77.0.1 (64-bit)
  • Operating System: Windows 10 pro
  • Link to page with the issue: ANy with green /gray buttons
  • Screenshot:

Issue 1 green buttons color

The green buttons are now too bright way off the balance between green/red yellow
The OPEN state color is aberrantly off the right bg color.

State--green {
    background-color: #595;

this use to be set at same color as green buttons its now WAY OFF as well as being excessively bright.

Screenshot_2020-06-28-Focus-outline-isn't-fully-styled-·-Issue-#1129-·-StylishThemes-GitHub-Dark

Issue 2 disabled green button colors

The button doesnt look disabled AT ALL.

Capture

It use to be fine before moving to $color

Issue 3 - Some gray buttons selected is too bright

Ever since buttons were moved to generator these are now a unsightly #404040 this breaks some buttons right box shadow (which is makeshift border) like the all button in notifications.

generic

Overall buttons are in a very unfortunate state since being moved to generator

TBH personally I will just do my own buttons style, so I can choose colors that suit my taste and screen quality.

@the-j0k3r the-j0k3r added the bug 🐛 Something isn't working label Jun 28, 2020
@silverwind
Copy link
Member

silverwind commented Jun 28, 2020

Thing with these greens is that the issue icons use the same color

image

They need to be bright for sufficient contrast there but on the other hand we're used to them being darker on the "open" labels.

@the-j0k3r
Copy link
Member Author

the-j0k3r commented Jun 28, 2020

When redid the green buttons I fixed all of this, they were all balanced and OK, now not even close.

Also I think you may need a better screen =) lol

@the-j0k3r
Copy link
Member Author

the-j0k3r added a commit that referenced this issue Jul 1, 2020
see #1154 (comment)

Should NOT be using hardcoded blue-color where its button related
@the-j0k3r
Copy link
Member Author

the-j0k3r commented Jul 1, 2020

@silverwind this c7be5d9

so you are using $color and $background for same areas is causing some issues, I managed to get the button fixed but think the generator is overly complicating these things that should be straight forward and simple.

still hover todo.

the-j0k3r referenced this issue Jul 1, 2020
cant be arsed to figure out a overly complicated generator, this atm is being gen as gray hover on a blue button
@silverwind
Copy link
Member

silverwind commented Jul 1, 2020

There's a lot such cases where it's not clear whether base-color or blue is needed. I think I will just drop the color option at some point, it's more trouble than it's worth having and we have more freedom in styling if we can assume blue base color.

@the-j0k3r
Copy link
Member Author

You want to remove color customization and I think we need to add at least one more.

removing user customization options is not any kind of solution to me.

In your scenario any user wanting to customize would would have to spend time instead of just clicking something.

silverwind pushed a commit that referenced this issue Jul 2, 2020
* automated regeneration (github-actions[bot])
* Change help.github.com to docs.github.com (Brian Surowiec)
* add new docs site fixes #1160 (the-j0k3r)
* fix blue-button hover (the-j0k3r)
* fix weird blue linear color re: #1154 (the-j0k3r)
* fix some hovers in help pages (the-j0k3r)
* resource page fixes (the-j0k3r)
@LunarTwilight
Copy link

hope I'm not interrupting anything, but I've found that using grey works pretty well as a disabled button background color
image

@the-j0k3r
Copy link
Member Author

the-j0k3r commented Jul 3, 2020

@LunarTwilight I dislike such overly bright colors personally, if you read my report above, currently the grey buttons select is #404040 and I think its too bright already never you mind that named color grey,

Im working on a style for buttons only that you will be able to use whatever colors you like better within a restricted set of colors/shades/brightness. I will also include borders and other colors all user configurable.

@the-j0k3r
Copy link
Member Author

@silverwind

I can track issue 2 to $color also.

FYI Im never going to fix this in this style until $color is fixed, Ive made my own button style for prsonal use for time being.

RIP

@the-j0k3r
Copy link
Member Author

the-j0k3r commented Jul 6, 2020

ISSUE 4

Capture

green colors no longer match in several sections #1154 (comment) for one

And then the verified colors and borders also dont match. This use to match and work fine.

Capture

the open button is

.State--green {
	background-color: #484;
}

the new issue button is

.btn-primary {
	background-color: #373;
	border-color: rgba(220, 220, 220, .15);
	box-shadow: none;
}

These USE to match before they were moved to generator and before $color Everything was green enough, matched and worked, now, yea mess.

github-actions bot added a commit to k4u5h4L/GitHub-Dark that referenced this issue Jul 9, 2020
* automated regeneration (github-actions[bot])
* remove border from .delete-topic-button (silverwind)
* update deps, regenerate (silverwind)
* v2.1.34 (silverwind)
* update deps, regenerate (silverwind)
* add white text color generator - fixes StylishThemes#1164 (silverwind)
* tweak purples and developer body color - StylishThemes#1170 (silverwind)
* v2.1.33 (github-actions[bot])
* automated regeneration (github-actions[bot])
* v2.1.32 (github-actions[bot])
* automated regeneration (github-actions[bot])
* v2.1.31 (github-actions[bot])
* automated regeneration (github-actions[bot])
* update usercss template license (the-j0k3r)
* readme: add break (the-j0k3r)
* readme update re: StylishThemes#1167 (the-j0k3r)
* some contributing.md updates re: StylishThemes#1167 (the-j0k3r)
* move contrbuting to root (the-j0k3r)
* readme: tweak and add custom blame (the-j0k3r)
* v2.1.30 (the-j0k3r)
* readme: replace GitHub Unrounded with GitHub Custom Border Radii (the-j0k3r)
* remove manual border override fixes  StylishThemes#1162 (the-j0k3r)
* v2.1.29 (github-actions[bot])
* automated regeneration (github-actions[bot])
* v2.1.28 (github-actions[bot])
* automated regeneration (github-actions[bot])
* v2.1.27 (github-actions[bot])
* automated regeneration (github-actions[bot])
* Change help.github.com to docs.github.com (Brian Surowiec)
* add new docs site fixes StylishThemes#1160 (the-j0k3r)
* fix blue-button hover (the-j0k3r)
* fix weird blue linear color re: StylishThemes#1154 (the-j0k3r)
* fix some hovers in help pages (the-j0k3r)
* resource page fixes (the-j0k3r)
* v2.1.26 (github-actions[bot])
* automated regeneration (github-actions[bot])
* v2.1.25 (github-actions[bot])
* automated regeneration (github-actions[bot])
* v2.1.24 (github-actions[bot])
* automated regeneration (github-actions[bot])
* better fix for code review tabs (silverwind)
* fix code review editor tab (silverwind)
* remove dupe manual .diffstat-summary strong (the-j0k3r)
* v2.1.23 (github-actions[bot])
* automated regeneration (github-actions[bot])
* Use pr page for mobile generation (Brian Surowiec)
* v2.1.22 (silverwind)
* remove workarounds and cleanup (silverwind)
* tweak purple and pinks (silverwind)
* v2.1.21 (silverwind)
* update deps, remove noop border generators (silverwind)
* remove 0 generators, fixes StylishThemes#1157 (silverwind)
* fix medium and extra-large box shadow - fixes StylishThemes#1155 (silverwind)
* v2.1.20 (silverwind)
* another green tweak (silverwind)
* v2.1.19 (silverwind)
* tweak green and red colors again (silverwind)
* add white box-shadow rule, fixes StylishThemes#1153 (silverwind)
* fix red tooltips (silverwind)
* tweak red color (silverwind)
* rework green colors (silverwind)
* sort colors (silverwind)
* rework yellow colors, fixes StylishThemes#1152 (silverwind)
* v2.1.18 (github-actions[bot])
* automated regeneration (github-actions[bot])
* fix outdated label - fixes StylishThemes#1152 (silverwind)
* add GitHub Unrounded (silverwind)
* v2.1.17 (the-j0k3r)
* remove rgba fallback (the-j0k3r)
* v2.1.16 (silverwind)
* touch yarn.lock after update (silverwind)
* touch node_modules after it's updated (silverwind)
* update deps, regenerate (silverwind)
* update deps, regenerate - fixes StylishThemes#1149 (silverwind)
* move to github bug (the-j0k3r)
* move base-color to rgba (the-j0k3r)
* fix contrib calendar again fixes StylishThemes#1150 (the-j0k3r)
* v2.1.15 (github-actions[bot])
* automated regeneration (github-actions[bot])
* fix tooltip on contribution calendar (silverwind)
* re-add removed tweak drowpdown disabled hover (the-j0k3r)
* gen: move #264665 to base-color (the-j0k3r)
* generator: add box-shadow: 0 0 0 3px rgba(3,102,214,.3) as base-color rgb (the-j0k3r)
* v2.1.14 (silverwind)
* update deps and regenerate (silverwind)
* remove useless rule (silverwind)
* v2.1.13 (silverwind)
* fix branch selector border (silverwind)
* v2.1.12 (silverwind)
* disable shorthand-property-no-redundant-values (silverwind)
* update deps and regenerate - fixes StylishThemes#1148 (silverwind)
* v2.1.11 (github-actions[bot])
* automated regeneration (github-actions[bot])
* v2.1.10 (the-j0k3r)
* contributions calendar fix halloween colors (the-j0k3r)
* fix contribution graph fixes StylishThemes#1141 (the-j0k3r)
* v2.1.9 (github-actions[bot])
* automated regeneration (github-actions[bot])
* add a box-shadow (silverwind)
* add disabled pagination color (silverwind)
* v2.1.8 (silverwind)
* remove support for lab.github.com (silverwind)
* change to BSD-2-Clause (silverwind)
* v2.1.7 (silverwind)
* fix primary button icon again (silverwind)
* remove manual red border/color rules and tweak red (silverwind)
* v2.1.6 (silverwind)
* disable function-url-quotes (silverwind)
* fix white rules (silverwind)
* more tweaks (silverwind)
* fix nav item border (silverwind)
* add #fff color rule (silverwind)
* fix typo (silverwind)
* v2.1.5 (silverwind)
* update deps (silverwind)
* fix readme border issues (silverwind)
* fix merge status list borders (silverwind)
* v2.1.4 (silverwind)
* fix user page sticky header - fixes StylishThemes#1142 (silverwind)
* more color fixes (silverwind)
* fix too bright red and more color tweaks. fixes StylishThemes#1145 (silverwind)
* fix extra borders - fixes StylishThemes#1147 (silverwind)
* make avatars round again (silverwind)
* fix grey button hover (silverwind)
* scope support.github.com rules, fixes StylishThemes#1146 (silverwind)
* v2.1.3 (github-actions[bot])
* automated regeneration (github-actions[bot])
* v2.1.2 (silverwind)
* branch selector fixes, scope lab styles (silverwind)
* use generator for most of .full-commit (silverwind)
* fix flash close button - fixes StylishThemes#1144 (silverwind)
* v2.1.1 (silverwind)
* brighten counters (silverwind)
* more tweaks (silverwind)
* Fix primary button icon color (silverwind)
* Un-round the avatars (silverwind)
* v2.1.0 (silverwind)
* more redesign fixes (silverwind)
* basic fixes for redesign (silverwind)
* v2.0.115 (github-actions[bot])
* automated regeneration (github-actions[bot])
* update authors (the-j0k3r)
* update deps (the-j0k3r)
* Remove custom padding from topic tags (Brian Surowiec)
* fix alert blankslate (silverwind)
* v2.0.114 (github-actions[bot])
* automated regeneration (github-actions[bot])
* workflows tweaks (silverwind)
* don't use rm - StylishThemes#1131 (silverwind)
* update deps (the-j0k3r)
* readme: remove github dark script (the-j0k3r)
* v2.0.113 (github-actions[bot])
* automated regeneration (github-actions[bot])
* v2.0.112 (github-actions[bot])
* automated regeneration (github-actions[bot])
* v2.0.111 (github-actions[bot])
* automated regeneration (github-actions[bot])
* v2.0.110 (github-actions[bot])
* automated regeneration (github-actions[bot])
* makefile tweak (silverwind)
* update deps (silverwind)
* remove useless border rule (silverwind)
* v2.0.109 (github-actions[bot])
* automated regeneration (github-actions[bot])
* v2.0.108 (github-actions[bot])
* automated regeneration (github-actions[bot])
* v2.0.107 (github-actions[bot])
* automated regeneration (github-actions[bot])
* v2.0.106 (github-actions[bot])
* automated regeneration (github-actions[bot])
* add generator for border between multiple pushed branches (silverwind)
* v2.0.105 (github-actions[bot])
* automated regeneration (github-actions[bot])
* v2.0.104 (github-actions[bot])
* automated regeneration (github-actions[bot])
* v2.0.103 (silverwind)
* update deps (silverwind)
* restore squiggly line image - fixes StylishThemes#1120 (silverwind)
* v2.0.102 (github-actions[bot])
* automated regeneration (github-actions[bot])
* v2.0.101 (github-actions[bot])
* automated regeneration (github-actions[bot])
* v2.0.100 (github-actions[bot])
* automated regeneration (github-actions[bot])
* update deps (silverwind)
* clean up some unused styles (silverwind)
* v2.0.99 (github-actions[bot])
* automated regeneration (github-actions[bot])
* v2.0.98 (github-actions[bot])
* automated regeneration (github-actions[bot])
* v2.0.97 (github-actions[bot])
* automated regeneration (github-actions[bot])
* v2.0.96 (github-actions[bot])
* automated regeneration (github-actions[bot])
* Add node_modules dependencies to make targets (silverwind)
* v2.0.95 (github-actions[bot])
* automated regeneration (github-actions[bot])
* v2.0.94 (github-actions[bot])
* automated regeneration (github-actions[bot])
* v2.0.93 (silverwind)
* color tweaks and add a few more rules (silverwind)
* remove manual pagination styling (silverwind)
* add background to labels/milestone buttons (silverwind)
* v2.0.92 (silverwind)
* brighten tab hover color (silverwind)
* remove some potentially unneeded svgs - StylishThemes#1117 (silverwind)
* remove padding hacks on repo and page tabs (silverwind)
* remove hsla's from generator, they are pointless rules (silverwind)
* fix mobile site header color opacities (silverwind)
* v2.0.91 (github-actions[bot])
* automated regeneration (github-actions[bot])
* v2.0.90 (silverwind)
* fix enterprise commit tease - StylishThemes#1114 (silverwind)
* remove obsolete green rule (silverwind)
* v2.0.89 (silverwind)
* fix buttons active background (silverwind)
* v2.0.88 (silverwind)
* undo border 0/none generators, revert tab style (silverwind)
* v2.0.87 (silverwind)
* update deps, regenerate (silverwind)
* add manual style for selected tab, fixes StylishThemes#1115 (silverwind)
* add various none/0 generators, fixes StylishThemes#1116 (silverwind)
* v2.0.86 (github-actions[bot])
* automated regeneration (github-actions[bot])
* tweak selected line background (silverwind)
* Switch to yarn and make (silverwind)
* push git on the npm release tasks (silverwind)
* v2.0.85 (silverwind)
* fix cut-off letters in actions workflow list (silverwind)
* regenerate (silverwind)
* update deps (silverwind)
* Fix background on markdown images (silverwind)
* Add fill: #24292e to the generator (Brian Surowiec)
* Remove manual styles for .pagination class (Brian Surowiec)
* v2.0.84 (github-actions[bot])
* automated regeneration (github-actions[bot])
* Fix shadows on empty repo clone buttons (Brian Surowiec)
* Adjust auth token blue bg (Brian Surowiec)
* v2.0.83 (github-actions[bot])
* automated regeneration (github-actions[bot])
* update deps (silverwind)
* remove manual styles for files table (silverwind)
* run regenerate on node 14 (silverwind)
* More vscode-auth styling (Brian Surowiec)
* Support for vscode-auth.github.com (Brian Surowiec)
* v2.0.82 (github-actions[bot])
* automated regeneration (github-actions[bot])
* run tests during regenerate (silverwind)
* update dependencies, regenerate (silverwind)
* v2.0.81 (github-actions[bot])
* automated regeneration (github-actions[bot])
* update fetch-css and and strict option to some sources (silverwind)
* v2.0.80 (github-actions[bot])
* automated regeneration (github-actions[bot])
* Remove manual style for generated rule (Brian Surowiec)
* Add rgba(27,31,35,.5) to the generator (Brian Surowiec)
* fix cut-off 'g' letters on user page timeline (silverwind)
* v2.0.79 (silverwind)
* update deps (silverwind)
* add notification preview to readme (silverwind)
* fix notification preview headers - fixes StylishThemes#1012 (silverwind)
* add notifications preview - StylishThemes#1012 (silverwind)
* v2.0.78 (github-actions[bot])
* automated regeneration (github-actions[bot])
* v2.0.77 (github-actions[bot])
* automated regeneration (github-actions[bot])
* better solution for /actions/new bg (the-j0k3r)
* v2.0.76 (github-actions[bot])
* automated regeneration (github-actions[bot])
* update deps (silverwind)
* fetch tweak (silverwind)
* add named generator mappings (silverwind)
* v2.0.75 (github-actions[bot])
* automated regeneration (github-actions[bot])
* v2.0.74 (github-actions[bot])
* automated regeneration (github-actions[bot])
* another fetch tweak (silverwind)
* fetch tags manually (silverwind)
* try fetch-depth in regenerate workflow (silverwind)
* v2.0.73 (github-actions[bot])
* automated regeneration (github-actions[bot])
* v2.0.72 (github-actions[bot])
* automated regeneration (github-actions[bot])
* remove all manual .suggester styles, fixes StylishThemes#1112 (silverwind)
* Fix class name (Brian Surowiec)
* fetch quietly (silverwind)
* ignore untracked files when regenerating (silverwind)
* update to eslint 7 (silverwind)
* another attempt at fetching tags (silverwind)
* v2.0.71 (github-actions[bot])
* automated regeneration (github-actions[bot])
* clean up a few styles (silverwind)
* clean up a few styles (silverwind)
* fetch all tags to to fix changelogs (silverwind)
* v2.0.70 (github-actions[bot])
* automated regeneration (github-actions[bot])
* reverse site order, deal with background-image conflict (silverwind)
* Remove bg image from new action workflow page (Brian Surowiec)
* update remap-css for source index comments (silverwind)
* v2.0.69 (silverwind)
* restore remove backgrounds, too much breakage (silverwind)
* v2.0.68 (silverwind)
* fix overly bright grey boxes (silverwind)
* v2.0.67 (silverwind)
* fix gist codemirror background (silverwind)
* fix release page box-shadow (silverwind)
* format (silverwind)
* nuke more rules (prose diff and a bunch of background unsets) (silverwind)
* remove support for awesome-autocomplete (silverwind)
* remove some rules, fix header links (silverwind)
* v2.0.66 (github-actions[bot])
* automated regeneration (github-actions[bot])
* let .btn style through generator, tweak colors (silverwind)
* Remove old .date-selector classes (Brian Surowiec)
* Remove !important from bright text rule (Brian Surowiec)
* Set .btn-primary text color to white (Brian Surowiec)
* fix tests (the-j0k3r)
* tweak net graph canvas filter (the-j0k3r)
* workaround 3d acl on chrome net graph fixes StylishThemes#1102 (the-j0k3r)
* v2.0.65 (silverwind)
* counter and color tweaks - StylishThemes#1110 (silverwind)
* v2.0.64 (silverwind)
* fix counters, fixes StylishThemes#1110 (silverwind)
* Remove default mappings from generator (Brian Surowiec)
* Remove unneeded manual rules (Brian Surowiec)
* v2.0.63 (silverwind)
* update remap-css and enable value validation - fixes StylishThemes#1084 (silverwind)
* update remap-css and regenerate (silverwind)
* update remap-css and regenerate (silverwind)
* update remap-css and regenerate (silverwind)
* fix open merge/squash/reb button (the-j0k3r)
* remove some useless manual styles (silverwind)
* workaround button issue, remove prefix again (silverwind)
* fix repo header transparency (silverwind)
* prefix main page styles, tweak button gradient (silverwind)
* fix selector splitting issue, disable lint rule about numbers (silverwind)
* use source order for generated rules (silverwind)
* v2.0.62 (github-actions[bot])
* automated regeneration (github-actions[bot])
* Remove duplicate selector (Brian Surowiec)
* tweak generate script call (silverwind)
* update deps (silverwind)
* update deps (silverwind)
* invert hsla colors (silverwind)
* v2.0.61 (silverwind)
* fix primary disabled button hover border by reordering rules (silverwind)
* fix primary button active/hover styles (silverwind)
* fix disabled button border color o hover (the-j0k3r)
* fix button disabled text color (the-j0k3r)
* fix checkboxes size + cleaup !important (the-j0k3r)
* test node 14 (silverwind)
* v2.0.60 (silverwind)
* add disabled button text generator (silverwind)
* v2.0.59 (github-actions[bot])
* automated regeneration (github-actions[bot])
* fix selected button, remove active button style (silverwind)
* move button styles to generator, fixes StylishThemes#1103 (silverwind)
* v2.0.58 (github-actions[bot])
* automated regeneration (github-actions[bot])
* v2.0.57 (github-actions[bot])
* automated regeneration (github-actions[bot])
* v2.0.56 (github-actions[bot])
* automated regeneration (github-actions[bot])
* reduce regenerate interval again (silverwind)
* fix .clone-url-link:active bg (the-j0k3r)
* fix clone button box shadow re: StylishThemes#1099 fixes StylishThemes#1099 (comment) (the-j0k3r)
* v2.0.55 (github-actions[bot])
* automated regeneration (github-actions[bot])
* v2.0.54 (github-actions[bot])
* automated regeneration (github-actions[bot])
* v2.0.53 (github-actions[bot])
* automated regeneration (github-actions[bot])
* fix active tab bottom border (silverwind)
* v2.0.52 (silverwind)
* update deps (silverwind)
* fix clone button - fixes StylishThemes#1099 (silverwind)
* v2.0.51 (github-actions[bot])
* automated regeneration (github-actions[bot])
* more tab fixes (the-j0k3r)
* v2.0.50 (the-j0k3r)
* gen: add background initial and generate (the-j0k3r)
* remove important from selectec tab (the-j0k3r)
* use selected tab color (the-j0k3r)
* condense same media rule entry (the-j0k3r)
* fix mobile tab resolves StylishThemes#1098 (the-j0k3r)
* v2.0.49 (github-actions[bot])
* automated regeneration (github-actions[bot])
* increase regenerate frequency (silverwind)
* v2.0.48 (github-actions[bot])
* automated regeneration (github-actions[bot])
* v2.0.47 (the-j0k3r)
* gen: add border #dcffe4 as #002800 re: StylishThemes#1097 (the-j0k3r)
* gen: add color #144620 a #34d058 re: StylishThemes#1097 (the-j0k3r)
* v2.0.46 (github-actions[bot])
* automated regeneration (github-actions[bot])
* v2.0.45 (github-actions[bot])
* automated regeneration (github-actions[bot])
* style inline blue box github.com (the-j0k3r)
* v2.0.44 (the-j0k3r)
* invert selectors position in rule and clean (the-j0k3r)
* fix read notifications bg fixes StylishThemes#1095 (the-j0k3r)
* v2.0.43 (github-actions[bot])
* automated regeneration (github-actions[bot])
* remove superflous test command (silverwind)
* v2.0.42 (github-actions[bot])
* automated regeneration (github-actions[bot])
* add background to search language sidebar (silverwind)
* v2.0.41 (silverwind)
* remove unused script (silverwind)
* update deps (silverwind)
* Fix code snippet background in security alerts (StylishThemes#1093) (Brian Surowiec)
* regenerate: add some whitespace (silverwind)
* Change requested background as well (Federico Brigante)
* Revert usercss-template.css (Federico Brigante)
* Use background (Federico Brigante)
* Fix tinted background color option (Federico Brigante)
* use ssh-key setting of checkout action (silverwind)
* use ssh with deploy key to push (silverwind)
* use PAT when pushing regeneration (silverwind)
* use github-actions name/email for the commit (silverwind)
* rename variable (silverwind)
* try the repo owner for commit author (silverwind)
* tweak regenerate workflow, reduce interval (silverwind)
* v2.0.40 (silverwind)
* automated regeneration (silverwind)
* adjust workflow name (silverwind)
* regenerate: set origin url, increase frequency for testing (silverwind)
* first attempt at regenerate action (silverwind)
* v2.0.39 (silverwind)
* automated regeneration (silverwind)
* v2.0.38 (silverwind)
* automated regeneration (silverwind)
* v2.0.37 (silverwind)
* automated regeneration (silverwind)
* update devDependencies (silverwind)
* v2.0.36 (silverwind)
* automated regeneration (silverwind)
* v2.0.35 (silverwind)
* automated regeneration (silverwind)
* lightens rel/tag button text clr closes StylishThemes#1085 (the-j0k3r)
* darken notificationsv2 search warn fixes StylishThemes#1092 (the-j0k3r)
* v2.0.34 (silverwind)
* automated regeneration (silverwind)
* v2.0.33 (silverwind)
* update devDependencies (silverwind)
* fix rgh icons in header - fixes StylishThemes#1090 (silverwind)
* v2.0.32 (silverwind)
* automated regeneration (silverwind)
* v2.0.31 (silverwind)
* automated regeneration (silverwind)
* add npmhub - StylishThemes#1088 (silverwind)
* regenerate (silverwind)
* gen: revert graphql url (the-j0k3r)
* graphql fix generator URL (the-j0k3r)
* Update graphql url (Brian Surowiec)
* v2.0.30 (silverwind)
* automated regeneration (silverwind)
* v2.0.29 (the-j0k3r)
* regenerate (the-j0k3r)
* dont style blue border of file holder (the-j0k3r)
* fix npmhub bottom border color closes StylishThemes#1088 (the-j0k3r)
* update dependencies (silverwind)
* update fetch-css (silverwind)
* v2.0.28 (silverwind)
* regenerate (silverwind)
* update dependencies, fixes StylishThemes#1087 (silverwind)
* v2.0.27 (silverwind)
* automated regeneration (silverwind)
* v2.0.26 (silverwind)
* automated regeneration (silverwind)
* v2.0.25 (silverwind)
* automated regeneration (silverwind)
* v2.0.24 (silverwind)
* automated regeneration (silverwind)
* remove useless postcss dependency (silverwind)
* remove useless escaping (silverwind)
* v2.0.23 (silverwind)
* update devDependencies (silverwind)
* fix billing form regex (silverwind)
* fix security advisory form (silverwind)
* fix release page dropzone background (silverwind)
* v2.0.22 (silverwind)
* automated regeneration (silverwind)
* dont style checklist progress bar (the-j0k3r)
* graphql address comments (the-j0k3r)
* graphql style inline html checkboxes (the-j0k3r)
* graphql lighten color + remove !important (the-j0k3r)
* v2.0.21 (silverwind)
* automated regeneration (silverwind)
* v2.0.20 (silverwind)
* automated regeneration (silverwind)
* v2.0.19 (silverwind)
* update dependencies (silverwind)
* fix js-notice on actions (silverwind)
* v2.0.18 (silverwind)
* automated regeneration (silverwind)
* v2.0.17 (silverwind)
* automated regeneration (silverwind)
* v2.0.16 (silverwind)
* automated regeneration (silverwind)
* v2.0.15 (silverwind)
* update devDependencies (silverwind)
* graphql style inline html (the-j0k3r)
* gen: graphql add bg ##eee and remove manual (the-j0k3r)
* gen: add graphql buttons + remove manual styles (the-j0k3r)
* graphql manually style search input (the-j0k3r)
* gen: graphql explorer + remove  manual (the-j0k3r)
* gen: add graphiql color #3b5998 (the-j0k3r)
* gen: add #3b5998 graphiql and remove manual (the-j0k3r)
* actions: restore uppercase name (silverwind)
* restore old 'on', remove 'name' (silverwind)
* update devDependencies (silverwind)
* actions: add node 13, remove 10 (silverwind)
* actions: add node 10 and misc tweaks (silverwind)
* re-add node_modules to .gitignore (silverwind)
* Fix top border on pr checks view (Brian Surowiec)
* Add #ffe3c8 to the generator (Brian Surowiec)
* Replace developer sidebar arrows with svgs (Brian Surowiec)
* update devDependencies (silverwind)
* update devDependencies (silverwind)
* cleanup .gitignore (silverwind)
* v2.0.14 (silverwind)
* automated regeneration (silverwind)
* v2.0.13 (silverwind)
* remove some manual styles on developer guides (silverwind)
* add new white shade - fixes StylishThemes#1083 (silverwind)
* share exit function (silverwind)
* remove unused dependency clean-css-cli (silverwind)
* update devDependencies (silverwind)
* v2.0.12 (silverwind)
* automated regeneration (silverwind)
* v2.0.11 (silverwind)
* remove manual color styles for .form-control, .form-select, body (silverwind)
* restore selected search result highlight vs normal color balance (the-j0k3r)
* Remove manual style of selected search result text (Brian Surowiec)
* Remove unneeded quotes from css values (Brian Surowiec)
* fix TM both result and display (the-j0k3r)
* v2.0.10 (silverwind)
* restore RGH class (silverwind)
* Revert "workaround for RGH issues, see StylishThemes#1082" (silverwind)
* v2.0.9 (silverwind)
* workaround for RGH issues, see StylishThemes#1082 (silverwind)
* v2.0.8 (silverwind)
* remove .refined-github prefix - fixes StylishThemes#1082 (silverwind)
* Style support site search icon (Brian Surowiec)
* v2.0.7 (silverwind)
* remove problematic input group, manually style unstyled input on org invite (silverwind)
* v2.0.6 (silverwind)
* update devDependencies (silverwind)
* fix background issues by reverting .file change (silverwind)
* fix gist background and move selectors to theme section (silverwind)
* regex fixes/simpliciation (silverwind)
* v2.0.5 (silverwind)
* automated regeneration (silverwind)
* fix input while logged out fixes StylishThemes#1079 (the-j0k3r)
* v2.0.4 (silverwind)
* automated regeneration (silverwind)
* Remove color from generated rule (Brian Surowiec)
* Add rgba(27,31,35,.1) to the generator (Brian Surowiec)
* Add rgba(27,31,35,.15) to the generator (Brian Surowiec)
* restore http in regex, it's better for future compat (silverwind)
* Remove table background color (Brian Surowiec)
* Remove !important to fix input focus style (Brian Surowiec)
* Style developer preview notice (Brian Surowiec)
* Remove actions v1 editor from regex (Brian Surowiec)
* Add #2f363d to the generator (Brian Surowiec)
* Remove old actions marketing selector (Brian Surowiec)
* Remove actions v1 styles (Brian Surowiec)
* remove http in github.com regex (silverwind)
* v2.0.3 (silverwind)
* automated regeneration (silverwind)
* update writeFile comment (silverwind)
* update devDependencies (silverwind)
* v2.0.2 (silverwind)
* update devDependencies (silverwind)
* restore background on diff-load (silverwind)
* update devDependencies (silverwind)
* v2.0.1 (silverwind)
* update devDependencies (silverwind)
* Fix linked-to files border in diff (silverwind)
* update authors (the-j0k3r)
* add generator rules for status button - fixes StylishThemes#1076 (silverwind)
* v2.0.0 (silverwind)
* fix eslint command (silverwind)
* remove grunt and custom build (silverwind)
* add append-write on windows (silverwind)
* v1.22.240 (silverwind)
* automated regeneration (silverwind)
* darken .bg-yellow-light in .AnnotationsPopover (the-j0k3r)
* v1.22.239 (silverwind)
* format (silverwind)
* fix ©️ ®️, remove useless unicode block (silverwind)
* don't invert arrow-clockwise emoji (silverwind)
* increase commit-tease font-size by 1px (silverwind)
* readme tweaks (silverwind)
* regenerate unicode, untested in macOS (the-j0k3r)
* style svg bg in camo page (the-j0k3r)
* dont invert copyright/registered chars (the-j0k3r)
* meta: add GitHub Dark IMG Background Color to readme (the-j0k3r)
* dont invert TM char (the-j0k3r)
* more specific selector for commit author (silverwind)
* v1.22.238 (silverwind)
* automated regeneration (silverwind)
* v1.22.237 (silverwind)
* tweak commit-tease (silverwind)
* try white commit-tease (silverwind)
* v1.22.236 (silverwind)
* make commit-tease text blue (silverwind)
* better fix for StylishThemes#1073 (the-j0k3r)
* v1.22.235 (silverwind)
* automated regeneration (silverwind)
* condense padding rule (the-j0k3r)
* rework ae114b5 (the-j0k3r)
* merge help @moz-doc + cleanup (the-j0k3r)
* fix .is-autocheck-loading octicon spinner (the-j0k3r)
* dont break input with validation fixes StylishThemes#1073 (the-j0k3r)
* help page: octicon currentcolor (the-j0k3r)
* fix help page octicon color (the-j0k3r)
* v1.22.234 (silverwind)
* fix commit-tease (silverwind)
* v1.22.233 (silverwind)
* automated regeneration (silverwind)
* sort generated selectors (silverwind)
* update dependencies (silverwind)
* v1.22.232 (silverwind)
* fix list margins (silverwind)
* fix org invite page - fixes StylishThemes#1072 (silverwind)
* update dependencies, fix lint (silverwind)
* v1.22.231 (silverwind)
* update devDependencies (silverwind)
* green buttons redesign (the-j0k3r)
* gen: green button color match (the-j0k3r)
* reorganize a couple rules (the-j0k3r)
* better fix for .blankslate (silverwind)
* help page fixes (the-j0k3r)
* generate.js cleanups (silverwind)
* v1.22.230 (silverwind)
* update devDependencies (silverwind)
* update devDependencies (silverwind)
* switch to fetch-css (silverwind)
* add missing dashed borders (silverwind)
* switch to remap-css (silverwind)
* gen: style (un)answered icons (the-j0k3r)
* v1.22.229 (silverwind)
* update devDependencies (silverwind)
* add generators for discussion greens - fixes StylishThemes#1071 (silverwind)
* v1.22.228 (silverwind)
* automated regeneration (silverwind)
* fix marketplace icons (silverwind)
* v1.22.227 (silverwind)
* automated regeneration (silverwind)
* dont camel case action names (the-j0k3r)
* v1.22.226 (silverwind)
* automated regeneration (silverwind)
* v1.22.225 (silverwind)
* update dependencies, regenerate (silverwind)
* Remove hidden .blankslate (silverwind)
* remove manual styles on security advisory (silverwind)
* add border on frontpage notices (silverwind)
* better attempt at default fill (silverwind)
* Add default path fill (silverwind)
* v1.22.224 (silverwind)
* scope enterprise fixes and add more (silverwind)
* adjust GHE triangle selectors (silverwind)
* fix RGH 'more' button color (silverwind)
* v1.22.223 (silverwind)
* remove all manual .merge-pr-more-commits styling - StylishThemes#1067 (silverwind)
* fix comment arrows and before/after from css parser (silverwind)
* exclude non-content-scripts from RGH style extraction - StylishThemes#1067 (silverwind)
* Attempt to fix GHE comment triangles (silverwind)
* v1.22.222 (silverwind)
* handle RGH's code tags, fixes StylishThemes#1065 (silverwind)
* add hack for extraneous margin on markdown task list items (silverwind)
* v1.22.221 (silverwind)
* automated regeneration (silverwind)
* fix GHE comment header, split out GHE rules (silverwind)
* v1.22.220 (the-j0k3r)
* fix btn-blue in edu/lab (the-j0k3r)
* fix lab/orgs page images (the-j0k3r)
* fix lab page .btn-blue (the-j0k3r)
* fix lab pages tab (the-j0k3r)
* generator: add lab.github.com to sources + gen (the-j0k3r)
* fix lab pages linear-gradient (the-j0k3r)
* v1.22.219 (silverwind)
* automated regeneration (silverwind)
* v1.22.218 (silverwind)
* automated regeneration (silverwind)
* v1.22.217 (silverwind)
* automated regeneration (silverwind)
* Add hack to fix sticky pr toolbar on files tab (Brian Surowiec)
* update deps and revert lint (the-j0k3r)
* omit this for now (the-j0k3r)
* reverts 72aa761 (the-j0k3r)
* style us not ish (the-j0k3r)
* double colon pseudo-element-colon-notation (the-j0k3r)
* devdeps update (the-j0k3r)
* add parent to img[src*="-zero.svg"] (the-j0k3r)
* devdeps update (the-j0k3r)
* sponsor page fixes (the-j0k3r)
* v1.22.216 (silverwind)
* automated regeneration (silverwind)
* v1.22.215 (silverwind)
* attempt to fix GHE repo header (silverwind)
* style saved-blank.svg (the-j0k3r)
* style filters zero also decrease specificity (the-j0k3r)
* style inbox svg (the-j0k3r)
* github.com/personal only fixes (the-j0k3r)
* v1.22.214 (Brian Surowiec)
* Remove all sticky header tweaks (Brian Surowiec)
* fix toolbar shadow offset (Knut Zuidema)
* v1.22.213 (the-j0k3r)
* regenerate (the-j0k3r)
* support github education closes StylishThemes#1062 (the-j0k3r)
* add render math fixes StylishThemes#1060 (the-j0k3r)
* Add background color to notifications v2 lists (Brian Surowiec)
* Remove unneeded notifications v2 selectors (Brian Surowiec)
* Remove unneeded notifications v2 selector (Brian Surowiec)
* cleanup: companion styles resort + tweaks (the-j0k3r)
* invert feature-preview-dialog octo svg (the-j0k3r)
* v1.22.212 (silverwind)
* fix gap in sticky pr toolbar, make shadow less intense (silverwind)
* Remove box-shadow from read more blocks (Brian Surowiec)
* v1.22.211 (silverwind)
* automated regeneration (silverwind)
* Add stylelint problem matcher to workflow (Brian Surowiec)
* Rename job to test (Brian Surowiec)
* v1.22.210 (silverwind)
* automated regeneration (silverwind)
* add comment (silverwind)
* dedupe files in generator (silverwind)
* pull all js/css files out of extension in generator (silverwind)
* add gitako to readme list - StylishThemes#1055 (silverwind)
* v1.22.209 (silverwind)
* support gitako, add css-in-js extraction for web extensions, style pjax loader - StylishThemes#1055 (silverwind)
* remove useless rule on repohead (silverwind)
* next attempt at repohead/pagehead (silverwind)
* another attempt at repohead fix (silverwind)
* v1.22.208 (the-j0k3r)
* increase repohead specificity (the-j0k3r)
* fix sticky header shadow fixes StylishThemes#1056 (the-j0k3r)
* v1.22.207 (silverwind)
* automated regeneration (silverwind)
* v1.22.206 (silverwind)
* update devDependencies (silverwind)
* fix issues related to filter lists - fixes StylishThemes#1058 (silverwind)
* v1.22.205 (silverwind)
* ensure enough specificity for semi-transparent header - StylishThemes#1057 (silverwind)
* v1.22.204 (silverwind)
* regenerate, fixes StylishThemes#1057 (silverwind)
* fix graphql explorer prefix (silverwind)
* simplify disable hover workaround selector, add comment (silverwind)
@the-j0k3r
Copy link
Member Author

the-j0k3r commented Jul 22, 2020

There's a lot such cases where it's not clear whether base-color or blue is needed. I think I will just drop the color option at some point, it's more trouble than it's worth having and we have more freedom in styling if we can assume blue base color.

@silverwind feel free to drop background and color customization. I have an addon style nearly ready that will add it back.

It does more than that, and yea, You can customize nearly everything. within reason and even flip foreground colors when the bluecolor is changed to a very bright color like white.

@silverwind
Copy link
Member

I plan to move everything to CSS vars so it'd be quite trivial to override those in additional styles.

Do we need to keep this issue open? I think green button issues are all resolved except maybe some minor color adjustments.

@the-j0k3r
Copy link
Member Author

the-j0k3r commented Jul 25, 2020

The gray buttons selected and others need to be less bright as reported, however lately the whole style looks completely alien gray/dark gray colors wise, its seems to be your preference, in that case close or do what you feel.

I plan to move everything to CSS vars so it'd be quite trivial to override those in additional styles.

this would be ideal, but the massive color palette is way too much to handle in any override style, especially if you want to customize colors. Ideally we want a much smaller range of colors.

But it would work for preset colors.

Either way css vars are much wanted for allowing customization externally without using any rules. So said style would be trivial

#1096 (comment) shows how many colors we actually have.

@silverwind
Copy link
Member

Probably not going to do everything but shades of grey and base color are good candidates for variables.

@the-j0k3r
Copy link
Member Author

the-j0k3r commented Jul 25, 2020

Anything thats not covered by body bg color would also be nice :)

And all sorts of buttons would be nice to be variables, ill see where I can pitch in maybe try to extend the reach to a limited set that will allow a more comprehensive override with as little rules as possible.

@xt0rted
Copy link
Member

xt0rted commented Jul 26, 2020

If all of the colors were moved to variables we could set defaults for them and then use a secondary style like GitHub Dark Settings or something to let users set them to whatever they want, that way this style's config isn't crowded with them all.

image

/* ==UserStyle==
@name           GitHub Dark Settings
@namespace      github.com/openstyles/stylus
@version        1.0.0
@description    A new userstyle
@author         Me
@preprocessor default
@advanced color ghd-bg-color "Background Color" #202020
==/UserStyle== */

@-moz-document domain("github.com") {
  body {
    /* Required for Stylus to load the style */
  }
}

@the-j0k3r
Copy link
Member Author

If all of the colors were moved to variables we could set defaults for them and then use a secondary style like GitHub Dark Settings or something to let users set them to whatever they want, that way this style's config isn't crowded with them all.

Im working on something a great deal more advanced than this, Stay tuned to this channel

@silverwind
Copy link
Member

silverwind commented Jul 26, 2020

@xt0rted Could not get your method to work, and even if it would, it probably has a race condition on which style applies last. Probably better to use uso and add !important:

/* ==UserStyle==
@name         Example UserCSS style
@namespace    github.com/openstyles/stylus
@version      1.0.0
@license      unlicense
@preprocessor uso
@var color ghd-bg-color "Background Color" #f1a
==/UserStyle== */
@-moz-document domain("github.com") {
  :root {
    --ghd-bg-color: /*[[ghd-bg-color]]*/ !important;
  }
}

@xt0rted
Copy link
Member

xt0rted commented Jul 26, 2020

@silverwind does the style name dictate ordering? In my testing I needed to prefix override styles with GitHub Dark to avoid !important and to get the right cascading.

@the-j0k3r
Copy link
Member Author

IDk what you guys are trying to do here.

/* ==UserStyle==
@name         Example UserCSS style
@namespace    github.com/openstyles/stylus
@version      1.0.0
@license      unlicense
@preprocessor uso
@var color ghd-bg-color "Background Color" #f1a
@preprocessor stylus
==/UserStyle== */
@-moz-document @-moz-document domain("github.com") {

  /* hack to show style in popup no matter what */
  stylus-fix { content: 'true' }

  i = !important

  :root {
    --ghd-bg-color: ghd-bg-color;
    }
  }
}

@silverwind
Copy link
Member

silverwind commented Jul 26, 2020

According to this installation order is used. Also there is this issue about it.

@the-j0k3r
Copy link
Member Author

Why dont you guys have a look at an old POC version of what Im currently working on?

See #1113 (comment)

If youre creating an override style, then I guess my work is nullified by that, though I will publish it then elsewhere.

@silverwind
Copy link
Member

silverwind commented Jul 26, 2020

I guess all preprocessors besides default should work because they give you control over !important. I have no interest in doing it using stylus, don't want to learn another styling language.

@the-j0k3r
Copy link
Member Author

the-j0k3r commented Jul 26, 2020

Theres no point more than one person working on overrides styles for this. But if you hack with important it will cause my style issues with overrides. We break all CSS cascades with misusing important

Also theres nothing to learn, use my example above #1154 (comment), it works you dont have to do anything else but add variables and colors in same format

@silverwind
Copy link
Member

silverwind commented Jul 26, 2020

If I understand correctly, your example should be affected too by that loading order issue if it sets the same css var without important. You could also workaround by using a stronger selector, e.g. :root:root.

@xt0rted
Copy link
Member

xt0rted commented Jul 26, 2020

I'm not working on anything. I was only suggesting a way to offer color selection if GHD was updated with css variables without filling the settlings list with ones that most people wouldn't use. In fact, I haven't even been using this style lately so it doesn't really matter to me how this gets done.

@silverwind
Copy link
Member

I'm also not intending to create any more override styles. I just want to faciliate customization from GHD's side.

@the-j0k3r
Copy link
Member Author

the-j0k3r commented Jul 26, 2020

CSS vars (not important) are the only help a override style needs

@the-j0k3r
Copy link
Member Author

the-j0k3r commented Jul 26, 2020

/* ==UserStyle==
@name         Example UserCSS style
@namespace    github.com/openstyles/stylus
@version      1.0.0
@license      unlicense
@preprocessor stylus

@var color ghdbgColor "Background Color" #f1a
@var color mainColor  "Main color"    #5e8acc

@preprocessor stylus
==/UserStyle== */
@-moz-document regexp("^https?://((education|gist|graphql|guides|docs|raw|resources|status|developer|support|vscode-auth)\\.)?github\\.com/((?!generated_pages/preview).)*$"), domain("githubusercontent.com"), domain("www.githubstatus.com"), domain("stylishthemes.github.io") {

  :root {
    --ghd-bg-color: ghdbgColor;
    --custom-thumb-color: mainColor;
    --webkit-scrollbar-thumb-hover: rgba(mainColor, .8);
    --base-color: mainColor;
  }
}

pay attention to scrollbars and selected tab color styles color as well

this works just fine for e.g as a POC you not only control base color but you control bg and so story goes

@the-j0k3r
Copy link
Member Author

generic

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants