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

[Enhancement] Change accent color #1825

Closed
arthurmv opened this issue May 7, 2023 · 1 comment · Fixed by #2035
Closed

[Enhancement] Change accent color #1825

arthurmv opened this issue May 7, 2023 · 1 comment · Fixed by #2035
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@arthurmv
Copy link

arthurmv commented May 7, 2023

Meanwhile we have an option (or not) to change the accent color, I'd like to share my CSS to change the accent color to orange, but we can set any HEX color value on --custom-accent-color.

:root {--custom-accent-color: #fcba03;} /* Choose here any color you want */
.settings_view .basicModal__button,.settings_view>div .select::after,.users_view_line .basicModal__button_CREATE,.u2f_view_line .basicModal__button_CREATE,.clear_logs_update .basicModal__button, .logs_diagnostics_view .basicModal__button,input[type=checkbox],.basicModal__button#basicModal__action,div.basicModal__content a.button,.sharing_view .basicModal__button,.users_view_line .basicModal__button_OK{color:var(--custom-accent-color);}
.album:hover .thumbimg, .photo:hover .thumbimg,.album.active .thumbimg, .album:focus .thumbimg, .photo.active .thumbimg, .photo:focus .thumbimg,.toolbar input[type=text].header__search:focus,.settings_view>div textarea:focus{border-color:var(--custom-accent-color);}
.album.selected img, .photo.selected img{outline:var(--custom-accent-color) solid 1px;}
.settings_view .basicModal__button:hover,.users_view_line .basicModal__button_CREATE:hover,.u2f_view_line .basicModal__button_CREATE:hover,div.basicModal__content a.button:hover,.sharing_view .basicModal__button:hover,.basicContext__item:not(.basicContext__item--disabled):hover .basicContext__data,.users_view_line .basicModal__button_OK:hover{background:var(--custom-accent-color);}
.settings_view>div input:checked+.slider,.settings_view>div .slider:before,input[type=checkbox].slider::before,input[type=checkbox].slider:checked{background-color:var(--custom-accent-color);}
.settings_view input:hover,.users_view_line input:hover{border-bottom:1px solid var(--custom-accent-color);}
.users_view_line input.text:focus,input[type=password]:focus, input[type=text]:focus,.settings_view input.text:focus{border-bottom-color:var(--custom-accent-color);}
.clear_logs_update .iconic, .logs_diagnostics_view .iconic,.toolbar .button--info.active .iconic,.sharing_view .blue .iconic,div.basicModal__content a.button .iconic,.users_view_line .choice .checkbox .iconic,.sharing_view .choice .checkbox .iconic{fill:var(--custom-accent-color);}
#lychee_sidebar_header{border-top:1px solid var(--custom-accent-color);}
.sharing_view .borderBlue{border:1px solid var(--custom-accent-color);}
@ildyria ildyria added enhancement New feature or request good first issue Good for newcomers JS - Lychee-Front labels May 7, 2023
@ildyria
Copy link
Member

ildyria commented May 7, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants