[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

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


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