<resources>

    <!-- Base application theme. -->
    <style name="CarnetTheme.Light" parent="Theme.AppCompat.Light.NoActionBar">
        <item name="android:actionBarStyle">@style/CarnetTheme.White.Toolbar</item>
        <item name="actionBarStyle">@style/CarnetTheme.White.Toolbar</item>
        <item name="windowActionModeOverlay">true</item>
    </style>
    <style name="CarnetTheme.White" parent="CarnetTheme.Light">
        <!-- Main theme colors -->
        <!--   your app branding color for the app bar -->
        <item name="colorPrimary">@color/blue_500</item>
        <!--  status bar and contextual app bars -->
        <item name="colorPrimaryDark">@color/blue_500</item>
        <!--   theme UI controls like checkboxes and text fields -->
        <item name="colorAccent">@color/blue_400</item>
        <item name="PinButton">@style/CarnetTheme.Blue.PinButton</item>
        <item name="MainViewBackground">@android:color/white</item>
        <item name="AddFolderIcon">@drawable/ic_create_new_folder_black</item>
        <item name="AddNoteIcon">@drawable/ic_note_add_black</item>
        <item name="AddPhotoIcon">@drawable/camera_black</item>
        <item name="AddRecordIcon">@drawable/mic_black</item>
        <item name="DotsIcon">@drawable/threedots</item>
        <item name="MainNoteBackground">@android:color/white</item>
        <item name="InNoteKeywordBackground">@color/blue_50</item>
        <item name="InNoteKeywordColor">@android:color/black</item>

        <item name="MainNoteTextColor">@android:color/black</item>
        <item name="MainTextColor">@android:color/black</item>
        <item name="SecondaryTextColor">@android:color/darker_gray</item>
        <item name="CardElevation">5dp</item>
        <item name="CardInsideMargin">0dp</item>

        <item name="ActionButtonBackground">@android:color/white</item>
        <item name="ActionButtonBorderColor">@color/blue_500</item>

        <item name="NoteBGNone">@android:color/white</item>
        <item name="NoteBGRed">#f1a6a6</item>
        <item name="NoteBGOrange">#f1c3a5</item>
        <item name="NoteBGYellow">#ffe69d</item>
        <item name="NoteBGGreen">#aef3be</item>
        <item name="NoteBGTeal">#6cf7f0</item>
        <item name="NoteBGBlue">#7aa7c9</item>
        <item name="NoteBGViolet">#9b87c7</item>
        <item name="NoteBGPurple">#b289c0</item>
        <item name="NoteBGPink">#cf9db9</item>
        <item name="SyncIcon">@drawable/sync_black</item>
        <item name="SyncDisabled">@drawable/rotating_sync_black</item>
        <item name="SortIcon">@drawable/sort_black</item>
        <item name="HeaderBarIconColor">@android:color/black</item>

        <item name="UrlColor">#e33d78</item>
        <item name="PlayIcon">@drawable/play_black</item>
        <item name="PauseIcon">@drawable/pause_black</item>
    </style>

    <!-- Base application theme. -->
    <style name="CarnetTheme.Dark" parent="Theme.AppCompat.NoActionBar">
        <item name="android:actionBarStyle">@style/CarnetTheme.Dark.Toolbar</item>
        <item name="actionBarStyle">@style/CarnetTheme.Dark.Toolbar</item>
        <item name="windowActionModeOverlay">true</item>
        <item name="android:textColor">@android:color/white</item>
        <item name="colorPrimary">@color/dark_500</item>
        <!--   darker variant for the status bar and contextual app bars -->
        <item name="colorPrimaryDark">#242E64</item>
        <!--   theme UI controls like checkboxes and text fields -->
        <item name="colorAccent">@color/dark_400</item>
        <item name="PinButton">@style/CarnetTheme.Blue.PinButton</item>
        <item name="MainViewBackground">#22252f</item>
        <item name="MainNoteBackground">@color/dark_500</item>
        <item name="MainNoteTextColor">@android:color/white</item>
        <item name="MainTextColor">@android:color/white</item>
        <item name="SecondaryTextColor">@android:color/darker_gray</item>
        <item name="CardElevation">5dp</item>
        <item name="CardInsideMargin">0dp</item>
        <item name="InNoteKeywordBackground">@color/dark_300</item>
        <item name="InNoteKeywordColor">@android:color/white</item>
        <item name="ActionButtonBackground">#2f3341</item>
        <item name="ActionButtonBorderColor">@color/blue_500</item>
        <item name="AddFolderIcon">@drawable/ic_create_new_folder_white</item>
        <item name="AddNoteIcon">@drawable/ic_note_add_white</item>
        <item name="AddPhotoIcon">@drawable/camera_white</item>
        <item name="AddRecordIcon">@drawable/mic_white</item>
        <item name="DotsIcon">@drawable/threedots_white</item>
        <item name="SyncIcon">@drawable/sync_white</item>
        <item name="SyncDisabled">@drawable/rotating_sync_white</item>
        <item name="SortIcon">@drawable/sort_white</item>
        <item name="HeaderBarIconColor">@android:color/white</item>


        <item name="NoteBGNone">#2f3341</item>
        <item name="NoteBGRed">#4e2828</item>
        <item name="NoteBGOrange">#442c1c</item>
        <item name="NoteBGYellow">#463b1a</item>
        <item name="NoteBGGreen">#253b2a</item>
        <item name="NoteBGTeal">#05423f</item>
        <item name="NoteBGBlue">#25343f</item>
        <item name="NoteBGViolet">#413953</item>
        <item name="NoteBGPurple">#3e2b44</item>
        <item name="NoteBGPink">#3f1a2f</item>
        <item name="UrlColor">#e33d78</item>
        <item name="PlayIcon">@drawable/play_white</item>
        <item name="PauseIcon">@drawable/pause_white</item>
    </style>

    <style name="CarnetTheme.Darkest" parent="CarnetTheme.Dark">

        <item name="ActionButtonBackground">@android:color/black</item>
        <item name="android:actionBarStyle">@style/CarnetTheme.Darkest.Toolbar</item>
        <item name="actionBarStyle">@style/CarnetTheme.Darkest.Toolbar</item>
        <item name="windowActionModeOverlay">true</item>
        <item name="colorPrimary">@color/dark_500</item>
        <!--   darker variant for the status bar and contextual app bars -->
        <item name="colorPrimaryDark">@color/dark_darker</item>
        <!--   theme UI controls like checkboxes and text fields -->
        <item name="colorAccent">@color/dark_400</item>
        <item name="PinButton">@style/CarnetTheme.Blue.PinButton</item>
        <item name="MainViewBackground">@android:color/black</item>
        <item name="MainNoteBackground">@android:color/black</item>
        <item name="NoteBGNone">@android:color/black</item>
        <item name="MainNoteTextColor">@android:color/white</item>
        <item name="MainTextColor">@android:color/white</item>
        <item name="SecondaryTextColor">@android:color/darker_gray</item>
        <item name="NoBackgroundCardBorderColor">@color/blue_darker</item>
        <item name="CardElevation">0dp</item>
        <item name="CardInsideMargin">5dp</item>

    </style>

    <style name="PinButton" >
        <item name="android:layout_height">50sp</item>
        <item name="android:layout_width">64sp</item>
    </style>

    <style name="CarnetTheme.Blue.PinButton" parent="PinButton">
        <item name="android:background">@drawable/blue_ripple_selector</item>
    </style>
    <!-- Base application theme. -->
    <style name="MainActivityTheme" parent="AppTheme">

    </style>

    <style name="Theme.Transparent" parent="Theme.AppCompat.NoActionBar">
        <item name="android:windowIsTranslucent">true</item>
        <item name="android:windowBackground">@android:color/transparent</item>
        <item name="android:windowContentOverlay">@null</item>
        <item name="android:windowNoTitle">true</item>
        <item name="windowNoTitle">true</item>
        <item name="android:windowIsFloating">true</item>
        <item name="android:backgroundDimEnabled">false</item>

    </style>

    <style name="CarnetTheme.White.Toolbar" parent="Theme.AppCompat.Light.DarkActionBar">
        <!-- android:textColorPrimary is the  color of the title text
             in the Toolbar, in the Theme.AppCompat theme:  -->
        <item name="actionModeBackground">@android:color/white</item>

        <!-- android:textColorPrimaryInverse is the  color of the title
             text in the Toolbar, in the Theme.AppCompat.Light theme:  -->
        <!-- <item name="android:textColorPrimaryInverse">@color/abc_primary_text_material_light</item> -->

        <!-- android:actionMenuTextColor is the color of the text of
              action (menu) items in the Toolbar, at least in the
              Theme.AppCompat theme.
              For some reason, they already get the textColorPrimary
              when running on API 21, but not on older versions of
              Android, so this is only necessary to support older
              Android versions.-->
        <item name="actionMenuTextColor">@android:color/black</item>
        <!-- android:textColorSecondary is the color of the menu
             overflow icon (three vertical dots) -->
        <item name="android:textColorSecondary">@android:color/black</item>
        <item name="android:textColorPrimary">@android:color/black</item>
        <item name="android:windowBackground">@android:color/white</item>
        <item name="android:background">@android:color/white</item>
        <!-- This would set the toolbar's background color,
              but setting this also changes the popup menu's background,
              even if we define popupTheme for our <Toolbar> -->
        <!-- <item name="android:background">@color/color_primary</item> -->
    </style>

    <style name="CarnetTheme.Dark.Toolbar" parent="Theme.AppCompat.Light.DarkActionBar">
        <item name="actionModeBackground">@color/dark_400</item>
        <item name="actionMenuTextColor">@android:color/white</item>

        <item name="android:textColorSecondary">@android:color/white</item>
        <item name="android:textColorPrimary">@android:color/white</item>
        <item name="android:windowBackground">@color/toolbar</item>
        <item name="android:background">@color/toolbar</item>
    </style>

    <style name="CarnetTheme.Darkest.Toolbar" parent="Theme.AppCompat.Light.DarkActionBar">
        <item name="actionModeBackground">@android:color/black</item>
        <item name="actionMenuTextColor">@android:color/white</item>

        <item name="android:textColorSecondary">@android:color/white</item>
        <item name="android:textColorPrimary">@android:color/white</item>
        <item name="android:windowBackground">@android:color/black</item>
        <item name="android:background">@android:color/black</item>
    </style>



    <style name="pin_tv">

        <item name="android:layout_height">32sp</item>
        <item name="android:layout_width">48sp</item>
        <item name="android:textColor">@android:color/white</item>
        <item name="android:gravity">center</item>
        <item name="android:background">?attr/colorPrimaryDark</item>
    </style>

    <style name="editor_bar">
        <item name="android:background">@color/blue_500</item>
    </style>

    <style name="AppTheme.AppBarOverlay" parent="ThemeOverlay.AppCompat.Dark.ActionBar" />
    <style name="AppTheme.PopupOverlay" parent="ThemeOverlay.AppCompat.Light" />




</resources>
