Giter VIP home page Giter VIP logo

importantimport / shiraha Goto Github PK

View Code? Open in Web Editor NEW
9.0 3.0 3.0 46.29 MB

❄ Material 3-inspired Classless CSS Framework. [WIP]

Home Page: https://shiraha.js.org

License: Do What The F*ck You Want To Public License

JavaScript 1.83% TypeScript 46.29% SugarSS 27.30% HTML 14.95% Svelte 9.63%
classless classless-css classless-theme css css-framework sugarss theme classless-css-framework postcss css-library

shiraha's Introduction

Shiraha

Material 3-inspired Classless CSS Framework. [WIP]


✨ Rewrite

Shiraha is being rewritten using Vanilla Extract!

The new documentation is temporarily deployed at https://shiraha.js.org/ve and you can see the source code at shiraha-ve and docs-ve.

👥 Contributing

Welcome! Shiraha is still in the early stages of development and I would be happy to merge Pull Requests.

You might want to look: CONTRIBUTING.md

📝 Documentation

The documentation is located in the docs folder and can be viewed from shiraha.js.org.

📦️ Packages

npm brotli size

Material 3-inspired Classless CSS Framework.

<link rel="stylesheet" href="https://unpkg.com/shiraha" />

npm brotli size

A browser script that will automatically extract the theme color from your current page.

<script type="module" src="https://esm.run/shiraha-colors" async></script>

📄 License

This work is free, it comes without any warranty. You can redistribute it and/or modify it under the terms of the Do What The Fuck You Want To Public License, Version 2, as published by Sam Hocevar. See the COPYING file for more details.

shiraha's People

Contributors

github-actions[bot] avatar kwaa avatar sevichecc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

shiraha's Issues

CSS Features Dashboard

CSS Nesting

CSS Nesting is currently used extensively in the Shiraha source code.
Once Firefox supports it, it will be possible to update the browserlist to further save size... Or just drop Firefox compatibility.

CSS Relative colors

Currently only Safari supports... What a shame.
If more browsers supported this, I wouldn't have to implement material 3 states via pseudo elements.

CSS Scoping

Just waiting.

Project Roadmap

It has been a year since the creation of this project... It's time to share my latest thoughts.

Shiraha VE

As a classless CSS library, Shiraha (OG) and Shiraha VE are too bad DX for me.

I'll move to create UnoCSS presets and try to complement the existing Vanilla Extract.

In any case, the new version of Shiraha should no longer be a Classless CSS Framework...

Shiraha Colors

Shiraha Colors doesn't quite cut it for me at the moment.

In version 0.4.0, I expect to add:

Provide nightly build

Shiraha does not have a fixed release cycle, so it is a good idea to always provide a current version.

For the moment, I think it could be integrated into the documentation build at:

<!-- nightly -->
<link rel="stylesheet" href="https://shiraha.js.org/nightly/shiraha.css" />
<!-- npm -->
<link rel="stylesheet" href="https://unpkg.com/shiraha" />

Since it is not a package, only dist is available.

Shiraha Colors: change the way to get images

Currently getting images is too complicated.

Instead, document.images can be used and prioritized by an algorithm.

const { images } = document
image = images.find((image) => ...)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.