streams: Extract stream_color library.

This is a pure code move.
This commit is contained in:
Steve Howell
2022-03-12 12:46:20 +00:00
committed by Tim Abbott
parent 200a89cef0
commit 8f99894302
6 changed files with 64 additions and 62 deletions

View File

@@ -12,8 +12,8 @@ from django.forms.models import model_to_dict
from typing_extensions import Protocol
from zerver.data_import.sequencer import NEXT_ID
from zerver.lib.actions import STREAM_ASSIGNMENT_COLORS as stream_colors
from zerver.lib.avatar_hash import user_avatar_path_from_ids
from zerver.lib.stream_color import STREAM_ASSIGNMENT_COLORS as stream_colors
from zerver.models import (
Attachment,
Huddle,