[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-content/themes/twentytwentythree/styles/ -> electric.json (source)

   1  {
   2      "$schema": "https://schemas.wp.org/wp/6.5/theme.json",
   3      "version": 2,
   4      "title": "Electric",
   5      "settings": {
   6          "color": {
   7              "palette": [
   8                  {
   9                      "color": "#f3f3f1",
  10                      "name": "Base",
  11                      "slug": "base"
  12                  },
  13                  {
  14                      "color": "#2500ff",
  15                      "name": "Contrast",
  16                      "slug": "contrast"
  17                  },
  18                  {
  19                      "color": "#f3f3f1",
  20                      "name": "Primary",
  21                      "slug": "primary"
  22                  },
  23                  {
  24                      "color": "#2500ff",
  25                      "name": "Secondary",
  26                      "slug": "secondary"
  27                  },
  28                  {
  29                      "color": "#f6f6f6",
  30                      "name": "Tertiary",
  31                      "slug": "tertiary"
  32                  }
  33              ]
  34          }
  35      },
  36      "styles": {
  37          "elements": {
  38              "button": {
  39                  "border": {
  40                      "style": "solid",
  41                      "width": "2px",
  42                      "color": "var(--wp--preset--color--contrast)"
  43                  },
  44                  "color": {
  45                      "background": "var(--wp--preset--color--contrast)",
  46                      "text": "var(--wp--preset--color--base)"
  47                  },
  48                  "spacing": {
  49                      "padding": {
  50                          "top": ".667em",
  51                          "right": "1.333em",
  52                          "bottom": ".667em",
  53                          "left": "1.333em"
  54                      }
  55                  },
  56                  ":active": {
  57                      "typography": {
  58                          "textDecoration": "underline dotted"
  59                      }
  60                  },
  61                  ":focus": {
  62                      "typography": {
  63                          "textDecoration": "underline dotted"
  64                      }
  65                  },
  66                  ":hover": {
  67                      "border": {
  68                          "color": "var(--wp--preset--color--contrast)",
  69                          "style": "solid",
  70                          "width": "2px"
  71                      },
  72                      "color": {
  73                          "background": "var(--wp--preset--color--base)",
  74                          "text": "var(--wp--preset--color--contrast)"
  75                      }
  76                  },
  77                  ":visited": {
  78                      "color": {
  79                          "text": "var(--wp--preset--color--base)"
  80                      }
  81                  }
  82              },
  83              "link": {
  84                  ":focus": {
  85                      "typography": {
  86                          "textDecoration": "underline dotted"
  87                      }
  88                  },
  89                  ":active": {
  90                      "typography": {
  91                          "textDecoration": "underline dotted"
  92                      }
  93                  }
  94              }
  95          },
  96          "typography": {
  97              "fontFamily": "var(--wp--preset--font-family--dm-sans)"
  98          }
  99      }
 100  }


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