Scan your whole stack
Are you using @mwahyuk/cdi-styles?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v1.1.0
@mwahyuk/cdi-styles was last scanned on 29 Nov 2026 at version 1.1.0. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 1.1.0 LATEST | 29 Nov 2026 | No rules fired |
| 1.0.1 | 31 Aug 2026 | No rules fired |
Findings for v1.1.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 1.1.0; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
@idds/vue (Button, Card, Modal, Table, DatePicker, Drawer, Tabs, Pagination, dll.).#004285 & BPOM Green #00a651). Variabel IDDS --ina-primary-* dipetakan ke --color-primary-*, jadi warna aplikasi cukup diganti di satu tempat.@fontsource.bg-navy-900, text-bpom-green-600, border-teal-500, dll.).Di proyek Vue 3 Anda:
npm install @mwahyuk/cdi-styles @tabler/icons-vue
(atau via yarn/pnpm)
yarn add @mwahyuk/cdi-styles @tabler/icons-vue
pnpm add @mwahyuk/cdi-styles @tabler/icons-vue
Di file utama aplikasi Anda (src/main.ts atau src/main.js):
import { createApp } from 'vue';
import App from './App.vue';
// Cukup 1 baris import ini untuk seluruh styling IDDS + tema BPOM CDI
import '@mwahyuk/cdi-styles/index.css';
// Opsional: font Archivo + Barlow di-host sendiri (npm install @fontsource/archivo @fontsource/barlow)
import '@mwahyuk/cdi-styles/fonts.css';
const app = createApp(App);
app.mount('#app');
Semua komponen IDDS dapat langsung diimpor dari @mwahyuk/cdi-styles:
<template>
<div class="p-6 bg-navy-tint min-h-screen">
<Card variant="basic" class="max-w-md p-6 bg-white rounded-xl border border-slate-200 shadow-xs border-t-4 border-t-navy-800">
<h2 class="text-xl font-bold text-navy-900 mb-2">Portal Satu Data BPOM</h2>
<p class="text-slate-600 mb-4">
Sistem integrasi data obat dan makanan terpadu.
</p>
<div class="flex gap-3">
<!-- Tombol otomatis bertema Navy BPOM -->
<Button hierarchy="primary" size="md">
Ajukan Akses
</Button>
<Button hierarchy="secondary" size="md">
Lihat Data
</Button>
</div>
</Card>
</div>
</template>
<script setup lang="ts">
import { Button, Card } from '@mwahyuk/cdi-styles';
</script>
Jika Anda menggunakan Tailwind CSS v4, cukup tambahkan di src/index.css:
@import 'tailwindcss';
/* Impor IDDS & Tema BPOM CDI (index.css sudah memuat stylesheet IDDS) */
@import '@mwahyuk/cdi-styles/tailwind.css';
@import '@mwahyuk/cdi-styles/index.css';
Contoh pemakaian kelas utilitas:
<div class="bg-navy-900 text-white p-6 rounded-xl border border-slate-200">
<span class="text-xs text-teal-400 font-bold uppercase">Layanan Resmi</span>
<h1 class="text-2xl font-bold text-white">BPOM CDI</h1>
<button class="bg-bpom-green-600 hover:bg-bpom-green-700 text-white px-4 py-2 rounded-lg">
Buka Portal
</button>
</div>
import { bpomChartPalette, bpomColors } from '@mwahyuk/cdi-styles';
// 6 Palet warna resmi BPOM untuk grafik:
// ['#004285', '#00a651', '#59b4c3', '#027368', '#8a9130', '#3f71a3']
const chartOptions = {
colors: bpomChartPalette,
};
Komponen IDDS membaca --ina-primary-*; paket ini mengarahkannya ke --color-primary-*. Untuk tema aplikasi sendiri, timpa ramp --color-primary-25 sampai --color-primary-900 saja, di :root di luar @layer (atau dimuat setelah paket ini):
:root {
--color-primary-600: #1565c0; /* warna utama: tombol primer, fokus */
/* ...ramp 25–900 lainnya */
}
Atribut data-brand="bpom" juga tersedia, seperti atribut merek IDDS (data-brand="inagov"), untuk mengembalikan tema BPOM di dalam bagian halaman yang memakai merek lain.
Paket ini tidak memuat font dari Google Fonts (setiap request ke CDN mengirim IP pengunjung ke pihak ketiga). Pilihannya:
@mwahyuk/cdi-styles/fonts.css setelah memasang @fontsource/archivo dan @fontsource/barlow, atau--font-display dan --font-body dengan font aplikasi sendiri.Catatan: stylesheet @idds/vue sendiri masih berisi @import Google Fonts (Inter). Buang baris itu saat build bila aplikasi tidak boleh menghubungi domain luar (contoh: plugin Vite kecil yang menghapus @import url("https://fonts.googleapis.com/...")).
| Token | Hex | Makna & Penggunaan |
|---|---|---|
navy-900 |
#00305f |
Permukaan gelap institusi & background sidebar |
navy-800 |
#004285 |
Warna Utama BPOM (tombol primer, judul) |
navy-tint |
#f4f8fb |
Latar belakang halaman & kartu sejuk |
bpom-green-600 |
#00a651 |
Status sukses, progres, aksi afirmatif |
teal-500 |
#59b4c3 |
Eyebrows & tahapan data flow |
olive-600 |
#8a9130 |
Area of interest & kapabilitas mendatang |
maroon-700 |
#a20000 |
Peringatan risiko, siber & keamanan |
slate-700 |
#455a64 |
Body text utama |
slate-200 |
#dfe5e8 |
Garis tepi (borders & dividers) |
MIT © Pusat Data dan Informasi Badan Pengawas Obat dan Makanan (BPOM).
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.