[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

   1  {
   2      "$schema": "https://schemas.wp.org/wp/6.5/theme.json",
   3      "version": 2,
   4      "title": "Maelstrom",
   5      "settings": {
   6          "color": {
   7              "palette": [
   8                  {
   9                      "color": "#38629F",
  10                      "name": "Base",
  11                      "slug": "base"
  12                  },
  13                  {
  14                      "color": "#244E8A",
  15                      "name": "Base / Two",
  16                      "slug": "base-2"
  17                  },
  18                  {
  19                      "color": "#FFFFFFA1",
  20                      "name": "Contrast / 2",
  21                      "slug": "contrast-2"
  22                  },
  23                  {
  24                      "color": "#FFFFFF",
  25                      "name": "Contrast",
  26                      "slug": "contrast"
  27                  },
  28                  {
  29                      "color": "#D5E0F0",
  30                      "name": "Contrast / 3",
  31                      "slug": "contrast-3"
  32                  }
  33              ]
  34          },
  35          "typography": {
  36              "fontFamilies": [
  37                  {
  38                      "fontFace": [
  39                          {
  40                              "fontFamily": "Cardo",
  41                              "fontStyle": "normal",
  42                              "fontWeight": "400",
  43                              "src": ["file:./assets/fonts/cardo/cardo_normal_400.woff2"]
  44                          },
  45                          {
  46                              "fontFamily": "Cardo",
  47                              "fontStyle": "italic",
  48                              "fontWeight": "400",
  49                              "src": ["file:./assets/fonts/cardo/cardo_italic_400.woff2"]
  50                          },
  51                          {
  52                              "fontFamily": "Cardo",
  53                              "fontStyle": "normal",
  54                              "fontWeight": "700",
  55                              "src": ["file:./assets/fonts/cardo/cardo_normal_700.woff2"]
  56                          }
  57                      ],
  58                      "fontFamily": "Cardo",
  59                      "name": "Cardo",
  60                      "slug": "body"
  61                  },
  62                  {
  63                      "fontFace": [
  64                          {
  65                              "fontFamily": "Jost",
  66                              "fontStyle": "normal",
  67                              "fontWeight": "100 900",
  68                              "src": ["file:./assets/fonts/jost/Jost-VariableFont_wght.woff2"]
  69                          },
  70                          {
  71                              "fontFamily": "Jost",
  72                              "fontStyle": "italic",
  73                              "fontWeight": "100 900",
  74                              "src": [
  75                                  "file:./assets/fonts/jost/Jost-Italic-VariableFont_wght.woff2"
  76                              ]
  77                          }
  78                      ],
  79                      "fontFamily": "\"Jost\", sans-serif",
  80                      "name": "Jost",
  81                      "slug": "heading"
  82                  },
  83                  {
  84                      "fontFamily": "-apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Cantarell, Ubuntu, roboto, noto, arial, sans-serif",
  85                      "name": "System Sans-serif",
  86                      "slug": "system-sans-serif"
  87                  },
  88                  {
  89                      "fontFamily": "Iowan Old Style, Apple Garamond, Baskerville, Times New Roman, Droid Serif, Times, Source Serif Pro, serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol",
  90                      "name": "System Serif",
  91                      "slug": "system-serif"
  92                  }
  93              ],
  94              "fontSizes": [
  95                  {
  96                      "fluid": false,
  97                      "name": "Small",
  98                      "size": "1rem",
  99                      "slug": "small"
 100                  },
 101                  {
 102                      "fluid": false,
 103                      "name": "Medium",
 104                      "size": "1.2rem",
 105                      "slug": "medium"
 106                  },
 107                  {
 108                      "fluid": {
 109                          "min": "1.5rem",
 110                          "max": "2rem"
 111                      },
 112                      "name": "Large",
 113                      "size": "2rem",
 114                      "slug": "large"
 115                  },
 116                  {
 117                      "fluid": {
 118                          "min": "2rem",
 119                          "max": "2.65rem"
 120                      },
 121                      "name": "Extra Large",
 122                      "size": "2.65rem",
 123                      "slug": "x-large"
 124                  },
 125                  {
 126                      "fluid": {
 127                          "min": "2.65rem",
 128                          "max": "3.5rem"
 129                      },
 130                      "name": "Extra Extra Large",
 131                      "size": "3.5rem",
 132                      "slug": "xx-large"
 133                  }
 134              ]
 135          }
 136      },
 137      "styles": {
 138          "blocks": {
 139              "core/button": {
 140                  "variations": {
 141                      "outline": {
 142                          "spacing": {
 143                              "padding": {
 144                                  "bottom": "calc(0.8rem - 2px)",
 145                                  "left": "calc(1.6rem - 2px)",
 146                                  "right": "calc(1.6rem - 2px)",
 147                                  "top": "calc(0.8rem - 2px)"
 148                              }
 149                          },
 150                          "border": {
 151                              "width": "2px"
 152                          }
 153                      }
 154                  }
 155              },
 156              "core/site-title": {
 157                  "typography": {
 158                      "fontFamily": "var(--wp--preset--font-family--heading)",
 159                      "fontWeight": "normal"
 160                  }
 161              },
 162              "core/navigation": {
 163                  "typography": {
 164                      "fontSize": "var(--wp--preset--font-size--small)",
 165                      "fontWeight": "normal"
 166                  }
 167              }
 168          },
 169          "elements": {
 170              "button": {
 171                  "border": {
 172                      "radius": "6px"
 173                  },
 174                  "color": {
 175                      "background": "var(--wp--preset--color--contrast)",
 176                      "text": "var(--wp--preset--color--base-2)"
 177                  },
 178                  "spacing": {
 179                      "padding": {
 180                          "bottom": "0.98rem",
 181                          "left": "1.6rem",
 182                          "right": "1.6rem",
 183                          "top": "0.8rem"
 184                      }
 185                  },
 186                  "typography": {
 187                      "fontFamily": "var(--wp--preset--font-family--heading)",
 188                      "fontSize": "var(--wp--preset--font-size--small)",
 189                      "fontStyle": "normal"
 190                  },
 191                  ":hover": {
 192                      "color": {
 193                          "background": "var(--wp--preset--color--contrast)"
 194                      }
 195                  }
 196              },
 197              "heading": {
 198                  "typography": {
 199                      "fontFamily": "var(--wp--preset--font-family--heading)",
 200                      "letterSpacing": "0"
 201                  }
 202              }
 203          }
 204      }
 205  }


Generated : Thu Nov 21 08:20:01 2024 Cross-referenced by PHPXref