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

Support Cupertino Icons and Colors #2433

Merged
merged 7 commits into from
Jan 20, 2024
Merged

Conversation

ndonkoHenri
Copy link
Collaborator

Closes #2430 and #2429

Test Code:

import flet as ft


def main(page: ft.Page):
    page.window_always_on_top = True
    page.theme_mode = ft.ThemeMode.LIGHT

    page.add(
        ft.ElevatedButton("Material", icon=ft.icons.ACCESSIBILITY, icon_color=ft.colors.YELLOW, color=ft.colors.SECONDARY, bgcolor=ft.colors.BLUE_200),
        ft.ElevatedButton("Cupertino", icon=ft.cupertino_icons.ALARM, icon_color=ft.cupertino_colors.DESTRUCTIVE_RED, color=ft.cupertino_colors.SECONDARY_LABEL, bgcolor=ft.cupertino_colors.TERTIARY_SYSTEM_FILL),
    )


ft.app(target=main)

@ndonkoHenri ndonkoHenri linked an issue Jan 20, 2024 that may be closed by this pull request
@FeodorFitsner FeodorFitsner merged commit 0c45658 into main Jan 20, 2024
1 of 2 checks passed
@FeodorFitsner FeodorFitsner deleted the cupertino-icons-colors branch January 22, 2024 20:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

cupertino_colors cupertino_icons
2 participants