[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-content/themes/twentytwentytwo/styles/ -> swiss.json (source)

   1  {
   2      "$schema": "https://schemas.wp.org/wp/6.5/theme.json",
   3      "version": 2,
   4      "title": "Swiss",
   5      "settings": {
   6          "color": {
   7              "duotone": [
   8                  {
   9                      "colors": [
  10                          "#000000",
  11                          "#FFFFFF"
  12                      ],
  13                      "slug": "default-filter",
  14                      "name": "Default filter"
  15                  }
  16              ],
  17              "palette": [
  18                  {
  19                      "slug": "foreground",
  20                      "color": "#FFFFFF",
  21                      "name": "Foreground"
  22                  },
  23                  {
  24                      "slug": "background",
  25                      "color": "#1A1A1A",
  26                      "name": "Background"
  27                  },
  28                  {
  29                      "slug": "primary",
  30                      "color": "#FF7179",
  31                      "name": "Primary"
  32                  },
  33                  {
  34                      "slug": "secondary",
  35                      "color": "#F4F4F2",
  36                      "name": "Secondary"
  37                  },
  38                  {
  39                      "slug": "tertiary",
  40                      "color": "#0000000",
  41                      "name": "Tertiary"
  42                  }
  43              ]
  44          },
  45          "custom": {
  46              "spacing": {
  47                  "small": "max(1.25rem, 5vw)",
  48                  "medium": "clamp(1.75rem, 6vw, calc(3 * var(--wp--style--block-gap)))",
  49                  "large": "clamp(3.5rem, 8vw, 6rem)",
  50                  "outer": "var(--wp--custom--spacing--small, 1.25rem)"
  51              },
  52              "typography": {
  53                  "font-size": {
  54                      "colossal": "clamp(3.5rem, 8vw, 5rem)"
  55                  }
  56              }
  57          },
  58          "typography": {
  59              "fontFamilies": [
  60                  {
  61                      "fontFamily": "\"Inter\", sans-serif",
  62                      "name": "Inter",
  63                      "slug": "inter",
  64                      "fontFace": [
  65                          {
  66                              "fontFamily": "Inter",
  67                              "fontWeight": "200 900",
  68                              "fontStretch": "normal",
  69                              "src": [ "file:./assets/fonts/inter/Inter.ttf" ]
  70                          }
  71                      ]
  72                  }
  73              ]
  74          }
  75      },
  76      "styles": {
  77          "blocks": {
  78              "core/cover": {
  79                  "filter": {
  80                      "duotone": "var(--wp--preset--duotone--default-filter)"
  81                  }
  82              },
  83              "core/image": {
  84                  "filter": {
  85                      "duotone": "var(--wp--preset--duotone--default-filter)"
  86                  }
  87              },
  88              "core/post-author": {
  89                  "filter": {
  90                      "duotone": "var(--wp--preset--duotone--default-filter)"
  91                  }
  92              },
  93              "core/post-featured-image": {
  94                  "filter": {
  95                      "duotone": "var(--wp--preset--duotone--default-filter)"
  96                  }
  97              },
  98              "core/post-title": {
  99                  "typography": {
 100                      "fontFamily": "var(--wp--preset--font-family--inter)",
 101                      "fontWeight": "700"
 102                  }
 103              },
 104              "core/query-title": {
 105                  "typography": {
 106                      "fontFamily": "var(--wp--preset--font-family--inter)"
 107                  }
 108              },
 109              "core/site-logo": {
 110                  "filter": {
 111                      "duotone": "var(--wp--preset--duotone--default-filter)"
 112                  }
 113              },
 114              "core/site-title": {
 115                  "typography": {
 116                      "fontWeight": "700",
 117                      "fontStyle":"normal"
 118                  }
 119              }
 120          },
 121          "elements": {
 122              "h1": {
 123                  "typography": {
 124                      "fontFamily": "var(--wp--preset--font-family--inter)",
 125                      "fontWeight": "700"
 126                  }
 127              },
 128              "h2": {
 129                  "typography": {
 130                      "fontFamily": "var(--wp--preset--font-family--inter)",
 131                      "fontWeight": "700"
 132                  }
 133              },
 134              "h3": {
 135                  "typography": {
 136                      "fontFamily": "var(--wp--preset--font-family--inter)",
 137                      "fontWeight": "700"
 138                  }
 139              },
 140              "h4": {
 141                  "typography": {
 142                      "fontFamily": "var(--wp--preset--font-family--inter)",
 143                      "fontWeight": "700"
 144                  }
 145              },
 146              "h5": {
 147                  "typography": {
 148                      "fontFamily": "var(--wp--preset--font-family--inter)",
 149                      "fontWeight": "700"
 150                  }
 151              },
 152              "h6": {
 153                  "typography": {
 154                      "fontFamily": "var(--wp--preset--font-family--inter)",
 155                      "fontWeight": "700"
 156                  }
 157              },
 158              "link": {
 159                  "color": {
 160                      "text": "var(--wp--preset--color--primary)"
 161                  }
 162              }
 163          },
 164          "typography": {
 165              "fontFamily": "var(--wp--preset--font-family--inter)"
 166          }
 167      }
 168  }


Generated : Thu Dec 26 08:20:01 2024 Cross-referenced by PHPXref