-
-
Notifications
You must be signed in to change notification settings - Fork 132
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
Disable selected theme selector #5329
Conversation
case 'eligible': | ||
case 'eligible_lifetime': | ||
return ( | ||
<p className="text-p-base mb-16"> | ||
You're eligible to join Insiders.{' '} | ||
<a href={insidersPath}>Get started here.</a> | ||
</p> | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we have two separate messages here? As a lifetime insider is something slightly different and one could already be an insider.
default: | ||
return ( | ||
<p className="text-p-base mb-16"> | ||
[Learn more about Exercism Insiders](...). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe add a TODO here?
* Update comment * Update some whites to bgcolorA, Create vars for progress bar dark theme, add color for `textColor2` * Track Overview, Syllabus, Exercises, About tweaks * Tracks, Exercises tweaks * Replacing values with variables whereever possible at Exercises, Tracks, Blogposts * Add darkmode styles to Mentoring * Disable any changes on site-header, site-footer * Representation tweaks, donation tweaks - WIP * Automation modal, Profile * Community page first pass * Community page swag border * Settings first pass * Impact, 12in23, track first pass * Fix one Ruby test * Replace couple 's with &apos and " * Add `mask-image` to concept-map * Fix a test * Add prefer-color-scheme default (#3477) * Add prefer-color-scheme default * Add another postcss plugin --------- Co-authored-by: dem4ron <demaaron88@gmail.com> * Add more filters, adjust colours on track show page, fix missing dark themes, setup media query for dark theme, fix logo colour, add unset colors from figma * Add track overview details, variables * Track about page details, correct variables, svg masking * Add more missing variables, fix misplaced ones * Concept-page modifications, updates * Fix HLJS theme-unset issue, add variables * Add variables to multiple svgs, align colors with filters * Change Logo colour * Fix filters, svg colours on about page * About pages modifications, fixes * Automation details, cursor color, tooltips - no dark mode, svgs * Add unset as modals default * Simplify variables, add missing variables * Add more filters and exceptions * Set purple filter to be the same in dark more * Fix journey page, notification element svgs * Add Theme Preferences Setting (#3696) * Set up * Add ThemeButtons * Change wording slightly * Tweaks * Update colors, add infomessages, set up buttons correctly * Add JS function to update theme pref * Simplify function * Update fn * Change boolean name to be more descriptive --------- Co-authored-by: Jeremy Walker <jez.walker@gmail.com> * change theme name * Site header, footer, tracks list, reduce number of variables * Tons of stuff * Many-many changes, fixes * Add more filters, alter some colours, change background for about pages here and there etc * Remove toggle button * More dark mode * Move concept line variables into colors.css, add better filter on concept icon on EDs, couple tweaks * Add variable for mastered concept backgorund * Completed heading * Add key * Add missing filters, make contrast better, tab colors, purple's dark variant, etc * Copy text color, removing backgrounds in darkmode, difficulty tags, more better contrasts * Change readonly hljs code background * Remove blocking filter * Patch up donate page * 12in23 * Adjustments, adding missing filters, etc * Turning card number color to grey now.. * Add accessibility-dark theme (#5331) * Remove duplicate method * Fix bullet issues * Disable selected theme selector (#5329) * Disable theme button, increase req limit, refactor * Remove form footer * Fixed test --------- Co-authored-by: Erik Schierboom <erik_schierboom@hotmail.com> --------- Co-authored-by: Jeremy Walker <jez.walker@gmail.com> Co-authored-by: Erik Schierboom <erik_schierboom@hotmail.com>
This PR disables functionally the currently selected theme-selector button, but keeps a locked state visually for
non-insiders
disabled level.