Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Web Client - client-side CSS? #54

Open
chrisspanton opened this issue Sep 21, 2020 · 5 comments
Open

Web Client - client-side CSS? #54

chrisspanton opened this issue Sep 21, 2020 · 5 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@chrisspanton
Copy link
Collaborator

web client - allow client-side CSS. People like to customize, let them upload or supply their own CSS?

@Seifert69 Seifert69 added enhancement New feature or request good first issue Good for newcomers labels Sep 23, 2020
@Thridi
Copy link

Thridi commented Sep 28, 2020

For this I would most likely create an interface editor. (drag+drop with select user-editable fields - color, bg-color, size, etc)
It would allow for user-created 'themes' that are stored via a variable replacement from a pre-configured stylesheet (LESS?). Don't worry, i'm not JUST throwing out ideas to make your life harder... I can do some of the heavy lifting.

@chrisspanton
Copy link
Collaborator Author

I definitely like the thinking here. Given the potential risks of allowing clients to actually connect their own CSS, this provides customization in a more constrained manner. Extra points for allowing clients to save the config for transferring across browsers/environments.

@Thridi
Copy link

Thridi commented Sep 28, 2020

Do any of you have an issue utilizing Bootstrap for the style/layout/mobile-friendly features?

@Seifert69
Copy link
Owner

I'm total noob into javaScript. Not sure how I even got that client to work in the first place :-D

I'm for anything good. As long as it doesn't get too complicated.

@chrisspanton
Copy link
Collaborator Author

Here's another thought... would be cool if you could have some basic CSS overwrite from in-game configs. For example, character could set the .prompt class color and have it follow them regardless of browser or css selected. This is used to work with the prompt command, though its currently broken given changes to colors. I did this with the old prompt command to help me quickly do a visual identification of which character I was controlling as I toggle between.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants