All Projects → SAP → Fundamental Styles

SAP / Fundamental Styles

Licence: apache-2.0
Fiori 3, theme-able, accessible component library for building SAP user interfaces with any web technology.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Fundamental Styles

Rox
🌍 BeWelcome lets you share a place to stay, connect with travellers, meet up and find accommodation on your journey. It is and will always be a free, open source, non for profit, democratic community.
Stars: ✭ 95 (-11.21%)
Mutual labels:  open-source
Iglance
Free system monitor for OSX and macOS. See all system information at a glance in the menu bar.
Stars: ✭ 1,358 (+1169.16%)
Mutual labels:  open-source
Ehealth.api
Index page and integration layer for projects that related to Ukrainian Health Services government institution
Stars: ✭ 103 (-3.74%)
Mutual labels:  open-source
Opensource Job Portal
opensource jobportal in python django
Stars: ✭ 95 (-11.21%)
Mutual labels:  open-source
Covid19 scenarios
Models of COVID-19 outbreak trajectories and hospital demand
Stars: ✭ 1,355 (+1166.36%)
Mutual labels:  open-source
Ui5 Uiveri5
End-to-end testing framework for SAPUI5
Stars: ✭ 100 (-6.54%)
Mutual labels:  open-source
Browser Phone
A fully featured browser based WebRTC SIP phone for Asterisk
Stars: ✭ 95 (-11.21%)
Mutual labels:  open-source
Awesome Forensics
A curated list of awesome forensic analysis tools and resources
Stars: ✭ 1,775 (+1558.88%)
Mutual labels:  open-source
Fetch ros
Open ROS Components for Robots from Fetch Robotics
Stars: ✭ 99 (-7.48%)
Mutual labels:  open-source
Cuban Opensource
Awesome list of Cuban opensource projects. Just to know what is being openly developed in Cuba.
Stars: ✭ 103 (-3.74%)
Mutual labels:  open-source
Kaizen Openapi Editor
Eclipse Editor for the Swagger-OpenAPI Description Language
Stars: ✭ 97 (-9.35%)
Mutual labels:  open-source
Piwigo
Manage your photos with Piwigo, a full featured open source photo gallery application for the web. Star us on Github! More than 200 plugins and themes available. Join us and contribute!
Stars: ✭ 1,346 (+1157.94%)
Mutual labels:  open-source
Utopian.io
Utopian.io Frontend - Utopian wants to reward open-source contributors!
Stars: ✭ 101 (-5.61%)
Mutual labels:  open-source
Formcreator
GLPI Plugin Formcreator (DOWNLOAD : https://github.com/pluginsGLPI/formcreator/releases)
Stars: ✭ 95 (-11.21%)
Mutual labels:  open-source
Konstellate
Free and Open Source GUI to Visualize Kubernetes Applications.
Stars: ✭ 1,394 (+1202.8%)
Mutual labels:  open-source
Avideo
Create Your Own Broadcast Network With AVideo Platform Open-Source. OAVP OVP
Stars: ✭ 1,329 (+1142.06%)
Mutual labels:  open-source
Opendiablo2
An open source re-implementation of Diablo 2
Stars: ✭ 10,057 (+9299.07%)
Mutual labels:  open-source
Readyresponder
Local Incident Management System - This is used for tracking resources for Local Emergency Management
Stars: ✭ 106 (-0.93%)
Mutual labels:  open-source
Dockerfiles
Collection of my Dockerfiles for many open-source projects
Stars: ✭ 104 (-2.8%)
Mutual labels:  open-source
Delete Github Forks
🍴 Bulk delete your GitHub forks in two simple steps!
Stars: ✭ 102 (-4.67%)
Mutual labels:  open-source

Fundamental Library Styles

npm version Build Status Slack REUSE status

Deploys by Netlify

What is Fundamental Library Styles?

Fundamental Library Styles is a light-weight presentation layer that can be used with your UI framework of choice (e.g. Angular, React, Vue, etc.). With Fundamental Library Styles, library of stylesheets and HTML tags, developers can build consistent Fiori apps in any web-based technology.

Learn more at http://sap.github.io/fundamental-styles/

We are also working on Angular, React and Vue implementations.

Getting Started

The library is modular so you can use as little or as much as you need.

CDN

The fully compiled, minified library is available via CDN for inclusion in your application.

<link href="//unpkg.com/[email protected]/dist/fundamental-styles.css" rel="stylesheet">

NPM Package

The compiled CSS for the full library and modules, e.g., core, layout, etc., are distributed via NPM.

npm install fundamental-styles --save

NOTE: We only distribute compiled CSS for each component, not the full project or HTML for specific components.

Distributed CSS Files

The distrubtion folder contains several css files per component: a default file and one file per supported theme (sap_fiori_3, sap_fiori_3_dark, sap_fori_3_light_dark, sap_fiori_3_hcb, sap_fori_3_hcw). Each themed file includes fallback support for css variables in IE11 for the corresponding theme. The default file includes fallbacks for sap_fiori_3.

Icons

See the Icon Component for a list of icon class names. See Project Configuration below for instructions to include SAP Fiori 3 icons in your project.

Project Configuration

This project does not contain fonts and icons - they must be added to your project separately. Download the @sap-theming liibrary. After adding fonts and icons to your project, include the following in your css:

@font-face {
    font-family: "72";
    src: url("[email protected]/theming-base-content/content/Base/baseLib/sap_base_fiori/fonts/72-Regular-full.woff")
        format("woff");
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: "72";
    src: url("[email protected]/theming-base-content/content/Base/baseLib/sap_base_fiori/fonts/72-Bold-full.woff")
        format("woff");
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: "72";
    src: url("[email protected]/theming-base-content/content/Base/baseLib/sap_base_fiori/fonts/72-Light-full.woff")
        format("woff");
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: "SAP-icons";
    src: url("[email protected]/theming-base-content/content/Base/baseLib/sap_fiori_3/fonts/SAP-icons.woff")
        format("woff");
    font-weight: normal;
    font-style: normal;
}

html {
  font-size: 16px;
}

If you are not supporting IE11, the recommended format is woff2. If supporting IE11, use woff.

Working with the Project

Download and Installation

  1. Clone Repository - Clone the repo using the git software of your choice or using the git command git clone https://github.com/SAP/fundamental-styles.git

  2. Install NPM Dependencies: npm install

  3. Serve the development playground and documentation website locally - npm start

Project Dependencies

The project has the following prerequisites:

  • Git (for downloading this repo)
  • Node LTS

SLA

Our Service Level Agreement. Fundamental Library Styles is aiming to deliver:

SLA - What

  • Consumable CSS that strives for Fiori 3.0 compliance.
  • Reference HTML specification that consuming libraries MUST adhere to.

SLA - How

  • Theme-able components built on top of SAP Theming Base Content by consuming the CSS Custom Properties delivered by the theming library
  • Self-contained styles. That is, each component's style file contains all the styling needed to be rendered properly. External styling won't bleed-in internal styling won't bleed-out. Bleeding in means that CSS global reset won't affect the component and bleeding out means that the component styling should not affect other HTML elements)
  • Accessibility support
    • Accessibility - Color contrast support for WCAG 2.0 level AA (4.5:1 for typical text)
    • Accessibility - Semantic HTML reference
    • Accessibility - Aria attributes noted when possible in HTML reference

This library is also being consumed by Fundamental Library for Angular, Fundamental Library for React, and Fundamental Library for Vue.

The above SLA is the primary difference between this library and the earlier Fundamental.

Support

If you encounter an issue, you can create a ticket or post on the Fundamentals Slack channel.

Contributing

If you want to contribute, please check the Contribution Guidelines. Also check the Development Guidelines and Visual Testing Guide.

Versioning

The fundamental-styles library follows Semantic Versioning. These components strictly adhere to the [MAJOR].[MINOR].[PATCH] numbering system (also known as [BREAKING].[FEATURE].[FIX]).

Merges to the main branch will be published as a prerelease. Pre-releases will include an rc version (e.g. [MAJOR].[MINOR].[PATCH]-rc.[RC]).

The following circumstances will be considered a MAJOR or BREAKING change:

  • Dropping existing classnames, css variables, color names, color groups, spacing parameters
  • The existing underlying HTML markup of a component is altered
  • Non-visual HTML attribute changes/additions (such as role, aria-*, data-*)

    Note: Fundamental Styles provides CSS directly, and HTML as reference to consumers. Because of the reference relationship of the HTML seen in Fundamental Styles, we want to be very clear when we alter that reference so that it is properly reflected in JS implementation libraries. Because of this, even non-visual changes will be treated as breaking.

The following circumstances will NOT be considered a MAJOR or BREAKING change:

  • Introducing new classnames, css variables, color names, color groups, spacing parameters
  • Adding or modifying CSS properties and values of existing classnames.

Thanks

Chromatic

Thanks to Chromatic for providing the visual testing platform that helps us review UI changes and catch visual regressions.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].