mirror of
https://gh.llkk.cc/https://github.com/Tetrakern/fictioneer-minimalist.git
synced 2025-10-03 18:21:00 +08:00
Version 1.0.7
Updated for better compatibility with Fictioneer 5.31.0.
This commit is contained in:
parent
9ce989da3a
commit
6c8fc64c6c
8 changed files with 33 additions and 40 deletions
|
@ -3,7 +3,7 @@
|
|||
<p>
|
||||
<a href="https://github.com/Tetrakern/fictioneer"><img alt="Theme: 1.0" src="https://img.shields.io/badge/theme-1.0-blue?style=flat" /></a>
|
||||
<a href="LICENSE.md"><img alt="License: GPL v3" src="https://img.shields.io/badge/license-GPL%20v3-blue?style=flat" /></a>
|
||||
<a href="https://github.com/Tetrakern/fictioneer"><img alt="Parent Theme: 5.22.2+" src="https://img.shields.io/badge/parent-%3E%3D5.22.1-blue?style=flat" /></a>
|
||||
<a href="https://github.com/Tetrakern/fictioneer"><img alt="Parent Theme: 5.31.0+" src="https://img.shields.io/badge/parent-%3E%3D5.22.1-blue?style=flat" /></a>
|
||||
<a href="https://wordpress.org/download/"><img alt="WordPress 6.1+" src="https://img.shields.io/badge/WordPress-%3E%3D6.1-blue?style=flat" /></a>
|
||||
<a href="https://www.php.net/"><img alt="PHP: 7.4+" src="https://img.shields.io/badge/php-%3E%3D7.4-blue?logoColor=white&style=flat" /></a>
|
||||
<a href="https://github.com/sponsors/Tetrakern"><img alt="GitHub Sponsors" src="https://img.shields.io/github/sponsors/tetrakern" /></a>
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -4,9 +4,9 @@
|
|||
// CONSTANTS
|
||||
// =============================================================================
|
||||
|
||||
define( 'CHILD_VERSION', '1.0.6' );
|
||||
define( 'CHILD_VERSION', '1.0.7' );
|
||||
define( 'CHILD_NAME', 'Fictioneer Minimalist' );
|
||||
define( 'CHILD_RELEASE_TAG', 'v1.0.6' );
|
||||
define( 'CHILD_RELEASE_TAG', 'v1.0.7' );
|
||||
|
||||
// Boolean: Base theme switch in site settings
|
||||
if ( ! defined( 'FICTIONEER_THEME_SWITCH' ) ) {
|
||||
|
@ -233,10 +233,10 @@ function fcnmm_admin_update_notice() {
|
|||
|
||||
wp_admin_notice(
|
||||
sprintf(
|
||||
__( '<strong>Fictioneer Minimalist %1$s</strong> is available. Please <a href="%2$s" target="_blank">download</a> and install the latest version at your next convenience.%3$s', 'fcnmm' ),
|
||||
__( '<strong>Fictioneer Minimalist %1$s</strong> is available. Please <a href="%2$s" target="_blank">download</a> and install the latest version at your next convenience. Remember that updating will override all your changes, so make sure to check the manual update instructions if needed to avoid that. %3$s', 'fcnmm' ),
|
||||
$theme_info['last_update_version'],
|
||||
'https://github.com/Tetrakern/fictioneer-minimalist/releases',
|
||||
$notes ? '<br><details><summary>' . __( 'Release Notes', 'fcnmm' ) . '</summary>' . $notes . '</details>' : ''
|
||||
$notes ? '<br><details><summary>' . __( 'Release Notes', 'fictioneer' ) . '</summary>' . $notes . '</details>' : ''
|
||||
),
|
||||
array(
|
||||
'type' => 'warning',
|
||||
|
@ -503,7 +503,7 @@ if ( $mobile_nav_style === 'collapse' ) {
|
|||
|
||||
<nav class="main-navigation__left" aria-label="<?php echo esc_attr__( 'Main Navigation', 'fictioneer' ); ?>">
|
||||
|
||||
<button class="mobile-menu-button follows-alert-number" data-fictioneer-follows-target="newDisplay" data-action="click->fictioneer#toggleMobileMenu">
|
||||
<button class="mobile-menu-button" data-fictioneer-alerts-target="newAlertsDisplay" data-action="click->fictioneer#toggleMobileMenu">
|
||||
<?php
|
||||
fictioneer_icon( 'fa-bars', 'off' );
|
||||
fictioneer_icon( 'fa-xmark', 'on' );
|
||||
|
|
|
@ -88,8 +88,8 @@
|
|||
"hsl": [218, 10, 56]
|
||||
},
|
||||
"light_fg_950": {
|
||||
"hex": "#a5abb6",
|
||||
"hsl": [218, 10, 68]
|
||||
"hex": "#b6bbc4",
|
||||
"hsl": [218, 10, 74]
|
||||
},
|
||||
"light_fg_tinted": {
|
||||
"hex": "#1d2634",
|
||||
|
@ -104,8 +104,8 @@
|
|||
"hsl": [210, 13, 91]
|
||||
},
|
||||
"light_primary_400": {
|
||||
"hex": "#1860f2",
|
||||
"hsl": [220, 89, 52]
|
||||
"hex": "#356ad4",
|
||||
"hsl": [220, 65, 52]
|
||||
},
|
||||
"light_primary_500": {
|
||||
"hex": "#1850c9",
|
||||
|
|
|
@ -3,7 +3,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: Fictioneer Minimalist\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2024-08-10 21:16+0000\n"
|
||||
"POT-Creation-Date: 2025-07-22 09:10+0000\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: \n"
|
||||
|
@ -16,19 +16,21 @@ msgstr ""
|
|||
"X-Loco-Version: 2.6.11; wp-6.6.1\n"
|
||||
"X-Domain: fcnmm"
|
||||
|
||||
#: functions.php:217
|
||||
#: functions.php:236
|
||||
#, php-format
|
||||
msgid ""
|
||||
"<strong>Fictioneer Minimalist %1$s</strong> is available. Please <a "
|
||||
"href=\"%2$s\" target=\"_blank\">download</a> and install the latest version "
|
||||
"at your next convenience.%3$s"
|
||||
"at your next convenience. Remember that updating will override all your "
|
||||
"changes, so make sure to check the manual update instructions if needed to "
|
||||
"avoid that. %3$s"
|
||||
msgstr ""
|
||||
|
||||
#. Description of the theme
|
||||
msgid "A minimalist child theme for Fictioneer."
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:361
|
||||
#: functions.php:384
|
||||
msgctxt "Customizer story cover position option."
|
||||
msgid "Floating Top-Left (Default)"
|
||||
msgstr ""
|
||||
|
@ -41,14 +43,10 @@ msgstr ""
|
|||
msgid "https://github.com/Tetrakern"
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:267
|
||||
#: functions.php:286
|
||||
msgid "Maximum site width in pixels, should not be less than 832. Default 896."
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:220
|
||||
msgid "Release Notes"
|
||||
msgstr ""
|
||||
|
||||
#. Author of the theme
|
||||
msgid "Tetrakern"
|
||||
msgstr ""
|
||||
|
|
|
@ -101,14 +101,6 @@
|
|||
display: flex !important;
|
||||
content-visibility: visible !important;
|
||||
}
|
||||
|
||||
.menu-item .follow-menu-item {
|
||||
display: none;
|
||||
|
||||
@include bp(desktop) {
|
||||
display: flex;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.nav-terms-submenu {
|
||||
|
|
|
@ -72,7 +72,7 @@
|
|||
// === SPECIFIC OVERRIDES ====================================================
|
||||
|
||||
--post-meta-link-color-hover: var(--fg-100);
|
||||
--follow-title-link-color: var(--fg-500);
|
||||
--alert-background-hover: var(--bg-300);
|
||||
|
||||
--card-style-border-width: 1px;
|
||||
|
||||
|
@ -113,7 +113,7 @@
|
|||
:root[data-mode=light] {
|
||||
// === COLORS ================================================================
|
||||
|
||||
--primary-400: hsl(220, 89%, 52%);
|
||||
--primary-400: hsl(220, 65%, 52%);
|
||||
--primary-500: hsl(221, 79%, 44%);
|
||||
--primary-600: hsl(223, 68%, 36%);
|
||||
|
||||
|
@ -127,11 +127,12 @@
|
|||
--navigation-color-hover: var(--fg-100);
|
||||
--navigation-subitem-color: var(--popup-menu-color);
|
||||
--navigation-subitem-color-hover: var(--popup-menu-color-hover);
|
||||
--navigation-subitem-divider: 1px solid var(--bg-700);
|
||||
|
||||
// === COLORS - LINKS ========================================================
|
||||
|
||||
--inline-link-color: var(--primary-500);
|
||||
--inline-link-color-hover: var(--primary-500);
|
||||
--inline-link-color-hover: var(--primary-400);
|
||||
--inline-link-color-visited: var(--primary-600);
|
||||
|
||||
// === POPUP MENU ============================================================
|
||||
|
@ -144,9 +145,15 @@
|
|||
|
||||
// === SPECIFIC OVERRIDES ====================================================
|
||||
|
||||
--follow-title-link-color: var(--navigation-subitem-color);
|
||||
--follow-title-link-color-hover: var(--navigation-subitem-color-hover);
|
||||
--follow-meta-color: var(--fg-900);
|
||||
.icon-menu {
|
||||
--alert-highlight-color: var(--primary-400);
|
||||
--alert-background-hover: var(--bg-900);
|
||||
--alert-title-link-color: var(--navigation-subitem-color);
|
||||
--alert-title-link-color-hover: var(--navigation-subitem-color-hover);
|
||||
--alert-meta-color: var(--fg-900);
|
||||
--alert-action-color: var(--navigation-subitem-color);
|
||||
--alert-action-color-hover: var(--navigation-subitem-color-hover);
|
||||
}
|
||||
|
||||
// === FOREGROUNDS ===========================================================
|
||||
|
||||
|
@ -165,7 +172,7 @@
|
|||
--fg-700: #{hsl_font_code(223, 11, 37)};
|
||||
--fg-800: #{hsl_font_code(220, 9, 45)};
|
||||
--fg-900: #{hsl_font_code(218, 10, 56)};
|
||||
--fg-950: #{hsl_font_code(218, 10, 68)};
|
||||
--fg-950: #{hsl_font_code(218, 10, 74)};
|
||||
--fg-tinted: #{hsl_font_code(217, 28, 16)};
|
||||
--fg-inverted: #{hsl_font_code(210, 20, 99)};
|
||||
}
|
||||
|
@ -205,10 +212,6 @@
|
|||
@import '_navigation';
|
||||
@import '_footer';
|
||||
|
||||
.follow-title-link {
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.current-reading::after,
|
||||
.selected-paragraph::after {
|
||||
border-radius: var(--layout-border-radius-small);
|
||||
|
|
|
@ -12,7 +12,7 @@ License URI: http://www.gnu.org/licenses/gpl.html
|
|||
Requires at least: 6.1
|
||||
Tested up to: 6.6.1
|
||||
Requires PHP: 7.4
|
||||
Version: 1.0.6
|
||||
Version: 1.0.7
|
||||
Text Domain: fcnmm
|
||||
|
||||
Description: A minimalist child theme for Fictioneer.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue