[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-content/themes/twentytwentyfive/styles/ -> 05-twilight.json (source)

   1  {
   2      "$schema": "https://schemas.wp.org/trunk/theme.json",
   3      "version": 3,
   4      "title": "Twilight",
   5      "settings": {
   6          "color": {
   7              "palette": [
   8                  {
   9                      "color": "#131313",
  10                      "name": "Base",
  11                      "slug": "base"
  12                  },
  13                  {
  14                      "color": "#FFFFFF",
  15                      "name": "Contrast",
  16                      "slug": "contrast"
  17                  },
  18                  {
  19                      "color": "#4B52FF",
  20                      "name": "Accent 1",
  21                      "slug": "accent-1"
  22                  },
  23                  {
  24                      "color": "#FF7A5C",
  25                      "name": "Accent 2",
  26                      "slug": "accent-2"
  27                  },
  28                  {
  29                      "color": "#252525",
  30                      "name": "Accent 3",
  31                      "slug": "accent-3"
  32                  },
  33                  {
  34                      "color": "#FFFFFF",
  35                      "name": "Accent 4",
  36                      "slug": "accent-4"
  37                  },
  38                  {
  39                      "color": "#252525",
  40                      "name": "Accent 5",
  41                      "slug": "accent-5"
  42                  },
  43                  {
  44                      "color": "#FFFFFF33",
  45                      "name": "Accent 6",
  46                      "slug": "accent-6"
  47                  }
  48              ]
  49          },
  50          "typography": {
  51              "fontFamilies": [
  52                  {
  53                      "name": "Roboto Slab",
  54                      "slug": "roboto-slab",
  55                      "fontFamily": "\"Roboto Slab\", serif",
  56                      "fontFace": [
  57                          {
  58                              "fontFamily": "\"Roboto Slab\"",
  59                              "fontStyle": "normal",
  60                              "fontWeight": "100 900",
  61                              "src": [
  62                                  "file:./assets/fonts/roboto-slab/RobotoSlab-VariableFont_wght.woff2"
  63                              ]
  64                          }
  65                      ]
  66                  },
  67                  {
  68                      "name": "Manrope",
  69                      "slug": "manrope",
  70                      "fontFamily": "Manrope, sans-serif",
  71                      "fontFace": [
  72                          {
  73                              "src": [
  74                                  "file:./assets/fonts/manrope/Manrope-VariableFont_wght.woff2"
  75                              ],
  76                              "fontWeight": "200 800",
  77                              "fontStyle": "normal",
  78                              "fontFamily": "Manrope"
  79                          }
  80                      ]
  81                  }
  82              ],
  83              "fontSizes": [
  84                  {
  85                      "fluid": false,
  86                      "name": "Small",
  87                      "size": "0.875rem",
  88                      "slug": "small"
  89                  },
  90                  {
  91                      "fluid": {
  92                          "max": "1.125rem",
  93                          "min": "1rem"
  94                      },
  95                      "name": "Medium",
  96                      "size": "1rem",
  97                      "slug": "medium"
  98                  },
  99                  {
 100                      "fluid": {
 101                          "max": "1.375rem",
 102                          "min": "1.125rem"
 103                      },
 104                      "name": "Large",
 105                      "size": "1.38rem",
 106                      "slug": "large"
 107                  },
 108                  {
 109                      "fluid": {
 110                          "max": "2rem",
 111                          "min": "1.75rem"
 112                      },
 113                      "name": "Extra Large",
 114                      "size": "1.75rem",
 115                      "slug": "x-large"
 116                  },
 117                  {
 118                      "fluid": {
 119                          "max": "2.4rem",
 120                          "min": "2.15rem"
 121                      },
 122                      "name": "Extra Extra Large",
 123                      "size": "2.15rem",
 124                      "slug": "xx-large"
 125                  }
 126              ]
 127          }
 128      },
 129      "styles": {
 130          "typography": {
 131              "letterSpacing": "0"
 132          },
 133          "blocks": {
 134              "core/button": {
 135                  "variations": {
 136                      "outline": {
 137                          "spacing": {
 138                              "padding": {
 139                                  "bottom": "0.625rem",
 140                                  "left": "1.375rem",
 141                                  "right": "1.375rem",
 142                                  "top": "0.625rem"
 143                              }
 144                          }
 145                      }
 146                  }
 147              },
 148              "core/navigation": {
 149                  "typography": {
 150                      "fontSize": "var:preset|font-size|large",
 151                      "letterSpacing": "-0.28px",
 152                      "textTransform": "uppercase"
 153                  }
 154              },
 155              "core/post-author": {
 156                  "typography": {
 157                      "fontSize": "var:preset|font-size|small"
 158                  }
 159              },
 160              "core/post-author-name": {
 161                  "typography": {
 162                      "fontSize": "var:preset|font-size|small"
 163                  }
 164              },
 165              "core/post-terms": {
 166                  "typography": {
 167                      "fontWeight": "500"
 168                  }
 169              },
 170              "core/pullquote": {
 171                  "typography": {
 172                      "fontFamily": "var:preset|font-family|roboto-slab",
 173                      "fontSize": "var:preset|font-size|xx-large",
 174                      "fontWeight": "200"
 175                  }
 176              },
 177              "core/search": {
 178                  "typography": {
 179                      "textTransform": "uppercase"
 180                  }
 181              },
 182              "core/site-tagline": {
 183                  "typography": {
 184                      "fontSize": "var:preset|font-size|large"
 185                  }
 186              },
 187              "core/site-title": {
 188                  "typography": {
 189                      "textTransform": "uppercase"
 190                  }
 191              }
 192          },
 193          "elements": {
 194              "button": {
 195                  "spacing": {
 196                      "padding": {
 197                          "bottom": "0.625rem",
 198                          "left": "1.375rem",
 199                          "right": "1.375rem",
 200                          "top": "0.625rem"
 201                      }
 202                  },
 203                  "typography": {
 204                      "fontWeight": "500",
 205                      "letterSpacing": "-0.36px",
 206                      "textTransform": "uppercase"
 207                  }
 208              },
 209              "heading": {
 210                  "typography": {
 211                      "fontFamily": "var:preset|font-family|roboto-slab",
 212                      "fontWeight": "300",
 213                      "letterSpacing": "-0.5px",
 214                      "lineHeight": "1.2"
 215                  }
 216              }
 217          },
 218          "variations": {
 219              "section-2": {
 220                  "color": {
 221                      "text": "var:preset|color|base"
 222                  },
 223                  "elements": {
 224                      "button": {
 225                          "color": {
 226                              "background": "var:preset|color|base",
 227                              "text": "var:preset|color|accent-2"
 228                          },
 229                          ":hover": {
 230                              "color": {
 231                                  "text": "var:preset|color|accent-2"
 232                              }
 233                          }
 234                      },
 235                      "link": {
 236                          "color": {
 237                              "text": "currentColor"
 238                          }
 239                      }
 240                  }
 241              },
 242              "section-5": {
 243                  "blocks": {
 244                      "core/post-comments-form": {
 245                          "css": "& textarea, input:not([type=submit]){border-radius:.25rem; border-color: color-mix(in srgb, currentColor 20%, transparent) !important;} & input[type=checkbox]{margin:0 .2rem 0 0 !important;} & label {font-size: var(--wp--preset--font-size--small); }"
 246                      },
 247                      "core/search": {
 248                          "css": "& .wp-block-search__input{border-color: color-mix(in srgb, currentColor 20%, transparent);}"
 249                      }
 250                  }
 251              }
 252          }
 253      }
 254  }


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