[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-content/themes/twentytwentyfour/styles/ -> rust.json (source)

   1  {
   2      "$schema": "https://schemas.wp.org/wp/6.5/theme.json",
   3      "version": 2,
   4      "title": "Rust",
   5      "settings": {
   6          "color": {
   7              "duotone": [
   8                  {
   9                      "colors": [
  10                          "#A62B0C",
  11                          "#F3F0E7"
  12                      ],
  13                      "slug": "duotone-1",
  14                      "name": "Dark rust to beige"
  15                  }
  16              ],
  17              "gradients": [
  18                  {
  19                      "slug": "gradient-1",
  20                      "gradient": "linear-gradient(to bottom, #A62A0C42 0%, #F3F0E7 100%)",
  21                      "name": "Vertical transparent rust to beige"
  22                  },
  23                  {
  24                      "slug": "gradient-7",
  25                      "gradient": "linear-gradient(to bottom, #A62A0C42 50%, #F3F0E7 50%)",
  26                      "name": "Vertical hard transparent rust to beige"
  27                  },
  28                  {
  29                      "slug": "gradient-2",
  30                      "gradient": "linear-gradient(to bottom, #A62B0C 0%, #F3F0E7 100%)",
  31                      "name": "Vertical rust to beige"
  32                  },
  33                  {
  34                      "slug": "gradient-8",
  35                      "gradient": "linear-gradient(to bottom, #A62B0C 50%, #F3F0E7 50%)",
  36                      "name": "Vertical hard rust to beige"
  37                  }
  38              ],
  39              "palette": [
  40                  {
  41                      "color": "#F3F0E7",
  42                      "name": "Base",
  43                      "slug": "base"
  44                  },
  45                  {
  46                      "color": "#ECEADF",
  47                      "name": "Base / 2",
  48                      "slug": "base-2"
  49                  },
  50                  {
  51                      "color": "#A62B0C",
  52                      "name": "Contrast",
  53                      "slug": "contrast"
  54                  }
  55              ]
  56          }
  57      },
  58      "styles": {
  59          "blocks": {
  60              "core/calendar": {
  61                  "css": ".wp-block-calendar table:where(:not(.has-text-color)) th{background-color:var(--wp--preset--color--contrast);color:var(--wp--preset--color--base);border-color:var(--wp--preset--color--contrast)} & table:where(:not(.has-text-color)) td{border-color:var(--wp--preset--color--contrast)}"
  62              },
  63              "core/comment-date": {
  64                  "color": {
  65                      "text": "var(--wp--preset--color--contrast)"
  66                  },
  67                  "elements": {
  68                      "link": {
  69                          "color": {
  70                              "text": "var(--wp--preset--color--contrast)"
  71                          }
  72                      }
  73                  }
  74              },
  75              "core/comment-edit-link": {
  76                  "elements": {
  77                      "link": {
  78                          "color": {
  79                              "text": "var(--wp--preset--color--contrast)"
  80                          }
  81                      }
  82                  }
  83              },
  84              "core/comment-reply-link": {
  85                  "elements": {
  86                      "link": {
  87                          "color": {
  88                              "text": "var(--wp--preset--color--contrast)"
  89                          }
  90                      }
  91                  }
  92              },
  93              "core/post-date": {
  94                  "color": {
  95                      "text": "var(--wp--preset--color--contrast)"
  96                  },
  97                  "elements": {
  98                      "link": {
  99                          "color": {
 100                              "text": "var(--wp--preset--color--contrast)"
 101                          }
 102                      }
 103                  }
 104              },
 105              "core/post-terms": {
 106                  "css":"& .wp-block-post-terms__prefix{color: var(--wp--preset--color--contrast);}"
 107              },
 108              "core/quote": {
 109                  "color": {
 110                      "background": "var(--wp--preset--color--base)"
 111                  }
 112              },
 113              "core/site-tagline": {
 114                  "color": {
 115                      "text": "var(--wp--preset--color--contrast)"
 116                  }
 117              }
 118          },
 119          "elements": {
 120              "button": {
 121                  ":focus": {
 122                      "color": {
 123                          "background": "var(--wp--preset--color--contrast)"
 124                      },
 125                      "border": {
 126                          "color": "var(--wp--preset--color--contrast)"
 127                      }
 128                  },
 129                  ":hover": {
 130                      "color": {
 131                          "background": "var(--wp--preset--color--contrast)"
 132                      },
 133                      "border": {
 134                          "color": "var(--wp--preset--color--contrast)"
 135                      }
 136                  }
 137              },
 138              "caption": {
 139                  "color": {
 140                      "text": "var(--wp--preset--color--contrast)"
 141                  }
 142              }
 143          }
 144      }
 145  }


Generated : Sat Dec 21 08:20:01 2024 Cross-referenced by PHPXref