Compare commits

...

3 Commits

Author SHA1 Message Date
726979227a add screenshot 2024-05-21 16:25:24 +05:00
c043e3a71f define some of the fonts from the design 2024-05-21 16:04:23 +05:00
27943b0b4e strip some default wp css variables 2024-05-21 16:04:04 +05:00
18 changed files with 152 additions and 0 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

18
functions.php Normal file
View File

@ -0,0 +1,18 @@
<?php
/* Remove default CSS variables that come with Wordpress
https://github.com/WordPress/gutenberg/issues/56180#issuecomment-1819222376
*/
function custom_wp_theme_json_default( $theme_json ) {
$new_data = array(
'version' => 2,
'settings' => array(
'color' => array(
'palette' => array(),
'gradient' => array(),
)
),
);
return $theme_json->update_with( $new_data );
}
add_filter( 'wp_theme_json_data_default', 'custom_wp_theme_json_default' );

BIN
screenshot.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 MiB

View File

@ -8,6 +8,140 @@
"contentSize": "1480px",
"wideSize": "1760px"
},
"typography": {
"fontFamilies": [
{
"fontFace": [
{
"fontFamily": "Commit Mono",
"fontStretch": "normal",
"fontStyle": "normal",
"fontWeight": "350",
"src": [
"file:./assets/fonts/commit-mono/CommitMono-350-Regular.otf"
]
},
{
"fontFamily": "Commit Mono",
"fontStretch": "normal",
"fontStyle": "italic",
"fontWeight": "350",
"src": [
"file:./assets/fonts/commit-mono/CommitMono-350-Italic.otf"
]
},
{
"fontFamily": "Commit Mono",
"fontStretch": "normal",
"fontStyle": "normal",
"fontWeight": "400",
"src": [
"file:./assets/fonts/commit-mono/CommitMono-400-Regular.otf"
]
},
{
"fontFamily": "Commit Mono",
"fontStretch": "normal",
"fontStyle": "italic",
"fontWeight": "400",
"src": [
"file:./assets/fonts/commit-mono/CommitMono-400-Italic.otf"
]
},
{
"fontFamily": "Commit Mono",
"fontStretch": "normal",
"fontStyle": "normal",
"fontWeight": "425",
"src": [
"file:./assets/fonts/commit-mono/CommitMono-425-Regular.otf"
]
},
{
"fontFamily": "Commit Mono",
"fontStretch": "normal",
"fontStyle": "italic",
"fontWeight": "425",
"src": [
"file:./assets/fonts/commit-mono/CommitMono-425-Italic.otf"
]
},
{
"fontFamily": "Commit Mono",
"fontStretch": "normal",
"fontStyle": "normal",
"fontWeight": "500",
"src": [
"file:./assets/fonts/commit-mono/CommitMono-500-Regular.otf"
]
},
{
"fontFamily": "Commit Mono",
"fontStretch": "normal",
"fontStyle": "italic",
"fontWeight": "500",
"src": [
"file:./assets/fonts/commit-mono/CommitMono-500-Italic.otf"
]
},
{
"fontFamily": "Commit Mono",
"fontStretch": "normal",
"fontStyle": "normal",
"fontWeight": "525",
"src": [
"file:./assets/fonts/commit-mono/CommitMono-525-Regular.otf"
]
},
{
"fontFamily": "Commit Mono",
"fontStretch": "normal",
"fontStyle": "italic",
"fontWeight": "525",
"src": [
"file:./assets/fonts/commit-mono/CommitMono-525-Italic.otf"
]
},
{
"fontFamily": "Commit Mono",
"fontStretch": "normal",
"fontStyle": "normal",
"fontWeight": "700",
"src": [
"file:./assets/fonts/commit-mono/CommitMono-700-Regular.otf"
]
},
{
"fontFamily": "Commit Mono",
"fontStretch": "normal",
"fontStyle": "italic",
"fontWeight": "700",
"src": [
"file:./assets/fonts/commit-mono/CommitMono-700-Italic.otf"
]
}
],
"fontFamily": "'Commit Mono', monospace",
"name": "Commit Mono",
"slug": "commit-mono"
},
{
"fontFace": [
{
"fontFamily": "Instrument Sans",
"fontStretch": "normal",
"fontWeight": "400 500 600 700",
"src": [
"file:./assets/fonts/instrument-sans/InstrumentSans-Variable.ttf"
]
}
],
"fontFamily": "'Instrument Sans', sans-serif",
"name": "Instrument Sans",
"slug": "instrument-sans"
}
]
},
"color": {
"defaultDuotone": false,
"defaultGradients": false,