Files
xrpl-dev-portal/styles
mDuo13 08bbcc4dd7 AMM reference docs
AMM object: some clarifications

AMM references: incomplete draft

AMM updates

AMM: add AMMBid, clarify more stuff

Docs for AMMBid transaction

AMM: more work on error codes

AMM: example transactions, related upates

Fix broken links

AMM: reflect naming updates

more AMMBid edits

Add amm_info API method

Add style for AMM label

AMM: more clarifications on tx, accounts

AMM references: Clean up draft

amm_info: reflect code updates

AMM: updates for the latest changes

AMM: update flags for Deposit/Withdraw

AMM: update JSON examples for latest code

Serialization: add STIssue type

STIssue: clarify definition with commas
2022-11-21 22:40:12 -08:00
..
2022-11-04 15:08:36 -07:00
2020-09-14 15:47:31 -07:00
2022-01-10 12:59:29 -08:00
2022-08-31 16:30:37 -07:00
2021-07-12 14:41:11 -07:00
2021-07-16 16:31:38 -07:00
2021-06-30 15:53:21 -07:00
2021-08-30 15:32:49 -07:00
2021-07-15 20:27:10 -07:00
2021-06-29 18:46:30 -07:00
2021-07-15 20:27:10 -07:00
2022-06-09 12:10:13 -07:00
2022-11-04 15:09:36 -07:00
2021-05-18 15:20:44 -07:00
2021-07-15 20:27:10 -07:00
2022-11-21 22:40:12 -08:00
2021-07-02 11:41:59 -07:00
2022-11-17 14:50:27 -08:00
2022-01-13 16:36:50 -08:00
2022-11-21 22:40:12 -08:00

XRPL Styles

This folder contains the source files for the XRP Ledger Dev Portal CSS. The combined, minified version of these styles is assets/css/devportal.css.

Prerequisites

To edit or modify these styles, you need to install Bootstrap's SCSS files. The included package.json file should help you do this using Yarn or NPM. For example, if you have Yarn installed, run the following command from this directory:

$ yarn

You also need a SASS/SCSS compiler; the dependency file should install node-sass and a script for running it by default. You can also use sassc, which can be installed using your system's package manager (Linux) or Homebrew (macOS).

Building

To build the output file using node-sass, run the following command from this directory:

$ yarn run build-css

(You could also use npm instead of yarn.)

To build the output file using sassc, run the following command from this directory:

$ sassc xrpl.scss -t compressed -m > ../assets/css/devportal.css

You can omit the -m (include source map) to reduce the output file size. It provides useful information when debugging styles, about which original file specific rules came from.

Files

xrpl.scss is the master file that includes all the other, _-prefixed SCSS files. This file also defines common colors and other utilities.