Skip to content
This repository was archived by the owner on Feb 11, 2025. It is now read-only.

Commit

Permalink
stop
Browse files Browse the repository at this point in the history
  • Loading branch information
hmpf committed Nov 14, 2024
1 parent eae835d commit e4d5440
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/argus_htmx/themes/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def get_stylesheet_path():


def get_themes_from_css():
THEME_NAME_RE = "(?P<theme>[-_]\w+)"
THEME_NAME_RE = "(?P<theme>[-_\w]+)"
DATA_THEME_RE = f"\[data-theme={THEME_NAME_RE}\]"

absolute_stylesheet_path = Path(find(get_stylesheet_path()))
Expand All @@ -50,7 +50,7 @@ def get_theme_names(quiet=True):
themes_from_css = set(get_themes_from_css())
installed_themes = themes_from_setting & themes_from_css

all_themes = themes_from_setting & themes_from_css
all_themes = themes_from_setting | themes_from_css
if all_themes != installed_themes:
LOG.warning(ERROR_MSG)
if not quiet:
Expand Down

0 comments on commit e4d5440

Please sign in to comment.