[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

   1  {
   2      "version": 2,
   3      "title": "Blue",
   4      "settings": {
   5          "color": {
   6              "palette": [
   7                  {
   8                      "slug": "foreground",
   9                      "color": "#FCF5ED",
  10                      "name": "Foreground"
  11                  },
  12                  {
  13                      "slug": "background",
  14                      "color": "#3F67C6",
  15                      "name": "Background"
  16                  },
  17                  {
  18                      "slug": "primary",
  19                      "color": "#FFFFFF",
  20                      "name": "Primary"
  21                  },
  22                  {
  23                      "slug": "secondary",
  24                      "color": "#3556A5",
  25                      "name": "Secondary"
  26                  },
  27                  {
  28                      "slug": "tertiary",
  29                      "color": "#374C80",
  30                      "name": "Tertiary"
  31                  }
  32              ]
  33          },
  34          "custom": {
  35              "spacing": {
  36                  "small": "max(1rem, 4vw)",
  37                  "medium": "clamp(1rem, 8vw, calc(2 * var(--wp--style--block-gap)))",
  38                  "large": "clamp(2rem, 10vw, 6rem)",
  39                  "outer": "var(--wp--custom--spacing--small, 1rem)"
  40              },
  41              "typography": {
  42                  "font-size": {
  43                      "huge": "clamp(2rem, 4vw, 2.25rem)",
  44                      "gigantic": "clamp(2.25rem, 6vw, 2.75rem)",
  45                      "colossal": "clamp(2.75rem, 10vw, 5rem)"
  46                  }
  47              }
  48          },
  49          "layout": {
  50              "contentSize": "660px",
  51              "wideSize": "1220px"
  52          },
  53          "typography": {
  54              "fontFamilies": [
  55                  {
  56                      "fontFamily": "\"DM Sans\", sans-serif",
  57                      "name": "DM Sans",
  58                      "slug": "dm-sans",
  59                      "fontFace": [
  60                          {
  61                              "fontFamily": "DM Sans",
  62                              "fontWeight": "400",
  63                              "fontStyle": "normal",
  64                              "src": [ "file:./assets/fonts/dm-sans/DMSans-Regular.ttf" ]
  65                          },
  66                          {
  67                              "fontFamily": "DM Sans",
  68                              "fontWeight": "400",
  69                              "fontStyle": "italic",
  70                              "src": [ "file:./assets/fonts/dm-sans/DMSans-Italic.ttf" ]
  71                          },
  72                          {
  73                              "fontFamily": "DM Sans",
  74                              "fontWeight": "700",
  75                              "fontStyle": "normal",
  76                              "src": [ "file:./assets/fonts/dm-sans/DMSans-Bold.ttf" ]
  77                          },
  78                          {
  79                              "fontFamily": "DM Sans",
  80                              "fontWeight": "700",
  81                              "fontStyle": "italic",
  82                              "src": [ "file:./assets/fonts/dm-sans/DMSans-BoldItalic.ttf" ]
  83                          }
  84                      ]
  85                  }
  86              ]
  87          }
  88      },
  89      "styles": {
  90          "blocks": {
  91              "core/post-title": {
  92                  "typography": {
  93                      "fontFamily": "var(--wp--preset--font-family--dm-sans)",
  94                      "fontSize": "var(--wp--custom--typography--font-size--colossal)",
  95                      "fontWeight": "700"
  96                  }
  97              },
  98              "core/site-title": {
  99                  "typography": {
 100                      "fontStyle":"normal"
 101                  }
 102              }
 103          },
 104          "elements": {
 105              "h1": {
 106                  "typography": {
 107                      "fontFamily": "var(--wp--preset--font-family--dm-sans)",
 108                      "fontWeight": "700"
 109                  }
 110              },
 111              "h2": {
 112                  "typography": {
 113                      "fontFamily": "var(--wp--preset--font-family--dm-sans)",
 114                      "fontWeight": "700"
 115                  }
 116              },
 117              "h3": {
 118                  "typography": {
 119                      "fontFamily": "var(--wp--preset--font-family--dm-sans)",
 120                      "fontWeight": "700"
 121                  }
 122              },
 123              "h4": {
 124                  "typography": {
 125                      "fontFamily": "var(--wp--preset--font-family--dm-sans)",
 126                      "fontWeight": "700"
 127                  }
 128              },
 129              "h5": {
 130                  "typography": {
 131                      "fontFamily": "var(--wp--preset--font-family--dm-sans)",
 132                      "fontWeight": "700"
 133                  }
 134              },
 135              "h6": {
 136                  "typography": {
 137                      "fontFamily": "var(--wp--preset--font-family--dm-sans)",
 138                      "fontWeight": "700"
 139                  }
 140              }
 141          },
 142          "typography": {
 143              "fontFamily": "var(--wp--preset--font-family--dm-sans)"
 144          }
 145      }
 146  }


Generated : Tue Apr 30 08:20:01 2024 Cross-referenced by PHPXref