blob: 88efa3da76559992d26c499a27bdd75f28438c5f [file] [log] [blame]
/*
* Copyright 2010-2024 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
import { span } from "../html/tags.mjs";
import { color } from "../html/styles.mjs";
import { Formatter } from "./formatter.mjs";
import { NUMBER_LITERAL_COLOR } from "../theme/colors.mjs";
function double(kotlinInt) {
return span(
[color(NUMBER_LITERAL_COLOR)],
[kotlinInt.value]
)
}
export default Formatter.create(double)