summaryrefslogtreecommitdiff
path: root/docs/src/wasmJsMain/resources/index.html
blob: d6a5538ddc83b5ae4f30ac86e80034513da6b84b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="ColorPicker Compose - Kotlin Multiplatform color picker library for Jetpack Compose. Interactive documentation and playground.">
    <meta name="keywords" content="ColorPicker, Compose, Multiplatform, Kotlin, Color, Android, iOS, WASM">
    <meta name="author" content="skydoves">

    <!-- Open Graph -->
    <meta property="og:title" content="ColorPicker Compose Documentation">
    <meta property="og:description" content="Kotlin Multiplatform color picker library for Jetpack Compose">
    <meta property="og:type" content="website">

    <title>ColorPicker Compose - Color Picker for Compose Multiplatform</title>

    <style>
        html, body {
            margin: 0;
            padding: 0;
            width: 100%;
            height: 100%;
            overflow: hidden;
            background-color: #121212;
        }

        #loading {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            background-color: #121212;
            color: #E0E0E0;
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
            z-index: 9999;
        }

        #loading h1 {
            font-size: 2rem;
            margin-bottom: 1rem;
            background: linear-gradient(135deg, #BB86FC, #7C4DFF);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        #loading p {
            color: #9E9E9E;
            font-size: 0.9rem;
        }

        .spinner {
            width: 40px;
            height: 40px;
            border: 3px solid #333;
            border-top-color: #7C4DFF;
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin-bottom: 1rem;
        }

        @keyframes spin {
            to { transform: rotate(360deg); }
        }
    </style>
</head>
<body>
    <div id="loading">
        <div class="spinner"></div>
        <h1>ColorPicker Compose</h1>
        <p>Loading documentation...</p>
    </div>

    <script>
        // Hide loading when Compose is ready
        window.addEventListener('load', function() {
            setTimeout(function() {
                var loading = document.getElementById('loading');
                if (loading) {
                    loading.style.opacity = '0';
                    loading.style.transition = 'opacity 0.3s ease';
                    setTimeout(function() {
                        loading.style.display = 'none';
                    }, 300);
                }
            }, 100);
        });
    </script>
    <script src="colorpicker-docs.js"></script>
</body>
</html>