Added default style file in template

Signed-off-by: prettysunflower <me@prettysunflower.moe>
This commit is contained in:
2025-07-07 14:45:56 -04:00
parent 3f2ad4bbcf
commit 5621dd14f6
6 changed files with 32 additions and 2 deletions

4
.idea/php.xml generated
View File

@@ -18,7 +18,7 @@
<component name="PhpCodeSniffer">
<phpcs_settings>
<phpcs_by_interpreter asDefaultInterpreter="true" interpreter_id="b6c4540e-d363-46a2-b336-1a327b9ed7b0" tool_path="/Users/remilia/PHP_CodeSniffer/bin/phpcs" timeout="30000" />
<PhpCSConfiguration beautifier_path="$USER_HOME$/PHP_CodeSniffer/bin/phpcbf" standards="MySource;PEAR;PSR1;PSR12;PSR2;Squiz;Zend" tool_path="$USER_HOME$/PHP_CodeSniffer/bin/phpcs" />
<PhpCSConfiguration beautifier_path="/usr/bin/phpcbf" standards="MySource;PEAR;PSR1;PSR12;PSR2;Squiz;Zend" tool_path="/usr/bin/phpcs" />
</phpcs_settings>
</component>
<component name="PhpExternalFormatter">
@@ -26,8 +26,8 @@
</component>
<component name="PhpIncludePathManager">
<include_path>
<path value="$USER_HOME$/Downloads/wordpress 2" />
<path value="$PROJECT_DIR$/vendor/composer" />
<path value="$USER_HOME$/wordpress" />
</include_path>
</component>
<component name="PhpProjectSharedConfiguration" php_language_level="8.1" />

25
.idea/watcherTasks.xml generated Normal file
View File

@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectTasksOptions">
<TaskOptions isEnabled="true">
<option name="arguments" value="$FileName$:$FileNameWithoutExtension$.css" />
<option name="checkSyntaxErrors" value="true" />
<option name="description" />
<option name="exitCodeBehavior" value="ERROR" />
<option name="fileExtension" value="scss" />
<option name="immediateSync" value="true" />
<option name="name" value="SCSS" />
<option name="output" value="$FileNameWithoutExtension$.css:$FileNameWithoutExtension$.css.map" />
<option name="outputFilters">
<array />
</option>
<option name="outputFromStdout" value="false" />
<option name="program" value="sass" />
<option name="runOnExternalChanges" value="true" />
<option name="scopeName" value="Project Files" />
<option name="trackOnlyRoot" value="true" />
<option name="workingDir" value="$FileDir$" />
<envs />
</TaskOptions>
</component>
</project>

3
assets/styles/style.css Normal file
View File

@@ -0,0 +1,3 @@
/*# sourceMappingURL=style.css.map */

View File

@@ -0,0 +1 @@
{"version":3,"sourceRoot":"","sources":[],"names":[],"mappings":"","file":"style.css"}

0
assets/styles/style.scss Normal file
View File

View File

@@ -40,6 +40,7 @@ register_uninstall_hook(__FILE__, __NAMESPACE__ . '\on_uninstall');
function on_init(): void
{
wp_register_style(__NAMESPACE__, plugins_url('assets/styles/style.css', __FILE__));
}
add_action('init', __NAMESPACE__ . '\on_init');