Make WordPress Themes

Changeset 287973

Timestamp:
09/09/2025 11:26:49 AM (2 months ago)
Author:
extendify
Message:

Release version 2.0.29

Location:
extendable/2.0.29
Files:
3 edited
1 copied

Legend:

Unmodified
Added
Removed
  • extendable/2.0.29/assets/css/wpforms.css

    r239602 r287973  
     1/* Override WPForms CSS Variables to match theme.json */
     2.wpforms-block.wpforms-container {
     3    /* Colors */
     4    --wpforms-label-color: var(--wp--preset--color--foreground) !important;
     5    --wpforms-label-sublabel-color: var(--wp--preset--color--foreground) !important;
     6    --wpforms-label-error-color: #d63637 !important;
     7    --wpforms-field-text-color: var(--wp--preset--color--foreground) !important;
     8    --wpforms-field-background-color: var(--wp--preset--color--background) !important;
     9    --wpforms-field-border-color: currentColor !important;
     10    --wpforms-field-menu-color: var(--wp--preset--color--background) !important;
     11    --wpforms-background-color: transparent !important;
     12   
     13    /* Button colors */
     14    --wpforms-button-background-color: var(--wp--custom--elements--button--color--background) !important;
     15    --wpforms-button-text-color: var(--wp--custom--elements--button--color--text) !important;
     16    --wpforms-button-border-color: var(--wp--custom--elements--button--color--background) !important;
     17   
     18    /* Typography */
     19    --wpforms-label-size-font-size: inherit !important;
     20    --wpforms-label-size-line-height: var(--wp--custom--typography--line-height--body, 1.5) !important;
     21    --wpforms-field-size-font-size: var(--wp--preset--font-size--medium, 1rem) !important;
     22    --wpforms-field-size-line-height: var(--wp--custom--typography--line-height--body, 1.5) !important;
     23   
     24    /* Field sizing */
     25    --wpforms-field-size-input-height: 48px !important;
     26    --wpforms-field-size-input-spacing: 15px !important;
     27    --wpforms-field-size-padding-h: calc(0.667em + 1px) !important;
     28    --wpforms-field-size-checkbox-size: 16px !important;
     29    --wpforms-field-size-sublabel-spacing: 5px !important;
     30    --wpforms-field-size-icon-size: 1 !important;
     31   
     32    /* Label sizing */
     33    --wpforms-label-size-sublabel-font-size: 14px !important;
     34    --wpforms-label-size-sublabel-line-height: 17px !important;
     35   
     36    /* Button sizing */
     37    --wpforms-button-size-font-size: var(--wp--preset--font-size--medium, 1rem) !important;
     38    --wpforms-button-size-height: auto !important;
     39    --wpforms-button-size-padding-h: calc(1.333em + 2px) !important;
     40    --wpforms-button-size-margin-top: 1rem !important;
     41   
     42    /* Borders and spacing */
     43    --wpforms-field-border-size: 1px !important;
     44    --wpforms-field-border-style: solid !important;
     45    --wpforms-container-padding: 0 !important;
     46   
     47    /* Button styling */
     48    --wpforms-button-border-radius: var(--wp--custom--elements--button--border--radius) !important;
     49    --wpforms-button-border-size: 0 !important;
     50}
     51
    152.wpforms-block.wpforms-container .wpforms-field-label {
    2     font-weight: inherit;
    3     margin-bottom: 0.25em;
     53    font-weight: inherit !important;
     54    margin-bottom: 0.25em !important;
    455}
     56
    557.wpforms-block input:where(:not([type="submit"]):not([type="checkbox"])) {
    6     border: 1px solid;
    7     line-height: inherit;
    8     font-size: inherit;
     58    border: 1px solid !important;
     59    line-height: inherit !important;
     60    font-size: inherit !important;
    961}
     62
    1063.wpforms-block input:where(:not([type="submit"]):not([type="checkbox"])),
    1164.wpforms-block textarea {
    12     padding: calc(0.667em + 1px);
    13     width: 100%;
    14     background-color: var(--wp--preset--color--background);
    15     color: var(--wp--preset--color--foreground);
    16     border-color: inherit;
     65    padding: calc(0.667em + 1px) !important;
     66    width: 100% !important;
     67    background-color: var(--wp--preset--color--background) !important;
     68    color: var(--wp--preset--color--foreground) !important;
     69    border-color: inherit !important;
    1770}
     71
    1872.wpforms-field-sublabel {
    19     opacity: 0.8;
     73    opacity: 0.8 !important;
    2074}
    2175
    2276.wpforms-block button.wpforms-submit {
    23     background-color: var(--wp--custom--elements--button--color--background);
    24     color: var(--wp--custom--elements--button--color--text);
    25     border-radius: var(--wp--custom--elements--button--border--radius);
    26     border-width: 0;
    27     font-family: inherit;
    28     font-size: inherit;
    29     font-weight: var(--wp--custom--typography--font-weight--medium);
    30     line-height: inherit;
    31     padding-top: calc(0.667em + 2px);
    32     padding-right: calc(1.333em + 2px);
    33     padding-bottom: calc(0.667em + 2px);
    34     padding-left: calc(1.333em + 2px);
    35     text-decoration: none;
    36     cursor: pointer;
    37     margin-top: 1rem;
     77    background-color: var(--wp--custom--elements--button--color--background) !important;
     78    color: var(--wp--custom--elements--button--color--text) !important;
     79    border-radius: var(--wp--custom--elements--button--border--radius) !important;
     80    border-width: 0 !important;
     81    font-family: inherit !important;
     82    font-size: inherit !important;
     83    font-weight: var(--wp--custom--typography--font-weight--medium) !important;
     84    line-height: inherit !important;
     85    padding-top: calc(0.667em + 2px) !important;
     86    padding-right: calc(1.333em + 2px) !important;
     87    padding-bottom: calc(0.667em + 2px) !important;
     88    padding-left: calc(1.333em + 2px) !important;
     89    height: auto !important;
     90    text-decoration: none !important;
     91    cursor: pointer !important;
    3892}
    3993
    4094.wpforms-block button.wpforms-submit:hover {
    41     background-color: var(
    42         --wp--custom--elements--button--hover--color--background
    43     );
    44     color: var(--wp--custom--elements--button--hover--color--text);
     95    background-color: var(--wp--custom--elements--button--hover--color--background) !important;
     96    color: var(--wp--custom--elements--button--hover--color--text) !important;
    4597}
    4698
    4799.wpforms-block button.wpforms-submit:focus {
    48     background-color: var(
    49         --wp--custom--elements--button--focus--color--background
    50     );
    51     color: var(--wp--custom--elements--button--focus--color--text);
    52     outline-color: var(--wp--custom--elements--button--focus--color--background);
    53     offset: 2px;
    54     outline-width: 2px;
    55     outline-offset: 2px;
    56     outline-style: solid;
    57 }
     100    background-color: var(--wp--custom--elements--button--focus--color--background) !important;
     101    color: var(--wp--custom--elements--button--focus--color--text) !important;
     102    outline-color: var(--wp--custom--elements--button--focus--color--background) !important;
     103    outline-offset: 2px !important;
     104    outline-width: 2px !important;
     105    outline-style: solid !important;
     106}
  • extendable/2.0.29/readme.txt

    r284142 r287973  
    44Tested up to: 6.8
    55Requires PHP: 7.4
    6 Stable tag: 2.0.28
     6Stable tag: 2.0.29
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    1313
    1414== Changelog ==
     15
     16= 2.0.29 - 2025-09-09 =
     17- Fix: WPForms compatibility with updated CSS variable system to properly inherit theme styling
    1518
    1619= 2.0.28 - 2025-08-16 =
  • extendable/2.0.29/style.css

    r284142 r287973  
    88Tested up to: 6.8
    99Requires PHP: 7.4
    10 Version: 2.0.28
     10Version: 2.0.29
    1111License: GNU General Public License v2 or later
    1212License URI: http://www.gnu.org/licenses/gpl-2.0.html
Note: See TracChangeset for help on using the changeset viewer.