Skip to content
This repository has been archived by the owner on May 26, 2023. It is now read-only.

[Feature] Admin style #44

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

[Feature] Admin style #44

wants to merge 4 commits into from

Conversation

Liax
Copy link

@Liax Liax commented Apr 3, 2023

Add the costumisation files for the login page
-AdminManager
-login-style

titouanmathis and others added 2 commits March 15, 2023 15:58
Add the AdminManager file
Add the login-style file
@Liax Liax added the enhancement New feature or request label Apr 3, 2023
@Liax Liax requested a review from titouanmathis April 3, 2023 14:43
@Liax Liax self-assigned this Apr 3, 2023
@titouanmathis titouanmathis changed the title Feature/admin style [Feature] Admin style Apr 6, 2023
Copy link
Contributor

@titouanmathis titouanmathis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice addition! 👍

* Enqueue scripts for the admin
*/
public function enqueue_scripts():void {
wp_enqueue_script( 'linked_content_script', get_template_directory_uri() . '/src/js/admin/index.js', array(), '1', true );
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

question: What is the purpose of this script?

* @return void
*/
public function change_login_logo() {
wp_enqueue_style( 'custom-login', get_stylesheet_directory_uri() . '/dist/css/admin/login-style.css', array(), '1' );
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

issue: Use the AssetsManager like in the TinyMCEManager to get the CSS file path

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants