Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

arcade-css

Package Overview
Dependencies
Maintainers
0
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

arcade-css

Fun, Beautiful, Interactive CSS system for Games

  • 1.1.0
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
11
increased by1000%
Maintainers
0
Weekly downloads
 
Created
Source

Arcade CSS

Fun, Beautiful, Interactive CSS system for Games

Demo: https://tomsoderlund.github.io/arcade-css/

Screenshot of Arcade CSS

Design goals

  • A good starting point for any game web/mobile/PWA project.
  • Plug-and-play. Just drop the CSS file into your HTML page. Avoid weird classes* as much as possible, just use element names.
  • Clear interaction states for buttons etc.
  • Lightweight (somewhat).
  • Compatible (somewhat).

*Exceptions: .fieldset (because of fieldset flexbox bug), .tag (tags/tokens), .flex (flexbox container for columns etc).

Changing color theme just by changing background-color of body:

Inspiration

Install

yarn add arcade-css

Import in JavaScript

import 'arcade-css/dist/arcade.min.css'

And use the “Fredoka” font:

<link href="https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600&display=swap" rel="stylesheet">

Update NPM

yarn publish

(Will run yarn prepare automatically, which builds the /dist folder)

FAQs

Package last updated on 08 Sep 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc