Skip to content
プロジェクト

概要

DS / DS LiteのUIを再現するCSSフレームワーク

Web・アプリ開発

この数値の測り方

計測したスター増加

24時間
0
7日間
+1
15日間
+2
1か月
履歴を収集中

期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。

image

ds.css

A css framework recreating parts of the DS / DS Lite's UI. Preview what's included here!

the fastest way to use it is to import from unpkg

<!-- in your html's <head> -->
<link rel="stylesheet" href="https://unpkg.com/@spiritov/ds.css" />

if you'd rather download it, you can do so by copying the contents of /dist

<link href="./ds.css" rel="stylesheet" />

or, install with npm

npm i @spiritov/ds.css

scoped styles

if you'd like to only use ds.css in specific parts of your html, you can import ds-scoped.css instead, and use it inside a parent div with class="ds-css"

<!-- in your html's <head> -->
<link rel="stylesheet" href="https://unpkg.com/@spiritov/ds.css/dist/ds-scoped.css" />

<!-- in your html -->
<button>a standard button</button>

<div class="ds-css">
  <button>a DS button!</button>
</div>
image

using widgets (web components)

included web components can also be imported from unpkg. for example, to import the calendar..

<!-- in your html's <head> -->
<script type="module" src="https://unpkg.com/@spiritov/ds.css/dist/widgets/ds-calendar.js"></script>

<!-- in your html -->
<ds-calendar></ds-calendar>

you can also download and import them manually

<script type="module" src="./dist/widgets/ds-calendar.js"></script>

or, install with npm for use in a web framework. with Svelte, this could look like

<script>
  import { onMount } from 'svelte';
  onMount(async () => {
    await import('@spiritov/ds.css/dist/widgets/ds-calendar.js');
  });
</script>

<ds-calendar></ds-calendar>

todo

  • more pictochat components(?)
  • extra ds-inspired components(?)

関連プロジェクトを探す

読み込み中…