Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

@mwahyuk/cdi-styles

Latest version: v1.1.0

Overview

Last scanned
29 Nov 2026
Published
29 Nov 2026
npm package Publisher: mwahyuk
2 Versions
27 Downloads

Scan summary

@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.

  • Releases: 2 versions; the latest was published on 29 Nov 2026.
  • Findings: No rules fired in version 1.1.0.
  • Downloads: 27 downloads.

Versions

2 versions published
Versions and the rules that fired in each
VersionPublishedStatus
1.1.0 LATEST 29 Nov 2026 No rules fired
1.0.1 31 Aug 2026 No rules fired

No rules fired in 1.1.0

Findings

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.

README

The publisher’s own README, as collected from the registry.

@mwahyuk/cdi-styles


💡 Apa Saja yang Ada di Dalam Package Ini?

  1. Komponen IDDS Lengkap: Langsung mengekspor seluruh komponen @idds/vue (Button, Card, Modal, Table, DatePicker, Drawer, Tabs, Pagination, dll.).
  2. Auto-Branded BPOM CDI: Seluruh komponen otomatis tampil dengan warna resmi BPOM CDI (Deep Navy #004285 & BPOM Green #00a651). Variabel IDDS --ina-primary-* dipetakan ke --color-primary-*, jadi warna aplikasi cukup diganti di satu tempat.
  3. Tanpa CDN: tidak ada font atau aset yang dimuat dari domain luar (Google Fonts). Font Archivo/Barlow bersifat opsional lewat @fontsource.
  4. Tailwind CSS v4 & v3 Ready: Menyediakan utility class siap pakai untuk Tailwind v4 (bg-navy-900, text-bpom-green-600, border-teal-500, dll.).
  5. JS/TS Design Tokens: Menyediakan konstanta palet warna untuk grafik (ApexCharts/Chart.js) dan skrip aplikasi.

📦 Instalasi

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

🚀 Panduan Penggunaan

1. Impor CSS di Entry Point Aplikasi

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');

2. Gunakan Komponen di Template Vue

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>

3. Integrasi dengan Tailwind CSS v4

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>

4. Menggunakan Palet Warna di Chart (ApexCharts / Chart.js)
import { bpomChartPalette, bpomColors } from '@mwahyuk/cdi-styles';

// 6 Palet warna resmi BPOM untuk grafik:
// ['#004285', '#00a651', '#59b4c3', '#027368', '#8a9130', '#3f71a3']
const chartOptions = {
  colors: bpomChartPalette,
};

5. Mengganti Warna Utama Aplikasi

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.


6. Font

Paket ini tidak memuat font dari Google Fonts (setiap request ke CDN mengirim IP pengunjung ke pihak ketiga). Pilihannya:

  • impor @mwahyuk/cdi-styles/fonts.css setelah memasang @fontsource/archivo dan @fontsource/barlow, atau
  • isi --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/...")).


🎨 Tabel Token Warna Resmi BPOM CDI

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)

📄 Lisensi

MIT © Pusat Data dan Informasi Badan Pengawas Obat dan Makanan (BPOM).

OX Radar and Response Center

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.

Where it’s listed

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).

  • npm @mwahyuk/cdi-styles

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Cry2Wolf: How to Tell a Real Bug from a Nothingburger
AI & VibeSec

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

PolinRider Returns
Research

PolinRider Returns: Hijacked npm Packages Use Ethereum Blockchain to Conceal Malware Infrastructure

Frame 2085668439 (1)
Group 1261154229