mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-12-11 03:28:01 +01:00
154 lines
6.7 KiB
SCSS
154 lines
6.7 KiB
SCSS
/*
|
|
* Darker theme
|
|
*/
|
|
|
|
// ///////////////////////////////////
|
|
// ///// SECTION 1 - MAIN COLORS /////
|
|
// ///////////////////////////////////
|
|
|
|
$text_color: #eeeeee;
|
|
$link_color: #dbdb00 !default;
|
|
$link_hover_color: #fff3bd !default;
|
|
$grey: #3b3b3b;
|
|
|
|
$background_color: #412121 !default;
|
|
$page_background_color: $background_color !default;
|
|
$foreground_color: #e0e0e0 !default;
|
|
|
|
$base_color: #995454 !default;
|
|
|
|
$primary_light_color: #641f1f !default;
|
|
$success_light_color: #2e4e2e !default;
|
|
$danger_light_color: #7b3b00 !default;
|
|
$warning_light_color: #5b5b00 !default;
|
|
|
|
$destroyed_content_color: #412f2f !default;
|
|
|
|
$meta_color: #411d1d !default;
|
|
|
|
$header_color: #923131 !default;
|
|
$header_field_color: #5e2727 !default;
|
|
$header_secondary_color: #7a2d2d !default;
|
|
$header_admin_color: $grey !default;
|
|
|
|
$block_header_color: #812d2d !default;
|
|
$block_header_link_text_color: $link_color !default;
|
|
|
|
$block_header_light_color: #7a3030 !default;
|
|
$block_header_light_link_text_color: $link_color !default;
|
|
|
|
$border_color: #7c2424 !default;
|
|
|
|
$media_box_color: #7c2424 !default;
|
|
|
|
|
|
$fave_color: #a18e27 !default;
|
|
$vote_up_color: #5b9b26 !default;
|
|
$vote_down_color: #da3412 !default;
|
|
$hide_color: #da3412 !default;
|
|
|
|
$assistant_color: #511b4e !default;
|
|
|
|
$tag_normal_color: #d16767 !default;
|
|
$tag_category_rating_color: #9dc3e9 !default;
|
|
$tag_category_spoiler_color: #ddcf53 !default;
|
|
$tag_category_origin_color: #bbb6eb !default;
|
|
$tag_category_oc_color: #dd7ee4 !default;
|
|
$tag_category_error_color: #ff5566 !default;
|
|
$tag_category_character_color: #82d0e2 !default;
|
|
$tag_category_content_official_color: #d1cf84 !default;
|
|
$tag_category_content_fanmade_color: #ebb1d6 !default;
|
|
$tag_category_species_color: #d2b48c !default;
|
|
|
|
$commission_category_color: #e02727 !default;
|
|
|
|
$site_notice_color: $grey !default;
|
|
|
|
// //////////////////////////////////////
|
|
// ///// SECTION 2 - DERIVED COLORS /////
|
|
// //////////////////////////////////////
|
|
|
|
$text_light_color: $foreground_color !default;
|
|
|
|
$primary_color: saturate(lighten($primary_light_color, 5%), 4%) !default;
|
|
$success_color: lighten($success_light_color, 4%) !default;
|
|
$danger_color: lighten($danger_light_color, 5%) !default;
|
|
$warning_color: lighten($warning_light_color, 6%) !default;
|
|
|
|
$header_hover_color: darken($header_color, 8%) !default;
|
|
$header_field_hover_color: darken($header_hover_color, 4%) !default;
|
|
$header_secondary_hover_color: darken($header_secondary_color, 4%) !default;
|
|
|
|
$header_admin_hover_color: darken($header_admin_color, 5%) !default;
|
|
|
|
$block_header_hover_color: adjust_hue(saturate(darken($block_header_color, 4%), 4%), -3deg) !default;
|
|
$block_header_link_text_hover_color: adjust_hue(desaturate(darken($block_header_link_text_color, 3%), 20%), 6deg) !default;
|
|
|
|
$block_header_light_hover_color: adjust_hue(saturate(darken($block_header_light_color, 4%), 10%), -4deg) !default;
|
|
$block_header_light_link_text_hover_color: adjust_hue(desaturate(darken($block_header_light_link_text_color, 2%), 10%), 8deg) !default;
|
|
|
|
$media_box_hover_color: darken($media_box_color, 4%) !default;
|
|
$media_box_header_link_text_hover_color: desaturate(darken($link_color, 3%), 18%) !default;
|
|
|
|
$link_dark_color: mix($link_color, $foreground_color, 70%) !default;
|
|
$link_dark_hover_color: mix($link_hover_color, $foreground_color, 70%) !default;
|
|
|
|
$image_show_link_color: $link_dark_color;
|
|
$image_show_link_hover_color: $link_dark_hover_color;
|
|
|
|
$image_overlay_color: $foreground_color !default;
|
|
$image_overlay_background: darken($background_color, 30%) !default;
|
|
|
|
$assistant_border_color: lighten($assistant_color, 8%) !default;
|
|
|
|
$background_odd_color: darken($background_color, 3%) !default;
|
|
$background_even_color: $background_color !default;
|
|
|
|
$success_odd_color: desaturate(darken($success_color, 9%), 2%) !default;
|
|
$success_even_color: saturate(darken($success_light_color, 2%), 2%) !default;
|
|
$warning_odd_color: saturate(darken($warning_color, 19%), 10%) !default;
|
|
$warning_even_color: saturate(darken($warning_light_color, 7%), 7%) !default;
|
|
$danger_odd_color: desaturate(darken($danger_color, 16%), 2%) !default;
|
|
$danger_even_color: darken($danger_light_color, 6%) !default;
|
|
|
|
$input_color_active: lighten($meta_color, 5%) !default;
|
|
$input_border_active: desaturate(lighten($base_color, 2%), 10%) !default;
|
|
|
|
$tag_normal_background: darken($tag_normal_color, 29%) !default;
|
|
$tag_normal_border: darken($tag_normal_color, 18%) !default;
|
|
$tag_category_rating_background: darken($tag_category_rating_color, 35%) !default;
|
|
$tag_category_rating_border: desaturate(darken($tag_category_rating_color, 20%), 10%) !default;
|
|
$tag_category_spoiler_background: darken($tag_category_spoiler_color, 34%) !default;
|
|
$tag_category_spoiler_border: darken($tag_category_spoiler_color, 23%) !default;
|
|
$tag_category_origin_background: darken($tag_category_origin_color, 30%) !default;
|
|
$tag_category_origin_border: desaturate(darken($tag_category_origin_color, 22%), 28%) !default;
|
|
$tag_category_oc_background: darken($tag_category_oc_color, 33%) !default;
|
|
$tag_category_oc_border: darken($tag_category_oc_color, 15%) !default;
|
|
$tag_category_error_background: desaturate(darken($tag_category_error_color, 38%), 6%) !default;
|
|
$tag_category_error_border: darken($tag_category_error_color, 22%) !default;
|
|
$tag_category_character_background: darken($tag_category_character_color, 33%) !default;
|
|
$tag_category_character_border: darken($tag_category_character_color, 20%) !default;
|
|
$tag_category_content_official_background: desaturate(darken($tag_category_content_official_color, 29%), 2%) !default;
|
|
$tag_category_content_official_border: darken($tag_category_content_official_color, 20%) !default;
|
|
$tag_category_content_fanmade_background: darken($tag_category_content_fanmade_color, 40%) !default;
|
|
$tag_category_content_fanmade_border: desaturate(darken($tag_category_content_fanmade_color, 20%), 10%) !default;
|
|
$tag_category_species_background: darken($tag_category_species_color, 40%) !default;
|
|
$tag_category_species_border: desaturate(darken($tag_category_species_color, 20%), 10%) !default;
|
|
|
|
$commission_category_background: darken($commission_category_color, 36%) !default;
|
|
$commission_category_border: darken($commission_category_color, 25%) !default;
|
|
|
|
$site_notice_link_color: desaturate(lighten($block_header_link_text_color, 8%), 20%) !default;
|
|
$site_notice_link_hover_color: darken($site_notice_link_color, 8%) !default;
|
|
|
|
/* Import 'common/global' to initialize the remaining properties.
|
|
* Override the ones that do not satisfy the theme below the declaration. */
|
|
|
|
@import "common/global";
|
|
|
|
$button_primary_border_color: saturate(lighten($primary_light_color, 14%), 22%) !default;
|
|
$button_success_border_color: saturate(lighten($success_light_color, 9%), 10%) !default;
|
|
$button_warning_border_color: saturate(lighten($warning_light_color, 12%), 10%) !default;
|
|
$button_danger_border_color: saturate(lighten($danger_light_color, 18%), 6%) !default;
|
|
|
|
@import "common/base";
|