26-12-18, 09:37
Je viens d'adapter mon code avec les nouvelles variables de la version 2.6
Code :
@import 'darktable-original.css';
/** color palette **/
@define-color grey rgb(59,59, 59);
@define-color grey_dark rgb(48,48,48);
@define-color grey_darkest rgb(38,38,38);
@define-color grey_light rgb(138,138,138);
@define-color grey_lighter rgb(80,80,80);
@define-color grey_lightest rgb(200,200,200);
@define-color bg_color @grey;
@define-color plugin_bg_color @grey;
@define-color fg_color @grey_lightest;
@define-color base_color #ffffff;
@define-color text_color @grey_lightest;
@define-color selected_bg_color @grey_darkest;
@define-color selected_fg_color #e2e2e2;
@define-color tooltip_bg_color #000000;
@define-color tooltip_fg_color #ffffff;
@define-color really_dark_bg_color @grey_darkest;
@define-color darkroom_bg_color @grey_darkest;
@define-color darkroom_preview_bg_color @grey_darkest;
@define-color lighttable_bg_color @grey_darkest;
@define-color lighttable_preview_bg_color @grey_darkest;
@define-color brush_cursor alpha(white, .9);
@define-color brush_trace alpha(black, .8);
@define-color bauhaus_fg @grey_lightest;
@define-color bauhaus_border @grey_dark;
@define-color bauhaus_bg @grey_light;
@define-color bauhaus_fg_insensitive @grey_light;
* {
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
}
button {
background: @grey_lighter;
border: none;
border-radius: 5px;
}
#iop-plugin-ui, #lib-plugin-ui {
border-color: @bg_color;
background: @bg_color;
border-bottom: 2px solid @selected_bg_color;
}
#iop-plugin-ui:selected, #lib-plugin-ui:selected {
border-color:@bg_color;
background: @bg_color;
border-bottom: 2px solid @selected_bg_color;
}
Instagram : https://www.instagram.com/benoitdupont/